@probo/n8n-nodes-probo 0.199.0 → 0.201.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/README.md +138 -0
- package/dist/credentials/ProboApi.credentials.js +1 -1
- package/dist/credentials/ProboApi.credentials.js.map +1 -1
- package/dist/nodes/Probo/Probo.node.js +0 -6
- package/dist/nodes/Probo/Probo.node.js.map +1 -1
- package/dist/nodes/Probo/Probo.node.json +2 -2
- package/dist/nodes/Probo/actions/document/create.operation.js +1 -1
- package/dist/nodes/Probo/actions/document/create.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/document/getAllSignatures.operation.js +1 -1
- package/dist/nodes/Probo/actions/document/getAllSignatures.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/document/index.d.ts +1 -2
- package/dist/nodes/Probo/actions/document/index.js +1 -10
- package/dist/nodes/Probo/actions/document/index.js.map +1 -1
- package/dist/nodes/Probo/actions/document/update.operation.js +76 -6
- package/dist/nodes/Probo/actions/document/update.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/document/updateVersion.operation.js +1 -1
- package/dist/nodes/Probo/actions/document/updateVersion.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/webhook/create.operation.js +2 -14
- package/dist/nodes/Probo/actions/webhook/create.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/webhook/events.d.ts +2 -0
- package/dist/nodes/Probo/actions/webhook/events.js +33 -0
- package/dist/nodes/Probo/actions/webhook/events.js.map +1 -0
- package/dist/nodes/Probo/actions/webhook/update.operation.js +2 -14
- package/dist/nodes/Probo/actions/webhook/update.operation.js.map +1 -1
- package/dist/nodes/ProboTrigger/ProboTrigger.node.d.ts +12 -0
- package/dist/nodes/ProboTrigger/ProboTrigger.node.js +265 -0
- package/dist/nodes/ProboTrigger/ProboTrigger.node.js.map +1 -0
- package/dist/nodes/ProboTrigger/ProboTrigger.node.json +19 -0
- package/dist/package.json +5 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -4
- package/dist/nodes/Probo/actions/document/createDraftVersion.operation.d.ts +0 -3
- package/dist/nodes/Probo/actions/document/createDraftVersion.operation.js +0 -52
- package/dist/nodes/Probo/actions/document/createDraftVersion.operation.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@probo/n8n-nodes-probo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.201.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "n8n-node build",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"dist/credentials/ProboApi.credentials.js"
|
|
26
26
|
],
|
|
27
27
|
"nodes": [
|
|
28
|
-
"dist/nodes/Probo/Probo.node.js"
|
|
28
|
+
"dist/nodes/Probo/Probo.node.js",
|
|
29
|
+
"dist/nodes/ProboTrigger/ProboTrigger.node.js"
|
|
29
30
|
]
|
|
30
31
|
},
|
|
31
32
|
"license": "MIT",
|
|
@@ -55,7 +56,7 @@
|
|
|
55
56
|
"n8n-workflow": "*"
|
|
56
57
|
},
|
|
57
58
|
"devDependencies": {
|
|
58
|
-
"@n8n/node-cli": "0.37.
|
|
59
|
-
"eslint": "
|
|
59
|
+
"@n8n/node-cli": "0.37.2",
|
|
60
|
+
"eslint": "9.29.0"
|
|
60
61
|
}
|
|
61
62
|
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.description = void 0;
|
|
4
|
-
exports.execute = execute;
|
|
5
|
-
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
|
-
exports.description = [
|
|
7
|
-
{
|
|
8
|
-
displayName: 'Document ID',
|
|
9
|
-
name: 'documentId',
|
|
10
|
-
type: 'string',
|
|
11
|
-
displayOptions: {
|
|
12
|
-
show: {
|
|
13
|
-
resource: ['document'],
|
|
14
|
-
operation: ['createDraftVersion'],
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
default: '',
|
|
18
|
-
description: 'The ID of the document',
|
|
19
|
-
required: true,
|
|
20
|
-
},
|
|
21
|
-
];
|
|
22
|
-
async function execute(itemIndex) {
|
|
23
|
-
const documentId = this.getNodeParameter('documentId', itemIndex);
|
|
24
|
-
const query = `
|
|
25
|
-
mutation CreateDraftDocumentVersion($input: CreateDraftDocumentVersionInput!) {
|
|
26
|
-
createDraftDocumentVersion(input: $input) {
|
|
27
|
-
documentVersionEdge {
|
|
28
|
-
node {
|
|
29
|
-
id
|
|
30
|
-
title
|
|
31
|
-
major
|
|
32
|
-
minor
|
|
33
|
-
status
|
|
34
|
-
content
|
|
35
|
-
changelog
|
|
36
|
-
classification
|
|
37
|
-
documentType
|
|
38
|
-
publishedAt
|
|
39
|
-
createdAt
|
|
40
|
-
updatedAt
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
`;
|
|
46
|
-
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { documentID: documentId } });
|
|
47
|
-
return {
|
|
48
|
-
json: responseData,
|
|
49
|
-
pairedItem: { item: itemIndex },
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
//# sourceMappingURL=createDraftVersion.operation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createDraftVersion.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/document/createDraftVersion.operation.ts"],"names":[],"mappings":";;;AAkCA,0BAmCC;AAtDD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;gBACtB,SAAS,EAAE,CAAC,oBAAoB,CAAC;aACjC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,wBAAwB;QACrC,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,SAAiB;IAEjB,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,SAAS,CAAW,CAAC;IAE5E,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;EAqBb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;IAEpG,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|