@chirpie/n8n-nodes-chirpie 0.1.1 → 0.2.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/README.md +25 -11
- package/dist/nodes/Chirpie/Chirpie.node.js +6 -0
- package/dist/nodes/Chirpie/Chirpie.node.js.map +1 -1
- package/dist/nodes/Chirpie/resources/account.js +47 -0
- package/dist/nodes/Chirpie/resources/account.js.map +1 -1
- package/dist/nodes/Chirpie/resources/analytics.js +29 -0
- package/dist/nodes/Chirpie/resources/analytics.js.map +1 -1
- package/dist/nodes/Chirpie/resources/media.d.ts +2 -0
- package/dist/nodes/Chirpie/resources/media.js +80 -0
- package/dist/nodes/Chirpie/resources/media.js.map +1 -0
- package/dist/nodes/Chirpie/resources/post.js +194 -4
- package/dist/nodes/Chirpie/resources/post.js.map +1 -1
- package/dist/nodes/Chirpie/resources/thread.js +12 -1
- package/dist/nodes/Chirpie/resources/thread.js.map +1 -1
- package/dist/nodes/Chirpie/shared/descriptions.d.ts +22 -2
- package/dist/nodes/Chirpie/shared/descriptions.js +252 -2
- package/dist/nodes/Chirpie/shared/descriptions.js.map +1 -1
- package/dist/package.json +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @chirpie/n8n-nodes-chirpie
|
|
2
2
|
|
|
3
|
-
An [n8n](https://n8n.io) community node for [Chirpie](https://chirpie.ai)
|
|
3
|
+
An [n8n](https://n8n.io) community node for [Chirpie](https://chirpie.ai): one node that posts to every account you have connected, with scheduling, threads, drafts, and analytics. X/Twitter, Bluesky, LinkedIn, Mastodon and Telegram connect today; Threads, Instagram, Facebook and more are coming soon.
|
|
4
4
|
|
|
5
5
|
The node is available to n8n AI Agents as a tool, so an agent can list your connected accounts and publish on its own.
|
|
6
6
|
|
|
@@ -26,14 +26,14 @@ Restart n8n. "Chirpie" then appears in the nodes panel.
|
|
|
26
26
|
|
|
27
27
|
### n8n Cloud
|
|
28
28
|
|
|
29
|
-
n8n Cloud only allows installing community nodes that n8n has verified. This node isn't verified yet
|
|
29
|
+
n8n Cloud only allows installing community nodes that n8n has verified. This node isn't verified yet. Once it is, it will be installable straight from the nodes panel on Cloud, with no npm step. Until then, use a self-hosted instance.
|
|
30
30
|
|
|
31
31
|
## Credentials
|
|
32
32
|
|
|
33
33
|
1. Create an API key at [chirpie.ai/dashboard/keys](https://chirpie.ai/dashboard/keys). Keys start with `chirpie_sk_`.
|
|
34
34
|
2. In n8n, add a new **Chirpie API** credential and paste the key.
|
|
35
35
|
3. Leave **Base URL** at `https://chirpie.ai`.
|
|
36
|
-
4. Select **Test
|
|
36
|
+
4. Select **Test**. The credential calls `GET /api/v1/accounts` and confirms the key works.
|
|
37
37
|
|
|
38
38
|
Connect your social accounts once at [chirpie.ai/dashboard/accounts](https://chirpie.ai/dashboard/accounts); the node uses whatever is connected there.
|
|
39
39
|
|
|
@@ -41,17 +41,31 @@ Connect your social accounts once at [chirpie.ai/dashboard/accounts](https://chi
|
|
|
41
41
|
|
|
42
42
|
| Resource | Operation | What it does |
|
|
43
43
|
|---|---|---|
|
|
44
|
-
|
|
|
44
|
+
| Media | Upload | Upload an image or video from the item's binary data, and get the ID a post can attach. **Options → Idempotency Key** makes a retried item safe |
|
|
45
|
+
| Post | Create | Publish a post immediately, or schedule it with **Schedule At**, to one account or to several at once. **Options → First Comment** publishes a comment under the post as soon as it goes out, **Options → Instagram Placement** and **Options → Facebook Placement** publish it as a story or a reel instead of a feed post, **Options → Timezone** reads a **Schedule At** with no offset in an IANA zone such as `America/New_York`, and **Options → Idempotency Key** stops a retried item publishing twice |
|
|
45
46
|
| Post | Get | Fetch a single post by ID |
|
|
46
|
-
| Post | Get Many | List posts, filtered by status or
|
|
47
|
-
| Post |
|
|
48
|
-
|
|
|
47
|
+
| Post | Get Many | List posts, filtered by status, account, or group, with pagination. Turn on **Include Hidden** for the ones you hid |
|
|
48
|
+
| Post | Update | Edit a post that has not published yet, or finish a draft and schedule it |
|
|
49
|
+
| Post | Publish | Send a saved draft now, checking it in full and charging it as a post |
|
|
50
|
+
| Post | Retry First Comment | Post a first comment that failed, again. It re-sends the text the post already carries |
|
|
51
|
+
| Post | Delete | Take a post down from the social platform. Chirpie keeps it, marked deleted. A published TikTok post cannot be deleted, and nor can an Instagram post on an account connected by signing in with Instagram rather than through a Facebook Page; both refuse with `delete_unsupported` |
|
|
52
|
+
| Post | Hide | Hide a post from your Chirpie listings. Nothing reaches the social platform |
|
|
53
|
+
| Post | Unhide | Put a hidden post back in your listings |
|
|
54
|
+
| Thread | Create | Publish a 2–25 post thread, immediately or scheduled, with an optional **First Comment** published under its last part. A thread is atomic: if any part fails, the parts already published are deleted and the quota refunded. A thread publishes to the feed, so it takes the feed options (**Instagram Collaborators**, **Facebook Link**) and no placement. **Timezone** and **Idempotency Key** work as they do on a post |
|
|
49
55
|
| Account | Get Many | List the social accounts connected to your Chirpie workspace |
|
|
50
|
-
| Analytic | Get | Fetch engagement metrics for a published post |
|
|
56
|
+
| Analytic | Get | Fetch engagement metrics for a published post. **Options → Refresh** asks the platform now instead of reading the stored snapshot, allowed once per post every 30 minutes |
|
|
51
57
|
|
|
52
|
-
**Post → Create** takes an **Account ID** (from Account → Get Many), the **Text**, and optionally **Media URLs** (a comma-separated list of public image or video URLs) and **Schedule At**.
|
|
58
|
+
**Post → Create** takes an **Account ID** (from Account → Get Many), the **Text**, and optionally **Media IDs** (from Media → Upload), **Media URLs** (a comma-separated list of public image or video URLs) and **Schedule At**. Use Media IDs or Media URLs, not both.
|
|
53
59
|
|
|
54
|
-
**
|
|
60
|
+
**Schedule At** accepts any n8n datetime. A value carrying an offset, which is what the date picker and `$now` both produce, is converted to UTC before sending. A value with no offset is sent exactly as written and read by Chirpie in **Options → Timezone**, or in the timezone saved on the account, with daylight saving worked out for the date you named. Set **Options → Idempotency Key** from something stable across a retry of the same item, such as the execution ID plus the item index, and a retried item replays the first answer for 24 hours rather than publishing again.
|
|
61
|
+
|
|
62
|
+
To publish the same post to several accounts in one call, leave **Account ID** empty and fill **Account IDs** instead: a comma-separated list of up to 25 account IDs. The output item is then a `group_id` plus one `results` entry per account, in the order they were named, so an account the platform refused is reported there while the others stay published. Pass that `group_id` to **Post → Get Many**'s **Group ID** filter to read the whole group back.
|
|
63
|
+
|
|
64
|
+
**Options → Draft** on **Post → Create** and **Thread → Create** saves the content without sending it: nothing reaches the platform and nothing counts against your monthly quota. Find what is waiting with **Post → Get Many** and a **Status** of `draft`, then send it with **Post → Publish**, or queue it with **Post → Update** and a **Schedule At**. Switch **Update Fields → Draft** on as well to change only the time a draft remembers. Everything a create checks is checked at that point, so a draft that would be refused stays a draft, untouched.
|
|
65
|
+
|
|
66
|
+
**Media → Upload** reads the file from the item's binary data, so a file that arrived from an earlier node can be attached without ever having a public URL. The file type is read from the file itself, so a wrong extension does not matter.
|
|
67
|
+
|
|
68
|
+
**Thread → Create** takes an **Account ID** and a list of posts, each with its own text and optional media, given as Media URLs or as Media IDs from **Media -> Upload**. On X, Bluesky, Threads, Mastodon, and Telegram each post replies to the one before it; on platforms without native threading each is published standalone.
|
|
55
69
|
|
|
56
70
|
Every operation returns the unwrapped Chirpie response, so `id`, `status`, `platform_post_id`, and the rest are available directly on the output item.
|
|
57
71
|
|
|
@@ -63,7 +77,7 @@ Import it with **Workflows → Import from File**, then set your OpenAI and Chir
|
|
|
63
77
|
|
|
64
78
|
## Compatibility
|
|
65
79
|
|
|
66
|
-
Requires n8n 1.x or later with community nodes enabled, and Node.js 22 or later. The package has no runtime dependencies
|
|
80
|
+
Requires n8n 1.x or later with community nodes enabled, and Node.js 22 or later. The package has no runtime dependencies: it talks to the Chirpie REST API through n8n's built-in HTTP helper.
|
|
67
81
|
|
|
68
82
|
## Development
|
|
69
83
|
|
|
@@ -4,6 +4,7 @@ exports.Chirpie = void 0;
|
|
|
4
4
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
5
|
const account_1 = require("./resources/account");
|
|
6
6
|
const analytics_1 = require("./resources/analytics");
|
|
7
|
+
const media_1 = require("./resources/media");
|
|
7
8
|
const post_1 = require("./resources/post");
|
|
8
9
|
const thread_1 = require("./resources/thread");
|
|
9
10
|
class Chirpie {
|
|
@@ -50,6 +51,10 @@ class Chirpie {
|
|
|
50
51
|
name: 'Analytic',
|
|
51
52
|
value: 'analytics',
|
|
52
53
|
},
|
|
54
|
+
{
|
|
55
|
+
name: 'Media',
|
|
56
|
+
value: 'media',
|
|
57
|
+
},
|
|
53
58
|
{
|
|
54
59
|
name: 'Post',
|
|
55
60
|
value: 'post',
|
|
@@ -61,6 +66,7 @@ class Chirpie {
|
|
|
61
66
|
],
|
|
62
67
|
default: 'post',
|
|
63
68
|
},
|
|
69
|
+
...media_1.mediaDescription,
|
|
64
70
|
...post_1.postDescription,
|
|
65
71
|
...thread_1.threadDescription,
|
|
66
72
|
...account_1.accountDescription,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chirpie.node.js","sourceRoot":"","sources":["../../../nodes/Chirpie/Chirpie.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,iDAAyD;AACzD,qDAA6D;AAC7D,2CAAmD;AACnD,+CAAuD;AAEvD,MAAa,OAAO;IAApB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,SAAS;YAGf,IAAI,EAAE,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,uBAAuB,EAAE;YAClE,KAAK,EAAE,CAAC,QAAQ,CAAC;YACjB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EACV,iHAAiH;YAClH,QAAQ,EAAE;gBACT,IAAI,EAAE,SAAS;aACf;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,YAAY;oBAClB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE,6GAA6G;gBACtH,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBAClC;aACD;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,SAAS;4BACf,KAAK,EAAE,SAAS;yBAChB;wBACD;4BACC,IAAI,EAAE,UAAU;4BAChB,KAAK,EAAE,WAAW;yBAClB;wBACD;4BACC,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,MAAM;yBACb;wBACD;4BACC,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,QAAQ;yBACf;qBACD;oBACD,OAAO,EAAE,MAAM;iBACf;gBACD,GAAG,sBAAe;gBAClB,GAAG,0BAAiB;gBACpB,GAAG,4BAAkB;gBACrB,GAAG,gCAAoB;aACvB;SACD,CAAC;IACH,CAAC;CAAA;
|
|
1
|
+
{"version":3,"file":"Chirpie.node.js","sourceRoot":"","sources":["../../../nodes/Chirpie/Chirpie.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,iDAAyD;AACzD,qDAA6D;AAC7D,6CAAqD;AACrD,2CAAmD;AACnD,+CAAuD;AAEvD,MAAa,OAAO;IAApB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,SAAS;YAGf,IAAI,EAAE,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,uBAAuB,EAAE;YAClE,KAAK,EAAE,CAAC,QAAQ,CAAC;YACjB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EACV,iHAAiH;YAClH,QAAQ,EAAE;gBACT,IAAI,EAAE,SAAS;aACf;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,YAAY;oBAClB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE,6GAA6G;gBACtH,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBAClC;aACD;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,SAAS;4BACf,KAAK,EAAE,SAAS;yBAChB;wBACD;4BACC,IAAI,EAAE,UAAU;4BAChB,KAAK,EAAE,WAAW;yBAClB;wBACD;4BACC,IAAI,EAAE,OAAO;4BACb,KAAK,EAAE,OAAO;yBACd;wBACD;4BACC,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,MAAM;yBACb;wBACD;4BACC,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,QAAQ;yBACf;qBACD;oBACD,OAAO,EAAE,MAAM;iBACf;gBACD,GAAG,wBAAgB;gBACnB,GAAG,sBAAe;gBAClB,GAAG,0BAAiB;gBACpB,GAAG,4BAAkB;gBACrB,GAAG,gCAAoB;aACvB;SACD,CAAC;IACH,CAAC;CAAA;AApED,0BAoEC"}
|
|
@@ -9,6 +9,10 @@ const showOnlyForAccountGetMany = {
|
|
|
9
9
|
...showOnlyForAccounts,
|
|
10
10
|
operation: ['getAll'],
|
|
11
11
|
};
|
|
12
|
+
const showOnlyForAccountToggle = {
|
|
13
|
+
...showOnlyForAccounts,
|
|
14
|
+
operation: ['activate', 'deactivate'],
|
|
15
|
+
};
|
|
12
16
|
exports.accountDescription = [
|
|
13
17
|
{
|
|
14
18
|
displayName: 'Operation',
|
|
@@ -19,6 +23,38 @@ exports.accountDescription = [
|
|
|
19
23
|
show: showOnlyForAccounts,
|
|
20
24
|
},
|
|
21
25
|
options: [
|
|
26
|
+
{
|
|
27
|
+
name: 'Activate',
|
|
28
|
+
value: 'activate',
|
|
29
|
+
action: 'Activate an account',
|
|
30
|
+
description: 'Switch a connected account on so it can publish. Fails if the plan account limit is already reached.',
|
|
31
|
+
routing: {
|
|
32
|
+
request: {
|
|
33
|
+
method: 'PATCH',
|
|
34
|
+
url: '=/accounts/{{$parameter.accountId}}',
|
|
35
|
+
body: {
|
|
36
|
+
is_active: true,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
output: descriptions_1.unwrapDataOutput,
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: 'Deactivate',
|
|
44
|
+
value: 'deactivate',
|
|
45
|
+
action: 'Deactivate an account',
|
|
46
|
+
description: 'Switch a connected account off. It stays connected and can be switched back on.',
|
|
47
|
+
routing: {
|
|
48
|
+
request: {
|
|
49
|
+
method: 'PATCH',
|
|
50
|
+
url: '=/accounts/{{$parameter.accountId}}',
|
|
51
|
+
body: {
|
|
52
|
+
is_active: false,
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
output: descriptions_1.unwrapDataOutput,
|
|
56
|
+
},
|
|
57
|
+
},
|
|
22
58
|
{
|
|
23
59
|
name: 'Get Many',
|
|
24
60
|
value: 'getAll',
|
|
@@ -35,6 +71,17 @@ exports.accountDescription = [
|
|
|
35
71
|
],
|
|
36
72
|
default: 'getAll',
|
|
37
73
|
},
|
|
74
|
+
{
|
|
75
|
+
displayName: 'Account ID',
|
|
76
|
+
name: 'accountId',
|
|
77
|
+
type: 'string',
|
|
78
|
+
default: '',
|
|
79
|
+
required: true,
|
|
80
|
+
displayOptions: {
|
|
81
|
+
show: showOnlyForAccountToggle,
|
|
82
|
+
},
|
|
83
|
+
description: 'ID of the connected account to switch on or off',
|
|
84
|
+
},
|
|
38
85
|
{
|
|
39
86
|
displayName: 'Return All',
|
|
40
87
|
name: 'returnAll',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.js","sourceRoot":"","sources":["../../../../nodes/Chirpie/resources/account.ts"],"names":[],"mappings":";;;AACA,yDAA0D;AAE1D,MAAM,mBAAmB,GAAG;IAC3B,QAAQ,EAAE,CAAC,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,yBAAyB,GAAG;IACjC,GAAG,mBAAmB;IACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;CACrB,CAAC;AAEW,QAAA,kBAAkB,GAAsB;IACpD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE,mBAAmB;SACzB;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,mBAAmB;gBAC3B,WAAW,EAAE,8DAA8D;gBAC3E,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,WAAW;qBAChB;oBACD,MAAM,EAAE,+BAAgB;iBACxB;aACD;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QACb,cAAc,EAAE;YACf,IAAI,EAAE,yBAAyB;SAC/B;QACD,WAAW,EAAE,2DAA2D;KACxE;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;SACX;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,yBAAyB;gBAC5B,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,WAAW,EAAE,iCAAiC;QAC9C,OAAO,EAAE;YACR,MAAM,EAAE;gBACP,UAAU,EAAE,aAAa;aACzB;SACD;KACD;CACD,CAAC"}
|
|
1
|
+
{"version":3,"file":"account.js","sourceRoot":"","sources":["../../../../nodes/Chirpie/resources/account.ts"],"names":[],"mappings":";;;AACA,yDAA0D;AAE1D,MAAM,mBAAmB,GAAG;IAC3B,QAAQ,EAAE,CAAC,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,yBAAyB,GAAG;IACjC,GAAG,mBAAmB;IACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;CACrB,CAAC;AAEF,MAAM,wBAAwB,GAAG;IAChC,GAAG,mBAAmB;IACtB,SAAS,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC;CACrC,CAAC;AAEW,QAAA,kBAAkB,GAAsB;IACpD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE,mBAAmB;SACzB;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,UAAU;gBACjB,MAAM,EAAE,qBAAqB;gBAC7B,WAAW,EACV,sGAAsG;gBACvG,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,OAAO;wBACf,GAAG,EAAE,qCAAqC;wBAC1C,IAAI,EAAE;4BACL,SAAS,EAAE,IAAI;yBACf;qBACD;oBACD,MAAM,EAAE,+BAAgB;iBACxB;aACD;YACD;gBACC,IAAI,EAAE,YAAY;gBAClB,KAAK,EAAE,YAAY;gBACnB,MAAM,EAAE,uBAAuB;gBAC/B,WAAW,EACV,iFAAiF;gBAClF,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,OAAO;wBACf,GAAG,EAAE,qCAAqC;wBAC1C,IAAI,EAAE;4BACL,SAAS,EAAE,KAAK;yBAChB;qBACD;oBACD,MAAM,EAAE,+BAAgB;iBACxB;aACD;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,mBAAmB;gBAC3B,WAAW,EAAE,8DAA8D;gBAC3E,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,WAAW;qBAChB;oBACD,MAAM,EAAE,+BAAgB;iBACxB;aACD;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IAKD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,wBAAwB;SAC9B;QACD,WAAW,EAAE,iDAAiD;KAC9D;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QACb,cAAc,EAAE;YACf,IAAI,EAAE,yBAAyB;SAC/B;QACD,WAAW,EAAE,2DAA2D;KACxE;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;SACX;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,yBAAyB;gBAC5B,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,WAAW,EAAE,iCAAiC;QAC9C,OAAO,EAAE;YACR,MAAM,EAAE;gBACP,UAAU,EAAE,aAAa;aACzB;SACD;KACD;CACD,CAAC"}
|
|
@@ -46,5 +46,34 @@ exports.analyticsDescription = [
|
|
|
46
46
|
},
|
|
47
47
|
description: 'ID of the published post to fetch metrics for',
|
|
48
48
|
},
|
|
49
|
+
{
|
|
50
|
+
displayName: 'Options',
|
|
51
|
+
name: 'options',
|
|
52
|
+
type: 'collection',
|
|
53
|
+
placeholder: 'Add option',
|
|
54
|
+
default: {},
|
|
55
|
+
displayOptions: {
|
|
56
|
+
show: {
|
|
57
|
+
...showOnlyForAnalytics,
|
|
58
|
+
operation: ['get'],
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
options: [
|
|
62
|
+
{
|
|
63
|
+
displayName: 'Refresh',
|
|
64
|
+
name: 'refresh',
|
|
65
|
+
type: 'boolean',
|
|
66
|
+
default: false,
|
|
67
|
+
description: 'Whether to ask the platform for the current numbers instead of reading the stored snapshot. Allowed once per post every 30 minutes; past that the step fails with a Retry-After.',
|
|
68
|
+
routing: {
|
|
69
|
+
send: {
|
|
70
|
+
type: 'query',
|
|
71
|
+
property: 'refresh',
|
|
72
|
+
value: '={{ $value ? "true" : undefined }}',
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
},
|
|
49
78
|
];
|
|
50
79
|
//# sourceMappingURL=analytics.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../../nodes/Chirpie/resources/analytics.ts"],"names":[],"mappings":";;;AACA,yDAA0D;AAE1D,MAAM,oBAAoB,GAAG;IAC5B,QAAQ,EAAE,CAAC,WAAW,CAAC;CACvB,CAAC;AAEW,QAAA,oBAAoB,GAAsB;IACtD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE,oBAAoB;SAC1B;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,0BAA0B;gBAClC,WAAW,EAAE,kDAAkD;gBAC/D,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,yCAAyC;qBAC9C;oBACD,MAAM,EAAE,+BAAgB;iBACxB;aACD;SACD;QACD,OAAO,EAAE,KAAK;KACd;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,sCAAsC;QACnD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,oBAAoB;gBACvB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,WAAW,EAAE,+CAA+C;KAC5D;CACD,CAAC"}
|
|
1
|
+
{"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../../nodes/Chirpie/resources/analytics.ts"],"names":[],"mappings":";;;AACA,yDAA0D;AAE1D,MAAM,oBAAoB,GAAG;IAC5B,QAAQ,EAAE,CAAC,WAAW,CAAC;CACvB,CAAC;AAEW,QAAA,oBAAoB,GAAsB;IACtD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE,oBAAoB;SAC1B;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,0BAA0B;gBAClC,WAAW,EAAE,kDAAkD;gBAC/D,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,yCAAyC;qBAC9C;oBACD,MAAM,EAAE,+BAAgB;iBACxB;aACD;SACD;QACD,OAAO,EAAE,KAAK;KACd;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,sCAAsC;QACnD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,oBAAoB;gBACvB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,WAAW,EAAE,+CAA+C;KAC5D;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,oBAAoB;gBACvB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EACV,kLAAkL;gBACnL,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,SAAS;wBAInB,KAAK,EAAE,oCAAoC;qBAC3C;iBACD;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.mediaDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../shared/descriptions");
|
|
5
|
+
const showOnlyForMedia = {
|
|
6
|
+
resource: ['media'],
|
|
7
|
+
};
|
|
8
|
+
async function sendBinaryFile(requestOptions) {
|
|
9
|
+
var _a;
|
|
10
|
+
const propertyName = this.getNodeParameter('binaryPropertyName');
|
|
11
|
+
const binary = this.helpers.assertBinaryData(propertyName);
|
|
12
|
+
const buffer = await this.helpers.getBinaryDataBuffer(propertyName);
|
|
13
|
+
return {
|
|
14
|
+
...requestOptions,
|
|
15
|
+
body: {
|
|
16
|
+
data: buffer.toString('base64'),
|
|
17
|
+
filename: (_a = binary.fileName) !== null && _a !== void 0 ? _a : 'upload',
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
exports.mediaDescription = [
|
|
22
|
+
{
|
|
23
|
+
displayName: 'Operation',
|
|
24
|
+
name: 'operation',
|
|
25
|
+
type: 'options',
|
|
26
|
+
noDataExpression: true,
|
|
27
|
+
displayOptions: {
|
|
28
|
+
show: showOnlyForMedia,
|
|
29
|
+
},
|
|
30
|
+
options: [
|
|
31
|
+
{
|
|
32
|
+
name: 'Upload',
|
|
33
|
+
value: 'upload',
|
|
34
|
+
action: 'Upload a media file',
|
|
35
|
+
description: 'Upload an image or video and get the ID a post can attach',
|
|
36
|
+
routing: {
|
|
37
|
+
request: {
|
|
38
|
+
method: 'POST',
|
|
39
|
+
url: '/media',
|
|
40
|
+
},
|
|
41
|
+
send: {
|
|
42
|
+
preSend: [descriptions_1.sendIdempotencyKey, sendBinaryFile],
|
|
43
|
+
},
|
|
44
|
+
output: descriptions_1.unwrapDataOutput,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
default: 'upload',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
displayName: 'Input Binary Field',
|
|
52
|
+
name: 'binaryPropertyName',
|
|
53
|
+
type: 'string',
|
|
54
|
+
default: 'data',
|
|
55
|
+
required: true,
|
|
56
|
+
hint: 'The name of the input binary field containing the file to upload',
|
|
57
|
+
displayOptions: {
|
|
58
|
+
show: {
|
|
59
|
+
...showOnlyForMedia,
|
|
60
|
+
operation: ['upload'],
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
description: 'Name of the binary field holding the image or video. The file type is read from the file itself, so a wrong extension does not matter. Uploads are limited to 3 MB; attach a larger file with Media URLs on the post instead.',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
displayName: 'Options',
|
|
67
|
+
name: 'options',
|
|
68
|
+
type: 'collection',
|
|
69
|
+
placeholder: 'Add option',
|
|
70
|
+
default: {},
|
|
71
|
+
displayOptions: {
|
|
72
|
+
show: {
|
|
73
|
+
...showOnlyForMedia,
|
|
74
|
+
operation: ['upload'],
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
options: [descriptions_1.idempotencyKeyField],
|
|
78
|
+
},
|
|
79
|
+
];
|
|
80
|
+
//# sourceMappingURL=media.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media.js","sourceRoot":"","sources":["../../../../nodes/Chirpie/resources/media.ts"],"names":[],"mappings":";;;AAKA,yDAIgC;AAEhC,MAAM,gBAAgB,GAAG;IACxB,QAAQ,EAAE,CAAC,OAAO,CAAC;CACnB,CAAC;AAeF,KAAK,UAAU,cAAc,CAE5B,cAAmC;;IAEnC,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,CAAW,CAAC;IAC3E,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;IAC3D,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAC;IAEpE,OAAO;QACN,GAAG,cAAc;QACjB,IAAI,EAAE;YACL,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC;YAC/B,QAAQ,EAAE,MAAA,MAAM,CAAC,QAAQ,mCAAI,QAAQ;SACrC;KACD,CAAC;AACH,CAAC;AAEY,QAAA,gBAAgB,GAAsB;IAClD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE,gBAAgB;SACtB;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,qBAAqB;gBAC7B,WAAW,EAAE,2DAA2D;gBACxE,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,QAAQ;qBACb;oBACD,IAAI,EAAE;wBACL,OAAO,EAAE,CAAC,iCAAkB,EAAE,cAAc,CAAC;qBAC7C;oBACD,MAAM,EAAE,+BAAgB;iBACxB;aACD;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,kEAAkE;QACxE,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,gBAAgB;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,WAAW,EACV,+NAA+N;KAChO;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,gBAAgB;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,CAAC,kCAAmB,CAAC;KAC9B;CACD,CAAC"}
|
|
@@ -9,10 +9,34 @@ const showOnlyForPostCreate = {
|
|
|
9
9
|
...showOnlyForPosts,
|
|
10
10
|
operation: ['create'],
|
|
11
11
|
};
|
|
12
|
+
const showOnlyForPostUpdate = {
|
|
13
|
+
...showOnlyForPosts,
|
|
14
|
+
operation: ['update'],
|
|
15
|
+
};
|
|
12
16
|
const showOnlyForPostGetMany = {
|
|
13
17
|
...showOnlyForPosts,
|
|
14
18
|
operation: ['getAll'],
|
|
15
19
|
};
|
|
20
|
+
const showOnlyForPostPublish = {
|
|
21
|
+
...showOnlyForPosts,
|
|
22
|
+
operation: ['publish'],
|
|
23
|
+
};
|
|
24
|
+
const updateTextField = {
|
|
25
|
+
displayName: 'Text',
|
|
26
|
+
name: 'text',
|
|
27
|
+
type: 'string',
|
|
28
|
+
typeOptions: {
|
|
29
|
+
rows: 4,
|
|
30
|
+
},
|
|
31
|
+
default: '',
|
|
32
|
+
description: 'Replacement content for the post. The maximum length depends on the platform the account belongs to.',
|
|
33
|
+
routing: {
|
|
34
|
+
send: {
|
|
35
|
+
type: 'body',
|
|
36
|
+
property: 'text',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
};
|
|
16
40
|
exports.postDescription = [
|
|
17
41
|
{
|
|
18
42
|
displayName: 'Operation',
|
|
@@ -33,6 +57,9 @@ exports.postDescription = [
|
|
|
33
57
|
method: 'POST',
|
|
34
58
|
url: '/posts',
|
|
35
59
|
},
|
|
60
|
+
send: {
|
|
61
|
+
preSend: [descriptions_1.sendIdempotencyKey],
|
|
62
|
+
},
|
|
36
63
|
output: descriptions_1.unwrapDataOutput,
|
|
37
64
|
},
|
|
38
65
|
},
|
|
@@ -40,7 +67,7 @@ exports.postDescription = [
|
|
|
40
67
|
name: 'Delete',
|
|
41
68
|
value: 'delete',
|
|
42
69
|
action: 'Delete a post',
|
|
43
|
-
description: '
|
|
70
|
+
description: 'Take a post down from the social platform. Chirpie keeps the post, marked deleted. A published TikTok post cannot be deleted, and nor can an Instagram post on an account connected by signing in with Instagram rather than through a Facebook Page; both refuse with delete_unsupported.',
|
|
44
71
|
routing: {
|
|
45
72
|
request: {
|
|
46
73
|
method: 'DELETE',
|
|
@@ -49,6 +76,32 @@ exports.postDescription = [
|
|
|
49
76
|
output: descriptions_1.unwrapDataOutput,
|
|
50
77
|
},
|
|
51
78
|
},
|
|
79
|
+
{
|
|
80
|
+
name: 'Retry First Comment',
|
|
81
|
+
value: 'retryFirstComment',
|
|
82
|
+
action: 'Retry a first comment',
|
|
83
|
+
description: 'Post a first comment that failed, again. It re-sends the text the post already carries, so change that with Update first if it needs changing.',
|
|
84
|
+
routing: {
|
|
85
|
+
request: {
|
|
86
|
+
method: 'POST',
|
|
87
|
+
url: '=/posts/{{$parameter.postId}}/first-comment',
|
|
88
|
+
},
|
|
89
|
+
output: descriptions_1.unwrapDataOutput,
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: 'Hide',
|
|
94
|
+
value: 'hide',
|
|
95
|
+
action: 'Hide a post',
|
|
96
|
+
description: 'Hide a post from your Chirpie listings. Nothing reaches the social platform and Unhide puts it back.',
|
|
97
|
+
routing: {
|
|
98
|
+
request: {
|
|
99
|
+
method: 'POST',
|
|
100
|
+
url: '=/posts/{{$parameter.postId}}/hide',
|
|
101
|
+
},
|
|
102
|
+
output: descriptions_1.unwrapDataOutput,
|
|
103
|
+
},
|
|
104
|
+
},
|
|
52
105
|
{
|
|
53
106
|
name: 'Get',
|
|
54
107
|
value: 'get',
|
|
@@ -75,11 +128,59 @@ exports.postDescription = [
|
|
|
75
128
|
output: descriptions_1.unwrapDataOutput,
|
|
76
129
|
},
|
|
77
130
|
},
|
|
131
|
+
{
|
|
132
|
+
name: 'Publish',
|
|
133
|
+
value: 'publish',
|
|
134
|
+
action: 'Publish a draft',
|
|
135
|
+
description: 'Send a saved draft now, checking it in full and charging it as a post',
|
|
136
|
+
routing: {
|
|
137
|
+
request: {
|
|
138
|
+
method: 'PATCH',
|
|
139
|
+
url: '=/posts/{{$parameter.postId}}',
|
|
140
|
+
body: {
|
|
141
|
+
publish: true,
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
output: descriptions_1.unwrapDataOutput,
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name: 'Unhide',
|
|
149
|
+
value: 'unhide',
|
|
150
|
+
action: 'Unhide a post',
|
|
151
|
+
description: 'Put a hidden post back in your Chirpie listings. Nothing reaches the social platform.',
|
|
152
|
+
routing: {
|
|
153
|
+
request: {
|
|
154
|
+
method: 'POST',
|
|
155
|
+
url: '=/posts/{{$parameter.postId}}/unhide',
|
|
156
|
+
},
|
|
157
|
+
output: descriptions_1.unwrapDataOutput,
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: 'Update',
|
|
162
|
+
value: 'update',
|
|
163
|
+
action: 'Update a post',
|
|
164
|
+
description: 'Edit a post that has not published yet, or move it to a new time',
|
|
165
|
+
routing: {
|
|
166
|
+
request: {
|
|
167
|
+
method: 'PATCH',
|
|
168
|
+
url: '=/posts/{{$parameter.postId}}',
|
|
169
|
+
},
|
|
170
|
+
output: descriptions_1.unwrapDataOutput,
|
|
171
|
+
},
|
|
172
|
+
},
|
|
78
173
|
],
|
|
79
174
|
default: 'create',
|
|
80
175
|
},
|
|
81
176
|
{
|
|
82
|
-
...descriptions_1.
|
|
177
|
+
...descriptions_1.singleOrMultiAccountIdField,
|
|
178
|
+
displayOptions: {
|
|
179
|
+
show: showOnlyForPostCreate,
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
...descriptions_1.accountIdsField,
|
|
83
184
|
displayOptions: {
|
|
84
185
|
show: showOnlyForPostCreate,
|
|
85
186
|
},
|
|
@@ -113,7 +214,50 @@ exports.postDescription = [
|
|
|
113
214
|
displayOptions: {
|
|
114
215
|
show: showOnlyForPostCreate,
|
|
115
216
|
},
|
|
116
|
-
options: [
|
|
217
|
+
options: [
|
|
218
|
+
descriptions_1.draftField,
|
|
219
|
+
descriptions_1.facebookLinkField,
|
|
220
|
+
descriptions_1.facebookPlacementField,
|
|
221
|
+
descriptions_1.firstCommentField,
|
|
222
|
+
descriptions_1.idempotencyKeyField,
|
|
223
|
+
descriptions_1.instagramCollaboratorsField,
|
|
224
|
+
descriptions_1.instagramCoverField,
|
|
225
|
+
descriptions_1.instagramPlacementField,
|
|
226
|
+
descriptions_1.instagramShareToFeedField,
|
|
227
|
+
descriptions_1.instagramTrialReelField,
|
|
228
|
+
descriptions_1.instagramVideoCoverTimestampField,
|
|
229
|
+
descriptions_1.mediaIdsField,
|
|
230
|
+
descriptions_1.mediaUrlsField,
|
|
231
|
+
descriptions_1.scheduleAtField,
|
|
232
|
+
descriptions_1.timezoneField,
|
|
233
|
+
],
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
displayName: 'Update Fields',
|
|
237
|
+
name: 'updateFields',
|
|
238
|
+
type: 'collection',
|
|
239
|
+
placeholder: 'Add field',
|
|
240
|
+
default: {},
|
|
241
|
+
displayOptions: {
|
|
242
|
+
show: showOnlyForPostUpdate,
|
|
243
|
+
},
|
|
244
|
+
options: [
|
|
245
|
+
descriptions_1.facebookLinkField,
|
|
246
|
+
descriptions_1.facebookPlacementField,
|
|
247
|
+
descriptions_1.firstCommentField,
|
|
248
|
+
descriptions_1.instagramCollaboratorsField,
|
|
249
|
+
descriptions_1.instagramCoverField,
|
|
250
|
+
descriptions_1.instagramPlacementField,
|
|
251
|
+
descriptions_1.instagramShareToFeedField,
|
|
252
|
+
descriptions_1.instagramTrialReelField,
|
|
253
|
+
descriptions_1.instagramVideoCoverTimestampField,
|
|
254
|
+
descriptions_1.keepDraftField,
|
|
255
|
+
descriptions_1.mediaIdsField,
|
|
256
|
+
descriptions_1.mediaUrlsField,
|
|
257
|
+
descriptions_1.scheduleAtField,
|
|
258
|
+
descriptions_1.timezoneField,
|
|
259
|
+
updateTextField,
|
|
260
|
+
],
|
|
117
261
|
},
|
|
118
262
|
{
|
|
119
263
|
displayName: 'Post ID',
|
|
@@ -125,11 +269,30 @@ exports.postDescription = [
|
|
|
125
269
|
displayOptions: {
|
|
126
270
|
show: {
|
|
127
271
|
...showOnlyForPosts,
|
|
128
|
-
operation: [
|
|
272
|
+
operation: [
|
|
273
|
+
'get',
|
|
274
|
+
'update',
|
|
275
|
+
'delete',
|
|
276
|
+
'publish',
|
|
277
|
+
'hide',
|
|
278
|
+
'unhide',
|
|
279
|
+
'retryFirstComment',
|
|
280
|
+
],
|
|
129
281
|
},
|
|
130
282
|
},
|
|
131
283
|
description: 'ID of the post, as returned when it was created',
|
|
132
284
|
},
|
|
285
|
+
{
|
|
286
|
+
displayName: 'Publish Fields',
|
|
287
|
+
name: 'publishFields',
|
|
288
|
+
type: 'collection',
|
|
289
|
+
placeholder: 'Add field',
|
|
290
|
+
default: {},
|
|
291
|
+
displayOptions: {
|
|
292
|
+
show: showOnlyForPostPublish,
|
|
293
|
+
},
|
|
294
|
+
options: [updateTextField],
|
|
295
|
+
},
|
|
133
296
|
{
|
|
134
297
|
displayName: 'Return All',
|
|
135
298
|
name: 'returnAll',
|
|
@@ -206,6 +369,33 @@ exports.postDescription = [
|
|
|
206
369
|
},
|
|
207
370
|
},
|
|
208
371
|
},
|
|
372
|
+
{
|
|
373
|
+
displayName: 'Group ID',
|
|
374
|
+
name: 'groupId',
|
|
375
|
+
type: 'string',
|
|
376
|
+
default: '',
|
|
377
|
+
placeholder: '550e8400-e29b-41d4-a716-446655440000',
|
|
378
|
+
description: 'Return only the posts of one multi-account publish, using the group ID that call returned',
|
|
379
|
+
routing: {
|
|
380
|
+
send: {
|
|
381
|
+
type: 'query',
|
|
382
|
+
property: 'group_id',
|
|
383
|
+
},
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
displayName: 'Include Hidden',
|
|
388
|
+
name: 'includeHidden',
|
|
389
|
+
type: 'boolean',
|
|
390
|
+
default: false,
|
|
391
|
+
description: 'Whether to include posts you have hidden. Off by default on every filter.',
|
|
392
|
+
routing: {
|
|
393
|
+
send: {
|
|
394
|
+
type: 'query',
|
|
395
|
+
property: 'include_hidden',
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
},
|
|
209
399
|
{
|
|
210
400
|
displayName: 'Status',
|
|
211
401
|
name: 'status',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post.js","sourceRoot":"","sources":["../../../../nodes/Chirpie/resources/post.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"post.js","sourceRoot":"","sources":["../../../../nodes/Chirpie/resources/post.ts"],"names":[],"mappings":";;;AACA,yDAqBgC;AAEhC,MAAM,gBAAgB,GAAG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,EAAE;oBACzC,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;oBAC3C,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;iBACzC;gBACD,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,QAAQ;qBAClB;iBACD;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -35,6 +35,9 @@ exports.threadDescription = [
|
|
|
35
35
|
method: 'POST',
|
|
36
36
|
url: '/threads',
|
|
37
37
|
},
|
|
38
|
+
send: {
|
|
39
|
+
preSend: [descriptions_1.sendIdempotencyKey],
|
|
40
|
+
},
|
|
38
41
|
output: descriptions_1.unwrapDataOutput,
|
|
39
42
|
},
|
|
40
43
|
},
|
|
@@ -107,7 +110,15 @@ exports.threadDescription = [
|
|
|
107
110
|
displayOptions: {
|
|
108
111
|
show: showOnlyForThreadCreate,
|
|
109
112
|
},
|
|
110
|
-
options: [
|
|
113
|
+
options: [
|
|
114
|
+
descriptions_1.draftField,
|
|
115
|
+
descriptions_1.facebookLinkField,
|
|
116
|
+
descriptions_1.firstCommentField,
|
|
117
|
+
descriptions_1.idempotencyKeyField,
|
|
118
|
+
descriptions_1.instagramCollaboratorsField,
|
|
119
|
+
descriptions_1.scheduleAtField,
|
|
120
|
+
descriptions_1.timezoneField,
|
|
121
|
+
],
|
|
111
122
|
},
|
|
112
123
|
];
|
|
113
124
|
//# sourceMappingURL=thread.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.js","sourceRoot":"","sources":["../../../../nodes/Chirpie/resources/thread.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"thread.js","sourceRoot":"","sources":["../../../../nodes/Chirpie/resources/thread.ts"],"names":[],"mappings":";;;AACA,yDAWgC;AAEhC,MAAM,kBAAkB,GAAG;IAC1B,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACpB,C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AAM;gBACZ,MAAM,EAAE;oBACP;wBACC,WAAW,EAAE,MAAM;wBACnB,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE;4BACZ,IAAI,EAAE,CAAC;yBACP;wBACD,OAAO,EAAE,EAAE;wBACX,QAAQ,EAAE,IAAI;wBACd,WAAW,EAAE,oCAAoC;qBACjD;oBACD;wBACC,WAAW,EAAE,YAAY;wBACzB,IAAI,EAAE,WAAW;wBACjB,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,0DAA0D;wBACvE,WAAW,EACV,2EAA2E;qBAC5E;iBACD;aACD;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,OAAO;gBACjB,KAAK,EAAE,qBAAqB;aAC5B;SACD;KACD;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE,uBAAuB;SAC7B;QAKD,OAAO,EAAE;YACR,yBAAU;YACV,gCAAiB;YACjB,gCAAiB;YACjB,kCAAmB;YACnB,0CAA2B;YAC3B,8BAAe;YACf,4BAAa;SACb;KACD;CACD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { INodeProperties } from 'n8n-workflow';
|
|
1
|
+
import type { IExecuteSingleFunctions, IHttpRequestOptions, INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const mediaUrlsExpression = "={{ ($value ?? \"\").split(\",\").map((url) => url.trim()).filter((url) => url !== \"\") }}";
|
|
3
|
-
export declare const scheduleAtExpression = "={{ $value ? DateTime.fromISO($value.toString()).toUTC().toISO() : undefined }}";
|
|
3
|
+
export declare const scheduleAtExpression = "={{ $value ? (/T\\d/.test($value.toString()) && !/(Z|[+-]\\d{2}(:?\\d{2})?)$/.test($value.toString()) ? $value.toString() : DateTime.fromISO($value.toString()).toUTC().toISO()) : undefined }}";
|
|
4
4
|
export declare const unwrapDataOutput: {
|
|
5
5
|
postReceive: {
|
|
6
6
|
type: "rootProperty";
|
|
@@ -10,5 +10,25 @@ export declare const unwrapDataOutput: {
|
|
|
10
10
|
}[];
|
|
11
11
|
};
|
|
12
12
|
export declare const accountIdField: INodeProperties;
|
|
13
|
+
export declare const accountIdsExpression = "={{ (($value ?? \"\").split(\",\").map((id) => id.trim()).filter((id) => id !== \"\")).length ? ($value ?? \"\").split(\",\").map((id) => id.trim()).filter((id) => id !== \"\") : undefined }}";
|
|
14
|
+
export declare const singleOrMultiAccountIdField: INodeProperties;
|
|
15
|
+
export declare const accountIdsField: INodeProperties;
|
|
16
|
+
export declare const mediaIdsExpression = "={{ ($value ?? \"\").split(\",\").map((id) => id.trim()).filter((id) => id !== \"\") }}";
|
|
17
|
+
export declare const mediaIdsField: INodeProperties;
|
|
18
|
+
export declare const firstCommentField: INodeProperties;
|
|
19
|
+
export declare const collaboratorsExpression = "={{ ($value ?? \"\").split(\",\").map((name) => name.trim().replace(/^@/, \"\")).filter((name) => name !== \"\") }}";
|
|
20
|
+
export declare const instagramPlacementField: INodeProperties;
|
|
21
|
+
export declare const instagramCollaboratorsField: INodeProperties;
|
|
22
|
+
export declare const instagramCoverField: INodeProperties;
|
|
23
|
+
export declare const instagramVideoCoverTimestampField: INodeProperties;
|
|
24
|
+
export declare const instagramShareToFeedField: INodeProperties;
|
|
25
|
+
export declare const instagramTrialReelField: INodeProperties;
|
|
26
|
+
export declare const facebookPlacementField: INodeProperties;
|
|
27
|
+
export declare const facebookLinkField: INodeProperties;
|
|
13
28
|
export declare const mediaUrlsField: INodeProperties;
|
|
29
|
+
export declare const draftField: INodeProperties;
|
|
30
|
+
export declare const keepDraftField: INodeProperties;
|
|
31
|
+
export declare const timezoneField: INodeProperties;
|
|
32
|
+
export declare const idempotencyKeyField: INodeProperties;
|
|
33
|
+
export declare function sendIdempotencyKey(this: IExecuteSingleFunctions, requestOptions: IHttpRequestOptions): Promise<IHttpRequestOptions>;
|
|
14
34
|
export declare const scheduleAtField: INodeProperties;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.scheduleAtField = exports.mediaUrlsField = exports.accountIdField = exports.unwrapDataOutput = exports.scheduleAtExpression = exports.mediaUrlsExpression = void 0;
|
|
3
|
+
exports.scheduleAtField = exports.idempotencyKeyField = exports.timezoneField = exports.keepDraftField = exports.draftField = exports.mediaUrlsField = exports.facebookLinkField = exports.facebookPlacementField = exports.instagramTrialReelField = exports.instagramShareToFeedField = exports.instagramVideoCoverTimestampField = exports.instagramCoverField = exports.instagramCollaboratorsField = exports.instagramPlacementField = exports.collaboratorsExpression = exports.firstCommentField = exports.mediaIdsField = exports.mediaIdsExpression = exports.accountIdsField = exports.singleOrMultiAccountIdField = exports.accountIdsExpression = exports.accountIdField = exports.unwrapDataOutput = exports.scheduleAtExpression = exports.mediaUrlsExpression = void 0;
|
|
4
|
+
exports.sendIdempotencyKey = sendIdempotencyKey;
|
|
4
5
|
exports.mediaUrlsExpression = '={{ ($value ?? "").split(",").map((url) => url.trim()).filter((url) => url !== "") }}';
|
|
5
|
-
exports.scheduleAtExpression = '={{ $value ? DateTime.fromISO($value.toString()).toUTC().toISO() : undefined }}';
|
|
6
|
+
exports.scheduleAtExpression = '={{ $value ? (/T\\d/.test($value.toString()) && !/(Z|[+-]\\d{2}(:?\\d{2})?)$/.test($value.toString()) ? $value.toString() : DateTime.fromISO($value.toString()).toUTC().toISO()) : undefined }}';
|
|
6
7
|
exports.unwrapDataOutput = {
|
|
7
8
|
postReceive: [
|
|
8
9
|
{
|
|
@@ -28,6 +29,193 @@ exports.accountIdField = {
|
|
|
28
29
|
},
|
|
29
30
|
},
|
|
30
31
|
};
|
|
32
|
+
exports.accountIdsExpression = '={{ (($value ?? "").split(",").map((id) => id.trim()).filter((id) => id !== "")).length ? ($value ?? "").split(",").map((id) => id.trim()).filter((id) => id !== "") : undefined }}';
|
|
33
|
+
exports.singleOrMultiAccountIdField = {
|
|
34
|
+
...exports.accountIdField,
|
|
35
|
+
required: false,
|
|
36
|
+
description: 'ID of the connected social account to publish through. Leave it empty and fill Account IDs instead to publish to several accounts at once.',
|
|
37
|
+
routing: {
|
|
38
|
+
send: {
|
|
39
|
+
type: 'body',
|
|
40
|
+
property: 'account_id',
|
|
41
|
+
value: '={{ ((($parameter.accountIds ?? "").trim() !== "") || ($value ?? "").trim() === "") ? undefined : $value }}',
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
exports.accountIdsField = {
|
|
46
|
+
displayName: 'Account IDs',
|
|
47
|
+
name: 'accountIds',
|
|
48
|
+
type: 'string',
|
|
49
|
+
default: '',
|
|
50
|
+
placeholder: '550e8400-e29b-41d4-a716-446655440000, 7c9e6679-7425-40de-944b-e07fc1f90ae7',
|
|
51
|
+
description: 'Comma-separated list of connected account IDs to publish the same content to, up to 25. Fill this instead of Account ID. The response is then a group ID plus one result per account, so an account the platform refused is reported there while the others stay published.',
|
|
52
|
+
routing: {
|
|
53
|
+
send: {
|
|
54
|
+
type: 'body',
|
|
55
|
+
property: 'account_ids',
|
|
56
|
+
value: exports.accountIdsExpression,
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
exports.mediaIdsExpression = '={{ ($value ?? "").split(",").map((id) => id.trim()).filter((id) => id !== "") }}';
|
|
61
|
+
exports.mediaIdsField = {
|
|
62
|
+
displayName: 'Media IDs',
|
|
63
|
+
name: 'mediaIds',
|
|
64
|
+
type: 'string',
|
|
65
|
+
default: '',
|
|
66
|
+
placeholder: '550e8400-e29b-41d4-a716-446655440000',
|
|
67
|
+
description: 'Comma-separated list of IDs from the Media -> Upload operation. Use this or Media URLs, not both. IDs are valid for 7 days.',
|
|
68
|
+
routing: {
|
|
69
|
+
send: {
|
|
70
|
+
type: 'body',
|
|
71
|
+
property: 'media_ids',
|
|
72
|
+
value: exports.mediaIdsExpression,
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
exports.firstCommentField = {
|
|
77
|
+
displayName: 'First Comment',
|
|
78
|
+
name: 'firstComment',
|
|
79
|
+
type: 'string',
|
|
80
|
+
typeOptions: {
|
|
81
|
+
rows: 2,
|
|
82
|
+
},
|
|
83
|
+
default: '',
|
|
84
|
+
description: 'A comment to publish under the post as soon as it goes out, the link-in-the-first-comment pattern. X, Threads, Instagram and Facebook only: anywhere else the request is refused rather than the comment dropped. It counts as one post against your monthly quota.',
|
|
85
|
+
routing: {
|
|
86
|
+
send: {
|
|
87
|
+
type: 'body',
|
|
88
|
+
property: 'first_comment',
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
exports.collaboratorsExpression = '={{ ($value ?? "").split(",").map((name) => name.trim().replace(/^@/, "")).filter((name) => name !== "") }}';
|
|
93
|
+
exports.instagramPlacementField = {
|
|
94
|
+
displayName: 'Instagram Placement',
|
|
95
|
+
name: 'instagramPlacement',
|
|
96
|
+
type: 'options',
|
|
97
|
+
default: 'feed',
|
|
98
|
+
description: 'Where the post goes on Instagram. A story takes exactly one image or video, no caption and no first comment. A reel takes exactly one video and no images. On Post Update the publishing options replace the whole block, so send the placement alongside this or a queued story or reel publishes to the feed.',
|
|
99
|
+
options: [
|
|
100
|
+
{ name: 'Feed', value: 'feed' },
|
|
101
|
+
{ name: 'Reel', value: 'reel' },
|
|
102
|
+
{ name: 'Story', value: 'story' },
|
|
103
|
+
],
|
|
104
|
+
routing: {
|
|
105
|
+
send: {
|
|
106
|
+
type: 'body',
|
|
107
|
+
property: 'configuration.instagram.placement',
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
};
|
|
111
|
+
exports.instagramCollaboratorsField = {
|
|
112
|
+
displayName: 'Instagram Collaborators',
|
|
113
|
+
name: 'instagramCollaborators',
|
|
114
|
+
type: 'string',
|
|
115
|
+
default: '',
|
|
116
|
+
placeholder: 'first_account, second_account',
|
|
117
|
+
description: 'Comma-separated list of up to three Instagram usernames to invite as co-authors, without the @. The post appears on a collaborator profile once that person accepts, which happens on Instagram. Feed posts and reels only. On Post Update the publishing options replace the whole block, so send the placement alongside this or a queued story or reel publishes to the feed.',
|
|
118
|
+
routing: {
|
|
119
|
+
send: {
|
|
120
|
+
type: 'body',
|
|
121
|
+
property: 'configuration.instagram.collaborators',
|
|
122
|
+
value: exports.collaboratorsExpression,
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
};
|
|
126
|
+
exports.instagramCoverField = {
|
|
127
|
+
displayName: 'Instagram Cover Media ID',
|
|
128
|
+
name: 'instagramCover',
|
|
129
|
+
type: 'string',
|
|
130
|
+
default: '',
|
|
131
|
+
placeholder: '550e8400-e29b-41d4-a716-446655440000',
|
|
132
|
+
description: 'ID from the Media -> Upload operation for the image to use as the cover of a reel. Use this or Instagram Video Cover Timestamp, never both: Instagram reads the image and ignores the timestamp. On Post Update the publishing options replace the whole block, so send the placement alongside this or a queued story or reel publishes to the feed.',
|
|
133
|
+
routing: {
|
|
134
|
+
send: {
|
|
135
|
+
type: 'body',
|
|
136
|
+
property: 'configuration.instagram.cover',
|
|
137
|
+
value: '={{ $value || undefined }}',
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
};
|
|
141
|
+
exports.instagramVideoCoverTimestampField = {
|
|
142
|
+
displayName: 'Instagram Video Cover Timestamp',
|
|
143
|
+
name: 'instagramVideoCoverTimestampMs',
|
|
144
|
+
type: 'number',
|
|
145
|
+
default: 0,
|
|
146
|
+
typeOptions: {
|
|
147
|
+
minValue: 0,
|
|
148
|
+
},
|
|
149
|
+
description: 'Milliseconds into the reel to take its cover frame from. Use this or Instagram Cover Media ID, never both. On Post Update the publishing options replace the whole block, so send the placement alongside this or a queued story or reel publishes to the feed.',
|
|
150
|
+
routing: {
|
|
151
|
+
send: {
|
|
152
|
+
type: 'body',
|
|
153
|
+
property: 'configuration.instagram.video_cover_timestamp_ms',
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
};
|
|
157
|
+
exports.instagramShareToFeedField = {
|
|
158
|
+
displayName: 'Instagram Share to Feed',
|
|
159
|
+
name: 'instagramShareToFeed',
|
|
160
|
+
type: 'boolean',
|
|
161
|
+
default: true,
|
|
162
|
+
description: 'Whether a reel also appears on the profile grid. On Post Update the publishing options replace the whole block, so send the placement alongside this or a queued story or reel publishes to the feed.',
|
|
163
|
+
routing: {
|
|
164
|
+
send: {
|
|
165
|
+
type: 'body',
|
|
166
|
+
property: 'configuration.instagram.share_to_feed',
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
};
|
|
170
|
+
exports.instagramTrialReelField = {
|
|
171
|
+
displayName: 'Instagram Trial Reel Graduation',
|
|
172
|
+
name: 'instagramTrialReelGraduation',
|
|
173
|
+
type: 'options',
|
|
174
|
+
default: 'manual',
|
|
175
|
+
description: 'Publish as a trial reel, shown first to people who do not follow the account. Manual waits for you to release it to your followers; performance releases it once Instagram decides it is doing well. On Post Update the publishing options replace the whole block, so send the placement alongside this or a queued story or reel publishes to the feed.',
|
|
176
|
+
options: [
|
|
177
|
+
{ name: 'Manual', value: 'manual' },
|
|
178
|
+
{ name: 'Performance', value: 'performance' },
|
|
179
|
+
],
|
|
180
|
+
routing: {
|
|
181
|
+
send: {
|
|
182
|
+
type: 'body',
|
|
183
|
+
property: 'configuration.instagram.trial_reel.graduation',
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
};
|
|
187
|
+
exports.facebookPlacementField = {
|
|
188
|
+
displayName: 'Facebook Placement',
|
|
189
|
+
name: 'facebookPlacement',
|
|
190
|
+
type: 'options',
|
|
191
|
+
default: 'feed',
|
|
192
|
+
description: 'Where the post goes on a Facebook Page. A story takes exactly one image or video, no text and no first comment. On Post Update the publishing options replace the whole block, so send the placement alongside this or a queued story or reel publishes to the feed.',
|
|
193
|
+
options: [
|
|
194
|
+
{ name: 'Feed', value: 'feed' },
|
|
195
|
+
{ name: 'Story', value: 'story' },
|
|
196
|
+
],
|
|
197
|
+
routing: {
|
|
198
|
+
send: {
|
|
199
|
+
type: 'body',
|
|
200
|
+
property: 'configuration.facebook.placement',
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
};
|
|
204
|
+
exports.facebookLinkField = {
|
|
205
|
+
displayName: 'Facebook Link',
|
|
206
|
+
name: 'facebookLink',
|
|
207
|
+
type: 'string',
|
|
208
|
+
default: '',
|
|
209
|
+
placeholder: 'https://example.com/blog/scheduling',
|
|
210
|
+
description: 'URL to attach to a Facebook Page feed post, shown as a link preview. Feed posts only. On Post Update the publishing options replace the whole block, so send the placement alongside this or a queued story or reel publishes to the feed.',
|
|
211
|
+
routing: {
|
|
212
|
+
send: {
|
|
213
|
+
type: 'body',
|
|
214
|
+
property: 'configuration.facebook.link',
|
|
215
|
+
value: '={{ $value || undefined }}',
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
};
|
|
31
219
|
exports.mediaUrlsField = {
|
|
32
220
|
displayName: 'Media URLs',
|
|
33
221
|
name: 'mediaUrls',
|
|
@@ -43,6 +231,68 @@ exports.mediaUrlsField = {
|
|
|
43
231
|
},
|
|
44
232
|
},
|
|
45
233
|
};
|
|
234
|
+
exports.draftField = {
|
|
235
|
+
displayName: 'Draft',
|
|
236
|
+
name: 'draft',
|
|
237
|
+
type: 'boolean',
|
|
238
|
+
default: false,
|
|
239
|
+
description: 'Whether to save the content without sending it. Nothing reaches the platform, nothing counts against the monthly quota, and the response lists anything that would stop it publishing.',
|
|
240
|
+
routing: {
|
|
241
|
+
send: {
|
|
242
|
+
type: 'body',
|
|
243
|
+
property: 'draft',
|
|
244
|
+
value: '={{ $value ? true : undefined }}',
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
};
|
|
248
|
+
exports.keepDraftField = {
|
|
249
|
+
displayName: 'Keep Draft',
|
|
250
|
+
name: 'draft',
|
|
251
|
+
type: 'boolean',
|
|
252
|
+
default: false,
|
|
253
|
+
description: 'Whether to leave a draft as a draft. Without it, giving a draft a Schedule At time queues it to publish. Only meaningful on a post that is already a draft.',
|
|
254
|
+
routing: {
|
|
255
|
+
send: {
|
|
256
|
+
type: 'body',
|
|
257
|
+
property: 'draft',
|
|
258
|
+
value: '={{ $value ? true : undefined }}',
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
};
|
|
262
|
+
exports.timezoneField = {
|
|
263
|
+
displayName: 'Timezone',
|
|
264
|
+
name: 'timezone',
|
|
265
|
+
type: 'string',
|
|
266
|
+
default: '',
|
|
267
|
+
placeholder: 'America/New_York',
|
|
268
|
+
description: 'IANA timezone a Schedule At with no offset is read in. Ignored when the time already carries one. Leave it empty to use the timezone saved on the Chirpie account.',
|
|
269
|
+
routing: {
|
|
270
|
+
send: {
|
|
271
|
+
type: 'body',
|
|
272
|
+
property: 'timezone',
|
|
273
|
+
value: '={{ $value || undefined }}',
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
};
|
|
277
|
+
exports.idempotencyKeyField = {
|
|
278
|
+
displayName: 'Idempotency Key',
|
|
279
|
+
name: 'idempotencyKey',
|
|
280
|
+
type: 'string',
|
|
281
|
+
default: '',
|
|
282
|
+
placeholder: 'order-4821-post',
|
|
283
|
+
description: 'A key of your own making that makes retrying this step safe. The same key with the same request replays the first answer for 24 hours instead of sending it again.',
|
|
284
|
+
};
|
|
285
|
+
async function sendIdempotencyKey(requestOptions) {
|
|
286
|
+
var _a;
|
|
287
|
+
const options = this.getNodeParameter('options', {});
|
|
288
|
+
const key = (_a = options === null || options === void 0 ? void 0 : options.idempotencyKey) === null || _a === void 0 ? void 0 : _a.trim();
|
|
289
|
+
if (!key)
|
|
290
|
+
return requestOptions;
|
|
291
|
+
return {
|
|
292
|
+
...requestOptions,
|
|
293
|
+
headers: { ...requestOptions.headers, 'Idempotency-Key': key },
|
|
294
|
+
};
|
|
295
|
+
}
|
|
46
296
|
exports.scheduleAtField = {
|
|
47
297
|
displayName: 'Schedule At',
|
|
48
298
|
name: 'scheduleAt',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptions.js","sourceRoot":"","sources":["../../../../nodes/Chirpie/shared/descriptions.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"descriptions.js","sourceRoot":"","sources":["../../../../nodes/Chirpie/shared/descriptions.ts"],"names":[],"mappings":";;;AAkbA,gDAcC;AAtbY,QAAA,mBAAmB,GAC/B,uFAAuF,CAAC;AAqB5E,QAAA,oBAAoB,GAChC,iMAAiM,CAAC;AAGtL,QAAA,gBAAgB,GAAG;IAC/B,WAAW,EAAE;QACZ;YACC,IAAI,EAAE,cAAuB;YAC7B,UAAU,EAAE;gBACX,QAAQ,EAAE,MAAM;aAChB;SACD;KACD;CACD,CAAC;AAEW,QAAA,cAAc,GAAoB;IAC9C,WAAW,EAAE,YAAY;IACzB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,sCAAsC;IACnD,WAAW,EACV,4GAA4G;IAC7G,OAAO,EAAE;QACR,IAAI,EAAE;YACL,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,YAAY;SACtB;KACD;CACD,CAAC;AASW,QAAA,oBAAoB,GAChC,qLAAqL,CAAC;AAU1K,QAAA,2BAA2B,GAAoB;IAC3D,GAAG,sBAAc;IACjB,QAAQ,EAAE,KAAK;IACf,WAAW,EACV,4IAA4I;IAC7I,OAAO,EAAE;QACR,IAAI,EAAE;YACL,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,YAAY;YACtB,KAAK,EAAE,6GAA6G;SACpH;KACD;CACD,CAAC;AAEW,QAAA,eAAe,GAAoB;IAC/C,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,YAAY;IA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BAAiB;IAC9B,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,iBAAiB;IAC9B,WAAW,EACV,oKAAoK;CACrK,CAAC;AAYK,KAAK,UAAU,kBAAkB,CAEvC,cAAmC;;IAEnC,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,EAAE,CAElD,CAAC;IACF,MAAM,GAAG,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,0CAAE,IAAI,EAAE,CAAC;IAC5C,IAAI,CAAC,GAAG;QAAE,OAAO,cAAc,CAAC;IAEhC,OAAO;QACN,GAAG,cAAc;QACjB,OAAO,EAAE,EAAE,GAAG,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE;KAC9D,CAAC;AACH,CAAC;AAEY,QAAA,eAAe,GAAoB;IAC/C,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,EAAE;IACX,WAAW,EACV,wHAAwH;IACzH,OAAO,EAAE;QACR,IAAI,EAAE;YACL,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,aAAa;YACvB,KAAK,EAAE,4BAAoB;SAC3B;KACD;CACD,CAAC"}
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chirpie/n8n-nodes-chirpie",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "n8n community node for Chirpie
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "n8n community node for Chirpie: post to X, Bluesky, LinkedIn, Threads, Mastodon, Instagram, Facebook, Telegram and more from one node",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://chirpie.ai/docs/n8n",
|
|
7
7
|
"author": {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chirpie/n8n-nodes-chirpie",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "n8n community node for Chirpie
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "n8n community node for Chirpie: post to X, Bluesky, LinkedIn, Threads, Mastodon, Instagram, Facebook, Telegram and more from one node",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://chirpie.ai/docs/n8n",
|
|
7
7
|
"author": {
|