n8n-nodes-hudu 1.2.7 → 1.2.8
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/Hudu/descriptions/asset_passwords.description.js +193 -137
- package/dist/nodes/Hudu/descriptions/asset_passwords.description.js.map +1 -1
- package/dist/nodes/Hudu/descriptions/asset_passwords.description.ts +199 -143
- package/dist/nodes/Hudu/utils/debugConfig.js +16 -16
- package/dist/nodes/Hudu/utils/debugConfig.js.map +1 -1
- package/dist/nodes/Hudu/utils/debugConfig.ts +16 -16
- package/package.json +1 -1
|
@@ -89,7 +89,7 @@ exports.assetPasswordFields = [
|
|
|
89
89
|
displayOptions: {
|
|
90
90
|
show: {
|
|
91
91
|
resource: ['asset_passwords'],
|
|
92
|
-
operation: ['create'
|
|
92
|
+
operation: ['create'],
|
|
93
93
|
},
|
|
94
94
|
},
|
|
95
95
|
default: '',
|
|
@@ -103,26 +103,12 @@ exports.assetPasswordFields = [
|
|
|
103
103
|
displayOptions: {
|
|
104
104
|
show: {
|
|
105
105
|
resource: ['asset_passwords'],
|
|
106
|
-
operation: ['create'
|
|
106
|
+
operation: ['create'],
|
|
107
107
|
},
|
|
108
108
|
},
|
|
109
109
|
default: '',
|
|
110
110
|
description: 'Name of the password',
|
|
111
111
|
},
|
|
112
|
-
{
|
|
113
|
-
displayName: 'Username',
|
|
114
|
-
name: 'username',
|
|
115
|
-
type: 'string',
|
|
116
|
-
required: true,
|
|
117
|
-
displayOptions: {
|
|
118
|
-
show: {
|
|
119
|
-
resource: ['asset_passwords'],
|
|
120
|
-
operation: ['create', 'update'],
|
|
121
|
-
},
|
|
122
|
-
},
|
|
123
|
-
default: '',
|
|
124
|
-
description: 'Username associated with the password',
|
|
125
|
-
},
|
|
126
112
|
{
|
|
127
113
|
displayName: 'Password',
|
|
128
114
|
name: 'password',
|
|
@@ -134,73 +120,217 @@ exports.assetPasswordFields = [
|
|
|
134
120
|
displayOptions: {
|
|
135
121
|
show: {
|
|
136
122
|
resource: ['asset_passwords'],
|
|
137
|
-
operation: ['create'
|
|
123
|
+
operation: ['create'],
|
|
138
124
|
},
|
|
139
125
|
},
|
|
140
126
|
default: '',
|
|
141
127
|
description: 'The actual password string',
|
|
142
128
|
},
|
|
143
129
|
{
|
|
144
|
-
displayName: '
|
|
145
|
-
name: '
|
|
146
|
-
type: '
|
|
147
|
-
|
|
130
|
+
displayName: 'Additional Fields',
|
|
131
|
+
name: 'additionalFields',
|
|
132
|
+
type: 'collection',
|
|
133
|
+
placeholder: 'Add Field',
|
|
134
|
+
default: {},
|
|
148
135
|
displayOptions: {
|
|
149
136
|
show: {
|
|
150
137
|
resource: ['asset_passwords'],
|
|
151
|
-
operation: ['create'
|
|
138
|
+
operation: ['create'],
|
|
152
139
|
},
|
|
153
140
|
},
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
typeOptions: {
|
|
162
|
-
password: true,
|
|
163
|
-
},
|
|
164
|
-
required: true,
|
|
165
|
-
displayOptions: {
|
|
166
|
-
show: {
|
|
167
|
-
resource: ['asset_passwords'],
|
|
168
|
-
operation: ['create', 'update'],
|
|
141
|
+
options: [
|
|
142
|
+
{
|
|
143
|
+
displayName: 'Description',
|
|
144
|
+
name: 'description',
|
|
145
|
+
type: 'string',
|
|
146
|
+
default: '',
|
|
147
|
+
description: 'Description or notes related to the password',
|
|
169
148
|
},
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
name: 'otp_secret',
|
|
177
|
-
type: 'string',
|
|
178
|
-
typeOptions: {
|
|
179
|
-
password: true,
|
|
180
|
-
},
|
|
181
|
-
required: true,
|
|
182
|
-
displayOptions: {
|
|
183
|
-
show: {
|
|
184
|
-
resource: ['asset_passwords'],
|
|
185
|
-
operation: ['create', 'update'],
|
|
149
|
+
{
|
|
150
|
+
displayName: 'In Portal',
|
|
151
|
+
name: 'in_portal',
|
|
152
|
+
type: 'boolean',
|
|
153
|
+
default: false,
|
|
154
|
+
description: 'Whether the password is accessible in the portal',
|
|
186
155
|
},
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
156
|
+
{
|
|
157
|
+
displayName: 'OTP Secret',
|
|
158
|
+
name: 'otp_secret',
|
|
159
|
+
type: 'string',
|
|
160
|
+
typeOptions: {
|
|
161
|
+
password: true,
|
|
162
|
+
},
|
|
163
|
+
default: '',
|
|
164
|
+
description: 'Secret key for one-time passwords (OTP), if used',
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
displayName: 'Password Folder ID',
|
|
168
|
+
name: 'password_folder_id',
|
|
169
|
+
type: 'number',
|
|
170
|
+
default: undefined,
|
|
171
|
+
description: 'ID of the folder in which the password is stored',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
displayName: 'Password Type',
|
|
175
|
+
name: 'password_type',
|
|
176
|
+
type: 'string',
|
|
177
|
+
typeOptions: {
|
|
178
|
+
password: true,
|
|
179
|
+
},
|
|
180
|
+
default: '',
|
|
181
|
+
description: 'Type or category of the password',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
displayName: 'Passwordable ID',
|
|
185
|
+
name: 'passwordable_id',
|
|
186
|
+
type: 'number',
|
|
187
|
+
default: undefined,
|
|
188
|
+
description: "ID of the related object (e.g., 'Website') for the password",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
displayName: 'Passwordable Type',
|
|
192
|
+
name: 'passwordable_type',
|
|
193
|
+
type: 'options',
|
|
194
|
+
options: constants_1.RESOURCE_TYPES.map(type => ({
|
|
195
|
+
name: type,
|
|
196
|
+
value: type,
|
|
197
|
+
})),
|
|
198
|
+
default: '',
|
|
199
|
+
description: 'Type of the related object for the password',
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
displayName: 'URL',
|
|
203
|
+
name: 'url',
|
|
204
|
+
type: 'string',
|
|
205
|
+
default: '',
|
|
206
|
+
description: 'URL related to the password, if applicable',
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
displayName: 'Username',
|
|
210
|
+
name: 'username',
|
|
211
|
+
type: 'string',
|
|
212
|
+
default: '',
|
|
213
|
+
description: 'Username associated with the password',
|
|
214
|
+
},
|
|
215
|
+
],
|
|
190
216
|
},
|
|
191
217
|
{
|
|
192
|
-
displayName: '
|
|
193
|
-
name: '
|
|
194
|
-
type: '
|
|
195
|
-
|
|
218
|
+
displayName: 'Update Fields',
|
|
219
|
+
name: 'updateFields',
|
|
220
|
+
type: 'collection',
|
|
221
|
+
placeholder: 'Add Field',
|
|
222
|
+
default: {},
|
|
196
223
|
displayOptions: {
|
|
197
224
|
show: {
|
|
198
225
|
resource: ['asset_passwords'],
|
|
199
|
-
operation: ['
|
|
226
|
+
operation: ['update'],
|
|
200
227
|
},
|
|
201
228
|
},
|
|
202
|
-
|
|
203
|
-
|
|
229
|
+
options: [
|
|
230
|
+
{
|
|
231
|
+
displayName: 'Company Name or ID',
|
|
232
|
+
name: 'company_id',
|
|
233
|
+
type: 'options',
|
|
234
|
+
typeOptions: {
|
|
235
|
+
loadOptionsMethod: 'getCompanies',
|
|
236
|
+
loadOptionsParameters: {
|
|
237
|
+
includeBlank: true,
|
|
238
|
+
},
|
|
239
|
+
},
|
|
240
|
+
default: '',
|
|
241
|
+
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
displayName: 'Description',
|
|
245
|
+
name: 'description',
|
|
246
|
+
type: 'string',
|
|
247
|
+
default: '',
|
|
248
|
+
description: 'Description or notes related to the password',
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
displayName: 'In Portal',
|
|
252
|
+
name: 'in_portal',
|
|
253
|
+
type: 'boolean',
|
|
254
|
+
default: false,
|
|
255
|
+
description: 'Whether the password is accessible in the portal',
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
displayName: 'Name',
|
|
259
|
+
name: 'name',
|
|
260
|
+
type: 'string',
|
|
261
|
+
default: '',
|
|
262
|
+
description: 'Name of the password',
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
displayName: 'OTP Secret',
|
|
266
|
+
name: 'otp_secret',
|
|
267
|
+
type: 'string',
|
|
268
|
+
typeOptions: {
|
|
269
|
+
password: true,
|
|
270
|
+
},
|
|
271
|
+
default: '',
|
|
272
|
+
description: 'Secret key for one-time passwords (OTP), if used',
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
displayName: 'Password',
|
|
276
|
+
name: 'password',
|
|
277
|
+
type: 'string',
|
|
278
|
+
typeOptions: {
|
|
279
|
+
password: true,
|
|
280
|
+
},
|
|
281
|
+
default: '',
|
|
282
|
+
description: 'The actual password string',
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
displayName: 'Password Folder ID',
|
|
286
|
+
name: 'password_folder_id',
|
|
287
|
+
type: 'number',
|
|
288
|
+
default: undefined,
|
|
289
|
+
description: 'ID of the folder in which the password is stored',
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
displayName: 'Password Type',
|
|
293
|
+
name: 'password_type',
|
|
294
|
+
type: 'string',
|
|
295
|
+
typeOptions: {
|
|
296
|
+
password: true,
|
|
297
|
+
},
|
|
298
|
+
default: '',
|
|
299
|
+
description: 'Type or category of the password',
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
displayName: 'Passwordable ID',
|
|
303
|
+
name: 'passwordable_id',
|
|
304
|
+
type: 'number',
|
|
305
|
+
default: undefined,
|
|
306
|
+
description: "ID of the related object (e.g., 'Website') for the password",
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
displayName: 'Passwordable Type',
|
|
310
|
+
name: 'passwordable_type',
|
|
311
|
+
type: 'options',
|
|
312
|
+
options: constants_1.RESOURCE_TYPES.map(type => ({
|
|
313
|
+
name: type,
|
|
314
|
+
value: type,
|
|
315
|
+
})),
|
|
316
|
+
default: '',
|
|
317
|
+
description: 'Type of the related object for the password',
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
displayName: 'URL',
|
|
321
|
+
name: 'url',
|
|
322
|
+
type: 'string',
|
|
323
|
+
default: '',
|
|
324
|
+
description: 'URL related to the password, if applicable',
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
displayName: 'Username',
|
|
328
|
+
name: 'username',
|
|
329
|
+
type: 'string',
|
|
330
|
+
default: '',
|
|
331
|
+
description: 'Username associated with the password',
|
|
332
|
+
},
|
|
333
|
+
],
|
|
204
334
|
},
|
|
205
335
|
{
|
|
206
336
|
displayName: 'Return All',
|
|
@@ -272,20 +402,6 @@ exports.assetPasswordFields = [
|
|
|
272
402
|
default: '',
|
|
273
403
|
description: 'Filter by name of password',
|
|
274
404
|
},
|
|
275
|
-
{
|
|
276
|
-
displayName: 'Page',
|
|
277
|
-
name: 'page',
|
|
278
|
-
type: 'number',
|
|
279
|
-
default: constants_1.HUDU_API_CONSTANTS.DEFAULT_PAGE,
|
|
280
|
-
description: 'Get current page of results',
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
displayName: 'Page Size',
|
|
284
|
-
name: 'page_size',
|
|
285
|
-
type: 'number',
|
|
286
|
-
default: constants_1.HUDU_API_CONSTANTS.PAGE_SIZE,
|
|
287
|
-
description: 'Number of results to return',
|
|
288
|
-
},
|
|
289
405
|
{
|
|
290
406
|
displayName: 'Search',
|
|
291
407
|
name: 'search',
|
|
@@ -470,65 +586,5 @@ exports.assetPasswordFields = [
|
|
|
470
586
|
},
|
|
471
587
|
],
|
|
472
588
|
},
|
|
473
|
-
{
|
|
474
|
-
displayName: 'Additional Fields',
|
|
475
|
-
name: 'additionalFields',
|
|
476
|
-
type: 'collection',
|
|
477
|
-
placeholder: 'Add Field',
|
|
478
|
-
default: {},
|
|
479
|
-
displayOptions: {
|
|
480
|
-
show: {
|
|
481
|
-
resource: ['asset_passwords'],
|
|
482
|
-
operation: ['create', 'update'],
|
|
483
|
-
},
|
|
484
|
-
},
|
|
485
|
-
options: [
|
|
486
|
-
{
|
|
487
|
-
displayName: 'In Portal',
|
|
488
|
-
name: 'in_portal',
|
|
489
|
-
type: 'boolean',
|
|
490
|
-
default: false,
|
|
491
|
-
description: 'Whether the password is accessible in the portal',
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
displayName: 'Login URL',
|
|
495
|
-
name: 'login_url',
|
|
496
|
-
type: 'string',
|
|
497
|
-
default: '',
|
|
498
|
-
description: 'URL for the login page associated with the password',
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
displayName: 'Password Folder ID',
|
|
502
|
-
name: 'password_folder_id',
|
|
503
|
-
type: 'number',
|
|
504
|
-
default: undefined,
|
|
505
|
-
description: 'ID of the folder in which the password is stored',
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
displayName: 'Password Type',
|
|
509
|
-
name: 'password_type',
|
|
510
|
-
type: 'string',
|
|
511
|
-
typeOptions: {
|
|
512
|
-
password: true,
|
|
513
|
-
},
|
|
514
|
-
default: '',
|
|
515
|
-
description: 'Type or category of the password',
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
displayName: 'Passwordable ID',
|
|
519
|
-
name: 'passwordable_id',
|
|
520
|
-
type: 'number',
|
|
521
|
-
default: undefined,
|
|
522
|
-
description: "ID of the related object (e.g., 'Website') for the password",
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
displayName: 'Slug',
|
|
526
|
-
name: 'slug',
|
|
527
|
-
type: 'string',
|
|
528
|
-
default: '',
|
|
529
|
-
description: 'URL-friendly identifier for the password',
|
|
530
|
-
},
|
|
531
|
-
],
|
|
532
|
-
},
|
|
533
589
|
];
|
|
534
590
|
//# sourceMappingURL=asset_passwords.description.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset_passwords.description.js","sourceRoot":"","sources":["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AAkD;aAChE;YACD;gBACE,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACX,QAAQ,EAAE,IAAI;iBACf;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,kCAAkC;aAChD;YACD;gBACE,WAAW,EAAE,iBAAiB;gBAC9B,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,SAAS;gBAClB,WAAW,EAAE,6DAA6D;aAC3E;YACD;gBACE,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,0CAA0C;aACxD;SACF;KACF;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"asset_passwords.description.js","sourceRoot":"","sources":["../../../../../src/nodes/Hudu/descriptions/asset_passwords.description.ts"],"names":[],"mappings":";;;AACA,kDAAwE;AAE3D,QAAA,uBAAuB,GAAsB;IACxD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,iBAAiB,CAAC;aAC9B;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,SAAS;gBAChB,WAAW,EAAE,oBAAoB;gBACjC,MAAM,EAAE,oBAAoB;aAC7B;YACD;gBACE,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,mBAAmB;gBAChC,MAAM,EAAE,mBAAmB;aAC5B;YACD;gBACE,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,mBAAmB;gBAChC,MAAM,EAAE,mBAAmB;aAC5B;YACD;gBACE,IAAI,EA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E,UAAU;wCACjB,WAAW,EAAE,0BAA0B;qCACxC;oCACD;wCACE,IAAI,EAAE,YAAY;wCAClB,KAAK,EAAE,WAAW;wCAClB,WAAW,EAAE,uCAAuC;qCACrD;oCACD;wCACE,IAAI,EAAE,WAAW;wCACjB,KAAK,EAAE,UAAU;wCACjB,WAAW,EAAE,sCAAsC;qCACpD;oCACD;wCACE,IAAI,EAAE,WAAW;wCACjB,KAAK,EAAE,UAAU;wCACjB,WAAW,EAAE,sCAAsC;qCACpD;oCACD;wCACE,IAAI,EAAE,OAAO;wCACb,KAAK,EAAE,OAAO;wCACd,WAAW,EAAE,oBAAoB;qCAClC;oCACD;wCACE,IAAI,EAAE,WAAW;wCACjB,KAAK,EAAE,WAAW;wCAClB,WAAW,EAAE,wBAAwB;qCACtC;iCACF;gCACD,OAAO,EAAE,QAAQ;gCACjB,WAAW,EAAE,gCAAgC;6BAC9C;4BACD;gCACE,WAAW,EAAE,YAAY;gCACzB,IAAI,EAAE,OAAO;gCACb,IAAI,EAAE,UAAU;gCAChB,cAAc,EAAE;oCACd,IAAI,EAAE;wCACJ,IAAI,EAAE,CAAC,OAAO,CAAC;qCAChB;iCACF;gCACD,OAAO,EAAE,EAAE;gCACX,WAAW,EAAE,yBAAyB;6BACvC;yBACF;qBACF;iBACF;gBACD,WAAW,EAAE,mEAAmE;aACjF;SACF;KACF;CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { INodeProperties } from 'n8n-workflow';
|
|
2
|
-
import { HUDU_API_CONSTANTS } from '../utils/constants';
|
|
2
|
+
import { HUDU_API_CONSTANTS, RESOURCE_TYPES } from '../utils/constants';
|
|
3
3
|
|
|
4
4
|
export const assetPasswordOperations: INodeProperties[] = [
|
|
5
5
|
{
|
|
@@ -77,7 +77,7 @@ export const assetPasswordFields: INodeProperties[] = [
|
|
|
77
77
|
description: 'ID of the requested password',
|
|
78
78
|
},
|
|
79
79
|
|
|
80
|
-
//
|
|
80
|
+
// Required fields for Create operation
|
|
81
81
|
{
|
|
82
82
|
displayName: 'Company Name or ID',
|
|
83
83
|
name: 'company_id',
|
|
@@ -92,14 +92,12 @@ export const assetPasswordFields: INodeProperties[] = [
|
|
|
92
92
|
displayOptions: {
|
|
93
93
|
show: {
|
|
94
94
|
resource: ['asset_passwords'],
|
|
95
|
-
operation: ['create'
|
|
95
|
+
operation: ['create'],
|
|
96
96
|
},
|
|
97
97
|
},
|
|
98
98
|
default: '',
|
|
99
99
|
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
|
|
100
100
|
},
|
|
101
|
-
|
|
102
|
-
// Required fields for Create and Update operations
|
|
103
101
|
{
|
|
104
102
|
displayName: 'Name',
|
|
105
103
|
name: 'name',
|
|
@@ -108,26 +106,12 @@ export const assetPasswordFields: INodeProperties[] = [
|
|
|
108
106
|
displayOptions: {
|
|
109
107
|
show: {
|
|
110
108
|
resource: ['asset_passwords'],
|
|
111
|
-
operation: ['create'
|
|
109
|
+
operation: ['create'],
|
|
112
110
|
},
|
|
113
111
|
},
|
|
114
112
|
default: '',
|
|
115
113
|
description: 'Name of the password',
|
|
116
114
|
},
|
|
117
|
-
{
|
|
118
|
-
displayName: 'Username',
|
|
119
|
-
name: 'username',
|
|
120
|
-
type: 'string',
|
|
121
|
-
required: true,
|
|
122
|
-
displayOptions: {
|
|
123
|
-
show: {
|
|
124
|
-
resource: ['asset_passwords'],
|
|
125
|
-
operation: ['create', 'update'],
|
|
126
|
-
},
|
|
127
|
-
},
|
|
128
|
-
default: '',
|
|
129
|
-
description: 'Username associated with the password',
|
|
130
|
-
},
|
|
131
115
|
{
|
|
132
116
|
displayName: 'Password',
|
|
133
117
|
name: 'password',
|
|
@@ -139,73 +123,221 @@ export const assetPasswordFields: INodeProperties[] = [
|
|
|
139
123
|
displayOptions: {
|
|
140
124
|
show: {
|
|
141
125
|
resource: ['asset_passwords'],
|
|
142
|
-
operation: ['create'
|
|
126
|
+
operation: ['create'],
|
|
143
127
|
},
|
|
144
128
|
},
|
|
145
129
|
default: '',
|
|
146
130
|
description: 'The actual password string',
|
|
147
131
|
},
|
|
132
|
+
|
|
133
|
+
// Additional Fields for Create operation
|
|
148
134
|
{
|
|
149
|
-
displayName: '
|
|
150
|
-
name: '
|
|
151
|
-
type: '
|
|
152
|
-
|
|
135
|
+
displayName: 'Additional Fields',
|
|
136
|
+
name: 'additionalFields',
|
|
137
|
+
type: 'collection',
|
|
138
|
+
placeholder: 'Add Field',
|
|
139
|
+
default: {},
|
|
153
140
|
displayOptions: {
|
|
154
141
|
show: {
|
|
155
142
|
resource: ['asset_passwords'],
|
|
156
|
-
operation: ['create'
|
|
143
|
+
operation: ['create'],
|
|
157
144
|
},
|
|
158
145
|
},
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
typeOptions: {
|
|
167
|
-
password: true,
|
|
168
|
-
},
|
|
169
|
-
required: true,
|
|
170
|
-
displayOptions: {
|
|
171
|
-
show: {
|
|
172
|
-
resource: ['asset_passwords'],
|
|
173
|
-
operation: ['create', 'update'],
|
|
146
|
+
options: [
|
|
147
|
+
{
|
|
148
|
+
displayName: 'Description',
|
|
149
|
+
name: 'description',
|
|
150
|
+
type: 'string',
|
|
151
|
+
default: '',
|
|
152
|
+
description: 'Description or notes related to the password',
|
|
174
153
|
},
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
name: 'otp_secret',
|
|
182
|
-
type: 'string',
|
|
183
|
-
typeOptions: {
|
|
184
|
-
password: true,
|
|
185
|
-
},
|
|
186
|
-
required: true,
|
|
187
|
-
displayOptions: {
|
|
188
|
-
show: {
|
|
189
|
-
resource: ['asset_passwords'],
|
|
190
|
-
operation: ['create', 'update'],
|
|
154
|
+
{
|
|
155
|
+
displayName: 'In Portal',
|
|
156
|
+
name: 'in_portal',
|
|
157
|
+
type: 'boolean',
|
|
158
|
+
default: false,
|
|
159
|
+
description: 'Whether the password is accessible in the portal',
|
|
191
160
|
},
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
161
|
+
{
|
|
162
|
+
displayName: 'OTP Secret',
|
|
163
|
+
name: 'otp_secret',
|
|
164
|
+
type: 'string',
|
|
165
|
+
typeOptions: {
|
|
166
|
+
password: true,
|
|
167
|
+
},
|
|
168
|
+
default: '',
|
|
169
|
+
description: 'Secret key for one-time passwords (OTP), if used',
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
displayName: 'Password Folder ID',
|
|
173
|
+
name: 'password_folder_id',
|
|
174
|
+
type: 'number',
|
|
175
|
+
default: undefined,
|
|
176
|
+
description: 'ID of the folder in which the password is stored',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
displayName: 'Password Type',
|
|
180
|
+
name: 'password_type',
|
|
181
|
+
type: 'string',
|
|
182
|
+
typeOptions: {
|
|
183
|
+
password: true,
|
|
184
|
+
},
|
|
185
|
+
default: '',
|
|
186
|
+
description: 'Type or category of the password',
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
displayName: 'Passwordable ID',
|
|
190
|
+
name: 'passwordable_id',
|
|
191
|
+
type: 'number',
|
|
192
|
+
default: undefined,
|
|
193
|
+
description: "ID of the related object (e.g., 'Website') for the password",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
displayName: 'Passwordable Type',
|
|
197
|
+
name: 'passwordable_type',
|
|
198
|
+
type: 'options',
|
|
199
|
+
options: RESOURCE_TYPES.map(type => ({
|
|
200
|
+
name: type,
|
|
201
|
+
value: type,
|
|
202
|
+
})),
|
|
203
|
+
default: '',
|
|
204
|
+
description: 'Type of the related object for the password',
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
displayName: 'URL',
|
|
208
|
+
name: 'url',
|
|
209
|
+
type: 'string',
|
|
210
|
+
default: '',
|
|
211
|
+
description: 'URL related to the password, if applicable',
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
displayName: 'Username',
|
|
215
|
+
name: 'username',
|
|
216
|
+
type: 'string',
|
|
217
|
+
default: '',
|
|
218
|
+
description: 'Username associated with the password',
|
|
219
|
+
},
|
|
220
|
+
],
|
|
195
221
|
},
|
|
222
|
+
|
|
223
|
+
// Update Fields
|
|
196
224
|
{
|
|
197
|
-
displayName: '
|
|
198
|
-
name: '
|
|
199
|
-
type: '
|
|
200
|
-
|
|
225
|
+
displayName: 'Update Fields',
|
|
226
|
+
name: 'updateFields',
|
|
227
|
+
type: 'collection',
|
|
228
|
+
placeholder: 'Add Field',
|
|
229
|
+
default: {},
|
|
201
230
|
displayOptions: {
|
|
202
231
|
show: {
|
|
203
232
|
resource: ['asset_passwords'],
|
|
204
|
-
operation: ['
|
|
233
|
+
operation: ['update'],
|
|
205
234
|
},
|
|
206
235
|
},
|
|
207
|
-
|
|
208
|
-
|
|
236
|
+
options: [
|
|
237
|
+
{
|
|
238
|
+
displayName: 'Company Name or ID',
|
|
239
|
+
name: 'company_id',
|
|
240
|
+
type: 'options',
|
|
241
|
+
typeOptions: {
|
|
242
|
+
loadOptionsMethod: 'getCompanies',
|
|
243
|
+
loadOptionsParameters: {
|
|
244
|
+
includeBlank: true,
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
default: '',
|
|
248
|
+
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
displayName: 'Description',
|
|
252
|
+
name: 'description',
|
|
253
|
+
type: 'string',
|
|
254
|
+
default: '',
|
|
255
|
+
description: 'Description or notes related to the password',
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
displayName: 'In Portal',
|
|
259
|
+
name: 'in_portal',
|
|
260
|
+
type: 'boolean',
|
|
261
|
+
default: false,
|
|
262
|
+
description: 'Whether the password is accessible in the portal',
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
displayName: 'Name',
|
|
266
|
+
name: 'name',
|
|
267
|
+
type: 'string',
|
|
268
|
+
default: '',
|
|
269
|
+
description: 'Name of the password',
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
displayName: 'OTP Secret',
|
|
273
|
+
name: 'otp_secret',
|
|
274
|
+
type: 'string',
|
|
275
|
+
typeOptions: {
|
|
276
|
+
password: true,
|
|
277
|
+
},
|
|
278
|
+
default: '',
|
|
279
|
+
description: 'Secret key for one-time passwords (OTP), if used',
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
displayName: 'Password',
|
|
283
|
+
name: 'password',
|
|
284
|
+
type: 'string',
|
|
285
|
+
typeOptions: {
|
|
286
|
+
password: true,
|
|
287
|
+
},
|
|
288
|
+
default: '',
|
|
289
|
+
description: 'The actual password string',
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
displayName: 'Password Folder ID',
|
|
293
|
+
name: 'password_folder_id',
|
|
294
|
+
type: 'number',
|
|
295
|
+
default: undefined,
|
|
296
|
+
description: 'ID of the folder in which the password is stored',
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
displayName: 'Password Type',
|
|
300
|
+
name: 'password_type',
|
|
301
|
+
type: 'string',
|
|
302
|
+
typeOptions: {
|
|
303
|
+
password: true,
|
|
304
|
+
},
|
|
305
|
+
default: '',
|
|
306
|
+
description: 'Type or category of the password',
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
displayName: 'Passwordable ID',
|
|
310
|
+
name: 'passwordable_id',
|
|
311
|
+
type: 'number',
|
|
312
|
+
default: undefined,
|
|
313
|
+
description: "ID of the related object (e.g., 'Website') for the password",
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
displayName: 'Passwordable Type',
|
|
317
|
+
name: 'passwordable_type',
|
|
318
|
+
type: 'options',
|
|
319
|
+
options: RESOURCE_TYPES.map(type => ({
|
|
320
|
+
name: type,
|
|
321
|
+
value: type,
|
|
322
|
+
})),
|
|
323
|
+
default: '',
|
|
324
|
+
description: 'Type of the related object for the password',
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
displayName: 'URL',
|
|
328
|
+
name: 'url',
|
|
329
|
+
type: 'string',
|
|
330
|
+
default: '',
|
|
331
|
+
description: 'URL related to the password, if applicable',
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
displayName: 'Username',
|
|
335
|
+
name: 'username',
|
|
336
|
+
type: 'string',
|
|
337
|
+
default: '',
|
|
338
|
+
description: 'Username associated with the password',
|
|
339
|
+
},
|
|
340
|
+
],
|
|
209
341
|
},
|
|
210
342
|
|
|
211
343
|
// Return All option for GetAll operation
|
|
@@ -281,20 +413,6 @@ export const assetPasswordFields: INodeProperties[] = [
|
|
|
281
413
|
default: '',
|
|
282
414
|
description: 'Filter by name of password',
|
|
283
415
|
},
|
|
284
|
-
{
|
|
285
|
-
displayName: 'Page',
|
|
286
|
-
name: 'page',
|
|
287
|
-
type: 'number',
|
|
288
|
-
default: HUDU_API_CONSTANTS.DEFAULT_PAGE,
|
|
289
|
-
description: 'Get current page of results',
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
displayName: 'Page Size',
|
|
293
|
-
name: 'page_size',
|
|
294
|
-
type: 'number',
|
|
295
|
-
default: HUDU_API_CONSTANTS.PAGE_SIZE,
|
|
296
|
-
description: 'Number of results to return',
|
|
297
|
-
},
|
|
298
416
|
{
|
|
299
417
|
displayName: 'Search',
|
|
300
418
|
name: 'search',
|
|
@@ -479,66 +597,4 @@ export const assetPasswordFields: INodeProperties[] = [
|
|
|
479
597
|
},
|
|
480
598
|
],
|
|
481
599
|
},
|
|
482
|
-
|
|
483
|
-
// Additional Fields
|
|
484
|
-
{
|
|
485
|
-
displayName: 'Additional Fields',
|
|
486
|
-
name: 'additionalFields',
|
|
487
|
-
type: 'collection',
|
|
488
|
-
placeholder: 'Add Field',
|
|
489
|
-
default: {},
|
|
490
|
-
displayOptions: {
|
|
491
|
-
show: {
|
|
492
|
-
resource: ['asset_passwords'],
|
|
493
|
-
operation: ['create', 'update'],
|
|
494
|
-
},
|
|
495
|
-
},
|
|
496
|
-
options: [
|
|
497
|
-
{
|
|
498
|
-
displayName: 'In Portal',
|
|
499
|
-
name: 'in_portal',
|
|
500
|
-
type: 'boolean',
|
|
501
|
-
default: false,
|
|
502
|
-
description: 'Whether the password is accessible in the portal',
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
displayName: 'Login URL',
|
|
506
|
-
name: 'login_url',
|
|
507
|
-
type: 'string',
|
|
508
|
-
default: '',
|
|
509
|
-
description: 'URL for the login page associated with the password',
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
displayName: 'Password Folder ID',
|
|
513
|
-
name: 'password_folder_id',
|
|
514
|
-
type: 'number',
|
|
515
|
-
default: undefined,
|
|
516
|
-
description: 'ID of the folder in which the password is stored',
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
displayName: 'Password Type',
|
|
520
|
-
name: 'password_type',
|
|
521
|
-
type: 'string',
|
|
522
|
-
typeOptions: {
|
|
523
|
-
password: true,
|
|
524
|
-
},
|
|
525
|
-
default: '',
|
|
526
|
-
description: 'Type or category of the password',
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
displayName: 'Passwordable ID',
|
|
530
|
-
name: 'passwordable_id',
|
|
531
|
-
type: 'number',
|
|
532
|
-
default: undefined,
|
|
533
|
-
description: "ID of the related object (e.g., 'Website') for the password",
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
displayName: 'Slug',
|
|
537
|
-
name: 'slug',
|
|
538
|
-
type: 'string',
|
|
539
|
-
default: '',
|
|
540
|
-
description: 'URL-friendly identifier for the password',
|
|
541
|
-
},
|
|
542
|
-
],
|
|
543
|
-
},
|
|
544
600
|
];
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.debugStringify = exports.redactSensitiveData = exports.debugLog = exports.DEBUG_CONFIG = void 0;
|
|
4
4
|
exports.DEBUG_CONFIG = {
|
|
5
|
-
API_REQUEST:
|
|
6
|
-
API_RESPONSE:
|
|
7
|
-
OPERATION_CREATE:
|
|
8
|
-
OPERATION_UPDATE:
|
|
9
|
-
OPERATION_DELETE:
|
|
10
|
-
OPERATION_GET:
|
|
11
|
-
OPERATION_GET_ALL:
|
|
12
|
-
OPERATION_ARCHIVE:
|
|
13
|
-
RESOURCE_PROCESSING:
|
|
14
|
-
RESOURCE_PARAMS:
|
|
15
|
-
RESOURCE_TRANSFORM:
|
|
16
|
-
NODE_INPUT:
|
|
17
|
-
NODE_OUTPUT:
|
|
18
|
-
UTIL_DATE_PROCESSING:
|
|
19
|
-
UTIL_FILTERS:
|
|
20
|
-
UTIL_TYPE_CONVERSION:
|
|
5
|
+
API_REQUEST: false,
|
|
6
|
+
API_RESPONSE: false,
|
|
7
|
+
OPERATION_CREATE: false,
|
|
8
|
+
OPERATION_UPDATE: false,
|
|
9
|
+
OPERATION_DELETE: false,
|
|
10
|
+
OPERATION_GET: false,
|
|
11
|
+
OPERATION_GET_ALL: false,
|
|
12
|
+
OPERATION_ARCHIVE: false,
|
|
13
|
+
RESOURCE_PROCESSING: false,
|
|
14
|
+
RESOURCE_PARAMS: false,
|
|
15
|
+
RESOURCE_TRANSFORM: false,
|
|
16
|
+
NODE_INPUT: false,
|
|
17
|
+
NODE_OUTPUT: false,
|
|
18
|
+
UTIL_DATE_PROCESSING: false,
|
|
19
|
+
UTIL_FILTERS: false,
|
|
20
|
+
UTIL_TYPE_CONVERSION: false
|
|
21
21
|
};
|
|
22
22
|
function debugLog(title, obj, type = 'log') {
|
|
23
23
|
console[type](`*** ${title} ***`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debugConfig.js","sourceRoot":"","sources":["../../../../../src/nodes/Hudu/utils/debugConfig.ts"],"names":[],"mappings":";;;AAKa,QAAA,YAAY,GAAG;IAE1B,WAAW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AAC,IAAI;gBAChB,OAAO,EAAE,KAAK,CAAC,OAAO;gBACtB,KAAK,EAAE,KAAK,CAAC,KAAK;aACnB,CAAC;SACH;QACD,OAAO,KAAK,CAAC;IACf,CAAC,EAAE,KAAK,CAAC,CAAC;AACZ,CAAC;AAxBD,wCAwBC"}
|
|
@@ -5,30 +5,30 @@
|
|
|
5
5
|
|
|
6
6
|
export const DEBUG_CONFIG = {
|
|
7
7
|
// API Communication
|
|
8
|
-
API_REQUEST:
|
|
9
|
-
API_RESPONSE:
|
|
8
|
+
API_REQUEST: false, // Debug API request details
|
|
9
|
+
API_RESPONSE: false, // Debug API response details
|
|
10
10
|
|
|
11
11
|
// Core Operations
|
|
12
|
-
OPERATION_CREATE:
|
|
13
|
-
OPERATION_UPDATE:
|
|
14
|
-
OPERATION_DELETE:
|
|
15
|
-
OPERATION_GET:
|
|
16
|
-
OPERATION_GET_ALL:
|
|
17
|
-
OPERATION_ARCHIVE:
|
|
12
|
+
OPERATION_CREATE: false, // Debug create operations
|
|
13
|
+
OPERATION_UPDATE: false, // Debug update operations
|
|
14
|
+
OPERATION_DELETE: false, // Debug delete operations
|
|
15
|
+
OPERATION_GET: false, // Debug get operations
|
|
16
|
+
OPERATION_GET_ALL: false, // Debug getAll operations
|
|
17
|
+
OPERATION_ARCHIVE: false, // Debug archive operations
|
|
18
18
|
|
|
19
19
|
// Resource Handlers
|
|
20
|
-
RESOURCE_PROCESSING:
|
|
21
|
-
RESOURCE_PARAMS:
|
|
22
|
-
RESOURCE_TRANSFORM:
|
|
20
|
+
RESOURCE_PROCESSING: false, // Debug resource handler processing
|
|
21
|
+
RESOURCE_PARAMS: false, // Debug parameter extraction in handlers
|
|
22
|
+
RESOURCE_TRANSFORM: false, // Debug data transformations in handlers
|
|
23
23
|
|
|
24
24
|
// Node Execution
|
|
25
|
-
NODE_INPUT:
|
|
26
|
-
NODE_OUTPUT:
|
|
25
|
+
NODE_INPUT: false, // Debug input items to node
|
|
26
|
+
NODE_OUTPUT: false, // Debug output from node
|
|
27
27
|
|
|
28
28
|
// Utility Functions
|
|
29
|
-
UTIL_DATE_PROCESSING:
|
|
30
|
-
UTIL_FILTERS:
|
|
31
|
-
UTIL_TYPE_CONVERSION:
|
|
29
|
+
UTIL_DATE_PROCESSING: false, // Debug date range processing
|
|
30
|
+
UTIL_FILTERS: false, // Debug filter processing
|
|
31
|
+
UTIL_TYPE_CONVERSION: false // Debug type conversions
|
|
32
32
|
} as const;
|
|
33
33
|
|
|
34
34
|
/**
|