[
  {
    "comment": "/**\n * @module\n * @name TasksService\n * @version 2.42.0-lts.4 - Documentation generated on 2026/04/24T11:38:22.926Z\n * @public\n * @description\n *              This service manages tasks of the connected user. <br>\n *              <br><br>\n */",
    "meta": {
      "filename": "TasksService.js",
      "lineno": 20,
      "columnno": 0,
      "path": "/home/jenkins/workspace/cts_Rainbow-Node-SDK_LTSDelivery/lib/services",
      "code": {}
    },
    "kind": "module",
    "name": "TasksService",
    "version": "2.42.0-lts.4 - Documentation generated on 2026/04/24T11:38:22.926Z",
    "access": "public",
    "description": "This service manages tasks of the connected user. <br>\n             <br><br>",
    "longname": "module:TasksService",
    "$longname": "TasksService",
    "$kind": "module"
  },
  {
    "comment": "",
    "meta": {
      "range": [
        1724,
        2499
      ],
      "filename": "TasksService.js",
      "lineno": 42,
      "columnno": 4,
      "path": "/home/jenkins/workspace/cts_Rainbow-Node-SDK_LTSDelivery/lib/services",
      "code": {
        "id": "astnode100000236",
        "name": "TasksService_1",
        "type": "MethodDefinition",
        "paramnames": [
          "_core",
          "_eventEmitter",
          "_logger",
          "_startConfig"
        ]
      },
      "vars": {
        "": null
      }
    },
    "undocumented": true,
    "name": "TasksService_1",
    "longname": "module:TasksService.TasksService_1",
    "kind": "class",
    "memberof": "module:TasksService",
    "scope": "static",
    "params": [],
    "$longname": "TasksService.TasksService_1",
    "$kind": "constructor"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method addTask\n     * @since 2.28.0\n     * @instance\n     * @param {TaskInput} task The task to create.\n     * @description\n     *      Create a new task <br>\n     * @async\n     * @category Tasks MANAGEMENT\n     * @return {Promise<Task, ErrorManager>} The result\n     * @fulfil {Task} - Created task object or an error object depending on the result\n     * @category async\n     */",
    "meta": {
      "filename": "TasksService.js",
      "lineno": 123,
      "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": "Tasks MANAGEMENT",
        "value": "Tasks MANAGEMENT"
      },
      {
        "originalTitle": "fulfil",
        "title": "fulfil",
        "text": "{Task} - Created task object or an error object depending on the result",
        "value": "{Task} - Created task object or an error object depending on the result"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "async",
        "value": "async"
      }
    ],
    "kind": "function",
    "name": "addTask",
    "since": "2.28.0",
    "scope": "instance",
    "params": [
      {
        "type": {
          "names": [
            "TaskInput"
          ]
        },
        "description": "The task to create.",
        "name": "task"
      }
    ],
    "description": "Create a new task <br>",
    "async": true,
    "returns": [
      {
        "type": {
          "names": [
            "Promise.<Task, ErrorManager>"
          ]
        },
        "description": "The result"
      }
    ],
    "longname": "module:TasksService#addTask",
    "memberof": "module:TasksService",
    "$longname": "TasksService#addTask",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @since 2.28.0\n     * @method createOrUpdatePropertiesTaskByCategoryId\n     * @instance\n     * @param {string} categoryId The id of the category where the property must be added.\n     * @param {any} property The property to be added to the category. JSON object containing category properties attribute properties must contain field color with hexadecimal RGB values.\n     * @description\n     *      Create a new property for category. <br>\n     * @async\n     * @category Tasks MANAGEMENT\n     * @return {Promise<any, ErrorManager>} The result\n     * @category async\n     */",
    "meta": {
      "filename": "TasksService.js",
      "lineno": 188,
      "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": "Tasks MANAGEMENT",
        "value": "Tasks MANAGEMENT"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "async",
        "value": "async"
      }
    ],
    "since": "2.28.0",
    "kind": "function",
    "name": "createOrUpdatePropertiesTaskByCategoryId",
    "scope": "instance",
    "params": [
      {
        "type": {
          "names": [
            "string"
          ]
        },
        "description": "The id of the category where the property must be added.",
        "name": "categoryId"
      },
      {
        "type": {
          "names": [
            "any"
          ]
        },
        "description": "The property to be added to the category. JSON object containing category properties attribute properties must contain field color with hexadecimal RGB values.",
        "name": "property"
      }
    ],
    "description": "Create a new property for category. <br>",
    "async": true,
    "returns": [
      {
        "type": {
          "names": [
            "Promise.<any, ErrorManager>"
          ]
        },
        "description": "The result"
      }
    ],
    "longname": "module:TasksService#createOrUpdatePropertiesTaskByCategoryId",
    "memberof": "module:TasksService",
    "$longname": "TasksService#createOrUpdatePropertiesTaskByCategoryId",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method createTaskcategory\n     * @since 2.28.0\n     * @instance\n     * @param {string} category The category to create.\n     * @description\n     *      Create a new category <br>\n     * @async\n     * @category Tasks MANAGEMENT\n     * @return {Promise<any, ErrorManager>} The result\n     * @category async\n     */",
    "meta": {
      "filename": "TasksService.js",
      "lineno": 156,
      "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": "Tasks MANAGEMENT",
        "value": "Tasks MANAGEMENT"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "async",
        "value": "async"
      }
    ],
    "kind": "function",
    "name": "createTaskcategory",
    "since": "2.28.0",
    "scope": "instance",
    "params": [
      {
        "type": {
          "names": [
            "string"
          ]
        },
        "description": "The category to create.",
        "name": "category"
      }
    ],
    "description": "Create a new category <br>",
    "async": true,
    "returns": [
      {
        "type": {
          "names": [
            "Promise.<any, ErrorManager>"
          ]
        },
        "description": "The result"
      }
    ],
    "longname": "module:TasksService#createTaskcategory",
    "memberof": "module:TasksService",
    "$longname": "TasksService#createTaskcategory",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method deleteCategoryFromTasks\n     * @since 2.28.0\n     * @param {string} categoryId the id of the category to delete from server and cache.\n     * @instance\n     * @description\n     *      This API can be used to delete a task. This API can only be used by user himself.  <br>\n     * @async\n     * @category Tasks MANAGEMENT\n     * @return {Promise<boolean, ErrorManager>} The result\n     * @category async\n     */",
    "meta": {
      "filename": "TasksService.js",
      "lineno": 513,
      "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": "Tasks MANAGEMENT",
        "value": "Tasks MANAGEMENT"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "async",
        "value": "async"
      }
    ],
    "kind": "function",
    "name": "deleteCategoryFromTasks",
    "since": "2.28.0",
    "params": [
      {
        "type": {
          "names": [
            "string"
          ]
        },
        "description": "the id of the category to delete from server and cache.",
        "name": "categoryId"
      }
    ],
    "scope": "instance",
    "description": "This API can be used to delete a task. This API can only be used by user himself.  <br>",
    "async": true,
    "returns": [
      {
        "type": {
          "names": [
            "Promise.<boolean, ErrorManager>"
          ]
        },
        "description": "The result"
      }
    ],
    "longname": "module:TasksService#deleteCategoryFromTasks",
    "memberof": "module:TasksService",
    "$longname": "TasksService#deleteCategoryFromTasks",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method deletePropertiesFromCategoriesTasks\n     * @since 2.28.0\n     * @param {string} categoriId category unique identifier of the properties to delete.\n     * @instance\n     * @description\n     *      This API can be used to remove a category's properties from a user's to do list. This API can only be used by user himself .  <br>\n     * @async\n     * @category Tasks MANAGEMENT\n     * @return {Promise<boolean, ErrorManager>} The result\n     * @category async\n     */",
    "meta": {
      "filename": "TasksService.js",
      "lineno": 458,
      "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": "Tasks MANAGEMENT",
        "value": "Tasks MANAGEMENT"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "async",
        "value": "async"
      }
    ],
    "kind": "function",
    "name": "deletePropertiesFromCategoriesTasks",
    "since": "2.28.0",
    "params": [
      {
        "type": {
          "names": [
            "string"
          ]
        },
        "description": "category unique identifier of the properties to delete.",
        "name": "categoriId"
      }
    ],
    "scope": "instance",
    "description": "This API can be used to remove a category's properties from a user's to do list. This API can only be used by user himself .  <br>",
    "async": true,
    "returns": [
      {
        "type": {
          "names": [
            "Promise.<boolean, ErrorManager>"
          ]
        },
        "description": "The result"
      }
    ],
    "longname": "module:TasksService#deletePropertiesFromCategoriesTasks",
    "memberof": "module:TasksService",
    "$longname": "TasksService#deletePropertiesFromCategoriesTasks",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method deleteTask\n     * @since 2.28.0\n     * @param {string} taskId the id of the task to delete from server and cache.\n     * @instance\n     * @description\n     *      This API can be used to delete a task. This API can only be used by user himself.  <br>\n     * @async\n     * @category Tasks MANAGEMENT\n     * @return {Promise<boolean, ErrorManager>} The result\n     * @category async\n     */",
    "meta": {
      "filename": "TasksService.js",
      "lineno": 484,
      "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": "Tasks MANAGEMENT",
        "value": "Tasks MANAGEMENT"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "async",
        "value": "async"
      }
    ],
    "kind": "function",
    "name": "deleteTask",
    "since": "2.28.0",
    "params": [
      {
        "type": {
          "names": [
            "string"
          ]
        },
        "description": "the id of the task to delete from server and cache.",
        "name": "taskId"
      }
    ],
    "scope": "instance",
    "description": "This API can be used to delete a task. This API can only be used by user himself.  <br>",
    "async": true,
    "returns": [
      {
        "type": {
          "names": [
            "Promise.<boolean, ErrorManager>"
          ]
        },
        "description": "The result"
      }
    ],
    "longname": "module:TasksService#deleteTask",
    "memberof": "module:TasksService",
    "$longname": "TasksService#deleteTask",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method getAllCategories\n     * @since 2.28.0\n     * @param {boolean} forceServerSearch=false True to force a request to the server\n     * @instance\n     * @description\n     *      This API can be used to retrieve the list of categories for tasks. This API can only be used by user himself.  <br>\n     * @async\n     * @category Tasks MANAGEMENT\n     * @return {Promise<any, ErrorManager>} The result\n     * @fulfil {any} - This API can be used to retrieve the list of categories for tasks. This API can only be used by user himself.\n     * @category async\n     */",
    "meta": {
      "filename": "TasksService.js",
      "lineno": 415,
      "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": "Tasks MANAGEMENT",
        "value": "Tasks MANAGEMENT"
      },
      {
        "originalTitle": "fulfil",
        "title": "fulfil",
        "text": "{any} - This API can be used to retrieve the list of categories for tasks. This API can only be used by user himself.",
        "value": "{any} - This API can be used to retrieve the list of categories for tasks. This API can only be used by user himself."
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "async",
        "value": "async"
      }
    ],
    "kind": "function",
    "name": "getAllCategories",
    "since": "2.28.0",
    "params": [
      {
        "type": {
          "names": [
            "boolean"
          ]
        },
        "defaultvalue": false,
        "description": "True to force a request to the server",
        "name": "forceServerSearch"
      }
    ],
    "scope": "instance",
    "description": "This API can be used to retrieve the list of categories for tasks. This API can only be used by user himself.  <br>",
    "async": true,
    "returns": [
      {
        "type": {
          "names": [
            "Promise.<any, ErrorManager>"
          ]
        },
        "description": "The result"
      }
    ],
    "longname": "module:TasksService#getAllCategories",
    "memberof": "module:TasksService",
    "$longname": "TasksService#getAllCategories",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method getTaskById\n     * @since 2.28.0\n     * @instance\n     * @param {string} taskId The id of the task to search.\n     * @param {boolean} forceServerSearch=boolean force to search on server.\n     * @description\n     *      Get a task by Id. <br>\n     * @async\n     * @category Tasks MANAGEMENT\n     * @return {Promise<Task, ErrorManager>} The result\n     * @category async\n     */",
    "meta": {
      "filename": "TasksService.js",
      "lineno": 221,
      "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": "Tasks MANAGEMENT",
        "value": "Tasks MANAGEMENT"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "async",
        "value": "async"
      }
    ],
    "kind": "function",
    "name": "getTaskById",
    "since": "2.28.0",
    "scope": "instance",
    "params": [
      {
        "type": {
          "names": [
            "string"
          ]
        },
        "description": "The id of the task to search.",
        "name": "taskId"
      },
      {
        "type": {
          "names": [
            "boolean"
          ]
        },
        "defaultvalue": "boolean",
        "description": "force to search on server.",
        "name": "forceServerSearch"
      }
    ],
    "description": "Get a task by Id. <br>",
    "async": true,
    "returns": [
      {
        "type": {
          "names": [
            "Promise.<Task, ErrorManager>"
          ]
        },
        "description": "The result"
      }
    ],
    "longname": "module:TasksService#getTaskById",
    "memberof": "module:TasksService",
    "$longname": "TasksService#getTaskById",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method getTasks\n     * @since 2.28.0\n     * @instance\n     * @param {string} categoryId allows to retrieve only todos in that category by Id.\n     * @param {boolean} forceServerSearch=false True to force a request to the server\n     * @description\n     *      This API can be used to retrieve the list of user's todos. This API can only be used by user himself.  <br>\n     * @async\n     * @category Tasks MANAGEMENT\n     * @return {Promise<Task, ErrorManager>} The result\n     * @fulfil {any} - This API can be used to retrieve the list of user's todos. This API can only be used by user himself.\n     * @category async\n     */",
    "meta": {
      "filename": "TasksService.js",
      "lineno": 344,
      "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": "Tasks MANAGEMENT",
        "value": "Tasks MANAGEMENT"
      },
      {
        "originalTitle": "fulfil",
        "title": "fulfil",
        "text": "{any} - This API can be used to retrieve the list of user's todos. This API can only be used by user himself.",
        "value": "{any} - This API can be used to retrieve the list of user's todos. This API can only be used by user himself."
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "async",
        "value": "async"
      }
    ],
    "kind": "function",
    "name": "getTasks",
    "since": "2.28.0",
    "scope": "instance",
    "params": [
      {
        "type": {
          "names": [
            "string"
          ]
        },
        "description": "allows to retrieve only todos in that category by Id.",
        "name": "categoryId"
      },
      {
        "type": {
          "names": [
            "boolean"
          ]
        },
        "defaultvalue": false,
        "description": "True to force a request to the server",
        "name": "forceServerSearch"
      }
    ],
    "description": "This API can be used to retrieve the list of user's todos. This API can only be used by user himself.  <br>",
    "async": true,
    "returns": [
      {
        "type": {
          "names": [
            "Promise.<Task, ErrorManager>"
          ]
        },
        "description": "The result"
      }
    ],
    "longname": "module:TasksService#getTasks",
    "memberof": "module:TasksService",
    "$longname": "TasksService#getTasks",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method getTasksByCategoryId\n     * @since 2.28.0\n     * @instance\n     * @param {string} categoryId allows to retrieve only todos in that category by Id.\n     * @param {boolean} forceServerSearch=false True to force a request to the server\n     * @description\n     *      This API can be used to retrieve the list of user's todos. This API can only be used by user himself.  <br>\n     * @async\n     * @category Tasks MANAGEMENT\n     * @return {Promise<Task, ErrorManager>} The result\n     * @fulfil {any} - This API can be used to retrieve the list of user's todos. This API can only be used by user himself.\n     * @category async\n     */",
    "meta": {
      "filename": "TasksService.js",
      "lineno": 273,
      "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": "Tasks MANAGEMENT",
        "value": "Tasks MANAGEMENT"
      },
      {
        "originalTitle": "fulfil",
        "title": "fulfil",
        "text": "{any} - This API can be used to retrieve the list of user's todos. This API can only be used by user himself.",
        "value": "{any} - This API can be used to retrieve the list of user's todos. This API can only be used by user himself."
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "async",
        "value": "async"
      }
    ],
    "kind": "function",
    "name": "getTasksByCategoryId",
    "since": "2.28.0",
    "scope": "instance",
    "params": [
      {
        "type": {
          "names": [
            "string"
          ]
        },
        "description": "allows to retrieve only todos in that category by Id.",
        "name": "categoryId"
      },
      {
        "type": {
          "names": [
            "boolean"
          ]
        },
        "defaultvalue": false,
        "description": "True to force a request to the server",
        "name": "forceServerSearch"
      }
    ],
    "description": "This API can be used to retrieve the list of user's todos. This API can only be used by user himself.  <br>",
    "async": true,
    "returns": [
      {
        "type": {
          "names": [
            "Promise.<Task, ErrorManager>"
          ]
        },
        "description": "The result"
      }
    ],
    "longname": "module:TasksService#getTasksByCategoryId",
    "memberof": "module:TasksService",
    "$longname": "TasksService#getTasksByCategoryId",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @description\n     * remove tasks from cache that are in the provided category and are not present in tasks provided in parameter.\n     * If category is not provided, then remove tasks from cache that are not present in tasks provided in parameter.\n     */",
    "meta": {
      "range": [
        31979,
        33721
      ],
      "filename": "TasksService.js",
      "lineno": 718,
      "columnno": 4,
      "path": "/home/jenkins/workspace/cts_Rainbow-Node-SDK_LTSDelivery/lib/services",
      "code": {
        "id": "astnode100002844",
        "name": "TasksService_1#keepTasksInCacheByCategory",
        "type": "MethodDefinition",
        "paramnames": [
          "tasks",
          "categoryId"
        ]
      },
      "vars": {
        "": null
      }
    },
    "description": "remove tasks from cache that are in the provided category and are not present in tasks provided in parameter.\nIf category is not provided, then remove tasks from cache that are not present in tasks provided in parameter.",
    "name": "keepTasksInCacheByCategory",
    "longname": "module:TasksService#TasksService_1#keepTasksInCacheByCategory",
    "kind": "function",
    "scope": "instance",
    "memberof": "module:TasksService#TasksService_1",
    "params": [],
    "$longname": "TasksService#TasksService_1#keepTasksInCacheByCategory",
    "$kind": "method"
  },
  {
    "comment": "/**\n     * @public\n     * @nodered true\n     * @method updateTask\n     * @since 2.28.0\n     * @instance\n     * @param  {string} taskId The id of a task to update.\n     * @param {TaskInput} task The properties to be updated.\n     * @description\n     *      update a task. <br>\n     * @async\n     * @category Tasks MANAGEMENT\n     * @return {Promise<any, ErrorManager>} The result\n     * @category async\n     */",
    "meta": {
      "filename": "TasksService.js",
      "lineno": 540,
      "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": "Tasks MANAGEMENT",
        "value": "Tasks MANAGEMENT"
      },
      {
        "originalTitle": "category",
        "title": "category",
        "text": "async",
        "value": "async"
      }
    ],
    "kind": "function",
    "name": "updateTask",
    "since": "2.28.0",
    "scope": "instance",
    "params": [
      {
        "type": {
          "names": [
            "string"
          ]
        },
        "description": "The id of a task to update.",
        "name": "taskId"
      },
      {
        "type": {
          "names": [
            "TaskInput"
          ]
        },
        "description": "The properties to be updated.",
        "name": "task"
      }
    ],
    "description": "update a task. <br>",
    "async": true,
    "returns": [
      {
        "type": {
          "names": [
            "Promise.<any, ErrorManager>"
          ]
        },
        "description": "The result"
      }
    ],
    "longname": "module:TasksService#updateTask",
    "memberof": "module:TasksService",
    "$longname": "TasksService#updateTask",
    "$kind": "method"
  }
]