@postrun/js 1.2.0 → 1.3.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.
@@ -361,7 +361,7 @@ type ClientOptions = {
361
361
  *
362
362
  * The closed set of machine-readable Postrun error codes. Branch on this. Each links to https://docs.postrun.ai/errors/<code>.
363
363
  */
364
- type ErrorCode = 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'connection_in_use' | 'not_implemented' | 'connection_discovery_failed' | 'media_processing' | 'not_publishable' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_media_processing' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_publish_failed' | 'connection_platform_mismatch';
364
+ type ErrorCode = 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'connection_in_use' | 'not_implemented' | 'connection_discovery_failed' | 'media_processing' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_media_processing' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_publish_failed' | 'connection_platform_mismatch';
365
365
  type ProfilesListData = {
366
366
  body?: never;
367
367
  path?: never;
@@ -5981,7 +5981,7 @@ type PostsCreateErrors = {
5981
5981
  /**
5982
5982
  * The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
5983
5983
  */
5984
- code: 'idempotency_key_reused' | 'internal_error' | 'not_publishable';
5984
+ code: 'idempotency_key_reused' | 'invalid_connection' | 'invalid_media' | 'internal_error' | 'not_publishable';
5985
5985
  /**
5986
5986
  * An occurrence-specific, human-readable explanation.
5987
5987
  */
@@ -5990,6 +5990,35 @@ type PostsCreateErrors = {
5990
5990
  * The request id, for support and log correlation.
5991
5991
  */
5992
5992
  request_id?: string;
5993
+ /**
5994
+ * The specific fields that failed validation or publish-readiness.
5995
+ */
5996
+ errors?: Array<{
5997
+ /**
5998
+ * Dot-path to the invalid field, e.g. `variants.0.body`.
5999
+ */
6000
+ field: string;
6001
+ /**
6002
+ * The validation or publish-readiness rule that failed.
6003
+ */
6004
+ code: string;
6005
+ /**
6006
+ * What is wrong with this field.
6007
+ */
6008
+ detail: string;
6009
+ /**
6010
+ * How to fix it (publish-readiness failures).
6011
+ */
6012
+ hint?: string;
6013
+ /**
6014
+ * The accepted value(s) for this field, when known.
6015
+ */
6016
+ allowed?: Array<string>;
6017
+ /**
6018
+ * The value received, when known.
6019
+ */
6020
+ got?: string;
6021
+ }>;
5993
6022
  };
5994
6023
  /**
5995
6024
  * An RFC 9457 problem response.
@@ -7219,7 +7248,7 @@ type PostsUpdateErrors = {
7219
7248
  /**
7220
7249
  * The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
7221
7250
  */
7222
- code: 'idempotency_key_reused' | 'internal_error' | 'not_publishable';
7251
+ code: 'idempotency_key_reused' | 'invalid_connection' | 'invalid_media' | 'internal_error' | 'not_publishable';
7223
7252
  /**
7224
7253
  * An occurrence-specific, human-readable explanation.
7225
7254
  */
@@ -7228,6 +7257,35 @@ type PostsUpdateErrors = {
7228
7257
  * The request id, for support and log correlation.
7229
7258
  */
7230
7259
  request_id?: string;
7260
+ /**
7261
+ * The specific fields that failed validation or publish-readiness.
7262
+ */
7263
+ errors?: Array<{
7264
+ /**
7265
+ * Dot-path to the invalid field, e.g. `variants.0.body`.
7266
+ */
7267
+ field: string;
7268
+ /**
7269
+ * The validation or publish-readiness rule that failed.
7270
+ */
7271
+ code: string;
7272
+ /**
7273
+ * What is wrong with this field.
7274
+ */
7275
+ detail: string;
7276
+ /**
7277
+ * How to fix it (publish-readiness failures).
7278
+ */
7279
+ hint?: string;
7280
+ /**
7281
+ * The accepted value(s) for this field, when known.
7282
+ */
7283
+ allowed?: Array<string>;
7284
+ /**
7285
+ * The value received, when known.
7286
+ */
7287
+ got?: string;
7288
+ }>;
7231
7289
  };
7232
7290
  /**
7233
7291
  * An RFC 9457 problem response.
@@ -7349,6 +7407,635 @@ type PostsUpdateResponses = {
7349
7407
  };
7350
7408
  };
7351
7409
  type PostsUpdateResponse = PostsUpdateResponses[keyof PostsUpdateResponses];
7410
+ type PostsValidateData = {
7411
+ body: {
7412
+ /**
7413
+ * Profile that owns this post.
7414
+ */
7415
+ profile_id: string;
7416
+ /**
7417
+ * A single platform variant of a post: connection, platform, explicit post_type, body, ordered media, and native typed settings.
7418
+ */
7419
+ variants: Array<{
7420
+ platform: 'x';
7421
+ post_type: 'text' | 'single_image' | 'multi_image' | 'video';
7422
+ /**
7423
+ * The connected account this variant publishes to.
7424
+ */
7425
+ connection_id: string;
7426
+ /**
7427
+ * Caption / commentary / message for the post.
7428
+ */
7429
+ body?: string;
7430
+ /**
7431
+ * Ordered media references; the count drives the post-type rules.
7432
+ */
7433
+ media?: Array<{
7434
+ media_id: string;
7435
+ /**
7436
+ * Per-variant crop applied at publish; omit for none.
7437
+ */
7438
+ crop_box?: {
7439
+ [key: string]: unknown;
7440
+ } | null;
7441
+ /**
7442
+ * Per-variant alt text; falls back to the asset's.
7443
+ */
7444
+ alt_text_override?: string | null;
7445
+ }>;
7446
+ /**
7447
+ * X (Twitter) organic post settings.
7448
+ */
7449
+ settings?: {
7450
+ /**
7451
+ * Who may reply. Omit (or `everyone`) = anyone. `everyone` is sugar that is normalised to an omitted field.
7452
+ */
7453
+ reply_settings?: 'everyone' | 'following' | 'mentionedUsers' | 'subscribers' | 'verified';
7454
+ /**
7455
+ * Quote a post by id. Mutually exclusive with poll/card_uri/media. Enterprise-tier at publish.
7456
+ */
7457
+ quote_tweet_id?: string;
7458
+ /**
7459
+ * Create a poll. Mutually exclusive with media, quote, and card_uri.
7460
+ */
7461
+ poll?: {
7462
+ /**
7463
+ * 2–4 options, each 1–25 characters.
7464
+ */
7465
+ options: Array<string>;
7466
+ /**
7467
+ * Poll duration in minutes (5 min – 7 days).
7468
+ */
7469
+ duration_minutes: number;
7470
+ /**
7471
+ * Reply restriction for the poll post (same enum).
7472
+ */
7473
+ reply_settings?: 'following' | 'mentionedUsers' | 'subscribers' | 'verified';
7474
+ };
7475
+ /**
7476
+ * Reply/thread chaining controls.
7477
+ */
7478
+ reply?: {
7479
+ /**
7480
+ * Parent post id; required when `reply` is present.
7481
+ */
7482
+ in_reply_to_tweet_id: string;
7483
+ /**
7484
+ * User ids dropped from the auto-mention chain.
7485
+ */
7486
+ exclude_reply_user_ids?: Array<string>;
7487
+ /**
7488
+ * Auto-prepend the parent participants' @mentions.
7489
+ */
7490
+ auto_populate_reply_metadata?: boolean;
7491
+ };
7492
+ /**
7493
+ * Post to an X Community.
7494
+ */
7495
+ community_id?: string;
7496
+ /**
7497
+ * Restrict to Super Followers (default false).
7498
+ */
7499
+ for_super_followers_only?: boolean;
7500
+ /**
7501
+ * Attach a place.
7502
+ */
7503
+ geo?: {
7504
+ place_id: string;
7505
+ };
7506
+ /**
7507
+ * Cards-API reference. Mutually exclusive with quote/poll/media.
7508
+ */
7509
+ card_uri?: string;
7510
+ /**
7511
+ * Tag ≤10 users on attached media.
7512
+ */
7513
+ media_tagged_user_ids?: Array<string>;
7514
+ };
7515
+ } | {
7516
+ platform: 'linkedin';
7517
+ post_type: 'text' | 'single_image' | 'multi_image' | 'video';
7518
+ /**
7519
+ * The connected account this variant publishes to.
7520
+ */
7521
+ connection_id: string;
7522
+ /**
7523
+ * Caption / commentary / message for the post.
7524
+ */
7525
+ body?: string;
7526
+ /**
7527
+ * Ordered media references; the count drives the post-type rules.
7528
+ */
7529
+ media?: Array<{
7530
+ media_id: string;
7531
+ /**
7532
+ * Per-variant crop applied at publish; omit for none.
7533
+ */
7534
+ crop_box?: {
7535
+ [key: string]: unknown;
7536
+ } | null;
7537
+ /**
7538
+ * Per-variant alt text; falls back to the asset's.
7539
+ */
7540
+ alt_text_override?: string | null;
7541
+ }>;
7542
+ /**
7543
+ * LinkedIn personal member post settings.
7544
+ */
7545
+ settings: {
7546
+ /**
7547
+ * Audience. PUBLIC or CONNECTIONS — CONTAINER/LOGGED_IN are invalid for member posts.
7548
+ */
7549
+ visibility: 'PUBLIC' | 'CONNECTIONS';
7550
+ /**
7551
+ * Which content shape this post carries (mutually exclusive with the others).
7552
+ */
7553
+ content_kind: 'text' | 'single_image' | 'video' | 'multi_image' | 'document' | 'article' | 'poll';
7554
+ /**
7555
+ * An article share card.
7556
+ */
7557
+ article?: {
7558
+ /**
7559
+ * Article URL. Required for an article post.
7560
+ */
7561
+ source: string;
7562
+ /**
7563
+ * Article headline, ≤400 characters.
7564
+ */
7565
+ title?: string;
7566
+ /**
7567
+ * Subtext on the article card, ≤4086 characters.
7568
+ */
7569
+ description?: string;
7570
+ /**
7571
+ * Optional thumbnail, referenced by OUR media id (resolved to a urn:li:image at publish).
7572
+ */
7573
+ thumbnail_media_id?: string;
7574
+ };
7575
+ /**
7576
+ * A LinkedIn poll (mutually exclusive with other content).
7577
+ */
7578
+ poll?: {
7579
+ /**
7580
+ * The poll question, ≤140 characters.
7581
+ */
7582
+ question: string;
7583
+ /**
7584
+ * 2–4 options, each 1–30 characters.
7585
+ */
7586
+ options: Array<string>;
7587
+ /**
7588
+ * How long the poll runs.
7589
+ */
7590
+ duration: 'ONE_DAY' | 'THREE_DAYS' | 'SEVEN_DAYS' | 'FOURTEEN_DAYS';
7591
+ };
7592
+ /**
7593
+ * Document-post display options (asset rides on media[]).
7594
+ */
7595
+ document?: {
7596
+ /**
7597
+ * Display title shown above the document. Required for document posts.
7598
+ */
7599
+ title: string;
7600
+ };
7601
+ /**
7602
+ * Disable resharing of this post (default false).
7603
+ */
7604
+ disable_reshare?: boolean;
7605
+ /**
7606
+ * Inline @mentions encoded into the commentary at publish.
7607
+ */
7608
+ mentions?: Array<{
7609
+ /**
7610
+ * Whether the mentioned entity is a member or an organization.
7611
+ */
7612
+ type: 'person' | 'organization';
7613
+ /**
7614
+ * Rendered text; must match the entity name (case-sensitive) for the link to convert.
7615
+ */
7616
+ name: string;
7617
+ /**
7618
+ * The mentioned entity urn (supplied by the caller).
7619
+ */
7620
+ urn: string;
7621
+ }>;
7622
+ };
7623
+ } | {
7624
+ platform: 'instagram';
7625
+ post_type: 'single_image' | 'carousel' | 'reel';
7626
+ /**
7627
+ * The connected account this variant publishes to.
7628
+ */
7629
+ connection_id: string;
7630
+ /**
7631
+ * Caption / commentary / message for the post.
7632
+ */
7633
+ body?: string;
7634
+ /**
7635
+ * Ordered media references; the count drives the post-type rules.
7636
+ */
7637
+ media?: Array<{
7638
+ media_id: string;
7639
+ /**
7640
+ * Per-variant crop applied at publish; omit for none.
7641
+ */
7642
+ crop_box?: {
7643
+ [key: string]: unknown;
7644
+ } | null;
7645
+ /**
7646
+ * Per-variant alt text; falls back to the asset's.
7647
+ */
7648
+ alt_text_override?: string | null;
7649
+ }>;
7650
+ /**
7651
+ * Instagram organic post settings (feed image/carousel + reels).
7652
+ */
7653
+ settings: {
7654
+ /**
7655
+ * Feed image, carousel, or reel. Defaults to IMAGE for a single image.
7656
+ */
7657
+ media_type?: 'IMAGE' | 'CAROUSEL' | 'REELS';
7658
+ /**
7659
+ * Facebook Page id representing a location.
7660
+ */
7661
+ location_id?: string;
7662
+ /**
7663
+ * Tag users on an image; x/y are fractional positions in [0,1].
7664
+ */
7665
+ user_tags?: Array<{
7666
+ /**
7667
+ * IG username to tag.
7668
+ */
7669
+ username: string;
7670
+ /**
7671
+ * Horizontal position on the image, in [0,1].
7672
+ */
7673
+ x: number;
7674
+ /**
7675
+ * Vertical position on the image, in [0,1].
7676
+ */
7677
+ y: number;
7678
+ }>;
7679
+ /**
7680
+ * ≤3 co-author usernames.
7681
+ */
7682
+ collaborators?: Array<string>;
7683
+ /**
7684
+ * Reel also appears in the main feed.
7685
+ */
7686
+ share_to_feed?: boolean;
7687
+ /**
7688
+ * Reel cover frame offset (ms).
7689
+ */
7690
+ thumb_offset?: number;
7691
+ /**
7692
+ * Custom reel cover image URL.
7693
+ */
7694
+ cover_url?: string;
7695
+ /**
7696
+ * Label for the reel's original audio.
7697
+ */
7698
+ audio_name?: string;
7699
+ };
7700
+ } | {
7701
+ platform: 'facebook_page';
7702
+ post_type: 'text' | 'single_image' | 'multi_image' | 'reel';
7703
+ /**
7704
+ * The connected account this variant publishes to.
7705
+ */
7706
+ connection_id: string;
7707
+ /**
7708
+ * Caption / commentary / message for the post.
7709
+ */
7710
+ body?: string;
7711
+ /**
7712
+ * Ordered media references; the count drives the post-type rules.
7713
+ */
7714
+ media?: Array<{
7715
+ media_id: string;
7716
+ /**
7717
+ * Per-variant crop applied at publish; omit for none.
7718
+ */
7719
+ crop_box?: {
7720
+ [key: string]: unknown;
7721
+ } | null;
7722
+ /**
7723
+ * Per-variant alt text; falls back to the asset's.
7724
+ */
7725
+ alt_text_override?: string | null;
7726
+ }>;
7727
+ /**
7728
+ * Facebook Page organic post settings.
7729
+ */
7730
+ settings?: {
7731
+ /**
7732
+ * URL to unfurl. A feed post needs a body (message) OR a link.
7733
+ */
7734
+ link?: string;
7735
+ };
7736
+ } | {
7737
+ platform: 'tiktok';
7738
+ post_type: 'video' | 'single_image' | 'carousel';
7739
+ /**
7740
+ * The connected account this variant publishes to.
7741
+ */
7742
+ connection_id: string;
7743
+ /**
7744
+ * Caption / commentary / message for the post.
7745
+ */
7746
+ body?: string;
7747
+ /**
7748
+ * Ordered media references; the count drives the post-type rules.
7749
+ */
7750
+ media?: Array<{
7751
+ media_id: string;
7752
+ /**
7753
+ * Per-variant crop applied at publish; omit for none.
7754
+ */
7755
+ crop_box?: {
7756
+ [key: string]: unknown;
7757
+ } | null;
7758
+ /**
7759
+ * Per-variant alt text; falls back to the asset's.
7760
+ */
7761
+ alt_text_override?: string | null;
7762
+ }>;
7763
+ /**
7764
+ * TikTok organic post settings (Direct Post: video + photo).
7765
+ */
7766
+ settings?: {
7767
+ /**
7768
+ * Audience for the post. The per-account allowed set is returned by creator_info at publish; an out-of-set value is rejected then. Unaudited apps may only use SELF_ONLY.
7769
+ */
7770
+ privacy_level?: 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | 'SELF_ONLY';
7771
+ /**
7772
+ * Disable comments on this post.
7773
+ */
7774
+ disable_comment?: boolean;
7775
+ /**
7776
+ * Disable Duet (video only).
7777
+ */
7778
+ disable_duet?: boolean;
7779
+ /**
7780
+ * Disable Stitch (video only).
7781
+ */
7782
+ disable_stitch?: boolean;
7783
+ /**
7784
+ * Video cover frame offset (ms). Video posts only.
7785
+ */
7786
+ video_cover_timestamp_ms?: number;
7787
+ /**
7788
+ * Which carousel image is the cover (0-based index into the ordered image list). Photo posts only.
7789
+ */
7790
+ photo_cover_index?: number;
7791
+ /**
7792
+ * Auto-add a TikTok soundtrack. Photo posts only.
7793
+ */
7794
+ auto_add_music?: boolean;
7795
+ /**
7796
+ * Disclose a paid partnership (branded content).
7797
+ */
7798
+ brand_content_toggle?: boolean;
7799
+ /**
7800
+ * Disclose own-brand promotional content.
7801
+ */
7802
+ brand_organic_toggle?: boolean;
7803
+ /**
7804
+ * Disclose AI-generated content. Video posts only.
7805
+ */
7806
+ is_aigc?: boolean;
7807
+ };
7808
+ }>;
7809
+ };
7810
+ path?: never;
7811
+ query?: never;
7812
+ url: '/posts/validate';
7813
+ };
7814
+ type PostsValidateErrors = {
7815
+ /**
7816
+ * An RFC 9457 problem response.
7817
+ */
7818
+ 400: {
7819
+ /**
7820
+ * A URL to this code's documentation page.
7821
+ */
7822
+ type: string;
7823
+ /**
7824
+ * A stable, human-readable summary of the error code.
7825
+ */
7826
+ title: string;
7827
+ /**
7828
+ * The HTTP status code.
7829
+ */
7830
+ status: number;
7831
+ /**
7832
+ * The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
7833
+ */
7834
+ code: 'idempotency_key_invalid';
7835
+ /**
7836
+ * An occurrence-specific, human-readable explanation.
7837
+ */
7838
+ detail?: string;
7839
+ /**
7840
+ * The request id, for support and log correlation.
7841
+ */
7842
+ request_id?: string;
7843
+ };
7844
+ /**
7845
+ * An RFC 9457 problem response.
7846
+ */
7847
+ 401: {
7848
+ /**
7849
+ * A URL to this code's documentation page.
7850
+ */
7851
+ type: string;
7852
+ /**
7853
+ * A stable, human-readable summary of the error code.
7854
+ */
7855
+ title: string;
7856
+ /**
7857
+ * The HTTP status code.
7858
+ */
7859
+ status: number;
7860
+ /**
7861
+ * The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
7862
+ */
7863
+ code: 'unauthorized';
7864
+ /**
7865
+ * An occurrence-specific, human-readable explanation.
7866
+ */
7867
+ detail?: string;
7868
+ /**
7869
+ * The request id, for support and log correlation.
7870
+ */
7871
+ request_id?: string;
7872
+ };
7873
+ /**
7874
+ * An RFC 9457 problem response.
7875
+ */
7876
+ 403: {
7877
+ /**
7878
+ * A URL to this code's documentation page.
7879
+ */
7880
+ type: string;
7881
+ /**
7882
+ * A stable, human-readable summary of the error code.
7883
+ */
7884
+ title: string;
7885
+ /**
7886
+ * The HTTP status code.
7887
+ */
7888
+ status: number;
7889
+ /**
7890
+ * The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
7891
+ */
7892
+ code: 'forbidden';
7893
+ /**
7894
+ * An occurrence-specific, human-readable explanation.
7895
+ */
7896
+ detail?: string;
7897
+ /**
7898
+ * The request id, for support and log correlation.
7899
+ */
7900
+ request_id?: string;
7901
+ };
7902
+ /**
7903
+ * An RFC 9457 problem response.
7904
+ */
7905
+ 404: {
7906
+ /**
7907
+ * A URL to this code's documentation page.
7908
+ */
7909
+ type: string;
7910
+ /**
7911
+ * A stable, human-readable summary of the error code.
7912
+ */
7913
+ title: string;
7914
+ /**
7915
+ * The HTTP status code.
7916
+ */
7917
+ status: number;
7918
+ /**
7919
+ * The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
7920
+ */
7921
+ code: 'not_found';
7922
+ /**
7923
+ * An occurrence-specific, human-readable explanation.
7924
+ */
7925
+ detail?: string;
7926
+ /**
7927
+ * The request id, for support and log correlation.
7928
+ */
7929
+ request_id?: string;
7930
+ };
7931
+ /**
7932
+ * An RFC 9457 problem response.
7933
+ */
7934
+ 409: {
7935
+ /**
7936
+ * A URL to this code's documentation page.
7937
+ */
7938
+ type: string;
7939
+ /**
7940
+ * A stable, human-readable summary of the error code.
7941
+ */
7942
+ title: string;
7943
+ /**
7944
+ * The HTTP status code.
7945
+ */
7946
+ status: number;
7947
+ /**
7948
+ * The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
7949
+ */
7950
+ code: 'conflict' | 'idempotency_request_in_progress';
7951
+ /**
7952
+ * An occurrence-specific, human-readable explanation.
7953
+ */
7954
+ detail?: string;
7955
+ /**
7956
+ * The request id, for support and log correlation.
7957
+ */
7958
+ request_id?: string;
7959
+ };
7960
+ /**
7961
+ * An RFC 9457 problem response.
7962
+ */
7963
+ 422: {
7964
+ /**
7965
+ * A URL to this code's documentation page.
7966
+ */
7967
+ type: string;
7968
+ /**
7969
+ * A stable, human-readable summary of the error code.
7970
+ */
7971
+ title: string;
7972
+ /**
7973
+ * The HTTP status code.
7974
+ */
7975
+ status: number;
7976
+ /**
7977
+ * The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
7978
+ */
7979
+ code: 'idempotency_key_reused' | 'invalid_connection' | 'invalid_media';
7980
+ /**
7981
+ * An occurrence-specific, human-readable explanation.
7982
+ */
7983
+ detail?: string;
7984
+ /**
7985
+ * The request id, for support and log correlation.
7986
+ */
7987
+ request_id?: string;
7988
+ };
7989
+ /**
7990
+ * An RFC 9457 problem response.
7991
+ */
7992
+ 429: {
7993
+ /**
7994
+ * A URL to this code's documentation page.
7995
+ */
7996
+ type: string;
7997
+ /**
7998
+ * A stable, human-readable summary of the error code.
7999
+ */
8000
+ title: string;
8001
+ /**
8002
+ * The HTTP status code.
8003
+ */
8004
+ status: number;
8005
+ /**
8006
+ * The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
8007
+ */
8008
+ code: 'rate_limited';
8009
+ /**
8010
+ * An occurrence-specific, human-readable explanation.
8011
+ */
8012
+ detail?: string;
8013
+ /**
8014
+ * The request id, for support and log correlation.
8015
+ */
8016
+ request_id?: string;
8017
+ };
8018
+ };
8019
+ type PostsValidateError = PostsValidateErrors[keyof PostsValidateErrors];
8020
+ type PostsValidateResponses = {
8021
+ /**
8022
+ * OK
8023
+ */
8024
+ 200: {
8025
+ object: 'validation';
8026
+ publishable: boolean;
8027
+ issues: Array<{
8028
+ code: 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'connection_in_use' | 'not_implemented' | 'connection_discovery_failed' | 'media_processing' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_media_processing' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_publish_failed' | 'connection_platform_mismatch';
8029
+ message: string;
8030
+ hint?: string;
8031
+ allowed?: Array<string>;
8032
+ got?: string;
8033
+ variant_index: number;
8034
+ path: Array<string | number>;
8035
+ }>;
8036
+ };
8037
+ };
8038
+ type PostsValidateResponse = PostsValidateResponses[keyof PostsValidateResponses];
7352
8039
  type MetaAccountData = {
7353
8040
  body?: never;
7354
8041
  path: {
@@ -23031,4 +23718,4 @@ type TokensMintResponses = {
23031
23718
  };
23032
23719
  type TokensMintResponse = TokensMintResponses[keyof TokensMintResponses];
23033
23720
 
23034
- export { type GoogleDeleteCampaignData as $, type GoogleCreateBudgetErrors as A, type GoogleCreateCampaignData as B, type Client as C, type GoogleCreateCampaignResponses as D, type GoogleCreateCampaignErrors as E, type GoogleCreateConversionActionData as F, type GoogleCreateAdData as G, type GoogleCreateConversionActionResponses as H, type GoogleCreateConversionActionErrors as I, type GoogleCreateDisplayAdData as J, type GoogleCreateDisplayAdResponses as K, type GoogleCreateDisplayAdErrors as L, type GoogleCreateKeywordData as M, type GoogleCreateKeywordResponses as N, type Options as O, type GoogleCreateKeywordErrors as P, type GoogleDeleteAdData as Q, type RequestResult as R, type GoogleDeleteAdResponses as S, type TDataShape as T, type GoogleDeleteAdErrors as U, type GoogleDeleteAdGroupData as V, type GoogleDeleteAdGroupResponses as W, type GoogleDeleteAdGroupErrors as X, type GoogleDeleteBudgetData as Y, type GoogleDeleteBudgetResponses as Z, type GoogleDeleteBudgetErrors as _, type ClientMeta as a, type GoogleListKeywordsResponses as a$, type GoogleDeleteCampaignResponses as a0, type GoogleDeleteCampaignErrors as a1, type GoogleDeleteKeywordData as a2, type GoogleDeleteKeywordResponses as a3, type GoogleDeleteKeywordErrors as a4, type GoogleEditAdGroupData as a5, type GoogleEditAdGroupResponses as a6, type GoogleEditAdGroupErrors as a7, type GoogleEditBudgetData as a8, type GoogleEditBudgetResponses as a9, type GoogleGetCampaignResponses as aA, type GoogleGetCampaignErrors as aB, type GoogleGetConversionActionData as aC, type GoogleGetConversionActionResponses as aD, type GoogleGetConversionActionErrors as aE, type GoogleGetInsightsData as aF, type GoogleGetInsightsResponses as aG, type GoogleGetInsightsErrors as aH, type GoogleGetKeywordData as aI, type GoogleGetKeywordResponses as aJ, type GoogleGetKeywordErrors as aK, type GoogleListAdGroupsData as aL, type GoogleListAdGroupsResponses as aM, type GoogleListAdGroupsErrors as aN, type GoogleListAdsData as aO, type GoogleListAdsResponses as aP, type GoogleListAdsErrors as aQ, type GoogleListCampaignsData as aR, type GoogleListCampaignsResponses as aS, type GoogleListCampaignsErrors as aT, type GoogleListConversionActionsData as aU, type GoogleListConversionActionsResponses as aV, type GoogleListConversionActionsErrors as aW, type GoogleListConversionGoalsData as aX, type GoogleListConversionGoalsResponses as aY, type GoogleListConversionGoalsErrors as aZ, type GoogleListKeywordsData as a_, type GoogleEditBudgetErrors as aa, type GoogleEditCampaignData as ab, type GoogleEditCampaignResponses as ac, type GoogleEditCampaignErrors as ad, type GoogleEnableAdData as ae, type GoogleEnableAdResponses as af, type GoogleEnableAdErrors as ag, type GoogleEnableAdGroupData as ah, type GoogleEnableAdGroupResponses as ai, type GoogleEnableAdGroupErrors as aj, type GoogleEnableCampaignData as ak, type GoogleEnableCampaignResponses as al, type GoogleEnableCampaignErrors as am, type GoogleEnableKeywordData as an, type GoogleEnableKeywordResponses as ao, type GoogleEnableKeywordErrors as ap, type GoogleGetAccountData as aq, type GoogleGetAccountResponses as ar, type GoogleGetAccountErrors as as, type GoogleGetAdData as at, type GoogleGetAdResponses as au, type GoogleGetAdErrors as av, type GoogleGetAdGroupData as aw, type GoogleGetAdGroupResponses as ax, type GoogleGetAdGroupErrors as ay, type GoogleGetCampaignData as az, type ConnectionsConnectData as b, type MetaAdsetErrors as b$, type GoogleListKeywordsErrors as b0, type GooglePauseAdData as b1, type GooglePauseAdResponses as b2, type GooglePauseAdErrors as b3, type GooglePauseAdGroupData as b4, type GooglePauseAdGroupResponses as b5, type GooglePauseAdGroupErrors as b6, type GooglePauseCampaignData as b7, type GooglePauseCampaignResponses as b8, type GooglePauseCampaignErrors as b9, type LogsListErrors as bA, type MediaCreateData as bB, type MediaCreateResponses as bC, type MediaCreateErrors as bD, type MediaDeleteData as bE, type MediaDeleteResponses as bF, type MediaDeleteErrors as bG, type MediaGetData as bH, type MediaGetResponses as bI, type MediaGetErrors as bJ, type MediaListData as bK, type MediaListResponses as bL, type MediaListErrors as bM, type MediaUpdateData as bN, type MediaUpdateResponses as bO, type MediaUpdateErrors as bP, type MetaAccountData as bQ, type MetaAccountResponses as bR, type MetaAccountErrors as bS, type MetaAdData as bT, type MetaAdResponses as bU, type MetaAdErrors as bV, type MetaAdsData as bW, type MetaAdsResponses as bX, type MetaAdsErrors as bY, type MetaAdsetData as bZ, type MetaAdsetResponses as b_, type GooglePauseKeywordData as ba, type GooglePauseKeywordResponses as bb, type GooglePauseKeywordErrors as bc, type GoogleRunGaqlData as bd, type GoogleRunGaqlResponses as be, type GoogleRunGaqlErrors as bf, type GoogleSetAdGroupBidsData as bg, type GoogleSetAdGroupBidsResponses as bh, type GoogleSetAdGroupBidsErrors as bi, type GoogleSetConversionGoalData as bj, type GoogleSetConversionGoalResponses as bk, type GoogleSetConversionGoalErrors as bl, type GoogleSetKeywordBidData as bm, type GoogleSetKeywordBidResponses as bn, type GoogleSetKeywordBidErrors as bo, type GoogleUploadConversionsData as bp, type GoogleUploadConversionsResponses as bq, type GoogleUploadConversionsErrors as br, type GoogleUploadImageAssetData as bs, type GoogleUploadImageAssetResponses as bt, type GoogleUploadImageAssetErrors as bu, type LogsGetData as bv, type LogsGetResponses as bw, type LogsGetErrors as bx, type LogsListData as by, type LogsListResponses as bz, type ConnectionsConnectResponses as c, type WebhooksPingData as c$, type MetaAdsetsData as c0, type MetaAdsetsResponses as c1, type MetaAdsetsErrors as c2, type MetaCampaignData as c3, type MetaCampaignResponses as c4, type MetaCampaignErrors as c5, type MetaCampaignsData as c6, type MetaCampaignsResponses as c7, type MetaCampaignsErrors as c8, type MetaInsightsData as c9, type ProfilesListData as cA, type ProfilesListResponses as cB, type ProfilesListErrors as cC, type ProfilesUpdateData as cD, type ProfilesUpdateResponses as cE, type ProfilesUpdateErrors as cF, type TokensMintData as cG, type TokensMintResponses as cH, type TokensMintErrors as cI, type WebhooksCreateEndpointData as cJ, type WebhooksCreateEndpointResponses as cK, type WebhooksCreateEndpointErrors as cL, type WebhooksCreatePortalData as cM, type WebhooksCreatePortalResponses as cN, type WebhooksCreatePortalErrors as cO, type WebhooksDeleteEndpointData as cP, type WebhooksDeleteEndpointResponses as cQ, type WebhooksDeleteEndpointErrors as cR, type WebhooksGetEndpointData as cS, type WebhooksGetEndpointResponses as cT, type WebhooksGetEndpointErrors as cU, type WebhooksListEndpointsData as cV, type WebhooksListEndpointsResponses as cW, type WebhooksListEndpointsErrors as cX, type WebhooksListEventTypesData as cY, type WebhooksListEventTypesResponses as cZ, type WebhooksListEventTypesErrors as c_, type MetaInsightsResponses as ca, type MetaInsightsErrors as cb, type PostsCreateData as cc, type PostsCreateResponses as cd, type PostsCreateErrors as ce, type PostsDeleteData as cf, type PostsDeleteResponses as cg, type PostsDeleteErrors as ch, type PostsGetData as ci, type PostsGetResponses as cj, type PostsGetErrors as ck, type PostsListData as cl, type PostsListResponses as cm, type PostsListErrors as cn, type PostsUpdateData as co, type PostsUpdateResponses as cp, type PostsUpdateErrors as cq, type ProfilesCreateData as cr, type ProfilesCreateResponses as cs, type ProfilesCreateErrors as ct, type ProfilesDeleteData as cu, type ProfilesDeleteResponses as cv, type ProfilesDeleteErrors as cw, type ProfilesGetData as cx, type ProfilesGetResponses as cy, type ProfilesGetErrors as cz, type ConnectionsConnectErrors as d, type GoogleEnableKeywordError as d$, type WebhooksPingResponses as d0, type WebhooksPingErrors as d1, type WebhooksUpdateEndpointData as d2, type WebhooksUpdateEndpointResponses as d3, type WebhooksUpdateEndpointErrors as d4, type ErrorCode as d5, type MediaGetResponse as d6, type ConnectionsConnectResponse as d7, type ConnectionsGetResponse as d8, type ConnectionsListByProfileResponse as d9, type GoogleCreateConversionActionResponse as dA, type GoogleCreateDisplayAdError as dB, type GoogleCreateDisplayAdResponse as dC, type GoogleCreateKeywordError as dD, type GoogleCreateKeywordResponse as dE, type GoogleDeleteAdError as dF, type GoogleDeleteAdGroupError as dG, type GoogleDeleteAdGroupResponse as dH, type GoogleDeleteAdResponse as dI, type GoogleDeleteBudgetError as dJ, type GoogleDeleteBudgetResponse as dK, type GoogleDeleteCampaignError as dL, type GoogleDeleteCampaignResponse as dM, type GoogleDeleteKeywordError as dN, type GoogleDeleteKeywordResponse as dO, type GoogleEditAdGroupError as dP, type GoogleEditAdGroupResponse as dQ, type GoogleEditBudgetError as dR, type GoogleEditBudgetResponse as dS, type GoogleEditCampaignError as dT, type GoogleEditCampaignResponse as dU, type GoogleEnableAdError as dV, type GoogleEnableAdGroupError as dW, type GoogleEnableAdGroupResponse as dX, type GoogleEnableAdResponse as dY, type GoogleEnableCampaignError as dZ, type GoogleEnableCampaignResponse as d_, type MediaCreateResponse as da, type ConnectionsListAccountsResponse as db, type MediaListResponse as dc, type PostsGetResponse as dd, type PostsListResponse as de, type ProfilesGetResponse as df, type ProfilesListResponse as dg, type ClientOptions as dh, type ConnectionsConnectError as di, type ConnectionsDeleteError as dj, type ConnectionsDeleteResponse as dk, type ConnectionsGetError as dl, type ConnectionsListAccountsError as dm, type ConnectionsListByProfileError as dn, type ConnectionsSelectError as dp, type ConnectionsSelectResponse as dq, type GoogleCreateAdError as dr, type GoogleCreateAdGroupError as ds, type GoogleCreateAdGroupResponse as dt, type GoogleCreateAdResponse as du, type GoogleCreateBudgetError as dv, type GoogleCreateBudgetResponse as dw, type GoogleCreateCampaignError as dx, type GoogleCreateCampaignResponse as dy, type GoogleCreateConversionActionError as dz, type ConnectionsDeleteData as e, type MetaAdsResponse as e$, type GoogleEnableKeywordResponse as e0, type GoogleGetAccountError as e1, type GoogleGetAccountResponse as e2, type GoogleGetAdError as e3, type GoogleGetAdGroupError as e4, type GoogleGetAdGroupResponse as e5, type GoogleGetAdResponse as e6, type GoogleGetCampaignError as e7, type GoogleGetCampaignResponse as e8, type GoogleGetConversionActionError as e9, type GoogleRunGaqlResponse as eA, type GoogleSetAdGroupBidsError as eB, type GoogleSetAdGroupBidsResponse as eC, type GoogleSetConversionGoalError as eD, type GoogleSetConversionGoalResponse as eE, type GoogleSetKeywordBidError as eF, type GoogleSetKeywordBidResponse as eG, type GoogleUploadConversionsError as eH, type GoogleUploadConversionsResponse as eI, type GoogleUploadImageAssetError as eJ, type GoogleUploadImageAssetResponse as eK, type LogsGetError as eL, type LogsGetResponse as eM, type LogsListError as eN, type LogsListResponse as eO, type MediaCreateError as eP, type MediaDeleteError as eQ, type MediaDeleteResponse as eR, type MediaGetError as eS, type MediaListError as eT, type MediaUpdateError as eU, type MediaUpdateResponse as eV, type MetaAccountError as eW, type MetaAccountResponse as eX, type MetaAdError as eY, type MetaAdResponse as eZ, type MetaAdsError as e_, type GoogleGetConversionActionResponse as ea, type GoogleGetInsightsError as eb, type GoogleGetInsightsResponse as ec, type GoogleGetKeywordError as ed, type GoogleGetKeywordResponse as ee, type GoogleListAdGroupsError as ef, type GoogleListAdGroupsResponse as eg, type GoogleListAdsError as eh, type GoogleListAdsResponse as ei, type GoogleListCampaignsError as ej, type GoogleListCampaignsResponse as ek, type GoogleListConversionActionsError as el, type GoogleListConversionActionsResponse as em, type GoogleListConversionGoalsError as en, type GoogleListConversionGoalsResponse as eo, type GoogleListKeywordsError as ep, type GoogleListKeywordsResponse as eq, type GooglePauseAdError as er, type GooglePauseAdGroupError as es, type GooglePauseAdGroupResponse as et, type GooglePauseAdResponse as eu, type GooglePauseCampaignError as ev, type GooglePauseCampaignResponse as ew, type GooglePauseKeywordError as ex, type GooglePauseKeywordResponse as ey, type GoogleRunGaqlError as ez, type ConnectionsDeleteResponses as f, type MetaAdsetError as f0, type MetaAdsetResponse as f1, type MetaAdsetsError as f2, type MetaAdsetsResponse as f3, type MetaCampaignError as f4, type MetaCampaignResponse as f5, type MetaCampaignsError as f6, type MetaCampaignsResponse as f7, type MetaInsightsError as f8, type MetaInsightsResponse as f9, type WebhooksGetEndpointError as fA, type WebhooksGetEndpointResponse as fB, type WebhooksListEndpointsError as fC, type WebhooksListEndpointsResponse as fD, type WebhooksListEventTypesError as fE, type WebhooksListEventTypesResponse as fF, type WebhooksPingError as fG, type WebhooksPingResponse as fH, type WebhooksUpdateEndpointError as fI, type WebhooksUpdateEndpointResponse as fJ, createPostrunClient as fK, type PostrunClient as fa, type PostrunClientOptions as fb, type PostsCreateError as fc, type PostsCreateResponse as fd, type PostsDeleteError as fe, type PostsDeleteResponse as ff, type PostsGetError as fg, type PostsListError as fh, type PostsUpdateError as fi, type PostsUpdateResponse as fj, type ProfilesCreateError as fk, type ProfilesCreateResponse as fl, type ProfilesDeleteError as fm, type ProfilesDeleteResponse as fn, type ProfilesGetError as fo, type ProfilesListError as fp, type ProfilesUpdateError as fq, type ProfilesUpdateResponse as fr, type TokensMintError as fs, type TokensMintResponse as ft, type WebhooksCreateEndpointError as fu, type WebhooksCreateEndpointResponse as fv, type WebhooksCreatePortalError as fw, type WebhooksCreatePortalResponse as fx, type WebhooksDeleteEndpointError as fy, type WebhooksDeleteEndpointResponse as fz, type ConnectionsDeleteErrors as g, type ConnectionsGetData as h, type ConnectionsGetResponses as i, type ConnectionsGetErrors as j, type ConnectionsListAccountsData as k, type ConnectionsListAccountsResponses as l, type ConnectionsListAccountsErrors as m, type ConnectionsListByProfileData as n, type ConnectionsListByProfileResponses as o, type ConnectionsListByProfileErrors as p, type ConnectionsSelectData as q, type ConnectionsSelectResponses as r, type ConnectionsSelectErrors as s, type GoogleCreateAdResponses as t, type GoogleCreateAdErrors as u, type GoogleCreateAdGroupData as v, type GoogleCreateAdGroupResponses as w, type GoogleCreateAdGroupErrors as x, type GoogleCreateBudgetData as y, type GoogleCreateBudgetResponses as z };
23721
+ export { type GoogleDeleteCampaignData as $, type GoogleCreateBudgetErrors as A, type GoogleCreateCampaignData as B, type Client as C, type GoogleCreateCampaignResponses as D, type GoogleCreateCampaignErrors as E, type GoogleCreateConversionActionData as F, type GoogleCreateAdData as G, type GoogleCreateConversionActionResponses as H, type GoogleCreateConversionActionErrors as I, type GoogleCreateDisplayAdData as J, type GoogleCreateDisplayAdResponses as K, type GoogleCreateDisplayAdErrors as L, type GoogleCreateKeywordData as M, type GoogleCreateKeywordResponses as N, type Options as O, type GoogleCreateKeywordErrors as P, type GoogleDeleteAdData as Q, type RequestResult as R, type GoogleDeleteAdResponses as S, type TDataShape as T, type GoogleDeleteAdErrors as U, type GoogleDeleteAdGroupData as V, type GoogleDeleteAdGroupResponses as W, type GoogleDeleteAdGroupErrors as X, type GoogleDeleteBudgetData as Y, type GoogleDeleteBudgetResponses as Z, type GoogleDeleteBudgetErrors as _, type ClientMeta as a, type GoogleListKeywordsResponses as a$, type GoogleDeleteCampaignResponses as a0, type GoogleDeleteCampaignErrors as a1, type GoogleDeleteKeywordData as a2, type GoogleDeleteKeywordResponses as a3, type GoogleDeleteKeywordErrors as a4, type GoogleEditAdGroupData as a5, type GoogleEditAdGroupResponses as a6, type GoogleEditAdGroupErrors as a7, type GoogleEditBudgetData as a8, type GoogleEditBudgetResponses as a9, type GoogleGetCampaignResponses as aA, type GoogleGetCampaignErrors as aB, type GoogleGetConversionActionData as aC, type GoogleGetConversionActionResponses as aD, type GoogleGetConversionActionErrors as aE, type GoogleGetInsightsData as aF, type GoogleGetInsightsResponses as aG, type GoogleGetInsightsErrors as aH, type GoogleGetKeywordData as aI, type GoogleGetKeywordResponses as aJ, type GoogleGetKeywordErrors as aK, type GoogleListAdGroupsData as aL, type GoogleListAdGroupsResponses as aM, type GoogleListAdGroupsErrors as aN, type GoogleListAdsData as aO, type GoogleListAdsResponses as aP, type GoogleListAdsErrors as aQ, type GoogleListCampaignsData as aR, type GoogleListCampaignsResponses as aS, type GoogleListCampaignsErrors as aT, type GoogleListConversionActionsData as aU, type GoogleListConversionActionsResponses as aV, type GoogleListConversionActionsErrors as aW, type GoogleListConversionGoalsData as aX, type GoogleListConversionGoalsResponses as aY, type GoogleListConversionGoalsErrors as aZ, type GoogleListKeywordsData as a_, type GoogleEditBudgetErrors as aa, type GoogleEditCampaignData as ab, type GoogleEditCampaignResponses as ac, type GoogleEditCampaignErrors as ad, type GoogleEnableAdData as ae, type GoogleEnableAdResponses as af, type GoogleEnableAdErrors as ag, type GoogleEnableAdGroupData as ah, type GoogleEnableAdGroupResponses as ai, type GoogleEnableAdGroupErrors as aj, type GoogleEnableCampaignData as ak, type GoogleEnableCampaignResponses as al, type GoogleEnableCampaignErrors as am, type GoogleEnableKeywordData as an, type GoogleEnableKeywordResponses as ao, type GoogleEnableKeywordErrors as ap, type GoogleGetAccountData as aq, type GoogleGetAccountResponses as ar, type GoogleGetAccountErrors as as, type GoogleGetAdData as at, type GoogleGetAdResponses as au, type GoogleGetAdErrors as av, type GoogleGetAdGroupData as aw, type GoogleGetAdGroupResponses as ax, type GoogleGetAdGroupErrors as ay, type GoogleGetCampaignData as az, type ConnectionsConnectData as b, type MetaAdsetErrors as b$, type GoogleListKeywordsErrors as b0, type GooglePauseAdData as b1, type GooglePauseAdResponses as b2, type GooglePauseAdErrors as b3, type GooglePauseAdGroupData as b4, type GooglePauseAdGroupResponses as b5, type GooglePauseAdGroupErrors as b6, type GooglePauseCampaignData as b7, type GooglePauseCampaignResponses as b8, type GooglePauseCampaignErrors as b9, type LogsListErrors as bA, type MediaCreateData as bB, type MediaCreateResponses as bC, type MediaCreateErrors as bD, type MediaDeleteData as bE, type MediaDeleteResponses as bF, type MediaDeleteErrors as bG, type MediaGetData as bH, type MediaGetResponses as bI, type MediaGetErrors as bJ, type MediaListData as bK, type MediaListResponses as bL, type MediaListErrors as bM, type MediaUpdateData as bN, type MediaUpdateResponses as bO, type MediaUpdateErrors as bP, type MetaAccountData as bQ, type MetaAccountResponses as bR, type MetaAccountErrors as bS, type MetaAdData as bT, type MetaAdResponses as bU, type MetaAdErrors as bV, type MetaAdsData as bW, type MetaAdsResponses as bX, type MetaAdsErrors as bY, type MetaAdsetData as bZ, type MetaAdsetResponses as b_, type GooglePauseKeywordData as ba, type GooglePauseKeywordResponses as bb, type GooglePauseKeywordErrors as bc, type GoogleRunGaqlData as bd, type GoogleRunGaqlResponses as be, type GoogleRunGaqlErrors as bf, type GoogleSetAdGroupBidsData as bg, type GoogleSetAdGroupBidsResponses as bh, type GoogleSetAdGroupBidsErrors as bi, type GoogleSetConversionGoalData as bj, type GoogleSetConversionGoalResponses as bk, type GoogleSetConversionGoalErrors as bl, type GoogleSetKeywordBidData as bm, type GoogleSetKeywordBidResponses as bn, type GoogleSetKeywordBidErrors as bo, type GoogleUploadConversionsData as bp, type GoogleUploadConversionsResponses as bq, type GoogleUploadConversionsErrors as br, type GoogleUploadImageAssetData as bs, type GoogleUploadImageAssetResponses as bt, type GoogleUploadImageAssetErrors as bu, type LogsGetData as bv, type LogsGetResponses as bw, type LogsGetErrors as bx, type LogsListData as by, type LogsListResponses as bz, type ConnectionsConnectResponses as c, type WebhooksListEventTypesData as c$, type MetaAdsetsData as c0, type MetaAdsetsResponses as c1, type MetaAdsetsErrors as c2, type MetaCampaignData as c3, type MetaCampaignResponses as c4, type MetaCampaignErrors as c5, type MetaCampaignsData as c6, type MetaCampaignsResponses as c7, type MetaCampaignsErrors as c8, type MetaInsightsData as c9, type ProfilesGetData as cA, type ProfilesGetResponses as cB, type ProfilesGetErrors as cC, type ProfilesListData as cD, type ProfilesListResponses as cE, type ProfilesListErrors as cF, type ProfilesUpdateData as cG, type ProfilesUpdateResponses as cH, type ProfilesUpdateErrors as cI, type TokensMintData as cJ, type TokensMintResponses as cK, type TokensMintErrors as cL, type WebhooksCreateEndpointData as cM, type WebhooksCreateEndpointResponses as cN, type WebhooksCreateEndpointErrors as cO, type WebhooksCreatePortalData as cP, type WebhooksCreatePortalResponses as cQ, type WebhooksCreatePortalErrors as cR, type WebhooksDeleteEndpointData as cS, type WebhooksDeleteEndpointResponses as cT, type WebhooksDeleteEndpointErrors as cU, type WebhooksGetEndpointData as cV, type WebhooksGetEndpointResponses as cW, type WebhooksGetEndpointErrors as cX, type WebhooksListEndpointsData as cY, type WebhooksListEndpointsResponses as cZ, type WebhooksListEndpointsErrors as c_, type MetaInsightsResponses as ca, type MetaInsightsErrors as cb, type PostsCreateData as cc, type PostsCreateResponses as cd, type PostsCreateErrors as ce, type PostsDeleteData as cf, type PostsDeleteResponses as cg, type PostsDeleteErrors as ch, type PostsGetData as ci, type PostsGetResponses as cj, type PostsGetErrors as ck, type PostsListData as cl, type PostsListResponses as cm, type PostsListErrors as cn, type PostsUpdateData as co, type PostsUpdateResponses as cp, type PostsUpdateErrors as cq, type PostsValidateData as cr, type PostsValidateResponses as cs, type PostsValidateErrors as ct, type ProfilesCreateData as cu, type ProfilesCreateResponses as cv, type ProfilesCreateErrors as cw, type ProfilesDeleteData as cx, type ProfilesDeleteResponses as cy, type ProfilesDeleteErrors as cz, type ConnectionsConnectErrors as d, type GoogleEnableAdGroupResponse as d$, type WebhooksListEventTypesResponses as d0, type WebhooksListEventTypesErrors as d1, type WebhooksPingData as d2, type WebhooksPingResponses as d3, type WebhooksPingErrors as d4, type WebhooksUpdateEndpointData as d5, type WebhooksUpdateEndpointResponses as d6, type WebhooksUpdateEndpointErrors as d7, type ErrorCode as d8, type MediaGetResponse as d9, type GoogleCreateBudgetResponse as dA, type GoogleCreateCampaignError as dB, type GoogleCreateCampaignResponse as dC, type GoogleCreateConversionActionError as dD, type GoogleCreateConversionActionResponse as dE, type GoogleCreateDisplayAdError as dF, type GoogleCreateDisplayAdResponse as dG, type GoogleCreateKeywordError as dH, type GoogleCreateKeywordResponse as dI, type GoogleDeleteAdError as dJ, type GoogleDeleteAdGroupError as dK, type GoogleDeleteAdGroupResponse as dL, type GoogleDeleteAdResponse as dM, type GoogleDeleteBudgetError as dN, type GoogleDeleteBudgetResponse as dO, type GoogleDeleteCampaignError as dP, type GoogleDeleteCampaignResponse as dQ, type GoogleDeleteKeywordError as dR, type GoogleDeleteKeywordResponse as dS, type GoogleEditAdGroupError as dT, type GoogleEditAdGroupResponse as dU, type GoogleEditBudgetError as dV, type GoogleEditBudgetResponse as dW, type GoogleEditCampaignError as dX, type GoogleEditCampaignResponse as dY, type GoogleEnableAdError as dZ, type GoogleEnableAdGroupError as d_, type ConnectionsConnectResponse as da, type ConnectionsGetResponse as db, type ConnectionsListByProfileResponse as dc, type MediaCreateResponse as dd, type ConnectionsListAccountsResponse as de, type MediaListResponse as df, type PostsGetResponse as dg, type PostsListResponse as dh, type PostsValidateResponse as di, type ProfilesGetResponse as dj, type ProfilesListResponse as dk, type ClientOptions as dl, type ConnectionsConnectError as dm, type ConnectionsDeleteError as dn, type ConnectionsDeleteResponse as dp, type ConnectionsGetError as dq, type ConnectionsListAccountsError as dr, type ConnectionsListByProfileError as ds, type ConnectionsSelectError as dt, type ConnectionsSelectResponse as du, type GoogleCreateAdError as dv, type GoogleCreateAdGroupError as dw, type GoogleCreateAdGroupResponse as dx, type GoogleCreateAdResponse as dy, type GoogleCreateBudgetError as dz, type ConnectionsDeleteData as e, type MetaAccountResponse as e$, type GoogleEnableAdResponse as e0, type GoogleEnableCampaignError as e1, type GoogleEnableCampaignResponse as e2, type GoogleEnableKeywordError as e3, type GoogleEnableKeywordResponse as e4, type GoogleGetAccountError as e5, type GoogleGetAccountResponse as e6, type GoogleGetAdError as e7, type GoogleGetAdGroupError as e8, type GoogleGetAdGroupResponse as e9, type GooglePauseCampaignResponse as eA, type GooglePauseKeywordError as eB, type GooglePauseKeywordResponse as eC, type GoogleRunGaqlError as eD, type GoogleRunGaqlResponse as eE, type GoogleSetAdGroupBidsError as eF, type GoogleSetAdGroupBidsResponse as eG, type GoogleSetConversionGoalError as eH, type GoogleSetConversionGoalResponse as eI, type GoogleSetKeywordBidError as eJ, type GoogleSetKeywordBidResponse as eK, type GoogleUploadConversionsError as eL, type GoogleUploadConversionsResponse as eM, type GoogleUploadImageAssetError as eN, type GoogleUploadImageAssetResponse as eO, type LogsGetError as eP, type LogsGetResponse as eQ, type LogsListError as eR, type LogsListResponse as eS, type MediaCreateError as eT, type MediaDeleteError as eU, type MediaDeleteResponse as eV, type MediaGetError as eW, type MediaListError as eX, type MediaUpdateError as eY, type MediaUpdateResponse as eZ, type MetaAccountError as e_, type GoogleGetAdResponse as ea, type GoogleGetCampaignError as eb, type GoogleGetCampaignResponse as ec, type GoogleGetConversionActionError as ed, type GoogleGetConversionActionResponse as ee, type GoogleGetInsightsError as ef, type GoogleGetInsightsResponse as eg, type GoogleGetKeywordError as eh, type GoogleGetKeywordResponse as ei, type GoogleListAdGroupsError as ej, type GoogleListAdGroupsResponse as ek, type GoogleListAdsError as el, type GoogleListAdsResponse as em, type GoogleListCampaignsError as en, type GoogleListCampaignsResponse as eo, type GoogleListConversionActionsError as ep, type GoogleListConversionActionsResponse as eq, type GoogleListConversionGoalsError as er, type GoogleListConversionGoalsResponse as es, type GoogleListKeywordsError as et, type GoogleListKeywordsResponse as eu, type GooglePauseAdError as ev, type GooglePauseAdGroupError as ew, type GooglePauseAdGroupResponse as ex, type GooglePauseAdResponse as ey, type GooglePauseCampaignError as ez, type ConnectionsDeleteResponses as f, type MetaAdError as f0, type MetaAdResponse as f1, type MetaAdsError as f2, type MetaAdsResponse as f3, type MetaAdsetError as f4, type MetaAdsetResponse as f5, type MetaAdsetsError as f6, type MetaAdsetsResponse as f7, type MetaCampaignError as f8, type MetaCampaignResponse as f9, type WebhooksCreateEndpointResponse as fA, type WebhooksCreatePortalError as fB, type WebhooksCreatePortalResponse as fC, type WebhooksDeleteEndpointError as fD, type WebhooksDeleteEndpointResponse as fE, type WebhooksGetEndpointError as fF, type WebhooksGetEndpointResponse as fG, type WebhooksListEndpointsError as fH, type WebhooksListEndpointsResponse as fI, type WebhooksListEventTypesError as fJ, type WebhooksListEventTypesResponse as fK, type WebhooksPingError as fL, type WebhooksPingResponse as fM, type WebhooksUpdateEndpointError as fN, type WebhooksUpdateEndpointResponse as fO, createPostrunClient as fP, type MetaCampaignsError as fa, type MetaCampaignsResponse as fb, type MetaInsightsError as fc, type MetaInsightsResponse as fd, type PostrunClient as fe, type PostrunClientOptions as ff, type PostsCreateError as fg, type PostsCreateResponse as fh, type PostsDeleteError as fi, type PostsDeleteResponse as fj, type PostsGetError as fk, type PostsListError as fl, type PostsUpdateError as fm, type PostsUpdateResponse as fn, type PostsValidateError as fo, type ProfilesCreateError as fp, type ProfilesCreateResponse as fq, type ProfilesDeleteError as fr, type ProfilesDeleteResponse as fs, type ProfilesGetError as ft, type ProfilesListError as fu, type ProfilesUpdateError as fv, type ProfilesUpdateResponse as fw, type TokensMintError as fx, type TokensMintResponse as fy, type WebhooksCreateEndpointError as fz, type ConnectionsDeleteErrors as g, type ConnectionsGetData as h, type ConnectionsGetResponses as i, type ConnectionsGetErrors as j, type ConnectionsListAccountsData as k, type ConnectionsListAccountsResponses as l, type ConnectionsListAccountsErrors as m, type ConnectionsListByProfileData as n, type ConnectionsListByProfileResponses as o, type ConnectionsListByProfileErrors as p, type ConnectionsSelectData as q, type ConnectionsSelectResponses as r, type ConnectionsSelectErrors as s, type GoogleCreateAdResponses as t, type GoogleCreateAdErrors as u, type GoogleCreateAdGroupData as v, type GoogleCreateAdGroupResponses as w, type GoogleCreateAdGroupErrors as x, type GoogleCreateBudgetData as y, type GoogleCreateBudgetResponses as z };