UNPKG

n8n-nodes-placid

Version:

n8n node to interact with Placid API for creative generation

31 lines 1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PlacidApi = void 0; class PlacidApi { constructor() { this.name = 'placidApi'; this.displayName = 'Placid API'; this.documentationUrl = 'https://placid.app/docs/2.0/introduction'; this.properties = [ { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true }, default: '', description: 'Your Placid API key. You can find this in your Placid account under Projects.', required: true, }, ]; this.authenticate = { type: 'generic', properties: { headers: { Authorization: '=Bearer {{$credentials.apiKey}}', }, }, }; } } exports.PlacidApi = PlacidApi; //# sourceMappingURL=PlacidApi.credentials.js.map