n8n-nodes-pilot-status 1.0.3 → 1.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.
@@ -266,6 +266,31 @@ class PilotStatus {
266
266
  },
267
267
  default: '',
268
268
  description: 'Optional scheduled delivery time (ISO8601)',
269
+ },
270
+ {
271
+ displayName: 'Deliver Until',
272
+ name: 'deliverUntil',
273
+ type: 'dateTime',
274
+ displayOptions: {
275
+ show: {
276
+ resource: ['message'],
277
+ operation: ['send'],
278
+ },
279
+ },
280
+ default: '',
281
+ description: 'Optional expiration limit for the message delivery (ISO8601)',
282
+ },
283
+ {
284
+ displayName: 'Deliver At',
285
+ name: 'deliverAtNormalized',
286
+ type: 'hidden',
287
+ displayOptions: {
288
+ show: {
289
+ resource: ['message'],
290
+ operation: ['send'],
291
+ },
292
+ },
293
+ default: '={{ $parameter.deliverAt ? new Date($parameter.deliverAt).toISOString() : undefined }}',
269
294
  routing: {
270
295
  send: {
271
296
  type: 'body',
@@ -275,16 +300,15 @@ class PilotStatus {
275
300
  },
276
301
  {
277
302
  displayName: 'Deliver Until',
278
- name: 'deliverUntil',
279
- type: 'dateTime',
303
+ name: 'deliverUntilNormalized',
304
+ type: 'hidden',
280
305
  displayOptions: {
281
306
  show: {
282
307
  resource: ['message'],
283
308
  operation: ['send'],
284
309
  },
285
310
  },
286
- default: '',
287
- description: 'Optional expiration limit for the message delivery (ISO8601)',
311
+ default: '={{ $parameter.deliverUntil ? new Date($parameter.deliverUntil).toISOString() : undefined }}',
288
312
  routing: {
289
313
  send: {
290
314
  type: 'body',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-pilot-status",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "n8n node for Pilot Status API",
5
5
  "keywords": [
6
6
  "n8ncommunity",