UNPKG

n8n-nodes-whatsapp

Version:

Nodes to trigger workflows from whatsapp events or send messages (using whatsapp web).

53 lines 1.77 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WhatsApp = void 0; class WhatsApp { constructor() { this.name = 'whatsApp'; this.displayName = 'WhatsApp'; this.documentationUrl = 'TODO'; this.properties = [ { displayName: 'Phone Number', name: 'phoneNumber', description: 'The phone number to use whatsapp', type: 'string', default: '' }, { displayName: 'Session store', name: 'authStrategy', description: 'Type of store to use to save the sessions', default: 'local', type: 'options', options: [ { name: 'Local', value: 'local', description: 'Stores the session state on local file system', }, { name: 'MongoDB', value: 'mongodb', description: 'Stores the session state in a mongodb', } ] }, { displayName: 'MongoDB URI', name: 'mongoConnectionString', description: 'Connection string for mongodb session store', type: 'string', default: '', required: false, displayOptions: { show: { authStrategy: ['mongodb'] } } } ]; } } exports.WhatsApp = WhatsApp; //# sourceMappingURL=WhatsApp.credentials.js.map