update version
This commit is contained in:
@@ -34,7 +34,7 @@ async function loadOpenAPI(): Promise<OpenAPI> {
|
|||||||
|
|
||||||
// convert operation to value
|
// convert operation to value
|
||||||
function operationValue(tag: string, operationId: string) {
|
function operationValue(tag: string, operationId: string) {
|
||||||
return _.snakeCase(`${safe(tag)}_${safe(operationId)}`);
|
return _.snakeCase(`${tag}_${operationId}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// build properties for dropdown + dynamic inputs
|
// build properties for dropdown + dynamic inputs
|
||||||
@@ -75,7 +75,7 @@ function buildPropertiesBlock(ops: Array<any>) {
|
|||||||
default: '',
|
default: '',
|
||||||
placeholder: '${name}',
|
placeholder: '${name}',
|
||||||
description: '${name}',
|
description: '${name}',
|
||||||
displayOptions: { show: { operation: ['${value}'] } }
|
displayOptions: { show: { operation: ['${value}'] , "@tool": [true]} }
|
||||||
}`);
|
}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -100,7 +100,7 @@ function buildPropertiesBlock(ops: Array<any>) {
|
|||||||
default: ${defVal},
|
default: ${defVal},
|
||||||
placeholder: '${name}',
|
placeholder: '${name}',
|
||||||
description: '${schema?.description ?? name}',
|
description: '${schema?.description ?? name}',
|
||||||
displayOptions: { show: { operation: ['${value}'] } }
|
displayOptions: { show: { operation: ['${value}'], "@tool": [true] } }
|
||||||
}`);
|
}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -248,7 +248,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "name",
|
placeholder: "name",
|
||||||
description: "name",
|
description: "name",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["apikey_post_api_apikey_create"] },
|
show: {
|
||||||
|
operation: ["apikey_post_api_apikey_create"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -260,7 +263,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "description",
|
placeholder: "description",
|
||||||
description: "description",
|
description: "description",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["apikey_post_api_apikey_create"] },
|
show: {
|
||||||
|
operation: ["apikey_post_api_apikey_create"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -272,7 +278,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "id",
|
placeholder: "id",
|
||||||
description: "id",
|
description: "id",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["apikey_delete_api_apikey_delete"] },
|
show: {
|
||||||
|
operation: ["apikey_delete_api_apikey_delete"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -284,7 +293,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "number",
|
placeholder: "number",
|
||||||
description: "number",
|
description: "number",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["whats_app_post_api_wa_send_text"] },
|
show: {
|
||||||
|
operation: ["whats_app_post_api_wa_send_text"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -296,7 +308,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "text",
|
placeholder: "text",
|
||||||
description: "text",
|
description: "text",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["whats_app_post_api_wa_send_text"] },
|
show: {
|
||||||
|
operation: ["whats_app_post_api_wa_send_text"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -308,7 +323,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "number",
|
placeholder: "number",
|
||||||
description: "number",
|
description: "number",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["whats_app_post_api_wa_send_media"] },
|
show: {
|
||||||
|
operation: ["whats_app_post_api_wa_send_media"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -320,7 +338,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "media",
|
placeholder: "media",
|
||||||
description: "media",
|
description: "media",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["whats_app_post_api_wa_send_media"] },
|
show: {
|
||||||
|
operation: ["whats_app_post_api_wa_send_media"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -332,7 +353,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "name",
|
placeholder: "name",
|
||||||
description: "name",
|
description: "name",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_post_api_webhook_create"] },
|
show: {
|
||||||
|
operation: ["webhook_post_api_webhook_create"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -344,7 +368,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "description",
|
placeholder: "description",
|
||||||
description: "description",
|
description: "description",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_post_api_webhook_create"] },
|
show: {
|
||||||
|
operation: ["webhook_post_api_webhook_create"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -356,7 +383,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "url",
|
placeholder: "url",
|
||||||
description: "url",
|
description: "url",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_post_api_webhook_create"] },
|
show: {
|
||||||
|
operation: ["webhook_post_api_webhook_create"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -368,7 +398,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "method",
|
placeholder: "method",
|
||||||
description: "method",
|
description: "method",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_post_api_webhook_create"] },
|
show: {
|
||||||
|
operation: ["webhook_post_api_webhook_create"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -380,7 +413,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "headers",
|
placeholder: "headers",
|
||||||
description: "headers",
|
description: "headers",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_post_api_webhook_create"] },
|
show: {
|
||||||
|
operation: ["webhook_post_api_webhook_create"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -392,7 +428,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "payload",
|
placeholder: "payload",
|
||||||
description: "payload",
|
description: "payload",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_post_api_webhook_create"] },
|
show: {
|
||||||
|
operation: ["webhook_post_api_webhook_create"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -404,7 +443,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "apiToken",
|
placeholder: "apiToken",
|
||||||
description: "apiToken",
|
description: "apiToken",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_post_api_webhook_create"] },
|
show: {
|
||||||
|
operation: ["webhook_post_api_webhook_create"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -416,7 +458,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "enabled",
|
placeholder: "enabled",
|
||||||
description: "enabled",
|
description: "enabled",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_post_api_webhook_create"] },
|
show: {
|
||||||
|
operation: ["webhook_post_api_webhook_create"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -428,7 +473,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "replay",
|
placeholder: "replay",
|
||||||
description: "replay",
|
description: "replay",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_post_api_webhook_create"] },
|
show: {
|
||||||
|
operation: ["webhook_post_api_webhook_create"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -440,7 +488,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "replayKey",
|
placeholder: "replayKey",
|
||||||
description: "replayKey",
|
description: "replayKey",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_post_api_webhook_create"] },
|
show: {
|
||||||
|
operation: ["webhook_post_api_webhook_create"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -452,7 +503,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "name",
|
placeholder: "name",
|
||||||
description: "name",
|
description: "name",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_put_api_webhook_update_by_id"] },
|
show: {
|
||||||
|
operation: ["webhook_put_api_webhook_update_by_id"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -464,7 +518,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "description",
|
placeholder: "description",
|
||||||
description: "description",
|
description: "description",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_put_api_webhook_update_by_id"] },
|
show: {
|
||||||
|
operation: ["webhook_put_api_webhook_update_by_id"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -476,7 +533,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "url",
|
placeholder: "url",
|
||||||
description: "url",
|
description: "url",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_put_api_webhook_update_by_id"] },
|
show: {
|
||||||
|
operation: ["webhook_put_api_webhook_update_by_id"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -488,7 +548,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "method",
|
placeholder: "method",
|
||||||
description: "method",
|
description: "method",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_put_api_webhook_update_by_id"] },
|
show: {
|
||||||
|
operation: ["webhook_put_api_webhook_update_by_id"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -500,7 +563,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "headers",
|
placeholder: "headers",
|
||||||
description: "headers",
|
description: "headers",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_put_api_webhook_update_by_id"] },
|
show: {
|
||||||
|
operation: ["webhook_put_api_webhook_update_by_id"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -512,7 +578,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "payload",
|
placeholder: "payload",
|
||||||
description: "payload",
|
description: "payload",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_put_api_webhook_update_by_id"] },
|
show: {
|
||||||
|
operation: ["webhook_put_api_webhook_update_by_id"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -524,7 +593,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "apiToken",
|
placeholder: "apiToken",
|
||||||
description: "apiToken",
|
description: "apiToken",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_put_api_webhook_update_by_id"] },
|
show: {
|
||||||
|
operation: ["webhook_put_api_webhook_update_by_id"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -536,7 +608,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "enabled",
|
placeholder: "enabled",
|
||||||
description: "enabled",
|
description: "enabled",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_put_api_webhook_update_by_id"] },
|
show: {
|
||||||
|
operation: ["webhook_put_api_webhook_update_by_id"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -548,7 +623,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "replay",
|
placeholder: "replay",
|
||||||
description: "replay",
|
description: "replay",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_put_api_webhook_update_by_id"] },
|
show: {
|
||||||
|
operation: ["webhook_put_api_webhook_update_by_id"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -560,7 +638,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "replayKey",
|
placeholder: "replayKey",
|
||||||
description: "replayKey",
|
description: "replayKey",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["webhook_put_api_webhook_update_by_id"] },
|
show: {
|
||||||
|
operation: ["webhook_put_api_webhook_update_by_id"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -572,7 +653,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "id",
|
placeholder: "id",
|
||||||
description: "id",
|
description: "id",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["chatflows_put_api_chatflows_default"] },
|
show: {
|
||||||
|
operation: ["chatflows_put_api_chatflows_default"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -584,7 +668,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "flowId",
|
placeholder: "flowId",
|
||||||
description: "flowId",
|
description: "flowId",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["chatflows_post_api_chatflows_query"] },
|
show: {
|
||||||
|
operation: ["chatflows_post_api_chatflows_query"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -596,7 +683,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "question",
|
placeholder: "question",
|
||||||
description: "question",
|
description: "question",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["chatflows_post_api_chatflows_query"] },
|
show: {
|
||||||
|
operation: ["chatflows_post_api_chatflows_query"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -608,7 +698,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "active",
|
placeholder: "active",
|
||||||
description: "active",
|
description: "active",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["chatflows_put_api_chatflows_flow_active"] },
|
show: {
|
||||||
|
operation: ["chatflows_put_api_chatflows_flow_active"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -620,7 +713,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "flowUrl",
|
placeholder: "flowUrl",
|
||||||
description: "flowUrl",
|
description: "flowUrl",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["chatflows_put_api_chatflows_url_token"] },
|
show: {
|
||||||
|
operation: ["chatflows_put_api_chatflows_url_token"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -632,7 +728,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "flowToken",
|
placeholder: "flowToken",
|
||||||
description: "flowToken",
|
description: "flowToken",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["chatflows_put_api_chatflows_url_token"] },
|
show: {
|
||||||
|
operation: ["chatflows_put_api_chatflows_url_token"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -644,7 +743,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "waPhoneNumberId",
|
placeholder: "waPhoneNumberId",
|
||||||
description: "waPhoneNumberId",
|
description: "waPhoneNumberId",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["chatflows_put_api_chatflows_url_token"] },
|
show: {
|
||||||
|
operation: ["chatflows_put_api_chatflows_url_token"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -656,7 +758,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "waToken",
|
placeholder: "waToken",
|
||||||
description: "waToken",
|
description: "waToken",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["chatflows_put_api_chatflows_url_token"] },
|
show: {
|
||||||
|
operation: ["chatflows_put_api_chatflows_url_token"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -668,7 +773,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "active",
|
placeholder: "active",
|
||||||
description: "active",
|
description: "active",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["chatflows_put_api_chatflows_url_token"] },
|
show: {
|
||||||
|
operation: ["chatflows_put_api_chatflows_url_token"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -679,7 +787,9 @@ export class Wajs implements INodeType {
|
|||||||
default: "",
|
default: "",
|
||||||
placeholder: "email",
|
placeholder: "email",
|
||||||
description: "email",
|
description: "email",
|
||||||
displayOptions: { show: { operation: ["auth_post_auth_login"] } },
|
displayOptions: {
|
||||||
|
show: { operation: ["auth_post_auth_login"], "@tool": [true] },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -689,7 +799,9 @@ export class Wajs implements INodeType {
|
|||||||
default: "",
|
default: "",
|
||||||
placeholder: "password",
|
placeholder: "password",
|
||||||
description: "password",
|
description: "password",
|
||||||
displayOptions: { show: { operation: ["auth_post_auth_login"] } },
|
displayOptions: {
|
||||||
|
show: { operation: ["auth_post_auth_login"], "@tool": [true] },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -700,7 +812,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "hub.mode",
|
placeholder: "hub.mode",
|
||||||
description: "hub.mode",
|
description: "hub.mode",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["whats_app_hook_get_wa_hook_hook"] },
|
show: {
|
||||||
|
operation: ["whats_app_hook_get_wa_hook_hook"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -712,7 +827,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "hub.verify_token",
|
placeholder: "hub.verify_token",
|
||||||
description: "hub.verify_token",
|
description: "hub.verify_token",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["whats_app_hook_get_wa_hook_hook"] },
|
show: {
|
||||||
|
operation: ["whats_app_hook_get_wa_hook_hook"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -724,7 +842,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "hub.challenge",
|
placeholder: "hub.challenge",
|
||||||
description: "hub.challenge",
|
description: "hub.challenge",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["whats_app_hook_get_wa_hook_hook"] },
|
show: {
|
||||||
|
operation: ["whats_app_hook_get_wa_hook_hook"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -736,7 +857,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "page",
|
placeholder: "page",
|
||||||
description: "page",
|
description: "page",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["whats_app_hook_get_wa_hook_list"] },
|
show: {
|
||||||
|
operation: ["whats_app_hook_get_wa_hook_list"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -748,7 +872,10 @@ export class Wajs implements INodeType {
|
|||||||
placeholder: "limit",
|
placeholder: "limit",
|
||||||
description: "limit",
|
description: "limit",
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: { operation: ["whats_app_hook_get_wa_hook_list"] },
|
show: {
|
||||||
|
operation: ["whats_app_hook_get_wa_hook_list"],
|
||||||
|
"@tool": [true],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -759,7 +886,9 @@ export class Wajs implements INodeType {
|
|||||||
default: "",
|
default: "",
|
||||||
placeholder: "lines",
|
placeholder: "lines",
|
||||||
description: "lines",
|
description: "lines",
|
||||||
displayOptions: { show: { operation: ["logs_get_logs_show"] } },
|
displayOptions: {
|
||||||
|
show: { operation: ["logs_get_logs_show"], "@tool": [true] },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -769,7 +898,9 @@ export class Wajs implements INodeType {
|
|||||||
default: "",
|
default: "",
|
||||||
placeholder: "level",
|
placeholder: "level",
|
||||||
description: "level",
|
description: "level",
|
||||||
displayOptions: { show: { operation: ["logs_get_logs_show"] } },
|
displayOptions: {
|
||||||
|
show: { operation: ["logs_get_logs_show"], "@tool": [true] },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "n8n-nodes-wajs",
|
"name": "n8n-nodes-wajs",
|
||||||
"version": "1.1.12",
|
"version": "1.0.43",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"n8n",
|
"n8n",
|
||||||
"n8n-nodes"
|
"n8n-nodes"
|
||||||
|
|||||||
Reference in New Issue
Block a user