@hostwebhook/node-types 1.71.0 → 1.71.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.
@@ -58,12 +58,12 @@ const objectKey = (placeholder) => ({
58
58
  type: "template",
59
59
  required: true,
60
60
  placeholder,
61
- description: "La ruta dentro del bucket. Sin barra inicial. Admite {{payload.x}}.",
61
+ description: "The path inside the bucket. No leading slash. Supports {{payload.x}}.",
62
62
  });
63
63
  exports.BUCKET_OPERATION_SPECS = {
64
64
  presignDownload: {
65
65
  label: "Sign download link",
66
- description: "Devuelve una URL temporal para descargar un objeto privado. No mueve el fichero.",
66
+ description: "Returns a temporary URL to download a private object. Does not move the file.",
67
67
  apiRoute: "GET (presigned)",
68
68
  params: [
69
69
  objectKey("cuadernillos/{{payload.orderId}}.pdf"),
@@ -78,20 +78,20 @@ exports.BUCKET_OPERATION_SPECS = {
78
78
  más tiempo produce una URL que el proveedor rechaza, y el error
79
79
  llega tarde y sin explicación. */
80
80
  max: 604800,
81
- description: "Desde 60 s hasta 7 días, que es el máximo que admite la firma. Pasado ese plazo el enlace deja de servir.",
81
+ description: "From 60 s up to 7 days, the maximum the signature allows. Past that, the link stops working.",
82
82
  },
83
83
  {
84
84
  name: "downloadAs",
85
85
  label: "Download as (filename)",
86
86
  type: "template",
87
87
  placeholder: "Cuadernillo 1.pdf",
88
- description: "Si se rellena, el navegador DESCARGA el fichero con ese nombre en vez de abrirlo. Déjalo vacío para que lo abra.",
88
+ description: "When set, the browser DOWNLOADS the file under that name instead of opening it. Leave it empty to have it opened.",
89
89
  },
90
90
  ],
91
91
  },
92
92
  putObject: {
93
93
  label: "Upload object",
94
- description: "Guarda un objeto en el bucket. Sobreescribe si la clave ya existe.",
94
+ description: "Stores an object in the bucket. Overwrites when the key already exists.",
95
95
  apiRoute: "PUT /{bucket}/{key}",
96
96
  params: [
97
97
  objectKey("recibos/{{payload.orderId}}.json"),
@@ -101,7 +101,7 @@ exports.BUCKET_OPERATION_SPECS = {
101
101
  type: "textarea",
102
102
  required: true,
103
103
  placeholder: "{{payload}}",
104
- description: "Lo que se guarda. Admite {{payload.x}}; un objeto se guarda como JSON.",
104
+ description: "What gets stored. Supports {{payload.x}}; an object is stored as JSON.",
105
105
  },
106
106
  {
107
107
  name: "contentType",
@@ -109,13 +109,13 @@ exports.BUCKET_OPERATION_SPECS = {
109
109
  type: "template",
110
110
  default: "application/json",
111
111
  placeholder: "application/pdf",
112
- description: "Lo que el navegador usará para decidir qué hacer con el fichero.",
112
+ description: "What the browser uses to decide what to do with the file.",
113
113
  },
114
114
  ],
115
115
  },
116
116
  headObject: {
117
117
  label: "Check object exists",
118
- description: "Comprueba si un objeto existe, y su tamaño, sin descargarlo.",
118
+ description: "Checks whether an object exists, and its size, without downloading it.",
119
119
  apiRoute: "HEAD /{bucket}/{key}",
120
120
  params: [
121
121
  objectKey("cuadernillos/{{payload.orderId}}.pdf"),
@@ -124,16 +124,16 @@ exports.BUCKET_OPERATION_SPECS = {
124
124
  label: "Fail when the object is missing",
125
125
  type: "booleanSelect",
126
126
  options: [
127
- { value: "true", label: "Sí — cortar el flujo" },
128
- { value: "false", label: "No — seguir con exists: false" },
127
+ { value: "true", label: "Yes — stop the flow" },
128
+ { value: "false", label: "No — carry on with exists: false" },
129
129
  ],
130
- description: 'Con "No", el paso sale bien y el de abajo decide. Con "Sí", un objeto que falta corta el flujo.',
130
+ description: 'With "No", the step succeeds and the node below decides. With "Yes", a missing object stops the flow.',
131
131
  },
132
132
  ],
133
133
  },
134
134
  deleteObject: {
135
135
  label: "Delete object",
136
- description: "Borra un objeto del bucket. No se puede deshacer.",
136
+ description: "Deletes an object from the bucket. It cannot be undone.",
137
137
  apiRoute: "DELETE /{bucket}/{key}",
138
138
  params: [objectKey("temporales/{{payload.id}}.tmp")],
139
139
  },
@@ -54,12 +54,12 @@ const objectKey = (placeholder) => ({
54
54
  type: "template",
55
55
  required: true,
56
56
  placeholder,
57
- description: "La ruta dentro del bucket. Sin barra inicial. Admite {{payload.x}}.",
57
+ description: "The path inside the bucket. No leading slash. Supports {{payload.x}}.",
58
58
  });
59
59
  export const BUCKET_OPERATION_SPECS = {
60
60
  presignDownload: {
61
61
  label: "Sign download link",
62
- description: "Devuelve una URL temporal para descargar un objeto privado. No mueve el fichero.",
62
+ description: "Returns a temporary URL to download a private object. Does not move the file.",
63
63
  apiRoute: "GET (presigned)",
64
64
  params: [
65
65
  objectKey("cuadernillos/{{payload.orderId}}.pdf"),
@@ -74,20 +74,20 @@ export const BUCKET_OPERATION_SPECS = {
74
74
  más tiempo produce una URL que el proveedor rechaza, y el error
75
75
  llega tarde y sin explicación. */
76
76
  max: 604800,
77
- description: "Desde 60 s hasta 7 días, que es el máximo que admite la firma. Pasado ese plazo el enlace deja de servir.",
77
+ description: "From 60 s up to 7 days, the maximum the signature allows. Past that, the link stops working.",
78
78
  },
79
79
  {
80
80
  name: "downloadAs",
81
81
  label: "Download as (filename)",
82
82
  type: "template",
83
83
  placeholder: "Cuadernillo 1.pdf",
84
- description: "Si se rellena, el navegador DESCARGA el fichero con ese nombre en vez de abrirlo. Déjalo vacío para que lo abra.",
84
+ description: "When set, the browser DOWNLOADS the file under that name instead of opening it. Leave it empty to have it opened.",
85
85
  },
86
86
  ],
87
87
  },
88
88
  putObject: {
89
89
  label: "Upload object",
90
- description: "Guarda un objeto en el bucket. Sobreescribe si la clave ya existe.",
90
+ description: "Stores an object in the bucket. Overwrites when the key already exists.",
91
91
  apiRoute: "PUT /{bucket}/{key}",
92
92
  params: [
93
93
  objectKey("recibos/{{payload.orderId}}.json"),
@@ -97,7 +97,7 @@ export const BUCKET_OPERATION_SPECS = {
97
97
  type: "textarea",
98
98
  required: true,
99
99
  placeholder: "{{payload}}",
100
- description: "Lo que se guarda. Admite {{payload.x}}; un objeto se guarda como JSON.",
100
+ description: "What gets stored. Supports {{payload.x}}; an object is stored as JSON.",
101
101
  },
102
102
  {
103
103
  name: "contentType",
@@ -105,13 +105,13 @@ export const BUCKET_OPERATION_SPECS = {
105
105
  type: "template",
106
106
  default: "application/json",
107
107
  placeholder: "application/pdf",
108
- description: "Lo que el navegador usará para decidir qué hacer con el fichero.",
108
+ description: "What the browser uses to decide what to do with the file.",
109
109
  },
110
110
  ],
111
111
  },
112
112
  headObject: {
113
113
  label: "Check object exists",
114
- description: "Comprueba si un objeto existe, y su tamaño, sin descargarlo.",
114
+ description: "Checks whether an object exists, and its size, without downloading it.",
115
115
  apiRoute: "HEAD /{bucket}/{key}",
116
116
  params: [
117
117
  objectKey("cuadernillos/{{payload.orderId}}.pdf"),
@@ -120,16 +120,16 @@ export const BUCKET_OPERATION_SPECS = {
120
120
  label: "Fail when the object is missing",
121
121
  type: "booleanSelect",
122
122
  options: [
123
- { value: "true", label: "Sí — cortar el flujo" },
124
- { value: "false", label: "No — seguir con exists: false" },
123
+ { value: "true", label: "Yes — stop the flow" },
124
+ { value: "false", label: "No — carry on with exists: false" },
125
125
  ],
126
- description: 'Con "No", el paso sale bien y el de abajo decide. Con "Sí", un objeto que falta corta el flujo.',
126
+ description: 'With "No", the step succeeds and the node below decides. With "Yes", a missing object stops the flow.',
127
127
  },
128
128
  ],
129
129
  },
130
130
  deleteObject: {
131
131
  label: "Delete object",
132
- description: "Borra un objeto del bucket. No se puede deshacer.",
132
+ description: "Deletes an object from the bucket. It cannot be undone.",
133
133
  apiRoute: "DELETE /{bucket}/{key}",
134
134
  params: [objectKey("temporales/{{payload.id}}.tmp")],
135
135
  },