208 lines
5.1 KiB
TypeScript
208 lines
5.1 KiB
TypeScript
// Generated from the OpenAPI specification. Do not edit by hand: regenerate.
|
|
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
export const whoisOperations: INodeProperties[] = [{
|
|
"displayName": "Operation",
|
|
"name": "operation",
|
|
"type": "options",
|
|
"noDataExpression": true,
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"whois"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"name": "Look up several domain names (WHOIS)",
|
|
"value": "list",
|
|
"description": "Free, up to 10 domains per request, with or without a key. Each domain counts 1 in the hourly limit. Same fields as the single lookup, without alternatives, registrar_contact, dnssec and contacts. A...",
|
|
"action": "Look up several domain names (WHOIS)",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/whois"
|
|
},
|
|
"output": {
|
|
"postReceive": [
|
|
{
|
|
"type": "rootProperty",
|
|
"properties": {
|
|
"property": "data"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Look up a domain name (WHOIS)",
|
|
"value": "get",
|
|
"description": "Free. Works without a key: 60 per hour per IP. With a key of the account (any permission, Sandbox or Production): 1,000 per hour per account (resellers: 10,000). Shows all the data the public WHOIS...",
|
|
"action": "Look up a domain name (WHOIS)",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/whois/{{encodeURIComponent(String($parameter[\"domain\"]))}}"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"default": "list"
|
|
}];
|
|
|
|
export const whoisFields: INodeProperties[] = [
|
|
{
|
|
"displayName": "Domains",
|
|
"name": "domains",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "Up to 10 domain names, separated by commas.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "domains"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"whois"
|
|
],
|
|
"operation": [
|
|
"list"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"whois"
|
|
],
|
|
"operation": [
|
|
"list"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Currency",
|
|
"name": "currency",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Optional. One of the brand currencies, such as USD. Without it: the currency of the account (with a key) or the brand currency. Another code returns 422 with the accepted ones in details.allowed.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "currency"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Language",
|
|
"name": "language",
|
|
"type": "options",
|
|
"options": [
|
|
{
|
|
"name": "pt",
|
|
"value": "pt"
|
|
},
|
|
{
|
|
"name": "en",
|
|
"value": "en"
|
|
}
|
|
],
|
|
"default": "pt",
|
|
"description": "Optional. pt or en: the language of the website links and the free plan name, when the brand has that combination.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "language"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "Domain",
|
|
"name": "domain",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The domain name.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"whois"
|
|
],
|
|
"operation": [
|
|
"get"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"whois"
|
|
],
|
|
"operation": [
|
|
"get"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Currency",
|
|
"name": "currency",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Optional. One of the brand currencies, such as USD. Without it: the currency of the account (with a key) or the brand currency. Another code returns 422 with the accepted ones in details.allowed.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "currency"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Language",
|
|
"name": "language",
|
|
"type": "options",
|
|
"options": [
|
|
{
|
|
"name": "pt",
|
|
"value": "pt"
|
|
},
|
|
{
|
|
"name": "en",
|
|
"value": "en"
|
|
}
|
|
],
|
|
"default": "pt",
|
|
"description": "Optional. pt or en: the language of the website links and the free plan name, when the brand has that combination.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "language"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
];
|