n8n-nodes-orbital-actions 3.0.2 → 3.0.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/Orbital/OrbitalActions.node.d.ts +0 -1
- package/dist/nodes/Orbital/descriptions/callbacks.js +299 -56
- package/dist/nodes/Orbital/descriptions/callbacks.js.map +1 -1
- package/dist/nodes/Orbital/descriptions/common.d.ts +4 -3
- package/dist/nodes/Orbital/descriptions/common.js +9 -6
- package/dist/nodes/Orbital/descriptions/common.js.map +1 -1
- package/dist/nodes/Orbital/descriptions/operation.js +5 -12
- package/dist/nodes/Orbital/descriptions/operation.js.map +1 -1
- package/dist/nodes/Orbital/descriptions/phases.js +12 -6
- package/dist/nodes/Orbital/descriptions/phases.js.map +1 -1
- package/dist/nodes/Orbital/descriptions/steps.js +63 -22
- package/dist/nodes/Orbital/descriptions/steps.js.map +1 -1
- package/dist/nodes/Orbital/loadOptions/index.d.ts +5 -2
- package/dist/nodes/Orbital/loadOptions/index.js +5 -2
- package/dist/nodes/Orbital/loadOptions/index.js.map +1 -1
- package/dist/nodes/Orbital/operations/declarePipeline.d.ts +3 -2
- package/dist/nodes/Orbital/operations/declarePipeline.js +3 -7
- package/dist/nodes/Orbital/operations/declarePipeline.js.map +1 -1
- package/dist/nodes/Orbital/operations/finishFlow.d.ts +22 -0
- package/dist/nodes/Orbital/operations/finishFlow.js +206 -0
- package/dist/nodes/Orbital/operations/finishFlow.js.map +1 -0
- package/dist/nodes/Orbital/operations/index.d.ts +2 -2
- package/dist/nodes/Orbital/operations/index.js +4 -6
- package/dist/nodes/Orbital/operations/index.js.map +1 -1
- package/dist/nodes/Orbital/operations/url-builder.js +1 -0
- package/dist/nodes/Orbital/operations/url-builder.js.map +1 -1
- package/dist/nodes/Orbital/shared/static-data.d.ts +1 -9
- package/dist/nodes/Orbital/shared/static-data.js +5 -14
- package/dist/nodes/Orbital/shared/static-data.js.map +1 -1
- package/package.json +1 -1
|
@@ -18,7 +18,6 @@ export declare class OrbitalActions implements INodeType {
|
|
|
18
18
|
description: INodeTypeDescription;
|
|
19
19
|
methods: {
|
|
20
20
|
loadOptions: {
|
|
21
|
-
getPipelinePhases: typeof import("./loadOptions/getPipelinePhases").getPipelinePhases;
|
|
22
21
|
getTemplatesByCategory: typeof import("./loadOptions/getTemplatesByCategory").getTemplatesByCategory;
|
|
23
22
|
};
|
|
24
23
|
};
|
|
@@ -1,101 +1,344 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CALLBACK_PROPERTIES = void 0;
|
|
4
|
-
/**
|
|
5
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Campos de `finishFlow` (Finalizar Flujo).
|
|
6
|
+
*
|
|
7
|
+
* Unifica las antiguas operaciones callbackSuccess y callbackError en una
|
|
8
|
+
* sola operacion con campos condicionales segun estado y tipo de contenido.
|
|
9
|
+
*
|
|
10
|
+
* Flujo: estado -> titulo job -> tipo contenido -> campos segun tipo ->
|
|
11
|
+
* docType -> metadata -> error (si aplica) -> notificacion
|
|
12
|
+
*/
|
|
13
|
+
// ========================================
|
|
14
|
+
// 1. ESTADO (exito / error)
|
|
15
|
+
// ========================================
|
|
16
|
+
const FINISH_STATUS = [
|
|
6
17
|
{
|
|
7
|
-
displayName: '
|
|
8
|
-
name: '
|
|
18
|
+
displayName: 'Estado del Flujo',
|
|
19
|
+
name: 'flowStatus',
|
|
20
|
+
type: 'options',
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Exito',
|
|
24
|
+
value: 'success',
|
|
25
|
+
description: 'El proceso finalizo correctamente. Puedes adjuntar contenido, documento y notificacion.',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: 'Error',
|
|
29
|
+
value: 'error',
|
|
30
|
+
description: 'El proceso fallo. Indica el mensaje y categoria del error.',
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
default: 'success',
|
|
34
|
+
description: 'Estado final del job. Determina que campos se muestran debajo.',
|
|
35
|
+
displayOptions: { show: { operation: ['finishFlow'] } },
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
// ========================================
|
|
39
|
+
// 2. TITULO DEL JOB (siempre visible)
|
|
40
|
+
// ========================================
|
|
41
|
+
const FINISH_JOB_TITLE = [
|
|
42
|
+
{
|
|
43
|
+
displayName: 'Titulo del Job',
|
|
44
|
+
name: 'finishJobTitle',
|
|
9
45
|
type: 'string',
|
|
10
46
|
default: '',
|
|
11
|
-
placeholder: 'Informe
|
|
12
|
-
|
|
47
|
+
placeholder: 'Generacion Informe TIC Abril 2026',
|
|
48
|
+
description: 'Titulo visible en la lista de tareas del usuario. Si vacio, se mantiene el existente.',
|
|
49
|
+
displayOptions: { show: { operation: ['finishFlow'] } },
|
|
50
|
+
},
|
|
51
|
+
];
|
|
52
|
+
// ========================================
|
|
53
|
+
// 3. TIPO DE CONTENIDO (solo si exito)
|
|
54
|
+
// ========================================
|
|
55
|
+
const FINISH_CONTENT_TYPE = [
|
|
56
|
+
{
|
|
57
|
+
displayName: 'Tipo de Contenido',
|
|
58
|
+
name: 'finishContentType',
|
|
59
|
+
type: 'options',
|
|
60
|
+
options: [
|
|
61
|
+
{
|
|
62
|
+
name: 'JSON',
|
|
63
|
+
value: 'json',
|
|
64
|
+
description: 'Resultado como JSON libre. Ideal para consumo B2B por API.',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'Articulo (secciones)',
|
|
68
|
+
value: 'article',
|
|
69
|
+
description: 'Documento estructurado con secciones tituladas. Cada seccion se puede mejorar con IA.',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'Markdown',
|
|
73
|
+
value: 'markdown',
|
|
74
|
+
description: 'Texto enriquecido con formato markdown (headers, listas, tablas, codigo).',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: 'Texto plano',
|
|
78
|
+
value: 'text',
|
|
79
|
+
description: 'Texto sin formato. Para logs, transcripciones, datos crudos.',
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: 'Imagen',
|
|
83
|
+
value: 'image',
|
|
84
|
+
description: 'Imagen generada o captura. Se muestra con lightbox y zoom.',
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: 'Archivo',
|
|
88
|
+
value: 'file',
|
|
89
|
+
description: 'PDF, XLSX, ZIP u otro archivo. Se muestra con boton de descarga.',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: 'Video',
|
|
93
|
+
value: 'video',
|
|
94
|
+
description: 'Video en URL (R2, YouTube, Vimeo). Se muestra con reproductor embebido.',
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
default: 'json',
|
|
98
|
+
description: 'Determina como se almacena y renderiza el contenido del resultado y del documento.',
|
|
99
|
+
displayOptions: { show: { operation: ['finishFlow'], flowStatus: ['success'] } },
|
|
13
100
|
},
|
|
101
|
+
];
|
|
102
|
+
// ========================================
|
|
103
|
+
// 4. CAMPOS CONDICIONALES POR CONTENT TYPE
|
|
104
|
+
// ========================================
|
|
105
|
+
const FINISH_CONTENT_FIELDS = [
|
|
106
|
+
// ── JSON ──
|
|
14
107
|
{
|
|
15
|
-
displayName: '
|
|
16
|
-
name: '
|
|
108
|
+
displayName: 'Result JSON',
|
|
109
|
+
name: 'resultJson',
|
|
110
|
+
type: 'json',
|
|
111
|
+
default: '{}',
|
|
112
|
+
placeholder: '{{ $json }}',
|
|
113
|
+
description: 'JSON del resultado. Acepta expresiones — ej: {{ $json }} para pasar todo el output del nodo anterior, o {{ $json.data }} para un campo especifico.',
|
|
114
|
+
displayOptions: {
|
|
115
|
+
show: { operation: ['finishFlow'], flowStatus: ['success'], finishContentType: ['json'] },
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
// ── Articulo: titulo + secciones ──
|
|
119
|
+
{
|
|
120
|
+
displayName: 'Titulo del Documento',
|
|
121
|
+
name: 'finishDocTitle',
|
|
17
122
|
type: 'string',
|
|
18
123
|
default: '',
|
|
19
|
-
placeholder: '
|
|
20
|
-
|
|
124
|
+
placeholder: 'Informe TIC - Abril 2026',
|
|
125
|
+
description: 'Titulo visible en la biblioteca del usuario. Si vacio, usa el titulo del job.',
|
|
126
|
+
displayOptions: {
|
|
127
|
+
show: {
|
|
128
|
+
operation: ['finishFlow'],
|
|
129
|
+
flowStatus: ['success'],
|
|
130
|
+
finishContentType: ['article', 'markdown', 'text', 'image', 'file', 'video'],
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
displayName: 'Secciones — Array JSON con las secciones del articulo. Cada seccion tiene "title" (titulo) y "content" (markdown del cuerpo). El usuario podra ver, editar y mejorar con IA cada seccion.',
|
|
136
|
+
name: 'finishDocSectionsNotice',
|
|
137
|
+
type: 'notice',
|
|
138
|
+
default: '',
|
|
139
|
+
displayOptions: {
|
|
140
|
+
show: {
|
|
141
|
+
operation: ['finishFlow'],
|
|
142
|
+
flowStatus: ['success'],
|
|
143
|
+
finishContentType: ['article'],
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
displayName: 'Secciones',
|
|
149
|
+
name: 'finishDocSections',
|
|
150
|
+
type: 'json',
|
|
151
|
+
default: '[\n { "title": "Resumen", "content": "..." },\n { "title": "Hallazgos", "content": "..." },\n { "title": "Recomendaciones", "content": "..." }\n]',
|
|
152
|
+
placeholder: '[{"title":"Resumen","content":"..."},{"title":"Hallazgos","content":"..."}]',
|
|
153
|
+
description: 'Array de secciones [{title, content}]. Acepta expresiones n8n.',
|
|
154
|
+
displayOptions: {
|
|
155
|
+
show: {
|
|
156
|
+
operation: ['finishFlow'],
|
|
157
|
+
flowStatus: ['success'],
|
|
158
|
+
finishContentType: ['article'],
|
|
159
|
+
},
|
|
160
|
+
},
|
|
21
161
|
},
|
|
162
|
+
// ── Markdown / Texto: contenido largo ──
|
|
22
163
|
{
|
|
23
164
|
displayName: 'Contenido',
|
|
24
|
-
name: '
|
|
165
|
+
name: 'finishDocContent',
|
|
25
166
|
type: 'string',
|
|
26
167
|
typeOptions: { rows: 10 },
|
|
27
168
|
default: '',
|
|
28
|
-
placeholder: '#
|
|
29
|
-
description: 'Contenido
|
|
30
|
-
displayOptions: {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
{ name: 'Markdown', value: 'markdown' },
|
|
38
|
-
{ name: 'Texto', value: 'text' },
|
|
39
|
-
{ name: 'JSON', value: 'json' },
|
|
40
|
-
],
|
|
41
|
-
default: 'markdown',
|
|
42
|
-
displayOptions: { show: { operation: ['callbackSuccess'] } },
|
|
169
|
+
placeholder: '# Titulo\n\nContenido del documento...',
|
|
170
|
+
description: 'Contenido del documento en markdown o texto plano.',
|
|
171
|
+
displayOptions: {
|
|
172
|
+
show: {
|
|
173
|
+
operation: ['finishFlow'],
|
|
174
|
+
flowStatus: ['success'],
|
|
175
|
+
finishContentType: ['markdown', 'text'],
|
|
176
|
+
},
|
|
177
|
+
},
|
|
43
178
|
},
|
|
179
|
+
// ── Media: URL ──
|
|
44
180
|
{
|
|
45
|
-
displayName: '
|
|
46
|
-
name: '
|
|
47
|
-
type: '
|
|
48
|
-
default:
|
|
49
|
-
|
|
50
|
-
|
|
181
|
+
displayName: 'URL del Contenido',
|
|
182
|
+
name: 'finishDocUrl',
|
|
183
|
+
type: 'string',
|
|
184
|
+
default: '',
|
|
185
|
+
placeholder: 'https://assets.orbital.fractaliacyber.com/DM1/documents/informe.pdf',
|
|
186
|
+
description: 'URL del archivo, imagen o video. Puede ser una URL de R2 (orbital assets) o externa.',
|
|
187
|
+
displayOptions: {
|
|
188
|
+
show: {
|
|
189
|
+
operation: ['finishFlow'],
|
|
190
|
+
flowStatus: ['success'],
|
|
191
|
+
finishContentType: ['image', 'file', 'video'],
|
|
192
|
+
},
|
|
193
|
+
},
|
|
51
194
|
},
|
|
195
|
+
];
|
|
196
|
+
// ========================================
|
|
197
|
+
// 5. TIPO DE DOCUMENTO + DESCRIPCION
|
|
198
|
+
// ========================================
|
|
199
|
+
const FINISH_DOC_META = [
|
|
52
200
|
{
|
|
53
201
|
displayName: 'Tipo de Documento',
|
|
54
|
-
name: '
|
|
202
|
+
name: 'finishDocType',
|
|
55
203
|
type: 'options',
|
|
56
204
|
options: [
|
|
57
205
|
{ name: 'Informe', value: 'report' },
|
|
58
|
-
{ name: '
|
|
59
|
-
{ name: '
|
|
60
|
-
{ name: '
|
|
206
|
+
{ name: 'Analisis', value: 'analysis' },
|
|
207
|
+
{ name: 'Investigacion', value: 'research' },
|
|
208
|
+
{ name: 'Documento', value: 'document' },
|
|
209
|
+
{ name: 'Datos', value: 'data' },
|
|
210
|
+
{ name: 'Imagen', value: 'image' },
|
|
211
|
+
{ name: 'Presentacion', value: 'presentation' },
|
|
212
|
+
{ name: 'Codigo', value: 'code' },
|
|
61
213
|
{ name: 'Otro', value: 'other' },
|
|
62
214
|
],
|
|
63
215
|
default: 'report',
|
|
64
|
-
|
|
216
|
+
description: 'Categoria del documento en la biblioteca del usuario.',
|
|
217
|
+
displayOptions: { show: { operation: ['finishFlow'], flowStatus: ['success'] } },
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
displayName: 'Descripcion del Documento',
|
|
221
|
+
name: 'finishDocDescription',
|
|
222
|
+
type: 'string',
|
|
223
|
+
default: '',
|
|
224
|
+
placeholder: 'Generado automaticamente a partir del analisis de brechas del proyecto VFD.',
|
|
225
|
+
description: 'Descripcion breve del documento (visible en la card de la biblioteca).',
|
|
226
|
+
displayOptions: { show: { operation: ['finishFlow'], flowStatus: ['success'] } },
|
|
227
|
+
},
|
|
228
|
+
];
|
|
229
|
+
// ========================================
|
|
230
|
+
// 6. METADATA (JSON libre, opcional)
|
|
231
|
+
// ========================================
|
|
232
|
+
const FINISH_METADATA = [
|
|
233
|
+
{
|
|
234
|
+
displayName: 'Metadata del Proceso',
|
|
235
|
+
name: 'finishMetadata',
|
|
236
|
+
type: 'json',
|
|
237
|
+
default: '',
|
|
238
|
+
placeholder: '{{ $json.metadata }}',
|
|
239
|
+
description: 'JSON libre con metadata del proceso (fuentes, confianza, tokens, etc.). Se incluye en result.metadata. Visible en panel del job en tasks UI. Dejar vacio si no aplica.',
|
|
240
|
+
displayOptions: { show: { operation: ['finishFlow'] } },
|
|
65
241
|
},
|
|
66
242
|
];
|
|
67
|
-
|
|
68
|
-
|
|
243
|
+
// ========================================
|
|
244
|
+
// 7. ERROR (solo si estado = error)
|
|
245
|
+
// ========================================
|
|
246
|
+
const FINISH_ERROR = [
|
|
69
247
|
{
|
|
70
248
|
displayName: 'Mensaje de Error',
|
|
71
|
-
name: '
|
|
249
|
+
name: 'finishErrorMessage',
|
|
72
250
|
type: 'string',
|
|
73
251
|
default: '',
|
|
74
|
-
placeholder: 'No se pudo conectar con el
|
|
252
|
+
placeholder: 'No se pudo conectar con el servicio externo',
|
|
75
253
|
required: true,
|
|
76
|
-
|
|
254
|
+
description: 'Mensaje legible del error. Visible en el polling de la API y en la UI del usuario.',
|
|
255
|
+
displayOptions: { show: { operation: ['finishFlow'], flowStatus: ['error'] } },
|
|
77
256
|
},
|
|
78
257
|
{
|
|
79
|
-
displayName: '
|
|
80
|
-
name: '
|
|
258
|
+
displayName: 'Categoria del Error',
|
|
259
|
+
name: 'finishErrorCategory',
|
|
81
260
|
type: 'options',
|
|
82
261
|
options: [
|
|
83
|
-
{
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
{
|
|
89
|
-
|
|
90
|
-
|
|
262
|
+
{
|
|
263
|
+
name: 'Servicio Externo',
|
|
264
|
+
value: 'external_service',
|
|
265
|
+
description: 'API o servicio de terceros fallo',
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
name: 'Timeout',
|
|
269
|
+
value: 'timeout',
|
|
270
|
+
description: 'El proceso excedio el tiempo limite',
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
name: 'Autenticacion',
|
|
274
|
+
value: 'auth',
|
|
275
|
+
description: 'Credenciales invalidas o expiradas',
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: 'Validacion',
|
|
279
|
+
value: 'validation',
|
|
280
|
+
description: 'Datos de entrada incorrectos',
|
|
281
|
+
},
|
|
282
|
+
{ name: 'Cuota Excedida', value: 'quota', description: 'Limite de uso superado' },
|
|
283
|
+
{
|
|
284
|
+
name: 'Resultado Parcial',
|
|
285
|
+
value: 'partial',
|
|
286
|
+
description: 'Se obtuvo resultado parcial con lo disponible',
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
name: 'Error Interno',
|
|
290
|
+
value: 'internal',
|
|
291
|
+
description: 'Fallo del sistema, no del usuario',
|
|
292
|
+
},
|
|
293
|
+
{ name: 'Desconocido', value: 'unknown', description: 'Error no clasificado' },
|
|
91
294
|
],
|
|
92
295
|
default: 'external_service',
|
|
93
|
-
description: '
|
|
94
|
-
displayOptions: { show: { operation: ['
|
|
296
|
+
description: 'Categoriza el error para automatizacion y metricas.',
|
|
297
|
+
displayOptions: { show: { operation: ['finishFlow'], flowStatus: ['error'] } },
|
|
298
|
+
},
|
|
299
|
+
];
|
|
300
|
+
// ========================================
|
|
301
|
+
// 8. NOTIFICACION (switch, OFF por defecto)
|
|
302
|
+
// ========================================
|
|
303
|
+
const FINISH_NOTIFICATION = [
|
|
304
|
+
{
|
|
305
|
+
displayName: 'Notificar al Usuario',
|
|
306
|
+
name: 'finishNotify',
|
|
307
|
+
type: 'boolean',
|
|
308
|
+
default: false,
|
|
309
|
+
description: 'ON = envia notificacion a la campana del usuario en Orbital. OFF = sin notificacion.',
|
|
310
|
+
displayOptions: { show: { operation: ['finishFlow'] } },
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
displayName: 'Mensaje de Notificacion',
|
|
314
|
+
name: 'finishNotifyMessage',
|
|
315
|
+
type: 'string',
|
|
316
|
+
default: '',
|
|
317
|
+
placeholder: 'Tu informe de brechas esta listo',
|
|
318
|
+
description: 'Texto de la notificacion. Si vacio, se genera automaticamente segun el estado.',
|
|
319
|
+
displayOptions: { show: { operation: ['finishFlow'], finishNotify: [true] } },
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
displayName: 'URL personalizada (opcional)',
|
|
323
|
+
name: 'finishNotifyUrl',
|
|
324
|
+
type: 'string',
|
|
325
|
+
default: '',
|
|
326
|
+
placeholder: '/apps/document-center?doc=doc_xxx',
|
|
327
|
+
description: 'URL al que navega el usuario al hacer click. Vacio = se genera automaticamente al documento si se creo uno.',
|
|
328
|
+
displayOptions: { show: { operation: ['finishFlow'], finishNotify: [true] } },
|
|
95
329
|
},
|
|
96
330
|
];
|
|
331
|
+
// ========================================
|
|
332
|
+
// EXPORT
|
|
333
|
+
// ========================================
|
|
97
334
|
exports.CALLBACK_PROPERTIES = [
|
|
98
|
-
...
|
|
99
|
-
...
|
|
335
|
+
...FINISH_STATUS,
|
|
336
|
+
...FINISH_JOB_TITLE,
|
|
337
|
+
...FINISH_CONTENT_TYPE,
|
|
338
|
+
...FINISH_CONTENT_FIELDS,
|
|
339
|
+
...FINISH_DOC_META,
|
|
340
|
+
...FINISH_METADATA,
|
|
341
|
+
...FINISH_ERROR,
|
|
342
|
+
...FINISH_NOTIFICATION,
|
|
100
343
|
];
|
|
101
344
|
//# sourceMappingURL=callbacks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callbacks.js","sourceRoot":"","sources":["../../../../src/nodes/Orbital/descriptions/callbacks.ts"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"file":"callbacks.js","sourceRoot":"","sources":["../../../../src/nodes/Orbital/descriptions/callbacks.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;GAQG;AAEH,2CAA2C;AAC3C,4BAA4B;AAC5B,2CAA2C;AAE3C,MAAM,aAAa,GAAsB;IACxC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E,8BAA8B;QAC3C,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mCAAmC;QAChD,WAAW,EACV,6GAA6G;QAC9G,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,YAAY,CAAC,EAAE,YAAY,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE;KAC7E;CACD,CAAC;AAEF,2CAA2C;AAC3C,SAAS;AACT,2CAA2C;AAE9B,QAAA,mBAAmB,GAAsB;IACrD,GAAG,aAAa;IAChB,GAAG,gBAAgB;IACnB,GAAG,mBAAmB;IACtB,GAAG,qBAAqB;IACxB,GAAG,eAAe;IAClB,GAAG,eAAe;IAClB,GAAG,YAAY;IACf,GAAG,mBAAmB;CACtB,CAAC"}
|
|
@@ -2,12 +2,13 @@ import type { INodeProperties } from 'n8n-workflow';
|
|
|
2
2
|
/**
|
|
3
3
|
* Campos comunes entre operaciones.
|
|
4
4
|
*
|
|
5
|
-
* UX v3.0.
|
|
5
|
+
* UX v3.0.3:
|
|
6
6
|
* - ELIMINADO el campo URL: URL base es constante interna del nodo
|
|
7
7
|
* (`operations/url-builder.ts`) — apunta a producción de Orbital.
|
|
8
8
|
* - Auth: 2 modos
|
|
9
|
-
* - `jwt` (default): el técnico
|
|
10
|
-
*
|
|
9
|
+
* - `jwt` (default): el técnico introduce el JWT o una expresión n8n
|
|
10
|
+
* apuntando a su nodo trigger. SIN default acoplado a un nombre de
|
|
11
|
+
* nodo concreto — el técnico decide conscientemente la fuente.
|
|
11
12
|
* - `credential`: usa un Header Auth guardado en n8n (reutilizable).
|
|
12
13
|
* NO hay auto-detección — el técnico controla la fuente del token.
|
|
13
14
|
*/
|
|
@@ -5,12 +5,13 @@ const operation_1 = require("./operation");
|
|
|
5
5
|
/**
|
|
6
6
|
* Campos comunes entre operaciones.
|
|
7
7
|
*
|
|
8
|
-
* UX v3.0.
|
|
8
|
+
* UX v3.0.3:
|
|
9
9
|
* - ELIMINADO el campo URL: URL base es constante interna del nodo
|
|
10
10
|
* (`operations/url-builder.ts`) — apunta a producción de Orbital.
|
|
11
11
|
* - Auth: 2 modos
|
|
12
|
-
* - `jwt` (default): el técnico
|
|
13
|
-
*
|
|
12
|
+
* - `jwt` (default): el técnico introduce el JWT o una expresión n8n
|
|
13
|
+
* apuntando a su nodo trigger. SIN default acoplado a un nombre de
|
|
14
|
+
* nodo concreto — el técnico decide conscientemente la fuente.
|
|
14
15
|
* - `credential`: usa un Header Auth guardado en n8n (reutilizable).
|
|
15
16
|
* NO hay auto-detección — el técnico controla la fuente del token.
|
|
16
17
|
*/
|
|
@@ -21,7 +22,7 @@ exports.COMMON_PROPERTIES = [
|
|
|
21
22
|
type: 'options',
|
|
22
23
|
noDataExpression: true,
|
|
23
24
|
options: [
|
|
24
|
-
{ name: 'JWT directo', value: 'jwt', description: 'Pega el JWT o usa una expresión que lo lea
|
|
25
|
+
{ name: 'JWT directo', value: 'jwt', description: 'Pega el JWT o usa una expresión n8n que lo lea de tu nodo trigger.' },
|
|
25
26
|
{ name: 'Credential guardado', value: 'credential', description: 'Usa un Header Auth guardado en n8n (reutilizable entre nodos).' },
|
|
26
27
|
],
|
|
27
28
|
default: 'jwt',
|
|
@@ -32,8 +33,10 @@ exports.COMMON_PROPERTIES = [
|
|
|
32
33
|
name: 'authToken',
|
|
33
34
|
type: 'string',
|
|
34
35
|
typeOptions: { password: true },
|
|
35
|
-
default: '
|
|
36
|
-
|
|
36
|
+
default: '',
|
|
37
|
+
placeholder: '={{ $(\'NombreDeTuWebhookTrigger\').item.json.body.auth.token }}',
|
|
38
|
+
description: 'JWT del job (viene en `body.auth.token` del payload que recibe el Webhook Trigger). Usa una expresión n8n referenciando tu nodo trigger por su nombre exacto — ej: `{{ $(\'Webhook\').item.json.body.auth.token }}`. Si el nodo trigger se llama distinto, ajusta el nombre. Para referenciar el input directo usa `{{ $json.body.auth.token }}` (solo válido si el nodo está conectado inmediatamente después del trigger).',
|
|
39
|
+
hint: 'Referencia tu nodo trigger por nombre. No hay default porque depende de cómo hayas llamado a tu Webhook Trigger en este flujo.',
|
|
37
40
|
required: true,
|
|
38
41
|
displayOptions: { show: { operation: operation_1.OPERATIONS_REQUIRING_AUTH, authType: ['jwt'] } },
|
|
39
42
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../src/nodes/Orbital/descriptions/common.ts"],"names":[],"mappings":";;;AACA,2CAAwD;AAExD
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../src/nodes/Orbital/descriptions/common.ts"],"names":[],"mappings":";;;AACA,2CAAwD;AAExD;;;;;;;;;;;;GAYG;AACU,QAAA,iBAAiB,GAAsB;IAClD;QACE,WAAW,EAAE,eAAe;QAC5B,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,oEAAoE,EAAE;YACxH,EAAE,IAAI,EAAE,qBAAqB,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,gEAAgE,EAAE;SACpI;QACD,OAAO,EAAE,KAAK;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,qCAAyB,EAAE,EAAE;KACnE;IACD;QACE,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC/B,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,kEAAkE;QAC/E,WAAW,EAAE,8ZAA8Z;QAC3a,IAAI,EAAE,gIAAgI;QACtI,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,qCAAyB,EAAE,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;KACtF;IACD;QACE,WAAW,EAAE,0BAA0B;QACvC,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,2CAA2C;QACxD,IAAI,EAAE,+FAA+F;QACrG,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE;KACxD;CACF,CAAC"}
|
|
@@ -63,16 +63,10 @@ exports.OPERATION_PROPERTIES = [
|
|
|
63
63
|
action: 'Saltar fase del pipeline',
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
|
-
name: 'Finalizar
|
|
67
|
-
value: '
|
|
68
|
-
description: 'Marca el job como completado. OBLIGATORIO al final del flujo.',
|
|
69
|
-
action: 'Finalizar
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: 'Finalizar - Error',
|
|
73
|
-
value: 'callbackError',
|
|
74
|
-
description: 'Marca el job como fallido con mensaje y categoría de error.',
|
|
75
|
-
action: 'Finalizar job con error',
|
|
66
|
+
name: 'Finalizar Flujo',
|
|
67
|
+
value: 'finishFlow',
|
|
68
|
+
description: 'Marca el job como completado o fallido. Permite adjuntar contenido, documento y notificacion. OBLIGATORIO al final del flujo.',
|
|
69
|
+
action: 'Finalizar flujo del job',
|
|
76
70
|
},
|
|
77
71
|
{
|
|
78
72
|
name: 'Crear Documento',
|
|
@@ -108,8 +102,7 @@ exports.OPERATIONS_REQUIRING_AUTH = [
|
|
|
108
102
|
'batchFlush',
|
|
109
103
|
'updateStep',
|
|
110
104
|
'skipPhase',
|
|
111
|
-
'
|
|
112
|
-
'callbackError',
|
|
105
|
+
'finishFlow',
|
|
113
106
|
'createDocument',
|
|
114
107
|
'notify',
|
|
115
108
|
'requestApproval',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation.js","sourceRoot":"","sources":["../../../../src/nodes/Orbital/descriptions/operation.ts"],"names":[],"mappings":";;;AAEA;;;;;GAKG;AACU,QAAA,oBAAoB,GAAsB;IACrD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,mBAAmB;gBACzB,KAAK,EAAE,iBAAiB;gBACxB,WAAW,EAAE,qHAAqH;gBAClI,MAAM,EAAE,2BAA2B;aACpC;YACD;gBACE,IAAI,EAAE,mBAAmB;gBACzB,KAAK,EAAE,gBAAgB;gBACvB,WAAW,EAAE,kFAAkF;gBAC/F,MAAM,EAAE,2BAA2B;aACpC;YACD;gBACE,IAAI,EAAE,eAAe;gBACrB,KAAK,EAAE,YAAY;gBACnB,WAAW,EAAE,6EAA6E;gBAC1F,MAAM,EAAE,2BAA2B;aACpC;YACD;gBACE,IAAI,EAAE,6BAA6B;gBACnC,KAAK,EAAE,WAAW;gBAClB,WAAW,EAAE,8FAA8F;gBAC3G,MAAM,EAAE,yBAAyB;aAClC;YACD;gBACE,IAAI,EAAE,+BAA+B;gBACrC,KAAK,EAAE,cAAc;gBACrB,WAAW,EAAE,mGAAmG;gBAChH,MAAM,EAAE,6BAA6B;aACtC;YACD;gBACE,IAAI,EAAE,uBAAuB;gBAC7B,KAAK,EAAE,YAAY;gBACnB,WAAW,EAAE,2FAA2F;gBACxG,MAAM,EAAE,kCAAkC;aAC3C;YACD;gBACE,IAAI,EAAE,iCAAiC;gBACvC,KAAK,EAAE,YAAY;gBACnB,WAAW,EAAE,oIAAoI;gBACjJ,MAAM,EAAE,6BAA6B;aACtC;YACD;gBACE,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,WAAW;gBAClB,WAAW,EAAE,6GAA6G;gBAC1H,MAAM,EAAE,0BAA0B;aACnC;YACD;gBACE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"operation.js","sourceRoot":"","sources":["../../../../src/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+HAA+H;gBAC5I,MAAM,EAAE,yBAAyB;aAClC;YACD;gBACE,IAAI,EAAE,iBAAiB;gBACvB,KAAK,EAAE,gBAAgB;gBACvB,WAAW,EAAE,2DAA2D;gBACxE,MAAM,EAAE,iBAAiB;aAC1B;YACD;gBACE,IAAI,EAAE,mBAAmB;gBACzB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,sDAAsD;gBACnE,MAAM,EAAE,sBAAsB;aAC/B;YACD;gBACE,IAAI,EAAE,6BAA6B;gBACnC,KAAK,EAAE,iBAAiB;gBACxB,WAAW,EAAE,4EAA4E;gBACzF,MAAM,EAAE,6BAA6B;aACtC;SACF;QACD,OAAO,EAAE,gBAAgB;KAC1B;CACF,CAAC;AAEF;;;;GAIG;AACU,QAAA,yBAAyB,GAAG;IACvC,iBAAiB;IACjB,gBAAgB;IAChB,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,QAAQ;IACR,iBAAiB;CAClB,CAAC;AAEF,sFAAsF;AACzE,QAAA,eAAe,GAAG,CAAC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,CAAC,CAAC"}
|
|
@@ -11,14 +11,20 @@ exports.SKIP_PHASE_PROPERTIES = [
|
|
|
11
11
|
displayOptions: { show: { operation: ['skipPhase'] } },
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
displayName: '
|
|
14
|
+
displayName: 'REQUISITO: la fase a saltar debe haberla creado previamente el nodo "Declarar Pipeline" al inicio del flujo. Escribe su `ref` literal debajo (ej: `correlation`).',
|
|
15
|
+
name: 'skipPhaseRefNotice',
|
|
16
|
+
type: 'notice',
|
|
17
|
+
default: '',
|
|
18
|
+
displayOptions: { show: { operation: ['skipPhase'] } },
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
displayName: 'Fase a Saltar (ref)',
|
|
15
22
|
name: 'skipPhaseRef',
|
|
16
|
-
type: '
|
|
17
|
-
typeOptions: {
|
|
18
|
-
loadOptionsMethod: 'getPipelinePhases',
|
|
19
|
-
},
|
|
23
|
+
type: 'string',
|
|
20
24
|
default: '',
|
|
21
|
-
|
|
25
|
+
placeholder: 'correlation',
|
|
26
|
+
description: 'Ref EXACTO de la fase que quieres marcar como skipped — tal como la declaraste en "Declarar Pipeline". Si el ref no existe en el pipeline, el backend devuelve 400 sin romper el job.',
|
|
27
|
+
hint: 'Expresión dinámica: `{{ $(\'Declarar Pipeline\').item.json.data.phases[N].ref }}` (sustituye N por el índice 0, 1, 2...).',
|
|
22
28
|
required: true,
|
|
23
29
|
displayOptions: { show: { operation: ['skipPhase'] } },
|
|
24
30
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phases.js","sourceRoot":"","sources":["../../../../src/nodes/Orbital/descriptions/phases.ts"],"names":[],"mappings":";;;AAEA,qFAAqF;AACxE,QAAA,qBAAqB,GAAsB;IACtD;QACE,WAAW,EAAE,wLAAwL;QACrM,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;KACvD;IACD;QACE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"phases.js","sourceRoot":"","sources":["../../../../src/nodes/Orbital/descriptions/phases.ts"],"names":[],"mappings":";;;AAEA,qFAAqF;AACxE,QAAA,qBAAqB,GAAsB;IACtD;QACE,WAAW,EAAE,wLAAwL;QACrM,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;KACvD;IACD;QACE,WAAW,EAAE,mKAAmK;QAChL,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;KACvD;IACD;QACE,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,aAAa;QAC1B,WAAW,EAAE,uLAAuL;QACpM,IAAI,EAAE,2HAA2H;QACjI,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;KACvD;IACD;QACE,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;QACxB,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,uCAAuC;QACpD,WAAW,EAAE,4EAA4E;QACzF,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE;KACvD;CACF,CAAC"}
|