openapi: 3.0.0
info:
    title: 'AURA API'
    contact:
        email: pomoc@questy.pl
    version: '2.0'
paths:
    '/api/account_companies/{id}/gusUpdate':
        patch:
            description: 'Update an instance of account company with GUS data.'
            operationId: gusUpdate
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/account_companies/{companyId}/odbc_reports/{reportId}':
        get:
            description: 'Returns an odbc report related to account company.'
            operationId: getOdbcReport
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/account_companies/{companyId}/odbc_reports':
        get:
            description: 'Returns an odbc report related to account company.'
            operationId: getOdbcReports
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/account_companies/{companyId}/oemail_messages':
        get:
            description: 'Returns email messages related to account company.'
            operationId: getEmailMessages
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/account_companies/myCompany:
        get:
            description: 'Returns user company.'
            operationId: getUserCompany
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/additional_i18ns:
        get:
            description: 'Get data collection'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        post:
            description: 'Create one or multiple new additional_i18ns'
            operationId: postDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/additional_i18ns/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch single additional_i18ns object'
            operationId: patchDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/additional_i18ns/import:
        post:
            description: 'Import additional_i18ns from a file'
            operationId: importDataFromFile
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPostFile'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/additional_i18ns/generate:
        post:
            description: 'Generates translations for custom names (attributes, series definitions, etc.) for every available language.'
            operationId: generateTranslations
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                204:
                    description: 'No content'
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/baskets:
        get:
            description: 'Get data collection'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        post:
            description: 'Post data item/ collection'
            operationId: postDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        patch:
            description: 'Patch data collection'
            operationId: patchDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/baskets/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch single basket'
            operationId: patchDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/baskets/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getDataCollectionAutoselect
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/baskets/{contextId}/basket_positions':
        get:
            description: 'Get data item for context, for example: commissionHistory for commission - commissions/1/commission_histories'
            operationId: getDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_currency_code'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        post:
            description: 'Post data item/ collection for context'
            operationId: postDataCollectionForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_currency_code'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/baskets/basket_positions:
        post:
            description: 'Post data item/ collection for context'
            operationId: postDataCollectionForContextWithoutBasket
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_currency_code'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/baskets/{contextId}/basket_positions/{id}':
        delete:
            description: 'Delete data item for context'
            operationId: deleteDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_currency_code'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch data item for context'
            operationId: patchDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_currency_code'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/baskets/{contextId}/import':
        post:
            description: 'Import basket positions from a file'
            operationId: importDataFromFile
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPostFile'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/basket_positions:
        get:
            description: 'Get data collection'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        post:
            description: 'Post data item/ collection'
            operationId: postDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        patch:
            description: 'Patch data collection'
            operationId: patchDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/basket_positions/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch single basket position'
            operationId: patchDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/basket_positions/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getDataCollectionAutoselect
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api:
        get:
            description: 'Get homepage, check if API works'
            operationId: getHome
            responses:
                200:
                    description: Success
                401:
                    description: 'Access denied'
    /api/me:
        get:
            description: 'Get user info'
            operationId: getMe
            responses:
                200:
                    description: Success
                401:
                    description: 'Access denied'
    /api/files/upload:
        post:
            description: 'Upload file/ files. You should send the file (or files) in the *data_files* parameter, e.g. as *form-data*'
            operationId: postDataFile
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyFilePost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
    /api/files/upload/urls:
        post:
            description: 'Upload file/ files from URL. You should send the URL (or URLs) in the *data_files_urls* parameter'
            operationId: postDataFileFromUrls
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyFileUrlPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
    /api/merged_modules:
        get:
            description: 'Get data collection from merged modules'
            operationId: getDataCollectionBasicModules
            parameters:
                -
                    $ref: '#/components/parameters/modules'
                -
                    $ref: '#/components/parameters/modules_params'
            responses:
                200:
                    description: Success
    /api/merged_modules/autoselect:
        get:
            description: 'Get data collection from merged modules for autoselect'
            operationId: getDataCollectionBasicModulesAutoselect
            parameters:
                -
                    $ref: '#/components/parameters/modules'
                -
                    $ref: '#/components/parameters/modules_params'
            responses:
                200:
                    description: Success
    '/api/{contextModule}/{contextId}/{module}':
        get:
            description: 'Get data item for context, for example: commissionHistory for commission - commissions/1/commission_histories'
            operationId: getDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/{module}/{id}/attributes/{attributeId}/downloadAll':
        get:
            description: 'Download all files from attribute.'
            operationId: downloadAllDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/attributeId'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/delivery_types/{contextId}/calculateCost':
        post:
            description: 'Generate delivery cost '
            operationId: postCalculateCostForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
            requestBody:
                description: 'The payload containing either the basket or the currency and positions.'
                required: true
                content:
                    application/json:
                        schema:
                            required:
                                - data
                            example:
                                -
                                    data:
                                        basket: 12345
                                -
                                    data:
                                        currencyCode: EUR
                                        company: 12345
                                        positions:
                                            -
                                                quantity: 2
                                                priceRabat: 99.99
                            oneOf:
                                -
                                    properties:
                                        data:
                                            properties:
                                                basket:
                                                    description: 'The ID of the basket'
                                                    type: integer
                                            type: object
                                    type: object
                                -
                                    properties:
                                        data:
                                            properties:
                                                currencyCode:
                                                    description: 'The currency code (PLN, EUR etc.)'
                                                    type: string
                                                company:
                                                    description: 'The ID of the company'
                                                    type: integer
                                                positions:
                                                    type: array
                                                    items:
                                                        properties:
                                                            quantity:
                                                                description: 'Quantity of the product'
                                                                type: integer
                                                            priceRabat:
                                                                description: 'Price after discounts'
                                                                type: number
                                                                format: float
                                                        type: object
                                            type: object
                                    type: object
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/discount_codes:
        get:
            description: 'Get discount code collection'
            operationId: getDiscountCodeCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/for_company.id'
                -
                    $ref: '#/components/parameters/for_product.id'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/discount_codes/{id}':
        get:
            description: 'Get discount code'
            operationId: getDiscountCode
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/for_company.id'
                -
                    $ref: '#/components/parameters/for_product.id'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/discount_codes/generateCode:
        get:
            description: 'Generate discount code'
            operationId: generateCode
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyGet'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/discounts:
        get:
            description: 'Get discount collection'
            operationId: getDiscountCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/for_company.id'
                -
                    $ref: '#/components/parameters/for_product.id'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/discounts/{id}':
        get:
            description: 'Get discount'
            operationId: getDiscount
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/for_company.id'
                -
                    $ref: '#/components/parameters/for_product.id'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/{module}/copy_from_document':
        post:
            description: 'Creates a new document in buffer with header and position values of an existing document specified inside request''s body'
            operationId: copyFromDocument
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_copy_with_attributes'
                -
                    $ref: '#/components/parameters/setting_copy_with_position_attributes'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/{module}/create_from_document':
        post:
            description: 'Creates a new document with header and position values of an existing document'
            operationId: createFromDocument
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/document_orders/prepare:
        post:
            description: 'Prepare and return the document order to confirmation view. Do not save any changes to the database.'
            operationId: postPrepareDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/email_messages:
        get:
            operationId: 'App\Controller\Api\EmailMessageController::getDataCollection'
            parameters:
                -
                    $ref: '#/components/parameters/setting_email_messages_mark_seen'
                -
                    $ref: '#/components/parameters/setting_email_messages_save_in_db'
                -
                    $ref: '#/components/parameters/setting_email_messages_check_in_db'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/email_messages/{id}':
        get:
            operationId: 'App\Controller\Api\EmailMessageController::getDataItem'
            parameters:
                -
                    $ref: '#/components/parameters/setting_email_messages_mark_seen'
                -
                    $ref: '#/components/parameters/setting_email_messages_save_in_db'
                -
                    $ref: '#/components/parameters/setting_email_messages_check_in_db'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/exchanges/{currencyCodeFrom}/{currencyCodeTo}':
        get:
            description: 'Get exchangeRate'
            operationId: getExchangeRate
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/favorites/{contextId}/favorite_positions':
        post:
            description: 'Post data item/ collection for context'
            operationId: postDataCollectionForContextWithoutFavorite
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/favorites/favorite_positions:
        post:
            description: 'Post data item/ collection for context'
            operationId: postDataCollectionForContextWithoutFavorite
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/message_threads:
        get:
            description: 'Get data collection'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        post:
            description: 'Create one or multiple new message_threads'
            operationId: postDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        patch:
            description: 'Patch multiple message threads'
            operationId: patchDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/message_threads/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch single thread'
            operationId: patchDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/message_threads/{contextId}/{module}':
        get:
            description: 'Get data item for context, for example: commissionHistory for commission - commissions/1/commission_histories'
            operationId: getDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        post:
            description: 'Post data item/ collection for context'
            operationId: postDataCollectionForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/{contextModule}/{contextId}/{module}/{id}':
        delete:
            description: 'Delete data item for context'
            operationId: deleteDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_currency_code'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch data item for context'
            operationId: patchDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_currency_code'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/price_individuals:
        get:
            description: 'Get price individual collection'
            operationId: getPriceIndividualCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/for_company.id'
                -
                    $ref: '#/components/parameters/for_product.id'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/price_individuals/{id}':
        get:
            description: 'Get data item'
            operationId: getPriceIndividual
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/for_company.id'
                -
                    $ref: '#/components/parameters/for_product.id'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/products:
        get:
            description: 'Get data collection<br />**Example:** <br />Get account companies with relations, where primary relationship manager = 2, name contains ''e'' or ''E'' and ID is greater than 20. Returned fields are limited to id and name. Extra fields are: address and primary relationship manager''s full name. Results are order by company''s name.<br />**Query:** /api/account_companies?setting[with_relations]=1&filter[ph.id]=2&filter[name][hasText]=e&filter[id][gt]=20&extra_fields=address,ph.fullName&fields=name&order[name]=asc'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/for_company.id'
                -
                    $ref: '#/components/parameters/for_storehouse.id'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/products/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/for_company.id'
                -
                    $ref: '#/components/parameters/for_storehouse.id'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/products/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getDataCollectionAutoselect
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/for_company.id'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/profile_settings:
        get:
            description: 'Get data collection'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        post:
            description: 'Create one or multiple new profile_settings'
            operationId: postDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        patch:
            description: 'Patch multiple profile_settings'
            operationId: patchDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/profile_settings/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch single profile setting'
            operationId: patchDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/profile_settings/{profileId}/{settingName}':
        get:
            description: 'Get data item with name for profile'
            operationId: getDataItemForProfile
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/profileId'
                -
                    $ref: '#/components/parameters/settingName'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/settings:
        get:
            description: 'Get settings'
            operationId: getSettings
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_parse_setting_value'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/settings/{id}':
        get:
            description: 'Get single setting by Id'
            operationId: getSetting
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_parse_setting_value'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/settings/{name}':
        get:
            description: 'Get setting by name'
            operationId: getSettingByName
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/name'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_parse_setting_value'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        delete:
            description: 'Delete setting by name'
            operationId: deleteSettingByName
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/name'
                -
                    $ref: '#/components/parameters/filter'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch setting by name'
            operationId: patchSettingByName
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/name'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/settings/{name}/setting_histories':
        get:
            description: 'Get setting history by name'
            operationId: getSettingHistoryByName
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/name'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_parse_setting_value'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/tasks/{recurrenceUuid}':
        get:
            description: 'Get task collection with recurrence UUID'
            operationId: getDataCollectionByRecurrenceUuid
            parameters:
                -
                    $ref: '#/components/parameters/recurrenceUuid'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/tasks/{recurrenceUuid}/{occurrenceDate}':
        get:
            description: 'Get an occurrence of a recurring task'
            operationId: getDataItemByRecurrenceOccurrence
            parameters:
                -
                    $ref: '#/components/parameters/recurrenceUuid'
                -
                    $ref: '#/components/parameters/occurrenceDate'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        delete:
            description: 'Delete an occurrence of a recurring task'
            operationId: deleteDataItemByRecurrenceOccurrence
            parameters:
                -
                    $ref: '#/components/parameters/recurrenceUuid'
                -
                    $ref: '#/components/parameters/occurrenceDate'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_debug_mode'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_task_scope'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch an occurrence of a recurring task'
            operationId: patchDataItemByRecurrenceOccurrence
            parameters:
                -
                    $ref: '#/components/parameters/recurrenceUuid'
                -
                    $ref: '#/components/parameters/occurrenceDate'
                -
                    $ref: '#/components/parameters/setting_task_scope'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/tasks{recurrenceUuid}':
        delete:
            description: 'Delete tasks by recurrence UUID'
            operationId: deleteDataCollectionByRecurrenceUuid
            parameters:
                -
                    $ref: '#/components/parameters/recurrenceUuid'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    name: filter
                    in: query
                    description: 'Data filtering. Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
                    required: true
                    style: deepObject
                    schema:
                        type: array
                        items:
                            type: object
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/serviced_products:
        get:
            description: 'Get data collection<br />**Example:** <br />Get account companies with relations, where primary relationship manager = 2, name contains ''e'' or ''E'' and ID is greater than 20. Returned fields are limited to id and name. Extra fields are: address and primary relationship manager''s full name. Results are order by company''s name.<br />**Query:** /api/account_companies?setting[with_relations]=1&filter[ph.id]=2&filter[name][hasText]=e&filter[id][gt]=20&extra_fields=address,ph.fullName&fields=name&order[name]=asc'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/serviced_products/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/serviced_products/{contextId}/serviced_product_histories':
        get:
            description: 'Get data item for context, for example: commissionHistory for commission - commissions/1/commission_histories'
            operationId: getDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/automatic_task_registrations/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaAutomaticTaskRegistration
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/AutomaticTaskRegistrationGETFields'
                -
                    $ref: '#/components/parameters/AutomaticTaskRegistrationGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            deprecated: true
            tags:
                - AutomaticTaskRegistration
    '/api/automatic_task_registrations/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutomaticTaskRegistration
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/AutomaticTaskRegistrationGETFields'
                -
                    $ref: '#/components/parameters/AutomaticTaskRegistrationGETExtra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            deprecated: true
            tags:
                - AutomaticTaskRegistration
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteAutomaticTaskRegistration
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            deprecated: true
            tags:
                - AutomaticTaskRegistration
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchAutomaticTaskRegistration
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/AutomaticTaskRegistrationPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomaticTaskRegistration
    /api/automatic_task_registrations:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutomaticTaskRegistrations
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/AutomaticTaskRegistrationGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/AutomaticTaskRegistrationGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomaticTaskRegistration
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postAutomaticTaskRegistrations
            requestBody:
                $ref: '#/components/requestBodies/AutomaticTaskRegistrationPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomaticTaskRegistration
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteAutomaticTaskRegistrations
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    name: filter
                    in: query
                    description: 'Data filtering. Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
                    required: true
                    style: deepObject
                    schema:
                        type: array
                        items:
                            type: object
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomaticTaskRegistration
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchAutomaticTaskRegistrations
            requestBody:
                $ref: '#/components/requestBodies/AutomaticTaskRegistrationPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomaticTaskRegistration
    /api/automatic_task_registrations/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectAutomaticTaskRegistrations
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/AutomaticTaskRegistrationGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/AutomaticTaskRegistrationGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomaticTaskRegistration
    '/api/automatic_task_registrations/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfAutomaticTaskRegistration
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestGeneratePdf'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomaticTaskRegistration
    /api/tasks/meta:
        get:
            description: '**Credential levels for modules:**<br />0: none<br />1: show<br />2: edit<br />3: create<br />4: delete<br /><br />**Credential levels for fields and extra_fields:**<br />0: none<br />1: show<br />2: edit<br />'
            operationId: getMetaTask
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/TaskGETFields'
                -
                    $ref: '#/components/parameters/TaskGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - Task
    '/api/tasks/{id}':
        get:
            description: 'Get data item'
            operationId: getTask
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/TaskGETFields'
                -
                    $ref: '#/components/parameters/TaskGETExtra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - Task
        delete:
            description: 'Delete data item'
            operationId: deleteTask
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - Task
        patch:
            description: 'Patch data item'
            operationId: patchTask
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/TaskPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - Task
    /api/tasks:
        get:
            description: 'Get data collection<br />**Example:** <br />Get account companies with relations, where primary relationship manager = 2, name contains ''e'' or ''E'' and ID is greater than 20. Returned fields are limited to id and name. Extra fields are: address and primary relationship manager''s full name. Results are order by company''s name.<br />**Query:** /api/account_companies?setting[with_relations]=1&filter[ph.id]=2&filter[name][hasText]=e&filter[id][gt]=20&extra_fields=address,ph.fullName&fields=name&order[name]=asc'
            operationId: getTasks
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/TaskGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/TaskGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - Task
        post:
            description: 'Post data item/ collection'
            operationId: postTasks
            requestBody:
                $ref: '#/components/requestBodies/TaskPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - Task
        delete:
            description: 'Delete data collection'
            operationId: deleteTasks
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    name: filter
                    in: query
                    description: 'Data filtering. Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
                    required: true
                    style: deepObject
                    schema:
                        type: array
                        items:
                            type: object
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - Task
        patch:
            description: 'Patch data collection'
            operationId: patchTasks
            requestBody:
                $ref: '#/components/requestBodies/TaskPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - Task
    /api/tasks/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getAutoselectTasks
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/TaskGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/TaskGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - Task
    '/api/tasks/{id}/generate/pdf':
        post:
            description: 'Generate data item pdf'
            operationId: generatePdfTask
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestGeneratePdf'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - Task
    /api/task_conditions/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaTaskCondition
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/TaskConditionGETFields'
                -
                    $ref: '#/components/parameters/TaskConditionGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            deprecated: true
            tags:
                - TaskCondition
    '/api/task_conditions/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getTaskCondition
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/TaskConditionGETFields'
                -
                    $ref: '#/components/parameters/TaskConditionGETExtra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            deprecated: true
            tags:
                - TaskCondition
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteTaskCondition
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            deprecated: true
            tags:
                - TaskCondition
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchTaskCondition
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/TaskConditionPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - TaskCondition
    /api/task_conditions:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getTaskConditions
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/TaskConditionGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/TaskConditionGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - TaskCondition
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postTaskConditions
            requestBody:
                $ref: '#/components/requestBodies/TaskConditionPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - TaskCondition
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteTaskConditions
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    name: filter
                    in: query
                    description: 'Data filtering. Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
                    required: true
                    style: deepObject
                    schema:
                        type: array
                        items:
                            type: object
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - TaskCondition
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchTaskConditions
            requestBody:
                $ref: '#/components/requestBodies/TaskConditionPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - TaskCondition
    /api/task_conditions/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectTaskConditions
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/TaskConditionGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/TaskConditionGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - TaskCondition
    '/api/task_conditions/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfTaskCondition
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestGeneratePdf'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - TaskCondition
    /api/task_condition_to_task_types/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaTaskConditionToTaskType
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/TaskConditionToTaskTypeGETFields'
                -
                    $ref: '#/components/parameters/TaskConditionToTaskTypeGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            deprecated: true
            tags:
                - TaskConditionToTaskType
    '/api/task_condition_to_task_types/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getTaskConditionToTaskType
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/TaskConditionToTaskTypeGETFields'
                -
                    $ref: '#/components/parameters/TaskConditionToTaskTypeGETExtra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            deprecated: true
            tags:
                - TaskConditionToTaskType
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteTaskConditionToTaskType
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            deprecated: true
            tags:
                - TaskConditionToTaskType
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchTaskConditionToTaskType
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/TaskConditionToTaskTypePATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - TaskConditionToTaskType
    /api/task_condition_to_task_types:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getTaskConditionToTaskTypes
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/TaskConditionToTaskTypeGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/TaskConditionToTaskTypeGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - TaskConditionToTaskType
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postTaskConditionToTaskTypes
            requestBody:
                $ref: '#/components/requestBodies/TaskConditionToTaskTypePOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - TaskConditionToTaskType
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteTaskConditionToTaskTypes
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    name: filter
                    in: query
                    description: 'Data filtering. Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
                    required: true
                    style: deepObject
                    schema:
                        type: array
                        items:
                            type: object
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - TaskConditionToTaskType
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchTaskConditionToTaskTypes
            requestBody:
                $ref: '#/components/requestBodies/TaskConditionToTaskTypePATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - TaskConditionToTaskType
    /api/task_condition_to_task_types/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectTaskConditionToTaskTypes
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/TaskConditionToTaskTypeGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/TaskConditionToTaskTypeGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - TaskConditionToTaskType
    '/api/task_condition_to_task_types/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfTaskConditionToTaskType
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestGeneratePdf'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - TaskConditionToTaskType
    /api/task_histories/meta:
        get:
            description: '**Credential levels for modules:**<br />0: none<br />1: show<br />2: edit<br />3: create<br />4: delete<br /><br />**Credential levels for fields and extra_fields:**<br />0: none<br />1: show<br />2: edit<br />'
            operationId: getMetaTaskHistory
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/TaskHistoryGETFields'
                -
                    $ref: '#/components/parameters/TaskHistoryGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - TaskHistory
    '/api/task_histories/{id}':
        get:
            description: 'Get data item'
            operationId: getTaskHistory
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/TaskHistoryGETFields'
                -
                    $ref: '#/components/parameters/TaskHistoryGETExtra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - TaskHistory
        delete:
            description: 'Delete data item'
            operationId: deleteTaskHistory
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - TaskHistory
        patch:
            description: 'Patch data item'
            operationId: patchTaskHistory
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/TaskHistoryPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - TaskHistory
    /api/task_histories:
        get:
            description: 'Get data collection<br />**Example:** <br />Get account companies with relations, where primary relationship manager = 2, name contains ''e'' or ''E'' and ID is greater than 20. Returned fields are limited to id and name. Extra fields are: address and primary relationship manager''s full name. Results are order by company''s name.<br />**Query:** /api/account_companies?setting[with_relations]=1&filter[ph.id]=2&filter[name][hasText]=e&filter[id][gt]=20&extra_fields=address,ph.fullName&fields=name&order[name]=asc'
            operationId: getTaskHistories
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/TaskHistoryGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/TaskHistoryGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - TaskHistory
        post:
            description: 'Post data item/ collection'
            operationId: postTaskHistories
            requestBody:
                $ref: '#/components/requestBodies/TaskHistoryPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - TaskHistory
        delete:
            description: 'Delete data collection'
            operationId: deleteTaskHistories
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    name: filter
                    in: query
                    description: 'Data filtering. Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
                    required: true
                    style: deepObject
                    schema:
                        type: array
                        items:
                            type: object
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - TaskHistory
        patch:
            description: 'Patch data collection'
            operationId: patchTaskHistories
            requestBody:
                $ref: '#/components/requestBodies/TaskHistoryPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - TaskHistory
    /api/task_histories/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getAutoselectTaskHistories
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/TaskHistoryGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/TaskHistoryGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - TaskHistory
    '/api/task_histories/{id}/generate/pdf':
        post:
            description: 'Generate data item pdf'
            operationId: generatePdfTaskHistory
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestGeneratePdf'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - TaskHistory
    /api/task_types/meta:
        get:
            description: '**Credential levels for modules:**<br />0: none<br />1: show<br />2: edit<br />3: create<br />4: delete<br /><br />**Credential levels for fields and extra_fields:**<br />0: none<br />1: show<br />2: edit<br />'
            operationId: getMetaTaskType
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/TaskTypeGETFields'
                -
                    $ref: '#/components/parameters/TaskTypeGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - TaskType
    '/api/task_types/{id}':
        get:
            description: 'Get data item'
            operationId: getTaskType
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/TaskTypeGETFields'
                -
                    $ref: '#/components/parameters/TaskTypeGETExtra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - TaskType
        delete:
            description: 'Delete data item'
            operationId: deleteTaskType
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - TaskType
        patch:
            description: 'Patch data item'
            operationId: patchTaskType
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/TaskTypePATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - TaskType
    /api/task_types:
        get:
            description: 'Get data collection<br />**Example:** <br />Get account companies with relations, where primary relationship manager = 2, name contains ''e'' or ''E'' and ID is greater than 20. Returned fields are limited to id and name. Extra fields are: address and primary relationship manager''s full name. Results are order by company''s name.<br />**Query:** /api/account_companies?setting[with_relations]=1&filter[ph.id]=2&filter[name][hasText]=e&filter[id][gt]=20&extra_fields=address,ph.fullName&fields=name&order[name]=asc'
            operationId: getTaskTypes
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/TaskTypeGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/TaskTypeGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - TaskType
        post:
            description: 'Post data item/ collection'
            operationId: postTaskTypes
            requestBody:
                $ref: '#/components/requestBodies/TaskTypePOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - TaskType
        delete:
            description: 'Delete data collection'
            operationId: deleteTaskTypes
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    name: filter
                    in: query
                    description: 'Data filtering. Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
                    required: true
                    style: deepObject
                    schema:
                        type: array
                        items:
                            type: object
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - TaskType
        patch:
            description: 'Patch data collection'
            operationId: patchTaskTypes
            requestBody:
                $ref: '#/components/requestBodies/TaskTypePATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - TaskType
    /api/task_types/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getAutoselectTaskTypes
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/TaskTypeGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/TaskTypeGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - TaskType
    '/api/task_types/{id}/generate/pdf':
        post:
            description: 'Generate data item pdf'
            operationId: generatePdfTaskType
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestGeneratePdf'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - TaskType
components:
    schemas:
        AccountCompanyAura:
            title: AccountCompanyAura
            description: 'AccountCompanyAura model'
            properties:
                name:
                    type: string
                    nullable: true
                shortName:
                    type: string
                    nullable: true
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            type: object
        AccountUserAura:
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            allOf:
                -
                    $ref: '#/components/schemas/PersonBuilder'
        CampaignOpportunityAura:
            title: CampaignOpportunityAura
            description: 'CampaignOpportunityAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        CommissionAura:
            title: CommissionAura
            description: 'CommissionAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        CommissionToCommissionAura:
            title: CommissionToCommissionAura
            description: 'CommissionToCommissionAura model'
            properties:
                id:
                    description: 'Commission ID'
                    type: integer
                    format: integer
                    example: 1
                    nullable: true
                subtype:
                    description: 'subtype <parent, child, parallelStart, parallelEnd>'
                    type: string
                    format: string
                    nullable: true
                delay:
                    description: delay
                    type: integer
                    format: integer
                    example: 1
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
            type: object
        CommunicationAura:
            title: CommunicationAura
            description: 'CommunicationAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        CommunicationSenderAura:
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            allOf:
                -
                    $ref: '#/components/schemas/PersonBuilder'
        CommunicationThreadsAura:
            title: CommunicationThreadsAura
            description: 'CommunicationThreadsAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        DocumentInvoiceAura:
            title: DocumentInvoiceAura
            description: 'DocumentInvoiceAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        DocumentOfferQuestionAura:
            title: DocumentOfferQuestionAura
            description: 'DocumentOfferQuestionAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        DocumentOrderAura:
            title: DocumentOrderAura
            description: 'DocumentOrderAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        DocumentPaymentAura:
            title: DocumentPaymentAura
            description: 'DocumentPaymentAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        DocumentStoreAura:
            title: DocumentStoreAura
            description: 'DocumentStoreAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        EmailMessageAura:
            title: EmailMessageAura
            description: 'EmailMessageAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        EstimatedQuantityAura:
            title: EstimatedQuantityAura
            description: 'EstimatedQuantityAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        FileAura:
            title: FileAura
            description: 'FileAura model'
            properties:
                extension:
                    type: string
                    nullable: true
                md5:
                    type: string
                    nullable: true
                dbName:
                    type: string
                    nullable: true
                fileName:
                    type: string
                    nullable: true
                mimeType:
                    type: string
                    nullable: true
                fileSize:
                    type: integer
                    nullable: true
                dateCreate:
                    type: string
                    format: date-time
                    nullable: true
                isTmp:
                    type: boolean
                uris: {  }
                isAttachment:
                    type: boolean
                fileToken:
                    type: string
                    nullable: true
                user:
                    nullable: true
                accountUser:
                    nullable: true
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            type: object
        FileToProductAura:
            properties:
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            allOf:
                -
                    $ref: '#/components/schemas/FileAura'
                -
                    title: FileToProductAura
                    description: 'FileToProductAura model'
                    properties:
                        id:
                            description: 'File ID'
                            type: integer
                            format: integer
                            example: 1
                            nullable: true
                        position:
                            description: position
                            type: integer
                            format: integer
                            example: 1
                            nullable: true
                    type: object
        MessageThreadUserAura:
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            allOf:
                -
                    $ref: '#/components/schemas/PersonBuilder'
        OdbcReportAura:
            title: OdbcReportAura
            description: 'OdbcReportAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        ProductAura:
            title: ProductAura
            description: 'ProductAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        ProductCategoryAura:
            title: ProductCategoryAura
            description: 'ProductCategoryAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        ProductCompleteAura:
            properties:
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            allOf:
                -
                    $ref: '#/components/schemas/ProductAura'
                -
                    title: ProductCompleteAura
                    description: 'ProductCompleteAura model'
                    properties:
                        id:
                            description: 'Product ID'
                            type: integer
                            format: integer
                            example: 1
                            nullable: true
                        quantity:
                            description: quantity
                            type: number
                            format: number
                            example: 1
                            nullable: true
                        priceNetto:
                            description: priceNetto
                            type: number
                            format: number
                            example: 1
                            nullable: true
                    type: object
        ServicedProductAura:
            title: ServicedProductAura
            description: 'ServicedProductAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        SettingAura:
            title: SettingAura
            description: 'SettingAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        TargetAura:
            title: TargetAura
            description: 'TargetAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        TargetObjectiveAura:
            title: TargetObjectiveAura
            description: 'TargetObjectiveAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        TaskAura:
            title: TaskAura
            description: 'TaskAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        TaskTypeAura:
            title: TaskTypeAura
            description: 'TaskTypeAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        TemplateAura:
            title: TemplateAura
            description: 'TemplateAura model'
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
        UserUserAura:
            properties:
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            allOf:
                -
                    $ref: '#/components/schemas/PersonBuilder'
        PersonBuilder:
            title: PersonBuilder
            description: 'PersonBuilder model'
            properties:
                firstName:
                    type: string
                    nullable: true
                lastName:
                    type: string
                    nullable: true
                name:
                    type: string
                    nullable: true
                avatar:
                    type: string
                    nullable: true
                id:
                    type: integer
                    nullable: true
                type:
                    type: string
                    readOnly: true
                    nullable: true
                subtype:
                    type: string
                    nullable: true
            type: object
        ApiAttributeDM:
            title: 'Attribute model'
            description: 'Attribute model'
            properties:
                id:
                    description: 'attribute id'
                    type: integer
                    format: integer
                    example: 1
            type: object
        ApiAttributeListPositionDM:
            title: listPosition
            description: 'Attribute list position model'
            properties:
                id:
                    description: 'attribute id'
                    type: integer
                    format: integer
                    example: 1
                value:
                    type: string
                    format: string
                ordering:
                    type: integer
                    format: integer
            type: object
            format: object
        ApiAttributeListPositionValueDM:
            title: listPositionValue
            description: 'Attribute list position value model'
            properties:
                id:
                    description: 'attribute id'
                    type: integer
                    format: integer
                    example: 1
                value:
                    type: string
                    format: string
                selected:
                    type: boolean
                    format: boolean
                ordering:
                    type: integer
                    format: integer
            type: object
            format: object
        ApiAttributeOptionDM:
            title: 'Attribute option model'
            description: 'Attribute option model'
            properties:
                displayPriority:
                    type: integer
                    format: integer
                    nullable: true
                forPosition:
                    type: boolean
                    format: boolean
                registerEventOnchange:
                    type: boolean
                    format: boolean
                asHTML:
                    type: boolean
                    format: boolean
            type: object
        ApiAttributeShowDM:
            title: 'Attribute model'
            description: 'Attribute model'
            properties:
                id:
                    description: 'attribute id'
                    type: integer
                    format: integer
                    example: 1
                uuid:
                    description: 'property for system attributes'
                    type: string
                    format: uuid
                    nullable: true
                name:
                    type: string
                    format: string
                type:
                    type: string
                    format: string
                options:
                    $ref: '#/components/schemas/ApiAttributeOptionDM'
            type: object
        ApiAttributeTypeAccountUserEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: 'account user'
                    description: 'Attribute type account user model'
                    properties:
                        value:
                            title: account_users
                            description: 'integer or array'
                            format: object
                            nullable: true
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    type: object
        ApiAttributeTypeBoolEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: bool
                    description: 'Attribute type bool model'
                    properties:
                        value:
                            type: boolean
                            format: bool
                    type: object
        ApiAttributeTypeCompanyEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: company
                    description: 'Attribute type company model'
                    properties:
                        value:
                            title: companies
                            description: 'integer or array'
                            format: object
                            nullable: true
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    type: object
        ApiAttributeTypeDateEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: date
                    description: 'Attribute type date model'
                    properties:
                        value:
                            type: string
                            format: date
                            nullable: true
                    type: object
        ApiAttributeTypeDateTimeEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: date-time
                    description: 'Attribute type date-time model'
                    properties:
                        value:
                            type: string
                            format: date-time
                            nullable: true
                    type: object
        ApiAttributeTypeEmailEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: email
                    description: 'Attribute type email model'
                    properties:
                        value:
                            title: 'list items'
                            description: 'string or array'
                            format: object
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectStringDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectStringsDM'
                    type: object
        ApiAttributeTypeFileEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: file
                    description: 'Attribute type file model'
                    properties:
                        value:
                            title: files
                            description: 'integer or array'
                            format: object
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    type: object
        ApiAttributeTypeFloatEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: float
                    description: 'Attribute type float model'
                    properties:
                        value:
                            type: number
                            format: number
                            nullable: true
                    type: object
        ApiAttributeTypeListEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: list
                    description: 'Attribute type list model'
                    properties:
                        value:
                            title: 'list position values'
                            description: 'integer or array'
                            format: object
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    type: object
        ApiAttributeTypeListMultiEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: listMulti
                    description: 'Attribute type list multi model'
                    properties:
                        value:
                            title: 'list position values'
                            description: 'integer or array'
                            format: object
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    type: object
        ApiAttributeTypePhoneEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: phone
                    description: 'Attribute type phone model'
                    properties:
                        value:
                            type: string
                            format: string
                    type: object
        ApiAttributeTypeSignatureEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: signature
                    description: 'Attribute type signature model'
                    properties:
                        value:
                            title: signatures
                            description: 'integer or array'
                            format: object
                            nullable: true
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    type: object
        ApiAttributeTypeTagsEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: tags
                    description: 'Attribute type tags model'
                    properties:
                        value:
                            title: 'list items'
                            description: 'string or array'
                            format: object
                            nullable: true
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectStringDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectStringsDM'
                    type: object
        ApiAttributeTypeTextEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: text
                    description: 'Attribute type text model'
                    properties:
                        value:
                            type: string
                            format: string
                            nullable: true
                    type: object
        ApiAttributeTypeUserUserEditDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeDM'
                -
                    title: 'user user'
                    description: 'Attribute type user user model'
                    properties:
                        value:
                            title: user_users
                            description: 'integer or array'
                            format: object
                            nullable: true
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    type: object
        ApiAttributeTypeAccountUserShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: 'account user'
                    description: 'Attribute type account user model'
                    properties:
                        value:
                            title: account_users
                            description: ''
                            type: array
                            format: object
                            items:
                                $ref: '#/components/schemas/AccountUserAura'
                    type: object
        ApiAttributeTypeBoolShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: bool
                    description: 'Attribute type bool model'
                    properties:
                        value:
                            type: boolean
                            format: bool
                    type: object
        ApiAttributeTypeCompanyShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: company
                    description: 'Attribute type company model'
                    properties:
                        value:
                            title: companies
                            description: ''
                            type: array
                            format: object
                            items:
                                $ref: '#/components/schemas/AccountCompanyAura'
                    type: object
        ApiAttributeTypeDateShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: date
                    description: 'Attribute type date model'
                    properties:
                        value:
                            type: string
                            format: date
                            nullable: true
                    type: object
        ApiAttributeTypeDateTimeShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: date-time
                    description: 'Attribute type date-time model'
                    properties:
                        value:
                            type: string
                            format: date-time
                            nullable: true
                    type: object
        ApiAttributeTypeEmailShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: email
                    description: 'Attribute type email model'
                    properties:
                        value:
                            title: 'list items'
                            description: 'string or array'
                            format: object
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectStringDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectStringsDM'
                    type: object
        ApiAttributeTypeFileShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: file
                    description: 'Attribute type file model'
                    properties:
                        value:
                            title: files
                            description: ''
                            type: array
                            format: object
                            items:
                                $ref: '#/components/schemas/FileAura'
                    type: object
        ApiAttributeTypeFloatShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: float
                    description: 'Attribute type float model'
                    properties:
                        value:
                            type: number
                            format: number
                            nullable: true
                    type: object
        ApiAttributeTypeListMultiShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: listMulti
                    description: 'Attribute type list multi model'
                    properties:
                        positions:
                            $ref: '#/components/schemas/ApiAttributeListPositionDM'
                        value:
                            $ref: '#/components/schemas/ApiAttributeListPositionValueDM'
                    type: object
        ApiAttributeTypeListShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: list
                    description: 'Attribute type list model'
                    properties:
                        positions:
                            $ref: '#/components/schemas/ApiAttributeListPositionDM'
                        value:
                            $ref: '#/components/schemas/ApiAttributeListPositionValueDM'
                    type: object
        ApiAttributeTypePhoneShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: phone
                    description: 'Attribute type phone model'
                    properties:
                        value:
                            type: string
                            format: string
                    type: object
        ApiAttributeTypeSignatureShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: signature
                    description: 'Attribute type signature model'
                    properties:
                        value:
                            title: signatures
                            description: ''
                            type: array
                            format: object
                            items:
                                $ref: '#/components/schemas/FileAura'
                    type: object
        ApiAttributeTypeTagsShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: tags
                    description: 'Attribute type tags model'
                    properties:
                        value:
                            title: 'list items'
                            description: 'string or array'
                            format: object
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectStringsDM'
                    type: object
        ApiAttributeTypeTextShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: text
                    description: 'Attribute type text model'
                    properties:
                        value:
                            type: string
                            format: string
                            nullable: true
                    type: object
        ApiAttributeTypeUserUserShowDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiAttributeShowDM'
                -
                    title: 'user user'
                    description: 'Attribute type user user model'
                    properties:
                        value:
                            title: user_users
                            description: ''
                            type: array
                            format: object
                            items:
                                $ref: '#/components/schemas/UserUserAura'
                    type: object
        ApiDataRequestDM:
            title: 'Data request model'
            description: 'Data request model'
            required:
                - data
            properties:
                data:
                    title: data
                    description: 'Data request, you can check the fields/ extra_fields and copy them from: /manual/api'
                    type: object
                    format: object
                setting:
                    $ref: '#/components/schemas/ApiSettingDM'
                fields:
                    title: fields
                    description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                    type: string
                    format: string
                    example: 'field1,field2,parentField1.field3'
                extra_fields:
                    title: extra_fields
                    description: '(default: none) Extra fields in returned data. Max depth is 1'
                    type: string
                    format: string
                    example: 'extra_field1,extra_field2,parentField1.extra_field3'
            type: object
        ApiDataRequestFileDM:
            title: 'Data request model'
            description: 'Data request model'
            required:
                - data_files
            properties:
                data_files:
                    title: data_files
                    description: 'Files array'
                    type: array
                    items:
                        type: string
                        format: binary
                mode:
                    title: mode
                    description: '(default: 0) 0: temporary file, 1: attachment, 2: file'
                    type: integer
            type: object
        ApiDataRequestFileUrlDM:
            title: 'Data request model'
            description: 'Data request model'
            required:
                - data_files_urls
            properties:
                data_files_urls:
                    title: data_files_urls
                    description: 'URL array'
                    type: array
                    items:
                        type: string
            type: object
        ApiDataRequestGeneratePdfDM:
            allOf:
                -
                    $ref: '#/components/schemas/ApiDataRequestSimpleDM'
                -
                    title: 'Data request model'
                    description: 'Data request model'
                    properties:
                        data:
                            $ref: '#/components/schemas/ApiDataRequestGeneratePdfDataDM'
                    type: object
        ApiDataRequestGeneratePdfDataDM:
            title: 'Data model'
            description: 'Data model'
            properties:
                templateId:
                    title: templateId
                    description: '(default: null) commissionTemplate''s or productTemplate''s ID'
                    type: integer
            type: object
        ApiDataRequestSimpleDM:
            title: 'Data request model'
            description: 'Data request model'
            required:
                - data
            properties:
                data:
                    title: data
                    description: 'Data request'
                    type: object
                    format: object
                setting:
                    $ref: '#/components/schemas/ApiSettingDM'
            type: object
        ApiImportFromFileDM:
            title: 'Data request model'
            description: 'Data request model'
            required:
                - data
            properties:
                data:
                    title: data
                    description: 'Data request, that you can copy from: /manual/api'
                    type: object
                    format: object
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectFileDM'
            type: object
        ApiObjectFileDM:
            title: ApiObjectFileDM
            description: 'ApiObjectFileDM schema'
            properties:
                file:
                    description: 'Id of a file to import from'
                    type: string
                    format: integer
                    example: 1
                    nullable: true
            type: object
        ApiObjectIdDM:
            title: objectId
            description: objectId
            type: integer
            format: integer
            writeOnly: true
        ApiObjectIdsDM:
            title: array<ids>
            description: array<ids>
            type: array
            format: array
            items:
                type: integer
            writeOnly: true
        ApiObjectStringDM:
            title: string
            description: string
            type: string
            format: string
            writeOnly: true
        ApiObjectStringsDM:
            title: array<strings>
            description: array<strings>
            type: array
            format: array
            items:
                type: string
            writeOnly: true
        ApiSettingDM:
            title: 'Setting model'
            description: 'Setting model'
            properties:
                mode_relations_add:
                    title: mode_relations_add
                    description: '(default: false) In this mode, unsubmitted relations will not be deleted. (only for ManyToMany, OneToMany)'
                    type: boolean
                    format: boolean
                    example: false
                mode_relations_remove:
                    title: mode_relations_remove
                    description: '(default: false) In this mode, sent relations will be removed. (only for ManyToMany, OneToMany)'
                    type: boolean
                    format: boolean
                    example: false
                with_debug_mode:
                    title: with_debug_mode
                    description: '(default: false) API debug mode. Indicates exception paths and adds additional information to the meta object'
                    type: boolean
                    format: boolean
                    example: false
                with_editable_settings_for_action:
                    title: with_editable_settings_for_action
                    description: '(default: null) Determines whether to return editable API settings: meta.editableSettingsForAction.'
                    type: string
                    format: string
                    example: GET
                with_get_data:
                    title: with_get_data
                    description: '(default: true) Determines whether to return the *data* parameter. Disable it for best performance.'
                    type: boolean
                    format: boolean
                    example: true
                lang:
                    title: lang
                    description: '(default: pl) Defines the language of the client'
                    type: string
                    format: string
                    example: pl
                extend_request_with_additional_changed:
                    title: extend_request_with_additional_changed
                    description: '(default: false) Determines whether to extend the request with additional changed objects.'
                    type: boolean
                    format: boolean
                    example: false
                limit_to_my_settings:
                    title: limit_to_my_settings
                    description: '(default: true) Determines whether to limit user_settings and profile_settings to user''s settings. Only available for admins.'
                    type: boolean
                    format: boolean
                    example: false
                copy_with_attributes:
                    title: limit_to_my_settings
                    description: '(default: false) Determines whether to copy attributes when copying document header values.'
                    type: boolean
                    format: boolean
                    example: false
                copy_with_position_attributes:
                    title: limit_to_my_settings
                    description: '(default: false) Determines whether to copy attributes when copying document position values.'
                    type: boolean
                    format: boolean
                    example: false
            type: object
        AutomaticTaskRegistrationGETFieldsForCollection:
            title: automatic_task_registrations
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                newTaskName:
                    type: string
                    nullable: true
                newTaskUserId:
                    type: string
                    nullable: true
                newTaskDescription:
                    type: string
                    nullable: true
                newTaskBeginDate:
                    type: string
                    nullable: true
                newTaskEndDate:
                    type: string
                    nullable: true
                isActive:
                    type: boolean
                    nullable: true
                newTaskType:
                    nullable: true
                    description: (taskType)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskTypeGETFieldsForRelation'
                taskType:
                    nullable: true
                    description: (taskType)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskTypeGETFieldsForRelation'
        AutomaticTaskRegistrationGETExtra_fieldsForCollection:
            title: automatic_task_registrations
            type: object
            properties: {  }
        AutomaticTaskRegistrationGETFields:
            title: automatic_task_registrations
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                newTaskName:
                    type: string
                    nullable: true
                newTaskUserId:
                    type: string
                    nullable: true
                newTaskDescription:
                    type: string
                    nullable: true
                newTaskBeginDate:
                    type: string
                    nullable: true
                newTaskEndDate:
                    type: string
                    nullable: true
                isActive:
                    type: boolean
                    nullable: true
                newTaskType:
                    nullable: true
                    description: (taskType)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskTypeGETFieldsForRelation'
                taskType:
                    nullable: true
                    description: (taskType)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskTypeGETFieldsForRelation'
        AutomaticTaskRegistrationGETExtra_fields:
            title: automatic_task_registrations
            type: object
            properties: {  }
        AutomaticTaskRegistrationPATCHForCollection:
            title: automatic_task_registrations
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    newTaskName:
                        type: string
                        nullable: true
                    newTaskUserId:
                        type: string
                        nullable: true
                    newTaskDescription:
                        type: string
                        nullable: true
                    newTaskBeginDate:
                        type: string
                        nullable: true
                    newTaskEndDate:
                        type: string
                        nullable: true
                    isActive:
                        type: boolean
                        nullable: true
                    newTaskType:
                        nullable: true
                        description: 'integer or object (taskType)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskTypePATCHForRelation'
                    taskType:
                        nullable: true
                        description: 'integer or object (taskType)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskTypePATCHForRelation'
                required:
                    - id
        AutomaticTaskRegistrationPATCH:
            title: automatic_task_registrations
            type: object
            properties:
                newTaskName:
                    type: string
                    nullable: true
                newTaskUserId:
                    type: string
                    nullable: true
                newTaskDescription:
                    type: string
                    nullable: true
                newTaskBeginDate:
                    type: string
                    nullable: true
                newTaskEndDate:
                    type: string
                    nullable: true
                isActive:
                    type: boolean
                    nullable: true
                newTaskType:
                    nullable: true
                    description: 'integer or object (taskType)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskTypePATCHForRelation'
                taskType:
                    nullable: true
                    description: 'integer or object (taskType)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskTypePATCHForRelation'
        AutomaticTaskRegistrationPOSTForCollection:
            title: automatic_task_registrations
            type: array
            items:
                type: object
                properties:
                    newTaskName:
                        type: string
                        nullable: true
                    newTaskUserId:
                        type: string
                        nullable: true
                    newTaskDescription:
                        type: string
                        nullable: true
                    newTaskBeginDate:
                        type: string
                        nullable: true
                    newTaskEndDate:
                        type: string
                        nullable: true
                    isActive:
                        type: boolean
                        nullable: true
                    newTaskType:
                        nullable: true
                        description: 'integer or object (taskType)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskTypePOSTForRelation'
                    taskType:
                        nullable: true
                        description: 'integer or object (taskType)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskTypePOSTForRelation'
        AutomaticTaskRegistrationPOST:
            title: automatic_task_registrations
            type: object
            properties:
                newTaskName:
                    type: string
                    nullable: true
                newTaskUserId:
                    type: string
                    nullable: true
                newTaskDescription:
                    type: string
                    nullable: true
                newTaskBeginDate:
                    type: string
                    nullable: true
                newTaskEndDate:
                    type: string
                    nullable: true
                isActive:
                    type: boolean
                    nullable: true
                newTaskType:
                    nullable: true
                    description: 'integer or object (taskType)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskTypePOSTForRelation'
                taskType:
                    nullable: true
                    description: 'integer or object (taskType)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskTypePOSTForRelation'
        TaskGETFieldsForCollection:
            title: tasks
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                taskName:
                    type: string
                    nullable: true
                taskDescription:
                    type: string
                    nullable: true
                isCompleted:
                    type: boolean
                    nullable: true
                endDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event end date'
                createdAt:
                    type: string
                    nullable: true
                    format: date-time
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                beginDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event start date'
                reminderBefore:
                    type: integer
                    nullable: true
                reminderRead:
                    type: boolean
                    nullable: true
                remindDate:
                    type: string
                    nullable: true
                    format: date-time
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 150
                    description: 'External system name'
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                completionDate:
                    type: string
                    nullable: true
                    format: date-time
                calendarData:
                    type: string
                    nullable: true
                uri:
                    type: string
                    nullable: true
                    maxLength: 200
                etag:
                    type: string
                    nullable: true
                    maxLength: 32
                size:
                    type: integer
                    nullable: true
                componentType:
                    type: string
                    nullable: true
                    maxLength: 8
                typeId:
                    type: integer
                    nullable: true
                recurrenceActive:
                    type: boolean
                    nullable: false
                    description: 'The value ''true'' means that the task is the main recurring task in the set.<br />Setting ''true'' creates a set of tasks with a unique recurrenceUuid.<br />The set data will be in the calendarData (RRULE).<br />Note - this field is unavailable for events.'
                recurrenceUntil:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'End date of the recurring task. Should be >= beginDate.'
                recurrencePattern:
                    type: integer
                    nullable: true
                    description: '1: day<br />2: week<br />3: month<br />4: year'
                recurrenceInterval:
                    type: integer
                    nullable: true
                    description: '(>= 1) Interval between dates in a given pattern, e.g. 3 months.'
                recurrenceUuid:
                    type: string
                    nullable: true
                    description: 'A unique identifier for a set of recurring tasks.<br />Should be null for creating new recurring task or the same as the set has.'
                recurrenceExDates:
                    type: string
                    nullable: true
                    description: 'Date exceptions for a given set. Adding a date will exclude it from the set.'
                recurrenceParentBeginDate:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'The date that occurs in the recursive set.<br />Should be generated from calendarData (RRULE)<br />Note - recurrenceExDates cannot contain this date.<br />This field is required to create a unique task in a set or to complete a task that belongs to a set.'
                firstTask:
                    nullable: true
                    description: (task)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskGETFieldsForRelation'
                event:
                    nullable: true
                    description: (task)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskGETFieldsForRelation'
                type:
                    nullable: false
                    description: (taskType)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskTypeGETFieldsForRelation'
                creatorUser:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
                user:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
                accountCompanies:
                    nullable: true
                    description: (accountCompany)
                    allOf:
                        -
                            $ref: '#/components/schemas/AccountCompanyGETFieldsForRelation'
                accountUsers:
                    nullable: true
                    description: (accountUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
        TaskGETExtra_fieldsForCollection:
            title: tasks
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeAccountUserShowDM'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        tasks:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        servicedProducts:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountCompanies:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountUsers:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        commissions:
                            $ref: '#/components/schemas/CommissionToCommissionAura'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                nextTypes:
                    type: object
                    nullable: true
                    description: extra_field
                range:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        TaskGETFields:
            title: tasks
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                taskName:
                    type: string
                    nullable: true
                taskDescription:
                    type: string
                    nullable: true
                isCompleted:
                    type: boolean
                    nullable: true
                endDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event end date'
                createdAt:
                    type: string
                    nullable: true
                    format: date-time
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                beginDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event start date'
                reminderBefore:
                    type: integer
                    nullable: true
                reminderRead:
                    type: boolean
                    nullable: true
                remindDate:
                    type: string
                    nullable: true
                    format: date-time
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 150
                    description: 'External system name'
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                completionDate:
                    type: string
                    nullable: true
                    format: date-time
                calendarData:
                    type: string
                    nullable: true
                uri:
                    type: string
                    nullable: true
                    maxLength: 200
                etag:
                    type: string
                    nullable: true
                    maxLength: 32
                size:
                    type: integer
                    nullable: true
                componentType:
                    type: string
                    nullable: true
                    maxLength: 8
                typeId:
                    type: integer
                    nullable: true
                recurrenceActive:
                    type: boolean
                    nullable: false
                    description: 'The value ''true'' means that the task is the main recurring task in the set.<br />Setting ''true'' creates a set of tasks with a unique recurrenceUuid.<br />The set data will be in the calendarData (RRULE).<br />Note - this field is unavailable for events.'
                recurrenceUntil:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'End date of the recurring task. Should be >= beginDate.'
                recurrencePattern:
                    type: integer
                    nullable: true
                    description: '1: day<br />2: week<br />3: month<br />4: year'
                recurrenceInterval:
                    type: integer
                    nullable: true
                    description: '(>= 1) Interval between dates in a given pattern, e.g. 3 months.'
                recurrenceUuid:
                    type: string
                    nullable: true
                    description: 'A unique identifier for a set of recurring tasks.<br />Should be null for creating new recurring task or the same as the set has.'
                recurrenceExDates:
                    type: string
                    nullable: true
                    description: 'Date exceptions for a given set. Adding a date will exclude it from the set.'
                recurrenceParentBeginDate:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'The date that occurs in the recursive set.<br />Should be generated from calendarData (RRULE)<br />Note - recurrenceExDates cannot contain this date.<br />This field is required to create a unique task in a set or to complete a task that belongs to a set.'
                firstTask:
                    nullable: true
                    description: (task)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskGETFieldsForRelation'
                event:
                    nullable: true
                    description: (task)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskGETFieldsForRelation'
                type:
                    nullable: false
                    description: (taskType)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskTypeGETFieldsForRelation'
                creatorUser:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
                user:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
                accountCompanies:
                    nullable: true
                    description: (accountCompany)
                    allOf:
                        -
                            $ref: '#/components/schemas/AccountCompanyGETFieldsForRelation'
                accountUsers:
                    nullable: true
                    description: (accountUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
        TaskGETExtra_fields:
            title: tasks
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeAccountUserShowDM'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        tasks:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        servicedProducts:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountCompanies:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountUsers:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        commissions:
                            $ref: '#/components/schemas/CommissionToCommissionAura'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                nextTypes:
                    type: object
                    nullable: true
                    description: extra_field
                range:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        TaskPATCHForCollection:
            title: tasks
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    taskName:
                        type: string
                        nullable: true
                    taskDescription:
                        type: string
                        nullable: true
                    endDate:
                        type: string
                        nullable: false
                        format: date-time
                        description: 'Task / event end date'
                    beginDate:
                        type: string
                        nullable: false
                        format: date-time
                        description: 'Task / event start date'
                    reminderBefore:
                        type: integer
                        nullable: true
                    reminderRead:
                        type: boolean
                        nullable: true
                    importTyp:
                        type: string
                        nullable: true
                        maxLength: 150
                        description: 'External system name'
                    importId:
                        type: integer
                        nullable: true
                        description: 'Id from external system'
                    importCode:
                        type: string
                        nullable: true
                        maxLength: 255
                        description: 'Code from external system'
                    completionDate:
                        type: string
                        nullable: true
                        format: date-time
                    recurrenceActive:
                        type: boolean
                        nullable: false
                        description: 'The value ''true'' means that the task is the main recurring task in the set.<br />Setting ''true'' creates a set of tasks with a unique recurrenceUuid.<br />The set data will be in the calendarData (RRULE).<br />Note - this field is unavailable for events.'
                    recurrenceUntil:
                        type: string
                        nullable: true
                        format: date-time
                        description: 'End date of the recurring task. Should be >= beginDate.'
                    recurrencePattern:
                        type: integer
                        nullable: true
                        description: '1: day<br />2: week<br />3: month<br />4: year'
                    recurrenceInterval:
                        type: integer
                        nullable: true
                        description: '(>= 1) Interval between dates in a given pattern, e.g. 3 months.'
                    recurrenceUuid:
                        type: string
                        nullable: true
                        description: 'A unique identifier for a set of recurring tasks.<br />Should be null for creating new recurring task or the same as the set has.'
                    recurrenceExDates:
                        type: string
                        nullable: true
                        description: 'Date exceptions for a given set. Adding a date will exclude it from the set.'
                    recurrenceParentBeginDate:
                        type: string
                        nullable: true
                        format: date-time
                        description: 'The date that occurs in the recursive set.<br />Should be generated from calendarData (RRULE)<br />Note - recurrenceExDates cannot contain this date.<br />This field is required to create a unique task in a set or to complete a task that belongs to a set.'
                    firstTask:
                        nullable: true
                        description: 'integer or object (task)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskPATCHForRelation'
                    event:
                        nullable: true
                        description: 'integer or object (task)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskPATCHForRelation'
                    type:
                        nullable: false
                        description: 'integer or object (taskType)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskTypePATCHForRelation'
                    user:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPATCHForRelation'
                    accountCompanies:
                        nullable: true
                        description: 'integer or array<object> or object (accountCompany)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                type: array
                                items:
                                    $ref: '#/components/schemas/AccountCompanyPATCHForRelation'
                    accountUsers:
                        nullable: true
                        description: 'integer or array<object> or object (accountUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                type: array
                                items:
                                    $ref: '#/components/schemas/AccountUserPATCHForRelation'
                    attributes:
                        type: array
                        nullable: true
                        items:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeAccountUserEditDM'
                        description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                    relations:
                        type: object
                        nullable: true
                        properties:
                            documentInvoices:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            documentStores:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            documentOrders:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            documentOfferQuestions:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            tasks:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            servicedProducts:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            accountCompanies:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            accountUsers:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            campaignOpportunities:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            commissions:
                                $ref: '#/components/schemas/CommissionToCommissionAura'
                        description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                required:
                    - endDate
                    - beginDate
                    - type
        TaskPATCH:
            title: tasks
            type: object
            properties:
                taskName:
                    type: string
                    nullable: true
                taskDescription:
                    type: string
                    nullable: true
                endDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event end date'
                beginDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event start date'
                reminderBefore:
                    type: integer
                    nullable: true
                reminderRead:
                    type: boolean
                    nullable: true
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 150
                    description: 'External system name'
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                completionDate:
                    type: string
                    nullable: true
                    format: date-time
                recurrenceActive:
                    type: boolean
                    nullable: false
                    description: 'The value ''true'' means that the task is the main recurring task in the set.<br />Setting ''true'' creates a set of tasks with a unique recurrenceUuid.<br />The set data will be in the calendarData (RRULE).<br />Note - this field is unavailable for events.'
                recurrenceUntil:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'End date of the recurring task. Should be >= beginDate.'
                recurrencePattern:
                    type: integer
                    nullable: true
                    description: '1: day<br />2: week<br />3: month<br />4: year'
                recurrenceInterval:
                    type: integer
                    nullable: true
                    description: '(>= 1) Interval between dates in a given pattern, e.g. 3 months.'
                recurrenceUuid:
                    type: string
                    nullable: true
                    description: 'A unique identifier for a set of recurring tasks.<br />Should be null for creating new recurring task or the same as the set has.'
                recurrenceExDates:
                    type: string
                    nullable: true
                    description: 'Date exceptions for a given set. Adding a date will exclude it from the set.'
                recurrenceParentBeginDate:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'The date that occurs in the recursive set.<br />Should be generated from calendarData (RRULE)<br />Note - recurrenceExDates cannot contain this date.<br />This field is required to create a unique task in a set or to complete a task that belongs to a set.'
                firstTask:
                    nullable: true
                    description: 'integer or object (task)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskPATCHForRelation'
                event:
                    nullable: true
                    description: 'integer or object (task)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskPATCHForRelation'
                type:
                    nullable: false
                    description: 'integer or object (taskType)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskTypePATCHForRelation'
                user:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPATCHForRelation'
                accountCompanies:
                    nullable: true
                    description: 'integer or array<object> or object (accountCompany)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            type: array
                            items:
                                $ref: '#/components/schemas/AccountCompanyPATCHForRelation'
                accountUsers:
                    nullable: true
                    description: 'integer or array<object> or object (accountUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            type: array
                            items:
                                $ref: '#/components/schemas/AccountUserPATCHForRelation'
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeAccountUserEditDM'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        tasks:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        servicedProducts:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountCompanies:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountUsers:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        commissions:
                            $ref: '#/components/schemas/CommissionToCommissionAura'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
            required:
                - endDate
                - beginDate
                - type
        TaskPOSTForCollection:
            title: tasks
            type: array
            items:
                type: object
                properties:
                    taskName:
                        type: string
                        nullable: true
                    taskDescription:
                        type: string
                        nullable: true
                    endDate:
                        type: string
                        nullable: false
                        format: date-time
                        description: 'Task / event end date'
                    beginDate:
                        type: string
                        nullable: false
                        format: date-time
                        description: 'Task / event start date'
                    reminderBefore:
                        type: integer
                        nullable: true
                    reminderRead:
                        type: boolean
                        nullable: true
                    importTyp:
                        type: string
                        nullable: true
                        maxLength: 150
                        description: 'External system name'
                    importId:
                        type: integer
                        nullable: true
                        description: 'Id from external system'
                    importCode:
                        type: string
                        nullable: true
                        maxLength: 255
                        description: 'Code from external system'
                    completionDate:
                        type: string
                        nullable: true
                        format: date-time
                    recurrenceActive:
                        type: boolean
                        nullable: false
                        description: 'The value ''true'' means that the task is the main recurring task in the set.<br />Setting ''true'' creates a set of tasks with a unique recurrenceUuid.<br />The set data will be in the calendarData (RRULE).<br />Note - this field is unavailable for events.'
                    recurrenceUntil:
                        type: string
                        nullable: true
                        format: date-time
                        description: 'End date of the recurring task. Should be >= beginDate.'
                    recurrencePattern:
                        type: integer
                        nullable: true
                        description: '1: day<br />2: week<br />3: month<br />4: year'
                    recurrenceInterval:
                        type: integer
                        nullable: true
                        description: '(>= 1) Interval between dates in a given pattern, e.g. 3 months.'
                    recurrenceUuid:
                        type: string
                        nullable: true
                        description: 'A unique identifier for a set of recurring tasks.<br />Should be null for creating new recurring task or the same as the set has.'
                    recurrenceExDates:
                        type: string
                        nullable: true
                        description: 'Date exceptions for a given set. Adding a date will exclude it from the set.'
                    recurrenceParentBeginDate:
                        type: string
                        nullable: true
                        format: date-time
                        description: 'The date that occurs in the recursive set.<br />Should be generated from calendarData (RRULE)<br />Note - recurrenceExDates cannot contain this date.<br />This field is required to create a unique task in a set or to complete a task that belongs to a set.'
                    firstTask:
                        nullable: true
                        description: 'integer or object (task)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskPOSTForRelation'
                    event:
                        nullable: true
                        description: 'integer or object (task)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskPOSTForRelation'
                    type:
                        nullable: false
                        description: 'integer or object (taskType)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskTypePOSTForRelation'
                    user:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPOSTForRelation'
                    accountCompanies:
                        nullable: true
                        description: 'integer or array<object> or object (accountCompany)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                type: array
                                items:
                                    $ref: '#/components/schemas/AccountCompanyPOSTForRelation'
                    accountUsers:
                        nullable: true
                        description: 'integer or array<object> or object (accountUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                type: array
                                items:
                                    $ref: '#/components/schemas/AccountUserPOSTForRelation'
                    attributes:
                        type: array
                        nullable: true
                        items:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                                -
                                    $ref: '#/components/schemas/ApiAttributeTypeAccountUserEditDM'
                        description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                    relations:
                        type: object
                        nullable: true
                        properties:
                            documentInvoices:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            documentStores:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            documentOrders:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            documentOfferQuestions:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            tasks:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            servicedProducts:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            accountCompanies:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            accountUsers:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            campaignOpportunities:
                                anyOf:
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdDM'
                                    -
                                        $ref: '#/components/schemas/ApiObjectIdsDM'
                            commissions:
                                $ref: '#/components/schemas/CommissionToCommissionAura'
                        description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                required:
                    - endDate
                    - beginDate
                    - type
        TaskPOST:
            title: tasks
            type: object
            properties:
                taskName:
                    type: string
                    nullable: true
                taskDescription:
                    type: string
                    nullable: true
                endDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event end date'
                beginDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event start date'
                reminderBefore:
                    type: integer
                    nullable: true
                reminderRead:
                    type: boolean
                    nullable: true
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 150
                    description: 'External system name'
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                completionDate:
                    type: string
                    nullable: true
                    format: date-time
                recurrenceActive:
                    type: boolean
                    nullable: false
                    description: 'The value ''true'' means that the task is the main recurring task in the set.<br />Setting ''true'' creates a set of tasks with a unique recurrenceUuid.<br />The set data will be in the calendarData (RRULE).<br />Note - this field is unavailable for events.'
                recurrenceUntil:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'End date of the recurring task. Should be >= beginDate.'
                recurrencePattern:
                    type: integer
                    nullable: true
                    description: '1: day<br />2: week<br />3: month<br />4: year'
                recurrenceInterval:
                    type: integer
                    nullable: true
                    description: '(>= 1) Interval between dates in a given pattern, e.g. 3 months.'
                recurrenceUuid:
                    type: string
                    nullable: true
                    description: 'A unique identifier for a set of recurring tasks.<br />Should be null for creating new recurring task or the same as the set has.'
                recurrenceExDates:
                    type: string
                    nullable: true
                    description: 'Date exceptions for a given set. Adding a date will exclude it from the set.'
                recurrenceParentBeginDate:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'The date that occurs in the recursive set.<br />Should be generated from calendarData (RRULE)<br />Note - recurrenceExDates cannot contain this date.<br />This field is required to create a unique task in a set or to complete a task that belongs to a set.'
                firstTask:
                    nullable: true
                    description: 'integer or object (task)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskPOSTForRelation'
                event:
                    nullable: true
                    description: 'integer or object (task)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskPOSTForRelation'
                type:
                    nullable: false
                    description: 'integer or object (taskType)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskTypePOSTForRelation'
                user:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPOSTForRelation'
                accountCompanies:
                    nullable: true
                    description: 'integer or array<object> or object (accountCompany)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            type: array
                            items:
                                $ref: '#/components/schemas/AccountCompanyPOSTForRelation'
                accountUsers:
                    nullable: true
                    description: 'integer or array<object> or object (accountUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            type: array
                            items:
                                $ref: '#/components/schemas/AccountUserPOSTForRelation'
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeAccountUserEditDM'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        tasks:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        servicedProducts:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountCompanies:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountUsers:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        commissions:
                            $ref: '#/components/schemas/CommissionToCommissionAura'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
            required:
                - endDate
                - beginDate
                - type
        TaskConditionGETFieldsForCollection:
            title: task_conditions
            type: object
            properties:
                taskConditionId:
                    type: integer
                    nullable: false
                conditionName:
                    type: string
                    nullable: true
                    maxLength: 255
                result:
                    type: string
                    nullable: true
        TaskConditionGETExtra_fieldsForCollection:
            title: task_conditions
            type: object
            properties: {  }
        TaskConditionGETFields:
            title: task_conditions
            type: object
            properties:
                taskConditionId:
                    type: integer
                    nullable: false
                conditionName:
                    type: string
                    nullable: true
                    maxLength: 255
                result:
                    type: string
                    nullable: true
        TaskConditionGETExtra_fields:
            title: task_conditions
            type: object
            properties: {  }
        TaskConditionPATCHForCollection:
            title: task_conditions
            type: array
            items:
                type: object
                properties:
                    taskConditionId:
                        type: integer
                        nullable: false
                    conditionName:
                        type: string
                        nullable: true
                        maxLength: 255
                    result:
                        type: string
                        nullable: true
                required:
                    - taskConditionId
        TaskConditionPATCH:
            title: task_conditions
            type: object
            properties:
                conditionName:
                    type: string
                    nullable: true
                    maxLength: 255
                result:
                    type: string
                    nullable: true
        TaskConditionPOSTForCollection:
            title: task_conditions
            type: array
            items:
                type: object
                properties:
                    conditionName:
                        type: string
                        nullable: true
                        maxLength: 255
                    result:
                        type: string
                        nullable: true
        TaskConditionPOST:
            title: task_conditions
            type: object
            properties:
                conditionName:
                    type: string
                    nullable: true
                    maxLength: 255
                result:
                    type: string
                    nullable: true
        TaskConditionToTaskTypeGETFieldsForCollection:
            title: task_condition_to_task_types
            type: object
            properties:
                taskConditionToTaskTypeId:
                    type: integer
                    nullable: false
                taskCondition:
                    nullable: true
                    description: (taskCondition)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskConditionGETFieldsForRelation'
                taskType:
                    nullable: true
                    description: (taskType)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskTypeGETFieldsForRelation'
        TaskConditionToTaskTypeGETExtra_fieldsForCollection:
            title: task_condition_to_task_types
            type: object
            properties: {  }
        TaskConditionToTaskTypeGETFields:
            title: task_condition_to_task_types
            type: object
            properties:
                taskConditionToTaskTypeId:
                    type: integer
                    nullable: false
                taskCondition:
                    nullable: true
                    description: (taskCondition)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskConditionGETFieldsForRelation'
                taskType:
                    nullable: true
                    description: (taskType)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskTypeGETFieldsForRelation'
        TaskConditionToTaskTypeGETExtra_fields:
            title: task_condition_to_task_types
            type: object
            properties: {  }
        TaskConditionToTaskTypePATCHForCollection:
            title: task_condition_to_task_types
            type: array
            items:
                type: object
                properties:
                    taskConditionToTaskTypeId:
                        type: integer
                        nullable: false
                    taskCondition:
                        nullable: true
                        description: 'integer or object (taskCondition)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskConditionPATCHForRelation'
                    taskType:
                        nullable: true
                        description: 'integer or object (taskType)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskTypePATCHForRelation'
                required:
                    - taskConditionToTaskTypeId
        TaskConditionToTaskTypePATCH:
            title: task_condition_to_task_types
            type: object
            properties:
                taskCondition:
                    nullable: true
                    description: 'integer or object (taskCondition)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskConditionPATCHForRelation'
                taskType:
                    nullable: true
                    description: 'integer or object (taskType)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskTypePATCHForRelation'
        TaskConditionToTaskTypePOSTForCollection:
            title: task_condition_to_task_types
            type: array
            items:
                type: object
                properties:
                    taskCondition:
                        nullable: true
                        description: 'integer or object (taskCondition)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskConditionPOSTForRelation'
                    taskType:
                        nullable: true
                        description: 'integer or object (taskType)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskTypePOSTForRelation'
        TaskConditionToTaskTypePOST:
            title: task_condition_to_task_types
            type: object
            properties:
                taskCondition:
                    nullable: true
                    description: 'integer or object (taskCondition)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskConditionPOSTForRelation'
                taskType:
                    nullable: true
                    description: 'integer or object (taskType)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskTypePOSTForRelation'
        TaskHistoryGETFieldsForCollection:
            title: task_histories
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                fieldType:
                    type: integer
                    nullable: true
                fieldName:
                    type: string
                    nullable: true
                    maxLength: 255
                oldValue:
                    type: string
                    nullable: true
                newValue:
                    type: string
                    nullable: true
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                attribute:
                    nullable: true
                    description: (taskAttribute)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskAttributeGETFieldsForRelation'
                task:
                    nullable: true
                    description: (task)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskGETFieldsForRelation'
                userUser:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        TaskHistoryGETExtra_fieldsForCollection:
            title: task_histories
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        TaskHistoryGETFields:
            title: task_histories
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                fieldType:
                    type: integer
                    nullable: true
                fieldName:
                    type: string
                    nullable: true
                    maxLength: 255
                oldValue:
                    type: string
                    nullable: true
                newValue:
                    type: string
                    nullable: true
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                attribute:
                    nullable: true
                    description: (taskAttribute)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskAttributeGETFieldsForRelation'
                task:
                    nullable: true
                    description: (task)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskGETFieldsForRelation'
                userUser:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        TaskHistoryGETExtra_fields:
            title: task_histories
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        TaskHistoryPATCHForCollection:
            title: task_histories
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    fieldType:
                        type: integer
                        nullable: true
                    fieldName:
                        type: string
                        nullable: true
                        maxLength: 255
                    oldValue:
                        type: string
                        nullable: true
                    newValue:
                        type: string
                        nullable: true
                    attribute:
                        nullable: true
                        description: 'integer or object (taskAttribute)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskAttributePATCHForRelation'
                    task:
                        nullable: true
                        description: 'integer or object (task)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskPATCHForRelation'
                    userUser:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPATCHForRelation'
        TaskHistoryPATCH:
            title: task_histories
            type: object
            properties:
                fieldType:
                    type: integer
                    nullable: true
                fieldName:
                    type: string
                    nullable: true
                    maxLength: 255
                oldValue:
                    type: string
                    nullable: true
                newValue:
                    type: string
                    nullable: true
                attribute:
                    nullable: true
                    description: 'integer or object (taskAttribute)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskAttributePATCHForRelation'
                task:
                    nullable: true
                    description: 'integer or object (task)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskPATCHForRelation'
                userUser:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPATCHForRelation'
        TaskHistoryPOSTForCollection:
            title: task_histories
            type: array
            items:
                type: object
                properties:
                    fieldType:
                        type: integer
                        nullable: true
                    fieldName:
                        type: string
                        nullable: true
                        maxLength: 255
                    oldValue:
                        type: string
                        nullable: true
                    newValue:
                        type: string
                        nullable: true
                    attribute:
                        nullable: true
                        description: 'integer or object (taskAttribute)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskAttributePOSTForRelation'
                    task:
                        nullable: true
                        description: 'integer or object (task)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskPOSTForRelation'
                    userUser:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPOSTForRelation'
        TaskHistoryPOST:
            title: task_histories
            type: object
            properties:
                fieldType:
                    type: integer
                    nullable: true
                fieldName:
                    type: string
                    nullable: true
                    maxLength: 255
                oldValue:
                    type: string
                    nullable: true
                newValue:
                    type: string
                    nullable: true
                attribute:
                    nullable: true
                    description: 'integer or object (taskAttribute)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskAttributePOSTForRelation'
                task:
                    nullable: true
                    description: 'integer or object (task)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskPOSTForRelation'
                userUser:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPOSTForRelation'
        TaskTypeGETFieldsForCollection:
            title: task_types
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                typeName:
                    type: string
                    nullable: true
                taskPriority:
                    type: integer
                    nullable: true
                isEvent:
                    type: boolean
                    nullable: true
                defaultPlannedDate:
                    type: integer
                    nullable: true
                isAutomatic:
                    type: boolean
                    nullable: true
                icon:
                    type: string
                    nullable: true
                iconColor:
                    type: string
                    nullable: true
                    maxLength: 10
                isTimeExtended:
                    type: boolean
                    nullable: true
                notifyUser:
                    type: boolean
                    nullable: false
                isPrivate:
                    type: boolean
                    nullable: false
                isHidden:
                    type: boolean
                    nullable: false
                defaultEventDate:
                    type: integer
                    nullable: false
                uuid:
                    type: string
                    nullable: true
                    format: guid
        TaskTypeGETExtra_fieldsForCollection:
            title: task_types
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                taskAttributes:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                taskCredentials:
                    type: string
                    nullable: true
                    description: extra_field
        TaskTypeGETFields:
            title: task_types
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                typeName:
                    type: string
                    nullable: true
                taskPriority:
                    type: integer
                    nullable: true
                isEvent:
                    type: boolean
                    nullable: true
                defaultPlannedDate:
                    type: integer
                    nullable: true
                isAutomatic:
                    type: boolean
                    nullable: true
                icon:
                    type: string
                    nullable: true
                iconColor:
                    type: string
                    nullable: true
                    maxLength: 10
                isTimeExtended:
                    type: boolean
                    nullable: true
                notifyUser:
                    type: boolean
                    nullable: false
                isPrivate:
                    type: boolean
                    nullable: false
                isHidden:
                    type: boolean
                    nullable: false
                defaultEventDate:
                    type: integer
                    nullable: false
                uuid:
                    type: string
                    nullable: true
                    format: guid
        TaskTypeGETExtra_fields:
            title: task_types
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                taskAttributes:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                taskCredentials:
                    type: string
                    nullable: true
                    description: extra_field
        TaskTypePATCHForCollection:
            title: task_types
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    typeName:
                        type: string
                        nullable: true
                    taskPriority:
                        type: integer
                        nullable: true
                    isEvent:
                        type: boolean
                        nullable: true
                    defaultPlannedDate:
                        type: integer
                        nullable: true
                    isAutomatic:
                        type: boolean
                        nullable: true
                    icon:
                        type: string
                        nullable: true
                    iconColor:
                        type: string
                        nullable: true
                        maxLength: 10
                    isTimeExtended:
                        type: boolean
                        nullable: true
                    notifyUser:
                        type: boolean
                        nullable: false
                    isPrivate:
                        type: boolean
                        nullable: false
                    isHidden:
                        type: boolean
                        nullable: false
                    defaultEventDate:
                        type: integer
                        nullable: false
                    uuid:
                        type: string
                        nullable: true
                        format: guid
                    taskCredentials:
                        type: string
                        nullable: true
                        description: extra_field
        TaskTypePATCH:
            title: task_types
            type: object
            properties:
                typeName:
                    type: string
                    nullable: true
                taskPriority:
                    type: integer
                    nullable: true
                isEvent:
                    type: boolean
                    nullable: true
                defaultPlannedDate:
                    type: integer
                    nullable: true
                isAutomatic:
                    type: boolean
                    nullable: true
                icon:
                    type: string
                    nullable: true
                iconColor:
                    type: string
                    nullable: true
                    maxLength: 10
                isTimeExtended:
                    type: boolean
                    nullable: true
                notifyUser:
                    type: boolean
                    nullable: false
                isPrivate:
                    type: boolean
                    nullable: false
                isHidden:
                    type: boolean
                    nullable: false
                defaultEventDate:
                    type: integer
                    nullable: false
                uuid:
                    type: string
                    nullable: true
                    format: guid
                taskCredentials:
                    type: string
                    nullable: true
                    description: extra_field
        TaskTypePOSTForCollection:
            title: task_types
            type: array
            items:
                type: object
                properties:
                    typeName:
                        type: string
                        nullable: true
                    taskPriority:
                        type: integer
                        nullable: true
                    isEvent:
                        type: boolean
                        nullable: true
                    defaultPlannedDate:
                        type: integer
                        nullable: true
                    isAutomatic:
                        type: boolean
                        nullable: true
                    icon:
                        type: string
                        nullable: true
                    iconColor:
                        type: string
                        nullable: true
                        maxLength: 10
                    isTimeExtended:
                        type: boolean
                        nullable: true
                    notifyUser:
                        type: boolean
                        nullable: false
                    isPrivate:
                        type: boolean
                        nullable: false
                    isHidden:
                        type: boolean
                        nullable: false
                    defaultEventDate:
                        type: integer
                        nullable: false
                    uuid:
                        type: string
                        nullable: true
                        format: guid
                    taskCredentials:
                        type: string
                        nullable: true
                        description: extra_field
        TaskTypePOST:
            title: task_types
            type: object
            properties:
                typeName:
                    type: string
                    nullable: true
                taskPriority:
                    type: integer
                    nullable: true
                isEvent:
                    type: boolean
                    nullable: true
                defaultPlannedDate:
                    type: integer
                    nullable: true
                isAutomatic:
                    type: boolean
                    nullable: true
                icon:
                    type: string
                    nullable: true
                iconColor:
                    type: string
                    nullable: true
                    maxLength: 10
                isTimeExtended:
                    type: boolean
                    nullable: true
                notifyUser:
                    type: boolean
                    nullable: false
                isPrivate:
                    type: boolean
                    nullable: false
                isHidden:
                    type: boolean
                    nullable: false
                defaultEventDate:
                    type: integer
                    nullable: false
                uuid:
                    type: string
                    nullable: true
                    format: guid
                taskCredentials:
                    type: string
                    nullable: true
                    description: extra_field
        TaskTypeGETFieldsForRelation:
            title: task_types
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                typeName:
                    type: string
                    nullable: true
                taskPriority:
                    type: integer
                    nullable: true
                isEvent:
                    type: boolean
                    nullable: true
                defaultPlannedDate:
                    type: integer
                    nullable: true
                isAutomatic:
                    type: boolean
                    nullable: true
                icon:
                    type: string
                    nullable: true
                iconColor:
                    type: string
                    nullable: true
                    maxLength: 10
                isTimeExtended:
                    type: boolean
                    nullable: true
                notifyUser:
                    type: boolean
                    nullable: false
                isPrivate:
                    type: boolean
                    nullable: false
                isHidden:
                    type: boolean
                    nullable: false
                defaultEventDate:
                    type: integer
                    nullable: false
                uuid:
                    type: string
                    nullable: true
                    format: guid
        TaskTypeGETExtra_fieldsForRelation:
            title: task_types
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                taskAttributes:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                taskCredentials:
                    type: string
                    nullable: true
                    description: extra_field
        TaskTypePATCHForRelation:
            title: task_types
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                typeName:
                    type: string
                    nullable: true
                taskPriority:
                    type: integer
                    nullable: true
                isEvent:
                    type: boolean
                    nullable: true
                defaultPlannedDate:
                    type: integer
                    nullable: true
                isAutomatic:
                    type: boolean
                    nullable: true
                icon:
                    type: string
                    nullable: true
                iconColor:
                    type: string
                    nullable: true
                    maxLength: 10
                isTimeExtended:
                    type: boolean
                    nullable: true
                notifyUser:
                    type: boolean
                    nullable: false
                isPrivate:
                    type: boolean
                    nullable: false
                isHidden:
                    type: boolean
                    nullable: false
                defaultEventDate:
                    type: integer
                    nullable: false
                uuid:
                    type: string
                    nullable: true
                    format: guid
                taskCredentials:
                    type: string
                    nullable: true
                    description: extra_field
        TaskTypePOSTForRelation:
            title: task_types
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                typeName:
                    type: string
                    nullable: true
                taskPriority:
                    type: integer
                    nullable: true
                isEvent:
                    type: boolean
                    nullable: true
                defaultPlannedDate:
                    type: integer
                    nullable: true
                isAutomatic:
                    type: boolean
                    nullable: true
                icon:
                    type: string
                    nullable: true
                iconColor:
                    type: string
                    nullable: true
                    maxLength: 10
                isTimeExtended:
                    type: boolean
                    nullable: true
                notifyUser:
                    type: boolean
                    nullable: false
                isPrivate:
                    type: boolean
                    nullable: false
                isHidden:
                    type: boolean
                    nullable: false
                defaultEventDate:
                    type: integer
                    nullable: false
                uuid:
                    type: string
                    nullable: true
                    format: guid
                taskCredentials:
                    type: string
                    nullable: true
                    description: extra_field
        TaskGETFieldsForRelation:
            title: tasks
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                taskName:
                    type: string
                    nullable: true
                taskDescription:
                    type: string
                    nullable: true
                isCompleted:
                    type: boolean
                    nullable: true
                endDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event end date'
                createdAt:
                    type: string
                    nullable: true
                    format: date-time
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                beginDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event start date'
                reminderBefore:
                    type: integer
                    nullable: true
                reminderRead:
                    type: boolean
                    nullable: true
                remindDate:
                    type: string
                    nullable: true
                    format: date-time
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 150
                    description: 'External system name'
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                completionDate:
                    type: string
                    nullable: true
                    format: date-time
                calendarData:
                    type: string
                    nullable: true
                uri:
                    type: string
                    nullable: true
                    maxLength: 200
                etag:
                    type: string
                    nullable: true
                    maxLength: 32
                size:
                    type: integer
                    nullable: true
                componentType:
                    type: string
                    nullable: true
                    maxLength: 8
                typeId:
                    type: integer
                    nullable: true
                recurrenceActive:
                    type: boolean
                    nullable: false
                    description: 'The value ''true'' means that the task is the main recurring task in the set.<br />Setting ''true'' creates a set of tasks with a unique recurrenceUuid.<br />The set data will be in the calendarData (RRULE).<br />Note - this field is unavailable for events.'
                recurrenceUntil:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'End date of the recurring task. Should be >= beginDate.'
                recurrencePattern:
                    type: integer
                    nullable: true
                    description: '1: day<br />2: week<br />3: month<br />4: year'
                recurrenceInterval:
                    type: integer
                    nullable: true
                    description: '(>= 1) Interval between dates in a given pattern, e.g. 3 months.'
                recurrenceUuid:
                    type: string
                    nullable: true
                    description: 'A unique identifier for a set of recurring tasks.<br />Should be null for creating new recurring task or the same as the set has.'
                recurrenceExDates:
                    type: string
                    nullable: true
                    description: 'Date exceptions for a given set. Adding a date will exclude it from the set.'
                recurrenceParentBeginDate:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'The date that occurs in the recursive set.<br />Should be generated from calendarData (RRULE)<br />Note - recurrenceExDates cannot contain this date.<br />This field is required to create a unique task in a set or to complete a task that belongs to a set.'
                firstTask:
                    type: object
                    nullable: true
                    description: (task)
                event:
                    type: object
                    nullable: true
                    description: (task)
                type:
                    type: object
                    nullable: false
                    description: (taskType)
                creatorUser:
                    type: object
                    nullable: true
                    description: (userUser)
                user:
                    type: object
                    nullable: true
                    description: (userUser)
                accountCompanies:
                    type: object
                    nullable: true
                    description: (accountCompany)
                accountUsers:
                    type: object
                    nullable: true
                    description: (accountUser)
        TaskGETExtra_fieldsForRelation:
            title: tasks
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeAccountUserShowDM'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        tasks:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        servicedProducts:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountCompanies:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountUsers:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        commissions:
                            $ref: '#/components/schemas/CommissionToCommissionAura'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                nextTypes:
                    type: object
                    nullable: true
                    description: extra_field
                range:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        UserUserGETFieldsForRelation:
            title: user_users
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                username:
                    type: string
                    nullable: false
                    maxLength: 50
                email:
                    type: string
                    nullable: true
                    maxLength: 50
                firstName:
                    type: string
                    nullable: true
                    maxLength: 25
                lastName:
                    type: string
                    nullable: true
                    maxLength: 35
                avatar:
                    type: string
                    nullable: true
                    maxLength: 50
                verified:
                    type: string
                    nullable: true
                    maxLength: 255
                sessionId:
                    type: string
                    nullable: true
                    maxLength: 75
                lastAction:
                    type: string
                    nullable: true
                    format: date-time
                loggedIn:
                    type: boolean
                    nullable: true
                messageOnEmail:
                    type: boolean
                    nullable: true
                phoneNumber:
                    type: string
                    nullable: true
                    maxLength: 15
                mobileNumber:
                    type: string
                    nullable: true
                    maxLength: 15
                defaultCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                availableCurrencies:
                    type: string
                    nullable: true
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importTyp:
                    type: string
                    nullable: true
                    description: 'External system name'
                language:
                    type: string
                    nullable: true
                    maxLength: 30
                lastLoginDate:
                    type: string
                    nullable: true
                    format: date-time
                lastLogoutDate:
                    type: string
                    nullable: true
                    format: date-time
                failedLoginCounter:
                    type: integer
                    nullable: true
                lastFailedLogin:
                    type: string
                    nullable: true
                    format: date-time
                defaultCallendarColor:
                    type: string
                    nullable: true
                    maxLength: 50
                resetLinkExpires:
                    type: string
                    nullable: true
                    format: date-time
                activeCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                systemTheme:
                    type: string
                    nullable: true
                    maxLength: 50
                isExternalLogin:
                    type: boolean
                    nullable: true
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                msexchange:
                    type: boolean
                    nullable: true
                uri:
                    type: string
                    nullable: true
                avatarFile:
                    type: object
                    nullable: true
                    description: (file)
                defaultCssFile:
                    type: object
                    nullable: true
                    description: (file)
                superior:
                    type: object
                    nullable: true
                    description: (userUser)
                userProfile:
                    type: object
                    nullable: true
                    description: (userProfile)
                subordinates:
                    type: object
                    nullable: false
                    description: (userUser)
        UserUserGETExtra_fieldsForRelation:
            title: user_users
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                fullName:
                    type: string
                    nullable: true
                    description: extra_field
                allSubordinates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                allSuperiors:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsShowDM'
                    description: extra_field
                subordinates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        AccountCompanyGETFieldsForRelation:
            title: account_companies
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: true
                importId:
                    type: string
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'External system name'
                shortName:
                    type: string
                    nullable: true
                    maxLength: 255
                nip:
                    type: string
                    nullable: true
                    maxLength: 25
                addressStreet:
                    type: string
                    nullable: true
                    maxLength: 255
                addressStreetNumber:
                    type: string
                    nullable: true
                    maxLength: 150
                addressLocalNumber:
                    type: string
                    nullable: true
                    maxLength: 16
                addressPostalCode:
                    type: string
                    nullable: true
                    maxLength: 25
                addressCity:
                    type: string
                    nullable: true
                    maxLength: 95
                addressCommunity:
                    type: string
                    nullable: true
                    maxLength: 60
                addressCountry:
                    type: string
                    nullable: true
                    maxLength: 35
                addressCounty:
                    type: string
                    nullable: true
                    maxLength: 60
                addressProvince:
                    type: string
                    nullable: true
                    maxLength: 95
                defaultPriceType:
                    type: integer
                    nullable: true
                    description: '2, 4, 6, ...'
                defaultLanguage:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                temporaryCreditLimit:
                    type: number
                    nullable: true
                    format: float
                creditLimitFree:
                    type: number
                    nullable: true
                    format: float
                blockOrder:
                    type: boolean
                    nullable: true
                originalCreditLimit:
                    type: number
                    nullable: true
                    format: float
                creditLimitDate:
                    type: string
                    nullable: true
                    format: date-time
                createdAt:
                    type: string
                    nullable: true
                    format: date-time
                creationType:
                    type: integer
                    nullable: true
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                vatHandling:
                    type: string
                    nullable: false
                    maxLength: 11
                ph:
                    type: object
                    nullable: true
                    description: (userUser)
                defaultDeliveryType:
                    type: object
                    nullable: true
                    description: (deliveryType)
                defaultPaymentType:
                    type: object
                    nullable: true
                    description: (paymentType)
                defaultPlace:
                    type: object
                    nullable: true
                    description: '(places)<br />Default address'
                defaultUser:
                    type: object
                    nullable: true
                    description: (accountUser)
                defaultOrderSeries:
                    type: object
                    nullable: true
                    description: (documentSeriesDefinition)
                priceCompanyGroup:
                    type: object
                    nullable: true
                    description: (priceCompanyGroup)
                accountUsers:
                    type: object
                    nullable: false
                    description: (accountUser)
                places:
                    type: object
                    nullable: false
                    description: '(places)<br />Addresses'
                additionalPhs:
                    type: object
                    nullable: true
                    description: (userUser)
        AccountCompanyGETExtra_fieldsForRelation:
            title: account_companies
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsShowDM'
                    description: extra_field
                address:
                    type: string
                    nullable: true
                    description: extra_field
                displayName:
                    type: string
                    nullable: true
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    description: extra_field
        AccountUserGETFieldsForRelation:
            title: account_users
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                username:
                    type: string
                    nullable: true
                    maxLength: 150
                firstName:
                    type: string
                    nullable: true
                    maxLength: 70
                lastName:
                    type: string
                    nullable: true
                    maxLength: 70
                email:
                    type: string
                    nullable: true
                    maxLength: 150
                verified:
                    type: string
                    nullable: true
                    maxLength: 40
                phoneNumber:
                    type: string
                    nullable: true
                    maxLength: 50
                mobileNumber:
                    type: string
                    nullable: true
                    maxLength: 50
                newsletterActive:
                    type: boolean
                    nullable: false
                defaultCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                    description: 'Currency must be available in exchange or exchangeHistory'
                availableCurrencies:
                    type: string
                    nullable: true
                language:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                authorizedToMakeOrders:
                    type: boolean
                    nullable: true
                lastLogin:
                    type: string
                    nullable: true
                    format: date-time
                lastLoginIp:
                    type: string
                    nullable: true
                    maxLength: 50
                lastFailedLoginIp:
                    type: string
                    nullable: true
                    maxLength: 50
                lastFailedLogin:
                    type: string
                    nullable: true
                    format: date-time
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'External system name'
                activeCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                    description: 'Currency must be available in exchange or exchangeHistory'
                systemTheme:
                    type: string
                    nullable: true
                    maxLength: 50
                    description: 'Comma separated list of strings:<br />cosmo, flatly, lightning, lumen, yeti'
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                scoring:
                    type: integer
                    nullable: true
                defaultLanguage:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                consentProcessingPersonalData:
                    type: boolean
                    nullable: false
                failedLoginCounter:
                    type: integer
                    nullable: true
                avatar:
                    type: string
                    nullable: true
                    maxLength: 50
                isInvoiceUser:
                    type: boolean
                    nullable: true
                place:
                    type: object
                    nullable: true
                    description: '(places)<br />Address'
                company:
                    type: object
                    nullable: true
                    description: (accountCompany)
                avatarFile:
                    type: object
                    nullable: true
                    description: (file)
                userProfile:
                    type: object
                    nullable: true
                    description: (userProfile)
                additionalContacts:
                    type: object
                    nullable: false
                    description: (accountUserAdditionalContactData)
        AccountUserGETExtra_fieldsForRelation:
            title: account_users
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsShowDM'
                    description: extra_field
                fullName:
                    type: string
                    nullable: true
                    description: extra_field
                fullNameEmail:
                    type: string
                    nullable: true
                    description: extra_field
        TaskPATCHForRelation:
            title: tasks
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                taskName:
                    type: string
                    nullable: true
                taskDescription:
                    type: string
                    nullable: true
                endDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event end date'
                beginDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event start date'
                reminderBefore:
                    type: integer
                    nullable: true
                reminderRead:
                    type: boolean
                    nullable: true
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 150
                    description: 'External system name'
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                completionDate:
                    type: string
                    nullable: true
                    format: date-time
                recurrenceActive:
                    type: boolean
                    nullable: false
                    description: 'The value ''true'' means that the task is the main recurring task in the set.<br />Setting ''true'' creates a set of tasks with a unique recurrenceUuid.<br />The set data will be in the calendarData (RRULE).<br />Note - this field is unavailable for events.'
                recurrenceUntil:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'End date of the recurring task. Should be >= beginDate.'
                recurrencePattern:
                    type: integer
                    nullable: true
                    description: '1: day<br />2: week<br />3: month<br />4: year'
                recurrenceInterval:
                    type: integer
                    nullable: true
                    description: '(>= 1) Interval between dates in a given pattern, e.g. 3 months.'
                recurrenceUuid:
                    type: string
                    nullable: true
                    description: 'A unique identifier for a set of recurring tasks.<br />Should be null for creating new recurring task or the same as the set has.'
                recurrenceExDates:
                    type: string
                    nullable: true
                    description: 'Date exceptions for a given set. Adding a date will exclude it from the set.'
                recurrenceParentBeginDate:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'The date that occurs in the recursive set.<br />Should be generated from calendarData (RRULE)<br />Note - recurrenceExDates cannot contain this date.<br />This field is required to create a unique task in a set or to complete a task that belongs to a set.'
                firstTask:
                    type: integer
                    nullable: true
                    description: 'integer or object (task)'
                event:
                    type: integer
                    nullable: true
                    description: 'integer or object (task)'
                type:
                    type: integer
                    nullable: false
                    description: 'integer or object (taskType)'
                user:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                accountCompanies:
                    type: integer
                    nullable: true
                    description: 'integer or array<object> or object (accountCompany)'
                accountUsers:
                    type: integer
                    nullable: true
                    description: 'integer or array<object> or object (accountUser)'
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeAccountUserEditDM'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        tasks:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        servicedProducts:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountCompanies:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountUsers:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        commissions:
                            $ref: '#/components/schemas/CommissionToCommissionAura'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
            required:
                - endDate
                - beginDate
                - type
        UserUserPATCHForRelation:
            title: user_users
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                username:
                    type: string
                    nullable: false
                    maxLength: 50
                password:
                    type: string
                    nullable: true
                    maxLength: 40
                    writeOnly: true
                email:
                    type: string
                    nullable: true
                    maxLength: 50
                firstName:
                    type: string
                    nullable: true
                    maxLength: 25
                lastName:
                    type: string
                    nullable: true
                    maxLength: 35
                avatar:
                    type: string
                    nullable: true
                    maxLength: 50
                messageOnEmail:
                    type: boolean
                    nullable: true
                phoneNumber:
                    type: string
                    nullable: true
                    maxLength: 15
                mobileNumber:
                    type: string
                    nullable: true
                    maxLength: 15
                defaultCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                availableCurrencies:
                    type: string
                    nullable: true
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importTyp:
                    type: string
                    nullable: true
                    description: 'External system name'
                language:
                    type: string
                    nullable: true
                    maxLength: 30
                passwordCreateDate:
                    type: string
                    nullable: true
                    writeOnly: true
                    format: date-time
                defaultCallendarColor:
                    type: string
                    nullable: true
                    maxLength: 50
                passwordReset:
                    type: string
                    nullable: true
                    maxLength: 40
                    writeOnly: true
                activeCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                systemTheme:
                    type: string
                    nullable: true
                    maxLength: 50
                isExternalLogin:
                    type: boolean
                    nullable: true
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                msexchange:
                    type: boolean
                    nullable: true
                uri:
                    type: string
                    nullable: true
                avatarFile:
                    type: integer
                    nullable: true
                    description: 'integer or object (file)'
                defaultCssFile:
                    type: integer
                    nullable: true
                    description: 'integer or object (file)'
                superior:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                userProfile:
                    type: integer
                    nullable: true
                    description: 'integer or object (userProfile)'
                tokens:
                    type: integer
                    nullable: true
                    writeOnly: true
                    description: 'integer or array<object> or object (oAuth2Token)'
                subordinates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsEditDM'
                    description: extra_field
            required:
                - username
        AccountCompanyPATCHForRelation:
            title: account_companies
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: true
                importId:
                    type: string
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'External system name'
                shortName:
                    type: string
                    nullable: true
                    maxLength: 255
                nip:
                    type: string
                    nullable: true
                    maxLength: 25
                defaultPriceType:
                    type: integer
                    nullable: true
                    description: '2, 4, 6, ...'
                defaultLanguage:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                blockOrder:
                    type: boolean
                    nullable: true
                originalCreditLimit:
                    type: number
                    nullable: true
                    format: float
                vatHandling:
                    type: string
                    nullable: false
                    maxLength: 11
                ph:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                defaultDeliveryType:
                    type: integer
                    nullable: true
                    description: 'integer or object (deliveryType)'
                defaultPaymentType:
                    type: integer
                    nullable: true
                    description: 'integer or object (paymentType)'
                defaultPlace:
                    type: integer
                    nullable: true
                    description: 'integer or object (places)<br />Default address'
                defaultUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountUser)'
                defaultOrderSeries:
                    type: integer
                    nullable: true
                    description: 'integer or object (documentSeriesDefinition)'
                priceCompanyGroup:
                    type: integer
                    nullable: true
                    description: 'integer or object (priceCompanyGroup)'
                accountUsers:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (accountUser)'
                places:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (places)<br />Addresses'
                additionalPhs:
                    type: integer
                    nullable: true
                    description: 'integer or array<object> or object (userUser)'
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsEditDM'
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    description: extra_field
        AccountUserPATCHForRelation:
            title: account_users
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                username:
                    type: string
                    nullable: true
                    maxLength: 150
                firstName:
                    type: string
                    nullable: true
                    maxLength: 70
                lastName:
                    type: string
                    nullable: true
                    maxLength: 70
                email:
                    type: string
                    nullable: true
                    maxLength: 150
                phoneNumber:
                    type: string
                    nullable: true
                    maxLength: 50
                mobileNumber:
                    type: string
                    nullable: true
                    maxLength: 50
                newsletterActive:
                    type: boolean
                    nullable: false
                defaultCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                    description: 'Currency must be available in exchange or exchangeHistory'
                availableCurrencies:
                    type: string
                    nullable: true
                language:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                authorizedToMakeOrders:
                    type: boolean
                    nullable: true
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'External system name'
                activeCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                    description: 'Currency must be available in exchange or exchangeHistory'
                systemTheme:
                    type: string
                    nullable: true
                    maxLength: 50
                    description: 'Comma separated list of strings:<br />cosmo, flatly, lightning, lumen, yeti'
                scoring:
                    type: integer
                    nullable: true
                defaultLanguage:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                consentProcessingPersonalData:
                    type: boolean
                    nullable: false
                avatar:
                    type: string
                    nullable: true
                    maxLength: 50
                isInvoiceUser:
                    type: boolean
                    nullable: true
                place:
                    type: integer
                    nullable: true
                    description: 'integer or object (places)<br />Address'
                company:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountCompany)'
                avatarFile:
                    type: integer
                    nullable: true
                    description: 'integer or object (file)'
                userProfile:
                    type: integer
                    nullable: true
                    description: 'integer or object (userProfile)'
                additionalContacts:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (accountUserAdditionalContactData)'
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsEditDM'
                    description: extra_field
        TaskPOSTForRelation:
            title: tasks
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                taskName:
                    type: string
                    nullable: true
                taskDescription:
                    type: string
                    nullable: true
                endDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event end date'
                beginDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event start date'
                reminderBefore:
                    type: integer
                    nullable: true
                reminderRead:
                    type: boolean
                    nullable: true
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 150
                    description: 'External system name'
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                completionDate:
                    type: string
                    nullable: true
                    format: date-time
                recurrenceActive:
                    type: boolean
                    nullable: false
                    description: 'The value ''true'' means that the task is the main recurring task in the set.<br />Setting ''true'' creates a set of tasks with a unique recurrenceUuid.<br />The set data will be in the calendarData (RRULE).<br />Note - this field is unavailable for events.'
                recurrenceUntil:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'End date of the recurring task. Should be >= beginDate.'
                recurrencePattern:
                    type: integer
                    nullable: true
                    description: '1: day<br />2: week<br />3: month<br />4: year'
                recurrenceInterval:
                    type: integer
                    nullable: true
                    description: '(>= 1) Interval between dates in a given pattern, e.g. 3 months.'
                recurrenceUuid:
                    type: string
                    nullable: true
                    description: 'A unique identifier for a set of recurring tasks.<br />Should be null for creating new recurring task or the same as the set has.'
                recurrenceExDates:
                    type: string
                    nullable: true
                    description: 'Date exceptions for a given set. Adding a date will exclude it from the set.'
                recurrenceParentBeginDate:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'The date that occurs in the recursive set.<br />Should be generated from calendarData (RRULE)<br />Note - recurrenceExDates cannot contain this date.<br />This field is required to create a unique task in a set or to complete a task that belongs to a set.'
                firstTask:
                    type: integer
                    nullable: true
                    description: 'integer or object (task)'
                event:
                    type: integer
                    nullable: true
                    description: 'integer or object (task)'
                type:
                    type: integer
                    nullable: false
                    description: 'integer or object (taskType)'
                user:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                accountCompanies:
                    type: integer
                    nullable: true
                    description: 'integer or array<object> or object (accountCompany)'
                accountUsers:
                    type: integer
                    nullable: true
                    description: 'integer or array<object> or object (accountUser)'
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeAccountUserEditDM'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        tasks:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        servicedProducts:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountCompanies:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountUsers:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        commissions:
                            $ref: '#/components/schemas/CommissionToCommissionAura'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
            required:
                - endDate
                - beginDate
                - type
        UserUserPOSTForRelation:
            title: user_users
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                username:
                    type: string
                    nullable: false
                    maxLength: 50
                password:
                    type: string
                    nullable: true
                    maxLength: 40
                    writeOnly: true
                email:
                    type: string
                    nullable: true
                    maxLength: 50
                firstName:
                    type: string
                    nullable: true
                    maxLength: 25
                lastName:
                    type: string
                    nullable: true
                    maxLength: 35
                avatar:
                    type: string
                    nullable: true
                    maxLength: 50
                messageOnEmail:
                    type: boolean
                    nullable: true
                phoneNumber:
                    type: string
                    nullable: true
                    maxLength: 15
                mobileNumber:
                    type: string
                    nullable: true
                    maxLength: 15
                defaultCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                availableCurrencies:
                    type: string
                    nullable: true
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importTyp:
                    type: string
                    nullable: true
                    description: 'External system name'
                language:
                    type: string
                    nullable: true
                    maxLength: 30
                passwordCreateDate:
                    type: string
                    nullable: true
                    writeOnly: true
                    format: date-time
                defaultCallendarColor:
                    type: string
                    nullable: true
                    maxLength: 50
                passwordReset:
                    type: string
                    nullable: true
                    maxLength: 40
                    writeOnly: true
                activeCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                systemTheme:
                    type: string
                    nullable: true
                    maxLength: 50
                isExternalLogin:
                    type: boolean
                    nullable: true
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                msexchange:
                    type: boolean
                    nullable: true
                uri:
                    type: string
                    nullable: true
                avatarFile:
                    type: integer
                    nullable: true
                    description: 'integer or object (file)'
                defaultCssFile:
                    type: integer
                    nullable: true
                    description: 'integer or object (file)'
                superior:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                userProfile:
                    type: integer
                    nullable: true
                    description: 'integer or object (userProfile)'
                tokens:
                    type: integer
                    nullable: true
                    writeOnly: true
                    description: 'integer or array<object> or object (oAuth2Token)'
                subordinates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsEditDM'
                    description: extra_field
            required:
                - username
        AccountCompanyPOSTForRelation:
            title: account_companies
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: true
                importId:
                    type: string
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'External system name'
                shortName:
                    type: string
                    nullable: true
                    maxLength: 255
                nip:
                    type: string
                    nullable: true
                    maxLength: 25
                defaultPriceType:
                    type: integer
                    nullable: true
                    description: '2, 4, 6, ...'
                defaultLanguage:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                blockOrder:
                    type: boolean
                    nullable: true
                originalCreditLimit:
                    type: number
                    nullable: true
                    format: float
                vatHandling:
                    type: string
                    nullable: false
                    maxLength: 11
                ph:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                defaultDeliveryType:
                    type: integer
                    nullable: true
                    description: 'integer or object (deliveryType)'
                defaultPaymentType:
                    type: integer
                    nullable: true
                    description: 'integer or object (paymentType)'
                defaultPlace:
                    type: integer
                    nullable: true
                    description: 'integer or object (places)<br />Default address'
                defaultUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountUser)'
                defaultOrderSeries:
                    type: integer
                    nullable: true
                    description: 'integer or object (documentSeriesDefinition)'
                priceCompanyGroup:
                    type: integer
                    nullable: true
                    description: 'integer or object (priceCompanyGroup)'
                accountUsers:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (accountUser)'
                places:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (places)<br />Addresses'
                additionalPhs:
                    type: integer
                    nullable: true
                    description: 'integer or array<object> or object (userUser)'
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsEditDM'
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    description: extra_field
        AccountUserPOSTForRelation:
            title: account_users
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                username:
                    type: string
                    nullable: true
                    maxLength: 150
                firstName:
                    type: string
                    nullable: true
                    maxLength: 70
                lastName:
                    type: string
                    nullable: true
                    maxLength: 70
                email:
                    type: string
                    nullable: true
                    maxLength: 150
                phoneNumber:
                    type: string
                    nullable: true
                    maxLength: 50
                mobileNumber:
                    type: string
                    nullable: true
                    maxLength: 50
                newsletterActive:
                    type: boolean
                    nullable: false
                defaultCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                    description: 'Currency must be available in exchange or exchangeHistory'
                availableCurrencies:
                    type: string
                    nullable: true
                language:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                authorizedToMakeOrders:
                    type: boolean
                    nullable: true
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'External system name'
                activeCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                    description: 'Currency must be available in exchange or exchangeHistory'
                systemTheme:
                    type: string
                    nullable: true
                    maxLength: 50
                    description: 'Comma separated list of strings:<br />cosmo, flatly, lightning, lumen, yeti'
                scoring:
                    type: integer
                    nullable: true
                defaultLanguage:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                consentProcessingPersonalData:
                    type: boolean
                    nullable: false
                avatar:
                    type: string
                    nullable: true
                    maxLength: 50
                isInvoiceUser:
                    type: boolean
                    nullable: true
                place:
                    type: integer
                    nullable: true
                    description: 'integer or object (places)<br />Address'
                company:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountCompany)'
                avatarFile:
                    type: integer
                    nullable: true
                    description: 'integer or object (file)'
                userProfile:
                    type: integer
                    nullable: true
                    description: 'integer or object (userProfile)'
                additionalContacts:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (accountUserAdditionalContactData)'
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsEditDM'
                    description: extra_field
        TaskConditionGETFieldsForRelation:
            title: task_conditions
            type: object
            properties:
                taskConditionId:
                    type: integer
                    nullable: false
                conditionName:
                    type: string
                    nullable: true
                    maxLength: 255
                result:
                    type: string
                    nullable: true
        TaskConditionGETExtra_fieldsForRelation:
            title: task_conditions
            type: object
            properties: {  }
        TaskConditionPATCHForRelation:
            title: task_conditions
            type: object
            properties:
                taskConditionId:
                    type: integer
                    nullable: false
                conditionName:
                    type: string
                    nullable: true
                    maxLength: 255
                result:
                    type: string
                    nullable: true
            required:
                - taskConditionId
        TaskConditionPOSTForRelation:
            title: task_conditions
            type: object
            properties:
                taskConditionId:
                    type: integer
                    nullable: false
                conditionName:
                    type: string
                    nullable: true
                    maxLength: 255
                result:
                    type: string
                    nullable: true
            required:
                - taskConditionId
        TaskAttributeGETFieldsForRelation:
            title: task_attributes
            type: object
            properties:
                attributeId:
                    type: integer
                    nullable: false
                attributeName:
                    type: string
                    nullable: true
                attributeType:
                    type: integer
                    nullable: true
                displayPriority:
                    type: integer
                    nullable: true
                defaultValue:
                    type: string
                    nullable: true
                attributeOption:
                    type: string
                    nullable: true
                    maxLength: 10
                uuid:
                    type: string
                    nullable: true
                    format: guid
                filterAsTags:
                    type: boolean
                    nullable: true
                searchingForOptions:
                    type: boolean
                    nullable: true
                taskAttributeMultis:
                    type: object
                    nullable: false
                    description: (taskAttributeMulti)
        TaskAttributeGETExtra_fieldsForRelation:
            title: task_attributes
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        TaskAttributePATCHForRelation:
            title: task_attributes
            type: object
            properties:
                attributeId:
                    type: integer
                    nullable: false
                attributeName:
                    type: string
                    nullable: true
                attributeType:
                    type: integer
                    nullable: true
                displayPriority:
                    type: integer
                    nullable: true
                defaultValue:
                    type: string
                    nullable: true
                attributeOption:
                    type: string
                    nullable: true
                    maxLength: 10
                filterAsTags:
                    type: boolean
                    nullable: true
                searchingForOptions:
                    type: boolean
                    nullable: true
                taskAttributeMultis:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (taskAttributeMulti)'
        TaskAttributePOSTForRelation:
            title: task_attributes
            type: object
            properties:
                attributeId:
                    type: integer
                    nullable: false
                attributeName:
                    type: string
                    nullable: true
                attributeType:
                    type: integer
                    nullable: true
                displayPriority:
                    type: integer
                    nullable: true
                defaultValue:
                    type: string
                    nullable: true
                attributeOption:
                    type: string
                    nullable: true
                    maxLength: 10
                filterAsTags:
                    type: boolean
                    nullable: true
                searchingForOptions:
                    type: boolean
                    nullable: true
                taskAttributeMultis:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (taskAttributeMulti)'
    parameters:
        module:
            name: module
            in: path
            description: 'API module (account_companies, commissions, ...)'
            required: true
            schema:
                type: string
        id:
            name: id
            in: path
            description: 'PK (1, 2, 3...)'
            required: true
            schema:
                type: integer
        name:
            name: name
            in: path
            description: 'Value of the name column'
            required: true
            schema:
                type: string
        fields:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                type: array
                items:
                    type: string
        extra_fields:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                type: array
                items:
                    type: string
        filter:
            name: filter
            in: query
            description: 'Data filtering for the case: A and B and C and D. <br />Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
            style: deepObject
            schema:
                type: array
                items:
                    type: object
        filterOr:
            name: filterOr
            in: query
            description: 'Data filtering for the case: (A or B) and (C or D).<br />Parameter template: filterOr[index][filter]<br /> * index - integer, defines a group of filters between which an OR will be applied. You can ignore this if you only want one OR group in the query.<br /> * filter - filter array<br /><br />AND will be used between defined groups.<br /><br />**Simple example:** We want to return products whose name is equal to ''others'' or the code contains ''c'' so we can query endpoint /products with the following parameters:<br />filterOr[name]=others<br />&filterOr[code][hasText]=c<br /><br />**Example:** We want to return products whose name is equal to ''service'' or the code contains ''c'' AND the name is equal to ''service'' or the code contains ''s'' or the id is equal to 1, 2 or 3 so we can query endpoint /products with the following parameters:<br />filterOr[0][name]=service<br />&filterOr[0][code][hasText]=c<br />&filterOr[1][name]=service<br />&filterOr[1][code][hasText]=s<br />&filterOr[1][id][in]=1,2,3'
            style: deepObject
            schema:
                type: array
                items:
                    type: object
        filterAnd:
            name: filterAnd
            in: query
            description: 'Data filtering for the case: (A and B) or (C and D).<br />Parameter template: filterAnd[index][filter]<br /> * index - integer, defines a group of filters between which an AND will be applied. If you only want one AND group in the query - you should use parameter filter instead.<br /> * filter - filter array<br /><br />OR will be used between defined groups.<br /><br />**Example:** We want to return products whose name is equal to ''service'' and the code is equal to ''ser01'' OR the name is equal to ''others'' and the code is equal to ''oth02'' so we can query endpoint /products with the following parameters:<br />filterAnd[0][name]=service<br />&filterAnd[0][code]=ser01<br />&filterAnd[1][name]=others<br />&filterAnd[1][code]=oth02'
            style: deepObject
            schema:
                type: array
                items:
                    type: object
        order:
            name: order
            in: query
            description: '(default: sort by PK) Data sorting. Sort types: <ul><li>asc,</li><li>desc.</li></ul>**Query example:** order[name]=asc&order[shortName]=desc'
            style: deepObject
            schema:
                type: array
                items:
                    type: string
        modules:
            name: modules
            in: query
            description: 'Module list. <br />**Query example:** modules[id1]=account_users&modules[id2]=user_users'
            required: true
            style: deepObject
            schema:
                type: array
                items:
                    type: string
        modules_params:
            name: modules_params
            in: query
            description: 'Module params. <br />**Query example:** modules_params[id1][filter][id][eq]=1&modules_params[id2][order][id]=desc'
            style: deepObject
            schema:
                type: array
                items:
                    type: object
        contextModule:
            name: contextModule
            in: path
            description: 'Context API module (account_companies, commissions, ...)'
            required: true
            schema:
                type: string
        contextId:
            name: contextId
            in: path
            description: 'Context PK (1, 2, 3, ...)'
            required: true
            schema:
                type: integer
        recurrenceUuid:
            name: recurrenceUuid
            in: path
            description: 'Unique recurrence identifier'
            required: true
            schema:
                oneOf:
                    -
                        type: uuid
                    -
                        type: string
                        pattern: '/[0-9a-a]{32}/i'
            examples:
                -
                    example: uuid
                    summary: 'An UUID value without separators.'
                    value: 0006faf67a61426c9034579f2cfcfa83
                -
                    example: uuid
                    summary: 'An UUID value.'
                    value: 0006faf6-7a61-426c-9034-579f2cfcfa83
        occurrenceDate:
            name: occurrenceDate
            in: path
            description: 'Recurring task occurrence date'
            required: true
            schema:
                oneOf:
                    -
                        type: string
                    -
                        type: datetime
            examples:
                -
                    example: string
                    summary: 'RFC 3389 timestamp without separators (GMT).'
                    value: 20211208T120000Z
                -
                    example: string
                    summary: 'RFC 3389 timestamp without separators.'
                    value: 20211208T130000+0100
                -
                    example: datetime
                    summary: 'ISO 8601 timestamp (GMT)'
                    value: '2021-12-08T12:00:00Z'
                -
                    example: datetime
                    summary: 'ISO 8601 timestamp'
                    value: '2021-12-08T13:00:00+01:00'
        profileId:
            name: profileId
            in: path
            description: 'Unique identifier for user profile'
            required: true
            schema:
                type: integer
        settingName:
            name: settingName
            in: path
            description: 'Determines which setting configuration should be returned'
            required: true
            schema:
                type: string
        attributeId:
            name: attributeId
            in: path
            description: 'Attribute ID'
            required: true
            schema:
                type: integer
        setting_with_relations:
            name: 'setting[with_relations]'
            in: query
            description: '(default: false) Determines whether the query (GET) should contain joins to related tables'
            schema:
                type: boolean
                default: 'false'
        setting_with_debug_mode:
            name: 'setting[with_debug_mode]'
            in: query
            description: '(default: false) API debug mode. Indicates exception paths and adds additional information to the meta object'
            schema:
                type: boolean
                default: 'false'
        setting_with_editable_settings_for_action:
            name: 'setting[with_editable_settings_for_action]'
            in: query
            description: '(default: null) Determines whether to return editable API settings in: meta.editableSettingsForAction.'
            schema:
                type: string
                default: 'null'
        setting_lang:
            name: 'setting[lang]'
            in: query
            description: '(default: pl) Defines the language of the client'
            schema:
                type: string
        setting_email_messages_mark_seen:
            name: 'setting[email_messages_mark_seen]'
            in: query
            description: '(default: false) Determines whether to mark the email messages as seen'
            schema:
                type: boolean
        setting_with_cache:
            name: 'setting[with_cache]'
            in: query
            description: '(default: false) Determines whether load email messages from the database (cache) if its is up-to-date.'
            deprecated: true
            schema:
                type: boolean
        setting_email_messages_save_in_db:
            name: 'setting[email_messages_save_in_db]'
            in: query
            description: '(default: false) Determines whether to create or update the email messages in the database (cache).'
            schema:
                type: boolean
        setting_email_messages_check_in_db:
            name: 'setting[email_messages_check_in_db]'
            in: query
            description: '(default: false) Determines whether to update email messages in the database (cache). If the email message does not exist the API will return an empty identifier.'
            schema:
                type: boolean
        setting_limit_to_my_settings:
            name: 'setting[limit_to_my_settings]'
            in: query
            description: '(default: true) Determines whether to limit user_settings and profile_settings to user''s settings. Only available for admins.'
            schema:
                type: boolean
        setting_force_update_user_settings:
            name: 'setting[force_update_user_settings]'
            in: query
            description: '(default: true) Determines whether to update user_settings of every user with given profile. Only available for admins.'
            schema:
                type: boolean
        setting_task_scope:
            name: 'setting[task_scope]'
            in: query
            description: '(default: CURRENT) Recurring task change scope'
            required: false
            schema:
                type: string
                default: CURRENT
                enum:
                    - CURRENT
                    - CURRENT_AND_NEXT
                    - ALL
        setting_parse_setting_value:
            name: 'setting[parse_setting_value]'
            in: query
            description: '(default: false) Determines whether to parse setting value and return it.'
            required: false
            schema:
                type: boolean
                default: false
        setting_currency_code:
            name: 'setting[currency_code]'
            in: query
            description: 'Defines request currency'
            required: false
            schema:
                type: string
                default: null
        setting_copy_with_attributes:
            name: 'setting[copy_with_attributes]'
            in: query
            description: 'Determines whether to copy attributes when copying document header values'
            required: false
            schema:
                type: string
                default: null
        setting_copy_with_position_attributes:
            name: 'setting[copy_with_position_attributes]'
            in: query
            description: ' Determines whether to copy attributes when copying document position values'
            required: false
            schema:
                type: string
                default: null
        page_limit:
            name: 'page[limit]'
            in: query
            description: '(default: 20) LIMIT - data limit.'
            schema:
                type: integer
        page_offset:
            name: 'page[offset]'
            in: query
            description: 'OFFSET - data offset'
            schema:
                type: integer
        page_number:
            name: 'page[number]'
            in: query
            description: '(default: 1) Page number (starts from 1)'
            schema:
                type: integer
        for_fieldName:
            name: 'for[fieldName]'
            in: query
            description: 'Determines for which field values the meta data will be returned. <br />The for [id] parameter will cause the metadata to be returned for a specific object. It is possible to simulate an object change. <br />Some modules or extra_fields require specific keys to be sent. Information about these fields will be returned from the API. <br />**Query example:** for[id]=1&for[commissionPhase]=1'
            schema:
                type: integer
        for_company.id:
            name: 'for[company.id]'
            in: query
            description: 'Determines for what company (ID) to show data.'
            schema:
                type: integer
        for_storehouse.id:
            name: 'for[storehouse.id]'
            in: query
            description: 'Determines for which storehouse (ID) the product availability is returned.'
            schema:
                type: integer
        for_product.id:
            name: 'for[product.id]'
            in: query
            description: 'Determines for what product (ID) to show data.'
            schema:
                type: integer
        AutomaticTaskRegistrationGETFieldsForCollection:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/AutomaticTaskRegistrationGETFieldsForCollection'
        AutomaticTaskRegistrationGETExtra_fieldsForCollection:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/AutomaticTaskRegistrationGETExtra_fieldsForCollection'
        AutomaticTaskRegistrationGETFields:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/AutomaticTaskRegistrationGETFields'
        AutomaticTaskRegistrationGETExtra_fields:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/AutomaticTaskRegistrationGETExtra_fields'
        TaskGETFieldsForCollection:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskGETFieldsForCollection'
        TaskGETExtra_fieldsForCollection:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskGETExtra_fieldsForCollection'
        TaskGETFields:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskGETFields'
        TaskGETExtra_fields:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskGETExtra_fields'
        TaskConditionGETFieldsForCollection:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskConditionGETFieldsForCollection'
        TaskConditionGETExtra_fieldsForCollection:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskConditionGETExtra_fieldsForCollection'
        TaskConditionGETFields:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskConditionGETFields'
        TaskConditionGETExtra_fields:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskConditionGETExtra_fields'
        TaskConditionToTaskTypeGETFieldsForCollection:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskConditionToTaskTypeGETFieldsForCollection'
        TaskConditionToTaskTypeGETExtra_fieldsForCollection:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskConditionToTaskTypeGETExtra_fieldsForCollection'
        TaskConditionToTaskTypeGETFields:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskConditionToTaskTypeGETFields'
        TaskConditionToTaskTypeGETExtra_fields:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskConditionToTaskTypeGETExtra_fields'
        TaskHistoryGETFieldsForCollection:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskHistoryGETFieldsForCollection'
        TaskHistoryGETExtra_fieldsForCollection:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskHistoryGETExtra_fieldsForCollection'
        TaskHistoryGETFields:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskHistoryGETFields'
        TaskHistoryGETExtra_fields:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskHistoryGETExtra_fields'
        TaskTypeGETFieldsForCollection:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskTypeGETFieldsForCollection'
        TaskTypeGETExtra_fieldsForCollection:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskTypeGETExtra_fieldsForCollection'
        TaskTypeGETFields:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskTypeGETFields'
        TaskTypeGETExtra_fields:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskTypeGETExtra_fields'
        TaskTypeGETFieldsForRelation:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskTypeGETFieldsForRelation'
        TaskTypeGETExtra_fieldsForRelation:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskTypeGETExtra_fieldsForRelation'
        TaskGETFieldsForRelation:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskGETFieldsForRelation'
        TaskGETExtra_fieldsForRelation:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskGETExtra_fieldsForRelation'
        UserUserGETFieldsForRelation:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        UserUserGETExtra_fieldsForRelation:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/UserUserGETExtra_fieldsForRelation'
        AccountCompanyGETFieldsForRelation:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/AccountCompanyGETFieldsForRelation'
        AccountCompanyGETExtra_fieldsForRelation:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/AccountCompanyGETExtra_fieldsForRelation'
        AccountUserGETFieldsForRelation:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
        AccountUserGETExtra_fieldsForRelation:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/AccountUserGETExtra_fieldsForRelation'
        TaskConditionGETFieldsForRelation:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskConditionGETFieldsForRelation'
        TaskConditionGETExtra_fieldsForRelation:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskConditionGETExtra_fieldsForRelation'
        TaskAttributeGETFieldsForRelation:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskAttributeGETFieldsForRelation'
        TaskAttributeGETExtra_fieldsForRelation:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskAttributeGETExtra_fieldsForRelation'
    requestBodies:
        RequestBodyPost:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        $ref: '#/components/schemas/ApiDataRequestDM'
        RequestBodyFilePost:
            description: ''
            required: true
            content:
                multipart/form-data:
                    schema:
                        allOf:
                            -
                                $ref: '#/components/schemas/ApiDataRequestFileDM'
        RequestBodyFileUrlPost:
            description: ''
            required: true
            content:
                multipart/form-data:
                    schema:
                        allOf:
                            -
                                $ref: '#/components/schemas/ApiDataRequestFileUrlDM'
        RequestGeneratePdf:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        $ref: '#/components/schemas/ApiDataRequestGeneratePdfDM'
        RequestBodySimplePost:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        $ref: '#/components/schemas/ApiDataRequestSimpleDM'
        RequestBodyPostFile:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        $ref: '#/components/schemas/ApiImportFromFileDM'
        AutomaticTaskRegistrationPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomaticTaskRegistrationPATCHForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomaticTaskRegistrationGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomaticTaskRegistrationGETExtra_fieldsForCollection'
                        type: object
        AutomaticTaskRegistrationPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomaticTaskRegistrationPATCH'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomaticTaskRegistrationGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomaticTaskRegistrationGETExtra_fields'
                        type: object
        AutomaticTaskRegistrationPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomaticTaskRegistrationPOSTForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomaticTaskRegistrationGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomaticTaskRegistrationGETExtra_fieldsForCollection'
                        type: object
        AutomaticTaskRegistrationPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomaticTaskRegistrationPOST'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomaticTaskRegistrationGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomaticTaskRegistrationGETExtra_fields'
                        type: object
        TaskPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskPATCHForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETExtra_fieldsForCollection'
                        type: object
        TaskPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskPATCH'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETExtra_fields'
                        type: object
        TaskPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskPOSTForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETExtra_fieldsForCollection'
                        type: object
        TaskPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskPOST'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETExtra_fields'
                        type: object
        TaskConditionPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskConditionPATCHForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionGETExtra_fieldsForCollection'
                        type: object
        TaskConditionPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskConditionPATCH'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionGETExtra_fields'
                        type: object
        TaskConditionPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskConditionPOSTForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionGETExtra_fieldsForCollection'
                        type: object
        TaskConditionPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskConditionPOST'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionGETExtra_fields'
                        type: object
        TaskConditionToTaskTypePATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskConditionToTaskTypePATCHForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionToTaskTypeGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionToTaskTypeGETExtra_fieldsForCollection'
                        type: object
        TaskConditionToTaskTypePATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskConditionToTaskTypePATCH'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionToTaskTypeGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionToTaskTypeGETExtra_fields'
                        type: object
        TaskConditionToTaskTypePOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskConditionToTaskTypePOSTForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionToTaskTypeGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionToTaskTypeGETExtra_fieldsForCollection'
                        type: object
        TaskConditionToTaskTypePOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskConditionToTaskTypePOST'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionToTaskTypeGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionToTaskTypeGETExtra_fields'
                        type: object
        TaskHistoryPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskHistoryPATCHForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskHistoryGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskHistoryGETExtra_fieldsForCollection'
                        type: object
        TaskHistoryPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskHistoryPATCH'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskHistoryGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskHistoryGETExtra_fields'
                        type: object
        TaskHistoryPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskHistoryPOSTForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskHistoryGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskHistoryGETExtra_fieldsForCollection'
                        type: object
        TaskHistoryPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskHistoryPOST'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskHistoryGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskHistoryGETExtra_fields'
                        type: object
        TaskTypePATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskTypePATCHForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskTypeGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskTypeGETExtra_fieldsForCollection'
                        type: object
        TaskTypePATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskTypePATCH'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskTypeGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskTypeGETExtra_fields'
                        type: object
        TaskTypePOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskTypePOSTForCollection'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskTypeGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskTypeGETExtra_fieldsForCollection'
                        type: object
        TaskTypePOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskTypePOST'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskTypeGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskTypeGETExtra_fields'
                        type: object
        TaskTypePATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskTypePATCHForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskTypeGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskTypeGETExtra_fieldsForRelation'
                        type: object
        TaskTypePOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskTypePOSTForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskTypeGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskTypeGETExtra_fieldsForRelation'
                        type: object
        TaskPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskPATCHForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETExtra_fieldsForRelation'
                        type: object
        UserUserPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/UserUserPATCHForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/UserUserGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/UserUserGETExtra_fieldsForRelation'
                        type: object
        AccountCompanyPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AccountCompanyPATCHForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountCompanyGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountCompanyGETExtra_fieldsForRelation'
                        type: object
        AccountUserPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AccountUserPATCHForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountUserGETExtra_fieldsForRelation'
                        type: object
        TaskPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskPOSTForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETExtra_fieldsForRelation'
                        type: object
        UserUserPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/UserUserPOSTForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/UserUserGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/UserUserGETExtra_fieldsForRelation'
                        type: object
        AccountCompanyPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AccountCompanyPOSTForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountCompanyGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountCompanyGETExtra_fieldsForRelation'
                        type: object
        AccountUserPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AccountUserPOSTForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountUserGETExtra_fieldsForRelation'
                        type: object
        TaskConditionPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskConditionPATCHForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionGETExtra_fieldsForRelation'
                        type: object
        TaskConditionPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskConditionPOSTForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskConditionGETExtra_fieldsForRelation'
                        type: object
        TaskAttributePATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskAttributePATCHForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskAttributeGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskAttributeGETExtra_fieldsForRelation'
                        type: object
        TaskAttributePOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskAttributePOSTForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskAttributeGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskAttributeGETExtra_fieldsForRelation'
                        type: object
    securitySchemes:
        bearerAuth:
            type: apiKey
            description: 'Get JWT token from: /security/login (GET request for get form)<br />Include in header -> Authorization: Bearer aaa.bbb.ccc'
            name: Authorization
            in: header
tags:
    -
        name: AutomaticTaskRegistration
    -
        name: Task
    -
        name: TaskCondition
    -
        name: TaskConditionToTaskType
    -
        name: TaskHistory
    -
        name: TaskType
