n8n-nodes-wanted-laas
Version:
Wanted LaaS nodes for n8n
46 lines • 1.45 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WantedLaaSApi = void 0;
class WantedLaaSApi {
constructor() {
this.name = 'wantedLaaSApi';
this.displayName = 'Wanted LaaS API';
this.icon = { light: 'file:WantedLaaS.svg', dark: 'file:WantedLaaS-dark.svg' };
this.documentationUrl = 'https://laas.wanted.co.kr/docs/';
this.properties = [
{
displayName: 'Project',
name: 'project',
type: 'string',
typeOptions: { password: false },
required: true,
default: '',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
required: true,
default: '',
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
project: '={{$credentials.project}}',
apiKey: '={{$credentials.apiKey}}',
},
},
};
this.test = {
request: {
baseURL: 'https://api-laas.wanted.co.kr',
url: '/health',
},
};
}
}
exports.WantedLaaSApi = WantedLaaSApi;
//# sourceMappingURL=WantedLaaSApi.credentials.js.map