feat(Venafi TLS Protect Cloud Trigger Node): add Venafi TLS Protect Cloud Trigger (#4288)

*  Add Venafi webhook trigger

* Fix typo
This commit is contained in:
Ricardo Espinoza
2022-10-11 10:07:36 -04:00
committed by GitHub
parent 28bea7e109
commit 7a2e5bde90
3 changed files with 157 additions and 67 deletions

View File

@@ -4,17 +4,16 @@ import {
IExecuteFunctions,
IExecuteSingleFunctions,
ILoadOptionsFunctions,
IPollFunctions,
} from 'n8n-core';
import { IDataObject, JsonObject, NodeApiError } from 'n8n-workflow';
import { IDataObject, IHookFunctions, JsonObject, NodeApiError } from 'n8n-workflow';
import { get } from 'lodash';
import * as nacl_factory from 'js-nacl';
export async function venafiApiRequest(
this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions | IPollFunctions,
this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions | IHookFunctions,
method: string,
resource: string,
body = {},