n8n-nodes-base 0.212.0 → 0.212.1
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/credentials/Aws.credentials.d.ts +1 -1
- package/dist/credentials/SlackOAuth2Api.credentials.js +6 -0
- package/dist/credentials/SlackOAuth2Api.credentials.js.map +1 -1
- package/dist/known/credentials.json +4 -2
- package/dist/nodes/BambooHr/v1/actions/Interfaces.d.ts +10 -10
- package/dist/nodes/Bitwarden/descriptions/CollectionDescription.d.ts +1 -1
- package/dist/nodes/Bitwarden/descriptions/GroupDescription.d.ts +3 -3
- package/dist/nodes/Bitwarden/descriptions/MemberDescription.d.ts +3 -3
- package/dist/nodes/Code/utils.d.ts +1 -1
- package/dist/nodes/CompareDatasets/GenericFunctions.d.ts +1 -1
- package/dist/nodes/ERPNext/utils.d.ts +2 -2
- package/dist/nodes/Google/Analytics/v2/actions/node.type.d.ts +5 -5
- package/dist/nodes/Google/Sheet/v1/GoogleSheet.d.ts +2 -2
- package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheets.types.d.ts +14 -14
- package/dist/nodes/Html/types.d.ts +1 -1
- package/dist/nodes/HttpRequest/GenericFunctions.d.ts +1 -1
- package/dist/nodes/Jenkins/Jenkins.node.d.ts +1 -1
- package/dist/nodes/Mattermost/v1/actions/Interfaces.d.ts +10 -10
- package/dist/nodes/Merge/v2/GenericFunctions.d.ts +9 -9
- package/dist/nodes/MongoDb/mongoDb.types.d.ts +2 -2
- package/dist/nodes/Notion/GenericFunctions.d.ts +1 -1
- package/dist/nodes/Odoo/GenericFunctions.d.ts +1 -1
- package/dist/nodes/SeaTable/Interfaces.d.ts +1 -1
- package/dist/nodes/SeaTable/Schema.d.ts +1 -1
- package/dist/nodes/SendGrid/MailDescription.d.ts +2 -2
- package/dist/nodes/Slack/Slack.node.d.ts +3 -12
- package/dist/nodes/Slack/Slack.node.js +9 -997
- package/dist/nodes/Slack/Slack.node.js.map +1 -1
- package/dist/nodes/Slack/{ChannelDescription.d.ts → V1/ChannelDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{ChannelDescription.js → V1/ChannelDescription.js} +0 -0
- package/dist/nodes/Slack/V1/ChannelDescription.js.map +1 -0
- package/dist/nodes/Slack/{FileDescription.d.ts → V1/FileDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{FileDescription.js → V1/FileDescription.js} +0 -0
- package/dist/nodes/Slack/V1/FileDescription.js.map +1 -0
- package/dist/nodes/Slack/{GenericFunctions.d.ts → V1/GenericFunctions.d.ts} +0 -0
- package/dist/nodes/Slack/{GenericFunctions.js → V1/GenericFunctions.js} +0 -0
- package/dist/nodes/Slack/V1/GenericFunctions.js.map +1 -0
- package/dist/nodes/Slack/{MessageDescription.d.ts → V1/MessageDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{MessageDescription.js → V1/MessageDescription.js} +0 -0
- package/dist/nodes/Slack/V1/MessageDescription.js.map +1 -0
- package/dist/nodes/Slack/{MessageInterface.d.ts → V1/MessageInterface.d.ts} +0 -0
- package/dist/nodes/Slack/{MessageInterface.js → V1/MessageInterface.js} +0 -0
- package/dist/nodes/Slack/V1/MessageInterface.js.map +1 -0
- package/dist/nodes/Slack/{ReactionDescription.d.ts → V1/ReactionDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{ReactionDescription.js → V1/ReactionDescription.js} +0 -0
- package/dist/nodes/Slack/V1/ReactionDescription.js.map +1 -0
- package/dist/nodes/Slack/V1/SlackV1.node.d.ts +14 -0
- package/dist/nodes/Slack/V1/SlackV1.node.js +1012 -0
- package/dist/nodes/Slack/V1/SlackV1.node.js.map +1 -0
- package/dist/nodes/Slack/{StarDescription.d.ts → V1/StarDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{StarDescription.js → V1/StarDescription.js} +0 -0
- package/dist/nodes/Slack/V1/StarDescription.js.map +1 -0
- package/dist/nodes/Slack/{UserDescription.d.ts → V1/UserDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{UserDescription.js → V1/UserDescription.js} +0 -0
- package/dist/nodes/Slack/V1/UserDescription.js.map +1 -0
- package/dist/nodes/Slack/{UserGroupDescription.d.ts → V1/UserGroupDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{UserGroupDescription.js → V1/UserGroupDescription.js} +0 -0
- package/dist/nodes/Slack/V1/UserGroupDescription.js.map +1 -0
- package/dist/nodes/Slack/{UserProfileDescription.d.ts → V1/UserProfileDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{UserProfileDescription.js → V1/UserProfileDescription.js} +0 -0
- package/dist/nodes/Slack/V1/UserProfileDescription.js.map +1 -0
- package/dist/nodes/Slack/V2/ChannelDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/ChannelDescription.js +1420 -0
- package/dist/nodes/Slack/V2/ChannelDescription.js.map +1 -0
- package/dist/nodes/Slack/V2/FileDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/FileDescription.js +270 -0
- package/dist/nodes/Slack/V2/FileDescription.js.map +1 -0
- package/dist/nodes/Slack/V2/GenericFunctions.d.ts +5 -0
- package/dist/nodes/Slack/V2/GenericFunctions.js +95 -0
- package/dist/nodes/Slack/V2/GenericFunctions.js.map +1 -0
- package/dist/nodes/Slack/V2/MessageDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/MessageDescription.js +1109 -0
- package/dist/nodes/Slack/V2/MessageDescription.js.map +1 -0
- package/dist/nodes/Slack/V2/MessageInterface.d.ts +5 -0
- package/dist/nodes/Slack/V2/MessageInterface.js +3 -0
- package/dist/nodes/Slack/V2/MessageInterface.js.map +1 -0
- package/dist/nodes/Slack/V2/ReactionDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/ReactionDescription.js +131 -0
- package/dist/nodes/Slack/V2/ReactionDescription.js.map +1 -0
- package/dist/nodes/Slack/V2/SlackV2.node.d.ts +19 -0
- package/dist/nodes/Slack/V2/SlackV2.node.js +908 -0
- package/dist/nodes/Slack/V2/SlackV2.node.js.map +1 -0
- package/dist/nodes/Slack/V2/StarDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/StarDescription.js +257 -0
- package/dist/nodes/Slack/V2/StarDescription.js.map +1 -0
- package/dist/nodes/Slack/V2/UserDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/UserDescription.js +281 -0
- package/dist/nodes/Slack/V2/UserDescription.js.map +1 -0
- package/dist/nodes/Slack/V2/UserGroupDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/UserGroupDescription.js +313 -0
- package/dist/nodes/Slack/V2/UserGroupDescription.js.map +1 -0
- package/dist/nodes/Supabase/Supabase.node.d.ts +1 -1
- package/dist/nodes/SyncroMSP/v1/actions/Interfaces.d.ts +10 -10
- package/dist/nodes/TheHive/QueryFunctions.d.ts +1 -1
- package/dist/nodes/Todoist/GenericFunctions.d.ts +1 -1
- package/dist/nodes/Wise/GenericFunctions.d.ts +6 -6
- package/dist/nodes/WooCommerce/GenericFunctions.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/credentials.json +1 -1
- package/dist/types/nodes.json +3 -2
- package/package.json +1 -1
- package/dist/nodes/Slack/ChannelDescription.js.map +0 -1
- package/dist/nodes/Slack/FileDescription.js.map +0 -1
- package/dist/nodes/Slack/GenericFunctions.js.map +0 -1
- package/dist/nodes/Slack/MessageDescription.js.map +0 -1
- package/dist/nodes/Slack/MessageInterface.js.map +0 -1
- package/dist/nodes/Slack/ReactionDescription.js.map +0 -1
- package/dist/nodes/Slack/StarDescription.js.map +0 -1
- package/dist/nodes/Slack/UserDescription.js.map +0 -1
- package/dist/nodes/Slack/UserGroupDescription.js.map +0 -1
- package/dist/nodes/Slack/UserProfileDescription.js.map +0 -1
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userGroupFields = exports.userGroupOperations = void 0;
|
|
4
|
+
exports.userGroupOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ['userGroup'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: 'Create',
|
|
18
|
+
value: 'create',
|
|
19
|
+
action: 'Create a user group',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: 'Disable',
|
|
23
|
+
value: 'disable',
|
|
24
|
+
action: 'Disable a user group',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'Enable',
|
|
28
|
+
value: 'enable',
|
|
29
|
+
action: 'Enable a user group',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: 'Get Many',
|
|
33
|
+
value: 'getAll',
|
|
34
|
+
action: 'Get many user groups',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'Update',
|
|
38
|
+
value: 'update',
|
|
39
|
+
action: 'Update a user group',
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
default: 'create',
|
|
43
|
+
},
|
|
44
|
+
];
|
|
45
|
+
exports.userGroupFields = [
|
|
46
|
+
{
|
|
47
|
+
displayName: 'Name',
|
|
48
|
+
name: 'name',
|
|
49
|
+
type: 'string',
|
|
50
|
+
default: '',
|
|
51
|
+
displayOptions: {
|
|
52
|
+
show: {
|
|
53
|
+
operation: ['create'],
|
|
54
|
+
resource: ['userGroup'],
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
required: true,
|
|
58
|
+
description: 'A name for the User Group. Must be unique among User Groups.',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
displayName: 'Options',
|
|
62
|
+
name: 'Options',
|
|
63
|
+
type: 'collection',
|
|
64
|
+
placeholder: 'Add Field',
|
|
65
|
+
default: {},
|
|
66
|
+
displayOptions: {
|
|
67
|
+
show: {
|
|
68
|
+
resource: ['userGroup'],
|
|
69
|
+
operation: ['create'],
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
options: [
|
|
73
|
+
{
|
|
74
|
+
displayName: 'Channel Names or IDs',
|
|
75
|
+
name: 'channelIds',
|
|
76
|
+
type: 'multiOptions',
|
|
77
|
+
typeOptions: {
|
|
78
|
+
loadOptionsMethod: 'getChannels',
|
|
79
|
+
},
|
|
80
|
+
default: [],
|
|
81
|
+
description: 'A comma-separated string of encoded channel IDs for which the User Group uses as a default. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
displayName: 'Description',
|
|
85
|
+
name: 'description',
|
|
86
|
+
type: 'string',
|
|
87
|
+
default: '',
|
|
88
|
+
description: 'A short description of the User Group',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
displayName: 'Handle',
|
|
92
|
+
name: 'handle',
|
|
93
|
+
type: 'string',
|
|
94
|
+
default: '',
|
|
95
|
+
description: 'A mention handle. Must be unique among channels, users and User Groups.',
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
displayName: 'Include Count',
|
|
99
|
+
name: 'include_count',
|
|
100
|
+
type: 'boolean',
|
|
101
|
+
default: true,
|
|
102
|
+
description: 'Whether to include the number of users in each User Group',
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
displayName: 'User Group ID',
|
|
108
|
+
name: 'userGroupId',
|
|
109
|
+
type: 'string',
|
|
110
|
+
default: '',
|
|
111
|
+
displayOptions: {
|
|
112
|
+
show: {
|
|
113
|
+
operation: ['disable'],
|
|
114
|
+
resource: ['userGroup'],
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
required: true,
|
|
118
|
+
description: 'The encoded ID of the User Group to update',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
displayName: 'Options',
|
|
122
|
+
name: 'options',
|
|
123
|
+
type: 'collection',
|
|
124
|
+
placeholder: 'Add Field',
|
|
125
|
+
default: {},
|
|
126
|
+
displayOptions: {
|
|
127
|
+
show: {
|
|
128
|
+
resource: ['userGroup'],
|
|
129
|
+
operation: ['disable'],
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
options: [
|
|
133
|
+
{
|
|
134
|
+
displayName: 'Include Count',
|
|
135
|
+
name: 'include_count',
|
|
136
|
+
type: 'boolean',
|
|
137
|
+
default: true,
|
|
138
|
+
description: 'Whether to include the number of users in each User Group',
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
displayName: 'User Group ID',
|
|
144
|
+
name: 'userGroupId',
|
|
145
|
+
type: 'string',
|
|
146
|
+
default: '',
|
|
147
|
+
displayOptions: {
|
|
148
|
+
show: {
|
|
149
|
+
operation: ['enable'],
|
|
150
|
+
resource: ['userGroup'],
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
required: true,
|
|
154
|
+
description: 'The encoded ID of the User Group to update',
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
displayName: 'Options',
|
|
158
|
+
name: 'option',
|
|
159
|
+
type: 'collection',
|
|
160
|
+
placeholder: 'Add Field',
|
|
161
|
+
default: {},
|
|
162
|
+
displayOptions: {
|
|
163
|
+
show: {
|
|
164
|
+
resource: ['userGroup'],
|
|
165
|
+
operation: ['enable'],
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
options: [
|
|
169
|
+
{
|
|
170
|
+
displayName: 'Include Count',
|
|
171
|
+
name: 'include_count',
|
|
172
|
+
type: 'boolean',
|
|
173
|
+
default: true,
|
|
174
|
+
description: 'Whether to include the number of users in each User Group',
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
displayName: 'Return All',
|
|
180
|
+
name: 'returnAll',
|
|
181
|
+
type: 'boolean',
|
|
182
|
+
displayOptions: {
|
|
183
|
+
show: {
|
|
184
|
+
operation: ['getAll'],
|
|
185
|
+
resource: ['userGroup'],
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
default: false,
|
|
189
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
displayName: 'Limit',
|
|
193
|
+
name: 'limit',
|
|
194
|
+
type: 'number',
|
|
195
|
+
displayOptions: {
|
|
196
|
+
show: {
|
|
197
|
+
operation: ['getAll'],
|
|
198
|
+
resource: ['userGroup'],
|
|
199
|
+
returnAll: [false],
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
typeOptions: {
|
|
203
|
+
minValue: 1,
|
|
204
|
+
maxValue: 500,
|
|
205
|
+
},
|
|
206
|
+
default: 100,
|
|
207
|
+
description: 'Max number of results to return',
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
displayName: 'Options',
|
|
211
|
+
name: 'options',
|
|
212
|
+
type: 'collection',
|
|
213
|
+
placeholder: 'Add Field',
|
|
214
|
+
default: {},
|
|
215
|
+
displayOptions: {
|
|
216
|
+
show: {
|
|
217
|
+
resource: ['userGroup'],
|
|
218
|
+
operation: ['getAll'],
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
options: [
|
|
222
|
+
{
|
|
223
|
+
displayName: 'Include Count',
|
|
224
|
+
name: 'include_count',
|
|
225
|
+
type: 'boolean',
|
|
226
|
+
default: true,
|
|
227
|
+
description: 'Whether to include the number of users in each User Group',
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
displayName: 'Include Disabled',
|
|
231
|
+
name: 'include_disabled',
|
|
232
|
+
type: 'boolean',
|
|
233
|
+
default: true,
|
|
234
|
+
description: 'Whether to include disabled User Groups',
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
displayName: 'Include Users',
|
|
238
|
+
name: 'include_users',
|
|
239
|
+
type: 'boolean',
|
|
240
|
+
default: true,
|
|
241
|
+
description: 'Whether to include the list of users for each User Group',
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
displayName: 'User Group ID',
|
|
247
|
+
name: 'userGroupId',
|
|
248
|
+
type: 'string',
|
|
249
|
+
default: '',
|
|
250
|
+
displayOptions: {
|
|
251
|
+
show: {
|
|
252
|
+
operation: ['update'],
|
|
253
|
+
resource: ['userGroup'],
|
|
254
|
+
},
|
|
255
|
+
},
|
|
256
|
+
required: true,
|
|
257
|
+
description: 'The encoded ID of the User Group to update',
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
displayName: 'Update Fields',
|
|
261
|
+
name: 'updateFields',
|
|
262
|
+
type: 'collection',
|
|
263
|
+
placeholder: 'Add Field',
|
|
264
|
+
default: {},
|
|
265
|
+
displayOptions: {
|
|
266
|
+
show: {
|
|
267
|
+
resource: ['userGroup'],
|
|
268
|
+
operation: ['update'],
|
|
269
|
+
},
|
|
270
|
+
},
|
|
271
|
+
options: [
|
|
272
|
+
{
|
|
273
|
+
displayName: 'Channel Names or IDs',
|
|
274
|
+
name: 'channels',
|
|
275
|
+
type: 'multiOptions',
|
|
276
|
+
typeOptions: {
|
|
277
|
+
loadOptionsMethod: 'getChannels',
|
|
278
|
+
},
|
|
279
|
+
default: [],
|
|
280
|
+
description: 'A comma-separated string of encoded channel IDs for which the User Group uses as a default. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
displayName: 'Description',
|
|
284
|
+
name: 'description',
|
|
285
|
+
type: 'string',
|
|
286
|
+
default: '',
|
|
287
|
+
description: 'A short description of the User Group',
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
displayName: 'Handle',
|
|
291
|
+
name: 'handle',
|
|
292
|
+
type: 'string',
|
|
293
|
+
default: '',
|
|
294
|
+
description: 'A mention handle. Must be unique among channels, users and User Groups.',
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
displayName: 'Include Count',
|
|
298
|
+
name: 'include_count',
|
|
299
|
+
type: 'boolean',
|
|
300
|
+
default: true,
|
|
301
|
+
description: 'Whether to include the number of users in each User Group',
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
displayName: 'Name',
|
|
305
|
+
name: 'name',
|
|
306
|
+
type: 'string',
|
|
307
|
+
default: '',
|
|
308
|
+
description: 'A name for the User Group. Must be unique among User Groups.',
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
},
|
|
312
|
+
];
|
|
313
|
+
//# sourceMappingURL=UserGroupDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserGroupDescription.js","sourceRoot":"","sources":["../../../../nodes/Slack/V2/UserGroupDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IACrD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,WAAW,CAAC;aACvB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,qBAAqB;aAC7B;YACD;gBACC,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,SAAS;gBAChB,MAAM,EAAE,sBAAsB;aAC9B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,qBAAqB;aAC7B;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,sBAAsB;aAC9B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,qBAAqB;aAC7B;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;CACD,CA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AAS;gBACf,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,2DAA2D;aACxE;YACD;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,8DAA8D;aAC3E;SACD;KACD;CACD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IExecuteFunctions } from 'n8n-core';
|
|
2
2
|
import type { ICredentialsDecrypted, ICredentialTestFunctions, ILoadOptionsFunctions, INodeCredentialTestResult, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
3
|
-
export
|
|
3
|
+
export type FieldsUiValues = Array<{
|
|
4
4
|
fieldId: string;
|
|
5
5
|
fieldValue: string;
|
|
6
6
|
}>;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type { AllEntities, Entity, PropertiesOf } from 'n8n-workflow';
|
|
2
|
-
|
|
2
|
+
type SyncroMspMap = {
|
|
3
3
|
contact: 'create' | 'delete' | 'get' | 'getAll' | 'update';
|
|
4
4
|
customer: 'create' | 'delete' | 'get' | 'getAll' | 'update';
|
|
5
5
|
rmm: 'create' | 'delete' | 'get' | 'getAll' | 'mute';
|
|
6
6
|
ticket: 'create' | 'delete' | 'get' | 'getAll' | 'update';
|
|
7
7
|
};
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
8
|
+
export type SyncroMsp = AllEntities<SyncroMspMap>;
|
|
9
|
+
export type SyncroMspMapContact = Entity<SyncroMspMap, 'contact'>;
|
|
10
|
+
export type SyncroMspMapCustomer = Entity<SyncroMspMap, 'customer'>;
|
|
11
|
+
export type SyncroMspMapRmm = Entity<SyncroMspMap, 'rmm'>;
|
|
12
|
+
export type SyncroMspMapTicket = Entity<SyncroMspMap, 'ticket'>;
|
|
13
|
+
export type ContactProperties = PropertiesOf<SyncroMspMapContact>;
|
|
14
|
+
export type CustomerProperties = PropertiesOf<SyncroMspMapCustomer>;
|
|
15
|
+
export type RmmProperties = PropertiesOf<SyncroMspMapRmm>;
|
|
16
|
+
export type TicketProperties = PropertiesOf<SyncroMspMapTicket>;
|
|
17
17
|
export interface IAttachment {
|
|
18
18
|
fields: {
|
|
19
19
|
item?: object[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare type queryIndexSignature = '_field' | '_gt' | '_value' | '_gte' | '_lt' | '_lte' | '_and' | '_or' | '_not' | '_in' | '_contains' | '_id' | '_between' | '_parent' | '_parent' | '_child' | '_type' | '_string' | '_like' | '_wildcard';
|
|
2
|
-
export
|
|
2
|
+
export type IQueryObject = {
|
|
3
3
|
[key in queryIndexSignature]?: IQueryObject | IQueryObject[] | string | number | object;
|
|
4
4
|
};
|
|
5
5
|
export declare function Eq(field: string, value: any): IQueryObject;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core';
|
|
2
2
|
import type { IDataObject } from 'n8n-workflow';
|
|
3
|
-
export
|
|
3
|
+
export type Context = IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions;
|
|
4
4
|
export declare function FormatDueDatetime(isoString: string): string;
|
|
5
5
|
export declare function todoistApiRequest(this: Context, method: string, resource: string, body?: any, qs?: IDataObject): Promise<any>;
|
|
6
6
|
export declare function todoistSyncRequest(this: Context, body?: any, qs?: IDataObject): Promise<any>;
|
|
@@ -2,13 +2,13 @@ import type { IExecuteFunctions, IHookFunctions } from 'n8n-core';
|
|
|
2
2
|
import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow';
|
|
3
3
|
export declare function wiseApiRequest(this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'PATCH', endpoint: string, body?: IDataObject, qs?: IDataObject, option?: IDataObject): Promise<any>;
|
|
4
4
|
export declare function getTriggerName(eventName: string): IDataObject | IDataObject[] | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[];
|
|
5
|
-
export
|
|
5
|
+
export type BorderlessAccount = {
|
|
6
6
|
id: number;
|
|
7
7
|
balances: Array<{
|
|
8
8
|
currency: string;
|
|
9
9
|
}>;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type ExchangeRateAdditionalFields = {
|
|
12
12
|
interval: 'day' | 'hour' | 'minute';
|
|
13
13
|
range: {
|
|
14
14
|
rangeProperties: {
|
|
@@ -18,11 +18,11 @@ export declare type ExchangeRateAdditionalFields = {
|
|
|
18
18
|
};
|
|
19
19
|
time: string;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type Profile = {
|
|
22
22
|
id: number;
|
|
23
23
|
type: 'business' | 'personal';
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type Recipient = {
|
|
26
26
|
active: boolean;
|
|
27
27
|
id: number;
|
|
28
28
|
accountHolderName: string;
|
|
@@ -30,7 +30,7 @@ export declare type Recipient = {
|
|
|
30
30
|
currency: string;
|
|
31
31
|
type: string;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type StatementAdditionalFields = {
|
|
34
34
|
lineStyle: 'COMPACT' | 'FLAT';
|
|
35
35
|
range: {
|
|
36
36
|
rangeProperties: {
|
|
@@ -39,7 +39,7 @@ export declare type StatementAdditionalFields = {
|
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
|
-
export
|
|
42
|
+
export type TransferFilters = {
|
|
43
43
|
[key: string]: string | IDataObject;
|
|
44
44
|
range: {
|
|
45
45
|
rangeProperties: {
|