n8n-nodes-base
Version:
Base nodes of n8n
35 lines • 902 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IntercomApi = void 0;
class IntercomApi {
name = 'intercomApi';
displayName = 'Intercom API';
documentationUrl = 'intercom';
properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
default: '',
},
];
authenticate = {
type: 'generic',
properties: {
headers: {
Authorization: '=Bearer {{$credentials.apiKey}}',
Accept: 'application/json',
},
},
};
test = {
request: {
baseURL: 'https://api.intercom.io',
url: '/me',
method: 'GET',
},
};
}
exports.IntercomApi = IntercomApi;
//# sourceMappingURL=IntercomApi.credentials.js.map