@probo/n8n-nodes-probo 0.200.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@probo/n8n-nodes-probo",
3
- "version": "0.200.0",
3
+ "version": "0.201.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build": "n8n-node build",
@@ -56,7 +56,7 @@
56
56
  "n8n-workflow": "*"
57
57
  },
58
58
  "devDependencies": {
59
- "@n8n/node-cli": "0.37.1",
60
- "eslint": "^9.39.4"
59
+ "@n8n/node-cli": "0.37.2",
60
+ "eslint": "9.29.0"
61
61
  }
62
62
  }
@@ -1,3 +0,0 @@
1
- import type { INodeProperties, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
2
- export declare const description: INodeProperties[];
3
- export declare function execute(this: IExecuteFunctions, itemIndex: number): Promise<INodeExecutionData>;
@@ -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"}