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/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/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/campaigns/meta:
        get:
            description: '**Credential levels for modules:**<br />0: none<br />1: show<br />2: edit<br />3: create<br />4: delete<br /><br />**Credential levels for fields and extra_fields:**<br />0: none<br />1: show<br />2: edit<br />'
            operationId: getMetaCampaign
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignGETFields'
                -
                    $ref: '#/components/parameters/CampaignGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - Campaign
    '/api/campaigns/{id}':
        get:
            description: 'Get data item'
            operationId: getCampaign
            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/CampaignGETFields'
                -
                    $ref: '#/components/parameters/CampaignGETExtra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - Campaign
        delete:
            description: 'Delete data item'
            operationId: deleteCampaign
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - Campaign
        patch:
            description: 'Patch data item'
            operationId: patchCampaign
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/CampaignPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - Campaign
    /api/campaigns:
        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: getCampaigns
            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/CampaignGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - Campaign
        post:
            description: 'Post data item/ collection'
            operationId: postCampaigns
            requestBody:
                $ref: '#/components/requestBodies/CampaignPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - Campaign
        delete:
            description: 'Delete data collection'
            operationId: deleteCampaigns
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    name: filter
                    in: query
                    description: 'Data filtering. Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
                    required: true
                    style: deepObject
                    schema:
                        type: array
                        items:
                            type: object
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - Campaign
        patch:
            description: 'Patch data collection'
            operationId: patchCampaigns
            requestBody:
                $ref: '#/components/requestBodies/CampaignPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - Campaign
    /api/campaigns/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getAutoselectCampaigns
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - Campaign
    '/api/campaigns/{id}/generate/pdf':
        post:
            description: 'Generate data item pdf'
            operationId: generatePdfCampaign
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestGeneratePdf'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - Campaign
    /api/campaign_attributes/meta:
        get:
            description: '**Credential levels for modules:**<br />0: none<br />1: show<br />2: edit<br />3: create<br />4: delete<br /><br />**Credential levels for fields and extra_fields:**<br />0: none<br />1: show<br />2: edit<br />'
            operationId: getMetaCampaignAttribute
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignAttributeGETFields'
                -
                    $ref: '#/components/parameters/CampaignAttributeGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - CampaignAttribute
    '/api/campaign_attributes/{id}':
        get:
            description: 'Get data item'
            operationId: getCampaignAttribute
            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/CampaignAttributeGETFields'
                -
                    $ref: '#/components/parameters/CampaignAttributeGETExtra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - CampaignAttribute
        delete:
            description: 'Delete data item'
            operationId: deleteCampaignAttribute
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - CampaignAttribute
        patch:
            description: 'Patch data item'
            operationId: patchCampaignAttribute
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/CampaignAttributePATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignAttribute
    /api/campaign_attributes:
        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: getCampaignAttributes
            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/CampaignAttributeGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignAttributeGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignAttribute
        post:
            description: 'Post data item/ collection'
            operationId: postCampaignAttributes
            requestBody:
                $ref: '#/components/requestBodies/CampaignAttributePOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignAttribute
        delete:
            description: 'Delete data collection'
            operationId: deleteCampaignAttributes
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    name: filter
                    in: query
                    description: 'Data filtering. Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
                    required: true
                    style: deepObject
                    schema:
                        type: array
                        items:
                            type: object
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignAttribute
        patch:
            description: 'Patch data collection'
            operationId: patchCampaignAttributes
            requestBody:
                $ref: '#/components/requestBodies/CampaignAttributePATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignAttribute
    /api/campaign_attributes/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getAutoselectCampaignAttributes
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignAttributeGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignAttributeGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignAttribute
    '/api/campaign_attributes/{id}/generate/pdf':
        post:
            description: 'Generate data item pdf'
            operationId: generatePdfCampaignAttribute
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestGeneratePdf'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignAttribute
    /api/campaign_attribute_to_campaigns/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaCampaignAttributeToCampaign
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignAttributeToCampaignGETFields'
                -
                    $ref: '#/components/parameters/CampaignAttributeToCampaignGETExtra_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:
                - CampaignAttributeToCampaign
    '/api/campaign_attribute_to_campaigns/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getCampaignAttributeToCampaign
            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/CampaignAttributeToCampaignGETFields'
                -
                    $ref: '#/components/parameters/CampaignAttributeToCampaignGETExtra_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:
                - CampaignAttributeToCampaign
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteCampaignAttributeToCampaign
            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:
                - CampaignAttributeToCampaign
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchCampaignAttributeToCampaign
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/CampaignAttributeToCampaignPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CampaignAttributeToCampaign
    /api/campaign_attribute_to_campaigns:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getCampaignAttributeToCampaigns
            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/CampaignAttributeToCampaignGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignAttributeToCampaignGETExtra_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:
                - CampaignAttributeToCampaign
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postCampaignAttributeToCampaigns
            requestBody:
                $ref: '#/components/requestBodies/CampaignAttributeToCampaignPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CampaignAttributeToCampaign
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteCampaignAttributeToCampaigns
            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:
                - CampaignAttributeToCampaign
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchCampaignAttributeToCampaigns
            requestBody:
                $ref: '#/components/requestBodies/CampaignAttributeToCampaignPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CampaignAttributeToCampaign
    /api/campaign_attribute_to_campaigns/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectCampaignAttributeToCampaigns
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignAttributeToCampaignGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignAttributeToCampaignGETExtra_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:
                - CampaignAttributeToCampaign
    '/api/campaign_attribute_to_campaigns/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfCampaignAttributeToCampaign
            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:
                - CampaignAttributeToCampaign
    /api/campaign_conditions/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaCampaignCondition
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignConditionGETFields'
                -
                    $ref: '#/components/parameters/CampaignConditionGETExtra_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:
                - CampaignCondition
    '/api/campaign_conditions/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getCampaignCondition
            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/CampaignConditionGETFields'
                -
                    $ref: '#/components/parameters/CampaignConditionGETExtra_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:
                - CampaignCondition
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteCampaignCondition
            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:
                - CampaignCondition
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchCampaignCondition
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/CampaignConditionPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CampaignCondition
    /api/campaign_conditions:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getCampaignConditions
            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/CampaignConditionGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignConditionGETExtra_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:
                - CampaignCondition
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postCampaignConditions
            requestBody:
                $ref: '#/components/requestBodies/CampaignConditionPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CampaignCondition
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteCampaignConditions
            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:
                - CampaignCondition
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchCampaignConditions
            requestBody:
                $ref: '#/components/requestBodies/CampaignConditionPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CampaignCondition
    /api/campaign_conditions/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectCampaignConditions
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignConditionGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignConditionGETExtra_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:
                - CampaignCondition
    '/api/campaign_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: generatePdfCampaignCondition
            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:
                - CampaignCondition
    /api/campaign_condition_sections/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaCampaignConditionSection
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignConditionSectionGETFields'
                -
                    $ref: '#/components/parameters/CampaignConditionSectionGETExtra_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:
                - CampaignConditionSection
    '/api/campaign_condition_sections/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getCampaignConditionSection
            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/CampaignConditionSectionGETFields'
                -
                    $ref: '#/components/parameters/CampaignConditionSectionGETExtra_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:
                - CampaignConditionSection
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteCampaignConditionSection
            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:
                - CampaignConditionSection
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchCampaignConditionSection
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/CampaignConditionSectionPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CampaignConditionSection
    /api/campaign_condition_sections:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getCampaignConditionSections
            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/CampaignConditionSectionGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignConditionSectionGETExtra_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:
                - CampaignConditionSection
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postCampaignConditionSections
            requestBody:
                $ref: '#/components/requestBodies/CampaignConditionSectionPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CampaignConditionSection
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteCampaignConditionSections
            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:
                - CampaignConditionSection
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchCampaignConditionSections
            requestBody:
                $ref: '#/components/requestBodies/CampaignConditionSectionPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CampaignConditionSection
    /api/campaign_condition_sections/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectCampaignConditionSections
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignConditionSectionGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignConditionSectionGETExtra_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:
                - CampaignConditionSection
    '/api/campaign_condition_sections/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfCampaignConditionSection
            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:
                - CampaignConditionSection
    /api/campaign_opportunities/meta:
        get:
            description: '**Credential levels for modules:**<br />0: none<br />1: show<br />2: edit<br />3: create<br />4: delete<br /><br />**Credential levels for fields and extra_fields:**<br />0: none<br />1: show<br />2: edit<br />'
            operationId: getMetaCampaignOpportunity
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignOpportunityGETFields'
                -
                    $ref: '#/components/parameters/CampaignOpportunityGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - CampaignOpportunity
    '/api/campaign_opportunities/{id}':
        get:
            description: 'Get data item'
            operationId: getCampaignOpportunity
            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/CampaignOpportunityGETFields'
                -
                    $ref: '#/components/parameters/CampaignOpportunityGETExtra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - CampaignOpportunity
        delete:
            description: 'Delete data item'
            operationId: deleteCampaignOpportunity
            parameters:
                -
                    $ref: '#/components/parameters/id'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - CampaignOpportunity
        patch:
            description: 'Patch data item'
            operationId: patchCampaignOpportunity
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/CampaignOpportunityPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignOpportunity
    /api/campaign_opportunities:
        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: getCampaignOpportunities
            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/CampaignOpportunityGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignOpportunityGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignOpportunity
        post:
            description: 'Post data item/ collection'
            operationId: postCampaignOpportunities
            requestBody:
                $ref: '#/components/requestBodies/CampaignOpportunityPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignOpportunity
        delete:
            description: 'Delete data collection'
            operationId: deleteCampaignOpportunities
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    name: filter
                    in: query
                    description: 'Data filtering. Filter types: <ul><li>eq - equal, you can ignore this parameter in query,</li><li>neq - different from</li><li>lt - less than</li><li>lte - smaller, equal to from</li><li>gt - exceed from</li><li>gte - much, equal from</li><li>isNull - is empty (you cannot enter a filter value)</li><li>isNotNull - is non-empty (do not specify filter value)</li><li>in - belongs to (filter value should be an array)</li><li>notIn - does not belong to (filter value should be an array)</li><li>like - equal word expressed (you can use a query with e.g.%, remember only about proper URL formatting)</li><li>ilike - LIKE, which is case insensitive (UPPER function)</li><li>notLike - uneven word expressed (you can use here a query with e.g.%, you should only remember about proper URL formatting)</li><li>hasText - (like ilike), %% is added to search</li></ul>**Query example:** filter[accountUsers.id][isNotNull]&filter[name][ilike]=guest&filter[id]=88550'
                    required: true
                    style: deepObject
                    schema:
                        type: array
                        items:
                            type: object
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignOpportunity
        patch:
            description: 'Patch data collection'
            operationId: patchCampaignOpportunities
            requestBody:
                $ref: '#/components/requestBodies/CampaignOpportunityPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignOpportunity
    /api/campaign_opportunities/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getAutoselectCampaignOpportunities
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignOpportunityGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignOpportunityGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignOpportunity
    '/api/campaign_opportunities/{id}/generate/pdf':
        post:
            description: 'Generate data item pdf'
            operationId: generatePdfCampaignOpportunity
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/RequestGeneratePdf'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignOpportunity
    /api/campaign_opportunity_change_logs/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaCampaignOpportunityChangeLog
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignOpportunityChangeLogGETFields'
                -
                    $ref: '#/components/parameters/CampaignOpportunityChangeLogGETExtra_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:
                - CampaignOpportunityChangeLog
    '/api/campaign_opportunity_change_logs/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getCampaignOpportunityChangeLog
            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/CampaignOpportunityChangeLogGETFields'
                -
                    $ref: '#/components/parameters/CampaignOpportunityChangeLogGETExtra_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:
                - CampaignOpportunityChangeLog
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteCampaignOpportunityChangeLog
            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:
                - CampaignOpportunityChangeLog
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchCampaignOpportunityChangeLog
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/CampaignOpportunityChangeLogPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CampaignOpportunityChangeLog
    /api/campaign_opportunity_change_logs:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getCampaignOpportunityChangeLogs
            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/CampaignOpportunityChangeLogGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignOpportunityChangeLogGETExtra_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:
                - CampaignOpportunityChangeLog
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postCampaignOpportunityChangeLogs
            requestBody:
                $ref: '#/components/requestBodies/CampaignOpportunityChangeLogPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CampaignOpportunityChangeLog
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteCampaignOpportunityChangeLogs
            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:
                - CampaignOpportunityChangeLog
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchCampaignOpportunityChangeLogs
            requestBody:
                $ref: '#/components/requestBodies/CampaignOpportunityChangeLogPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CampaignOpportunityChangeLog
    /api/campaign_opportunity_change_logs/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectCampaignOpportunityChangeLogs
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignOpportunityChangeLogGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignOpportunityChangeLogGETExtra_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:
                - CampaignOpportunityChangeLog
    '/api/campaign_opportunity_change_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: generatePdfCampaignOpportunityChangeLog
            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:
                - CampaignOpportunityChangeLog
    /api/campaign_phases/meta:
        get:
            description: '**Credential levels for modules:**<br />0: none<br />1: show<br />2: edit<br />3: create<br />4: delete<br /><br />**Credential levels for fields and extra_fields:**<br />0: none<br />1: show<br />2: edit<br />'
            operationId: getMetaCampaignPhase
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignPhaseGETFields'
                -
                    $ref: '#/components/parameters/CampaignPhaseGETExtra_fields'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - CampaignPhase
    '/api/campaign_phases/{id}':
        get:
            description: 'Get data item'
            operationId: getCampaignPhase
            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/CampaignPhaseGETFields'
                -
                    $ref: '#/components/parameters/CampaignPhaseGETExtra_fields'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint/ item does not exist'
            tags:
                - CampaignPhase
        delete:
            description: 'Delete data item'
            operationId: deleteDataItem
            parameters:
                -
                    $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/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'
            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/campaign_phases:
        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: getCampaignPhases
            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/CampaignPhaseGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignPhaseGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignPhase
        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'
        delete:
            description: 'Delete data collection'
            operationId: deleteDataCollection
            parameters:
                -
                    $ref: '#/components/parameters/module'
                -
                    $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'
        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/campaign_phases/autoselect:
        get:
            description: 'Get data collection for autoselect, in this mode the module''s credentials are not checked.'
            operationId: getAutoselectCampaignPhases
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CampaignPhaseGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CampaignPhaseGETExtra_fieldsForCollection'
                -
                    $ref: '#/components/parameters/order'
                -
                    $ref: '#/components/parameters/filter'
                -
                    $ref: '#/components/parameters/filterOr'
                -
                    $ref: '#/components/parameters/filterAnd'
                -
                    $ref: '#/components/parameters/page_limit'
                -
                    $ref: '#/components/parameters/page_offset'
                -
                    $ref: '#/components/parameters/page_number'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            tags:
                - CampaignPhase
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
            type: object
        CampaignGETFieldsForCollection:
            title: campaigns
            type: object
            properties:
                campaignId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                description:
                    type: string
                    nullable: true
                status:
                    type: integer
                    nullable: true
                isValueActive:
                    type: boolean
                    nullable: true
                redirect:
                    type: boolean
                    nullable: true
        CampaignGETExtra_fieldsForCollection:
            title: campaigns
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        CampaignGETFields:
            title: campaigns
            type: object
            properties:
                campaignId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                description:
                    type: string
                    nullable: true
                status:
                    type: integer
                    nullable: true
                isValueActive:
                    type: boolean
                    nullable: true
                redirect:
                    type: boolean
                    nullable: true
        CampaignGETExtra_fields:
            title: campaigns
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        CampaignPATCHForCollection:
            title: campaigns
            type: array
            items:
                type: object
                properties:
                    campaignId:
                        type: integer
                        nullable: false
                    name:
                        type: string
                        nullable: false
                        maxLength: 255
                    description:
                        type: string
                        nullable: true
                    status:
                        type: integer
                        nullable: true
                    isValueActive:
                        type: boolean
                        nullable: true
                    redirect:
                        type: boolean
                        nullable: true
                required:
                    - name
        CampaignPATCH:
            title: campaigns
            type: object
            properties:
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                description:
                    type: string
                    nullable: true
                status:
                    type: integer
                    nullable: true
                isValueActive:
                    type: boolean
                    nullable: true
                redirect:
                    type: boolean
                    nullable: true
            required:
                - name
        CampaignPOSTForCollection:
            title: campaigns
            type: array
            items:
                type: object
                properties:
                    name:
                        type: string
                        nullable: false
                        maxLength: 255
                    description:
                        type: string
                        nullable: true
                    status:
                        type: integer
                        nullable: true
                    isValueActive:
                        type: boolean
                        nullable: true
                    redirect:
                        type: boolean
                        nullable: true
                required:
                    - name
        CampaignPOST:
            title: campaigns
            type: object
            properties:
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                description:
                    type: string
                    nullable: true
                status:
                    type: integer
                    nullable: true
                isValueActive:
                    type: boolean
                    nullable: true
                redirect:
                    type: boolean
                    nullable: true
            required:
                - name
        CampaignAttributeGETFieldsForCollection:
            title: campaign_attributes
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                type:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 55
                isActive:
                    type: boolean
                    nullable: true
                option:
                    type: string
                    nullable: true
                    maxLength: 10
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                additionalOptions:
                    type: string
                    nullable: true
                    maxLength: 10
                win:
                    type: integer
                    nullable: false
                loss:
                    type: integer
                    nullable: false
                creation:
                    type: integer
                    nullable: false
                filterAsTags:
                    type: boolean
                    nullable: true
                searchingForOptions:
                    type: boolean
                    nullable: true
                parent:
                    nullable: true
                    description: (campaignAttribute)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignAttributeGETFieldsForRelation'
                attributeMultis:
                    nullable: false
                    description: '(campaignAttributeMulti)<br />Available for: list, listMulti'
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignAttributeMultiGETFieldsForRelation'
        CampaignAttributeGETExtra_fieldsForCollection:
            title: campaign_attributes
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        CampaignAttributeGETFields:
            title: campaign_attributes
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                type:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 55
                isActive:
                    type: boolean
                    nullable: true
                option:
                    type: string
                    nullable: true
                    maxLength: 10
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                additionalOptions:
                    type: string
                    nullable: true
                    maxLength: 10
                win:
                    type: integer
                    nullable: false
                loss:
                    type: integer
                    nullable: false
                creation:
                    type: integer
                    nullable: false
                filterAsTags:
                    type: boolean
                    nullable: true
                searchingForOptions:
                    type: boolean
                    nullable: true
                parent:
                    nullable: true
                    description: (campaignAttribute)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignAttributeGETFieldsForRelation'
                attributeMultis:
                    nullable: false
                    description: '(campaignAttributeMulti)<br />Available for: list, listMulti'
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignAttributeMultiGETFieldsForRelation'
        CampaignAttributeGETExtra_fields:
            title: campaign_attributes
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        CampaignAttributePATCHForCollection:
            title: campaign_attributes
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    type:
                        type: integer
                        nullable: false
                    name:
                        type: string
                        nullable: false
                        maxLength: 55
                    isActive:
                        type: boolean
                        nullable: true
                    option:
                        type: string
                        nullable: true
                        maxLength: 10
                    ordering:
                        type: integer
                        nullable: true
                        description: 'Display priority'
                    additionalOptions:
                        type: string
                        nullable: true
                        maxLength: 10
                    win:
                        type: integer
                        nullable: false
                    loss:
                        type: integer
                        nullable: false
                    creation:
                        type: integer
                        nullable: false
                    filterAsTags:
                        type: boolean
                        nullable: true
                    searchingForOptions:
                        type: boolean
                        nullable: true
                    parent:
                        nullable: true
                        description: 'integer or object (campaignAttribute)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignAttributePATCHForRelation'
                    attributeMultis:
                        nullable: false
                        description: 'integer or array<object> or object (campaignAttributeMulti)<br />Available for: list, listMulti'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                type: array
                                items:
                                    $ref: '#/components/schemas/CampaignAttributeMultiPATCHForRelation'
                required:
                    - type
                    - name
        CampaignAttributePATCH:
            title: campaign_attributes
            type: object
            properties:
                type:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 55
                isActive:
                    type: boolean
                    nullable: true
                option:
                    type: string
                    nullable: true
                    maxLength: 10
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                additionalOptions:
                    type: string
                    nullable: true
                    maxLength: 10
                win:
                    type: integer
                    nullable: false
                loss:
                    type: integer
                    nullable: false
                creation:
                    type: integer
                    nullable: false
                filterAsTags:
                    type: boolean
                    nullable: true
                searchingForOptions:
                    type: boolean
                    nullable: true
                parent:
                    nullable: true
                    description: 'integer or object (campaignAttribute)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignAttributePATCHForRelation'
                attributeMultis:
                    nullable: false
                    description: 'integer or array<object> or object (campaignAttributeMulti)<br />Available for: list, listMulti'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            type: array
                            items:
                                $ref: '#/components/schemas/CampaignAttributeMultiPATCHForRelation'
            required:
                - type
                - name
        CampaignAttributePOSTForCollection:
            title: campaign_attributes
            type: array
            items:
                type: object
                properties:
                    type:
                        type: integer
                        nullable: false
                    name:
                        type: string
                        nullable: false
                        maxLength: 55
                    isActive:
                        type: boolean
                        nullable: true
                    option:
                        type: string
                        nullable: true
                        maxLength: 10
                    ordering:
                        type: integer
                        nullable: true
                        description: 'Display priority'
                    additionalOptions:
                        type: string
                        nullable: true
                        maxLength: 10
                    win:
                        type: integer
                        nullable: false
                    loss:
                        type: integer
                        nullable: false
                    creation:
                        type: integer
                        nullable: false
                    filterAsTags:
                        type: boolean
                        nullable: true
                    searchingForOptions:
                        type: boolean
                        nullable: true
                    parent:
                        nullable: true
                        description: 'integer or object (campaignAttribute)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignAttributePOSTForRelation'
                    attributeMultis:
                        nullable: false
                        description: 'integer or array<object> or object (campaignAttributeMulti)<br />Available for: list, listMulti'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                type: array
                                items:
                                    $ref: '#/components/schemas/CampaignAttributeMultiPOSTForRelation'
                required:
                    - type
                    - name
        CampaignAttributePOST:
            title: campaign_attributes
            type: object
            properties:
                type:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 55
                isActive:
                    type: boolean
                    nullable: true
                option:
                    type: string
                    nullable: true
                    maxLength: 10
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                additionalOptions:
                    type: string
                    nullable: true
                    maxLength: 10
                win:
                    type: integer
                    nullable: false
                loss:
                    type: integer
                    nullable: false
                creation:
                    type: integer
                    nullable: false
                filterAsTags:
                    type: boolean
                    nullable: true
                searchingForOptions:
                    type: boolean
                    nullable: true
                parent:
                    nullable: true
                    description: 'integer or object (campaignAttribute)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignAttributePOSTForRelation'
                attributeMultis:
                    nullable: false
                    description: 'integer or array<object> or object (campaignAttributeMulti)<br />Available for: list, listMulti'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            type: array
                            items:
                                $ref: '#/components/schemas/CampaignAttributeMultiPOSTForRelation'
            required:
                - type
                - name
        CampaignAttributeToCampaignGETFieldsForCollection:
            title: campaign_attribute_to_campaigns
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                filter:
                    type: boolean
                    nullable: false
                attribute:
                    nullable: true
                    description: (campaignAttribute)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignAttributeGETFieldsForRelation'
                campaign:
                    nullable: true
                    description: (campaign)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignGETFieldsForRelation'
        CampaignAttributeToCampaignGETExtra_fieldsForCollection:
            title: campaign_attribute_to_campaigns
            type: object
            properties: {  }
        CampaignAttributeToCampaignGETFields:
            title: campaign_attribute_to_campaigns
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                filter:
                    type: boolean
                    nullable: false
                attribute:
                    nullable: true
                    description: (campaignAttribute)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignAttributeGETFieldsForRelation'
                campaign:
                    nullable: true
                    description: (campaign)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignGETFieldsForRelation'
        CampaignAttributeToCampaignGETExtra_fields:
            title: campaign_attribute_to_campaigns
            type: object
            properties: {  }
        CampaignAttributeToCampaignPATCHForCollection:
            title: campaign_attribute_to_campaigns
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    ordering:
                        type: integer
                        nullable: true
                        description: 'Display priority'
                    filter:
                        type: boolean
                        nullable: false
                    attribute:
                        nullable: true
                        description: 'integer or object (campaignAttribute)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignAttributePATCHForRelation'
                    campaign:
                        nullable: true
                        description: 'integer or object (campaign)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignPATCHForRelation'
                required:
                    - id
        CampaignAttributeToCampaignPATCH:
            title: campaign_attribute_to_campaigns
            type: object
            properties:
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                filter:
                    type: boolean
                    nullable: false
                attribute:
                    nullable: true
                    description: 'integer or object (campaignAttribute)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignAttributePATCHForRelation'
                campaign:
                    nullable: true
                    description: 'integer or object (campaign)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignPATCHForRelation'
        CampaignAttributeToCampaignPOSTForCollection:
            title: campaign_attribute_to_campaigns
            type: array
            items:
                type: object
                properties:
                    ordering:
                        type: integer
                        nullable: true
                        description: 'Display priority'
                    filter:
                        type: boolean
                        nullable: false
                    attribute:
                        nullable: true
                        description: 'integer or object (campaignAttribute)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignAttributePOSTForRelation'
                    campaign:
                        nullable: true
                        description: 'integer or object (campaign)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignPOSTForRelation'
        CampaignAttributeToCampaignPOST:
            title: campaign_attribute_to_campaigns
            type: object
            properties:
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                filter:
                    type: boolean
                    nullable: false
                attribute:
                    nullable: true
                    description: 'integer or object (campaignAttribute)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignAttributePOSTForRelation'
                campaign:
                    nullable: true
                    description: 'integer or object (campaign)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignPOSTForRelation'
        CampaignConditionGETFieldsForCollection:
            title: campaign_conditions
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                fieldType:
                    type: integer
                    nullable: false
                fieldName:
                    type: string
                    nullable: false
                    maxLength: 255
                conditionType:
                    type: integer
                    nullable: false
                requiredValue:
                    type: string
                    nullable: true
                    maxLength: 255
                relationType:
                    type: integer
                    nullable: false
                section:
                    nullable: false
                    description: (campaignConditionSection)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignConditionSectionGETFieldsForRelation'
                attribute:
                    nullable: true
                    description: (campaignAttribute)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignAttributeGETFieldsForRelation'
        CampaignConditionGETExtra_fieldsForCollection:
            title: campaign_conditions
            type: object
            properties: {  }
        CampaignConditionGETFields:
            title: campaign_conditions
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                fieldType:
                    type: integer
                    nullable: false
                fieldName:
                    type: string
                    nullable: false
                    maxLength: 255
                conditionType:
                    type: integer
                    nullable: false
                requiredValue:
                    type: string
                    nullable: true
                    maxLength: 255
                relationType:
                    type: integer
                    nullable: false
                section:
                    nullable: false
                    description: (campaignConditionSection)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignConditionSectionGETFieldsForRelation'
                attribute:
                    nullable: true
                    description: (campaignAttribute)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignAttributeGETFieldsForRelation'
        CampaignConditionGETExtra_fields:
            title: campaign_conditions
            type: object
            properties: {  }
        CampaignConditionPATCHForCollection:
            title: campaign_conditions
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    fieldType:
                        type: integer
                        nullable: false
                    fieldName:
                        type: string
                        nullable: false
                        maxLength: 255
                    conditionType:
                        type: integer
                        nullable: false
                    requiredValue:
                        type: string
                        nullable: true
                        maxLength: 255
                    relationType:
                        type: integer
                        nullable: false
                    section:
                        nullable: false
                        description: 'integer or object (campaignConditionSection)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignConditionSectionPATCHForRelation'
                    attribute:
                        nullable: true
                        description: 'integer or object (campaignAttribute)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignAttributePATCHForRelation'
                required:
                    - id
                    - fieldType
                    - fieldName
                    - conditionType
                    - relationType
                    - section
        CampaignConditionPATCH:
            title: campaign_conditions
            type: object
            properties:
                fieldType:
                    type: integer
                    nullable: false
                fieldName:
                    type: string
                    nullable: false
                    maxLength: 255
                conditionType:
                    type: integer
                    nullable: false
                requiredValue:
                    type: string
                    nullable: true
                    maxLength: 255
                relationType:
                    type: integer
                    nullable: false
                section:
                    nullable: false
                    description: 'integer or object (campaignConditionSection)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignConditionSectionPATCHForRelation'
                attribute:
                    nullable: true
                    description: 'integer or object (campaignAttribute)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignAttributePATCHForRelation'
            required:
                - fieldType
                - fieldName
                - conditionType
                - relationType
                - section
        CampaignConditionPOSTForCollection:
            title: campaign_conditions
            type: array
            items:
                type: object
                properties:
                    fieldType:
                        type: integer
                        nullable: false
                    fieldName:
                        type: string
                        nullable: false
                        maxLength: 255
                    conditionType:
                        type: integer
                        nullable: false
                    requiredValue:
                        type: string
                        nullable: true
                        maxLength: 255
                    relationType:
                        type: integer
                        nullable: false
                    section:
                        nullable: false
                        description: 'integer or object (campaignConditionSection)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignConditionSectionPOSTForRelation'
                    attribute:
                        nullable: true
                        description: 'integer or object (campaignAttribute)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignAttributePOSTForRelation'
                required:
                    - fieldType
                    - fieldName
                    - conditionType
                    - relationType
                    - section
        CampaignConditionPOST:
            title: campaign_conditions
            type: object
            properties:
                fieldType:
                    type: integer
                    nullable: false
                fieldName:
                    type: string
                    nullable: false
                    maxLength: 255
                conditionType:
                    type: integer
                    nullable: false
                requiredValue:
                    type: string
                    nullable: true
                    maxLength: 255
                relationType:
                    type: integer
                    nullable: false
                section:
                    nullable: false
                    description: 'integer or object (campaignConditionSection)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignConditionSectionPOSTForRelation'
                attribute:
                    nullable: true
                    description: 'integer or object (campaignAttribute)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignAttributePOSTForRelation'
            required:
                - fieldType
                - fieldName
                - conditionType
                - relationType
                - section
        CampaignConditionSectionGETFieldsForCollection:
            title: campaign_condition_sections
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                relationType:
                    type: integer
                    nullable: false
                phase:
                    nullable: false
                    description: (campaignPhase)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignPhaseGETFieldsForRelation'
        CampaignConditionSectionGETExtra_fieldsForCollection:
            title: campaign_condition_sections
            type: object
            properties: {  }
        CampaignConditionSectionGETFields:
            title: campaign_condition_sections
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                relationType:
                    type: integer
                    nullable: false
                phase:
                    nullable: false
                    description: (campaignPhase)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignPhaseGETFieldsForRelation'
        CampaignConditionSectionGETExtra_fields:
            title: campaign_condition_sections
            type: object
            properties: {  }
        CampaignConditionSectionPATCHForCollection:
            title: campaign_condition_sections
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    relationType:
                        type: integer
                        nullable: false
                    phase:
                        nullable: false
                        description: 'integer or object (campaignPhase)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignPhasePATCHForRelation'
                required:
                    - id
                    - relationType
                    - phase
        CampaignConditionSectionPATCH:
            title: campaign_condition_sections
            type: object
            properties:
                relationType:
                    type: integer
                    nullable: false
                phase:
                    nullable: false
                    description: 'integer or object (campaignPhase)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignPhasePATCHForRelation'
            required:
                - relationType
                - phase
        CampaignConditionSectionPOSTForCollection:
            title: campaign_condition_sections
            type: array
            items:
                type: object
                properties:
                    relationType:
                        type: integer
                        nullable: false
                    phase:
                        nullable: false
                        description: 'integer or object (campaignPhase)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignPhasePOSTForRelation'
                required:
                    - relationType
                    - phase
        CampaignConditionSectionPOST:
            title: campaign_condition_sections
            type: object
            properties:
                relationType:
                    type: integer
                    nullable: false
                phase:
                    nullable: false
                    description: 'integer or object (campaignPhase)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignPhasePOSTForRelation'
            required:
                - relationType
                - phase
        CampaignOpportunityGETFieldsForCollection:
            title: campaign_opportunities
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                title:
                    type: string
                    nullable: false
                    maxLength: 500
                description:
                    type: string
                    nullable: true
                value:
                    type: string
                    nullable: true
                currency:
                    type: string
                    nullable: true
                    maxLength: 3
                startDate:
                    type: string
                    nullable: true
                    format: date-time
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                estimatedCloseDate:
                    type: string
                    nullable: true
                    format: date
                realCloseDate:
                    type: string
                    nullable: true
                    format: date
                status:
                    type: string
                    nullable: true
                    maxLength: 1
                lostCausedBy:
                    type: string
                    nullable: true
                lostDescription:
                    type: string
                    nullable: true
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                accountUser:
                    nullable: true
                    description: (accountUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
                campaign:
                    nullable: false
                    description: (campaign)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignGETFieldsForRelation'
                campaignPhase:
                    nullable: true
                    description: (campaignPhase)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignPhaseGETFieldsForRelation'
                company:
                    nullable: true
                    description: (accountCompany)
                    allOf:
                        -
                            $ref: '#/components/schemas/AccountCompanyGETFieldsForRelation'
                user:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        CampaignOpportunityGETExtra_fieldsForCollection:
            title: campaign_opportunities
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        CampaignOpportunityGETFields:
            title: campaign_opportunities
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                title:
                    type: string
                    nullable: false
                    maxLength: 500
                description:
                    type: string
                    nullable: true
                value:
                    type: string
                    nullable: true
                currency:
                    type: string
                    nullable: true
                    maxLength: 3
                startDate:
                    type: string
                    nullable: true
                    format: date-time
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                estimatedCloseDate:
                    type: string
                    nullable: true
                    format: date
                realCloseDate:
                    type: string
                    nullable: true
                    format: date
                status:
                    type: string
                    nullable: true
                    maxLength: 1
                lostCausedBy:
                    type: string
                    nullable: true
                lostDescription:
                    type: string
                    nullable: true
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                accountUser:
                    nullable: true
                    description: (accountUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
                campaign:
                    nullable: false
                    description: (campaign)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignGETFieldsForRelation'
                campaignPhase:
                    nullable: true
                    description: (campaignPhase)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignPhaseGETFieldsForRelation'
                company:
                    nullable: true
                    description: (accountCompany)
                    allOf:
                        -
                            $ref: '#/components/schemas/AccountCompanyGETFieldsForRelation'
                user:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        CampaignOpportunityGETExtra_fields:
            title: campaign_opportunities
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        CampaignOpportunityPATCHForCollection:
            title: campaign_opportunities
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    title:
                        type: string
                        nullable: false
                        maxLength: 500
                    description:
                        type: string
                        nullable: true
                    value:
                        type: string
                        nullable: true
                    currency:
                        type: string
                        nullable: true
                        maxLength: 3
                    estimatedCloseDate:
                        type: string
                        nullable: true
                        format: date
                    status:
                        type: string
                        nullable: true
                        maxLength: 1
                    lostCausedBy:
                        type: string
                        nullable: true
                    lostDescription:
                        type: string
                        nullable: true
                    ordering:
                        type: integer
                        nullable: true
                        description: 'Display priority'
                    accountUser:
                        nullable: true
                        description: 'integer or object (accountUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AccountUserPATCHForRelation'
                    campaign:
                        nullable: false
                        description: 'integer or object (campaign)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignPATCHForRelation'
                    campaignPhase:
                        nullable: true
                        description: 'integer or object (campaignPhase)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignPhasePATCHForRelation'
                    company:
                        nullable: true
                        description: 'integer or object (accountCompany)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AccountCompanyPATCHForRelation'
                    user:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPATCHForRelation'
                    relations:
                        type: object
                        nullable: true
                        description: extra_field
                    attributes:
                        type: array
                        nullable: true
                        items:
                            type: integer
                        description: extra_field
                required:
                    - title
                    - campaign
        CampaignOpportunityPATCH:
            title: campaign_opportunities
            type: object
            properties:
                title:
                    type: string
                    nullable: false
                    maxLength: 500
                description:
                    type: string
                    nullable: true
                value:
                    type: string
                    nullable: true
                currency:
                    type: string
                    nullable: true
                    maxLength: 3
                estimatedCloseDate:
                    type: string
                    nullable: true
                    format: date
                status:
                    type: string
                    nullable: true
                    maxLength: 1
                lostCausedBy:
                    type: string
                    nullable: true
                lostDescription:
                    type: string
                    nullable: true
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                accountUser:
                    nullable: true
                    description: 'integer or object (accountUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AccountUserPATCHForRelation'
                campaign:
                    nullable: false
                    description: 'integer or object (campaign)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignPATCHForRelation'
                campaignPhase:
                    nullable: true
                    description: 'integer or object (campaignPhase)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignPhasePATCHForRelation'
                company:
                    nullable: true
                    description: 'integer or object (accountCompany)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AccountCompanyPATCHForRelation'
                user:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPATCHForRelation'
                relations:
                    type: object
                    nullable: true
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
            required:
                - title
                - campaign
        CampaignOpportunityPOSTForCollection:
            title: campaign_opportunities
            type: array
            items:
                type: object
                properties:
                    title:
                        type: string
                        nullable: false
                        maxLength: 500
                    description:
                        type: string
                        nullable: true
                    value:
                        type: string
                        nullable: true
                    currency:
                        type: string
                        nullable: true
                        maxLength: 3
                    estimatedCloseDate:
                        type: string
                        nullable: true
                        format: date
                    status:
                        type: string
                        nullable: true
                        maxLength: 1
                    lostCausedBy:
                        type: string
                        nullable: true
                    lostDescription:
                        type: string
                        nullable: true
                    ordering:
                        type: integer
                        nullable: true
                        description: 'Display priority'
                    accountUser:
                        nullable: true
                        description: 'integer or object (accountUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AccountUserPOSTForRelation'
                    campaign:
                        nullable: false
                        description: 'integer or object (campaign)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignPOSTForRelation'
                    campaignPhase:
                        nullable: true
                        description: 'integer or object (campaignPhase)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignPhasePOSTForRelation'
                    company:
                        nullable: true
                        description: 'integer or object (accountCompany)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AccountCompanyPOSTForRelation'
                    user:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPOSTForRelation'
                    relations:
                        type: object
                        nullable: true
                        description: extra_field
                    attributes:
                        type: array
                        nullable: true
                        items:
                            type: integer
                        description: extra_field
                required:
                    - title
                    - campaign
        CampaignOpportunityPOST:
            title: campaign_opportunities
            type: object
            properties:
                title:
                    type: string
                    nullable: false
                    maxLength: 500
                description:
                    type: string
                    nullable: true
                value:
                    type: string
                    nullable: true
                currency:
                    type: string
                    nullable: true
                    maxLength: 3
                estimatedCloseDate:
                    type: string
                    nullable: true
                    format: date
                status:
                    type: string
                    nullable: true
                    maxLength: 1
                lostCausedBy:
                    type: string
                    nullable: true
                lostDescription:
                    type: string
                    nullable: true
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                accountUser:
                    nullable: true
                    description: 'integer or object (accountUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AccountUserPOSTForRelation'
                campaign:
                    nullable: false
                    description: 'integer or object (campaign)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignPOSTForRelation'
                campaignPhase:
                    nullable: true
                    description: 'integer or object (campaignPhase)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignPhasePOSTForRelation'
                company:
                    nullable: true
                    description: 'integer or object (accountCompany)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AccountCompanyPOSTForRelation'
                user:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPOSTForRelation'
                relations:
                    type: object
                    nullable: true
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
            required:
                - title
                - campaign
        CampaignOpportunityChangeLogGETFieldsForCollection:
            title: campaign_opportunity_change_logs
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                fieldType:
                    type: integer
                    nullable: true
                fieldName:
                    type: string
                    nullable: true
                    maxLength: 55
                oldValue:
                    type: string
                    nullable: true
                newValue:
                    type: string
                    nullable: true
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                username:
                    type: string
                    nullable: true
                    maxLength: 255
                accountUser:
                    nullable: true
                    description: (accountUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
                attribute:
                    nullable: true
                    description: (campaignAttribute)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignAttributeGETFieldsForRelation'
                opportunity:
                    nullable: true
                    description: (campaignOpportunity)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignOpportunityGETFieldsForRelation'
                userUser:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        CampaignOpportunityChangeLogGETExtra_fieldsForCollection:
            title: campaign_opportunity_change_logs
            type: object
            properties: {  }
        CampaignOpportunityChangeLogGETFields:
            title: campaign_opportunity_change_logs
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                fieldType:
                    type: integer
                    nullable: true
                fieldName:
                    type: string
                    nullable: true
                    maxLength: 55
                oldValue:
                    type: string
                    nullable: true
                newValue:
                    type: string
                    nullable: true
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                username:
                    type: string
                    nullable: true
                    maxLength: 255
                accountUser:
                    nullable: true
                    description: (accountUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
                attribute:
                    nullable: true
                    description: (campaignAttribute)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignAttributeGETFieldsForRelation'
                opportunity:
                    nullable: true
                    description: (campaignOpportunity)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignOpportunityGETFieldsForRelation'
                userUser:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        CampaignOpportunityChangeLogGETExtra_fields:
            title: campaign_opportunity_change_logs
            type: object
            properties: {  }
        CampaignOpportunityChangeLogPATCHForCollection:
            title: campaign_opportunity_change_logs
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    fieldType:
                        type: integer
                        nullable: true
                    fieldName:
                        type: string
                        nullable: true
                        maxLength: 55
                    oldValue:
                        type: string
                        nullable: true
                    newValue:
                        type: string
                        nullable: true
                    modificationDate:
                        type: string
                        nullable: true
                        format: date-time
                    username:
                        type: string
                        nullable: true
                        maxLength: 255
                    accountUser:
                        nullable: true
                        description: 'integer or object (accountUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AccountUserPATCHForRelation'
                    attribute:
                        nullable: true
                        description: 'integer or object (campaignAttribute)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignAttributePATCHForRelation'
                    opportunity:
                        nullable: true
                        description: 'integer or object (campaignOpportunity)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignOpportunityPATCHForRelation'
                    userUser:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPATCHForRelation'
                required:
                    - id
        CampaignOpportunityChangeLogPATCH:
            title: campaign_opportunity_change_logs
            type: object
            properties:
                fieldType:
                    type: integer
                    nullable: true
                fieldName:
                    type: string
                    nullable: true
                    maxLength: 55
                oldValue:
                    type: string
                    nullable: true
                newValue:
                    type: string
                    nullable: true
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                username:
                    type: string
                    nullable: true
                    maxLength: 255
                accountUser:
                    nullable: true
                    description: 'integer or object (accountUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AccountUserPATCHForRelation'
                attribute:
                    nullable: true
                    description: 'integer or object (campaignAttribute)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignAttributePATCHForRelation'
                opportunity:
                    nullable: true
                    description: 'integer or object (campaignOpportunity)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignOpportunityPATCHForRelation'
                userUser:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPATCHForRelation'
        CampaignOpportunityChangeLogPOSTForCollection:
            title: campaign_opportunity_change_logs
            type: array
            items:
                type: object
                properties:
                    fieldType:
                        type: integer
                        nullable: true
                    fieldName:
                        type: string
                        nullable: true
                        maxLength: 55
                    oldValue:
                        type: string
                        nullable: true
                    newValue:
                        type: string
                        nullable: true
                    modificationDate:
                        type: string
                        nullable: true
                        format: date-time
                    username:
                        type: string
                        nullable: true
                        maxLength: 255
                    accountUser:
                        nullable: true
                        description: 'integer or object (accountUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AccountUserPOSTForRelation'
                    attribute:
                        nullable: true
                        description: 'integer or object (campaignAttribute)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignAttributePOSTForRelation'
                    opportunity:
                        nullable: true
                        description: 'integer or object (campaignOpportunity)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignOpportunityPOSTForRelation'
                    userUser:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPOSTForRelation'
        CampaignOpportunityChangeLogPOST:
            title: campaign_opportunity_change_logs
            type: object
            properties:
                fieldType:
                    type: integer
                    nullable: true
                fieldName:
                    type: string
                    nullable: true
                    maxLength: 55
                oldValue:
                    type: string
                    nullable: true
                newValue:
                    type: string
                    nullable: true
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                username:
                    type: string
                    nullable: true
                    maxLength: 255
                accountUser:
                    nullable: true
                    description: 'integer or object (accountUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AccountUserPOSTForRelation'
                attribute:
                    nullable: true
                    description: 'integer or object (campaignAttribute)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignAttributePOSTForRelation'
                opportunity:
                    nullable: true
                    description: 'integer or object (campaignOpportunity)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignOpportunityPOSTForRelation'
                userUser:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPOSTForRelation'
        CampaignPhaseGETFieldsForCollection:
            title: campaign_phases
            type: object
            properties:
                campaignPhaseId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                campaign:
                    nullable: true
                    description: (campaign)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignGETFieldsForRelation'
        CampaignPhaseGETExtra_fieldsForCollection:
            title: campaign_phases
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        CampaignPhaseGETFields:
            title: campaign_phases
            type: object
            properties:
                campaignPhaseId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                campaign:
                    nullable: true
                    description: (campaign)
                    allOf:
                        -
                            $ref: '#/components/schemas/CampaignGETFieldsForRelation'
        CampaignPhaseGETExtra_fields:
            title: campaign_phases
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        CampaignPhasePATCHForCollection:
            title: campaign_phases
            type: array
            items:
                type: object
                properties:
                    campaignPhaseId:
                        type: integer
                        nullable: false
                    name:
                        type: string
                        nullable: false
                        maxLength: 255
                    ordering:
                        type: integer
                        nullable: true
                        description: 'Display priority'
                    campaign:
                        nullable: true
                        description: 'integer or object (campaign)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignPATCHForRelation'
                required:
                    - name
        CampaignPhasePATCH:
            title: campaign_phases
            type: object
            properties:
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                campaign:
                    nullable: true
                    description: 'integer or object (campaign)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignPATCHForRelation'
            required:
                - name
        CampaignPhasePOSTForCollection:
            title: campaign_phases
            type: array
            items:
                type: object
                properties:
                    name:
                        type: string
                        nullable: false
                        maxLength: 255
                    ordering:
                        type: integer
                        nullable: true
                        description: 'Display priority'
                    campaign:
                        nullable: true
                        description: 'integer or object (campaign)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CampaignPOSTForRelation'
                required:
                    - name
        CampaignPhasePOST:
            title: campaign_phases
            type: object
            properties:
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                campaign:
                    nullable: true
                    description: 'integer or object (campaign)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CampaignPOSTForRelation'
            required:
                - name
        CampaignAttributeGETFieldsForRelation:
            title: campaign_attributes
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                type:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 55
                isActive:
                    type: boolean
                    nullable: true
                option:
                    type: string
                    nullable: true
                    maxLength: 10
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                additionalOptions:
                    type: string
                    nullable: true
                    maxLength: 10
                win:
                    type: integer
                    nullable: false
                loss:
                    type: integer
                    nullable: false
                creation:
                    type: integer
                    nullable: false
                filterAsTags:
                    type: boolean
                    nullable: true
                searchingForOptions:
                    type: boolean
                    nullable: true
                parent:
                    type: object
                    nullable: true
                    description: (campaignAttribute)
                attributeMultis:
                    type: object
                    nullable: false
                    description: '(campaignAttributeMulti)<br />Available for: list, listMulti'
        CampaignAttributeGETExtra_fieldsForRelation:
            title: campaign_attributes
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        CampaignAttributeMultiGETFieldsForRelation:
            title: campaign_attribute_multis
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 55
                isActive:
                    type: boolean
                    nullable: true
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                attribute:
                    type: object
                    nullable: true
                    description: (campaignAttribute)
        CampaignAttributeMultiGETExtra_fieldsForRelation:
            title: campaign_attribute_multis
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        CampaignAttributePATCHForRelation:
            title: campaign_attributes
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                type:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 55
                isActive:
                    type: boolean
                    nullable: true
                option:
                    type: string
                    nullable: true
                    maxLength: 10
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                additionalOptions:
                    type: string
                    nullable: true
                    maxLength: 10
                win:
                    type: integer
                    nullable: false
                loss:
                    type: integer
                    nullable: false
                creation:
                    type: integer
                    nullable: false
                filterAsTags:
                    type: boolean
                    nullable: true
                searchingForOptions:
                    type: boolean
                    nullable: true
                parent:
                    type: integer
                    nullable: true
                    description: 'integer or object (campaignAttribute)'
                attributeMultis:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (campaignAttributeMulti)<br />Available for: list, listMulti'
            required:
                - type
                - name
        CampaignAttributeMultiPATCHForRelation:
            title: campaign_attribute_multis
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 55
                isActive:
                    type: boolean
                    nullable: true
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                attribute:
                    type: integer
                    nullable: true
                    description: 'integer or object (campaignAttribute)'
            required:
                - name
        CampaignAttributePOSTForRelation:
            title: campaign_attributes
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                type:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 55
                isActive:
                    type: boolean
                    nullable: true
                option:
                    type: string
                    nullable: true
                    maxLength: 10
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                additionalOptions:
                    type: string
                    nullable: true
                    maxLength: 10
                win:
                    type: integer
                    nullable: false
                loss:
                    type: integer
                    nullable: false
                creation:
                    type: integer
                    nullable: false
                filterAsTags:
                    type: boolean
                    nullable: true
                searchingForOptions:
                    type: boolean
                    nullable: true
                parent:
                    type: integer
                    nullable: true
                    description: 'integer or object (campaignAttribute)'
                attributeMultis:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (campaignAttributeMulti)<br />Available for: list, listMulti'
            required:
                - type
                - name
        CampaignAttributeMultiPOSTForRelation:
            title: campaign_attribute_multis
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 55
                isActive:
                    type: boolean
                    nullable: true
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                attribute:
                    type: integer
                    nullable: true
                    description: 'integer or object (campaignAttribute)'
            required:
                - name
        CampaignGETFieldsForRelation:
            title: campaigns
            type: object
            properties:
                campaignId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                description:
                    type: string
                    nullable: true
                status:
                    type: integer
                    nullable: true
                isValueActive:
                    type: boolean
                    nullable: true
                redirect:
                    type: boolean
                    nullable: true
        CampaignGETExtra_fieldsForRelation:
            title: campaigns
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        CampaignPATCHForRelation:
            title: campaigns
            type: object
            properties:
                campaignId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                description:
                    type: string
                    nullable: true
                status:
                    type: integer
                    nullable: true
                isValueActive:
                    type: boolean
                    nullable: true
                redirect:
                    type: boolean
                    nullable: true
            required:
                - name
        CampaignPOSTForRelation:
            title: campaigns
            type: object
            properties:
                campaignId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                description:
                    type: string
                    nullable: true
                status:
                    type: integer
                    nullable: true
                isValueActive:
                    type: boolean
                    nullable: true
                redirect:
                    type: boolean
                    nullable: true
            required:
                - name
        CampaignConditionSectionGETFieldsForRelation:
            title: campaign_condition_sections
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                relationType:
                    type: integer
                    nullable: false
                phase:
                    type: object
                    nullable: false
                    description: (campaignPhase)
        CampaignConditionSectionGETExtra_fieldsForRelation:
            title: campaign_condition_sections
            type: object
            properties: {  }
        CampaignConditionSectionPATCHForRelation:
            title: campaign_condition_sections
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                relationType:
                    type: integer
                    nullable: false
                phase:
                    type: integer
                    nullable: false
                    description: 'integer or object (campaignPhase)'
            required:
                - id
                - relationType
                - phase
        CampaignConditionSectionPOSTForRelation:
            title: campaign_condition_sections
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                relationType:
                    type: integer
                    nullable: false
                phase:
                    type: integer
                    nullable: false
                    description: 'integer or object (campaignPhase)'
            required:
                - id
                - relationType
                - phase
        CampaignPhaseGETFieldsForRelation:
            title: campaign_phases
            type: object
            properties:
                campaignPhaseId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                campaign:
                    type: object
                    nullable: true
                    description: (campaign)
        CampaignPhaseGETExtra_fieldsForRelation:
            title: campaign_phases
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        CampaignPhasePATCHForRelation:
            title: campaign_phases
            type: object
            properties:
                campaignPhaseId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                campaign:
                    type: integer
                    nullable: true
                    description: 'integer or object (campaign)'
            required:
                - name
        CampaignPhasePOSTForRelation:
            title: campaign_phases
            type: object
            properties:
                campaignPhaseId:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: false
                    maxLength: 255
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                campaign:
                    type: integer
                    nullable: true
                    description: 'integer or object (campaign)'
            required:
                - name
        AccountUserGETFieldsForRelation:
            title: account_users
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                username:
                    type: string
                    nullable: true
                    maxLength: 50
                firstName:
                    type: string
                    nullable: true
                    maxLength: 70
                lastName:
                    type: string
                    nullable: true
                    maxLength: 70
                email:
                    type: string
                    nullable: true
                    maxLength: 150
                verified:
                    type: string
                    nullable: true
                    maxLength: 40
                phoneNumber:
                    type: string
                    nullable: true
                    maxLength: 50
                mobileNumber:
                    type: string
                    nullable: true
                    maxLength: 50
                newsletterActive:
                    type: boolean
                    nullable: false
                defaultCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                    description: 'Currency must be available in exchange or exchangeHistory'
                availableCurrencies:
                    type: string
                    nullable: true
                language:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                authorizedToMakeOrders:
                    type: boolean
                    nullable: true
                lastLogin:
                    type: string
                    nullable: true
                    format: date-time
                lastLoginIp:
                    type: string
                    nullable: true
                    maxLength: 50
                lastFailedLoginIp:
                    type: string
                    nullable: true
                    maxLength: 50
                lastFailedLogin:
                    type: string
                    nullable: true
                    format: date-time
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'External system name'
                activeCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                    description: 'Currency must be available in exchange or exchangeHistory'
                systemTheme:
                    type: string
                    nullable: true
                    maxLength: 50
                    description: 'Comma separated list of strings:<br />cosmo, flatly, lightning, lumen, yeti'
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                scoring:
                    type: integer
                    nullable: true
                defaultLanguage:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                consentProcessingPersonalData:
                    type: boolean
                    nullable: false
                failedLoginCounter:
                    type: integer
                    nullable: true
                avatar:
                    type: string
                    nullable: true
                    maxLength: 50
                isInvoiceUser:
                    type: boolean
                    nullable: true
                place:
                    type: object
                    nullable: true
                    description: '(places)<br />Address'
                company:
                    type: object
                    nullable: true
                    description: (accountCompany)
                avatarFile:
                    type: object
                    nullable: true
                    description: (file)
                userProfile:
                    type: object
                    nullable: true
                    description: (userProfile)
                additionalContacts:
                    type: object
                    nullable: false
                    description: (accountUserAdditionalContactData)
        AccountUserGETExtra_fieldsForRelation:
            title: account_users
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsShowDM'
                    description: extra_field
                fullName:
                    type: string
                    nullable: true
                    description: extra_field
                fullNameEmail:
                    type: string
                    nullable: true
                    description: extra_field
        AccountCompanyGETFieldsForRelation:
            title: account_companies
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: true
                importId:
                    type: string
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'External system name'
                shortName:
                    type: string
                    nullable: true
                    maxLength: 255
                nip:
                    type: string
                    nullable: true
                    maxLength: 25
                addressStreet:
                    type: string
                    nullable: true
                    maxLength: 255
                addressStreetNumber:
                    type: string
                    nullable: true
                    maxLength: 150
                addressLocalNumber:
                    type: string
                    nullable: true
                    maxLength: 16
                addressPostalCode:
                    type: string
                    nullable: true
                    maxLength: 25
                addressCity:
                    type: string
                    nullable: true
                    maxLength: 95
                addressCommunity:
                    type: string
                    nullable: true
                    maxLength: 60
                addressCountry:
                    type: string
                    nullable: true
                    maxLength: 35
                addressCounty:
                    type: string
                    nullable: true
                    maxLength: 60
                addressProvince:
                    type: string
                    nullable: true
                    maxLength: 95
                defaultPriceType:
                    type: integer
                    nullable: true
                    description: '2, 4, 6, ...'
                defaultLanguage:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                temporaryCreditLimit:
                    type: number
                    nullable: true
                    format: float
                creditLimitFree:
                    type: number
                    nullable: true
                    format: float
                blockOrder:
                    type: boolean
                    nullable: true
                originalCreditLimit:
                    type: number
                    nullable: true
                    format: float
                creditLimitDate:
                    type: string
                    nullable: true
                    format: date-time
                createdAt:
                    type: string
                    nullable: true
                    format: date-time
                creationType:
                    type: integer
                    nullable: true
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                vatHandling:
                    type: string
                    nullable: false
                    maxLength: 11
                ph:
                    type: object
                    nullable: true
                    description: (userUser)
                defaultDeliveryType:
                    type: object
                    nullable: true
                    description: (deliveryType)
                defaultPaymentType:
                    type: object
                    nullable: true
                    description: (paymentType)
                defaultPlace:
                    type: object
                    nullable: true
                    description: '(places)<br />Default address'
                defaultUser:
                    type: object
                    nullable: true
                    description: (accountUser)
                defaultOrderSeries:
                    type: object
                    nullable: true
                    description: (documentSeriesDefinition)
                priceCompanyGroup:
                    type: object
                    nullable: true
                    description: (priceCompanyGroup)
                accountUsers:
                    type: object
                    nullable: false
                    description: (accountUser)
                places:
                    type: object
                    nullable: false
                    description: '(places)<br />Addresses'
                additionalPhs:
                    type: object
                    nullable: true
                    description: (userUser)
        AccountCompanyGETExtra_fieldsForRelation:
            title: account_companies
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsShowDM'
                    description: extra_field
                address:
                    type: string
                    nullable: true
                    description: extra_field
                displayName:
                    type: string
                    nullable: true
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    description: extra_field
        UserUserGETFieldsForRelation:
            title: user_users
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                username:
                    type: string
                    nullable: false
                    maxLength: 50
                email:
                    type: string
                    nullable: true
                    maxLength: 50
                firstName:
                    type: string
                    nullable: true
                    maxLength: 25
                lastName:
                    type: string
                    nullable: true
                    maxLength: 35
                avatar:
                    type: string
                    nullable: true
                    maxLength: 50
                verified:
                    type: string
                    nullable: true
                    maxLength: 255
                sessionId:
                    type: string
                    nullable: true
                    maxLength: 75
                lastAction:
                    type: string
                    nullable: true
                    format: date-time
                loggedIn:
                    type: boolean
                    nullable: true
                messageOnEmail:
                    type: boolean
                    nullable: true
                phoneNumber:
                    type: string
                    nullable: true
                    maxLength: 15
                mobileNumber:
                    type: string
                    nullable: true
                    maxLength: 15
                defaultCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                availableCurrencies:
                    type: string
                    nullable: true
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importTyp:
                    type: string
                    nullable: true
                    description: 'External system name'
                language:
                    type: string
                    nullable: true
                    maxLength: 30
                lastLoginDate:
                    type: string
                    nullable: true
                    format: date-time
                lastLogoutDate:
                    type: string
                    nullable: true
                    format: date-time
                failedLoginCounter:
                    type: integer
                    nullable: true
                lastFailedLogin:
                    type: string
                    nullable: true
                    format: date-time
                defaultCallendarColor:
                    type: string
                    nullable: true
                    maxLength: 50
                resetLinkExpires:
                    type: string
                    nullable: true
                    format: date-time
                activeCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                systemTheme:
                    type: string
                    nullable: true
                    maxLength: 50
                isExternalLogin:
                    type: boolean
                    nullable: true
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                msexchange:
                    type: boolean
                    nullable: true
                uri:
                    type: string
                    nullable: true
                avatarFile:
                    type: object
                    nullable: true
                    description: (file)
                defaultCssFile:
                    type: object
                    nullable: true
                    description: (file)
                superior:
                    type: object
                    nullable: true
                    description: (userUser)
                userProfile:
                    type: object
                    nullable: true
                    description: (userProfile)
                subordinates:
                    type: object
                    nullable: false
                    description: (userUser)
        UserUserGETExtra_fieldsForRelation:
            title: user_users
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                fullName:
                    type: string
                    nullable: true
                    description: extra_field
                allSubordinates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                allSuperiors:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsShowDM'
                    description: extra_field
                subordinates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        AccountUserPATCHForRelation:
            title: account_users
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                username:
                    type: string
                    nullable: true
                    maxLength: 50
                firstName:
                    type: string
                    nullable: true
                    maxLength: 70
                lastName:
                    type: string
                    nullable: true
                    maxLength: 70
                email:
                    type: string
                    nullable: true
                    maxLength: 150
                phoneNumber:
                    type: string
                    nullable: true
                    maxLength: 50
                mobileNumber:
                    type: string
                    nullable: true
                    maxLength: 50
                newsletterActive:
                    type: boolean
                    nullable: false
                defaultCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                    description: 'Currency must be available in exchange or exchangeHistory'
                availableCurrencies:
                    type: string
                    nullable: true
                language:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                authorizedToMakeOrders:
                    type: boolean
                    nullable: true
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'External system name'
                activeCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                    description: 'Currency must be available in exchange or exchangeHistory'
                systemTheme:
                    type: string
                    nullable: true
                    maxLength: 50
                    description: 'Comma separated list of strings:<br />cosmo, flatly, lightning, lumen, yeti'
                scoring:
                    type: integer
                    nullable: true
                defaultLanguage:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                consentProcessingPersonalData:
                    type: boolean
                    nullable: false
                avatar:
                    type: string
                    nullable: true
                    maxLength: 50
                isInvoiceUser:
                    type: boolean
                    nullable: true
                place:
                    type: integer
                    nullable: true
                    description: 'integer or object (places)<br />Address'
                company:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountCompany)'
                avatarFile:
                    type: integer
                    nullable: true
                    description: 'integer or object (file)'
                userProfile:
                    type: integer
                    nullable: true
                    description: 'integer or object (userProfile)'
                additionalContacts:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (accountUserAdditionalContactData)'
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsEditDM'
                    description: extra_field
        AccountCompanyPATCHForRelation:
            title: account_companies
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: true
                importId:
                    type: string
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'External system name'
                shortName:
                    type: string
                    nullable: true
                    maxLength: 255
                nip:
                    type: string
                    nullable: true
                    maxLength: 25
                defaultPriceType:
                    type: integer
                    nullable: true
                    description: '2, 4, 6, ...'
                defaultLanguage:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                blockOrder:
                    type: boolean
                    nullable: true
                originalCreditLimit:
                    type: number
                    nullable: true
                    format: float
                vatHandling:
                    type: string
                    nullable: false
                    maxLength: 11
                ph:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                defaultDeliveryType:
                    type: integer
                    nullable: true
                    description: 'integer or object (deliveryType)'
                defaultPaymentType:
                    type: integer
                    nullable: true
                    description: 'integer or object (paymentType)'
                defaultPlace:
                    type: integer
                    nullable: true
                    description: 'integer or object (places)<br />Default address'
                defaultUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountUser)'
                defaultOrderSeries:
                    type: integer
                    nullable: true
                    description: 'integer or object (documentSeriesDefinition)'
                priceCompanyGroup:
                    type: integer
                    nullable: true
                    description: 'integer or object (priceCompanyGroup)'
                accountUsers:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (accountUser)'
                places:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (places)<br />Addresses'
                additionalPhs:
                    type: integer
                    nullable: true
                    description: 'integer or array<object> or object (userUser)'
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsEditDM'
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    description: extra_field
        UserUserPATCHForRelation:
            title: user_users
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                username:
                    type: string
                    nullable: false
                    maxLength: 50
                password:
                    type: string
                    nullable: true
                    maxLength: 40
                    writeOnly: true
                email:
                    type: string
                    nullable: true
                    maxLength: 50
                firstName:
                    type: string
                    nullable: true
                    maxLength: 25
                lastName:
                    type: string
                    nullable: true
                    maxLength: 35
                avatar:
                    type: string
                    nullable: true
                    maxLength: 50
                messageOnEmail:
                    type: boolean
                    nullable: true
                phoneNumber:
                    type: string
                    nullable: true
                    maxLength: 15
                mobileNumber:
                    type: string
                    nullable: true
                    maxLength: 15
                defaultCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                availableCurrencies:
                    type: string
                    nullable: true
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importTyp:
                    type: string
                    nullable: true
                    description: 'External system name'
                language:
                    type: string
                    nullable: true
                    maxLength: 30
                passwordCreateDate:
                    type: string
                    nullable: true
                    writeOnly: true
                    format: date-time
                defaultCallendarColor:
                    type: string
                    nullable: true
                    maxLength: 50
                passwordReset:
                    type: string
                    nullable: true
                    maxLength: 40
                    writeOnly: true
                activeCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                systemTheme:
                    type: string
                    nullable: true
                    maxLength: 50
                isExternalLogin:
                    type: boolean
                    nullable: true
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                msexchange:
                    type: boolean
                    nullable: true
                uri:
                    type: string
                    nullable: true
                avatarFile:
                    type: integer
                    nullable: true
                    description: 'integer or object (file)'
                defaultCssFile:
                    type: integer
                    nullable: true
                    description: 'integer or object (file)'
                superior:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                userProfile:
                    type: integer
                    nullable: true
                    description: 'integer or object (userProfile)'
                tokens:
                    type: integer
                    nullable: true
                    writeOnly: true
                    description: 'integer or array<object> or object (oAuth2Token)'
                subordinates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsEditDM'
                    description: extra_field
            required:
                - username
        AccountUserPOSTForRelation:
            title: account_users
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                username:
                    type: string
                    nullable: true
                    maxLength: 50
                firstName:
                    type: string
                    nullable: true
                    maxLength: 70
                lastName:
                    type: string
                    nullable: true
                    maxLength: 70
                email:
                    type: string
                    nullable: true
                    maxLength: 150
                phoneNumber:
                    type: string
                    nullable: true
                    maxLength: 50
                mobileNumber:
                    type: string
                    nullable: true
                    maxLength: 50
                newsletterActive:
                    type: boolean
                    nullable: false
                defaultCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                    description: 'Currency must be available in exchange or exchangeHistory'
                availableCurrencies:
                    type: string
                    nullable: true
                language:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                authorizedToMakeOrders:
                    type: boolean
                    nullable: true
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'External system name'
                activeCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                    description: 'Currency must be available in exchange or exchangeHistory'
                systemTheme:
                    type: string
                    nullable: true
                    maxLength: 50
                    description: 'Comma separated list of strings:<br />cosmo, flatly, lightning, lumen, yeti'
                scoring:
                    type: integer
                    nullable: true
                defaultLanguage:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                consentProcessingPersonalData:
                    type: boolean
                    nullable: false
                avatar:
                    type: string
                    nullable: true
                    maxLength: 50
                isInvoiceUser:
                    type: boolean
                    nullable: true
                place:
                    type: integer
                    nullable: true
                    description: 'integer or object (places)<br />Address'
                company:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountCompany)'
                avatarFile:
                    type: integer
                    nullable: true
                    description: 'integer or object (file)'
                userProfile:
                    type: integer
                    nullable: true
                    description: 'integer or object (userProfile)'
                additionalContacts:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (accountUserAdditionalContactData)'
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsEditDM'
                    description: extra_field
        AccountCompanyPOSTForRelation:
            title: account_companies
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                name:
                    type: string
                    nullable: true
                importId:
                    type: string
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'External system name'
                shortName:
                    type: string
                    nullable: true
                    maxLength: 255
                nip:
                    type: string
                    nullable: true
                    maxLength: 25
                defaultPriceType:
                    type: integer
                    nullable: true
                    description: '2, 4, 6, ...'
                defaultLanguage:
                    type: string
                    nullable: true
                    maxLength: 30
                    description: 'ISO 639-1'
                blockOrder:
                    type: boolean
                    nullable: true
                originalCreditLimit:
                    type: number
                    nullable: true
                    format: float
                vatHandling:
                    type: string
                    nullable: false
                    maxLength: 11
                ph:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                defaultDeliveryType:
                    type: integer
                    nullable: true
                    description: 'integer or object (deliveryType)'
                defaultPaymentType:
                    type: integer
                    nullable: true
                    description: 'integer or object (paymentType)'
                defaultPlace:
                    type: integer
                    nullable: true
                    description: 'integer or object (places)<br />Default address'
                defaultUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountUser)'
                defaultOrderSeries:
                    type: integer
                    nullable: true
                    description: 'integer or object (documentSeriesDefinition)'
                priceCompanyGroup:
                    type: integer
                    nullable: true
                    description: 'integer or object (priceCompanyGroup)'
                accountUsers:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (accountUser)'
                places:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (places)<br />Addresses'
                additionalPhs:
                    type: integer
                    nullable: true
                    description: 'integer or array<object> or object (userUser)'
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsEditDM'
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    description: extra_field
        UserUserPOSTForRelation:
            title: user_users
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                username:
                    type: string
                    nullable: false
                    maxLength: 50
                password:
                    type: string
                    nullable: true
                    maxLength: 40
                    writeOnly: true
                email:
                    type: string
                    nullable: true
                    maxLength: 50
                firstName:
                    type: string
                    nullable: true
                    maxLength: 25
                lastName:
                    type: string
                    nullable: true
                    maxLength: 35
                avatar:
                    type: string
                    nullable: true
                    maxLength: 50
                messageOnEmail:
                    type: boolean
                    nullable: true
                phoneNumber:
                    type: string
                    nullable: true
                    maxLength: 15
                mobileNumber:
                    type: string
                    nullable: true
                    maxLength: 15
                defaultCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                availableCurrencies:
                    type: string
                    nullable: true
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importTyp:
                    type: string
                    nullable: true
                    description: 'External system name'
                language:
                    type: string
                    nullable: true
                    maxLength: 30
                passwordCreateDate:
                    type: string
                    nullable: true
                    writeOnly: true
                    format: date-time
                defaultCallendarColor:
                    type: string
                    nullable: true
                    maxLength: 50
                passwordReset:
                    type: string
                    nullable: true
                    maxLength: 40
                    writeOnly: true
                activeCurrency:
                    type: string
                    nullable: true
                    maxLength: 15
                systemTheme:
                    type: string
                    nullable: true
                    maxLength: 50
                isExternalLogin:
                    type: boolean
                    nullable: true
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                msexchange:
                    type: boolean
                    nullable: true
                uri:
                    type: string
                    nullable: true
                avatarFile:
                    type: integer
                    nullable: true
                    description: 'integer or object (file)'
                defaultCssFile:
                    type: integer
                    nullable: true
                    description: 'integer or object (file)'
                superior:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                userProfile:
                    type: integer
                    nullable: true
                    description: 'integer or object (userProfile)'
                tokens:
                    type: integer
                    nullable: true
                    writeOnly: true
                    description: 'integer or array<object> or object (oAuth2Token)'
                subordinates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsEditDM'
                    description: extra_field
            required:
                - username
        CampaignOpportunityGETFieldsForRelation:
            title: campaign_opportunities
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                title:
                    type: string
                    nullable: false
                    maxLength: 500
                description:
                    type: string
                    nullable: true
                value:
                    type: string
                    nullable: true
                currency:
                    type: string
                    nullable: true
                    maxLength: 3
                startDate:
                    type: string
                    nullable: true
                    format: date-time
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                estimatedCloseDate:
                    type: string
                    nullable: true
                    format: date
                realCloseDate:
                    type: string
                    nullable: true
                    format: date
                status:
                    type: string
                    nullable: true
                    maxLength: 1
                lostCausedBy:
                    type: string
                    nullable: true
                lostDescription:
                    type: string
                    nullable: true
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                accountUser:
                    type: object
                    nullable: true
                    description: (accountUser)
                campaign:
                    type: object
                    nullable: false
                    description: (campaign)
                campaignPhase:
                    type: object
                    nullable: true
                    description: (campaignPhase)
                company:
                    type: object
                    nullable: true
                    description: (accountCompany)
                user:
                    type: object
                    nullable: true
                    description: (userUser)
        CampaignOpportunityGETExtra_fieldsForRelation:
            title: campaign_opportunities
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        CampaignOpportunityPATCHForRelation:
            title: campaign_opportunities
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                title:
                    type: string
                    nullable: false
                    maxLength: 500
                description:
                    type: string
                    nullable: true
                value:
                    type: string
                    nullable: true
                currency:
                    type: string
                    nullable: true
                    maxLength: 3
                estimatedCloseDate:
                    type: string
                    nullable: true
                    format: date
                status:
                    type: string
                    nullable: true
                    maxLength: 1
                lostCausedBy:
                    type: string
                    nullable: true
                lostDescription:
                    type: string
                    nullable: true
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                accountUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountUser)'
                campaign:
                    type: integer
                    nullable: false
                    description: 'integer or object (campaign)'
                campaignPhase:
                    type: integer
                    nullable: true
                    description: 'integer or object (campaignPhase)'
                company:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountCompany)'
                user:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                relations:
                    type: object
                    nullable: true
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
            required:
                - title
                - campaign
        CampaignOpportunityPOSTForRelation:
            title: campaign_opportunities
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                title:
                    type: string
                    nullable: false
                    maxLength: 500
                description:
                    type: string
                    nullable: true
                value:
                    type: string
                    nullable: true
                currency:
                    type: string
                    nullable: true
                    maxLength: 3
                estimatedCloseDate:
                    type: string
                    nullable: true
                    format: date
                status:
                    type: string
                    nullable: true
                    maxLength: 1
                lostCausedBy:
                    type: string
                    nullable: true
                lostDescription:
                    type: string
                    nullable: true
                ordering:
                    type: integer
                    nullable: true
                    description: 'Display priority'
                accountUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountUser)'
                campaign:
                    type: integer
                    nullable: false
                    description: 'integer or object (campaign)'
                campaignPhase:
                    type: integer
                    nullable: true
                    description: 'integer or object (campaignPhase)'
                company:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountCompany)'
                user:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                relations:
                    type: object
                    nullable: true
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
            required:
                - title
                - campaign
    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
        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
        CampaignGETFieldsForCollection:
            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/CampaignGETFieldsForCollection'
        CampaignGETExtra_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/CampaignGETExtra_fieldsForCollection'
        CampaignGETFields:
            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/CampaignGETFields'
        CampaignGETExtra_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/CampaignGETExtra_fields'
        CampaignAttributeGETFieldsForCollection:
            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/CampaignAttributeGETFieldsForCollection'
        CampaignAttributeGETExtra_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/CampaignAttributeGETExtra_fieldsForCollection'
        CampaignAttributeGETFields:
            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/CampaignAttributeGETFields'
        CampaignAttributeGETExtra_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/CampaignAttributeGETExtra_fields'
        CampaignAttributeToCampaignGETFieldsForCollection:
            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/CampaignAttributeToCampaignGETFieldsForCollection'
        CampaignAttributeToCampaignGETExtra_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/CampaignAttributeToCampaignGETExtra_fieldsForCollection'
        CampaignAttributeToCampaignGETFields:
            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/CampaignAttributeToCampaignGETFields'
        CampaignAttributeToCampaignGETExtra_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/CampaignAttributeToCampaignGETExtra_fields'
        CampaignConditionGETFieldsForCollection:
            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/CampaignConditionGETFieldsForCollection'
        CampaignConditionGETExtra_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/CampaignConditionGETExtra_fieldsForCollection'
        CampaignConditionGETFields:
            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/CampaignConditionGETFields'
        CampaignConditionGETExtra_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/CampaignConditionGETExtra_fields'
        CampaignConditionSectionGETFieldsForCollection:
            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/CampaignConditionSectionGETFieldsForCollection'
        CampaignConditionSectionGETExtra_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/CampaignConditionSectionGETExtra_fieldsForCollection'
        CampaignConditionSectionGETFields:
            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/CampaignConditionSectionGETFields'
        CampaignConditionSectionGETExtra_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/CampaignConditionSectionGETExtra_fields'
        CampaignOpportunityGETFieldsForCollection:
            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/CampaignOpportunityGETFieldsForCollection'
        CampaignOpportunityGETExtra_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/CampaignOpportunityGETExtra_fieldsForCollection'
        CampaignOpportunityGETFields:
            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/CampaignOpportunityGETFields'
        CampaignOpportunityGETExtra_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/CampaignOpportunityGETExtra_fields'
        CampaignOpportunityChangeLogGETFieldsForCollection:
            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/CampaignOpportunityChangeLogGETFieldsForCollection'
        CampaignOpportunityChangeLogGETExtra_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/CampaignOpportunityChangeLogGETExtra_fieldsForCollection'
        CampaignOpportunityChangeLogGETFields:
            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/CampaignOpportunityChangeLogGETFields'
        CampaignOpportunityChangeLogGETExtra_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/CampaignOpportunityChangeLogGETExtra_fields'
        CampaignPhaseGETFieldsForCollection:
            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/CampaignPhaseGETFieldsForCollection'
        CampaignPhaseGETExtra_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/CampaignPhaseGETExtra_fieldsForCollection'
        CampaignPhaseGETFields:
            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/CampaignPhaseGETFields'
        CampaignPhaseGETExtra_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/CampaignPhaseGETExtra_fields'
        CampaignAttributeGETFieldsForRelation:
            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/CampaignAttributeGETFieldsForRelation'
        CampaignAttributeGETExtra_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/CampaignAttributeGETExtra_fieldsForRelation'
        CampaignAttributeMultiGETFieldsForRelation:
            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/CampaignAttributeMultiGETFieldsForRelation'
        CampaignAttributeMultiGETExtra_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/CampaignAttributeMultiGETExtra_fieldsForRelation'
        CampaignGETFieldsForRelation:
            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/CampaignGETFieldsForRelation'
        CampaignGETExtra_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/CampaignGETExtra_fieldsForRelation'
        CampaignConditionSectionGETFieldsForRelation:
            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/CampaignConditionSectionGETFieldsForRelation'
        CampaignConditionSectionGETExtra_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/CampaignConditionSectionGETExtra_fieldsForRelation'
        CampaignPhaseGETFieldsForRelation:
            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/CampaignPhaseGETFieldsForRelation'
        CampaignPhaseGETExtra_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/CampaignPhaseGETExtra_fieldsForRelation'
        AccountUserGETFieldsForRelation:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
        AccountUserGETExtra_fieldsForRelation:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/AccountUserGETExtra_fieldsForRelation'
        AccountCompanyGETFieldsForRelation:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/AccountCompanyGETFieldsForRelation'
        AccountCompanyGETExtra_fieldsForRelation:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/AccountCompanyGETExtra_fieldsForRelation'
        UserUserGETFieldsForRelation:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        UserUserGETExtra_fieldsForRelation:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/UserUserGETExtra_fieldsForRelation'
        CampaignOpportunityGETFieldsForRelation:
            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/CampaignOpportunityGETFieldsForRelation'
        CampaignOpportunityGETExtra_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/CampaignOpportunityGETExtra_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'
        CampaignPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignPATCHForCollection'
                            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/CampaignGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignGETExtra_fieldsForCollection'
                        type: object
        CampaignPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignPATCH'
                            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/CampaignGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignGETExtra_fields'
                        type: object
        CampaignPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignPOSTForCollection'
                            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/CampaignGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignGETExtra_fieldsForCollection'
                        type: object
        CampaignPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignPOST'
                            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/CampaignGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignGETExtra_fields'
                        type: object
        CampaignAttributePATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignAttributePATCHForCollection'
                            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/CampaignAttributeGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignAttributeGETExtra_fieldsForCollection'
                        type: object
        CampaignAttributePATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignAttributePATCH'
                            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/CampaignAttributeGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignAttributeGETExtra_fields'
                        type: object
        CampaignAttributePOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignAttributePOSTForCollection'
                            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/CampaignAttributeGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignAttributeGETExtra_fieldsForCollection'
                        type: object
        CampaignAttributePOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignAttributePOST'
                            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/CampaignAttributeGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignAttributeGETExtra_fields'
                        type: object
        CampaignAttributeToCampaignPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignAttributeToCampaignPATCHForCollection'
                            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/CampaignAttributeToCampaignGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignAttributeToCampaignGETExtra_fieldsForCollection'
                        type: object
        CampaignAttributeToCampaignPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignAttributeToCampaignPATCH'
                            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/CampaignAttributeToCampaignGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignAttributeToCampaignGETExtra_fields'
                        type: object
        CampaignAttributeToCampaignPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignAttributeToCampaignPOSTForCollection'
                            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/CampaignAttributeToCampaignGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignAttributeToCampaignGETExtra_fieldsForCollection'
                        type: object
        CampaignAttributeToCampaignPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignAttributeToCampaignPOST'
                            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/CampaignAttributeToCampaignGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignAttributeToCampaignGETExtra_fields'
                        type: object
        CampaignConditionPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignConditionPATCHForCollection'
                            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/CampaignConditionGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignConditionGETExtra_fieldsForCollection'
                        type: object
        CampaignConditionPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignConditionPATCH'
                            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/CampaignConditionGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignConditionGETExtra_fields'
                        type: object
        CampaignConditionPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignConditionPOSTForCollection'
                            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/CampaignConditionGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignConditionGETExtra_fieldsForCollection'
                        type: object
        CampaignConditionPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignConditionPOST'
                            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/CampaignConditionGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignConditionGETExtra_fields'
                        type: object
        CampaignConditionSectionPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignConditionSectionPATCHForCollection'
                            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/CampaignConditionSectionGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignConditionSectionGETExtra_fieldsForCollection'
                        type: object
        CampaignConditionSectionPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignConditionSectionPATCH'
                            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/CampaignConditionSectionGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignConditionSectionGETExtra_fields'
                        type: object
        CampaignConditionSectionPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignConditionSectionPOSTForCollection'
                            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/CampaignConditionSectionGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignConditionSectionGETExtra_fieldsForCollection'
                        type: object
        CampaignConditionSectionPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignConditionSectionPOST'
                            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/CampaignConditionSectionGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignConditionSectionGETExtra_fields'
                        type: object
        CampaignOpportunityPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignOpportunityPATCHForCollection'
                            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/CampaignOpportunityGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignOpportunityGETExtra_fieldsForCollection'
                        type: object
        CampaignOpportunityPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignOpportunityPATCH'
                            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/CampaignOpportunityGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignOpportunityGETExtra_fields'
                        type: object
        CampaignOpportunityPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignOpportunityPOSTForCollection'
                            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/CampaignOpportunityGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignOpportunityGETExtra_fieldsForCollection'
                        type: object
        CampaignOpportunityPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignOpportunityPOST'
                            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/CampaignOpportunityGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignOpportunityGETExtra_fields'
                        type: object
        CampaignOpportunityChangeLogPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignOpportunityChangeLogPATCHForCollection'
                            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/CampaignOpportunityChangeLogGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignOpportunityChangeLogGETExtra_fieldsForCollection'
                        type: object
        CampaignOpportunityChangeLogPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignOpportunityChangeLogPATCH'
                            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/CampaignOpportunityChangeLogGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignOpportunityChangeLogGETExtra_fields'
                        type: object
        CampaignOpportunityChangeLogPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignOpportunityChangeLogPOSTForCollection'
                            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/CampaignOpportunityChangeLogGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignOpportunityChangeLogGETExtra_fieldsForCollection'
                        type: object
        CampaignOpportunityChangeLogPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignOpportunityChangeLogPOST'
                            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/CampaignOpportunityChangeLogGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignOpportunityChangeLogGETExtra_fields'
                        type: object
        CampaignPhasePATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignPhasePATCHForCollection'
                            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/CampaignPhaseGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignPhaseGETExtra_fieldsForCollection'
                        type: object
        CampaignPhasePATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignPhasePATCH'
                            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/CampaignPhaseGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignPhaseGETExtra_fields'
                        type: object
        CampaignPhasePOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignPhasePOSTForCollection'
                            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/CampaignPhaseGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignPhaseGETExtra_fieldsForCollection'
                        type: object
        CampaignPhasePOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignPhasePOST'
                            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/CampaignPhaseGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignPhaseGETExtra_fields'
                        type: object
        CampaignAttributePATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignAttributePATCHForRelation'
                            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/CampaignAttributeGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignAttributeGETExtra_fieldsForRelation'
                        type: object
        CampaignAttributeMultiPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignAttributeMultiPATCHForRelation'
                            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/CampaignAttributeMultiGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignAttributeMultiGETExtra_fieldsForRelation'
                        type: object
        CampaignAttributePOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignAttributePOSTForRelation'
                            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/CampaignAttributeGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignAttributeGETExtra_fieldsForRelation'
                        type: object
        CampaignAttributeMultiPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignAttributeMultiPOSTForRelation'
                            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/CampaignAttributeMultiGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignAttributeMultiGETExtra_fieldsForRelation'
                        type: object
        CampaignPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignPATCHForRelation'
                            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/CampaignGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignGETExtra_fieldsForRelation'
                        type: object
        CampaignPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignPOSTForRelation'
                            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/CampaignGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignGETExtra_fieldsForRelation'
                        type: object
        CampaignConditionSectionPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignConditionSectionPATCHForRelation'
                            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/CampaignConditionSectionGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignConditionSectionGETExtra_fieldsForRelation'
                        type: object
        CampaignConditionSectionPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignConditionSectionPOSTForRelation'
                            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/CampaignConditionSectionGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignConditionSectionGETExtra_fieldsForRelation'
                        type: object
        CampaignPhasePATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignPhasePATCHForRelation'
                            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/CampaignPhaseGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignPhaseGETExtra_fieldsForRelation'
                        type: object
        CampaignPhasePOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignPhasePOSTForRelation'
                            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/CampaignPhaseGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignPhaseGETExtra_fieldsForRelation'
                        type: object
        AccountUserPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AccountUserPATCHForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountUserGETExtra_fieldsForRelation'
                        type: object
        AccountCompanyPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AccountCompanyPATCHForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountCompanyGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountCompanyGETExtra_fieldsForRelation'
                        type: object
        UserUserPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/UserUserPATCHForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/UserUserGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/UserUserGETExtra_fieldsForRelation'
                        type: object
        AccountUserPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AccountUserPOSTForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountUserGETExtra_fieldsForRelation'
                        type: object
        AccountCompanyPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/AccountCompanyPOSTForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountCompanyGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/AccountCompanyGETExtra_fieldsForRelation'
                        type: object
        UserUserPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/UserUserPOSTForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/UserUserGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/UserUserGETExtra_fieldsForRelation'
                        type: object
        CampaignOpportunityPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignOpportunityPATCHForRelation'
                            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/CampaignOpportunityGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignOpportunityGETExtra_fieldsForRelation'
                        type: object
        CampaignOpportunityPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CampaignOpportunityPOSTForRelation'
                            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/CampaignOpportunityGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CampaignOpportunityGETExtra_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: Campaign
    -
        name: CampaignAttribute
    -
        name: CampaignAttributeToCampaign
    -
        name: CampaignCondition
    -
        name: CampaignConditionSection
    -
        name: CampaignOpportunity
    -
        name: CampaignOpportunityChangeLog
    -
        name: CampaignPhase
