openapi: 3.0.0
info:
    title: 'AURA API'
    contact:
        email: pomoc@questy.pl
    version: '2.0'
paths:
    /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/communications/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaCommunication
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CommunicationGETFields'
                -
                    $ref: '#/components/parameters/CommunicationGETExtra_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:
                - Communication
    '/api/communications/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getCommunication
            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_email_messages_mark_seen'
                -
                    $ref: '#/components/parameters/setting_email_messages_save_in_db'
                -
                    $ref: '#/components/parameters/setting_email_messages_check_in_db'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/CommunicationGETFields'
                -
                    $ref: '#/components/parameters/CommunicationGETExtra_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:
                - Communication
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteCommunication
            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:
                - Communication
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchCommunication
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/CommunicationPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - Communication
    /api/communications:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getCommunications
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $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'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/CommunicationGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CommunicationGETExtra_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:
                - Communication
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postCommunications
            requestBody:
                $ref: '#/components/requestBodies/CommunicationPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - Communication
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteCommunications
            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: object
                        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:
                - Communication
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchCommunications
            requestBody:
                $ref: '#/components/requestBodies/CommunicationPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - Communication
    /api/communications/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectCommunications
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CommunicationGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CommunicationGETExtra_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:
                - Communication
    '/api/communications/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfCommunication
            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:
                - Communication
    /api/communication_thread_groups/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaCommunicationThreadGroups
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CommunicationThreadGroupsGETFields'
                -
                    $ref: '#/components/parameters/CommunicationThreadGroupsGETExtra_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:
                - CommunicationThreadGroups
    '/api/communication_thread_groups/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getCommunicationThreadGroups
            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_email_messages_mark_seen'
                -
                    $ref: '#/components/parameters/setting_email_messages_save_in_db'
                -
                    $ref: '#/components/parameters/setting_email_messages_check_in_db'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/CommunicationThreadGroupsGETFields'
                -
                    $ref: '#/components/parameters/CommunicationThreadGroupsGETExtra_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:
                - CommunicationThreadGroups
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteCommunicationThreadGroups
            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:
                - CommunicationThreadGroups
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchCommunicationThreadGroups
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/CommunicationThreadGroupsPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CommunicationThreadGroups
    /api/communication_thread_groups:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getCommunicationThreadGroupss
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $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'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/CommunicationThreadGroupsGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CommunicationThreadGroupsGETExtra_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:
                - CommunicationThreadGroups
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postCommunicationThreadGroupss
            requestBody:
                $ref: '#/components/requestBodies/CommunicationThreadGroupsPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CommunicationThreadGroups
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteCommunicationThreadGroupss
            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: object
                        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:
                - CommunicationThreadGroups
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchCommunicationThreadGroupss
            requestBody:
                $ref: '#/components/requestBodies/CommunicationThreadGroupsPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - CommunicationThreadGroups
    /api/communication_thread_groups/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectCommunicationThreadGroupss
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/CommunicationThreadGroupsGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/CommunicationThreadGroupsGETExtra_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:
                - CommunicationThreadGroups
    '/api/communication_thread_groups/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfCommunicationThreadGroups
            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:
                - CommunicationThreadGroups
    /api/receiver_to_communications/meta:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getMetaReceiverToCommunication
            parameters:
                -
                    $ref: '#/components/parameters/for_fieldName'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/ReceiverToCommunicationGETFields'
                -
                    $ref: '#/components/parameters/ReceiverToCommunicationGETExtra_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:
                - ReceiverToCommunication
    '/api/receiver_to_communications/{id}':
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getReceiverToCommunication
            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_email_messages_mark_seen'
                -
                    $ref: '#/components/parameters/setting_email_messages_save_in_db'
                -
                    $ref: '#/components/parameters/setting_email_messages_check_in_db'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/ReceiverToCommunicationGETFields'
                -
                    $ref: '#/components/parameters/ReceiverToCommunicationGETExtra_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:
                - ReceiverToCommunication
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteReceiverToCommunication
            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:
                - ReceiverToCommunication
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchReceiverToCommunication
            parameters:
                -
                    $ref: '#/components/parameters/id'
            requestBody:
                $ref: '#/components/requestBodies/ReceiverToCommunicationPATCHRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - ReceiverToCommunication
    /api/receiver_to_communications:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getReceiverToCommunications
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $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'
                -
                    $ref: '#/components/parameters/setting_with_cache'
                -
                    $ref: '#/components/parameters/setting_limit_to_my_settings'
                -
                    $ref: '#/components/parameters/ReceiverToCommunicationGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/ReceiverToCommunicationGETExtra_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:
                - ReceiverToCommunication
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: postReceiverToCommunications
            requestBody:
                $ref: '#/components/requestBodies/ReceiverToCommunicationPOSTForCollectionRequestBody'
            responses:
                201:
                    description: Created
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - ReceiverToCommunication
        delete:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: deleteReceiverToCommunications
            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: object
                        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:
                - ReceiverToCommunication
        patch:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: patchReceiverToCommunications
            requestBody:
                $ref: '#/components/requestBodies/ReceiverToCommunicationPATCHForCollectionRequestBody'
            responses:
                200:
                    description: Success
                400:
                    description: 'Bad request'
                401:
                    description: 'Access denied'
                403:
                    description: Forbidden
                404:
                    description: 'Endpoint does not exist'
            deprecated: true
            tags:
                - ReceiverToCommunication
    /api/receiver_to_communications/autoselect:
        get:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: getAutoselectReceiverToCommunications
            parameters:
                -
                    $ref: '#/components/parameters/setting_with_relations'
                -
                    $ref: '#/components/parameters/setting_lang'
                -
                    $ref: '#/components/parameters/setting_with_editable_settings_for_action'
                -
                    $ref: '#/components/parameters/ReceiverToCommunicationGETFieldsForCollection'
                -
                    $ref: '#/components/parameters/ReceiverToCommunicationGETExtra_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:
                - ReceiverToCommunication
    '/api/receiver_to_communications/{id}/generate/pdf':
        post:
            description: 'Generated automatically. Only available from an userUser with superuser credentials. Endpoint can be changed / removed in future versions.'
            operationId: generatePdfReceiverToCommunication
            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:
                - ReceiverToCommunication
components:
    schemas:
        AccountCompanyAura:
            title: AccountCompanyAura
            description: 'AccountCompanyAura model'
            properties:
                value:
                    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
                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
        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
        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
        CommunicationGETFieldsForCollection:
            title: communications
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                postTopic:
                    type: string
                    nullable: true
                    maxLength: 255
                postContent:
                    type: string
                    nullable: true
                dateSend:
                    type: string
                    nullable: true
                    format: date-time
                isSystemMessage:
                    type: boolean
                    nullable: true
                sender:
                    type: string
                    nullable: true
                lastElement:
                    type: boolean
                    nullable: true
                firstElement:
                    type: boolean
                    nullable: true
                senderDel:
                    type: boolean
                    nullable: true
                relatedWith:
                    type: string
                    nullable: true
                senderAccountUserId:
                    type: integer
                    nullable: true
                senderUserId:
                    type: integer
                    nullable: true
                commission:
                    nullable: true
                    description: (commission)
                    allOf:
                        -
                            $ref: '#/components/schemas/CommissionGETFieldsForRelation'
                thread:
                    nullable: false
                    description: (communicationThreads)
                    allOf:
                        -
                            $ref: '#/components/schemas/CommunicationThreadsGETFieldsForRelation'
                emailMessage:
                    nullable: true
                    description: (emailMessage)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailMessageGETFieldsForRelation'
                task:
                    nullable: true
                    description: (task)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskGETFieldsForRelation'
                senderAccountUser:
                    nullable: true
                    description: (accountUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
                relatedTopic:
                    nullable: true
                    description: (communication)
                    allOf:
                        -
                            $ref: '#/components/schemas/CommunicationGETFieldsForRelation'
                senderUser:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
                receiversToCommunications:
                    nullable: false
                    description: (receiverToCommunication)
                    allOf:
                        -
                            $ref: '#/components/schemas/ReceiverToCommunicationGETFieldsForRelation'
        CommunicationGETExtra_fieldsForCollection:
            title: communications
            type: object
            properties: {  }
        CommunicationGETFields:
            title: communications
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                postTopic:
                    type: string
                    nullable: true
                    maxLength: 255
                postContent:
                    type: string
                    nullable: true
                dateSend:
                    type: string
                    nullable: true
                    format: date-time
                isSystemMessage:
                    type: boolean
                    nullable: true
                sender:
                    type: string
                    nullable: true
                lastElement:
                    type: boolean
                    nullable: true
                firstElement:
                    type: boolean
                    nullable: true
                senderDel:
                    type: boolean
                    nullable: true
                relatedWith:
                    type: string
                    nullable: true
                senderAccountUserId:
                    type: integer
                    nullable: true
                senderUserId:
                    type: integer
                    nullable: true
                commission:
                    nullable: true
                    description: (commission)
                    allOf:
                        -
                            $ref: '#/components/schemas/CommissionGETFieldsForRelation'
                thread:
                    nullable: false
                    description: (communicationThreads)
                    allOf:
                        -
                            $ref: '#/components/schemas/CommunicationThreadsGETFieldsForRelation'
                emailMessage:
                    nullable: true
                    description: (emailMessage)
                    allOf:
                        -
                            $ref: '#/components/schemas/EmailMessageGETFieldsForRelation'
                task:
                    nullable: true
                    description: (task)
                    allOf:
                        -
                            $ref: '#/components/schemas/TaskGETFieldsForRelation'
                senderAccountUser:
                    nullable: true
                    description: (accountUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
                relatedTopic:
                    nullable: true
                    description: (communication)
                    allOf:
                        -
                            $ref: '#/components/schemas/CommunicationGETFieldsForRelation'
                senderUser:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
                receiversToCommunications:
                    nullable: false
                    description: (receiverToCommunication)
                    allOf:
                        -
                            $ref: '#/components/schemas/ReceiverToCommunicationGETFieldsForRelation'
        CommunicationGETExtra_fields:
            title: communications
            type: object
            properties: {  }
        CommunicationPATCHForCollection:
            title: communications
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    postTopic:
                        type: string
                        nullable: true
                        maxLength: 255
                    postContent:
                        type: string
                        nullable: true
                    dateSend:
                        type: string
                        nullable: true
                        format: date-time
                    isSystemMessage:
                        type: boolean
                        nullable: true
                    sender:
                        type: string
                        nullable: true
                    lastElement:
                        type: boolean
                        nullable: true
                    firstElement:
                        type: boolean
                        nullable: true
                    senderDel:
                        type: boolean
                        nullable: true
                    relatedWith:
                        type: string
                        nullable: true
                    senderAccountUserId:
                        type: integer
                        nullable: true
                    senderUserId:
                        type: integer
                        nullable: true
                    commission:
                        nullable: true
                        description: 'integer or object (commission)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CommissionPATCHForRelation'
                    thread:
                        nullable: false
                        description: 'integer or object (communicationThreads)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CommunicationThreadsPATCHForRelation'
                    emailMessage:
                        nullable: true
                        description: 'integer or object (emailMessage)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailMessagePATCHForRelation'
                    task:
                        nullable: true
                        description: 'integer or object (task)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskPATCHForRelation'
                    senderAccountUser:
                        nullable: true
                        description: 'integer or object (accountUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AccountUserPATCHForRelation'
                    relatedTopic:
                        nullable: true
                        description: 'integer or object (communication)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CommunicationPATCHForRelation'
                    senderUser:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPATCHForRelation'
                    receiversToCommunications:
                        nullable: false
                        description: 'integer or array<object> or object (receiverToCommunication)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                type: array
                                items:
                                    $ref: '#/components/schemas/ReceiverToCommunicationPATCHForRelation'
                required:
                    - id
                    - thread
        CommunicationPATCH:
            title: communications
            type: object
            properties:
                postTopic:
                    type: string
                    nullable: true
                    maxLength: 255
                postContent:
                    type: string
                    nullable: true
                dateSend:
                    type: string
                    nullable: true
                    format: date-time
                isSystemMessage:
                    type: boolean
                    nullable: true
                sender:
                    type: string
                    nullable: true
                lastElement:
                    type: boolean
                    nullable: true
                firstElement:
                    type: boolean
                    nullable: true
                senderDel:
                    type: boolean
                    nullable: true
                relatedWith:
                    type: string
                    nullable: true
                senderAccountUserId:
                    type: integer
                    nullable: true
                senderUserId:
                    type: integer
                    nullable: true
                commission:
                    nullable: true
                    description: 'integer or object (commission)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CommissionPATCHForRelation'
                thread:
                    nullable: false
                    description: 'integer or object (communicationThreads)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CommunicationThreadsPATCHForRelation'
                emailMessage:
                    nullable: true
                    description: 'integer or object (emailMessage)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailMessagePATCHForRelation'
                task:
                    nullable: true
                    description: 'integer or object (task)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskPATCHForRelation'
                senderAccountUser:
                    nullable: true
                    description: 'integer or object (accountUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AccountUserPATCHForRelation'
                relatedTopic:
                    nullable: true
                    description: 'integer or object (communication)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CommunicationPATCHForRelation'
                senderUser:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPATCHForRelation'
                receiversToCommunications:
                    nullable: false
                    description: 'integer or array<object> or object (receiverToCommunication)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            type: array
                            items:
                                $ref: '#/components/schemas/ReceiverToCommunicationPATCHForRelation'
            required:
                - thread
        CommunicationPOSTForCollection:
            title: communications
            type: array
            items:
                type: object
                properties:
                    postTopic:
                        type: string
                        nullable: true
                        maxLength: 255
                    postContent:
                        type: string
                        nullable: true
                    dateSend:
                        type: string
                        nullable: true
                        format: date-time
                    isSystemMessage:
                        type: boolean
                        nullable: true
                    sender:
                        type: string
                        nullable: true
                    lastElement:
                        type: boolean
                        nullable: true
                    firstElement:
                        type: boolean
                        nullable: true
                    senderDel:
                        type: boolean
                        nullable: true
                    relatedWith:
                        type: string
                        nullable: true
                    senderAccountUserId:
                        type: integer
                        nullable: true
                    senderUserId:
                        type: integer
                        nullable: true
                    commission:
                        nullable: true
                        description: 'integer or object (commission)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CommissionPOSTForRelation'
                    thread:
                        nullable: false
                        description: 'integer or object (communicationThreads)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CommunicationThreadsPOSTForRelation'
                    emailMessage:
                        nullable: true
                        description: 'integer or object (emailMessage)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/EmailMessagePOSTForRelation'
                    task:
                        nullable: true
                        description: 'integer or object (task)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/TaskPOSTForRelation'
                    senderAccountUser:
                        nullable: true
                        description: 'integer or object (accountUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AccountUserPOSTForRelation'
                    relatedTopic:
                        nullable: true
                        description: 'integer or object (communication)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CommunicationPOSTForRelation'
                    senderUser:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPOSTForRelation'
                    receiversToCommunications:
                        nullable: false
                        description: 'integer or array<object> or object (receiverToCommunication)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                type: array
                                items:
                                    $ref: '#/components/schemas/ReceiverToCommunicationPOSTForRelation'
                required:
                    - thread
        CommunicationPOST:
            title: communications
            type: object
            properties:
                postTopic:
                    type: string
                    nullable: true
                    maxLength: 255
                postContent:
                    type: string
                    nullable: true
                dateSend:
                    type: string
                    nullable: true
                    format: date-time
                isSystemMessage:
                    type: boolean
                    nullable: true
                sender:
                    type: string
                    nullable: true
                lastElement:
                    type: boolean
                    nullable: true
                firstElement:
                    type: boolean
                    nullable: true
                senderDel:
                    type: boolean
                    nullable: true
                relatedWith:
                    type: string
                    nullable: true
                senderAccountUserId:
                    type: integer
                    nullable: true
                senderUserId:
                    type: integer
                    nullable: true
                commission:
                    nullable: true
                    description: 'integer or object (commission)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CommissionPOSTForRelation'
                thread:
                    nullable: false
                    description: 'integer or object (communicationThreads)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CommunicationThreadsPOSTForRelation'
                emailMessage:
                    nullable: true
                    description: 'integer or object (emailMessage)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/EmailMessagePOSTForRelation'
                task:
                    nullable: true
                    description: 'integer or object (task)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/TaskPOSTForRelation'
                senderAccountUser:
                    nullable: true
                    description: 'integer or object (accountUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AccountUserPOSTForRelation'
                relatedTopic:
                    nullable: true
                    description: 'integer or object (communication)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CommunicationPOSTForRelation'
                senderUser:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPOSTForRelation'
                receiversToCommunications:
                    nullable: false
                    description: 'integer or array<object> or object (receiverToCommunication)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            type: array
                            items:
                                $ref: '#/components/schemas/ReceiverToCommunicationPOSTForRelation'
            required:
                - thread
        CommunicationThreadGroupsGETFieldsForCollection:
            title: communication_thread_groups
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                threads:
                    type: string
                    nullable: true
                allUsers:
                    type: string
                    nullable: true
                lastUpdate:
                    type: string
                    nullable: true
                    format: date-time
        CommunicationThreadGroupsGETExtra_fieldsForCollection:
            title: communication_thread_groups
            type: object
            properties: {  }
        CommunicationThreadGroupsGETFields:
            title: communication_thread_groups
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                threads:
                    type: string
                    nullable: true
                allUsers:
                    type: string
                    nullable: true
                lastUpdate:
                    type: string
                    nullable: true
                    format: date-time
        CommunicationThreadGroupsGETExtra_fields:
            title: communication_thread_groups
            type: object
            properties: {  }
        CommunicationThreadGroupsPATCHForCollection:
            title: communication_thread_groups
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    threads:
                        type: string
                        nullable: true
                    allUsers:
                        type: string
                        nullable: true
                    lastUpdate:
                        type: string
                        nullable: true
                        format: date-time
                required:
                    - id
        CommunicationThreadGroupsPATCH:
            title: communication_thread_groups
            type: object
            properties:
                threads:
                    type: string
                    nullable: true
                allUsers:
                    type: string
                    nullable: true
                lastUpdate:
                    type: string
                    nullable: true
                    format: date-time
        CommunicationThreadGroupsPOSTForCollection:
            title: communication_thread_groups
            type: array
            items:
                type: object
                properties:
                    threads:
                        type: string
                        nullable: true
                    allUsers:
                        type: string
                        nullable: true
                    lastUpdate:
                        type: string
                        nullable: true
                        format: date-time
        CommunicationThreadGroupsPOST:
            title: communication_thread_groups
            type: object
            properties:
                threads:
                    type: string
                    nullable: true
                allUsers:
                    type: string
                    nullable: true
                lastUpdate:
                    type: string
                    nullable: true
                    format: date-time
        ReceiverToCommunicationGETFieldsForCollection:
            title: receiver_to_communications
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                receiver:
                    type: string
                    nullable: true
                readConfirm:
                    type: boolean
                    nullable: true
                receiverDel:
                    type: boolean
                    nullable: true
                dateRead:
                    type: string
                    nullable: true
                    format: date-time
                accountUserId:
                    type: integer
                    nullable: true
                userUserId:
                    type: integer
                    nullable: true
                accountUser:
                    nullable: true
                    description: (accountUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
                communication:
                    nullable: true
                    description: (communication)
                    allOf:
                        -
                            $ref: '#/components/schemas/CommunicationGETFieldsForRelation'
                userUser:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        ReceiverToCommunicationGETExtra_fieldsForCollection:
            title: receiver_to_communications
            type: object
            properties: {  }
        ReceiverToCommunicationGETFields:
            title: receiver_to_communications
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                receiver:
                    type: string
                    nullable: true
                readConfirm:
                    type: boolean
                    nullable: true
                receiverDel:
                    type: boolean
                    nullable: true
                dateRead:
                    type: string
                    nullable: true
                    format: date-time
                accountUserId:
                    type: integer
                    nullable: true
                userUserId:
                    type: integer
                    nullable: true
                accountUser:
                    nullable: true
                    description: (accountUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/AccountUserGETFieldsForRelation'
                communication:
                    nullable: true
                    description: (communication)
                    allOf:
                        -
                            $ref: '#/components/schemas/CommunicationGETFieldsForRelation'
                userUser:
                    nullable: true
                    description: (userUser)
                    allOf:
                        -
                            $ref: '#/components/schemas/UserUserGETFieldsForRelation'
        ReceiverToCommunicationGETExtra_fields:
            title: receiver_to_communications
            type: object
            properties: {  }
        ReceiverToCommunicationPATCHForCollection:
            title: receiver_to_communications
            type: array
            items:
                type: object
                properties:
                    id:
                        type: integer
                        nullable: false
                    receiver:
                        type: string
                        nullable: true
                    readConfirm:
                        type: boolean
                        nullable: true
                    receiverDel:
                        type: boolean
                        nullable: true
                    dateRead:
                        type: string
                        nullable: true
                        format: date-time
                    accountUserId:
                        type: integer
                        nullable: true
                    userUserId:
                        type: integer
                        nullable: true
                    accountUser:
                        nullable: true
                        description: 'integer or object (accountUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AccountUserPATCHForRelation'
                    communication:
                        nullable: true
                        description: 'integer or object (communication)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CommunicationPATCHForRelation'
                    userUser:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPATCHForRelation'
                required:
                    - id
        ReceiverToCommunicationPATCH:
            title: receiver_to_communications
            type: object
            properties:
                receiver:
                    type: string
                    nullable: true
                readConfirm:
                    type: boolean
                    nullable: true
                receiverDel:
                    type: boolean
                    nullable: true
                dateRead:
                    type: string
                    nullable: true
                    format: date-time
                accountUserId:
                    type: integer
                    nullable: true
                userUserId:
                    type: integer
                    nullable: true
                accountUser:
                    nullable: true
                    description: 'integer or object (accountUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AccountUserPATCHForRelation'
                communication:
                    nullable: true
                    description: 'integer or object (communication)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CommunicationPATCHForRelation'
                userUser:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPATCHForRelation'
        ReceiverToCommunicationPOSTForCollection:
            title: receiver_to_communications
            type: array
            items:
                type: object
                properties:
                    receiver:
                        type: string
                        nullable: true
                    readConfirm:
                        type: boolean
                        nullable: true
                    receiverDel:
                        type: boolean
                        nullable: true
                    dateRead:
                        type: string
                        nullable: true
                        format: date-time
                    accountUserId:
                        type: integer
                        nullable: true
                    userUserId:
                        type: integer
                        nullable: true
                    accountUser:
                        nullable: true
                        description: 'integer or object (accountUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/AccountUserPOSTForRelation'
                    communication:
                        nullable: true
                        description: 'integer or object (communication)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/CommunicationPOSTForRelation'
                    userUser:
                        nullable: true
                        description: 'integer or object (userUser)'
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiObjectIdDM'
                            -
                                $ref: '#/components/schemas/UserUserPOSTForRelation'
        ReceiverToCommunicationPOST:
            title: receiver_to_communications
            type: object
            properties:
                receiver:
                    type: string
                    nullable: true
                readConfirm:
                    type: boolean
                    nullable: true
                receiverDel:
                    type: boolean
                    nullable: true
                dateRead:
                    type: string
                    nullable: true
                    format: date-time
                accountUserId:
                    type: integer
                    nullable: true
                userUserId:
                    type: integer
                    nullable: true
                accountUser:
                    nullable: true
                    description: 'integer or object (accountUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/AccountUserPOSTForRelation'
                communication:
                    nullable: true
                    description: 'integer or object (communication)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/CommunicationPOSTForRelation'
                userUser:
                    nullable: true
                    description: 'integer or object (userUser)'
                    anyOf:
                        -
                            $ref: '#/components/schemas/ApiObjectIdDM'
                        -
                            $ref: '#/components/schemas/UserUserPOSTForRelation'
        CommissionGETFieldsForRelation:
            title: commissions
            type: object
            properties:
                commissionId:
                    type: integer
                    nullable: false
                commissionNumber:
                    type: string
                    nullable: false
                    maxLength: 255
                createdAt:
                    type: string
                    nullable: true
                    format: date-time
                phaseModificationDate:
                    type: string
                    nullable: true
                    format: date-time
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 100
                    description: 'External system name'
                commissionAddress:
                    type: string
                    nullable: true
                companyName:
                    type: string
                    nullable: true
                accountUserName:
                    type: string
                    nullable: true
                commissionPhaseId:
                    type: integer
                    nullable: true
                name:
                    type: string
                    nullable: true
                    maxLength: 255
                startDate:
                    type: string
                    nullable: true
                    format: date-time
                endDate:
                    type: string
                    nullable: true
                    format: date-time
                creatorAccountUser:
                    type: object
                    nullable: true
                    description: (accountUser)
                creatorUser:
                    type: object
                    nullable: true
                    description: (userUser)
                company:
                    type: object
                    nullable: true
                    description: (accountCompany)
                accountUser:
                    type: object
                    nullable: true
                    description: (accountUser)
                commissionPhase:
                    type: object
                    nullable: false
                    description: (commissionPhase)
                documentSeriesDefinition:
                    type: object
                    nullable: false
                    description: (documentSeriesDefinition)
                user:
                    type: object
                    nullable: true
                    description: (userUser)
                place:
                    type: object
                    nullable: true
                    description: (places)
                commissionsUserUsers:
                    type: object
                    nullable: true
                    description: (userUser)
        CommissionGETExtra_fieldsForRelation:
            title: commissions
            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/ApiAttributeTypeFloatShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateTimeShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeEmailShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeCompanyShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeSignatureShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypePhoneShowDM'
                    description: extra_field
                systemAttributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateTimeShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeEmailShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeCompanyShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeSignatureShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypePhoneShowDM'
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        tasks:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        commissions:
                            $ref: '#/components/schemas/CommissionToCommissionAura'
                        products:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        servicedProducts:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    description: extra_field
                nextPhases:
                    type: object
                    nullable: true
                    description: extra_field
                procedureButtons:
                    type: object
                    nullable: true
                    description: extra_field
                fullName:
                    type: string
                    nullable: true
                    description: extra_field
        CommunicationThreadsGETFieldsForRelation:
            title: communication_threadss
            type: object
            properties:
                threadId:
                    type: integer
                    nullable: false
                messages:
                    type: string
                    nullable: true
                allUsers:
                    type: string
                    nullable: true
                primaryUsers:
                    type: string
                    nullable: true
                activeUsers:
                    type: string
                    nullable: true
                dormantUsers:
                    type: string
                    nullable: true
                senderAtMessage:
                    type: string
                    nullable: true
                contents:
                    type: string
                    nullable: true
                isActive:
                    type: boolean
                    nullable: true
                lastUpdate:
                    type: string
                    nullable: true
                    format: date-time
                group:
                    type: object
                    nullable: true
                    description: (communicationThreadGroups)
                lastMessage:
                    type: object
                    nullable: true
                    description: (communication)
        CommunicationThreadsGETExtra_fieldsForRelation:
            title: communication_threadss
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        EmailMessageGETFieldsForRelation:
            title: email_messages
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                subject:
                    type: string
                    nullable: true
                content:
                    type: string
                    nullable: true
                contentHtml:
                    type: string
                    nullable: true
                deliveryDate:
                    type: string
                    nullable: true
                    format: date-time
                sendDate:
                    type: string
                    nullable: true
                    format: date-time
                hasBeenRead:
                    type: boolean
                    nullable: false
                imapId:
                    type: integer
                    nullable: true
                imapFolder:
                    type: string
                    nullable: true
                receivedDate:
                    type: string
                    nullable: true
                    format: date-time
                serverMessageId:
                    type: string
                    nullable: true
                headers:
                    type: string
                    nullable: false
                hasAttachments:
                    type: boolean
                    nullable: true
                attachments:
                    type: string
                    nullable: true
                emailAccount:
                    type: object
                    nullable: true
                    description: (emailAccount)
        EmailMessageGETExtra_fieldsForRelation:
            title: email_messages
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    description: extra_field
        TaskGETFieldsForRelation:
            title: tasks
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                taskName:
                    type: string
                    nullable: true
                taskDescription:
                    type: string
                    nullable: true
                isCompleted:
                    type: boolean
                    nullable: true
                endDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event end date'
                createdAt:
                    type: string
                    nullable: true
                    format: date-time
                modificationDate:
                    type: string
                    nullable: true
                    format: date-time
                beginDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event start date'
                reminderBefore:
                    type: integer
                    nullable: true
                reminderRead:
                    type: boolean
                    nullable: true
                remindDate:
                    type: string
                    nullable: true
                    format: date-time
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 150
                    description: 'External system name'
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                completionDate:
                    type: string
                    nullable: true
                    format: date-time
                calendarData:
                    type: string
                    nullable: true
                uri:
                    type: string
                    nullable: true
                    maxLength: 200
                etag:
                    type: string
                    nullable: true
                    maxLength: 32
                size:
                    type: integer
                    nullable: true
                componentType:
                    type: string
                    nullable: true
                    maxLength: 8
                typeId:
                    type: integer
                    nullable: true
                recurrenceActive:
                    type: boolean
                    nullable: false
                    description: 'The value ''true'' means that the task is the main recurring task in the set.<br />Setting ''true'' creates a set of tasks with a unique recurrenceUuid.<br />The set data will be in the calendarData (RRULE).<br />Note - this field is unavailable for events.'
                recurrenceUntil:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'End date of the recurring task. Should be >= beginDate.'
                recurrencePattern:
                    type: integer
                    nullable: true
                    description: '1: day<br />2: week<br />3: month<br />4: year'
                recurrenceInterval:
                    type: integer
                    nullable: true
                    description: '(>= 1) Interval between dates in a given pattern, e.g. 3 months.'
                recurrenceUuid:
                    type: string
                    nullable: true
                    description: 'A unique identifier for a set of recurring tasks.<br />Should be null for creating new recurring task or the same as the set has.'
                recurrenceExDates:
                    type: string
                    nullable: true
                    description: 'Date exceptions for a given set. Adding a date will exclude it from the set.'
                recurrenceParentBeginDate:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'The date that occurs in the recursive set.<br />Should be generated from calendarData (RRULE)<br />Note - recurrenceExDates cannot contain this date.<br />This field is required to create a unique task in a set or to complete a task that belongs to a set.'
                type:
                    type: object
                    nullable: false
                    description: (taskType)
                creatorUser:
                    type: object
                    nullable: true
                    description: (userUser)
                user:
                    type: object
                    nullable: true
                    description: (userUser)
        TaskGETExtra_fieldsForRelation:
            title: tasks
            type: object
            properties:
                availableTemplates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
                attributes:
                    type: array
                    nullable: true
                    items:
                        anyOf:
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTextShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeBoolShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFloatShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileShowDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeAccountUserShowDM'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        tasks:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        servicedProducts:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountCompanies:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountUsers:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        commissions:
                            $ref: '#/components/schemas/CommissionToCommissionAura'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                nextTypes:
                    type: object
                    nullable: true
                    description: extra_field
                range:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        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
                uid:
                    type: string
                    nullable: true
                    maxLength: 32
                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'
                resetLinkExpires:
                    type: string
                    nullable: true
                    format: date-time
                verifyLinkExpires:
                    type: string
                    nullable: true
                    format: date-time
                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
                passwordCreateDate:
                    type: string
                    nullable: true
                    format: date-time
                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)
        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
        CommunicationGETFieldsForRelation:
            title: communications
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                postTopic:
                    type: string
                    nullable: true
                    maxLength: 255
                postContent:
                    type: string
                    nullable: true
                dateSend:
                    type: string
                    nullable: true
                    format: date-time
                isSystemMessage:
                    type: boolean
                    nullable: true
                sender:
                    type: string
                    nullable: true
                lastElement:
                    type: boolean
                    nullable: true
                firstElement:
                    type: boolean
                    nullable: true
                senderDel:
                    type: boolean
                    nullable: true
                relatedWith:
                    type: string
                    nullable: true
                senderAccountUserId:
                    type: integer
                    nullable: true
                senderUserId:
                    type: integer
                    nullable: true
                commission:
                    type: object
                    nullable: true
                    description: (commission)
                thread:
                    type: object
                    nullable: false
                    description: (communicationThreads)
                emailMessage:
                    type: object
                    nullable: true
                    description: (emailMessage)
                task:
                    type: object
                    nullable: true
                    description: (task)
                senderAccountUser:
                    type: object
                    nullable: true
                    description: (accountUser)
                relatedTopic:
                    type: object
                    nullable: true
                    description: (communication)
                senderUser:
                    type: object
                    nullable: true
                    description: (userUser)
                receiversToCommunications:
                    type: object
                    nullable: false
                    description: (receiverToCommunication)
        CommunicationGETExtra_fieldsForRelation:
            title: communications
            type: object
            properties: {  }
        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)
        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
                subordinates:
                    type: array
                    nullable: true
                    items:
                        type: integer
                    description: extra_field
        ReceiverToCommunicationGETFieldsForRelation:
            title: receiver_to_communications
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                receiver:
                    type: string
                    nullable: true
                readConfirm:
                    type: boolean
                    nullable: true
                receiverDel:
                    type: boolean
                    nullable: true
                dateRead:
                    type: string
                    nullable: true
                    format: date-time
                accountUserId:
                    type: integer
                    nullable: true
                userUserId:
                    type: integer
                    nullable: true
                accountUser:
                    type: object
                    nullable: true
                    description: (accountUser)
                communication:
                    type: object
                    nullable: true
                    description: (communication)
                userUser:
                    type: object
                    nullable: true
                    description: (userUser)
        ReceiverToCommunicationGETExtra_fieldsForRelation:
            title: receiver_to_communications
            type: object
            properties: {  }
        CommissionPATCHForRelation:
            title: commissions
            type: object
            properties:
                commissionId:
                    type: integer
                    nullable: false
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 100
                    description: 'External system name'
                name:
                    type: string
                    nullable: true
                    maxLength: 255
                startDate:
                    type: string
                    nullable: true
                    format: date-time
                endDate:
                    type: string
                    nullable: true
                    format: date-time
                company:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountCompany)'
                accountUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountUser)'
                commissionPhase:
                    type: integer
                    nullable: false
                    description: 'integer or object (commissionPhase)'
                documentSeriesDefinition:
                    type: integer
                    nullable: false
                    description: 'integer or object (documentSeriesDefinition)'
                user:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                place:
                    type: integer
                    nullable: true
                    description: 'integer or object (places)'
                commissionsUserUsers:
                    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/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateTimeEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeEmailEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeCompanyEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeSignatureEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypePhoneEditDM'
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        tasks:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        commissions:
                            $ref: '#/components/schemas/CommissionToCommissionAura'
                        products:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        servicedProducts:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    description: extra_field
            required:
                - commissionPhase
                - documentSeriesDefinition
        CommunicationThreadsPATCHForRelation:
            title: communication_threadss
            type: object
            properties:
                threadId:
                    type: integer
                    nullable: false
                messages:
                    type: string
                    nullable: true
                allUsers:
                    type: string
                    nullable: true
                primaryUsers:
                    type: string
                    nullable: true
                activeUsers:
                    type: string
                    nullable: true
                dormantUsers:
                    type: string
                    nullable: true
                senderAtMessage:
                    type: string
                    nullable: true
                contents:
                    type: string
                    nullable: true
                isActive:
                    type: boolean
                    nullable: true
                lastUpdate:
                    type: string
                    nullable: true
                    format: date-time
                group:
                    type: integer
                    nullable: true
                    description: 'integer or object (communicationThreadGroups)'
                lastMessage:
                    type: integer
                    nullable: true
                    description: 'integer or object (communication)'
        EmailMessagePATCHForRelation:
            title: email_messages
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                subject:
                    type: string
                    nullable: true
                contentHtml:
                    type: string
                    nullable: true
                headers:
                    type: string
                    nullable: false
                attachments:
                    type: string
                    nullable: true
                emailAccount:
                    type: integer
                    nullable: true
                    description: 'integer or object (emailAccount)'
                relations:
                    type: object
                    nullable: true
                    description: extra_field
            required:
                - headers
        TaskPATCHForRelation:
            title: tasks
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                taskName:
                    type: string
                    nullable: true
                taskDescription:
                    type: string
                    nullable: true
                endDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event end date'
                beginDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event start date'
                reminderBefore:
                    type: integer
                    nullable: true
                reminderRead:
                    type: boolean
                    nullable: true
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 150
                    description: 'External system name'
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                completionDate:
                    type: string
                    nullable: true
                    format: date-time
                recurrenceActive:
                    type: boolean
                    nullable: false
                    description: 'The value ''true'' means that the task is the main recurring task in the set.<br />Setting ''true'' creates a set of tasks with a unique recurrenceUuid.<br />The set data will be in the calendarData (RRULE).<br />Note - this field is unavailable for events.'
                recurrenceUntil:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'End date of the recurring task. Should be >= beginDate.'
                recurrencePattern:
                    type: integer
                    nullable: true
                    description: '1: day<br />2: week<br />3: month<br />4: year'
                recurrenceInterval:
                    type: integer
                    nullable: true
                    description: '(>= 1) Interval between dates in a given pattern, e.g. 3 months.'
                recurrenceUuid:
                    type: string
                    nullable: true
                    description: 'A unique identifier for a set of recurring tasks.<br />Should be null for creating new recurring task or the same as the set has.'
                recurrenceExDates:
                    type: string
                    nullable: true
                    description: 'Date exceptions for a given set. Adding a date will exclude it from the set.'
                recurrenceParentBeginDate:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'The date that occurs in the recursive set.<br />Should be generated from calendarData (RRULE)<br />Note - recurrenceExDates cannot contain this date.<br />This field is required to create a unique task in a set or to complete a task that belongs to a set.'
                type:
                    type: integer
                    nullable: false
                    description: 'integer or object (taskType)'
                user:
                    type: integer
                    nullable: true
                    description: 'integer 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/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeAccountUserEditDM'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        tasks:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        servicedProducts:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountCompanies:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountUsers:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        commissions:
                            $ref: '#/components/schemas/CommissionToCommissionAura'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
            required:
                - endDate
                - beginDate
                - type
        AccountUserPATCHForRelation:
            title: account_users
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                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
                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)'
                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
        CommunicationPATCHForRelation:
            title: communications
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                postTopic:
                    type: string
                    nullable: true
                    maxLength: 255
                postContent:
                    type: string
                    nullable: true
                dateSend:
                    type: string
                    nullable: true
                    format: date-time
                isSystemMessage:
                    type: boolean
                    nullable: true
                sender:
                    type: string
                    nullable: true
                lastElement:
                    type: boolean
                    nullable: true
                firstElement:
                    type: boolean
                    nullable: true
                senderDel:
                    type: boolean
                    nullable: true
                relatedWith:
                    type: string
                    nullable: true
                senderAccountUserId:
                    type: integer
                    nullable: true
                senderUserId:
                    type: integer
                    nullable: true
                commission:
                    type: integer
                    nullable: true
                    description: 'integer or object (commission)'
                thread:
                    type: integer
                    nullable: false
                    description: 'integer or object (communicationThreads)'
                emailMessage:
                    type: integer
                    nullable: true
                    description: 'integer or object (emailMessage)'
                task:
                    type: integer
                    nullable: true
                    description: 'integer or object (task)'
                senderAccountUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountUser)'
                relatedTopic:
                    type: integer
                    nullable: true
                    description: 'integer or object (communication)'
                senderUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                receiversToCommunications:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (receiverToCommunication)'
            required:
                - id
                - thread
        UserUserPATCHForRelation:
            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
                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)'
            required:
                - username
        ReceiverToCommunicationPATCHForRelation:
            title: receiver_to_communications
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                receiver:
                    type: string
                    nullable: true
                readConfirm:
                    type: boolean
                    nullable: true
                receiverDel:
                    type: boolean
                    nullable: true
                dateRead:
                    type: string
                    nullable: true
                    format: date-time
                accountUserId:
                    type: integer
                    nullable: true
                userUserId:
                    type: integer
                    nullable: true
                accountUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountUser)'
                communication:
                    type: integer
                    nullable: true
                    description: 'integer or object (communication)'
                userUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
            required:
                - id
        CommissionPOSTForRelation:
            title: commissions
            type: object
            properties:
                commissionId:
                    type: integer
                    nullable: false
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 100
                    description: 'External system name'
                name:
                    type: string
                    nullable: true
                    maxLength: 255
                startDate:
                    type: string
                    nullable: true
                    format: date-time
                endDate:
                    type: string
                    nullable: true
                    format: date-time
                company:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountCompany)'
                accountUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountUser)'
                commissionPhase:
                    type: integer
                    nullable: false
                    description: 'integer or object (commissionPhase)'
                documentSeriesDefinition:
                    type: integer
                    nullable: false
                    description: 'integer or object (documentSeriesDefinition)'
                user:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                place:
                    type: integer
                    nullable: true
                    description: 'integer or object (places)'
                commissionsUserUsers:
                    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/ApiAttributeTypeFloatEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateTimeEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeEmailEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeTagsEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeCompanyEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeSignatureEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypePhoneEditDM'
                    description: extra_field
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        tasks:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        commissions:
                            $ref: '#/components/schemas/CommissionToCommissionAura'
                        products:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        servicedProducts:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                    description: extra_field
            required:
                - commissionPhase
                - documentSeriesDefinition
        CommunicationThreadsPOSTForRelation:
            title: communication_threadss
            type: object
            properties:
                threadId:
                    type: integer
                    nullable: false
                messages:
                    type: string
                    nullable: true
                allUsers:
                    type: string
                    nullable: true
                primaryUsers:
                    type: string
                    nullable: true
                activeUsers:
                    type: string
                    nullable: true
                dormantUsers:
                    type: string
                    nullable: true
                senderAtMessage:
                    type: string
                    nullable: true
                contents:
                    type: string
                    nullable: true
                isActive:
                    type: boolean
                    nullable: true
                lastUpdate:
                    type: string
                    nullable: true
                    format: date-time
                group:
                    type: integer
                    nullable: true
                    description: 'integer or object (communicationThreadGroups)'
                lastMessage:
                    type: integer
                    nullable: true
                    description: 'integer or object (communication)'
        EmailMessagePOSTForRelation:
            title: email_messages
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                subject:
                    type: string
                    nullable: true
                contentHtml:
                    type: string
                    nullable: true
                headers:
                    type: string
                    nullable: false
                attachments:
                    type: string
                    nullable: true
                emailAccount:
                    type: integer
                    nullable: true
                    description: 'integer or object (emailAccount)'
                relations:
                    type: object
                    nullable: true
                    description: extra_field
            required:
                - headers
        TaskPOSTForRelation:
            title: tasks
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                taskName:
                    type: string
                    nullable: true
                taskDescription:
                    type: string
                    nullable: true
                endDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event end date'
                beginDate:
                    type: string
                    nullable: false
                    format: date-time
                    description: 'Task / event start date'
                reminderBefore:
                    type: integer
                    nullable: true
                reminderRead:
                    type: boolean
                    nullable: true
                importTyp:
                    type: string
                    nullable: true
                    maxLength: 150
                    description: 'External system name'
                importId:
                    type: integer
                    nullable: true
                    description: 'Id from external system'
                importCode:
                    type: string
                    nullable: true
                    maxLength: 255
                    description: 'Code from external system'
                completionDate:
                    type: string
                    nullable: true
                    format: date-time
                recurrenceActive:
                    type: boolean
                    nullable: false
                    description: 'The value ''true'' means that the task is the main recurring task in the set.<br />Setting ''true'' creates a set of tasks with a unique recurrenceUuid.<br />The set data will be in the calendarData (RRULE).<br />Note - this field is unavailable for events.'
                recurrenceUntil:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'End date of the recurring task. Should be >= beginDate.'
                recurrencePattern:
                    type: integer
                    nullable: true
                    description: '1: day<br />2: week<br />3: month<br />4: year'
                recurrenceInterval:
                    type: integer
                    nullable: true
                    description: '(>= 1) Interval between dates in a given pattern, e.g. 3 months.'
                recurrenceUuid:
                    type: string
                    nullable: true
                    description: 'A unique identifier for a set of recurring tasks.<br />Should be null for creating new recurring task or the same as the set has.'
                recurrenceExDates:
                    type: string
                    nullable: true
                    description: 'Date exceptions for a given set. Adding a date will exclude it from the set.'
                recurrenceParentBeginDate:
                    type: string
                    nullable: true
                    format: date-time
                    description: 'The date that occurs in the recursive set.<br />Should be generated from calendarData (RRULE)<br />Note - recurrenceExDates cannot contain this date.<br />This field is required to create a unique task in a set or to complete a task that belongs to a set.'
                type:
                    type: integer
                    nullable: false
                    description: 'integer or object (taskType)'
                user:
                    type: integer
                    nullable: true
                    description: 'integer 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/ApiAttributeTypeListEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeListMultiEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeDateEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeFileEditDM'
                            -
                                $ref: '#/components/schemas/ApiAttributeTypeAccountUserEditDM'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
                relations:
                    type: object
                    nullable: true
                    properties:
                        documentInvoices:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentStores:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOrders:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        documentOfferQuestions:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        tasks:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        servicedProducts:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountCompanies:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        accountUsers:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        campaignOpportunities:
                            anyOf:
                                -
                                    $ref: '#/components/schemas/ApiObjectIdDM'
                                -
                                    $ref: '#/components/schemas/ApiObjectIdsDM'
                        commissions:
                            $ref: '#/components/schemas/CommissionToCommissionAura'
                    description: 'extra_field<br />If the key is not sent for POST, the values will be copied from the associated task.'
            required:
                - endDate
                - beginDate
                - type
        AccountUserPOSTForRelation:
            title: account_users
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                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
                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)'
                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
        CommunicationPOSTForRelation:
            title: communications
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                postTopic:
                    type: string
                    nullable: true
                    maxLength: 255
                postContent:
                    type: string
                    nullable: true
                dateSend:
                    type: string
                    nullable: true
                    format: date-time
                isSystemMessage:
                    type: boolean
                    nullable: true
                sender:
                    type: string
                    nullable: true
                lastElement:
                    type: boolean
                    nullable: true
                firstElement:
                    type: boolean
                    nullable: true
                senderDel:
                    type: boolean
                    nullable: true
                relatedWith:
                    type: string
                    nullable: true
                senderAccountUserId:
                    type: integer
                    nullable: true
                senderUserId:
                    type: integer
                    nullable: true
                commission:
                    type: integer
                    nullable: true
                    description: 'integer or object (commission)'
                thread:
                    type: integer
                    nullable: false
                    description: 'integer or object (communicationThreads)'
                emailMessage:
                    type: integer
                    nullable: true
                    description: 'integer or object (emailMessage)'
                task:
                    type: integer
                    nullable: true
                    description: 'integer or object (task)'
                senderAccountUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountUser)'
                relatedTopic:
                    type: integer
                    nullable: true
                    description: 'integer or object (communication)'
                senderUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
                receiversToCommunications:
                    type: integer
                    nullable: false
                    description: 'integer or array<object> or object (receiverToCommunication)'
            required:
                - id
                - thread
        UserUserPOSTForRelation:
            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
                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)'
            required:
                - username
        ReceiverToCommunicationPOSTForRelation:
            title: receiver_to_communications
            type: object
            properties:
                id:
                    type: integer
                    nullable: false
                receiver:
                    type: string
                    nullable: true
                readConfirm:
                    type: boolean
                    nullable: true
                receiverDel:
                    type: boolean
                    nullable: true
                dateRead:
                    type: string
                    nullable: true
                    format: date-time
                accountUserId:
                    type: integer
                    nullable: true
                userUserId:
                    type: integer
                    nullable: true
                accountUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (accountUser)'
                communication:
                    type: integer
                    nullable: true
                    description: 'integer or object (communication)'
                userUser:
                    type: integer
                    nullable: true
                    description: 'integer or object (userUser)'
            required:
                - id
    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: object
                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: object
                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: object
                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: object
                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: object
                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: object
                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
        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
        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
        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
        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
        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
        CommunicationGETFieldsForCollection:
            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/CommunicationGETFieldsForCollection'
        CommunicationGETExtra_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/CommunicationGETExtra_fieldsForCollection'
        CommunicationGETFields:
            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/CommunicationGETFields'
        CommunicationGETExtra_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/CommunicationGETExtra_fields'
        CommunicationThreadGroupsGETFieldsForCollection:
            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/CommunicationThreadGroupsGETFieldsForCollection'
        CommunicationThreadGroupsGETExtra_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/CommunicationThreadGroupsGETExtra_fieldsForCollection'
        CommunicationThreadGroupsGETFields:
            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/CommunicationThreadGroupsGETFields'
        CommunicationThreadGroupsGETExtra_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/CommunicationThreadGroupsGETExtra_fields'
        ReceiverToCommunicationGETFieldsForCollection:
            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/ReceiverToCommunicationGETFieldsForCollection'
        ReceiverToCommunicationGETExtra_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/ReceiverToCommunicationGETExtra_fieldsForCollection'
        ReceiverToCommunicationGETFields:
            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/ReceiverToCommunicationGETFields'
        ReceiverToCommunicationGETExtra_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/ReceiverToCommunicationGETExtra_fields'
        CommissionGETFieldsForRelation:
            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/CommissionGETFieldsForRelation'
        CommissionGETExtra_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/CommissionGETExtra_fieldsForRelation'
        CommunicationThreadsGETFieldsForRelation:
            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/CommunicationThreadsGETFieldsForRelation'
        CommunicationThreadsGETExtra_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/CommunicationThreadsGETExtra_fieldsForRelation'
        EmailMessageGETFieldsForRelation:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/EmailMessageGETFieldsForRelation'
        EmailMessageGETExtra_fieldsForRelation:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/EmailMessageGETExtra_fieldsForRelation'
        TaskGETFieldsForRelation:
            name: fields
            in: query
            description: '(default: all fields) These fields will appear in the output data. If you enter fields that do not exist, they will be ignored. The field related to PK will be added automatically.<br />**Query example:** fields=name,shortName,accountUsers.firstName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskGETFieldsForRelation'
        TaskGETExtra_fieldsForRelation:
            name: extra_fields
            in: query
            description: 'This is a field created on the API side that does not appear in the database (e.g. is a combination of other fields).<br />**Query example:** extra_fields=fullName'
            style: form
            explode: false
            schema:
                $ref: '#/components/schemas/TaskGETExtra_fieldsForRelation'
        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'
        CommunicationGETFieldsForRelation:
            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/CommunicationGETFieldsForRelation'
        CommunicationGETExtra_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/CommunicationGETExtra_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'
        ReceiverToCommunicationGETFieldsForRelation:
            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/ReceiverToCommunicationGETFieldsForRelation'
        ReceiverToCommunicationGETExtra_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/ReceiverToCommunicationGETExtra_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'
        CommunicationPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CommunicationPATCHForCollection'
                            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/CommunicationGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CommunicationGETExtra_fieldsForCollection'
                        type: object
        CommunicationPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CommunicationPATCH'
                            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/CommunicationGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CommunicationGETExtra_fields'
                        type: object
        CommunicationPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CommunicationPOSTForCollection'
                            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/CommunicationGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CommunicationGETExtra_fieldsForCollection'
                        type: object
        CommunicationPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CommunicationPOST'
                            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/CommunicationGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CommunicationGETExtra_fields'
                        type: object
        CommunicationThreadGroupsPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CommunicationThreadGroupsPATCHForCollection'
                            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/CommunicationThreadGroupsGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CommunicationThreadGroupsGETExtra_fieldsForCollection'
                        type: object
        CommunicationThreadGroupsPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CommunicationThreadGroupsPATCH'
                            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/CommunicationThreadGroupsGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CommunicationThreadGroupsGETExtra_fields'
                        type: object
        CommunicationThreadGroupsPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CommunicationThreadGroupsPOSTForCollection'
                            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/CommunicationThreadGroupsGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CommunicationThreadGroupsGETExtra_fieldsForCollection'
                        type: object
        CommunicationThreadGroupsPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CommunicationThreadGroupsPOST'
                            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/CommunicationThreadGroupsGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CommunicationThreadGroupsGETExtra_fields'
                        type: object
        ReceiverToCommunicationPATCHForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/ReceiverToCommunicationPATCHForCollection'
                            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/ReceiverToCommunicationGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/ReceiverToCommunicationGETExtra_fieldsForCollection'
                        type: object
        ReceiverToCommunicationPATCHRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/ReceiverToCommunicationPATCH'
                            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/ReceiverToCommunicationGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/ReceiverToCommunicationGETExtra_fields'
                        type: object
        ReceiverToCommunicationPOSTForCollectionRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/ReceiverToCommunicationPOSTForCollection'
                            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/ReceiverToCommunicationGETFieldsForCollection'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/ReceiverToCommunicationGETExtra_fieldsForCollection'
                        type: object
        ReceiverToCommunicationPOSTRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/ReceiverToCommunicationPOST'
                            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/ReceiverToCommunicationGETFields'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/ReceiverToCommunicationGETExtra_fields'
                        type: object
        CommissionPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CommissionPATCHForRelation'
                            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/CommissionGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CommissionGETExtra_fieldsForRelation'
                        type: object
        CommunicationThreadsPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CommunicationThreadsPATCHForRelation'
                            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/CommunicationThreadsGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CommunicationThreadsGETExtra_fieldsForRelation'
                        type: object
        EmailMessagePATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessagePATCHForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageGETExtra_fieldsForRelation'
                        type: object
        TaskPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskPATCHForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETExtra_fieldsForRelation'
                        type: object
        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
        CommunicationPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CommunicationPATCHForRelation'
                            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/CommunicationGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CommunicationGETExtra_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
        ReceiverToCommunicationPATCHForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/ReceiverToCommunicationPATCHForRelation'
                            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/ReceiverToCommunicationGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/ReceiverToCommunicationGETExtra_fieldsForRelation'
                        type: object
        CommissionPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CommissionPOSTForRelation'
                            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/CommissionGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CommissionGETExtra_fieldsForRelation'
                        type: object
        CommunicationThreadsPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CommunicationThreadsPOSTForRelation'
                            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/CommunicationThreadsGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CommunicationThreadsGETExtra_fieldsForRelation'
                        type: object
        EmailMessagePOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/EmailMessagePOSTForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/EmailMessageGETExtra_fieldsForRelation'
                        type: object
        TaskPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/TaskPOSTForRelation'
                            setting:
                                $ref: '#/components/schemas/ApiSettingDM'
                            fields:
                                title: fields
                                description: '(default: all) Fields in returned data. Limit it for the best performance. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/TaskGETExtra_fieldsForRelation'
                        type: object
        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
        CommunicationPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/CommunicationPOSTForRelation'
                            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/CommunicationGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/CommunicationGETExtra_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
        ReceiverToCommunicationPOSTForRelationRequestBody:
            description: ''
            required: true
            content:
                application/json:
                    schema:
                        title: 'Data request model'
                        description: 'Data request model'
                        required:
                            - data
                        properties:
                            data:
                                $ref: '#/components/schemas/ReceiverToCommunicationPOSTForRelation'
                            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/ReceiverToCommunicationGETFieldsForRelation'
                            extra_fields:
                                title: extra_fields
                                description: '(default: none) Extra fields in returned data. Max depth is 1'
                                allOf:
                                    -
                                        $ref: '#/components/schemas/ReceiverToCommunicationGETExtra_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: Communication
    -
        name: CommunicationThreadGroups
    -
        name: ReceiverToCommunication
