@hostwebhook/node-types 1.71.0 → 1.72.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.
@@ -119,7 +119,7 @@ const project = (required = true) => ({
119
119
  label: 'Project',
120
120
  type: 'jiraProject',
121
121
  required,
122
- description: 'De la lista de proyectos que alcanza esta credencial. Se guarda la clave (ACME).',
122
+ description: 'From the projects this credential can reach. The key (ACME) is what gets stored.',
123
123
  });
124
124
  const issueKey = (label = 'Issue') => ({
125
125
  name: 'issueKey',
@@ -127,7 +127,7 @@ const issueKey = (label = 'Issue') => ({
127
127
  type: 'jiraIssueKey',
128
128
  required: true,
129
129
  placeholder: '{{payload.issueKey}}',
130
- description: 'La clave que se ve en la URL (ACME-42), no el id interno. El trigger de Jira la deja en issueKey.',
130
+ description: 'The key shown in the URL (ACME-42), not the internal id. The Jira trigger leaves it in issueKey.',
131
131
  });
132
132
  /**
133
133
  * El interruptor de formato para todo campo que Jira quiere en ADF.
@@ -144,18 +144,18 @@ const bodyFormat = () => ({
144
144
  default: 'text',
145
145
  advanced: true,
146
146
  options: [
147
- { value: 'text', label: 'Plain text (se convierte a ADF)' },
148
- { value: 'adf', label: 'Atlassian Document Format en crudo' },
147
+ { value: 'text', label: 'Plain text (converted to ADF)' },
148
+ { value: 'adf', label: 'Raw Atlassian Document Format' },
149
149
  ],
150
- description: 'Jira v3 guarda estos campos como ADF. En "plain text" el nodo lo envuelve por ti: un párrafo por bloque y salto de línea donde lo escribas.',
150
+ description: 'Jira v3 stores these fields as ADF. In "plain text" the node wraps it for you: one paragraph per block, and a line break wherever you type one.',
151
151
  });
152
152
  const customFields = () => ({
153
153
  name: 'customFields',
154
154
  label: 'Other fields (JSON)',
155
155
  type: 'json',
156
156
  advanced: true,
157
- placeholder: '{ "customfield_10042": { "accountId": "..." }, "labels": ["urgente"] }',
158
- description: 'Se mezcla tal cual dentro de `fields`. Cada tipo de campo de Jira tiene su forma; el esquema real se lee con el selector de campos de la pantalla.',
157
+ placeholder: '{ "customfield_10042": { "accountId": "..." }, "labels": ["urgent"] }',
158
+ description: 'Merged as-is into `fields`. Every Jira field type has its own shape; the real schema is read with the field picker on this screen.',
159
159
  });
160
160
  const maxResults = () => ({
161
161
  name: 'maxResults',
@@ -165,12 +165,12 @@ const maxResults = () => ({
165
165
  min: 1,
166
166
  max: 100,
167
167
  advanced: true,
168
- description: 'Jira no devuelve más de 100 por página.',
168
+ description: 'Jira never returns more than 100 per page.',
169
169
  });
170
170
  exports.JIRA_OPERATION_SPECS = {
171
171
  createIssue: {
172
172
  label: 'Create issue',
173
- description: 'Crea una incidencia en un proyecto.',
173
+ description: 'Creates an issue in a project.',
174
174
  apiRoute: 'POST /rest/api/3/issue',
175
175
  params: [
176
176
  project(),
@@ -179,21 +179,21 @@ exports.JIRA_OPERATION_SPECS = {
179
179
  label: 'Issue type',
180
180
  type: 'jiraIssueType',
181
181
  required: true,
182
- description: 'Los tipos son del proyecto, no globales: se piden después de elegirlo.',
182
+ description: 'Types belong to the project, not global: they are fetched once you pick it.',
183
183
  },
184
184
  {
185
185
  name: 'summary',
186
186
  label: 'Summary',
187
187
  type: 'template',
188
188
  required: true,
189
- placeholder: 'Fallo al exportar el informe',
190
- description: 'El título. Es el único campo que Jira exige siempre.',
189
+ placeholder: 'Report export failed',
190
+ description: 'The title. The only field Jira always requires.',
191
191
  },
192
192
  {
193
193
  name: 'description',
194
194
  label: 'Description',
195
195
  type: 'textarea',
196
- placeholder: 'Lo que pasó, con {{payload.x}} si hace falta.',
196
+ placeholder: 'What happened, with {{payload.x}} if you need it.',
197
197
  },
198
198
  bodyFormat(),
199
199
  {
@@ -201,7 +201,7 @@ exports.JIRA_OPERATION_SPECS = {
201
201
  label: 'Assignee',
202
202
  type: 'jiraUser',
203
203
  advanced: true,
204
- description: 'Se guarda el accountId, que es como lo pide Jira.',
204
+ description: 'The accountId is what gets stored, which is how Jira wants it.',
205
205
  },
206
206
  {
207
207
  name: 'parentKey',
@@ -209,14 +209,14 @@ exports.JIRA_OPERATION_SPECS = {
209
209
  type: 'template',
210
210
  advanced: true,
211
211
  placeholder: 'ACME-10',
212
- description: 'Sólo para subtareas: la incidencia padre. Con un tipo que no sea subtarea, Jira lo rechaza.',
212
+ description: 'Subtasks only: the parent issue. With a type that is not a subtask, Jira rejects it.',
213
213
  },
214
214
  customFields(),
215
215
  ],
216
216
  },
217
217
  getIssue: {
218
218
  label: 'Get issue',
219
- description: 'Lee una incidencia por su clave.',
219
+ description: 'Reads an issue by its key.',
220
220
  apiRoute: 'GET /rest/api/3/issue/{issueIdOrKey}',
221
221
  params: [
222
222
  issueKey(),
@@ -226,13 +226,13 @@ exports.JIRA_OPERATION_SPECS = {
226
226
  type: 'template',
227
227
  advanced: true,
228
228
  placeholder: 'summary,status,assignee',
229
- description: 'Separados por comas. Vacío trae los de siempre. Pedir sólo lo que usas hace la respuesta mucho más pequeña.',
229
+ description: 'Comma-separated. Empty brings the usual ones. Asking only for what you use makes the response much smaller.',
230
230
  },
231
231
  ],
232
232
  },
233
233
  updateIssue: {
234
234
  label: 'Update issue',
235
- description: 'Cambia campos de una incidencia.',
235
+ description: 'Changes fields on an issue.',
236
236
  apiRoute: 'PUT /rest/api/3/issue/{issueIdOrKey}',
237
237
  params: [
238
238
  issueKey(),
@@ -240,13 +240,13 @@ exports.JIRA_OPERATION_SPECS = {
240
240
  name: 'summary',
241
241
  label: 'Summary',
242
242
  type: 'template',
243
- description: 'Vacío = no se toca.',
243
+ description: 'Empty = left untouched.',
244
244
  },
245
245
  {
246
246
  name: 'description',
247
247
  label: 'Description',
248
248
  type: 'textarea',
249
- description: 'Vacío = no se toca. REEMPLAZA la descripción entera.',
249
+ description: 'Empty = left untouched. REPLACES the whole description.',
250
250
  },
251
251
  bodyFormat(),
252
252
  customFields(),
@@ -254,7 +254,7 @@ exports.JIRA_OPERATION_SPECS = {
254
254
  },
255
255
  deleteIssue: {
256
256
  label: 'Delete issue',
257
- description: 'Borra una incidencia. No hay papelera.',
257
+ description: 'Deletes an issue. There is no trash bin.',
258
258
  apiRoute: 'DELETE /rest/api/3/issue/{issueIdOrKey}',
259
259
  params: [
260
260
  issueKey(),
@@ -263,17 +263,17 @@ exports.JIRA_OPERATION_SPECS = {
263
263
  label: 'Delete its subtasks too',
264
264
  type: 'booleanSelect',
265
265
  options: [
266
- { value: '', label: '— sin tocar —' },
267
- { value: 'true', label: 'Sí, borrar las subtareas' },
266
+ { value: '', label: '— leave as is —' },
267
+ { value: 'true', label: 'Yes, delete the subtasks too' },
268
268
  { value: 'false', label: 'No' },
269
269
  ],
270
- description: 'Con subtareas y sin esto, Jira se niega a borrar y devuelve 400.',
270
+ description: 'With subtasks and without this, Jira refuses to delete and answers 400.',
271
271
  },
272
272
  ],
273
273
  },
274
274
  assignIssue: {
275
275
  label: 'Assign issue',
276
- description: 'Cambia a quién está asignada.',
276
+ description: 'Changes who it is assigned to.',
277
277
  apiRoute: 'PUT /rest/api/3/issue/{issueIdOrKey}/assignee',
278
278
  params: [
279
279
  issueKey(),
@@ -282,13 +282,13 @@ exports.JIRA_OPERATION_SPECS = {
282
282
  label: 'Assignee',
283
283
  type: 'jiraUser',
284
284
  required: true,
285
- description: 'Vacío deja la incidencia sin asignar.',
285
+ description: 'Empty leaves the issue unassigned.',
286
286
  },
287
287
  ],
288
288
  },
289
289
  transitionIssue: {
290
290
  label: 'Move issue',
291
- description: 'Mueve la incidencia de columna (transición del flujo).',
291
+ description: 'Moves the issue to another column (a workflow transition).',
292
292
  apiRoute: 'POST /rest/api/3/issue/{issueIdOrKey}/transitions',
293
293
  params: [
294
294
  issueKey(),
@@ -297,21 +297,21 @@ exports.JIRA_OPERATION_SPECS = {
297
297
  label: 'Transition',
298
298
  type: 'jiraTransition',
299
299
  required: true,
300
- description: 'Las transiciones legales dependen del flujo de trabajo Y del estado actual, así que se piden para esta incidencia. Una que no aplique falla al ejecutarse.',
300
+ description: 'Which transitions are legal depends on the workflow AND on the current status, so they are fetched for this issue. One that does not apply fails at run time.',
301
301
  },
302
302
  {
303
303
  name: 'comment',
304
304
  label: 'Comment (optional)',
305
305
  type: 'textarea',
306
306
  advanced: true,
307
- description: 'Jira permite comentar en el mismo paso de la transición.',
307
+ description: 'Jira lets you comment in the same transition step.',
308
308
  },
309
309
  bodyFormat(),
310
310
  ],
311
311
  },
312
312
  addComment: {
313
313
  label: 'Add comment',
314
- description: 'Comenta en una incidencia.',
314
+ description: 'Comments on an issue.',
315
315
  apiRoute: 'POST /rest/api/3/issue/{issueIdOrKey}/comment',
316
316
  params: [
317
317
  issueKey(),
@@ -320,14 +320,14 @@ exports.JIRA_OPERATION_SPECS = {
320
320
  label: 'Comment',
321
321
  type: 'textarea',
322
322
  required: true,
323
- placeholder: 'Desplegado en producción: {{payload.version}}',
323
+ placeholder: 'Deployed to production: {{payload.version}}',
324
324
  },
325
325
  bodyFormat(),
326
326
  ],
327
327
  },
328
328
  getComments: {
329
329
  label: 'Get comments',
330
- description: 'Trae los comentarios de una incidencia.',
330
+ description: 'Brings back the comments on an issue.',
331
331
  apiRoute: 'GET /rest/api/3/issue/{issueIdOrKey}/comment',
332
332
  params: [
333
333
  issueKey(),
@@ -338,8 +338,8 @@ exports.JIRA_OPERATION_SPECS = {
338
338
  default: '-created',
339
339
  advanced: true,
340
340
  options: [
341
- { value: '-created', label: 'Los más nuevos primero' },
342
- { value: 'created', label: 'Los más viejos primero' },
341
+ { value: '-created', label: 'Newest first' },
342
+ { value: 'created', label: 'Oldest first' },
343
343
  ],
344
344
  },
345
345
  maxResults(),
@@ -347,7 +347,7 @@ exports.JIRA_OPERATION_SPECS = {
347
347
  },
348
348
  addAttachment: {
349
349
  label: 'Attach file',
350
- description: 'Sube un fichero a una incidencia.',
350
+ description: 'Uploads a file to an issue.',
351
351
  apiRoute: 'POST /rest/api/3/issue/{issueIdOrKey}/attachments',
352
352
  params: [
353
353
  issueKey(),
@@ -357,21 +357,21 @@ exports.JIRA_OPERATION_SPECS = {
357
357
  type: 'template',
358
358
  required: true,
359
359
  placeholder: '{{payload.file}}',
360
- description: 'La ruta del payload donde viene el fichero — lo que dejan el nodo de ficheros o un adjunto de Gmail.',
360
+ description: 'The payload path the file arrives on — what the file node or a Gmail attachment leaves behind.',
361
361
  },
362
362
  {
363
363
  name: 'fileName',
364
364
  label: 'File name',
365
365
  type: 'template',
366
366
  advanced: true,
367
- placeholder: 'informe.pdf',
368
- description: 'Vacío usa el nombre que traiga el propio fichero.',
367
+ placeholder: 'report.pdf',
368
+ description: 'Empty uses the name the file itself carries.',
369
369
  },
370
370
  ],
371
371
  },
372
372
  addWorklog: {
373
373
  label: 'Log work',
374
- description: 'Apunta tiempo trabajado en una incidencia.',
374
+ description: 'Logs time worked on an issue.',
375
375
  apiRoute: 'POST /rest/api/3/issue/{issueIdOrKey}/worklog',
376
376
  params: [
377
377
  issueKey(),
@@ -381,7 +381,7 @@ exports.JIRA_OPERATION_SPECS = {
381
381
  type: 'template',
382
382
  required: true,
383
383
  placeholder: '3h 30m',
384
- description: 'En el formato de Jira: 2d, 3h, 30m, o combinados. No admite decimales.',
384
+ description: 'In Jira format: 2d, 3h, 30m, or combined. Decimals are not allowed.',
385
385
  },
386
386
  {
387
387
  name: 'comment',
@@ -396,13 +396,13 @@ exports.JIRA_OPERATION_SPECS = {
396
396
  type: 'template',
397
397
  advanced: true,
398
398
  placeholder: '{{payload.timestamp}}',
399
- description: 'Vacío usa el momento de la ejecución.',
399
+ description: 'Empty uses the moment of the run.',
400
400
  },
401
401
  ],
402
402
  },
403
403
  linkIssues: {
404
404
  label: 'Link issues',
405
- description: 'Relaciona dos incidencias entre sí.',
405
+ description: 'Relates two issues to each other.',
406
406
  apiRoute: 'POST /rest/api/3/issueLink',
407
407
  params: [
408
408
  {
@@ -417,7 +417,7 @@ exports.JIRA_OPERATION_SPECS = {
417
417
  label: 'Relationship',
418
418
  type: 'jiraLinkType',
419
419
  required: true,
420
- description: 'Los tipos los define cada sitio: "Blocks", "Relates", "Duplicates"… Se piden a Jira.',
420
+ description: 'Each site defines its own types: "Blocks", "Relates", "Duplicates"… They are fetched from Jira.',
421
421
  },
422
422
  {
423
423
  name: 'outwardIssueKey',
@@ -430,7 +430,7 @@ exports.JIRA_OPERATION_SPECS = {
430
430
  },
431
431
  searchIssues: {
432
432
  label: 'Search issues (JQL)',
433
- description: 'Busca incidencias con JQL. Devuelve una lista iterable.',
433
+ description: 'Searches issues with JQL. Returns an iterable list.',
434
434
  /* ⚠️ `/search/jql`, NO `/search`. El viejo está deprecado y pagina distinto:
435
435
  `nextPageToken` en vez de `startAt`, y sin `total` en la respuesta. */
436
436
  apiRoute: 'POST /rest/api/3/search/jql',
@@ -441,7 +441,7 @@ exports.JIRA_OPERATION_SPECS = {
441
441
  type: 'textarea',
442
442
  required: true,
443
443
  placeholder: 'project = ACME AND status != Done ORDER BY created DESC',
444
- description: 'La misma consulta que escribirías en el buscador de Jira. Admite {{payload.x}}.',
444
+ description: 'The same query you would type in the Jira search box. Supports {{payload.x}}.',
445
445
  },
446
446
  {
447
447
  name: 'fields',
@@ -449,7 +449,7 @@ exports.JIRA_OPERATION_SPECS = {
449
449
  type: 'template',
450
450
  advanced: true,
451
451
  placeholder: 'summary,status,assignee',
452
- description: 'Separados por comas. En este endpoint los campos hay que pedirlos: sin esto sólo llegan las claves.',
452
+ description: 'Comma-separated. On this endpoint fields have to be asked for: without this only the keys come back.',
453
453
  },
454
454
  maxResults(),
455
455
  {
@@ -458,7 +458,7 @@ exports.JIRA_OPERATION_SPECS = {
458
458
  type: 'template',
459
459
  advanced: true,
460
460
  placeholder: '{{payload.nextPageToken}}',
461
- description: 'Para pedir la página siguiente desde un Loop. La salida de esta operación lo devuelve.',
461
+ description: 'To ask for the next page from a Loop. This operation returns it in its output.',
462
462
  },
463
463
  ],
464
464
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostwebhook/node-types",
3
- "version": "1.71.0",
3
+ "version": "1.72.0",
4
4
  "description": "Shared node type definitions, connection rules, and dispatch config for HostWebhook",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",