n8n-nodes-repliz 1.0.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.
Files changed (36) hide show
  1. package/README.md +153 -0
  2. package/dist/credentials/ReplizApi.credentials.d.ts +7 -0
  3. package/dist/credentials/ReplizApi.credentials.js +41 -0
  4. package/dist/credentials/ReplizApi.credentials.js.map +1 -0
  5. package/dist/nodes/Repliz/AccountDescription.d.ts +3 -0
  6. package/dist/nodes/Repliz/AccountDescription.js +442 -0
  7. package/dist/nodes/Repliz/AccountDescription.js.map +1 -0
  8. package/dist/nodes/Repliz/ChatDescription.d.ts +3 -0
  9. package/dist/nodes/Repliz/ChatDescription.js +359 -0
  10. package/dist/nodes/Repliz/ChatDescription.js.map +1 -0
  11. package/dist/nodes/Repliz/CommentDescription.d.ts +3 -0
  12. package/dist/nodes/Repliz/CommentDescription.js +187 -0
  13. package/dist/nodes/Repliz/CommentDescription.js.map +1 -0
  14. package/dist/nodes/Repliz/ContentDescription.d.ts +3 -0
  15. package/dist/nodes/Repliz/ContentDescription.js +323 -0
  16. package/dist/nodes/Repliz/ContentDescription.js.map +1 -0
  17. package/dist/nodes/Repliz/GenericFunctions.d.ts +3 -0
  18. package/dist/nodes/Repliz/GenericFunctions.js +62 -0
  19. package/dist/nodes/Repliz/GenericFunctions.js.map +1 -0
  20. package/dist/nodes/Repliz/LinkDescription.d.ts +3 -0
  21. package/dist/nodes/Repliz/LinkDescription.js +48 -0
  22. package/dist/nodes/Repliz/LinkDescription.js.map +1 -0
  23. package/dist/nodes/Repliz/Repliz.node.d.ts +5 -0
  24. package/dist/nodes/Repliz/Repliz.node.js +575 -0
  25. package/dist/nodes/Repliz/Repliz.node.js.map +1 -0
  26. package/dist/nodes/Repliz/ScheduleDescription.d.ts +3 -0
  27. package/dist/nodes/Repliz/ScheduleDescription.js +355 -0
  28. package/dist/nodes/Repliz/ScheduleDescription.js.map +1 -0
  29. package/dist/nodes/Repliz/ShopeeDescription.d.ts +3 -0
  30. package/dist/nodes/Repliz/ShopeeDescription.js +60 -0
  31. package/dist/nodes/Repliz/ShopeeDescription.js.map +1 -0
  32. package/dist/nodes/Repliz/TikTokDescription.d.ts +3 -0
  33. package/dist/nodes/Repliz/TikTokDescription.js +63 -0
  34. package/dist/nodes/Repliz/TikTokDescription.js.map +1 -0
  35. package/dist/nodes/Repliz/repliz.svg +4 -0
  36. package/package.json +36 -0
package/README.md ADDED
@@ -0,0 +1,153 @@
1
+ # n8n-nodes-repliz
2
+
3
+ This is an n8n community node that integrates with the [Repliz API](https://api.repliz.com).
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.
6
+
7
+ ---
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.
52
+
53
+ ---
54
+
55
+ ## Installation
56
+
57
+ ### In n8n (UI)
58
+ 1. Go to **Settings > Community Nodes**.
59
+ 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**.
62
+
63
+ ### Manual Installation
64
+ In your self-hosted n8n installation directory, install the package:
65
+ ```bash
66
+ npm install n8n-nodes-repliz
67
+ ```
68
+ Restart n8n to load the node.
69
+
70
+ ---
71
+
72
+ ## Credentials Setup
73
+
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`.
78
+
79
+ ---
80
+
81
+ ## Detailed Operations
82
+
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:
85
+
86
+ #### 1. Medias (JSON)
87
+ Specifies the media assets to attach to the scheduled post.
88
+ ```json
89
+ [
90
+ {
91
+ "type": 0,
92
+ "url": "https://storage.repliz.com/image.jpg",
93
+ "alt": "An optional alt text for accessibility"
94
+ }
95
+ ]
96
+ ```
97
+ *(Use `type: 0` for images, and `type: 1` for videos).*
98
+
99
+ #### 2. Replies (JSON)
100
+ Enables you to schedule automatic comments/replies underneath your scheduled post once it goes live.
101
+ ```json
102
+ [
103
+ {
104
+ "title": "Welcome Reply",
105
+ "description": "Thanks for checking out our page!",
106
+ "topic": "Welcome",
107
+ "type": "text",
108
+ "medias": []
109
+ }
110
+ ]
111
+ ```
112
+
113
+ #### 3. Additional Info (JSON)
114
+ Configure tags, mentions, co-authors, product attachments, and audio tracks.
115
+ ```json
116
+ {
117
+ "isAiGenerated": false,
118
+ "isDraft": false,
119
+ "tags": ["marketing", "ai"],
120
+ "mentions": ["replizofficial"],
121
+ "collaborators": [],
122
+ "link": "https://repliz.com"
123
+ }
124
+ ```
125
+
126
+ ---
127
+
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
+ ```
151
+
152
+ ## License
153
+ [MIT](LICENSE)
@@ -0,0 +1,7 @@
1
+ import { ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class ReplizApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReplizApi = void 0;
4
+ class ReplizApi {
5
+ constructor() {
6
+ this.name = 'replizApi';
7
+ this.displayName = 'Repliz API';
8
+ this.documentationUrl = 'https://repliz.com';
9
+ this.properties = [
10
+ {
11
+ displayName: 'Access Key',
12
+ name: 'accessKey',
13
+ type: 'string',
14
+ default: '',
15
+ required: true,
16
+ description: 'The Access Key generated from your Repliz settings page.',
17
+ },
18
+ {
19
+ displayName: 'Secret Key',
20
+ name: 'secretKey',
21
+ type: 'string',
22
+ typeOptions: {
23
+ password: true,
24
+ },
25
+ default: '',
26
+ required: true,
27
+ description: 'The Secret Key generated from your Repliz settings page.',
28
+ },
29
+ {
30
+ displayName: 'Base URL',
31
+ name: 'baseUrl',
32
+ type: 'string',
33
+ default: 'https://api.repliz.com',
34
+ required: true,
35
+ description: 'The URL used to access the Repliz API endpoints.',
36
+ },
37
+ ];
38
+ }
39
+ }
40
+ exports.ReplizApi = ReplizApi;
41
+ //# sourceMappingURL=ReplizApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReplizApi.credentials.js","sourceRoot":"","sources":["../../credentials/ReplizApi.credentials.ts"],"names":[],"mappings":";;;AAKA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QACnB,gBAAW,GAAG,YAAY,CAAC;QAC3B,qBAAgB,GAAG,oBAAoB,CAAC;QACxC,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,0DAA0D;aACvE;YACD;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,0DAA0D;aACvE;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,wBAAwB;gBACjC,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,kDAAkD;aAC/D;SACD,CAAC;IACH,CAAC;CAAA;AAjCD,8BAiCC"}
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const accountOperations: INodeProperties[];
3
+ export declare const accountFields: INodeProperties[];
@@ -0,0 +1,442 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.accountFields = exports.accountOperations = void 0;
4
+ exports.accountOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: [
13
+ 'account',
14
+ ],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ name: 'Get Many',
20
+ value: 'getMany',
21
+ description: 'Retrieve a list of accounts associated with your workspace',
22
+ action: 'Get many accounts',
23
+ },
24
+ {
25
+ name: 'Get Statistics',
26
+ value: 'count',
27
+ description: 'Retrieve account usage statistics across all connected platforms',
28
+ action: 'Get account statistics',
29
+ },
30
+ {
31
+ name: 'Get',
32
+ value: 'get',
33
+ description: 'Retrieve detailed information for a specific account',
34
+ action: 'Get an account',
35
+ },
36
+ {
37
+ name: 'Delete',
38
+ value: 'delete',
39
+ description: 'Remove a connected account from the system',
40
+ action: 'Delete an account',
41
+ },
42
+ // Facebook
43
+ {
44
+ name: 'Facebook Authorize',
45
+ value: 'facebookAuthorize',
46
+ description: 'Initiate Facebook authorization process',
47
+ action: 'Facebook authorize',
48
+ },
49
+ {
50
+ name: 'Facebook Get Pages',
51
+ value: 'facebookPage',
52
+ description: 'Retrieve Facebook pages associated with the authorized account',
53
+ action: 'Facebook get pages',
54
+ },
55
+ {
56
+ name: 'Facebook Exchange Code',
57
+ value: 'facebookExchange',
58
+ description: 'Exchange authorization code for an access token',
59
+ action: 'Facebook exchange code',
60
+ },
61
+ {
62
+ name: 'Facebook Connect',
63
+ value: 'facebookConnect',
64
+ description: 'Connect a Facebook page to the system',
65
+ action: 'Facebook connect',
66
+ },
67
+ {
68
+ name: 'Facebook Reconnect',
69
+ value: 'facebookReconnect',
70
+ description: 'Reconnect an existing Facebook account',
71
+ action: 'Facebook reconnect',
72
+ },
73
+ // Instagram
74
+ {
75
+ name: 'Instagram Authorize',
76
+ value: 'instagramAuthorize',
77
+ description: 'Initiate Instagram authorization process',
78
+ action: 'Instagram authorize',
79
+ },
80
+ {
81
+ name: 'Instagram Connect',
82
+ value: 'instagramConnect',
83
+ description: 'Connect an Instagram account to the system',
84
+ action: 'Instagram connect',
85
+ },
86
+ {
87
+ name: 'Instagram Reconnect',
88
+ value: 'instagramReconnect',
89
+ description: 'Reconnect an existing Instagram account',
90
+ action: 'Instagram reconnect',
91
+ },
92
+ // Threads
93
+ {
94
+ name: 'Threads Authorize',
95
+ value: 'threadsAuthorize',
96
+ description: 'Initiate Threads authorization process',
97
+ action: 'Threads authorize',
98
+ },
99
+ {
100
+ name: 'Threads Connect',
101
+ value: 'threadsConnect',
102
+ description: 'Connect a Threads account to the system',
103
+ action: 'Threads connect',
104
+ },
105
+ {
106
+ name: 'Threads Reconnect',
107
+ value: 'threadsReconnect',
108
+ description: 'Reconnect an existing Threads account',
109
+ action: 'Threads reconnect',
110
+ },
111
+ // YouTube
112
+ {
113
+ name: 'YouTube Authorize',
114
+ value: 'youtubeAuthorize',
115
+ description: 'Initiate YouTube authorization process',
116
+ action: 'YouTube authorize',
117
+ },
118
+ {
119
+ name: 'YouTube Get Channels',
120
+ value: 'youtubeChannel',
121
+ description: 'Retrieve YouTube channels associated with the authorized account',
122
+ action: 'YouTube get channels',
123
+ },
124
+ {
125
+ name: 'YouTube Exchange Code',
126
+ value: 'youtubeExchange',
127
+ description: 'Exchange authorization code for an access token',
128
+ action: 'YouTube exchange code',
129
+ },
130
+ {
131
+ name: 'YouTube Connect',
132
+ value: 'youtubeConnect',
133
+ description: 'Connect a YouTube channel to the system',
134
+ action: 'YouTube connect',
135
+ },
136
+ {
137
+ name: 'YouTube Reconnect',
138
+ value: 'youtubeReconnect',
139
+ description: 'Reconnect an existing YouTube account',
140
+ action: 'YouTube reconnect',
141
+ },
142
+ // LinkedIn
143
+ {
144
+ name: 'LinkedIn Authorize',
145
+ value: 'linkedinAuthorize',
146
+ description: 'Initiate LinkedIn authorization process',
147
+ action: 'LinkedIn authorize',
148
+ },
149
+ {
150
+ name: 'LinkedIn Get Organizations',
151
+ value: 'linkedinOrganization',
152
+ description: 'Retrieve LinkedIn organizations associated with the authorized account',
153
+ action: 'LinkedIn get organizations',
154
+ },
155
+ {
156
+ name: 'LinkedIn Exchange Code',
157
+ value: 'linkedinExchange',
158
+ description: 'Exchange authorization code for an access token',
159
+ action: 'LinkedIn exchange code',
160
+ },
161
+ {
162
+ name: 'LinkedIn Connect',
163
+ value: 'linkedinConnect',
164
+ description: 'Connect a LinkedIn organization to the system',
165
+ action: 'LinkedIn connect',
166
+ },
167
+ {
168
+ name: 'LinkedIn Reconnect',
169
+ value: 'linkedinReconnect',
170
+ description: 'Reconnect an existing LinkedIn account',
171
+ action: 'LinkedIn reconnect',
172
+ },
173
+ // TikTok
174
+ {
175
+ name: 'TikTok Authorize',
176
+ value: 'tiktokAuthorize',
177
+ description: 'Initiate TikTok authorization process',
178
+ action: 'TikTok authorize',
179
+ },
180
+ {
181
+ name: 'TikTok Connect',
182
+ value: 'tiktokConnect',
183
+ description: 'Connect a TikTok account to the system',
184
+ action: 'TikTok connect',
185
+ },
186
+ {
187
+ name: 'TikTok Reconnect',
188
+ value: 'tiktokReconnect',
189
+ description: 'Reconnect an existing TikTok account',
190
+ action: 'TikTok reconnect',
191
+ },
192
+ // Shopee
193
+ {
194
+ name: 'Shopee Authorize',
195
+ value: 'shopeeAuthorize',
196
+ description: 'Initiate Shopee authorization process',
197
+ action: 'Shopee authorize',
198
+ },
199
+ {
200
+ name: 'Shopee Connect',
201
+ value: 'shopeeConnect',
202
+ description: 'Connect a Shopee account to the system',
203
+ action: 'Shopee connect',
204
+ },
205
+ {
206
+ name: 'Shopee Reconnect',
207
+ value: 'shopeeReconnect',
208
+ description: 'Reconnect an existing Shopee account',
209
+ action: 'Shopee reconnect',
210
+ },
211
+ ],
212
+ default: 'getMany',
213
+ },
214
+ ];
215
+ exports.accountFields = [
216
+ // ----------------------------------
217
+ // Get Many
218
+ // ----------------------------------
219
+ {
220
+ displayName: 'Return All',
221
+ name: 'returnAll',
222
+ type: 'boolean',
223
+ displayOptions: {
224
+ show: {
225
+ resource: ['account'],
226
+ operation: ['getMany'],
227
+ },
228
+ },
229
+ default: false,
230
+ description: 'Whether to return all results or only up to a limit',
231
+ },
232
+ {
233
+ displayName: 'Limit',
234
+ name: 'limit',
235
+ type: 'number',
236
+ displayOptions: {
237
+ show: {
238
+ resource: ['account'],
239
+ operation: ['getMany'],
240
+ returnAll: [false],
241
+ },
242
+ },
243
+ typeOptions: {
244
+ minValue: 1,
245
+ maxValue: 100,
246
+ },
247
+ default: 20,
248
+ description: 'Max number of results to return',
249
+ },
250
+ {
251
+ displayName: 'Filters',
252
+ name: 'filters',
253
+ type: 'collection',
254
+ placeholder: 'Add Filter',
255
+ default: {},
256
+ displayOptions: {
257
+ show: {
258
+ resource: ['account'],
259
+ operation: ['getMany'],
260
+ },
261
+ },
262
+ options: [
263
+ {
264
+ displayName: 'Type',
265
+ name: 'type',
266
+ type: 'options',
267
+ options: [
268
+ { name: 'Facebook', value: 'facebook' },
269
+ { name: 'Instagram', value: 'instagram' },
270
+ { name: 'LinkedIn', value: 'linkedin' },
271
+ { name: 'Threads', value: 'threads' },
272
+ { name: 'TikTok', value: 'tiktok' },
273
+ { name: 'YouTube', value: 'youtube' },
274
+ ],
275
+ default: 'facebook',
276
+ description: 'Filter accounts by social platform type',
277
+ },
278
+ {
279
+ displayName: 'Search',
280
+ name: 'search',
281
+ type: 'string',
282
+ default: '',
283
+ description: 'Search term to filter accounts by username or name',
284
+ },
285
+ ],
286
+ },
287
+ // ----------------------------------
288
+ // Get / Delete / Reconnect
289
+ // ----------------------------------
290
+ {
291
+ displayName: 'Account ID',
292
+ name: 'accountId',
293
+ type: 'string',
294
+ required: true,
295
+ displayOptions: {
296
+ show: {
297
+ resource: ['account'],
298
+ operation: [
299
+ 'get',
300
+ 'delete',
301
+ 'facebookReconnect',
302
+ 'instagramReconnect',
303
+ 'threadsReconnect',
304
+ 'youtubeReconnect',
305
+ 'linkedinReconnect',
306
+ 'tiktokReconnect',
307
+ 'shopeeReconnect',
308
+ ],
309
+ },
310
+ },
311
+ default: '',
312
+ description: 'The unique identifier of the account',
313
+ },
314
+ // ----------------------------------
315
+ // Authorize Parameters
316
+ // ----------------------------------
317
+ {
318
+ displayName: 'Redirect URL',
319
+ name: 'redirect',
320
+ type: 'string',
321
+ required: true,
322
+ displayOptions: {
323
+ show: {
324
+ resource: ['account'],
325
+ operation: [
326
+ 'facebookAuthorize',
327
+ 'instagramAuthorize',
328
+ 'threadsAuthorize',
329
+ 'youtubeAuthorize',
330
+ 'linkedinAuthorize',
331
+ 'tiktokAuthorize',
332
+ 'shopeeAuthorize',
333
+ ],
334
+ },
335
+ },
336
+ default: '',
337
+ description: 'The URL to redirect to after successful authorization',
338
+ },
339
+ // ----------------------------------
340
+ // Get Pages / Exchange / Connect / Reconnect Parameters
341
+ // ----------------------------------
342
+ {
343
+ displayName: 'Token',
344
+ name: 'token',
345
+ type: 'string',
346
+ required: true,
347
+ displayOptions: {
348
+ show: {
349
+ resource: ['account'],
350
+ operation: [
351
+ 'facebookPage',
352
+ 'facebookConnect',
353
+ 'facebookReconnect',
354
+ 'youtubeConnect',
355
+ 'youtubeReconnect',
356
+ 'linkedinConnect',
357
+ 'linkedinReconnect',
358
+ ],
359
+ },
360
+ },
361
+ default: '',
362
+ description: 'The token obtained from authorization/exchange',
363
+ },
364
+ {
365
+ displayName: 'Code',
366
+ name: 'code',
367
+ type: 'string',
368
+ required: true,
369
+ displayOptions: {
370
+ show: {
371
+ resource: ['account'],
372
+ operation: [
373
+ 'facebookExchange',
374
+ 'instagramConnect',
375
+ 'instagramReconnect',
376
+ 'threadsConnect',
377
+ 'threadsReconnect',
378
+ 'youtubeExchange',
379
+ 'linkedinExchange',
380
+ 'tiktokConnect',
381
+ 'tiktokReconnect',
382
+ 'shopeeConnect',
383
+ 'shopeeReconnect',
384
+ ],
385
+ },
386
+ },
387
+ default: '',
388
+ description: 'The authorization code',
389
+ },
390
+ {
391
+ displayName: 'Page ID',
392
+ name: 'pageId',
393
+ type: 'string',
394
+ required: true,
395
+ displayOptions: {
396
+ show: {
397
+ resource: ['account'],
398
+ operation: [
399
+ 'facebookConnect',
400
+ 'facebookReconnect',
401
+ ],
402
+ },
403
+ },
404
+ default: '',
405
+ description: 'The Facebook page ID to connect',
406
+ },
407
+ {
408
+ displayName: 'Channel ID',
409
+ name: 'channelId',
410
+ type: 'string',
411
+ required: true,
412
+ displayOptions: {
413
+ show: {
414
+ resource: ['account'],
415
+ operation: [
416
+ 'youtubeConnect',
417
+ 'youtubeReconnect',
418
+ ],
419
+ },
420
+ },
421
+ default: '',
422
+ description: 'The YouTube channel ID to connect',
423
+ },
424
+ {
425
+ displayName: 'Organization ID',
426
+ name: 'organizationId',
427
+ type: 'string',
428
+ required: true,
429
+ displayOptions: {
430
+ show: {
431
+ resource: ['account'],
432
+ operation: [
433
+ 'linkedinConnect',
434
+ 'linkedinReconnect',
435
+ ],
436
+ },
437
+ },
438
+ default: '',
439
+ description: 'The LinkedIn organization URN ID to connect',
440
+ },
441
+ ];
442
+ //# sourceMappingURL=AccountDescription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountDescription.js","sourceRoot":"","sources":["../../../nodes/Repliz/AccountDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAsB;IACnD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,SAAS;iBACT;aACD;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,UAAU;gBAChB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;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iCAAiC;KAC9C;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,SAAS,CAAC;gBACrB,SAAS,EAAE;oBACV,gBAAgB;oBAChB,kBAAkB;iBAClB;aACD;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mCAAmC;KAChD;IACD;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,SAAS,CAAC;gBACrB,SAAS,EAAE;oBACV,iBAAiB;oBACjB,mBAAmB;iBACnB;aACD;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,6CAA6C;KAC1D;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const chatOperations: INodeProperties[];
3
+ export declare const chatFields: INodeProperties[];