@postrun/js 4.1.0 → 4.2.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.
@@ -1,3 +1,3 @@
1
- export { zAccountMetrics, zConnectSession, zConnection, zConnectionAnalytics, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectHeaders, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeleteHeaders, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetAnalyticsPath, zConnectionsGetAnalyticsResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectHeaders, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, zErrorCode, zErrorSource, zFacebookPageDay, zFacebookPageMetrics, zFacebookPostMetrics, zIdempotencyKey, zInstagramAccountDay, zInstagramAccountMetrics, zInstagramPostMetrics, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMedia, zMediaAbortPath, zMediaAbortResponse, zMediaCompleteBody, zMediaCompletePath, zMediaCompleteResponse, zMediaCreateBody, zMediaCreateHeaders, zMediaCreateResponse, zMediaDeleteHeaders, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListPartsPath, zMediaListPartsResponse, zMediaListQuery, zMediaListResponse, zMediaSignPartBody, zMediaSignPartPath, zMediaSignPartResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdateHeaders, zMediaUpdatePath, zMediaUpdateResponse, zPost, zPostAnalytics, zPostMetrics, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantAnalytics, zPostVariantInput, zPostVariantStatus, zPostWriteResult, zPostsCreateBody, zPostsCreateHeaders, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetAnalyticsPath, zPostsGetAnalyticsResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsRetryBody, zPostsRetryHeaders, zPostsRetryPath, zPostsRetryResponse, zPostsUpdateBody, zPostsUpdateHeaders, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateHeaders, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokAccountDay, zTikTokAccountMetrics, zTikTokCreatorInfo, zTikTokPostMetrics, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointHeaders, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse } from '../chunk-E75IP76L.js';
1
+ export { zAccountMetrics, zConnectSession, zConnection, zConnectionAnalytics, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectHeaders, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeleteHeaders, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetAnalyticsPath, zConnectionsGetAnalyticsResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectHeaders, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, zErrorCode, zErrorSource, zFacebookPageDay, zFacebookPageMetrics, zFacebookPostMetrics, zIdempotencyKey, zInstagramAccountDay, zInstagramAccountMetrics, zInstagramPostMetrics, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMedia, zMediaAbortPath, zMediaAbortResponse, zMediaCompleteBody, zMediaCompletePath, zMediaCompleteResponse, zMediaCreateBody, zMediaCreateHeaders, zMediaCreateResponse, zMediaDeleteHeaders, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListPartsPath, zMediaListPartsResponse, zMediaListQuery, zMediaListResponse, zMediaSignPartBody, zMediaSignPartPath, zMediaSignPartResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdateHeaders, zMediaUpdatePath, zMediaUpdateResponse, zPost, zPostAnalytics, zPostMetrics, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantAnalytics, zPostVariantInput, zPostVariantStatus, zPostWriteResult, zPostsCreateBody, zPostsCreateHeaders, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetAnalyticsPath, zPostsGetAnalyticsResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsRetryBody, zPostsRetryHeaders, zPostsRetryPath, zPostsRetryResponse, zPostsUpdateBody, zPostsUpdateHeaders, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateHeaders, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokAccountDay, zTikTokAccountMetrics, zTikTokCreatorInfo, zTikTokPostMetrics, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointHeaders, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse, zYouTubePostSettings } from '../chunk-C4MYARB5.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
package/dist/server.cjs CHANGED
@@ -861,6 +861,8 @@ var zErrorCode = z__namespace.enum([
861
861
  "tag_limit_exceeded",
862
862
  "reel_field_on_non_reel",
863
863
  "field_placement_invalid",
864
+ "title_too_long",
865
+ "characters_not_allowed",
864
866
  "media_not_ready",
865
867
  "media_failed",
866
868
  "media_unsupported",
@@ -915,6 +917,14 @@ var zErrorCode = z__namespace.enum([
915
917
  "tiktok_media_pull_failed",
916
918
  "tiktok_server_error",
917
919
  "tiktok_publish_failed",
920
+ "youtube_long_upload_not_allowed",
921
+ "youtube_not_authorized",
922
+ "youtube_daily_limit_reached",
923
+ "youtube_upload_failed",
924
+ "youtube_upload_unconfirmed",
925
+ "youtube_video_rejected",
926
+ "youtube_processing_failed",
927
+ "youtube_thumbnail_failed",
918
928
  "post_publish_failed",
919
929
  "post_partially_published",
920
930
  "connection_platform_mismatch",
@@ -954,6 +964,19 @@ var zProfile = z__namespace.object({
954
964
  created_at: z__namespace.string().nullable(),
955
965
  updated_at: z__namespace.string().nullable()
956
966
  });
967
+ var zYouTubePostSettings = z__namespace.object({
968
+ title: z__namespace.string().optional(),
969
+ privacy_status: z__namespace.enum([
970
+ "public",
971
+ "unlisted",
972
+ "private"
973
+ ]).optional(),
974
+ self_declared_made_for_kids: z__namespace.boolean().optional(),
975
+ contains_synthetic_media: z__namespace.boolean().optional(),
976
+ tags: z__namespace.array(z__namespace.string()).optional(),
977
+ category_id: z__namespace.string().regex(/^[0-9]+$/).optional(),
978
+ thumbnail_media_id: z__namespace.string().optional()
979
+ });
957
980
  var zTikTokPostMetrics = z__namespace.object({
958
981
  platform: z__namespace.literal("tiktok"),
959
982
  video_views: z__namespace.number().nullable(),
@@ -1270,7 +1293,8 @@ var zPostPlatform = z__namespace.enum([
1270
1293
  "linkedin",
1271
1294
  "facebook_page",
1272
1295
  "instagram",
1273
- "tiktok"
1296
+ "tiktok",
1297
+ "youtube"
1274
1298
  ]);
1275
1299
  var zPostVariantAnalytics = z__namespace.object({
1276
1300
  variant_id: z__namespace.string(),
@@ -1295,7 +1319,8 @@ var zPostType = z__namespace.enum([
1295
1319
  "multi_image",
1296
1320
  "video",
1297
1321
  "reel",
1298
- "carousel"
1322
+ "carousel",
1323
+ "short"
1299
1324
  ]);
1300
1325
  var zPostStatus = z__namespace.enum([
1301
1326
  "draft",
@@ -1329,7 +1354,8 @@ var zConnection = z__namespace.object({
1329
1354
  "linkedin",
1330
1355
  "facebook_page",
1331
1356
  "instagram",
1332
- "tiktok"
1357
+ "tiktok",
1358
+ "youtube"
1333
1359
  ]),
1334
1360
  kind: zConnectionKind,
1335
1361
  status: zConnectionStatus,
@@ -1468,6 +1494,8 @@ var zPostVariant = z__namespace.union([
1468
1494
  "tag_limit_exceeded",
1469
1495
  "reel_field_on_non_reel",
1470
1496
  "field_placement_invalid",
1497
+ "title_too_long",
1498
+ "characters_not_allowed",
1471
1499
  "media_not_ready",
1472
1500
  "media_failed",
1473
1501
  "media_unsupported",
@@ -1522,6 +1550,14 @@ var zPostVariant = z__namespace.union([
1522
1550
  "tiktok_media_pull_failed",
1523
1551
  "tiktok_server_error",
1524
1552
  "tiktok_publish_failed",
1553
+ "youtube_long_upload_not_allowed",
1554
+ "youtube_not_authorized",
1555
+ "youtube_daily_limit_reached",
1556
+ "youtube_upload_failed",
1557
+ "youtube_upload_unconfirmed",
1558
+ "youtube_video_rejected",
1559
+ "youtube_processing_failed",
1560
+ "youtube_thumbnail_failed",
1525
1561
  "post_publish_failed",
1526
1562
  "post_partially_published",
1527
1563
  "connection_platform_mismatch",
@@ -1652,6 +1688,8 @@ var zPostVariant = z__namespace.union([
1652
1688
  "tag_limit_exceeded",
1653
1689
  "reel_field_on_non_reel",
1654
1690
  "field_placement_invalid",
1691
+ "title_too_long",
1692
+ "characters_not_allowed",
1655
1693
  "media_not_ready",
1656
1694
  "media_failed",
1657
1695
  "media_unsupported",
@@ -1706,6 +1744,14 @@ var zPostVariant = z__namespace.union([
1706
1744
  "tiktok_media_pull_failed",
1707
1745
  "tiktok_server_error",
1708
1746
  "tiktok_publish_failed",
1747
+ "youtube_long_upload_not_allowed",
1748
+ "youtube_not_authorized",
1749
+ "youtube_daily_limit_reached",
1750
+ "youtube_upload_failed",
1751
+ "youtube_upload_unconfirmed",
1752
+ "youtube_video_rejected",
1753
+ "youtube_processing_failed",
1754
+ "youtube_thumbnail_failed",
1709
1755
  "post_publish_failed",
1710
1756
  "post_partially_published",
1711
1757
  "connection_platform_mismatch",
@@ -1821,6 +1867,8 @@ var zPostVariant = z__namespace.union([
1821
1867
  "tag_limit_exceeded",
1822
1868
  "reel_field_on_non_reel",
1823
1869
  "field_placement_invalid",
1870
+ "title_too_long",
1871
+ "characters_not_allowed",
1824
1872
  "media_not_ready",
1825
1873
  "media_failed",
1826
1874
  "media_unsupported",
@@ -1875,6 +1923,14 @@ var zPostVariant = z__namespace.union([
1875
1923
  "tiktok_media_pull_failed",
1876
1924
  "tiktok_server_error",
1877
1925
  "tiktok_publish_failed",
1926
+ "youtube_long_upload_not_allowed",
1927
+ "youtube_not_authorized",
1928
+ "youtube_daily_limit_reached",
1929
+ "youtube_upload_failed",
1930
+ "youtube_upload_unconfirmed",
1931
+ "youtube_video_rejected",
1932
+ "youtube_processing_failed",
1933
+ "youtube_thumbnail_failed",
1878
1934
  "post_publish_failed",
1879
1935
  "post_partially_published",
1880
1936
  "connection_platform_mismatch",
@@ -1991,6 +2047,8 @@ var zPostVariant = z__namespace.union([
1991
2047
  "tag_limit_exceeded",
1992
2048
  "reel_field_on_non_reel",
1993
2049
  "field_placement_invalid",
2050
+ "title_too_long",
2051
+ "characters_not_allowed",
1994
2052
  "media_not_ready",
1995
2053
  "media_failed",
1996
2054
  "media_unsupported",
@@ -2045,6 +2103,14 @@ var zPostVariant = z__namespace.union([
2045
2103
  "tiktok_media_pull_failed",
2046
2104
  "tiktok_server_error",
2047
2105
  "tiktok_publish_failed",
2106
+ "youtube_long_upload_not_allowed",
2107
+ "youtube_not_authorized",
2108
+ "youtube_daily_limit_reached",
2109
+ "youtube_upload_failed",
2110
+ "youtube_upload_unconfirmed",
2111
+ "youtube_video_rejected",
2112
+ "youtube_processing_failed",
2113
+ "youtube_thumbnail_failed",
2048
2114
  "post_publish_failed",
2049
2115
  "post_partially_published",
2050
2116
  "connection_platform_mismatch",
@@ -2165,6 +2231,8 @@ var zPostVariant = z__namespace.union([
2165
2231
  "tag_limit_exceeded",
2166
2232
  "reel_field_on_non_reel",
2167
2233
  "field_placement_invalid",
2234
+ "title_too_long",
2235
+ "characters_not_allowed",
2168
2236
  "media_not_ready",
2169
2237
  "media_failed",
2170
2238
  "media_unsupported",
@@ -2219,6 +2287,181 @@ var zPostVariant = z__namespace.union([
2219
2287
  "tiktok_media_pull_failed",
2220
2288
  "tiktok_server_error",
2221
2289
  "tiktok_publish_failed",
2290
+ "youtube_long_upload_not_allowed",
2291
+ "youtube_not_authorized",
2292
+ "youtube_daily_limit_reached",
2293
+ "youtube_upload_failed",
2294
+ "youtube_upload_unconfirmed",
2295
+ "youtube_video_rejected",
2296
+ "youtube_processing_failed",
2297
+ "youtube_thumbnail_failed",
2298
+ "post_publish_failed",
2299
+ "post_partially_published",
2300
+ "connection_platform_mismatch",
2301
+ "connection_removed",
2302
+ "publish_interrupted",
2303
+ "publish_outcome_unknown",
2304
+ "plan_limit_reached",
2305
+ "billing_required",
2306
+ "x_link_requires_paid_plan",
2307
+ "analytics_not_supported",
2308
+ "analytics_no_data"
2309
+ ]),
2310
+ message: z__namespace.string(),
2311
+ source: zErrorSource.optional(),
2312
+ display_error: z__namespace.string()
2313
+ }).nullable(),
2314
+ media: z__namespace.array(z__namespace.object({
2315
+ media_id: z__namespace.string(),
2316
+ position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
2317
+ alt_text_override: z__namespace.string().nullable(),
2318
+ media: zMedia
2319
+ }))
2320
+ }),
2321
+ z__namespace.object({
2322
+ platform: z__namespace.literal("youtube"),
2323
+ settings: zYouTubePostSettings,
2324
+ id: z__namespace.string(),
2325
+ object: z__namespace.literal("post_variant"),
2326
+ post_type: zPostType.nullable(),
2327
+ connection_id: z__namespace.string().nullable(),
2328
+ body: z__namespace.string().nullable(),
2329
+ status: zPostVariantStatus,
2330
+ schedule_at: z__namespace.string().nullable(),
2331
+ result: z__namespace.object({
2332
+ platform_post_id: z__namespace.string(),
2333
+ permalink: z__namespace.string().nullable(),
2334
+ published_at: z__namespace.string()
2335
+ }).nullable(),
2336
+ error: z__namespace.object({
2337
+ code: z__namespace.enum([
2338
+ "unauthorized",
2339
+ "forbidden",
2340
+ "not_found",
2341
+ "conflict",
2342
+ "validation_failed",
2343
+ "rate_limited",
2344
+ "internal_error",
2345
+ "idempotency_key_invalid",
2346
+ "idempotency_key_reused",
2347
+ "idempotency_request_in_progress",
2348
+ "account_not_available",
2349
+ "connection_reauth_required",
2350
+ "connection_not_pending",
2351
+ "not_implemented",
2352
+ "connection_discovery_failed",
2353
+ "tiktok_creator_info_unavailable",
2354
+ "tiktok_analytics_unavailable",
2355
+ "instagram_analytics_unavailable",
2356
+ "facebook_analytics_unavailable",
2357
+ "media_processing",
2358
+ "media_upload_init_failed",
2359
+ "media_upload_incomplete",
2360
+ "media_upload_invalid_parts",
2361
+ "not_publishable",
2362
+ "post_not_retryable",
2363
+ "invalid_connection",
2364
+ "invalid_media",
2365
+ "profile_scope_invalid",
2366
+ "media_unprobeable",
2367
+ "media_too_large",
2368
+ "media_aspect_ratio_unsupported",
2369
+ "media_resolution_too_low",
2370
+ "media_gif_unsupported",
2371
+ "media_format_recompressed",
2372
+ "media_resolution_downscaled",
2373
+ "video_container_unsupported",
2374
+ "video_codec_unsupported",
2375
+ "video_audio_codec_unsupported",
2376
+ "video_too_large",
2377
+ "video_too_small",
2378
+ "video_dimensions_unsupported",
2379
+ "video_dimensions_too_large",
2380
+ "video_fps_unsupported",
2381
+ "video_fps_too_low",
2382
+ "video_aspect_unsupported",
2383
+ "video_duration_too_short",
2384
+ "video_duration_exceeds_max",
2385
+ "video_transform_failed",
2386
+ "media_fetch_failed",
2387
+ "document_format_unsupported",
2388
+ "document_too_large",
2389
+ "document_too_many_pages",
2390
+ "media_format_indeterminate",
2391
+ "media_format_unsupported",
2392
+ "media_count_invalid",
2393
+ "body_too_long",
2394
+ "content_missing",
2395
+ "content_conflict",
2396
+ "content_incomplete",
2397
+ "media_type_mismatch",
2398
+ "tag_limit_exceeded",
2399
+ "reel_field_on_non_reel",
2400
+ "field_placement_invalid",
2401
+ "title_too_long",
2402
+ "characters_not_allowed",
2403
+ "media_not_ready",
2404
+ "media_failed",
2405
+ "media_unsupported",
2406
+ "media_kind_mismatch",
2407
+ "variant_unparseable",
2408
+ "publishing_unavailable",
2409
+ "x_duplicate_content",
2410
+ "x_not_authorized",
2411
+ "x_access_not_permitted",
2412
+ "x_rate_limited",
2413
+ "x_publish_failed",
2414
+ "x_media_upload_failed",
2415
+ "x_thread_incomplete",
2416
+ "linkedin_duplicate_content",
2417
+ "linkedin_auth_expired",
2418
+ "linkedin_permission_denied",
2419
+ "linkedin_rate_limited",
2420
+ "linkedin_media_processing",
2421
+ "linkedin_media_failed",
2422
+ "linkedin_media_upload_failed",
2423
+ "linkedin_publish_failed",
2424
+ "instagram_media_processing",
2425
+ "instagram_container_expired",
2426
+ "instagram_container_failed",
2427
+ "instagram_rate_limited",
2428
+ "instagram_daily_limit_reached",
2429
+ "instagram_aspect_ratio_unsupported",
2430
+ "instagram_media_unsupported",
2431
+ "instagram_not_authorized",
2432
+ "instagram_publish_failed",
2433
+ "instagram_comment_failed",
2434
+ "facebook_reel_processing",
2435
+ "facebook_reel_failed",
2436
+ "facebook_rate_limited",
2437
+ "facebook_duplicate_content",
2438
+ "facebook_temporarily_blocked",
2439
+ "facebook_not_authorized",
2440
+ "facebook_publish_failed",
2441
+ "facebook_comment_failed",
2442
+ "tiktok_privacy_not_allowed",
2443
+ "tiktok_interaction_not_allowed",
2444
+ "tiktok_thumbnail_offset_invalid",
2445
+ "tiktok_duration_exceeds_max",
2446
+ "tiktok_media_processing",
2447
+ "tiktok_not_authorized",
2448
+ "tiktok_rate_limited",
2449
+ "tiktok_spam_risk",
2450
+ "tiktok_file_format_invalid",
2451
+ "tiktok_duration_invalid",
2452
+ "tiktok_frame_rate_invalid",
2453
+ "tiktok_resolution_invalid",
2454
+ "tiktok_media_pull_failed",
2455
+ "tiktok_server_error",
2456
+ "tiktok_publish_failed",
2457
+ "youtube_long_upload_not_allowed",
2458
+ "youtube_not_authorized",
2459
+ "youtube_daily_limit_reached",
2460
+ "youtube_upload_failed",
2461
+ "youtube_upload_unconfirmed",
2462
+ "youtube_video_rejected",
2463
+ "youtube_processing_failed",
2464
+ "youtube_thumbnail_failed",
2222
2465
  "post_publish_failed",
2223
2466
  "post_partially_published",
2224
2467
  "connection_platform_mismatch",
@@ -2452,6 +2695,16 @@ var zPostVariantInput = z__namespace.union([
2452
2695
  media_id: z__namespace.string(),
2453
2696
  alt_text_override: z__namespace.string().nullish()
2454
2697
  })).optional().default([])
2698
+ }),
2699
+ z__namespace.object({
2700
+ platform: z__namespace.literal("youtube"),
2701
+ settings: zYouTubePostSettings.optional().default({}),
2702
+ connection_id: z__namespace.string(),
2703
+ body: z__namespace.string().optional(),
2704
+ media: z__namespace.array(z__namespace.object({
2705
+ media_id: z__namespace.string(),
2706
+ alt_text_override: z__namespace.string().nullish()
2707
+ })).optional().default([])
2455
2708
  })
2456
2709
  ]);
2457
2710
  z__namespace.object({
@@ -2583,7 +2836,8 @@ z__namespace.object({
2583
2836
  "linkedin",
2584
2837
  "facebook_page",
2585
2838
  "instagram",
2586
- "tiktok"
2839
+ "tiktok",
2840
+ "youtube"
2587
2841
  ])
2588
2842
  });
2589
2843
  z__namespace.object({
@@ -2986,6 +3240,8 @@ z__namespace.object({
2986
3240
  "tag_limit_exceeded",
2987
3241
  "reel_field_on_non_reel",
2988
3242
  "field_placement_invalid",
3243
+ "title_too_long",
3244
+ "characters_not_allowed",
2989
3245
  "media_not_ready",
2990
3246
  "media_failed",
2991
3247
  "media_unsupported",
@@ -3040,6 +3296,14 @@ z__namespace.object({
3040
3296
  "tiktok_media_pull_failed",
3041
3297
  "tiktok_server_error",
3042
3298
  "tiktok_publish_failed",
3299
+ "youtube_long_upload_not_allowed",
3300
+ "youtube_not_authorized",
3301
+ "youtube_daily_limit_reached",
3302
+ "youtube_upload_failed",
3303
+ "youtube_upload_unconfirmed",
3304
+ "youtube_video_rejected",
3305
+ "youtube_processing_failed",
3306
+ "youtube_thumbnail_failed",
3043
3307
  "post_publish_failed",
3044
3308
  "post_partially_published",
3045
3309
  "connection_platform_mismatch",
@@ -3082,7 +3346,8 @@ z__namespace.object({
3082
3346
  "linkedin",
3083
3347
  "facebook_page",
3084
3348
  "instagram",
3085
- "tiktok"
3349
+ "tiktok",
3350
+ "youtube"
3086
3351
  ]).optional(),
3087
3352
  status: z__namespace.enum([
3088
3353
  "pending",
@@ -3124,7 +3389,8 @@ z__namespace.object({
3124
3389
  "linkedin",
3125
3390
  "facebook_page",
3126
3391
  "instagram",
3127
- "tiktok"
3392
+ "tiktok",
3393
+ "youtube"
3128
3394
  ]).nullable(),
3129
3395
  request_method: z__namespace.string().nullable(),
3130
3396
  request_path: z__namespace.string().nullable(),
@@ -3195,6 +3461,8 @@ z__namespace.object({
3195
3461
  "tag_limit_exceeded",
3196
3462
  "reel_field_on_non_reel",
3197
3463
  "field_placement_invalid",
3464
+ "title_too_long",
3465
+ "characters_not_allowed",
3198
3466
  "media_not_ready",
3199
3467
  "media_failed",
3200
3468
  "media_unsupported",
@@ -3249,6 +3517,14 @@ z__namespace.object({
3249
3517
  "tiktok_media_pull_failed",
3250
3518
  "tiktok_server_error",
3251
3519
  "tiktok_publish_failed",
3520
+ "youtube_long_upload_not_allowed",
3521
+ "youtube_not_authorized",
3522
+ "youtube_daily_limit_reached",
3523
+ "youtube_upload_failed",
3524
+ "youtube_upload_unconfirmed",
3525
+ "youtube_video_rejected",
3526
+ "youtube_processing_failed",
3527
+ "youtube_thumbnail_failed",
3252
3528
  "post_publish_failed",
3253
3529
  "post_partially_published",
3254
3530
  "connection_platform_mismatch",
@@ -3280,7 +3556,8 @@ z__namespace.object({
3280
3556
  "linkedin",
3281
3557
  "facebook_page",
3282
3558
  "instagram",
3283
- "tiktok"
3559
+ "tiktok",
3560
+ "youtube"
3284
3561
  ]),
3285
3562
  status: z__namespace.enum([
3286
3563
  "draft",
@@ -3357,6 +3634,8 @@ z__namespace.object({
3357
3634
  "tag_limit_exceeded",
3358
3635
  "reel_field_on_non_reel",
3359
3636
  "field_placement_invalid",
3637
+ "title_too_long",
3638
+ "characters_not_allowed",
3360
3639
  "media_not_ready",
3361
3640
  "media_failed",
3362
3641
  "media_unsupported",
@@ -3411,6 +3690,14 @@ z__namespace.object({
3411
3690
  "tiktok_media_pull_failed",
3412
3691
  "tiktok_server_error",
3413
3692
  "tiktok_publish_failed",
3693
+ "youtube_long_upload_not_allowed",
3694
+ "youtube_not_authorized",
3695
+ "youtube_daily_limit_reached",
3696
+ "youtube_upload_failed",
3697
+ "youtube_upload_unconfirmed",
3698
+ "youtube_video_rejected",
3699
+ "youtube_processing_failed",
3700
+ "youtube_thumbnail_failed",
3414
3701
  "post_publish_failed",
3415
3702
  "post_partially_published",
3416
3703
  "connection_platform_mismatch",
@@ -3492,6 +3779,8 @@ z__namespace.object({
3492
3779
  "tag_limit_exceeded",
3493
3780
  "reel_field_on_non_reel",
3494
3781
  "field_placement_invalid",
3782
+ "title_too_long",
3783
+ "characters_not_allowed",
3495
3784
  "media_not_ready",
3496
3785
  "media_failed",
3497
3786
  "media_unsupported",
@@ -3546,6 +3835,14 @@ z__namespace.object({
3546
3835
  "tiktok_media_pull_failed",
3547
3836
  "tiktok_server_error",
3548
3837
  "tiktok_publish_failed",
3838
+ "youtube_long_upload_not_allowed",
3839
+ "youtube_not_authorized",
3840
+ "youtube_daily_limit_reached",
3841
+ "youtube_upload_failed",
3842
+ "youtube_upload_unconfirmed",
3843
+ "youtube_video_rejected",
3844
+ "youtube_processing_failed",
3845
+ "youtube_thumbnail_failed",
3549
3846
  "post_publish_failed",
3550
3847
  "post_partially_published",
3551
3848
  "connection_platform_mismatch",
@@ -3605,7 +3902,8 @@ z__namespace.object({
3605
3902
  "linkedin",
3606
3903
  "facebook_page",
3607
3904
  "instagram",
3608
- "tiktok"
3905
+ "tiktok",
3906
+ "youtube"
3609
3907
  ]).nullable(),
3610
3908
  request_method: z__namespace.string().nullable(),
3611
3909
  request_path: z__namespace.string().nullable(),
@@ -3676,6 +3974,8 @@ z__namespace.object({
3676
3974
  "tag_limit_exceeded",
3677
3975
  "reel_field_on_non_reel",
3678
3976
  "field_placement_invalid",
3977
+ "title_too_long",
3978
+ "characters_not_allowed",
3679
3979
  "media_not_ready",
3680
3980
  "media_failed",
3681
3981
  "media_unsupported",
@@ -3730,6 +4030,14 @@ z__namespace.object({
3730
4030
  "tiktok_media_pull_failed",
3731
4031
  "tiktok_server_error",
3732
4032
  "tiktok_publish_failed",
4033
+ "youtube_long_upload_not_allowed",
4034
+ "youtube_not_authorized",
4035
+ "youtube_daily_limit_reached",
4036
+ "youtube_upload_failed",
4037
+ "youtube_upload_unconfirmed",
4038
+ "youtube_video_rejected",
4039
+ "youtube_processing_failed",
4040
+ "youtube_thumbnail_failed",
3733
4041
  "post_publish_failed",
3734
4042
  "post_partially_published",
3735
4043
  "connection_platform_mismatch",
@@ -3761,7 +4069,8 @@ z__namespace.object({
3761
4069
  "linkedin",
3762
4070
  "facebook_page",
3763
4071
  "instagram",
3764
- "tiktok"
4072
+ "tiktok",
4073
+ "youtube"
3765
4074
  ]),
3766
4075
  status: z__namespace.enum([
3767
4076
  "draft",
@@ -3838,6 +4147,8 @@ z__namespace.object({
3838
4147
  "tag_limit_exceeded",
3839
4148
  "reel_field_on_non_reel",
3840
4149
  "field_placement_invalid",
4150
+ "title_too_long",
4151
+ "characters_not_allowed",
3841
4152
  "media_not_ready",
3842
4153
  "media_failed",
3843
4154
  "media_unsupported",
@@ -3892,6 +4203,14 @@ z__namespace.object({
3892
4203
  "tiktok_media_pull_failed",
3893
4204
  "tiktok_server_error",
3894
4205
  "tiktok_publish_failed",
4206
+ "youtube_long_upload_not_allowed",
4207
+ "youtube_not_authorized",
4208
+ "youtube_daily_limit_reached",
4209
+ "youtube_upload_failed",
4210
+ "youtube_upload_unconfirmed",
4211
+ "youtube_video_rejected",
4212
+ "youtube_processing_failed",
4213
+ "youtube_thumbnail_failed",
3895
4214
  "post_publish_failed",
3896
4215
  "post_partially_published",
3897
4216
  "connection_platform_mismatch",
@@ -3973,6 +4292,8 @@ z__namespace.object({
3973
4292
  "tag_limit_exceeded",
3974
4293
  "reel_field_on_non_reel",
3975
4294
  "field_placement_invalid",
4295
+ "title_too_long",
4296
+ "characters_not_allowed",
3976
4297
  "media_not_ready",
3977
4298
  "media_failed",
3978
4299
  "media_unsupported",
@@ -4027,6 +4348,14 @@ z__namespace.object({
4027
4348
  "tiktok_media_pull_failed",
4028
4349
  "tiktok_server_error",
4029
4350
  "tiktok_publish_failed",
4351
+ "youtube_long_upload_not_allowed",
4352
+ "youtube_not_authorized",
4353
+ "youtube_daily_limit_reached",
4354
+ "youtube_upload_failed",
4355
+ "youtube_upload_unconfirmed",
4356
+ "youtube_video_rejected",
4357
+ "youtube_processing_failed",
4358
+ "youtube_thumbnail_failed",
4030
4359
  "post_publish_failed",
4031
4360
  "post_partially_published",
4032
4361
  "connection_platform_mismatch",