@chirpie/n8n-nodes-chirpie 0.1.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.
- package/LICENSE +21 -0
- package/LICENSE.md +21 -0
- package/README.md +93 -0
- package/dist/credentials/ChirpieApi.credentials.d.ts +10 -0
- package/dist/credentials/ChirpieApi.credentials.js +49 -0
- package/dist/credentials/ChirpieApi.credentials.js.map +1 -0
- package/dist/nodes/Chirpie/Chirpie.node.d.ts +4 -0
- package/dist/nodes/Chirpie/Chirpie.node.js +73 -0
- package/dist/nodes/Chirpie/Chirpie.node.js.map +1 -0
- package/dist/nodes/Chirpie/Chirpie.node.json +18 -0
- package/dist/nodes/Chirpie/chirpie.dark.svg +1 -0
- package/dist/nodes/Chirpie/chirpie.svg +1 -0
- package/dist/nodes/Chirpie/resources/account.d.ts +2 -0
- package/dist/nodes/Chirpie/resources/account.js +70 -0
- package/dist/nodes/Chirpie/resources/account.js.map +1 -0
- package/dist/nodes/Chirpie/resources/analytics.d.ts +2 -0
- package/dist/nodes/Chirpie/resources/analytics.js +50 -0
- package/dist/nodes/Chirpie/resources/analytics.js.map +1 -0
- package/dist/nodes/Chirpie/resources/post.d.ts +2 -0
- package/dist/nodes/Chirpie/resources/post.js +233 -0
- package/dist/nodes/Chirpie/resources/post.js.map +1 -0
- package/dist/nodes/Chirpie/resources/thread.d.ts +2 -0
- package/dist/nodes/Chirpie/resources/thread.js +113 -0
- package/dist/nodes/Chirpie/resources/thread.js.map +1 -0
- package/dist/nodes/Chirpie/shared/descriptions.d.ts +14 -0
- package/dist/nodes/Chirpie/shared/descriptions.js +60 -0
- package/dist/nodes/Chirpie/shared/descriptions.js.map +1 -0
- package/dist/package.json +64 -0
- package/package.json +64 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Fireflo LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Fireflo LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# @chirpie/n8n-nodes-chirpie
|
|
2
|
+
|
|
3
|
+
An [n8n](https://n8n.io) community node for [Chirpie](https://chirpie.ai) — one node that posts to X/Twitter, Bluesky, LinkedIn, Threads, Mastodon, Instagram, Facebook, and Telegram, with scheduling, threads, and analytics. More platforms coming soon.
|
|
4
|
+
|
|
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
|
+
|
|
7
|
+
[Installation](#installation) · [Credentials](#credentials) · [Operations](#operations) · [Example workflow](#example-workflow) · [Resources](#resources)
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
### Self-hosted (GUI)
|
|
12
|
+
|
|
13
|
+
1. Go to **Settings → Community Nodes**.
|
|
14
|
+
2. Select **Install**.
|
|
15
|
+
3. Enter `@chirpie/n8n-nodes-chirpie`.
|
|
16
|
+
4. Agree to the risks of using community nodes and select **Install**.
|
|
17
|
+
|
|
18
|
+
### Self-hosted (manual)
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
cd ~/.n8n/nodes
|
|
22
|
+
npm install @chirpie/n8n-nodes-chirpie
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Restart n8n. "Chirpie" then appears in the nodes panel.
|
|
26
|
+
|
|
27
|
+
### n8n Cloud
|
|
28
|
+
|
|
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
|
+
|
|
31
|
+
## Credentials
|
|
32
|
+
|
|
33
|
+
1. Create an API key at [chirpie.ai/dashboard/keys](https://chirpie.ai/dashboard/keys). Keys start with `chirpie_sk_`.
|
|
34
|
+
2. In n8n, add a new **Chirpie API** credential and paste the key.
|
|
35
|
+
3. Leave **Base URL** at `https://chirpie.ai`.
|
|
36
|
+
4. Select **Test** — the credential calls `GET /api/v1/accounts` and confirms the key works.
|
|
37
|
+
|
|
38
|
+
Connect your social accounts once at [chirpie.ai/dashboard/accounts](https://chirpie.ai/dashboard/accounts); the node uses whatever is connected there.
|
|
39
|
+
|
|
40
|
+
## Operations
|
|
41
|
+
|
|
42
|
+
| Resource | Operation | What it does |
|
|
43
|
+
|---|---|---|
|
|
44
|
+
| Post | Create | Publish a post immediately, or schedule it with **Schedule At** |
|
|
45
|
+
| Post | Get | Fetch a single post by ID |
|
|
46
|
+
| Post | Get Many | List posts, filtered by status or account, with pagination |
|
|
47
|
+
| Post | Delete | Delete a post from Chirpie and from the social platform |
|
|
48
|
+
| Thread | Create | Publish a 2–25 post thread, immediately or scheduled |
|
|
49
|
+
| Account | Get Many | List the social accounts connected to your Chirpie workspace |
|
|
50
|
+
| Analytic | Get | Fetch engagement metrics for a published post |
|
|
51
|
+
|
|
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**.
|
|
53
|
+
|
|
54
|
+
**Thread → Create** takes an **Account ID** and a list of posts, each with its own text and optional media URLs. 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
|
+
|
|
56
|
+
Every operation returns the unwrapped Chirpie response, so `id`, `status`, `platform_post_id`, and the rest are available directly on the output item.
|
|
57
|
+
|
|
58
|
+
## Example workflow
|
|
59
|
+
|
|
60
|
+
[`examples/ai-agent-social-posting.json`](examples/ai-agent-social-posting.json) wires a chat-triggered AI Agent to two Chirpie tool nodes: one that lists connected accounts and one that publishes. Ask it "post 'shipping today' to my X account" and it looks up the account ID and posts.
|
|
61
|
+
|
|
62
|
+
Import it with **Workflows → Import from File**, then set your OpenAI and Chirpie credentials on the nodes.
|
|
63
|
+
|
|
64
|
+
## Compatibility
|
|
65
|
+
|
|
66
|
+
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
|
+
|
|
68
|
+
## Development
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
npm install
|
|
72
|
+
npm run dev # boots a local n8n with this node loaded, hot reload
|
|
73
|
+
npm run build
|
|
74
|
+
npm run lint
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
`dev` starts n8n at <http://localhost:5678> with the node already installed, so you can drag it onto a canvas and run it against a real API key. It needs Node.js 22 or later.
|
|
78
|
+
|
|
79
|
+
Each release is published to npm by GitHub Actions with an [npm provenance](https://docs.npmjs.com/generating-provenance-statements) statement, so every version on npm links back to the commit and workflow run that built it.
|
|
80
|
+
|
|
81
|
+
## Resources
|
|
82
|
+
|
|
83
|
+
- [Chirpie n8n documentation](https://chirpie.ai/docs/n8n)
|
|
84
|
+
- [Chirpie API reference](https://chirpie.ai/docs/api/posts)
|
|
85
|
+
- [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
|
|
86
|
+
|
|
87
|
+
## License
|
|
88
|
+
|
|
89
|
+
[MIT](LICENSE.md)
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
> This repository is an automatically maintained source mirror of `packages/n8n-nodes-chirpie` in the Chirpie monorepo. Pull requests opened here cannot be merged. The npm package `@chirpie/n8n-nodes-chirpie` is published from this repository, so its npm provenance statement points at a public source.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, Icon, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class ChirpieApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
icon: Icon;
|
|
6
|
+
documentationUrl: string;
|
|
7
|
+
properties: INodeProperties[];
|
|
8
|
+
authenticate: IAuthenticateGeneric;
|
|
9
|
+
test: ICredentialTestRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChirpieApi = void 0;
|
|
4
|
+
class ChirpieApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'chirpieApi';
|
|
7
|
+
this.displayName = 'Chirpie API';
|
|
8
|
+
this.icon = {
|
|
9
|
+
light: 'file:../nodes/Chirpie/chirpie.svg',
|
|
10
|
+
dark: 'file:../nodes/Chirpie/chirpie.dark.svg',
|
|
11
|
+
};
|
|
12
|
+
this.documentationUrl = 'https://chirpie.ai/docs/authentication';
|
|
13
|
+
this.properties = [
|
|
14
|
+
{
|
|
15
|
+
displayName: 'API Key',
|
|
16
|
+
name: 'apiKey',
|
|
17
|
+
type: 'string',
|
|
18
|
+
typeOptions: { password: true },
|
|
19
|
+
default: '',
|
|
20
|
+
required: true,
|
|
21
|
+
description: 'Chirpie API key. Create one at https://chirpie.ai/dashboard/keys. Starts with "chirpie_sk_".',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
displayName: 'Base URL',
|
|
25
|
+
name: 'baseUrl',
|
|
26
|
+
type: 'string',
|
|
27
|
+
default: 'https://chirpie.ai',
|
|
28
|
+
description: 'Base URL of the Chirpie API. Leave as is unless you were told otherwise.',
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
this.authenticate = {
|
|
32
|
+
type: 'generic',
|
|
33
|
+
properties: {
|
|
34
|
+
headers: {
|
|
35
|
+
Authorization: '=Bearer {{$credentials.apiKey}}',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
this.test = {
|
|
40
|
+
request: {
|
|
41
|
+
baseURL: '={{ $credentials.baseUrl.endsWith("/") ? $credentials.baseUrl.slice(0, -1) : $credentials.baseUrl }}',
|
|
42
|
+
url: '/api/v1/accounts',
|
|
43
|
+
method: 'GET',
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.ChirpieApi = ChirpieApi;
|
|
49
|
+
//# sourceMappingURL=ChirpieApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChirpieApi.credentials.js","sourceRoot":"","sources":["../../credentials/ChirpieApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,UAAU;IAAvB;QACC,SAAI,GAAG,YAAY,CAAC;QAEpB,gBAAW,GAAG,aAAa,CAAC;QAE5B,SAAI,GAAS;YACZ,KAAK,EAAE,mCAAmC;YAC1C,IAAI,EAAE,wCAAwC;SAC9C,CAAC;QAEF,qBAAgB,GAAG,wCAAwC,CAAC;QAE5D,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EACV,8FAA8F;aAC/F;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,oBAAoB;gBAC7B,WAAW,EAAE,0EAA0E;aACvF;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,iCAAiC;iBAChD;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,sGAAsG;gBAC/G,GAAG,EAAE,kBAAkB;gBACvB,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AAhDD,gCAgDC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Chirpie = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const account_1 = require("./resources/account");
|
|
6
|
+
const analytics_1 = require("./resources/analytics");
|
|
7
|
+
const post_1 = require("./resources/post");
|
|
8
|
+
const thread_1 = require("./resources/thread");
|
|
9
|
+
class Chirpie {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.description = {
|
|
12
|
+
displayName: 'Chirpie',
|
|
13
|
+
name: 'chirpie',
|
|
14
|
+
icon: { light: 'file:chirpie.svg', dark: 'file:chirpie.dark.svg' },
|
|
15
|
+
group: ['output'],
|
|
16
|
+
version: 1,
|
|
17
|
+
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
|
18
|
+
description: 'Post to X, Bluesky, LinkedIn, Threads, Mastodon, Instagram, Facebook, Telegram and more through the Chirpie API',
|
|
19
|
+
defaults: {
|
|
20
|
+
name: 'Chirpie',
|
|
21
|
+
},
|
|
22
|
+
usableAsTool: true,
|
|
23
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
24
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
25
|
+
credentials: [
|
|
26
|
+
{
|
|
27
|
+
name: 'chirpieApi',
|
|
28
|
+
required: true,
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
requestDefaults: {
|
|
32
|
+
baseURL: '={{ $credentials.baseUrl.endsWith("/") ? $credentials.baseUrl.slice(0, -1) : $credentials.baseUrl }}/api/v1',
|
|
33
|
+
headers: {
|
|
34
|
+
Accept: 'application/json',
|
|
35
|
+
'Content-Type': 'application/json',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
properties: [
|
|
39
|
+
{
|
|
40
|
+
displayName: 'Resource',
|
|
41
|
+
name: 'resource',
|
|
42
|
+
type: 'options',
|
|
43
|
+
noDataExpression: true,
|
|
44
|
+
options: [
|
|
45
|
+
{
|
|
46
|
+
name: 'Account',
|
|
47
|
+
value: 'account',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: 'Analytic',
|
|
51
|
+
value: 'analytics',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'Post',
|
|
55
|
+
value: 'post',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'Thread',
|
|
59
|
+
value: 'thread',
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
default: 'post',
|
|
63
|
+
},
|
|
64
|
+
...post_1.postDescription,
|
|
65
|
+
...thread_1.threadDescription,
|
|
66
|
+
...account_1.accountDescription,
|
|
67
|
+
...analytics_1.analyticsDescription,
|
|
68
|
+
],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.Chirpie = Chirpie;
|
|
73
|
+
//# sourceMappingURL=Chirpie.node.js.map
|
|
@@ -0,0 +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,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|
+
"categories": ["Marketing", "Communication"],
|
|
6
|
+
"resources": {
|
|
7
|
+
"credentialDocumentation": [
|
|
8
|
+
{
|
|
9
|
+
"url": "https://chirpie.ai/docs/authentication"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"primaryDocumentation": [
|
|
13
|
+
{
|
|
14
|
+
"url": "https://chirpie.ai/docs/n8n"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" width="365.17" height="355.42" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 365.17 355.42"><defs><linearGradient id="b" x1="363.88" y1="177.9" x2="1.5" y2="177.9" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffdf4d"/><stop offset="1" stop-color="#ff7a1f"/></linearGradient></defs><path d="M247.49,135.97c-13.55-26.55-41.37-40.82-70.77-36.59-14.23,2.06-26.27,8.19-36.06,19.35l-1.06-17.39c-2.93-1.74-5.91-.36-8.84-.38-11.71-.08-22.87.8-35.29-.5l-.4,84.63-68.38,94.48L1.5,315.15c23.51,1.72,40.66-12.68,53.53-31.75,2.46-3.64,4.15-7.8,8.81-10.44l-20.08,42.16c17.01.56,30.5-10.79,38.74-25.14,4.75-8.3,6.73-17.34,12.51-25.95l.23,90.43c23.47-.03,45.39-18.28,45.7-43.7l.88-72.65c27.29,24.87,69.85,21.2,92.98-3.99,24.44-25.24,28.15-67.85,12.69-98.15ZM209.83,195.9c-8.91,7.62-21.3,9.26-32.47,5.51-5.68,1.8-9.26,4.75-15.06,6.67l3.91-13.79c-8.6-7.93-9.54-21.13-1.23-30.14,12.29-13.33,34.83-13.53,47.27-.25,9.01,9.62,7.3,23.68-2.42,32ZM332.11,47.47c-10.34-30.83-39.66-49.24-71.77-45.69-21.78,2.34-40.17,14.55-52.97,32.23l-40.96,56.57c32.06-9.24,67.44,2.65,86.56,31.07,13.47,20.03,17.94,43.5,15.13,67.47-2.06,17.54-8.77,33.34-19.19,47.36-1.99,2.68-5.09,3.65-6.07,7.1,7.72-5.45,14.49-9.52,21.29-15.01,44.06-35.54,67.13-93.78,70.83-149.31l28.92-18.29-31.77-13.5ZM280.72,84.98c-13.23,0-23.97-10.74-23.97-23.98s10.74-23.97,23.97-23.97c.35,0,.69.01,1.03.03.03-.01.06-.01.08,0,.27-.02.55-.03.82-.03,2.99,0,5.8.82,8.2,2.24.02.01.04.02.05.03,8.16,3.82,13.8,12.1,13.8,21.7,0,13.24-10.74,23.98-23.98,23.98ZM304.7,61.44c0,8.83-7.15,15.98-15.98,15.98s-15.98-7.15-15.98-15.98,7.15-15.98,15.98-15.98,15.98,7.15,15.98,15.98Z" style="fill:url(#b);"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" width="365.17" height="355.42" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 365.17 355.42"><defs><linearGradient id="b" x1="363.88" y1="177.9" x2="1.5" y2="177.9" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffd200"/><stop offset="1" stop-color="#ff5e00"/></linearGradient></defs><path d="M247.49,135.97c-13.55-26.55-41.37-40.82-70.77-36.59-14.23,2.06-26.27,8.19-36.06,19.35l-1.06-17.39c-2.93-1.74-5.91-.36-8.84-.38-11.71-.08-22.87.8-35.29-.5l-.4,84.63-68.38,94.48L1.5,315.15c23.51,1.72,40.66-12.68,53.53-31.75,2.46-3.64,4.15-7.8,8.81-10.44l-20.08,42.16c17.01.56,30.5-10.79,38.74-25.14,4.75-8.3,6.73-17.34,12.51-25.95l.23,90.43c23.47-.03,45.39-18.28,45.7-43.7l.88-72.65c27.29,24.87,69.85,21.2,92.98-3.99,24.44-25.24,28.15-67.85,12.69-98.15ZM209.83,195.9c-8.91,7.62-21.3,9.26-32.47,5.51-5.68,1.8-9.26,4.75-15.06,6.67l3.91-13.79c-8.6-7.93-9.54-21.13-1.23-30.14,12.29-13.33,34.83-13.53,47.27-.25,9.01,9.62,7.3,23.68-2.42,32ZM332.11,47.47c-10.34-30.83-39.66-49.24-71.77-45.69-21.78,2.34-40.17,14.55-52.97,32.23l-40.96,56.57c32.06-9.24,67.44,2.65,86.56,31.07,13.47,20.03,17.94,43.5,15.13,67.47-2.06,17.54-8.77,33.34-19.19,47.36-1.99,2.68-5.09,3.65-6.07,7.1,7.72-5.45,14.49-9.52,21.29-15.01,44.06-35.54,67.13-93.78,70.83-149.31l28.92-18.29-31.77-13.5ZM280.72,84.98c-13.23,0-23.97-10.74-23.97-23.98s10.74-23.97,23.97-23.97c.35,0,.69.01,1.03.03.03-.01.06-.01.08,0,.27-.02.55-.03.82-.03,2.99,0,5.8.82,8.2,2.24.02.01.04.02.05.03,8.16,3.82,13.8,12.1,13.8,21.7,0,13.24-10.74,23.98-23.98,23.98ZM304.7,61.44c0,8.83-7.15,15.98-15.98,15.98s-15.98-7.15-15.98-15.98,7.15-15.98,15.98-15.98,15.98,7.15,15.98,15.98Z" style="fill:url(#b);"/></svg>
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.accountDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../shared/descriptions");
|
|
5
|
+
const showOnlyForAccounts = {
|
|
6
|
+
resource: ['account'],
|
|
7
|
+
};
|
|
8
|
+
const showOnlyForAccountGetMany = {
|
|
9
|
+
...showOnlyForAccounts,
|
|
10
|
+
operation: ['getAll'],
|
|
11
|
+
};
|
|
12
|
+
exports.accountDescription = [
|
|
13
|
+
{
|
|
14
|
+
displayName: 'Operation',
|
|
15
|
+
name: 'operation',
|
|
16
|
+
type: 'options',
|
|
17
|
+
noDataExpression: true,
|
|
18
|
+
displayOptions: {
|
|
19
|
+
show: showOnlyForAccounts,
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Get Many',
|
|
24
|
+
value: 'getAll',
|
|
25
|
+
action: 'Get many accounts',
|
|
26
|
+
description: 'List the social accounts connected to this Chirpie workspace',
|
|
27
|
+
routing: {
|
|
28
|
+
request: {
|
|
29
|
+
method: 'GET',
|
|
30
|
+
url: '/accounts',
|
|
31
|
+
},
|
|
32
|
+
output: descriptions_1.unwrapDataOutput,
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
default: 'getAll',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
displayName: 'Return All',
|
|
40
|
+
name: 'returnAll',
|
|
41
|
+
type: 'boolean',
|
|
42
|
+
default: true,
|
|
43
|
+
displayOptions: {
|
|
44
|
+
show: showOnlyForAccountGetMany,
|
|
45
|
+
},
|
|
46
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
displayName: 'Limit',
|
|
50
|
+
name: 'limit',
|
|
51
|
+
type: 'number',
|
|
52
|
+
default: 50,
|
|
53
|
+
typeOptions: {
|
|
54
|
+
minValue: 1,
|
|
55
|
+
},
|
|
56
|
+
displayOptions: {
|
|
57
|
+
show: {
|
|
58
|
+
...showOnlyForAccountGetMany,
|
|
59
|
+
returnAll: [false],
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
description: 'Max number of results to return',
|
|
63
|
+
routing: {
|
|
64
|
+
output: {
|
|
65
|
+
maxResults: '={{$value}}',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
];
|
|
70
|
+
//# sourceMappingURL=account.js.map
|
|
@@ -0,0 +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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|
+
exports.analyticsDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../shared/descriptions");
|
|
5
|
+
const showOnlyForAnalytics = {
|
|
6
|
+
resource: ['analytics'],
|
|
7
|
+
};
|
|
8
|
+
exports.analyticsDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Operation',
|
|
11
|
+
name: 'operation',
|
|
12
|
+
type: 'options',
|
|
13
|
+
noDataExpression: true,
|
|
14
|
+
displayOptions: {
|
|
15
|
+
show: showOnlyForAnalytics,
|
|
16
|
+
},
|
|
17
|
+
options: [
|
|
18
|
+
{
|
|
19
|
+
name: 'Get',
|
|
20
|
+
value: 'get',
|
|
21
|
+
action: 'Get analytics for a post',
|
|
22
|
+
description: 'Retrieve engagement metrics for a published post',
|
|
23
|
+
routing: {
|
|
24
|
+
request: {
|
|
25
|
+
method: 'GET',
|
|
26
|
+
url: '=/analytics/posts/{{$parameter.postId}}',
|
|
27
|
+
},
|
|
28
|
+
output: descriptions_1.unwrapDataOutput,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
default: 'get',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
displayName: 'Post ID',
|
|
36
|
+
name: 'postId',
|
|
37
|
+
type: 'string',
|
|
38
|
+
default: '',
|
|
39
|
+
required: true,
|
|
40
|
+
placeholder: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
|
|
41
|
+
displayOptions: {
|
|
42
|
+
show: {
|
|
43
|
+
...showOnlyForAnalytics,
|
|
44
|
+
operation: ['get'],
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
description: 'ID of the published post to fetch metrics for',
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
//# sourceMappingURL=analytics.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.postDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../shared/descriptions");
|
|
5
|
+
const showOnlyForPosts = {
|
|
6
|
+
resource: ['post'],
|
|
7
|
+
};
|
|
8
|
+
const showOnlyForPostCreate = {
|
|
9
|
+
...showOnlyForPosts,
|
|
10
|
+
operation: ['create'],
|
|
11
|
+
};
|
|
12
|
+
const showOnlyForPostGetMany = {
|
|
13
|
+
...showOnlyForPosts,
|
|
14
|
+
operation: ['getAll'],
|
|
15
|
+
};
|
|
16
|
+
exports.postDescription = [
|
|
17
|
+
{
|
|
18
|
+
displayName: 'Operation',
|
|
19
|
+
name: 'operation',
|
|
20
|
+
type: 'options',
|
|
21
|
+
noDataExpression: true,
|
|
22
|
+
displayOptions: {
|
|
23
|
+
show: showOnlyForPosts,
|
|
24
|
+
},
|
|
25
|
+
options: [
|
|
26
|
+
{
|
|
27
|
+
name: 'Create',
|
|
28
|
+
value: 'create',
|
|
29
|
+
action: 'Create a post',
|
|
30
|
+
description: 'Publish a post now, or schedule it for later',
|
|
31
|
+
routing: {
|
|
32
|
+
request: {
|
|
33
|
+
method: 'POST',
|
|
34
|
+
url: '/posts',
|
|
35
|
+
},
|
|
36
|
+
output: descriptions_1.unwrapDataOutput,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: 'Delete',
|
|
41
|
+
value: 'delete',
|
|
42
|
+
action: 'Delete a post',
|
|
43
|
+
description: 'Delete a post from Chirpie and from the social platform',
|
|
44
|
+
routing: {
|
|
45
|
+
request: {
|
|
46
|
+
method: 'DELETE',
|
|
47
|
+
url: '=/posts/{{$parameter.postId}}',
|
|
48
|
+
},
|
|
49
|
+
output: descriptions_1.unwrapDataOutput,
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'Get',
|
|
54
|
+
value: 'get',
|
|
55
|
+
action: 'Get a post',
|
|
56
|
+
description: 'Retrieve a single post by its ID',
|
|
57
|
+
routing: {
|
|
58
|
+
request: {
|
|
59
|
+
method: 'GET',
|
|
60
|
+
url: '=/posts/{{$parameter.postId}}',
|
|
61
|
+
},
|
|
62
|
+
output: descriptions_1.unwrapDataOutput,
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'Get Many',
|
|
67
|
+
value: 'getAll',
|
|
68
|
+
action: 'Get many posts',
|
|
69
|
+
description: 'Retrieve many posts, optionally filtered by status or account',
|
|
70
|
+
routing: {
|
|
71
|
+
request: {
|
|
72
|
+
method: 'GET',
|
|
73
|
+
url: '/posts',
|
|
74
|
+
},
|
|
75
|
+
output: descriptions_1.unwrapDataOutput,
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
default: 'create',
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
...descriptions_1.accountIdField,
|
|
83
|
+
displayOptions: {
|
|
84
|
+
show: showOnlyForPostCreate,
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
displayName: 'Text',
|
|
89
|
+
name: 'text',
|
|
90
|
+
type: 'string',
|
|
91
|
+
typeOptions: {
|
|
92
|
+
rows: 4,
|
|
93
|
+
},
|
|
94
|
+
default: '',
|
|
95
|
+
required: true,
|
|
96
|
+
displayOptions: {
|
|
97
|
+
show: showOnlyForPostCreate,
|
|
98
|
+
},
|
|
99
|
+
description: 'Content of the post. The maximum length depends on the platform the account belongs to.',
|
|
100
|
+
routing: {
|
|
101
|
+
send: {
|
|
102
|
+
type: 'body',
|
|
103
|
+
property: 'text',
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
displayName: 'Options',
|
|
109
|
+
name: 'options',
|
|
110
|
+
type: 'collection',
|
|
111
|
+
placeholder: 'Add option',
|
|
112
|
+
default: {},
|
|
113
|
+
displayOptions: {
|
|
114
|
+
show: showOnlyForPostCreate,
|
|
115
|
+
},
|
|
116
|
+
options: [descriptions_1.mediaUrlsField, descriptions_1.scheduleAtField],
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
displayName: 'Post ID',
|
|
120
|
+
name: 'postId',
|
|
121
|
+
type: 'string',
|
|
122
|
+
default: '',
|
|
123
|
+
required: true,
|
|
124
|
+
placeholder: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
|
|
125
|
+
displayOptions: {
|
|
126
|
+
show: {
|
|
127
|
+
...showOnlyForPosts,
|
|
128
|
+
operation: ['get', 'delete'],
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
description: 'ID of the post, as returned when it was created',
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
displayName: 'Return All',
|
|
135
|
+
name: 'returnAll',
|
|
136
|
+
type: 'boolean',
|
|
137
|
+
default: false,
|
|
138
|
+
displayOptions: {
|
|
139
|
+
show: showOnlyForPostGetMany,
|
|
140
|
+
},
|
|
141
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
142
|
+
routing: {
|
|
143
|
+
send: {
|
|
144
|
+
paginate: '={{ $value }}',
|
|
145
|
+
},
|
|
146
|
+
operations: {
|
|
147
|
+
pagination: {
|
|
148
|
+
type: 'offset',
|
|
149
|
+
properties: {
|
|
150
|
+
limitParameter: 'limit',
|
|
151
|
+
offsetParameter: 'offset',
|
|
152
|
+
pageSize: 100,
|
|
153
|
+
type: 'query',
|
|
154
|
+
rootProperty: 'data',
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
displayName: 'Limit',
|
|
162
|
+
name: 'limit',
|
|
163
|
+
type: 'number',
|
|
164
|
+
default: 50,
|
|
165
|
+
typeOptions: {
|
|
166
|
+
minValue: 1,
|
|
167
|
+
maxValue: 100,
|
|
168
|
+
},
|
|
169
|
+
displayOptions: {
|
|
170
|
+
show: {
|
|
171
|
+
...showOnlyForPostGetMany,
|
|
172
|
+
returnAll: [false],
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
description: 'Max number of results to return',
|
|
176
|
+
routing: {
|
|
177
|
+
send: {
|
|
178
|
+
type: 'query',
|
|
179
|
+
property: 'limit',
|
|
180
|
+
},
|
|
181
|
+
output: {
|
|
182
|
+
maxResults: '={{$value}}',
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
displayName: 'Filters',
|
|
188
|
+
name: 'filters',
|
|
189
|
+
type: 'collection',
|
|
190
|
+
placeholder: 'Add filter',
|
|
191
|
+
default: {},
|
|
192
|
+
displayOptions: {
|
|
193
|
+
show: showOnlyForPostGetMany,
|
|
194
|
+
},
|
|
195
|
+
options: [
|
|
196
|
+
{
|
|
197
|
+
displayName: 'Account ID',
|
|
198
|
+
name: 'accountId',
|
|
199
|
+
type: 'string',
|
|
200
|
+
default: '',
|
|
201
|
+
description: 'Return only posts published through this connected account',
|
|
202
|
+
routing: {
|
|
203
|
+
send: {
|
|
204
|
+
type: 'query',
|
|
205
|
+
property: 'account_id',
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
displayName: 'Status',
|
|
211
|
+
name: 'status',
|
|
212
|
+
type: 'options',
|
|
213
|
+
default: 'published',
|
|
214
|
+
description: 'Return only posts in this state',
|
|
215
|
+
options: [
|
|
216
|
+
{ name: 'Deleted', value: 'deleted' },
|
|
217
|
+
{ name: 'Draft', value: 'draft' },
|
|
218
|
+
{ name: 'Failed', value: 'failed' },
|
|
219
|
+
{ name: 'Published', value: 'published' },
|
|
220
|
+
{ name: 'Publishing', value: 'publishing' },
|
|
221
|
+
{ name: 'Scheduled', value: 'scheduled' },
|
|
222
|
+
],
|
|
223
|
+
routing: {
|
|
224
|
+
send: {
|
|
225
|
+
type: 'query',
|
|
226
|
+
property: 'status',
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
],
|
|
231
|
+
},
|
|
232
|
+
];
|
|
233
|
+
//# sourceMappingURL=post.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post.js","sourceRoot":"","sources":["../../../../nodes/Chirpie/resources/post.ts"],"names":[],"mappings":";;;AACA,yDAKgC;AAEhC,MAAM,gBAAgB,GAAG;IACxB,QAAQ,EAAE,CAAC,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,qBAAqB,GAAG;IAC7B,GAAG,gBAAgB;IACnB,S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,EAAE,SAAS;gBACf,OAAO,EAAE,WAAW;gBACpB,WAAW,EAAE,iCAAiC;gBAC9C,OAAO,EAAE;oBACR,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;oBACrC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;oBACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;oBACnC,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,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"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.threadDescription = void 0;
|
|
4
|
+
const descriptions_1 = require("../shared/descriptions");
|
|
5
|
+
const showOnlyForThreads = {
|
|
6
|
+
resource: ['thread'],
|
|
7
|
+
};
|
|
8
|
+
const showOnlyForThreadCreate = {
|
|
9
|
+
...showOnlyForThreads,
|
|
10
|
+
operation: ['create'],
|
|
11
|
+
};
|
|
12
|
+
const threadPostsExpression = [
|
|
13
|
+
'={{ ($value.post ?? []).map((entry) => {',
|
|
14
|
+
'const urls = (entry.mediaUrls ?? "").split(",").map((url) => url.trim()).filter((url) => url !== "");',
|
|
15
|
+
'return urls.length > 0 ? { text: entry.text, media_urls: urls } : { text: entry.text };',
|
|
16
|
+
'}) }}',
|
|
17
|
+
].join(' ');
|
|
18
|
+
exports.threadDescription = [
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Operation',
|
|
21
|
+
name: 'operation',
|
|
22
|
+
type: 'options',
|
|
23
|
+
noDataExpression: true,
|
|
24
|
+
displayOptions: {
|
|
25
|
+
show: showOnlyForThreads,
|
|
26
|
+
},
|
|
27
|
+
options: [
|
|
28
|
+
{
|
|
29
|
+
name: 'Create',
|
|
30
|
+
value: 'create',
|
|
31
|
+
action: 'Create a thread',
|
|
32
|
+
description: 'Publish a multi-post thread now, or schedule it for later',
|
|
33
|
+
routing: {
|
|
34
|
+
request: {
|
|
35
|
+
method: 'POST',
|
|
36
|
+
url: '/threads',
|
|
37
|
+
},
|
|
38
|
+
output: descriptions_1.unwrapDataOutput,
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
default: 'create',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
...descriptions_1.accountIdField,
|
|
46
|
+
displayOptions: {
|
|
47
|
+
show: showOnlyForThreadCreate,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
displayName: 'Posts',
|
|
52
|
+
name: 'posts',
|
|
53
|
+
type: 'fixedCollection',
|
|
54
|
+
placeholder: 'Add post',
|
|
55
|
+
typeOptions: {
|
|
56
|
+
multipleValues: true,
|
|
57
|
+
sortable: true,
|
|
58
|
+
minRequiredFields: 2,
|
|
59
|
+
maxAllowedFields: 25,
|
|
60
|
+
},
|
|
61
|
+
default: {},
|
|
62
|
+
displayOptions: {
|
|
63
|
+
show: showOnlyForThreadCreate,
|
|
64
|
+
},
|
|
65
|
+
description: 'Between 2 and 25 posts, published in order. On platforms with native threading each post replies to the one before it.',
|
|
66
|
+
options: [
|
|
67
|
+
{
|
|
68
|
+
displayName: 'Post',
|
|
69
|
+
name: 'post',
|
|
70
|
+
values: [
|
|
71
|
+
{
|
|
72
|
+
displayName: 'Text',
|
|
73
|
+
name: 'text',
|
|
74
|
+
type: 'string',
|
|
75
|
+
typeOptions: {
|
|
76
|
+
rows: 3,
|
|
77
|
+
},
|
|
78
|
+
default: '',
|
|
79
|
+
required: true,
|
|
80
|
+
description: 'Content of this post in the thread',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
displayName: 'Media URLs',
|
|
84
|
+
name: 'mediaUrls',
|
|
85
|
+
type: 'string',
|
|
86
|
+
default: '',
|
|
87
|
+
placeholder: 'https://example.com/one.png, https://example.com/two.png',
|
|
88
|
+
description: 'Comma-separated list of public image or video URLs to attach to this post',
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
},
|
|
92
|
+
],
|
|
93
|
+
routing: {
|
|
94
|
+
send: {
|
|
95
|
+
type: 'body',
|
|
96
|
+
property: 'posts',
|
|
97
|
+
value: threadPostsExpression,
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
displayName: 'Options',
|
|
103
|
+
name: 'options',
|
|
104
|
+
type: 'collection',
|
|
105
|
+
placeholder: 'Add option',
|
|
106
|
+
default: {},
|
|
107
|
+
displayOptions: {
|
|
108
|
+
show: showOnlyForThreadCreate,
|
|
109
|
+
},
|
|
110
|
+
options: [descriptions_1.scheduleAtField],
|
|
111
|
+
},
|
|
112
|
+
];
|
|
113
|
+
//# sourceMappingURL=thread.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thread.js","sourceRoot":"","sources":["../../../../nodes/Chirpie/resources/thread.ts"],"names":[],"mappings":";;;AACA,yDAA2F;AAE3F,MAAM,kBAAkB,GAAG;IAC1B,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACpB,CAAC;AAEF,MAAM,uBAAuB,GAAG;IAC/B,GAAG,kBAAkB;IACrB,SAAS,EAAE,CAAC,QAAQ,CAAC;CACrB,CAAC;AAMF,MAAM,qBAAqB,GAAG;IAC7B,0CAA0C;IAC1C,uGAAuG;IACvG,yFAAyF;IACzF,OAAO;CACP,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEC,QAAA,iBAAiB,GAAsB;IACnD;QACC,WAAW,EAAE,WAAW;QACxB,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,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;QACD,OAAO,EAAE,CAAC,8BAAe,CAAC;KAC1B;CACD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { INodeProperties } from 'n8n-workflow';
|
|
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 }}";
|
|
4
|
+
export declare const unwrapDataOutput: {
|
|
5
|
+
postReceive: {
|
|
6
|
+
type: "rootProperty";
|
|
7
|
+
properties: {
|
|
8
|
+
property: string;
|
|
9
|
+
};
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
export declare const accountIdField: INodeProperties;
|
|
13
|
+
export declare const mediaUrlsField: INodeProperties;
|
|
14
|
+
export declare const scheduleAtField: INodeProperties;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.scheduleAtField = exports.mediaUrlsField = exports.accountIdField = exports.unwrapDataOutput = exports.scheduleAtExpression = exports.mediaUrlsExpression = void 0;
|
|
4
|
+
exports.mediaUrlsExpression = '={{ ($value ?? "").split(",").map((url) => url.trim()).filter((url) => url !== "") }}';
|
|
5
|
+
exports.scheduleAtExpression = '={{ $value ? DateTime.fromISO($value.toString()).toUTC().toISO() : undefined }}';
|
|
6
|
+
exports.unwrapDataOutput = {
|
|
7
|
+
postReceive: [
|
|
8
|
+
{
|
|
9
|
+
type: 'rootProperty',
|
|
10
|
+
properties: {
|
|
11
|
+
property: 'data',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
};
|
|
16
|
+
exports.accountIdField = {
|
|
17
|
+
displayName: 'Account ID',
|
|
18
|
+
name: 'accountId',
|
|
19
|
+
type: 'string',
|
|
20
|
+
default: '',
|
|
21
|
+
required: true,
|
|
22
|
+
placeholder: '550e8400-e29b-41d4-a716-446655440000',
|
|
23
|
+
description: 'ID of the connected social account to publish through. Use the Account -> Get Many operation to list them.',
|
|
24
|
+
routing: {
|
|
25
|
+
send: {
|
|
26
|
+
type: 'body',
|
|
27
|
+
property: 'account_id',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
exports.mediaUrlsField = {
|
|
32
|
+
displayName: 'Media URLs',
|
|
33
|
+
name: 'mediaUrls',
|
|
34
|
+
type: 'string',
|
|
35
|
+
default: '',
|
|
36
|
+
placeholder: 'https://example.com/one.png, https://example.com/two.png',
|
|
37
|
+
description: 'Comma-separated list of public image or video URLs to attach. Limits vary by platform.',
|
|
38
|
+
routing: {
|
|
39
|
+
send: {
|
|
40
|
+
type: 'body',
|
|
41
|
+
property: 'media_urls',
|
|
42
|
+
value: exports.mediaUrlsExpression,
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
exports.scheduleAtField = {
|
|
47
|
+
displayName: 'Schedule At',
|
|
48
|
+
name: 'scheduleAt',
|
|
49
|
+
type: 'dateTime',
|
|
50
|
+
default: '',
|
|
51
|
+
description: 'Publish at this future time instead of immediately. Scheduled content goes out within about five minutes of this time.',
|
|
52
|
+
routing: {
|
|
53
|
+
send: {
|
|
54
|
+
type: 'body',
|
|
55
|
+
property: 'schedule_at',
|
|
56
|
+
value: exports.scheduleAtExpression,
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=descriptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"descriptions.js","sourceRoot":"","sources":["../../../../nodes/Chirpie/shared/descriptions.ts"],"names":[],"mappings":";;;AAMa,QAAA,mBAAmB,GAC/B,uFAAuF,CAAC;AAQ5E,QAAA,oBAAoB,GAChC,iFAAiF,CAAC;AAGtE,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;AAEW,QAAA,cAAc,GAAoB;IAC9C,WAAW,EAAE,YAAY;IACzB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,0DAA0D;IACvE,WAAW,EACV,wFAAwF;IACzF,OAAO,EAAE;QACR,IAAI,EAAE;YACL,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,YAAY;YACtB,KAAK,EAAE,2BAAmB;SAC1B;KACD;CACD,CAAC;AAEW,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"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@chirpie/n8n-nodes-chirpie",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "n8n community node for Chirpie — post to X, Bluesky, LinkedIn, Threads, Mastodon, Instagram, Facebook, Telegram and more from one node",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"homepage": "https://chirpie.ai/docs/n8n",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "Fireflo LLC",
|
|
9
|
+
"email": "support@chirpie.ai"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/Firefloco/chirpie-n8n"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"n8n-community-node-package",
|
|
17
|
+
"n8n",
|
|
18
|
+
"chirpie",
|
|
19
|
+
"social-media",
|
|
20
|
+
"x",
|
|
21
|
+
"twitter",
|
|
22
|
+
"bluesky",
|
|
23
|
+
"linkedin",
|
|
24
|
+
"threads",
|
|
25
|
+
"mastodon",
|
|
26
|
+
"instagram",
|
|
27
|
+
"facebook",
|
|
28
|
+
"telegram",
|
|
29
|
+
"scheduling"
|
|
30
|
+
],
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "n8n-node build",
|
|
33
|
+
"build:watch": "tsc --watch",
|
|
34
|
+
"dev": "n8n-node dev",
|
|
35
|
+
"lint": "n8n-node lint",
|
|
36
|
+
"lint:fix": "n8n-node lint --fix",
|
|
37
|
+
"prepublishOnly": "n8n-node build && n8n-node lint"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"dist"
|
|
41
|
+
],
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"access": "public"
|
|
44
|
+
},
|
|
45
|
+
"n8n": {
|
|
46
|
+
"n8nNodesApiVersion": 1,
|
|
47
|
+
"strict": true,
|
|
48
|
+
"credentials": [
|
|
49
|
+
"dist/credentials/ChirpieApi.credentials.js"
|
|
50
|
+
],
|
|
51
|
+
"nodes": [
|
|
52
|
+
"dist/nodes/Chirpie/Chirpie.node.js"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@n8n/node-cli": "^0.46.4",
|
|
57
|
+
"eslint": "^9.39.4",
|
|
58
|
+
"prettier": "^3.8.3",
|
|
59
|
+
"typescript": "^5.9.3"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"n8n-workflow": "*"
|
|
63
|
+
}
|
|
64
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@chirpie/n8n-nodes-chirpie",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "n8n community node for Chirpie — post to X, Bluesky, LinkedIn, Threads, Mastodon, Instagram, Facebook, Telegram and more from one node",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"homepage": "https://chirpie.ai/docs/n8n",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "Fireflo LLC",
|
|
9
|
+
"email": "support@chirpie.ai"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/Firefloco/chirpie-n8n"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"n8n-community-node-package",
|
|
17
|
+
"n8n",
|
|
18
|
+
"chirpie",
|
|
19
|
+
"social-media",
|
|
20
|
+
"x",
|
|
21
|
+
"twitter",
|
|
22
|
+
"bluesky",
|
|
23
|
+
"linkedin",
|
|
24
|
+
"threads",
|
|
25
|
+
"mastodon",
|
|
26
|
+
"instagram",
|
|
27
|
+
"facebook",
|
|
28
|
+
"telegram",
|
|
29
|
+
"scheduling"
|
|
30
|
+
],
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "n8n-node build",
|
|
33
|
+
"build:watch": "tsc --watch",
|
|
34
|
+
"dev": "n8n-node dev",
|
|
35
|
+
"lint": "n8n-node lint",
|
|
36
|
+
"lint:fix": "n8n-node lint --fix",
|
|
37
|
+
"prepublishOnly": "n8n-node build && n8n-node lint"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"dist"
|
|
41
|
+
],
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"access": "public"
|
|
44
|
+
},
|
|
45
|
+
"n8n": {
|
|
46
|
+
"n8nNodesApiVersion": 1,
|
|
47
|
+
"strict": true,
|
|
48
|
+
"credentials": [
|
|
49
|
+
"dist/credentials/ChirpieApi.credentials.js"
|
|
50
|
+
],
|
|
51
|
+
"nodes": [
|
|
52
|
+
"dist/nodes/Chirpie/Chirpie.node.js"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@n8n/node-cli": "^0.46.4",
|
|
57
|
+
"eslint": "^9.39.4",
|
|
58
|
+
"prettier": "^3.8.3",
|
|
59
|
+
"typescript": "^5.9.3"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"n8n-workflow": "*"
|
|
63
|
+
}
|
|
64
|
+
}
|