n8n-nodes-runrunit 1.1.3 → 1.1.4
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/Runrunit/Runrunit.node.js +0 -2
- package/dist/nodes/Runrunit/Runrunit.node.js.map +1 -1
- package/dist/nodes/Runrunit/resources/documents/create.d.ts +2 -0
- package/dist/nodes/Runrunit/resources/documents/create.js +35 -0
- package/dist/nodes/Runrunit/resources/documents/create.js.map +1 -0
- package/dist/nodes/Runrunit/resources/documents/documentId.d.ts +2 -0
- package/dist/nodes/Runrunit/resources/documents/documentId.js +19 -0
- package/dist/nodes/Runrunit/resources/documents/documentId.js.map +1 -0
- package/dist/nodes/Runrunit/resources/documents/getAll.d.ts +2 -0
- package/dist/nodes/Runrunit/resources/documents/getAll.js +37 -0
- package/dist/nodes/Runrunit/resources/documents/getAll.js.map +1 -0
- package/dist/nodes/Runrunit/resources/documents/index.js +6 -66
- package/dist/nodes/Runrunit/resources/documents/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/nodes/Runrunit/resources/descriptions/index.d.ts +0 -2
- package/dist/nodes/Runrunit/resources/descriptions/index.js +0 -80
- package/dist/nodes/Runrunit/resources/descriptions/index.js.map +0 -1
|
@@ -37,7 +37,6 @@ const checklistItems_1 = require("./resources/checklistItems");
|
|
|
37
37
|
const clients_1 = require("./resources/clients");
|
|
38
38
|
const projects_1 = require("./resources/projects");
|
|
39
39
|
const descendants_1 = require("./resources/descendants");
|
|
40
|
-
const descriptions_1 = require("./resources/descriptions");
|
|
41
40
|
const TaskExecute = __importStar(require("./resources/executers/TaskExecute"));
|
|
42
41
|
const UserExecute = __importStar(require("./resources/executers/UserExecute"));
|
|
43
42
|
const ClientsExecute = __importStar(require("./resources/executers/ClientsExecute"));
|
|
@@ -118,7 +117,6 @@ class Runrunit {
|
|
|
118
117
|
...checklists_1.checklistsDescription,
|
|
119
118
|
...checklistItems_1.checklistItemsDescription,
|
|
120
119
|
...descendants_1.descendantsDescription,
|
|
121
|
-
...descriptions_1.descriptionsDescription,
|
|
122
120
|
...projects_1.projectsDescription,
|
|
123
121
|
...user_1.userDescription,
|
|
124
122
|
...task_1.taskDescription,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Runrunit.node.js","sourceRoot":"","sources":["../../../nodes/Runrunit/Runrunit.node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAOsB;AACtB,2CAAmD;AACnD,2CAAmD;AACnD,2CAAmD;AACnD,uDAA+D;AAC/D,uDAA+D;AAC/D,mDAA2D;AAC3D,qDAA6D;AAC7D,uDAA+D;AAC/D,+DAAuE;AACvE,iDAAyD;AACzD,mDAA2D;AAC3D,yDAAiE;AACjE
|
|
1
|
+
{"version":3,"file":"Runrunit.node.js","sourceRoot":"","sources":["../../../nodes/Runrunit/Runrunit.node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAOsB;AACtB,2CAAmD;AACnD,2CAAmD;AACnD,2CAAmD;AACnD,uDAA+D;AAC/D,uDAA+D;AAC/D,mDAA2D;AAC3D,qDAA6D;AAC7D,uDAA+D;AAC/D,+DAAuE;AACvE,iDAAyD;AACzD,mDAA2D;AAC3D,yDAAiE;AACjE,+EAAiE;AACjE,+EAAiE;AACjE,qFAAuE;AACvE,+EAAiE;AACjE,2FAA6E;AAC7E,uFAAyE;AACzE,yFAA2E;AAC3E,2FAA6E;AAC7E,mGAAqF;AACrF,6FAA+E;AAC/E,+FAAiF;AACjF,2FAA6E;AAC7E,uFAAyE;AAEzE,MAAa,QAAQ;IAArB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,IAAI,EAAE,wBAAwB,EAAE;YACpE,KAAK,EAAE,C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,EAAE,eAAe,CAAC,OAAO;YACjC,SAAS,EAAE,gBAAgB,CAAC,OAAO;YACnC,QAAQ,EAAE,eAAe,CAAC,OAAO;YACjC,UAAU,EAAE,iBAAiB,CAAC,OAAO;YACrC,cAAc,EAAE,qBAAqB,CAAC,OAAO;YAC7C,WAAW,EAAE,kBAAkB,CAAC,OAAO;YACvC,YAAY,EAAE,mBAAmB,CAAC,OAAO;YACzC,UAAU,EAAE,iBAAiB,CAAC,OAAO;SACrC,CAAC;QAEF,MAAM,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC;QACrC,IAAI,CAAC,QAAQ;YAAE,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,6BAA6B,QAAQ,EAAE,CAAC,CAAC;QAErG,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IACxC,CAAC;CACD;AAjGD,4BAiGC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.documentsCreateDescription = void 0;
|
|
4
|
+
const showOnlyForDocumentsCreate = {
|
|
5
|
+
resource: ['documents'],
|
|
6
|
+
operation: ['create'],
|
|
7
|
+
};
|
|
8
|
+
exports.documentsCreateDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Task ID',
|
|
11
|
+
name: 'taskId',
|
|
12
|
+
type: 'string',
|
|
13
|
+
displayOptions: { show: { resource: ['documents'], operation: ['getAll', 'create'] } },
|
|
14
|
+
default: '',
|
|
15
|
+
required: true,
|
|
16
|
+
description: 'ID of the task',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Binary Property Name',
|
|
20
|
+
name: 'binaryPropertyName',
|
|
21
|
+
type: 'string',
|
|
22
|
+
displayOptions: { show: showOnlyForDocumentsCreate },
|
|
23
|
+
default: 'data',
|
|
24
|
+
description: 'Name of the binary property that contains the file to upload (for example: data)',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
displayName: 'Document Object (JSON)',
|
|
28
|
+
name: 'documentObject',
|
|
29
|
+
type: 'json',
|
|
30
|
+
displayOptions: { show: showOnlyForDocumentsCreate },
|
|
31
|
+
default: '{}',
|
|
32
|
+
description: 'Optional metadata to send with upload, e.g. {"document": {"filename":"report.pdf"}}. Metadata will be injected into the multipart request via the create operation preSend.',
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../nodes/Runrunit/resources/documents/create.ts"],"names":[],"mappings":";;;AAEA,MAAM,0BAA0B,GAAG;IACjC,QAAQ,EAAE,CAAC,WAAW,CAAC;IACvB,SAAS,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC;AAEW,QAAA,0BAA0B,GAAsB;IAC3D;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,SAAS,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,EAAE;QACtF,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,gBAAgB;KAC9B;IACD;QACE,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;QACpD,OAAO,EAAE,MAAM;QACf,WAAW,EAAE,kFAAkF;KAChG;IACD;QACE,WAAW,EAAE,wBAAwB;QACrC,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,MAAM;QACZ,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;QACpD,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,6KAA6K;KAC3L;CACF,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.documentsDocumentIdDescription = void 0;
|
|
4
|
+
const showOnlyForDocumentWithId = {
|
|
5
|
+
resource: ['documents'],
|
|
6
|
+
operation: ['get', 'download', 'thumbnail', 'preview', 'mark_as_uploaded', 'delete'],
|
|
7
|
+
};
|
|
8
|
+
exports.documentsDocumentIdDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Document ID',
|
|
11
|
+
name: 'documentId',
|
|
12
|
+
type: 'string',
|
|
13
|
+
displayOptions: { show: showOnlyForDocumentWithId },
|
|
14
|
+
default: '',
|
|
15
|
+
required: true,
|
|
16
|
+
description: 'ID of the document',
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
//# sourceMappingURL=documentId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"documentId.js","sourceRoot":"","sources":["../../../../../nodes/Runrunit/resources/documents/documentId.ts"],"names":[],"mappings":";;;AAEA,MAAM,yBAAyB,GAAG;IAChC,QAAQ,EAAE,CAAC,WAAW,CAAC;IACvB,SAAS,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,kBAAkB,EAAE,QAAQ,CAAC;CACrF,CAAC;AAEW,QAAA,8BAA8B,GAAsB;IAC/D;QACE,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE;QACnD,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,oBAAoB;KAClC;CACF,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.documentsGetAllDescription = void 0;
|
|
4
|
+
const showOnlyForDocumentsGetAll = {
|
|
5
|
+
resource: ['documents'],
|
|
6
|
+
operation: ['getAll'],
|
|
7
|
+
};
|
|
8
|
+
exports.documentsGetAllDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Return All',
|
|
11
|
+
name: 'returnAll',
|
|
12
|
+
type: 'boolean',
|
|
13
|
+
displayOptions: { show: showOnlyForDocumentsGetAll },
|
|
14
|
+
default: false,
|
|
15
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
displayName: 'Limit',
|
|
19
|
+
name: 'limit',
|
|
20
|
+
type: 'number',
|
|
21
|
+
displayOptions: { show: { resource: ['documents'], operation: ['getAll'], returnAll: [false] } },
|
|
22
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
23
|
+
default: 50,
|
|
24
|
+
routing: { send: { type: 'query', property: 'limit' }, output: { maxResults: '={{$value}}' } },
|
|
25
|
+
description: 'Max number of results to return',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
displayName: 'Page',
|
|
29
|
+
name: 'page',
|
|
30
|
+
type: 'number',
|
|
31
|
+
displayOptions: { show: { resource: ['documents'], operation: ['getAll'], returnAll: [false] } },
|
|
32
|
+
default: 1,
|
|
33
|
+
description: 'Page number for pagination (1-based)',
|
|
34
|
+
routing: { send: { type: 'query', property: 'page' } },
|
|
35
|
+
},
|
|
36
|
+
];
|
|
37
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/Runrunit/resources/documents/getAll.ts"],"names":[],"mappings":";;;AAEA,MAAM,0BAA0B,GAAG;IACjC,QAAQ,EAAE,CAAC,WAAW,CAAC;IACvB,SAAS,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC;AAEW,QAAA,0BAA0B,GAAsB;IAC3D;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;QACpD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;KACzE;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;QAChG,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE;QAC3C,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,EAAE;QAC9F,WAAW,EAAE,iCAAiC;KAC/C;IACD;QACE,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;QAChG,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,sCAAsC;QACnD,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE;KACvD;CACF,CAAC"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.documentsDescription = void 0;
|
|
4
|
+
const getAll_1 = require("./getAll");
|
|
5
|
+
const create_1 = require("./create");
|
|
6
|
+
const documentId_1 = require("./documentId");
|
|
4
7
|
const showOnlyForDocuments = {
|
|
5
8
|
resource: ['documents'],
|
|
6
9
|
};
|
|
7
|
-
const showOnlyForDocumentWithId = {
|
|
8
|
-
resource: ['documents'],
|
|
9
|
-
operation: ['get', 'download', 'thumbnail', 'preview', 'mark_as_uploaded', 'delete'],
|
|
10
|
-
};
|
|
11
10
|
exports.documentsDescription = [
|
|
12
11
|
{
|
|
13
12
|
displayName: 'Operation',
|
|
@@ -121,67 +120,8 @@ exports.documentsDescription = [
|
|
|
121
120
|
],
|
|
122
121
|
default: 'getAll',
|
|
123
122
|
},
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
type: 'string',
|
|
128
|
-
displayOptions: { show: { resource: ['documents'], operation: ['getAll', 'create'] } },
|
|
129
|
-
default: '',
|
|
130
|
-
required: true,
|
|
131
|
-
description: 'ID of the task',
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
displayName: 'Document ID',
|
|
135
|
-
name: 'documentId',
|
|
136
|
-
type: 'string',
|
|
137
|
-
displayOptions: { show: showOnlyForDocumentWithId },
|
|
138
|
-
default: '',
|
|
139
|
-
required: true,
|
|
140
|
-
description: 'ID of the document',
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
displayName: 'Binary Property Name',
|
|
144
|
-
name: 'binaryPropertyName',
|
|
145
|
-
type: 'string',
|
|
146
|
-
displayOptions: { show: { resource: ['documents'], operation: ['create'] } },
|
|
147
|
-
default: 'data',
|
|
148
|
-
description: 'Name of the binary property that contains the file to upload (for example: data)',
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
displayName: 'Document Object (JSON)',
|
|
152
|
-
name: 'documentObject',
|
|
153
|
-
type: 'json',
|
|
154
|
-
displayOptions: { show: { resource: ['documents'], operation: ['create'] } },
|
|
155
|
-
default: '{}',
|
|
156
|
-
description: 'Optional metadata to send with upload, e.g. {"document": {"filename":"report.pdf"}}. Metadata will be injected into the multipart request via the create operation preSend.',
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
displayName: 'Limit',
|
|
160
|
-
name: 'limit',
|
|
161
|
-
type: 'number',
|
|
162
|
-
displayOptions: { show: { resource: ['documents'], operation: ['getAll'], returnAll: [false] } },
|
|
163
|
-
typeOptions: { minValue: 1, maxValue: 100 },
|
|
164
|
-
default: 50,
|
|
165
|
-
routing: { send: { type: 'query', property: 'limit' }, output: { maxResults: '={{$value}}' } },
|
|
166
|
-
description: 'Max number of results to return',
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
displayName: 'Page',
|
|
170
|
-
name: 'page',
|
|
171
|
-
type: 'number',
|
|
172
|
-
displayOptions: { show: { resource: ['documents'], operation: ['getAll'], returnAll: [false] } },
|
|
173
|
-
default: 1,
|
|
174
|
-
description: 'Page number for pagination (1-based)',
|
|
175
|
-
routing: { send: { type: 'query', property: 'page' } },
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
displayName: 'Return All',
|
|
179
|
-
name: 'returnAll',
|
|
180
|
-
type: 'boolean',
|
|
181
|
-
displayOptions: { show: { resource: ['documents'], operation: ['getAll'] } },
|
|
182
|
-
default: false,
|
|
183
|
-
description: 'Whether to return all results or only up to a given limit',
|
|
184
|
-
routing: { send: { paginate: '={{ $value }}' }, operations: { pagination: { type: 'offset', properties: { limitParameter: 'limit', offsetParameter: 'offset', pageSize: 100, type: 'query' } } } },
|
|
185
|
-
},
|
|
123
|
+
...getAll_1.documentsGetAllDescription,
|
|
124
|
+
...create_1.documentsCreateDescription,
|
|
125
|
+
...documentId_1.documentsDocumentIdDescription,
|
|
186
126
|
];
|
|
187
127
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Runrunit/resources/documents/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["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