n8n-nodes-repliz 1.0.1 → 1.0.2

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.
Files changed (57) hide show
  1. package/README.md +112 -98
  2. package/dist/nodes/GenericFunctions.d.ts +3 -0
  3. package/dist/nodes/GenericFunctions.js +37 -0
  4. package/dist/nodes/GenericFunctions.js.map +1 -0
  5. package/dist/nodes/ReplizAccount/ReplizAccount.node.d.ts +5 -0
  6. package/dist/nodes/ReplizAccount/ReplizAccount.node.js +145 -0
  7. package/dist/nodes/ReplizAccount/ReplizAccount.node.js.map +1 -0
  8. package/dist/nodes/ReplizAccount/repliz.svg +4 -0
  9. package/dist/nodes/ReplizAccountFacebook/ReplizAccountFacebook.node.d.ts +5 -0
  10. package/dist/nodes/ReplizAccountFacebook/ReplizAccountFacebook.node.js +94 -0
  11. package/dist/nodes/ReplizAccountFacebook/ReplizAccountFacebook.node.js.map +1 -0
  12. package/dist/nodes/ReplizAccountFacebook/repliz.svg +4 -0
  13. package/dist/nodes/ReplizAccountInstagram/ReplizAccountInstagram.node.d.ts +5 -0
  14. package/dist/nodes/ReplizAccountInstagram/ReplizAccountInstagram.node.js +73 -0
  15. package/dist/nodes/ReplizAccountInstagram/ReplizAccountInstagram.node.js.map +1 -0
  16. package/dist/nodes/ReplizAccountInstagram/repliz.svg +4 -0
  17. package/dist/nodes/ReplizAccountLinkedIn/ReplizAccountLinkedIn.node.d.ts +5 -0
  18. package/dist/nodes/ReplizAccountLinkedIn/ReplizAccountLinkedIn.node.js +89 -0
  19. package/dist/nodes/ReplizAccountLinkedIn/ReplizAccountLinkedIn.node.js.map +1 -0
  20. package/dist/nodes/ReplizAccountLinkedIn/repliz.svg +4 -0
  21. package/dist/nodes/ReplizAccountShopee/ReplizAccountShopee.node.d.ts +5 -0
  22. package/dist/nodes/ReplizAccountShopee/ReplizAccountShopee.node.js +73 -0
  23. package/dist/nodes/ReplizAccountShopee/ReplizAccountShopee.node.js.map +1 -0
  24. package/dist/nodes/ReplizAccountShopee/repliz.svg +4 -0
  25. package/dist/nodes/ReplizAccountThreads/ReplizAccountThreads.node.d.ts +5 -0
  26. package/dist/nodes/ReplizAccountThreads/ReplizAccountThreads.node.js +73 -0
  27. package/dist/nodes/ReplizAccountThreads/ReplizAccountThreads.node.js.map +1 -0
  28. package/dist/nodes/ReplizAccountThreads/repliz.svg +4 -0
  29. package/dist/nodes/ReplizAccountTikTok/ReplizAccountTikTok.node.d.ts +5 -0
  30. package/dist/nodes/ReplizAccountTikTok/ReplizAccountTikTok.node.js +73 -0
  31. package/dist/nodes/ReplizAccountTikTok/ReplizAccountTikTok.node.js.map +1 -0
  32. package/dist/nodes/ReplizAccountTikTok/repliz.svg +4 -0
  33. package/dist/nodes/ReplizAccountYoutube/ReplizAccountYoutube.node.d.ts +5 -0
  34. package/dist/nodes/ReplizAccountYoutube/ReplizAccountYoutube.node.js +89 -0
  35. package/dist/nodes/ReplizAccountYoutube/ReplizAccountYoutube.node.js.map +1 -0
  36. package/dist/nodes/ReplizAccountYoutube/repliz.svg +4 -0
  37. package/dist/nodes/ReplizAddon/ReplizAddon.node.d.ts +5 -0
  38. package/dist/nodes/ReplizAddon/ReplizAddon.node.js +146 -0
  39. package/dist/nodes/ReplizAddon/ReplizAddon.node.js.map +1 -0
  40. package/dist/nodes/ReplizAddon/repliz.svg +4 -0
  41. package/dist/nodes/ReplizChat/ReplizChat.node.d.ts +5 -0
  42. package/dist/nodes/ReplizChat/ReplizChat.node.js +197 -0
  43. package/dist/nodes/ReplizChat/ReplizChat.node.js.map +1 -0
  44. package/dist/nodes/ReplizChat/repliz.svg +4 -0
  45. package/dist/nodes/ReplizComment/ReplizComment.node.d.ts +5 -0
  46. package/dist/nodes/ReplizComment/ReplizComment.node.js +181 -0
  47. package/dist/nodes/ReplizComment/ReplizComment.node.js.map +1 -0
  48. package/dist/nodes/ReplizComment/repliz.svg +4 -0
  49. package/dist/nodes/ReplizContent/ReplizContent.node.d.ts +5 -0
  50. package/dist/nodes/ReplizContent/ReplizContent.node.js +168 -0
  51. package/dist/nodes/ReplizContent/ReplizContent.node.js.map +1 -0
  52. package/dist/nodes/ReplizContent/repliz.svg +4 -0
  53. package/dist/nodes/ReplizSchedule/ReplizSchedule.node.d.ts +5 -0
  54. package/dist/nodes/ReplizSchedule/ReplizSchedule.node.js +202 -0
  55. package/dist/nodes/ReplizSchedule/ReplizSchedule.node.js.map +1 -0
  56. package/dist/nodes/ReplizSchedule/repliz.svg +4 -0
  57. package/package.json +18 -6
package/README.md CHANGED
@@ -1,153 +1,167 @@
1
1
  # n8n-nodes-repliz
2
2
 
3
- This is an n8n community node that integrates with the [Repliz API](https://api.repliz.com).
3
+ An n8n community node package for the [Repliz](https://repliz.com) API.
4
4
 
5
- Repliz is a smart comment, messaging, and post-scheduling platform designed to manage multiple social channels in one centralized dashboard. This integration allows you to automate comment moderation, direct messaging, schedule rich media posts, retrieve channel analytics, and fetch Shopee products.
5
+ Repliz is a social media management platform that centralizes comment moderation, live chat, post scheduling, and analytics across multiple platforms in one dashboard.
6
6
 
7
7
  ---
8
8
 
9
- ## Features
10
-
11
- ### 👤 Account Management
12
- - **Get Many / Get**: List and inspect connected workspace profiles.
13
- - **Statistics**: Retrieve global usage metrics across all platforms.
14
- - **Delete**: Unlink any platform account.
15
- - **Social Connect & OAuth (FB, IG, YouTube, LinkedIn, Threads, TikTok, Shopee)**:
16
- - Retrieve auth URLs.
17
- - Exchange authorization codes for long-lived tokens.
18
- - Connect and reconnect pages, channels, and shops.
19
-
20
- ### 💬 Live Chat
21
- - **Get Many / Get**: Monitor live conversations.
22
- - **Get Messages**: Fetch conversation history.
23
- - **Send Message**: Send raw texts, media payloads (Images, Videos, Audios, Documents), and interactive buttons.
24
- - **Mark Read**: Clear read counts programmatically.
25
-
26
- ### 📝 Comment Management
27
- - **Get Many / Get**: Retrieve stored comments with filters (status, accounts, search).
28
- - **Reply**: Post automated comment responses.
29
- - **Update Status**: Set status (pending, resolved, ignored).
30
-
31
- ### 📱 Content & Analytics
32
- - **Get Many / Get**: Track published content.
33
- - **Get Comments**: Retrieve engagement lists for a post.
34
- - **Create Comment**: Comment directly under a platform post.
35
- - **Get Statistics**: Fetch view, reach, like, and share analytics.
36
- - **Delete Comment**: Remove comments from posts.
37
- - **Message Comment**: Direct message comment authors.
38
-
39
- ### 📅 Post Scheduling
40
- - **Get Many / Get / Delete / Delete Many**: Manage schedules.
41
- - **Create / Update**: Queue upcoming posts (supporting Text, Image, Video, Reels, Albums, Links, Stories) with automatic follow-up comment configurations.
42
- - **Retry**: Force reprocessing of a failed schedule.
43
-
44
- ### 🔗 Link Metadata
45
- - **Get Metadata**: Extract URL preview details (title, description, image) for social publishing.
46
-
47
- ### 🛍️ Shopee Integration
48
- - **Get Products**: Fetch shop products to reference in posts.
49
-
50
- ### 🎵 TikTok Integration
51
- - **Get Trending Music**: Find trending audio tracks by genre and country.
9
+ ## Nodes
10
+
11
+ This package provides 13 nodes, each mapped to a specific Repliz API group:
12
+
13
+ ### Account Management
14
+
15
+ **Repliz Account** `Standard+`
16
+ Manage connected workspace accounts. Operations: Get All, Count, Get, Delete.
17
+
18
+ **Repliz Account Facebook** `Gold+`
19
+ Connect and authenticate Facebook pages. Operations: Authorize, Get Pages, Exchange Token, Connect, Reconnect.
20
+
21
+ **Repliz Account Instagram** `Gold+`
22
+ Connect and authenticate Instagram accounts. Operations: Authorize, Connect, Reconnect.
23
+
24
+ **Repliz Account Threads** `Gold+`
25
+ Connect and authenticate Threads accounts. Operations: Authorize, Connect, Reconnect.
26
+
27
+ **Repliz Account YouTube** `Gold+`
28
+ Connect and authenticate YouTube channels. Operations: Authorize, Get Channels, Exchange Token, Connect, Reconnect.
29
+
30
+ **Repliz Account LinkedIn** `Gold+`
31
+ Connect and authenticate LinkedIn organizations. Operations: Authorize, Get Organization, Exchange Token, Connect, Reconnect.
32
+
33
+ **Repliz Account TikTok** `Gold+`
34
+ Connect and authenticate TikTok accounts. Operations: Authorize, Connect, Reconnect.
35
+
36
+ **Repliz Account Shopee** `Gold+`
37
+ Connect and authenticate Shopee shops. Operations: Authorize, Connect, Reconnect.
38
+
39
+ ---
40
+
41
+ ### Comment & Chat
42
+
43
+ **Repliz Comment** `Standard+`
44
+ Manage and moderate comments collected by Repliz. Operations: Get All, Get, Reply, Update Status.
45
+
46
+ **Repliz Chat** `Gold+`
47
+ Manage live chat conversations and messages. Operations: Get All, Get, Get Messages, Send Message, Mark as Read.
48
+
49
+ ---
50
+
51
+ ### Content & Scheduling
52
+
53
+ **Repliz Content** `Gold+`
54
+ Retrieve and interact with published social media content. Operations: Get All, Get, Get Comments, Create Comment, Delete Comment, Get Statistics, Message Comment Author.
55
+
56
+ **Repliz Schedule** `Premium+`
57
+ Create and manage scheduled posts across platforms.
58
+ Operations: Get All, Get, Create, Update, Delete, Delete Many, Retry.
59
+
60
+ Supported post types: Text, Image, Video, Reel, Album, Link, Story.
61
+
62
+ ---
63
+
64
+ ### Addons
65
+
66
+ **Repliz Addon** `Premium+`
67
+ Access premium platform features. Operations: Get TikTok Trending Music, Get Shopee Products, Get Link Metadata.
52
68
 
53
69
  ---
54
70
 
55
71
  ## Installation
56
72
 
57
- ### In n8n (UI)
73
+ ### Via n8n UI (Self-Hosted)
74
+
58
75
  1. Go to **Settings > Community Nodes**.
59
76
  2. Click **Install a new node**.
60
- 3. Enter `n-nodes-repliz` or the published NPM package name.
61
- 4. Agree to terms and click **Install**.
77
+ 3. Enter `n8n-nodes-repliz` and click **Install**.
78
+ 4. Restart n8n if prompted.
79
+
80
+ ### Manual
62
81
 
63
- ### Manual Installation
64
- In your self-hosted n8n installation directory, install the package:
65
82
  ```bash
66
83
  npm install n8n-nodes-repliz
67
84
  ```
68
- Restart n8n to load the node.
69
85
 
70
86
  ---
71
87
 
72
- ## Credentials Setup
88
+ ## Credentials
89
+
90
+ All nodes require a **Repliz API** credential with the following fields:
73
91
 
74
- To use the Repliz node, you need to configure your Basic Authentication credentials:
75
- 1. **Access Key**: Your Repliz API Access Key.
76
- 2. **Secret Key**: Your Repliz API Secret Key.
77
- 3. **API Base URL** (Optional): Defaults to `https://api.repliz.com`.
92
+ | Field | Required | Description |
93
+ |---|---|---|
94
+ | Access Key | Yes | Your Repliz API access key |
95
+ | Secret Key | Yes | Your Repliz API secret key |
96
+ | API Base URL | No | Defaults to `https://api.repliz.com` |
97
+
98
+ To obtain your API keys, log in to your Repliz dashboard and navigate to **Settings > API**.
78
99
 
79
100
  ---
80
101
 
81
- ## Detailed Operations
102
+ ## Usage Notes
103
+
104
+ ### Schedule — Payload Fields
82
105
 
83
- ### Post Scheduling Payload Structures
84
- For advanced scheduling (`Create` or `Update` operations), the node uses JSON editors for nested parameters to keep the UI clean:
106
+ The **Create** and **Update** operations on `Repliz Schedule` accept several JSON fields:
85
107
 
86
- #### 1. Medias (JSON)
87
- Specifies the media assets to attach to the scheduled post.
108
+ **Medias** — Array of media objects to attach:
88
109
  ```json
89
110
  [
90
111
  {
91
- "type": 0,
92
- "url": "https://storage.repliz.com/image.jpg",
93
- "alt": "An optional alt text for accessibility"
112
+ "type": "image",
113
+ "url": "https://storage.repliz.com/image.png",
114
+ "thumbnail": "https://storage.repliz.com/thumb.png",
115
+ "alt": ""
94
116
  }
95
117
  ]
96
118
  ```
97
- *(Use `type: 0` for images, and `type: 1` for videos).*
98
119
 
99
- #### 2. Replies (JSON)
100
- Enables you to schedule automatic comments/replies underneath your scheduled post once it goes live.
120
+ **Replies** — Array of auto-comments to post after publishing:
101
121
  ```json
102
122
  [
103
123
  {
104
- "title": "Welcome Reply",
105
- "description": "Thanks for checking out our page!",
106
- "topic": "Welcome",
107
124
  "type": "text",
108
- "medias": []
125
+ "description": "Thanks for watching!"
109
126
  }
110
127
  ]
111
128
  ```
112
129
 
113
- #### 3. Additional Info (JSON)
114
- Configure tags, mentions, co-authors, product attachments, and audio tracks.
130
+ **Additional Info** — Tags, mentions, music, products, and collaborators:
115
131
  ```json
116
132
  {
117
133
  "isAiGenerated": false,
118
134
  "isDraft": false,
119
- "tags": ["marketing", "ai"],
135
+ "tags": ["marketing"],
120
136
  "mentions": ["replizofficial"],
121
137
  "collaborators": [],
122
- "link": "https://repliz.com"
138
+ "products": [],
139
+ "music": { "id": "", "artist": "", "name": "", "thumbnail": "" },
140
+ "link": ""
123
141
  }
124
142
  ```
125
143
 
126
144
  ---
127
145
 
128
- ## Local Development & Contribution
129
-
130
- 1. Clone this repository:
131
- ```bash
132
- git clone https://github.com/your-username/repliz-n8n.git
133
- cd repliz-n8n
134
- ```
135
- 2. Install dependencies:
136
- ```bash
137
- npm install
138
- ```
139
- 3. Compile TypeScript files:
140
- ```bash
141
- npm run build
142
- ```
143
- 4. Link the node pack to your local n8n setup:
144
- ```bash
145
- npm link
146
- ```
147
- *(Then in your local n8n directory)*
148
- ```bash
149
- npm link n8n-nodes-repliz
150
- ```
146
+ ## Local Development
147
+
148
+ ```bash
149
+ git clone https://github.com/your-username/n8n-nodes-repliz.git
150
+ cd n8n-nodes-repliz
151
+ npm install
152
+ npm run build
153
+ ```
154
+
155
+ To test locally with an n8n instance:
156
+
157
+ ```bash
158
+ npm link
159
+ # In your n8n directory:
160
+ npm link n8n-nodes-repliz
161
+ ```
162
+
163
+ ---
151
164
 
152
165
  ## License
166
+
153
167
  [MIT](LICENSE)
@@ -0,0 +1,3 @@
1
+ import { IExecuteFunctions, IDataObject } from 'n8n-workflow';
2
+ export declare function replizApiRequest(this: IExecuteFunctions, method: string, endpoint: string, body?: IDataObject, qs?: IDataObject): Promise<any>;
3
+ export declare function replizApiRequestAllItems(this: IExecuteFunctions, method: string, endpoint: string, body?: IDataObject, qs?: IDataObject): Promise<any[]>;
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.replizApiRequest = replizApiRequest;
4
+ exports.replizApiRequestAllItems = replizApiRequestAllItems;
5
+ async function replizApiRequest(method, endpoint, body = {}, qs = {}) {
6
+ const credentials = await this.getCredentials('replizApi');
7
+ const baseUrl = (credentials.baseUrl || 'https://api.repliz.com').replace(/\/$/, '');
8
+ const accessKey = credentials.accessKey;
9
+ const secretKey = credentials.secretKey;
10
+ const authHeader = 'Basic ' + Buffer.from(`${accessKey}:${secretKey}`).toString('base64');
11
+ const options = {
12
+ method: method,
13
+ url: `${baseUrl}${endpoint}`,
14
+ headers: {
15
+ Authorization: authHeader,
16
+ 'Content-Type': 'application/json',
17
+ },
18
+ qs,
19
+ body: Object.keys(body).length ? body : undefined,
20
+ json: true,
21
+ };
22
+ return this.helpers.httpRequest(options);
23
+ }
24
+ async function replizApiRequestAllItems(method, endpoint, body = {}, qs = {}) {
25
+ const results = [];
26
+ let page = 1;
27
+ while (true) {
28
+ const response = await replizApiRequest.call(this, method, endpoint, body, { ...qs, page, limit: 100 });
29
+ const docs = response.docs || [];
30
+ results.push(...docs);
31
+ if (!response.hasNextPage)
32
+ break;
33
+ page++;
34
+ }
35
+ return results;
36
+ }
37
+ //# sourceMappingURL=GenericFunctions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericFunctions.js","sourceRoot":"","sources":["../../nodes/GenericFunctions.ts"],"names":[],"mappings":";;AAMA,4CA0BC;AAED,4DAmBC;AA/CM,KAAK,UAAU,gBAAgB,CAErC,MAAc,EACd,QAAgB,EAChB,OAAoB,EAAE,EACtB,KAAkB,EAAE;IAEpB,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;IAC3D,MAAM,OAAO,GAAG,CAAC,WAAW,CAAC,OAAiB,IAAI,wBAAwB,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IAC/F,MAAM,SAAS,GAAG,WAAW,CAAC,SAAmB,CAAC;IAClD,MAAM,SAAS,GAAG,WAAW,CAAC,SAAmB,CAAC;IAClD,MAAM,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,SAAS,IAAI,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAE1F,MAAM,OAAO,GAAwB;QACpC,MAAM,EAAE,MAAa;QACrB,GAAG,EAAE,GAAG,OAAO,GAAG,QAAQ,EAAE;QAC5B,OAAO,EAAE;YACR,aAAa,EAAE,UAAU;YACzB,cAAc,EAAE,kBAAkB;SAClC;QACD,EAAE;QACF,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;QACjD,IAAI,EAAE,IAAI;KACV,CAAC;IAEF,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;AAC1C,CAAC;AAEM,KAAK,UAAU,wBAAwB,CAE7C,MAAc,EACd,QAAgB,EAChB,OAAoB,EAAE,EACtB,KAAkB,EAAE;IAEpB,MAAM,OAAO,GAAU,EAAE,CAAC;IAC1B,IAAI,IAAI,GAAG,CAAC,CAAC;IAEb,OAAO,IAAI,EAAE,CAAC;QACb,MAAM,QAAQ,GAAG,MAAM,gBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;QACxG,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,EAAE,CAAC;QACjC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;QACtB,IAAI,CAAC,QAAQ,CAAC,WAAW;YAAE,MAAM;QACjC,IAAI,EAAE,CAAC;IACR,CAAC;IAED,OAAO,OAAO,CAAC;AAChB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class ReplizAccount implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReplizAccount = void 0;
4
+ const GenericFunctions_1 = require("../GenericFunctions");
5
+ class ReplizAccount {
6
+ constructor() {
7
+ this.description = {
8
+ displayName: 'Repliz Account',
9
+ name: 'replizAccount',
10
+ icon: 'file:repliz.svg',
11
+ group: ['transform'],
12
+ version: 1,
13
+ subtitle: '={{$parameter["operation"]}}',
14
+ description: 'Manage connected social media accounts in Repliz (Standard+)',
15
+ defaults: { name: 'Repliz Account' },
16
+ inputs: ['main'],
17
+ outputs: ['main'],
18
+ credentials: [{ name: 'replizApi', required: true }],
19
+ properties: [
20
+ {
21
+ displayName: 'Operation',
22
+ name: 'operation',
23
+ type: 'options',
24
+ noDataExpression: true,
25
+ options: [
26
+ { name: 'Get All', value: 'getAll', description: 'Retrieve all connected accounts', action: 'Get all accounts' },
27
+ { name: 'Count', value: 'count', description: 'Get account usage statistics per platform', action: 'Count accounts' },
28
+ { name: 'Get', value: 'get', description: 'Retrieve detailed info of a specific account', action: 'Get an account' },
29
+ { name: 'Delete', value: 'delete', description: 'Disconnect and remove an account', action: 'Delete an account' },
30
+ ],
31
+ default: 'getAll',
32
+ },
33
+ // Get All
34
+ {
35
+ displayName: 'Return All',
36
+ name: 'returnAll',
37
+ type: 'boolean',
38
+ displayOptions: { show: { operation: ['getAll'] } },
39
+ default: false,
40
+ description: 'Whether to return all results or only up to a limit',
41
+ },
42
+ {
43
+ displayName: 'Limit',
44
+ name: 'limit',
45
+ type: 'number',
46
+ displayOptions: { show: { operation: ['getAll'], returnAll: [false] } },
47
+ typeOptions: { minValue: 1, maxValue: 100 },
48
+ default: 20,
49
+ description: 'Max number of results to return',
50
+ },
51
+ {
52
+ displayName: 'Filters',
53
+ name: 'filters',
54
+ type: 'collection',
55
+ placeholder: 'Add Filter',
56
+ default: {},
57
+ displayOptions: { show: { operation: ['getAll'] } },
58
+ options: [
59
+ {
60
+ displayName: 'Platform Types',
61
+ name: 'types',
62
+ type: 'multiOptions',
63
+ options: [
64
+ { name: 'Facebook', value: 'facebook' },
65
+ { name: 'Instagram', value: 'instagram' },
66
+ { name: 'Threads', value: 'threads' },
67
+ { name: 'TikTok', value: 'tiktok' },
68
+ { name: 'LinkedIn', value: 'linkedin' },
69
+ { name: 'YouTube', value: 'youtube' },
70
+ ],
71
+ default: [],
72
+ description: 'Filter by platform type',
73
+ },
74
+ {
75
+ displayName: 'Search',
76
+ name: 'search',
77
+ type: 'string',
78
+ default: '',
79
+ description: 'Search accounts by name or username',
80
+ },
81
+ ],
82
+ },
83
+ // Get / Delete
84
+ {
85
+ displayName: 'Account ID',
86
+ name: 'accountId',
87
+ type: 'string',
88
+ required: true,
89
+ displayOptions: { show: { operation: ['get', 'delete'] } },
90
+ default: '',
91
+ description: 'The unique identifier of the account',
92
+ },
93
+ ],
94
+ };
95
+ }
96
+ async execute() {
97
+ const items = this.getInputData();
98
+ const returnData = [];
99
+ for (let i = 0; i < items.length; i++) {
100
+ try {
101
+ const operation = this.getNodeParameter('operation', i);
102
+ let responseData;
103
+ if (operation === 'getAll') {
104
+ const returnAll = this.getNodeParameter('returnAll', i);
105
+ const filters = this.getNodeParameter('filters', i);
106
+ const qs = {};
107
+ if (filters.types?.length)
108
+ qs.types = filters.types;
109
+ if (filters.search)
110
+ qs.search = filters.search;
111
+ if (returnAll) {
112
+ responseData = await GenericFunctions_1.replizApiRequestAllItems.call(this, 'GET', '/public/account', {}, qs);
113
+ }
114
+ else {
115
+ const limit = this.getNodeParameter('limit', i);
116
+ const res = await GenericFunctions_1.replizApiRequest.call(this, 'GET', '/public/account', {}, { ...qs, page: 1, limit });
117
+ responseData = res.docs || [];
118
+ }
119
+ }
120
+ else if (operation === 'count') {
121
+ responseData = await GenericFunctions_1.replizApiRequest.call(this, 'GET', '/public/account/count');
122
+ }
123
+ else if (operation === 'get') {
124
+ const accountId = this.getNodeParameter('accountId', i);
125
+ responseData = await GenericFunctions_1.replizApiRequest.call(this, 'GET', `/public/account/${accountId}`);
126
+ }
127
+ else if (operation === 'delete') {
128
+ const accountId = this.getNodeParameter('accountId', i);
129
+ responseData = await GenericFunctions_1.replizApiRequest.call(this, 'DELETE', `/public/account/${accountId}`);
130
+ }
131
+ returnData.push(...this.helpers.returnJsonArray(responseData));
132
+ }
133
+ catch (error) {
134
+ if (this.continueOnFail()) {
135
+ returnData.push({ json: { error: error.message } });
136
+ continue;
137
+ }
138
+ throw error;
139
+ }
140
+ }
141
+ return [returnData];
142
+ }
143
+ }
144
+ exports.ReplizAccount = ReplizAccount;
145
+ //# sourceMappingURL=ReplizAccount.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReplizAccount.node.js","sourceRoot":"","sources":["../../../nodes/ReplizAccount/ReplizAccount.node.ts"],"names":[],"mappings":";;;AACA,0DAAiF;AAEjF,MAAa,aAAa;IAA1B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,iBAAiB;YACvB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8BAA8B;YACxC,WAAW,EAAE,8DAA8D;YAC3E,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;YACpC,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;YACpD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,WAAW;oBACxB,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,iCAAiC,EAAE,MAAM,EAAE,kBAAkB,E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C;oBAChC,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAW,CAAC;oBAClE,YAAY,GAAG,MAAM,mCAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,mBAAmB,SAAS,EAAE,CAAC,CAAC;gBACzF,CAAC;qBAAM,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;oBACnC,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAW,CAAC;oBAClE,YAAY,GAAG,MAAM,mCAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,mBAAmB,SAAS,EAAE,CAAC,CAAC;gBAC5F,CAAC;gBAED,UAAU,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC;YAChE,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBAChB,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;oBAAC,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;oBAAC,SAAS;gBAAC,CAAC;gBACxG,MAAM,KAAK,CAAC;YACb,CAAC;QACF,CAAC;QACD,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AAnID,sCAmIC"}
@@ -0,0 +1,4 @@
1
+ <svg width="180" height="180" viewBox="0 0 180 180" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0 90C0 40.2944 40.2944 0 90 0C139.706 0 180 40.2944 180 90C180 139.706 139.706 180 90 180C40.2944 180 0 139.706 0 90Z" fill="black"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M115 45C121.63 45 127.989 47.6339 132.678 52.3223C137.366 57.0107 140 63.3696 140 70V110C140 116.63 137.366 122.989 132.678 127.678C127.989 132.366 121.63 135 115 135H45C43.6739 135 42.4021 134.473 41.4645 133.536C40.5268 132.598 40 131.326 40 130V70C40 63.3696 42.6339 57.0107 47.3223 52.3223C52.0107 47.6339 58.3696 45 65 45H115ZM75 80C73.7753 80.0002 72.5933 80.4498 71.6781 81.2636C70.763 82.0774 70.1783 83.1987 70.035 84.415L70 85V95C70.0014 96.2744 70.4894 97.5002 71.3642 98.4268C72.2391 99.3535 73.4348 99.9112 74.707 99.9859C75.9792 100.061 77.2319 99.6466 78.2092 98.8287C79.1864 98.0107 79.8145 96.8505 79.965 95.585L80 95V85C80 83.6739 79.4732 82.4021 78.5355 81.4645C77.5978 80.5268 76.3261 80 75 80ZM105 80C103.674 80 102.402 80.5268 101.464 81.4645C100.527 82.4021 100 83.6739 100 85V95C100 96.3261 100.527 97.5979 101.464 98.5355C102.402 99.4732 103.674 100 105 100C106.326 100 107.598 99.4732 108.536 98.5355C109.473 97.5979 110 96.3261 110 95V85C110 83.6739 109.473 82.4021 108.536 81.4645C107.598 80.5268 106.326 80 105 80Z" fill="white"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class ReplizAccountFacebook implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReplizAccountFacebook = void 0;
4
+ const GenericFunctions_1 = require("../GenericFunctions");
5
+ class ReplizAccountFacebook {
6
+ constructor() {
7
+ this.description = {
8
+ displayName: 'Repliz Account Facebook',
9
+ name: 'replizAccountFacebook',
10
+ icon: 'file:repliz.svg',
11
+ group: ['transform'],
12
+ version: 1,
13
+ subtitle: '={{$parameter["operation"]}}',
14
+ description: 'Connect and manage Facebook accounts in Repliz (Gold+)',
15
+ defaults: { name: 'Repliz Account Facebook' },
16
+ inputs: ['main'],
17
+ outputs: ['main'],
18
+ credentials: [{ name: 'replizApi', required: true }],
19
+ properties: [
20
+ {
21
+ displayName: 'Operation',
22
+ name: 'operation',
23
+ type: 'options',
24
+ noDataExpression: true,
25
+ options: [
26
+ { name: 'Authorize', value: 'authorize', description: 'Get Facebook OAuth authorization URL', action: 'Authorize Facebook' },
27
+ { name: 'Get Pages', value: 'getPage', description: 'Retrieve available Facebook pages for a token', action: 'Get Facebook pages' },
28
+ { name: 'Exchange Token', value: 'exchange', description: 'Exchange auth code for a long-lived token', action: 'Exchange Facebook token' },
29
+ { name: 'Connect', value: 'connect', description: 'Connect a Facebook page to your workspace', action: 'Connect Facebook page' },
30
+ { name: 'Reconnect', value: 'reconnect', description: 'Re-authenticate an existing Facebook account', action: 'Reconnect Facebook account' },
31
+ ],
32
+ default: 'authorize',
33
+ },
34
+ // Authorize
35
+ { displayName: 'Redirect URL', name: 'redirect', type: 'string', required: true, displayOptions: { show: { operation: ['authorize'] } }, default: '', description: 'The URL to redirect to after OAuth authorization' },
36
+ // Get Pages
37
+ { displayName: 'Access Token', name: 'token', type: 'string', typeOptions: { password: true }, required: true, displayOptions: { show: { operation: ['getPage'] } }, default: '', description: 'Facebook access token to list available pages' },
38
+ // Exchange
39
+ { displayName: 'Authorization Code', name: 'code', type: 'string', required: true, displayOptions: { show: { operation: ['exchange'] } }, default: '', description: 'The authorization code returned by Facebook OAuth callback' },
40
+ // Connect
41
+ { displayName: 'Access Token', name: 'token', type: 'string', typeOptions: { password: true }, required: true, displayOptions: { show: { operation: ['connect'] } }, default: '', description: 'Facebook long-lived access token' },
42
+ { displayName: 'Page ID', name: 'pageId', type: 'string', required: true, displayOptions: { show: { operation: ['connect'] } }, default: '', description: 'The Facebook Page ID to connect' },
43
+ // Reconnect
44
+ { displayName: 'Account ID', name: 'accountId', type: 'string', required: true, displayOptions: { show: { operation: ['reconnect'] } }, default: '', description: 'The existing Repliz account ID to reconnect' },
45
+ { displayName: 'Access Token', name: 'token', type: 'string', typeOptions: { password: true }, required: true, displayOptions: { show: { operation: ['reconnect'] } }, default: '', description: 'New Facebook long-lived access token' },
46
+ { displayName: 'Page ID', name: 'pageId', type: 'string', required: true, displayOptions: { show: { operation: ['reconnect'] } }, default: '', description: 'The Facebook Page ID' },
47
+ ],
48
+ };
49
+ }
50
+ async execute() {
51
+ const items = this.getInputData();
52
+ const returnData = [];
53
+ for (let i = 0; i < items.length; i++) {
54
+ try {
55
+ const operation = this.getNodeParameter('operation', i);
56
+ let responseData;
57
+ if (operation === 'authorize') {
58
+ const redirect = this.getNodeParameter('redirect', i);
59
+ responseData = await GenericFunctions_1.replizApiRequest.call(this, 'GET', '/public/account/facebook/authorize', {}, { redirect });
60
+ }
61
+ else if (operation === 'getPage') {
62
+ const token = this.getNodeParameter('token', i);
63
+ responseData = await GenericFunctions_1.replizApiRequest.call(this, 'GET', '/public/account/facebook/page', {}, { token });
64
+ }
65
+ else if (operation === 'exchange') {
66
+ const code = this.getNodeParameter('code', i);
67
+ responseData = await GenericFunctions_1.replizApiRequest.call(this, 'POST', '/public/account/facebook/exchange', { code });
68
+ }
69
+ else if (operation === 'connect') {
70
+ const token = this.getNodeParameter('token', i);
71
+ const pageId = this.getNodeParameter('pageId', i);
72
+ responseData = await GenericFunctions_1.replizApiRequest.call(this, 'POST', '/public/account/facebook/connect', { token, pageId });
73
+ }
74
+ else if (operation === 'reconnect') {
75
+ const accountId = this.getNodeParameter('accountId', i);
76
+ const token = this.getNodeParameter('token', i);
77
+ const pageId = this.getNodeParameter('pageId', i);
78
+ responseData = await GenericFunctions_1.replizApiRequest.call(this, 'POST', `/public/account/facebook/connect/${accountId}`, { token, pageId });
79
+ }
80
+ returnData.push(...this.helpers.returnJsonArray(responseData));
81
+ }
82
+ catch (error) {
83
+ if (this.continueOnFail()) {
84
+ returnData.push({ json: { error: error.message } });
85
+ continue;
86
+ }
87
+ throw error;
88
+ }
89
+ }
90
+ return [returnData];
91
+ }
92
+ }
93
+ exports.ReplizAccountFacebook = ReplizAccountFacebook;
94
+ //# sourceMappingURL=ReplizAccountFacebook.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReplizAccountFacebook.node.js","sourceRoot":"","sources":["../../../nodes/ReplizAccountFacebook/ReplizAccountFacebook.node.ts"],"names":[],"mappings":";;;AACA,0DAAuD;AAEvD,MAAa,qBAAqB;IAAlC;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,uBAAuB;YAC7B,IAAI,EAAE,iBAAiB;YACvB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8BAA8B;YACxC,WAAW,EAAE,wDAAwD;YACrE,QAAQ,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE;YAC7C,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;YACpD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,WAAW;oBACxB,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,sCAAsC,EAAE,MAAM,EAAE,oBAAoB,EAAE;wBAC5H,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,+CAA+C,EAAE,MAAM,EAAE,oBAAoB,EAAE;wBACnI,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,2CAA2C,EAAE,MAAM,EAAE,yBAAyB,EAAE;wBAC1I,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,2CAA2C,EAAE,MAAM,E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 180 90C180 139.706 139.706 180 90 180C40.2944 180 0 139.706 0 90Z" fill="black"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M115 45C121.63 45 127.989 47.6339 132.678 52.3223C137.366 57.0107 140 63.3696 140 70V110C140 116.63 137.366 122.989 132.678 127.678C127.989 132.366 121.63 135 115 135H45C43.6739 135 42.4021 134.473 41.4645 133.536C40.5268 132.598 40 131.326 40 130V70C40 63.3696 42.6339 57.0107 47.3223 52.3223C52.0107 47.6339 58.3696 45 65 45H115ZM75 80C73.7753 80.0002 72.5933 80.4498 71.6781 81.2636C70.763 82.0774 70.1783 83.1987 70.035 84.415L70 85V95C70.0014 96.2744 70.4894 97.5002 71.3642 98.4268C72.2391 99.3535 73.4348 99.9112 74.707 99.9859C75.9792 100.061 77.2319 99.6466 78.2092 98.8287C79.1864 98.0107 79.8145 96.8505 79.965 95.585L80 95V85C80 83.6739 79.4732 82.4021 78.5355 81.4645C77.5978 80.5268 76.3261 80 75 80ZM105 80C103.674 80 102.402 80.5268 101.464 81.4645C100.527 82.4021 100 83.6739 100 85V95C100 96.3261 100.527 97.5979 101.464 98.5355C102.402 99.4732 103.674 100 105 100C106.326 100 107.598 99.4732 108.536 98.5355C109.473 97.5979 110 96.3261 110 95V85C110 83.6739 109.473 82.4021 108.536 81.4645C107.598 80.5268 106.326 80 105 80Z" fill="white"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class ReplizAccountInstagram implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }