@growsalesai/n8n-nodes-datacrazy 1.7.8 → 1.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nodes/Datacrazy/Datacrazy.node.js +72 -72
- package/dist/nodes/Datacrazy/Datacrazy.node.js.map +1 -1
- package/dist/nodes/Datacrazy/DatacrazyMsgSwitch.node.js +1 -1
- package/dist/nodes/Datacrazy/DatacrazyMsgSwitch.node.js.map +1 -1
- package/dist/nodes/Datacrazy/DatacrazyReplyCheck.node.js +1 -1
- package/dist/nodes/Datacrazy/DatacrazyReplyCheck.node.js.map +1 -1
- package/dist/nodes/Datacrazy/DatacrazyUtils.node.js +34 -34
- package/dist/nodes/Datacrazy/DatacrazyUtils.node.js.map +1 -1
- package/dist/nodes/Datacrazy/automations/leadIfCondition/leadIfCondition.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/automations/leadIfCondition/leadIfCondition.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/leadIfCondition/leadIfCondition.description.js +168 -0
- package/dist/nodes/Datacrazy/automations/leadIfCondition/leadIfCondition.description.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/leadIfCondition/leadIfCondition.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/automations/leadIfCondition/leadIfCondition.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/leadIfCondition/leadIfCondition.handler.js +115 -0
- package/dist/nodes/Datacrazy/automations/leadIfCondition/leadIfCondition.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/leadMover/leadMover.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/automations/leadMover/leadMover.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/leadMover/leadMover.description.js +133 -0
- package/dist/nodes/Datacrazy/automations/leadMover/leadMover.description.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/leadMover/leadMover.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/automations/leadMover/leadMover.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/leadMover/leadMover.handler.js +88 -0
- package/dist/nodes/Datacrazy/automations/leadMover/leadMover.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/leadTracker/leadTracker.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/automations/leadTracker/leadTracker.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/leadTracker/leadTracker.description.js +101 -0
- package/dist/nodes/Datacrazy/automations/leadTracker/leadTracker.description.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/leadTracker/leadTracker.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/automations/leadTracker/leadTracker.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/leadTracker/leadTracker.handler.js +40 -0
- package/dist/nodes/Datacrazy/automations/leadTracker/leadTracker.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/messageContext/messageContext.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/automations/messageContext/messageContext.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/messageContext/messageContext.description.js +86 -0
- package/dist/nodes/Datacrazy/automations/messageContext/messageContext.description.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/messageContext/messageContext.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/automations/messageContext/messageContext.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/messageContext/messageContext.handler.js +107 -0
- package/dist/nodes/Datacrazy/automations/messageContext/messageContext.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/messageTypeSwitch/messageTypeSwitch.description.d.ts +3 -0
- package/dist/nodes/Datacrazy/automations/messageTypeSwitch/messageTypeSwitch.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/messageTypeSwitch/messageTypeSwitch.description.js +58 -0
- package/dist/nodes/Datacrazy/automations/messageTypeSwitch/messageTypeSwitch.description.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/messageTypeSwitch/messageTypeSwitch.handler.d.ts +3 -0
- package/dist/nodes/Datacrazy/automations/messageTypeSwitch/messageTypeSwitch.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/messageTypeSwitch/messageTypeSwitch.handler.js +77 -0
- package/dist/nodes/Datacrazy/automations/messageTypeSwitch/messageTypeSwitch.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/providerDetector/providerDetector.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/automations/providerDetector/providerDetector.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/providerDetector/providerDetector.description.js +32 -0
- package/dist/nodes/Datacrazy/automations/providerDetector/providerDetector.description.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/providerDetector/providerDetector.handler.d.ts +3 -0
- package/dist/nodes/Datacrazy/automations/providerDetector/providerDetector.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/providerDetector/providerDetector.handler.js +55 -0
- package/dist/nodes/Datacrazy/automations/providerDetector/providerDetector.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/replyChecker/replyChecker.description.d.ts +3 -0
- package/dist/nodes/Datacrazy/automations/replyChecker/replyChecker.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/replyChecker/replyChecker.description.js +58 -0
- package/dist/nodes/Datacrazy/automations/replyChecker/replyChecker.description.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/replyChecker/replyChecker.handler.d.ts +3 -0
- package/dist/nodes/Datacrazy/automations/replyChecker/replyChecker.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/replyChecker/replyChecker.handler.js +74 -0
- package/dist/nodes/Datacrazy/automations/replyChecker/replyChecker.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/webhookExtractor/webhookExtractor.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/automations/webhookExtractor/webhookExtractor.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/webhookExtractor/webhookExtractor.description.js +32 -0
- package/dist/nodes/Datacrazy/automations/webhookExtractor/webhookExtractor.description.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/webhookExtractor/webhookExtractor.handler.d.ts +3 -0
- package/dist/nodes/Datacrazy/automations/webhookExtractor/webhookExtractor.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/webhookExtractor/webhookExtractor.handler.js +72 -0
- package/dist/nodes/Datacrazy/automations/webhookExtractor/webhookExtractor.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/webhookParser/webhookParser.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/automations/webhookParser/webhookParser.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/webhookParser/webhookParser.description.js +58 -0
- package/dist/nodes/Datacrazy/automations/webhookParser/webhookParser.description.js.map +1 -0
- package/dist/nodes/Datacrazy/automations/webhookParser/webhookParser.handler.d.ts +3 -0
- package/dist/nodes/Datacrazy/automations/webhookParser/webhookParser.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/automations/webhookParser/webhookParser.handler.js +132 -0
- package/dist/nodes/Datacrazy/automations/webhookParser/webhookParser.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/activities/activity.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/activities/activity.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/activities/activity.description.js +79 -0
- package/dist/nodes/Datacrazy/resources/activities/activity.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/activities/activity.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/activities/activity.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/activities/activity.handler.js +37 -0
- package/dist/nodes/Datacrazy/resources/activities/activity.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/additionalFields/additionalField.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/additionalFields/additionalField.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/additionalFields/additionalField.description.js +179 -0
- package/dist/nodes/Datacrazy/resources/additionalFields/additionalField.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/additionalFields/additionalField.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/additionalFields/additionalField.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/additionalFields/additionalField.handler.js +60 -0
- package/dist/nodes/Datacrazy/resources/additionalFields/additionalField.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/attendants/attendant.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/attendants/attendant.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/attendants/attendant.description.js +28 -0
- package/dist/nodes/Datacrazy/resources/attendants/attendant.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/attendants/attendant.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/attendants/attendant.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/attendants/attendant.handler.js +14 -0
- package/dist/nodes/Datacrazy/resources/attendants/attendant.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/businessActions/businessAction.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/businessActions/businessAction.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/businessActions/businessAction.description.js +97 -0
- package/dist/nodes/Datacrazy/resources/businessActions/businessAction.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/businessActions/businessAction.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/businessActions/businessAction.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/businessActions/businessAction.handler.js +26 -0
- package/dist/nodes/Datacrazy/resources/businessActions/businessAction.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/businessLossReasons/businessLossReason.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/businessLossReasons/businessLossReason.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/businessLossReasons/businessLossReason.description.js +54 -0
- package/dist/nodes/Datacrazy/resources/businessLossReasons/businessLossReason.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/businessLossReasons/businessLossReason.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/businessLossReasons/businessLossReason.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/businessLossReasons/businessLossReason.handler.js +26 -0
- package/dist/nodes/Datacrazy/resources/businessLossReasons/businessLossReason.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/businessMetrics/businessMetrics.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/businessMetrics/businessMetrics.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/businessMetrics/businessMetrics.description.js +95 -0
- package/dist/nodes/Datacrazy/resources/businessMetrics/businessMetrics.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/businessMetrics/businessMetrics.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/businessMetrics/businessMetrics.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/businessMetrics/businessMetrics.handler.js +100 -0
- package/dist/nodes/Datacrazy/resources/businessMetrics/businessMetrics.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/businesses/business.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/businesses/business.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/businesses/business.description.js +229 -0
- package/dist/nodes/Datacrazy/resources/businesses/business.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/businesses/business.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/businesses/business.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/businesses/business.handler.js +72 -0
- package/dist/nodes/Datacrazy/resources/businesses/business.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/conversations/conversation.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/conversations/conversation.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/conversations/conversation.description.js +79 -0
- package/dist/nodes/Datacrazy/resources/conversations/conversation.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/conversations/conversation.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/conversations/conversation.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/conversations/conversation.handler.js +32 -0
- package/dist/nodes/Datacrazy/resources/conversations/conversation.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/flows/flow.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/flows/flow.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/flows/flow.description.js +163 -0
- package/dist/nodes/Datacrazy/resources/flows/flow.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/flows/flow.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/flows/flow.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/flows/flow.handler.js +66 -0
- package/dist/nodes/Datacrazy/resources/flows/flow.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/instances/instance.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/instances/instance.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/instances/instance.description.js +42 -0
- package/dist/nodes/Datacrazy/resources/instances/instance.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/instances/instance.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/instances/instance.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/instances/instance.handler.js +13 -0
- package/dist/nodes/Datacrazy/resources/instances/instance.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/leads/lead.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/leads/lead.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/leads/lead.description.js +108 -0
- package/dist/nodes/Datacrazy/resources/leads/lead.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/leads/lead.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/leads/lead.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/leads/lead.handler.js +96 -0
- package/dist/nodes/Datacrazy/resources/leads/lead.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/leads/leadSubResource.description.d.ts +12 -0
- package/dist/nodes/Datacrazy/resources/leads/leadSubResource.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/leads/leadSubResource.description.js +211 -0
- package/dist/nodes/Datacrazy/resources/leads/leadSubResource.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/leads/leadSubResources.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/leads/leadSubResources.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/leads/leadSubResources.handler.js +71 -0
- package/dist/nodes/Datacrazy/resources/leads/leadSubResources.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/lists/list.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/lists/list.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/lists/list.description.js +65 -0
- package/dist/nodes/Datacrazy/resources/lists/list.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/lists/list.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/lists/list.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/lists/list.handler.js +28 -0
- package/dist/nodes/Datacrazy/resources/lists/list.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/pipelines/pipeline.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/pipelines/pipeline.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/pipelines/pipeline.description.js +43 -0
- package/dist/nodes/Datacrazy/resources/pipelines/pipeline.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/pipelines/pipeline.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/pipelines/pipeline.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/pipelines/pipeline.handler.js +17 -0
- package/dist/nodes/Datacrazy/resources/pipelines/pipeline.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/products/product.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/products/product.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/products/product.description.js +66 -0
- package/dist/nodes/Datacrazy/resources/products/product.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/products/product.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/products/product.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/products/product.handler.js +28 -0
- package/dist/nodes/Datacrazy/resources/products/product.handler.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/tags/tag.description.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/tags/tag.description.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/tags/tag.description.js +108 -0
- package/dist/nodes/Datacrazy/resources/tags/tag.description.js.map +1 -0
- package/dist/nodes/Datacrazy/resources/tags/tag.handler.d.ts +4 -0
- package/dist/nodes/Datacrazy/resources/tags/tag.handler.d.ts.map +1 -0
- package/dist/nodes/Datacrazy/resources/tags/tag.handler.js +54 -0
- package/dist/nodes/Datacrazy/resources/tags/tag.handler.js.map +1 -0
- package/package.json +1 -1
|
@@ -35,38 +35,38 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Datacrazy = void 0;
|
|
37
37
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
38
|
-
const
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
const
|
|
46
|
-
const
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
const
|
|
50
|
-
const
|
|
51
|
-
const
|
|
52
|
-
const
|
|
53
|
-
const
|
|
54
|
-
const lead_handler_1 = require("./
|
|
55
|
-
const business_handler_1 = require("./
|
|
56
|
-
const businessAction_handler_1 = require("./
|
|
57
|
-
const businessLossReason_handler_1 = require("./
|
|
58
|
-
const tag_handler_1 = require("./
|
|
59
|
-
const list_handler_1 = require("./
|
|
60
|
-
const product_handler_1 = require("./
|
|
61
|
-
const activity_handler_1 = require("./
|
|
62
|
-
const conversation_handler_1 = require("./
|
|
63
|
-
const instance_handler_1 = require("./
|
|
64
|
-
const attendant_handler_1 = require("./
|
|
65
|
-
const pipeline_handler_1 = require("./
|
|
66
|
-
const leadSubResources_handler_1 = require("./
|
|
67
|
-
const additionalField_handler_1 = require("./
|
|
68
|
-
const businessMetrics_handler_1 = require("./
|
|
69
|
-
const flow_handler_1 = require("./
|
|
38
|
+
const lead_description_1 = require("./resources/leads/lead.description");
|
|
39
|
+
const business_description_1 = require("./resources/businesses/business.description");
|
|
40
|
+
const businessAction_description_1 = require("./resources/businessActions/businessAction.description");
|
|
41
|
+
const businessLossReason_description_1 = require("./resources/businessLossReasons/businessLossReason.description");
|
|
42
|
+
const tag_description_1 = require("./resources/tags/tag.description");
|
|
43
|
+
const list_description_1 = require("./resources/lists/list.description");
|
|
44
|
+
const product_description_1 = require("./resources/products/product.description");
|
|
45
|
+
const activity_description_1 = require("./resources/activities/activity.description");
|
|
46
|
+
const conversation_description_1 = require("./resources/conversations/conversation.description");
|
|
47
|
+
const instance_description_1 = require("./resources/instances/instance.description");
|
|
48
|
+
const attendant_description_1 = require("./resources/attendants/attendant.description");
|
|
49
|
+
const pipeline_description_1 = require("./resources/pipelines/pipeline.description");
|
|
50
|
+
const leadSubResource_description_1 = require("./resources/leads/leadSubResource.description");
|
|
51
|
+
const additionalField_description_1 = require("./resources/additionalFields/additionalField.description");
|
|
52
|
+
const businessMetrics_description_1 = require("./resources/businessMetrics/businessMetrics.description");
|
|
53
|
+
const flow_description_1 = require("./resources/flows/flow.description");
|
|
54
|
+
const lead_handler_1 = require("./resources/leads/lead.handler");
|
|
55
|
+
const business_handler_1 = require("./resources/businesses/business.handler");
|
|
56
|
+
const businessAction_handler_1 = require("./resources/businessActions/businessAction.handler");
|
|
57
|
+
const businessLossReason_handler_1 = require("./resources/businessLossReasons/businessLossReason.handler");
|
|
58
|
+
const tag_handler_1 = require("./resources/tags/tag.handler");
|
|
59
|
+
const list_handler_1 = require("./resources/lists/list.handler");
|
|
60
|
+
const product_handler_1 = require("./resources/products/product.handler");
|
|
61
|
+
const activity_handler_1 = require("./resources/activities/activity.handler");
|
|
62
|
+
const conversation_handler_1 = require("./resources/conversations/conversation.handler");
|
|
63
|
+
const instance_handler_1 = require("./resources/instances/instance.handler");
|
|
64
|
+
const attendant_handler_1 = require("./resources/attendants/attendant.handler");
|
|
65
|
+
const pipeline_handler_1 = require("./resources/pipelines/pipeline.handler");
|
|
66
|
+
const leadSubResources_handler_1 = require("./resources/leads/leadSubResources.handler");
|
|
67
|
+
const additionalField_handler_1 = require("./resources/additionalFields/additionalField.handler");
|
|
68
|
+
const businessMetrics_handler_1 = require("./resources/businessMetrics/businessMetrics.handler");
|
|
69
|
+
const flow_handler_1 = require("./resources/flows/flow.handler");
|
|
70
70
|
const loadOptions = __importStar(require("./methods/loadOptions"));
|
|
71
71
|
const request_1 = require("./utils/request");
|
|
72
72
|
class Datacrazy {
|
|
@@ -115,46 +115,46 @@ class Datacrazy {
|
|
|
115
115
|
],
|
|
116
116
|
default: 'lead',
|
|
117
117
|
},
|
|
118
|
-
...
|
|
119
|
-
...
|
|
120
|
-
...
|
|
121
|
-
...
|
|
122
|
-
...
|
|
123
|
-
...
|
|
124
|
-
...
|
|
125
|
-
...
|
|
126
|
-
...
|
|
127
|
-
...
|
|
128
|
-
...
|
|
129
|
-
...
|
|
130
|
-
...
|
|
131
|
-
...
|
|
132
|
-
...
|
|
133
|
-
...
|
|
134
|
-
...
|
|
135
|
-
...
|
|
136
|
-
...
|
|
137
|
-
...
|
|
138
|
-
...
|
|
139
|
-
...
|
|
140
|
-
...
|
|
141
|
-
...
|
|
142
|
-
...
|
|
143
|
-
...
|
|
144
|
-
...
|
|
145
|
-
...
|
|
146
|
-
...
|
|
147
|
-
...
|
|
148
|
-
...
|
|
149
|
-
...
|
|
150
|
-
...
|
|
151
|
-
...
|
|
152
|
-
...
|
|
153
|
-
...
|
|
154
|
-
...
|
|
155
|
-
...
|
|
156
|
-
...
|
|
157
|
-
...
|
|
118
|
+
...lead_description_1.leadOperations,
|
|
119
|
+
...leadSubResource_description_1.leadBusinessOperations,
|
|
120
|
+
...leadSubResource_description_1.leadAttachmentOperations,
|
|
121
|
+
...leadSubResource_description_1.leadNoteOperations,
|
|
122
|
+
...leadSubResource_description_1.leadHistoryOperations,
|
|
123
|
+
...leadSubResource_description_1.leadActivityOperations,
|
|
124
|
+
...business_description_1.businessOperations,
|
|
125
|
+
...businessAction_description_1.businessActionOperations,
|
|
126
|
+
...businessLossReason_description_1.businessLossReasonOperations,
|
|
127
|
+
...tag_description_1.tagOperations,
|
|
128
|
+
...list_description_1.listOperations,
|
|
129
|
+
...product_description_1.productOperations,
|
|
130
|
+
...activity_description_1.activityOperations,
|
|
131
|
+
...conversation_description_1.conversationOperations,
|
|
132
|
+
...instance_description_1.instanceOperations,
|
|
133
|
+
...attendant_description_1.attendantOperations,
|
|
134
|
+
...pipeline_description_1.pipelineOperations,
|
|
135
|
+
...additionalField_description_1.additionalFieldOperations,
|
|
136
|
+
...businessMetrics_description_1.businessMetricsOperations,
|
|
137
|
+
...flow_description_1.flowOperations,
|
|
138
|
+
...lead_description_1.leadFields,
|
|
139
|
+
...leadSubResource_description_1.leadBusinessFields,
|
|
140
|
+
...leadSubResource_description_1.leadAttachmentFields,
|
|
141
|
+
...leadSubResource_description_1.leadNoteFields,
|
|
142
|
+
...leadSubResource_description_1.leadHistoryFields,
|
|
143
|
+
...leadSubResource_description_1.leadActivityFields,
|
|
144
|
+
...business_description_1.businessFields,
|
|
145
|
+
...businessAction_description_1.businessActionFields,
|
|
146
|
+
...businessLossReason_description_1.businessLossReasonFields,
|
|
147
|
+
...tag_description_1.tagFields,
|
|
148
|
+
...list_description_1.listFields,
|
|
149
|
+
...product_description_1.productFields,
|
|
150
|
+
...activity_description_1.activityFields,
|
|
151
|
+
...conversation_description_1.conversationFields,
|
|
152
|
+
...instance_description_1.instanceFields,
|
|
153
|
+
...attendant_description_1.attendantFields,
|
|
154
|
+
...pipeline_description_1.pipelineFields,
|
|
155
|
+
...additionalField_description_1.additionalFieldFields,
|
|
156
|
+
...businessMetrics_description_1.businessMetricsFields,
|
|
157
|
+
...flow_description_1.flowFields,
|
|
158
158
|
],
|
|
159
159
|
};
|
|
160
160
|
this.methods = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Datacrazy.node.js","sourceRoot":"","sources":["../../../nodes/Datacrazy/Datacrazy.node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAQsB;AAEtB,
|
|
1
|
+
{"version":3,"file":"Datacrazy.node.js","sourceRoot":"","sources":["../../../nodes/Datacrazy/Datacrazy.node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAQsB;AAEtB,yEAAgF;AAChF,sFAAiG;AACjG,uGAAwH;AACxH,mHAAwI;AACxI,sEAA4E;AAC5E,yEAAgF;AAChF,kFAA4F;AAC5F,sFAAiG;AACjG,iGAAgH;AAChH,qFAAgG;AAChG,wFAAoG;AACpG,qFAAgG;AAChG,+FAMuD;AACvD,0GAA4H;AAC5H,yGAA2H;AAC3H,yEAAgF;AAEhF,iEAA6D;AAC7D,8EAA0E;AAC1E,+FAA2F;AAC3F,2GAAuG;AACvG,8DAA0D;AAC1D,iEAA6D;AAC7D,0EAAsE;AACtE,8EAA0E;AAC1E,yFAAqF;AACrF,6EAAyE;AACzE,gFAA4E;AAC5E,6EAAyE;AACzE,yFAAoF;AACpF,kGAA8F;AAC9F,iGAA6F;AAC7F,iEAA6D;AAE7D,mEAAqD;AACrD,6CAA8C;AAE9C,MAAa,SAAS;IAAtB;QACE,gBAAW,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AAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EACzF,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CAC1B,CAAC;YACF,UAAU,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,CAAC;QACpC,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACtB,CAAC;CACF;AA/KD,8BA+KC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DatacrazyMsgSwitch = void 0;
|
|
4
|
-
const messageTypeSwitch_handler_1 = require("./
|
|
4
|
+
const messageTypeSwitch_handler_1 = require("./automations/messageTypeSwitch/messageTypeSwitch.handler");
|
|
5
5
|
// Kept for backward compatibility with existing workflows.
|
|
6
6
|
// New workflows should use the "Datacrazy Automações" node (datacrazyUtils)
|
|
7
7
|
// with resource = "messageTypeSwitch".
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatacrazyMsgSwitch.node.js","sourceRoot":"","sources":["../../../nodes/Datacrazy/DatacrazyMsgSwitch.node.ts"],"names":[],"mappings":";;;AAQA,
|
|
1
|
+
{"version":3,"file":"DatacrazyMsgSwitch.node.js","sourceRoot":"","sources":["../../../nodes/Datacrazy/DatacrazyMsgSwitch.node.ts"],"names":[],"mappings":";;;AAQA,yGAAqG;AAErG,2DAA2D;AAC3D,4EAA4E;AAC5E,uCAAuC;AACvC,MAAa,kBAAkB;IAA/B;QACE,gBAAW,GAAyB;YAClC,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,oBAAoB;YAC1B,IAAI,EAAE,0BAA0B;YAChC,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,WAAW,EACT,0KAA0K;YAC5K,QAAQ,EAAE,EAAE,IAAI,EAAE,yBAA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KAAK,EAAE,cAAc,EAAE;wBAChD,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;qBAClC;iBACF;gBACD;oBACE,WAAW,EAAE,2BAA2B;oBACxC,IAAI,EAAE,gBAAgB;oBACtB,IAAI,EAAE,MAAM;oBACZ,QAAQ,EAAE,IAAI;oBACd,OAAO,EAAE,IAAI;oBACb,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE;oBAClD,WAAW,EAAE,gEAAgE;iBAC9E;aACF;SACF,CAAC;IAMJ,CAAC;IAJC,KAAK,CAAC,OAAO;QACX,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAClC,OAAO,oDAAwB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACpD,CAAC;CACF;AAvED,gDAuEC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DatacrazyReplyCheck = void 0;
|
|
4
|
-
const replyChecker_handler_1 = require("./
|
|
4
|
+
const replyChecker_handler_1 = require("./automations/replyChecker/replyChecker.handler");
|
|
5
5
|
// Kept for backward compatibility with existing workflows.
|
|
6
6
|
// New workflows should use the "Datacrazy Automações" node (datacrazyUtils)
|
|
7
7
|
// with resource = "replyChecker".
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatacrazyReplyCheck.node.js","sourceRoot":"","sources":["../../../nodes/Datacrazy/DatacrazyReplyCheck.node.ts"],"names":[],"mappings":";;;AAOA,
|
|
1
|
+
{"version":3,"file":"DatacrazyReplyCheck.node.js","sourceRoot":"","sources":["../../../nodes/Datacrazy/DatacrazyReplyCheck.node.ts"],"names":[],"mappings":";;;AAOA,0FAAsF;AAEtF,2DAA2D;AAC3D,4EAA4E;AAC5E,kCAAkC;AAClC,MAAa,mBAAmB;IAAh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BAChB,IAAI,EAAE,SAAS;oBACf,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;oBAC/C,OAAO,EAAE;wBACP;4BACE,IAAI,EAAE,iCAAiC;4BACvC,KAAK,EAAE,MAAM;4BACb,WAAW,EAAE,iDAAiD;yBAC/D;wBACD,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,qBAAqB,EAAE;wBACxF,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,+BAA+B,EAAE;wBAC9F,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE;qBAClE;oBACD,OAAO,EAAE,MAAM;iBAChB;aACF;SACF,CAAC;IAMJ,CAAC;IAJC,KAAK,CAAC,OAAO;QACX,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAClC,OAAO,0CAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC/C,CAAC;CACF;AAzED,kDAyEC"}
|
|
@@ -35,24 +35,24 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.DatacrazyUtils = void 0;
|
|
37
37
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
38
|
-
const
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
const
|
|
46
|
-
const
|
|
47
|
-
const webhookParser_handler_1 = require("./
|
|
48
|
-
const webhookExtractor_handler_1 = require("./
|
|
49
|
-
const providerDetector_handler_1 = require("./
|
|
50
|
-
const messageContext_handler_1 = require("./
|
|
51
|
-
const leadMover_handler_1 = require("./
|
|
52
|
-
const messageTypeSwitch_handler_1 = require("./
|
|
53
|
-
const replyChecker_handler_1 = require("./
|
|
54
|
-
const leadIfCondition_handler_1 = require("./
|
|
55
|
-
const leadTracker_handler_1 = require("./
|
|
38
|
+
const webhookParser_description_1 = require("./automations/webhookParser/webhookParser.description");
|
|
39
|
+
const webhookExtractor_description_1 = require("./automations/webhookExtractor/webhookExtractor.description");
|
|
40
|
+
const providerDetector_description_1 = require("./automations/providerDetector/providerDetector.description");
|
|
41
|
+
const messageContext_description_1 = require("./automations/messageContext/messageContext.description");
|
|
42
|
+
const leadMover_description_1 = require("./automations/leadMover/leadMover.description");
|
|
43
|
+
const messageTypeSwitch_description_1 = require("./automations/messageTypeSwitch/messageTypeSwitch.description");
|
|
44
|
+
const replyChecker_description_1 = require("./automations/replyChecker/replyChecker.description");
|
|
45
|
+
const leadIfCondition_description_1 = require("./automations/leadIfCondition/leadIfCondition.description");
|
|
46
|
+
const leadTracker_description_1 = require("./automations/leadTracker/leadTracker.description");
|
|
47
|
+
const webhookParser_handler_1 = require("./automations/webhookParser/webhookParser.handler");
|
|
48
|
+
const webhookExtractor_handler_1 = require("./automations/webhookExtractor/webhookExtractor.handler");
|
|
49
|
+
const providerDetector_handler_1 = require("./automations/providerDetector/providerDetector.handler");
|
|
50
|
+
const messageContext_handler_1 = require("./automations/messageContext/messageContext.handler");
|
|
51
|
+
const leadMover_handler_1 = require("./automations/leadMover/leadMover.handler");
|
|
52
|
+
const messageTypeSwitch_handler_1 = require("./automations/messageTypeSwitch/messageTypeSwitch.handler");
|
|
53
|
+
const replyChecker_handler_1 = require("./automations/replyChecker/replyChecker.handler");
|
|
54
|
+
const leadIfCondition_handler_1 = require("./automations/leadIfCondition/leadIfCondition.handler");
|
|
55
|
+
const leadTracker_handler_1 = require("./automations/leadTracker/leadTracker.handler");
|
|
56
56
|
const loadOptions = __importStar(require("./methods/loadOptions"));
|
|
57
57
|
const request_1 = require("./utils/request");
|
|
58
58
|
class DatacrazyUtils {
|
|
@@ -136,22 +136,22 @@ class DatacrazyUtils {
|
|
|
136
136
|
],
|
|
137
137
|
default: 'webhookParser',
|
|
138
138
|
},
|
|
139
|
-
...
|
|
140
|
-
...
|
|
141
|
-
...
|
|
142
|
-
...
|
|
143
|
-
...
|
|
144
|
-
...
|
|
145
|
-
...
|
|
146
|
-
...
|
|
147
|
-
...
|
|
148
|
-
...
|
|
149
|
-
...
|
|
150
|
-
...
|
|
151
|
-
...
|
|
152
|
-
...
|
|
153
|
-
...
|
|
154
|
-
...
|
|
139
|
+
...webhookParser_description_1.webhookParserOperations,
|
|
140
|
+
...webhookExtractor_description_1.webhookExtractorOperations,
|
|
141
|
+
...providerDetector_description_1.providerDetectorOperations,
|
|
142
|
+
...messageContext_description_1.messageContextOperations,
|
|
143
|
+
...leadMover_description_1.leadMoverOperations,
|
|
144
|
+
...leadIfCondition_description_1.leadIfConditionOperations,
|
|
145
|
+
...leadTracker_description_1.leadTrackerOperations,
|
|
146
|
+
...webhookParser_description_1.webhookParserFields,
|
|
147
|
+
...webhookExtractor_description_1.webhookExtractorFields,
|
|
148
|
+
...providerDetector_description_1.providerDetectorFields,
|
|
149
|
+
...messageContext_description_1.messageContextFields,
|
|
150
|
+
...leadMover_description_1.leadMoverFields,
|
|
151
|
+
...messageTypeSwitch_description_1.messageTypeSwitchFields,
|
|
152
|
+
...replyChecker_description_1.replyCheckerFields,
|
|
153
|
+
...leadIfCondition_description_1.leadIfConditionFields,
|
|
154
|
+
...leadTracker_description_1.leadTrackerFields,
|
|
155
155
|
],
|
|
156
156
|
};
|
|
157
157
|
this.methods = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatacrazyUtils.node.js","sourceRoot":"","sources":["../../../nodes/Datacrazy/DatacrazyUtils.node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAQsB;AAEtB,
|
|
1
|
+
{"version":3,"file":"DatacrazyUtils.node.js","sourceRoot":"","sources":["../../../nodes/Datacrazy/DatacrazyUtils.node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+
{"version":3,"file":"leadIfCondition.description.d.ts","sourceRoot":"","sources":["../../../../../nodes/Datacrazy/automations/leadIfCondition/leadIfCondition.description.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,eAAO,MAAM,yBAAyB,EAAE,eAAe,EAgBtD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,eAAe,EAsJlD,CAAC"}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.leadIfConditionFields = exports.leadIfConditionOperations = void 0;
|
|
4
|
+
exports.leadIfConditionOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operação',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: { show: { resource: ['leadIfCondition'] } },
|
|
11
|
+
options: [
|
|
12
|
+
{
|
|
13
|
+
name: 'Verificar Condição do Lead',
|
|
14
|
+
value: 'check',
|
|
15
|
+
action: 'Verifica condição do lead e roteia para Sim ou Não',
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
default: 'check',
|
|
19
|
+
},
|
|
20
|
+
];
|
|
21
|
+
exports.leadIfConditionFields = [
|
|
22
|
+
{
|
|
23
|
+
displayName: 'Lead',
|
|
24
|
+
name: 'leadId',
|
|
25
|
+
type: 'resourceLocator',
|
|
26
|
+
default: { mode: 'list', value: '' },
|
|
27
|
+
required: true,
|
|
28
|
+
description: 'Lead a ser verificado',
|
|
29
|
+
displayOptions: { show: { resource: ['leadIfCondition'], operation: ['check'] } },
|
|
30
|
+
modes: [
|
|
31
|
+
{
|
|
32
|
+
displayName: 'Da Lista',
|
|
33
|
+
name: 'list',
|
|
34
|
+
type: 'list',
|
|
35
|
+
typeOptions: { searchListMethod: 'searchLeadsCrm', searchable: true },
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
displayName: 'Por ID',
|
|
39
|
+
name: 'id',
|
|
40
|
+
type: 'string',
|
|
41
|
+
placeholder: 'Ex: cluid123...',
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
displayName: 'Tipo de Condição',
|
|
47
|
+
name: 'conditionType',
|
|
48
|
+
type: 'options',
|
|
49
|
+
required: true,
|
|
50
|
+
default: 'hasTag',
|
|
51
|
+
displayOptions: { show: { resource: ['leadIfCondition'], operation: ['check'] } },
|
|
52
|
+
options: [
|
|
53
|
+
{ name: 'Tem Tag', value: 'hasTag', description: 'Verifica se o lead possui uma tag específica' },
|
|
54
|
+
{ name: 'Não Tem Tag', value: 'notHasTag', description: 'Verifica se o lead NÃO possui uma tag específica' },
|
|
55
|
+
{ name: 'Campo Personalizado Igual a', value: 'customFieldEquals', description: 'Verifica se um campo personalizado tem um valor específico' },
|
|
56
|
+
{ name: 'Campo Personalizado Contém', value: 'customFieldContains', description: 'Verifica se um campo personalizado contém um texto' },
|
|
57
|
+
{ name: 'Está na Pipeline', value: 'inPipeline', description: 'Verifica se o lead tem negócio em uma pipeline específica' },
|
|
58
|
+
{ name: 'Está na Etapa', value: 'inStage', description: 'Verifica se o lead tem negócio em uma etapa específica' },
|
|
59
|
+
{ name: 'Está na Pipeline + Etapa', value: 'inPipelineAndStage', description: 'Verifica pipeline e etapa ao mesmo tempo' },
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
// --- Tag (hasTag, notHasTag) ---
|
|
63
|
+
{
|
|
64
|
+
displayName: 'Tag',
|
|
65
|
+
name: 'tagId',
|
|
66
|
+
type: 'resourceLocator',
|
|
67
|
+
default: { mode: 'list', value: '' },
|
|
68
|
+
required: true,
|
|
69
|
+
description: 'Tag a ser verificada',
|
|
70
|
+
displayOptions: { show: { resource: ['leadIfCondition'], operation: ['check'], conditionType: ['hasTag', 'notHasTag'] } },
|
|
71
|
+
modes: [
|
|
72
|
+
{
|
|
73
|
+
displayName: 'Da Lista',
|
|
74
|
+
name: 'list',
|
|
75
|
+
type: 'list',
|
|
76
|
+
typeOptions: { searchListMethod: 'searchTags', searchable: true },
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
displayName: 'Por ID',
|
|
80
|
+
name: 'id',
|
|
81
|
+
type: 'string',
|
|
82
|
+
placeholder: 'Ex: cluid123...',
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
},
|
|
86
|
+
// --- Custom field (customFieldEquals, customFieldContains) ---
|
|
87
|
+
{
|
|
88
|
+
displayName: 'Nome do Campo Personalizado',
|
|
89
|
+
name: 'customFieldName',
|
|
90
|
+
type: 'resourceLocator',
|
|
91
|
+
default: { mode: 'list', value: '' },
|
|
92
|
+
required: true,
|
|
93
|
+
description: 'Campo personalizado do lead a ser verificado',
|
|
94
|
+
displayOptions: { show: { resource: ['leadIfCondition'], operation: ['check'], conditionType: ['customFieldEquals', 'customFieldContains'] } },
|
|
95
|
+
modes: [
|
|
96
|
+
{
|
|
97
|
+
displayName: 'Da Lista',
|
|
98
|
+
name: 'list',
|
|
99
|
+
type: 'list',
|
|
100
|
+
typeOptions: { searchListMethod: 'searchAdditionalFieldsBySlug', searchable: true },
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
displayName: 'Por Slug',
|
|
104
|
+
name: 'id',
|
|
105
|
+
type: 'string',
|
|
106
|
+
placeholder: 'Ex: cpf',
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
displayName: 'Valor Esperado',
|
|
112
|
+
name: 'customFieldValue',
|
|
113
|
+
type: 'string',
|
|
114
|
+
default: '',
|
|
115
|
+
required: true,
|
|
116
|
+
description: 'Valor a ser comparado com o campo personalizado',
|
|
117
|
+
displayOptions: { show: { resource: ['leadIfCondition'], operation: ['check'], conditionType: ['customFieldEquals', 'customFieldContains'] } },
|
|
118
|
+
},
|
|
119
|
+
// --- Pipeline (inPipeline, inPipelineAndStage) ---
|
|
120
|
+
{
|
|
121
|
+
displayName: 'Pipeline',
|
|
122
|
+
name: 'pipelineId',
|
|
123
|
+
type: 'resourceLocator',
|
|
124
|
+
default: { mode: 'list', value: '' },
|
|
125
|
+
required: true,
|
|
126
|
+
description: 'Pipeline a ser verificada',
|
|
127
|
+
displayOptions: { show: { resource: ['leadIfCondition'], operation: ['check'], conditionType: ['inPipeline', 'inPipelineAndStage'] } },
|
|
128
|
+
modes: [
|
|
129
|
+
{
|
|
130
|
+
displayName: 'Da Lista',
|
|
131
|
+
name: 'list',
|
|
132
|
+
type: 'list',
|
|
133
|
+
typeOptions: { searchListMethod: 'searchPipelines', searchable: true },
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
displayName: 'Por ID',
|
|
137
|
+
name: 'id',
|
|
138
|
+
type: 'string',
|
|
139
|
+
placeholder: 'Ex: cluid123...',
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
},
|
|
143
|
+
// --- Stage (inStage, inPipelineAndStage) ---
|
|
144
|
+
{
|
|
145
|
+
displayName: 'Etapa',
|
|
146
|
+
name: 'stageId',
|
|
147
|
+
type: 'resourceLocator',
|
|
148
|
+
default: { mode: 'list', value: '' },
|
|
149
|
+
required: true,
|
|
150
|
+
description: 'Para buscar da lista, selecione a Pipeline primeiro',
|
|
151
|
+
displayOptions: { show: { resource: ['leadIfCondition'], operation: ['check'], conditionType: ['inStage', 'inPipelineAndStage'] } },
|
|
152
|
+
modes: [
|
|
153
|
+
{
|
|
154
|
+
displayName: 'Da Lista',
|
|
155
|
+
name: 'list',
|
|
156
|
+
type: 'list',
|
|
157
|
+
typeOptions: { searchListMethod: 'searchLeadMoverStages', searchable: true },
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
displayName: 'Por ID',
|
|
161
|
+
name: 'id',
|
|
162
|
+
type: 'string',
|
|
163
|
+
placeholder: 'Ex: cluid123...',
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
},
|
|
167
|
+
];
|
|
168
|
+
//# sourceMappingURL=leadIfCondition.description.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leadIfCondition.description.js","sourceRoot":"","sources":["../../../../../nodes/Datacrazy/automations/leadIfCondition/leadIfCondition.description.ts"],"names":[],"mappings":";;;AAEa,QAAA,yBAAyB,GAAsB;IAC1D;QACE,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE;QAC3D,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,4BAA4B;gBAClC,KAAK,EAAE,OAAO;gBACd,MAAM,EAAE,oDAAoD;aAC7D;SACF;QACD,OAAO,EAAE,OAAO;KACjB;CACF,CAAC;AAEW,QAAA,qBAAqB,GAAsB;IACtD;QACE,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;QACpC,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,uBAAuB;QACpC,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,SAAS,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;QACjF,KAAK,EAAE;YACL;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,MAAM;gBACZ,WAAW,EAAE,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,IAAI,EAAE;aACtE;YACD;gBACE,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iBAAiB;aAC/B;SACF;KACF;IACD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oBAAoB,CAAC,EAAE,EAAE;QACnI,KAAK,EAAE;YACL;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,MAAM;gBACZ,WAAW,EAAE,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,UAAU,EAAE,IAAI,EAAE;aAC7E;YACD;gBACE,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iBAAiB;aAC/B;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
|
|
2
|
+
import { ApiBaseUrls } from '../../utils/request';
|
|
3
|
+
export declare function executeLeadIfCondition(this: IExecuteFunctions, baseUrl: ApiBaseUrls, items: INodeExecutionData[]): Promise<INodeExecutionData[][]>;
|
|
4
|
+
//# sourceMappingURL=leadIfCondition.handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leadIfCondition.handler.d.ts","sourceRoot":"","sources":["../../../../../nodes/Datacrazy/automations/leadIfCondition/leadIfCondition.handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAe,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAQ/D,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,iBAAiB,EACvB,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,kBAAkB,EAAE,GAC1B,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAqHjC"}
|