@adaptive-ds/n8n-nodes-publer 1.1.11 → 1.1.13

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 (116) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +65 -50
  3. package/dist/credentials/PublerApi.credentials.d.ts +0 -1
  4. package/dist/credentials/PublerApi.credentials.js +0 -8
  5. package/dist/credentials/PublerApi.credentials.js.map +1 -1
  6. package/dist/nodes/PublerAccounts/PublerAccounts.node.d.ts +5 -0
  7. package/dist/nodes/PublerAccounts/PublerAccounts.node.js +121 -0
  8. package/dist/nodes/PublerAccounts/PublerAccounts.node.js.map +1 -0
  9. package/dist/nodes/PublerAccounts/PublerAccounts.spec.js +9 -0
  10. package/dist/nodes/PublerAccounts/PublerAccounts.spec.js.map +1 -0
  11. package/dist/nodes/PublerCompetitorAnalysis/PublerCompetitorAnalysis.node.d.ts +5 -0
  12. package/dist/nodes/PublerCompetitorAnalysis/PublerCompetitorAnalysis.node.js +219 -0
  13. package/dist/nodes/PublerCompetitorAnalysis/PublerCompetitorAnalysis.node.js.map +1 -0
  14. package/dist/nodes/PublerCompetitorAnalysis/PublerCompetitorAnalysis.spec.js +9 -0
  15. package/dist/nodes/PublerCompetitorAnalysis/PublerCompetitorAnalysis.spec.js.map +1 -0
  16. package/dist/nodes/PublerCompetitorList/PublerCompetitorList.node.d.ts +5 -0
  17. package/dist/nodes/PublerCompetitorList/PublerCompetitorList.node.js +131 -0
  18. package/dist/nodes/PublerCompetitorList/PublerCompetitorList.node.js.map +1 -0
  19. package/dist/nodes/PublerCompetitorList/PublerCompetitorList.spec.js +9 -0
  20. package/dist/nodes/PublerCompetitorList/PublerCompetitorList.spec.js.map +1 -0
  21. package/dist/nodes/PublerJobStatus/PublerJobStatus.node.d.ts +5 -0
  22. package/dist/nodes/PublerJobStatus/PublerJobStatus.node.js +131 -0
  23. package/dist/nodes/PublerJobStatus/PublerJobStatus.node.js.map +1 -0
  24. package/dist/nodes/PublerJobStatus/PublerJobStatus.spec.js +9 -0
  25. package/dist/nodes/PublerJobStatus/PublerJobStatus.spec.js.map +1 -0
  26. package/dist/nodes/PublerMe/PublerMe.node.js +30 -51
  27. package/dist/nodes/PublerMe/PublerMe.node.js.map +1 -1
  28. package/dist/nodes/PublerMe/PublerMe.spec.js +3 -2
  29. package/dist/nodes/PublerMe/PublerMe.spec.js.map +1 -1
  30. package/dist/nodes/PublerMediaImportFromUrl/PublerMediaImportFromUrl.node.d.ts +5 -0
  31. package/dist/nodes/PublerMediaImportFromUrl/PublerMediaImportFromUrl.node.js +194 -0
  32. package/dist/nodes/PublerMediaImportFromUrl/PublerMediaImportFromUrl.node.js.map +1 -0
  33. package/dist/nodes/PublerMediaImportFromUrl/PublerMediaImportFromUrl.spec.js +9 -0
  34. package/dist/nodes/PublerMediaImportFromUrl/PublerMediaImportFromUrl.spec.js.map +1 -0
  35. package/dist/nodes/PublerPostSchedule/PublerPostSchedule.node.d.ts +5 -0
  36. package/dist/nodes/PublerPostSchedule/PublerPostSchedule.node.js +259 -0
  37. package/dist/nodes/PublerPostSchedule/PublerPostSchedule.node.js.map +1 -0
  38. package/dist/nodes/PublerPostSchedule/PublerPostSchedule.spec.js +9 -0
  39. package/dist/nodes/PublerPostSchedule/PublerPostSchedule.spec.js.map +1 -0
  40. package/dist/nodes/PublerPostScheduleText/PublerPostScheduleText.node.d.ts +5 -0
  41. package/dist/nodes/PublerPostScheduleText/PublerPostScheduleText.node.js +176 -0
  42. package/dist/nodes/PublerPostScheduleText/PublerPostScheduleText.node.js.map +1 -0
  43. package/dist/nodes/PublerPostScheduleText/PublerPostScheduleText.spec.js +9 -0
  44. package/dist/nodes/PublerPostScheduleText/PublerPostScheduleText.spec.js.map +1 -0
  45. package/dist/nodes/PublerWorkspaceList/PublerWorkspaceList.node.d.ts +5 -0
  46. package/dist/nodes/PublerWorkspaceList/PublerWorkspaceList.node.js +99 -0
  47. package/dist/nodes/PublerWorkspaceList/PublerWorkspaceList.node.js.map +1 -0
  48. package/dist/nodes/PublerWorkspaceList/PublerWorkspaceList.spec.js +9 -0
  49. package/dist/nodes/PublerWorkspaceList/PublerWorkspaceList.spec.js.map +1 -0
  50. package/dist/package.json +38 -55
  51. package/package.json +38 -55
  52. package/dist/nodes/PublerAnalytics/PublerAnalytics.node.d.ts +0 -4
  53. package/dist/nodes/PublerAnalytics/PublerAnalytics.node.js +0 -75
  54. package/dist/nodes/PublerAnalytics/PublerAnalytics.node.js.map +0 -1
  55. package/dist/nodes/PublerAnalytics/PublerAnalytics.spec.js +0 -8
  56. package/dist/nodes/PublerAnalytics/PublerAnalytics.spec.js.map +0 -1
  57. package/dist/nodes/PublerAnalytics/logo.svg +0 -44
  58. package/dist/nodes/PublerAnalytics/openapi.json +0 -777
  59. package/dist/nodes/PublerBasic/PublerBasic.node.d.ts +0 -4
  60. package/dist/nodes/PublerBasic/PublerBasic.node.js +0 -75
  61. package/dist/nodes/PublerBasic/PublerBasic.node.js.map +0 -1
  62. package/dist/nodes/PublerBasic/PublerBasic.spec.js +0 -8
  63. package/dist/nodes/PublerBasic/PublerBasic.spec.js.map +0 -1
  64. package/dist/nodes/PublerBasic/logo.svg +0 -44
  65. package/dist/nodes/PublerBasic/openapi.json +0 -507
  66. package/dist/nodes/PublerCompetitors/PublerCompetitors.node.d.ts +0 -4
  67. package/dist/nodes/PublerCompetitors/PublerCompetitors.node.js +0 -75
  68. package/dist/nodes/PublerCompetitors/PublerCompetitors.node.js.map +0 -1
  69. package/dist/nodes/PublerCompetitors/PublerCompetitors.spec.js +0 -8
  70. package/dist/nodes/PublerCompetitors/PublerCompetitors.spec.js.map +0 -1
  71. package/dist/nodes/PublerCompetitors/logo.svg +0 -44
  72. package/dist/nodes/PublerCompetitors/openapi.json +0 -264
  73. package/dist/nodes/PublerLocations/PublerLocations.node.d.ts +0 -4
  74. package/dist/nodes/PublerLocations/PublerLocations.node.js +0 -75
  75. package/dist/nodes/PublerLocations/PublerLocations.node.js.map +0 -1
  76. package/dist/nodes/PublerLocations/PublerLocations.spec.js +0 -8
  77. package/dist/nodes/PublerLocations/PublerLocations.spec.js.map +0 -1
  78. package/dist/nodes/PublerLocations/logo.svg +0 -44
  79. package/dist/nodes/PublerLocations/openapi.json +0 -205
  80. package/dist/nodes/PublerMe/logo.svg +0 -44
  81. package/dist/nodes/PublerMedia/PublerMedia.node.d.ts +0 -4
  82. package/dist/nodes/PublerMedia/PublerMedia.node.js +0 -75
  83. package/dist/nodes/PublerMedia/PublerMedia.node.js.map +0 -1
  84. package/dist/nodes/PublerMedia/PublerMedia.spec.js +0 -8
  85. package/dist/nodes/PublerMedia/PublerMedia.spec.js.map +0 -1
  86. package/dist/nodes/PublerMedia/logo.svg +0 -44
  87. package/dist/nodes/PublerMedia/openapi.json +0 -346
  88. package/dist/nodes/PublerPosts/PublerPosts.node.d.ts +0 -4
  89. package/dist/nodes/PublerPosts/PublerPosts.node.js +0 -75
  90. package/dist/nodes/PublerPosts/PublerPosts.node.js.map +0 -1
  91. package/dist/nodes/PublerPosts/PublerPosts.spec.js +0 -8
  92. package/dist/nodes/PublerPosts/PublerPosts.spec.js.map +0 -1
  93. package/dist/nodes/PublerPosts/logo.svg +0 -44
  94. package/dist/nodes/PublerPosts/openapi.json +0 -536
  95. package/dist/nodes/PublerPostsPublish/PublerPostsPublish.node.d.ts +0 -4
  96. package/dist/nodes/PublerPostsPublish/PublerPostsPublish.node.js +0 -75
  97. package/dist/nodes/PublerPostsPublish/PublerPostsPublish.node.js.map +0 -1
  98. package/dist/nodes/PublerPostsPublish/PublerPostsPublish.spec.js +0 -8
  99. package/dist/nodes/PublerPostsPublish/PublerPostsPublish.spec.js.map +0 -1
  100. package/dist/nodes/PublerPostsPublish/logo.svg +0 -44
  101. package/dist/nodes/PublerPostsPublish/openapi.json +0 -229
  102. package/dist/nodes/PublerPostsSchedule/PublerPostsSchedule.node.d.ts +0 -4
  103. package/dist/nodes/PublerPostsSchedule/PublerPostsSchedule.node.js +0 -75
  104. package/dist/nodes/PublerPostsSchedule/PublerPostsSchedule.node.js.map +0 -1
  105. package/dist/nodes/PublerPostsSchedule/PublerPostsSchedule.spec.js +0 -8
  106. package/dist/nodes/PublerPostsSchedule/PublerPostsSchedule.spec.js.map +0 -1
  107. package/dist/nodes/PublerPostsSchedule/logo.svg +0 -44
  108. package/dist/nodes/PublerPostsSchedule/openapi.json +0 -235
  109. /package/dist/nodes/{PublerAnalytics/PublerAnalytics.spec.d.ts → PublerAccounts/PublerAccounts.spec.d.ts} +0 -0
  110. /package/dist/nodes/{PublerBasic/PublerBasic.spec.d.ts → PublerCompetitorAnalysis/PublerCompetitorAnalysis.spec.d.ts} +0 -0
  111. /package/dist/nodes/{PublerCompetitors/PublerCompetitors.spec.d.ts → PublerCompetitorList/PublerCompetitorList.spec.d.ts} +0 -0
  112. /package/dist/nodes/{PublerLocations/PublerLocations.spec.d.ts → PublerJobStatus/PublerJobStatus.spec.d.ts} +0 -0
  113. /package/dist/nodes/{PublerMedia/PublerMedia.spec.d.ts → PublerMediaImportFromUrl/PublerMediaImportFromUrl.spec.d.ts} +0 -0
  114. /package/dist/nodes/{PublerPosts/PublerPosts.spec.d.ts → PublerPostSchedule/PublerPostSchedule.spec.d.ts} +0 -0
  115. /package/dist/nodes/{PublerPostsPublish/PublerPostsPublish.spec.d.ts → PublerPostScheduleText/PublerPostScheduleText.spec.d.ts} +0 -0
  116. /package/dist/nodes/{PublerPostsSchedule/PublerPostsSchedule.spec.d.ts → PublerWorkspaceList/PublerWorkspaceList.spec.d.ts} +0 -0
@@ -1,536 +0,0 @@
1
- {
2
- "openapi": "3.1.1",
3
- "info": {
4
- "title": "Publer Posts API",
5
- "description": "Post management endpoints for Publer API including listing, updating, and deleting posts.",
6
- "version": "1.0.0"
7
- },
8
- "servers": [
9
- {
10
- "url": "https://app.publer.com/api/v1"
11
- }
12
- ],
13
- "security": [
14
- {
15
- "publerApi": []
16
- }
17
- ],
18
- "components": {
19
- "securitySchemes": {
20
- "publerApi": {
21
- "type": "apiKey",
22
- "name": "Authorization",
23
- "in": "header",
24
- "description": "API key authentication. Format: \"Bearer-API YOUR_API_KEY\""
25
- }
26
- },
27
- "schemas": {
28
- "LinkMetadataRequest": {
29
- "type": "object",
30
- "description": "Request body for extracting link metadata",
31
- "properties": {
32
- "url": {
33
- "type": "string",
34
- "description": "URL to extract metadata from"
35
- }
36
- }
37
- },
38
- "LinkMetadataResponse": {
39
- "type": "object",
40
- "description": "Response containing extracted link metadata",
41
- "properties": {
42
- "title": {
43
- "type": "string",
44
- "description": "Page title"
45
- },
46
- "description": {
47
- "type": "string",
48
- "description": "Page description"
49
- },
50
- "image": {
51
- "type": "string",
52
- "description": "Preview image URL"
53
- }
54
- }
55
- },
56
- "MediaItem": {
57
- "type": "object",
58
- "description": "Media item for a post",
59
- "properties": {
60
- "id": {
61
- "type": "string",
62
- "description": "Media ID"
63
- },
64
- "type": {
65
- "type": "string",
66
- "enum": ["image", "photo", "video", "gif"],
67
- "description": "Media type"
68
- },
69
- "caption": {
70
- "type": "string",
71
- "description": "Media caption"
72
- },
73
- "alt_text": {
74
- "type": "string",
75
- "description": "Alternative text for accessibility"
76
- }
77
- }
78
- },
79
- "NetworkContent": {
80
- "type": "object",
81
- "description": "Network-specific post content",
82
- "properties": {
83
- "type": {
84
- "type": "string",
85
- "enum": [
86
- "status",
87
- "photo",
88
- "video",
89
- "link",
90
- "carousel",
91
- "story",
92
- "reel",
93
- "gif",
94
- "poll",
95
- "document",
96
- "event",
97
- "offer",
98
- "short"
99
- ],
100
- "description": "Post type for this network"
101
- },
102
- "text": {
103
- "type": "string",
104
- "description": "Post text content"
105
- },
106
- "media": {
107
- "type": "array",
108
- "description": "Media attachments",
109
- "items": {
110
- "$ref": "#/components/schemas/MediaItem"
111
- }
112
- },
113
- "url": {
114
- "type": "string",
115
- "description": "Link URL"
116
- }
117
- }
118
- },
119
- "PostAccount": {
120
- "type": "object",
121
- "description": "Account assignment for a post",
122
- "required": ["id"],
123
- "properties": {
124
- "id": {
125
- "type": "string",
126
- "description": "Account ID"
127
- },
128
- "scheduled_at": {
129
- "type": "string",
130
- "format": "date-time",
131
- "description": "Scheduled publish time"
132
- }
133
- }
134
- },
135
- "PostUpdate": {
136
- "type": "object",
137
- "description": "Post update data",
138
- "properties": {
139
- "networks": {
140
- "type": "object",
141
- "description": "Network-specific post content",
142
- "additionalProperties": {
143
- "$ref": "#/components/schemas/NetworkContent"
144
- }
145
- },
146
- "accounts": {
147
- "type": "array",
148
- "description": "Accounts to publish to",
149
- "items": {
150
- "$ref": "#/components/schemas/PostAccount"
151
- }
152
- }
153
- }
154
- },
155
- "PostUpdateRequest": {
156
- "type": "object",
157
- "description": "Request body for updating posts",
158
- "properties": {
159
- "bulk": {
160
- "type": "object",
161
- "description": "Bulk update configuration",
162
- "properties": {
163
- "state": {
164
- "type": "string",
165
- "enum": ["scheduled", "draft"],
166
- "description": "Post state"
167
- },
168
- "posts": {
169
- "type": "array",
170
- "description": "Posts to update",
171
- "items": {
172
- "$ref": "#/components/schemas/PostUpdate"
173
- }
174
- }
175
- }
176
- }
177
- }
178
- },
179
- "PostUpdateResponse": {
180
- "type": "object",
181
- "description": "Response after updating posts",
182
- "properties": {
183
- "success": {
184
- "type": "boolean",
185
- "description": "Whether the update was successful"
186
- },
187
- "updated": {
188
- "type": "integer",
189
- "format": "int32",
190
- "minimum": 0,
191
- "maximum": 10000,
192
- "description": "Number of posts updated"
193
- }
194
- }
195
- },
196
- "PostListResponse": {
197
- "type": "object",
198
- "description": "Response containing list of posts",
199
- "properties": {
200
- "data": {
201
- "type": "array",
202
- "description": "List of posts",
203
- "items": {
204
- "type": "object",
205
- "additionalProperties": true
206
- }
207
- }
208
- },
209
- "required": ["data"]
210
- },
211
- "PostsDeleteResponse": {
212
- "type": "object",
213
- "description": "Response after deleting posts",
214
- "properties": {
215
- "success": {
216
- "type": "boolean",
217
- "description": "Whether the deletion was successful"
218
- },
219
- "deleted": {
220
- "type": "integer",
221
- "format": "int32",
222
- "minimum": 0,
223
- "maximum": 10000,
224
- "description": "Number of posts deleted"
225
- }
226
- }
227
- }
228
- }
229
- },
230
- "tags": [
231
- {
232
- "name": "POSTS"
233
- }
234
- ],
235
- "paths": {
236
- "/posts": {
237
- "get": {
238
- "tags": ["POSTS"],
239
- "summary": "List Posts",
240
- "description": "Retrieve a list of posts with optional filtering",
241
- "operationId": "list_posts",
242
- "parameters": [
243
- {
244
- "name": "Publer-Workspace-Id",
245
- "in": "header",
246
- "schema": {
247
- "type": "string"
248
- },
249
- "example": "{{workspace_id}}",
250
- "required": true,
251
- "description": "Workspace ID to list posts from"
252
- },
253
- {
254
- "name": "state",
255
- "in": "query",
256
- "schema": {
257
- "type": "string",
258
- "enum": [
259
- "all",
260
- "scheduled",
261
- "scheduled_approved",
262
- "scheduled_pending",
263
- "scheduled_declined",
264
- "scheduled_reauth",
265
- "scheduled_locked",
266
- "published",
267
- "published_posted",
268
- "published_deleted",
269
- "published_hidden",
270
- "draft",
271
- "draft_dated",
272
- "draft_undated",
273
- "draft_private",
274
- "draft_public",
275
- "failed",
276
- "recycling",
277
- "recycling_active",
278
- "recycling_paused",
279
- "recycling_expired",
280
- "recycling_failed",
281
- "recycling_pending",
282
- "recycling_declined",
283
- "recycling_reauth",
284
- "recycling_locked",
285
- "recurring"
286
- ]
287
- },
288
- "example": "scheduled",
289
- "description": "Filter posts by state"
290
- },
291
- {
292
- "name": "from",
293
- "in": "query",
294
- "schema": {
295
- "type": "string",
296
- "format": "date"
297
- },
298
- "example": "2025-01-01",
299
- "description": "Start date for filtering (YYYY-MM-DD)"
300
- },
301
- {
302
- "name": "to",
303
- "in": "query",
304
- "schema": {
305
- "type": "string",
306
- "format": "date"
307
- },
308
- "example": "2025-12-31",
309
- "description": "End date for filtering (YYYY-MM-DD)"
310
- },
311
- {
312
- "name": "page",
313
- "in": "query",
314
- "schema": {
315
- "type": "integer",
316
- "format": "int32",
317
- "minimum": 0,
318
- "maximum": 10000
319
- },
320
- "example": 0,
321
- "description": "Page number for pagination"
322
- },
323
- {
324
- "name": "account_ids",
325
- "in": "query",
326
- "schema": {
327
- "type": "array",
328
- "items": {
329
- "type": "string"
330
- }
331
- },
332
- "style": "form",
333
- "explode": true,
334
- "example": ["63c675b54e299e9cf2b667ea"],
335
- "description": "Filter by account IDs"
336
- },
337
- {
338
- "name": "query",
339
- "in": "query",
340
- "schema": {
341
- "type": "string"
342
- },
343
- "description": "Search query for posts"
344
- },
345
- {
346
- "name": "post_type",
347
- "in": "query",
348
- "schema": {
349
- "type": "string",
350
- "enum": [
351
- "status",
352
- "link",
353
- "photo",
354
- "gif",
355
- "video",
356
- "reel",
357
- "story",
358
- "short",
359
- "poll",
360
- "document",
361
- "carousel",
362
- "article",
363
- "event",
364
- "offer"
365
- ]
366
- },
367
- "description": "Filter by post type"
368
- },
369
- {
370
- "name": "member_id",
371
- "in": "query",
372
- "schema": {
373
- "type": "string"
374
- },
375
- "description": "Filter by member ID who created the post"
376
- }
377
- ],
378
- "responses": {
379
- "200": {
380
- "description": "Successful response",
381
- "content": {
382
- "application/json": {
383
- "schema": {
384
- "$ref": "#/components/schemas/PostListResponse"
385
- },
386
- "example": {
387
- "data": [
388
- {
389
- "id": "post123",
390
- "state": "scheduled",
391
- "content": "Post content"
392
- }
393
- ]
394
- }
395
- }
396
- }
397
- }
398
- }
399
- },
400
- "delete": {
401
- "tags": ["POSTS"],
402
- "summary": "Delete posts",
403
- "description": "Delete multiple posts by their IDs",
404
- "operationId": "delete_posts",
405
- "parameters": [
406
- {
407
- "name": "Publer-Workspace-Id",
408
- "in": "header",
409
- "schema": {
410
- "type": "string"
411
- },
412
- "example": "{{workspace_id}}",
413
- "required": true,
414
- "description": "Workspace ID to delete posts from"
415
- },
416
- {
417
- "name": "post_ids",
418
- "in": "query",
419
- "schema": {
420
- "type": "array",
421
- "items": {
422
- "type": "string"
423
- }
424
- },
425
- "example": ["684945796a88bf9baa9c182c"],
426
- "description": "Array of post IDs to delete"
427
- }
428
- ],
429
- "responses": {
430
- "200": {
431
- "description": "Successful response",
432
- "content": {
433
- "application/json": {
434
- "schema": {
435
- "$ref": "#/components/schemas/PostsDeleteResponse"
436
- },
437
- "example": {
438
- "success": true,
439
- "deleted": 1
440
- }
441
- }
442
- }
443
- }
444
- }
445
- }
446
- },
447
- "/posts/links": {
448
- "post": {
449
- "tags": ["POSTS"],
450
- "summary": "Extract link metadata",
451
- "description": "Extract metadata from a URL for link previews",
452
- "operationId": "extract_link_metadata",
453
- "requestBody": {
454
- "content": {
455
- "application/json": {
456
- "schema": {
457
- "$ref": "#/components/schemas/LinkMetadataRequest"
458
- }
459
- }
460
- }
461
- },
462
- "responses": {
463
- "200": {
464
- "description": "Successful response",
465
- "content": {
466
- "application/json": {
467
- "schema": {
468
- "$ref": "#/components/schemas/LinkMetadataResponse"
469
- },
470
- "example": {
471
- "title": "Example Page",
472
- "description": "This is an example page",
473
- "image": "https://example.com/image.jpg"
474
- }
475
- }
476
- }
477
- }
478
- }
479
- }
480
- },
481
- "/posts/{post_id}": {
482
- "put": {
483
- "tags": ["POSTS"],
484
- "summary": "Update post",
485
- "description": "Update an existing post with new content and settings",
486
- "operationId": "update_post",
487
- "parameters": [
488
- {
489
- "name": "post_id",
490
- "in": "path",
491
- "schema": {
492
- "type": "string"
493
- },
494
- "required": true,
495
- "description": "ID of the post to update"
496
- },
497
- {
498
- "name": "Publer-Workspace-Id",
499
- "in": "header",
500
- "schema": {
501
- "type": "string"
502
- },
503
- "example": "{{workspace_id}}",
504
- "required": true,
505
- "description": "Workspace ID containing the post"
506
- }
507
- ],
508
- "requestBody": {
509
- "content": {
510
- "application/json": {
511
- "schema": {
512
- "$ref": "#/components/schemas/PostUpdateRequest"
513
- }
514
- }
515
- }
516
- },
517
- "responses": {
518
- "200": {
519
- "description": "Successful response",
520
- "content": {
521
- "application/json": {
522
- "schema": {
523
- "$ref": "#/components/schemas/PostUpdateResponse"
524
- },
525
- "example": {
526
- "success": true,
527
- "updated": 1
528
- }
529
- }
530
- }
531
- }
532
- }
533
- }
534
- }
535
- }
536
- }
@@ -1,4 +0,0 @@
1
- import { INodeType, INodeTypeDescription } from "n8n-workflow";
2
- export declare class PublerPostsPublish implements INodeType {
3
- description: INodeTypeDescription;
4
- }
@@ -1,75 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.PublerPostsPublish = void 0;
37
- const n8n_openapi_node_1 = require("@devlikeapro/n8n-openapi-node");
38
- const doc = __importStar(require("./openapi.json"));
39
- const config = {};
40
- const parser = new n8n_openapi_node_1.N8NPropertiesBuilder(doc, config);
41
- const properties = parser.build();
42
- class PublerPostsPublish {
43
- constructor() {
44
- this.description = {
45
- displayName: "Publer Posts Publish",
46
- name: "publerPostsPublish",
47
- icon: "file:logo.svg",
48
- group: ["transform"],
49
- version: 1,
50
- subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
51
- description: "Interact with Publer Posts Publish API - Publish posts immediately",
52
- defaults: {
53
- name: "Publer Posts Publish",
54
- },
55
- inputs: ["main"],
56
- outputs: ["main"],
57
- credentials: [
58
- {
59
- name: "publerApi",
60
- required: true,
61
- },
62
- ],
63
- requestDefaults: {
64
- headers: {
65
- Accept: "application/json",
66
- "Content-Type": "application/json",
67
- },
68
- baseURL: "https://app.publer.com",
69
- },
70
- properties: properties,
71
- };
72
- }
73
- }
74
- exports.PublerPostsPublish = PublerPostsPublish;
75
- //# sourceMappingURL=PublerPostsPublish.node.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PublerPostsPublish.node.js","sourceRoot":"","sources":["../../../nodes/PublerPostsPublish/PublerPostsPublish.node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,oEAAgG;AAChG,oDAAqC;AAErC,MAAM,MAAM,GAA+B,EAAE,CAAA;AAC7C,MAAM,MAAM,GAAG,IAAI,uCAAoB,CAAC,GAAG,EAAE,MAAM,CAAC,CAAA;AACpD,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,EAAE,CAAA;AAEjC,MAAa,kBAAkB;IAA/B;QACE,gBAAW,GAAyB;YAClC,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,oBAAoB;YAC1B,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,oEAAoE;YACjF,QAAQ,EAAE;gBACR,IAAI,EAAE,sBAAsB;aAC7B;YACD,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE;gBACX;oBACE,IAAI,EAAE,WAAW;oBACjB,QAAQ,EAAE,IAAI;iBACf;aACF;YACD,eAAe,EAAE;gBACf,OAAO,EAAE;oBACP,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBACnC;gBACD,OAAO,EAAE,wBAAwB;aAClC;YACD,UAAU,EAAE,UAAU;SACvB,CAAA;IACH,CAAC;CAAA;AA7BD,gDA6BC"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const PublerPostsPublish_node_1 = require("./PublerPostsPublish.node");
4
- test("PublerPostsPublish", () => {
5
- const node = new PublerPostsPublish_node_1.PublerPostsPublish();
6
- expect(node.description.properties).toBeDefined();
7
- });
8
- //# sourceMappingURL=PublerPostsPublish.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PublerPostsPublish.spec.js","sourceRoot":"","sources":["../../../nodes/PublerPostsPublish/PublerPostsPublish.spec.ts"],"names":[],"mappings":";;AAAA,uEAA8D;AAE9D,IAAI,CAAC,oBAAoB,EAAE,GAAG,EAAE;IAC9B,MAAM,IAAI,GAAG,IAAI,4CAAkB,EAAE,CAAA;IACrC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,WAAW,EAAE,CAAA;AACnD,CAAC,CAAC,CAAA"}