@postrun/js 2.10.0 → 2.11.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/dist/{chunk-IK4QXQLM.js → chunk-QMBBAADH.js} +3 -3
- package/dist/{chunk-IK4QXQLM.js.map → chunk-QMBBAADH.js.map} +1 -1
- package/dist/{chunk-LATXGVUG.js → chunk-T4V4M2WL.js} +1353 -369
- package/dist/chunk-T4V4M2WL.js.map +1 -0
- package/dist/index.cjs +1348 -364
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/schemas/index.cjs +1351 -367
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +1190 -206
- package/dist/schemas/index.d.ts +1190 -206
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +1348 -364
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -2
- package/dist/{types.gen-BUi197pC.d.cts → types.gen-CENLQ15A.d.cts} +2708 -996
- package/dist/{types.gen-BUi197pC.d.ts → types.gen-CENLQ15A.d.ts} +2708 -996
- package/package.json +1 -1
- package/dist/chunk-LATXGVUG.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1955,25 +1955,1126 @@ z__namespace.object({
|
|
|
1955
1955
|
z__namespace.number(),
|
|
1956
1956
|
z__namespace.boolean()
|
|
1957
1957
|
])),
|
|
1958
|
-
variants: z__namespace.array(z__namespace.
|
|
1958
|
+
variants: z__namespace.array(z__namespace.union([
|
|
1959
|
+
z__namespace.object({
|
|
1960
|
+
platform: z__namespace.literal("x"),
|
|
1961
|
+
post_type: z__namespace.enum([
|
|
1962
|
+
"text",
|
|
1963
|
+
"single_image",
|
|
1964
|
+
"multi_image",
|
|
1965
|
+
"video"
|
|
1966
|
+
]),
|
|
1967
|
+
settings: z__namespace.object({
|
|
1968
|
+
reply_settings: z__namespace.enum([
|
|
1969
|
+
"everyone",
|
|
1970
|
+
"following",
|
|
1971
|
+
"mentionedUsers",
|
|
1972
|
+
"subscribers",
|
|
1973
|
+
"verified"
|
|
1974
|
+
]).optional(),
|
|
1975
|
+
quote_tweet_id: z__namespace.string().regex(/^[0-9]{1,19}$/).optional(),
|
|
1976
|
+
poll: z__namespace.object({
|
|
1977
|
+
options: z__namespace.array(z__namespace.string().min(1).max(25)).min(2).max(4),
|
|
1978
|
+
duration_minutes: z__namespace.int().gte(5).lte(10080),
|
|
1979
|
+
reply_settings: z__namespace.enum([
|
|
1980
|
+
"following",
|
|
1981
|
+
"mentionedUsers",
|
|
1982
|
+
"subscribers",
|
|
1983
|
+
"verified"
|
|
1984
|
+
]).optional()
|
|
1985
|
+
}).optional(),
|
|
1986
|
+
reply: z__namespace.object({
|
|
1987
|
+
in_reply_to_tweet_id: z__namespace.string().regex(/^[0-9]{1,19}$/),
|
|
1988
|
+
exclude_reply_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).optional(),
|
|
1989
|
+
auto_populate_reply_metadata: z__namespace.boolean().optional()
|
|
1990
|
+
}).optional(),
|
|
1991
|
+
community_id: z__namespace.string().regex(/^[0-9]{1,19}$/).optional(),
|
|
1992
|
+
for_super_followers_only: z__namespace.boolean().optional(),
|
|
1993
|
+
geo: z__namespace.object({
|
|
1994
|
+
place_id: z__namespace.string()
|
|
1995
|
+
}).optional(),
|
|
1996
|
+
card_uri: z__namespace.string().optional(),
|
|
1997
|
+
media_tagged_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).max(10).optional()
|
|
1998
|
+
}),
|
|
1999
|
+
id: z__namespace.string(),
|
|
2000
|
+
object: z__namespace.literal("post_variant"),
|
|
2001
|
+
connection_id: z__namespace.string().nullable(),
|
|
2002
|
+
body: z__namespace.string().nullable(),
|
|
2003
|
+
status: z__namespace.enum([
|
|
2004
|
+
"draft",
|
|
2005
|
+
"scheduled",
|
|
2006
|
+
"publishing",
|
|
2007
|
+
"published",
|
|
2008
|
+
"failed"
|
|
2009
|
+
]),
|
|
2010
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2011
|
+
result: z__namespace.object({
|
|
2012
|
+
platform_post_id: z__namespace.string(),
|
|
2013
|
+
permalink: z__namespace.string().nullable(),
|
|
2014
|
+
published_at: z__namespace.string()
|
|
2015
|
+
}).nullable(),
|
|
2016
|
+
error: z__namespace.object({
|
|
2017
|
+
code: z__namespace.string(),
|
|
2018
|
+
message: z__namespace.string(),
|
|
2019
|
+
display_error: z__namespace.string()
|
|
2020
|
+
}).nullable(),
|
|
2021
|
+
media: z__namespace.array(z__namespace.object({
|
|
2022
|
+
media_id: z__namespace.string(),
|
|
2023
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2024
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2025
|
+
alt_text_override: z__namespace.string().nullable()
|
|
2026
|
+
}))
|
|
2027
|
+
}),
|
|
2028
|
+
z__namespace.object({
|
|
2029
|
+
platform: z__namespace.literal("linkedin"),
|
|
2030
|
+
post_type: z__namespace.enum([
|
|
2031
|
+
"text",
|
|
2032
|
+
"single_image",
|
|
2033
|
+
"multi_image",
|
|
2034
|
+
"video"
|
|
2035
|
+
]),
|
|
2036
|
+
settings: z__namespace.object({
|
|
2037
|
+
visibility: z__namespace.enum(["PUBLIC", "CONNECTIONS"]),
|
|
2038
|
+
content_kind: z__namespace.enum([
|
|
2039
|
+
"text",
|
|
2040
|
+
"single_image",
|
|
2041
|
+
"video",
|
|
2042
|
+
"multi_image",
|
|
2043
|
+
"document",
|
|
2044
|
+
"article",
|
|
2045
|
+
"poll"
|
|
2046
|
+
]),
|
|
2047
|
+
article: z__namespace.object({
|
|
2048
|
+
source: z__namespace.url(),
|
|
2049
|
+
title: z__namespace.string().max(400).optional(),
|
|
2050
|
+
description: z__namespace.string().max(4086).optional(),
|
|
2051
|
+
thumbnail_media_id: z__namespace.string().optional()
|
|
2052
|
+
}).optional(),
|
|
2053
|
+
poll: z__namespace.object({
|
|
2054
|
+
question: z__namespace.string().min(1).max(140),
|
|
2055
|
+
options: z__namespace.array(z__namespace.string().min(1).max(30)).min(2).max(4),
|
|
2056
|
+
duration: z__namespace.enum([
|
|
2057
|
+
"ONE_DAY",
|
|
2058
|
+
"THREE_DAYS",
|
|
2059
|
+
"SEVEN_DAYS",
|
|
2060
|
+
"FOURTEEN_DAYS"
|
|
2061
|
+
])
|
|
2062
|
+
}).optional(),
|
|
2063
|
+
document: z__namespace.object({
|
|
2064
|
+
title: z__namespace.string().min(1).max(400)
|
|
2065
|
+
}).optional(),
|
|
2066
|
+
disable_reshare: z__namespace.boolean().optional(),
|
|
2067
|
+
mentions: z__namespace.array(z__namespace.object({
|
|
2068
|
+
type: z__namespace.enum(["person", "organization"]),
|
|
2069
|
+
name: z__namespace.string().min(1),
|
|
2070
|
+
urn: z__namespace.string().regex(/^urn:li:(person|organization):/)
|
|
2071
|
+
})).optional()
|
|
2072
|
+
}),
|
|
2073
|
+
id: z__namespace.string(),
|
|
2074
|
+
object: z__namespace.literal("post_variant"),
|
|
2075
|
+
connection_id: z__namespace.string().nullable(),
|
|
2076
|
+
body: z__namespace.string().nullable(),
|
|
2077
|
+
status: z__namespace.enum([
|
|
2078
|
+
"draft",
|
|
2079
|
+
"scheduled",
|
|
2080
|
+
"publishing",
|
|
2081
|
+
"published",
|
|
2082
|
+
"failed"
|
|
2083
|
+
]),
|
|
2084
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2085
|
+
result: z__namespace.object({
|
|
2086
|
+
platform_post_id: z__namespace.string(),
|
|
2087
|
+
permalink: z__namespace.string().nullable(),
|
|
2088
|
+
published_at: z__namespace.string()
|
|
2089
|
+
}).nullable(),
|
|
2090
|
+
error: z__namespace.object({
|
|
2091
|
+
code: z__namespace.string(),
|
|
2092
|
+
message: z__namespace.string(),
|
|
2093
|
+
display_error: z__namespace.string()
|
|
2094
|
+
}).nullable(),
|
|
2095
|
+
media: z__namespace.array(z__namespace.object({
|
|
2096
|
+
media_id: z__namespace.string(),
|
|
2097
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2098
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2099
|
+
alt_text_override: z__namespace.string().nullable()
|
|
2100
|
+
}))
|
|
2101
|
+
}),
|
|
2102
|
+
z__namespace.object({
|
|
2103
|
+
platform: z__namespace.literal("facebook_page"),
|
|
2104
|
+
post_type: z__namespace.enum([
|
|
2105
|
+
"text",
|
|
2106
|
+
"single_image",
|
|
2107
|
+
"multi_image",
|
|
2108
|
+
"reel"
|
|
2109
|
+
]),
|
|
2110
|
+
settings: z__namespace.object({
|
|
2111
|
+
link: z__namespace.url().optional()
|
|
2112
|
+
}),
|
|
2113
|
+
id: z__namespace.string(),
|
|
2114
|
+
object: z__namespace.literal("post_variant"),
|
|
2115
|
+
connection_id: z__namespace.string().nullable(),
|
|
2116
|
+
body: z__namespace.string().nullable(),
|
|
2117
|
+
status: z__namespace.enum([
|
|
2118
|
+
"draft",
|
|
2119
|
+
"scheduled",
|
|
2120
|
+
"publishing",
|
|
2121
|
+
"published",
|
|
2122
|
+
"failed"
|
|
2123
|
+
]),
|
|
2124
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2125
|
+
result: z__namespace.object({
|
|
2126
|
+
platform_post_id: z__namespace.string(),
|
|
2127
|
+
permalink: z__namespace.string().nullable(),
|
|
2128
|
+
published_at: z__namespace.string()
|
|
2129
|
+
}).nullable(),
|
|
2130
|
+
error: z__namespace.object({
|
|
2131
|
+
code: z__namespace.string(),
|
|
2132
|
+
message: z__namespace.string(),
|
|
2133
|
+
display_error: z__namespace.string()
|
|
2134
|
+
}).nullable(),
|
|
2135
|
+
media: z__namespace.array(z__namespace.object({
|
|
2136
|
+
media_id: z__namespace.string(),
|
|
2137
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2138
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2139
|
+
alt_text_override: z__namespace.string().nullable()
|
|
2140
|
+
}))
|
|
2141
|
+
}),
|
|
2142
|
+
z__namespace.object({
|
|
2143
|
+
platform: z__namespace.literal("instagram"),
|
|
2144
|
+
post_type: z__namespace.enum([
|
|
2145
|
+
"single_image",
|
|
2146
|
+
"carousel",
|
|
2147
|
+
"reel"
|
|
2148
|
+
]),
|
|
2149
|
+
settings: z__namespace.object({
|
|
2150
|
+
media_type: z__namespace.enum([
|
|
2151
|
+
"IMAGE",
|
|
2152
|
+
"CAROUSEL",
|
|
2153
|
+
"REELS"
|
|
2154
|
+
]).optional(),
|
|
2155
|
+
location_id: z__namespace.string().optional(),
|
|
2156
|
+
user_tags: z__namespace.array(z__namespace.object({
|
|
2157
|
+
username: z__namespace.string().min(1),
|
|
2158
|
+
x: z__namespace.number().gte(0).lte(1),
|
|
2159
|
+
y: z__namespace.number().gte(0).lte(1)
|
|
2160
|
+
})).optional(),
|
|
2161
|
+
collaborators: z__namespace.array(z__namespace.string().min(1)).max(3).optional(),
|
|
2162
|
+
share_to_feed: z__namespace.boolean().optional(),
|
|
2163
|
+
thumb_offset: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
2164
|
+
cover_url: z__namespace.url().optional(),
|
|
2165
|
+
audio_name: z__namespace.string().optional()
|
|
2166
|
+
}),
|
|
2167
|
+
id: z__namespace.string(),
|
|
2168
|
+
object: z__namespace.literal("post_variant"),
|
|
2169
|
+
connection_id: z__namespace.string().nullable(),
|
|
2170
|
+
body: z__namespace.string().nullable(),
|
|
2171
|
+
status: z__namespace.enum([
|
|
2172
|
+
"draft",
|
|
2173
|
+
"scheduled",
|
|
2174
|
+
"publishing",
|
|
2175
|
+
"published",
|
|
2176
|
+
"failed"
|
|
2177
|
+
]),
|
|
2178
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2179
|
+
result: z__namespace.object({
|
|
2180
|
+
platform_post_id: z__namespace.string(),
|
|
2181
|
+
permalink: z__namespace.string().nullable(),
|
|
2182
|
+
published_at: z__namespace.string()
|
|
2183
|
+
}).nullable(),
|
|
2184
|
+
error: z__namespace.object({
|
|
2185
|
+
code: z__namespace.string(),
|
|
2186
|
+
message: z__namespace.string(),
|
|
2187
|
+
display_error: z__namespace.string()
|
|
2188
|
+
}).nullable(),
|
|
2189
|
+
media: z__namespace.array(z__namespace.object({
|
|
2190
|
+
media_id: z__namespace.string(),
|
|
2191
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2192
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2193
|
+
alt_text_override: z__namespace.string().nullable()
|
|
2194
|
+
}))
|
|
2195
|
+
}),
|
|
2196
|
+
z__namespace.object({
|
|
2197
|
+
platform: z__namespace.literal("tiktok"),
|
|
2198
|
+
post_type: z__namespace.enum([
|
|
2199
|
+
"video",
|
|
2200
|
+
"single_image",
|
|
2201
|
+
"carousel"
|
|
2202
|
+
]),
|
|
2203
|
+
settings: z__namespace.object({
|
|
2204
|
+
privacy_level: z__namespace.enum([
|
|
2205
|
+
"PUBLIC_TO_EVERYONE",
|
|
2206
|
+
"MUTUAL_FOLLOW_FRIENDS",
|
|
2207
|
+
"FOLLOWER_OF_CREATOR",
|
|
2208
|
+
"SELF_ONLY"
|
|
2209
|
+
]).optional(),
|
|
2210
|
+
disable_comment: z__namespace.boolean().optional(),
|
|
2211
|
+
disable_duet: z__namespace.boolean().optional(),
|
|
2212
|
+
disable_stitch: z__namespace.boolean().optional(),
|
|
2213
|
+
video_cover_timestamp_ms: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
2214
|
+
photo_cover_index: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
2215
|
+
auto_add_music: z__namespace.boolean().optional(),
|
|
2216
|
+
brand_content_toggle: z__namespace.boolean().optional(),
|
|
2217
|
+
brand_organic_toggle: z__namespace.boolean().optional(),
|
|
2218
|
+
is_aigc: z__namespace.boolean().optional()
|
|
2219
|
+
}),
|
|
2220
|
+
id: z__namespace.string(),
|
|
2221
|
+
object: z__namespace.literal("post_variant"),
|
|
2222
|
+
connection_id: z__namespace.string().nullable(),
|
|
2223
|
+
body: z__namespace.string().nullable(),
|
|
2224
|
+
status: z__namespace.enum([
|
|
2225
|
+
"draft",
|
|
2226
|
+
"scheduled",
|
|
2227
|
+
"publishing",
|
|
2228
|
+
"published",
|
|
2229
|
+
"failed"
|
|
2230
|
+
]),
|
|
2231
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2232
|
+
result: z__namespace.object({
|
|
2233
|
+
platform_post_id: z__namespace.string(),
|
|
2234
|
+
permalink: z__namespace.string().nullable(),
|
|
2235
|
+
published_at: z__namespace.string()
|
|
2236
|
+
}).nullable(),
|
|
2237
|
+
error: z__namespace.object({
|
|
2238
|
+
code: z__namespace.string(),
|
|
2239
|
+
message: z__namespace.string(),
|
|
2240
|
+
display_error: z__namespace.string()
|
|
2241
|
+
}).nullable(),
|
|
2242
|
+
media: z__namespace.array(z__namespace.object({
|
|
2243
|
+
media_id: z__namespace.string(),
|
|
2244
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2245
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2246
|
+
alt_text_override: z__namespace.string().nullable()
|
|
2247
|
+
}))
|
|
2248
|
+
})
|
|
2249
|
+
])),
|
|
2250
|
+
created_at: z__namespace.string(),
|
|
2251
|
+
updated_at: z__namespace.string()
|
|
2252
|
+
})),
|
|
2253
|
+
total: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2254
|
+
limit: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2255
|
+
offset: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2256
|
+
has_more: z__namespace.boolean()
|
|
2257
|
+
});
|
|
2258
|
+
z__namespace.object({
|
|
2259
|
+
profile_id: z__namespace.string(),
|
|
2260
|
+
publish: z__namespace.enum([
|
|
2261
|
+
"now",
|
|
2262
|
+
"schedule",
|
|
2263
|
+
"draft"
|
|
2264
|
+
]).optional().default("draft"),
|
|
2265
|
+
schedule_at: z__namespace.iso.datetime().optional(),
|
|
2266
|
+
external_id: z__namespace.string().min(1).max(255).optional(),
|
|
2267
|
+
metadata: z__namespace.record(z__namespace.string(), z__namespace.union([
|
|
2268
|
+
z__namespace.string().max(500),
|
|
2269
|
+
z__namespace.number(),
|
|
2270
|
+
z__namespace.boolean()
|
|
2271
|
+
])).optional(),
|
|
2272
|
+
tags: z__namespace.array(z__namespace.string()).optional(),
|
|
2273
|
+
notes: z__namespace.string().optional(),
|
|
2274
|
+
dry_run: z__namespace.boolean().optional().default(false),
|
|
2275
|
+
variants: z__namespace.array(z__namespace.union([
|
|
2276
|
+
z__namespace.object({
|
|
2277
|
+
platform: z__namespace.literal("x"),
|
|
2278
|
+
post_type: z__namespace.enum([
|
|
2279
|
+
"text",
|
|
2280
|
+
"single_image",
|
|
2281
|
+
"multi_image",
|
|
2282
|
+
"video"
|
|
2283
|
+
]),
|
|
2284
|
+
settings: z__namespace.object({
|
|
2285
|
+
reply_settings: z__namespace.enum([
|
|
2286
|
+
"everyone",
|
|
2287
|
+
"following",
|
|
2288
|
+
"mentionedUsers",
|
|
2289
|
+
"subscribers",
|
|
2290
|
+
"verified"
|
|
2291
|
+
]).optional(),
|
|
2292
|
+
quote_tweet_id: z__namespace.string().regex(/^[0-9]{1,19}$/).optional(),
|
|
2293
|
+
poll: z__namespace.object({
|
|
2294
|
+
options: z__namespace.array(z__namespace.string().min(1).max(25)).min(2).max(4),
|
|
2295
|
+
duration_minutes: z__namespace.int().gte(5).lte(10080),
|
|
2296
|
+
reply_settings: z__namespace.enum([
|
|
2297
|
+
"following",
|
|
2298
|
+
"mentionedUsers",
|
|
2299
|
+
"subscribers",
|
|
2300
|
+
"verified"
|
|
2301
|
+
]).optional()
|
|
2302
|
+
}).optional(),
|
|
2303
|
+
reply: z__namespace.object({
|
|
2304
|
+
in_reply_to_tweet_id: z__namespace.string().regex(/^[0-9]{1,19}$/),
|
|
2305
|
+
exclude_reply_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).optional(),
|
|
2306
|
+
auto_populate_reply_metadata: z__namespace.boolean().optional()
|
|
2307
|
+
}).optional(),
|
|
2308
|
+
community_id: z__namespace.string().regex(/^[0-9]{1,19}$/).optional(),
|
|
2309
|
+
for_super_followers_only: z__namespace.boolean().optional(),
|
|
2310
|
+
geo: z__namespace.object({
|
|
2311
|
+
place_id: z__namespace.string()
|
|
2312
|
+
}).optional(),
|
|
2313
|
+
card_uri: z__namespace.string().optional(),
|
|
2314
|
+
media_tagged_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).max(10).optional()
|
|
2315
|
+
}).optional().default({}),
|
|
2316
|
+
connection_id: z__namespace.string(),
|
|
2317
|
+
body: z__namespace.string().optional(),
|
|
2318
|
+
media: z__namespace.array(z__namespace.object({
|
|
2319
|
+
media_id: z__namespace.string(),
|
|
2320
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2321
|
+
alt_text_override: z__namespace.string().nullish()
|
|
2322
|
+
})).optional().default([])
|
|
2323
|
+
}),
|
|
2324
|
+
z__namespace.object({
|
|
2325
|
+
platform: z__namespace.literal("linkedin"),
|
|
2326
|
+
post_type: z__namespace.enum([
|
|
2327
|
+
"text",
|
|
2328
|
+
"single_image",
|
|
2329
|
+
"multi_image",
|
|
2330
|
+
"video"
|
|
2331
|
+
]),
|
|
2332
|
+
settings: z__namespace.object({
|
|
2333
|
+
visibility: z__namespace.enum(["PUBLIC", "CONNECTIONS"]),
|
|
2334
|
+
content_kind: z__namespace.enum([
|
|
2335
|
+
"text",
|
|
2336
|
+
"single_image",
|
|
2337
|
+
"video",
|
|
2338
|
+
"multi_image",
|
|
2339
|
+
"document",
|
|
2340
|
+
"article",
|
|
2341
|
+
"poll"
|
|
2342
|
+
]),
|
|
2343
|
+
article: z__namespace.object({
|
|
2344
|
+
source: z__namespace.url(),
|
|
2345
|
+
title: z__namespace.string().max(400).optional(),
|
|
2346
|
+
description: z__namespace.string().max(4086).optional(),
|
|
2347
|
+
thumbnail_media_id: z__namespace.string().optional()
|
|
2348
|
+
}).optional(),
|
|
2349
|
+
poll: z__namespace.object({
|
|
2350
|
+
question: z__namespace.string().min(1).max(140),
|
|
2351
|
+
options: z__namespace.array(z__namespace.string().min(1).max(30)).min(2).max(4),
|
|
2352
|
+
duration: z__namespace.enum([
|
|
2353
|
+
"ONE_DAY",
|
|
2354
|
+
"THREE_DAYS",
|
|
2355
|
+
"SEVEN_DAYS",
|
|
2356
|
+
"FOURTEEN_DAYS"
|
|
2357
|
+
])
|
|
2358
|
+
}).optional(),
|
|
2359
|
+
document: z__namespace.object({
|
|
2360
|
+
title: z__namespace.string().min(1).max(400)
|
|
2361
|
+
}).optional(),
|
|
2362
|
+
disable_reshare: z__namespace.boolean().optional(),
|
|
2363
|
+
mentions: z__namespace.array(z__namespace.object({
|
|
2364
|
+
type: z__namespace.enum(["person", "organization"]),
|
|
2365
|
+
name: z__namespace.string().min(1),
|
|
2366
|
+
urn: z__namespace.string().regex(/^urn:li:(person|organization):/)
|
|
2367
|
+
})).optional()
|
|
2368
|
+
}),
|
|
2369
|
+
connection_id: z__namespace.string(),
|
|
2370
|
+
body: z__namespace.string().optional(),
|
|
2371
|
+
media: z__namespace.array(z__namespace.object({
|
|
2372
|
+
media_id: z__namespace.string(),
|
|
2373
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2374
|
+
alt_text_override: z__namespace.string().nullish()
|
|
2375
|
+
})).optional().default([])
|
|
2376
|
+
}),
|
|
2377
|
+
z__namespace.object({
|
|
2378
|
+
platform: z__namespace.literal("instagram"),
|
|
2379
|
+
post_type: z__namespace.enum([
|
|
2380
|
+
"single_image",
|
|
2381
|
+
"carousel",
|
|
2382
|
+
"reel"
|
|
2383
|
+
]),
|
|
2384
|
+
settings: z__namespace.object({
|
|
2385
|
+
media_type: z__namespace.enum([
|
|
2386
|
+
"IMAGE",
|
|
2387
|
+
"CAROUSEL",
|
|
2388
|
+
"REELS"
|
|
2389
|
+
]).optional(),
|
|
2390
|
+
location_id: z__namespace.string().optional(),
|
|
2391
|
+
user_tags: z__namespace.array(z__namespace.object({
|
|
2392
|
+
username: z__namespace.string().min(1),
|
|
2393
|
+
x: z__namespace.number().gte(0).lte(1),
|
|
2394
|
+
y: z__namespace.number().gte(0).lte(1)
|
|
2395
|
+
})).optional(),
|
|
2396
|
+
collaborators: z__namespace.array(z__namespace.string().min(1)).max(3).optional(),
|
|
2397
|
+
share_to_feed: z__namespace.boolean().optional(),
|
|
2398
|
+
thumb_offset: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
2399
|
+
cover_url: z__namespace.url().optional(),
|
|
2400
|
+
audio_name: z__namespace.string().optional()
|
|
2401
|
+
}),
|
|
2402
|
+
connection_id: z__namespace.string(),
|
|
2403
|
+
body: z__namespace.string().optional(),
|
|
2404
|
+
media: z__namespace.array(z__namespace.object({
|
|
2405
|
+
media_id: z__namespace.string(),
|
|
2406
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2407
|
+
alt_text_override: z__namespace.string().nullish()
|
|
2408
|
+
})).optional().default([])
|
|
2409
|
+
}),
|
|
2410
|
+
z__namespace.object({
|
|
2411
|
+
platform: z__namespace.literal("facebook_page"),
|
|
2412
|
+
post_type: z__namespace.enum([
|
|
2413
|
+
"text",
|
|
2414
|
+
"single_image",
|
|
2415
|
+
"multi_image",
|
|
2416
|
+
"reel"
|
|
2417
|
+
]),
|
|
2418
|
+
settings: z__namespace.object({
|
|
2419
|
+
link: z__namespace.url().optional()
|
|
2420
|
+
}).optional().default({}),
|
|
2421
|
+
connection_id: z__namespace.string(),
|
|
2422
|
+
body: z__namespace.string().optional(),
|
|
2423
|
+
media: z__namespace.array(z__namespace.object({
|
|
2424
|
+
media_id: z__namespace.string(),
|
|
2425
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2426
|
+
alt_text_override: z__namespace.string().nullish()
|
|
2427
|
+
})).optional().default([])
|
|
2428
|
+
}),
|
|
2429
|
+
z__namespace.object({
|
|
2430
|
+
platform: z__namespace.literal("tiktok"),
|
|
2431
|
+
post_type: z__namespace.enum([
|
|
2432
|
+
"video",
|
|
2433
|
+
"single_image",
|
|
2434
|
+
"carousel"
|
|
2435
|
+
]),
|
|
2436
|
+
settings: z__namespace.object({
|
|
2437
|
+
privacy_level: z__namespace.enum([
|
|
2438
|
+
"PUBLIC_TO_EVERYONE",
|
|
2439
|
+
"MUTUAL_FOLLOW_FRIENDS",
|
|
2440
|
+
"FOLLOWER_OF_CREATOR",
|
|
2441
|
+
"SELF_ONLY"
|
|
2442
|
+
]).optional(),
|
|
2443
|
+
disable_comment: z__namespace.boolean().optional(),
|
|
2444
|
+
disable_duet: z__namespace.boolean().optional(),
|
|
2445
|
+
disable_stitch: z__namespace.boolean().optional(),
|
|
2446
|
+
video_cover_timestamp_ms: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
2447
|
+
photo_cover_index: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
2448
|
+
auto_add_music: z__namespace.boolean().optional(),
|
|
2449
|
+
brand_content_toggle: z__namespace.boolean().optional(),
|
|
2450
|
+
brand_organic_toggle: z__namespace.boolean().optional(),
|
|
2451
|
+
is_aigc: z__namespace.boolean().optional()
|
|
2452
|
+
}).optional().default({}),
|
|
2453
|
+
connection_id: z__namespace.string(),
|
|
2454
|
+
body: z__namespace.string().optional(),
|
|
2455
|
+
media: z__namespace.array(z__namespace.object({
|
|
2456
|
+
media_id: z__namespace.string(),
|
|
2457
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2458
|
+
alt_text_override: z__namespace.string().nullish()
|
|
2459
|
+
})).optional().default([])
|
|
2460
|
+
})
|
|
2461
|
+
])).min(1)
|
|
2462
|
+
});
|
|
2463
|
+
z__namespace.object({
|
|
2464
|
+
id: z__namespace.string(),
|
|
2465
|
+
object: z__namespace.literal("post"),
|
|
2466
|
+
profile_id: z__namespace.string(),
|
|
2467
|
+
external_id: z__namespace.string().nullable(),
|
|
2468
|
+
status: z__namespace.enum([
|
|
2469
|
+
"draft",
|
|
2470
|
+
"scheduled",
|
|
2471
|
+
"publishing",
|
|
2472
|
+
"partially_published",
|
|
2473
|
+
"published",
|
|
2474
|
+
"failed"
|
|
2475
|
+
]),
|
|
2476
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2477
|
+
tags: z__namespace.array(z__namespace.string()),
|
|
2478
|
+
notes: z__namespace.string().nullable(),
|
|
2479
|
+
metadata: z__namespace.record(z__namespace.string(), z__namespace.union([
|
|
2480
|
+
z__namespace.string().max(500),
|
|
2481
|
+
z__namespace.number(),
|
|
2482
|
+
z__namespace.boolean()
|
|
2483
|
+
])),
|
|
2484
|
+
variants: z__namespace.array(z__namespace.union([
|
|
2485
|
+
z__namespace.object({
|
|
2486
|
+
platform: z__namespace.literal("x"),
|
|
2487
|
+
post_type: z__namespace.enum([
|
|
2488
|
+
"text",
|
|
2489
|
+
"single_image",
|
|
2490
|
+
"multi_image",
|
|
2491
|
+
"video"
|
|
2492
|
+
]),
|
|
2493
|
+
settings: z__namespace.object({
|
|
2494
|
+
reply_settings: z__namespace.enum([
|
|
2495
|
+
"everyone",
|
|
2496
|
+
"following",
|
|
2497
|
+
"mentionedUsers",
|
|
2498
|
+
"subscribers",
|
|
2499
|
+
"verified"
|
|
2500
|
+
]).optional(),
|
|
2501
|
+
quote_tweet_id: z__namespace.string().regex(/^[0-9]{1,19}$/).optional(),
|
|
2502
|
+
poll: z__namespace.object({
|
|
2503
|
+
options: z__namespace.array(z__namespace.string().min(1).max(25)).min(2).max(4),
|
|
2504
|
+
duration_minutes: z__namespace.int().gte(5).lte(10080),
|
|
2505
|
+
reply_settings: z__namespace.enum([
|
|
2506
|
+
"following",
|
|
2507
|
+
"mentionedUsers",
|
|
2508
|
+
"subscribers",
|
|
2509
|
+
"verified"
|
|
2510
|
+
]).optional()
|
|
2511
|
+
}).optional(),
|
|
2512
|
+
reply: z__namespace.object({
|
|
2513
|
+
in_reply_to_tweet_id: z__namespace.string().regex(/^[0-9]{1,19}$/),
|
|
2514
|
+
exclude_reply_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).optional(),
|
|
2515
|
+
auto_populate_reply_metadata: z__namespace.boolean().optional()
|
|
2516
|
+
}).optional(),
|
|
2517
|
+
community_id: z__namespace.string().regex(/^[0-9]{1,19}$/).optional(),
|
|
2518
|
+
for_super_followers_only: z__namespace.boolean().optional(),
|
|
2519
|
+
geo: z__namespace.object({
|
|
2520
|
+
place_id: z__namespace.string()
|
|
2521
|
+
}).optional(),
|
|
2522
|
+
card_uri: z__namespace.string().optional(),
|
|
2523
|
+
media_tagged_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).max(10).optional()
|
|
2524
|
+
}),
|
|
2525
|
+
id: z__namespace.string(),
|
|
2526
|
+
object: z__namespace.literal("post_variant"),
|
|
2527
|
+
connection_id: z__namespace.string().nullable(),
|
|
2528
|
+
body: z__namespace.string().nullable(),
|
|
2529
|
+
status: z__namespace.enum([
|
|
2530
|
+
"draft",
|
|
2531
|
+
"scheduled",
|
|
2532
|
+
"publishing",
|
|
2533
|
+
"published",
|
|
2534
|
+
"failed"
|
|
2535
|
+
]),
|
|
2536
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2537
|
+
result: z__namespace.object({
|
|
2538
|
+
platform_post_id: z__namespace.string(),
|
|
2539
|
+
permalink: z__namespace.string().nullable(),
|
|
2540
|
+
published_at: z__namespace.string()
|
|
2541
|
+
}).nullable(),
|
|
2542
|
+
error: z__namespace.object({
|
|
2543
|
+
code: z__namespace.string(),
|
|
2544
|
+
message: z__namespace.string(),
|
|
2545
|
+
display_error: z__namespace.string()
|
|
2546
|
+
}).nullable(),
|
|
2547
|
+
media: z__namespace.array(z__namespace.object({
|
|
2548
|
+
media_id: z__namespace.string(),
|
|
2549
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2550
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2551
|
+
alt_text_override: z__namespace.string().nullable()
|
|
2552
|
+
}))
|
|
2553
|
+
}),
|
|
2554
|
+
z__namespace.object({
|
|
2555
|
+
platform: z__namespace.literal("linkedin"),
|
|
2556
|
+
post_type: z__namespace.enum([
|
|
2557
|
+
"text",
|
|
2558
|
+
"single_image",
|
|
2559
|
+
"multi_image",
|
|
2560
|
+
"video"
|
|
2561
|
+
]),
|
|
2562
|
+
settings: z__namespace.object({
|
|
2563
|
+
visibility: z__namespace.enum(["PUBLIC", "CONNECTIONS"]),
|
|
2564
|
+
content_kind: z__namespace.enum([
|
|
2565
|
+
"text",
|
|
2566
|
+
"single_image",
|
|
2567
|
+
"video",
|
|
2568
|
+
"multi_image",
|
|
2569
|
+
"document",
|
|
2570
|
+
"article",
|
|
2571
|
+
"poll"
|
|
2572
|
+
]),
|
|
2573
|
+
article: z__namespace.object({
|
|
2574
|
+
source: z__namespace.url(),
|
|
2575
|
+
title: z__namespace.string().max(400).optional(),
|
|
2576
|
+
description: z__namespace.string().max(4086).optional(),
|
|
2577
|
+
thumbnail_media_id: z__namespace.string().optional()
|
|
2578
|
+
}).optional(),
|
|
2579
|
+
poll: z__namespace.object({
|
|
2580
|
+
question: z__namespace.string().min(1).max(140),
|
|
2581
|
+
options: z__namespace.array(z__namespace.string().min(1).max(30)).min(2).max(4),
|
|
2582
|
+
duration: z__namespace.enum([
|
|
2583
|
+
"ONE_DAY",
|
|
2584
|
+
"THREE_DAYS",
|
|
2585
|
+
"SEVEN_DAYS",
|
|
2586
|
+
"FOURTEEN_DAYS"
|
|
2587
|
+
])
|
|
2588
|
+
}).optional(),
|
|
2589
|
+
document: z__namespace.object({
|
|
2590
|
+
title: z__namespace.string().min(1).max(400)
|
|
2591
|
+
}).optional(),
|
|
2592
|
+
disable_reshare: z__namespace.boolean().optional(),
|
|
2593
|
+
mentions: z__namespace.array(z__namespace.object({
|
|
2594
|
+
type: z__namespace.enum(["person", "organization"]),
|
|
2595
|
+
name: z__namespace.string().min(1),
|
|
2596
|
+
urn: z__namespace.string().regex(/^urn:li:(person|organization):/)
|
|
2597
|
+
})).optional()
|
|
2598
|
+
}),
|
|
2599
|
+
id: z__namespace.string(),
|
|
2600
|
+
object: z__namespace.literal("post_variant"),
|
|
2601
|
+
connection_id: z__namespace.string().nullable(),
|
|
2602
|
+
body: z__namespace.string().nullable(),
|
|
2603
|
+
status: z__namespace.enum([
|
|
2604
|
+
"draft",
|
|
2605
|
+
"scheduled",
|
|
2606
|
+
"publishing",
|
|
2607
|
+
"published",
|
|
2608
|
+
"failed"
|
|
2609
|
+
]),
|
|
2610
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2611
|
+
result: z__namespace.object({
|
|
2612
|
+
platform_post_id: z__namespace.string(),
|
|
2613
|
+
permalink: z__namespace.string().nullable(),
|
|
2614
|
+
published_at: z__namespace.string()
|
|
2615
|
+
}).nullable(),
|
|
2616
|
+
error: z__namespace.object({
|
|
2617
|
+
code: z__namespace.string(),
|
|
2618
|
+
message: z__namespace.string(),
|
|
2619
|
+
display_error: z__namespace.string()
|
|
2620
|
+
}).nullable(),
|
|
2621
|
+
media: z__namespace.array(z__namespace.object({
|
|
2622
|
+
media_id: z__namespace.string(),
|
|
2623
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2624
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2625
|
+
alt_text_override: z__namespace.string().nullable()
|
|
2626
|
+
}))
|
|
2627
|
+
}),
|
|
2628
|
+
z__namespace.object({
|
|
2629
|
+
platform: z__namespace.literal("facebook_page"),
|
|
2630
|
+
post_type: z__namespace.enum([
|
|
2631
|
+
"text",
|
|
2632
|
+
"single_image",
|
|
2633
|
+
"multi_image",
|
|
2634
|
+
"reel"
|
|
2635
|
+
]),
|
|
2636
|
+
settings: z__namespace.object({
|
|
2637
|
+
link: z__namespace.url().optional()
|
|
2638
|
+
}),
|
|
2639
|
+
id: z__namespace.string(),
|
|
2640
|
+
object: z__namespace.literal("post_variant"),
|
|
2641
|
+
connection_id: z__namespace.string().nullable(),
|
|
2642
|
+
body: z__namespace.string().nullable(),
|
|
2643
|
+
status: z__namespace.enum([
|
|
2644
|
+
"draft",
|
|
2645
|
+
"scheduled",
|
|
2646
|
+
"publishing",
|
|
2647
|
+
"published",
|
|
2648
|
+
"failed"
|
|
2649
|
+
]),
|
|
2650
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2651
|
+
result: z__namespace.object({
|
|
2652
|
+
platform_post_id: z__namespace.string(),
|
|
2653
|
+
permalink: z__namespace.string().nullable(),
|
|
2654
|
+
published_at: z__namespace.string()
|
|
2655
|
+
}).nullable(),
|
|
2656
|
+
error: z__namespace.object({
|
|
2657
|
+
code: z__namespace.string(),
|
|
2658
|
+
message: z__namespace.string(),
|
|
2659
|
+
display_error: z__namespace.string()
|
|
2660
|
+
}).nullable(),
|
|
2661
|
+
media: z__namespace.array(z__namespace.object({
|
|
2662
|
+
media_id: z__namespace.string(),
|
|
2663
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2664
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2665
|
+
alt_text_override: z__namespace.string().nullable()
|
|
2666
|
+
}))
|
|
2667
|
+
}),
|
|
2668
|
+
z__namespace.object({
|
|
2669
|
+
platform: z__namespace.literal("instagram"),
|
|
2670
|
+
post_type: z__namespace.enum([
|
|
2671
|
+
"single_image",
|
|
2672
|
+
"carousel",
|
|
2673
|
+
"reel"
|
|
2674
|
+
]),
|
|
2675
|
+
settings: z__namespace.object({
|
|
2676
|
+
media_type: z__namespace.enum([
|
|
2677
|
+
"IMAGE",
|
|
2678
|
+
"CAROUSEL",
|
|
2679
|
+
"REELS"
|
|
2680
|
+
]).optional(),
|
|
2681
|
+
location_id: z__namespace.string().optional(),
|
|
2682
|
+
user_tags: z__namespace.array(z__namespace.object({
|
|
2683
|
+
username: z__namespace.string().min(1),
|
|
2684
|
+
x: z__namespace.number().gte(0).lte(1),
|
|
2685
|
+
y: z__namespace.number().gte(0).lte(1)
|
|
2686
|
+
})).optional(),
|
|
2687
|
+
collaborators: z__namespace.array(z__namespace.string().min(1)).max(3).optional(),
|
|
2688
|
+
share_to_feed: z__namespace.boolean().optional(),
|
|
2689
|
+
thumb_offset: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
2690
|
+
cover_url: z__namespace.url().optional(),
|
|
2691
|
+
audio_name: z__namespace.string().optional()
|
|
2692
|
+
}),
|
|
2693
|
+
id: z__namespace.string(),
|
|
2694
|
+
object: z__namespace.literal("post_variant"),
|
|
2695
|
+
connection_id: z__namespace.string().nullable(),
|
|
2696
|
+
body: z__namespace.string().nullable(),
|
|
2697
|
+
status: z__namespace.enum([
|
|
2698
|
+
"draft",
|
|
2699
|
+
"scheduled",
|
|
2700
|
+
"publishing",
|
|
2701
|
+
"published",
|
|
2702
|
+
"failed"
|
|
2703
|
+
]),
|
|
2704
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2705
|
+
result: z__namespace.object({
|
|
2706
|
+
platform_post_id: z__namespace.string(),
|
|
2707
|
+
permalink: z__namespace.string().nullable(),
|
|
2708
|
+
published_at: z__namespace.string()
|
|
2709
|
+
}).nullable(),
|
|
2710
|
+
error: z__namespace.object({
|
|
2711
|
+
code: z__namespace.string(),
|
|
2712
|
+
message: z__namespace.string(),
|
|
2713
|
+
display_error: z__namespace.string()
|
|
2714
|
+
}).nullable(),
|
|
2715
|
+
media: z__namespace.array(z__namespace.object({
|
|
2716
|
+
media_id: z__namespace.string(),
|
|
2717
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2718
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2719
|
+
alt_text_override: z__namespace.string().nullable()
|
|
2720
|
+
}))
|
|
2721
|
+
}),
|
|
2722
|
+
z__namespace.object({
|
|
2723
|
+
platform: z__namespace.literal("tiktok"),
|
|
2724
|
+
post_type: z__namespace.enum([
|
|
2725
|
+
"video",
|
|
2726
|
+
"single_image",
|
|
2727
|
+
"carousel"
|
|
2728
|
+
]),
|
|
2729
|
+
settings: z__namespace.object({
|
|
2730
|
+
privacy_level: z__namespace.enum([
|
|
2731
|
+
"PUBLIC_TO_EVERYONE",
|
|
2732
|
+
"MUTUAL_FOLLOW_FRIENDS",
|
|
2733
|
+
"FOLLOWER_OF_CREATOR",
|
|
2734
|
+
"SELF_ONLY"
|
|
2735
|
+
]).optional(),
|
|
2736
|
+
disable_comment: z__namespace.boolean().optional(),
|
|
2737
|
+
disable_duet: z__namespace.boolean().optional(),
|
|
2738
|
+
disable_stitch: z__namespace.boolean().optional(),
|
|
2739
|
+
video_cover_timestamp_ms: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
2740
|
+
photo_cover_index: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
2741
|
+
auto_add_music: z__namespace.boolean().optional(),
|
|
2742
|
+
brand_content_toggle: z__namespace.boolean().optional(),
|
|
2743
|
+
brand_organic_toggle: z__namespace.boolean().optional(),
|
|
2744
|
+
is_aigc: z__namespace.boolean().optional()
|
|
2745
|
+
}),
|
|
2746
|
+
id: z__namespace.string(),
|
|
2747
|
+
object: z__namespace.literal("post_variant"),
|
|
2748
|
+
connection_id: z__namespace.string().nullable(),
|
|
2749
|
+
body: z__namespace.string().nullable(),
|
|
2750
|
+
status: z__namespace.enum([
|
|
2751
|
+
"draft",
|
|
2752
|
+
"scheduled",
|
|
2753
|
+
"publishing",
|
|
2754
|
+
"published",
|
|
2755
|
+
"failed"
|
|
2756
|
+
]),
|
|
2757
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2758
|
+
result: z__namespace.object({
|
|
2759
|
+
platform_post_id: z__namespace.string(),
|
|
2760
|
+
permalink: z__namespace.string().nullable(),
|
|
2761
|
+
published_at: z__namespace.string()
|
|
2762
|
+
}).nullable(),
|
|
2763
|
+
error: z__namespace.object({
|
|
2764
|
+
code: z__namespace.string(),
|
|
2765
|
+
message: z__namespace.string(),
|
|
2766
|
+
display_error: z__namespace.string()
|
|
2767
|
+
}).nullable(),
|
|
2768
|
+
media: z__namespace.array(z__namespace.object({
|
|
2769
|
+
media_id: z__namespace.string(),
|
|
2770
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2771
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2772
|
+
alt_text_override: z__namespace.string().nullable()
|
|
2773
|
+
}))
|
|
2774
|
+
})
|
|
2775
|
+
])),
|
|
2776
|
+
created_at: z__namespace.string(),
|
|
2777
|
+
updated_at: z__namespace.string(),
|
|
2778
|
+
dry_run: z__namespace.boolean(),
|
|
2779
|
+
executed: z__namespace.boolean()
|
|
2780
|
+
});
|
|
2781
|
+
z__namespace.object({
|
|
2782
|
+
id: z__namespace.string()
|
|
2783
|
+
});
|
|
2784
|
+
z__namespace.object({
|
|
2785
|
+
id: z__namespace.string(),
|
|
2786
|
+
object: z__namespace.literal("post"),
|
|
2787
|
+
deleted: z__namespace.literal(true)
|
|
2788
|
+
});
|
|
2789
|
+
z__namespace.object({
|
|
2790
|
+
id: z__namespace.string()
|
|
2791
|
+
});
|
|
2792
|
+
z__namespace.object({
|
|
2793
|
+
id: z__namespace.string(),
|
|
2794
|
+
object: z__namespace.literal("post"),
|
|
2795
|
+
profile_id: z__namespace.string(),
|
|
2796
|
+
external_id: z__namespace.string().nullable(),
|
|
2797
|
+
status: z__namespace.enum([
|
|
2798
|
+
"draft",
|
|
2799
|
+
"scheduled",
|
|
2800
|
+
"publishing",
|
|
2801
|
+
"partially_published",
|
|
2802
|
+
"published",
|
|
2803
|
+
"failed"
|
|
2804
|
+
]),
|
|
2805
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2806
|
+
tags: z__namespace.array(z__namespace.string()),
|
|
2807
|
+
notes: z__namespace.string().nullable(),
|
|
2808
|
+
metadata: z__namespace.record(z__namespace.string(), z__namespace.union([
|
|
2809
|
+
z__namespace.string().max(500),
|
|
2810
|
+
z__namespace.number(),
|
|
2811
|
+
z__namespace.boolean()
|
|
2812
|
+
])),
|
|
2813
|
+
variants: z__namespace.array(z__namespace.union([
|
|
2814
|
+
z__namespace.object({
|
|
2815
|
+
platform: z__namespace.literal("x"),
|
|
2816
|
+
post_type: z__namespace.enum([
|
|
2817
|
+
"text",
|
|
2818
|
+
"single_image",
|
|
2819
|
+
"multi_image",
|
|
2820
|
+
"video"
|
|
2821
|
+
]),
|
|
2822
|
+
settings: z__namespace.object({
|
|
2823
|
+
reply_settings: z__namespace.enum([
|
|
2824
|
+
"everyone",
|
|
2825
|
+
"following",
|
|
2826
|
+
"mentionedUsers",
|
|
2827
|
+
"subscribers",
|
|
2828
|
+
"verified"
|
|
2829
|
+
]).optional(),
|
|
2830
|
+
quote_tweet_id: z__namespace.string().regex(/^[0-9]{1,19}$/).optional(),
|
|
2831
|
+
poll: z__namespace.object({
|
|
2832
|
+
options: z__namespace.array(z__namespace.string().min(1).max(25)).min(2).max(4),
|
|
2833
|
+
duration_minutes: z__namespace.int().gte(5).lte(10080),
|
|
2834
|
+
reply_settings: z__namespace.enum([
|
|
2835
|
+
"following",
|
|
2836
|
+
"mentionedUsers",
|
|
2837
|
+
"subscribers",
|
|
2838
|
+
"verified"
|
|
2839
|
+
]).optional()
|
|
2840
|
+
}).optional(),
|
|
2841
|
+
reply: z__namespace.object({
|
|
2842
|
+
in_reply_to_tweet_id: z__namespace.string().regex(/^[0-9]{1,19}$/),
|
|
2843
|
+
exclude_reply_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).optional(),
|
|
2844
|
+
auto_populate_reply_metadata: z__namespace.boolean().optional()
|
|
2845
|
+
}).optional(),
|
|
2846
|
+
community_id: z__namespace.string().regex(/^[0-9]{1,19}$/).optional(),
|
|
2847
|
+
for_super_followers_only: z__namespace.boolean().optional(),
|
|
2848
|
+
geo: z__namespace.object({
|
|
2849
|
+
place_id: z__namespace.string()
|
|
2850
|
+
}).optional(),
|
|
2851
|
+
card_uri: z__namespace.string().optional(),
|
|
2852
|
+
media_tagged_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).max(10).optional()
|
|
2853
|
+
}),
|
|
1959
2854
|
id: z__namespace.string(),
|
|
1960
2855
|
object: z__namespace.literal("post_variant"),
|
|
1961
2856
|
connection_id: z__namespace.string().nullable(),
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
"
|
|
1965
|
-
"
|
|
1966
|
-
"
|
|
1967
|
-
"
|
|
2857
|
+
body: z__namespace.string().nullable(),
|
|
2858
|
+
status: z__namespace.enum([
|
|
2859
|
+
"draft",
|
|
2860
|
+
"scheduled",
|
|
2861
|
+
"publishing",
|
|
2862
|
+
"published",
|
|
2863
|
+
"failed"
|
|
2864
|
+
]),
|
|
2865
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2866
|
+
result: z__namespace.object({
|
|
2867
|
+
platform_post_id: z__namespace.string(),
|
|
2868
|
+
permalink: z__namespace.string().nullable(),
|
|
2869
|
+
published_at: z__namespace.string()
|
|
2870
|
+
}).nullable(),
|
|
2871
|
+
error: z__namespace.object({
|
|
2872
|
+
code: z__namespace.string(),
|
|
2873
|
+
message: z__namespace.string(),
|
|
2874
|
+
display_error: z__namespace.string()
|
|
2875
|
+
}).nullable(),
|
|
2876
|
+
media: z__namespace.array(z__namespace.object({
|
|
2877
|
+
media_id: z__namespace.string(),
|
|
2878
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2879
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2880
|
+
alt_text_override: z__namespace.string().nullable()
|
|
2881
|
+
}))
|
|
2882
|
+
}),
|
|
2883
|
+
z__namespace.object({
|
|
2884
|
+
platform: z__namespace.literal("linkedin"),
|
|
2885
|
+
post_type: z__namespace.enum([
|
|
2886
|
+
"text",
|
|
2887
|
+
"single_image",
|
|
2888
|
+
"multi_image",
|
|
2889
|
+
"video"
|
|
2890
|
+
]),
|
|
2891
|
+
settings: z__namespace.object({
|
|
2892
|
+
visibility: z__namespace.enum(["PUBLIC", "CONNECTIONS"]),
|
|
2893
|
+
content_kind: z__namespace.enum([
|
|
2894
|
+
"text",
|
|
2895
|
+
"single_image",
|
|
2896
|
+
"video",
|
|
2897
|
+
"multi_image",
|
|
2898
|
+
"document",
|
|
2899
|
+
"article",
|
|
2900
|
+
"poll"
|
|
2901
|
+
]),
|
|
2902
|
+
article: z__namespace.object({
|
|
2903
|
+
source: z__namespace.url(),
|
|
2904
|
+
title: z__namespace.string().max(400).optional(),
|
|
2905
|
+
description: z__namespace.string().max(4086).optional(),
|
|
2906
|
+
thumbnail_media_id: z__namespace.string().optional()
|
|
2907
|
+
}).optional(),
|
|
2908
|
+
poll: z__namespace.object({
|
|
2909
|
+
question: z__namespace.string().min(1).max(140),
|
|
2910
|
+
options: z__namespace.array(z__namespace.string().min(1).max(30)).min(2).max(4),
|
|
2911
|
+
duration: z__namespace.enum([
|
|
2912
|
+
"ONE_DAY",
|
|
2913
|
+
"THREE_DAYS",
|
|
2914
|
+
"SEVEN_DAYS",
|
|
2915
|
+
"FOURTEEN_DAYS"
|
|
2916
|
+
])
|
|
2917
|
+
}).optional(),
|
|
2918
|
+
document: z__namespace.object({
|
|
2919
|
+
title: z__namespace.string().min(1).max(400)
|
|
2920
|
+
}).optional(),
|
|
2921
|
+
disable_reshare: z__namespace.boolean().optional(),
|
|
2922
|
+
mentions: z__namespace.array(z__namespace.object({
|
|
2923
|
+
type: z__namespace.enum(["person", "organization"]),
|
|
2924
|
+
name: z__namespace.string().min(1),
|
|
2925
|
+
urn: z__namespace.string().regex(/^urn:li:(person|organization):/)
|
|
2926
|
+
})).optional()
|
|
2927
|
+
}),
|
|
2928
|
+
id: z__namespace.string(),
|
|
2929
|
+
object: z__namespace.literal("post_variant"),
|
|
2930
|
+
connection_id: z__namespace.string().nullable(),
|
|
2931
|
+
body: z__namespace.string().nullable(),
|
|
2932
|
+
status: z__namespace.enum([
|
|
2933
|
+
"draft",
|
|
2934
|
+
"scheduled",
|
|
2935
|
+
"publishing",
|
|
2936
|
+
"published",
|
|
2937
|
+
"failed"
|
|
2938
|
+
]),
|
|
2939
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2940
|
+
result: z__namespace.object({
|
|
2941
|
+
platform_post_id: z__namespace.string(),
|
|
2942
|
+
permalink: z__namespace.string().nullable(),
|
|
2943
|
+
published_at: z__namespace.string()
|
|
2944
|
+
}).nullable(),
|
|
2945
|
+
error: z__namespace.object({
|
|
2946
|
+
code: z__namespace.string(),
|
|
2947
|
+
message: z__namespace.string(),
|
|
2948
|
+
display_error: z__namespace.string()
|
|
2949
|
+
}).nullable(),
|
|
2950
|
+
media: z__namespace.array(z__namespace.object({
|
|
2951
|
+
media_id: z__namespace.string(),
|
|
2952
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2953
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2954
|
+
alt_text_override: z__namespace.string().nullable()
|
|
2955
|
+
}))
|
|
2956
|
+
}),
|
|
2957
|
+
z__namespace.object({
|
|
2958
|
+
platform: z__namespace.literal("facebook_page"),
|
|
2959
|
+
post_type: z__namespace.enum([
|
|
2960
|
+
"text",
|
|
2961
|
+
"single_image",
|
|
2962
|
+
"multi_image",
|
|
2963
|
+
"reel"
|
|
2964
|
+
]),
|
|
2965
|
+
settings: z__namespace.object({
|
|
2966
|
+
link: z__namespace.url().optional()
|
|
2967
|
+
}),
|
|
2968
|
+
id: z__namespace.string(),
|
|
2969
|
+
object: z__namespace.literal("post_variant"),
|
|
2970
|
+
connection_id: z__namespace.string().nullable(),
|
|
2971
|
+
body: z__namespace.string().nullable(),
|
|
2972
|
+
status: z__namespace.enum([
|
|
2973
|
+
"draft",
|
|
2974
|
+
"scheduled",
|
|
2975
|
+
"publishing",
|
|
2976
|
+
"published",
|
|
2977
|
+
"failed"
|
|
2978
|
+
]),
|
|
2979
|
+
schedule_at: z__namespace.string().nullable(),
|
|
2980
|
+
result: z__namespace.object({
|
|
2981
|
+
platform_post_id: z__namespace.string(),
|
|
2982
|
+
permalink: z__namespace.string().nullable(),
|
|
2983
|
+
published_at: z__namespace.string()
|
|
2984
|
+
}).nullable(),
|
|
2985
|
+
error: z__namespace.object({
|
|
2986
|
+
code: z__namespace.string(),
|
|
2987
|
+
message: z__namespace.string(),
|
|
2988
|
+
display_error: z__namespace.string()
|
|
2989
|
+
}).nullable(),
|
|
2990
|
+
media: z__namespace.array(z__namespace.object({
|
|
2991
|
+
media_id: z__namespace.string(),
|
|
2992
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2993
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2994
|
+
alt_text_override: z__namespace.string().nullable()
|
|
2995
|
+
}))
|
|
2996
|
+
}),
|
|
2997
|
+
z__namespace.object({
|
|
2998
|
+
platform: z__namespace.literal("instagram"),
|
|
2999
|
+
post_type: z__namespace.enum([
|
|
3000
|
+
"single_image",
|
|
3001
|
+
"carousel",
|
|
3002
|
+
"reel"
|
|
3003
|
+
]),
|
|
3004
|
+
settings: z__namespace.object({
|
|
3005
|
+
media_type: z__namespace.enum([
|
|
3006
|
+
"IMAGE",
|
|
3007
|
+
"CAROUSEL",
|
|
3008
|
+
"REELS"
|
|
3009
|
+
]).optional(),
|
|
3010
|
+
location_id: z__namespace.string().optional(),
|
|
3011
|
+
user_tags: z__namespace.array(z__namespace.object({
|
|
3012
|
+
username: z__namespace.string().min(1),
|
|
3013
|
+
x: z__namespace.number().gte(0).lte(1),
|
|
3014
|
+
y: z__namespace.number().gte(0).lte(1)
|
|
3015
|
+
})).optional(),
|
|
3016
|
+
collaborators: z__namespace.array(z__namespace.string().min(1)).max(3).optional(),
|
|
3017
|
+
share_to_feed: z__namespace.boolean().optional(),
|
|
3018
|
+
thumb_offset: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
3019
|
+
cover_url: z__namespace.url().optional(),
|
|
3020
|
+
audio_name: z__namespace.string().optional()
|
|
3021
|
+
}),
|
|
3022
|
+
id: z__namespace.string(),
|
|
3023
|
+
object: z__namespace.literal("post_variant"),
|
|
3024
|
+
connection_id: z__namespace.string().nullable(),
|
|
3025
|
+
body: z__namespace.string().nullable(),
|
|
3026
|
+
status: z__namespace.enum([
|
|
3027
|
+
"draft",
|
|
3028
|
+
"scheduled",
|
|
3029
|
+
"publishing",
|
|
3030
|
+
"published",
|
|
3031
|
+
"failed"
|
|
1968
3032
|
]),
|
|
3033
|
+
schedule_at: z__namespace.string().nullable(),
|
|
3034
|
+
result: z__namespace.object({
|
|
3035
|
+
platform_post_id: z__namespace.string(),
|
|
3036
|
+
permalink: z__namespace.string().nullable(),
|
|
3037
|
+
published_at: z__namespace.string()
|
|
3038
|
+
}).nullable(),
|
|
3039
|
+
error: z__namespace.object({
|
|
3040
|
+
code: z__namespace.string(),
|
|
3041
|
+
message: z__namespace.string(),
|
|
3042
|
+
display_error: z__namespace.string()
|
|
3043
|
+
}).nullable(),
|
|
3044
|
+
media: z__namespace.array(z__namespace.object({
|
|
3045
|
+
media_id: z__namespace.string(),
|
|
3046
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
3047
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
3048
|
+
alt_text_override: z__namespace.string().nullable()
|
|
3049
|
+
}))
|
|
3050
|
+
}),
|
|
3051
|
+
z__namespace.object({
|
|
3052
|
+
platform: z__namespace.literal("tiktok"),
|
|
1969
3053
|
post_type: z__namespace.enum([
|
|
1970
|
-
"text",
|
|
1971
|
-
"single_image",
|
|
1972
|
-
"multi_image",
|
|
1973
3054
|
"video",
|
|
1974
|
-
"
|
|
3055
|
+
"single_image",
|
|
1975
3056
|
"carousel"
|
|
1976
3057
|
]),
|
|
3058
|
+
settings: z__namespace.object({
|
|
3059
|
+
privacy_level: z__namespace.enum([
|
|
3060
|
+
"PUBLIC_TO_EVERYONE",
|
|
3061
|
+
"MUTUAL_FOLLOW_FRIENDS",
|
|
3062
|
+
"FOLLOWER_OF_CREATOR",
|
|
3063
|
+
"SELF_ONLY"
|
|
3064
|
+
]).optional(),
|
|
3065
|
+
disable_comment: z__namespace.boolean().optional(),
|
|
3066
|
+
disable_duet: z__namespace.boolean().optional(),
|
|
3067
|
+
disable_stitch: z__namespace.boolean().optional(),
|
|
3068
|
+
video_cover_timestamp_ms: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
3069
|
+
photo_cover_index: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
3070
|
+
auto_add_music: z__namespace.boolean().optional(),
|
|
3071
|
+
brand_content_toggle: z__namespace.boolean().optional(),
|
|
3072
|
+
brand_organic_toggle: z__namespace.boolean().optional(),
|
|
3073
|
+
is_aigc: z__namespace.boolean().optional()
|
|
3074
|
+
}),
|
|
3075
|
+
id: z__namespace.string(),
|
|
3076
|
+
object: z__namespace.literal("post_variant"),
|
|
3077
|
+
connection_id: z__namespace.string().nullable(),
|
|
1977
3078
|
body: z__namespace.string().nullable(),
|
|
1978
3079
|
status: z__namespace.enum([
|
|
1979
3080
|
"draft",
|
|
@@ -1982,7 +3083,6 @@ z__namespace.object({
|
|
|
1982
3083
|
"published",
|
|
1983
3084
|
"failed"
|
|
1984
3085
|
]),
|
|
1985
|
-
settings: z__namespace.record(z__namespace.string(), z__namespace.unknown()),
|
|
1986
3086
|
schedule_at: z__namespace.string().nullable(),
|
|
1987
3087
|
result: z__namespace.object({
|
|
1988
3088
|
platform_post_id: z__namespace.string(),
|
|
@@ -2000,31 +3100,26 @@ z__namespace.object({
|
|
|
2000
3100
|
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2001
3101
|
alt_text_override: z__namespace.string().nullable()
|
|
2002
3102
|
}))
|
|
2003
|
-
})
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
total: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2008
|
-
limit: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2009
|
-
offset: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2010
|
-
has_more: z__namespace.boolean()
|
|
3103
|
+
})
|
|
3104
|
+
])),
|
|
3105
|
+
created_at: z__namespace.string(),
|
|
3106
|
+
updated_at: z__namespace.string()
|
|
2011
3107
|
});
|
|
2012
3108
|
z__namespace.object({
|
|
2013
|
-
profile_id: z__namespace.string(),
|
|
2014
3109
|
publish: z__namespace.enum([
|
|
2015
3110
|
"now",
|
|
2016
3111
|
"schedule",
|
|
2017
3112
|
"draft"
|
|
2018
|
-
]).optional()
|
|
2019
|
-
schedule_at: z__namespace.iso.datetime().
|
|
2020
|
-
external_id: z__namespace.string().min(1).max(255).
|
|
3113
|
+
]).optional(),
|
|
3114
|
+
schedule_at: z__namespace.iso.datetime().nullish(),
|
|
3115
|
+
external_id: z__namespace.string().min(1).max(255).nullish(),
|
|
2021
3116
|
metadata: z__namespace.record(z__namespace.string(), z__namespace.union([
|
|
2022
3117
|
z__namespace.string().max(500),
|
|
2023
3118
|
z__namespace.number(),
|
|
2024
3119
|
z__namespace.boolean()
|
|
2025
3120
|
])).optional(),
|
|
2026
3121
|
tags: z__namespace.array(z__namespace.string()).optional(),
|
|
2027
|
-
notes: z__namespace.string().
|
|
3122
|
+
notes: z__namespace.string().nullish(),
|
|
2028
3123
|
dry_run: z__namespace.boolean().optional().default(false),
|
|
2029
3124
|
variants: z__namespace.array(z__namespace.union([
|
|
2030
3125
|
z__namespace.object({
|
|
@@ -2035,13 +3130,6 @@ z__namespace.object({
|
|
|
2035
3130
|
"multi_image",
|
|
2036
3131
|
"video"
|
|
2037
3132
|
]),
|
|
2038
|
-
connection_id: z__namespace.string(),
|
|
2039
|
-
body: z__namespace.string().optional(),
|
|
2040
|
-
media: z__namespace.array(z__namespace.object({
|
|
2041
|
-
media_id: z__namespace.string(),
|
|
2042
|
-
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2043
|
-
alt_text_override: z__namespace.string().nullish()
|
|
2044
|
-
})).optional().default([]),
|
|
2045
3133
|
settings: z__namespace.object({
|
|
2046
3134
|
reply_settings: z__namespace.enum([
|
|
2047
3135
|
"everyone",
|
|
@@ -2073,7 +3161,14 @@ z__namespace.object({
|
|
|
2073
3161
|
}).optional(),
|
|
2074
3162
|
card_uri: z__namespace.string().optional(),
|
|
2075
3163
|
media_tagged_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).max(10).optional()
|
|
2076
|
-
}).optional().default({})
|
|
3164
|
+
}).optional().default({}),
|
|
3165
|
+
connection_id: z__namespace.string(),
|
|
3166
|
+
body: z__namespace.string().optional(),
|
|
3167
|
+
media: z__namespace.array(z__namespace.object({
|
|
3168
|
+
media_id: z__namespace.string(),
|
|
3169
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
3170
|
+
alt_text_override: z__namespace.string().nullish()
|
|
3171
|
+
})).optional().default([])
|
|
2077
3172
|
}),
|
|
2078
3173
|
z__namespace.object({
|
|
2079
3174
|
platform: z__namespace.literal("linkedin"),
|
|
@@ -2083,13 +3178,6 @@ z__namespace.object({
|
|
|
2083
3178
|
"multi_image",
|
|
2084
3179
|
"video"
|
|
2085
3180
|
]),
|
|
2086
|
-
connection_id: z__namespace.string(),
|
|
2087
|
-
body: z__namespace.string().optional(),
|
|
2088
|
-
media: z__namespace.array(z__namespace.object({
|
|
2089
|
-
media_id: z__namespace.string(),
|
|
2090
|
-
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2091
|
-
alt_text_override: z__namespace.string().nullish()
|
|
2092
|
-
})).optional().default([]),
|
|
2093
3181
|
settings: z__namespace.object({
|
|
2094
3182
|
visibility: z__namespace.enum(["PUBLIC", "CONNECTIONS"]),
|
|
2095
3183
|
content_kind: z__namespace.enum([
|
|
@@ -2126,7 +3214,14 @@ z__namespace.object({
|
|
|
2126
3214
|
name: z__namespace.string().min(1),
|
|
2127
3215
|
urn: z__namespace.string().regex(/^urn:li:(person|organization):/)
|
|
2128
3216
|
})).optional()
|
|
2129
|
-
})
|
|
3217
|
+
}),
|
|
3218
|
+
connection_id: z__namespace.string(),
|
|
3219
|
+
body: z__namespace.string().optional(),
|
|
3220
|
+
media: z__namespace.array(z__namespace.object({
|
|
3221
|
+
media_id: z__namespace.string(),
|
|
3222
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
3223
|
+
alt_text_override: z__namespace.string().nullish()
|
|
3224
|
+
})).optional().default([])
|
|
2130
3225
|
}),
|
|
2131
3226
|
z__namespace.object({
|
|
2132
3227
|
platform: z__namespace.literal("instagram"),
|
|
@@ -2135,13 +3230,6 @@ z__namespace.object({
|
|
|
2135
3230
|
"carousel",
|
|
2136
3231
|
"reel"
|
|
2137
3232
|
]),
|
|
2138
|
-
connection_id: z__namespace.string(),
|
|
2139
|
-
body: z__namespace.string().optional(),
|
|
2140
|
-
media: z__namespace.array(z__namespace.object({
|
|
2141
|
-
media_id: z__namespace.string(),
|
|
2142
|
-
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2143
|
-
alt_text_override: z__namespace.string().nullish()
|
|
2144
|
-
})).optional().default([]),
|
|
2145
3233
|
settings: z__namespace.object({
|
|
2146
3234
|
media_type: z__namespace.enum([
|
|
2147
3235
|
"IMAGE",
|
|
@@ -2159,7 +3247,14 @@ z__namespace.object({
|
|
|
2159
3247
|
thumb_offset: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
2160
3248
|
cover_url: z__namespace.url().optional(),
|
|
2161
3249
|
audio_name: z__namespace.string().optional()
|
|
2162
|
-
})
|
|
3250
|
+
}),
|
|
3251
|
+
connection_id: z__namespace.string(),
|
|
3252
|
+
body: z__namespace.string().optional(),
|
|
3253
|
+
media: z__namespace.array(z__namespace.object({
|
|
3254
|
+
media_id: z__namespace.string(),
|
|
3255
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
3256
|
+
alt_text_override: z__namespace.string().nullish()
|
|
3257
|
+
})).optional().default([])
|
|
2163
3258
|
}),
|
|
2164
3259
|
z__namespace.object({
|
|
2165
3260
|
platform: z__namespace.literal("facebook_page"),
|
|
@@ -2169,16 +3264,16 @@ z__namespace.object({
|
|
|
2169
3264
|
"multi_image",
|
|
2170
3265
|
"reel"
|
|
2171
3266
|
]),
|
|
3267
|
+
settings: z__namespace.object({
|
|
3268
|
+
link: z__namespace.url().optional()
|
|
3269
|
+
}).optional().default({}),
|
|
2172
3270
|
connection_id: z__namespace.string(),
|
|
2173
3271
|
body: z__namespace.string().optional(),
|
|
2174
3272
|
media: z__namespace.array(z__namespace.object({
|
|
2175
3273
|
media_id: z__namespace.string(),
|
|
2176
3274
|
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2177
3275
|
alt_text_override: z__namespace.string().nullish()
|
|
2178
|
-
})).optional().default([])
|
|
2179
|
-
settings: z__namespace.object({
|
|
2180
|
-
link: z__namespace.url().optional()
|
|
2181
|
-
}).optional().default({})
|
|
3276
|
+
})).optional().default([])
|
|
2182
3277
|
}),
|
|
2183
3278
|
z__namespace.object({
|
|
2184
3279
|
platform: z__namespace.literal("tiktok"),
|
|
@@ -2187,13 +3282,6 @@ z__namespace.object({
|
|
|
2187
3282
|
"single_image",
|
|
2188
3283
|
"carousel"
|
|
2189
3284
|
]),
|
|
2190
|
-
connection_id: z__namespace.string(),
|
|
2191
|
-
body: z__namespace.string().optional(),
|
|
2192
|
-
media: z__namespace.array(z__namespace.object({
|
|
2193
|
-
media_id: z__namespace.string(),
|
|
2194
|
-
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2195
|
-
alt_text_override: z__namespace.string().nullish()
|
|
2196
|
-
})).optional().default([]),
|
|
2197
3285
|
settings: z__namespace.object({
|
|
2198
3286
|
privacy_level: z__namespace.enum([
|
|
2199
3287
|
"PUBLIC_TO_EVERYONE",
|
|
@@ -2210,89 +3298,16 @@ z__namespace.object({
|
|
|
2210
3298
|
brand_content_toggle: z__namespace.boolean().optional(),
|
|
2211
3299
|
brand_organic_toggle: z__namespace.boolean().optional(),
|
|
2212
3300
|
is_aigc: z__namespace.boolean().optional()
|
|
2213
|
-
}).optional().default({})
|
|
3301
|
+
}).optional().default({}),
|
|
3302
|
+
connection_id: z__namespace.string(),
|
|
3303
|
+
body: z__namespace.string().optional(),
|
|
3304
|
+
media: z__namespace.array(z__namespace.object({
|
|
3305
|
+
media_id: z__namespace.string(),
|
|
3306
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
3307
|
+
alt_text_override: z__namespace.string().nullish()
|
|
3308
|
+
})).optional().default([])
|
|
2214
3309
|
})
|
|
2215
|
-
])).min(1)
|
|
2216
|
-
});
|
|
2217
|
-
z__namespace.object({
|
|
2218
|
-
id: z__namespace.string(),
|
|
2219
|
-
object: z__namespace.literal("post"),
|
|
2220
|
-
profile_id: z__namespace.string(),
|
|
2221
|
-
external_id: z__namespace.string().nullable(),
|
|
2222
|
-
status: z__namespace.enum([
|
|
2223
|
-
"draft",
|
|
2224
|
-
"scheduled",
|
|
2225
|
-
"publishing",
|
|
2226
|
-
"partially_published",
|
|
2227
|
-
"published",
|
|
2228
|
-
"failed"
|
|
2229
|
-
]),
|
|
2230
|
-
schedule_at: z__namespace.string().nullable(),
|
|
2231
|
-
tags: z__namespace.array(z__namespace.string()),
|
|
2232
|
-
notes: z__namespace.string().nullable(),
|
|
2233
|
-
metadata: z__namespace.record(z__namespace.string(), z__namespace.union([
|
|
2234
|
-
z__namespace.string().max(500),
|
|
2235
|
-
z__namespace.number(),
|
|
2236
|
-
z__namespace.boolean()
|
|
2237
|
-
])),
|
|
2238
|
-
variants: z__namespace.array(z__namespace.object({
|
|
2239
|
-
id: z__namespace.string(),
|
|
2240
|
-
object: z__namespace.literal("post_variant"),
|
|
2241
|
-
connection_id: z__namespace.string().nullable(),
|
|
2242
|
-
platform: z__namespace.enum([
|
|
2243
|
-
"x",
|
|
2244
|
-
"linkedin",
|
|
2245
|
-
"facebook_page",
|
|
2246
|
-
"instagram",
|
|
2247
|
-
"tiktok"
|
|
2248
|
-
]),
|
|
2249
|
-
post_type: z__namespace.enum([
|
|
2250
|
-
"text",
|
|
2251
|
-
"single_image",
|
|
2252
|
-
"multi_image",
|
|
2253
|
-
"video",
|
|
2254
|
-
"reel",
|
|
2255
|
-
"carousel"
|
|
2256
|
-
]),
|
|
2257
|
-
body: z__namespace.string().nullable(),
|
|
2258
|
-
status: z__namespace.enum([
|
|
2259
|
-
"draft",
|
|
2260
|
-
"scheduled",
|
|
2261
|
-
"publishing",
|
|
2262
|
-
"published",
|
|
2263
|
-
"failed"
|
|
2264
|
-
]),
|
|
2265
|
-
settings: z__namespace.record(z__namespace.string(), z__namespace.unknown()),
|
|
2266
|
-
schedule_at: z__namespace.string().nullable(),
|
|
2267
|
-
result: z__namespace.object({
|
|
2268
|
-
platform_post_id: z__namespace.string(),
|
|
2269
|
-
permalink: z__namespace.string().nullable(),
|
|
2270
|
-
published_at: z__namespace.string()
|
|
2271
|
-
}).nullable(),
|
|
2272
|
-
error: z__namespace.object({
|
|
2273
|
-
code: z__namespace.string(),
|
|
2274
|
-
message: z__namespace.string(),
|
|
2275
|
-
display_error: z__namespace.string()
|
|
2276
|
-
}).nullable(),
|
|
2277
|
-
media: z__namespace.array(z__namespace.object({
|
|
2278
|
-
media_id: z__namespace.string(),
|
|
2279
|
-
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2280
|
-
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2281
|
-
alt_text_override: z__namespace.string().nullable()
|
|
2282
|
-
}))
|
|
2283
|
-
})),
|
|
2284
|
-
created_at: z__namespace.string(),
|
|
2285
|
-
updated_at: z__namespace.string(),
|
|
2286
|
-
dry_run: z__namespace.boolean(),
|
|
2287
|
-
executed: z__namespace.boolean()
|
|
2288
|
-
});
|
|
2289
|
-
z__namespace.object({
|
|
2290
|
-
id: z__namespace.string()
|
|
2291
|
-
});
|
|
2292
|
-
z__namespace.object({
|
|
2293
|
-
id: z__namespace.string(),
|
|
2294
|
-
object: z__namespace.literal("post"),
|
|
2295
|
-
deleted: z__namespace.literal(true)
|
|
3310
|
+
])).min(1).optional()
|
|
2296
3311
|
});
|
|
2297
3312
|
z__namespace.object({
|
|
2298
3313
|
id: z__namespace.string()
|
|
@@ -2318,71 +3333,6 @@ z__namespace.object({
|
|
|
2318
3333
|
z__namespace.number(),
|
|
2319
3334
|
z__namespace.boolean()
|
|
2320
3335
|
])),
|
|
2321
|
-
variants: z__namespace.array(z__namespace.object({
|
|
2322
|
-
id: z__namespace.string(),
|
|
2323
|
-
object: z__namespace.literal("post_variant"),
|
|
2324
|
-
connection_id: z__namespace.string().nullable(),
|
|
2325
|
-
platform: z__namespace.enum([
|
|
2326
|
-
"x",
|
|
2327
|
-
"linkedin",
|
|
2328
|
-
"facebook_page",
|
|
2329
|
-
"instagram",
|
|
2330
|
-
"tiktok"
|
|
2331
|
-
]),
|
|
2332
|
-
post_type: z__namespace.enum([
|
|
2333
|
-
"text",
|
|
2334
|
-
"single_image",
|
|
2335
|
-
"multi_image",
|
|
2336
|
-
"video",
|
|
2337
|
-
"reel",
|
|
2338
|
-
"carousel"
|
|
2339
|
-
]),
|
|
2340
|
-
body: z__namespace.string().nullable(),
|
|
2341
|
-
status: z__namespace.enum([
|
|
2342
|
-
"draft",
|
|
2343
|
-
"scheduled",
|
|
2344
|
-
"publishing",
|
|
2345
|
-
"published",
|
|
2346
|
-
"failed"
|
|
2347
|
-
]),
|
|
2348
|
-
settings: z__namespace.record(z__namespace.string(), z__namespace.unknown()),
|
|
2349
|
-
schedule_at: z__namespace.string().nullable(),
|
|
2350
|
-
result: z__namespace.object({
|
|
2351
|
-
platform_post_id: z__namespace.string(),
|
|
2352
|
-
permalink: z__namespace.string().nullable(),
|
|
2353
|
-
published_at: z__namespace.string()
|
|
2354
|
-
}).nullable(),
|
|
2355
|
-
error: z__namespace.object({
|
|
2356
|
-
code: z__namespace.string(),
|
|
2357
|
-
message: z__namespace.string(),
|
|
2358
|
-
display_error: z__namespace.string()
|
|
2359
|
-
}).nullable(),
|
|
2360
|
-
media: z__namespace.array(z__namespace.object({
|
|
2361
|
-
media_id: z__namespace.string(),
|
|
2362
|
-
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2363
|
-
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2364
|
-
alt_text_override: z__namespace.string().nullable()
|
|
2365
|
-
}))
|
|
2366
|
-
})),
|
|
2367
|
-
created_at: z__namespace.string(),
|
|
2368
|
-
updated_at: z__namespace.string()
|
|
2369
|
-
});
|
|
2370
|
-
z__namespace.object({
|
|
2371
|
-
publish: z__namespace.enum([
|
|
2372
|
-
"now",
|
|
2373
|
-
"schedule",
|
|
2374
|
-
"draft"
|
|
2375
|
-
]).optional(),
|
|
2376
|
-
schedule_at: z__namespace.iso.datetime().nullish(),
|
|
2377
|
-
external_id: z__namespace.string().min(1).max(255).nullish(),
|
|
2378
|
-
metadata: z__namespace.record(z__namespace.string(), z__namespace.union([
|
|
2379
|
-
z__namespace.string().max(500),
|
|
2380
|
-
z__namespace.number(),
|
|
2381
|
-
z__namespace.boolean()
|
|
2382
|
-
])).optional(),
|
|
2383
|
-
tags: z__namespace.array(z__namespace.string()).optional(),
|
|
2384
|
-
notes: z__namespace.string().nullish(),
|
|
2385
|
-
dry_run: z__namespace.boolean().optional().default(false),
|
|
2386
3336
|
variants: z__namespace.array(z__namespace.union([
|
|
2387
3337
|
z__namespace.object({
|
|
2388
3338
|
platform: z__namespace.literal("x"),
|
|
@@ -2392,13 +3342,6 @@ z__namespace.object({
|
|
|
2392
3342
|
"multi_image",
|
|
2393
3343
|
"video"
|
|
2394
3344
|
]),
|
|
2395
|
-
connection_id: z__namespace.string(),
|
|
2396
|
-
body: z__namespace.string().optional(),
|
|
2397
|
-
media: z__namespace.array(z__namespace.object({
|
|
2398
|
-
media_id: z__namespace.string(),
|
|
2399
|
-
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2400
|
-
alt_text_override: z__namespace.string().nullish()
|
|
2401
|
-
})).optional().default([]),
|
|
2402
3345
|
settings: z__namespace.object({
|
|
2403
3346
|
reply_settings: z__namespace.enum([
|
|
2404
3347
|
"everyone",
|
|
@@ -2430,7 +3373,35 @@ z__namespace.object({
|
|
|
2430
3373
|
}).optional(),
|
|
2431
3374
|
card_uri: z__namespace.string().optional(),
|
|
2432
3375
|
media_tagged_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).max(10).optional()
|
|
2433
|
-
})
|
|
3376
|
+
}),
|
|
3377
|
+
id: z__namespace.string(),
|
|
3378
|
+
object: z__namespace.literal("post_variant"),
|
|
3379
|
+
connection_id: z__namespace.string().nullable(),
|
|
3380
|
+
body: z__namespace.string().nullable(),
|
|
3381
|
+
status: z__namespace.enum([
|
|
3382
|
+
"draft",
|
|
3383
|
+
"scheduled",
|
|
3384
|
+
"publishing",
|
|
3385
|
+
"published",
|
|
3386
|
+
"failed"
|
|
3387
|
+
]),
|
|
3388
|
+
schedule_at: z__namespace.string().nullable(),
|
|
3389
|
+
result: z__namespace.object({
|
|
3390
|
+
platform_post_id: z__namespace.string(),
|
|
3391
|
+
permalink: z__namespace.string().nullable(),
|
|
3392
|
+
published_at: z__namespace.string()
|
|
3393
|
+
}).nullable(),
|
|
3394
|
+
error: z__namespace.object({
|
|
3395
|
+
code: z__namespace.string(),
|
|
3396
|
+
message: z__namespace.string(),
|
|
3397
|
+
display_error: z__namespace.string()
|
|
3398
|
+
}).nullable(),
|
|
3399
|
+
media: z__namespace.array(z__namespace.object({
|
|
3400
|
+
media_id: z__namespace.string(),
|
|
3401
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
3402
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
3403
|
+
alt_text_override: z__namespace.string().nullable()
|
|
3404
|
+
}))
|
|
2434
3405
|
}),
|
|
2435
3406
|
z__namespace.object({
|
|
2436
3407
|
platform: z__namespace.literal("linkedin"),
|
|
@@ -2438,15 +3409,8 @@ z__namespace.object({
|
|
|
2438
3409
|
"text",
|
|
2439
3410
|
"single_image",
|
|
2440
3411
|
"multi_image",
|
|
2441
|
-
"video"
|
|
2442
|
-
]),
|
|
2443
|
-
connection_id: z__namespace.string(),
|
|
2444
|
-
body: z__namespace.string().optional(),
|
|
2445
|
-
media: z__namespace.array(z__namespace.object({
|
|
2446
|
-
media_id: z__namespace.string(),
|
|
2447
|
-
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2448
|
-
alt_text_override: z__namespace.string().nullish()
|
|
2449
|
-
})).optional().default([]),
|
|
3412
|
+
"video"
|
|
3413
|
+
]),
|
|
2450
3414
|
settings: z__namespace.object({
|
|
2451
3415
|
visibility: z__namespace.enum(["PUBLIC", "CONNECTIONS"]),
|
|
2452
3416
|
content_kind: z__namespace.enum([
|
|
@@ -2483,22 +3447,83 @@ z__namespace.object({
|
|
|
2483
3447
|
name: z__namespace.string().min(1),
|
|
2484
3448
|
urn: z__namespace.string().regex(/^urn:li:(person|organization):/)
|
|
2485
3449
|
})).optional()
|
|
2486
|
-
})
|
|
3450
|
+
}),
|
|
3451
|
+
id: z__namespace.string(),
|
|
3452
|
+
object: z__namespace.literal("post_variant"),
|
|
3453
|
+
connection_id: z__namespace.string().nullable(),
|
|
3454
|
+
body: z__namespace.string().nullable(),
|
|
3455
|
+
status: z__namespace.enum([
|
|
3456
|
+
"draft",
|
|
3457
|
+
"scheduled",
|
|
3458
|
+
"publishing",
|
|
3459
|
+
"published",
|
|
3460
|
+
"failed"
|
|
3461
|
+
]),
|
|
3462
|
+
schedule_at: z__namespace.string().nullable(),
|
|
3463
|
+
result: z__namespace.object({
|
|
3464
|
+
platform_post_id: z__namespace.string(),
|
|
3465
|
+
permalink: z__namespace.string().nullable(),
|
|
3466
|
+
published_at: z__namespace.string()
|
|
3467
|
+
}).nullable(),
|
|
3468
|
+
error: z__namespace.object({
|
|
3469
|
+
code: z__namespace.string(),
|
|
3470
|
+
message: z__namespace.string(),
|
|
3471
|
+
display_error: z__namespace.string()
|
|
3472
|
+
}).nullable(),
|
|
3473
|
+
media: z__namespace.array(z__namespace.object({
|
|
3474
|
+
media_id: z__namespace.string(),
|
|
3475
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
3476
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
3477
|
+
alt_text_override: z__namespace.string().nullable()
|
|
3478
|
+
}))
|
|
2487
3479
|
}),
|
|
2488
3480
|
z__namespace.object({
|
|
2489
|
-
platform: z__namespace.literal("
|
|
3481
|
+
platform: z__namespace.literal("facebook_page"),
|
|
2490
3482
|
post_type: z__namespace.enum([
|
|
3483
|
+
"text",
|
|
2491
3484
|
"single_image",
|
|
2492
|
-
"
|
|
3485
|
+
"multi_image",
|
|
2493
3486
|
"reel"
|
|
2494
3487
|
]),
|
|
2495
|
-
|
|
2496
|
-
|
|
3488
|
+
settings: z__namespace.object({
|
|
3489
|
+
link: z__namespace.url().optional()
|
|
3490
|
+
}),
|
|
3491
|
+
id: z__namespace.string(),
|
|
3492
|
+
object: z__namespace.literal("post_variant"),
|
|
3493
|
+
connection_id: z__namespace.string().nullable(),
|
|
3494
|
+
body: z__namespace.string().nullable(),
|
|
3495
|
+
status: z__namespace.enum([
|
|
3496
|
+
"draft",
|
|
3497
|
+
"scheduled",
|
|
3498
|
+
"publishing",
|
|
3499
|
+
"published",
|
|
3500
|
+
"failed"
|
|
3501
|
+
]),
|
|
3502
|
+
schedule_at: z__namespace.string().nullable(),
|
|
3503
|
+
result: z__namespace.object({
|
|
3504
|
+
platform_post_id: z__namespace.string(),
|
|
3505
|
+
permalink: z__namespace.string().nullable(),
|
|
3506
|
+
published_at: z__namespace.string()
|
|
3507
|
+
}).nullable(),
|
|
3508
|
+
error: z__namespace.object({
|
|
3509
|
+
code: z__namespace.string(),
|
|
3510
|
+
message: z__namespace.string(),
|
|
3511
|
+
display_error: z__namespace.string()
|
|
3512
|
+
}).nullable(),
|
|
2497
3513
|
media: z__namespace.array(z__namespace.object({
|
|
2498
3514
|
media_id: z__namespace.string(),
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
3515
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
3516
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
3517
|
+
alt_text_override: z__namespace.string().nullable()
|
|
3518
|
+
}))
|
|
3519
|
+
}),
|
|
3520
|
+
z__namespace.object({
|
|
3521
|
+
platform: z__namespace.literal("instagram"),
|
|
3522
|
+
post_type: z__namespace.enum([
|
|
3523
|
+
"single_image",
|
|
3524
|
+
"carousel",
|
|
3525
|
+
"reel"
|
|
3526
|
+
]),
|
|
2502
3527
|
settings: z__namespace.object({
|
|
2503
3528
|
media_type: z__namespace.enum([
|
|
2504
3529
|
"IMAGE",
|
|
@@ -2516,26 +3541,35 @@ z__namespace.object({
|
|
|
2516
3541
|
thumb_offset: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
2517
3542
|
cover_url: z__namespace.url().optional(),
|
|
2518
3543
|
audio_name: z__namespace.string().optional()
|
|
2519
|
-
})
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
"
|
|
2526
|
-
"
|
|
2527
|
-
"
|
|
3544
|
+
}),
|
|
3545
|
+
id: z__namespace.string(),
|
|
3546
|
+
object: z__namespace.literal("post_variant"),
|
|
3547
|
+
connection_id: z__namespace.string().nullable(),
|
|
3548
|
+
body: z__namespace.string().nullable(),
|
|
3549
|
+
status: z__namespace.enum([
|
|
3550
|
+
"draft",
|
|
3551
|
+
"scheduled",
|
|
3552
|
+
"publishing",
|
|
3553
|
+
"published",
|
|
3554
|
+
"failed"
|
|
2528
3555
|
]),
|
|
2529
|
-
|
|
2530
|
-
|
|
3556
|
+
schedule_at: z__namespace.string().nullable(),
|
|
3557
|
+
result: z__namespace.object({
|
|
3558
|
+
platform_post_id: z__namespace.string(),
|
|
3559
|
+
permalink: z__namespace.string().nullable(),
|
|
3560
|
+
published_at: z__namespace.string()
|
|
3561
|
+
}).nullable(),
|
|
3562
|
+
error: z__namespace.object({
|
|
3563
|
+
code: z__namespace.string(),
|
|
3564
|
+
message: z__namespace.string(),
|
|
3565
|
+
display_error: z__namespace.string()
|
|
3566
|
+
}).nullable(),
|
|
2531
3567
|
media: z__namespace.array(z__namespace.object({
|
|
2532
3568
|
media_id: z__namespace.string(),
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
link: z__namespace.url().optional()
|
|
2538
|
-
}).optional().default({})
|
|
3569
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
3570
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
3571
|
+
alt_text_override: z__namespace.string().nullable()
|
|
3572
|
+
}))
|
|
2539
3573
|
}),
|
|
2540
3574
|
z__namespace.object({
|
|
2541
3575
|
platform: z__namespace.literal("tiktok"),
|
|
@@ -2544,13 +3578,6 @@ z__namespace.object({
|
|
|
2544
3578
|
"single_image",
|
|
2545
3579
|
"carousel"
|
|
2546
3580
|
]),
|
|
2547
|
-
connection_id: z__namespace.string(),
|
|
2548
|
-
body: z__namespace.string().optional(),
|
|
2549
|
-
media: z__namespace.array(z__namespace.object({
|
|
2550
|
-
media_id: z__namespace.string(),
|
|
2551
|
-
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2552
|
-
alt_text_override: z__namespace.string().nullish()
|
|
2553
|
-
})).optional().default([]),
|
|
2554
3581
|
settings: z__namespace.object({
|
|
2555
3582
|
privacy_level: z__namespace.enum([
|
|
2556
3583
|
"PUBLIC_TO_EVERYONE",
|
|
@@ -2567,80 +3594,37 @@ z__namespace.object({
|
|
|
2567
3594
|
brand_content_toggle: z__namespace.boolean().optional(),
|
|
2568
3595
|
brand_organic_toggle: z__namespace.boolean().optional(),
|
|
2569
3596
|
is_aigc: z__namespace.boolean().optional()
|
|
2570
|
-
})
|
|
3597
|
+
}),
|
|
3598
|
+
id: z__namespace.string(),
|
|
3599
|
+
object: z__namespace.literal("post_variant"),
|
|
3600
|
+
connection_id: z__namespace.string().nullable(),
|
|
3601
|
+
body: z__namespace.string().nullable(),
|
|
3602
|
+
status: z__namespace.enum([
|
|
3603
|
+
"draft",
|
|
3604
|
+
"scheduled",
|
|
3605
|
+
"publishing",
|
|
3606
|
+
"published",
|
|
3607
|
+
"failed"
|
|
3608
|
+
]),
|
|
3609
|
+
schedule_at: z__namespace.string().nullable(),
|
|
3610
|
+
result: z__namespace.object({
|
|
3611
|
+
platform_post_id: z__namespace.string(),
|
|
3612
|
+
permalink: z__namespace.string().nullable(),
|
|
3613
|
+
published_at: z__namespace.string()
|
|
3614
|
+
}).nullable(),
|
|
3615
|
+
error: z__namespace.object({
|
|
3616
|
+
code: z__namespace.string(),
|
|
3617
|
+
message: z__namespace.string(),
|
|
3618
|
+
display_error: z__namespace.string()
|
|
3619
|
+
}).nullable(),
|
|
3620
|
+
media: z__namespace.array(z__namespace.object({
|
|
3621
|
+
media_id: z__namespace.string(),
|
|
3622
|
+
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
3623
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
3624
|
+
alt_text_override: z__namespace.string().nullable()
|
|
3625
|
+
}))
|
|
2571
3626
|
})
|
|
2572
|
-
])).min(1).optional()
|
|
2573
|
-
});
|
|
2574
|
-
z__namespace.object({
|
|
2575
|
-
id: z__namespace.string()
|
|
2576
|
-
});
|
|
2577
|
-
z__namespace.object({
|
|
2578
|
-
id: z__namespace.string(),
|
|
2579
|
-
object: z__namespace.literal("post"),
|
|
2580
|
-
profile_id: z__namespace.string(),
|
|
2581
|
-
external_id: z__namespace.string().nullable(),
|
|
2582
|
-
status: z__namespace.enum([
|
|
2583
|
-
"draft",
|
|
2584
|
-
"scheduled",
|
|
2585
|
-
"publishing",
|
|
2586
|
-
"partially_published",
|
|
2587
|
-
"published",
|
|
2588
|
-
"failed"
|
|
2589
|
-
]),
|
|
2590
|
-
schedule_at: z__namespace.string().nullable(),
|
|
2591
|
-
tags: z__namespace.array(z__namespace.string()),
|
|
2592
|
-
notes: z__namespace.string().nullable(),
|
|
2593
|
-
metadata: z__namespace.record(z__namespace.string(), z__namespace.union([
|
|
2594
|
-
z__namespace.string().max(500),
|
|
2595
|
-
z__namespace.number(),
|
|
2596
|
-
z__namespace.boolean()
|
|
2597
3627
|
])),
|
|
2598
|
-
variants: z__namespace.array(z__namespace.object({
|
|
2599
|
-
id: z__namespace.string(),
|
|
2600
|
-
object: z__namespace.literal("post_variant"),
|
|
2601
|
-
connection_id: z__namespace.string().nullable(),
|
|
2602
|
-
platform: z__namespace.enum([
|
|
2603
|
-
"x",
|
|
2604
|
-
"linkedin",
|
|
2605
|
-
"facebook_page",
|
|
2606
|
-
"instagram",
|
|
2607
|
-
"tiktok"
|
|
2608
|
-
]),
|
|
2609
|
-
post_type: z__namespace.enum([
|
|
2610
|
-
"text",
|
|
2611
|
-
"single_image",
|
|
2612
|
-
"multi_image",
|
|
2613
|
-
"video",
|
|
2614
|
-
"reel",
|
|
2615
|
-
"carousel"
|
|
2616
|
-
]),
|
|
2617
|
-
body: z__namespace.string().nullable(),
|
|
2618
|
-
status: z__namespace.enum([
|
|
2619
|
-
"draft",
|
|
2620
|
-
"scheduled",
|
|
2621
|
-
"publishing",
|
|
2622
|
-
"published",
|
|
2623
|
-
"failed"
|
|
2624
|
-
]),
|
|
2625
|
-
settings: z__namespace.record(z__namespace.string(), z__namespace.unknown()),
|
|
2626
|
-
schedule_at: z__namespace.string().nullable(),
|
|
2627
|
-
result: z__namespace.object({
|
|
2628
|
-
platform_post_id: z__namespace.string(),
|
|
2629
|
-
permalink: z__namespace.string().nullable(),
|
|
2630
|
-
published_at: z__namespace.string()
|
|
2631
|
-
}).nullable(),
|
|
2632
|
-
error: z__namespace.object({
|
|
2633
|
-
code: z__namespace.string(),
|
|
2634
|
-
message: z__namespace.string(),
|
|
2635
|
-
display_error: z__namespace.string()
|
|
2636
|
-
}).nullable(),
|
|
2637
|
-
media: z__namespace.array(z__namespace.object({
|
|
2638
|
-
media_id: z__namespace.string(),
|
|
2639
|
-
position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2640
|
-
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
|
|
2641
|
-
alt_text_override: z__namespace.string().nullable()
|
|
2642
|
-
}))
|
|
2643
|
-
})),
|
|
2644
3628
|
created_at: z__namespace.string(),
|
|
2645
3629
|
updated_at: z__namespace.string(),
|
|
2646
3630
|
dry_run: z__namespace.boolean(),
|
|
@@ -2657,13 +3641,6 @@ z__namespace.object({
|
|
|
2657
3641
|
"multi_image",
|
|
2658
3642
|
"video"
|
|
2659
3643
|
]),
|
|
2660
|
-
connection_id: z__namespace.string(),
|
|
2661
|
-
body: z__namespace.string().optional(),
|
|
2662
|
-
media: z__namespace.array(z__namespace.object({
|
|
2663
|
-
media_id: z__namespace.string(),
|
|
2664
|
-
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2665
|
-
alt_text_override: z__namespace.string().nullish()
|
|
2666
|
-
})).optional().default([]),
|
|
2667
3644
|
settings: z__namespace.object({
|
|
2668
3645
|
reply_settings: z__namespace.enum([
|
|
2669
3646
|
"everyone",
|
|
@@ -2695,7 +3672,14 @@ z__namespace.object({
|
|
|
2695
3672
|
}).optional(),
|
|
2696
3673
|
card_uri: z__namespace.string().optional(),
|
|
2697
3674
|
media_tagged_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).max(10).optional()
|
|
2698
|
-
}).optional().default({})
|
|
3675
|
+
}).optional().default({}),
|
|
3676
|
+
connection_id: z__namespace.string(),
|
|
3677
|
+
body: z__namespace.string().optional(),
|
|
3678
|
+
media: z__namespace.array(z__namespace.object({
|
|
3679
|
+
media_id: z__namespace.string(),
|
|
3680
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
3681
|
+
alt_text_override: z__namespace.string().nullish()
|
|
3682
|
+
})).optional().default([])
|
|
2699
3683
|
}),
|
|
2700
3684
|
z__namespace.object({
|
|
2701
3685
|
platform: z__namespace.literal("linkedin"),
|
|
@@ -2705,13 +3689,6 @@ z__namespace.object({
|
|
|
2705
3689
|
"multi_image",
|
|
2706
3690
|
"video"
|
|
2707
3691
|
]),
|
|
2708
|
-
connection_id: z__namespace.string(),
|
|
2709
|
-
body: z__namespace.string().optional(),
|
|
2710
|
-
media: z__namespace.array(z__namespace.object({
|
|
2711
|
-
media_id: z__namespace.string(),
|
|
2712
|
-
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2713
|
-
alt_text_override: z__namespace.string().nullish()
|
|
2714
|
-
})).optional().default([]),
|
|
2715
3692
|
settings: z__namespace.object({
|
|
2716
3693
|
visibility: z__namespace.enum(["PUBLIC", "CONNECTIONS"]),
|
|
2717
3694
|
content_kind: z__namespace.enum([
|
|
@@ -2748,7 +3725,14 @@ z__namespace.object({
|
|
|
2748
3725
|
name: z__namespace.string().min(1),
|
|
2749
3726
|
urn: z__namespace.string().regex(/^urn:li:(person|organization):/)
|
|
2750
3727
|
})).optional()
|
|
2751
|
-
})
|
|
3728
|
+
}),
|
|
3729
|
+
connection_id: z__namespace.string(),
|
|
3730
|
+
body: z__namespace.string().optional(),
|
|
3731
|
+
media: z__namespace.array(z__namespace.object({
|
|
3732
|
+
media_id: z__namespace.string(),
|
|
3733
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
3734
|
+
alt_text_override: z__namespace.string().nullish()
|
|
3735
|
+
})).optional().default([])
|
|
2752
3736
|
}),
|
|
2753
3737
|
z__namespace.object({
|
|
2754
3738
|
platform: z__namespace.literal("instagram"),
|
|
@@ -2757,13 +3741,6 @@ z__namespace.object({
|
|
|
2757
3741
|
"carousel",
|
|
2758
3742
|
"reel"
|
|
2759
3743
|
]),
|
|
2760
|
-
connection_id: z__namespace.string(),
|
|
2761
|
-
body: z__namespace.string().optional(),
|
|
2762
|
-
media: z__namespace.array(z__namespace.object({
|
|
2763
|
-
media_id: z__namespace.string(),
|
|
2764
|
-
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2765
|
-
alt_text_override: z__namespace.string().nullish()
|
|
2766
|
-
})).optional().default([]),
|
|
2767
3744
|
settings: z__namespace.object({
|
|
2768
3745
|
media_type: z__namespace.enum([
|
|
2769
3746
|
"IMAGE",
|
|
@@ -2781,7 +3758,14 @@ z__namespace.object({
|
|
|
2781
3758
|
thumb_offset: z__namespace.int().gte(0).lte(9007199254740991).optional(),
|
|
2782
3759
|
cover_url: z__namespace.url().optional(),
|
|
2783
3760
|
audio_name: z__namespace.string().optional()
|
|
2784
|
-
})
|
|
3761
|
+
}),
|
|
3762
|
+
connection_id: z__namespace.string(),
|
|
3763
|
+
body: z__namespace.string().optional(),
|
|
3764
|
+
media: z__namespace.array(z__namespace.object({
|
|
3765
|
+
media_id: z__namespace.string(),
|
|
3766
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
3767
|
+
alt_text_override: z__namespace.string().nullish()
|
|
3768
|
+
})).optional().default([])
|
|
2785
3769
|
}),
|
|
2786
3770
|
z__namespace.object({
|
|
2787
3771
|
platform: z__namespace.literal("facebook_page"),
|
|
@@ -2791,16 +3775,16 @@ z__namespace.object({
|
|
|
2791
3775
|
"multi_image",
|
|
2792
3776
|
"reel"
|
|
2793
3777
|
]),
|
|
3778
|
+
settings: z__namespace.object({
|
|
3779
|
+
link: z__namespace.url().optional()
|
|
3780
|
+
}).optional().default({}),
|
|
2794
3781
|
connection_id: z__namespace.string(),
|
|
2795
3782
|
body: z__namespace.string().optional(),
|
|
2796
3783
|
media: z__namespace.array(z__namespace.object({
|
|
2797
3784
|
media_id: z__namespace.string(),
|
|
2798
3785
|
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2799
3786
|
alt_text_override: z__namespace.string().nullish()
|
|
2800
|
-
})).optional().default([])
|
|
2801
|
-
settings: z__namespace.object({
|
|
2802
|
-
link: z__namespace.url().optional()
|
|
2803
|
-
}).optional().default({})
|
|
3787
|
+
})).optional().default([])
|
|
2804
3788
|
}),
|
|
2805
3789
|
z__namespace.object({
|
|
2806
3790
|
platform: z__namespace.literal("tiktok"),
|
|
@@ -2809,13 +3793,6 @@ z__namespace.object({
|
|
|
2809
3793
|
"single_image",
|
|
2810
3794
|
"carousel"
|
|
2811
3795
|
]),
|
|
2812
|
-
connection_id: z__namespace.string(),
|
|
2813
|
-
body: z__namespace.string().optional(),
|
|
2814
|
-
media: z__namespace.array(z__namespace.object({
|
|
2815
|
-
media_id: z__namespace.string(),
|
|
2816
|
-
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
2817
|
-
alt_text_override: z__namespace.string().nullish()
|
|
2818
|
-
})).optional().default([]),
|
|
2819
3796
|
settings: z__namespace.object({
|
|
2820
3797
|
privacy_level: z__namespace.enum([
|
|
2821
3798
|
"PUBLIC_TO_EVERYONE",
|
|
@@ -2832,7 +3809,14 @@ z__namespace.object({
|
|
|
2832
3809
|
brand_content_toggle: z__namespace.boolean().optional(),
|
|
2833
3810
|
brand_organic_toggle: z__namespace.boolean().optional(),
|
|
2834
3811
|
is_aigc: z__namespace.boolean().optional()
|
|
2835
|
-
}).optional().default({})
|
|
3812
|
+
}).optional().default({}),
|
|
3813
|
+
connection_id: z__namespace.string(),
|
|
3814
|
+
body: z__namespace.string().optional(),
|
|
3815
|
+
media: z__namespace.array(z__namespace.object({
|
|
3816
|
+
media_id: z__namespace.string(),
|
|
3817
|
+
crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
|
|
3818
|
+
alt_text_override: z__namespace.string().nullish()
|
|
3819
|
+
})).optional().default([])
|
|
2836
3820
|
})
|
|
2837
3821
|
])).min(1)
|
|
2838
3822
|
});
|