1337 lines
32 KiB
TypeScript
1337 lines
32 KiB
TypeScript
// Generated from the OpenAPI specification. Do not edit by hand: regenerate.
|
|
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
export const emailOperations: INodeProperties[] = [{
|
|
"displayName": "Operation",
|
|
"name": "operation",
|
|
"type": "options",
|
|
"noDataExpression": true,
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"name": "List mailboxes",
|
|
"value": "mailboxesList",
|
|
"description": "Needs `email:read`. `quota_mb` is `null` when the mailbox has no limit of its own. If the service is not active, or is not a supported hosting account, it answers `409` with the reason in...",
|
|
"action": "List mailboxes",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/mailboxes"
|
|
},
|
|
"output": {
|
|
"postReceive": [
|
|
{
|
|
"type": "rootProperty",
|
|
"properties": {
|
|
"property": "data"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Create a mailbox",
|
|
"value": "mailboxesCreate",
|
|
"description": "Needs `email:write`. System names of the server, such as `_mainaccount`, are not accepted. The domain must be of this hosting account. The password is never stored by the API, so `Idempotency-Key` is...",
|
|
"action": "Create a mailbox",
|
|
"routing": {
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/mailboxes"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Delete a mailbox",
|
|
"value": "mailboxesDelete",
|
|
"description": "Needs `email:write`. Needs the address in `confirm`. The messages are lost. With a `sandbox_` key it only checks the request and changes nothing. On the domain of the account email, or of the email...",
|
|
"action": "Delete a mailbox",
|
|
"routing": {
|
|
"request": {
|
|
"method": "DELETE",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/mailboxes/{{encodeURIComponent(String($parameter[\"address\"]))}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Change a mailbox password",
|
|
"value": "mailboxesPassword",
|
|
"description": "Needs `email:write`. System names of the server, such as `_mainaccount`, are not accepted. The password never comes back. Limit: 10 per minute per account. With a `sandbox_` key it only checks the...",
|
|
"action": "Change a mailbox password",
|
|
"routing": {
|
|
"request": {
|
|
"method": "PUT",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/mailboxes/{{encodeURIComponent(String($parameter[\"address\"]))}}/password"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Change a mailbox quota",
|
|
"value": "mailboxesQuota",
|
|
"description": "Needs `email:write`. The quota can never go above the disk space of the plan. With a `sandbox_` key it only checks the request and changes nothing. On the domain of the account email, or of the email...",
|
|
"action": "Change a mailbox quota",
|
|
"routing": {
|
|
"request": {
|
|
"method": "PUT",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/mailboxes/{{encodeURIComponent(String($parameter[\"address\"]))}}/quota"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "List forwarders",
|
|
"value": "forwardersList",
|
|
"description": "Needs `email:read`. `forward_to` is `null` if the forwarder goes to a program, set in the panel. If the service is not active, or is not a supported hosting account, it answers `409` with the reason...",
|
|
"action": "List forwarders",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/forwarders"
|
|
},
|
|
"output": {
|
|
"postReceive": [
|
|
{
|
|
"type": "rootProperty",
|
|
"properties": {
|
|
"property": "data"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Create a forwarder",
|
|
"value": "forwardersCreate",
|
|
"description": "Needs `email:write`. Only to email addresses, never to programs. With a `sandbox_` key it only checks the request and changes nothing. On the domain of the account email, or of the email of a user of...",
|
|
"action": "Create a forwarder",
|
|
"routing": {
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/forwarders",
|
|
"headers": {
|
|
"Idempotency-Key": "={{ \"n8n-\" + Date.now().toString(36) + \"-\" + Math.random().toString(36).slice(2, 12) }}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Delete a forwarder",
|
|
"value": "forwardersDelete",
|
|
"description": "Needs `email:write`. Give the two addresses in the path. With a `sandbox_` key it only checks the request and changes nothing. On the domain of the account email, or of the email of a user of the...",
|
|
"action": "Delete a forwarder",
|
|
"routing": {
|
|
"request": {
|
|
"method": "DELETE",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/forwarders/{{encodeURIComponent(String($parameter[\"address\"]))}}/{{encodeURIComponent(String($parameter[\"forward_to\"]))}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "List autoresponders",
|
|
"value": "autorespondersList",
|
|
"description": "Needs `email:read`. The autoresponders of one domain. If the service is not active, or is not a supported hosting account, it answers `409` with the reason in `details.reason`.",
|
|
"action": "List autoresponders",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/autoresponders"
|
|
},
|
|
"output": {
|
|
"postReceive": [
|
|
{
|
|
"type": "rootProperty",
|
|
"properties": {
|
|
"property": "data"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "See an autoresponder",
|
|
"value": "autorespondersGet",
|
|
"description": "Needs `email:read`. With the text and the dates. If the service is not active, or is not a supported hosting account, it answers `409` with the reason in `details.reason`.",
|
|
"action": "See an autoresponder",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/autoresponders/{{encodeURIComponent(String($parameter[\"address\"]))}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Save an autoresponder",
|
|
"value": "autorespondersPut",
|
|
"description": "Needs `email:write`. Creates or replaces the autoresponder of this address. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Save an autoresponder",
|
|
"routing": {
|
|
"request": {
|
|
"method": "PUT",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/autoresponders/{{encodeURIComponent(String($parameter[\"address\"]))}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Delete an autoresponder",
|
|
"value": "autorespondersDelete",
|
|
"description": "Needs `email:write`. The mailbox stays. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Delete an autoresponder",
|
|
"routing": {
|
|
"request": {
|
|
"method": "DELETE",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/autoresponders/{{encodeURIComponent(String($parameter[\"address\"]))}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "See the default address",
|
|
"value": "defaultAddressGet",
|
|
"description": "Needs `email:read`. What happens to mail for addresses that do not exist. `action` is `fail`, `forward`, `discard`, `main_account` or `other`. If the service is not active, or is not a supported...",
|
|
"action": "See the default address",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/default-address"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Change the default address",
|
|
"value": "defaultAddressPut",
|
|
"description": "Needs `email:write`. Accepted actions: `fail`, `forward`, `discard` and `main_account`. With a `sandbox_` key it only checks the request and changes nothing. On the domain of the account email, or of...",
|
|
"action": "Change the default address",
|
|
"routing": {
|
|
"request": {
|
|
"method": "PUT",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/default-address"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "See SPF, DKIM and DMARC",
|
|
"value": "authenticationGet",
|
|
"description": "Needs `email:read`. The state of the three records of a domain, as published in DNS. If the service is not active, or is not a supported hosting account, it answers `409` with the reason in...",
|
|
"action": "See SPF, DKIM and DMARC",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/email/authentication"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"default": "mailboxesList"
|
|
}];
|
|
|
|
export const emailFields: INodeProperties[] = [
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesList"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesList"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Page",
|
|
"name": "page",
|
|
"type": "number",
|
|
"default": 1,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "The page number. The first is 1.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "page"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Per Page",
|
|
"name": "per_page",
|
|
"type": "number",
|
|
"default": 10,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "Results per page, from 1 to 100. The default is 10.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "per_page"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Address",
|
|
"name": "address",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "The full email address.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "address"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Password",
|
|
"name": "password",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "12 to 128 characters, with at least 3 kinds among lowercase, uppercase, digits and symbols, without the account name. It never comes back.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "password"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Additional Fields",
|
|
"name": "additionalFields",
|
|
"type": "collection",
|
|
"placeholder": "Add Field",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesCreate"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Quota Mb",
|
|
"name": "quota_mb",
|
|
"type": "number",
|
|
"default": 0,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "In MB, from 1 to the disk space of the plan. Unlimited is not accepted.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "quota_mb"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Address",
|
|
"name": "address",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full email address.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Confirm",
|
|
"name": "confirm",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "The exact name of what you are deleting, to confirm.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "confirm"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesPassword"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Address",
|
|
"name": "address",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full email address.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesPassword"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Password",
|
|
"name": "password",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "12 to 128 characters, with at least 3 kinds among lowercase, uppercase, digits and symbols, without the account name. It never comes back.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "password"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesPassword"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesQuota"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Address",
|
|
"name": "address",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full email address.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesQuota"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Quota Mb",
|
|
"name": "quota_mb",
|
|
"type": "number",
|
|
"default": 0,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"required": true,
|
|
"description": "In MB, from 1 to the disk space of the plan. Unlimited is not accepted.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "quota_mb"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"mailboxesQuota"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"forwardersList"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"forwardersList"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Domain",
|
|
"name": "domain",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "A domain of this hosting account. If omitted, the main domain.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "domain"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Page",
|
|
"name": "page",
|
|
"type": "number",
|
|
"default": 1,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "The page number. The first is 1.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "page"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Per Page",
|
|
"name": "per_page",
|
|
"type": "number",
|
|
"default": 10,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "Results per page, from 1 to 100. The default is 10.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "per_page"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"forwardersCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Address",
|
|
"name": "address",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "The full email address.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "address"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"forwardersCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Forward To",
|
|
"name": "forward_to",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "The address it forwards to.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "forward_to"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"forwardersCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"forwardersDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Address",
|
|
"name": "address",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full email address.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"forwardersDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Forward To",
|
|
"name": "forward_to",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The address it forwards to.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"forwardersDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"autorespondersList"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"autorespondersList"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Domain",
|
|
"name": "domain",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "A domain of this hosting account. If omitted, the main domain.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "domain"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Page",
|
|
"name": "page",
|
|
"type": "number",
|
|
"default": 1,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "The page number. The first is 1.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "page"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Per Page",
|
|
"name": "per_page",
|
|
"type": "number",
|
|
"default": 10,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "Results per page, from 1 to 100. The default is 10.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "per_page"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"autorespondersGet"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Address",
|
|
"name": "address",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full email address.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"autorespondersGet"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"autorespondersPut"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Address",
|
|
"name": "address",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full email address.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"autorespondersPut"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "From",
|
|
"name": "from",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "The name of the sender, up to 100 characters.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "from"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"autorespondersPut"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Subject",
|
|
"name": "subject",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "Up to 200 characters.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "subject"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"autorespondersPut"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Body",
|
|
"name": "body",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "Up to 20000 characters.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "body"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"autorespondersPut"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Additional Fields",
|
|
"name": "additionalFields",
|
|
"type": "collection",
|
|
"placeholder": "Add Field",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"autorespondersPut"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "HTML",
|
|
"name": "html",
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "If the text is HTML.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "html"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Interval Hours",
|
|
"name": "interval_hours",
|
|
"type": "number",
|
|
"default": 0,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "Hours between answers to the same sender, from 0 to 720. If omitted, 8.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "interval_hours"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Start At",
|
|
"name": "start_at",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Start, in ISO 8601.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "start_at"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Stop At",
|
|
"name": "stop_at",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "End, in ISO 8601.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "stop_at"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"autorespondersDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Address",
|
|
"name": "address",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full email address.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"autorespondersDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"defaultAddressGet"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"defaultAddressGet"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Domain",
|
|
"name": "domain",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "A domain of this hosting account. If omitted, the main domain.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "domain"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"defaultAddressPut"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Domain",
|
|
"name": "domain",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "A domain of this hosting account.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "domain"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"defaultAddressPut"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Action",
|
|
"name": "action",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "`fail`, `forward`, `discard` or `main_account`.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "action"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"defaultAddressPut"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Additional Fields",
|
|
"name": "additionalFields",
|
|
"type": "collection",
|
|
"placeholder": "Add Field",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"defaultAddressPut"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Forward To",
|
|
"name": "forward_to",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Needed with `forward`.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "forward_to"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Message",
|
|
"name": "message",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "The message with `fail`, up to 200 characters.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "message"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"authenticationGet"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hostingEmail"
|
|
],
|
|
"operation": [
|
|
"authenticationGet"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Domain",
|
|
"name": "domain",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "A domain of this hosting account. If omitted, the main domain.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "domain"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
];
|