@replyio/n8n-nodes-reply 0.3.0 → 0.5.0
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/Reply/ReplyTrigger.node.js +8 -26
- package/dist/nodes/Reply/ReplyTrigger.node.js.map +1 -1
- package/dist/nodes/Reply/actions/contact/create.operation.js +20 -3
- package/dist/nodes/Reply/actions/contact/create.operation.js.map +1 -1
- package/dist/nodes/Reply/actions/contact/delete.operation.js +1 -11
- package/dist/nodes/Reply/actions/contact/delete.operation.js.map +1 -1
- package/dist/nodes/Reply/actions/contact/get.operation.js +35 -0
- package/dist/nodes/Reply/actions/contact/get.operation.js.map +1 -0
- package/dist/nodes/Reply/actions/contact/index.d.ts +2 -4
- package/dist/nodes/Reply/actions/contact/index.js +91 -199
- package/dist/nodes/Reply/actions/contact/index.js.map +1 -1
- package/dist/nodes/Reply/actions/contact/update.operation.js +26 -64
- package/dist/nodes/Reply/actions/contact/update.operation.js.map +1 -1
- package/dist/nodes/Reply/actions/contactStatus/clearStatus.operation.js +39 -0
- package/dist/nodes/Reply/actions/contactStatus/clearStatus.operation.js.map +1 -0
- package/dist/nodes/Reply/actions/contactStatus/index.d.ts +4 -20
- package/dist/nodes/Reply/actions/contactStatus/index.js +141 -102
- package/dist/nodes/Reply/actions/contactStatus/index.js.map +1 -1
- package/dist/nodes/Reply/actions/contactStatus/statusHelper.d.ts +1 -3
- package/dist/nodes/Reply/actions/contactStatus/statusHelper.js +3 -69
- package/dist/nodes/Reply/actions/contactStatus/statusHelper.js.map +1 -1
- package/dist/nodes/Reply/actions/contactStatus/updateStatus.operation.js +35 -0
- package/dist/nodes/Reply/actions/contactStatus/updateStatus.operation.js.map +1 -0
- package/dist/nodes/Reply/actions/sequence/addContact.operation.js +45 -25
- package/dist/nodes/Reply/actions/sequence/addContact.operation.js.map +1 -1
- package/dist/nodes/Reply/actions/sequence/archive.operation.js +1 -11
- package/dist/nodes/Reply/actions/sequence/archive.operation.js.map +1 -1
- package/dist/nodes/Reply/actions/sequence/get.operation.js +10 -0
- package/dist/nodes/Reply/actions/sequence/get.operation.js.map +1 -0
- package/dist/nodes/Reply/actions/sequence/getAll.operation.js +4 -0
- package/dist/nodes/Reply/actions/sequence/getAll.operation.js.map +1 -1
- package/dist/nodes/Reply/actions/sequence/getContacts.operation.js +1 -11
- package/dist/nodes/Reply/actions/sequence/getContacts.operation.js.map +1 -1
- package/dist/nodes/Reply/actions/sequence/index.d.ts +2 -2
- package/dist/nodes/Reply/actions/sequence/index.js +103 -100
- package/dist/nodes/Reply/actions/sequence/index.js.map +1 -1
- package/dist/nodes/Reply/actions/sequence/pause.operation.js +1 -11
- package/dist/nodes/Reply/actions/sequence/pause.operation.js.map +1 -1
- package/dist/nodes/Reply/actions/sequence/start.operation.js +1 -11
- package/dist/nodes/Reply/actions/sequence/start.operation.js.map +1 -1
- package/dist/nodes/Reply/utils/GenericFunctions.d.ts +8 -0
- package/dist/nodes/Reply/utils/GenericFunctions.js +76 -0
- package/dist/nodes/Reply/utils/GenericFunctions.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/nodes/Reply/actions/contact/getByEmail.operation.js +0 -23
- package/dist/nodes/Reply/actions/contact/getByEmail.operation.js.map +0 -1
- package/dist/nodes/Reply/actions/contact/getById.operation.js +0 -20
- package/dist/nodes/Reply/actions/contact/getById.operation.js.map +0 -1
- package/dist/nodes/Reply/actions/contactStatus/markAsActive.operation.js +0 -8
- package/dist/nodes/Reply/actions/contactStatus/markAsActive.operation.js.map +0 -1
- package/dist/nodes/Reply/actions/contactStatus/markAsBounced.operation.js +0 -8
- package/dist/nodes/Reply/actions/contactStatus/markAsBounced.operation.js.map +0 -1
- package/dist/nodes/Reply/actions/contactStatus/markAsCalled.operation.d.ts +0 -2
- package/dist/nodes/Reply/actions/contactStatus/markAsCalled.operation.js +0 -8
- package/dist/nodes/Reply/actions/contactStatus/markAsCalled.operation.js.map +0 -1
- package/dist/nodes/Reply/actions/contactStatus/markAsFinished.operation.d.ts +0 -2
- package/dist/nodes/Reply/actions/contactStatus/markAsFinished.operation.js +0 -8
- package/dist/nodes/Reply/actions/contactStatus/markAsFinished.operation.js.map +0 -1
- package/dist/nodes/Reply/actions/contactStatus/markAsMeetingBooked.operation.d.ts +0 -2
- package/dist/nodes/Reply/actions/contactStatus/markAsMeetingBooked.operation.js +0 -8
- package/dist/nodes/Reply/actions/contactStatus/markAsMeetingBooked.operation.js.map +0 -1
- package/dist/nodes/Reply/actions/contactStatus/markAsOptedOut.operation.d.ts +0 -2
- package/dist/nodes/Reply/actions/contactStatus/markAsOptedOut.operation.js +0 -8
- package/dist/nodes/Reply/actions/contactStatus/markAsOptedOut.operation.js.map +0 -1
- package/dist/nodes/Reply/actions/contactStatus/markAsOutOfOffice.operation.d.ts +0 -2
- package/dist/nodes/Reply/actions/contactStatus/markAsOutOfOffice.operation.js +0 -8
- package/dist/nodes/Reply/actions/contactStatus/markAsOutOfOffice.operation.js.map +0 -1
- package/dist/nodes/Reply/actions/contactStatus/markAsPaused.operation.d.ts +0 -2
- package/dist/nodes/Reply/actions/contactStatus/markAsPaused.operation.js +0 -8
- package/dist/nodes/Reply/actions/contactStatus/markAsPaused.operation.js.map +0 -1
- package/dist/nodes/Reply/actions/contactStatus/markAsReplied.operation.d.ts +0 -2
- package/dist/nodes/Reply/actions/contactStatus/markAsReplied.operation.js +0 -8
- package/dist/nodes/Reply/actions/contactStatus/markAsReplied.operation.js.map +0 -1
- package/dist/nodes/Reply/actions/contactStatus/markAsToCall.operation.d.ts +0 -2
- package/dist/nodes/Reply/actions/contactStatus/markAsToCall.operation.js +0 -8
- package/dist/nodes/Reply/actions/contactStatus/markAsToCall.operation.js.map +0 -1
- package/dist/nodes/Reply/actions/sequence/getById.operation.d.ts +0 -2
- package/dist/nodes/Reply/actions/sequence/getById.operation.js +0 -20
- package/dist/nodes/Reply/actions/sequence/getById.operation.js.map +0 -1
- /package/dist/nodes/Reply/actions/contact/{getByEmail.operation.d.ts → get.operation.d.ts} +0 -0
- /package/dist/nodes/Reply/actions/{contact/getById.operation.d.ts → contactStatus/clearStatus.operation.d.ts} +0 -0
- /package/dist/nodes/Reply/actions/contactStatus/{markAsActive.operation.d.ts → updateStatus.operation.d.ts} +0 -0
- /package/dist/nodes/Reply/actions/{contactStatus/markAsBounced.operation.d.ts → sequence/get.operation.d.ts} +0 -0
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.execute = execute;
|
|
4
|
-
const statusHelper_1 = require("./statusHelper");
|
|
5
|
-
async function execute(i) {
|
|
6
|
-
return (0, statusHelper_1.executeStatusWithoutSequence)(this, i, 'Called');
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=markAsCalled.operation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markAsCalled.operation.js","sourceRoot":"","sources":["../../../../../nodes/Reply/actions/contactStatus/markAsCalled.operation.ts"],"names":[],"mappings":";;AAGA,0BAEC;AAJD,iDAA8D;AAEvD,KAAK,UAAU,OAAO,CAA0B,CAAS;IAC/D,OAAO,IAAA,2CAA4B,EAAC,IAAI,EAAE,CAAC,EAAE,QAAQ,CAAC,CAAC;AACxD,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.execute = execute;
|
|
4
|
-
const statusHelper_1 = require("./statusHelper");
|
|
5
|
-
async function execute(i) {
|
|
6
|
-
return (0, statusHelper_1.executeStatusWithSequence)(this, i, 'Finished');
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=markAsFinished.operation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markAsFinished.operation.js","sourceRoot":"","sources":["../../../../../nodes/Reply/actions/contactStatus/markAsFinished.operation.ts"],"names":[],"mappings":";;AAGA,0BAEC;AAJD,iDAA2D;AAEpD,KAAK,UAAU,OAAO,CAA0B,CAAS;IAC/D,OAAO,IAAA,wCAAyB,EAAC,IAAI,EAAE,CAAC,EAAE,UAAU,CAAC,CAAC;AACvD,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.execute = execute;
|
|
4
|
-
const statusHelper_1 = require("./statusHelper");
|
|
5
|
-
async function execute(i) {
|
|
6
|
-
return (0, statusHelper_1.executeStatusWithoutSequence)(this, i, 'MeetingBooked');
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=markAsMeetingBooked.operation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markAsMeetingBooked.operation.js","sourceRoot":"","sources":["../../../../../nodes/Reply/actions/contactStatus/markAsMeetingBooked.operation.ts"],"names":[],"mappings":";;AAGA,0BAEC;AAJD,iDAA8D;AAEvD,KAAK,UAAU,OAAO,CAA0B,CAAS;IAC/D,OAAO,IAAA,2CAA4B,EAAC,IAAI,EAAE,CAAC,EAAE,eAAe,CAAC,CAAC;AAC/D,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.execute = execute;
|
|
4
|
-
const statusHelper_1 = require("./statusHelper");
|
|
5
|
-
async function execute(i) {
|
|
6
|
-
return (0, statusHelper_1.executeStatusWithoutSequence)(this, i, 'OptedOut');
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=markAsOptedOut.operation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markAsOptedOut.operation.js","sourceRoot":"","sources":["../../../../../nodes/Reply/actions/contactStatus/markAsOptedOut.operation.ts"],"names":[],"mappings":";;AAGA,0BAEC;AAJD,iDAA8D;AAEvD,KAAK,UAAU,OAAO,CAA0B,CAAS;IAC/D,OAAO,IAAA,2CAA4B,EAAC,IAAI,EAAE,CAAC,EAAE,UAAU,CAAC,CAAC;AAC1D,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.execute = execute;
|
|
4
|
-
const statusHelper_1 = require("./statusHelper");
|
|
5
|
-
async function execute(i) {
|
|
6
|
-
return (0, statusHelper_1.executeStatusWithSequence)(this, i, 'OutOfOffice');
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=markAsOutOfOffice.operation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markAsOutOfOffice.operation.js","sourceRoot":"","sources":["../../../../../nodes/Reply/actions/contactStatus/markAsOutOfOffice.operation.ts"],"names":[],"mappings":";;AAGA,0BAEC;AAJD,iDAA2D;AAEpD,KAAK,UAAU,OAAO,CAA0B,CAAS;IAC/D,OAAO,IAAA,wCAAyB,EAAC,IAAI,EAAE,CAAC,EAAE,aAAa,CAAC,CAAC;AAC1D,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.execute = execute;
|
|
4
|
-
const statusHelper_1 = require("./statusHelper");
|
|
5
|
-
async function execute(i) {
|
|
6
|
-
return (0, statusHelper_1.executeStatusWithSequence)(this, i, 'Paused');
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=markAsPaused.operation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markAsPaused.operation.js","sourceRoot":"","sources":["../../../../../nodes/Reply/actions/contactStatus/markAsPaused.operation.ts"],"names":[],"mappings":";;AAGA,0BAEC;AAJD,iDAA2D;AAEpD,KAAK,UAAU,OAAO,CAA0B,CAAS;IAC/D,OAAO,IAAA,wCAAyB,EAAC,IAAI,EAAE,CAAC,EAAE,QAAQ,CAAC,CAAC;AACrD,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.execute = execute;
|
|
4
|
-
const statusHelper_1 = require("./statusHelper");
|
|
5
|
-
async function execute(i) {
|
|
6
|
-
return (0, statusHelper_1.executeStatusWithSequence)(this, i, 'Replied');
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=markAsReplied.operation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markAsReplied.operation.js","sourceRoot":"","sources":["../../../../../nodes/Reply/actions/contactStatus/markAsReplied.operation.ts"],"names":[],"mappings":";;AAGA,0BAEC;AAJD,iDAA2D;AAEpD,KAAK,UAAU,OAAO,CAA0B,CAAS;IAC/D,OAAO,IAAA,wCAAyB,EAAC,IAAI,EAAE,CAAC,EAAE,SAAS,CAAC,CAAC;AACtD,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.execute = execute;
|
|
4
|
-
const statusHelper_1 = require("./statusHelper");
|
|
5
|
-
async function execute(i) {
|
|
6
|
-
return (0, statusHelper_1.executeStatusWithoutSequence)(this, i, 'ToCall');
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=markAsToCall.operation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markAsToCall.operation.js","sourceRoot":"","sources":["../../../../../nodes/Reply/actions/contactStatus/markAsToCall.operation.ts"],"names":[],"mappings":";;AAGA,0BAEC;AAJD,iDAA8D;AAEvD,KAAK,UAAU,OAAO,CAA0B,CAAS;IAC/D,OAAO,IAAA,2CAA4B,EAAC,IAAI,EAAE,CAAC,EAAE,QAAQ,CAAC,CAAC;AACxD,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.execute = execute;
|
|
4
|
-
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
-
const GenericFunctions_1 = require("../../utils/GenericFunctions");
|
|
6
|
-
const validation_1 = require("../../utils/validation");
|
|
7
|
-
async function execute(i) {
|
|
8
|
-
const sequenceId = this.getNodeParameter('sequenceId', i);
|
|
9
|
-
try {
|
|
10
|
-
(0, validation_1.validateSequenceId)(sequenceId);
|
|
11
|
-
}
|
|
12
|
-
catch (validationError) {
|
|
13
|
-
throw new n8n_workflow_1.NodeOperationError(this.getNode(), validationError.message, {
|
|
14
|
-
itemIndex: i,
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
const response = await GenericFunctions_1.replyApiRequest.call(this, 'GET', `/v3/sequences/${sequenceId}`);
|
|
18
|
-
return [{ json: response }];
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=getById.operation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getById.operation.js","sourceRoot":"","sources":["../../../../../nodes/Reply/actions/sequence/getById.operation.ts"],"names":[],"mappings":";;AAMA,0BAaC;AAlBD,+CAAkD;AAElD,mEAA+D;AAC/D,uDAA4D;AAErD,KAAK,UAAU,OAAO,CAA0B,CAAS;IAC/D,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,CAAC,CAAW,CAAC;IAEpE,IAAI,CAAC;QACJ,IAAA,+BAAkB,EAAC,UAAU,CAAC,CAAC;IAChC,CAAC;IAAC,OAAO,eAAe,EAAE,CAAC;QAC1B,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAG,eAAyB,CAAC,OAAO,EAAE;YAChF,SAAS,EAAE,CAAC;SACZ,CAAC,CAAC;IACJ,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,iBAAiB,UAAU,EAAE,CAAC,CAAC;IACxF,OAAO,CAAC,EAAE,IAAI,EAAE,QAAuB,EAAE,CAAC,CAAC;AAC5C,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|