[
  {
    "comment": "/**\n* @module\n* @name CallLogService\n * @version 2.42.0-lts.4 - Documentation generated on 2026/04/24T11:38:22.926Z\n* @public\n* @description\n*      This service allow to get the call log and manage it. <br><br>\n*      The main methods and events proposed in that service allow to: <br>\n*      - Get all calls log <br>\n*      - Delete one or all calls log <br>\n*      - Mark calls as read / unread <br>\n*/",
    "meta": {
      "filename": "CallLogService.js",
      "lineno": 31,
      "columnno": 0,
      "path": "/home/jenkins/workspace/cts_Rainbow-Node-SDK_LTSDelivery/lib/services",
      "code": {}
    },
    "kind": "module",
    "name": "CallLogService",
    "version": "2.42.0-lts.4 - Documentation generated on 2026/04/24T11:38:22.926Z",
    "access": "public",
    "description": "This service allow to get the call log and manage it. <br><br>\n     The main methods and events proposed in that service allow to: <br>\n     - Get all calls log <br>\n     - Delete one or all calls log <br>\n     - Mark calls as read / unread <br>",
    "longname": "module:CallLogService",
    "$longname": "CallLogService",
    "$kind": "module"
  },
  {
    "comment": "",
    "meta": {
      "range": [
        2347,
        3904
      ],
      "filename": "CallLogService.js",
      "lineno": 52,
      "columnno": 4,
      "path": "/home/jenkins/workspace/cts_Rainbow-Node-SDK_LTSDelivery/lib/services",
      "code": {
        "id": "astnode100000259",
        "name": "CallLogService_1",
        "type": "MethodDefinition",
        "paramnames": [
          "_core",
          "_eventEmitter",
          "logger",
          "_startConfig"
        ]
      },
      "vars": {
        "": null
      }
    },
    "undocumented": true,
    "name": "CallLogService_1",
    "longname": "module:CallLogService.CallLogService_1",
    "kind": "class",
    "memberof": "module:CallLogService",
    "scope": "static",
    "params": [],
    "$longname": "CallLogService.CallLogService_1",
    "$kind": "constructor"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method deleteAllCallLogs\n     * @instance\n     * @category CallLog MANAGEMENT\n     * @description\n     *    Delete all call logs history<br>\n     *    You have to listen to event `rainbow_oncalllogupdated` to know when the action is finished <br>\n     * @return Nothing\n     */",
    "meta": {
      "filename": "CallLogService.js",
      "lineno": 283,
      "columnno": 4,
      "path": "/home/jenkins/workspace/cts_Rainbow-Node-SDK_LTSDelivery/lib/services",
      "code": {}
    },
    "access": "public",
    "tags": [
      {
        "originalTitle": "nodered",
        "title": "nodered",
        "text": "true",
        "value": "true"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "CallLog MANAGEMENT",
        "value": "CallLog MANAGEMENT"
      }
    ],
    "kind": "function",
    "name": "deleteAllCallLogs",
    "scope": "instance",
    "description": "Delete all call logs history<br>\n   You have to listen to event `rainbow_oncalllogupdated` to know when the action is finished <br>",
    "returns": [
      {
        "description": "Nothing"
      }
    ],
    "longname": "module:CallLogService#deleteAllCallLogs",
    "memberof": "module:CallLogService",
    "$longname": "CallLogService#deleteAllCallLogs",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method deleteCallLogsForContact\n     * @instance\n     * @category CallLog MANAGEMENT\n     * @description\n     *    Delete all calls log items associated to a contact's given jid<br>\n     *    You have to listen to event `rainbow_oncalllogupdated` to know when the action is finished <br>\n     * @param {string} jid The call log id to remove\n     * @return Nothing\n     */",
    "meta": {
      "filename": "CallLogService.js",
      "lineno": 266,
      "columnno": 4,
      "path": "/home/jenkins/workspace/cts_Rainbow-Node-SDK_LTSDelivery/lib/services",
      "code": {}
    },
    "access": "public",
    "tags": [
      {
        "originalTitle": "nodered",
        "title": "nodered",
        "text": "true",
        "value": "true"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "CallLog MANAGEMENT",
        "value": "CallLog MANAGEMENT"
      }
    ],
    "kind": "function",
    "name": "deleteCallLogsForContact",
    "scope": "instance",
    "description": "Delete all calls log items associated to a contact's given jid<br>\n   You have to listen to event `rainbow_oncalllogupdated` to know when the action is finished <br>",
    "params": [
      {
        "type": {
          "names": [
            "string"
          ]
        },
        "description": "The call log id to remove",
        "name": "jid"
      }
    ],
    "returns": [
      {
        "description": "Nothing"
      }
    ],
    "longname": "module:CallLogService#deleteCallLogsForContact",
    "memberof": "module:CallLogService",
    "$longname": "CallLogService#deleteCallLogsForContact",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method deleteOneCallLog\n     * @instance\n     * @category CallLog MANAGEMENT\n     * @description\n     *    Delete a call log from it's id<br>\n     *    You have to listen to event `rainbow_oncalllogupdated` to know when the action is finished <br>\n     * @param {string} id The call log id to remove\n     * @return Nothing\n     */",
    "meta": {
      "filename": "CallLogService.js",
      "lineno": 249,
      "columnno": 4,
      "path": "/home/jenkins/workspace/cts_Rainbow-Node-SDK_LTSDelivery/lib/services",
      "code": {}
    },
    "access": "public",
    "tags": [
      {
        "originalTitle": "nodered",
        "title": "nodered",
        "text": "true",
        "value": "true"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "CallLog MANAGEMENT",
        "value": "CallLog MANAGEMENT"
      }
    ],
    "kind": "function",
    "name": "deleteOneCallLog",
    "scope": "instance",
    "description": "Delete a call log from it's id<br>\n   You have to listen to event `rainbow_oncalllogupdated` to know when the action is finished <br>",
    "params": [
      {
        "type": {
          "names": [
            "string"
          ]
        },
        "description": "The call log id to remove",
        "name": "id"
      }
    ],
    "returns": [
      {
        "description": "Nothing"
      }
    ],
    "longname": "module:CallLogService#deleteOneCallLog",
    "memberof": "module:CallLogService",
    "$longname": "CallLogService#deleteOneCallLog",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method getAll\n     * @instance\n     * @category CallLog MANAGEMENT\n     * @description\n     *    Get all calls log history for the connected user <br>\n     * @return {CallLog[]} An array of call log entry\n     */",
    "meta": {
      "filename": "CallLogService.js",
      "lineno": 194,
      "columnno": 4,
      "path": "/home/jenkins/workspace/cts_Rainbow-Node-SDK_LTSDelivery/lib/services",
      "code": {}
    },
    "access": "public",
    "tags": [
      {
        "originalTitle": "nodered",
        "title": "nodered",
        "text": "true",
        "value": "true"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "CallLog MANAGEMENT",
        "value": "CallLog MANAGEMENT"
      }
    ],
    "kind": "function",
    "name": "getAll",
    "scope": "instance",
    "description": "Get all calls log history for the connected user <br>",
    "returns": [
      {
        "type": {
          "names": [
            "Array.<CallLog>"
          ]
        },
        "description": "An array of call log entry"
      }
    ],
    "longname": "module:CallLogService#getAll",
    "memberof": "module:CallLogService",
    "$longname": "CallLogService#getAll",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method getMissedCallLogCounter\n     * @instance\n     * @category CallLog MANAGEMENT\n     * @description\n     *    Get the number of call missed (state === \"missed\" && direction === \"incoming\") <br>\n     * @return {Number} The number of call missed\n     */",
    "meta": {
      "filename": "CallLogService.js",
      "lineno": 226,
      "columnno": 4,
      "path": "/home/jenkins/workspace/cts_Rainbow-Node-SDK_LTSDelivery/lib/services",
      "code": {}
    },
    "access": "public",
    "tags": [
      {
        "originalTitle": "nodered",
        "title": "nodered",
        "text": "true",
        "value": "true"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "CallLog MANAGEMENT",
        "value": "CallLog MANAGEMENT"
      }
    ],
    "kind": "function",
    "name": "getMissedCallLogCounter",
    "scope": "instance",
    "description": "Get the number of call missed (state === \"missed\" && direction === \"incoming\") <br>",
    "returns": [
      {
        "type": {
          "names": [
            "Number"
          ]
        },
        "description": "The number of call missed"
      }
    ],
    "longname": "module:CallLogService#getMissedCallLogCounter",
    "memberof": "module:CallLogService",
    "$longname": "CallLogService#getMissedCallLogCounter",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method isInitialized\n     * @instance\n     * @category CallLog INITIALISATION\n     * @description\n     *    Check if the call log history has been received from Rainbow <br>\n     *    A false answer means that the call logs have not yet been retrieved from the server. <br>\n     * @return {Boolean} True if the call logs have been retrieved. False elsewhere.\n     */",
    "meta": {
      "filename": "CallLogService.js",
      "lineno": 335,
      "columnno": 4,
      "path": "/home/jenkins/workspace/cts_Rainbow-Node-SDK_LTSDelivery/lib/services",
      "code": {}
    },
    "access": "public",
    "tags": [
      {
        "originalTitle": "nodered",
        "title": "nodered",
        "text": "true",
        "value": "true"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "CallLog INITIALISATION",
        "value": "CallLog INITIALISATION"
      }
    ],
    "kind": "function",
    "name": "isInitialized",
    "scope": "instance",
    "description": "Check if the call log history has been received from Rainbow <br>\n   A false answer means that the call logs have not yet been retrieved from the server. <br>",
    "returns": [
      {
        "type": {
          "names": [
            "Boolean"
          ]
        },
        "description": "True if the call logs have been retrieved. False elsewhere."
      }
    ],
    "longname": "module:CallLogService#isInitialized",
    "memberof": "module:CallLogService",
    "$longname": "CallLogService#isInitialized",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method markAllCallsLogsAsRead\n     * @instance\n     * @category CallLog MANAGEMENT\n     * @description\n     *    Mark all call log items as read<br>\n     *    You have to listen to event `rainbow_oncalllogackupdated` to know when the action is finished <br>\n     * @return Nothing\n     */",
    "meta": {
      "filename": "CallLogService.js",
      "lineno": 316,
      "columnno": 4,
      "path": "/home/jenkins/workspace/cts_Rainbow-Node-SDK_LTSDelivery/lib/services",
      "code": {}
    },
    "access": "public",
    "tags": [
      {
        "originalTitle": "nodered",
        "title": "nodered",
        "text": "true",
        "value": "true"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "CallLog MANAGEMENT",
        "value": "CallLog MANAGEMENT"
      }
    ],
    "kind": "function",
    "name": "markAllCallsLogsAsRead",
    "scope": "instance",
    "description": "Mark all call log items as read<br>\n   You have to listen to event `rainbow_oncalllogackupdated` to know when the action is finished <br>",
    "returns": [
      {
        "description": "Nothing"
      }
    ],
    "longname": "module:CallLogService#markAllCallsLogsAsRead",
    "memberof": "module:CallLogService",
    "$longname": "CallLogService#markAllCallsLogsAsRead",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method markCallLogAsRead\n     * @instance\n     * @category CallLog MANAGEMENT\n     * @description\n     *    Mark a call log item as read<br>\n     *    You have to listen to event `rainbow_oncalllogackupdated` to know when the action is finished <br>\n     * @param {string} id The call log id\n     * @return Nothing\n     */",
    "meta": {
      "filename": "CallLogService.js",
      "lineno": 299,
      "columnno": 4,
      "path": "/home/jenkins/workspace/cts_Rainbow-Node-SDK_LTSDelivery/lib/services",
      "code": {}
    },
    "access": "public",
    "tags": [
      {
        "originalTitle": "nodered",
        "title": "nodered",
        "text": "true",
        "value": "true"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "CallLog MANAGEMENT",
        "value": "CallLog MANAGEMENT"
      }
    ],
    "kind": "function",
    "name": "markCallLogAsRead",
    "scope": "instance",
    "description": "Mark a call log item as read<br>\n   You have to listen to event `rainbow_oncalllogackupdated` to know when the action is finished <br>",
    "params": [
      {
        "type": {
          "names": [
            "string"
          ]
        },
        "description": "The call log id",
        "name": "id"
      }
    ],
    "returns": [
      {
        "description": "Nothing"
      }
    ],
    "longname": "module:CallLogService#markCallLogAsRead",
    "memberof": "module:CallLogService",
    "$longname": "CallLogService#markCallLogAsRead",
    "$kind": "method"
  }
]