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/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/{module}/copy_from_document':
        post:
            description: 'Creates a new document in buffer with header and position values of an existing document specified inside request''s body'
            operationId: copyFromDocument
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_copy_with_attributes'
                -
                    $ref: '#/components/parameters/setting_copy_with_position_attributes'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/{module}/create_from_document':
        post:
            description: 'Creates a new document with header and position values of an existing document'
            operationId: createFromDocument
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/document_orders/prepare:
        post:
            description: 'Prepare and return the document order to confirmation view. Do not save any changes to the database.'
            operationId: postPrepareDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/email_messages:
        get:
            operationId: 'App\Controller\Api\EmailMessageController::getDataCollection'
            parameters:
                -
                    $ref: '#/components/parameters/setting_email_messages_mark_seen'
                -
                    $ref: '#/components/parameters/setting_email_messages_save_in_db'
                -
                    $ref: '#/components/parameters/setting_email_messages_check_in_db'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/email_messages/{id}':
        get:
            operationId: 'App\Controller\Api\EmailMessageController::getDataItem'
            parameters:
                -
                    $ref: '#/components/parameters/setting_email_messages_mark_seen'
                -
                    $ref: '#/components/parameters/setting_email_messages_save_in_db'
                -
                    $ref: '#/components/parameters/setting_email_messages_check_in_db'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/exchanges/{currencyCodeFrom}/{currencyCodeTo}':
        get:
            description: 'Get exchangeRate'
            operationId: getExchangeRate
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/favorites/{contextId}/favorite_positions':
        post:
            description: 'Post data item/ collection for context'
            operationId: postDataCollectionForContextWithoutFavorite
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/favorites/favorite_positions:
        post:
            description: 'Post data item/ collection for context'
            operationId: postDataCollectionForContextWithoutFavorite
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    /api/message_threads:
        get:
            description: 'Get data collection'
            operationId: getDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        post:
            description: 'Create one or multiple new message_threads'
            operationId: postDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
        patch:
            description: 'Patch multiple message threads'
            operationId: patchDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/message_threads/{id}':
        get:
            description: 'Get data item'
            operationId: getDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch single thread'
            operationId: patchDataItem
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_force_update_user_settings'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    '/api/message_threads/{contextId}/{module}':
        get:
            description: 'Get data item for context, for example: commissionHistory for commission - commissions/1/commission_histories'
            operationId: getDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/fields'
                -
                    $ref: '#/components/parameters/extra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        post:
            description: 'Post data item/ collection for context'
            operationId: postDataCollectionForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
    '/api/{contextModule}/{contextId}/{module}/{id}':
        delete:
            description: 'Delete data item for context'
            operationId: deleteDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/setting_currency_code'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
        patch:
            description: 'Patch data item for context'
            operationId: patchDataItemForContext
            parameters:
                -
                    $ref: '#/components/parameters/contextModule'
                -
                    $ref: '#/components/parameters/contextId'
                -
                    $ref: '#/components/parameters/module'
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_currency_code'
            requestBody:
                $ref: '#/components/requestBodies/RequestBodyPost'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
    /api/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/automations/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaAutomation
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/AutomationGETFields'
                -
                    $ref: '#/components/parameters/AutomationGETExtra_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:
                - Automation
    '/api/automations/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutomation
            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/AutomationGETFields'
                -
                    $ref: '#/components/parameters/AutomationGETExtra_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:
                - Automation
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteAutomation
            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:
                - Automation
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchAutomation
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/AutomationPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - Automation
    /api/automations:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutomations
            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/AutomationGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/AutomationGETExtra_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:
                - Automation
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postAutomations
            requestBody:
                $ref: '#/components/requestBodies/AutomationPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - Automation
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteAutomations
            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:
                - Automation
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchAutomations
            requestBody:
                $ref: '#/components/requestBodies/AutomationPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - Automation
    /api/automations/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectAutomations
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/AutomationGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/AutomationGETExtra_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:
                - Automation
    '/api/automations/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfAutomation
            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:
                - Automation
    /api/automation_actions/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaAutomationAction
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/AutomationActionGETFields'
                -
                    $ref: '#/components/parameters/AutomationActionGETExtra_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:
                - AutomationAction
    '/api/automation_actions/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutomationAction
            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/AutomationActionGETFields'
                -
                    $ref: '#/components/parameters/AutomationActionGETExtra_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:
                - AutomationAction
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteAutomationAction
            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:
                - AutomationAction
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchAutomationAction
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/AutomationActionPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationAction
    /api/automation_actions:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutomationActions
            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/AutomationActionGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/AutomationActionGETExtra_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:
                - AutomationAction
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postAutomationActions
            requestBody:
                $ref: '#/components/requestBodies/AutomationActionPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationAction
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteAutomationActions
            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:
                - AutomationAction
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchAutomationActions
            requestBody:
                $ref: '#/components/requestBodies/AutomationActionPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationAction
    /api/automation_actions/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectAutomationActions
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/AutomationActionGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/AutomationActionGETExtra_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:
                - AutomationAction
    '/api/automation_actions/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfAutomationAction
            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:
                - AutomationAction
    /api/automation_conditions/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaAutomationCondition
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/AutomationConditionGETFields'
                -
                    $ref: '#/components/parameters/AutomationConditionGETExtra_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:
                - AutomationCondition
    '/api/automation_conditions/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutomationCondition
            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/AutomationConditionGETFields'
                -
                    $ref: '#/components/parameters/AutomationConditionGETExtra_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:
                - AutomationCondition
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteAutomationCondition
            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:
                - AutomationCondition
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchAutomationCondition
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/AutomationConditionPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationCondition
    /api/automation_conditions:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutomationConditions
            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/AutomationConditionGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/AutomationConditionGETExtra_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:
                - AutomationCondition
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postAutomationConditions
            requestBody:
                $ref: '#/components/requestBodies/AutomationConditionPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationCondition
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteAutomationConditions
            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:
                - AutomationCondition
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchAutomationConditions
            requestBody:
                $ref: '#/components/requestBodies/AutomationConditionPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationCondition
    /api/automation_conditions/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectAutomationConditions
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/AutomationConditionGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/AutomationConditionGETExtra_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:
                - AutomationCondition
    '/api/automation_conditions/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfAutomationCondition
            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:
                - AutomationCondition
    /api/automation_logs/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaAutomationLog
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/AutomationLogGETFields'
                -
                    $ref: '#/components/parameters/AutomationLogGETExtra_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:
                - AutomationLog
    '/api/automation_logs/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutomationLog
            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/AutomationLogGETFields'
                -
                    $ref: '#/components/parameters/AutomationLogGETExtra_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:
                - AutomationLog
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteAutomationLog
            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:
                - AutomationLog
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchAutomationLog
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/AutomationLogPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationLog
    /api/automation_logs:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutomationLogs
            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/AutomationLogGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/AutomationLogGETExtra_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:
                - AutomationLog
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postAutomationLogs
            requestBody:
                $ref: '#/components/requestBodies/AutomationLogPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationLog
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteAutomationLogs
            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:
                - AutomationLog
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchAutomationLogs
            requestBody:
                $ref: '#/components/requestBodies/AutomationLogPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationLog
    /api/automation_logs/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectAutomationLogs
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/AutomationLogGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/AutomationLogGETExtra_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:
                - AutomationLog
    '/api/automation_logs/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfAutomationLog
            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:
                - AutomationLog
    /api/automation_queues/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaAutomationQueue
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/AutomationQueueGETFields'
                -
                    $ref: '#/components/parameters/AutomationQueueGETExtra_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:
                - AutomationQueue
    '/api/automation_queues/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutomationQueue
            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/AutomationQueueGETFields'
                -
                    $ref: '#/components/parameters/AutomationQueueGETExtra_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:
                - AutomationQueue
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteAutomationQueue
            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:
                - AutomationQueue
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchAutomationQueue
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/AutomationQueuePATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationQueue
    /api/automation_queues:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutomationQueues
            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/AutomationQueueGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/AutomationQueueGETExtra_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:
                - AutomationQueue
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postAutomationQueues
            requestBody:
                $ref: '#/components/requestBodies/AutomationQueuePOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationQueue
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteAutomationQueues
            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:
                - AutomationQueue
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchAutomationQueues
            requestBody:
                $ref: '#/components/requestBodies/AutomationQueuePATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationQueue
    /api/automation_queues/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectAutomationQueues
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/AutomationQueueGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/AutomationQueueGETExtra_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:
                - AutomationQueue
    '/api/automation_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: generatePdfAutomationQueue
            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:
                - AutomationQueue
    /api/automation_triggers/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaAutomationTrigger
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/AutomationTriggerGETFields'
                -
                    $ref: '#/components/parameters/AutomationTriggerGETExtra_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:
                - AutomationTrigger
    '/api/automation_triggers/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutomationTrigger
            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/AutomationTriggerGETFields'
                -
                    $ref: '#/components/parameters/AutomationTriggerGETExtra_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:
                - AutomationTrigger
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteAutomationTrigger
            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:
                - AutomationTrigger
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchAutomationTrigger
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/AutomationTriggerPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationTrigger
    /api/automation_triggers:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutomationTriggers
            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/AutomationTriggerGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/AutomationTriggerGETExtra_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:
                - AutomationTrigger
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postAutomationTriggers
            requestBody:
                $ref: '#/components/requestBodies/AutomationTriggerPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationTrigger
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteAutomationTriggers
            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:
                - AutomationTrigger
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchAutomationTriggers
            requestBody:
                $ref: '#/components/requestBodies/AutomationTriggerPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - AutomationTrigger
    /api/automation_triggers/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectAutomationTriggers
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/AutomationTriggerGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/AutomationTriggerGETExtra_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:
                - AutomationTrigger
    '/api/automation_triggers/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfAutomationTrigger
            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:
                - AutomationTrigger
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
        AutomationGETFieldsForCollection:
            title: automations
            type: object
            properties:
                automationId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                isActive:
                    type: boolean
                    nullable: true
                isMultiple:
                    type: boolean
                    nullable: true
        AutomationGETExtra_fieldsForCollection:
            title: automations
            type: object
            properties: {  }
        AutomationGETFields:
            title: automations
            type: object
            properties:
                automationId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                isActive:
                    type: boolean
                    nullable: true
                isMultiple:
                    type: boolean
                    nullable: true
        AutomationGETExtra_fields:
            title: automations
            type: object
            properties: {  }
        AutomationPATCHForCollection:
            title: automations
            type: array
            items:
                type: object
                properties:
                    automationId:
                        type: integer
                        nullable: false
                    name:
                        type: string
                        nullable: false
                        maxLength: 255
                    isActive:
                        type: boolean
                        nullable: true
                    isMultiple:
                        type: boolean
                        nullable: true
                required:
                    - automationId
                    - name
        AutomationPATCH:
            title: automations
            type: object
            properties:
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                isActive:
                    type: boolean
                    nullable: true
                isMultiple:
                    type: boolean
                    nullable: true
            required:
                - name
        AutomationPOSTForCollection:
            title: automations
            type: array
            items:
                type: object
                properties:
                    name:
                        type: string
                        nullable: false
                        maxLength: 255
                    isActive:
                        type: boolean
                        nullable: true
                    isMultiple:
                        type: boolean
                        nullable: true
                required:
                    - name
        AutomationPOST:
            title: automations
            type: object
            properties:
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                isActive:
                    type: boolean
                    nullable: true
                isMultiple:
                    type: boolean
                    nullable: true
            required:
                - name
        AutomationActionGETFieldsForCollection:
            title: automation_actions
            type: object
            properties:
                actionId:
                    type: integer
                    nullable: false
                type:
                    type: integer
                    nullable: true
                element:
                    type: string
                    nullable: true
                    maxLength: 50
                operator:
                    type: string
                    nullable: true
                    maxLength: 5
                value:
                    type: string
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    nullable: true
                    description: (automation)
                    allOf:
                        -
                            $ref: '#/components/schemas/AutomationGETFieldsForRelation'
        AutomationActionGETExtra_fieldsForCollection:
            title: automation_actions
            type: object
            properties: {  }
        AutomationActionGETFields:
            title: automation_actions
            type: object
            properties:
                actionId:
                    type: integer
                    nullable: false
                type:
                    type: integer
                    nullable: true
                element:
                    type: string
                    nullable: true
                    maxLength: 50
                operator:
                    type: string
                    nullable: true
                    maxLength: 5
                value:
                    type: string
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    nullable: true
                    description: (automation)
                    allOf:
                        -
                            $ref: '#/components/schemas/AutomationGETFieldsForRelation'
        AutomationActionGETExtra_fields:
            title: automation_actions
            type: object
            properties: {  }
        AutomationActionPATCHForCollection:
            title: automation_actions
            type: array
            items:
                type: object
                properties:
                    actionId:
                        type: integer
                        nullable: false
                    type:
                        type: integer
                        nullable: true
                    element:
                        type: string
                        nullable: true
                        maxLength: 50
                    operator:
                        type: string
                        nullable: true
                        maxLength: 5
                    value:
                        type: string
                        nullable: true
                    additionalOptions:
                        type: string
                        nullable: true
                    automation:
                        nullable: true
                        description: 'integer or object (automation)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AutomationPATCHForRelation'
                required:
                    - actionId
        AutomationActionPATCH:
            title: automation_actions
            type: object
            properties:
                type:
                    type: integer
                    nullable: true
                element:
                    type: string
                    nullable: true
                    maxLength: 50
                operator:
                    type: string
                    nullable: true
                    maxLength: 5
                value:
                    type: string
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    nullable: true
                    description: 'integer or object (automation)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AutomationPATCHForRelation'
        AutomationActionPOSTForCollection:
            title: automation_actions
            type: array
            items:
                type: object
                properties:
                    type:
                        type: integer
                        nullable: true
                    element:
                        type: string
                        nullable: true
                        maxLength: 50
                    operator:
                        type: string
                        nullable: true
                        maxLength: 5
                    value:
                        type: string
                        nullable: true
                    additionalOptions:
                        type: string
                        nullable: true
                    automation:
                        nullable: true
                        description: 'integer or object (automation)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AutomationPOSTForRelation'
        AutomationActionPOST:
            title: automation_actions
            type: object
            properties:
                type:
                    type: integer
                    nullable: true
                element:
                    type: string
                    nullable: true
                    maxLength: 50
                operator:
                    type: string
                    nullable: true
                    maxLength: 5
                value:
                    type: string
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    nullable: true
                    description: 'integer or object (automation)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AutomationPOSTForRelation'
        AutomationConditionGETFieldsForCollection:
            title: automation_conditions
            type: object
            properties:
                conditionId:
                    type: integer
                    nullable: false
                type:
                    type: integer
                    nullable: true
                element:
                    type: string
                    nullable: true
                    maxLength: 50
                operator:
                    type: string
                    nullable: true
                    maxLength: 5
                value:
                    type: string
                    nullable: true
                valueType:
                    type: integer
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    nullable: true
                    description: (automation)
                    allOf:
                        -
                            $ref: '#/components/schemas/AutomationGETFieldsForRelation'
        AutomationConditionGETExtra_fieldsForCollection:
            title: automation_conditions
            type: object
            properties: {  }
        AutomationConditionGETFields:
            title: automation_conditions
            type: object
            properties:
                conditionId:
                    type: integer
                    nullable: false
                type:
                    type: integer
                    nullable: true
                element:
                    type: string
                    nullable: true
                    maxLength: 50
                operator:
                    type: string
                    nullable: true
                    maxLength: 5
                value:
                    type: string
                    nullable: true
                valueType:
                    type: integer
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    nullable: true
                    description: (automation)
                    allOf:
                        -
                            $ref: '#/components/schemas/AutomationGETFieldsForRelation'
        AutomationConditionGETExtra_fields:
            title: automation_conditions
            type: object
            properties: {  }
        AutomationConditionPATCHForCollection:
            title: automation_conditions
            type: array
            items:
                type: object
                properties:
                    conditionId:
                        type: integer
                        nullable: false
                    type:
                        type: integer
                        nullable: true
                    element:
                        type: string
                        nullable: true
                        maxLength: 50
                    operator:
                        type: string
                        nullable: true
                        maxLength: 5
                    value:
                        type: string
                        nullable: true
                    valueType:
                        type: integer
                        nullable: true
                    additionalOptions:
                        type: string
                        nullable: true
                    automation:
                        nullable: true
                        description: 'integer or object (automation)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AutomationPATCHForRelation'
                required:
                    - conditionId
        AutomationConditionPATCH:
            title: automation_conditions
            type: object
            properties:
                type:
                    type: integer
                    nullable: true
                element:
                    type: string
                    nullable: true
                    maxLength: 50
                operator:
                    type: string
                    nullable: true
                    maxLength: 5
                value:
                    type: string
                    nullable: true
                valueType:
                    type: integer
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    nullable: true
                    description: 'integer or object (automation)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AutomationPATCHForRelation'
        AutomationConditionPOSTForCollection:
            title: automation_conditions
            type: array
            items:
                type: object
                properties:
                    type:
                        type: integer
                        nullable: true
                    element:
                        type: string
                        nullable: true
                        maxLength: 50
                    operator:
                        type: string
                        nullable: true
                        maxLength: 5
                    value:
                        type: string
                        nullable: true
                    valueType:
                        type: integer
                        nullable: true
                    additionalOptions:
                        type: string
                        nullable: true
                    automation:
                        nullable: true
                        description: 'integer or object (automation)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AutomationPOSTForRelation'
        AutomationConditionPOST:
            title: automation_conditions
            type: object
            properties:
                type:
                    type: integer
                    nullable: true
                element:
                    type: string
                    nullable: true
                    maxLength: 50
                operator:
                    type: string
                    nullable: true
                    maxLength: 5
                value:
                    type: string
                    nullable: true
                valueType:
                    type: integer
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    nullable: true
                    description: 'integer or object (automation)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AutomationPOSTForRelation'
        AutomationLogGETFieldsForCollection:
            title: automation_logs
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                automationId:
                    type: integer
                    nullable: true
                conditionId:
                    type: integer
                    nullable: true
                actionId:
                    type: integer
                    nullable: true
                logValue:
                    type: string
                    nullable: true
                logDate:
                    type: string
                    nullable: true
                    format: date-time
        AutomationLogGETExtra_fieldsForCollection:
            title: automation_logs
            type: object
            properties: {  }
        AutomationLogGETFields:
            title: automation_logs
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                automationId:
                    type: integer
                    nullable: true
                conditionId:
                    type: integer
                    nullable: true
                actionId:
                    type: integer
                    nullable: true
                logValue:
                    type: string
                    nullable: true
                logDate:
                    type: string
                    nullable: true
                    format: date-time
        AutomationLogGETExtra_fields:
            title: automation_logs
            type: object
            properties: {  }
        AutomationLogPATCHForCollection:
            title: automation_logs
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    automationId:
                        type: integer
                        nullable: true
                    conditionId:
                        type: integer
                        nullable: true
                    actionId:
                        type: integer
                        nullable: true
                    logValue:
                        type: string
                        nullable: true
                    logDate:
                        type: string
                        nullable: true
                        format: date-time
                required:
                    - id
        AutomationLogPATCH:
            title: automation_logs
            type: object
            properties:
                automationId:
                    type: integer
                    nullable: true
                conditionId:
                    type: integer
                    nullable: true
                actionId:
                    type: integer
                    nullable: true
                logValue:
                    type: string
                    nullable: true
                logDate:
                    type: string
                    nullable: true
                    format: date-time
        AutomationLogPOSTForCollection:
            title: automation_logs
            type: array
            items:
                type: object
                properties:
                    automationId:
                        type: integer
                        nullable: true
                    conditionId:
                        type: integer
                        nullable: true
                    actionId:
                        type: integer
                        nullable: true
                    logValue:
                        type: string
                        nullable: true
                    logDate:
                        type: string
                        nullable: true
                        format: date-time
        AutomationLogPOST:
            title: automation_logs
            type: object
            properties:
                automationId:
                    type: integer
                    nullable: true
                conditionId:
                    type: integer
                    nullable: true
                actionId:
                    type: integer
                    nullable: true
                logValue:
                    type: string
                    nullable: true
                logDate:
                    type: string
                    nullable: true
                    format: date-time
        AutomationQueueGETFieldsForCollection:
            title: automation_queues
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                value:
                    type: string
                    nullable: true
                automationAction:
                    nullable: true
                    description: (automationAction)
                    allOf:
                        -
                            $ref: '#/components/schemas/AutomationActionGETFieldsForRelation'
        AutomationQueueGETExtra_fieldsForCollection:
            title: automation_queues
            type: object
            properties: {  }
        AutomationQueueGETFields:
            title: automation_queues
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                value:
                    type: string
                    nullable: true
                automationAction:
                    nullable: true
                    description: (automationAction)
                    allOf:
                        -
                            $ref: '#/components/schemas/AutomationActionGETFieldsForRelation'
        AutomationQueueGETExtra_fields:
            title: automation_queues
            type: object
            properties: {  }
        AutomationQueuePATCHForCollection:
            title: automation_queues
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    value:
                        type: string
                        nullable: true
                    automationAction:
                        nullable: true
                        description: 'integer or object (automationAction)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AutomationActionPATCHForRelation'
                required:
                    - id
        AutomationQueuePATCH:
            title: automation_queues
            type: object
            properties:
                value:
                    type: string
                    nullable: true
                automationAction:
                    nullable: true
                    description: 'integer or object (automationAction)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AutomationActionPATCHForRelation'
        AutomationQueuePOSTForCollection:
            title: automation_queues
            type: array
            items:
                type: object
                properties:
                    value:
                        type: string
                        nullable: true
                    automationAction:
                        nullable: true
                        description: 'integer or object (automationAction)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AutomationActionPOSTForRelation'
        AutomationQueuePOST:
            title: automation_queues
            type: object
            properties:
                value:
                    type: string
                    nullable: true
                automationAction:
                    nullable: true
                    description: 'integer or object (automationAction)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AutomationActionPOSTForRelation'
        AutomationTriggerGETFieldsForCollection:
            title: automation_triggers
            type: object
            properties:
                triggerId:
                    type: integer
                    nullable: false
                type:
                    type: integer
                    nullable: true
                value:
                    type: string
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    nullable: true
                    description: (automation)
                    allOf:
                        -
                            $ref: '#/components/schemas/AutomationGETFieldsForRelation'
        AutomationTriggerGETExtra_fieldsForCollection:
            title: automation_triggers
            type: object
            properties: {  }
        AutomationTriggerGETFields:
            title: automation_triggers
            type: object
            properties:
                triggerId:
                    type: integer
                    nullable: false
                type:
                    type: integer
                    nullable: true
                value:
                    type: string
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    nullable: true
                    description: (automation)
                    allOf:
                        -
                            $ref: '#/components/schemas/AutomationGETFieldsForRelation'
        AutomationTriggerGETExtra_fields:
            title: automation_triggers
            type: object
            properties: {  }
        AutomationTriggerPATCHForCollection:
            title: automation_triggers
            type: array
            items:
                type: object
                properties:
                    triggerId:
                        type: integer
                        nullable: false
                    type:
                        type: integer
                        nullable: true
                    value:
                        type: string
                        nullable: true
                    additionalOptions:
                        type: string
                        nullable: true
                    automation:
                        nullable: true
                        description: 'integer or object (automation)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AutomationPATCHForRelation'
                required:
                    - triggerId
        AutomationTriggerPATCH:
            title: automation_triggers
            type: object
            properties:
                type:
                    type: integer
                    nullable: true
                value:
                    type: string
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    nullable: true
                    description: 'integer or object (automation)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AutomationPATCHForRelation'
        AutomationTriggerPOSTForCollection:
            title: automation_triggers
            type: array
            items:
                type: object
                properties:
                    type:
                        type: integer
                        nullable: true
                    value:
                        type: string
                        nullable: true
                    additionalOptions:
                        type: string
                        nullable: true
                    automation:
                        nullable: true
                        description: 'integer or object (automation)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AutomationPOSTForRelation'
        AutomationTriggerPOST:
            title: automation_triggers
            type: object
            properties:
                type:
                    type: integer
                    nullable: true
                value:
                    type: string
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    nullable: true
                    description: 'integer or object (automation)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AutomationPOSTForRelation'
        AutomationGETFieldsForRelation:
            title: automations
            type: object
            properties:
                automationId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                isActive:
                    type: boolean
                    nullable: true
                isMultiple:
                    type: boolean
                    nullable: true
        AutomationGETExtra_fieldsForRelation:
            title: automations
            type: object
            properties: {  }
        AutomationPATCHForRelation:
            title: automations
            type: object
            properties:
                automationId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                isActive:
                    type: boolean
                    nullable: true
                isMultiple:
                    type: boolean
                    nullable: true
            required:
                - automationId
                - name
        AutomationPOSTForRelation:
            title: automations
            type: object
            properties:
                automationId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                isActive:
                    type: boolean
                    nullable: true
                isMultiple:
                    type: boolean
                    nullable: true
            required:
                - automationId
                - name
        AutomationActionGETFieldsForRelation:
            title: automation_actions
            type: object
            properties:
                actionId:
                    type: integer
                    nullable: false
                type:
                    type: integer
                    nullable: true
                element:
                    type: string
                    nullable: true
                    maxLength: 50
                operator:
                    type: string
                    nullable: true
                    maxLength: 5
                value:
                    type: string
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    type: object
                    nullable: true
                    description: (automation)
        AutomationActionGETExtra_fieldsForRelation:
            title: automation_actions
            type: object
            properties: {  }
        AutomationActionPATCHForRelation:
            title: automation_actions
            type: object
            properties:
                actionId:
                    type: integer
                    nullable: false
                type:
                    type: integer
                    nullable: true
                element:
                    type: string
                    nullable: true
                    maxLength: 50
                operator:
                    type: string
                    nullable: true
                    maxLength: 5
                value:
                    type: string
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    type: integer
                    nullable: true
                    description: 'integer or object (automation)'
            required:
                - actionId
        AutomationActionPOSTForRelation:
            title: automation_actions
            type: object
            properties:
                actionId:
                    type: integer
                    nullable: false
                type:
                    type: integer
                    nullable: true
                element:
                    type: string
                    nullable: true
                    maxLength: 50
                operator:
                    type: string
                    nullable: true
                    maxLength: 5
                value:
                    type: string
                    nullable: true
                additionalOptions:
                    type: string
                    nullable: true
                automation:
                    type: integer
                    nullable: true
                    description: 'integer or object (automation)'
            required:
                - actionId
    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 generate price list.'
            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
        AutomationGETFieldsForCollection:
            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/AutomationGETFieldsForCollection'
        AutomationGETExtra_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/AutomationGETExtra_fieldsForCollection'
        AutomationGETFields:
            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/AutomationGETFields'
        AutomationGETExtra_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/AutomationGETExtra_fields'
        AutomationActionGETFieldsForCollection:
            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/AutomationActionGETFieldsForCollection'
        AutomationActionGETExtra_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/AutomationActionGETExtra_fieldsForCollection'
        AutomationActionGETFields:
            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/AutomationActionGETFields'
        AutomationActionGETExtra_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/AutomationActionGETExtra_fields'
        AutomationConditionGETFieldsForCollection:
            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/AutomationConditionGETFieldsForCollection'
        AutomationConditionGETExtra_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/AutomationConditionGETExtra_fieldsForCollection'
        AutomationConditionGETFields:
            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/AutomationConditionGETFields'
        AutomationConditionGETExtra_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/AutomationConditionGETExtra_fields'
        AutomationLogGETFieldsForCollection:
            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/AutomationLogGETFieldsForCollection'
        AutomationLogGETExtra_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/AutomationLogGETExtra_fieldsForCollection'
        AutomationLogGETFields:
            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/AutomationLogGETFields'
        AutomationLogGETExtra_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/AutomationLogGETExtra_fields'
        AutomationQueueGETFieldsForCollection:
            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/AutomationQueueGETFieldsForCollection'
        AutomationQueueGETExtra_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/AutomationQueueGETExtra_fieldsForCollection'
        AutomationQueueGETFields:
            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/AutomationQueueGETFields'
        AutomationQueueGETExtra_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/AutomationQueueGETExtra_fields'
        AutomationTriggerGETFieldsForCollection:
            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/AutomationTriggerGETFieldsForCollection'
        AutomationTriggerGETExtra_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/AutomationTriggerGETExtra_fieldsForCollection'
        AutomationTriggerGETFields:
            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/AutomationTriggerGETFields'
        AutomationTriggerGETExtra_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/AutomationTriggerGETExtra_fields'
        AutomationGETFieldsForRelation:
            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/AutomationGETFieldsForRelation'
        AutomationGETExtra_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/AutomationGETExtra_fieldsForRelation'
        AutomationActionGETFieldsForRelation:
            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/AutomationActionGETFieldsForRelation'
        AutomationActionGETExtra_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/AutomationActionGETExtra_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'
        AutomationPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationPATCHForCollection'
                            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/AutomationGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationGETExtra_fieldsForCollection'
                        type: object
        AutomationPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationPATCH'
                            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/AutomationGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationGETExtra_fields'
                        type: object
        AutomationPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationPOSTForCollection'
                            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/AutomationGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationGETExtra_fieldsForCollection'
                        type: object
        AutomationPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationPOST'
                            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/AutomationGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationGETExtra_fields'
                        type: object
        AutomationActionPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationActionPATCHForCollection'
                            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/AutomationActionGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationActionGETExtra_fieldsForCollection'
                        type: object
        AutomationActionPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationActionPATCH'
                            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/AutomationActionGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationActionGETExtra_fields'
                        type: object
        AutomationActionPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationActionPOSTForCollection'
                            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/AutomationActionGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationActionGETExtra_fieldsForCollection'
                        type: object
        AutomationActionPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationActionPOST'
                            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/AutomationActionGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationActionGETExtra_fields'
                        type: object
        AutomationConditionPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationConditionPATCHForCollection'
                            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/AutomationConditionGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationConditionGETExtra_fieldsForCollection'
                        type: object
        AutomationConditionPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationConditionPATCH'
                            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/AutomationConditionGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationConditionGETExtra_fields'
                        type: object
        AutomationConditionPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationConditionPOSTForCollection'
                            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/AutomationConditionGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationConditionGETExtra_fieldsForCollection'
                        type: object
        AutomationConditionPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationConditionPOST'
                            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/AutomationConditionGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationConditionGETExtra_fields'
                        type: object
        AutomationLogPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationLogPATCHForCollection'
                            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/AutomationLogGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationLogGETExtra_fieldsForCollection'
                        type: object
        AutomationLogPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationLogPATCH'
                            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/AutomationLogGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationLogGETExtra_fields'
                        type: object
        AutomationLogPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationLogPOSTForCollection'
                            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/AutomationLogGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationLogGETExtra_fieldsForCollection'
                        type: object
        AutomationLogPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationLogPOST'
                            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/AutomationLogGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationLogGETExtra_fields'
                        type: object
        AutomationQueuePATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationQueuePATCHForCollection'
                            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/AutomationQueueGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationQueueGETExtra_fieldsForCollection'
                        type: object
        AutomationQueuePATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationQueuePATCH'
                            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/AutomationQueueGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationQueueGETExtra_fields'
                        type: object
        AutomationQueuePOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationQueuePOSTForCollection'
                            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/AutomationQueueGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationQueueGETExtra_fieldsForCollection'
                        type: object
        AutomationQueuePOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationQueuePOST'
                            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/AutomationQueueGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationQueueGETExtra_fields'
                        type: object
        AutomationTriggerPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationTriggerPATCHForCollection'
                            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/AutomationTriggerGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationTriggerGETExtra_fieldsForCollection'
                        type: object
        AutomationTriggerPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationTriggerPATCH'
                            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/AutomationTriggerGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationTriggerGETExtra_fields'
                        type: object
        AutomationTriggerPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationTriggerPOSTForCollection'
                            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/AutomationTriggerGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationTriggerGETExtra_fieldsForCollection'
                        type: object
        AutomationTriggerPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationTriggerPOST'
                            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/AutomationTriggerGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationTriggerGETExtra_fields'
                        type: object
        AutomationPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationPATCHForRelation'
                            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/AutomationGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationGETExtra_fieldsForRelation'
                        type: object
        AutomationPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationPOSTForRelation'
                            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/AutomationGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationGETExtra_fieldsForRelation'
                        type: object
        AutomationActionPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationActionPATCHForRelation'
                            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/AutomationActionGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationActionGETExtra_fieldsForRelation'
                        type: object
        AutomationActionPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AutomationActionPOSTForRelation'
                            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/AutomationActionGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AutomationActionGETExtra_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: Automation
    -
        name: AutomationAction
    -
        name: AutomationCondition
    -
        name: AutomationLog
    -
        name: AutomationQueue
    -
        name: AutomationTrigger
