n8n-nodes-pilot-status 2.15.1 → 2.17.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.
- package/CHANGELOG.md +24 -0
- package/README.md +12 -0
- package/dist/credentials/PilotStatusApi.credentials.d.ts +1 -1
- package/dist/credentials/version.d.ts +1 -1
- package/dist/credentials/version.js +1 -1
- package/dist/nodes/PilotStatus/PilotStatus.node.d.ts +12 -0
- package/dist/nodes/PilotStatus/PilotStatus.node.js +214 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `n8n-nodes-pilot-status`.
|
|
4
4
|
|
|
5
|
+
## 2.17.0 - 2026-11-11
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **Story → Create: "Deliver At"** (dateTime, optional) — schedules the story; sent as
|
|
10
|
+
`deliverAt` (normalized to ISO-8601 UTC). Past/now sends immediately; the Media URL is
|
|
11
|
+
downloaded at send time; billed only when it goes out.
|
|
12
|
+
- Story → Delete documents cancelling a scheduled story → `{ id, canceledAt }` (status
|
|
13
|
+
`CANCELED`, never billed). Story → Get documents `deliverAt`.
|
|
14
|
+
|
|
15
|
+
## 2.16.0 - 2026-11-10
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- **Story** resource (`/v1/stories`, WhatsApp status from the credential's number —
|
|
20
|
+
Evolution Go only):
|
|
21
|
+
- **Create** (`POST /v1/stories`): type `text` (text, background/text color, font by
|
|
22
|
+
name) or `image`/`video` (Media URL, caption); optional recipients
|
|
23
|
+
(comma-separated E.164 without `+`, deduped, up to 5000); optional **Idempotency Key** sent as the
|
|
24
|
+
`Idempotency-Key` header. Only the fields of the chosen type are sent.
|
|
25
|
+
- **Get** (`GET /v1/stories/{id}`).
|
|
26
|
+
- **Delete** (`DELETE /v1/stories/{id}`): revokes a sent story (`409
|
|
27
|
+
STORY_NOT_REVOCABLE`, `410 STORY_EXPIRED`).
|
|
28
|
+
|
|
5
29
|
## 2.15.1 - 2026-11-09
|
|
6
30
|
|
|
7
31
|
### Fixed
|
package/README.md
CHANGED
|
@@ -288,6 +288,18 @@ The registry the **Pilot Status Trigger** registers in. Only two operations; lis
|
|
|
288
288
|
- **Reactivate:** `POST /v1/webhooks/{id}/reactivate`, no body → `{ ok, released, stillHeld, circuitOpen, circuitOpenedAt, circuitSuccessPct, heldCount, droppedCount }` — resumes a destination paused by the circuit breaker (it only closes by hand), re-queuing `released` held events. Idempotent.
|
|
289
289
|
- `deliveryTimeoutMs` on create/update is platform-staff only (`403 DELIVERY_TIMEOUT_STAFF_ONLY`).
|
|
290
290
|
|
|
291
|
+
### 20. Story (WhatsApp status, `/v1/stories`)
|
|
292
|
+
|
|
293
|
+
Posts from the credential's number. **Evolution Go numbers only** (`400 NOT_SUPPORTED_FOR_META` / `NOT_SUPPORTED_FOR_PROVIDER`); a disconnected instance is `409 WHATSAPP_INSTANCE_NOT_CONNECTED`.
|
|
294
|
+
|
|
295
|
+
- **Create:** `POST /v1/stories` → `202 { id, status: "QUEUED", type, recipients: "explicit" | "privacy" }`.
|
|
296
|
+
- **Type** `text`: **Text** (1–700 characters), **Background Color** / **Text Color** (`#RRGGBB` or `#AARRGGBB`; blank = API default), **Font** (`system` default, `system_text`, `script`, `system_bold`, `morningbreeze`, `calistoga`, `exo2`, `courier`).
|
|
297
|
+
- **Type** `image` / `video`: **Media URL** (https, max 100 MiB — the only media input), optional **Caption** (≤1024).
|
|
298
|
+
- **Recipients** (optional): comma-separated E.164 numbers without `+` (or JIDs), deduped, up to 5000 (more is `400`). Blank = the device privacy settings decide.
|
|
299
|
+
- **Idempotency Key** (optional): sent as the `Idempotency-Key` header; reuse it when retrying the same story.
|
|
300
|
+
- **Get:** `GET /v1/stories/{id}` → `{ id, type, status, caption, recipientsMode, recipientCount, recipients, createdAt, sentAt, revokedAt }`. `recipients` is `null` while `QUEUED` or outside retention (`redacted: true`). Not a story → `404`.
|
|
301
|
+
- **Delete:** `DELETE /v1/stories/{id}` → `{ id, revokedAt }`. Only a `SENT`, not revoked story (`409 STORY_NOT_REVOCABLE`); more than 24 h after `sentAt` → `410 STORY_EXPIRED`. Not billed.
|
|
302
|
+
|
|
291
303
|
---
|
|
292
304
|
|
|
293
305
|
## 💡 Use Case Examples
|
|
@@ -7,7 +7,7 @@ export declare const DEFAULT_BASE_URL = "https://pilotstatus.com.br";
|
|
|
7
7
|
* `/v1` callers by User-Agent and recognises this node only when the header STARTS
|
|
8
8
|
* with `pilot-status-n8n/<version>`; without it n8n would send its generic `n8n`.
|
|
9
9
|
*/
|
|
10
|
-
export declare const USER_AGENT = "pilot-status-n8n/2.
|
|
10
|
+
export declare const USER_AGENT = "pilot-status-n8n/2.17.0";
|
|
11
11
|
export declare class PilotStatusApi implements ICredentialType {
|
|
12
12
|
name: string;
|
|
13
13
|
displayName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "2.
|
|
1
|
+
export declare const PACKAGE_VERSION = "2.17.0";
|
|
@@ -97,6 +97,18 @@ export declare function workspaceWebhookUpdatePreSend(this: IExecuteSingleFuncti
|
|
|
97
97
|
export declare function workspaceCreatePreSend(this: IExecuteSingleFunctions, requestOptions: IHttpRequestOptions): Promise<IHttpRequestOptions>;
|
|
98
98
|
/** Workspace API Key → Create: the body is exactly `{ name }`. */
|
|
99
99
|
export declare function workspaceApiKeyCreatePreSend(this: IExecuteSingleFunctions, requestOptions: IHttpRequestOptions): Promise<IHttpRequestOptions>;
|
|
100
|
+
/** Story fonts accepted by `POST /v1/stories` (a NAME; a number is 400). */
|
|
101
|
+
export declare const STORY_FONT_OPTIONS: INodePropertyOptions[];
|
|
102
|
+
/**
|
|
103
|
+
* Story → Create: builds the WHOLE `POST /v1/stories` body. The route refuses unknown
|
|
104
|
+
* fields (400), so only the fields of the chosen type are sent, and blanks are dropped
|
|
105
|
+
* (the API then applies its defaults). Recipients: a comma-separated string or an array,
|
|
106
|
+
* trimmed, `+` stripped, deduped; empty = the device privacy settings decide. "Deliver At"
|
|
107
|
+
* (optional) goes out as `deliverAt`, normalized with `new Date(...).toISOString()` like the
|
|
108
|
+
* message send; an unparseable value is sent as typed so the API answers 400. The optional
|
|
109
|
+
* Idempotency Key goes out as the `Idempotency-Key` HEADER; blank = not sent.
|
|
110
|
+
*/
|
|
111
|
+
export declare function storyCreatePreSend(this: IExecuteSingleFunctions, requestOptions: IHttpRequestOptions): Promise<IHttpRequestOptions>;
|
|
100
112
|
/**
|
|
101
113
|
* Current Workspace → Rename: the body is exactly `{ name }` — `PATCH /v1/workspace` refuses
|
|
102
114
|
* any other field with 400 UNKNOWN_FIELDS. Trimmed; the API caps it at 60 characters.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PilotStatus = exports.WORKSPACE_WEBHOOK_EVENT_OPTIONS = exports.PHONE_LINE_WEBHOOK_EVENT_OPTIONS = exports.DEFAULT_BASE_URL = exports.FLOW_CATEGORY_OPTIONS = exports.GO_TRISTATE = void 0;
|
|
3
|
+
exports.PilotStatus = exports.STORY_FONT_OPTIONS = exports.WORKSPACE_WEBHOOK_EVENT_OPTIONS = exports.PHONE_LINE_WEBHOOK_EVENT_OPTIONS = exports.DEFAULT_BASE_URL = exports.FLOW_CATEGORY_OPTIONS = exports.GO_TRISTATE = void 0;
|
|
4
4
|
exports.apiBaseUrl = apiBaseUrl;
|
|
5
5
|
exports.resolvePhoneLineDocument = resolvePhoneLineDocument;
|
|
6
6
|
exports.phoneLineStartVerificationPreSend = phoneLineStartVerificationPreSend;
|
|
@@ -11,6 +11,7 @@ exports.workspaceWebhookCreatePreSend = workspaceWebhookCreatePreSend;
|
|
|
11
11
|
exports.workspaceWebhookUpdatePreSend = workspaceWebhookUpdatePreSend;
|
|
12
12
|
exports.workspaceCreatePreSend = workspaceCreatePreSend;
|
|
13
13
|
exports.workspaceApiKeyCreatePreSend = workspaceApiKeyCreatePreSend;
|
|
14
|
+
exports.storyCreatePreSend = storyCreatePreSend;
|
|
14
15
|
exports.currentWorkspaceRenamePreSend = currentWorkspaceRenamePreSend;
|
|
15
16
|
exports.currentWorkspaceSettingsUpdatePreSend = currentWorkspaceSettingsUpdatePreSend;
|
|
16
17
|
exports.currentWorkspaceArchivePreSend = currentWorkspaceArchivePreSend;
|
|
@@ -304,6 +305,73 @@ async function workspaceApiKeyCreatePreSend(requestOptions) {
|
|
|
304
305
|
requestOptions.body = { name: requiredName.call(this, 'workspaceApiKeyName', 'a workspace API key') };
|
|
305
306
|
return requestOptions;
|
|
306
307
|
}
|
|
308
|
+
/** Story fonts accepted by `POST /v1/stories` (a NAME; a number is 400). */
|
|
309
|
+
exports.STORY_FONT_OPTIONS = [
|
|
310
|
+
{ name: 'System (Default)', value: 'system' },
|
|
311
|
+
{ name: 'System Text', value: 'system_text' },
|
|
312
|
+
{ name: 'Script', value: 'script' },
|
|
313
|
+
{ name: 'System Bold', value: 'system_bold' },
|
|
314
|
+
{ name: 'Morning Breeze', value: 'morningbreeze' },
|
|
315
|
+
{ name: 'Calistoga', value: 'calistoga' },
|
|
316
|
+
{ name: 'Exo 2', value: 'exo2' },
|
|
317
|
+
{ name: 'Courier', value: 'courier' },
|
|
318
|
+
];
|
|
319
|
+
/**
|
|
320
|
+
* Story → Create: builds the WHOLE `POST /v1/stories` body. The route refuses unknown
|
|
321
|
+
* fields (400), so only the fields of the chosen type are sent, and blanks are dropped
|
|
322
|
+
* (the API then applies its defaults). Recipients: a comma-separated string or an array,
|
|
323
|
+
* trimmed, `+` stripped, deduped; empty = the device privacy settings decide. "Deliver At"
|
|
324
|
+
* (optional) goes out as `deliverAt`, normalized with `new Date(...).toISOString()` like the
|
|
325
|
+
* message send; an unparseable value is sent as typed so the API answers 400. The optional
|
|
326
|
+
* Idempotency Key goes out as the `Idempotency-Key` HEADER; blank = not sent.
|
|
327
|
+
*/
|
|
328
|
+
async function storyCreatePreSend(requestOptions) {
|
|
329
|
+
var _a;
|
|
330
|
+
const str = (name) => { var _a; return String((_a = this.getNodeParameter(name, '')) !== null && _a !== void 0 ? _a : '').trim(); };
|
|
331
|
+
const type = str('storyType') || 'text';
|
|
332
|
+
const body = { type };
|
|
333
|
+
if (type === 'text') {
|
|
334
|
+
const text = str('storyText');
|
|
335
|
+
if (!text)
|
|
336
|
+
throw new Error('Pilot Status: "Text" is required for a text story.');
|
|
337
|
+
body.text = text;
|
|
338
|
+
const backgroundColor = str('storyBackgroundColor');
|
|
339
|
+
if (backgroundColor)
|
|
340
|
+
body.backgroundColor = backgroundColor;
|
|
341
|
+
const textColor = str('storyTextColor');
|
|
342
|
+
if (textColor)
|
|
343
|
+
body.textColor = textColor;
|
|
344
|
+
const font = str('storyFont');
|
|
345
|
+
if (font)
|
|
346
|
+
body.font = font;
|
|
347
|
+
}
|
|
348
|
+
else {
|
|
349
|
+
const mediaUrl = str('storyMediaUrl');
|
|
350
|
+
if (!mediaUrl)
|
|
351
|
+
throw new Error('Pilot Status: "Media URL" is required for an image or video story.');
|
|
352
|
+
body.mediaUrl = mediaUrl;
|
|
353
|
+
const caption = str('storyCaption');
|
|
354
|
+
if (caption)
|
|
355
|
+
body.caption = caption;
|
|
356
|
+
}
|
|
357
|
+
const raw = this.getNodeParameter('storyRecipients', '');
|
|
358
|
+
const list = Array.isArray(raw) ? raw : typeof raw === 'string' ? raw.split(',') : [];
|
|
359
|
+
const recipients = [
|
|
360
|
+
...new Set(list.map((r) => String(r).trim().replace(/^\+/, '')).filter((r) => r !== '')),
|
|
361
|
+
];
|
|
362
|
+
if (recipients.length)
|
|
363
|
+
body.recipients = recipients;
|
|
364
|
+
const deliverAt = str('storyDeliverAt');
|
|
365
|
+
if (deliverAt) {
|
|
366
|
+
const parsed = new Date(deliverAt);
|
|
367
|
+
body.deliverAt = Number.isNaN(parsed.getTime()) ? deliverAt : parsed.toISOString();
|
|
368
|
+
}
|
|
369
|
+
requestOptions.body = body;
|
|
370
|
+
const key = str('storyIdempotencyKey');
|
|
371
|
+
if (key)
|
|
372
|
+
requestOptions.headers = { ...((_a = requestOptions.headers) !== null && _a !== void 0 ? _a : {}), 'Idempotency-Key': key };
|
|
373
|
+
return requestOptions;
|
|
374
|
+
}
|
|
307
375
|
/**
|
|
308
376
|
* Current Workspace → Rename: the body is exactly `{ name }` — `PATCH /v1/workspace` refuses
|
|
309
377
|
* any other field with 400 UNKNOWN_FIELDS. Trimmed; the API caps it at 60 characters.
|
|
@@ -664,6 +732,7 @@ class PilotStatus {
|
|
|
664
732
|
{ name: 'Workspace API Key (Account Key)', value: 'workspaceApiKey' },
|
|
665
733
|
{ name: 'Current Workspace', value: 'currentWorkspace' },
|
|
666
734
|
{ name: 'Webhook', value: 'webhook' },
|
|
735
|
+
{ name: 'Story', value: 'story' },
|
|
667
736
|
],
|
|
668
737
|
default: 'message',
|
|
669
738
|
},
|
|
@@ -4379,6 +4448,150 @@ class PilotStatus {
|
|
|
4379
4448
|
default: '',
|
|
4380
4449
|
required: true,
|
|
4381
4450
|
},
|
|
4451
|
+
// ----------------------------------
|
|
4452
|
+
// Story Operations (/v1/stories — WhatsApp status/story of the credential's number;
|
|
4453
|
+
// Evolution Go numbers only: a Meta number is 400 NOT_SUPPORTED_FOR_META).
|
|
4454
|
+
// ----------------------------------
|
|
4455
|
+
{
|
|
4456
|
+
displayName: 'Operation',
|
|
4457
|
+
name: 'operation',
|
|
4458
|
+
type: 'options',
|
|
4459
|
+
noDataExpression: true,
|
|
4460
|
+
displayOptions: { show: { resource: ['story'] } },
|
|
4461
|
+
options: [
|
|
4462
|
+
{
|
|
4463
|
+
name: 'Create',
|
|
4464
|
+
value: 'create',
|
|
4465
|
+
description: 'Post a story (WhatsApp status) from the credential\'s number: text, image or video. Answers 202 { id, status: "QUEUED", type, recipients: "explicit" | "privacy", deliverAt (ISO or null) }. Set Deliver At to schedule it. Evolution Go numbers only (400 NOT_SUPPORTED_FOR_META / NOT_SUPPORTED_FOR_PROVIDER); disconnected instance → 409 WHATSAPP_INSTANCE_NOT_CONNECTED.',
|
|
4466
|
+
action: 'Create a story',
|
|
4467
|
+
routing: {
|
|
4468
|
+
request: { method: 'POST', url: '/stories' },
|
|
4469
|
+
send: { preSend: [storyCreatePreSend] },
|
|
4470
|
+
},
|
|
4471
|
+
},
|
|
4472
|
+
{
|
|
4473
|
+
name: 'Get',
|
|
4474
|
+
value: 'get',
|
|
4475
|
+
description: 'Get a story: { id, type, status, caption, recipientsMode, recipientCount, recipients (null while QUEUED or outside retention, then redacted: true), createdAt, deliverAt (null when immediate), sentAt, revokedAt }. A scheduled story canceled with Delete has status CANCELED. An id that is not a story → 404.',
|
|
4476
|
+
action: 'Get a story',
|
|
4477
|
+
routing: {
|
|
4478
|
+
request: { method: 'GET', url: '=/stories/{{encodeURIComponent($parameter.storyId)}}' },
|
|
4479
|
+
},
|
|
4480
|
+
},
|
|
4481
|
+
{
|
|
4482
|
+
name: 'Delete',
|
|
4483
|
+
value: 'delete',
|
|
4484
|
+
description: 'Cancel a scheduled story (QUEUED with a future Deliver At) → { id, canceledAt }, status CANCELED, never billed. Revoke a sent (also delivered/read/played) story from the recipients\' devices → { id, revokedAt }. QUEUED and already due (retry once SENT) or already revoked → 409 STORY_NOT_REVOCABLE; more than 24 h after sentAt → 410 STORY_EXPIRED. Not billed.',
|
|
4485
|
+
action: 'Delete a story',
|
|
4486
|
+
routing: {
|
|
4487
|
+
request: { method: 'DELETE', url: '=/stories/{{encodeURIComponent($parameter.storyId)}}' },
|
|
4488
|
+
},
|
|
4489
|
+
},
|
|
4490
|
+
],
|
|
4491
|
+
default: 'create',
|
|
4492
|
+
},
|
|
4493
|
+
{
|
|
4494
|
+
displayName: 'Story ID',
|
|
4495
|
+
name: 'storyId',
|
|
4496
|
+
type: 'string',
|
|
4497
|
+
description: 'The id returned by Story → Create',
|
|
4498
|
+
displayOptions: { show: { resource: ['story'], operation: ['get', 'delete'] } },
|
|
4499
|
+
default: '',
|
|
4500
|
+
required: true,
|
|
4501
|
+
},
|
|
4502
|
+
{
|
|
4503
|
+
displayName: 'Type',
|
|
4504
|
+
name: 'storyType',
|
|
4505
|
+
type: 'options',
|
|
4506
|
+
options: [
|
|
4507
|
+
{ name: 'Text', value: 'text' },
|
|
4508
|
+
{ name: 'Image', value: 'image' },
|
|
4509
|
+
{ name: 'Video', value: 'video' },
|
|
4510
|
+
],
|
|
4511
|
+
displayOptions: { show: { resource: ['story'], operation: ['create'] } },
|
|
4512
|
+
default: 'text',
|
|
4513
|
+
},
|
|
4514
|
+
{
|
|
4515
|
+
displayName: 'Text',
|
|
4516
|
+
name: 'storyText',
|
|
4517
|
+
type: 'string',
|
|
4518
|
+
typeOptions: { rows: 3 },
|
|
4519
|
+
description: 'Story text (1–700 characters)',
|
|
4520
|
+
displayOptions: { show: { resource: ['story'], operation: ['create'], storyType: ['text'] } },
|
|
4521
|
+
default: '',
|
|
4522
|
+
required: true,
|
|
4523
|
+
},
|
|
4524
|
+
{
|
|
4525
|
+
displayName: 'Background Color',
|
|
4526
|
+
name: 'storyBackgroundColor',
|
|
4527
|
+
type: 'string',
|
|
4528
|
+
placeholder: '#25D366',
|
|
4529
|
+
description: '#RRGGBB or #AARRGGBB. Blank = #128C7E.',
|
|
4530
|
+
displayOptions: { show: { resource: ['story'], operation: ['create'], storyType: ['text'] } },
|
|
4531
|
+
default: '',
|
|
4532
|
+
},
|
|
4533
|
+
{
|
|
4534
|
+
displayName: 'Text Color',
|
|
4535
|
+
name: 'storyTextColor',
|
|
4536
|
+
type: 'string',
|
|
4537
|
+
placeholder: '#FFFFFF',
|
|
4538
|
+
description: '#RRGGBB or #AARRGGBB. Blank = white, or black/white by the background luminance.',
|
|
4539
|
+
displayOptions: { show: { resource: ['story'], operation: ['create'], storyType: ['text'] } },
|
|
4540
|
+
default: '',
|
|
4541
|
+
},
|
|
4542
|
+
{
|
|
4543
|
+
displayName: 'Font',
|
|
4544
|
+
name: 'storyFont',
|
|
4545
|
+
type: 'options',
|
|
4546
|
+
options: exports.STORY_FONT_OPTIONS,
|
|
4547
|
+
displayOptions: { show: { resource: ['story'], operation: ['create'], storyType: ['text'] } },
|
|
4548
|
+
default: 'system',
|
|
4549
|
+
},
|
|
4550
|
+
{
|
|
4551
|
+
displayName: 'Media URL',
|
|
4552
|
+
name: 'storyMediaUrl',
|
|
4553
|
+
type: 'string',
|
|
4554
|
+
placeholder: 'https://example.com/image.jpg',
|
|
4555
|
+
description: 'Public https URL of the image or video (max 100 MiB; webp is converted to jpeg)',
|
|
4556
|
+
displayOptions: {
|
|
4557
|
+
show: { resource: ['story'], operation: ['create'], storyType: ['image', 'video'] },
|
|
4558
|
+
},
|
|
4559
|
+
default: '',
|
|
4560
|
+
required: true,
|
|
4561
|
+
},
|
|
4562
|
+
{
|
|
4563
|
+
displayName: 'Caption',
|
|
4564
|
+
name: 'storyCaption',
|
|
4565
|
+
type: 'string',
|
|
4566
|
+
description: 'Optional caption (max 1024 characters)',
|
|
4567
|
+
displayOptions: { show: { resource: ['story'], operation: ['create'], storyType: ['image', 'video'] } },
|
|
4568
|
+
default: '',
|
|
4569
|
+
},
|
|
4570
|
+
{
|
|
4571
|
+
displayName: 'Recipients',
|
|
4572
|
+
name: 'storyRecipients',
|
|
4573
|
+
type: 'string',
|
|
4574
|
+
placeholder: '5511999999999, 5521988887777',
|
|
4575
|
+
description: 'Optional. Comma-separated E.164 numbers without + (or JIDs) who see the story, up to 5000 (more is refused with 400). Blank = the WhatsApp privacy settings of the device decide.',
|
|
4576
|
+
displayOptions: { show: { resource: ['story'], operation: ['create'] } },
|
|
4577
|
+
default: '',
|
|
4578
|
+
},
|
|
4579
|
+
{
|
|
4580
|
+
displayName: 'Deliver At',
|
|
4581
|
+
name: 'storyDeliverAt',
|
|
4582
|
+
type: 'dateTime',
|
|
4583
|
+
description: 'Optional. Schedule the story (sent as deliverAt, ISO-8601 in UTC). Past/now = sent immediately; no maximum ahead. The Media URL is downloaded at SEND time, so it must still be reachable then. Billed only when it goes out; Delete before then cancels it. Blank = sent now.',
|
|
4584
|
+
displayOptions: { show: { resource: ['story'], operation: ['create'] } },
|
|
4585
|
+
default: '',
|
|
4586
|
+
},
|
|
4587
|
+
{
|
|
4588
|
+
displayName: 'Idempotency Key',
|
|
4589
|
+
name: 'storyIdempotencyKey',
|
|
4590
|
+
type: 'string',
|
|
4591
|
+
description: 'Optional. Sent as the Idempotency-Key header, never in the body. REUSE THE SAME KEY when retrying the same story: the API returns the first accepted response instead of posting again. Blank = not sent.',
|
|
4592
|
+
displayOptions: { show: { resource: ['story'], operation: ['create'] } },
|
|
4593
|
+
default: '',
|
|
4594
|
+
},
|
|
4382
4595
|
],
|
|
4383
4596
|
};
|
|
4384
4597
|
}
|