posterly-mcp-server 0.46.0 → 0.47.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/lib/api-client.d.ts +28 -1
- package/dist/lib/api-client.js +12 -2
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/tools/create-post.d.ts +882 -6
- package/dist/tools/create-post.js +49 -1
- package/dist/tools/create-posts-batch.d.ts +318 -4
- package/dist/tools/delete-post.d.ts +4 -0
- package/dist/tools/delete-post.js +10 -5
- package/dist/tools/list-analytics.js +4 -1
- package/dist/tools/list-posts.d.ts +4 -0
- package/dist/tools/list-posts.js +5 -1
- package/dist/tools/update-post.d.ts +414 -2
- package/dist/tools/update-post.js +63 -1
- package/dist/tools/validate-post.d.ts +480 -4
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/lib/api-client.ts +41 -2
- package/src/lib/version.ts +1 -1
- package/src/tools/create-post.ts +47 -1
- package/src/tools/delete-post.ts +16 -7
- package/src/tools/list-analytics.ts +4 -1
- package/src/tools/list-posts.ts +6 -1
- package/src/tools/update-post.ts +82 -1
- package/tool-registry.json +40 -0
|
@@ -53,6 +53,76 @@ export declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
53
53
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
54
54
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
55
55
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
56
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
57
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
58
|
+
kind: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
59
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
60
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
+
poll_attachment: z.ZodOptional<z.ZodObject<{
|
|
62
|
+
option_a: z.ZodOptional<z.ZodString>;
|
|
63
|
+
option_b: z.ZodOptional<z.ZodString>;
|
|
64
|
+
option_c: z.ZodOptional<z.ZodString>;
|
|
65
|
+
option_d: z.ZodOptional<z.ZodString>;
|
|
66
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
options?: string[] | undefined;
|
|
69
|
+
option_a?: string | undefined;
|
|
70
|
+
option_b?: string | undefined;
|
|
71
|
+
option_c?: string | undefined;
|
|
72
|
+
option_d?: string | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
options?: string[] | undefined;
|
|
75
|
+
option_a?: string | undefined;
|
|
76
|
+
option_b?: string | undefined;
|
|
77
|
+
option_c?: string | undefined;
|
|
78
|
+
option_d?: string | undefined;
|
|
79
|
+
}>>;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
82
|
+
options?: string[] | undefined;
|
|
83
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
84
|
+
extended_duration?: boolean | undefined;
|
|
85
|
+
poll_attachment?: {
|
|
86
|
+
options?: string[] | undefined;
|
|
87
|
+
option_a?: string | undefined;
|
|
88
|
+
option_b?: string | undefined;
|
|
89
|
+
option_c?: string | undefined;
|
|
90
|
+
option_d?: string | undefined;
|
|
91
|
+
} | undefined;
|
|
92
|
+
}, {
|
|
93
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
94
|
+
options?: string[] | undefined;
|
|
95
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
96
|
+
extended_duration?: boolean | undefined;
|
|
97
|
+
poll_attachment?: {
|
|
98
|
+
options?: string[] | undefined;
|
|
99
|
+
option_a?: string | undefined;
|
|
100
|
+
option_b?: string | undefined;
|
|
101
|
+
option_c?: string | undefined;
|
|
102
|
+
option_d?: string | undefined;
|
|
103
|
+
} | undefined;
|
|
104
|
+
}>, z.ZodNull]>>;
|
|
105
|
+
poll_attachment: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
option_a: z.ZodOptional<z.ZodString>;
|
|
107
|
+
option_b: z.ZodOptional<z.ZodString>;
|
|
108
|
+
option_c: z.ZodOptional<z.ZodString>;
|
|
109
|
+
option_d: z.ZodOptional<z.ZodString>;
|
|
110
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
options?: string[] | undefined;
|
|
113
|
+
option_a?: string | undefined;
|
|
114
|
+
option_b?: string | undefined;
|
|
115
|
+
option_c?: string | undefined;
|
|
116
|
+
option_d?: string | undefined;
|
|
117
|
+
}, {
|
|
118
|
+
options?: string[] | undefined;
|
|
119
|
+
option_a?: string | undefined;
|
|
120
|
+
option_b?: string | undefined;
|
|
121
|
+
option_c?: string | undefined;
|
|
122
|
+
option_d?: string | undefined;
|
|
123
|
+
}>>;
|
|
124
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
56
126
|
}, "strip", z.ZodTypeAny, {
|
|
57
127
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
58
128
|
reel_cover_url?: string | undefined;
|
|
@@ -80,6 +150,28 @@ export declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
80
150
|
}[] | undefined;
|
|
81
151
|
is_ai_generated?: boolean | undefined;
|
|
82
152
|
audio_id?: string | undefined;
|
|
153
|
+
poll_attachment?: {
|
|
154
|
+
options?: string[] | undefined;
|
|
155
|
+
option_a?: string | undefined;
|
|
156
|
+
option_b?: string | undefined;
|
|
157
|
+
option_c?: string | undefined;
|
|
158
|
+
option_d?: string | undefined;
|
|
159
|
+
} | undefined;
|
|
160
|
+
caption_addon?: {
|
|
161
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
162
|
+
options?: string[] | undefined;
|
|
163
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
164
|
+
extended_duration?: boolean | undefined;
|
|
165
|
+
poll_attachment?: {
|
|
166
|
+
options?: string[] | undefined;
|
|
167
|
+
option_a?: string | undefined;
|
|
168
|
+
option_b?: string | undefined;
|
|
169
|
+
option_c?: string | undefined;
|
|
170
|
+
option_d?: string | undefined;
|
|
171
|
+
} | undefined;
|
|
172
|
+
} | null | undefined;
|
|
173
|
+
is_comment_prompt_used?: boolean | undefined;
|
|
174
|
+
is_poll_duration_extended?: boolean | undefined;
|
|
83
175
|
}, {
|
|
84
176
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
85
177
|
reel_cover_url?: string | undefined;
|
|
@@ -107,6 +199,28 @@ export declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
107
199
|
}[] | undefined;
|
|
108
200
|
is_ai_generated?: boolean | undefined;
|
|
109
201
|
audio_id?: string | undefined;
|
|
202
|
+
poll_attachment?: {
|
|
203
|
+
options?: string[] | undefined;
|
|
204
|
+
option_a?: string | undefined;
|
|
205
|
+
option_b?: string | undefined;
|
|
206
|
+
option_c?: string | undefined;
|
|
207
|
+
option_d?: string | undefined;
|
|
208
|
+
} | undefined;
|
|
209
|
+
caption_addon?: {
|
|
210
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
211
|
+
options?: string[] | undefined;
|
|
212
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
213
|
+
extended_duration?: boolean | undefined;
|
|
214
|
+
poll_attachment?: {
|
|
215
|
+
options?: string[] | undefined;
|
|
216
|
+
option_a?: string | undefined;
|
|
217
|
+
option_b?: string | undefined;
|
|
218
|
+
option_c?: string | undefined;
|
|
219
|
+
option_d?: string | undefined;
|
|
220
|
+
} | undefined;
|
|
221
|
+
} | null | undefined;
|
|
222
|
+
is_comment_prompt_used?: boolean | undefined;
|
|
223
|
+
is_poll_duration_extended?: boolean | undefined;
|
|
110
224
|
}>;
|
|
111
225
|
export declare const platformSettingsSchema: z.ZodObject<{
|
|
112
226
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -230,6 +344,22 @@ export declare const platformSettingsSchema: z.ZodObject<{
|
|
|
230
344
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
231
345
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
232
346
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
347
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
348
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
349
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
350
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
351
|
+
}, "strip", z.ZodTypeAny, {
|
|
352
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
353
|
+
options?: string[] | undefined;
|
|
354
|
+
extended_duration?: boolean | undefined;
|
|
355
|
+
}, {
|
|
356
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
357
|
+
options?: string[] | undefined;
|
|
358
|
+
extended_duration?: boolean | undefined;
|
|
359
|
+
}>, z.ZodNull]>>;
|
|
360
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
361
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
362
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
233
363
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
234
364
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
235
365
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -353,6 +483,22 @@ export declare const platformSettingsSchema: z.ZodObject<{
|
|
|
353
483
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
354
484
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
355
485
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
486
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
487
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
488
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
489
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
490
|
+
}, "strip", z.ZodTypeAny, {
|
|
491
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
492
|
+
options?: string[] | undefined;
|
|
493
|
+
extended_duration?: boolean | undefined;
|
|
494
|
+
}, {
|
|
495
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
496
|
+
options?: string[] | undefined;
|
|
497
|
+
extended_duration?: boolean | undefined;
|
|
498
|
+
}>, z.ZodNull]>>;
|
|
499
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
500
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
501
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
356
502
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
357
503
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
358
504
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -476,6 +622,22 @@ export declare const platformSettingsSchema: z.ZodObject<{
|
|
|
476
622
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
477
623
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
478
624
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
625
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
626
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
627
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
628
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
629
|
+
}, "strip", z.ZodTypeAny, {
|
|
630
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
631
|
+
options?: string[] | undefined;
|
|
632
|
+
extended_duration?: boolean | undefined;
|
|
633
|
+
}, {
|
|
634
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
635
|
+
options?: string[] | undefined;
|
|
636
|
+
extended_duration?: boolean | undefined;
|
|
637
|
+
}>, z.ZodNull]>>;
|
|
638
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
639
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
640
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
479
641
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
480
642
|
}, z.ZodTypeAny, "passthrough">>;
|
|
481
643
|
export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
@@ -541,6 +703,76 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
541
703
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
542
704
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
543
705
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
706
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
707
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
708
|
+
kind: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
709
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
710
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
711
|
+
poll_attachment: z.ZodOptional<z.ZodObject<{
|
|
712
|
+
option_a: z.ZodOptional<z.ZodString>;
|
|
713
|
+
option_b: z.ZodOptional<z.ZodString>;
|
|
714
|
+
option_c: z.ZodOptional<z.ZodString>;
|
|
715
|
+
option_d: z.ZodOptional<z.ZodString>;
|
|
716
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
717
|
+
}, "strip", z.ZodTypeAny, {
|
|
718
|
+
options?: string[] | undefined;
|
|
719
|
+
option_a?: string | undefined;
|
|
720
|
+
option_b?: string | undefined;
|
|
721
|
+
option_c?: string | undefined;
|
|
722
|
+
option_d?: string | undefined;
|
|
723
|
+
}, {
|
|
724
|
+
options?: string[] | undefined;
|
|
725
|
+
option_a?: string | undefined;
|
|
726
|
+
option_b?: string | undefined;
|
|
727
|
+
option_c?: string | undefined;
|
|
728
|
+
option_d?: string | undefined;
|
|
729
|
+
}>>;
|
|
730
|
+
}, "strip", z.ZodTypeAny, {
|
|
731
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
732
|
+
options?: string[] | undefined;
|
|
733
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
734
|
+
extended_duration?: boolean | undefined;
|
|
735
|
+
poll_attachment?: {
|
|
736
|
+
options?: string[] | undefined;
|
|
737
|
+
option_a?: string | undefined;
|
|
738
|
+
option_b?: string | undefined;
|
|
739
|
+
option_c?: string | undefined;
|
|
740
|
+
option_d?: string | undefined;
|
|
741
|
+
} | undefined;
|
|
742
|
+
}, {
|
|
743
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
744
|
+
options?: string[] | undefined;
|
|
745
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
746
|
+
extended_duration?: boolean | undefined;
|
|
747
|
+
poll_attachment?: {
|
|
748
|
+
options?: string[] | undefined;
|
|
749
|
+
option_a?: string | undefined;
|
|
750
|
+
option_b?: string | undefined;
|
|
751
|
+
option_c?: string | undefined;
|
|
752
|
+
option_d?: string | undefined;
|
|
753
|
+
} | undefined;
|
|
754
|
+
}>, z.ZodNull]>>;
|
|
755
|
+
poll_attachment: z.ZodOptional<z.ZodObject<{
|
|
756
|
+
option_a: z.ZodOptional<z.ZodString>;
|
|
757
|
+
option_b: z.ZodOptional<z.ZodString>;
|
|
758
|
+
option_c: z.ZodOptional<z.ZodString>;
|
|
759
|
+
option_d: z.ZodOptional<z.ZodString>;
|
|
760
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
761
|
+
}, "strip", z.ZodTypeAny, {
|
|
762
|
+
options?: string[] | undefined;
|
|
763
|
+
option_a?: string | undefined;
|
|
764
|
+
option_b?: string | undefined;
|
|
765
|
+
option_c?: string | undefined;
|
|
766
|
+
option_d?: string | undefined;
|
|
767
|
+
}, {
|
|
768
|
+
options?: string[] | undefined;
|
|
769
|
+
option_a?: string | undefined;
|
|
770
|
+
option_b?: string | undefined;
|
|
771
|
+
option_c?: string | undefined;
|
|
772
|
+
option_d?: string | undefined;
|
|
773
|
+
}>>;
|
|
774
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
775
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
544
776
|
}, "strip", z.ZodTypeAny, {
|
|
545
777
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
546
778
|
reel_cover_url?: string | undefined;
|
|
@@ -568,6 +800,28 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
568
800
|
}[] | undefined;
|
|
569
801
|
is_ai_generated?: boolean | undefined;
|
|
570
802
|
audio_id?: string | undefined;
|
|
803
|
+
poll_attachment?: {
|
|
804
|
+
options?: string[] | undefined;
|
|
805
|
+
option_a?: string | undefined;
|
|
806
|
+
option_b?: string | undefined;
|
|
807
|
+
option_c?: string | undefined;
|
|
808
|
+
option_d?: string | undefined;
|
|
809
|
+
} | undefined;
|
|
810
|
+
caption_addon?: {
|
|
811
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
812
|
+
options?: string[] | undefined;
|
|
813
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
814
|
+
extended_duration?: boolean | undefined;
|
|
815
|
+
poll_attachment?: {
|
|
816
|
+
options?: string[] | undefined;
|
|
817
|
+
option_a?: string | undefined;
|
|
818
|
+
option_b?: string | undefined;
|
|
819
|
+
option_c?: string | undefined;
|
|
820
|
+
option_d?: string | undefined;
|
|
821
|
+
} | undefined;
|
|
822
|
+
} | null | undefined;
|
|
823
|
+
is_comment_prompt_used?: boolean | undefined;
|
|
824
|
+
is_poll_duration_extended?: boolean | undefined;
|
|
571
825
|
}, {
|
|
572
826
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
573
827
|
reel_cover_url?: string | undefined;
|
|
@@ -595,6 +849,28 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
595
849
|
}[] | undefined;
|
|
596
850
|
is_ai_generated?: boolean | undefined;
|
|
597
851
|
audio_id?: string | undefined;
|
|
852
|
+
poll_attachment?: {
|
|
853
|
+
options?: string[] | undefined;
|
|
854
|
+
option_a?: string | undefined;
|
|
855
|
+
option_b?: string | undefined;
|
|
856
|
+
option_c?: string | undefined;
|
|
857
|
+
option_d?: string | undefined;
|
|
858
|
+
} | undefined;
|
|
859
|
+
caption_addon?: {
|
|
860
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
861
|
+
options?: string[] | undefined;
|
|
862
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
863
|
+
extended_duration?: boolean | undefined;
|
|
864
|
+
poll_attachment?: {
|
|
865
|
+
options?: string[] | undefined;
|
|
866
|
+
option_a?: string | undefined;
|
|
867
|
+
option_b?: string | undefined;
|
|
868
|
+
option_c?: string | undefined;
|
|
869
|
+
option_d?: string | undefined;
|
|
870
|
+
} | undefined;
|
|
871
|
+
} | null | undefined;
|
|
872
|
+
is_comment_prompt_used?: boolean | undefined;
|
|
873
|
+
is_poll_duration_extended?: boolean | undefined;
|
|
598
874
|
}>>;
|
|
599
875
|
platform_settings: z.ZodOptional<z.ZodObject<{
|
|
600
876
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -718,6 +994,22 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
718
994
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
719
995
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
720
996
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
997
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
998
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
999
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1000
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
1001
|
+
}, "strip", z.ZodTypeAny, {
|
|
1002
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1003
|
+
options?: string[] | undefined;
|
|
1004
|
+
extended_duration?: boolean | undefined;
|
|
1005
|
+
}, {
|
|
1006
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1007
|
+
options?: string[] | undefined;
|
|
1008
|
+
extended_duration?: boolean | undefined;
|
|
1009
|
+
}>, z.ZodNull]>>;
|
|
1010
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1011
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
1012
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
721
1013
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
722
1014
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
723
1015
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -841,6 +1133,22 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
841
1133
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
842
1134
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
843
1135
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1136
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1137
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1138
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1139
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
1140
|
+
}, "strip", z.ZodTypeAny, {
|
|
1141
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1142
|
+
options?: string[] | undefined;
|
|
1143
|
+
extended_duration?: boolean | undefined;
|
|
1144
|
+
}, {
|
|
1145
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1146
|
+
options?: string[] | undefined;
|
|
1147
|
+
extended_duration?: boolean | undefined;
|
|
1148
|
+
}>, z.ZodNull]>>;
|
|
1149
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1150
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
1151
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
844
1152
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
845
1153
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
846
1154
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -964,6 +1272,22 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
964
1272
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
965
1273
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
966
1274
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1275
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1276
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1277
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1278
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
1279
|
+
}, "strip", z.ZodTypeAny, {
|
|
1280
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1281
|
+
options?: string[] | undefined;
|
|
1282
|
+
extended_duration?: boolean | undefined;
|
|
1283
|
+
}, {
|
|
1284
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1285
|
+
options?: string[] | undefined;
|
|
1286
|
+
extended_duration?: boolean | undefined;
|
|
1287
|
+
}>, z.ZodNull]>>;
|
|
1288
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1289
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
1290
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
967
1291
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
968
1292
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
969
1293
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
@@ -972,11 +1296,11 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
972
1296
|
username?: string | undefined;
|
|
973
1297
|
workspace_id?: string | undefined;
|
|
974
1298
|
account_id?: string | undefined;
|
|
1299
|
+
caption?: string | undefined;
|
|
975
1300
|
scheduled_at?: string | undefined;
|
|
976
1301
|
media_url?: string | undefined;
|
|
977
1302
|
media_urls?: string[] | undefined;
|
|
978
1303
|
post_type?: string | undefined;
|
|
979
|
-
caption?: string | undefined;
|
|
980
1304
|
thread_posts?: string[] | undefined;
|
|
981
1305
|
instagram_settings?: {
|
|
982
1306
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
@@ -1005,6 +1329,28 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
1005
1329
|
}[] | undefined;
|
|
1006
1330
|
is_ai_generated?: boolean | undefined;
|
|
1007
1331
|
audio_id?: string | undefined;
|
|
1332
|
+
poll_attachment?: {
|
|
1333
|
+
options?: string[] | undefined;
|
|
1334
|
+
option_a?: string | undefined;
|
|
1335
|
+
option_b?: string | undefined;
|
|
1336
|
+
option_c?: string | undefined;
|
|
1337
|
+
option_d?: string | undefined;
|
|
1338
|
+
} | undefined;
|
|
1339
|
+
caption_addon?: {
|
|
1340
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1341
|
+
options?: string[] | undefined;
|
|
1342
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1343
|
+
extended_duration?: boolean | undefined;
|
|
1344
|
+
poll_attachment?: {
|
|
1345
|
+
options?: string[] | undefined;
|
|
1346
|
+
option_a?: string | undefined;
|
|
1347
|
+
option_b?: string | undefined;
|
|
1348
|
+
option_c?: string | undefined;
|
|
1349
|
+
option_d?: string | undefined;
|
|
1350
|
+
} | undefined;
|
|
1351
|
+
} | null | undefined;
|
|
1352
|
+
is_comment_prompt_used?: boolean | undefined;
|
|
1353
|
+
is_poll_duration_extended?: boolean | undefined;
|
|
1008
1354
|
} | undefined;
|
|
1009
1355
|
platform_settings?: z.objectOutputType<{
|
|
1010
1356
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -1128,6 +1474,22 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
1128
1474
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1129
1475
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1130
1476
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1478
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1479
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1480
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
1481
|
+
}, "strip", z.ZodTypeAny, {
|
|
1482
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1483
|
+
options?: string[] | undefined;
|
|
1484
|
+
extended_duration?: boolean | undefined;
|
|
1485
|
+
}, {
|
|
1486
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1487
|
+
options?: string[] | undefined;
|
|
1488
|
+
extended_duration?: boolean | undefined;
|
|
1489
|
+
}>, z.ZodNull]>>;
|
|
1490
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1491
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
1492
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
1131
1493
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1132
1494
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1133
1495
|
}, {
|
|
@@ -1135,11 +1497,11 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
1135
1497
|
username?: string | undefined;
|
|
1136
1498
|
workspace_id?: string | undefined;
|
|
1137
1499
|
account_id?: string | undefined;
|
|
1500
|
+
caption?: string | undefined;
|
|
1138
1501
|
scheduled_at?: string | undefined;
|
|
1139
1502
|
media_url?: string | undefined;
|
|
1140
1503
|
media_urls?: string[] | undefined;
|
|
1141
1504
|
post_type?: string | undefined;
|
|
1142
|
-
caption?: string | undefined;
|
|
1143
1505
|
thread_posts?: string[] | undefined;
|
|
1144
1506
|
instagram_settings?: {
|
|
1145
1507
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
@@ -1168,6 +1530,28 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
1168
1530
|
}[] | undefined;
|
|
1169
1531
|
is_ai_generated?: boolean | undefined;
|
|
1170
1532
|
audio_id?: string | undefined;
|
|
1533
|
+
poll_attachment?: {
|
|
1534
|
+
options?: string[] | undefined;
|
|
1535
|
+
option_a?: string | undefined;
|
|
1536
|
+
option_b?: string | undefined;
|
|
1537
|
+
option_c?: string | undefined;
|
|
1538
|
+
option_d?: string | undefined;
|
|
1539
|
+
} | undefined;
|
|
1540
|
+
caption_addon?: {
|
|
1541
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1542
|
+
options?: string[] | undefined;
|
|
1543
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1544
|
+
extended_duration?: boolean | undefined;
|
|
1545
|
+
poll_attachment?: {
|
|
1546
|
+
options?: string[] | undefined;
|
|
1547
|
+
option_a?: string | undefined;
|
|
1548
|
+
option_b?: string | undefined;
|
|
1549
|
+
option_c?: string | undefined;
|
|
1550
|
+
option_d?: string | undefined;
|
|
1551
|
+
} | undefined;
|
|
1552
|
+
} | null | undefined;
|
|
1553
|
+
is_comment_prompt_used?: boolean | undefined;
|
|
1554
|
+
is_poll_duration_extended?: boolean | undefined;
|
|
1171
1555
|
} | undefined;
|
|
1172
1556
|
platform_settings?: z.objectInputType<{
|
|
1173
1557
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -1291,6 +1675,22 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
1291
1675
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1292
1676
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1293
1677
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1678
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1679
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1680
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1681
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
1682
|
+
}, "strip", z.ZodTypeAny, {
|
|
1683
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1684
|
+
options?: string[] | undefined;
|
|
1685
|
+
extended_duration?: boolean | undefined;
|
|
1686
|
+
}, {
|
|
1687
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1688
|
+
options?: string[] | undefined;
|
|
1689
|
+
extended_duration?: boolean | undefined;
|
|
1690
|
+
}>, z.ZodNull]>>;
|
|
1691
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1692
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
1693
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
1294
1694
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1295
1695
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1296
1696
|
}>;
|
|
@@ -1357,6 +1757,76 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1357
1757
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
1358
1758
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1359
1759
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
1760
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1761
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1762
|
+
kind: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
1763
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1764
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
1765
|
+
poll_attachment: z.ZodOptional<z.ZodObject<{
|
|
1766
|
+
option_a: z.ZodOptional<z.ZodString>;
|
|
1767
|
+
option_b: z.ZodOptional<z.ZodString>;
|
|
1768
|
+
option_c: z.ZodOptional<z.ZodString>;
|
|
1769
|
+
option_d: z.ZodOptional<z.ZodString>;
|
|
1770
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1771
|
+
}, "strip", z.ZodTypeAny, {
|
|
1772
|
+
options?: string[] | undefined;
|
|
1773
|
+
option_a?: string | undefined;
|
|
1774
|
+
option_b?: string | undefined;
|
|
1775
|
+
option_c?: string | undefined;
|
|
1776
|
+
option_d?: string | undefined;
|
|
1777
|
+
}, {
|
|
1778
|
+
options?: string[] | undefined;
|
|
1779
|
+
option_a?: string | undefined;
|
|
1780
|
+
option_b?: string | undefined;
|
|
1781
|
+
option_c?: string | undefined;
|
|
1782
|
+
option_d?: string | undefined;
|
|
1783
|
+
}>>;
|
|
1784
|
+
}, "strip", z.ZodTypeAny, {
|
|
1785
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1786
|
+
options?: string[] | undefined;
|
|
1787
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1788
|
+
extended_duration?: boolean | undefined;
|
|
1789
|
+
poll_attachment?: {
|
|
1790
|
+
options?: string[] | undefined;
|
|
1791
|
+
option_a?: string | undefined;
|
|
1792
|
+
option_b?: string | undefined;
|
|
1793
|
+
option_c?: string | undefined;
|
|
1794
|
+
option_d?: string | undefined;
|
|
1795
|
+
} | undefined;
|
|
1796
|
+
}, {
|
|
1797
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1798
|
+
options?: string[] | undefined;
|
|
1799
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1800
|
+
extended_duration?: boolean | undefined;
|
|
1801
|
+
poll_attachment?: {
|
|
1802
|
+
options?: string[] | undefined;
|
|
1803
|
+
option_a?: string | undefined;
|
|
1804
|
+
option_b?: string | undefined;
|
|
1805
|
+
option_c?: string | undefined;
|
|
1806
|
+
option_d?: string | undefined;
|
|
1807
|
+
} | undefined;
|
|
1808
|
+
}>, z.ZodNull]>>;
|
|
1809
|
+
poll_attachment: z.ZodOptional<z.ZodObject<{
|
|
1810
|
+
option_a: z.ZodOptional<z.ZodString>;
|
|
1811
|
+
option_b: z.ZodOptional<z.ZodString>;
|
|
1812
|
+
option_c: z.ZodOptional<z.ZodString>;
|
|
1813
|
+
option_d: z.ZodOptional<z.ZodString>;
|
|
1814
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1815
|
+
}, "strip", z.ZodTypeAny, {
|
|
1816
|
+
options?: string[] | undefined;
|
|
1817
|
+
option_a?: string | undefined;
|
|
1818
|
+
option_b?: string | undefined;
|
|
1819
|
+
option_c?: string | undefined;
|
|
1820
|
+
option_d?: string | undefined;
|
|
1821
|
+
}, {
|
|
1822
|
+
options?: string[] | undefined;
|
|
1823
|
+
option_a?: string | undefined;
|
|
1824
|
+
option_b?: string | undefined;
|
|
1825
|
+
option_c?: string | undefined;
|
|
1826
|
+
option_d?: string | undefined;
|
|
1827
|
+
}>>;
|
|
1828
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
1829
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
1360
1830
|
}, "strip", z.ZodTypeAny, {
|
|
1361
1831
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
1362
1832
|
reel_cover_url?: string | undefined;
|
|
@@ -1384,6 +1854,28 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1384
1854
|
}[] | undefined;
|
|
1385
1855
|
is_ai_generated?: boolean | undefined;
|
|
1386
1856
|
audio_id?: string | undefined;
|
|
1857
|
+
poll_attachment?: {
|
|
1858
|
+
options?: string[] | undefined;
|
|
1859
|
+
option_a?: string | undefined;
|
|
1860
|
+
option_b?: string | undefined;
|
|
1861
|
+
option_c?: string | undefined;
|
|
1862
|
+
option_d?: string | undefined;
|
|
1863
|
+
} | undefined;
|
|
1864
|
+
caption_addon?: {
|
|
1865
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1866
|
+
options?: string[] | undefined;
|
|
1867
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1868
|
+
extended_duration?: boolean | undefined;
|
|
1869
|
+
poll_attachment?: {
|
|
1870
|
+
options?: string[] | undefined;
|
|
1871
|
+
option_a?: string | undefined;
|
|
1872
|
+
option_b?: string | undefined;
|
|
1873
|
+
option_c?: string | undefined;
|
|
1874
|
+
option_d?: string | undefined;
|
|
1875
|
+
} | undefined;
|
|
1876
|
+
} | null | undefined;
|
|
1877
|
+
is_comment_prompt_used?: boolean | undefined;
|
|
1878
|
+
is_poll_duration_extended?: boolean | undefined;
|
|
1387
1879
|
}, {
|
|
1388
1880
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
1389
1881
|
reel_cover_url?: string | undefined;
|
|
@@ -1411,6 +1903,28 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1411
1903
|
}[] | undefined;
|
|
1412
1904
|
is_ai_generated?: boolean | undefined;
|
|
1413
1905
|
audio_id?: string | undefined;
|
|
1906
|
+
poll_attachment?: {
|
|
1907
|
+
options?: string[] | undefined;
|
|
1908
|
+
option_a?: string | undefined;
|
|
1909
|
+
option_b?: string | undefined;
|
|
1910
|
+
option_c?: string | undefined;
|
|
1911
|
+
option_d?: string | undefined;
|
|
1912
|
+
} | undefined;
|
|
1913
|
+
caption_addon?: {
|
|
1914
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1915
|
+
options?: string[] | undefined;
|
|
1916
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
1917
|
+
extended_duration?: boolean | undefined;
|
|
1918
|
+
poll_attachment?: {
|
|
1919
|
+
options?: string[] | undefined;
|
|
1920
|
+
option_a?: string | undefined;
|
|
1921
|
+
option_b?: string | undefined;
|
|
1922
|
+
option_c?: string | undefined;
|
|
1923
|
+
option_d?: string | undefined;
|
|
1924
|
+
} | undefined;
|
|
1925
|
+
} | null | undefined;
|
|
1926
|
+
is_comment_prompt_used?: boolean | undefined;
|
|
1927
|
+
is_poll_duration_extended?: boolean | undefined;
|
|
1414
1928
|
}>>;
|
|
1415
1929
|
platform_settings: z.ZodOptional<z.ZodObject<{
|
|
1416
1930
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -1534,6 +2048,22 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1534
2048
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1535
2049
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1536
2050
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
2051
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2052
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2053
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2054
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
2055
|
+
}, "strip", z.ZodTypeAny, {
|
|
2056
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2057
|
+
options?: string[] | undefined;
|
|
2058
|
+
extended_duration?: boolean | undefined;
|
|
2059
|
+
}, {
|
|
2060
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2061
|
+
options?: string[] | undefined;
|
|
2062
|
+
extended_duration?: boolean | undefined;
|
|
2063
|
+
}>, z.ZodNull]>>;
|
|
2064
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2065
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
2066
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
1537
2067
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1538
2068
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1539
2069
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -1657,6 +2187,22 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1657
2187
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1658
2188
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1659
2189
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
2190
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2191
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2192
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2193
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
2194
|
+
}, "strip", z.ZodTypeAny, {
|
|
2195
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2196
|
+
options?: string[] | undefined;
|
|
2197
|
+
extended_duration?: boolean | undefined;
|
|
2198
|
+
}, {
|
|
2199
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2200
|
+
options?: string[] | undefined;
|
|
2201
|
+
extended_duration?: boolean | undefined;
|
|
2202
|
+
}>, z.ZodNull]>>;
|
|
2203
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2204
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
2205
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
1660
2206
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1661
2207
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1662
2208
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -1780,6 +2326,22 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1780
2326
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1781
2327
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1782
2328
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
2329
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2330
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2331
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2332
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
2333
|
+
}, "strip", z.ZodTypeAny, {
|
|
2334
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2335
|
+
options?: string[] | undefined;
|
|
2336
|
+
extended_duration?: boolean | undefined;
|
|
2337
|
+
}, {
|
|
2338
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2339
|
+
options?: string[] | undefined;
|
|
2340
|
+
extended_duration?: boolean | undefined;
|
|
2341
|
+
}>, z.ZodNull]>>;
|
|
2342
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2343
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
2344
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
1783
2345
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1784
2346
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1785
2347
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1791,11 +2353,11 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1791
2353
|
username?: string | undefined;
|
|
1792
2354
|
workspace_id?: string | undefined;
|
|
1793
2355
|
account_id?: string | undefined;
|
|
2356
|
+
caption?: string | undefined;
|
|
1794
2357
|
scheduled_at?: string | undefined;
|
|
1795
2358
|
media_url?: string | undefined;
|
|
1796
2359
|
media_urls?: string[] | undefined;
|
|
1797
2360
|
post_type?: string | undefined;
|
|
1798
|
-
caption?: string | undefined;
|
|
1799
2361
|
thread_posts?: string[] | undefined;
|
|
1800
2362
|
instagram_settings?: {
|
|
1801
2363
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
@@ -1824,6 +2386,28 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1824
2386
|
}[] | undefined;
|
|
1825
2387
|
is_ai_generated?: boolean | undefined;
|
|
1826
2388
|
audio_id?: string | undefined;
|
|
2389
|
+
poll_attachment?: {
|
|
2390
|
+
options?: string[] | undefined;
|
|
2391
|
+
option_a?: string | undefined;
|
|
2392
|
+
option_b?: string | undefined;
|
|
2393
|
+
option_c?: string | undefined;
|
|
2394
|
+
option_d?: string | undefined;
|
|
2395
|
+
} | undefined;
|
|
2396
|
+
caption_addon?: {
|
|
2397
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2398
|
+
options?: string[] | undefined;
|
|
2399
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2400
|
+
extended_duration?: boolean | undefined;
|
|
2401
|
+
poll_attachment?: {
|
|
2402
|
+
options?: string[] | undefined;
|
|
2403
|
+
option_a?: string | undefined;
|
|
2404
|
+
option_b?: string | undefined;
|
|
2405
|
+
option_c?: string | undefined;
|
|
2406
|
+
option_d?: string | undefined;
|
|
2407
|
+
} | undefined;
|
|
2408
|
+
} | null | undefined;
|
|
2409
|
+
is_comment_prompt_used?: boolean | undefined;
|
|
2410
|
+
is_poll_duration_extended?: boolean | undefined;
|
|
1827
2411
|
} | undefined;
|
|
1828
2412
|
platform_settings?: z.objectOutputType<{
|
|
1829
2413
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -1947,6 +2531,22 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1947
2531
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
1948
2532
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1949
2533
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
2534
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2535
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2536
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2537
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
2538
|
+
}, "strip", z.ZodTypeAny, {
|
|
2539
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2540
|
+
options?: string[] | undefined;
|
|
2541
|
+
extended_duration?: boolean | undefined;
|
|
2542
|
+
}, {
|
|
2543
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2544
|
+
options?: string[] | undefined;
|
|
2545
|
+
extended_duration?: boolean | undefined;
|
|
2546
|
+
}>, z.ZodNull]>>;
|
|
2547
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2548
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
2549
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
1950
2550
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
1951
2551
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1952
2552
|
}, {
|
|
@@ -1955,11 +2555,11 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1955
2555
|
username?: string | undefined;
|
|
1956
2556
|
workspace_id?: string | undefined;
|
|
1957
2557
|
account_id?: string | undefined;
|
|
2558
|
+
caption?: string | undefined;
|
|
1958
2559
|
scheduled_at?: string | undefined;
|
|
1959
2560
|
media_url?: string | undefined;
|
|
1960
2561
|
media_urls?: string[] | undefined;
|
|
1961
2562
|
post_type?: string | undefined;
|
|
1962
|
-
caption?: string | undefined;
|
|
1963
2563
|
thread_posts?: string[] | undefined;
|
|
1964
2564
|
instagram_settings?: {
|
|
1965
2565
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
@@ -1988,6 +2588,28 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1988
2588
|
}[] | undefined;
|
|
1989
2589
|
is_ai_generated?: boolean | undefined;
|
|
1990
2590
|
audio_id?: string | undefined;
|
|
2591
|
+
poll_attachment?: {
|
|
2592
|
+
options?: string[] | undefined;
|
|
2593
|
+
option_a?: string | undefined;
|
|
2594
|
+
option_b?: string | undefined;
|
|
2595
|
+
option_c?: string | undefined;
|
|
2596
|
+
option_d?: string | undefined;
|
|
2597
|
+
} | undefined;
|
|
2598
|
+
caption_addon?: {
|
|
2599
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2600
|
+
options?: string[] | undefined;
|
|
2601
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2602
|
+
extended_duration?: boolean | undefined;
|
|
2603
|
+
poll_attachment?: {
|
|
2604
|
+
options?: string[] | undefined;
|
|
2605
|
+
option_a?: string | undefined;
|
|
2606
|
+
option_b?: string | undefined;
|
|
2607
|
+
option_c?: string | undefined;
|
|
2608
|
+
option_d?: string | undefined;
|
|
2609
|
+
} | undefined;
|
|
2610
|
+
} | null | undefined;
|
|
2611
|
+
is_comment_prompt_used?: boolean | undefined;
|
|
2612
|
+
is_poll_duration_extended?: boolean | undefined;
|
|
1991
2613
|
} | undefined;
|
|
1992
2614
|
platform_settings?: z.objectInputType<{
|
|
1993
2615
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -2111,6 +2733,22 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
2111
2733
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
2112
2734
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2113
2735
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
2736
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2737
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2738
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2739
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
2740
|
+
}, "strip", z.ZodTypeAny, {
|
|
2741
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2742
|
+
options?: string[] | undefined;
|
|
2743
|
+
extended_duration?: boolean | undefined;
|
|
2744
|
+
}, {
|
|
2745
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2746
|
+
options?: string[] | undefined;
|
|
2747
|
+
extended_duration?: boolean | undefined;
|
|
2748
|
+
}>, z.ZodNull]>>;
|
|
2749
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2750
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
2751
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
2114
2752
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2115
2753
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2116
2754
|
}>;
|
|
@@ -2206,6 +2844,76 @@ export declare const createPostTool: {
|
|
|
2206
2844
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
2207
2845
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2208
2846
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
2847
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2848
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2849
|
+
kind: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
2850
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2851
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
2852
|
+
poll_attachment: z.ZodOptional<z.ZodObject<{
|
|
2853
|
+
option_a: z.ZodOptional<z.ZodString>;
|
|
2854
|
+
option_b: z.ZodOptional<z.ZodString>;
|
|
2855
|
+
option_c: z.ZodOptional<z.ZodString>;
|
|
2856
|
+
option_d: z.ZodOptional<z.ZodString>;
|
|
2857
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2858
|
+
}, "strip", z.ZodTypeAny, {
|
|
2859
|
+
options?: string[] | undefined;
|
|
2860
|
+
option_a?: string | undefined;
|
|
2861
|
+
option_b?: string | undefined;
|
|
2862
|
+
option_c?: string | undefined;
|
|
2863
|
+
option_d?: string | undefined;
|
|
2864
|
+
}, {
|
|
2865
|
+
options?: string[] | undefined;
|
|
2866
|
+
option_a?: string | undefined;
|
|
2867
|
+
option_b?: string | undefined;
|
|
2868
|
+
option_c?: string | undefined;
|
|
2869
|
+
option_d?: string | undefined;
|
|
2870
|
+
}>>;
|
|
2871
|
+
}, "strip", z.ZodTypeAny, {
|
|
2872
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2873
|
+
options?: string[] | undefined;
|
|
2874
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2875
|
+
extended_duration?: boolean | undefined;
|
|
2876
|
+
poll_attachment?: {
|
|
2877
|
+
options?: string[] | undefined;
|
|
2878
|
+
option_a?: string | undefined;
|
|
2879
|
+
option_b?: string | undefined;
|
|
2880
|
+
option_c?: string | undefined;
|
|
2881
|
+
option_d?: string | undefined;
|
|
2882
|
+
} | undefined;
|
|
2883
|
+
}, {
|
|
2884
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2885
|
+
options?: string[] | undefined;
|
|
2886
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2887
|
+
extended_duration?: boolean | undefined;
|
|
2888
|
+
poll_attachment?: {
|
|
2889
|
+
options?: string[] | undefined;
|
|
2890
|
+
option_a?: string | undefined;
|
|
2891
|
+
option_b?: string | undefined;
|
|
2892
|
+
option_c?: string | undefined;
|
|
2893
|
+
option_d?: string | undefined;
|
|
2894
|
+
} | undefined;
|
|
2895
|
+
}>, z.ZodNull]>>;
|
|
2896
|
+
poll_attachment: z.ZodOptional<z.ZodObject<{
|
|
2897
|
+
option_a: z.ZodOptional<z.ZodString>;
|
|
2898
|
+
option_b: z.ZodOptional<z.ZodString>;
|
|
2899
|
+
option_c: z.ZodOptional<z.ZodString>;
|
|
2900
|
+
option_d: z.ZodOptional<z.ZodString>;
|
|
2901
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2902
|
+
}, "strip", z.ZodTypeAny, {
|
|
2903
|
+
options?: string[] | undefined;
|
|
2904
|
+
option_a?: string | undefined;
|
|
2905
|
+
option_b?: string | undefined;
|
|
2906
|
+
option_c?: string | undefined;
|
|
2907
|
+
option_d?: string | undefined;
|
|
2908
|
+
}, {
|
|
2909
|
+
options?: string[] | undefined;
|
|
2910
|
+
option_a?: string | undefined;
|
|
2911
|
+
option_b?: string | undefined;
|
|
2912
|
+
option_c?: string | undefined;
|
|
2913
|
+
option_d?: string | undefined;
|
|
2914
|
+
}>>;
|
|
2915
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
2916
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
2209
2917
|
}, "strip", z.ZodTypeAny, {
|
|
2210
2918
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
2211
2919
|
reel_cover_url?: string | undefined;
|
|
@@ -2233,6 +2941,28 @@ export declare const createPostTool: {
|
|
|
2233
2941
|
}[] | undefined;
|
|
2234
2942
|
is_ai_generated?: boolean | undefined;
|
|
2235
2943
|
audio_id?: string | undefined;
|
|
2944
|
+
poll_attachment?: {
|
|
2945
|
+
options?: string[] | undefined;
|
|
2946
|
+
option_a?: string | undefined;
|
|
2947
|
+
option_b?: string | undefined;
|
|
2948
|
+
option_c?: string | undefined;
|
|
2949
|
+
option_d?: string | undefined;
|
|
2950
|
+
} | undefined;
|
|
2951
|
+
caption_addon?: {
|
|
2952
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2953
|
+
options?: string[] | undefined;
|
|
2954
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
2955
|
+
extended_duration?: boolean | undefined;
|
|
2956
|
+
poll_attachment?: {
|
|
2957
|
+
options?: string[] | undefined;
|
|
2958
|
+
option_a?: string | undefined;
|
|
2959
|
+
option_b?: string | undefined;
|
|
2960
|
+
option_c?: string | undefined;
|
|
2961
|
+
option_d?: string | undefined;
|
|
2962
|
+
} | undefined;
|
|
2963
|
+
} | null | undefined;
|
|
2964
|
+
is_comment_prompt_used?: boolean | undefined;
|
|
2965
|
+
is_poll_duration_extended?: boolean | undefined;
|
|
2236
2966
|
}, {
|
|
2237
2967
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
2238
2968
|
reel_cover_url?: string | undefined;
|
|
@@ -2260,6 +2990,28 @@ export declare const createPostTool: {
|
|
|
2260
2990
|
}[] | undefined;
|
|
2261
2991
|
is_ai_generated?: boolean | undefined;
|
|
2262
2992
|
audio_id?: string | undefined;
|
|
2993
|
+
poll_attachment?: {
|
|
2994
|
+
options?: string[] | undefined;
|
|
2995
|
+
option_a?: string | undefined;
|
|
2996
|
+
option_b?: string | undefined;
|
|
2997
|
+
option_c?: string | undefined;
|
|
2998
|
+
option_d?: string | undefined;
|
|
2999
|
+
} | undefined;
|
|
3000
|
+
caption_addon?: {
|
|
3001
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3002
|
+
options?: string[] | undefined;
|
|
3003
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3004
|
+
extended_duration?: boolean | undefined;
|
|
3005
|
+
poll_attachment?: {
|
|
3006
|
+
options?: string[] | undefined;
|
|
3007
|
+
option_a?: string | undefined;
|
|
3008
|
+
option_b?: string | undefined;
|
|
3009
|
+
option_c?: string | undefined;
|
|
3010
|
+
option_d?: string | undefined;
|
|
3011
|
+
} | undefined;
|
|
3012
|
+
} | null | undefined;
|
|
3013
|
+
is_comment_prompt_used?: boolean | undefined;
|
|
3014
|
+
is_poll_duration_extended?: boolean | undefined;
|
|
2263
3015
|
}>>;
|
|
2264
3016
|
platform_settings: z.ZodOptional<z.ZodObject<{
|
|
2265
3017
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -2383,6 +3135,22 @@ export declare const createPostTool: {
|
|
|
2383
3135
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
2384
3136
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2385
3137
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
3138
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
3139
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
3140
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3141
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
3142
|
+
}, "strip", z.ZodTypeAny, {
|
|
3143
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3144
|
+
options?: string[] | undefined;
|
|
3145
|
+
extended_duration?: boolean | undefined;
|
|
3146
|
+
}, {
|
|
3147
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3148
|
+
options?: string[] | undefined;
|
|
3149
|
+
extended_duration?: boolean | undefined;
|
|
3150
|
+
}>, z.ZodNull]>>;
|
|
3151
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3152
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
3153
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
2386
3154
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2387
3155
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2388
3156
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -2506,6 +3274,22 @@ export declare const createPostTool: {
|
|
|
2506
3274
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
2507
3275
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2508
3276
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
3277
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
3278
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
3279
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3280
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
3281
|
+
}, "strip", z.ZodTypeAny, {
|
|
3282
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3283
|
+
options?: string[] | undefined;
|
|
3284
|
+
extended_duration?: boolean | undefined;
|
|
3285
|
+
}, {
|
|
3286
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3287
|
+
options?: string[] | undefined;
|
|
3288
|
+
extended_duration?: boolean | undefined;
|
|
3289
|
+
}>, z.ZodNull]>>;
|
|
3290
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3291
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
3292
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
2509
3293
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2510
3294
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2511
3295
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -2629,6 +3413,22 @@ export declare const createPostTool: {
|
|
|
2629
3413
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
2630
3414
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2631
3415
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
3416
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
3417
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
3418
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3419
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
3420
|
+
}, "strip", z.ZodTypeAny, {
|
|
3421
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3422
|
+
options?: string[] | undefined;
|
|
3423
|
+
extended_duration?: boolean | undefined;
|
|
3424
|
+
}, {
|
|
3425
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3426
|
+
options?: string[] | undefined;
|
|
3427
|
+
extended_duration?: boolean | undefined;
|
|
3428
|
+
}>, z.ZodNull]>>;
|
|
3429
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3430
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
3431
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
2632
3432
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2633
3433
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
2634
3434
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2640,11 +3440,11 @@ export declare const createPostTool: {
|
|
|
2640
3440
|
username?: string | undefined;
|
|
2641
3441
|
workspace_id?: string | undefined;
|
|
2642
3442
|
account_id?: string | undefined;
|
|
3443
|
+
caption?: string | undefined;
|
|
2643
3444
|
scheduled_at?: string | undefined;
|
|
2644
3445
|
media_url?: string | undefined;
|
|
2645
3446
|
media_urls?: string[] | undefined;
|
|
2646
3447
|
post_type?: string | undefined;
|
|
2647
|
-
caption?: string | undefined;
|
|
2648
3448
|
thread_posts?: string[] | undefined;
|
|
2649
3449
|
instagram_settings?: {
|
|
2650
3450
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
@@ -2673,6 +3473,28 @@ export declare const createPostTool: {
|
|
|
2673
3473
|
}[] | undefined;
|
|
2674
3474
|
is_ai_generated?: boolean | undefined;
|
|
2675
3475
|
audio_id?: string | undefined;
|
|
3476
|
+
poll_attachment?: {
|
|
3477
|
+
options?: string[] | undefined;
|
|
3478
|
+
option_a?: string | undefined;
|
|
3479
|
+
option_b?: string | undefined;
|
|
3480
|
+
option_c?: string | undefined;
|
|
3481
|
+
option_d?: string | undefined;
|
|
3482
|
+
} | undefined;
|
|
3483
|
+
caption_addon?: {
|
|
3484
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3485
|
+
options?: string[] | undefined;
|
|
3486
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3487
|
+
extended_duration?: boolean | undefined;
|
|
3488
|
+
poll_attachment?: {
|
|
3489
|
+
options?: string[] | undefined;
|
|
3490
|
+
option_a?: string | undefined;
|
|
3491
|
+
option_b?: string | undefined;
|
|
3492
|
+
option_c?: string | undefined;
|
|
3493
|
+
option_d?: string | undefined;
|
|
3494
|
+
} | undefined;
|
|
3495
|
+
} | null | undefined;
|
|
3496
|
+
is_comment_prompt_used?: boolean | undefined;
|
|
3497
|
+
is_poll_duration_extended?: boolean | undefined;
|
|
2676
3498
|
} | undefined;
|
|
2677
3499
|
platform_settings?: z.objectOutputType<{
|
|
2678
3500
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -2796,6 +3618,22 @@ export declare const createPostTool: {
|
|
|
2796
3618
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
2797
3619
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2798
3620
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
3621
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
3622
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
3623
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3624
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
3625
|
+
}, "strip", z.ZodTypeAny, {
|
|
3626
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3627
|
+
options?: string[] | undefined;
|
|
3628
|
+
extended_duration?: boolean | undefined;
|
|
3629
|
+
}, {
|
|
3630
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3631
|
+
options?: string[] | undefined;
|
|
3632
|
+
extended_duration?: boolean | undefined;
|
|
3633
|
+
}>, z.ZodNull]>>;
|
|
3634
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3635
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
3636
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
2799
3637
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2800
3638
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2801
3639
|
}, {
|
|
@@ -2804,11 +3642,11 @@ export declare const createPostTool: {
|
|
|
2804
3642
|
username?: string | undefined;
|
|
2805
3643
|
workspace_id?: string | undefined;
|
|
2806
3644
|
account_id?: string | undefined;
|
|
3645
|
+
caption?: string | undefined;
|
|
2807
3646
|
scheduled_at?: string | undefined;
|
|
2808
3647
|
media_url?: string | undefined;
|
|
2809
3648
|
media_urls?: string[] | undefined;
|
|
2810
3649
|
post_type?: string | undefined;
|
|
2811
|
-
caption?: string | undefined;
|
|
2812
3650
|
thread_posts?: string[] | undefined;
|
|
2813
3651
|
instagram_settings?: {
|
|
2814
3652
|
post_type?: "post" | "feed" | "story" | "reel" | "carousel" | undefined;
|
|
@@ -2837,6 +3675,28 @@ export declare const createPostTool: {
|
|
|
2837
3675
|
}[] | undefined;
|
|
2838
3676
|
is_ai_generated?: boolean | undefined;
|
|
2839
3677
|
audio_id?: string | undefined;
|
|
3678
|
+
poll_attachment?: {
|
|
3679
|
+
options?: string[] | undefined;
|
|
3680
|
+
option_a?: string | undefined;
|
|
3681
|
+
option_b?: string | undefined;
|
|
3682
|
+
option_c?: string | undefined;
|
|
3683
|
+
option_d?: string | undefined;
|
|
3684
|
+
} | undefined;
|
|
3685
|
+
caption_addon?: {
|
|
3686
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3687
|
+
options?: string[] | undefined;
|
|
3688
|
+
kind?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3689
|
+
extended_duration?: boolean | undefined;
|
|
3690
|
+
poll_attachment?: {
|
|
3691
|
+
options?: string[] | undefined;
|
|
3692
|
+
option_a?: string | undefined;
|
|
3693
|
+
option_b?: string | undefined;
|
|
3694
|
+
option_c?: string | undefined;
|
|
3695
|
+
option_d?: string | undefined;
|
|
3696
|
+
} | undefined;
|
|
3697
|
+
} | null | undefined;
|
|
3698
|
+
is_comment_prompt_used?: boolean | undefined;
|
|
3699
|
+
is_poll_duration_extended?: boolean | undefined;
|
|
2840
3700
|
} | undefined;
|
|
2841
3701
|
platform_settings?: z.objectInputType<{
|
|
2842
3702
|
__type: z.ZodOptional<z.ZodString>;
|
|
@@ -2960,6 +3820,22 @@ export declare const createPostTool: {
|
|
|
2960
3820
|
paid_partnership: z.ZodOptional<z.ZodBoolean>;
|
|
2961
3821
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2962
3822
|
audio_id: z.ZodOptional<z.ZodString>;
|
|
3823
|
+
caption_addon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
3824
|
+
type: z.ZodOptional<z.ZodEnum<["none", "poll", "comment_prompt"]>>;
|
|
3825
|
+
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3826
|
+
extended_duration: z.ZodOptional<z.ZodBoolean>;
|
|
3827
|
+
}, "strip", z.ZodTypeAny, {
|
|
3828
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3829
|
+
options?: string[] | undefined;
|
|
3830
|
+
extended_duration?: boolean | undefined;
|
|
3831
|
+
}, {
|
|
3832
|
+
type?: "none" | "poll" | "comment_prompt" | undefined;
|
|
3833
|
+
options?: string[] | undefined;
|
|
3834
|
+
extended_duration?: boolean | undefined;
|
|
3835
|
+
}>, z.ZodNull]>>;
|
|
3836
|
+
poll_attachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3837
|
+
is_comment_prompt_used: z.ZodOptional<z.ZodBoolean>;
|
|
3838
|
+
is_poll_duration_extended: z.ZodOptional<z.ZodBoolean>;
|
|
2963
3839
|
ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
2964
3840
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2965
3841
|
}>;
|