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:
            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: getEmailMessages
            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/EmailMessageGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailMessageGETExtra_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'
                -
                    $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'
            tags:
                - EmailMessage
        post:
            description: 'Post data item/ collection'
            operationId: postEmailMessages
            requestBody:
                $ref: '#/components/requestBodies/EmailMessagePOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - EmailMessage
        patch:
            description: 'Patch data collection'
            operationId: patchEmailMessages
            requestBody:
                $ref: '#/components/requestBodies/EmailMessagePATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - EmailMessage
    '/api/email_messages/{id}':
        get:
            description: 'Get data item'
            operationId: getEmailMessage
            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/EmailMessageGETFields'
                -
                    $ref: '#/components/parameters/EmailMessageGETExtra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $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'
            tags:
                - EmailMessage
        patch:
            description: 'Patch data item'
            operationId: patchEmailMessage
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/EmailMessagePATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - EmailMessage
    '/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/email_accounts/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: getMetaEmailAccount
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailAccountGETFields'
                -
                    $ref: '#/components/parameters/EmailAccountGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - EmailAccount
    '/api/email_accounts/{id}':
        get:
            description: 'Get data item'
            operationId: getEmailAccount
            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/EmailAccountGETFields'
                -
                    $ref: '#/components/parameters/EmailAccountGETExtra_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:
                - EmailAccount
        patch:
            description: 'Patch data item'
            operationId: patchEmailAccount
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/EmailAccountPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - EmailAccount
    /api/email_accounts:
        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: getEmailAccounts
            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/EmailAccountGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailAccountGETExtra_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:
                - EmailAccount
        patch:
            description: 'Patch data collection'
            operationId: patchEmailAccounts
            requestBody:
                $ref: '#/components/requestBodies/EmailAccountPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - EmailAccount
    /api/email_accounts/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getAutoselectEmailAccounts
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailAccountGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailAccountGETExtra_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:
                - EmailAccount
    /api/email_messages/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: getMetaEmailMessage
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailMessageGETFields'
                -
                    $ref: '#/components/parameters/EmailMessageGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - EmailMessage
    /api/email_messages/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getAutoselectEmailMessages
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailMessageGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailMessageGETExtra_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:
                - EmailMessage
    '/api/email_messages/{id}/generate/pdf':
        post:
            description: 'Generate data item pdf'
            operationId: generatePdfEmailMessage
            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:
                - EmailMessage
    /api/email_message_adresses/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaEmailMessageAdresses
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailMessageAdressesGETFields'
                -
                    $ref: '#/components/parameters/EmailMessageAdressesGETExtra_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:
                - EmailMessageAdresses
    '/api/email_message_adresses/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getEmailMessageAdresses
            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/EmailMessageAdressesGETFields'
                -
                    $ref: '#/components/parameters/EmailMessageAdressesGETExtra_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:
                - EmailMessageAdresses
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteEmailMessageAdresses
            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:
                - EmailMessageAdresses
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchEmailMessageAdresses
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/EmailMessageAdressesPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - EmailMessageAdresses
    /api/email_message_adresses:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getEmailMessageAdressess
            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/EmailMessageAdressesGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailMessageAdressesGETExtra_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:
                - EmailMessageAdresses
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postEmailMessageAdressess
            requestBody:
                $ref: '#/components/requestBodies/EmailMessageAdressesPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - EmailMessageAdresses
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteEmailMessageAdressess
            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:
                - EmailMessageAdresses
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchEmailMessageAdressess
            requestBody:
                $ref: '#/components/requestBodies/EmailMessageAdressesPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - EmailMessageAdresses
    /api/email_message_adresses/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectEmailMessageAdressess
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailMessageAdressesGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailMessageAdressesGETExtra_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:
                - EmailMessageAdresses
    '/api/email_message_adresses/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfEmailMessageAdresses
            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:
                - EmailMessageAdresses
    /api/email_message_queues/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: getMetaEmailMessageQueue
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailMessageQueueGETFields'
                -
                    $ref: '#/components/parameters/EmailMessageQueueGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - EmailMessageQueue
    '/api/email_message_queues/{id}':
        get:
            description: 'Get data item'
            operationId: getEmailMessageQueue
            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/EmailMessageQueueGETFields'
                -
                    $ref: '#/components/parameters/EmailMessageQueueGETExtra_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:
                - EmailMessageQueue
        delete:
            description: 'Delete data item'
            operationId: deleteEmailMessageQueue
            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:
                - EmailMessageQueue
        patch:
            description: 'Patch data item'
            operationId: patchEmailMessageQueue
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/EmailMessageQueuePATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - EmailMessageQueue
    /api/email_message_queues:
        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: getEmailMessageQueues
            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/EmailMessageQueueGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailMessageQueueGETExtra_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:
                - EmailMessageQueue
        delete:
            description: 'Delete data collection'
            operationId: deleteEmailMessageQueues
            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:
                - EmailMessageQueue
        patch:
            description: 'Patch data collection'
            operationId: patchEmailMessageQueues
            requestBody:
                $ref: '#/components/requestBodies/EmailMessageQueuePATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - EmailMessageQueue
    /api/email_message_queues/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getAutoselectEmailMessageQueues
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailMessageQueueGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailMessageQueueGETExtra_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:
                - EmailMessageQueue
    /api/email_message_relation_summaries/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaEmailMessageRelationSummary
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailMessageRelationSummaryGETFields'
                -
                    $ref: '#/components/parameters/EmailMessageRelationSummaryGETExtra_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:
                - EmailMessageRelationSummary
    '/api/email_message_relation_summaries/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getEmailMessageRelationSummary
            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/EmailMessageRelationSummaryGETFields'
                -
                    $ref: '#/components/parameters/EmailMessageRelationSummaryGETExtra_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:
                - EmailMessageRelationSummary
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteEmailMessageRelationSummary
            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:
                - EmailMessageRelationSummary
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchEmailMessageRelationSummary
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/EmailMessageRelationSummaryPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - EmailMessageRelationSummary
    /api/email_message_relation_summaries:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getEmailMessageRelationSummaries
            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/EmailMessageRelationSummaryGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailMessageRelationSummaryGETExtra_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:
                - EmailMessageRelationSummary
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postEmailMessageRelationSummaries
            requestBody:
                $ref: '#/components/requestBodies/EmailMessageRelationSummaryPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - EmailMessageRelationSummary
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteEmailMessageRelationSummaries
            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:
                - EmailMessageRelationSummary
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchEmailMessageRelationSummaries
            requestBody:
                $ref: '#/components/requestBodies/EmailMessageRelationSummaryPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - EmailMessageRelationSummary
    /api/email_message_relation_summaries/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectEmailMessageRelationSummaries
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailMessageRelationSummaryGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailMessageRelationSummaryGETExtra_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:
                - EmailMessageRelationSummary
    '/api/email_message_relation_summaries/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfEmailMessageRelationSummary
            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:
                - EmailMessageRelationSummary
    /api/email_outcome_messages/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaEmailOutcomeMessage
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailOutcomeMessageGETFields'
                -
                    $ref: '#/components/parameters/EmailOutcomeMessageGETExtra_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:
                - EmailOutcomeMessage
    '/api/email_outcome_messages/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getEmailOutcomeMessage
            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/EmailOutcomeMessageGETFields'
                -
                    $ref: '#/components/parameters/EmailOutcomeMessageGETExtra_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:
                - EmailOutcomeMessage
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteEmailOutcomeMessage
            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:
                - EmailOutcomeMessage
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchEmailOutcomeMessage
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/EmailOutcomeMessagePATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - EmailOutcomeMessage
    /api/email_outcome_messages:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getEmailOutcomeMessages
            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/EmailOutcomeMessageGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailOutcomeMessageGETExtra_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:
                - EmailOutcomeMessage
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postEmailOutcomeMessages
            requestBody:
                $ref: '#/components/requestBodies/EmailOutcomeMessagePOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - EmailOutcomeMessage
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteEmailOutcomeMessages
            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:
                - EmailOutcomeMessage
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchEmailOutcomeMessages
            requestBody:
                $ref: '#/components/requestBodies/EmailOutcomeMessagePATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - EmailOutcomeMessage
    /api/email_outcome_messages/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectEmailOutcomeMessages
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailOutcomeMessageGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailOutcomeMessageGETExtra_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:
                - EmailOutcomeMessage
    '/api/email_outcome_messages/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfEmailOutcomeMessage
            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:
                - EmailOutcomeMessage
    /api/email_outcome_message_adresses/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaEmailOutcomeMessageAdresses
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailOutcomeMessageAdressesGETFields'
                -
                    $ref: '#/components/parameters/EmailOutcomeMessageAdressesGETExtra_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:
                - EmailOutcomeMessageAdresses
    '/api/email_outcome_message_adresses/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getEmailOutcomeMessageAdresses
            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/EmailOutcomeMessageAdressesGETFields'
                -
                    $ref: '#/components/parameters/EmailOutcomeMessageAdressesGETExtra_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:
                - EmailOutcomeMessageAdresses
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteEmailOutcomeMessageAdresses
            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:
                - EmailOutcomeMessageAdresses
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchEmailOutcomeMessageAdresses
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/EmailOutcomeMessageAdressesPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - EmailOutcomeMessageAdresses
    /api/email_outcome_message_adresses:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getEmailOutcomeMessageAdressess
            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/EmailOutcomeMessageAdressesGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailOutcomeMessageAdressesGETExtra_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:
                - EmailOutcomeMessageAdresses
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postEmailOutcomeMessageAdressess
            requestBody:
                $ref: '#/components/requestBodies/EmailOutcomeMessageAdressesPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - EmailOutcomeMessageAdresses
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteEmailOutcomeMessageAdressess
            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:
                - EmailOutcomeMessageAdresses
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchEmailOutcomeMessageAdressess
            requestBody:
                $ref: '#/components/requestBodies/EmailOutcomeMessageAdressesPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - EmailOutcomeMessageAdresses
    /api/email_outcome_message_adresses/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectEmailOutcomeMessageAdressess
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailOutcomeMessageAdressesGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailOutcomeMessageAdressesGETExtra_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:
                - EmailOutcomeMessageAdresses
    '/api/email_outcome_message_adresses/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfEmailOutcomeMessageAdresses
            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:
                - EmailOutcomeMessageAdresses
    /api/email_templates/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: getMetaEmailTemplate
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailTemplateGETFields'
                -
                    $ref: '#/components/parameters/EmailTemplateGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - EmailTemplate
    '/api/email_templates/{id}':
        get:
            description: 'Get data item'
            operationId: getEmailTemplate
            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/EmailTemplateGETFields'
                -
                    $ref: '#/components/parameters/EmailTemplateGETExtra_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:
                - EmailTemplate
        delete:
            description: 'Delete data item'
            operationId: deleteEmailTemplate
            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:
                - EmailTemplate
        patch:
            description: 'Patch data item'
            operationId: patchEmailTemplate
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/EmailTemplatePATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - EmailTemplate
    /api/email_templates:
        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: getEmailTemplates
            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/EmailTemplateGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailTemplateGETExtra_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:
                - EmailTemplate
        post:
            description: 'Post data item/ collection'
            operationId: postEmailTemplates
            requestBody:
                $ref: '#/components/requestBodies/EmailTemplatePOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - EmailTemplate
        delete:
            description: 'Delete data collection'
            operationId: deleteEmailTemplates
            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:
                - EmailTemplate
        patch:
            description: 'Patch data collection'
            operationId: patchEmailTemplates
            requestBody:
                $ref: '#/components/requestBodies/EmailTemplatePATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - EmailTemplate
    /api/email_templates/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getAutoselectEmailTemplates
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/EmailTemplateGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/EmailTemplateGETExtra_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:
                - EmailTemplate
    '/api/email_templates/{id}/generate/pdf':
        post:
            description: 'Generate data item pdf'
            operationId: generatePdfEmailTemplate
            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:
                - EmailTemplate
    /api/file_to_email_messages/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaFileToEmailMessage
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/FileToEmailMessageGETFields'
                -
                    $ref: '#/components/parameters/FileToEmailMessageGETExtra_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:
                - FileToEmailMessage
    '/api/file_to_email_messages/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getFileToEmailMessage
            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/FileToEmailMessageGETFields'
                -
                    $ref: '#/components/parameters/FileToEmailMessageGETExtra_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:
                - FileToEmailMessage
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteFileToEmailMessage
            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:
                - FileToEmailMessage
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchFileToEmailMessage
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/FileToEmailMessagePATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - FileToEmailMessage
    /api/file_to_email_messages:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getFileToEmailMessages
            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/FileToEmailMessageGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/FileToEmailMessageGETExtra_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:
                - FileToEmailMessage
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postFileToEmailMessages
            requestBody:
                $ref: '#/components/requestBodies/FileToEmailMessagePOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - FileToEmailMessage
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteFileToEmailMessages
            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:
                - FileToEmailMessage
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchFileToEmailMessages
            requestBody:
                $ref: '#/components/requestBodies/FileToEmailMessagePATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - FileToEmailMessage
    /api/file_to_email_messages/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectFileToEmailMessages
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/FileToEmailMessageGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/FileToEmailMessageGETExtra_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:
                - FileToEmailMessage
    '/api/file_to_email_messages/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfFileToEmailMessage
            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:
                - FileToEmailMessage
    /api/imap_folders/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: getMetaImapFolder
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/ImapFolderGETFields'
                -
                    $ref: '#/components/parameters/ImapFolderGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - ImapFolder
    '/api/imap_folders/{id}':
        get:
            description: 'Get data item'
            operationId: getImapFolder
            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/ImapFolderGETFields'
                -
                    $ref: '#/components/parameters/ImapFolderGETExtra_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:
                - ImapFolder
        patch:
            description: 'Patch data item'
            operationId: patchImapFolder
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/ImapFolderPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - ImapFolder
    /api/imap_folders:
        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: getImapFolders
            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/ImapFolderGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/ImapFolderGETExtra_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:
                - ImapFolder
        patch:
            description: 'Patch data collection'
            operationId: patchImapFolders
            requestBody:
                $ref: '#/components/requestBodies/ImapFolderPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - ImapFolder
    /api/imap_folders/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getAutoselectImapFolders
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/ImapFolderGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/ImapFolderGETExtra_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:
                - ImapFolder
    /api/mail_queues/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaMailQueue
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/MailQueueGETFields'
                -
                    $ref: '#/components/parameters/MailQueueGETExtra_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:
                - MailQueue
    '/api/mail_queues/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMailQueue
            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/MailQueueGETFields'
                -
                    $ref: '#/components/parameters/MailQueueGETExtra_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:
                - MailQueue
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteMailQueue
            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:
                - MailQueue
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchMailQueue
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/MailQueuePATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - MailQueue
    /api/mail_queues:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMailQueues
            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/MailQueueGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/MailQueueGETExtra_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:
                - MailQueue
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postMailQueues
            requestBody:
                $ref: '#/components/requestBodies/MailQueuePOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - MailQueue
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteMailQueues
            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:
                - MailQueue
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchMailQueues
            requestBody:
                $ref: '#/components/requestBodies/MailQueuePATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - MailQueue
    /api/mail_queues/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectMailQueues
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/MailQueueGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/MailQueueGETExtra_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:
                - MailQueue
    '/api/mail_queues/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfMailQueue
            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:
                - MailQueue
    /api/mail_queue_files/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaMailQueueFiles
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/MailQueueFilesGETFields'
                -
                    $ref: '#/components/parameters/MailQueueFilesGETExtra_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:
                - MailQueueFiles
    '/api/mail_queue_files/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMailQueueFiles
            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/MailQueueFilesGETFields'
                -
                    $ref: '#/components/parameters/MailQueueFilesGETExtra_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:
                - MailQueueFiles
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteMailQueueFiles
            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:
                - MailQueueFiles
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchMailQueueFiles
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/MailQueueFilesPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - MailQueueFiles
    /api/mail_queue_files:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMailQueueFiless
            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/MailQueueFilesGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/MailQueueFilesGETExtra_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:
                - MailQueueFiles
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postMailQueueFiless
            requestBody:
                $ref: '#/components/requestBodies/MailQueueFilesPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - MailQueueFiles
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteMailQueueFiless
            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:
                - MailQueueFiles
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchMailQueueFiless
            requestBody:
                $ref: '#/components/requestBodies/MailQueueFilesPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - MailQueueFiles
    /api/mail_queue_files/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectMailQueueFiless
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/MailQueueFilesGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/MailQueueFilesGETExtra_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:
                - MailQueueFiles
    '/api/mail_queue_files/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfMailQueueFiles
            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:
                - MailQueueFiles
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
        EmailAccountGETFieldsForCollection:
            title: email_accounts
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                emailAccountName:
                    type: string
                    nullable: true
                    maxLength: 255
                emailAddress:
                    type: string
                    nullable: false
                smtpSender:
                    type: string
                    nullable: true
                smtpServer:
                    type: string
                    nullable: true
                    maxLength: 255
                smtpPort:
                    type: integer
                    nullable: true
                smtpLogin:
                    type: string
                    nullable: true
                    maxLength: 255
                smtpSecure:
                    type: string
                    nullable: true
                    maxLength: 5
                unreadMessagesCounter:
                    type: integer
                    nullable: true
                imapServer:
                    type: string
                    nullable: true
                    maxLength: 255
                imapPort:
                    type: integer
                    nullable: true
                imapLogin:
                    type: string
                    nullable: true
                    maxLength: 255
                imapSecure:
                    type: string
                    nullable: true
                    maxLength: 5
                configModificationDate:
                    type: string
                    nullable: true
                    format: date-time
                fullSynchNow:
                    type: boolean
                    nullable: true
                validateCert:
                    type: boolean
                    nullable: true
                archival:
                    type: boolean
                    nullable: true
                authMethod:
                    type: string
                    nullable: true
                    maxLength: 20
                smtpAuthMethod:
                    type: string
                    nullable: true
                    maxLength: 20
                appendToSend:
                    type: boolean
                    nullable: true
                lastIncSyncDate:
                    type: string
                    nullable: true
                    format: date-time
                isSystemAccount:
                    type: boolean
                    nullable: false
                sentFolderName:
                    type: string
                    nullable: true
                    maxLength: 255
                authType:
                    type: string
                    nullable: false
                    maxLength: 10
                user:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        EmailAccountGETExtra_fieldsForCollection:
            title: email_accounts
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                cacheUpToDate:
                    type: boolean
                    nullable: true
                    description: extra_field
                accessRights:
                    type: string
                    nullable: true
                    description: extra_field
        EmailAccountGETFields:
            title: email_accounts
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                emailAccountName:
                    type: string
                    nullable: true
                    maxLength: 255
                emailAddress:
                    type: string
                    nullable: false
                smtpSender:
                    type: string
                    nullable: true
                smtpServer:
                    type: string
                    nullable: true
                    maxLength: 255
                smtpPort:
                    type: integer
                    nullable: true
                smtpLogin:
                    type: string
                    nullable: true
                    maxLength: 255
                smtpSecure:
                    type: string
                    nullable: true
                    maxLength: 5
                unreadMessagesCounter:
                    type: integer
                    nullable: true
                imapServer:
                    type: string
                    nullable: true
                    maxLength: 255
                imapPort:
                    type: integer
                    nullable: true
                imapLogin:
                    type: string
                    nullable: true
                    maxLength: 255
                imapSecure:
                    type: string
                    nullable: true
                    maxLength: 5
                configModificationDate:
                    type: string
                    nullable: true
                    format: date-time
                fullSynchNow:
                    type: boolean
                    nullable: true
                validateCert:
                    type: boolean
                    nullable: true
                archival:
                    type: boolean
                    nullable: true
                authMethod:
                    type: string
                    nullable: true
                    maxLength: 20
                smtpAuthMethod:
                    type: string
                    nullable: true
                    maxLength: 20
                appendToSend:
                    type: boolean
                    nullable: true
                lastIncSyncDate:
                    type: string
                    nullable: true
                    format: date-time
                isSystemAccount:
                    type: boolean
                    nullable: false
                sentFolderName:
                    type: string
                    nullable: true
                    maxLength: 255
                authType:
                    type: string
                    nullable: false
                    maxLength: 10
                user:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        EmailAccountGETExtra_fields:
            title: email_accounts
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                cacheUpToDate:
                    type: boolean
                    nullable: true
                    description: extra_field
                accessRights:
                    type: string
                    nullable: true
                    description: extra_field
        EmailAccountPATCHForCollection:
            title: email_accounts
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    emailAccountName:
                        type: string
                        nullable: true
                        maxLength: 255
                    emailAddress:
                        type: string
                        nullable: false
                    smtpSender:
                        type: string
                        nullable: true
                    smtpServer:
                        type: string
                        nullable: true
                        maxLength: 255
                    smtpPort:
                        type: integer
                        nullable: true
                    smtpLogin:
                        type: string
                        nullable: true
                        maxLength: 255
                    smtpPass:
                        type: string
                        nullable: true
                        maxLength: 255
                        writeOnly: true
                    smtpSecure:
                        type: string
                        nullable: true
                        maxLength: 5
                    unreadMessagesCounter:
                        type: integer
                        nullable: true
                    imapServer:
                        type: string
                        nullable: true
                        maxLength: 255
                    imapPort:
                        type: integer
                        nullable: true
                    imapLogin:
                        type: string
                        nullable: true
                        maxLength: 255
                    imapPass:
                        type: string
                        nullable: true
                        maxLength: 255
                        writeOnly: true
                    imapSecure:
                        type: string
                        nullable: true
                        maxLength: 5
                    configModificationDate:
                        type: string
                        nullable: true
                        format: date-time
                    fullSynchNow:
                        type: boolean
                        nullable: true
                    validateCert:
                        type: boolean
                        nullable: true
                    archival:
                        type: boolean
                        nullable: true
                    authMethod:
                        type: string
                        nullable: true
                        maxLength: 20
                    smtpAuthMethod:
                        type: string
                        nullable: true
                        maxLength: 20
                    appendToSend:
                        type: boolean
                        nullable: true
                    lastIncSyncDate:
                        type: string
                        nullable: true
                        format: date-time
                    isSystemAccount:
                        type: boolean
                        nullable: false
                    sentFolderName:
                        type: string
                        nullable: true
                        maxLength: 255
                    authType:
                        type: string
                        nullable: false
                        maxLength: 10
                    user:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPATCHForRelation'
                    credentials:
                        nullable: false
                        writeOnly: true
                        description: 'integer or array<object> or object (userToEmailAccountCredential)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                type: array
                                items:
                                    $ref: '#/components/schemas/UserToEmailAccountCredentialPATCHForRelation'
                required:
                    - emailAddress
        EmailAccountPATCH:
            title: email_accounts
            type: object
            properties:
                emailAccountName:
                    type: string
                    nullable: true
                    maxLength: 255
                emailAddress:
                    type: string
                    nullable: false
                smtpSender:
                    type: string
                    nullable: true
                smtpServer:
                    type: string
                    nullable: true
                    maxLength: 255
                smtpPort:
                    type: integer
                    nullable: true
                smtpLogin:
                    type: string
                    nullable: true
                    maxLength: 255
                smtpPass:
                    type: string
                    nullable: true
                    maxLength: 255
                    writeOnly: true
                smtpSecure:
                    type: string
                    nullable: true
                    maxLength: 5
                unreadMessagesCounter:
                    type: integer
                    nullable: true
                imapServer:
                    type: string
                    nullable: true
                    maxLength: 255
                imapPort:
                    type: integer
                    nullable: true
                imapLogin:
                    type: string
                    nullable: true
                    maxLength: 255
                imapPass:
                    type: string
                    nullable: true
                    maxLength: 255
                    writeOnly: true
                imapSecure:
                    type: string
                    nullable: true
                    maxLength: 5
                configModificationDate:
                    type: string
                    nullable: true
                    format: date-time
                fullSynchNow:
                    type: boolean
                    nullable: true
                validateCert:
                    type: boolean
                    nullable: true
                archival:
                    type: boolean
                    nullable: true
                authMethod:
                    type: string
                    nullable: true
                    maxLength: 20
                smtpAuthMethod:
                    type: string
                    nullable: true
                    maxLength: 20
                appendToSend:
                    type: boolean
                    nullable: true
                lastIncSyncDate:
                    type: string
                    nullable: true
                    format: date-time
                isSystemAccount:
                    type: boolean
                    nullable: false
                sentFolderName:
                    type: string
                    nullable: true
                    maxLength: 255
                authType:
                    type: string
                    nullable: false
                    maxLength: 10
                user:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPATCHForRelation'
                credentials:
                    nullable: false
                    writeOnly: true
                    description: 'integer or array<object> or object (userToEmailAccountCredential)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            type: array
                            items:
                                $ref: '#/components/schemas/UserToEmailAccountCredentialPATCHForRelation'
            required:
                - emailAddress
        EmailAccountPOSTForCollection:
            title: email_accounts
            type: array
            items:
                type: object
                properties:
                    emailAccountName:
                        type: string
                        nullable: true
                        maxLength: 255
                    emailAddress:
                        type: string
                        nullable: false
                    smtpSender:
                        type: string
                        nullable: true
                    smtpServer:
                        type: string
                        nullable: true
                        maxLength: 255
                    smtpPort:
                        type: integer
                        nullable: true
                    smtpLogin:
                        type: string
                        nullable: true
                        maxLength: 255
                    smtpPass:
                        type: string
                        nullable: true
                        maxLength: 255
                        writeOnly: true
                    smtpSecure:
                        type: string
                        nullable: true
                        maxLength: 5
                    unreadMessagesCounter:
                        type: integer
                        nullable: true
                    imapServer:
                        type: string
                        nullable: true
                        maxLength: 255
                    imapPort:
                        type: integer
                        nullable: true
                    imapLogin:
                        type: string
                        nullable: true
                        maxLength: 255
                    imapPass:
                        type: string
                        nullable: true
                        maxLength: 255
                        writeOnly: true
                    imapSecure:
                        type: string
                        nullable: true
                        maxLength: 5
                    configModificationDate:
                        type: string
                        nullable: true
                        format: date-time
                    fullSynchNow:
                        type: boolean
                        nullable: true
                    validateCert:
                        type: boolean
                        nullable: true
                    archival:
                        type: boolean
                        nullable: true
                    authMethod:
                        type: string
                        nullable: true
                        maxLength: 20
                    smtpAuthMethod:
                        type: string
                        nullable: true
                        maxLength: 20
                    appendToSend:
                        type: boolean
                        nullable: true
                    lastIncSyncDate:
                        type: string
                        nullable: true
                        format: date-time
                    isSystemAccount:
                        type: boolean
                        nullable: false
                    sentFolderName:
                        type: string
                        nullable: true
                        maxLength: 255
                    authType:
                        type: string
                        nullable: false
                        maxLength: 10
                    user:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPOSTForRelation'
                    credentials:
                        nullable: false
                        writeOnly: true
                        description: 'integer or array<object> or object (userToEmailAccountCredential)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                type: array
                                items:
                                    $ref: '#/components/schemas/UserToEmailAccountCredentialPOSTForRelation'
                required:
                    - emailAddress
        EmailAccountPOST:
            title: email_accounts
            type: object
            properties:
                emailAccountName:
                    type: string
                    nullable: true
                    maxLength: 255
                emailAddress:
                    type: string
                    nullable: false
                smtpSender:
                    type: string
                    nullable: true
                smtpServer:
                    type: string
                    nullable: true
                    maxLength: 255
                smtpPort:
                    type: integer
                    nullable: true
                smtpLogin:
                    type: string
                    nullable: true
                    maxLength: 255
                smtpPass:
                    type: string
                    nullable: true
                    maxLength: 255
                    writeOnly: true
                smtpSecure:
                    type: string
                    nullable: true
                    maxLength: 5
                unreadMessagesCounter:
                    type: integer
                    nullable: true
                imapServer:
                    type: string
                    nullable: true
                    maxLength: 255
                imapPort:
                    type: integer
                    nullable: true
                imapLogin:
                    type: string
                    nullable: true
                    maxLength: 255
                imapPass:
                    type: string
                    nullable: true
                    maxLength: 255
                    writeOnly: true
                imapSecure:
                    type: string
                    nullable: true
                    maxLength: 5
                configModificationDate:
                    type: string
                    nullable: true
                    format: date-time
                fullSynchNow:
                    type: boolean
                    nullable: true
                validateCert:
                    type: boolean
                    nullable: true
                archival:
                    type: boolean
                    nullable: true
                authMethod:
                    type: string
                    nullable: true
                    maxLength: 20
                smtpAuthMethod:
                    type: string
                    nullable: true
                    maxLength: 20
                appendToSend:
                    type: boolean
                    nullable: true
                lastIncSyncDate:
                    type: string
                    nullable: true
                    format: date-time
                isSystemAccount:
                    type: boolean
                    nullable: false
                sentFolderName:
                    type: string
                    nullable: true
                    maxLength: 255
                authType:
                    type: string
                    nullable: false
                    maxLength: 10
                user:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPOSTForRelation'
                credentials:
                    nullable: false
                    writeOnly: true
                    description: 'integer or array<object> or object (userToEmailAccountCredential)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            type: array
                            items:
                                $ref: '#/components/schemas/UserToEmailAccountCredentialPOSTForRelation'
            required:
                - emailAddress
        EmailMessageGETFieldsForCollection:
            title: email_messages
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                contentHtml:
                    type: string
                    nullable: true
                deliveryDate:
                    type: string
                    nullable: true
                    format: date-time
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                hasBeenRead:
                    type: boolean
                    nullable: false
                imapId:
                    type: integer
                    nullable: true
                imapFolder:
                    type: string
                    nullable: true
                receivedDate:
                    type: string
                    nullable: true
                    format: date-time
                serverMessageId:
                    type: string
                    nullable: true
                headers:
                    type: string
                    nullable: false
                hasAttachments:
                    type: boolean
                    nullable: true
                attachments:
                    type: string
                    nullable: true
                emailAccount:
                    nullable: true
                    description: (emailAccount)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailAccountGETFieldsForRelation'
        EmailMessageGETExtra_fieldsForCollection:
            title: email_messages
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    description: extra_field
                senderUser:
                    type: object
                    nullable: true
                    description: extra_field
        EmailMessageGETFields:
            title: email_messages
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                contentHtml:
                    type: string
                    nullable: true
                deliveryDate:
                    type: string
                    nullable: true
                    format: date-time
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                hasBeenRead:
                    type: boolean
                    nullable: false
                imapId:
                    type: integer
                    nullable: true
                imapFolder:
                    type: string
                    nullable: true
                receivedDate:
                    type: string
                    nullable: true
                    format: date-time
                serverMessageId:
                    type: string
                    nullable: true
                headers:
                    type: string
                    nullable: false
                hasAttachments:
                    type: boolean
                    nullable: true
                attachments:
                    type: string
                    nullable: true
                emailAccount:
                    nullable: true
                    description: (emailAccount)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailAccountGETFieldsForRelation'
        EmailMessageGETExtra_fields:
            title: email_messages
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    description: extra_field
                senderUser:
                    type: object
                    nullable: true
                    description: extra_field
        EmailMessagePATCHForCollection:
            title: email_messages
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    subject:
                        type: string
                        nullable: true
                    contentHtml:
                        type: string
                        nullable: true
                    hasBeenRead:
                        type: boolean
                        nullable: false
                    headers:
                        type: string
                        nullable: false
                    attachments:
                        type: string
                        nullable: true
                    emailAccount:
                        nullable: true
                        description: 'integer or object (emailAccount)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailAccountPATCHForRelation'
                    relations:
                        type: object
                        nullable: true
                        description: extra_field
                required:
                    - headers
        EmailMessagePATCH:
            title: email_messages
            type: object
            properties:
                subject:
                    type: string
                    nullable: true
                contentHtml:
                    type: string
                    nullable: true
                hasBeenRead:
                    type: boolean
                    nullable: false
                headers:
                    type: string
                    nullable: false
                attachments:
                    type: string
                    nullable: true
                emailAccount:
                    nullable: true
                    description: 'integer or object (emailAccount)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailAccountPATCHForRelation'
                relations:
                    type: object
                    nullable: true
                    description: extra_field
            required:
                - headers
        EmailMessagePOSTForCollection:
            title: email_messages
            type: array
            items:
                type: object
                properties:
                    subject:
                        type: string
                        nullable: true
                    contentHtml:
                        type: string
                        nullable: true
                    hasBeenRead:
                        type: boolean
                        nullable: false
                    headers:
                        type: string
                        nullable: false
                    attachments:
                        type: string
                        nullable: true
                    emailAccount:
                        nullable: true
                        description: 'integer or object (emailAccount)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailAccountPOSTForRelation'
                    relations:
                        type: object
                        nullable: true
                        description: extra_field
                required:
                    - headers
        EmailMessagePOST:
            title: email_messages
            type: object
            properties:
                subject:
                    type: string
                    nullable: true
                contentHtml:
                    type: string
                    nullable: true
                hasBeenRead:
                    type: boolean
                    nullable: false
                headers:
                    type: string
                    nullable: false
                attachments:
                    type: string
                    nullable: true
                emailAccount:
                    nullable: true
                    description: 'integer or object (emailAccount)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailAccountPOSTForRelation'
                relations:
                    type: object
                    nullable: true
                    description: extra_field
            required:
                - headers
        EmailMessageAdressesGETFieldsForCollection:
            title: email_message_adresses
            type: object
            properties:
                emailMessageAdressesId:
                    type: integer
                    nullable: false
                emailAdress:
                    type: string
                    nullable: true
                emailMessage:
                    nullable: true
                    description: (emailMessage)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailMessageGETFieldsForRelation'
        EmailMessageAdressesGETExtra_fieldsForCollection:
            title: email_message_adresses
            type: object
            properties: {  }
        EmailMessageAdressesGETFields:
            title: email_message_adresses
            type: object
            properties:
                emailMessageAdressesId:
                    type: integer
                    nullable: false
                emailAdress:
                    type: string
                    nullable: true
                emailMessage:
                    nullable: true
                    description: (emailMessage)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailMessageGETFieldsForRelation'
        EmailMessageAdressesGETExtra_fields:
            title: email_message_adresses
            type: object
            properties: {  }
        EmailMessageAdressesPATCHForCollection:
            title: email_message_adresses
            type: array
            items:
                type: object
                properties:
                    emailMessageAdressesId:
                        type: integer
                        nullable: false
                    emailAdress:
                        type: string
                        nullable: true
                    emailMessage:
                        nullable: true
                        description: 'integer or object (emailMessage)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailMessagePATCHForRelation'
                required:
                    - emailMessageAdressesId
        EmailMessageAdressesPATCH:
            title: email_message_adresses
            type: object
            properties:
                emailAdress:
                    type: string
                    nullable: true
                emailMessage:
                    nullable: true
                    description: 'integer or object (emailMessage)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailMessagePATCHForRelation'
        EmailMessageAdressesPOSTForCollection:
            title: email_message_adresses
            type: array
            items:
                type: object
                properties:
                    emailAdress:
                        type: string
                        nullable: true
                    emailMessage:
                        nullable: true
                        description: 'integer or object (emailMessage)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailMessagePOSTForRelation'
        EmailMessageAdressesPOST:
            title: email_message_adresses
            type: object
            properties:
                emailAdress:
                    type: string
                    nullable: true
                emailMessage:
                    nullable: true
                    description: 'integer or object (emailMessage)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailMessagePOSTForRelation'
        EmailMessageQueueGETFieldsForCollection:
            title: email_message_queues
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                createdAt:
                    type: string
                    nullable: false
                    format: date-time
                sendAttempts:
                    type: integer
                    nullable: false
                subject:
                    type: string
                    nullable: true
                contentHtml:
                    type: string
                    nullable: true
                headers:
                    type: string
                    nullable: true
                files:
                    type: string
                    nullable: false
                smtpSent:
                    type: boolean
                    nullable: false
                emailMessage:
                    nullable: true
                    description: (emailMessage)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailMessageGETFieldsForRelation'
                emailAccount:
                    nullable: true
                    description: (emailAccount)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailAccountGETFieldsForRelation'
        EmailMessageQueueGETExtra_fieldsForCollection:
            title: email_message_queues
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                send:
                    type: boolean
                    nullable: true
                    description: extra_field
        EmailMessageQueueGETFields:
            title: email_message_queues
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                createdAt:
                    type: string
                    nullable: false
                    format: date-time
                sendAttempts:
                    type: integer
                    nullable: false
                subject:
                    type: string
                    nullable: true
                contentHtml:
                    type: string
                    nullable: true
                headers:
                    type: string
                    nullable: true
                files:
                    type: string
                    nullable: false
                smtpSent:
                    type: boolean
                    nullable: false
                emailMessage:
                    nullable: true
                    description: (emailMessage)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailMessageGETFieldsForRelation'
                emailAccount:
                    nullable: true
                    description: (emailAccount)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailAccountGETFieldsForRelation'
        EmailMessageQueueGETExtra_fields:
            title: email_message_queues
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                send:
                    type: boolean
                    nullable: true
                    description: extra_field
        EmailMessageQueuePATCHForCollection:
            title: email_message_queues
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    sendAttempts:
                        type: integer
                        nullable: false
                    subject:
                        type: string
                        nullable: true
                    contentHtml:
                        type: string
                        nullable: true
                    headers:
                        type: string
                        nullable: true
                    files:
                        type: string
                        nullable: false
                    smtpSent:
                        type: boolean
                        nullable: false
                    emailMessage:
                        nullable: true
                        description: 'integer or object (emailMessage)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailMessagePATCHForRelation'
                    emailAccount:
                        nullable: true
                        description: 'integer or object (emailAccount)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailAccountPATCHForRelation'
                    send:
                        type: boolean
                        nullable: true
                        description: extra_field
        EmailMessageQueuePATCH:
            title: email_message_queues
            type: object
            properties:
                sendAttempts:
                    type: integer
                    nullable: false
                subject:
                    type: string
                    nullable: true
                contentHtml:
                    type: string
                    nullable: true
                headers:
                    type: string
                    nullable: true
                files:
                    type: string
                    nullable: false
                smtpSent:
                    type: boolean
                    nullable: false
                emailMessage:
                    nullable: true
                    description: 'integer or object (emailMessage)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailMessagePATCHForRelation'
                emailAccount:
                    nullable: true
                    description: 'integer or object (emailAccount)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailAccountPATCHForRelation'
                send:
                    type: boolean
                    nullable: true
                    description: extra_field
        EmailMessageQueuePOSTForCollection:
            title: email_message_queues
            type: array
            items:
                type: object
                properties:
                    sendAttempts:
                        type: integer
                        nullable: false
                    subject:
                        type: string
                        nullable: true
                    contentHtml:
                        type: string
                        nullable: true
                    headers:
                        type: string
                        nullable: true
                    files:
                        type: string
                        nullable: false
                    smtpSent:
                        type: boolean
                        nullable: false
                    emailMessage:
                        nullable: true
                        description: 'integer or object (emailMessage)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailMessagePOSTForRelation'
                    emailAccount:
                        nullable: true
                        description: 'integer or object (emailAccount)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailAccountPOSTForRelation'
                    send:
                        type: boolean
                        nullable: true
                        description: extra_field
        EmailMessageQueuePOST:
            title: email_message_queues
            type: object
            properties:
                sendAttempts:
                    type: integer
                    nullable: false
                subject:
                    type: string
                    nullable: true
                contentHtml:
                    type: string
                    nullable: true
                headers:
                    type: string
                    nullable: true
                files:
                    type: string
                    nullable: false
                smtpSent:
                    type: boolean
                    nullable: false
                emailMessage:
                    nullable: true
                    description: 'integer or object (emailMessage)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailMessagePOSTForRelation'
                emailAccount:
                    nullable: true
                    description: 'integer or object (emailAccount)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailAccountPOSTForRelation'
                send:
                    type: boolean
                    nullable: true
                    description: extra_field
        EmailMessageRelationSummaryGETFieldsForCollection:
            title: email_message_relation_summaries
            type: object
            properties:
                emailMessageId:
                    type: integer
                    nullable: false
                count:
                    type: integer
                    nullable: false
                emailMessage:
                    nullable: true
                    description: (emailMessage)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailMessageGETFieldsForRelation'
        EmailMessageRelationSummaryGETExtra_fieldsForCollection:
            title: email_message_relation_summaries
            type: object
            properties: {  }
        EmailMessageRelationSummaryGETFields:
            title: email_message_relation_summaries
            type: object
            properties:
                emailMessageId:
                    type: integer
                    nullable: false
                count:
                    type: integer
                    nullable: false
                emailMessage:
                    nullable: true
                    description: (emailMessage)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailMessageGETFieldsForRelation'
        EmailMessageRelationSummaryGETExtra_fields:
            title: email_message_relation_summaries
            type: object
            properties: {  }
        EmailMessageRelationSummaryPATCHForCollection:
            title: email_message_relation_summaries
            type: array
            items:
                type: object
                properties:
                    emailMessageId:
                        type: integer
                        nullable: false
                    count:
                        type: integer
                        nullable: false
                    emailMessage:
                        nullable: true
                        description: 'integer or object (emailMessage)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailMessagePATCHForRelation'
                required:
                    - count
        EmailMessageRelationSummaryPATCH:
            title: email_message_relation_summaries
            type: object
            properties:
                count:
                    type: integer
                    nullable: false
                emailMessage:
                    nullable: true
                    description: 'integer or object (emailMessage)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailMessagePATCHForRelation'
            required:
                - count
        EmailMessageRelationSummaryPOSTForCollection:
            title: email_message_relation_summaries
            type: array
            items:
                type: object
                properties:
                    count:
                        type: integer
                        nullable: false
                    emailMessage:
                        nullable: true
                        description: 'integer or object (emailMessage)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailMessagePOSTForRelation'
                required:
                    - count
        EmailMessageRelationSummaryPOST:
            title: email_message_relation_summaries
            type: object
            properties:
                count:
                    type: integer
                    nullable: false
                emailMessage:
                    nullable: true
                    description: 'integer or object (emailMessage)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailMessagePOSTForRelation'
            required:
                - count
        EmailOutcomeMessageGETFieldsForCollection:
            title: email_outcome_messages
            type: object
            properties:
                messageId:
                    type: integer
                    nullable: false
                recipient:
                    type: string
                    nullable: true
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                isDeleted:
                    type: boolean
                    nullable: true
                deleteDate:
                    type: string
                    nullable: true
                    format: date-time
                recipientDw:
                    type: string
                    nullable: true
                recipientUdw:
                    type: string
                    nullable: true
                isAutomatic:
                    type: boolean
                    nullable: true
                uid:
                    type: string
                    nullable: true
                    maxLength: 32
                imapId:
                    type: integer
                    nullable: true
                imapFolder:
                    type: string
                    nullable: true
                    maxLength: 100
                mailingUid:
                    type: integer
                    nullable: true
                emailAccount:
                    nullable: true
                    description: (emailAccount)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailAccountGETFieldsForRelation'
                mailQueue:
                    nullable: true
                    description: (mailQueue)
                    allOf:
                        -
                            $ref: '#/components/schemas/MailQueueGETFieldsForRelation'
                sender:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        EmailOutcomeMessageGETExtra_fieldsForCollection:
            title: email_outcome_messages
            type: object
            properties: {  }
        EmailOutcomeMessageGETFields:
            title: email_outcome_messages
            type: object
            properties:
                messageId:
                    type: integer
                    nullable: false
                recipient:
                    type: string
                    nullable: true
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                isDeleted:
                    type: boolean
                    nullable: true
                deleteDate:
                    type: string
                    nullable: true
                    format: date-time
                recipientDw:
                    type: string
                    nullable: true
                recipientUdw:
                    type: string
                    nullable: true
                isAutomatic:
                    type: boolean
                    nullable: true
                uid:
                    type: string
                    nullable: true
                    maxLength: 32
                imapId:
                    type: integer
                    nullable: true
                imapFolder:
                    type: string
                    nullable: true
                    maxLength: 100
                mailingUid:
                    type: integer
                    nullable: true
                emailAccount:
                    nullable: true
                    description: (emailAccount)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailAccountGETFieldsForRelation'
                mailQueue:
                    nullable: true
                    description: (mailQueue)
                    allOf:
                        -
                            $ref: '#/components/schemas/MailQueueGETFieldsForRelation'
                sender:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        EmailOutcomeMessageGETExtra_fields:
            title: email_outcome_messages
            type: object
            properties: {  }
        EmailOutcomeMessagePATCHForCollection:
            title: email_outcome_messages
            type: array
            items:
                type: object
                properties:
                    messageId:
                        type: integer
                        nullable: false
                    recipient:
                        type: string
                        nullable: true
                    subject:
                        type: string
                        nullable: true
                    content:
                        type: string
                        nullable: true
                    sendDate:
                        type: string
                        nullable: true
                        format: date-time
                    isDeleted:
                        type: boolean
                        nullable: true
                    deleteDate:
                        type: string
                        nullable: true
                        format: date-time
                    recipientDw:
                        type: string
                        nullable: true
                    recipientUdw:
                        type: string
                        nullable: true
                    isAutomatic:
                        type: boolean
                        nullable: true
                    uid:
                        type: string
                        nullable: true
                        maxLength: 32
                    imapId:
                        type: integer
                        nullable: true
                    imapFolder:
                        type: string
                        nullable: true
                        maxLength: 100
                    mailingUid:
                        type: integer
                        nullable: true
                    emailAccount:
                        nullable: true
                        description: 'integer or object (emailAccount)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailAccountPATCHForRelation'
                    mailQueue:
                        nullable: true
                        description: 'integer or object (mailQueue)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/MailQueuePATCHForRelation'
                    sender:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPATCHForRelation'
                required:
                    - messageId
        EmailOutcomeMessagePATCH:
            title: email_outcome_messages
            type: object
            properties:
                recipient:
                    type: string
                    nullable: true
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                isDeleted:
                    type: boolean
                    nullable: true
                deleteDate:
                    type: string
                    nullable: true
                    format: date-time
                recipientDw:
                    type: string
                    nullable: true
                recipientUdw:
                    type: string
                    nullable: true
                isAutomatic:
                    type: boolean
                    nullable: true
                uid:
                    type: string
                    nullable: true
                    maxLength: 32
                imapId:
                    type: integer
                    nullable: true
                imapFolder:
                    type: string
                    nullable: true
                    maxLength: 100
                mailingUid:
                    type: integer
                    nullable: true
                emailAccount:
                    nullable: true
                    description: 'integer or object (emailAccount)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailAccountPATCHForRelation'
                mailQueue:
                    nullable: true
                    description: 'integer or object (mailQueue)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/MailQueuePATCHForRelation'
                sender:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPATCHForRelation'
        EmailOutcomeMessagePOSTForCollection:
            title: email_outcome_messages
            type: array
            items:
                type: object
                properties:
                    recipient:
                        type: string
                        nullable: true
                    subject:
                        type: string
                        nullable: true
                    content:
                        type: string
                        nullable: true
                    sendDate:
                        type: string
                        nullable: true
                        format: date-time
                    isDeleted:
                        type: boolean
                        nullable: true
                    deleteDate:
                        type: string
                        nullable: true
                        format: date-time
                    recipientDw:
                        type: string
                        nullable: true
                    recipientUdw:
                        type: string
                        nullable: true
                    isAutomatic:
                        type: boolean
                        nullable: true
                    uid:
                        type: string
                        nullable: true
                        maxLength: 32
                    imapId:
                        type: integer
                        nullable: true
                    imapFolder:
                        type: string
                        nullable: true
                        maxLength: 100
                    mailingUid:
                        type: integer
                        nullable: true
                    emailAccount:
                        nullable: true
                        description: 'integer or object (emailAccount)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailAccountPOSTForRelation'
                    mailQueue:
                        nullable: true
                        description: 'integer or object (mailQueue)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/MailQueuePOSTForRelation'
                    sender:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPOSTForRelation'
        EmailOutcomeMessagePOST:
            title: email_outcome_messages
            type: object
            properties:
                recipient:
                    type: string
                    nullable: true
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                isDeleted:
                    type: boolean
                    nullable: true
                deleteDate:
                    type: string
                    nullable: true
                    format: date-time
                recipientDw:
                    type: string
                    nullable: true
                recipientUdw:
                    type: string
                    nullable: true
                isAutomatic:
                    type: boolean
                    nullable: true
                uid:
                    type: string
                    nullable: true
                    maxLength: 32
                imapId:
                    type: integer
                    nullable: true
                imapFolder:
                    type: string
                    nullable: true
                    maxLength: 100
                mailingUid:
                    type: integer
                    nullable: true
                emailAccount:
                    nullable: true
                    description: 'integer or object (emailAccount)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailAccountPOSTForRelation'
                mailQueue:
                    nullable: true
                    description: 'integer or object (mailQueue)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/MailQueuePOSTForRelation'
                sender:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPOSTForRelation'
        EmailOutcomeMessageAdressesGETFieldsForCollection:
            title: email_outcome_message_adresses
            type: object
            properties:
                emailMessageAdressesId:
                    type: integer
                    nullable: false
                emailAdress:
                    type: string
                    nullable: true
                    maxLength: 100
                emailOutcomeMessage:
                    nullable: true
                    description: (emailOutcomeMessage)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailOutcomeMessageGETFieldsForRelation'
        EmailOutcomeMessageAdressesGETExtra_fieldsForCollection:
            title: email_outcome_message_adresses
            type: object
            properties: {  }
        EmailOutcomeMessageAdressesGETFields:
            title: email_outcome_message_adresses
            type: object
            properties:
                emailMessageAdressesId:
                    type: integer
                    nullable: false
                emailAdress:
                    type: string
                    nullable: true
                    maxLength: 100
                emailOutcomeMessage:
                    nullable: true
                    description: (emailOutcomeMessage)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailOutcomeMessageGETFieldsForRelation'
        EmailOutcomeMessageAdressesGETExtra_fields:
            title: email_outcome_message_adresses
            type: object
            properties: {  }
        EmailOutcomeMessageAdressesPATCHForCollection:
            title: email_outcome_message_adresses
            type: array
            items:
                type: object
                properties:
                    emailMessageAdressesId:
                        type: integer
                        nullable: false
                    emailAdress:
                        type: string
                        nullable: true
                        maxLength: 100
                    emailOutcomeMessage:
                        nullable: true
                        description: 'integer or object (emailOutcomeMessage)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailOutcomeMessagePATCHForRelation'
                required:
                    - emailMessageAdressesId
        EmailOutcomeMessageAdressesPATCH:
            title: email_outcome_message_adresses
            type: object
            properties:
                emailAdress:
                    type: string
                    nullable: true
                    maxLength: 100
                emailOutcomeMessage:
                    nullable: true
                    description: 'integer or object (emailOutcomeMessage)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailOutcomeMessagePATCHForRelation'
        EmailOutcomeMessageAdressesPOSTForCollection:
            title: email_outcome_message_adresses
            type: array
            items:
                type: object
                properties:
                    emailAdress:
                        type: string
                        nullable: true
                        maxLength: 100
                    emailOutcomeMessage:
                        nullable: true
                        description: 'integer or object (emailOutcomeMessage)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailOutcomeMessagePOSTForRelation'
        EmailOutcomeMessageAdressesPOST:
            title: email_outcome_message_adresses
            type: object
            properties:
                emailAdress:
                    type: string
                    nullable: true
                    maxLength: 100
                emailOutcomeMessage:
                    nullable: true
                    description: 'integer or object (emailOutcomeMessage)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailOutcomeMessagePOSTForRelation'
        EmailTemplateGETFieldsForCollection:
            title: email_templates
            type: object
            properties:
                name:
                    type: string
                    nullable: true
                value:
                    type: string
                    nullable: true
                plain:
                    type: boolean
                    nullable: false
                isDefault:
                    type: boolean
                    nullable: true
        EmailTemplateGETExtra_fieldsForCollection:
            title: email_templates
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        EmailTemplateGETFields:
            title: email_templates
            type: object
            properties:
                name:
                    type: string
                    nullable: true
                value:
                    type: string
                    nullable: true
                plain:
                    type: boolean
                    nullable: false
                isDefault:
                    type: boolean
                    nullable: true
        EmailTemplateGETExtra_fields:
            title: email_templates
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        EmailTemplatePATCHForCollection:
            title: email_templates
            type: array
            items:
                type: object
                properties:
                    name:
                        type: string
                        nullable: true
                    value:
                        type: string
                        nullable: true
                    plain:
                        type: boolean
                        nullable: false
                    isDefault:
                        type: boolean
                        nullable: true
        EmailTemplatePATCH:
            title: email_templates
            type: object
            properties:
                name:
                    type: string
                    nullable: true
                value:
                    type: string
                    nullable: true
                plain:
                    type: boolean
                    nullable: false
                isDefault:
                    type: boolean
                    nullable: true
        EmailTemplatePOSTForCollection:
            title: email_templates
            type: array
            items:
                type: object
                properties:
                    name:
                        type: string
                        nullable: true
                    value:
                        type: string
                        nullable: true
                    plain:
                        type: boolean
                        nullable: false
                    isDefault:
                        type: boolean
                        nullable: true
        EmailTemplatePOST:
            title: email_templates
            type: object
            properties:
                name:
                    type: string
                    nullable: true
                value:
                    type: string
                    nullable: true
                plain:
                    type: boolean
                    nullable: false
                isDefault:
                    type: boolean
                    nullable: true
        FileToEmailMessageGETFieldsForCollection:
            title: file_to_email_messages
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                emailOutcomeMessageId:
                    type: integer
                    nullable: true
                file:
                    nullable: true
                    description: (file)
                    allOf:
                        -
                            $ref: '#/components/schemas/FileGETFieldsForRelation'
                emailMessage:
                    nullable: true
                    description: (emailMessage)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailMessageGETFieldsForRelation'
                user:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        FileToEmailMessageGETExtra_fieldsForCollection:
            title: file_to_email_messages
            type: object
            properties: {  }
        FileToEmailMessageGETFields:
            title: file_to_email_messages
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                emailOutcomeMessageId:
                    type: integer
                    nullable: true
                file:
                    nullable: true
                    description: (file)
                    allOf:
                        -
                            $ref: '#/components/schemas/FileGETFieldsForRelation'
                emailMessage:
                    nullable: true
                    description: (emailMessage)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailMessageGETFieldsForRelation'
                user:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        FileToEmailMessageGETExtra_fields:
            title: file_to_email_messages
            type: object
            properties: {  }
        FileToEmailMessagePATCHForCollection:
            title: file_to_email_messages
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    emailOutcomeMessageId:
                        type: integer
                        nullable: true
                    file:
                        nullable: true
                        description: 'integer or object (file)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/FilePATCHForRelation'
                    emailMessage:
                        nullable: true
                        description: 'integer or object (emailMessage)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailMessagePATCHForRelation'
                    user:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPATCHForRelation'
                required:
                    - id
        FileToEmailMessagePATCH:
            title: file_to_email_messages
            type: object
            properties:
                emailOutcomeMessageId:
                    type: integer
                    nullable: true
                file:
                    nullable: true
                    description: 'integer or object (file)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/FilePATCHForRelation'
                emailMessage:
                    nullable: true
                    description: 'integer or object (emailMessage)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailMessagePATCHForRelation'
                user:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPATCHForRelation'
        FileToEmailMessagePOSTForCollection:
            title: file_to_email_messages
            type: array
            items:
                type: object
                properties:
                    emailOutcomeMessageId:
                        type: integer
                        nullable: true
                    file:
                        nullable: true
                        description: 'integer or object (file)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/FilePOSTForRelation'
                    emailMessage:
                        nullable: true
                        description: 'integer or object (emailMessage)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailMessagePOSTForRelation'
                    user:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPOSTForRelation'
        FileToEmailMessagePOST:
            title: file_to_email_messages
            type: object
            properties:
                emailOutcomeMessageId:
                    type: integer
                    nullable: true
                file:
                    nullable: true
                    description: 'integer or object (file)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/FilePOSTForRelation'
                emailMessage:
                    nullable: true
                    description: 'integer or object (emailMessage)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailMessagePOSTForRelation'
                user:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPOSTForRelation'
        ImapFolderGETFieldsForCollection:
            title: imap_folders
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                fullName:
                    type: string
                    nullable: false
                originalFullName:
                    type: string
                    nullable: false
                originalDelimiter:
                    type: string
                    nullable: false
                    maxLength: 10
                lastImapId:
                    type: integer
                    nullable: true
                lastSyncDate:
                    type: string
                    nullable: true
                    format: date-time
                emailAccount:
                    nullable: false
                    description: (emailAccount)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailAccountGETFieldsForRelation'
                parent:
                    nullable: true
                    description: (imapFolder)
                    allOf:
                        -
                            $ref: '#/components/schemas/ImapFolderGETFieldsForRelation'
        ImapFolderGETExtra_fieldsForCollection:
            title: imap_folders
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        ImapFolderGETFields:
            title: imap_folders
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                fullName:
                    type: string
                    nullable: false
                originalFullName:
                    type: string
                    nullable: false
                originalDelimiter:
                    type: string
                    nullable: false
                    maxLength: 10
                lastImapId:
                    type: integer
                    nullable: true
                lastSyncDate:
                    type: string
                    nullable: true
                    format: date-time
                emailAccount:
                    nullable: false
                    description: (emailAccount)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailAccountGETFieldsForRelation'
                parent:
                    nullable: true
                    description: (imapFolder)
                    allOf:
                        -
                            $ref: '#/components/schemas/ImapFolderGETFieldsForRelation'
        ImapFolderGETExtra_fields:
            title: imap_folders
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        ImapFolderPATCHForCollection:
            title: imap_folders
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    name:
                        type: string
                        nullable: false
                        maxLength: 255
                    fullName:
                        type: string
                        nullable: false
                    originalFullName:
                        type: string
                        nullable: false
                    originalDelimiter:
                        type: string
                        nullable: false
                        maxLength: 10
                    lastImapId:
                        type: integer
                        nullable: true
                    lastSyncDate:
                        type: string
                        nullable: true
                        format: date-time
                    emailAccount:
                        nullable: false
                        description: 'integer or object (emailAccount)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailAccountPATCHForRelation'
                    parent:
                        nullable: true
                        description: 'integer or object (imapFolder)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/ImapFolderPATCHForRelation'
                required:
                    - name
                    - fullName
                    - originalFullName
                    - emailAccount
        ImapFolderPATCH:
            title: imap_folders
            type: object
            properties:
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                fullName:
                    type: string
                    nullable: false
                originalFullName:
                    type: string
                    nullable: false
                originalDelimiter:
                    type: string
                    nullable: false
                    maxLength: 10
                lastImapId:
                    type: integer
                    nullable: true
                lastSyncDate:
                    type: string
                    nullable: true
                    format: date-time
                emailAccount:
                    nullable: false
                    description: 'integer or object (emailAccount)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailAccountPATCHForRelation'
                parent:
                    nullable: true
                    description: 'integer or object (imapFolder)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/ImapFolderPATCHForRelation'
            required:
                - name
                - fullName
                - originalFullName
                - emailAccount
        ImapFolderPOSTForCollection:
            title: imap_folders
            type: array
            items:
                type: object
                properties:
                    name:
                        type: string
                        nullable: false
                        maxLength: 255
                    fullName:
                        type: string
                        nullable: false
                    originalFullName:
                        type: string
                        nullable: false
                    originalDelimiter:
                        type: string
                        nullable: false
                        maxLength: 10
                    lastImapId:
                        type: integer
                        nullable: true
                    lastSyncDate:
                        type: string
                        nullable: true
                        format: date-time
                    emailAccount:
                        nullable: false
                        description: 'integer or object (emailAccount)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailAccountPOSTForRelation'
                    parent:
                        nullable: true
                        description: 'integer or object (imapFolder)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/ImapFolderPOSTForRelation'
                required:
                    - name
                    - fullName
                    - originalFullName
                    - emailAccount
        ImapFolderPOST:
            title: imap_folders
            type: object
            properties:
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                fullName:
                    type: string
                    nullable: false
                originalFullName:
                    type: string
                    nullable: false
                originalDelimiter:
                    type: string
                    nullable: false
                    maxLength: 10
                lastImapId:
                    type: integer
                    nullable: true
                lastSyncDate:
                    type: string
                    nullable: true
                    format: date-time
                emailAccount:
                    nullable: false
                    description: 'integer or object (emailAccount)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailAccountPOSTForRelation'
                parent:
                    nullable: true
                    description: 'integer or object (imapFolder)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/ImapFolderPOSTForRelation'
            required:
                - name
                - fullName
                - originalFullName
                - emailAccount
        MailQueueGETFieldsForCollection:
            title: mail_queues
            type: object
            properties:
                mailQueueId:
                    type: integer
                    nullable: false
                recipient:
                    type: string
                    nullable: true
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                isDeleted:
                    type: boolean
                    nullable: true
                deleteDate:
                    type: string
                    nullable: true
                    format: date-time
                recipientDw:
                    type: string
                    nullable: true
                recipientUdw:
                    type: string
                    nullable: true
                mailingUid:
                    type: integer
                    nullable: true
                sendAttempts:
                    type: integer
                    nullable: true
                contentQp:
                    type: string
                    nullable: true
                emailAccount:
                    nullable: true
                    description: (emailAccount)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailAccountGETFieldsForRelation'
                sender:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        MailQueueGETExtra_fieldsForCollection:
            title: mail_queues
            type: object
            properties: {  }
        MailQueueGETFields:
            title: mail_queues
            type: object
            properties:
                mailQueueId:
                    type: integer
                    nullable: false
                recipient:
                    type: string
                    nullable: true
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                isDeleted:
                    type: boolean
                    nullable: true
                deleteDate:
                    type: string
                    nullable: true
                    format: date-time
                recipientDw:
                    type: string
                    nullable: true
                recipientUdw:
                    type: string
                    nullable: true
                mailingUid:
                    type: integer
                    nullable: true
                sendAttempts:
                    type: integer
                    nullable: true
                contentQp:
                    type: string
                    nullable: true
                emailAccount:
                    nullable: true
                    description: (emailAccount)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailAccountGETFieldsForRelation'
                sender:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        MailQueueGETExtra_fields:
            title: mail_queues
            type: object
            properties: {  }
        MailQueuePATCHForCollection:
            title: mail_queues
            type: array
            items:
                type: object
                properties:
                    mailQueueId:
                        type: integer
                        nullable: false
                    recipient:
                        type: string
                        nullable: true
                    subject:
                        type: string
                        nullable: true
                    content:
                        type: string
                        nullable: true
                    sendDate:
                        type: string
                        nullable: true
                        format: date-time
                    isDeleted:
                        type: boolean
                        nullable: true
                    deleteDate:
                        type: string
                        nullable: true
                        format: date-time
                    recipientDw:
                        type: string
                        nullable: true
                    recipientUdw:
                        type: string
                        nullable: true
                    mailingUid:
                        type: integer
                        nullable: true
                    sendAttempts:
                        type: integer
                        nullable: true
                    contentQp:
                        type: string
                        nullable: true
                    emailAccount:
                        nullable: true
                        description: 'integer or object (emailAccount)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailAccountPATCHForRelation'
                    sender:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPATCHForRelation'
                required:
                    - mailQueueId
        MailQueuePATCH:
            title: mail_queues
            type: object
            properties:
                recipient:
                    type: string
                    nullable: true
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                isDeleted:
                    type: boolean
                    nullable: true
                deleteDate:
                    type: string
                    nullable: true
                    format: date-time
                recipientDw:
                    type: string
                    nullable: true
                recipientUdw:
                    type: string
                    nullable: true
                mailingUid:
                    type: integer
                    nullable: true
                sendAttempts:
                    type: integer
                    nullable: true
                contentQp:
                    type: string
                    nullable: true
                emailAccount:
                    nullable: true
                    description: 'integer or object (emailAccount)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailAccountPATCHForRelation'
                sender:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPATCHForRelation'
        MailQueuePOSTForCollection:
            title: mail_queues
            type: array
            items:
                type: object
                properties:
                    recipient:
                        type: string
                        nullable: true
                    subject:
                        type: string
                        nullable: true
                    content:
                        type: string
                        nullable: true
                    sendDate:
                        type: string
                        nullable: true
                        format: date-time
                    isDeleted:
                        type: boolean
                        nullable: true
                    deleteDate:
                        type: string
                        nullable: true
                        format: date-time
                    recipientDw:
                        type: string
                        nullable: true
                    recipientUdw:
                        type: string
                        nullable: true
                    mailingUid:
                        type: integer
                        nullable: true
                    sendAttempts:
                        type: integer
                        nullable: true
                    contentQp:
                        type: string
                        nullable: true
                    emailAccount:
                        nullable: true
                        description: 'integer or object (emailAccount)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailAccountPOSTForRelation'
                    sender:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPOSTForRelation'
        MailQueuePOST:
            title: mail_queues
            type: object
            properties:
                recipient:
                    type: string
                    nullable: true
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                isDeleted:
                    type: boolean
                    nullable: true
                deleteDate:
                    type: string
                    nullable: true
                    format: date-time
                recipientDw:
                    type: string
                    nullable: true
                recipientUdw:
                    type: string
                    nullable: true
                mailingUid:
                    type: integer
                    nullable: true
                sendAttempts:
                    type: integer
                    nullable: true
                contentQp:
                    type: string
                    nullable: true
                emailAccount:
                    nullable: true
                    description: 'integer or object (emailAccount)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailAccountPOSTForRelation'
                sender:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPOSTForRelation'
        MailQueueFilesGETFieldsForCollection:
            title: mail_queue_files
            type: object
            properties:
                mailQueueFilesId:
                    type: integer
                    nullable: false
                fileName:
                    type: string
                    nullable: true
                filePath:
                    type: string
                    nullable: true
                mimeType:
                    type: string
                    nullable: true
                mailQueue:
                    nullable: true
                    description: (mailQueue)
                    allOf:
                        -
                            $ref: '#/components/schemas/MailQueueGETFieldsForRelation'
        MailQueueFilesGETExtra_fieldsForCollection:
            title: mail_queue_files
            type: object
            properties: {  }
        MailQueueFilesGETFields:
            title: mail_queue_files
            type: object
            properties:
                mailQueueFilesId:
                    type: integer
                    nullable: false
                fileName:
                    type: string
                    nullable: true
                filePath:
                    type: string
                    nullable: true
                mimeType:
                    type: string
                    nullable: true
                mailQueue:
                    nullable: true
                    description: (mailQueue)
                    allOf:
                        -
                            $ref: '#/components/schemas/MailQueueGETFieldsForRelation'
        MailQueueFilesGETExtra_fields:
            title: mail_queue_files
            type: object
            properties: {  }
        MailQueueFilesPATCHForCollection:
            title: mail_queue_files
            type: array
            items:
                type: object
                properties:
                    mailQueueFilesId:
                        type: integer
                        nullable: false
                    fileName:
                        type: string
                        nullable: true
                    filePath:
                        type: string
                        nullable: true
                    mimeType:
                        type: string
                        nullable: true
                    mailQueue:
                        nullable: true
                        description: 'integer or object (mailQueue)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/MailQueuePATCHForRelation'
                required:
                    - mailQueueFilesId
        MailQueueFilesPATCH:
            title: mail_queue_files
            type: object
            properties:
                fileName:
                    type: string
                    nullable: true
                filePath:
                    type: string
                    nullable: true
                mimeType:
                    type: string
                    nullable: true
                mailQueue:
                    nullable: true
                    description: 'integer or object (mailQueue)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/MailQueuePATCHForRelation'
        MailQueueFilesPOSTForCollection:
            title: mail_queue_files
            type: array
            items:
                type: object
                properties:
                    fileName:
                        type: string
                        nullable: true
                    filePath:
                        type: string
                        nullable: true
                    mimeType:
                        type: string
                        nullable: true
                    mailQueue:
                        nullable: true
                        description: 'integer or object (mailQueue)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/MailQueuePOSTForRelation'
        MailQueueFilesPOST:
            title: mail_queue_files
            type: object
            properties:
                fileName:
                    type: string
                    nullable: true
                filePath:
                    type: string
                    nullable: true
                mimeType:
                    type: string
                    nullable: true
                mailQueue:
                    nullable: true
                    description: 'integer or object (mailQueue)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/MailQueuePOSTForRelation'
        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
        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
        UserToEmailAccountCredentialPATCHForRelation:
            title: user_to_email_account_credentials
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                credentialType:
                    type: integer
                    nullable: true
                emailAccount:
                    type: integer
                    nullable: true
                    description: 'integer or object (emailAccount)'
                user:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
        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
        UserToEmailAccountCredentialPOSTForRelation:
            title: user_to_email_account_credentials
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                credentialType:
                    type: integer
                    nullable: true
                emailAccount:
                    type: integer
                    nullable: true
                    description: 'integer or object (emailAccount)'
                user:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
        EmailAccountGETFieldsForRelation:
            title: email_accounts
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                emailAccountName:
                    type: string
                    nullable: true
                    maxLength: 255
                emailAddress:
                    type: string
                    nullable: false
                smtpSender:
                    type: string
                    nullable: true
                smtpServer:
                    type: string
                    nullable: true
                    maxLength: 255
                smtpPort:
                    type: integer
                    nullable: true
                smtpLogin:
                    type: string
                    nullable: true
                    maxLength: 255
                smtpSecure:
                    type: string
                    nullable: true
                    maxLength: 5
                unreadMessagesCounter:
                    type: integer
                    nullable: true
                imapServer:
                    type: string
                    nullable: true
                    maxLength: 255
                imapPort:
                    type: integer
                    nullable: true
                imapLogin:
                    type: string
                    nullable: true
                    maxLength: 255
                imapSecure:
                    type: string
                    nullable: true
                    maxLength: 5
                configModificationDate:
                    type: string
                    nullable: true
                    format: date-time
                fullSynchNow:
                    type: boolean
                    nullable: true
                validateCert:
                    type: boolean
                    nullable: true
                archival:
                    type: boolean
                    nullable: true
                authMethod:
                    type: string
                    nullable: true
                    maxLength: 20
                smtpAuthMethod:
                    type: string
                    nullable: true
                    maxLength: 20
                appendToSend:
                    type: boolean
                    nullable: true
                lastIncSyncDate:
                    type: string
                    nullable: true
                    format: date-time
                isSystemAccount:
                    type: boolean
                    nullable: false
                sentFolderName:
                    type: string
                    nullable: true
                    maxLength: 255
                authType:
                    type: string
                    nullable: false
                    maxLength: 10
                user:
                    type: object
                    nullable: true
                    description: (userUser)
        EmailAccountGETExtra_fieldsForRelation:
            title: email_accounts
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                cacheUpToDate:
                    type: boolean
                    nullable: true
                    description: extra_field
                accessRights:
                    type: string
                    nullable: true
                    description: extra_field
        EmailAccountPATCHForRelation:
            title: email_accounts
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                emailAccountName:
                    type: string
                    nullable: true
                    maxLength: 255
                emailAddress:
                    type: string
                    nullable: false
                smtpSender:
                    type: string
                    nullable: true
                smtpServer:
                    type: string
                    nullable: true
                    maxLength: 255
                smtpPort:
                    type: integer
                    nullable: true
                smtpLogin:
                    type: string
                    nullable: true
                    maxLength: 255
                smtpPass:
                    type: string
                    nullable: true
                    maxLength: 255
                    writeOnly: true
                smtpSecure:
                    type: string
                    nullable: true
                    maxLength: 5
                unreadMessagesCounter:
                    type: integer
                    nullable: true
                imapServer:
                    type: string
                    nullable: true
                    maxLength: 255
                imapPort:
                    type: integer
                    nullable: true
                imapLogin:
                    type: string
                    nullable: true
                    maxLength: 255
                imapPass:
                    type: string
                    nullable: true
                    maxLength: 255
                    writeOnly: true
                imapSecure:
                    type: string
                    nullable: true
                    maxLength: 5
                configModificationDate:
                    type: string
                    nullable: true
                    format: date-time
                fullSynchNow:
                    type: boolean
                    nullable: true
                validateCert:
                    type: boolean
                    nullable: true
                archival:
                    type: boolean
                    nullable: true
                authMethod:
                    type: string
                    nullable: true
                    maxLength: 20
                smtpAuthMethod:
                    type: string
                    nullable: true
                    maxLength: 20
                appendToSend:
                    type: boolean
                    nullable: true
                lastIncSyncDate:
                    type: string
                    nullable: true
                    format: date-time
                isSystemAccount:
                    type: boolean
                    nullable: false
                sentFolderName:
                    type: string
                    nullable: true
                    maxLength: 255
                authType:
                    type: string
                    nullable: false
                    maxLength: 10
                user:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                credentials:
                    type: integer
                    nullable: false
                    writeOnly: true
                    description: 'integer or array<object> or object (userToEmailAccountCredential)'
            required:
                - emailAddress
        EmailAccountPOSTForRelation:
            title: email_accounts
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                emailAccountName:
                    type: string
                    nullable: true
                    maxLength: 255
                emailAddress:
                    type: string
                    nullable: false
                smtpSender:
                    type: string
                    nullable: true
                smtpServer:
                    type: string
                    nullable: true
                    maxLength: 255
                smtpPort:
                    type: integer
                    nullable: true
                smtpLogin:
                    type: string
                    nullable: true
                    maxLength: 255
                smtpPass:
                    type: string
                    nullable: true
                    maxLength: 255
                    writeOnly: true
                smtpSecure:
                    type: string
                    nullable: true
                    maxLength: 5
                unreadMessagesCounter:
                    type: integer
                    nullable: true
                imapServer:
                    type: string
                    nullable: true
                    maxLength: 255
                imapPort:
                    type: integer
                    nullable: true
                imapLogin:
                    type: string
                    nullable: true
                    maxLength: 255
                imapPass:
                    type: string
                    nullable: true
                    maxLength: 255
                    writeOnly: true
                imapSecure:
                    type: string
                    nullable: true
                    maxLength: 5
                configModificationDate:
                    type: string
                    nullable: true
                    format: date-time
                fullSynchNow:
                    type: boolean
                    nullable: true
                validateCert:
                    type: boolean
                    nullable: true
                archival:
                    type: boolean
                    nullable: true
                authMethod:
                    type: string
                    nullable: true
                    maxLength: 20
                smtpAuthMethod:
                    type: string
                    nullable: true
                    maxLength: 20
                appendToSend:
                    type: boolean
                    nullable: true
                lastIncSyncDate:
                    type: string
                    nullable: true
                    format: date-time
                isSystemAccount:
                    type: boolean
                    nullable: false
                sentFolderName:
                    type: string
                    nullable: true
                    maxLength: 255
                authType:
                    type: string
                    nullable: false
                    maxLength: 10
                user:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                credentials:
                    type: integer
                    nullable: false
                    writeOnly: true
                    description: 'integer or array<object> or object (userToEmailAccountCredential)'
            required:
                - emailAddress
        EmailMessageGETFieldsForRelation:
            title: email_messages
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                contentHtml:
                    type: string
                    nullable: true
                deliveryDate:
                    type: string
                    nullable: true
                    format: date-time
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                hasBeenRead:
                    type: boolean
                    nullable: false
                imapId:
                    type: integer
                    nullable: true
                imapFolder:
                    type: string
                    nullable: true
                receivedDate:
                    type: string
                    nullable: true
                    format: date-time
                serverMessageId:
                    type: string
                    nullable: true
                headers:
                    type: string
                    nullable: false
                hasAttachments:
                    type: boolean
                    nullable: true
                attachments:
                    type: string
                    nullable: true
                emailAccount:
                    type: object
                    nullable: true
                    description: (emailAccount)
        EmailMessageGETExtra_fieldsForRelation:
            title: email_messages
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    description: extra_field
                senderUser:
                    type: object
                    nullable: true
                    description: extra_field
        EmailMessagePATCHForRelation:
            title: email_messages
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                subject:
                    type: string
                    nullable: true
                contentHtml:
                    type: string
                    nullable: true
                hasBeenRead:
                    type: boolean
                    nullable: false
                headers:
                    type: string
                    nullable: false
                attachments:
                    type: string
                    nullable: true
                emailAccount:
                    type: integer
                    nullable: true
                    description: 'integer or object (emailAccount)'
                relations:
                    type: object
                    nullable: true
                    description: extra_field
            required:
                - headers
        EmailMessagePOSTForRelation:
            title: email_messages
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                subject:
                    type: string
                    nullable: true
                contentHtml:
                    type: string
                    nullable: true
                hasBeenRead:
                    type: boolean
                    nullable: false
                headers:
                    type: string
                    nullable: false
                attachments:
                    type: string
                    nullable: true
                emailAccount:
                    type: integer
                    nullable: true
                    description: 'integer or object (emailAccount)'
                relations:
                    type: object
                    nullable: true
                    description: extra_field
            required:
                - headers
        MailQueueGETFieldsForRelation:
            title: mail_queues
            type: object
            properties:
                mailQueueId:
                    type: integer
                    nullable: false
                recipient:
                    type: string
                    nullable: true
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                isDeleted:
                    type: boolean
                    nullable: true
                deleteDate:
                    type: string
                    nullable: true
                    format: date-time
                recipientDw:
                    type: string
                    nullable: true
                recipientUdw:
                    type: string
                    nullable: true
                mailingUid:
                    type: integer
                    nullable: true
                sendAttempts:
                    type: integer
                    nullable: true
                contentQp:
                    type: string
                    nullable: true
                emailAccount:
                    type: object
                    nullable: true
                    description: (emailAccount)
                sender:
                    type: object
                    nullable: true
                    description: (userUser)
        MailQueueGETExtra_fieldsForRelation:
            title: mail_queues
            type: object
            properties: {  }
        MailQueuePATCHForRelation:
            title: mail_queues
            type: object
            properties:
                mailQueueId:
                    type: integer
                    nullable: false
                recipient:
                    type: string
                    nullable: true
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                isDeleted:
                    type: boolean
                    nullable: true
                deleteDate:
                    type: string
                    nullable: true
                    format: date-time
                recipientDw:
                    type: string
                    nullable: true
                recipientUdw:
                    type: string
                    nullable: true
                mailingUid:
                    type: integer
                    nullable: true
                sendAttempts:
                    type: integer
                    nullable: true
                contentQp:
                    type: string
                    nullable: true
                emailAccount:
                    type: integer
                    nullable: true
                    description: 'integer or object (emailAccount)'
                sender:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
            required:
                - mailQueueId
        MailQueuePOSTForRelation:
            title: mail_queues
            type: object
            properties:
                mailQueueId:
                    type: integer
                    nullable: false
                recipient:
                    type: string
                    nullable: true
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                isDeleted:
                    type: boolean
                    nullable: true
                deleteDate:
                    type: string
                    nullable: true
                    format: date-time
                recipientDw:
                    type: string
                    nullable: true
                recipientUdw:
                    type: string
                    nullable: true
                mailingUid:
                    type: integer
                    nullable: true
                sendAttempts:
                    type: integer
                    nullable: true
                contentQp:
                    type: string
                    nullable: true
                emailAccount:
                    type: integer
                    nullable: true
                    description: 'integer or object (emailAccount)'
                sender:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
            required:
                - mailQueueId
        EmailOutcomeMessageGETFieldsForRelation:
            title: email_outcome_messages
            type: object
            properties:
                messageId:
                    type: integer
                    nullable: false
                recipient:
                    type: string
                    nullable: true
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                isDeleted:
                    type: boolean
                    nullable: true
                deleteDate:
                    type: string
                    nullable: true
                    format: date-time
                recipientDw:
                    type: string
                    nullable: true
                recipientUdw:
                    type: string
                    nullable: true
                isAutomatic:
                    type: boolean
                    nullable: true
                uid:
                    type: string
                    nullable: true
                    maxLength: 32
                imapId:
                    type: integer
                    nullable: true
                imapFolder:
                    type: string
                    nullable: true
                    maxLength: 100
                mailingUid:
                    type: integer
                    nullable: true
                emailAccount:
                    type: object
                    nullable: true
                    description: (emailAccount)
                mailQueue:
                    type: object
                    nullable: true
                    description: (mailQueue)
                sender:
                    type: object
                    nullable: true
                    description: (userUser)
        EmailOutcomeMessageGETExtra_fieldsForRelation:
            title: email_outcome_messages
            type: object
            properties: {  }
        EmailOutcomeMessagePATCHForRelation:
            title: email_outcome_messages
            type: object
            properties:
                messageId:
                    type: integer
                    nullable: false
                recipient:
                    type: string
                    nullable: true
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                isDeleted:
                    type: boolean
                    nullable: true
                deleteDate:
                    type: string
                    nullable: true
                    format: date-time
                recipientDw:
                    type: string
                    nullable: true
                recipientUdw:
                    type: string
                    nullable: true
                isAutomatic:
                    type: boolean
                    nullable: true
                uid:
                    type: string
                    nullable: true
                    maxLength: 32
                imapId:
                    type: integer
                    nullable: true
                imapFolder:
                    type: string
                    nullable: true
                    maxLength: 100
                mailingUid:
                    type: integer
                    nullable: true
                emailAccount:
                    type: integer
                    nullable: true
                    description: 'integer or object (emailAccount)'
                mailQueue:
                    type: integer
                    nullable: true
                    description: 'integer or object (mailQueue)'
                sender:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
            required:
                - messageId
        EmailOutcomeMessagePOSTForRelation:
            title: email_outcome_messages
            type: object
            properties:
                messageId:
                    type: integer
                    nullable: false
                recipient:
                    type: string
                    nullable: true
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                isDeleted:
                    type: boolean
                    nullable: true
                deleteDate:
                    type: string
                    nullable: true
                    format: date-time
                recipientDw:
                    type: string
                    nullable: true
                recipientUdw:
                    type: string
                    nullable: true
                isAutomatic:
                    type: boolean
                    nullable: true
                uid:
                    type: string
                    nullable: true
                    maxLength: 32
                imapId:
                    type: integer
                    nullable: true
                imapFolder:
                    type: string
                    nullable: true
                    maxLength: 100
                mailingUid:
                    type: integer
                    nullable: true
                emailAccount:
                    type: integer
                    nullable: true
                    description: 'integer or object (emailAccount)'
                mailQueue:
                    type: integer
                    nullable: true
                    description: 'integer or object (mailQueue)'
                sender:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
            required:
                - messageId
        FileGETFieldsForRelation:
            title: files
            type: object
            properties: {  }
        FileGETExtra_fieldsForRelation:
            title: files
            type: object
            properties: {  }
        FilePATCHForRelation:
            title: files
            type: object
            properties: {  }
        FilePOSTForRelation:
            title: files
            type: object
            properties: {  }
        ImapFolderGETFieldsForRelation:
            title: imap_folders
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                fullName:
                    type: string
                    nullable: false
                originalFullName:
                    type: string
                    nullable: false
                originalDelimiter:
                    type: string
                    nullable: false
                    maxLength: 10
                lastImapId:
                    type: integer
                    nullable: true
                lastSyncDate:
                    type: string
                    nullable: true
                    format: date-time
                emailAccount:
                    type: object
                    nullable: false
                    description: (emailAccount)
                parent:
                    type: object
                    nullable: true
                    description: (imapFolder)
        ImapFolderGETExtra_fieldsForRelation:
            title: imap_folders
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        ImapFolderPATCHForRelation:
            title: imap_folders
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                fullName:
                    type: string
                    nullable: false
                originalFullName:
                    type: string
                    nullable: false
                originalDelimiter:
                    type: string
                    nullable: false
                    maxLength: 10
                lastImapId:
                    type: integer
                    nullable: true
                lastSyncDate:
                    type: string
                    nullable: true
                    format: date-time
                emailAccount:
                    type: integer
                    nullable: false
                    description: 'integer or object (emailAccount)'
                parent:
                    type: integer
                    nullable: true
                    description: 'integer or object (imapFolder)'
            required:
                - name
                - fullName
                - originalFullName
                - emailAccount
        ImapFolderPOSTForRelation:
            title: imap_folders
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                fullName:
                    type: string
                    nullable: false
                originalFullName:
                    type: string
                    nullable: false
                originalDelimiter:
                    type: string
                    nullable: false
                    maxLength: 10
                lastImapId:
                    type: integer
                    nullable: true
                lastSyncDate:
                    type: string
                    nullable: true
                    format: date-time
                emailAccount:
                    type: integer
                    nullable: false
                    description: 'integer or object (emailAccount)'
                parent:
                    type: integer
                    nullable: true
                    description: 'integer or object (imapFolder)'
            required:
                - name
                - fullName
                - originalFullName
                - emailAccount
    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
        EmailAccountGETFieldsForCollection:
            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/EmailAccountGETFieldsForCollection'
        EmailAccountGETExtra_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/EmailAccountGETExtra_fieldsForCollection'
        EmailAccountGETFields:
            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/EmailAccountGETFields'
        EmailAccountGETExtra_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/EmailAccountGETExtra_fields'
        EmailMessageGETFieldsForCollection:
            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/EmailMessageGETFieldsForCollection'
        EmailMessageGETExtra_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/EmailMessageGETExtra_fieldsForCollection'
        EmailMessageGETFields:
            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/EmailMessageGETFields'
        EmailMessageGETExtra_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/EmailMessageGETExtra_fields'
        EmailMessageAdressesGETFieldsForCollection:
            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/EmailMessageAdressesGETFieldsForCollection'
        EmailMessageAdressesGETExtra_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/EmailMessageAdressesGETExtra_fieldsForCollection'
        EmailMessageAdressesGETFields:
            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/EmailMessageAdressesGETFields'
        EmailMessageAdressesGETExtra_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/EmailMessageAdressesGETExtra_fields'
        EmailMessageQueueGETFieldsForCollection:
            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/EmailMessageQueueGETFieldsForCollection'
        EmailMessageQueueGETExtra_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/EmailMessageQueueGETExtra_fieldsForCollection'
        EmailMessageQueueGETFields:
            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/EmailMessageQueueGETFields'
        EmailMessageQueueGETExtra_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/EmailMessageQueueGETExtra_fields'
        EmailMessageRelationSummaryGETFieldsForCollection:
            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/EmailMessageRelationSummaryGETFieldsForCollection'
        EmailMessageRelationSummaryGETExtra_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/EmailMessageRelationSummaryGETExtra_fieldsForCollection'
        EmailMessageRelationSummaryGETFields:
            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/EmailMessageRelationSummaryGETFields'
        EmailMessageRelationSummaryGETExtra_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/EmailMessageRelationSummaryGETExtra_fields'
        EmailOutcomeMessageGETFieldsForCollection:
            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/EmailOutcomeMessageGETFieldsForCollection'
        EmailOutcomeMessageGETExtra_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/EmailOutcomeMessageGETExtra_fieldsForCollection'
        EmailOutcomeMessageGETFields:
            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/EmailOutcomeMessageGETFields'
        EmailOutcomeMessageGETExtra_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/EmailOutcomeMessageGETExtra_fields'
        EmailOutcomeMessageAdressesGETFieldsForCollection:
            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/EmailOutcomeMessageAdressesGETFieldsForCollection'
        EmailOutcomeMessageAdressesGETExtra_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/EmailOutcomeMessageAdressesGETExtra_fieldsForCollection'
        EmailOutcomeMessageAdressesGETFields:
            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/EmailOutcomeMessageAdressesGETFields'
        EmailOutcomeMessageAdressesGETExtra_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/EmailOutcomeMessageAdressesGETExtra_fields'
        EmailTemplateGETFieldsForCollection:
            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/EmailTemplateGETFieldsForCollection'
        EmailTemplateGETExtra_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/EmailTemplateGETExtra_fieldsForCollection'
        EmailTemplateGETFields:
            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/EmailTemplateGETFields'
        EmailTemplateGETExtra_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/EmailTemplateGETExtra_fields'
        FileToEmailMessageGETFieldsForCollection:
            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/FileToEmailMessageGETFieldsForCollection'
        FileToEmailMessageGETExtra_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/FileToEmailMessageGETExtra_fieldsForCollection'
        FileToEmailMessageGETFields:
            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/FileToEmailMessageGETFields'
        FileToEmailMessageGETExtra_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/FileToEmailMessageGETExtra_fields'
        ImapFolderGETFieldsForCollection:
            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/ImapFolderGETFieldsForCollection'
        ImapFolderGETExtra_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/ImapFolderGETExtra_fieldsForCollection'
        ImapFolderGETFields:
            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/ImapFolderGETFields'
        ImapFolderGETExtra_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/ImapFolderGETExtra_fields'
        MailQueueGETFieldsForCollection:
            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/MailQueueGETFieldsForCollection'
        MailQueueGETExtra_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/MailQueueGETExtra_fieldsForCollection'
        MailQueueGETFields:
            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/MailQueueGETFields'
        MailQueueGETExtra_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/MailQueueGETExtra_fields'
        MailQueueFilesGETFieldsForCollection:
            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/MailQueueFilesGETFieldsForCollection'
        MailQueueFilesGETExtra_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/MailQueueFilesGETExtra_fieldsForCollection'
        MailQueueFilesGETFields:
            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/MailQueueFilesGETFields'
        MailQueueFilesGETExtra_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/MailQueueFilesGETExtra_fields'
        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'
        EmailAccountGETFieldsForRelation:
            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/EmailAccountGETFieldsForRelation'
        EmailAccountGETExtra_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/EmailAccountGETExtra_fieldsForRelation'
        EmailMessageGETFieldsForRelation:
            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/EmailMessageGETFieldsForRelation'
        EmailMessageGETExtra_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/EmailMessageGETExtra_fieldsForRelation'
        MailQueueGETFieldsForRelation:
            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/MailQueueGETFieldsForRelation'
        MailQueueGETExtra_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/MailQueueGETExtra_fieldsForRelation'
        EmailOutcomeMessageGETFieldsForRelation:
            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/EmailOutcomeMessageGETFieldsForRelation'
        EmailOutcomeMessageGETExtra_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/EmailOutcomeMessageGETExtra_fieldsForRelation'
        FileGETFieldsForRelation:
            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/FileGETFieldsForRelation'
        FileGETExtra_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/FileGETExtra_fieldsForRelation'
        ImapFolderGETFieldsForRelation:
            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/ImapFolderGETFieldsForRelation'
        ImapFolderGETExtra_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/ImapFolderGETExtra_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'
        EmailAccountPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailAccountPATCHForCollection'
                            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/EmailAccountGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailAccountGETExtra_fieldsForCollection'
                        type: object
        EmailAccountPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailAccountPATCH'
                            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/EmailAccountGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailAccountGETExtra_fields'
                        type: object
        EmailAccountPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailAccountPOSTForCollection'
                            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/EmailAccountGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailAccountGETExtra_fieldsForCollection'
                        type: object
        EmailAccountPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailAccountPOST'
                            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/EmailAccountGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailAccountGETExtra_fields'
                        type: object
        EmailMessagePATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessagePATCHForCollection'
                            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/EmailMessageGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageGETExtra_fieldsForCollection'
                        type: object
        EmailMessagePATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessagePATCH'
                            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/EmailMessageGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageGETExtra_fields'
                        type: object
        EmailMessagePOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessagePOSTForCollection'
                            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/EmailMessageGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageGETExtra_fieldsForCollection'
                        type: object
        EmailMessagePOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessagePOST'
                            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/EmailMessageGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageGETExtra_fields'
                        type: object
        EmailMessageAdressesPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessageAdressesPATCHForCollection'
                            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/EmailMessageAdressesGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageAdressesGETExtra_fieldsForCollection'
                        type: object
        EmailMessageAdressesPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessageAdressesPATCH'
                            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/EmailMessageAdressesGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageAdressesGETExtra_fields'
                        type: object
        EmailMessageAdressesPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessageAdressesPOSTForCollection'
                            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/EmailMessageAdressesGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageAdressesGETExtra_fieldsForCollection'
                        type: object
        EmailMessageAdressesPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessageAdressesPOST'
                            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/EmailMessageAdressesGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageAdressesGETExtra_fields'
                        type: object
        EmailMessageQueuePATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessageQueuePATCHForCollection'
                            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/EmailMessageQueueGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageQueueGETExtra_fieldsForCollection'
                        type: object
        EmailMessageQueuePATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessageQueuePATCH'
                            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/EmailMessageQueueGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageQueueGETExtra_fields'
                        type: object
        EmailMessageQueuePOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessageQueuePOSTForCollection'
                            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/EmailMessageQueueGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageQueueGETExtra_fieldsForCollection'
                        type: object
        EmailMessageQueuePOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessageQueuePOST'
                            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/EmailMessageQueueGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageQueueGETExtra_fields'
                        type: object
        EmailMessageRelationSummaryPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessageRelationSummaryPATCHForCollection'
                            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/EmailMessageRelationSummaryGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageRelationSummaryGETExtra_fieldsForCollection'
                        type: object
        EmailMessageRelationSummaryPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessageRelationSummaryPATCH'
                            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/EmailMessageRelationSummaryGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageRelationSummaryGETExtra_fields'
                        type: object
        EmailMessageRelationSummaryPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessageRelationSummaryPOSTForCollection'
                            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/EmailMessageRelationSummaryGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageRelationSummaryGETExtra_fieldsForCollection'
                        type: object
        EmailMessageRelationSummaryPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessageRelationSummaryPOST'
                            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/EmailMessageRelationSummaryGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageRelationSummaryGETExtra_fields'
                        type: object
        EmailOutcomeMessagePATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailOutcomeMessagePATCHForCollection'
                            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/EmailOutcomeMessageGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailOutcomeMessageGETExtra_fieldsForCollection'
                        type: object
        EmailOutcomeMessagePATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailOutcomeMessagePATCH'
                            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/EmailOutcomeMessageGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailOutcomeMessageGETExtra_fields'
                        type: object
        EmailOutcomeMessagePOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailOutcomeMessagePOSTForCollection'
                            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/EmailOutcomeMessageGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailOutcomeMessageGETExtra_fieldsForCollection'
                        type: object
        EmailOutcomeMessagePOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailOutcomeMessagePOST'
                            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/EmailOutcomeMessageGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailOutcomeMessageGETExtra_fields'
                        type: object
        EmailOutcomeMessageAdressesPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailOutcomeMessageAdressesPATCHForCollection'
                            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/EmailOutcomeMessageAdressesGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailOutcomeMessageAdressesGETExtra_fieldsForCollection'
                        type: object
        EmailOutcomeMessageAdressesPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailOutcomeMessageAdressesPATCH'
                            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/EmailOutcomeMessageAdressesGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailOutcomeMessageAdressesGETExtra_fields'
                        type: object
        EmailOutcomeMessageAdressesPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailOutcomeMessageAdressesPOSTForCollection'
                            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/EmailOutcomeMessageAdressesGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailOutcomeMessageAdressesGETExtra_fieldsForCollection'
                        type: object
        EmailOutcomeMessageAdressesPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailOutcomeMessageAdressesPOST'
                            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/EmailOutcomeMessageAdressesGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailOutcomeMessageAdressesGETExtra_fields'
                        type: object
        EmailTemplatePATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailTemplatePATCHForCollection'
                            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/EmailTemplateGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailTemplateGETExtra_fieldsForCollection'
                        type: object
        EmailTemplatePATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailTemplatePATCH'
                            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/EmailTemplateGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailTemplateGETExtra_fields'
                        type: object
        EmailTemplatePOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailTemplatePOSTForCollection'
                            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/EmailTemplateGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailTemplateGETExtra_fieldsForCollection'
                        type: object
        EmailTemplatePOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailTemplatePOST'
                            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/EmailTemplateGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailTemplateGETExtra_fields'
                        type: object
        FileToEmailMessagePATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/FileToEmailMessagePATCHForCollection'
                            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/FileToEmailMessageGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/FileToEmailMessageGETExtra_fieldsForCollection'
                        type: object
        FileToEmailMessagePATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/FileToEmailMessagePATCH'
                            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/FileToEmailMessageGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/FileToEmailMessageGETExtra_fields'
                        type: object
        FileToEmailMessagePOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/FileToEmailMessagePOSTForCollection'
                            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/FileToEmailMessageGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/FileToEmailMessageGETExtra_fieldsForCollection'
                        type: object
        FileToEmailMessagePOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/FileToEmailMessagePOST'
                            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/FileToEmailMessageGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/FileToEmailMessageGETExtra_fields'
                        type: object
        ImapFolderPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/ImapFolderPATCHForCollection'
                            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/ImapFolderGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/ImapFolderGETExtra_fieldsForCollection'
                        type: object
        ImapFolderPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/ImapFolderPATCH'
                            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/ImapFolderGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/ImapFolderGETExtra_fields'
                        type: object
        ImapFolderPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/ImapFolderPOSTForCollection'
                            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/ImapFolderGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/ImapFolderGETExtra_fieldsForCollection'
                        type: object
        ImapFolderPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/ImapFolderPOST'
                            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/ImapFolderGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/ImapFolderGETExtra_fields'
                        type: object
        MailQueuePATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/MailQueuePATCHForCollection'
                            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/MailQueueGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/MailQueueGETExtra_fieldsForCollection'
                        type: object
        MailQueuePATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/MailQueuePATCH'
                            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/MailQueueGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/MailQueueGETExtra_fields'
                        type: object
        MailQueuePOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/MailQueuePOSTForCollection'
                            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/MailQueueGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/MailQueueGETExtra_fieldsForCollection'
                        type: object
        MailQueuePOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/MailQueuePOST'
                            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/MailQueueGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/MailQueueGETExtra_fields'
                        type: object
        MailQueueFilesPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/MailQueueFilesPATCHForCollection'
                            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/MailQueueFilesGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/MailQueueFilesGETExtra_fieldsForCollection'
                        type: object
        MailQueueFilesPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/MailQueueFilesPATCH'
                            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/MailQueueFilesGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/MailQueueFilesGETExtra_fields'
                        type: object
        MailQueueFilesPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/MailQueueFilesPOSTForCollection'
                            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/MailQueueFilesGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/MailQueueFilesGETExtra_fieldsForCollection'
                        type: object
        MailQueueFilesPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/MailQueueFilesPOST'
                            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/MailQueueFilesGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/MailQueueFilesGETExtra_fields'
                        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
        UserToEmailAccountCredentialPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/UserToEmailAccountCredentialPATCHForRelation'
                            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/UserToEmailAccountCredentialGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/UserToEmailAccountCredentialGETExtra_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
        UserToEmailAccountCredentialPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/UserToEmailAccountCredentialPOSTForRelation'
                            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/UserToEmailAccountCredentialGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/UserToEmailAccountCredentialGETExtra_fieldsForRelation'
                        type: object
        EmailAccountPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailAccountPATCHForRelation'
                            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/EmailAccountGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailAccountGETExtra_fieldsForRelation'
                        type: object
        EmailAccountPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailAccountPOSTForRelation'
                            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/EmailAccountGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailAccountGETExtra_fieldsForRelation'
                        type: object
        EmailMessagePATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessagePATCHForRelation'
                            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/EmailMessageGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageGETExtra_fieldsForRelation'
                        type: object
        EmailMessagePOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessagePOSTForRelation'
                            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/EmailMessageGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageGETExtra_fieldsForRelation'
                        type: object
        MailQueuePATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/MailQueuePATCHForRelation'
                            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/MailQueueGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/MailQueueGETExtra_fieldsForRelation'
                        type: object
        MailQueuePOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/MailQueuePOSTForRelation'
                            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/MailQueueGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/MailQueueGETExtra_fieldsForRelation'
                        type: object
        EmailOutcomeMessagePATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailOutcomeMessagePATCHForRelation'
                            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/EmailOutcomeMessageGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailOutcomeMessageGETExtra_fieldsForRelation'
                        type: object
        EmailOutcomeMessagePOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailOutcomeMessagePOSTForRelation'
                            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/EmailOutcomeMessageGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailOutcomeMessageGETExtra_fieldsForRelation'
                        type: object
        FilePATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/FilePATCHForRelation'
                            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/FileGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/FileGETExtra_fieldsForRelation'
                        type: object
        FilePOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/FilePOSTForRelation'
                            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/FileGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/FileGETExtra_fieldsForRelation'
                        type: object
        ImapFolderPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/ImapFolderPATCHForRelation'
                            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/ImapFolderGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/ImapFolderGETExtra_fieldsForRelation'
                        type: object
        ImapFolderPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/ImapFolderPOSTForRelation'
                            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/ImapFolderGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/ImapFolderGETExtra_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: EmailAccount
    -
        name: EmailMessage
    -
        name: EmailMessageAdresses
    -
        name: EmailMessageQueue
    -
        name: EmailMessageRelationSummary
    -
        name: EmailOutcomeMessage
    -
        name: EmailOutcomeMessageAdresses
    -
        name: EmailTemplate
    -
        name: FileToEmailMessage
    -
        name: ImapFolder
    -
        name: MailQueue
    -
        name: MailQueueFiles
