posterly-mcp-server 0.40.1 → 0.43.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.
- package/README.md +3 -2
- package/dist/index.js +10 -0
- package/dist/lib/api-client.d.ts +46 -10
- package/dist/lib/api-client.js +12 -0
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/tools/add-google-business-media.d.ts +2 -2
- package/dist/tools/create-post.d.ts +436 -0
- package/dist/tools/create-post.js +8 -0
- package/dist/tools/create-posts-batch.d.ts +164 -0
- package/dist/tools/generate-image.d.ts +12 -4
- package/dist/tools/generate-image.js +22 -17
- package/dist/tools/get-image-job.d.ts +24 -0
- package/dist/tools/get-image-job.js +31 -0
- package/dist/tools/update-post.d.ts +196 -0
- package/dist/tools/update-post.js +8 -0
- package/dist/tools/validate-post.d.ts +240 -0
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/index.ts +16 -0
- package/src/lib/api-client.ts +45 -6
- package/src/lib/version.ts +1 -1
- package/src/tools/create-post.ts +9 -0
- package/src/tools/generate-image.ts +25 -21
- package/src/tools/get-image-job.ts +36 -0
- package/src/tools/update-post.ts +9 -0
- package/tool-annotations.json +3 -0
|
@@ -33,6 +33,22 @@ export declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
33
33
|
}>]>, "many">>;
|
|
34
34
|
first_comment: z.ZodOptional<z.ZodString>;
|
|
35
35
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
36
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
37
|
+
index: z.ZodNumber;
|
|
38
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
39
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
40
|
+
alt_text: z.ZodString;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
index: number;
|
|
43
|
+
alt_text: string;
|
|
44
|
+
asset_id?: string | undefined;
|
|
45
|
+
source_url?: string | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
index: number;
|
|
48
|
+
alt_text: string;
|
|
49
|
+
asset_id?: string | undefined;
|
|
50
|
+
source_url?: string | undefined;
|
|
51
|
+
}>, "many">>;
|
|
36
52
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
37
53
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
38
54
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -56,6 +72,12 @@ export declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
56
72
|
})[] | undefined;
|
|
57
73
|
first_comment?: string | undefined;
|
|
58
74
|
media_alt_texts?: Record<string, string> | undefined;
|
|
75
|
+
media_accessibility?: {
|
|
76
|
+
index: number;
|
|
77
|
+
alt_text: string;
|
|
78
|
+
asset_id?: string | undefined;
|
|
79
|
+
source_url?: string | undefined;
|
|
80
|
+
}[] | undefined;
|
|
59
81
|
is_ai_generated?: boolean | undefined;
|
|
60
82
|
audio_id?: string | undefined;
|
|
61
83
|
}, {
|
|
@@ -77,6 +99,12 @@ export declare const instagramSettingsSchema: z.ZodObject<{
|
|
|
77
99
|
})[] | undefined;
|
|
78
100
|
first_comment?: string | undefined;
|
|
79
101
|
media_alt_texts?: Record<string, string> | undefined;
|
|
102
|
+
media_accessibility?: {
|
|
103
|
+
index: number;
|
|
104
|
+
alt_text: string;
|
|
105
|
+
asset_id?: string | undefined;
|
|
106
|
+
source_url?: string | undefined;
|
|
107
|
+
}[] | undefined;
|
|
80
108
|
is_ai_generated?: boolean | undefined;
|
|
81
109
|
audio_id?: string | undefined;
|
|
82
110
|
}>;
|
|
@@ -85,6 +113,22 @@ export declare const platformSettingsSchema: z.ZodObject<{
|
|
|
85
113
|
post_type: z.ZodOptional<z.ZodString>;
|
|
86
114
|
content_type: z.ZodOptional<z.ZodString>;
|
|
87
115
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
116
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
117
|
+
index: z.ZodNumber;
|
|
118
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
119
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
120
|
+
alt_text: z.ZodString;
|
|
121
|
+
}, "strip", z.ZodTypeAny, {
|
|
122
|
+
index: number;
|
|
123
|
+
alt_text: string;
|
|
124
|
+
asset_id?: string | undefined;
|
|
125
|
+
source_url?: string | undefined;
|
|
126
|
+
}, {
|
|
127
|
+
index: number;
|
|
128
|
+
alt_text: string;
|
|
129
|
+
asset_id?: string | undefined;
|
|
130
|
+
source_url?: string | undefined;
|
|
131
|
+
}>, "many">>;
|
|
88
132
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
89
133
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
90
134
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -192,6 +236,22 @@ export declare const platformSettingsSchema: z.ZodObject<{
|
|
|
192
236
|
post_type: z.ZodOptional<z.ZodString>;
|
|
193
237
|
content_type: z.ZodOptional<z.ZodString>;
|
|
194
238
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
239
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
240
|
+
index: z.ZodNumber;
|
|
241
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
242
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
243
|
+
alt_text: z.ZodString;
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
index: number;
|
|
246
|
+
alt_text: string;
|
|
247
|
+
asset_id?: string | undefined;
|
|
248
|
+
source_url?: string | undefined;
|
|
249
|
+
}, {
|
|
250
|
+
index: number;
|
|
251
|
+
alt_text: string;
|
|
252
|
+
asset_id?: string | undefined;
|
|
253
|
+
source_url?: string | undefined;
|
|
254
|
+
}>, "many">>;
|
|
195
255
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
196
256
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
197
257
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -299,6 +359,22 @@ export declare const platformSettingsSchema: z.ZodObject<{
|
|
|
299
359
|
post_type: z.ZodOptional<z.ZodString>;
|
|
300
360
|
content_type: z.ZodOptional<z.ZodString>;
|
|
301
361
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
362
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
363
|
+
index: z.ZodNumber;
|
|
364
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
365
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
366
|
+
alt_text: z.ZodString;
|
|
367
|
+
}, "strip", z.ZodTypeAny, {
|
|
368
|
+
index: number;
|
|
369
|
+
alt_text: string;
|
|
370
|
+
asset_id?: string | undefined;
|
|
371
|
+
source_url?: string | undefined;
|
|
372
|
+
}, {
|
|
373
|
+
index: number;
|
|
374
|
+
alt_text: string;
|
|
375
|
+
asset_id?: string | undefined;
|
|
376
|
+
source_url?: string | undefined;
|
|
377
|
+
}>, "many">>;
|
|
302
378
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
303
379
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
304
380
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -445,6 +521,22 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
445
521
|
}>]>, "many">>;
|
|
446
522
|
first_comment: z.ZodOptional<z.ZodString>;
|
|
447
523
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
524
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
525
|
+
index: z.ZodNumber;
|
|
526
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
527
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
528
|
+
alt_text: z.ZodString;
|
|
529
|
+
}, "strip", z.ZodTypeAny, {
|
|
530
|
+
index: number;
|
|
531
|
+
alt_text: string;
|
|
532
|
+
asset_id?: string | undefined;
|
|
533
|
+
source_url?: string | undefined;
|
|
534
|
+
}, {
|
|
535
|
+
index: number;
|
|
536
|
+
alt_text: string;
|
|
537
|
+
asset_id?: string | undefined;
|
|
538
|
+
source_url?: string | undefined;
|
|
539
|
+
}>, "many">>;
|
|
448
540
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
449
541
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
450
542
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -468,6 +560,12 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
468
560
|
})[] | undefined;
|
|
469
561
|
first_comment?: string | undefined;
|
|
470
562
|
media_alt_texts?: Record<string, string> | undefined;
|
|
563
|
+
media_accessibility?: {
|
|
564
|
+
index: number;
|
|
565
|
+
alt_text: string;
|
|
566
|
+
asset_id?: string | undefined;
|
|
567
|
+
source_url?: string | undefined;
|
|
568
|
+
}[] | undefined;
|
|
471
569
|
is_ai_generated?: boolean | undefined;
|
|
472
570
|
audio_id?: string | undefined;
|
|
473
571
|
}, {
|
|
@@ -489,6 +587,12 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
489
587
|
})[] | undefined;
|
|
490
588
|
first_comment?: string | undefined;
|
|
491
589
|
media_alt_texts?: Record<string, string> | undefined;
|
|
590
|
+
media_accessibility?: {
|
|
591
|
+
index: number;
|
|
592
|
+
alt_text: string;
|
|
593
|
+
asset_id?: string | undefined;
|
|
594
|
+
source_url?: string | undefined;
|
|
595
|
+
}[] | undefined;
|
|
492
596
|
is_ai_generated?: boolean | undefined;
|
|
493
597
|
audio_id?: string | undefined;
|
|
494
598
|
}>>;
|
|
@@ -497,6 +601,22 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
497
601
|
post_type: z.ZodOptional<z.ZodString>;
|
|
498
602
|
content_type: z.ZodOptional<z.ZodString>;
|
|
499
603
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
604
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
605
|
+
index: z.ZodNumber;
|
|
606
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
607
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
608
|
+
alt_text: z.ZodString;
|
|
609
|
+
}, "strip", z.ZodTypeAny, {
|
|
610
|
+
index: number;
|
|
611
|
+
alt_text: string;
|
|
612
|
+
asset_id?: string | undefined;
|
|
613
|
+
source_url?: string | undefined;
|
|
614
|
+
}, {
|
|
615
|
+
index: number;
|
|
616
|
+
alt_text: string;
|
|
617
|
+
asset_id?: string | undefined;
|
|
618
|
+
source_url?: string | undefined;
|
|
619
|
+
}>, "many">>;
|
|
500
620
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
501
621
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
502
622
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -604,6 +724,22 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
604
724
|
post_type: z.ZodOptional<z.ZodString>;
|
|
605
725
|
content_type: z.ZodOptional<z.ZodString>;
|
|
606
726
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
727
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
728
|
+
index: z.ZodNumber;
|
|
729
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
730
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
731
|
+
alt_text: z.ZodString;
|
|
732
|
+
}, "strip", z.ZodTypeAny, {
|
|
733
|
+
index: number;
|
|
734
|
+
alt_text: string;
|
|
735
|
+
asset_id?: string | undefined;
|
|
736
|
+
source_url?: string | undefined;
|
|
737
|
+
}, {
|
|
738
|
+
index: number;
|
|
739
|
+
alt_text: string;
|
|
740
|
+
asset_id?: string | undefined;
|
|
741
|
+
source_url?: string | undefined;
|
|
742
|
+
}>, "many">>;
|
|
607
743
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
608
744
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
609
745
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -711,6 +847,22 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
711
847
|
post_type: z.ZodOptional<z.ZodString>;
|
|
712
848
|
content_type: z.ZodOptional<z.ZodString>;
|
|
713
849
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
850
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
851
|
+
index: z.ZodNumber;
|
|
852
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
853
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
854
|
+
alt_text: z.ZodString;
|
|
855
|
+
}, "strip", z.ZodTypeAny, {
|
|
856
|
+
index: number;
|
|
857
|
+
alt_text: string;
|
|
858
|
+
asset_id?: string | undefined;
|
|
859
|
+
source_url?: string | undefined;
|
|
860
|
+
}, {
|
|
861
|
+
index: number;
|
|
862
|
+
alt_text: string;
|
|
863
|
+
asset_id?: string | undefined;
|
|
864
|
+
source_url?: string | undefined;
|
|
865
|
+
}>, "many">>;
|
|
714
866
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
715
867
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
716
868
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -845,6 +997,12 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
845
997
|
})[] | undefined;
|
|
846
998
|
first_comment?: string | undefined;
|
|
847
999
|
media_alt_texts?: Record<string, string> | undefined;
|
|
1000
|
+
media_accessibility?: {
|
|
1001
|
+
index: number;
|
|
1002
|
+
alt_text: string;
|
|
1003
|
+
asset_id?: string | undefined;
|
|
1004
|
+
source_url?: string | undefined;
|
|
1005
|
+
}[] | undefined;
|
|
848
1006
|
is_ai_generated?: boolean | undefined;
|
|
849
1007
|
audio_id?: string | undefined;
|
|
850
1008
|
} | undefined;
|
|
@@ -853,6 +1011,22 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
853
1011
|
post_type: z.ZodOptional<z.ZodString>;
|
|
854
1012
|
content_type: z.ZodOptional<z.ZodString>;
|
|
855
1013
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1014
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1015
|
+
index: z.ZodNumber;
|
|
1016
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
1017
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
1018
|
+
alt_text: z.ZodString;
|
|
1019
|
+
}, "strip", z.ZodTypeAny, {
|
|
1020
|
+
index: number;
|
|
1021
|
+
alt_text: string;
|
|
1022
|
+
asset_id?: string | undefined;
|
|
1023
|
+
source_url?: string | undefined;
|
|
1024
|
+
}, {
|
|
1025
|
+
index: number;
|
|
1026
|
+
alt_text: string;
|
|
1027
|
+
asset_id?: string | undefined;
|
|
1028
|
+
source_url?: string | undefined;
|
|
1029
|
+
}>, "many">>;
|
|
856
1030
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
857
1031
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
858
1032
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -986,6 +1160,12 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
986
1160
|
})[] | undefined;
|
|
987
1161
|
first_comment?: string | undefined;
|
|
988
1162
|
media_alt_texts?: Record<string, string> | undefined;
|
|
1163
|
+
media_accessibility?: {
|
|
1164
|
+
index: number;
|
|
1165
|
+
alt_text: string;
|
|
1166
|
+
asset_id?: string | undefined;
|
|
1167
|
+
source_url?: string | undefined;
|
|
1168
|
+
}[] | undefined;
|
|
989
1169
|
is_ai_generated?: boolean | undefined;
|
|
990
1170
|
audio_id?: string | undefined;
|
|
991
1171
|
} | undefined;
|
|
@@ -994,6 +1174,22 @@ export declare const createPostPayloadInputSchema: z.ZodObject<{
|
|
|
994
1174
|
post_type: z.ZodOptional<z.ZodString>;
|
|
995
1175
|
content_type: z.ZodOptional<z.ZodString>;
|
|
996
1176
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1177
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1178
|
+
index: z.ZodNumber;
|
|
1179
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
1180
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
alt_text: z.ZodString;
|
|
1182
|
+
}, "strip", z.ZodTypeAny, {
|
|
1183
|
+
index: number;
|
|
1184
|
+
alt_text: string;
|
|
1185
|
+
asset_id?: string | undefined;
|
|
1186
|
+
source_url?: string | undefined;
|
|
1187
|
+
}, {
|
|
1188
|
+
index: number;
|
|
1189
|
+
alt_text: string;
|
|
1190
|
+
asset_id?: string | undefined;
|
|
1191
|
+
source_url?: string | undefined;
|
|
1192
|
+
}>, "many">>;
|
|
997
1193
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
998
1194
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
999
1195
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -1141,6 +1337,22 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1141
1337
|
}>]>, "many">>;
|
|
1142
1338
|
first_comment: z.ZodOptional<z.ZodString>;
|
|
1143
1339
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1340
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1341
|
+
index: z.ZodNumber;
|
|
1342
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
1343
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
1344
|
+
alt_text: z.ZodString;
|
|
1345
|
+
}, "strip", z.ZodTypeAny, {
|
|
1346
|
+
index: number;
|
|
1347
|
+
alt_text: string;
|
|
1348
|
+
asset_id?: string | undefined;
|
|
1349
|
+
source_url?: string | undefined;
|
|
1350
|
+
}, {
|
|
1351
|
+
index: number;
|
|
1352
|
+
alt_text: string;
|
|
1353
|
+
asset_id?: string | undefined;
|
|
1354
|
+
source_url?: string | undefined;
|
|
1355
|
+
}>, "many">>;
|
|
1144
1356
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
1145
1357
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
1146
1358
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1164,6 +1376,12 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1164
1376
|
})[] | undefined;
|
|
1165
1377
|
first_comment?: string | undefined;
|
|
1166
1378
|
media_alt_texts?: Record<string, string> | undefined;
|
|
1379
|
+
media_accessibility?: {
|
|
1380
|
+
index: number;
|
|
1381
|
+
alt_text: string;
|
|
1382
|
+
asset_id?: string | undefined;
|
|
1383
|
+
source_url?: string | undefined;
|
|
1384
|
+
}[] | undefined;
|
|
1167
1385
|
is_ai_generated?: boolean | undefined;
|
|
1168
1386
|
audio_id?: string | undefined;
|
|
1169
1387
|
}, {
|
|
@@ -1185,6 +1403,12 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1185
1403
|
})[] | undefined;
|
|
1186
1404
|
first_comment?: string | undefined;
|
|
1187
1405
|
media_alt_texts?: Record<string, string> | undefined;
|
|
1406
|
+
media_accessibility?: {
|
|
1407
|
+
index: number;
|
|
1408
|
+
alt_text: string;
|
|
1409
|
+
asset_id?: string | undefined;
|
|
1410
|
+
source_url?: string | undefined;
|
|
1411
|
+
}[] | undefined;
|
|
1188
1412
|
is_ai_generated?: boolean | undefined;
|
|
1189
1413
|
audio_id?: string | undefined;
|
|
1190
1414
|
}>>;
|
|
@@ -1193,6 +1417,22 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1193
1417
|
post_type: z.ZodOptional<z.ZodString>;
|
|
1194
1418
|
content_type: z.ZodOptional<z.ZodString>;
|
|
1195
1419
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1420
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1421
|
+
index: z.ZodNumber;
|
|
1422
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
1423
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
alt_text: z.ZodString;
|
|
1425
|
+
}, "strip", z.ZodTypeAny, {
|
|
1426
|
+
index: number;
|
|
1427
|
+
alt_text: string;
|
|
1428
|
+
asset_id?: string | undefined;
|
|
1429
|
+
source_url?: string | undefined;
|
|
1430
|
+
}, {
|
|
1431
|
+
index: number;
|
|
1432
|
+
alt_text: string;
|
|
1433
|
+
asset_id?: string | undefined;
|
|
1434
|
+
source_url?: string | undefined;
|
|
1435
|
+
}>, "many">>;
|
|
1196
1436
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
1197
1437
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
1198
1438
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -1300,6 +1540,22 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1300
1540
|
post_type: z.ZodOptional<z.ZodString>;
|
|
1301
1541
|
content_type: z.ZodOptional<z.ZodString>;
|
|
1302
1542
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1543
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1544
|
+
index: z.ZodNumber;
|
|
1545
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
1546
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
1547
|
+
alt_text: z.ZodString;
|
|
1548
|
+
}, "strip", z.ZodTypeAny, {
|
|
1549
|
+
index: number;
|
|
1550
|
+
alt_text: string;
|
|
1551
|
+
asset_id?: string | undefined;
|
|
1552
|
+
source_url?: string | undefined;
|
|
1553
|
+
}, {
|
|
1554
|
+
index: number;
|
|
1555
|
+
alt_text: string;
|
|
1556
|
+
asset_id?: string | undefined;
|
|
1557
|
+
source_url?: string | undefined;
|
|
1558
|
+
}>, "many">>;
|
|
1303
1559
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
1304
1560
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
1305
1561
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -1407,6 +1663,22 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1407
1663
|
post_type: z.ZodOptional<z.ZodString>;
|
|
1408
1664
|
content_type: z.ZodOptional<z.ZodString>;
|
|
1409
1665
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1666
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1667
|
+
index: z.ZodNumber;
|
|
1668
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
1669
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
1670
|
+
alt_text: z.ZodString;
|
|
1671
|
+
}, "strip", z.ZodTypeAny, {
|
|
1672
|
+
index: number;
|
|
1673
|
+
alt_text: string;
|
|
1674
|
+
asset_id?: string | undefined;
|
|
1675
|
+
source_url?: string | undefined;
|
|
1676
|
+
}, {
|
|
1677
|
+
index: number;
|
|
1678
|
+
alt_text: string;
|
|
1679
|
+
asset_id?: string | undefined;
|
|
1680
|
+
source_url?: string | undefined;
|
|
1681
|
+
}>, "many">>;
|
|
1410
1682
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
1411
1683
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
1412
1684
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -1544,6 +1816,12 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1544
1816
|
})[] | undefined;
|
|
1545
1817
|
first_comment?: string | undefined;
|
|
1546
1818
|
media_alt_texts?: Record<string, string> | undefined;
|
|
1819
|
+
media_accessibility?: {
|
|
1820
|
+
index: number;
|
|
1821
|
+
alt_text: string;
|
|
1822
|
+
asset_id?: string | undefined;
|
|
1823
|
+
source_url?: string | undefined;
|
|
1824
|
+
}[] | undefined;
|
|
1547
1825
|
is_ai_generated?: boolean | undefined;
|
|
1548
1826
|
audio_id?: string | undefined;
|
|
1549
1827
|
} | undefined;
|
|
@@ -1552,6 +1830,22 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1552
1830
|
post_type: z.ZodOptional<z.ZodString>;
|
|
1553
1831
|
content_type: z.ZodOptional<z.ZodString>;
|
|
1554
1832
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1833
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1834
|
+
index: z.ZodNumber;
|
|
1835
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
1836
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
1837
|
+
alt_text: z.ZodString;
|
|
1838
|
+
}, "strip", z.ZodTypeAny, {
|
|
1839
|
+
index: number;
|
|
1840
|
+
alt_text: string;
|
|
1841
|
+
asset_id?: string | undefined;
|
|
1842
|
+
source_url?: string | undefined;
|
|
1843
|
+
}, {
|
|
1844
|
+
index: number;
|
|
1845
|
+
alt_text: string;
|
|
1846
|
+
asset_id?: string | undefined;
|
|
1847
|
+
source_url?: string | undefined;
|
|
1848
|
+
}>, "many">>;
|
|
1555
1849
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
1556
1850
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
1557
1851
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -1686,6 +1980,12 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1686
1980
|
})[] | undefined;
|
|
1687
1981
|
first_comment?: string | undefined;
|
|
1688
1982
|
media_alt_texts?: Record<string, string> | undefined;
|
|
1983
|
+
media_accessibility?: {
|
|
1984
|
+
index: number;
|
|
1985
|
+
alt_text: string;
|
|
1986
|
+
asset_id?: string | undefined;
|
|
1987
|
+
source_url?: string | undefined;
|
|
1988
|
+
}[] | undefined;
|
|
1689
1989
|
is_ai_generated?: boolean | undefined;
|
|
1690
1990
|
audio_id?: string | undefined;
|
|
1691
1991
|
} | undefined;
|
|
@@ -1694,6 +1994,22 @@ export declare const createPostInputSchema: z.ZodObject<{
|
|
|
1694
1994
|
post_type: z.ZodOptional<z.ZodString>;
|
|
1695
1995
|
content_type: z.ZodOptional<z.ZodString>;
|
|
1696
1996
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1997
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1998
|
+
index: z.ZodNumber;
|
|
1999
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
2000
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
2001
|
+
alt_text: z.ZodString;
|
|
2002
|
+
}, "strip", z.ZodTypeAny, {
|
|
2003
|
+
index: number;
|
|
2004
|
+
alt_text: string;
|
|
2005
|
+
asset_id?: string | undefined;
|
|
2006
|
+
source_url?: string | undefined;
|
|
2007
|
+
}, {
|
|
2008
|
+
index: number;
|
|
2009
|
+
alt_text: string;
|
|
2010
|
+
asset_id?: string | undefined;
|
|
2011
|
+
source_url?: string | undefined;
|
|
2012
|
+
}>, "many">>;
|
|
1697
2013
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
1698
2014
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
1699
2015
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -1847,6 +2163,22 @@ export declare const createPostTool: {
|
|
|
1847
2163
|
}>]>, "many">>;
|
|
1848
2164
|
first_comment: z.ZodOptional<z.ZodString>;
|
|
1849
2165
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2166
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2167
|
+
index: z.ZodNumber;
|
|
2168
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
2169
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
2170
|
+
alt_text: z.ZodString;
|
|
2171
|
+
}, "strip", z.ZodTypeAny, {
|
|
2172
|
+
index: number;
|
|
2173
|
+
alt_text: string;
|
|
2174
|
+
asset_id?: string | undefined;
|
|
2175
|
+
source_url?: string | undefined;
|
|
2176
|
+
}, {
|
|
2177
|
+
index: number;
|
|
2178
|
+
alt_text: string;
|
|
2179
|
+
asset_id?: string | undefined;
|
|
2180
|
+
source_url?: string | undefined;
|
|
2181
|
+
}>, "many">>;
|
|
1850
2182
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
1851
2183
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
1852
2184
|
is_ai_generated: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1870,6 +2202,12 @@ export declare const createPostTool: {
|
|
|
1870
2202
|
})[] | undefined;
|
|
1871
2203
|
first_comment?: string | undefined;
|
|
1872
2204
|
media_alt_texts?: Record<string, string> | undefined;
|
|
2205
|
+
media_accessibility?: {
|
|
2206
|
+
index: number;
|
|
2207
|
+
alt_text: string;
|
|
2208
|
+
asset_id?: string | undefined;
|
|
2209
|
+
source_url?: string | undefined;
|
|
2210
|
+
}[] | undefined;
|
|
1873
2211
|
is_ai_generated?: boolean | undefined;
|
|
1874
2212
|
audio_id?: string | undefined;
|
|
1875
2213
|
}, {
|
|
@@ -1891,6 +2229,12 @@ export declare const createPostTool: {
|
|
|
1891
2229
|
})[] | undefined;
|
|
1892
2230
|
first_comment?: string | undefined;
|
|
1893
2231
|
media_alt_texts?: Record<string, string> | undefined;
|
|
2232
|
+
media_accessibility?: {
|
|
2233
|
+
index: number;
|
|
2234
|
+
alt_text: string;
|
|
2235
|
+
asset_id?: string | undefined;
|
|
2236
|
+
source_url?: string | undefined;
|
|
2237
|
+
}[] | undefined;
|
|
1894
2238
|
is_ai_generated?: boolean | undefined;
|
|
1895
2239
|
audio_id?: string | undefined;
|
|
1896
2240
|
}>>;
|
|
@@ -1899,6 +2243,22 @@ export declare const createPostTool: {
|
|
|
1899
2243
|
post_type: z.ZodOptional<z.ZodString>;
|
|
1900
2244
|
content_type: z.ZodOptional<z.ZodString>;
|
|
1901
2245
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2246
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2247
|
+
index: z.ZodNumber;
|
|
2248
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
2249
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
2250
|
+
alt_text: z.ZodString;
|
|
2251
|
+
}, "strip", z.ZodTypeAny, {
|
|
2252
|
+
index: number;
|
|
2253
|
+
alt_text: string;
|
|
2254
|
+
asset_id?: string | undefined;
|
|
2255
|
+
source_url?: string | undefined;
|
|
2256
|
+
}, {
|
|
2257
|
+
index: number;
|
|
2258
|
+
alt_text: string;
|
|
2259
|
+
asset_id?: string | undefined;
|
|
2260
|
+
source_url?: string | undefined;
|
|
2261
|
+
}>, "many">>;
|
|
1902
2262
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
1903
2263
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
1904
2264
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -2006,6 +2366,22 @@ export declare const createPostTool: {
|
|
|
2006
2366
|
post_type: z.ZodOptional<z.ZodString>;
|
|
2007
2367
|
content_type: z.ZodOptional<z.ZodString>;
|
|
2008
2368
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2369
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2370
|
+
index: z.ZodNumber;
|
|
2371
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
2372
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
2373
|
+
alt_text: z.ZodString;
|
|
2374
|
+
}, "strip", z.ZodTypeAny, {
|
|
2375
|
+
index: number;
|
|
2376
|
+
alt_text: string;
|
|
2377
|
+
asset_id?: string | undefined;
|
|
2378
|
+
source_url?: string | undefined;
|
|
2379
|
+
}, {
|
|
2380
|
+
index: number;
|
|
2381
|
+
alt_text: string;
|
|
2382
|
+
asset_id?: string | undefined;
|
|
2383
|
+
source_url?: string | undefined;
|
|
2384
|
+
}>, "many">>;
|
|
2009
2385
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
2010
2386
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
2011
2387
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -2113,6 +2489,22 @@ export declare const createPostTool: {
|
|
|
2113
2489
|
post_type: z.ZodOptional<z.ZodString>;
|
|
2114
2490
|
content_type: z.ZodOptional<z.ZodString>;
|
|
2115
2491
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2492
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2493
|
+
index: z.ZodNumber;
|
|
2494
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
2495
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
2496
|
+
alt_text: z.ZodString;
|
|
2497
|
+
}, "strip", z.ZodTypeAny, {
|
|
2498
|
+
index: number;
|
|
2499
|
+
alt_text: string;
|
|
2500
|
+
asset_id?: string | undefined;
|
|
2501
|
+
source_url?: string | undefined;
|
|
2502
|
+
}, {
|
|
2503
|
+
index: number;
|
|
2504
|
+
alt_text: string;
|
|
2505
|
+
asset_id?: string | undefined;
|
|
2506
|
+
source_url?: string | undefined;
|
|
2507
|
+
}>, "many">>;
|
|
2116
2508
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
2117
2509
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
2118
2510
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -2250,6 +2642,12 @@ export declare const createPostTool: {
|
|
|
2250
2642
|
})[] | undefined;
|
|
2251
2643
|
first_comment?: string | undefined;
|
|
2252
2644
|
media_alt_texts?: Record<string, string> | undefined;
|
|
2645
|
+
media_accessibility?: {
|
|
2646
|
+
index: number;
|
|
2647
|
+
alt_text: string;
|
|
2648
|
+
asset_id?: string | undefined;
|
|
2649
|
+
source_url?: string | undefined;
|
|
2650
|
+
}[] | undefined;
|
|
2253
2651
|
is_ai_generated?: boolean | undefined;
|
|
2254
2652
|
audio_id?: string | undefined;
|
|
2255
2653
|
} | undefined;
|
|
@@ -2258,6 +2656,22 @@ export declare const createPostTool: {
|
|
|
2258
2656
|
post_type: z.ZodOptional<z.ZodString>;
|
|
2259
2657
|
content_type: z.ZodOptional<z.ZodString>;
|
|
2260
2658
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2659
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2660
|
+
index: z.ZodNumber;
|
|
2661
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
2662
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
2663
|
+
alt_text: z.ZodString;
|
|
2664
|
+
}, "strip", z.ZodTypeAny, {
|
|
2665
|
+
index: number;
|
|
2666
|
+
alt_text: string;
|
|
2667
|
+
asset_id?: string | undefined;
|
|
2668
|
+
source_url?: string | undefined;
|
|
2669
|
+
}, {
|
|
2670
|
+
index: number;
|
|
2671
|
+
alt_text: string;
|
|
2672
|
+
asset_id?: string | undefined;
|
|
2673
|
+
source_url?: string | undefined;
|
|
2674
|
+
}>, "many">>;
|
|
2261
2675
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
2262
2676
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
2263
2677
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|
|
@@ -2392,6 +2806,12 @@ export declare const createPostTool: {
|
|
|
2392
2806
|
})[] | undefined;
|
|
2393
2807
|
first_comment?: string | undefined;
|
|
2394
2808
|
media_alt_texts?: Record<string, string> | undefined;
|
|
2809
|
+
media_accessibility?: {
|
|
2810
|
+
index: number;
|
|
2811
|
+
alt_text: string;
|
|
2812
|
+
asset_id?: string | undefined;
|
|
2813
|
+
source_url?: string | undefined;
|
|
2814
|
+
}[] | undefined;
|
|
2395
2815
|
is_ai_generated?: boolean | undefined;
|
|
2396
2816
|
audio_id?: string | undefined;
|
|
2397
2817
|
} | undefined;
|
|
@@ -2400,6 +2820,22 @@ export declare const createPostTool: {
|
|
|
2400
2820
|
post_type: z.ZodOptional<z.ZodString>;
|
|
2401
2821
|
content_type: z.ZodOptional<z.ZodString>;
|
|
2402
2822
|
media_alt_texts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2823
|
+
media_accessibility: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2824
|
+
index: z.ZodNumber;
|
|
2825
|
+
asset_id: z.ZodOptional<z.ZodString>;
|
|
2826
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
2827
|
+
alt_text: z.ZodString;
|
|
2828
|
+
}, "strip", z.ZodTypeAny, {
|
|
2829
|
+
index: number;
|
|
2830
|
+
alt_text: string;
|
|
2831
|
+
asset_id?: string | undefined;
|
|
2832
|
+
source_url?: string | undefined;
|
|
2833
|
+
}, {
|
|
2834
|
+
index: number;
|
|
2835
|
+
alt_text: string;
|
|
2836
|
+
asset_id?: string | undefined;
|
|
2837
|
+
source_url?: string | undefined;
|
|
2838
|
+
}>, "many">>;
|
|
2403
2839
|
reel_cover_url: z.ZodOptional<z.ZodString>;
|
|
2404
2840
|
reel_thumb_offset: z.ZodOptional<z.ZodNumber>;
|
|
2405
2841
|
reply_settings: z.ZodOptional<z.ZodEnum<["everyone", "following", "mentionedUsers", "subscribers", "verified"]>>;
|