This commit is contained in:
Andris Reinman 2020-10-01 11:01:20 +03:00
parent eb5707b41e
commit 61eb05717c
6 changed files with 28 additions and 28 deletions

View file

@ -1254,14 +1254,14 @@ define({ "api": [
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "metaData", "field": "metaData",
"description": "<p>Optional metadata, must be an object or JSON formatted string of an object</p>" "description": "<p>Optional metadata, must be an object or JSON formatted string</p>"
}, },
{ {
"group": "Parameter", "group": "Parameter",
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "internalData", "field": "internalData",
"description": "<p>Optional metadata for internal use, must be an object or JSON formatted string of an object. Not available for user-role tokens</p>" "description": "<p>Optional metadata for internal use, must be an object or JSON formatted string. Not available for user-role tokens</p>"
}, },
{ {
"group": "Parameter", "group": "Parameter",
@ -1458,14 +1458,14 @@ define({ "api": [
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "metaData", "field": "metaData",
"description": "<p>Optional metadata, must be an object or JSON formatted string of an object</p>" "description": "<p>Optional metadata, must be an object or JSON formatted string</p>"
}, },
{ {
"group": "Parameter", "group": "Parameter",
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "internalData", "field": "internalData",
"description": "<p>Optional metadata for internal use, must be an object or JSON formatted string of an object. Not available for user-role tokens</p>" "description": "<p>Optional metadata for internal use, must be an object or JSON formatted string. Not available for user-role tokens</p>"
} }
] ]
} }
@ -1603,14 +1603,14 @@ define({ "api": [
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "metaData", "field": "metaData",
"description": "<p>Optional metadata, must be an object or JSON formatted string of an object</p>" "description": "<p>Optional metadata, must be an object or JSON formatted string</p>"
}, },
{ {
"group": "Parameter", "group": "Parameter",
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "internalData", "field": "internalData",
"description": "<p>Optional metadata for internal use, must be an object or JSON formatted string of an object. Not available for user-role tokens</p>" "description": "<p>Optional metadata for internal use, must be an object or JSON formatted string. Not available for user-role tokens</p>"
}, },
{ {
"group": "Parameter", "group": "Parameter",
@ -1894,14 +1894,14 @@ define({ "api": [
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "metaData", "field": "metaData",
"description": "<p>Optional metadata, must be an object or JSON formatted string of an object</p>" "description": "<p>Optional metadata, must be an object or JSON formatted string</p>"
}, },
{ {
"group": "Parameter", "group": "Parameter",
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "internalData", "field": "internalData",
"description": "<p>Optional metadata for internal use, must be an object or JSON formatted string of an object. Not available for user-role tokens</p>" "description": "<p>Optional metadata for internal use, must be an object or JSON formatted string. Not available for user-role tokens</p>"
}, },
{ {
"group": "Parameter", "group": "Parameter",

View file

@ -1254,14 +1254,14 @@
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "metaData", "field": "metaData",
"description": "<p>Optional metadata, must be an object or JSON formatted string of an object</p>" "description": "<p>Optional metadata, must be an object or JSON formatted string</p>"
}, },
{ {
"group": "Parameter", "group": "Parameter",
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "internalData", "field": "internalData",
"description": "<p>Optional metadata for internal use, must be an object or JSON formatted string of an object. Not available for user-role tokens</p>" "description": "<p>Optional metadata for internal use, must be an object or JSON formatted string. Not available for user-role tokens</p>"
}, },
{ {
"group": "Parameter", "group": "Parameter",
@ -1458,14 +1458,14 @@
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "metaData", "field": "metaData",
"description": "<p>Optional metadata, must be an object or JSON formatted string of an object</p>" "description": "<p>Optional metadata, must be an object or JSON formatted string</p>"
}, },
{ {
"group": "Parameter", "group": "Parameter",
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "internalData", "field": "internalData",
"description": "<p>Optional metadata for internal use, must be an object or JSON formatted string of an object. Not available for user-role tokens</p>" "description": "<p>Optional metadata for internal use, must be an object or JSON formatted string. Not available for user-role tokens</p>"
} }
] ]
} }
@ -1603,14 +1603,14 @@
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "metaData", "field": "metaData",
"description": "<p>Optional metadata, must be an object or JSON formatted string of an object</p>" "description": "<p>Optional metadata, must be an object or JSON formatted string</p>"
}, },
{ {
"group": "Parameter", "group": "Parameter",
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "internalData", "field": "internalData",
"description": "<p>Optional metadata for internal use, must be an object or JSON formatted string of an object. Not available for user-role tokens</p>" "description": "<p>Optional metadata for internal use, must be an object or JSON formatted string. Not available for user-role tokens</p>"
}, },
{ {
"group": "Parameter", "group": "Parameter",
@ -1894,14 +1894,14 @@
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "metaData", "field": "metaData",
"description": "<p>Optional metadata, must be an object or JSON formatted string of an object</p>" "description": "<p>Optional metadata, must be an object or JSON formatted string</p>"
}, },
{ {
"group": "Parameter", "group": "Parameter",
"type": "Object|String", "type": "Object|String",
"optional": true, "optional": true,
"field": "internalData", "field": "internalData",
"description": "<p>Optional metadata for internal use, must be an object or JSON formatted string of an object. Not available for user-role tokens</p>" "description": "<p>Optional metadata for internal use, must be an object or JSON formatted string. Not available for user-role tokens</p>"
}, },
{ {
"group": "Parameter", "group": "Parameter",

View file

@ -9,7 +9,7 @@ define({
"apidoc": "0.3.0", "apidoc": "0.3.0",
"generator": { "generator": {
"name": "apidoc", "name": "apidoc",
"time": "2020-09-28T10:51:58.252Z", "time": "2020-09-28T10:56:44.910Z",
"url": "https://apidocjs.com", "url": "https://apidocjs.com",
"version": "0.25.0" "version": "0.25.0"
} }

View file

@ -9,7 +9,7 @@
"apidoc": "0.3.0", "apidoc": "0.3.0",
"generator": { "generator": {
"name": "apidoc", "name": "apidoc",
"time": "2020-09-28T10:51:58.252Z", "time": "2020-09-28T10:56:44.910Z",
"url": "https://apidocjs.com", "url": "https://apidocjs.com",
"version": "0.25.0" "version": "0.25.0"
} }

View file

@ -292,8 +292,8 @@ module.exports = (db, server, userHandler) => {
* @apiParam {String[]} [tags] A list of tags associated with this address * @apiParam {String[]} [tags] A list of tags associated with this address
* @apiParam {Boolean} [main=false] Indicates if this is the default address for the User * @apiParam {Boolean} [main=false] Indicates if this is the default address for the User
* @apiParam {Boolean} [allowWildcard=false] If <code>true</code> then address value can be in the form of <code>\*@example.com</code>, <code>\*suffix@example.com</code> and <code>username@\*</code>, otherwise using \* is not allowed. Static suffix can be up to 32 characters long. * @apiParam {Boolean} [allowWildcard=false] If <code>true</code> then address value can be in the form of <code>\*@example.com</code>, <code>\*suffix@example.com</code> and <code>username@\*</code>, otherwise using \* is not allowed. Static suffix can be up to 32 characters long.
* @apiParam {Object|String} [metaData] Optional metadata, must be an object or JSON formatted string of an object * @apiParam {Object|String} [metaData] Optional metadata, must be an object or JSON formatted string
* @apiParam {Object|String} [internalData] Optional metadata for internal use, must be an object or JSON formatted string of an object. Not available for user-role tokens * @apiParam {Object|String} [internalData] Optional metadata for internal use, must be an object or JSON formatted string. Not available for user-role tokens
* *
* @apiSuccess {Boolean} success Indicates successful response * @apiSuccess {Boolean} success Indicates successful response
* @apiSuccess {String} id ID of the Address * @apiSuccess {String} id ID of the Address
@ -933,8 +933,8 @@ module.exports = (db, server, userHandler) => {
* @apiParam {String} [name] Identity name * @apiParam {String} [name] Identity name
* @apiParam {String} [address] New address if you want to rename existing address. Only affects normal addresses, special addresses that include \* can not be changed * @apiParam {String} [address] New address if you want to rename existing address. Only affects normal addresses, special addresses that include \* can not be changed
* @apiParam {Boolean} main Indicates if this is the default address for the User * @apiParam {Boolean} main Indicates if this is the default address for the User
* @apiParam {Object|String} [metaData] Optional metadata, must be an object or JSON formatted string of an object * @apiParam {Object|String} [metaData] Optional metadata, must be an object or JSON formatted string
* @apiParam {Object|String} [internalData] Optional metadata for internal use, must be an object or JSON formatted string of an object. Not available for user-role tokens * @apiParam {Object|String} [internalData] Optional metadata for internal use, must be an object or JSON formatted string. Not available for user-role tokens
* @apiParam {String[]} [tags] A list of tags associated with this address * @apiParam {String[]} [tags] A list of tags associated with this address
* *
@ -1361,8 +1361,8 @@ module.exports = (db, server, userHandler) => {
* @apiParam {Number} [forwards] Daily allowed forwarding count for this address * @apiParam {Number} [forwards] Daily allowed forwarding count for this address
* @apiParam {Boolean} [allowWildcard=false] If <code>true</code> then address value can be in the form of <code>*@example.com</code>, otherwise using * is not allowed * @apiParam {Boolean} [allowWildcard=false] If <code>true</code> then address value can be in the form of <code>*@example.com</code>, otherwise using * is not allowed
* @apiParam {String[]} [tags] A list of tags associated with this address * @apiParam {String[]} [tags] A list of tags associated with this address
* @apiParam {Object|String} [metaData] Optional metadata, must be an object or JSON formatted string of an object * @apiParam {Object|String} [metaData] Optional metadata, must be an object or JSON formatted string
* @apiParam {Object|String} [internalData] Optional metadata for internal use, must be an object or JSON formatted string of an object. Not available for user-role tokens * @apiParam {Object|String} [internalData] Optional metadata for internal use, must be an object or JSON formatted string. Not available for user-role tokens
* @apiParam {Object} [autoreply] Autoreply information * @apiParam {Object} [autoreply] Autoreply information
* @apiParam {Boolean} [autoreply.status] If true, then autoreply is enabled for this address * @apiParam {Boolean} [autoreply.status] If true, then autoreply is enabled for this address
* @apiParam {String} [autoreply.start] Either a date string or boolean false to disable start time checks * @apiParam {String} [autoreply.start] Either a date string or boolean false to disable start time checks
@ -1694,8 +1694,8 @@ module.exports = (db, server, userHandler) => {
* @apiParam {String[]} [targets] An array of forwarding targets. The value could either be an email address or a relay url to next MX server ("smtp://mx2.zone.eu:25") or an URL where mail contents are POSTed to. If set then overwrites previous targets array * @apiParam {String[]} [targets] An array of forwarding targets. The value could either be an email address or a relay url to next MX server ("smtp://mx2.zone.eu:25") or an URL where mail contents are POSTed to. If set then overwrites previous targets array
* @apiParam {Number} [forwards] Daily allowed forwarding count for this address * @apiParam {Number} [forwards] Daily allowed forwarding count for this address
* @apiParam {String[]} [tags] A list of tags associated with this address * @apiParam {String[]} [tags] A list of tags associated with this address
* @apiParam {Object|String} [metaData] Optional metadata, must be an object or JSON formatted string of an object * @apiParam {Object|String} [metaData] Optional metadata, must be an object or JSON formatted string
* @apiParam {Object|String} [internalData] Optional metadata for internal use, must be an object or JSON formatted string of an object. Not available for user-role tokens * @apiParam {Object|String} [internalData] Optional metadata for internal use, must be an object or JSON formatted string. Not available for user-role tokens
* @apiParam {Boolean} [forwardedDisabled] If true then disables forwarded address (stops forwarding messages) * @apiParam {Boolean} [forwardedDisabled] If true then disables forwarded address (stops forwarding messages)
* @apiParam {Object} [autoreply] Autoreply information * @apiParam {Object} [autoreply] Autoreply information
* @apiParam {Boolean} [autoreply.status] If true, then autoreply is enabled for this address * @apiParam {Boolean} [autoreply.status] If true, then autoreply is enabled for this address

View file

@ -1,6 +1,6 @@
{ {
"name": "wildduck", "name": "wildduck",
"version": "1.30.0", "version": "1.30.1",
"description": "IMAP/POP3 server built with Node.js and MongoDB", "description": "IMAP/POP3 server built with Node.js and MongoDB",
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {
@ -60,7 +60,7 @@
"mongodb": "3.6.2", "mongodb": "3.6.2",
"mongodb-extended-json": "1.11.0", "mongodb-extended-json": "1.11.0",
"node-forge": "0.10.0", "node-forge": "0.10.0",
"nodemailer": "6.4.11", "nodemailer": "6.4.12",
"npmlog": "4.1.2", "npmlog": "4.1.2",
"openpgp": "4.10.8", "openpgp": "4.10.8",
"pem": "1.14.4", "pem": "1.14.4",