@weslink/n8n-nodes-kibi-connect 0.1.2 → 1.0.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 +249 -18
- package/dist/nodes/KibiConnect/KibiConnect.node.d.ts +6 -0
- package/dist/nodes/KibiConnect/KibiConnect.node.js +89 -1
- package/dist/nodes/KibiConnect/KibiConnect.node.js.map +1 -1
- package/dist/nodes/KibiConnect/loadOptions/getAbsenceTypes.d.ts +2 -0
- package/dist/nodes/KibiConnect/loadOptions/getAbsenceTypes.js +13 -0
- package/dist/nodes/KibiConnect/loadOptions/getAbsenceTypes.js.map +1 -0
- package/dist/nodes/KibiConnect/loadOptions/getGroupTypes.d.ts +2 -0
- package/dist/nodes/KibiConnect/loadOptions/getGroupTypes.js +13 -0
- package/dist/nodes/KibiConnect/loadOptions/getGroupTypes.js.map +1 -0
- package/dist/nodes/KibiConnect/resources/callLink/index.d.ts +2 -0
- package/dist/nodes/KibiConnect/resources/callLink/index.js +279 -0
- package/dist/nodes/KibiConnect/resources/callLink/index.js.map +1 -0
- package/dist/nodes/KibiConnect/resources/document/index.d.ts +2 -0
- package/dist/nodes/KibiConnect/resources/document/index.js +238 -0
- package/dist/nodes/KibiConnect/resources/document/index.js.map +1 -0
- package/dist/nodes/KibiConnect/resources/file/index.d.ts +2 -0
- package/dist/nodes/KibiConnect/resources/file/index.js +616 -0
- package/dist/nodes/KibiConnect/resources/file/index.js.map +1 -0
- package/dist/nodes/KibiConnect/resources/file/shared.d.ts +3 -0
- package/dist/nodes/KibiConnect/resources/file/shared.js +87 -0
- package/dist/nodes/KibiConnect/resources/file/shared.js.map +1 -0
- package/dist/nodes/KibiConnect/resources/folder/index.d.ts +2 -0
- package/dist/nodes/KibiConnect/resources/folder/index.js +278 -0
- package/dist/nodes/KibiConnect/resources/folder/index.js.map +1 -0
- package/dist/nodes/KibiConnect/resources/group/index.d.ts +2 -0
- package/dist/nodes/KibiConnect/resources/group/index.js +227 -0
- package/dist/nodes/KibiConnect/resources/group/index.js.map +1 -0
- package/dist/nodes/KibiConnect/resources/media/index.d.ts +2 -0
- package/dist/nodes/KibiConnect/resources/media/index.js +56 -0
- package/dist/nodes/KibiConnect/resources/media/index.js.map +1 -0
- package/dist/nodes/KibiConnect/resources/search/index.d.ts +2 -0
- package/dist/nodes/KibiConnect/resources/search/index.js +65 -0
- package/dist/nodes/KibiConnect/resources/search/index.js.map +1 -0
- package/dist/nodes/KibiConnect/resources/shareLink/index.d.ts +2 -0
- package/dist/nodes/KibiConnect/resources/shareLink/index.js +228 -0
- package/dist/nodes/KibiConnect/resources/shareLink/index.js.map +1 -0
- package/dist/nodes/KibiConnect/resources/sharedWiki/index.d.ts +2 -0
- package/dist/nodes/KibiConnect/resources/sharedWiki/index.js +66 -0
- package/dist/nodes/KibiConnect/resources/sharedWiki/index.js.map +1 -0
- package/dist/nodes/KibiConnect/resources/survey/index.d.ts +2 -0
- package/dist/nodes/KibiConnect/resources/survey/index.js +49 -0
- package/dist/nodes/KibiConnect/resources/survey/index.js.map +1 -0
- package/dist/nodes/KibiConnect/resources/timeTracking/index.d.ts +2 -0
- package/dist/nodes/KibiConnect/resources/timeTracking/index.js +642 -0
- package/dist/nodes/KibiConnect/resources/timeTracking/index.js.map +1 -0
- package/dist/nodes/KibiConnect/shared/binary.d.ts +4 -0
- package/dist/nodes/KibiConnect/shared/binary.js +57 -0
- package/dist/nodes/KibiConnect/shared/binary.js.map +1 -0
- package/dist/nodes/KibiConnect/shared/descriptions.d.ts +3 -0
- package/dist/nodes/KibiConnect/shared/descriptions.js +17 -16
- package/dist/nodes/KibiConnect/shared/descriptions.js.map +1 -1
- package/dist/nodes/KibiConnect/shared/fields.js +3 -3
- package/dist/nodes/KibiConnect/shared/fields.js.map +1 -1
- package/dist/nodes/KibiConnect/shared/routing.d.ts +2 -0
- package/dist/nodes/KibiConnect/shared/routing.js +47 -0
- package/dist/nodes/KibiConnect/shared/routing.js.map +1 -0
- package/dist/nodes/KibiConnect/shared/transport.d.ts +8 -1
- package/dist/nodes/KibiConnect/shared/transport.js +72 -14
- package/dist/nodes/KibiConnect/shared/transport.js.map +1 -1
- package/dist/nodes/KibiConnectTrigger/KibiConnectTrigger.node.d.ts +18 -0
- package/dist/nodes/KibiConnectTrigger/KibiConnectTrigger.node.js +237 -0
- package/dist/nodes/KibiConnectTrigger/KibiConnectTrigger.node.js.map +1 -0
- package/dist/nodes/KibiConnectTrigger/KibiConnectTrigger.node.json +18 -0
- package/dist/nodes/KibiConnectTrigger/filter.d.ts +8 -0
- package/dist/nodes/KibiConnectTrigger/filter.js +15 -0
- package/dist/nodes/KibiConnectTrigger/filter.js.map +1 -0
- package/dist/nodes/KibiConnectTrigger/loadOptions/getWebhookEvents.d.ts +4 -0
- package/dist/nodes/KibiConnectTrigger/loadOptions/getWebhookEvents.js +42 -0
- package/dist/nodes/KibiConnectTrigger/loadOptions/getWebhookEvents.js.map +1 -0
- package/dist/nodes/KibiConnectTrigger/registration.d.ts +4 -0
- package/dist/nodes/KibiConnectTrigger/registration.js +31 -0
- package/dist/nodes/KibiConnectTrigger/registration.js.map +1 -0
- package/dist/nodes/KibiConnectTrigger/verify.d.ts +1 -0
- package/dist/nodes/KibiConnectTrigger/verify.js +27 -0
- package/dist/nodes/KibiConnectTrigger/verify.js.map +1 -0
- package/dist/package.json +6 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -4
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.contextFields = contextFields;
|
|
4
|
+
exports.itemListFilters = itemListFilters;
|
|
5
|
+
function contextFields(resource, operations) {
|
|
6
|
+
const show = { resource: [resource], operation: operations };
|
|
7
|
+
return [
|
|
8
|
+
{
|
|
9
|
+
displayName: 'Context Type',
|
|
10
|
+
name: 'contextType',
|
|
11
|
+
type: 'options',
|
|
12
|
+
default: '',
|
|
13
|
+
description: 'The embedded mount this belongs to, if any. With a group context, members with access to the target folder are notified about new uploads.',
|
|
14
|
+
options: [
|
|
15
|
+
{ name: 'Company', value: 'company' },
|
|
16
|
+
{ name: 'Contact', value: 'contact' },
|
|
17
|
+
{ name: 'Group', value: 'group' },
|
|
18
|
+
{ name: 'None', value: '' },
|
|
19
|
+
{ name: 'Wiki Page', value: 'wiki' },
|
|
20
|
+
],
|
|
21
|
+
displayOptions: { show },
|
|
22
|
+
routing: { request: { body: { context_type: '={{ $value || undefined }}' } } },
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
displayName: 'Context ID',
|
|
26
|
+
name: 'contextId',
|
|
27
|
+
type: 'number',
|
|
28
|
+
required: true,
|
|
29
|
+
default: 0,
|
|
30
|
+
description: 'The numeric ID of the group, wiki page, contact or company. Unknown IDs answer 404.',
|
|
31
|
+
displayOptions: { show, hide: { contextType: [''] } },
|
|
32
|
+
routing: { request: { body: { context_id: '={{ $value }}' } } },
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
}
|
|
36
|
+
function itemListFilters(resource, operations) {
|
|
37
|
+
const show = { resource: [resource], operation: operations };
|
|
38
|
+
return [
|
|
39
|
+
{
|
|
40
|
+
displayName: 'Sort By',
|
|
41
|
+
name: 'sort',
|
|
42
|
+
type: 'options',
|
|
43
|
+
default: 'created_at',
|
|
44
|
+
description: 'The field the listing is ordered by',
|
|
45
|
+
options: [
|
|
46
|
+
{ name: 'Created At', value: 'created_at' },
|
|
47
|
+
{ name: 'Name', value: 'name' },
|
|
48
|
+
{ name: 'Size', value: 'size' },
|
|
49
|
+
],
|
|
50
|
+
displayOptions: { show },
|
|
51
|
+
routing: { request: { qs: { sort: '={{ $value }}' } } },
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
displayName: 'Direction',
|
|
55
|
+
name: 'dir',
|
|
56
|
+
type: 'options',
|
|
57
|
+
default: '',
|
|
58
|
+
description: 'Ascending or descending. The default is descending for Created At and ascending otherwise.',
|
|
59
|
+
options: [
|
|
60
|
+
{ name: 'Ascending', value: 'asc' },
|
|
61
|
+
{ name: 'Default', value: '' },
|
|
62
|
+
{ name: 'Descending', value: 'desc' },
|
|
63
|
+
],
|
|
64
|
+
displayOptions: { show },
|
|
65
|
+
routing: { request: { qs: { dir: '={{ $value || undefined }}' } } },
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
displayName: 'Filter by Category',
|
|
69
|
+
name: 'category',
|
|
70
|
+
type: 'options',
|
|
71
|
+
default: '',
|
|
72
|
+
description: 'Return only files of one type group',
|
|
73
|
+
options: [
|
|
74
|
+
{ name: 'Any', value: '' },
|
|
75
|
+
{ name: 'Archives', value: 'archives' },
|
|
76
|
+
{ name: 'Audio', value: 'audio' },
|
|
77
|
+
{ name: 'Documents', value: 'documents' },
|
|
78
|
+
{ name: 'PDFs', value: 'pdfs' },
|
|
79
|
+
{ name: 'Photos', value: 'photos' },
|
|
80
|
+
{ name: 'Videos', value: 'videos' },
|
|
81
|
+
],
|
|
82
|
+
displayOptions: { show },
|
|
83
|
+
routing: { request: { qs: { category: '={{ $value || undefined }}' } } },
|
|
84
|
+
},
|
|
85
|
+
];
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=shared.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../nodes/KibiConnect/resources/file/shared.ts"],"names":[],"mappings":";;AAUA,sCAiCC;AAGD,0CAoDC;AAxFD,SAAgB,aAAa,CAAC,QAAgB,EAAE,UAAoB;IACnE,MAAM,IAAI,GAAG,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;IAE7D,OAAO;QACN;YACC,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,EAAE;YACX,WAAW,EACV,4IAA4I;YAC7I,OAAO,EAAE;gBACR,EAAE,I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,KAAK,EAAE,QAAQ,EAAE;aACnC;YACD,cAAc,EAAE,EAAE,IAAI,EAAE;YACxB,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,4BAA4B,EAAE,EAAE,EAAE;SACxE;KACD,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.folderDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const fields_1 = require("../../shared/fields");
|
|
6
|
+
const shared_1 = require("../file/shared");
|
|
7
|
+
const R = 'folder';
|
|
8
|
+
const show = { resource: [R] };
|
|
9
|
+
exports.folderDescription = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Operation',
|
|
12
|
+
name: 'operation',
|
|
13
|
+
type: 'options',
|
|
14
|
+
noDataExpression: true,
|
|
15
|
+
displayOptions: { show },
|
|
16
|
+
options: [
|
|
17
|
+
{
|
|
18
|
+
name: 'Create',
|
|
19
|
+
value: 'create',
|
|
20
|
+
action: 'Create a folder',
|
|
21
|
+
description: 'Add a folder at the library root or inside another folder',
|
|
22
|
+
routing: {
|
|
23
|
+
request: { method: 'POST', url: '/files/folders', baseURL: descriptions_1.FILES_BASE_URL },
|
|
24
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: 'Create Share Link',
|
|
29
|
+
value: 'createShareLink',
|
|
30
|
+
action: 'Create a share link for a folder',
|
|
31
|
+
description: 'Mint a public link for the folder — read-only, or an upload drop for anonymous visitors',
|
|
32
|
+
routing: {
|
|
33
|
+
request: {
|
|
34
|
+
method: 'POST',
|
|
35
|
+
url: '=/files/folders/{{$parameter.folderId}}/share-links',
|
|
36
|
+
baseURL: descriptions_1.FILES_BASE_URL,
|
|
37
|
+
},
|
|
38
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'Delete',
|
|
43
|
+
value: 'delete',
|
|
44
|
+
action: 'Delete a folder',
|
|
45
|
+
description: 'Delete the folder including everything in it. The files inside are destroyed for good: they show up in the trash, but their binaries are gone and cannot be restored.',
|
|
46
|
+
routing: {
|
|
47
|
+
request: {
|
|
48
|
+
method: 'DELETE',
|
|
49
|
+
url: '=/files/folders/{{$parameter.folderId}}',
|
|
50
|
+
baseURL: descriptions_1.FILES_BASE_URL,
|
|
51
|
+
},
|
|
52
|
+
output: {
|
|
53
|
+
postReceive: [{ type: 'set', properties: { value: '={{ { "deleted": true } }}' } }],
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'Get',
|
|
59
|
+
value: 'get',
|
|
60
|
+
action: 'Get a folder',
|
|
61
|
+
description: 'Read one folder with its breadcrumb and direct subfolders',
|
|
62
|
+
routing: {
|
|
63
|
+
request: {
|
|
64
|
+
method: 'GET',
|
|
65
|
+
url: '=/files/folders/{{$parameter.folderId}}',
|
|
66
|
+
baseURL: descriptions_1.FILES_BASE_URL,
|
|
67
|
+
},
|
|
68
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'Get Items',
|
|
73
|
+
value: 'getItems',
|
|
74
|
+
action: 'Get the files in a folder',
|
|
75
|
+
description: 'List the files directly inside one folder',
|
|
76
|
+
routing: {
|
|
77
|
+
request: {
|
|
78
|
+
method: 'GET',
|
|
79
|
+
url: '=/files/folders/{{$parameter.folderId}}/items',
|
|
80
|
+
baseURL: descriptions_1.FILES_BASE_URL,
|
|
81
|
+
},
|
|
82
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: 'Get Root',
|
|
87
|
+
value: 'getRoot',
|
|
88
|
+
action: 'Get the library root',
|
|
89
|
+
description: 'Read the virtual root of the file manager: its top-level folders and what the token owner may do there',
|
|
90
|
+
routing: {
|
|
91
|
+
request: { method: 'GET', url: '/files/root', baseURL: descriptions_1.FILES_BASE_URL },
|
|
92
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: 'Get Share Links',
|
|
97
|
+
value: 'getShareLinks',
|
|
98
|
+
action: 'Get the share links of a folder',
|
|
99
|
+
description: 'List every share link of the folder — active, expired and revoked',
|
|
100
|
+
routing: {
|
|
101
|
+
request: {
|
|
102
|
+
method: 'GET',
|
|
103
|
+
url: '=/files/folders/{{$parameter.folderId}}/share-links',
|
|
104
|
+
baseURL: descriptions_1.FILES_BASE_URL,
|
|
105
|
+
},
|
|
106
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: 'Get Tree',
|
|
111
|
+
value: 'getTree',
|
|
112
|
+
action: 'Get the folder tree',
|
|
113
|
+
description: 'Read the whole accessible folder tree in one go, nested. Folders whose parent the token owner cannot see appear as additional roots.',
|
|
114
|
+
routing: {
|
|
115
|
+
request: { method: 'GET', url: '/files/folders', baseURL: descriptions_1.FILES_BASE_URL },
|
|
116
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
name: 'Star',
|
|
121
|
+
value: 'star',
|
|
122
|
+
action: 'Star a folder',
|
|
123
|
+
description: 'Mark the folder as a favorite of the token owner. Idempotent.',
|
|
124
|
+
routing: {
|
|
125
|
+
request: {
|
|
126
|
+
method: 'PUT',
|
|
127
|
+
url: '=/files/folders/{{$parameter.folderId}}/favorite',
|
|
128
|
+
baseURL: descriptions_1.FILES_BASE_URL,
|
|
129
|
+
},
|
|
130
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
name: 'Unstar',
|
|
135
|
+
value: 'unstar',
|
|
136
|
+
action: 'Unstar a folder',
|
|
137
|
+
description: 'Remove the folder from the favorites of the token owner. Idempotent.',
|
|
138
|
+
routing: {
|
|
139
|
+
request: {
|
|
140
|
+
method: 'DELETE',
|
|
141
|
+
url: '=/files/folders/{{$parameter.folderId}}/favorite',
|
|
142
|
+
baseURL: descriptions_1.FILES_BASE_URL,
|
|
143
|
+
},
|
|
144
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name: 'Update',
|
|
149
|
+
value: 'update',
|
|
150
|
+
action: 'Update a folder',
|
|
151
|
+
description: 'Rename the folder and/or move it under another parent',
|
|
152
|
+
routing: {
|
|
153
|
+
request: {
|
|
154
|
+
method: 'PATCH',
|
|
155
|
+
url: '=/files/folders/{{$parameter.folderId}}',
|
|
156
|
+
baseURL: descriptions_1.FILES_BASE_URL,
|
|
157
|
+
},
|
|
158
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
default: 'getItems',
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
displayName: 'Folder operations need an API token with the files:read scope; Create, Update, Delete, Create Share Link, Star and Unstar need files:write as well.',
|
|
166
|
+
name: 'scopeNotice',
|
|
167
|
+
type: 'notice',
|
|
168
|
+
default: '',
|
|
169
|
+
displayOptions: { show: { ...show, operation: ['getTree', 'getRoot', 'create'] } },
|
|
170
|
+
},
|
|
171
|
+
(0, fields_1.ulidField)('Folder ID', 'folderId', R, ['get', 'getItems', 'update', 'delete', 'getShareLinks', 'createShareLink', 'star', 'unstar'], 'The folder to act on. Get Tree and Get Root list the IDs.'),
|
|
172
|
+
{
|
|
173
|
+
displayName: 'Name',
|
|
174
|
+
name: 'name',
|
|
175
|
+
type: 'string',
|
|
176
|
+
required: true,
|
|
177
|
+
default: '',
|
|
178
|
+
placeholder: 'Contracts 2026',
|
|
179
|
+
description: 'The folder name, up to 255 characters',
|
|
180
|
+
displayOptions: { show: { ...show, operation: ['create'] } },
|
|
181
|
+
routing: { request: { body: { name: '={{ $value }}' } } },
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
displayName: 'Parent Folder ID',
|
|
185
|
+
name: 'parentFolderId',
|
|
186
|
+
type: 'string',
|
|
187
|
+
default: '',
|
|
188
|
+
placeholder: '01J8ZP9K7QW3X2YB5M4N6R8TVC',
|
|
189
|
+
description: 'Where to create the folder. Leave empty for the library root.',
|
|
190
|
+
displayOptions: { show: { ...show, operation: ['create'] } },
|
|
191
|
+
routing: { request: { body: { parent_ulid: '={{ $value || undefined }}' } } },
|
|
192
|
+
},
|
|
193
|
+
...(0, shared_1.contextFields)(R, ['create']),
|
|
194
|
+
{
|
|
195
|
+
displayName: 'Update Fields',
|
|
196
|
+
name: 'updateFields',
|
|
197
|
+
type: 'collection',
|
|
198
|
+
placeholder: 'Add Field',
|
|
199
|
+
default: {},
|
|
200
|
+
description: 'Only the fields you add are changed',
|
|
201
|
+
displayOptions: { show: { ...show, operation: ['update'] } },
|
|
202
|
+
options: [
|
|
203
|
+
{
|
|
204
|
+
displayName: 'Name',
|
|
205
|
+
name: 'name',
|
|
206
|
+
type: 'string',
|
|
207
|
+
default: '',
|
|
208
|
+
description: 'The new folder name, up to 255 characters',
|
|
209
|
+
routing: { request: { body: { name: '={{ $value }}' } } },
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
displayName: 'Parent Folder ID',
|
|
213
|
+
name: 'parentFolderId',
|
|
214
|
+
type: 'string',
|
|
215
|
+
default: '',
|
|
216
|
+
placeholder: '01J8ZP9K7QW3X2YB5M4N6R8TVC',
|
|
217
|
+
description: 'Move the folder under this parent. Leave empty to move it to the library root. Moving a folder into itself or one of its descendants is refused.',
|
|
218
|
+
routing: { request: { body: { parent_ulid: '={{ $value || null }}' } } },
|
|
219
|
+
},
|
|
220
|
+
],
|
|
221
|
+
},
|
|
222
|
+
...(0, shared_1.itemListFilters)(R, ['getItems']),
|
|
223
|
+
{
|
|
224
|
+
displayName: 'Link Type',
|
|
225
|
+
name: 'shareLinkType',
|
|
226
|
+
type: 'options',
|
|
227
|
+
default: 'share',
|
|
228
|
+
description: 'What visitors of the link may do',
|
|
229
|
+
options: [
|
|
230
|
+
{
|
|
231
|
+
name: 'Share',
|
|
232
|
+
value: 'share',
|
|
233
|
+
description: 'A read-only view of the folder with downloads',
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
name: 'Upload',
|
|
237
|
+
value: 'upload',
|
|
238
|
+
description: 'An anonymous drop box: visitors can upload into the folder but see nothing',
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
displayOptions: { show: { ...show, operation: ['createShareLink'] } },
|
|
242
|
+
routing: { request: { body: { type: '={{ $value }}' } } },
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
displayName: 'Expires At',
|
|
246
|
+
name: 'expiresAt',
|
|
247
|
+
type: 'dateTime',
|
|
248
|
+
default: '',
|
|
249
|
+
description: 'When the link stops working. Must lie in the future. Leave empty for a link without expiry.',
|
|
250
|
+
displayOptions: { show: { ...show, operation: ['createShareLink'] } },
|
|
251
|
+
routing: {
|
|
252
|
+
request: {
|
|
253
|
+
body: { expires_at: '={{ $value ? new Date($value).toISOString() : null }}' },
|
|
254
|
+
},
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
displayName: 'Password',
|
|
259
|
+
name: 'password',
|
|
260
|
+
type: 'string',
|
|
261
|
+
typeOptions: { password: true },
|
|
262
|
+
default: '',
|
|
263
|
+
description: 'Protect the link with a password of at least 6 characters. Leave empty for no password. The password never comes back from the API — only whether one is set.',
|
|
264
|
+
displayOptions: { show: { ...show, operation: ['createShareLink'] } },
|
|
265
|
+
routing: { request: { body: { password: '={{ $value || null }}' } } },
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
displayName: 'Notify on Upload',
|
|
269
|
+
name: 'notify',
|
|
270
|
+
type: 'boolean',
|
|
271
|
+
default: false,
|
|
272
|
+
description: 'Whether to notify the link creator whenever a visitor uploads through the link. Only meaningful for upload links.',
|
|
273
|
+
displayOptions: { show: { ...show, operation: ['createShareLink'] } },
|
|
274
|
+
routing: { request: { body: { notify: '={{ $value }}' } } },
|
|
275
|
+
},
|
|
276
|
+
...(0, descriptions_1.filesReturnAll)(R, 'getItems'),
|
|
277
|
+
];
|
|
278
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/KibiConnect/resources/folder/index.ts"],"names":[],"mappings":";;;AAEA,4DAAuF;AACvF,gDAAgD;AAChD,2CAAgE;AAEhE,MAAM,CAAC,GAAG,QAAQ,CAAC;AACnB,MAAM,IAAI,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;AASlB,QAAA,iBAAiB,GAAsB;IACnD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE;QACxB,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,iBAAiB;gBACzB,WAAW,EAAE,2DAA2D;gBACxE,OAAO,EAAE;oBACR,OAAO,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,6BAAc,EAAE;oBAC3E,MAAM,EAAE,EAAE,WAAW,EAAE,yBAAU,EAAE;iBACnC;aACD;YACD;gBACC,IAAI,EAAE,mBAAmB;gBACzB,KAAK,EAAE,iBAAiB;gBACxB,MAAM,EAAE,kCAAkC;gBAC1C,WAAW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AAE,CAAC,iBAAiB,CAAC,EAAE,EAAE;QACrE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,uBAAuB,EAAE,EAAE,EAAE;KACrE;IACD;QACC,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,WAAW,EACV,mHAAmH;QACpH,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE;QACrE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,EAAE,EAAE;KAC3D;IAED,GAAG,IAAA,6BAAc,EAAC,CAAC,EAAE,UAAU,CAAC;CAChC,CAAC"}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.groupDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../../shared/descriptions");
|
|
5
|
+
const fields_1 = require("../../shared/fields");
|
|
6
|
+
const R = 'group';
|
|
7
|
+
const show = { resource: [R] };
|
|
8
|
+
exports.groupDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Operation',
|
|
11
|
+
name: 'operation',
|
|
12
|
+
type: 'options',
|
|
13
|
+
noDataExpression: true,
|
|
14
|
+
displayOptions: { show },
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: 'Create',
|
|
18
|
+
value: 'create',
|
|
19
|
+
action: 'Create a group',
|
|
20
|
+
description: 'Create a group and optionally map it to your external ID. A sync can create groups and link them, but never rename, re-type, archive or change the membership of one — those decide who sees what and stay in Kibi. Calling this twice creates two groups.',
|
|
21
|
+
routing: {
|
|
22
|
+
request: { method: 'POST', url: '/groups' },
|
|
23
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'Delete External Ref',
|
|
28
|
+
value: 'deleteExternalRef',
|
|
29
|
+
action: 'Unlink a group from its external ID',
|
|
30
|
+
description: 'Release the external ID without touching the group itself',
|
|
31
|
+
routing: {
|
|
32
|
+
request: { method: 'DELETE', url: '=/groups/{{$parameter.groupId}}/external-ref' },
|
|
33
|
+
output: { postReceive: descriptions_1.emptySuccess },
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'Get',
|
|
38
|
+
value: 'get',
|
|
39
|
+
action: 'Get a group',
|
|
40
|
+
description: 'Read one group with its member count',
|
|
41
|
+
routing: {
|
|
42
|
+
request: { method: 'GET', url: '=/groups/{{$parameter.groupId}}' },
|
|
43
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Get Files',
|
|
48
|
+
value: 'getFiles',
|
|
49
|
+
action: 'Get many files of a group',
|
|
50
|
+
description: 'Read the files of the group file area — the root and every folder below it, newest first',
|
|
51
|
+
routing: {
|
|
52
|
+
request: { method: 'GET', url: '=/groups/{{$parameter.groupId}}/files' },
|
|
53
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'Get Folders',
|
|
58
|
+
value: 'getFolders',
|
|
59
|
+
action: 'Get many folders of a group',
|
|
60
|
+
description: 'Read every folder of the group file area as a flat list, parents before their children',
|
|
61
|
+
routing: {
|
|
62
|
+
request: { method: 'GET', url: '=/groups/{{$parameter.groupId}}/folders' },
|
|
63
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'Get Many',
|
|
68
|
+
value: 'getAll',
|
|
69
|
+
action: 'Get many groups',
|
|
70
|
+
description: 'Read the groups visible to the token owner',
|
|
71
|
+
routing: {
|
|
72
|
+
request: { method: 'GET', url: '/groups' },
|
|
73
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: 'Get Members',
|
|
78
|
+
value: 'getMembers',
|
|
79
|
+
action: 'Get many members of a group',
|
|
80
|
+
description: 'Read the members of a group, including their role within it',
|
|
81
|
+
routing: {
|
|
82
|
+
request: { method: 'GET', url: '=/groups/{{$parameter.groupId}}/members' },
|
|
83
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: 'Get Posts',
|
|
88
|
+
value: 'getPosts',
|
|
89
|
+
action: 'Get many posts of a group',
|
|
90
|
+
description: 'Read the published posts of a group',
|
|
91
|
+
routing: {
|
|
92
|
+
request: { method: 'GET', url: '=/groups/{{$parameter.groupId}}/posts' },
|
|
93
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: 'Get Types',
|
|
98
|
+
value: 'getTypes',
|
|
99
|
+
action: 'Get many group types',
|
|
100
|
+
description: 'Read the group types this tenant accepts — the slug to send and the label a person sees',
|
|
101
|
+
routing: {
|
|
102
|
+
request: { method: 'GET', url: '/groups/types' },
|
|
103
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: 'Set External Ref',
|
|
108
|
+
value: 'setExternalRef',
|
|
109
|
+
action: 'Link a group to an external ID',
|
|
110
|
+
description: 'Record that your integration knows this group under an external ID. Writes the mapping and nothing else.',
|
|
111
|
+
routing: {
|
|
112
|
+
request: { method: 'PUT', url: '=/groups/{{$parameter.groupId}}/external-ref' },
|
|
113
|
+
output: { postReceive: descriptions_1.unwrapData },
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
default: 'getAll',
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
displayName: 'Groups can be created and mapped through the API, but not changed: renaming, re-typing, archiving and membership decide who sees what and stay in Kibi. Anything that runs repeatedly should look the group up by its external ID first — Create has no memory and makes a second group on the second run.',
|
|
121
|
+
name: 'readOnlyNotice',
|
|
122
|
+
type: 'notice',
|
|
123
|
+
default: '',
|
|
124
|
+
displayOptions: { show: { ...show, operation: ['create'] } },
|
|
125
|
+
},
|
|
126
|
+
(0, fields_1.ulidField)('Group ID', 'groupId', R, ['get', 'getPosts', 'getMembers', 'getFiles', 'getFolders', 'setExternalRef', 'deleteExternalRef'], 'The group to act on.'),
|
|
127
|
+
(0, fields_1.externalIdField)(R, ['setExternalRef']),
|
|
128
|
+
{
|
|
129
|
+
displayName: 'Name',
|
|
130
|
+
name: 'name',
|
|
131
|
+
type: 'string',
|
|
132
|
+
required: true,
|
|
133
|
+
default: '',
|
|
134
|
+
placeholder: 'Neubau Halle 4',
|
|
135
|
+
description: 'The name of the group',
|
|
136
|
+
displayOptions: { show: { ...show, operation: ['create'] } },
|
|
137
|
+
routing: { request: { body: { name: '={{ $value }}' } } },
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
displayName: 'Group Type Name or ID',
|
|
141
|
+
name: 'typeSlug',
|
|
142
|
+
type: 'options',
|
|
143
|
+
typeOptions: { loadOptionsMethod: 'getGroupTypes' },
|
|
144
|
+
default: '',
|
|
145
|
+
description: 'The type of group, as the slug Kibi expects. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
|
146
|
+
hint: 'Leave empty for the tenant default. Tenant-defined types appear here too — they are not guessable.',
|
|
147
|
+
displayOptions: { show: { ...show, operation: ['create'] } },
|
|
148
|
+
routing: { request: { body: { type_slug: '={{ $value || undefined }}' } } },
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
displayName: 'Description',
|
|
152
|
+
name: 'description',
|
|
153
|
+
type: 'string',
|
|
154
|
+
typeOptions: { rows: 3 },
|
|
155
|
+
default: '',
|
|
156
|
+
description: 'What the group is for. Plain text.',
|
|
157
|
+
displayOptions: { show: { ...show, operation: ['create'] } },
|
|
158
|
+
routing: { request: { body: { description: '={{ $value || undefined }}' } } },
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
displayName: 'Visibility',
|
|
162
|
+
name: 'visibility',
|
|
163
|
+
type: 'options',
|
|
164
|
+
default: 'all',
|
|
165
|
+
description: 'Who finds the group. All means everyone who may see groups; Members hides it from everyone but its members.',
|
|
166
|
+
options: [
|
|
167
|
+
{ name: 'All', value: 'all', description: 'Everyone who may see groups finds this one' },
|
|
168
|
+
{ name: 'Members', value: 'members', description: 'Hidden from everyone but its members' },
|
|
169
|
+
],
|
|
170
|
+
displayOptions: { show: { ...show, operation: ['create'] } },
|
|
171
|
+
routing: { request: { body: { visibility: '={{ $value }}' } } },
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
displayName: 'External ID',
|
|
175
|
+
name: 'createExternalId',
|
|
176
|
+
type: 'string',
|
|
177
|
+
default: '',
|
|
178
|
+
placeholder: 'P-2026-0815',
|
|
179
|
+
description: 'Your own stable identifier for this group in the source system — an ERP project number, a cost centre. Optional: without it the group is only addressable by the Kibi ID returned here.',
|
|
180
|
+
hint: 'Unique per integration across the whole tenant and across resource types. Reusing an ID that belongs to another record answers 409.',
|
|
181
|
+
displayOptions: { show: { ...show, operation: ['create'] } },
|
|
182
|
+
routing: { request: { body: { external_id: '={{ $value || undefined }}' } } },
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
displayName: 'Search',
|
|
186
|
+
name: 'search',
|
|
187
|
+
type: 'string',
|
|
188
|
+
default: '',
|
|
189
|
+
description: 'Filter by name, case-insensitively',
|
|
190
|
+
displayOptions: { show: { ...show, operation: ['getAll', 'getPosts', 'getMembers'] } },
|
|
191
|
+
routing: { request: { qs: { search: '={{ $value || undefined }}' } } },
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
displayName: 'Filter by External ID',
|
|
195
|
+
name: 'filterExternalId',
|
|
196
|
+
type: 'string',
|
|
197
|
+
default: '',
|
|
198
|
+
description: 'Return only the group mapped to this external ID. The answer stays a list holding one entry or none — an unknown ID is an empty list, not an error.',
|
|
199
|
+
displayOptions: { show: { ...show, operation: ['getAll'] } },
|
|
200
|
+
routing: { request: { qs: { external_id: '={{ $value || undefined }}' } } },
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
displayName: 'Folder ID',
|
|
204
|
+
name: 'folderId',
|
|
205
|
+
type: 'string',
|
|
206
|
+
default: '',
|
|
207
|
+
placeholder: '01J8ZP9K7QW3X2YB5M4N6R8TVC',
|
|
208
|
+
description: 'List this folder instead of the whole file area. Take the ID from Get Folders. Leave empty for the group root.',
|
|
209
|
+
displayOptions: { show: { ...show, operation: ['getFiles'] } },
|
|
210
|
+
routing: { request: { qs: { folder: '={{ $value || undefined }}' } } },
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
displayName: 'Include Subfolders',
|
|
214
|
+
name: 'recursive',
|
|
215
|
+
type: 'boolean',
|
|
216
|
+
default: true,
|
|
217
|
+
description: 'Whether to include the files of subfolders. Without a Folder ID, turning this off lists only the files lying directly in the group root.',
|
|
218
|
+
displayOptions: { show: { ...show, operation: ['getFiles'] } },
|
|
219
|
+
routing: { request: { qs: { recursive: '={{ $value ? "1" : "0" }}' } } },
|
|
220
|
+
},
|
|
221
|
+
...(0, fields_1.changeScanFields)(R, 'getAll'),
|
|
222
|
+
...(0, descriptions_1.returnAll)(R, 'getAll'),
|
|
223
|
+
...(0, descriptions_1.returnAll)(R, 'getPosts'),
|
|
224
|
+
...(0, descriptions_1.returnAll)(R, 'getMembers'),
|
|
225
|
+
...(0, descriptions_1.returnAll)(R, 'getFiles'),
|
|
226
|
+
];
|
|
227
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js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