@izzai/n8n-nodes-izzone
Version:
n8n custom node for izz.ONE
50 lines (49 loc) • 1.68 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IzzOne = void 0;
const constants_1 = require("../constants");
class IzzOne {
name = 'IzzOneApi';
displayName = 'izz.ONE API';
icon = 'file:izz-one.png';
documentationUrl = 'https://api.nexus.izz.ai/docs'; // TODO: Update URL later
properties = [
{
displayName: 'Email ID',
name: 'emailId',
type: 'string',
required: true,
default: '',
placeholder: 'Enter your email ID',
description: 'The email ID associated with your izz.ONE account',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
default: '',
placeholder: 'Enter your API key',
description: 'The API key for authenticating with izz.ONE',
},
{
displayName: 'Instance ID',
name: 'instanceId',
type: 'string',
required: true,
default: '',
placeholder: 'Enter your instance ID',
description: 'The unique identifier for your izz.ONE instance',
},
{
displayName: 'API Base URL',
name: 'baseUrl',
type: 'string',
default: constants_1.BASE_URL,
placeholder: constants_1.BASE_URL,
description: `The base URL for the izz.ONE API. Default is ${constants_1.BASE_URL}.`,
hint: 'You can change this if you are using an enterprise version of izz.ONE',
},
];
}
exports.IzzOne = IzzOne;