UNPKG

n8n-nodes-outseta

Version:

n8n community node for Outseta CRM integration - manage people, accounts, and deals

58 lines 2.04 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OutsetaApiCredentialsApi = void 0; class OutsetaApiCredentialsApi { constructor() { this.name = 'outsetaApi'; this.displayName = 'Outseta API'; this.documentationUrl = 'https://documenter.getpostman.com/view/3613332/outseta-rest-api-v1/7TNfr6k'; this.properties = [ { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true }, default: '', required: true, description: 'Your Outseta API Key (found in Settings > Integrations > API Keys)', }, { displayName: 'Secret Key', name: 'secretKey', type: 'string', typeOptions: { password: true }, default: '', required: true, description: 'Your Outseta Secret Key (shown only when creating the API Key)', }, { displayName: 'Domain', name: 'domain', type: 'string', default: '', placeholder: 'yourcompany.outseta.com', required: true, description: 'Your Outseta domain (without https://)', }, ]; this.authenticate = { type: 'generic', properties: { headers: { 'Authorization': '=Outseta {{$credentials.apiKey}}:{{$credentials.secretKey}}', }, }, }; this.test = { request: { baseURL: '=https://{{$credentials.domain}}/api/v1', url: '/crm/people', qs: { limit: 1, }, }, }; } } exports.OutsetaApiCredentialsApi = OutsetaApiCredentialsApi; //# sourceMappingURL=OutsetaApiCredentialsApi.credentials.js.map