@getopenpost/n8n-nodes-openpost 0.0.0 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +57 -3
  3. package/dist/credentials/OpenPostApi.credentials.d.ts +17 -0
  4. package/dist/credentials/OpenPostApi.credentials.js +52 -0
  5. package/dist/credentials/OpenPostApi.credentials.js.map +1 -0
  6. package/dist/credentials/openpost.svg +5 -0
  7. package/dist/icons/openpost.svg +5 -0
  8. package/dist/nodes/OpenPost/OpenPost.node.d.ts +4 -0
  9. package/dist/nodes/OpenPost/OpenPost.node.js +22 -0
  10. package/dist/nodes/OpenPost/OpenPost.node.js.map +1 -0
  11. package/dist/nodes/OpenPost/openpost.dark.svg +5 -0
  12. package/dist/nodes/OpenPost/openpost.svg +5 -0
  13. package/dist/nodes/OpenPost/v1/OpenPostV1.node.d.ts +13 -0
  14. package/dist/nodes/OpenPost/v1/OpenPostV1.node.js +144 -0
  15. package/dist/nodes/OpenPost/v1/OpenPostV1.node.js.map +1 -0
  16. package/dist/nodes/OpenPost/v1/actions/generated/requestMappers.d.ts +1998 -0
  17. package/dist/nodes/OpenPost/v1/actions/generated/requestMappers.js +1185 -0
  18. package/dist/nodes/OpenPost/v1/actions/generated/requestMappers.js.map +1 -0
  19. package/dist/nodes/OpenPost/v1/actions/mapper.d.ts +36 -0
  20. package/dist/nodes/OpenPost/v1/actions/mapper.js +184 -0
  21. package/dist/nodes/OpenPost/v1/actions/mapper.js.map +1 -0
  22. package/dist/nodes/OpenPost/v1/descriptions/generated/descriptions.d.ts +333 -0
  23. package/dist/nodes/OpenPost/v1/descriptions/generated/descriptions.js +1869 -0
  24. package/dist/nodes/OpenPost/v1/descriptions/generated/descriptions.js.map +1 -0
  25. package/dist/nodes/OpenPost/v1/errors.d.ts +11 -0
  26. package/dist/nodes/OpenPost/v1/errors.js +43 -0
  27. package/dist/nodes/OpenPost/v1/errors.js.map +1 -0
  28. package/dist/nodes/OpenPost/v1/media/uploadBinary.d.ts +15 -0
  29. package/dist/nodes/OpenPost/v1/media/uploadBinary.js +69 -0
  30. package/dist/nodes/OpenPost/v1/media/uploadBinary.js.map +1 -0
  31. package/dist/nodes/OpenPost/v1/methods/listSearch.d.ts +7 -0
  32. package/dist/nodes/OpenPost/v1/methods/listSearch.js +80 -0
  33. package/dist/nodes/OpenPost/v1/methods/listSearch.js.map +1 -0
  34. package/dist/nodes/OpenPost/v1/openpost.dark.svg +5 -0
  35. package/dist/nodes/OpenPost/v1/openpost.svg +5 -0
  36. package/dist/nodes/OpenPost/v1/transport/openPostApiRequest.d.ts +5 -0
  37. package/dist/nodes/OpenPost/v1/transport/openPostApiRequest.js +64 -0
  38. package/dist/nodes/OpenPost/v1/transport/openPostApiRequest.js.map +1 -0
  39. package/dist/nodes/OpenPost/v1/transport/url.d.ts +2 -0
  40. package/dist/nodes/OpenPost/v1/transport/url.js +46 -0
  41. package/dist/nodes/OpenPost/v1/transport/url.js.map +1 -0
  42. package/docs/selected-contract-report.md +37 -0
  43. package/examples/create-draft.json +63 -0
  44. package/examples/list-workspaces.json +53 -0
  45. package/icons/openpost.svg +5 -0
  46. package/package.json +61 -4
@@ -0,0 +1,1869 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.generatedDescriptionProperties = void 0;
4
+ exports.generatedDescriptionProperties = [
5
+ {
6
+ displayName: "Resource",
7
+ name: "resource",
8
+ type: "options",
9
+ noDataExpression: true,
10
+ options: [
11
+ {
12
+ name: "Account",
13
+ value: "account",
14
+ },
15
+ {
16
+ name: "Job",
17
+ value: "job",
18
+ },
19
+ {
20
+ name: "Media",
21
+ value: "media",
22
+ },
23
+ {
24
+ name: "Posting Schedule",
25
+ value: "postingSchedule",
26
+ },
27
+ {
28
+ name: "Publication",
29
+ value: "publication",
30
+ },
31
+ {
32
+ name: "Social Set",
33
+ value: "socialSet",
34
+ },
35
+ {
36
+ name: "Workspace",
37
+ value: "workspace",
38
+ },
39
+ ],
40
+ default: "account",
41
+ },
42
+ {
43
+ displayName: "Operation",
44
+ name: "operation",
45
+ type: "options",
46
+ noDataExpression: true,
47
+ displayOptions: {
48
+ show: {
49
+ resource: ["account"],
50
+ },
51
+ },
52
+ options: [
53
+ {
54
+ action: "Get destination options account",
55
+ name: "Get Destination Options",
56
+ value: "getDestinationOptions",
57
+ },
58
+ {
59
+ action: "Get many accounts",
60
+ name: "Get Many",
61
+ value: "getMany",
62
+ },
63
+ {
64
+ action: "Get provider readiness account",
65
+ name: "Get Provider Readiness",
66
+ value: "getProviderReadiness",
67
+ },
68
+ ],
69
+ default: "getDestinationOptions",
70
+ },
71
+ {
72
+ displayName: "Operation",
73
+ name: "operation",
74
+ type: "options",
75
+ noDataExpression: true,
76
+ displayOptions: {
77
+ show: {
78
+ resource: ["job"],
79
+ },
80
+ },
81
+ options: [
82
+ {
83
+ action: "Get a job",
84
+ name: "Get",
85
+ value: "get",
86
+ },
87
+ ],
88
+ default: "get",
89
+ },
90
+ {
91
+ displayName: "Operation",
92
+ name: "operation",
93
+ type: "options",
94
+ noDataExpression: true,
95
+ displayOptions: {
96
+ show: {
97
+ resource: ["media"],
98
+ },
99
+ },
100
+ options: [
101
+ {
102
+ action: "Get many media items",
103
+ name: "Get Many",
104
+ value: "getMany",
105
+ },
106
+ {
107
+ action: "Upload binary media",
108
+ name: "Upload Binary",
109
+ value: "uploadBinary",
110
+ },
111
+ ],
112
+ default: "getMany",
113
+ },
114
+ {
115
+ displayName: "Operation",
116
+ name: "operation",
117
+ type: "options",
118
+ noDataExpression: true,
119
+ displayOptions: {
120
+ show: {
121
+ resource: ["postingSchedule"],
122
+ },
123
+ },
124
+ options: [
125
+ {
126
+ action: "Get next available slot posting schedule",
127
+ name: "Get Next Available Slot",
128
+ value: "getNextAvailableSlot",
129
+ },
130
+ ],
131
+ default: "getNextAvailableSlot",
132
+ },
133
+ {
134
+ displayName: "Operation",
135
+ name: "operation",
136
+ type: "options",
137
+ noDataExpression: true,
138
+ displayOptions: {
139
+ show: {
140
+ resource: ["publication"],
141
+ },
142
+ },
143
+ options: [
144
+ {
145
+ action: "Cancel publication",
146
+ name: "Cancel",
147
+ value: "cancel",
148
+ },
149
+ {
150
+ action: "Create publication",
151
+ name: "Create",
152
+ value: "create",
153
+ },
154
+ {
155
+ action: "Get a publication",
156
+ name: "Get",
157
+ value: "get",
158
+ },
159
+ {
160
+ action: "Get events publication",
161
+ name: "Get Events",
162
+ value: "getEvents",
163
+ },
164
+ {
165
+ action: "Get many publications",
166
+ name: "Get Many",
167
+ value: "getMany",
168
+ },
169
+ {
170
+ action: "Publish now publication",
171
+ name: "Publish Now",
172
+ value: "publishNow",
173
+ },
174
+ {
175
+ action: "Retry failed renditions publication",
176
+ name: "Retry Failed Renditions",
177
+ value: "retryFailedRenditions",
178
+ },
179
+ {
180
+ action: "Schedule publication",
181
+ name: "Schedule",
182
+ value: "schedule",
183
+ },
184
+ {
185
+ action: "Set renditions publication",
186
+ name: "Set Renditions",
187
+ value: "setRenditions",
188
+ },
189
+ {
190
+ action: "Update publication",
191
+ name: "Update",
192
+ value: "update",
193
+ },
194
+ {
195
+ action: "Validate publication",
196
+ name: "Validate",
197
+ value: "validate",
198
+ },
199
+ ],
200
+ default: "cancel",
201
+ },
202
+ {
203
+ displayName: "Operation",
204
+ name: "operation",
205
+ type: "options",
206
+ noDataExpression: true,
207
+ displayOptions: {
208
+ show: {
209
+ resource: ["socialSet"],
210
+ },
211
+ },
212
+ options: [
213
+ {
214
+ action: "Get a social set",
215
+ name: "Get",
216
+ value: "get",
217
+ },
218
+ {
219
+ action: "Get many social sets",
220
+ name: "Get Many",
221
+ value: "getMany",
222
+ },
223
+ ],
224
+ default: "get",
225
+ },
226
+ {
227
+ displayName: "Operation",
228
+ name: "operation",
229
+ type: "options",
230
+ noDataExpression: true,
231
+ displayOptions: {
232
+ show: {
233
+ resource: ["workspace"],
234
+ },
235
+ },
236
+ options: [
237
+ {
238
+ action: "Get many workspaces",
239
+ name: "Get Many",
240
+ value: "getMany",
241
+ },
242
+ ],
243
+ default: "getMany",
244
+ },
245
+ {
246
+ displayName: "Workspace",
247
+ name: "workspaceId",
248
+ type: "resourceLocator",
249
+ default: {
250
+ mode: "list",
251
+ value: "",
252
+ },
253
+ displayOptions: {
254
+ show: {
255
+ resource: ["account"],
256
+ operation: ["getMany"],
257
+ },
258
+ },
259
+ description: "Workspace ID",
260
+ required: true,
261
+ modes: [
262
+ {
263
+ displayName: "From List",
264
+ name: "list",
265
+ type: "list",
266
+ typeOptions: {
267
+ searchListMethod: "searchWorkspaces",
268
+ },
269
+ },
270
+ {
271
+ displayName: "By ID",
272
+ name: "id",
273
+ type: "string",
274
+ },
275
+ ],
276
+ },
277
+ {
278
+ displayName: "Workspace",
279
+ name: "workspaceId",
280
+ type: "resourceLocator",
281
+ default: {
282
+ mode: "list",
283
+ value: "",
284
+ },
285
+ displayOptions: {
286
+ show: {
287
+ resource: ["account"],
288
+ operation: ["getDestinationOptions"],
289
+ },
290
+ },
291
+ description: "Workspace ID",
292
+ required: true,
293
+ modes: [
294
+ {
295
+ displayName: "From List",
296
+ name: "list",
297
+ type: "list",
298
+ typeOptions: {
299
+ searchListMethod: "searchWorkspaces",
300
+ },
301
+ },
302
+ {
303
+ displayName: "By ID",
304
+ name: "id",
305
+ type: "string",
306
+ },
307
+ ],
308
+ },
309
+ {
310
+ displayName: "Account",
311
+ name: "accountId",
312
+ type: "resourceLocator",
313
+ default: {
314
+ mode: "list",
315
+ value: "",
316
+ },
317
+ displayOptions: {
318
+ show: {
319
+ resource: ["account"],
320
+ operation: ["getDestinationOptions"],
321
+ },
322
+ },
323
+ description: "Connected account ID",
324
+ required: true,
325
+ modes: [
326
+ {
327
+ displayName: "From List",
328
+ name: "list",
329
+ type: "list",
330
+ typeOptions: {
331
+ searchListMethod: "searchAccounts",
332
+ },
333
+ },
334
+ {
335
+ displayName: "By ID",
336
+ name: "id",
337
+ type: "string",
338
+ },
339
+ ],
340
+ },
341
+ {
342
+ displayName: "Region Code",
343
+ name: "regionCode",
344
+ type: "string",
345
+ default: "",
346
+ displayOptions: {
347
+ show: {
348
+ resource: ["account"],
349
+ operation: ["getDestinationOptions"],
350
+ },
351
+ },
352
+ description: "Optional provider region code",
353
+ },
354
+ {
355
+ displayName: "Language",
356
+ name: "language",
357
+ type: "string",
358
+ default: "",
359
+ displayOptions: {
360
+ show: {
361
+ resource: ["account"],
362
+ operation: ["getDestinationOptions"],
363
+ },
364
+ },
365
+ description: "Optional provider language code",
366
+ },
367
+ {
368
+ displayName: "Workspace",
369
+ name: "workspaceId",
370
+ type: "resourceLocator",
371
+ default: {
372
+ mode: "list",
373
+ value: "",
374
+ },
375
+ displayOptions: {
376
+ show: {
377
+ resource: ["account"],
378
+ operation: ["getProviderReadiness"],
379
+ },
380
+ },
381
+ description: "Workspace ID",
382
+ required: true,
383
+ modes: [
384
+ {
385
+ displayName: "From List",
386
+ name: "list",
387
+ type: "list",
388
+ typeOptions: {
389
+ searchListMethod: "searchWorkspaces",
390
+ },
391
+ },
392
+ {
393
+ displayName: "By ID",
394
+ name: "id",
395
+ type: "string",
396
+ },
397
+ ],
398
+ },
399
+ {
400
+ displayName: "Workspace",
401
+ name: "workspaceId",
402
+ type: "resourceLocator",
403
+ default: {
404
+ mode: "list",
405
+ value: "",
406
+ },
407
+ displayOptions: {
408
+ show: {
409
+ resource: ["socialSet"],
410
+ operation: ["getMany"],
411
+ },
412
+ },
413
+ description: "Workspace ID",
414
+ required: true,
415
+ modes: [
416
+ {
417
+ displayName: "From List",
418
+ name: "list",
419
+ type: "list",
420
+ typeOptions: {
421
+ searchListMethod: "searchWorkspaces",
422
+ },
423
+ },
424
+ {
425
+ displayName: "By ID",
426
+ name: "id",
427
+ type: "string",
428
+ },
429
+ ],
430
+ },
431
+ {
432
+ displayName: "Workspace",
433
+ name: "workspaceId",
434
+ type: "resourceLocator",
435
+ default: {
436
+ mode: "list",
437
+ value: "",
438
+ },
439
+ displayOptions: {
440
+ show: {
441
+ resource: ["socialSet"],
442
+ operation: ["get"],
443
+ },
444
+ },
445
+ description: "Workspace ID",
446
+ required: true,
447
+ modes: [
448
+ {
449
+ displayName: "From List",
450
+ name: "list",
451
+ type: "list",
452
+ typeOptions: {
453
+ searchListMethod: "searchWorkspaces",
454
+ },
455
+ },
456
+ {
457
+ displayName: "By ID",
458
+ name: "id",
459
+ type: "string",
460
+ },
461
+ ],
462
+ },
463
+ {
464
+ displayName: "Social Set",
465
+ name: "socialSetId",
466
+ type: "resourceLocator",
467
+ default: {
468
+ mode: "list",
469
+ value: "",
470
+ },
471
+ displayOptions: {
472
+ show: {
473
+ resource: ["socialSet"],
474
+ operation: ["get"],
475
+ },
476
+ },
477
+ description: "Social Set ID",
478
+ required: true,
479
+ modes: [
480
+ {
481
+ displayName: "From List",
482
+ name: "list",
483
+ type: "list",
484
+ typeOptions: {
485
+ searchListMethod: "searchSocialSets",
486
+ },
487
+ },
488
+ {
489
+ displayName: "By ID",
490
+ name: "id",
491
+ type: "string",
492
+ },
493
+ ],
494
+ },
495
+ {
496
+ displayName: "Workspace",
497
+ name: "workspaceId",
498
+ type: "resourceLocator",
499
+ default: {
500
+ mode: "list",
501
+ value: "",
502
+ },
503
+ displayOptions: {
504
+ show: {
505
+ resource: ["postingSchedule"],
506
+ operation: ["getNextAvailableSlot"],
507
+ },
508
+ },
509
+ description: "Workspace ID",
510
+ modes: [
511
+ {
512
+ displayName: "From List",
513
+ name: "list",
514
+ type: "list",
515
+ typeOptions: {
516
+ searchListMethod: "searchWorkspaces",
517
+ },
518
+ },
519
+ {
520
+ displayName: "By ID",
521
+ name: "id",
522
+ type: "string",
523
+ },
524
+ ],
525
+ },
526
+ {
527
+ displayName: "Workspace",
528
+ name: "workspaceId",
529
+ type: "resourceLocator",
530
+ default: {
531
+ mode: "list",
532
+ value: "",
533
+ },
534
+ displayOptions: {
535
+ show: {
536
+ resource: ["media"],
537
+ operation: ["getMany"],
538
+ },
539
+ },
540
+ description: "Workspace ID",
541
+ required: true,
542
+ modes: [
543
+ {
544
+ displayName: "From List",
545
+ name: "list",
546
+ type: "list",
547
+ typeOptions: {
548
+ searchListMethod: "searchWorkspaces",
549
+ },
550
+ },
551
+ {
552
+ displayName: "By ID",
553
+ name: "id",
554
+ type: "string",
555
+ },
556
+ ],
557
+ },
558
+ {
559
+ displayName: "Search",
560
+ name: "search",
561
+ type: "string",
562
+ default: "",
563
+ displayOptions: {
564
+ show: {
565
+ resource: ["media"],
566
+ operation: ["getMany"],
567
+ },
568
+ },
569
+ description: "Filter by media title or filename",
570
+ },
571
+ {
572
+ displayName: "Limit",
573
+ name: "limit",
574
+ type: "number",
575
+ default: 50,
576
+ displayOptions: {
577
+ show: {
578
+ resource: ["media"],
579
+ operation: ["getMany"],
580
+ },
581
+ },
582
+ description: "Max number of results to return",
583
+ typeOptions: {
584
+ minValue: 1,
585
+ },
586
+ },
587
+ {
588
+ displayName: "Workspace",
589
+ name: "workspaceId",
590
+ type: "resourceLocator",
591
+ default: {
592
+ mode: "list",
593
+ value: "",
594
+ },
595
+ displayOptions: {
596
+ show: {
597
+ resource: ["media"],
598
+ operation: ["uploadBinary"],
599
+ },
600
+ },
601
+ description: "Workspace ID",
602
+ required: true,
603
+ modes: [
604
+ {
605
+ displayName: "From List",
606
+ name: "list",
607
+ type: "list",
608
+ typeOptions: {
609
+ searchListMethod: "searchWorkspaces",
610
+ },
611
+ },
612
+ {
613
+ displayName: "By ID",
614
+ name: "id",
615
+ type: "string",
616
+ },
617
+ ],
618
+ },
619
+ {
620
+ displayName: "Binary Property",
621
+ name: "binaryPropertyName",
622
+ type: "string",
623
+ default: "data",
624
+ displayOptions: {
625
+ show: {
626
+ resource: ["media"],
627
+ operation: ["uploadBinary"],
628
+ },
629
+ },
630
+ description: "Name of the input binary property to upload",
631
+ required: true,
632
+ },
633
+ {
634
+ displayName: "File Name",
635
+ name: "fileName",
636
+ type: "string",
637
+ default: "",
638
+ displayOptions: {
639
+ show: {
640
+ resource: ["media"],
641
+ operation: ["uploadBinary"],
642
+ },
643
+ },
644
+ description: "Override the binary filename",
645
+ },
646
+ {
647
+ displayName: "MIME Type",
648
+ name: "mimeType",
649
+ type: "string",
650
+ default: "",
651
+ displayOptions: {
652
+ show: {
653
+ resource: ["media"],
654
+ operation: ["uploadBinary"],
655
+ },
656
+ },
657
+ description: "Override the binary MIME type",
658
+ },
659
+ {
660
+ displayName: "Alt Text",
661
+ name: "altText",
662
+ type: "string",
663
+ default: "",
664
+ displayOptions: {
665
+ show: {
666
+ resource: ["media"],
667
+ operation: ["uploadBinary"],
668
+ },
669
+ },
670
+ description: "Alt text for accessibility",
671
+ },
672
+ {
673
+ displayName: "Retention Class",
674
+ name: "retentionClass",
675
+ type: "options",
676
+ default: "library",
677
+ displayOptions: {
678
+ show: {
679
+ resource: ["media"],
680
+ operation: ["uploadBinary"],
681
+ },
682
+ },
683
+ options: [
684
+ {
685
+ name: "Library",
686
+ value: "library",
687
+ },
688
+ {
689
+ name: "Temporary",
690
+ value: "temporary",
691
+ },
692
+ ],
693
+ },
694
+ {
695
+ displayName: "Asset Kind",
696
+ name: "assetKind",
697
+ type: "options",
698
+ default: "library",
699
+ displayOptions: {
700
+ show: {
701
+ resource: ["media"],
702
+ operation: ["uploadBinary"],
703
+ },
704
+ },
705
+ options: [
706
+ {
707
+ name: "Brand Asset",
708
+ value: "brand_asset",
709
+ },
710
+ {
711
+ name: "Library",
712
+ value: "library",
713
+ },
714
+ ],
715
+ },
716
+ {
717
+ displayName: "Idempotency Key",
718
+ name: "idempotencyKey",
719
+ type: "string",
720
+ default: "",
721
+ placeholder: "Leave empty to use the n8n execution ID and item index",
722
+ description: "Use a stable upstream event ID when retrying a write across workflow executions",
723
+ displayOptions: {
724
+ show: {
725
+ resource: ["media"],
726
+ operation: ["uploadBinary"],
727
+ },
728
+ },
729
+ },
730
+ {
731
+ displayName: "Workspace",
732
+ name: "workspaceId",
733
+ type: "resourceLocator",
734
+ default: {
735
+ mode: "list",
736
+ value: "",
737
+ },
738
+ displayOptions: {
739
+ show: {
740
+ resource: ["publication"],
741
+ operation: ["getMany"],
742
+ },
743
+ },
744
+ description: "Workspace ID",
745
+ required: true,
746
+ modes: [
747
+ {
748
+ displayName: "From List",
749
+ name: "list",
750
+ type: "list",
751
+ typeOptions: {
752
+ searchListMethod: "searchWorkspaces",
753
+ },
754
+ },
755
+ {
756
+ displayName: "By ID",
757
+ name: "id",
758
+ type: "string",
759
+ },
760
+ ],
761
+ },
762
+ {
763
+ displayName: "Status",
764
+ name: "status",
765
+ type: "string",
766
+ default: "",
767
+ displayOptions: {
768
+ show: {
769
+ resource: ["publication"],
770
+ operation: ["getMany"],
771
+ },
772
+ },
773
+ description: "Optional publication status filter",
774
+ },
775
+ {
776
+ displayName: "Search",
777
+ name: "search",
778
+ type: "string",
779
+ default: "",
780
+ displayOptions: {
781
+ show: {
782
+ resource: ["publication"],
783
+ operation: ["getMany"],
784
+ },
785
+ },
786
+ description: "Search title and source text",
787
+ },
788
+ {
789
+ displayName: "Limit",
790
+ name: "limit",
791
+ type: "number",
792
+ default: 50,
793
+ displayOptions: {
794
+ show: {
795
+ resource: ["publication"],
796
+ operation: ["getMany"],
797
+ },
798
+ },
799
+ description: "Max number of results to return",
800
+ typeOptions: {
801
+ minValue: 1,
802
+ },
803
+ },
804
+ {
805
+ displayName: "Workspace",
806
+ name: "workspaceId",
807
+ type: "resourceLocator",
808
+ default: {
809
+ mode: "list",
810
+ value: "",
811
+ },
812
+ displayOptions: {
813
+ show: {
814
+ resource: ["publication"],
815
+ operation: ["create"],
816
+ },
817
+ },
818
+ description: "Workspace ID",
819
+ required: true,
820
+ modes: [
821
+ {
822
+ displayName: "From List",
823
+ name: "list",
824
+ type: "list",
825
+ typeOptions: {
826
+ searchListMethod: "searchWorkspaces",
827
+ },
828
+ },
829
+ {
830
+ displayName: "By ID",
831
+ name: "id",
832
+ type: "string",
833
+ },
834
+ ],
835
+ },
836
+ {
837
+ displayName: "Title",
838
+ name: "title",
839
+ type: "string",
840
+ default: "",
841
+ displayOptions: {
842
+ show: {
843
+ resource: ["publication"],
844
+ operation: ["create"],
845
+ },
846
+ },
847
+ description: "Internal publication title",
848
+ required: true,
849
+ },
850
+ {
851
+ displayName: "Source Text",
852
+ name: "sourceText",
853
+ type: "string",
854
+ default: "",
855
+ displayOptions: {
856
+ show: {
857
+ resource: ["publication"],
858
+ operation: ["create"],
859
+ },
860
+ },
861
+ description: "Canonical source text",
862
+ required: true,
863
+ typeOptions: {
864
+ rows: 4,
865
+ },
866
+ },
867
+ {
868
+ displayName: "Content Profile",
869
+ name: "contentProfile",
870
+ type: "options",
871
+ default: "short_text",
872
+ displayOptions: {
873
+ show: {
874
+ resource: ["publication"],
875
+ operation: ["create"],
876
+ },
877
+ },
878
+ options: [
879
+ {
880
+ name: "Carousel",
881
+ value: "carousel",
882
+ },
883
+ {
884
+ name: "Image Post",
885
+ value: "image_post",
886
+ },
887
+ {
888
+ name: "Link Share",
889
+ value: "link_share",
890
+ },
891
+ {
892
+ name: "Long Video",
893
+ value: "long_video",
894
+ },
895
+ {
896
+ name: "Short Text",
897
+ value: "short_text",
898
+ },
899
+ {
900
+ name: "Short Video",
901
+ value: "short_video",
902
+ },
903
+ {
904
+ name: "Story",
905
+ value: "story",
906
+ },
907
+ {
908
+ name: "Thread",
909
+ value: "thread",
910
+ },
911
+ ],
912
+ },
913
+ {
914
+ displayName: "Creation Preset",
915
+ name: "creationPreset",
916
+ type: "options",
917
+ default: "post",
918
+ displayOptions: {
919
+ show: {
920
+ resource: ["publication"],
921
+ operation: ["create"],
922
+ },
923
+ },
924
+ options: [
925
+ {
926
+ name: "Post",
927
+ value: "post",
928
+ },
929
+ {
930
+ name: "Short Video",
931
+ value: "short_video",
932
+ },
933
+ {
934
+ name: "Story",
935
+ value: "story",
936
+ },
937
+ {
938
+ name: "Thread",
939
+ value: "thread",
940
+ },
941
+ {
942
+ name: "Video",
943
+ value: "video",
944
+ },
945
+ ],
946
+ },
947
+ {
948
+ displayName: "Account IDs",
949
+ name: "accountIds",
950
+ type: "string",
951
+ default: "",
952
+ displayOptions: {
953
+ show: {
954
+ resource: ["publication"],
955
+ operation: ["create"],
956
+ },
957
+ },
958
+ description: "Comma-separated connected account IDs",
959
+ },
960
+ {
961
+ displayName: "Media IDs",
962
+ name: "mediaIds",
963
+ type: "string",
964
+ default: "",
965
+ displayOptions: {
966
+ show: {
967
+ resource: ["publication"],
968
+ operation: ["create"],
969
+ },
970
+ },
971
+ description: "Comma-separated media IDs to attach in order",
972
+ },
973
+ {
974
+ displayName: "Source URL",
975
+ name: "sourceUrl",
976
+ type: "string",
977
+ default: "",
978
+ displayOptions: {
979
+ show: {
980
+ resource: ["publication"],
981
+ operation: ["create"],
982
+ },
983
+ },
984
+ description: "Optional source URL",
985
+ },
986
+ {
987
+ displayName: "Scheduled At",
988
+ name: "scheduledAt",
989
+ type: "dateTime",
990
+ default: "",
991
+ displayOptions: {
992
+ show: {
993
+ resource: ["publication"],
994
+ operation: ["create"],
995
+ },
996
+ },
997
+ description: "Optional publication date and time",
998
+ },
999
+ {
1000
+ displayName: "Random Delay Minutes",
1001
+ name: "randomDelayMinutes",
1002
+ type: "number",
1003
+ default: 0,
1004
+ displayOptions: {
1005
+ show: {
1006
+ resource: ["publication"],
1007
+ operation: ["create"],
1008
+ },
1009
+ },
1010
+ description: "Optional random schedule delay in minutes",
1011
+ },
1012
+ {
1013
+ displayName: "Advanced JSON",
1014
+ name: "advancedJson",
1015
+ type: "json",
1016
+ default: "{}",
1017
+ displayOptions: {
1018
+ show: {
1019
+ resource: ["publication"],
1020
+ operation: ["create"],
1021
+ },
1022
+ },
1023
+ description: "Additional CreatePublicationBody fields. Native fields win over conflicting keys.",
1024
+ },
1025
+ {
1026
+ displayName: "Idempotency Key",
1027
+ name: "idempotencyKey",
1028
+ type: "string",
1029
+ default: "",
1030
+ placeholder: "Leave empty to use the n8n execution ID and item index",
1031
+ description: "Use a stable upstream event ID when retrying a write across workflow executions",
1032
+ displayOptions: {
1033
+ show: {
1034
+ resource: ["publication"],
1035
+ operation: ["create"],
1036
+ },
1037
+ },
1038
+ },
1039
+ {
1040
+ displayName: "Workspace",
1041
+ name: "workspaceId",
1042
+ type: "resourceLocator",
1043
+ default: {
1044
+ mode: "list",
1045
+ value: "",
1046
+ },
1047
+ displayOptions: {
1048
+ show: {
1049
+ resource: ["publication"],
1050
+ operation: ["get"],
1051
+ },
1052
+ },
1053
+ description: "Workspace ID",
1054
+ required: true,
1055
+ modes: [
1056
+ {
1057
+ displayName: "From List",
1058
+ name: "list",
1059
+ type: "list",
1060
+ typeOptions: {
1061
+ searchListMethod: "searchWorkspaces",
1062
+ },
1063
+ },
1064
+ {
1065
+ displayName: "By ID",
1066
+ name: "id",
1067
+ type: "string",
1068
+ },
1069
+ ],
1070
+ },
1071
+ {
1072
+ displayName: "Publication",
1073
+ name: "publicationId",
1074
+ type: "resourceLocator",
1075
+ default: {
1076
+ mode: "list",
1077
+ value: "",
1078
+ },
1079
+ displayOptions: {
1080
+ show: {
1081
+ resource: ["publication"],
1082
+ operation: ["get"],
1083
+ },
1084
+ },
1085
+ description: "Publication ID",
1086
+ required: true,
1087
+ modes: [
1088
+ {
1089
+ displayName: "From List",
1090
+ name: "list",
1091
+ type: "list",
1092
+ typeOptions: {
1093
+ searchListMethod: "searchPublications",
1094
+ },
1095
+ },
1096
+ {
1097
+ displayName: "By ID",
1098
+ name: "id",
1099
+ type: "string",
1100
+ },
1101
+ ],
1102
+ },
1103
+ {
1104
+ displayName: "Workspace",
1105
+ name: "workspaceId",
1106
+ type: "resourceLocator",
1107
+ default: {
1108
+ mode: "list",
1109
+ value: "",
1110
+ },
1111
+ displayOptions: {
1112
+ show: {
1113
+ resource: ["publication"],
1114
+ operation: ["update"],
1115
+ },
1116
+ },
1117
+ description: "Workspace ID",
1118
+ required: true,
1119
+ modes: [
1120
+ {
1121
+ displayName: "From List",
1122
+ name: "list",
1123
+ type: "list",
1124
+ typeOptions: {
1125
+ searchListMethod: "searchWorkspaces",
1126
+ },
1127
+ },
1128
+ {
1129
+ displayName: "By ID",
1130
+ name: "id",
1131
+ type: "string",
1132
+ },
1133
+ ],
1134
+ },
1135
+ {
1136
+ displayName: "Publication",
1137
+ name: "publicationId",
1138
+ type: "resourceLocator",
1139
+ default: {
1140
+ mode: "list",
1141
+ value: "",
1142
+ },
1143
+ displayOptions: {
1144
+ show: {
1145
+ resource: ["publication"],
1146
+ operation: ["update"],
1147
+ },
1148
+ },
1149
+ description: "Publication ID",
1150
+ required: true,
1151
+ modes: [
1152
+ {
1153
+ displayName: "From List",
1154
+ name: "list",
1155
+ type: "list",
1156
+ typeOptions: {
1157
+ searchListMethod: "searchPublications",
1158
+ },
1159
+ },
1160
+ {
1161
+ displayName: "By ID",
1162
+ name: "id",
1163
+ type: "string",
1164
+ },
1165
+ ],
1166
+ },
1167
+ {
1168
+ displayName: "Expected Revision",
1169
+ name: "expectedRevision",
1170
+ type: "number",
1171
+ default: 0,
1172
+ displayOptions: {
1173
+ show: {
1174
+ resource: ["publication"],
1175
+ operation: ["update"],
1176
+ },
1177
+ },
1178
+ description: "Revision loaded before updating",
1179
+ required: true,
1180
+ },
1181
+ {
1182
+ displayName: "Title",
1183
+ name: "title",
1184
+ type: "string",
1185
+ default: "",
1186
+ displayOptions: {
1187
+ show: {
1188
+ resource: ["publication"],
1189
+ operation: ["update"],
1190
+ },
1191
+ },
1192
+ description: "Internal publication title",
1193
+ },
1194
+ {
1195
+ displayName: "Source Text",
1196
+ name: "sourceText",
1197
+ type: "string",
1198
+ default: "",
1199
+ displayOptions: {
1200
+ show: {
1201
+ resource: ["publication"],
1202
+ operation: ["update"],
1203
+ },
1204
+ },
1205
+ description: "Canonical source text",
1206
+ typeOptions: {
1207
+ rows: 4,
1208
+ },
1209
+ },
1210
+ {
1211
+ displayName: "Scheduled At",
1212
+ name: "scheduledAt",
1213
+ type: "dateTime",
1214
+ default: "",
1215
+ displayOptions: {
1216
+ show: {
1217
+ resource: ["publication"],
1218
+ operation: ["update"],
1219
+ },
1220
+ },
1221
+ description: "Optional publication date and time",
1222
+ },
1223
+ {
1224
+ displayName: "Advanced JSON",
1225
+ name: "advancedJson",
1226
+ type: "json",
1227
+ default: "{}",
1228
+ displayOptions: {
1229
+ show: {
1230
+ resource: ["publication"],
1231
+ operation: ["update"],
1232
+ },
1233
+ },
1234
+ description: "Additional PublicationUpdateBody fields. Native fields win over conflicting keys.",
1235
+ },
1236
+ {
1237
+ displayName: "Idempotency Key",
1238
+ name: "idempotencyKey",
1239
+ type: "string",
1240
+ default: "",
1241
+ placeholder: "Leave empty to use the n8n execution ID and item index",
1242
+ description: "Use a stable upstream event ID when retrying a write across workflow executions",
1243
+ displayOptions: {
1244
+ show: {
1245
+ resource: ["publication"],
1246
+ operation: ["update"],
1247
+ },
1248
+ },
1249
+ },
1250
+ {
1251
+ displayName: "Workspace",
1252
+ name: "workspaceId",
1253
+ type: "resourceLocator",
1254
+ default: {
1255
+ mode: "list",
1256
+ value: "",
1257
+ },
1258
+ displayOptions: {
1259
+ show: {
1260
+ resource: ["publication"],
1261
+ operation: ["setRenditions"],
1262
+ },
1263
+ },
1264
+ description: "Workspace ID",
1265
+ required: true,
1266
+ modes: [
1267
+ {
1268
+ displayName: "From List",
1269
+ name: "list",
1270
+ type: "list",
1271
+ typeOptions: {
1272
+ searchListMethod: "searchWorkspaces",
1273
+ },
1274
+ },
1275
+ {
1276
+ displayName: "By ID",
1277
+ name: "id",
1278
+ type: "string",
1279
+ },
1280
+ ],
1281
+ },
1282
+ {
1283
+ displayName: "Publication",
1284
+ name: "publicationId",
1285
+ type: "resourceLocator",
1286
+ default: {
1287
+ mode: "list",
1288
+ value: "",
1289
+ },
1290
+ displayOptions: {
1291
+ show: {
1292
+ resource: ["publication"],
1293
+ operation: ["setRenditions"],
1294
+ },
1295
+ },
1296
+ description: "Publication ID",
1297
+ required: true,
1298
+ modes: [
1299
+ {
1300
+ displayName: "From List",
1301
+ name: "list",
1302
+ type: "list",
1303
+ typeOptions: {
1304
+ searchListMethod: "searchPublications",
1305
+ },
1306
+ },
1307
+ {
1308
+ displayName: "By ID",
1309
+ name: "id",
1310
+ type: "string",
1311
+ },
1312
+ ],
1313
+ },
1314
+ {
1315
+ displayName: "Expected Revision",
1316
+ name: "expectedRevision",
1317
+ type: "number",
1318
+ default: 0,
1319
+ displayOptions: {
1320
+ show: {
1321
+ resource: ["publication"],
1322
+ operation: ["setRenditions"],
1323
+ },
1324
+ },
1325
+ description: "Revision loaded before replacing renditions",
1326
+ required: true,
1327
+ },
1328
+ {
1329
+ displayName: "Renditions JSON",
1330
+ name: "renditionsJson",
1331
+ type: "json",
1332
+ default: "{}",
1333
+ displayOptions: {
1334
+ show: {
1335
+ resource: ["publication"],
1336
+ operation: ["setRenditions"],
1337
+ },
1338
+ },
1339
+ description: "Array of RenditionInput objects",
1340
+ required: true,
1341
+ },
1342
+ {
1343
+ displayName: "Idempotency Key",
1344
+ name: "idempotencyKey",
1345
+ type: "string",
1346
+ default: "",
1347
+ placeholder: "Leave empty to use the n8n execution ID and item index",
1348
+ description: "Use a stable upstream event ID when retrying a write across workflow executions",
1349
+ displayOptions: {
1350
+ show: {
1351
+ resource: ["publication"],
1352
+ operation: ["setRenditions"],
1353
+ },
1354
+ },
1355
+ },
1356
+ {
1357
+ displayName: "Workspace",
1358
+ name: "workspaceId",
1359
+ type: "resourceLocator",
1360
+ default: {
1361
+ mode: "list",
1362
+ value: "",
1363
+ },
1364
+ displayOptions: {
1365
+ show: {
1366
+ resource: ["publication"],
1367
+ operation: ["validate"],
1368
+ },
1369
+ },
1370
+ description: "Workspace ID",
1371
+ required: true,
1372
+ modes: [
1373
+ {
1374
+ displayName: "From List",
1375
+ name: "list",
1376
+ type: "list",
1377
+ typeOptions: {
1378
+ searchListMethod: "searchWorkspaces",
1379
+ },
1380
+ },
1381
+ {
1382
+ displayName: "By ID",
1383
+ name: "id",
1384
+ type: "string",
1385
+ },
1386
+ ],
1387
+ },
1388
+ {
1389
+ displayName: "Publication",
1390
+ name: "publicationId",
1391
+ type: "resourceLocator",
1392
+ default: {
1393
+ mode: "list",
1394
+ value: "",
1395
+ },
1396
+ displayOptions: {
1397
+ show: {
1398
+ resource: ["publication"],
1399
+ operation: ["validate"],
1400
+ },
1401
+ },
1402
+ description: "Publication ID",
1403
+ required: true,
1404
+ modes: [
1405
+ {
1406
+ displayName: "From List",
1407
+ name: "list",
1408
+ type: "list",
1409
+ typeOptions: {
1410
+ searchListMethod: "searchPublications",
1411
+ },
1412
+ },
1413
+ {
1414
+ displayName: "By ID",
1415
+ name: "id",
1416
+ type: "string",
1417
+ },
1418
+ ],
1419
+ },
1420
+ {
1421
+ displayName: "Workspace",
1422
+ name: "workspaceId",
1423
+ type: "resourceLocator",
1424
+ default: {
1425
+ mode: "list",
1426
+ value: "",
1427
+ },
1428
+ displayOptions: {
1429
+ show: {
1430
+ resource: ["publication"],
1431
+ operation: ["schedule"],
1432
+ },
1433
+ },
1434
+ description: "Workspace ID",
1435
+ required: true,
1436
+ modes: [
1437
+ {
1438
+ displayName: "From List",
1439
+ name: "list",
1440
+ type: "list",
1441
+ typeOptions: {
1442
+ searchListMethod: "searchWorkspaces",
1443
+ },
1444
+ },
1445
+ {
1446
+ displayName: "By ID",
1447
+ name: "id",
1448
+ type: "string",
1449
+ },
1450
+ ],
1451
+ },
1452
+ {
1453
+ displayName: "Publication",
1454
+ name: "publicationId",
1455
+ type: "resourceLocator",
1456
+ default: {
1457
+ mode: "list",
1458
+ value: "",
1459
+ },
1460
+ displayOptions: {
1461
+ show: {
1462
+ resource: ["publication"],
1463
+ operation: ["schedule"],
1464
+ },
1465
+ },
1466
+ description: "Publication ID",
1467
+ required: true,
1468
+ modes: [
1469
+ {
1470
+ displayName: "From List",
1471
+ name: "list",
1472
+ type: "list",
1473
+ typeOptions: {
1474
+ searchListMethod: "searchPublications",
1475
+ },
1476
+ },
1477
+ {
1478
+ displayName: "By ID",
1479
+ name: "id",
1480
+ type: "string",
1481
+ },
1482
+ ],
1483
+ },
1484
+ {
1485
+ displayName: "Expected Revision",
1486
+ name: "expectedRevision",
1487
+ type: "number",
1488
+ default: 0,
1489
+ displayOptions: {
1490
+ show: {
1491
+ resource: ["publication"],
1492
+ operation: ["schedule"],
1493
+ },
1494
+ },
1495
+ description: "Revision saved before scheduling",
1496
+ required: true,
1497
+ },
1498
+ {
1499
+ displayName: "Idempotency Key",
1500
+ name: "idempotencyKey",
1501
+ type: "string",
1502
+ default: "",
1503
+ placeholder: "Leave empty to use the n8n execution ID and item index",
1504
+ description: "Use a stable upstream event ID when retrying a write across workflow executions",
1505
+ displayOptions: {
1506
+ show: {
1507
+ resource: ["publication"],
1508
+ operation: ["schedule"],
1509
+ },
1510
+ },
1511
+ },
1512
+ {
1513
+ displayName: "Workspace",
1514
+ name: "workspaceId",
1515
+ type: "resourceLocator",
1516
+ default: {
1517
+ mode: "list",
1518
+ value: "",
1519
+ },
1520
+ displayOptions: {
1521
+ show: {
1522
+ resource: ["publication"],
1523
+ operation: ["cancel"],
1524
+ },
1525
+ },
1526
+ description: "Workspace ID",
1527
+ required: true,
1528
+ modes: [
1529
+ {
1530
+ displayName: "From List",
1531
+ name: "list",
1532
+ type: "list",
1533
+ typeOptions: {
1534
+ searchListMethod: "searchWorkspaces",
1535
+ },
1536
+ },
1537
+ {
1538
+ displayName: "By ID",
1539
+ name: "id",
1540
+ type: "string",
1541
+ },
1542
+ ],
1543
+ },
1544
+ {
1545
+ displayName: "Publication",
1546
+ name: "publicationId",
1547
+ type: "resourceLocator",
1548
+ default: {
1549
+ mode: "list",
1550
+ value: "",
1551
+ },
1552
+ displayOptions: {
1553
+ show: {
1554
+ resource: ["publication"],
1555
+ operation: ["cancel"],
1556
+ },
1557
+ },
1558
+ description: "Publication ID",
1559
+ required: true,
1560
+ modes: [
1561
+ {
1562
+ displayName: "From List",
1563
+ name: "list",
1564
+ type: "list",
1565
+ typeOptions: {
1566
+ searchListMethod: "searchPublications",
1567
+ },
1568
+ },
1569
+ {
1570
+ displayName: "By ID",
1571
+ name: "id",
1572
+ type: "string",
1573
+ },
1574
+ ],
1575
+ },
1576
+ {
1577
+ displayName: "Expected Revision",
1578
+ name: "expectedRevision",
1579
+ type: "number",
1580
+ default: 0,
1581
+ displayOptions: {
1582
+ show: {
1583
+ resource: ["publication"],
1584
+ operation: ["cancel"],
1585
+ },
1586
+ },
1587
+ description: "Revision saved before canceling",
1588
+ required: true,
1589
+ },
1590
+ {
1591
+ displayName: "Idempotency Key",
1592
+ name: "idempotencyKey",
1593
+ type: "string",
1594
+ default: "",
1595
+ placeholder: "Leave empty to use the n8n execution ID and item index",
1596
+ description: "Use a stable upstream event ID when retrying a write across workflow executions",
1597
+ displayOptions: {
1598
+ show: {
1599
+ resource: ["publication"],
1600
+ operation: ["cancel"],
1601
+ },
1602
+ },
1603
+ },
1604
+ {
1605
+ displayName: "Workspace",
1606
+ name: "workspaceId",
1607
+ type: "resourceLocator",
1608
+ default: {
1609
+ mode: "list",
1610
+ value: "",
1611
+ },
1612
+ displayOptions: {
1613
+ show: {
1614
+ resource: ["publication"],
1615
+ operation: ["publishNow"],
1616
+ },
1617
+ },
1618
+ description: "Workspace ID",
1619
+ required: true,
1620
+ modes: [
1621
+ {
1622
+ displayName: "From List",
1623
+ name: "list",
1624
+ type: "list",
1625
+ typeOptions: {
1626
+ searchListMethod: "searchWorkspaces",
1627
+ },
1628
+ },
1629
+ {
1630
+ displayName: "By ID",
1631
+ name: "id",
1632
+ type: "string",
1633
+ },
1634
+ ],
1635
+ },
1636
+ {
1637
+ displayName: "Publication",
1638
+ name: "publicationId",
1639
+ type: "resourceLocator",
1640
+ default: {
1641
+ mode: "list",
1642
+ value: "",
1643
+ },
1644
+ displayOptions: {
1645
+ show: {
1646
+ resource: ["publication"],
1647
+ operation: ["publishNow"],
1648
+ },
1649
+ },
1650
+ description: "Publication ID",
1651
+ required: true,
1652
+ modes: [
1653
+ {
1654
+ displayName: "From List",
1655
+ name: "list",
1656
+ type: "list",
1657
+ typeOptions: {
1658
+ searchListMethod: "searchPublications",
1659
+ },
1660
+ },
1661
+ {
1662
+ displayName: "By ID",
1663
+ name: "id",
1664
+ type: "string",
1665
+ },
1666
+ ],
1667
+ },
1668
+ {
1669
+ displayName: "Expected Revision",
1670
+ name: "expectedRevision",
1671
+ type: "number",
1672
+ default: 0,
1673
+ displayOptions: {
1674
+ show: {
1675
+ resource: ["publication"],
1676
+ operation: ["publishNow"],
1677
+ },
1678
+ },
1679
+ description: "Revision saved before publishing",
1680
+ required: true,
1681
+ },
1682
+ {
1683
+ displayName: "Idempotency Key",
1684
+ name: "idempotencyKey",
1685
+ type: "string",
1686
+ default: "",
1687
+ placeholder: "Leave empty to use the n8n execution ID and item index",
1688
+ description: "Use a stable upstream event ID when retrying a write across workflow executions",
1689
+ displayOptions: {
1690
+ show: {
1691
+ resource: ["publication"],
1692
+ operation: ["publishNow"],
1693
+ },
1694
+ },
1695
+ },
1696
+ {
1697
+ displayName: "Workspace",
1698
+ name: "workspaceId",
1699
+ type: "resourceLocator",
1700
+ default: {
1701
+ mode: "list",
1702
+ value: "",
1703
+ },
1704
+ displayOptions: {
1705
+ show: {
1706
+ resource: ["publication"],
1707
+ operation: ["retryFailedRenditions"],
1708
+ },
1709
+ },
1710
+ description: "Workspace ID",
1711
+ required: true,
1712
+ modes: [
1713
+ {
1714
+ displayName: "From List",
1715
+ name: "list",
1716
+ type: "list",
1717
+ typeOptions: {
1718
+ searchListMethod: "searchWorkspaces",
1719
+ },
1720
+ },
1721
+ {
1722
+ displayName: "By ID",
1723
+ name: "id",
1724
+ type: "string",
1725
+ },
1726
+ ],
1727
+ },
1728
+ {
1729
+ displayName: "Publication",
1730
+ name: "publicationId",
1731
+ type: "resourceLocator",
1732
+ default: {
1733
+ mode: "list",
1734
+ value: "",
1735
+ },
1736
+ displayOptions: {
1737
+ show: {
1738
+ resource: ["publication"],
1739
+ operation: ["retryFailedRenditions"],
1740
+ },
1741
+ },
1742
+ description: "Publication ID",
1743
+ required: true,
1744
+ modes: [
1745
+ {
1746
+ displayName: "From List",
1747
+ name: "list",
1748
+ type: "list",
1749
+ typeOptions: {
1750
+ searchListMethod: "searchPublications",
1751
+ },
1752
+ },
1753
+ {
1754
+ displayName: "By ID",
1755
+ name: "id",
1756
+ type: "string",
1757
+ },
1758
+ ],
1759
+ },
1760
+ {
1761
+ displayName: "Idempotency Key",
1762
+ name: "idempotencyKey",
1763
+ type: "string",
1764
+ default: "",
1765
+ placeholder: "Leave empty to use the n8n execution ID and item index",
1766
+ description: "Use a stable upstream event ID when retrying a write across workflow executions",
1767
+ displayOptions: {
1768
+ show: {
1769
+ resource: ["publication"],
1770
+ operation: ["retryFailedRenditions"],
1771
+ },
1772
+ },
1773
+ },
1774
+ {
1775
+ displayName: "Workspace",
1776
+ name: "workspaceId",
1777
+ type: "resourceLocator",
1778
+ default: {
1779
+ mode: "list",
1780
+ value: "",
1781
+ },
1782
+ displayOptions: {
1783
+ show: {
1784
+ resource: ["publication"],
1785
+ operation: ["getEvents"],
1786
+ },
1787
+ },
1788
+ description: "Workspace ID",
1789
+ required: true,
1790
+ modes: [
1791
+ {
1792
+ displayName: "From List",
1793
+ name: "list",
1794
+ type: "list",
1795
+ typeOptions: {
1796
+ searchListMethod: "searchWorkspaces",
1797
+ },
1798
+ },
1799
+ {
1800
+ displayName: "By ID",
1801
+ name: "id",
1802
+ type: "string",
1803
+ },
1804
+ ],
1805
+ },
1806
+ {
1807
+ displayName: "Publication",
1808
+ name: "publicationId",
1809
+ type: "resourceLocator",
1810
+ default: {
1811
+ mode: "list",
1812
+ value: "",
1813
+ },
1814
+ displayOptions: {
1815
+ show: {
1816
+ resource: ["publication"],
1817
+ operation: ["getEvents"],
1818
+ },
1819
+ },
1820
+ description: "Publication ID",
1821
+ required: true,
1822
+ modes: [
1823
+ {
1824
+ displayName: "From List",
1825
+ name: "list",
1826
+ type: "list",
1827
+ typeOptions: {
1828
+ searchListMethod: "searchPublications",
1829
+ },
1830
+ },
1831
+ {
1832
+ displayName: "By ID",
1833
+ name: "id",
1834
+ type: "string",
1835
+ },
1836
+ ],
1837
+ },
1838
+ {
1839
+ displayName: "Limit",
1840
+ name: "limit",
1841
+ type: "number",
1842
+ default: 50,
1843
+ displayOptions: {
1844
+ show: {
1845
+ resource: ["publication"],
1846
+ operation: ["getEvents"],
1847
+ },
1848
+ },
1849
+ description: "Max number of results to return",
1850
+ typeOptions: {
1851
+ minValue: 1,
1852
+ },
1853
+ },
1854
+ {
1855
+ displayName: "Job ID",
1856
+ name: "jobId",
1857
+ type: "string",
1858
+ default: "",
1859
+ displayOptions: {
1860
+ show: {
1861
+ resource: ["job"],
1862
+ operation: ["get"],
1863
+ },
1864
+ },
1865
+ description: "OpenPost Job ID",
1866
+ required: true,
1867
+ },
1868
+ ];
1869
+ //# sourceMappingURL=descriptions.js.map