@postrun/js 3.0.0 → 3.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.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TDataShape, O as Options$1, C as Client, a as ClientMeta, b as ConnectionsConnectData, R as RequestResult, c as ConnectionsConnectResponses, d as ConnectionsConnectErrors, e as ConnectionsDeleteData, f as ConnectionsDeleteResponses, g as ConnectionsDeleteErrors, h as ConnectionsGetData, i as ConnectionsGetResponses, j as ConnectionsGetErrors, k as ConnectionsListAccountsData, l as ConnectionsListAccountsResponses, m as ConnectionsListAccountsErrors, n as ConnectionsListByProfileData, o as ConnectionsListByProfileResponses, p as ConnectionsListByProfileErrors, q as ConnectionsSelectData, r as ConnectionsSelectResponses, s as ConnectionsSelectErrors, G as GoogleCreateAdData, t as GoogleCreateAdResponses, u as GoogleCreateAdErrors, v as GoogleCreateAdGroupData, w as GoogleCreateAdGroupResponses, x as GoogleCreateAdGroupErrors, y as GoogleCreateAdGroupCriterionData, z as GoogleCreateAdGroupCriterionResponses, A as GoogleCreateAdGroupCriterionErrors, B as GoogleCreateBudgetData, D as GoogleCreateBudgetResponses, E as GoogleCreateBudgetErrors, F as GoogleCreateCampaignData, H as GoogleCreateCampaignResponses, I as GoogleCreateCampaignErrors, J as GoogleCreateCampaignCriterionData, K as GoogleCreateCampaignCriterionResponses, L as GoogleCreateCampaignCriterionErrors, M as GoogleCreateConversionActionData, N as GoogleCreateConversionActionResponses, P as GoogleCreateConversionActionErrors, Q as GoogleCreateDisplayAdData, S as GoogleCreateDisplayAdResponses, U as GoogleCreateDisplayAdErrors, V as GoogleCreateKeywordData, W as GoogleCreateKeywordResponses, X as GoogleCreateKeywordErrors, Y as GoogleEditAccountData, Z as GoogleEditAccountResponses, _ as GoogleEditAccountErrors, $ as GoogleEditAdGroupData, a0 as GoogleEditAdGroupResponses, a1 as GoogleEditAdGroupErrors, a2 as GoogleEditBudgetData, a3 as GoogleEditBudgetResponses, a4 as GoogleEditBudgetErrors, a5 as GoogleEditCampaignData, a6 as GoogleEditCampaignResponses, a7 as GoogleEditCampaignErrors, a8 as GoogleEnableAdData, a9 as GoogleEnableAdResponses, aa as GoogleEnableAdErrors, ab as GoogleEnableAdGroupData, ac as GoogleEnableAdGroupResponses, ad as GoogleEnableAdGroupErrors, ae as GoogleEnableCampaignData, af as GoogleEnableCampaignResponses, ag as GoogleEnableCampaignErrors, ah as GoogleEnableKeywordData, ai as GoogleEnableKeywordResponses, aj as GoogleEnableKeywordErrors, ak as GoogleGetAccountData, al as GoogleGetAccountResponses, am as GoogleGetAccountErrors, an as GoogleGetAdData, ao as GoogleGetAdResponses, ap as GoogleGetAdErrors, aq as GoogleGetAdGroupData, ar as GoogleGetAdGroupResponses, as as GoogleGetAdGroupErrors, at as GoogleGetAdTreeData, au as GoogleGetAdTreeResponses, av as GoogleGetAdTreeErrors, aw as GoogleGetCampaignData, ax as GoogleGetCampaignResponses, ay as GoogleGetCampaignErrors, az as GoogleGetConversionActionData, aA as GoogleGetConversionActionResponses, aB as GoogleGetConversionActionErrors, aC as GoogleGetConversionStatusData, aD as GoogleGetConversionStatusResponses, aE as GoogleGetConversionStatusErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupCriteriaData, aM as GoogleListAdGroupCriteriaResponses, aN as GoogleListAdGroupCriteriaErrors, aO as GoogleListAdGroupsData, aP as GoogleListAdGroupsResponses, aQ as GoogleListAdGroupsErrors, aR as GoogleListAdsData, aS as GoogleListAdsResponses, aT as GoogleListAdsErrors, aU as GoogleListAudiencesData, aV as GoogleListAudiencesResponses, aW as GoogleListAudiencesErrors, aX as GoogleListCampaignCriteriaData, aY as GoogleListCampaignCriteriaResponses, aZ as GoogleListCampaignCriteriaErrors, a_ as GoogleListCampaignsData, a$ as GoogleListCampaignsResponses, b0 as GoogleListCampaignsErrors, b1 as GoogleListConversionActionsData, b2 as GoogleListConversionActionsResponses, b3 as GoogleListConversionActionsErrors, b4 as GoogleListConversionGoalsData, b5 as GoogleListConversionGoalsResponses, b6 as GoogleListConversionGoalsErrors, b7 as GoogleListConversionRequestsData, b8 as GoogleListConversionRequestsResponses, b9 as GoogleListConversionRequestsErrors, ba as GoogleListKeywordsData, bb as GoogleListKeywordsResponses, bc as GoogleListKeywordsErrors, bd as GooglePauseAdData, be as GooglePauseAdResponses, bf as GooglePauseAdErrors, bg as GooglePauseAdGroupData, bh as GooglePauseAdGroupResponses, bi as GooglePauseAdGroupErrors, bj as GooglePauseCampaignData, bk as GooglePauseCampaignResponses, bl as GooglePauseCampaignErrors, bm as GooglePauseKeywordData, bn as GooglePauseKeywordResponses, bo as GooglePauseKeywordErrors, bp as GoogleRemoveAdData, bq as GoogleRemoveAdResponses, br as GoogleRemoveAdErrors, bs as GoogleRemoveAdGroupData, bt as GoogleRemoveAdGroupResponses, bu as GoogleRemoveAdGroupErrors, bv as GoogleRemoveAdGroupCriterionData, bw as GoogleRemoveAdGroupCriterionResponses, bx as GoogleRemoveAdGroupCriterionErrors, by as GoogleRemoveBudgetData, bz as GoogleRemoveBudgetResponses, bA as GoogleRemoveBudgetErrors, bB as GoogleRemoveCampaignData, bC as GoogleRemoveCampaignResponses, bD as GoogleRemoveCampaignErrors, bE as GoogleRemoveCampaignCriterionData, bF as GoogleRemoveCampaignCriterionResponses, bG as GoogleRemoveCampaignCriterionErrors, bH as GoogleRemoveKeywordData, bI as GoogleRemoveKeywordResponses, bJ as GoogleRemoveKeywordErrors, bK as GoogleRunGaqlData, bL as GoogleRunGaqlResponses, bM as GoogleRunGaqlErrors, bN as GoogleSearchGeoTargetsData, bO as GoogleSearchGeoTargetsResponses, bP as GoogleSearchGeoTargetsErrors, bQ as GoogleSendConversionsData, bR as GoogleSendConversionsResponses, bS as GoogleSendConversionsErrors, bT as GoogleSetAdGroupBidsData, bU as GoogleSetAdGroupBidsResponses, bV as GoogleSetAdGroupBidsErrors, bW as GoogleSetCampaignGeoSettingsData, bX as GoogleSetCampaignGeoSettingsResponses, bY as GoogleSetCampaignGeoSettingsErrors, bZ as GoogleSetCampaignTargetingSettingData, b_ as GoogleSetCampaignTargetingSettingResponses, b$ as GoogleSetCampaignTargetingSettingErrors, c0 as GoogleSetConversionGoalData, c1 as GoogleSetConversionGoalResponses, c2 as GoogleSetConversionGoalErrors, c3 as GoogleSetKeywordBidData, c4 as GoogleSetKeywordBidResponses, c5 as GoogleSetKeywordBidErrors, c6 as GoogleUploadImageAssetData, c7 as GoogleUploadImageAssetResponses, c8 as GoogleUploadImageAssetErrors, c9 as LogsGetData, ca as LogsGetResponses, cb as LogsGetErrors, cc as LogsListData, cd as LogsListResponses, ce as LogsListErrors, cf as MediaAbortData, cg as MediaAbortResponses, ch as MediaAbortErrors, ci as MediaCompleteData, cj as MediaCompleteResponses, ck as MediaCompleteErrors, cl as MediaCreateData, cm as MediaCreateResponses, cn as MediaCreateErrors, co as MediaDeleteData, cp as MediaDeleteResponses, cq as MediaDeleteErrors, cr as MediaGetData, cs as MediaGetResponses, ct as MediaGetErrors, cu as MediaListData, cv as MediaListResponses, cw as MediaListErrors, cx as MediaListPartsData, cy as MediaListPartsResponses, cz as MediaListPartsErrors, cA as MediaSignPartData, cB as MediaSignPartResponses, cC as MediaSignPartErrors, cD as MediaUpdateData, cE as MediaUpdateResponses, cF as MediaUpdateErrors, cG as MetaAccountData, cH as MetaAccountResponses, cI as MetaAccountErrors, cJ as MetaAdData, cK as MetaAdResponses, cL as MetaAdErrors, cM as MetaAdsData, cN as MetaAdsResponses, cO as MetaAdsErrors, cP as MetaAdsetData, cQ as MetaAdsetResponses, cR as MetaAdsetErrors, cS as MetaAdsetsData, cT as MetaAdsetsResponses, cU as MetaAdsetsErrors, cV as MetaCampaignData, cW as MetaCampaignResponses, cX as MetaCampaignErrors, cY as MetaCampaignsData, cZ as MetaCampaignsResponses, c_ as MetaCampaignsErrors, c$ as MetaInsightsData, d0 as MetaInsightsResponses, d1 as MetaInsightsErrors, d2 as PostsCreateData, d3 as PostsCreateResponses, d4 as PostsCreateErrors, d5 as PostsDeleteData, d6 as PostsDeleteResponses, d7 as PostsDeleteErrors, d8 as PostsGetData, d9 as PostsGetResponses, da as PostsGetErrors, db as PostsListData, dc as PostsListResponses, dd as PostsListErrors, de as PostsUpdateData, df as PostsUpdateResponses, dg as PostsUpdateErrors, dh as PostsValidateData, di as PostsValidateResponses, dj as PostsValidateErrors, dk as ProfilesCreateData, dl as ProfilesCreateResponses, dm as ProfilesCreateErrors, dn as ProfilesDeleteData, dp as ProfilesDeleteResponses, dq as ProfilesDeleteErrors, dr as ProfilesGetData, ds as ProfilesGetResponses, dt as ProfilesGetErrors, du as ProfilesListData, dv as ProfilesListResponses, dw as ProfilesListErrors, dx as ProfilesUpdateData, dy as ProfilesUpdateResponses, dz as ProfilesUpdateErrors, dA as TiktokCreatorInfoData, dB as TiktokCreatorInfoResponses, dC as TiktokCreatorInfoErrors, dD as TokensMintData, dE as TokensMintResponses, dF as TokensMintErrors, dG as WebhooksCreateEndpointData, dH as WebhooksCreateEndpointResponses, dI as WebhooksCreateEndpointErrors, dJ as WebhooksCreatePortalData, dK as WebhooksCreatePortalResponses, dL as WebhooksCreatePortalErrors, dM as WebhooksDeleteEndpointData, dN as WebhooksDeleteEndpointResponses, dO as WebhooksDeleteEndpointErrors, dP as WebhooksGetEndpointData, dQ as WebhooksGetEndpointResponses, dR as WebhooksGetEndpointErrors, dS as WebhooksListEndpointsData, dT as WebhooksListEndpointsResponses, dU as WebhooksListEndpointsErrors, dV as WebhooksListEventTypesData, dW as WebhooksListEventTypesResponses, dX as WebhooksListEventTypesErrors, dY as WebhooksPingData, dZ as WebhooksPingResponses, d_ as WebhooksPingErrors, d$ as WebhooksUpdateEndpointData, e0 as WebhooksUpdateEndpointResponses, e1 as WebhooksUpdateEndpointErrors, e2 as ErrorCode, e3 as MediaGetResponse, e4 as ConnectionsConnectResponse, e5 as ConnectionsGetResponse, e6 as ConnectionsListByProfileResponse, e7 as MediaCreateResponse, e8 as ConnectionsListAccountsResponse, e9 as MediaListResponse, ea as PostsGetResponse, eb as PostsListResponse, ec as PostsValidateResponse, ed as ProfilesGetResponse, ee as ProfilesListResponse, ef as TiktokCreatorInfoResponse, eg as PostrunClient, eh as GoogleAdTreeNode } from './types.gen-zIKtx009.cjs';
2
- export { ei as ClientOptions, ej as ConnectionsConnectError, ek as ConnectionsDeleteError, el as ConnectionsDeleteResponse, em as ConnectionsGetError, en as ConnectionsListAccountsError, eo as ConnectionsListByProfileError, ep as ConnectionsSelectError, eq as ConnectionsSelectResponse, er as CreatePostBody, es as DiscoverableAccount, et as ErrorSource, eu as GoogleAdTree, ev as GoogleAdsAd, ew as GoogleAdsAdGroup, ex as GoogleAdsAdGroupCriterion, ey as GoogleAdsAudience, ez as GoogleAdsCampaignCriterion, eA as GoogleAdsConversionConsent, eB as GoogleAdsConversionEvent, eC as GoogleAdsConversionRequest, eD as GoogleAdsConversionStatus, eE as GoogleAdsConversionStatusReason, eF as GoogleAdsConversionUserIdentifier, eG as GoogleAdsConversionWarning, eH as GoogleAdsCreateAdGroupCriterionRequest, eI as GoogleAdsCreateCampaignCriterionRequest, eJ as GoogleAdsCreateResult, eK as GoogleAdsDeleteResult, eL as GoogleAdsEditResult, eM as GoogleAdsGeoSettingsRequest, eN as GoogleAdsGeoTargetConstant, eO as GoogleAdsInsightLevel, eP as GoogleAdsInsightMetric, eQ as GoogleAdsInsightSegment, eR as GoogleAdsInsights, eS as GoogleAdsInsightsQuery, eT as GoogleAdsInsightsRow, eU as GoogleAdsKeyword, eV as GoogleAdsReadStatusFilter, eW as GoogleAdsSendConversionsResult, eX as GoogleAdsUrlCustomParameter, eY as GoogleCreateAdError, eZ as GoogleCreateAdGroupCriterionError, e_ as GoogleCreateAdGroupCriterionResponse, e$ as GoogleCreateAdGroupError, f0 as GoogleCreateAdGroupResponse, f1 as GoogleCreateAdResponse, f2 as GoogleCreateBudgetError, f3 as GoogleCreateBudgetResponse, f4 as GoogleCreateCampaignCriterionError, f5 as GoogleCreateCampaignCriterionResponse, f6 as GoogleCreateCampaignError, f7 as GoogleCreateCampaignResponse, f8 as GoogleCreateConversionActionError, f9 as GoogleCreateConversionActionResponse, fa as GoogleCreateDisplayAdError, fb as GoogleCreateDisplayAdResponse, fc as GoogleCreateKeywordError, fd as GoogleCreateKeywordResponse, fe as GoogleEditAccountError, ff as GoogleEditAccountResponse, fg as GoogleEditAdGroupError, fh as GoogleEditAdGroupResponse, fi as GoogleEditBudgetError, fj as GoogleEditBudgetResponse, fk as GoogleEditCampaignError, fl as GoogleEditCampaignResponse, fm as GoogleEnableAdError, fn as GoogleEnableAdGroupError, fo as GoogleEnableAdGroupResponse, fp as GoogleEnableAdResponse, fq as GoogleEnableCampaignError, fr as GoogleEnableCampaignResponse, fs as GoogleEnableKeywordError, ft as GoogleEnableKeywordResponse, fu as GoogleGetAccountError, fv as GoogleGetAccountResponse, fw as GoogleGetAdError, fx as GoogleGetAdGroupError, fy as GoogleGetAdGroupResponse, fz as GoogleGetAdResponse, fA as GoogleGetAdTreeError, fB as GoogleGetAdTreeResponse, fC as GoogleGetCampaignError, fD as GoogleGetCampaignResponse, fE as GoogleGetConversionActionError, fF as GoogleGetConversionActionResponse, fG as GoogleGetConversionStatusError, fH as GoogleGetConversionStatusResponse, fI as GoogleGetInsightsError, fJ as GoogleGetInsightsResponse, fK as GoogleGetKeywordError, fL as GoogleGetKeywordResponse, fM as GoogleListAdGroupCriteriaError, fN as GoogleListAdGroupCriteriaResponse, fO as GoogleListAdGroupsError, fP as GoogleListAdGroupsResponse, fQ as GoogleListAdsError, fR as GoogleListAdsResponse, fS as GoogleListAudiencesError, fT as GoogleListAudiencesResponse, fU as GoogleListCampaignCriteriaError, fV as GoogleListCampaignCriteriaResponse, fW as GoogleListCampaignsError, fX as GoogleListCampaignsResponse, fY as GoogleListConversionActionsError, fZ as GoogleListConversionActionsResponse, f_ as GoogleListConversionGoalsError, f$ as GoogleListConversionGoalsResponse, g0 as GoogleListConversionRequestsError, g1 as GoogleListConversionRequestsResponse, g2 as GoogleListKeywordsError, g3 as GoogleListKeywordsResponse, g4 as GooglePauseAdError, g5 as GooglePauseAdGroupError, g6 as GooglePauseAdGroupResponse, g7 as GooglePauseAdResponse, g8 as GooglePauseCampaignError, g9 as GooglePauseCampaignResponse, ga as GooglePauseKeywordError, gb as GooglePauseKeywordResponse, gc as GoogleRemoveAdError, gd as GoogleRemoveAdGroupCriterionError, ge as GoogleRemoveAdGroupCriterionResponse, gf as GoogleRemoveAdGroupError, gg as GoogleRemoveAdGroupResponse, gh as GoogleRemoveAdResponse, gi as GoogleRemoveBudgetError, gj as GoogleRemoveBudgetResponse, gk as GoogleRemoveCampaignCriterionError, gl as GoogleRemoveCampaignCriterionResponse, gm as GoogleRemoveCampaignError, gn as GoogleRemoveCampaignResponse, go as GoogleRemoveKeywordError, gp as GoogleRemoveKeywordResponse, gq as GoogleRunGaqlError, gr as GoogleRunGaqlResponse, gs as GoogleSearchGeoTargetsError, gt as GoogleSearchGeoTargetsResponse, gu as GoogleSendConversionsError, gv as GoogleSendConversionsResponse, gw as GoogleSetAdGroupBidsError, gx as GoogleSetAdGroupBidsResponse, gy as GoogleSetCampaignGeoSettingsError, gz as GoogleSetCampaignGeoSettingsResponse, gA as GoogleSetCampaignTargetingSettingError, gB as GoogleSetCampaignTargetingSettingResponse, gC as GoogleSetConversionGoalError, gD as GoogleSetConversionGoalResponse, gE as GoogleSetKeywordBidError, gF as GoogleSetKeywordBidResponse, gG as GoogleUploadImageAssetError, gH as GoogleUploadImageAssetResponse, gI as IdempotencyKey, gJ as LogsGetError, gK as LogsGetResponse, gL as LogsListError, gM as LogsListResponse, gN as Media, gO as MediaAbortError, gP as MediaAbortResponse, gQ as MediaCompleteError, gR as MediaCompleteResponse, gS as MediaCreateError, gT as MediaDeleteError, gU as MediaDeleteResponse, gV as MediaGetError, gW as MediaListError, gX as MediaListPartsError, gY as MediaListPartsResponse, gZ as MediaSignPartError, g_ as MediaSignPartResponse, g$ as MediaStage, h0 as MediaUpdateError, h1 as MediaUpdateResponse, h2 as MetaAccountError, h3 as MetaAccountResponse, h4 as MetaAdError, h5 as MetaAdResponse, h6 as MetaAdsError, h7 as MetaAdsResponse, h8 as MetaAdsetError, h9 as MetaAdsetResponse, ha as MetaAdsetsError, hb as MetaAdsetsResponse, hc as MetaCampaignError, hd as MetaCampaignResponse, he as MetaCampaignsError, hf as MetaCampaignsResponse, hg as MetaInsightsError, hh as MetaInsightsResponse, hi as PostVariantStatus, hj as PostrunClientOptions, hk as PostsCreateError, hl as PostsCreateResponse, hm as PostsDeleteError, hn as PostsDeleteResponse, ho as PostsGetError, hp as PostsListError, hq as PostsUpdateError, hr as PostsUpdateResponse, hs as PostsValidateError, ht as ProfilesCreateError, hu as ProfilesCreateResponse, hv as ProfilesDeleteError, hw as ProfilesDeleteResponse, hx as ProfilesGetError, hy as ProfilesListError, hz as ProfilesUpdateError, hA as ProfilesUpdateResponse, hB as TiktokCreatorInfoError, hC as TokensMintError, hD as TokensMintResponse, hE as WebhooksCreateEndpointError, hF as WebhooksCreateEndpointResponse, hG as WebhooksCreatePortalError, hH as WebhooksCreatePortalResponse, hI as WebhooksDeleteEndpointError, hJ as WebhooksDeleteEndpointResponse, hK as WebhooksGetEndpointError, hL as WebhooksGetEndpointResponse, hM as WebhooksListEndpointsError, hN as WebhooksListEndpointsResponse, hO as WebhooksListEventTypesError, hP as WebhooksListEventTypesResponse, hQ as WebhooksPingError, hR as WebhooksPingResponse, hS as WebhooksUpdateEndpointError, hT as WebhooksUpdateEndpointResponse, hU as createPostrunClient } from './types.gen-zIKtx009.cjs';
1
+ import { T as TDataShape, O as Options$1, C as Client, a as ClientMeta, b as ConnectionsConnectData, R as RequestResult, c as ConnectionsConnectResponses, d as ConnectionsConnectErrors, e as ConnectionsDeleteData, f as ConnectionsDeleteResponses, g as ConnectionsDeleteErrors, h as ConnectionsGetData, i as ConnectionsGetResponses, j as ConnectionsGetErrors, k as ConnectionsListAccountsData, l as ConnectionsListAccountsResponses, m as ConnectionsListAccountsErrors, n as ConnectionsListByProfileData, o as ConnectionsListByProfileResponses, p as ConnectionsListByProfileErrors, q as ConnectionsSelectData, r as ConnectionsSelectResponses, s as ConnectionsSelectErrors, G as GoogleCreateAdData, t as GoogleCreateAdResponses, u as GoogleCreateAdErrors, v as GoogleCreateAdGroupData, w as GoogleCreateAdGroupResponses, x as GoogleCreateAdGroupErrors, y as GoogleCreateAdGroupCriterionData, z as GoogleCreateAdGroupCriterionResponses, A as GoogleCreateAdGroupCriterionErrors, B as GoogleCreateBudgetData, D as GoogleCreateBudgetResponses, E as GoogleCreateBudgetErrors, F as GoogleCreateCampaignData, H as GoogleCreateCampaignResponses, I as GoogleCreateCampaignErrors, J as GoogleCreateCampaignCriterionData, K as GoogleCreateCampaignCriterionResponses, L as GoogleCreateCampaignCriterionErrors, M as GoogleCreateConversionActionData, N as GoogleCreateConversionActionResponses, P as GoogleCreateConversionActionErrors, Q as GoogleCreateDisplayAdData, S as GoogleCreateDisplayAdResponses, U as GoogleCreateDisplayAdErrors, V as GoogleCreateKeywordData, W as GoogleCreateKeywordResponses, X as GoogleCreateKeywordErrors, Y as GoogleEditAccountData, Z as GoogleEditAccountResponses, _ as GoogleEditAccountErrors, $ as GoogleEditAdGroupData, a0 as GoogleEditAdGroupResponses, a1 as GoogleEditAdGroupErrors, a2 as GoogleEditBudgetData, a3 as GoogleEditBudgetResponses, a4 as GoogleEditBudgetErrors, a5 as GoogleEditCampaignData, a6 as GoogleEditCampaignResponses, a7 as GoogleEditCampaignErrors, a8 as GoogleEnableAdData, a9 as GoogleEnableAdResponses, aa as GoogleEnableAdErrors, ab as GoogleEnableAdGroupData, ac as GoogleEnableAdGroupResponses, ad as GoogleEnableAdGroupErrors, ae as GoogleEnableCampaignData, af as GoogleEnableCampaignResponses, ag as GoogleEnableCampaignErrors, ah as GoogleEnableKeywordData, ai as GoogleEnableKeywordResponses, aj as GoogleEnableKeywordErrors, ak as GoogleGetAccountData, al as GoogleGetAccountResponses, am as GoogleGetAccountErrors, an as GoogleGetAdData, ao as GoogleGetAdResponses, ap as GoogleGetAdErrors, aq as GoogleGetAdGroupData, ar as GoogleGetAdGroupResponses, as as GoogleGetAdGroupErrors, at as GoogleGetAdTreeData, au as GoogleGetAdTreeResponses, av as GoogleGetAdTreeErrors, aw as GoogleGetCampaignData, ax as GoogleGetCampaignResponses, ay as GoogleGetCampaignErrors, az as GoogleGetConversionActionData, aA as GoogleGetConversionActionResponses, aB as GoogleGetConversionActionErrors, aC as GoogleGetConversionStatusData, aD as GoogleGetConversionStatusResponses, aE as GoogleGetConversionStatusErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupCriteriaData, aM as GoogleListAdGroupCriteriaResponses, aN as GoogleListAdGroupCriteriaErrors, aO as GoogleListAdGroupsData, aP as GoogleListAdGroupsResponses, aQ as GoogleListAdGroupsErrors, aR as GoogleListAdsData, aS as GoogleListAdsResponses, aT as GoogleListAdsErrors, aU as GoogleListAudiencesData, aV as GoogleListAudiencesResponses, aW as GoogleListAudiencesErrors, aX as GoogleListCampaignCriteriaData, aY as GoogleListCampaignCriteriaResponses, aZ as GoogleListCampaignCriteriaErrors, a_ as GoogleListCampaignsData, a$ as GoogleListCampaignsResponses, b0 as GoogleListCampaignsErrors, b1 as GoogleListConversionActionsData, b2 as GoogleListConversionActionsResponses, b3 as GoogleListConversionActionsErrors, b4 as GoogleListConversionGoalsData, b5 as GoogleListConversionGoalsResponses, b6 as GoogleListConversionGoalsErrors, b7 as GoogleListConversionRequestsData, b8 as GoogleListConversionRequestsResponses, b9 as GoogleListConversionRequestsErrors, ba as GoogleListKeywordsData, bb as GoogleListKeywordsResponses, bc as GoogleListKeywordsErrors, bd as GooglePauseAdData, be as GooglePauseAdResponses, bf as GooglePauseAdErrors, bg as GooglePauseAdGroupData, bh as GooglePauseAdGroupResponses, bi as GooglePauseAdGroupErrors, bj as GooglePauseCampaignData, bk as GooglePauseCampaignResponses, bl as GooglePauseCampaignErrors, bm as GooglePauseKeywordData, bn as GooglePauseKeywordResponses, bo as GooglePauseKeywordErrors, bp as GoogleRemoveAdData, bq as GoogleRemoveAdResponses, br as GoogleRemoveAdErrors, bs as GoogleRemoveAdGroupData, bt as GoogleRemoveAdGroupResponses, bu as GoogleRemoveAdGroupErrors, bv as GoogleRemoveAdGroupCriterionData, bw as GoogleRemoveAdGroupCriterionResponses, bx as GoogleRemoveAdGroupCriterionErrors, by as GoogleRemoveBudgetData, bz as GoogleRemoveBudgetResponses, bA as GoogleRemoveBudgetErrors, bB as GoogleRemoveCampaignData, bC as GoogleRemoveCampaignResponses, bD as GoogleRemoveCampaignErrors, bE as GoogleRemoveCampaignCriterionData, bF as GoogleRemoveCampaignCriterionResponses, bG as GoogleRemoveCampaignCriterionErrors, bH as GoogleRemoveConversionActionData, bI as GoogleRemoveConversionActionResponses, bJ as GoogleRemoveConversionActionErrors, bK as GoogleRemoveKeywordData, bL as GoogleRemoveKeywordResponses, bM as GoogleRemoveKeywordErrors, bN as GoogleRunGaqlData, bO as GoogleRunGaqlResponses, bP as GoogleRunGaqlErrors, bQ as GoogleSearchGeoTargetsData, bR as GoogleSearchGeoTargetsResponses, bS as GoogleSearchGeoTargetsErrors, bT as GoogleSendConversionsData, bU as GoogleSendConversionsResponses, bV as GoogleSendConversionsErrors, bW as GoogleSetAdGroupBidsData, bX as GoogleSetAdGroupBidsResponses, bY as GoogleSetAdGroupBidsErrors, bZ as GoogleSetCampaignGeoSettingsData, b_ as GoogleSetCampaignGeoSettingsResponses, b$ as GoogleSetCampaignGeoSettingsErrors, c0 as GoogleSetCampaignTargetingSettingData, c1 as GoogleSetCampaignTargetingSettingResponses, c2 as GoogleSetCampaignTargetingSettingErrors, c3 as GoogleSetConversionGoalData, c4 as GoogleSetConversionGoalResponses, c5 as GoogleSetConversionGoalErrors, c6 as GoogleSetKeywordBidData, c7 as GoogleSetKeywordBidResponses, c8 as GoogleSetKeywordBidErrors, c9 as GoogleUpdateConversionActionData, ca as GoogleUpdateConversionActionResponses, cb as GoogleUpdateConversionActionErrors, cc as GoogleUploadImageAssetData, cd as GoogleUploadImageAssetResponses, ce as GoogleUploadImageAssetErrors, cf as LogsGetData, cg as LogsGetResponses, ch as LogsGetErrors, ci as LogsListData, cj as LogsListResponses, ck as LogsListErrors, cl as MediaAbortData, cm as MediaAbortResponses, cn as MediaAbortErrors, co as MediaCompleteData, cp as MediaCompleteResponses, cq as MediaCompleteErrors, cr as MediaCreateData, cs as MediaCreateResponses, ct as MediaCreateErrors, cu as MediaDeleteData, cv as MediaDeleteResponses, cw as MediaDeleteErrors, cx as MediaGetData, cy as MediaGetResponses, cz as MediaGetErrors, cA as MediaListData, cB as MediaListResponses, cC as MediaListErrors, cD as MediaListPartsData, cE as MediaListPartsResponses, cF as MediaListPartsErrors, cG as MediaSignPartData, cH as MediaSignPartResponses, cI as MediaSignPartErrors, cJ as MediaUpdateData, cK as MediaUpdateResponses, cL as MediaUpdateErrors, cM as MetaAccountData, cN as MetaAccountResponses, cO as MetaAccountErrors, cP as MetaAdData, cQ as MetaAdResponses, cR as MetaAdErrors, cS as MetaAdsData, cT as MetaAdsResponses, cU as MetaAdsErrors, cV as MetaAdsetData, cW as MetaAdsetResponses, cX as MetaAdsetErrors, cY as MetaAdsetsData, cZ as MetaAdsetsResponses, c_ as MetaAdsetsErrors, c$ as MetaCampaignData, d0 as MetaCampaignResponses, d1 as MetaCampaignErrors, d2 as MetaCampaignsData, d3 as MetaCampaignsResponses, d4 as MetaCampaignsErrors, d5 as MetaInsightsData, d6 as MetaInsightsResponses, d7 as MetaInsightsErrors, d8 as PostsCreateData, d9 as PostsCreateResponses, da as PostsCreateErrors, db as PostsDeleteData, dc as PostsDeleteResponses, dd as PostsDeleteErrors, de as PostsGetData, df as PostsGetResponses, dg as PostsGetErrors, dh as PostsListData, di as PostsListResponses, dj as PostsListErrors, dk as PostsUpdateData, dl as PostsUpdateResponses, dm as PostsUpdateErrors, dn as PostsValidateData, dp as PostsValidateResponses, dq as PostsValidateErrors, dr as ProfilesCreateData, ds as ProfilesCreateResponses, dt as ProfilesCreateErrors, du as ProfilesDeleteData, dv as ProfilesDeleteResponses, dw as ProfilesDeleteErrors, dx as ProfilesGetData, dy as ProfilesGetResponses, dz as ProfilesGetErrors, dA as ProfilesListData, dB as ProfilesListResponses, dC as ProfilesListErrors, dD as ProfilesUpdateData, dE as ProfilesUpdateResponses, dF as ProfilesUpdateErrors, dG as TiktokCreatorInfoData, dH as TiktokCreatorInfoResponses, dI as TiktokCreatorInfoErrors, dJ as TokensMintData, dK as TokensMintResponses, dL as TokensMintErrors, dM as WebhooksCreateEndpointData, dN as WebhooksCreateEndpointResponses, dO as WebhooksCreateEndpointErrors, dP as WebhooksCreatePortalData, dQ as WebhooksCreatePortalResponses, dR as WebhooksCreatePortalErrors, dS as WebhooksDeleteEndpointData, dT as WebhooksDeleteEndpointResponses, dU as WebhooksDeleteEndpointErrors, dV as WebhooksGetEndpointData, dW as WebhooksGetEndpointResponses, dX as WebhooksGetEndpointErrors, dY as WebhooksListEndpointsData, dZ as WebhooksListEndpointsResponses, d_ as WebhooksListEndpointsErrors, d$ as WebhooksListEventTypesData, e0 as WebhooksListEventTypesResponses, e1 as WebhooksListEventTypesErrors, e2 as WebhooksPingData, e3 as WebhooksPingResponses, e4 as WebhooksPingErrors, e5 as WebhooksUpdateEndpointData, e6 as WebhooksUpdateEndpointResponses, e7 as WebhooksUpdateEndpointErrors, e8 as ErrorCode, e9 as MediaGetResponse, ea as ConnectionsConnectResponse, eb as ConnectionsGetResponse, ec as ConnectionsListByProfileResponse, ed as MediaCreateResponse, ee as ConnectionsListAccountsResponse, ef as MediaListResponse, eg as PostsGetResponse, eh as PostsListResponse, ei as PostsValidateResponse, ej as ProfilesGetResponse, ek as ProfilesListResponse, el as TiktokCreatorInfoResponse, em as PostrunClient, en as GoogleAdTreeNode } from './types.gen-K4cuIpk3.cjs';
2
+ export { eo as ClientOptions, ep as ConnectionsConnectError, eq as ConnectionsDeleteError, er as ConnectionsDeleteResponse, es as ConnectionsGetError, et as ConnectionsListAccountsError, eu as ConnectionsListByProfileError, ev as ConnectionsSelectError, ew as ConnectionsSelectResponse, ex as CreatePostBody, ey as DiscoverableAccount, ez as ErrorSource, eA as GoogleAdTree, eB as GoogleAdsAd, eC as GoogleAdsAdGroup, eD as GoogleAdsAdGroupCriterion, eE as GoogleAdsAudience, eF as GoogleAdsCampaignCriterion, eG as GoogleAdsConversionConsent, eH as GoogleAdsConversionEvent, eI as GoogleAdsConversionRequest, eJ as GoogleAdsConversionStatus, eK as GoogleAdsConversionStatusReason, eL as GoogleAdsConversionUserIdentifier, eM as GoogleAdsConversionWarning, eN as GoogleAdsCreateAdGroupCriterionRequest, eO as GoogleAdsCreateCampaignCriterionRequest, eP as GoogleAdsCreateResult, eQ as GoogleAdsDeleteResult, eR as GoogleAdsEditResult, eS as GoogleAdsGeoSettingsRequest, eT as GoogleAdsGeoTargetConstant, eU as GoogleAdsInsightLevel, eV as GoogleAdsInsightMetric, eW as GoogleAdsInsightSegment, eX as GoogleAdsInsights, eY as GoogleAdsInsightsQuery, eZ as GoogleAdsInsightsRow, e_ as GoogleAdsKeyword, e$ as GoogleAdsReadStatusFilter, f0 as GoogleAdsSendConversionsResult, f1 as GoogleAdsUrlCustomParameter, f2 as GoogleCreateAdError, f3 as GoogleCreateAdGroupCriterionError, f4 as GoogleCreateAdGroupCriterionResponse, f5 as GoogleCreateAdGroupError, f6 as GoogleCreateAdGroupResponse, f7 as GoogleCreateAdResponse, f8 as GoogleCreateBudgetError, f9 as GoogleCreateBudgetResponse, fa as GoogleCreateCampaignCriterionError, fb as GoogleCreateCampaignCriterionResponse, fc as GoogleCreateCampaignError, fd as GoogleCreateCampaignResponse, fe as GoogleCreateConversionActionError, ff as GoogleCreateConversionActionResponse, fg as GoogleCreateDisplayAdError, fh as GoogleCreateDisplayAdResponse, fi as GoogleCreateKeywordError, fj as GoogleCreateKeywordResponse, fk as GoogleEditAccountError, fl as GoogleEditAccountResponse, fm as GoogleEditAdGroupError, fn as GoogleEditAdGroupResponse, fo as GoogleEditBudgetError, fp as GoogleEditBudgetResponse, fq as GoogleEditCampaignError, fr as GoogleEditCampaignResponse, fs as GoogleEnableAdError, ft as GoogleEnableAdGroupError, fu as GoogleEnableAdGroupResponse, fv as GoogleEnableAdResponse, fw as GoogleEnableCampaignError, fx as GoogleEnableCampaignResponse, fy as GoogleEnableKeywordError, fz as GoogleEnableKeywordResponse, fA as GoogleGetAccountError, fB as GoogleGetAccountResponse, fC as GoogleGetAdError, fD as GoogleGetAdGroupError, fE as GoogleGetAdGroupResponse, fF as GoogleGetAdResponse, fG as GoogleGetAdTreeError, fH as GoogleGetAdTreeResponse, fI as GoogleGetCampaignError, fJ as GoogleGetCampaignResponse, fK as GoogleGetConversionActionError, fL as GoogleGetConversionActionResponse, fM as GoogleGetConversionStatusError, fN as GoogleGetConversionStatusResponse, fO as GoogleGetInsightsError, fP as GoogleGetInsightsResponse, fQ as GoogleGetKeywordError, fR as GoogleGetKeywordResponse, fS as GoogleListAdGroupCriteriaError, fT as GoogleListAdGroupCriteriaResponse, fU as GoogleListAdGroupsError, fV as GoogleListAdGroupsResponse, fW as GoogleListAdsError, fX as GoogleListAdsResponse, fY as GoogleListAudiencesError, fZ as GoogleListAudiencesResponse, f_ as GoogleListCampaignCriteriaError, f$ as GoogleListCampaignCriteriaResponse, g0 as GoogleListCampaignsError, g1 as GoogleListCampaignsResponse, g2 as GoogleListConversionActionsError, g3 as GoogleListConversionActionsResponse, g4 as GoogleListConversionGoalsError, g5 as GoogleListConversionGoalsResponse, g6 as GoogleListConversionRequestsError, g7 as GoogleListConversionRequestsResponse, g8 as GoogleListKeywordsError, g9 as GoogleListKeywordsResponse, ga as GooglePauseAdError, gb as GooglePauseAdGroupError, gc as GooglePauseAdGroupResponse, gd as GooglePauseAdResponse, ge as GooglePauseCampaignError, gf as GooglePauseCampaignResponse, gg as GooglePauseKeywordError, gh as GooglePauseKeywordResponse, gi as GoogleRemoveAdError, gj as GoogleRemoveAdGroupCriterionError, gk as GoogleRemoveAdGroupCriterionResponse, gl as GoogleRemoveAdGroupError, gm as GoogleRemoveAdGroupResponse, gn as GoogleRemoveAdResponse, go as GoogleRemoveBudgetError, gp as GoogleRemoveBudgetResponse, gq as GoogleRemoveCampaignCriterionError, gr as GoogleRemoveCampaignCriterionResponse, gs as GoogleRemoveCampaignError, gt as GoogleRemoveCampaignResponse, gu as GoogleRemoveConversionActionError, gv as GoogleRemoveConversionActionResponse, gw as GoogleRemoveKeywordError, gx as GoogleRemoveKeywordResponse, gy as GoogleRunGaqlError, gz as GoogleRunGaqlResponse, gA as GoogleSearchGeoTargetsError, gB as GoogleSearchGeoTargetsResponse, gC as GoogleSendConversionsError, gD as GoogleSendConversionsResponse, gE as GoogleSetAdGroupBidsError, gF as GoogleSetAdGroupBidsResponse, gG as GoogleSetCampaignGeoSettingsError, gH as GoogleSetCampaignGeoSettingsResponse, gI as GoogleSetCampaignTargetingSettingError, gJ as GoogleSetCampaignTargetingSettingResponse, gK as GoogleSetConversionGoalError, gL as GoogleSetConversionGoalResponse, gM as GoogleSetKeywordBidError, gN as GoogleSetKeywordBidResponse, gO as GoogleUpdateConversionActionError, gP as GoogleUpdateConversionActionResponse, gQ as GoogleUploadImageAssetError, gR as GoogleUploadImageAssetResponse, gS as IdempotencyKey, gT as LogsGetError, gU as LogsGetResponse, gV as LogsListError, gW as LogsListResponse, gX as Media, gY as MediaAbortError, gZ as MediaAbortResponse, g_ as MediaCompleteError, g$ as MediaCompleteResponse, h0 as MediaCreateError, h1 as MediaDeleteError, h2 as MediaDeleteResponse, h3 as MediaGetError, h4 as MediaListError, h5 as MediaListPartsError, h6 as MediaListPartsResponse, h7 as MediaSignPartError, h8 as MediaSignPartResponse, h9 as MediaStage, ha as MediaUpdateError, hb as MediaUpdateResponse, hc as MetaAccountError, hd as MetaAccountResponse, he as MetaAdError, hf as MetaAdResponse, hg as MetaAdsError, hh as MetaAdsResponse, hi as MetaAdsetError, hj as MetaAdsetResponse, hk as MetaAdsetsError, hl as MetaAdsetsResponse, hm as MetaCampaignError, hn as MetaCampaignResponse, ho as MetaCampaignsError, hp as MetaCampaignsResponse, hq as MetaInsightsError, hr as MetaInsightsResponse, hs as PostVariantStatus, ht as PostrunClientOptions, hu as PostsCreateError, hv as PostsCreateResponse, hw as PostsDeleteError, hx as PostsDeleteResponse, hy as PostsGetError, hz as PostsListError, hA as PostsUpdateError, hB as PostsUpdateResponse, hC as PostsValidateError, hD as ProfilesCreateError, hE as ProfilesCreateResponse, hF as ProfilesDeleteError, hG as ProfilesDeleteResponse, hH as ProfilesGetError, hI as ProfilesListError, hJ as ProfilesUpdateError, hK as ProfilesUpdateResponse, hL as TiktokCreatorInfoError, hM as TokensMintError, hN as TokensMintResponse, hO as WebhooksCreateEndpointError, hP as WebhooksCreateEndpointResponse, hQ as WebhooksCreatePortalError, hR as WebhooksCreatePortalResponse, hS as WebhooksDeleteEndpointError, hT as WebhooksDeleteEndpointResponse, hU as WebhooksGetEndpointError, hV as WebhooksGetEndpointResponse, hW as WebhooksListEndpointsError, hX as WebhooksListEndpointsResponse, hY as WebhooksListEventTypesError, hZ as WebhooksListEventTypesResponse, h_ as WebhooksPingError, h$ as WebhooksPingResponse, i0 as WebhooksUpdateEndpointError, i1 as WebhooksUpdateEndpointResponse, i2 as createPostrunClient } from './types.gen-K4cuIpk3.cjs';
3
3
  import * as z from 'zod';
4
4
 
5
5
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
@@ -687,6 +687,22 @@ declare const googleCreateConversionAction: <ThrowOnError extends boolean = true
687
687
  * Returns a single conversion action (the `conversion_action` resource) by its numeric id on the connection’s account.
688
688
  */
689
689
  declare const googleGetConversionAction: <ThrowOnError extends boolean = true>(options: Options<GoogleGetConversionActionData, ThrowOnError>) => RequestResult<GoogleGetConversionActionResponses, GoogleGetConversionActionErrors, ThrowOnError>;
690
+ /**
691
+ * Update a Google Ads conversion action
692
+ *
693
+ * **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `ads:write` scoped to the profile that owns the connection.
694
+ *
695
+ * Updates the mutable fields of a conversion action (name, category, status, value settings, counting type, lookback windows, primary-for-goal) by numeric id. Only the supplied fields change. Pass `dry_run: true` to validate against Google without applying.
696
+ */
697
+ declare const googleUpdateConversionAction: <ThrowOnError extends boolean = true>(options: Options<GoogleUpdateConversionActionData, ThrowOnError>) => RequestResult<GoogleUpdateConversionActionResponses, GoogleUpdateConversionActionErrors, ThrowOnError>;
698
+ /**
699
+ * Remove a Google Ads conversion action
700
+ *
701
+ * **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `ads:write` scoped to the profile that owns the connection.
702
+ *
703
+ * Removes a conversion action by numeric id (Google’s native remove — a soft delete to status REMOVED). Set `dry_run: true` in the body to validate the removal against Google without applying it.
704
+ */
705
+ declare const googleRemoveConversionAction: <ThrowOnError extends boolean = true>(options: Options<GoogleRemoveConversionActionData, ThrowOnError>) => RequestResult<GoogleRemoveConversionActionResponses, GoogleRemoveConversionActionErrors, ThrowOnError>;
690
706
  /**
691
707
  * Send Google Ads conversion events
692
708
  *
@@ -1137,6 +1153,26 @@ declare class UploadError extends Error {
1137
1153
  });
1138
1154
  }
1139
1155
 
1156
+ interface WaitForMediaOptions {
1157
+ /** Typed client to poll through; falls back to the SDK's default client. */
1158
+ client?: PostrunClient;
1159
+ /** Milliseconds between polls (default 1500). */
1160
+ pollInterval?: number;
1161
+ /** Milliseconds before giving up and rejecting (default 30 minutes). */
1162
+ timeout?: number;
1163
+ /** Abort the wait early. */
1164
+ signal?: AbortSignal;
1165
+ /** Each polled snapshot — surface `progress.percent` while it processes. */
1166
+ onPoll?: (media: MediaResource) => void;
1167
+ }
1168
+ /**
1169
+ * Resolve once a media asset stops processing. Polls `GET /v1/media/{id}` until
1170
+ * `status` is `ready` OR `failed`, returning that settled resource — a `failed`
1171
+ * asset RESOLVES (the caller inspects `status`/`error`), it does not throw. Rejects
1172
+ * on timeout or when `signal` aborts (a `DOMException('…', 'AbortError')`).
1173
+ */
1174
+ declare function waitForMedia(mediaId: string, options?: WaitForMediaOptions): Promise<MediaResource>;
1175
+
1140
1176
  /**
1141
1177
  * Map a TikTok privacy level to a short, human label for the composer's privacy
1142
1178
  * dropdown — the presentation the API deliberately keeps OFF the wire (the
@@ -1412,4 +1448,4 @@ declare function buildCreatePost(input: ComposePostInput, connections: readonly
1412
1448
  */
1413
1449
  declare function buildUpdatePost(input: ComposeUpdateInput, connections?: readonly ConnectionRef[]): UpdatePostInput;
1414
1450
 
1415
- export { type AdTreeNode, type ChannelConfig, type Channels, ComposeError, type ComposePostInput, type ComposeUpdateInput, type ConnectSession, type ConnectablePlatform, type Connection, type ConnectionKind, type ConnectionList, type ConnectionRef, type ConnectionStatus, ConnectionsConnectData, ConnectionsConnectErrors, ConnectionsConnectResponse, ConnectionsConnectResponses, ConnectionsDeleteData, ConnectionsDeleteErrors, ConnectionsDeleteResponses, ConnectionsGetData, ConnectionsGetErrors, ConnectionsGetResponse, ConnectionsGetResponses, ConnectionsListAccountsData, ConnectionsListAccountsErrors, ConnectionsListAccountsResponse, ConnectionsListAccountsResponses, ConnectionsListByProfileData, ConnectionsListByProfileErrors, ConnectionsListByProfileResponse, ConnectionsListByProfileResponses, ConnectionsSelectData, ConnectionsSelectErrors, ConnectionsSelectResponses, type CreateMediaInput, type CreateMediaResult, type CreatePostInput, type CreateProfileInput, type DiscoverableAccountList, ErrorCode, GoogleAdTreeNode, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupCriterionData, GoogleCreateAdGroupCriterionErrors, GoogleCreateAdGroupCriterionResponses, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignCriterionData, GoogleCreateCampaignCriterionErrors, GoogleCreateCampaignCriterionResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleEditAccountData, GoogleEditAccountErrors, GoogleEditAccountResponses, GoogleEditAdGroupData, GoogleEditAdGroupErrors, GoogleEditAdGroupResponses, GoogleEditBudgetData, GoogleEditBudgetErrors, GoogleEditBudgetResponses, GoogleEditCampaignData, GoogleEditCampaignErrors, GoogleEditCampaignResponses, GoogleEnableAdData, GoogleEnableAdErrors, GoogleEnableAdGroupData, GoogleEnableAdGroupErrors, GoogleEnableAdGroupResponses, GoogleEnableAdResponses, GoogleEnableCampaignData, GoogleEnableCampaignErrors, GoogleEnableCampaignResponses, GoogleEnableKeywordData, GoogleEnableKeywordErrors, GoogleEnableKeywordResponses, GoogleGetAccountData, GoogleGetAccountErrors, GoogleGetAccountResponses, GoogleGetAdData, GoogleGetAdErrors, GoogleGetAdGroupData, GoogleGetAdGroupErrors, GoogleGetAdGroupResponses, GoogleGetAdResponses, GoogleGetAdTreeData, GoogleGetAdTreeErrors, GoogleGetAdTreeResponses, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetConversionStatusData, GoogleGetConversionStatusErrors, GoogleGetConversionStatusResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupCriteriaData, GoogleListAdGroupCriteriaErrors, GoogleListAdGroupCriteriaResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListAudiencesData, GoogleListAudiencesErrors, GoogleListAudiencesResponses, GoogleListCampaignCriteriaData, GoogleListCampaignCriteriaErrors, GoogleListCampaignCriteriaResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListConversionRequestsData, GoogleListConversionRequestsErrors, GoogleListConversionRequestsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRemoveAdData, GoogleRemoveAdErrors, GoogleRemoveAdGroupCriterionData, GoogleRemoveAdGroupCriterionErrors, GoogleRemoveAdGroupCriterionResponses, GoogleRemoveAdGroupData, GoogleRemoveAdGroupErrors, GoogleRemoveAdGroupResponses, GoogleRemoveAdResponses, GoogleRemoveBudgetData, GoogleRemoveBudgetErrors, GoogleRemoveBudgetResponses, GoogleRemoveCampaignCriterionData, GoogleRemoveCampaignCriterionErrors, GoogleRemoveCampaignCriterionResponses, GoogleRemoveCampaignData, GoogleRemoveCampaignErrors, GoogleRemoveCampaignResponses, GoogleRemoveKeywordData, GoogleRemoveKeywordErrors, GoogleRemoveKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSearchGeoTargetsData, GoogleSearchGeoTargetsErrors, GoogleSearchGeoTargetsResponses, GoogleSendConversionsData, GoogleSendConversionsErrors, GoogleSendConversionsResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetCampaignGeoSettingsData, GoogleSetCampaignGeoSettingsErrors, GoogleSetCampaignGeoSettingsResponses, GoogleSetCampaignTargetingSettingData, GoogleSetCampaignTargetingSettingErrors, GoogleSetCampaignTargetingSettingResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type InstagramPostVariant, type LinkedInPollDuration, type LinkedInPostVariant, type ListConnectionsQuery, type ListMediaQuery, type ListPostsQuery, type ListProfilesQuery, LogsGetData, LogsGetErrors, LogsGetResponses, LogsListData, LogsListErrors, LogsListResponses, MediaAbortData, MediaAbortErrors, MediaAbortResponses, MediaCompleteData, MediaCompleteErrors, MediaCompleteResponses, MediaCreateData, MediaCreateErrors, MediaCreateResponse, MediaCreateResponses, MediaDeleteData, MediaDeleteErrors, MediaDeleteResponses, MediaGetData, MediaGetErrors, MediaGetResponse, MediaGetResponses, type MediaInput, type MediaKind, type MediaList, MediaListData, MediaListErrors, MediaListPartsData, MediaListPartsErrors, MediaListPartsResponses, MediaListResponse, MediaListResponses, type MediaResource, MediaSignPartData, MediaSignPartErrors, MediaSignPartResponses, type MediaStatus, type MediaTarget, MediaUpdateData, MediaUpdateErrors, MediaUpdateResponses, MetaAccountData, MetaAccountErrors, MetaAccountResponses, MetaAdData, MetaAdErrors, MetaAdResponses, MetaAdsData, MetaAdsErrors, MetaAdsResponses, MetaAdsetData, MetaAdsetErrors, MetaAdsetResponses, MetaAdsetsData, MetaAdsetsErrors, MetaAdsetsResponses, MetaCampaignData, MetaCampaignErrors, MetaCampaignResponses, MetaCampaignsData, MetaCampaignsErrors, MetaCampaignsResponses, MetaInsightsData, MetaInsightsErrors, MetaInsightsResponses, type Metadata, type MetadataFilter, type MultipartSession, type Options, POST_PLATFORMS, type Post, type PostContent, type PostList, type PostMetadata, type PostPlatform, type PostStatus, type PostType, type PostValidation, type PostVariant, type PostVariantError, type PostVariantInput, PostrunClient, PostrunError, type PostrunErrorCode, type PostrunFieldError, type PostrunProblem, PostsCreateData, PostsCreateErrors, PostsCreateResponses, PostsDeleteData, PostsDeleteErrors, PostsDeleteResponses, PostsGetData, PostsGetErrors, PostsGetResponse, PostsGetResponses, PostsListData, PostsListErrors, PostsListResponse, PostsListResponses, PostsUpdateData, PostsUpdateErrors, PostsUpdateResponses, PostsValidateData, PostsValidateErrors, PostsValidateResponse, PostsValidateResponses, type Profile, type ProfileList, ProfilesCreateData, ProfilesCreateErrors, ProfilesCreateResponses, ProfilesDeleteData, ProfilesDeleteErrors, ProfilesDeleteResponses, ProfilesGetData, ProfilesGetErrors, ProfilesGetResponse, ProfilesGetResponses, ProfilesListData, ProfilesListErrors, ProfilesListResponse, ProfilesListResponses, ProfilesUpdateData, ProfilesUpdateErrors, ProfilesUpdateResponses, type PublishMode, type SelectAccountInput, type SettingsFor, TIKTOK_AUDIENCE_REQUIRED_HINT, TIKTOK_BRANDED_CONTENT_POLICY_URL, TIKTOK_CAPTION_MAX, TIKTOK_DISCLOSURE_REQUIRED_HINT, TIKTOK_MUSIC_CONFIRMATION_URL, TIKTOK_PROCESSING_NOTICE, type TikTokBrandKind, type TikTokCreatorInfo, type TikTokInteractionKey, type TikTokInteractionRow, type TikTokOptionsValue, type TikTokPostVariant, type TikTokPrivacyChoice, type TikTokPrivacyLevel, TiktokCreatorInfoData, TiktokCreatorInfoErrors, TiktokCreatorInfoResponse, TiktokCreatorInfoResponses, TokensMintData, TokensMintErrors, TokensMintResponses, type UpdateMediaInput, type UpdatePostInput, type UpdateProfileInput, UploadError, type UploadFileOptions, type ValidatePostInput, type ValidationIssue, WebhooksCreateEndpointData, WebhooksCreateEndpointErrors, WebhooksCreateEndpointResponses, WebhooksCreatePortalData, WebhooksCreatePortalErrors, WebhooksCreatePortalResponses, WebhooksDeleteEndpointData, WebhooksDeleteEndpointErrors, WebhooksDeleteEndpointResponses, WebhooksGetEndpointData, WebhooksGetEndpointErrors, WebhooksGetEndpointResponses, WebhooksListEndpointsData, WebhooksListEndpointsErrors, WebhooksListEndpointsResponses, WebhooksListEventTypesData, WebhooksListEventTypesErrors, WebhooksListEventTypesResponses, WebhooksPingData, WebhooksPingErrors, WebhooksPingResponses, WebhooksUpdateEndpointData, WebhooksUpdateEndpointErrors, WebhooksUpdateEndpointResponses, type XPoll, type XPostVariant, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, captionMaxFor, commercialDisclosureIncomplete, commercialLabelNotice, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, defaultTikTokOptions, failedVariants, googleCreateAd, googleCreateAdGroup, googleCreateAdGroupCriterion, googleCreateBudget, googleCreateCampaign, googleCreateCampaignCriterion, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleEditAccount, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetAdTree, googleGetCampaign, googleGetConversionAction, googleGetConversionStatus, googleGetInsights, googleGetKeyword, googleListAdGroupCriteria, googleListAdGroups, googleListAds, googleListAudiences, googleListCampaignCriteria, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListConversionRequests, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRemoveAd, googleRemoveAdGroup, googleRemoveAdGroupCriterion, googleRemoveBudget, googleRemoveCampaign, googleRemoveCampaignCriterion, googleRemoveKeyword, googleRunGaql, googleSearchGeoTargets, googleSendConversions, googleSetAdGroupBids, googleSetCampaignGeoSettings, googleSetCampaignTargetingSetting, googleSetConversionGoal, googleSetKeywordBid, googleUploadImageAsset, groupAdTree, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, logsGet, logsList, mediaAbort, mediaComplete, mediaCreate, mediaDelete, mediaGet, mediaList, mediaListParts, mediaSignPart, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, parsePrivacyLevel, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, privacyChoices, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, setBrandKind, setCommercialDisclosure, tiktokCreatorInfo, tiktokOptionsReady, tiktokPrivacyLabel, tiktokSettings, toggleInteraction, tokensMint, uploadFile, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint, xPollDurationLabel };
1451
+ export { type AdTreeNode, type ChannelConfig, type Channels, ComposeError, type ComposePostInput, type ComposeUpdateInput, type ConnectSession, type ConnectablePlatform, type Connection, type ConnectionKind, type ConnectionList, type ConnectionRef, type ConnectionStatus, ConnectionsConnectData, ConnectionsConnectErrors, ConnectionsConnectResponse, ConnectionsConnectResponses, ConnectionsDeleteData, ConnectionsDeleteErrors, ConnectionsDeleteResponses, ConnectionsGetData, ConnectionsGetErrors, ConnectionsGetResponse, ConnectionsGetResponses, ConnectionsListAccountsData, ConnectionsListAccountsErrors, ConnectionsListAccountsResponse, ConnectionsListAccountsResponses, ConnectionsListByProfileData, ConnectionsListByProfileErrors, ConnectionsListByProfileResponse, ConnectionsListByProfileResponses, ConnectionsSelectData, ConnectionsSelectErrors, ConnectionsSelectResponses, type CreateMediaInput, type CreateMediaResult, type CreatePostInput, type CreateProfileInput, type DiscoverableAccountList, ErrorCode, GoogleAdTreeNode, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupCriterionData, GoogleCreateAdGroupCriterionErrors, GoogleCreateAdGroupCriterionResponses, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignCriterionData, GoogleCreateCampaignCriterionErrors, GoogleCreateCampaignCriterionResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleEditAccountData, GoogleEditAccountErrors, GoogleEditAccountResponses, GoogleEditAdGroupData, GoogleEditAdGroupErrors, GoogleEditAdGroupResponses, GoogleEditBudgetData, GoogleEditBudgetErrors, GoogleEditBudgetResponses, GoogleEditCampaignData, GoogleEditCampaignErrors, GoogleEditCampaignResponses, GoogleEnableAdData, GoogleEnableAdErrors, GoogleEnableAdGroupData, GoogleEnableAdGroupErrors, GoogleEnableAdGroupResponses, GoogleEnableAdResponses, GoogleEnableCampaignData, GoogleEnableCampaignErrors, GoogleEnableCampaignResponses, GoogleEnableKeywordData, GoogleEnableKeywordErrors, GoogleEnableKeywordResponses, GoogleGetAccountData, GoogleGetAccountErrors, GoogleGetAccountResponses, GoogleGetAdData, GoogleGetAdErrors, GoogleGetAdGroupData, GoogleGetAdGroupErrors, GoogleGetAdGroupResponses, GoogleGetAdResponses, GoogleGetAdTreeData, GoogleGetAdTreeErrors, GoogleGetAdTreeResponses, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetConversionStatusData, GoogleGetConversionStatusErrors, GoogleGetConversionStatusResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupCriteriaData, GoogleListAdGroupCriteriaErrors, GoogleListAdGroupCriteriaResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListAudiencesData, GoogleListAudiencesErrors, GoogleListAudiencesResponses, GoogleListCampaignCriteriaData, GoogleListCampaignCriteriaErrors, GoogleListCampaignCriteriaResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListConversionRequestsData, GoogleListConversionRequestsErrors, GoogleListConversionRequestsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRemoveAdData, GoogleRemoveAdErrors, GoogleRemoveAdGroupCriterionData, GoogleRemoveAdGroupCriterionErrors, GoogleRemoveAdGroupCriterionResponses, GoogleRemoveAdGroupData, GoogleRemoveAdGroupErrors, GoogleRemoveAdGroupResponses, GoogleRemoveAdResponses, GoogleRemoveBudgetData, GoogleRemoveBudgetErrors, GoogleRemoveBudgetResponses, GoogleRemoveCampaignCriterionData, GoogleRemoveCampaignCriterionErrors, GoogleRemoveCampaignCriterionResponses, GoogleRemoveCampaignData, GoogleRemoveCampaignErrors, GoogleRemoveCampaignResponses, GoogleRemoveConversionActionData, GoogleRemoveConversionActionErrors, GoogleRemoveConversionActionResponses, GoogleRemoveKeywordData, GoogleRemoveKeywordErrors, GoogleRemoveKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSearchGeoTargetsData, GoogleSearchGeoTargetsErrors, GoogleSearchGeoTargetsResponses, GoogleSendConversionsData, GoogleSendConversionsErrors, GoogleSendConversionsResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetCampaignGeoSettingsData, GoogleSetCampaignGeoSettingsErrors, GoogleSetCampaignGeoSettingsResponses, GoogleSetCampaignTargetingSettingData, GoogleSetCampaignTargetingSettingErrors, GoogleSetCampaignTargetingSettingResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUpdateConversionActionData, GoogleUpdateConversionActionErrors, GoogleUpdateConversionActionResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type InstagramPostVariant, type LinkedInPollDuration, type LinkedInPostVariant, type ListConnectionsQuery, type ListMediaQuery, type ListPostsQuery, type ListProfilesQuery, LogsGetData, LogsGetErrors, LogsGetResponses, LogsListData, LogsListErrors, LogsListResponses, MediaAbortData, MediaAbortErrors, MediaAbortResponses, MediaCompleteData, MediaCompleteErrors, MediaCompleteResponses, MediaCreateData, MediaCreateErrors, MediaCreateResponse, MediaCreateResponses, MediaDeleteData, MediaDeleteErrors, MediaDeleteResponses, MediaGetData, MediaGetErrors, MediaGetResponse, MediaGetResponses, type MediaInput, type MediaKind, type MediaList, MediaListData, MediaListErrors, MediaListPartsData, MediaListPartsErrors, MediaListPartsResponses, MediaListResponse, MediaListResponses, type MediaResource, MediaSignPartData, MediaSignPartErrors, MediaSignPartResponses, type MediaStatus, type MediaTarget, MediaUpdateData, MediaUpdateErrors, MediaUpdateResponses, MetaAccountData, MetaAccountErrors, MetaAccountResponses, MetaAdData, MetaAdErrors, MetaAdResponses, MetaAdsData, MetaAdsErrors, MetaAdsResponses, MetaAdsetData, MetaAdsetErrors, MetaAdsetResponses, MetaAdsetsData, MetaAdsetsErrors, MetaAdsetsResponses, MetaCampaignData, MetaCampaignErrors, MetaCampaignResponses, MetaCampaignsData, MetaCampaignsErrors, MetaCampaignsResponses, MetaInsightsData, MetaInsightsErrors, MetaInsightsResponses, type Metadata, type MetadataFilter, type MultipartSession, type Options, POST_PLATFORMS, type Post, type PostContent, type PostList, type PostMetadata, type PostPlatform, type PostStatus, type PostType, type PostValidation, type PostVariant, type PostVariantError, type PostVariantInput, PostrunClient, PostrunError, type PostrunErrorCode, type PostrunFieldError, type PostrunProblem, PostsCreateData, PostsCreateErrors, PostsCreateResponses, PostsDeleteData, PostsDeleteErrors, PostsDeleteResponses, PostsGetData, PostsGetErrors, PostsGetResponse, PostsGetResponses, PostsListData, PostsListErrors, PostsListResponse, PostsListResponses, PostsUpdateData, PostsUpdateErrors, PostsUpdateResponses, PostsValidateData, PostsValidateErrors, PostsValidateResponse, PostsValidateResponses, type Profile, type ProfileList, ProfilesCreateData, ProfilesCreateErrors, ProfilesCreateResponses, ProfilesDeleteData, ProfilesDeleteErrors, ProfilesDeleteResponses, ProfilesGetData, ProfilesGetErrors, ProfilesGetResponse, ProfilesGetResponses, ProfilesListData, ProfilesListErrors, ProfilesListResponse, ProfilesListResponses, ProfilesUpdateData, ProfilesUpdateErrors, ProfilesUpdateResponses, type PublishMode, type SelectAccountInput, type SettingsFor, TIKTOK_AUDIENCE_REQUIRED_HINT, TIKTOK_BRANDED_CONTENT_POLICY_URL, TIKTOK_CAPTION_MAX, TIKTOK_DISCLOSURE_REQUIRED_HINT, TIKTOK_MUSIC_CONFIRMATION_URL, TIKTOK_PROCESSING_NOTICE, type TikTokBrandKind, type TikTokCreatorInfo, type TikTokInteractionKey, type TikTokInteractionRow, type TikTokOptionsValue, type TikTokPostVariant, type TikTokPrivacyChoice, type TikTokPrivacyLevel, TiktokCreatorInfoData, TiktokCreatorInfoErrors, TiktokCreatorInfoResponse, TiktokCreatorInfoResponses, TokensMintData, TokensMintErrors, TokensMintResponses, type UpdateMediaInput, type UpdatePostInput, type UpdateProfileInput, UploadError, type UploadFileOptions, type ValidatePostInput, type ValidationIssue, type WaitForMediaOptions, WebhooksCreateEndpointData, WebhooksCreateEndpointErrors, WebhooksCreateEndpointResponses, WebhooksCreatePortalData, WebhooksCreatePortalErrors, WebhooksCreatePortalResponses, WebhooksDeleteEndpointData, WebhooksDeleteEndpointErrors, WebhooksDeleteEndpointResponses, WebhooksGetEndpointData, WebhooksGetEndpointErrors, WebhooksGetEndpointResponses, WebhooksListEndpointsData, WebhooksListEndpointsErrors, WebhooksListEndpointsResponses, WebhooksListEventTypesData, WebhooksListEventTypesErrors, WebhooksListEventTypesResponses, WebhooksPingData, WebhooksPingErrors, WebhooksPingResponses, WebhooksUpdateEndpointData, WebhooksUpdateEndpointErrors, WebhooksUpdateEndpointResponses, type XPoll, type XPostVariant, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, captionMaxFor, commercialDisclosureIncomplete, commercialLabelNotice, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, defaultTikTokOptions, failedVariants, googleCreateAd, googleCreateAdGroup, googleCreateAdGroupCriterion, googleCreateBudget, googleCreateCampaign, googleCreateCampaignCriterion, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleEditAccount, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetAdTree, googleGetCampaign, googleGetConversionAction, googleGetConversionStatus, googleGetInsights, googleGetKeyword, googleListAdGroupCriteria, googleListAdGroups, googleListAds, googleListAudiences, googleListCampaignCriteria, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListConversionRequests, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRemoveAd, googleRemoveAdGroup, googleRemoveAdGroupCriterion, googleRemoveBudget, googleRemoveCampaign, googleRemoveCampaignCriterion, googleRemoveConversionAction, googleRemoveKeyword, googleRunGaql, googleSearchGeoTargets, googleSendConversions, googleSetAdGroupBids, googleSetCampaignGeoSettings, googleSetCampaignTargetingSetting, googleSetConversionGoal, googleSetKeywordBid, googleUpdateConversionAction, googleUploadImageAsset, groupAdTree, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, logsGet, logsList, mediaAbort, mediaComplete, mediaCreate, mediaDelete, mediaGet, mediaList, mediaListParts, mediaSignPart, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, parsePrivacyLevel, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, privacyChoices, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, setBrandKind, setCommercialDisclosure, tiktokCreatorInfo, tiktokOptionsReady, tiktokPrivacyLabel, tiktokSettings, toggleInteraction, tokensMint, uploadFile, waitForMedia, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint, xPollDurationLabel };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TDataShape, O as Options$1, C as Client, a as ClientMeta, b as ConnectionsConnectData, R as RequestResult, c as ConnectionsConnectResponses, d as ConnectionsConnectErrors, e as ConnectionsDeleteData, f as ConnectionsDeleteResponses, g as ConnectionsDeleteErrors, h as ConnectionsGetData, i as ConnectionsGetResponses, j as ConnectionsGetErrors, k as ConnectionsListAccountsData, l as ConnectionsListAccountsResponses, m as ConnectionsListAccountsErrors, n as ConnectionsListByProfileData, o as ConnectionsListByProfileResponses, p as ConnectionsListByProfileErrors, q as ConnectionsSelectData, r as ConnectionsSelectResponses, s as ConnectionsSelectErrors, G as GoogleCreateAdData, t as GoogleCreateAdResponses, u as GoogleCreateAdErrors, v as GoogleCreateAdGroupData, w as GoogleCreateAdGroupResponses, x as GoogleCreateAdGroupErrors, y as GoogleCreateAdGroupCriterionData, z as GoogleCreateAdGroupCriterionResponses, A as GoogleCreateAdGroupCriterionErrors, B as GoogleCreateBudgetData, D as GoogleCreateBudgetResponses, E as GoogleCreateBudgetErrors, F as GoogleCreateCampaignData, H as GoogleCreateCampaignResponses, I as GoogleCreateCampaignErrors, J as GoogleCreateCampaignCriterionData, K as GoogleCreateCampaignCriterionResponses, L as GoogleCreateCampaignCriterionErrors, M as GoogleCreateConversionActionData, N as GoogleCreateConversionActionResponses, P as GoogleCreateConversionActionErrors, Q as GoogleCreateDisplayAdData, S as GoogleCreateDisplayAdResponses, U as GoogleCreateDisplayAdErrors, V as GoogleCreateKeywordData, W as GoogleCreateKeywordResponses, X as GoogleCreateKeywordErrors, Y as GoogleEditAccountData, Z as GoogleEditAccountResponses, _ as GoogleEditAccountErrors, $ as GoogleEditAdGroupData, a0 as GoogleEditAdGroupResponses, a1 as GoogleEditAdGroupErrors, a2 as GoogleEditBudgetData, a3 as GoogleEditBudgetResponses, a4 as GoogleEditBudgetErrors, a5 as GoogleEditCampaignData, a6 as GoogleEditCampaignResponses, a7 as GoogleEditCampaignErrors, a8 as GoogleEnableAdData, a9 as GoogleEnableAdResponses, aa as GoogleEnableAdErrors, ab as GoogleEnableAdGroupData, ac as GoogleEnableAdGroupResponses, ad as GoogleEnableAdGroupErrors, ae as GoogleEnableCampaignData, af as GoogleEnableCampaignResponses, ag as GoogleEnableCampaignErrors, ah as GoogleEnableKeywordData, ai as GoogleEnableKeywordResponses, aj as GoogleEnableKeywordErrors, ak as GoogleGetAccountData, al as GoogleGetAccountResponses, am as GoogleGetAccountErrors, an as GoogleGetAdData, ao as GoogleGetAdResponses, ap as GoogleGetAdErrors, aq as GoogleGetAdGroupData, ar as GoogleGetAdGroupResponses, as as GoogleGetAdGroupErrors, at as GoogleGetAdTreeData, au as GoogleGetAdTreeResponses, av as GoogleGetAdTreeErrors, aw as GoogleGetCampaignData, ax as GoogleGetCampaignResponses, ay as GoogleGetCampaignErrors, az as GoogleGetConversionActionData, aA as GoogleGetConversionActionResponses, aB as GoogleGetConversionActionErrors, aC as GoogleGetConversionStatusData, aD as GoogleGetConversionStatusResponses, aE as GoogleGetConversionStatusErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupCriteriaData, aM as GoogleListAdGroupCriteriaResponses, aN as GoogleListAdGroupCriteriaErrors, aO as GoogleListAdGroupsData, aP as GoogleListAdGroupsResponses, aQ as GoogleListAdGroupsErrors, aR as GoogleListAdsData, aS as GoogleListAdsResponses, aT as GoogleListAdsErrors, aU as GoogleListAudiencesData, aV as GoogleListAudiencesResponses, aW as GoogleListAudiencesErrors, aX as GoogleListCampaignCriteriaData, aY as GoogleListCampaignCriteriaResponses, aZ as GoogleListCampaignCriteriaErrors, a_ as GoogleListCampaignsData, a$ as GoogleListCampaignsResponses, b0 as GoogleListCampaignsErrors, b1 as GoogleListConversionActionsData, b2 as GoogleListConversionActionsResponses, b3 as GoogleListConversionActionsErrors, b4 as GoogleListConversionGoalsData, b5 as GoogleListConversionGoalsResponses, b6 as GoogleListConversionGoalsErrors, b7 as GoogleListConversionRequestsData, b8 as GoogleListConversionRequestsResponses, b9 as GoogleListConversionRequestsErrors, ba as GoogleListKeywordsData, bb as GoogleListKeywordsResponses, bc as GoogleListKeywordsErrors, bd as GooglePauseAdData, be as GooglePauseAdResponses, bf as GooglePauseAdErrors, bg as GooglePauseAdGroupData, bh as GooglePauseAdGroupResponses, bi as GooglePauseAdGroupErrors, bj as GooglePauseCampaignData, bk as GooglePauseCampaignResponses, bl as GooglePauseCampaignErrors, bm as GooglePauseKeywordData, bn as GooglePauseKeywordResponses, bo as GooglePauseKeywordErrors, bp as GoogleRemoveAdData, bq as GoogleRemoveAdResponses, br as GoogleRemoveAdErrors, bs as GoogleRemoveAdGroupData, bt as GoogleRemoveAdGroupResponses, bu as GoogleRemoveAdGroupErrors, bv as GoogleRemoveAdGroupCriterionData, bw as GoogleRemoveAdGroupCriterionResponses, bx as GoogleRemoveAdGroupCriterionErrors, by as GoogleRemoveBudgetData, bz as GoogleRemoveBudgetResponses, bA as GoogleRemoveBudgetErrors, bB as GoogleRemoveCampaignData, bC as GoogleRemoveCampaignResponses, bD as GoogleRemoveCampaignErrors, bE as GoogleRemoveCampaignCriterionData, bF as GoogleRemoveCampaignCriterionResponses, bG as GoogleRemoveCampaignCriterionErrors, bH as GoogleRemoveKeywordData, bI as GoogleRemoveKeywordResponses, bJ as GoogleRemoveKeywordErrors, bK as GoogleRunGaqlData, bL as GoogleRunGaqlResponses, bM as GoogleRunGaqlErrors, bN as GoogleSearchGeoTargetsData, bO as GoogleSearchGeoTargetsResponses, bP as GoogleSearchGeoTargetsErrors, bQ as GoogleSendConversionsData, bR as GoogleSendConversionsResponses, bS as GoogleSendConversionsErrors, bT as GoogleSetAdGroupBidsData, bU as GoogleSetAdGroupBidsResponses, bV as GoogleSetAdGroupBidsErrors, bW as GoogleSetCampaignGeoSettingsData, bX as GoogleSetCampaignGeoSettingsResponses, bY as GoogleSetCampaignGeoSettingsErrors, bZ as GoogleSetCampaignTargetingSettingData, b_ as GoogleSetCampaignTargetingSettingResponses, b$ as GoogleSetCampaignTargetingSettingErrors, c0 as GoogleSetConversionGoalData, c1 as GoogleSetConversionGoalResponses, c2 as GoogleSetConversionGoalErrors, c3 as GoogleSetKeywordBidData, c4 as GoogleSetKeywordBidResponses, c5 as GoogleSetKeywordBidErrors, c6 as GoogleUploadImageAssetData, c7 as GoogleUploadImageAssetResponses, c8 as GoogleUploadImageAssetErrors, c9 as LogsGetData, ca as LogsGetResponses, cb as LogsGetErrors, cc as LogsListData, cd as LogsListResponses, ce as LogsListErrors, cf as MediaAbortData, cg as MediaAbortResponses, ch as MediaAbortErrors, ci as MediaCompleteData, cj as MediaCompleteResponses, ck as MediaCompleteErrors, cl as MediaCreateData, cm as MediaCreateResponses, cn as MediaCreateErrors, co as MediaDeleteData, cp as MediaDeleteResponses, cq as MediaDeleteErrors, cr as MediaGetData, cs as MediaGetResponses, ct as MediaGetErrors, cu as MediaListData, cv as MediaListResponses, cw as MediaListErrors, cx as MediaListPartsData, cy as MediaListPartsResponses, cz as MediaListPartsErrors, cA as MediaSignPartData, cB as MediaSignPartResponses, cC as MediaSignPartErrors, cD as MediaUpdateData, cE as MediaUpdateResponses, cF as MediaUpdateErrors, cG as MetaAccountData, cH as MetaAccountResponses, cI as MetaAccountErrors, cJ as MetaAdData, cK as MetaAdResponses, cL as MetaAdErrors, cM as MetaAdsData, cN as MetaAdsResponses, cO as MetaAdsErrors, cP as MetaAdsetData, cQ as MetaAdsetResponses, cR as MetaAdsetErrors, cS as MetaAdsetsData, cT as MetaAdsetsResponses, cU as MetaAdsetsErrors, cV as MetaCampaignData, cW as MetaCampaignResponses, cX as MetaCampaignErrors, cY as MetaCampaignsData, cZ as MetaCampaignsResponses, c_ as MetaCampaignsErrors, c$ as MetaInsightsData, d0 as MetaInsightsResponses, d1 as MetaInsightsErrors, d2 as PostsCreateData, d3 as PostsCreateResponses, d4 as PostsCreateErrors, d5 as PostsDeleteData, d6 as PostsDeleteResponses, d7 as PostsDeleteErrors, d8 as PostsGetData, d9 as PostsGetResponses, da as PostsGetErrors, db as PostsListData, dc as PostsListResponses, dd as PostsListErrors, de as PostsUpdateData, df as PostsUpdateResponses, dg as PostsUpdateErrors, dh as PostsValidateData, di as PostsValidateResponses, dj as PostsValidateErrors, dk as ProfilesCreateData, dl as ProfilesCreateResponses, dm as ProfilesCreateErrors, dn as ProfilesDeleteData, dp as ProfilesDeleteResponses, dq as ProfilesDeleteErrors, dr as ProfilesGetData, ds as ProfilesGetResponses, dt as ProfilesGetErrors, du as ProfilesListData, dv as ProfilesListResponses, dw as ProfilesListErrors, dx as ProfilesUpdateData, dy as ProfilesUpdateResponses, dz as ProfilesUpdateErrors, dA as TiktokCreatorInfoData, dB as TiktokCreatorInfoResponses, dC as TiktokCreatorInfoErrors, dD as TokensMintData, dE as TokensMintResponses, dF as TokensMintErrors, dG as WebhooksCreateEndpointData, dH as WebhooksCreateEndpointResponses, dI as WebhooksCreateEndpointErrors, dJ as WebhooksCreatePortalData, dK as WebhooksCreatePortalResponses, dL as WebhooksCreatePortalErrors, dM as WebhooksDeleteEndpointData, dN as WebhooksDeleteEndpointResponses, dO as WebhooksDeleteEndpointErrors, dP as WebhooksGetEndpointData, dQ as WebhooksGetEndpointResponses, dR as WebhooksGetEndpointErrors, dS as WebhooksListEndpointsData, dT as WebhooksListEndpointsResponses, dU as WebhooksListEndpointsErrors, dV as WebhooksListEventTypesData, dW as WebhooksListEventTypesResponses, dX as WebhooksListEventTypesErrors, dY as WebhooksPingData, dZ as WebhooksPingResponses, d_ as WebhooksPingErrors, d$ as WebhooksUpdateEndpointData, e0 as WebhooksUpdateEndpointResponses, e1 as WebhooksUpdateEndpointErrors, e2 as ErrorCode, e3 as MediaGetResponse, e4 as ConnectionsConnectResponse, e5 as ConnectionsGetResponse, e6 as ConnectionsListByProfileResponse, e7 as MediaCreateResponse, e8 as ConnectionsListAccountsResponse, e9 as MediaListResponse, ea as PostsGetResponse, eb as PostsListResponse, ec as PostsValidateResponse, ed as ProfilesGetResponse, ee as ProfilesListResponse, ef as TiktokCreatorInfoResponse, eg as PostrunClient, eh as GoogleAdTreeNode } from './types.gen-zIKtx009.js';
2
- export { ei as ClientOptions, ej as ConnectionsConnectError, ek as ConnectionsDeleteError, el as ConnectionsDeleteResponse, em as ConnectionsGetError, en as ConnectionsListAccountsError, eo as ConnectionsListByProfileError, ep as ConnectionsSelectError, eq as ConnectionsSelectResponse, er as CreatePostBody, es as DiscoverableAccount, et as ErrorSource, eu as GoogleAdTree, ev as GoogleAdsAd, ew as GoogleAdsAdGroup, ex as GoogleAdsAdGroupCriterion, ey as GoogleAdsAudience, ez as GoogleAdsCampaignCriterion, eA as GoogleAdsConversionConsent, eB as GoogleAdsConversionEvent, eC as GoogleAdsConversionRequest, eD as GoogleAdsConversionStatus, eE as GoogleAdsConversionStatusReason, eF as GoogleAdsConversionUserIdentifier, eG as GoogleAdsConversionWarning, eH as GoogleAdsCreateAdGroupCriterionRequest, eI as GoogleAdsCreateCampaignCriterionRequest, eJ as GoogleAdsCreateResult, eK as GoogleAdsDeleteResult, eL as GoogleAdsEditResult, eM as GoogleAdsGeoSettingsRequest, eN as GoogleAdsGeoTargetConstant, eO as GoogleAdsInsightLevel, eP as GoogleAdsInsightMetric, eQ as GoogleAdsInsightSegment, eR as GoogleAdsInsights, eS as GoogleAdsInsightsQuery, eT as GoogleAdsInsightsRow, eU as GoogleAdsKeyword, eV as GoogleAdsReadStatusFilter, eW as GoogleAdsSendConversionsResult, eX as GoogleAdsUrlCustomParameter, eY as GoogleCreateAdError, eZ as GoogleCreateAdGroupCriterionError, e_ as GoogleCreateAdGroupCriterionResponse, e$ as GoogleCreateAdGroupError, f0 as GoogleCreateAdGroupResponse, f1 as GoogleCreateAdResponse, f2 as GoogleCreateBudgetError, f3 as GoogleCreateBudgetResponse, f4 as GoogleCreateCampaignCriterionError, f5 as GoogleCreateCampaignCriterionResponse, f6 as GoogleCreateCampaignError, f7 as GoogleCreateCampaignResponse, f8 as GoogleCreateConversionActionError, f9 as GoogleCreateConversionActionResponse, fa as GoogleCreateDisplayAdError, fb as GoogleCreateDisplayAdResponse, fc as GoogleCreateKeywordError, fd as GoogleCreateKeywordResponse, fe as GoogleEditAccountError, ff as GoogleEditAccountResponse, fg as GoogleEditAdGroupError, fh as GoogleEditAdGroupResponse, fi as GoogleEditBudgetError, fj as GoogleEditBudgetResponse, fk as GoogleEditCampaignError, fl as GoogleEditCampaignResponse, fm as GoogleEnableAdError, fn as GoogleEnableAdGroupError, fo as GoogleEnableAdGroupResponse, fp as GoogleEnableAdResponse, fq as GoogleEnableCampaignError, fr as GoogleEnableCampaignResponse, fs as GoogleEnableKeywordError, ft as GoogleEnableKeywordResponse, fu as GoogleGetAccountError, fv as GoogleGetAccountResponse, fw as GoogleGetAdError, fx as GoogleGetAdGroupError, fy as GoogleGetAdGroupResponse, fz as GoogleGetAdResponse, fA as GoogleGetAdTreeError, fB as GoogleGetAdTreeResponse, fC as GoogleGetCampaignError, fD as GoogleGetCampaignResponse, fE as GoogleGetConversionActionError, fF as GoogleGetConversionActionResponse, fG as GoogleGetConversionStatusError, fH as GoogleGetConversionStatusResponse, fI as GoogleGetInsightsError, fJ as GoogleGetInsightsResponse, fK as GoogleGetKeywordError, fL as GoogleGetKeywordResponse, fM as GoogleListAdGroupCriteriaError, fN as GoogleListAdGroupCriteriaResponse, fO as GoogleListAdGroupsError, fP as GoogleListAdGroupsResponse, fQ as GoogleListAdsError, fR as GoogleListAdsResponse, fS as GoogleListAudiencesError, fT as GoogleListAudiencesResponse, fU as GoogleListCampaignCriteriaError, fV as GoogleListCampaignCriteriaResponse, fW as GoogleListCampaignsError, fX as GoogleListCampaignsResponse, fY as GoogleListConversionActionsError, fZ as GoogleListConversionActionsResponse, f_ as GoogleListConversionGoalsError, f$ as GoogleListConversionGoalsResponse, g0 as GoogleListConversionRequestsError, g1 as GoogleListConversionRequestsResponse, g2 as GoogleListKeywordsError, g3 as GoogleListKeywordsResponse, g4 as GooglePauseAdError, g5 as GooglePauseAdGroupError, g6 as GooglePauseAdGroupResponse, g7 as GooglePauseAdResponse, g8 as GooglePauseCampaignError, g9 as GooglePauseCampaignResponse, ga as GooglePauseKeywordError, gb as GooglePauseKeywordResponse, gc as GoogleRemoveAdError, gd as GoogleRemoveAdGroupCriterionError, ge as GoogleRemoveAdGroupCriterionResponse, gf as GoogleRemoveAdGroupError, gg as GoogleRemoveAdGroupResponse, gh as GoogleRemoveAdResponse, gi as GoogleRemoveBudgetError, gj as GoogleRemoveBudgetResponse, gk as GoogleRemoveCampaignCriterionError, gl as GoogleRemoveCampaignCriterionResponse, gm as GoogleRemoveCampaignError, gn as GoogleRemoveCampaignResponse, go as GoogleRemoveKeywordError, gp as GoogleRemoveKeywordResponse, gq as GoogleRunGaqlError, gr as GoogleRunGaqlResponse, gs as GoogleSearchGeoTargetsError, gt as GoogleSearchGeoTargetsResponse, gu as GoogleSendConversionsError, gv as GoogleSendConversionsResponse, gw as GoogleSetAdGroupBidsError, gx as GoogleSetAdGroupBidsResponse, gy as GoogleSetCampaignGeoSettingsError, gz as GoogleSetCampaignGeoSettingsResponse, gA as GoogleSetCampaignTargetingSettingError, gB as GoogleSetCampaignTargetingSettingResponse, gC as GoogleSetConversionGoalError, gD as GoogleSetConversionGoalResponse, gE as GoogleSetKeywordBidError, gF as GoogleSetKeywordBidResponse, gG as GoogleUploadImageAssetError, gH as GoogleUploadImageAssetResponse, gI as IdempotencyKey, gJ as LogsGetError, gK as LogsGetResponse, gL as LogsListError, gM as LogsListResponse, gN as Media, gO as MediaAbortError, gP as MediaAbortResponse, gQ as MediaCompleteError, gR as MediaCompleteResponse, gS as MediaCreateError, gT as MediaDeleteError, gU as MediaDeleteResponse, gV as MediaGetError, gW as MediaListError, gX as MediaListPartsError, gY as MediaListPartsResponse, gZ as MediaSignPartError, g_ as MediaSignPartResponse, g$ as MediaStage, h0 as MediaUpdateError, h1 as MediaUpdateResponse, h2 as MetaAccountError, h3 as MetaAccountResponse, h4 as MetaAdError, h5 as MetaAdResponse, h6 as MetaAdsError, h7 as MetaAdsResponse, h8 as MetaAdsetError, h9 as MetaAdsetResponse, ha as MetaAdsetsError, hb as MetaAdsetsResponse, hc as MetaCampaignError, hd as MetaCampaignResponse, he as MetaCampaignsError, hf as MetaCampaignsResponse, hg as MetaInsightsError, hh as MetaInsightsResponse, hi as PostVariantStatus, hj as PostrunClientOptions, hk as PostsCreateError, hl as PostsCreateResponse, hm as PostsDeleteError, hn as PostsDeleteResponse, ho as PostsGetError, hp as PostsListError, hq as PostsUpdateError, hr as PostsUpdateResponse, hs as PostsValidateError, ht as ProfilesCreateError, hu as ProfilesCreateResponse, hv as ProfilesDeleteError, hw as ProfilesDeleteResponse, hx as ProfilesGetError, hy as ProfilesListError, hz as ProfilesUpdateError, hA as ProfilesUpdateResponse, hB as TiktokCreatorInfoError, hC as TokensMintError, hD as TokensMintResponse, hE as WebhooksCreateEndpointError, hF as WebhooksCreateEndpointResponse, hG as WebhooksCreatePortalError, hH as WebhooksCreatePortalResponse, hI as WebhooksDeleteEndpointError, hJ as WebhooksDeleteEndpointResponse, hK as WebhooksGetEndpointError, hL as WebhooksGetEndpointResponse, hM as WebhooksListEndpointsError, hN as WebhooksListEndpointsResponse, hO as WebhooksListEventTypesError, hP as WebhooksListEventTypesResponse, hQ as WebhooksPingError, hR as WebhooksPingResponse, hS as WebhooksUpdateEndpointError, hT as WebhooksUpdateEndpointResponse, hU as createPostrunClient } from './types.gen-zIKtx009.js';
1
+ import { T as TDataShape, O as Options$1, C as Client, a as ClientMeta, b as ConnectionsConnectData, R as RequestResult, c as ConnectionsConnectResponses, d as ConnectionsConnectErrors, e as ConnectionsDeleteData, f as ConnectionsDeleteResponses, g as ConnectionsDeleteErrors, h as ConnectionsGetData, i as ConnectionsGetResponses, j as ConnectionsGetErrors, k as ConnectionsListAccountsData, l as ConnectionsListAccountsResponses, m as ConnectionsListAccountsErrors, n as ConnectionsListByProfileData, o as ConnectionsListByProfileResponses, p as ConnectionsListByProfileErrors, q as ConnectionsSelectData, r as ConnectionsSelectResponses, s as ConnectionsSelectErrors, G as GoogleCreateAdData, t as GoogleCreateAdResponses, u as GoogleCreateAdErrors, v as GoogleCreateAdGroupData, w as GoogleCreateAdGroupResponses, x as GoogleCreateAdGroupErrors, y as GoogleCreateAdGroupCriterionData, z as GoogleCreateAdGroupCriterionResponses, A as GoogleCreateAdGroupCriterionErrors, B as GoogleCreateBudgetData, D as GoogleCreateBudgetResponses, E as GoogleCreateBudgetErrors, F as GoogleCreateCampaignData, H as GoogleCreateCampaignResponses, I as GoogleCreateCampaignErrors, J as GoogleCreateCampaignCriterionData, K as GoogleCreateCampaignCriterionResponses, L as GoogleCreateCampaignCriterionErrors, M as GoogleCreateConversionActionData, N as GoogleCreateConversionActionResponses, P as GoogleCreateConversionActionErrors, Q as GoogleCreateDisplayAdData, S as GoogleCreateDisplayAdResponses, U as GoogleCreateDisplayAdErrors, V as GoogleCreateKeywordData, W as GoogleCreateKeywordResponses, X as GoogleCreateKeywordErrors, Y as GoogleEditAccountData, Z as GoogleEditAccountResponses, _ as GoogleEditAccountErrors, $ as GoogleEditAdGroupData, a0 as GoogleEditAdGroupResponses, a1 as GoogleEditAdGroupErrors, a2 as GoogleEditBudgetData, a3 as GoogleEditBudgetResponses, a4 as GoogleEditBudgetErrors, a5 as GoogleEditCampaignData, a6 as GoogleEditCampaignResponses, a7 as GoogleEditCampaignErrors, a8 as GoogleEnableAdData, a9 as GoogleEnableAdResponses, aa as GoogleEnableAdErrors, ab as GoogleEnableAdGroupData, ac as GoogleEnableAdGroupResponses, ad as GoogleEnableAdGroupErrors, ae as GoogleEnableCampaignData, af as GoogleEnableCampaignResponses, ag as GoogleEnableCampaignErrors, ah as GoogleEnableKeywordData, ai as GoogleEnableKeywordResponses, aj as GoogleEnableKeywordErrors, ak as GoogleGetAccountData, al as GoogleGetAccountResponses, am as GoogleGetAccountErrors, an as GoogleGetAdData, ao as GoogleGetAdResponses, ap as GoogleGetAdErrors, aq as GoogleGetAdGroupData, ar as GoogleGetAdGroupResponses, as as GoogleGetAdGroupErrors, at as GoogleGetAdTreeData, au as GoogleGetAdTreeResponses, av as GoogleGetAdTreeErrors, aw as GoogleGetCampaignData, ax as GoogleGetCampaignResponses, ay as GoogleGetCampaignErrors, az as GoogleGetConversionActionData, aA as GoogleGetConversionActionResponses, aB as GoogleGetConversionActionErrors, aC as GoogleGetConversionStatusData, aD as GoogleGetConversionStatusResponses, aE as GoogleGetConversionStatusErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupCriteriaData, aM as GoogleListAdGroupCriteriaResponses, aN as GoogleListAdGroupCriteriaErrors, aO as GoogleListAdGroupsData, aP as GoogleListAdGroupsResponses, aQ as GoogleListAdGroupsErrors, aR as GoogleListAdsData, aS as GoogleListAdsResponses, aT as GoogleListAdsErrors, aU as GoogleListAudiencesData, aV as GoogleListAudiencesResponses, aW as GoogleListAudiencesErrors, aX as GoogleListCampaignCriteriaData, aY as GoogleListCampaignCriteriaResponses, aZ as GoogleListCampaignCriteriaErrors, a_ as GoogleListCampaignsData, a$ as GoogleListCampaignsResponses, b0 as GoogleListCampaignsErrors, b1 as GoogleListConversionActionsData, b2 as GoogleListConversionActionsResponses, b3 as GoogleListConversionActionsErrors, b4 as GoogleListConversionGoalsData, b5 as GoogleListConversionGoalsResponses, b6 as GoogleListConversionGoalsErrors, b7 as GoogleListConversionRequestsData, b8 as GoogleListConversionRequestsResponses, b9 as GoogleListConversionRequestsErrors, ba as GoogleListKeywordsData, bb as GoogleListKeywordsResponses, bc as GoogleListKeywordsErrors, bd as GooglePauseAdData, be as GooglePauseAdResponses, bf as GooglePauseAdErrors, bg as GooglePauseAdGroupData, bh as GooglePauseAdGroupResponses, bi as GooglePauseAdGroupErrors, bj as GooglePauseCampaignData, bk as GooglePauseCampaignResponses, bl as GooglePauseCampaignErrors, bm as GooglePauseKeywordData, bn as GooglePauseKeywordResponses, bo as GooglePauseKeywordErrors, bp as GoogleRemoveAdData, bq as GoogleRemoveAdResponses, br as GoogleRemoveAdErrors, bs as GoogleRemoveAdGroupData, bt as GoogleRemoveAdGroupResponses, bu as GoogleRemoveAdGroupErrors, bv as GoogleRemoveAdGroupCriterionData, bw as GoogleRemoveAdGroupCriterionResponses, bx as GoogleRemoveAdGroupCriterionErrors, by as GoogleRemoveBudgetData, bz as GoogleRemoveBudgetResponses, bA as GoogleRemoveBudgetErrors, bB as GoogleRemoveCampaignData, bC as GoogleRemoveCampaignResponses, bD as GoogleRemoveCampaignErrors, bE as GoogleRemoveCampaignCriterionData, bF as GoogleRemoveCampaignCriterionResponses, bG as GoogleRemoveCampaignCriterionErrors, bH as GoogleRemoveConversionActionData, bI as GoogleRemoveConversionActionResponses, bJ as GoogleRemoveConversionActionErrors, bK as GoogleRemoveKeywordData, bL as GoogleRemoveKeywordResponses, bM as GoogleRemoveKeywordErrors, bN as GoogleRunGaqlData, bO as GoogleRunGaqlResponses, bP as GoogleRunGaqlErrors, bQ as GoogleSearchGeoTargetsData, bR as GoogleSearchGeoTargetsResponses, bS as GoogleSearchGeoTargetsErrors, bT as GoogleSendConversionsData, bU as GoogleSendConversionsResponses, bV as GoogleSendConversionsErrors, bW as GoogleSetAdGroupBidsData, bX as GoogleSetAdGroupBidsResponses, bY as GoogleSetAdGroupBidsErrors, bZ as GoogleSetCampaignGeoSettingsData, b_ as GoogleSetCampaignGeoSettingsResponses, b$ as GoogleSetCampaignGeoSettingsErrors, c0 as GoogleSetCampaignTargetingSettingData, c1 as GoogleSetCampaignTargetingSettingResponses, c2 as GoogleSetCampaignTargetingSettingErrors, c3 as GoogleSetConversionGoalData, c4 as GoogleSetConversionGoalResponses, c5 as GoogleSetConversionGoalErrors, c6 as GoogleSetKeywordBidData, c7 as GoogleSetKeywordBidResponses, c8 as GoogleSetKeywordBidErrors, c9 as GoogleUpdateConversionActionData, ca as GoogleUpdateConversionActionResponses, cb as GoogleUpdateConversionActionErrors, cc as GoogleUploadImageAssetData, cd as GoogleUploadImageAssetResponses, ce as GoogleUploadImageAssetErrors, cf as LogsGetData, cg as LogsGetResponses, ch as LogsGetErrors, ci as LogsListData, cj as LogsListResponses, ck as LogsListErrors, cl as MediaAbortData, cm as MediaAbortResponses, cn as MediaAbortErrors, co as MediaCompleteData, cp as MediaCompleteResponses, cq as MediaCompleteErrors, cr as MediaCreateData, cs as MediaCreateResponses, ct as MediaCreateErrors, cu as MediaDeleteData, cv as MediaDeleteResponses, cw as MediaDeleteErrors, cx as MediaGetData, cy as MediaGetResponses, cz as MediaGetErrors, cA as MediaListData, cB as MediaListResponses, cC as MediaListErrors, cD as MediaListPartsData, cE as MediaListPartsResponses, cF as MediaListPartsErrors, cG as MediaSignPartData, cH as MediaSignPartResponses, cI as MediaSignPartErrors, cJ as MediaUpdateData, cK as MediaUpdateResponses, cL as MediaUpdateErrors, cM as MetaAccountData, cN as MetaAccountResponses, cO as MetaAccountErrors, cP as MetaAdData, cQ as MetaAdResponses, cR as MetaAdErrors, cS as MetaAdsData, cT as MetaAdsResponses, cU as MetaAdsErrors, cV as MetaAdsetData, cW as MetaAdsetResponses, cX as MetaAdsetErrors, cY as MetaAdsetsData, cZ as MetaAdsetsResponses, c_ as MetaAdsetsErrors, c$ as MetaCampaignData, d0 as MetaCampaignResponses, d1 as MetaCampaignErrors, d2 as MetaCampaignsData, d3 as MetaCampaignsResponses, d4 as MetaCampaignsErrors, d5 as MetaInsightsData, d6 as MetaInsightsResponses, d7 as MetaInsightsErrors, d8 as PostsCreateData, d9 as PostsCreateResponses, da as PostsCreateErrors, db as PostsDeleteData, dc as PostsDeleteResponses, dd as PostsDeleteErrors, de as PostsGetData, df as PostsGetResponses, dg as PostsGetErrors, dh as PostsListData, di as PostsListResponses, dj as PostsListErrors, dk as PostsUpdateData, dl as PostsUpdateResponses, dm as PostsUpdateErrors, dn as PostsValidateData, dp as PostsValidateResponses, dq as PostsValidateErrors, dr as ProfilesCreateData, ds as ProfilesCreateResponses, dt as ProfilesCreateErrors, du as ProfilesDeleteData, dv as ProfilesDeleteResponses, dw as ProfilesDeleteErrors, dx as ProfilesGetData, dy as ProfilesGetResponses, dz as ProfilesGetErrors, dA as ProfilesListData, dB as ProfilesListResponses, dC as ProfilesListErrors, dD as ProfilesUpdateData, dE as ProfilesUpdateResponses, dF as ProfilesUpdateErrors, dG as TiktokCreatorInfoData, dH as TiktokCreatorInfoResponses, dI as TiktokCreatorInfoErrors, dJ as TokensMintData, dK as TokensMintResponses, dL as TokensMintErrors, dM as WebhooksCreateEndpointData, dN as WebhooksCreateEndpointResponses, dO as WebhooksCreateEndpointErrors, dP as WebhooksCreatePortalData, dQ as WebhooksCreatePortalResponses, dR as WebhooksCreatePortalErrors, dS as WebhooksDeleteEndpointData, dT as WebhooksDeleteEndpointResponses, dU as WebhooksDeleteEndpointErrors, dV as WebhooksGetEndpointData, dW as WebhooksGetEndpointResponses, dX as WebhooksGetEndpointErrors, dY as WebhooksListEndpointsData, dZ as WebhooksListEndpointsResponses, d_ as WebhooksListEndpointsErrors, d$ as WebhooksListEventTypesData, e0 as WebhooksListEventTypesResponses, e1 as WebhooksListEventTypesErrors, e2 as WebhooksPingData, e3 as WebhooksPingResponses, e4 as WebhooksPingErrors, e5 as WebhooksUpdateEndpointData, e6 as WebhooksUpdateEndpointResponses, e7 as WebhooksUpdateEndpointErrors, e8 as ErrorCode, e9 as MediaGetResponse, ea as ConnectionsConnectResponse, eb as ConnectionsGetResponse, ec as ConnectionsListByProfileResponse, ed as MediaCreateResponse, ee as ConnectionsListAccountsResponse, ef as MediaListResponse, eg as PostsGetResponse, eh as PostsListResponse, ei as PostsValidateResponse, ej as ProfilesGetResponse, ek as ProfilesListResponse, el as TiktokCreatorInfoResponse, em as PostrunClient, en as GoogleAdTreeNode } from './types.gen-K4cuIpk3.js';
2
+ export { eo as ClientOptions, ep as ConnectionsConnectError, eq as ConnectionsDeleteError, er as ConnectionsDeleteResponse, es as ConnectionsGetError, et as ConnectionsListAccountsError, eu as ConnectionsListByProfileError, ev as ConnectionsSelectError, ew as ConnectionsSelectResponse, ex as CreatePostBody, ey as DiscoverableAccount, ez as ErrorSource, eA as GoogleAdTree, eB as GoogleAdsAd, eC as GoogleAdsAdGroup, eD as GoogleAdsAdGroupCriterion, eE as GoogleAdsAudience, eF as GoogleAdsCampaignCriterion, eG as GoogleAdsConversionConsent, eH as GoogleAdsConversionEvent, eI as GoogleAdsConversionRequest, eJ as GoogleAdsConversionStatus, eK as GoogleAdsConversionStatusReason, eL as GoogleAdsConversionUserIdentifier, eM as GoogleAdsConversionWarning, eN as GoogleAdsCreateAdGroupCriterionRequest, eO as GoogleAdsCreateCampaignCriterionRequest, eP as GoogleAdsCreateResult, eQ as GoogleAdsDeleteResult, eR as GoogleAdsEditResult, eS as GoogleAdsGeoSettingsRequest, eT as GoogleAdsGeoTargetConstant, eU as GoogleAdsInsightLevel, eV as GoogleAdsInsightMetric, eW as GoogleAdsInsightSegment, eX as GoogleAdsInsights, eY as GoogleAdsInsightsQuery, eZ as GoogleAdsInsightsRow, e_ as GoogleAdsKeyword, e$ as GoogleAdsReadStatusFilter, f0 as GoogleAdsSendConversionsResult, f1 as GoogleAdsUrlCustomParameter, f2 as GoogleCreateAdError, f3 as GoogleCreateAdGroupCriterionError, f4 as GoogleCreateAdGroupCriterionResponse, f5 as GoogleCreateAdGroupError, f6 as GoogleCreateAdGroupResponse, f7 as GoogleCreateAdResponse, f8 as GoogleCreateBudgetError, f9 as GoogleCreateBudgetResponse, fa as GoogleCreateCampaignCriterionError, fb as GoogleCreateCampaignCriterionResponse, fc as GoogleCreateCampaignError, fd as GoogleCreateCampaignResponse, fe as GoogleCreateConversionActionError, ff as GoogleCreateConversionActionResponse, fg as GoogleCreateDisplayAdError, fh as GoogleCreateDisplayAdResponse, fi as GoogleCreateKeywordError, fj as GoogleCreateKeywordResponse, fk as GoogleEditAccountError, fl as GoogleEditAccountResponse, fm as GoogleEditAdGroupError, fn as GoogleEditAdGroupResponse, fo as GoogleEditBudgetError, fp as GoogleEditBudgetResponse, fq as GoogleEditCampaignError, fr as GoogleEditCampaignResponse, fs as GoogleEnableAdError, ft as GoogleEnableAdGroupError, fu as GoogleEnableAdGroupResponse, fv as GoogleEnableAdResponse, fw as GoogleEnableCampaignError, fx as GoogleEnableCampaignResponse, fy as GoogleEnableKeywordError, fz as GoogleEnableKeywordResponse, fA as GoogleGetAccountError, fB as GoogleGetAccountResponse, fC as GoogleGetAdError, fD as GoogleGetAdGroupError, fE as GoogleGetAdGroupResponse, fF as GoogleGetAdResponse, fG as GoogleGetAdTreeError, fH as GoogleGetAdTreeResponse, fI as GoogleGetCampaignError, fJ as GoogleGetCampaignResponse, fK as GoogleGetConversionActionError, fL as GoogleGetConversionActionResponse, fM as GoogleGetConversionStatusError, fN as GoogleGetConversionStatusResponse, fO as GoogleGetInsightsError, fP as GoogleGetInsightsResponse, fQ as GoogleGetKeywordError, fR as GoogleGetKeywordResponse, fS as GoogleListAdGroupCriteriaError, fT as GoogleListAdGroupCriteriaResponse, fU as GoogleListAdGroupsError, fV as GoogleListAdGroupsResponse, fW as GoogleListAdsError, fX as GoogleListAdsResponse, fY as GoogleListAudiencesError, fZ as GoogleListAudiencesResponse, f_ as GoogleListCampaignCriteriaError, f$ as GoogleListCampaignCriteriaResponse, g0 as GoogleListCampaignsError, g1 as GoogleListCampaignsResponse, g2 as GoogleListConversionActionsError, g3 as GoogleListConversionActionsResponse, g4 as GoogleListConversionGoalsError, g5 as GoogleListConversionGoalsResponse, g6 as GoogleListConversionRequestsError, g7 as GoogleListConversionRequestsResponse, g8 as GoogleListKeywordsError, g9 as GoogleListKeywordsResponse, ga as GooglePauseAdError, gb as GooglePauseAdGroupError, gc as GooglePauseAdGroupResponse, gd as GooglePauseAdResponse, ge as GooglePauseCampaignError, gf as GooglePauseCampaignResponse, gg as GooglePauseKeywordError, gh as GooglePauseKeywordResponse, gi as GoogleRemoveAdError, gj as GoogleRemoveAdGroupCriterionError, gk as GoogleRemoveAdGroupCriterionResponse, gl as GoogleRemoveAdGroupError, gm as GoogleRemoveAdGroupResponse, gn as GoogleRemoveAdResponse, go as GoogleRemoveBudgetError, gp as GoogleRemoveBudgetResponse, gq as GoogleRemoveCampaignCriterionError, gr as GoogleRemoveCampaignCriterionResponse, gs as GoogleRemoveCampaignError, gt as GoogleRemoveCampaignResponse, gu as GoogleRemoveConversionActionError, gv as GoogleRemoveConversionActionResponse, gw as GoogleRemoveKeywordError, gx as GoogleRemoveKeywordResponse, gy as GoogleRunGaqlError, gz as GoogleRunGaqlResponse, gA as GoogleSearchGeoTargetsError, gB as GoogleSearchGeoTargetsResponse, gC as GoogleSendConversionsError, gD as GoogleSendConversionsResponse, gE as GoogleSetAdGroupBidsError, gF as GoogleSetAdGroupBidsResponse, gG as GoogleSetCampaignGeoSettingsError, gH as GoogleSetCampaignGeoSettingsResponse, gI as GoogleSetCampaignTargetingSettingError, gJ as GoogleSetCampaignTargetingSettingResponse, gK as GoogleSetConversionGoalError, gL as GoogleSetConversionGoalResponse, gM as GoogleSetKeywordBidError, gN as GoogleSetKeywordBidResponse, gO as GoogleUpdateConversionActionError, gP as GoogleUpdateConversionActionResponse, gQ as GoogleUploadImageAssetError, gR as GoogleUploadImageAssetResponse, gS as IdempotencyKey, gT as LogsGetError, gU as LogsGetResponse, gV as LogsListError, gW as LogsListResponse, gX as Media, gY as MediaAbortError, gZ as MediaAbortResponse, g_ as MediaCompleteError, g$ as MediaCompleteResponse, h0 as MediaCreateError, h1 as MediaDeleteError, h2 as MediaDeleteResponse, h3 as MediaGetError, h4 as MediaListError, h5 as MediaListPartsError, h6 as MediaListPartsResponse, h7 as MediaSignPartError, h8 as MediaSignPartResponse, h9 as MediaStage, ha as MediaUpdateError, hb as MediaUpdateResponse, hc as MetaAccountError, hd as MetaAccountResponse, he as MetaAdError, hf as MetaAdResponse, hg as MetaAdsError, hh as MetaAdsResponse, hi as MetaAdsetError, hj as MetaAdsetResponse, hk as MetaAdsetsError, hl as MetaAdsetsResponse, hm as MetaCampaignError, hn as MetaCampaignResponse, ho as MetaCampaignsError, hp as MetaCampaignsResponse, hq as MetaInsightsError, hr as MetaInsightsResponse, hs as PostVariantStatus, ht as PostrunClientOptions, hu as PostsCreateError, hv as PostsCreateResponse, hw as PostsDeleteError, hx as PostsDeleteResponse, hy as PostsGetError, hz as PostsListError, hA as PostsUpdateError, hB as PostsUpdateResponse, hC as PostsValidateError, hD as ProfilesCreateError, hE as ProfilesCreateResponse, hF as ProfilesDeleteError, hG as ProfilesDeleteResponse, hH as ProfilesGetError, hI as ProfilesListError, hJ as ProfilesUpdateError, hK as ProfilesUpdateResponse, hL as TiktokCreatorInfoError, hM as TokensMintError, hN as TokensMintResponse, hO as WebhooksCreateEndpointError, hP as WebhooksCreateEndpointResponse, hQ as WebhooksCreatePortalError, hR as WebhooksCreatePortalResponse, hS as WebhooksDeleteEndpointError, hT as WebhooksDeleteEndpointResponse, hU as WebhooksGetEndpointError, hV as WebhooksGetEndpointResponse, hW as WebhooksListEndpointsError, hX as WebhooksListEndpointsResponse, hY as WebhooksListEventTypesError, hZ as WebhooksListEventTypesResponse, h_ as WebhooksPingError, h$ as WebhooksPingResponse, i0 as WebhooksUpdateEndpointError, i1 as WebhooksUpdateEndpointResponse, i2 as createPostrunClient } from './types.gen-K4cuIpk3.js';
3
3
  import * as z from 'zod';
4
4
 
5
5
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
@@ -687,6 +687,22 @@ declare const googleCreateConversionAction: <ThrowOnError extends boolean = true
687
687
  * Returns a single conversion action (the `conversion_action` resource) by its numeric id on the connection’s account.
688
688
  */
689
689
  declare const googleGetConversionAction: <ThrowOnError extends boolean = true>(options: Options<GoogleGetConversionActionData, ThrowOnError>) => RequestResult<GoogleGetConversionActionResponses, GoogleGetConversionActionErrors, ThrowOnError>;
690
+ /**
691
+ * Update a Google Ads conversion action
692
+ *
693
+ * **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `ads:write` scoped to the profile that owns the connection.
694
+ *
695
+ * Updates the mutable fields of a conversion action (name, category, status, value settings, counting type, lookback windows, primary-for-goal) by numeric id. Only the supplied fields change. Pass `dry_run: true` to validate against Google without applying.
696
+ */
697
+ declare const googleUpdateConversionAction: <ThrowOnError extends boolean = true>(options: Options<GoogleUpdateConversionActionData, ThrowOnError>) => RequestResult<GoogleUpdateConversionActionResponses, GoogleUpdateConversionActionErrors, ThrowOnError>;
698
+ /**
699
+ * Remove a Google Ads conversion action
700
+ *
701
+ * **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `ads:write` scoped to the profile that owns the connection.
702
+ *
703
+ * Removes a conversion action by numeric id (Google’s native remove — a soft delete to status REMOVED). Set `dry_run: true` in the body to validate the removal against Google without applying it.
704
+ */
705
+ declare const googleRemoveConversionAction: <ThrowOnError extends boolean = true>(options: Options<GoogleRemoveConversionActionData, ThrowOnError>) => RequestResult<GoogleRemoveConversionActionResponses, GoogleRemoveConversionActionErrors, ThrowOnError>;
690
706
  /**
691
707
  * Send Google Ads conversion events
692
708
  *
@@ -1137,6 +1153,26 @@ declare class UploadError extends Error {
1137
1153
  });
1138
1154
  }
1139
1155
 
1156
+ interface WaitForMediaOptions {
1157
+ /** Typed client to poll through; falls back to the SDK's default client. */
1158
+ client?: PostrunClient;
1159
+ /** Milliseconds between polls (default 1500). */
1160
+ pollInterval?: number;
1161
+ /** Milliseconds before giving up and rejecting (default 30 minutes). */
1162
+ timeout?: number;
1163
+ /** Abort the wait early. */
1164
+ signal?: AbortSignal;
1165
+ /** Each polled snapshot — surface `progress.percent` while it processes. */
1166
+ onPoll?: (media: MediaResource) => void;
1167
+ }
1168
+ /**
1169
+ * Resolve once a media asset stops processing. Polls `GET /v1/media/{id}` until
1170
+ * `status` is `ready` OR `failed`, returning that settled resource — a `failed`
1171
+ * asset RESOLVES (the caller inspects `status`/`error`), it does not throw. Rejects
1172
+ * on timeout or when `signal` aborts (a `DOMException('…', 'AbortError')`).
1173
+ */
1174
+ declare function waitForMedia(mediaId: string, options?: WaitForMediaOptions): Promise<MediaResource>;
1175
+
1140
1176
  /**
1141
1177
  * Map a TikTok privacy level to a short, human label for the composer's privacy
1142
1178
  * dropdown — the presentation the API deliberately keeps OFF the wire (the
@@ -1412,4 +1448,4 @@ declare function buildCreatePost(input: ComposePostInput, connections: readonly
1412
1448
  */
1413
1449
  declare function buildUpdatePost(input: ComposeUpdateInput, connections?: readonly ConnectionRef[]): UpdatePostInput;
1414
1450
 
1415
- export { type AdTreeNode, type ChannelConfig, type Channels, ComposeError, type ComposePostInput, type ComposeUpdateInput, type ConnectSession, type ConnectablePlatform, type Connection, type ConnectionKind, type ConnectionList, type ConnectionRef, type ConnectionStatus, ConnectionsConnectData, ConnectionsConnectErrors, ConnectionsConnectResponse, ConnectionsConnectResponses, ConnectionsDeleteData, ConnectionsDeleteErrors, ConnectionsDeleteResponses, ConnectionsGetData, ConnectionsGetErrors, ConnectionsGetResponse, ConnectionsGetResponses, ConnectionsListAccountsData, ConnectionsListAccountsErrors, ConnectionsListAccountsResponse, ConnectionsListAccountsResponses, ConnectionsListByProfileData, ConnectionsListByProfileErrors, ConnectionsListByProfileResponse, ConnectionsListByProfileResponses, ConnectionsSelectData, ConnectionsSelectErrors, ConnectionsSelectResponses, type CreateMediaInput, type CreateMediaResult, type CreatePostInput, type CreateProfileInput, type DiscoverableAccountList, ErrorCode, GoogleAdTreeNode, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupCriterionData, GoogleCreateAdGroupCriterionErrors, GoogleCreateAdGroupCriterionResponses, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignCriterionData, GoogleCreateCampaignCriterionErrors, GoogleCreateCampaignCriterionResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleEditAccountData, GoogleEditAccountErrors, GoogleEditAccountResponses, GoogleEditAdGroupData, GoogleEditAdGroupErrors, GoogleEditAdGroupResponses, GoogleEditBudgetData, GoogleEditBudgetErrors, GoogleEditBudgetResponses, GoogleEditCampaignData, GoogleEditCampaignErrors, GoogleEditCampaignResponses, GoogleEnableAdData, GoogleEnableAdErrors, GoogleEnableAdGroupData, GoogleEnableAdGroupErrors, GoogleEnableAdGroupResponses, GoogleEnableAdResponses, GoogleEnableCampaignData, GoogleEnableCampaignErrors, GoogleEnableCampaignResponses, GoogleEnableKeywordData, GoogleEnableKeywordErrors, GoogleEnableKeywordResponses, GoogleGetAccountData, GoogleGetAccountErrors, GoogleGetAccountResponses, GoogleGetAdData, GoogleGetAdErrors, GoogleGetAdGroupData, GoogleGetAdGroupErrors, GoogleGetAdGroupResponses, GoogleGetAdResponses, GoogleGetAdTreeData, GoogleGetAdTreeErrors, GoogleGetAdTreeResponses, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetConversionStatusData, GoogleGetConversionStatusErrors, GoogleGetConversionStatusResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupCriteriaData, GoogleListAdGroupCriteriaErrors, GoogleListAdGroupCriteriaResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListAudiencesData, GoogleListAudiencesErrors, GoogleListAudiencesResponses, GoogleListCampaignCriteriaData, GoogleListCampaignCriteriaErrors, GoogleListCampaignCriteriaResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListConversionRequestsData, GoogleListConversionRequestsErrors, GoogleListConversionRequestsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRemoveAdData, GoogleRemoveAdErrors, GoogleRemoveAdGroupCriterionData, GoogleRemoveAdGroupCriterionErrors, GoogleRemoveAdGroupCriterionResponses, GoogleRemoveAdGroupData, GoogleRemoveAdGroupErrors, GoogleRemoveAdGroupResponses, GoogleRemoveAdResponses, GoogleRemoveBudgetData, GoogleRemoveBudgetErrors, GoogleRemoveBudgetResponses, GoogleRemoveCampaignCriterionData, GoogleRemoveCampaignCriterionErrors, GoogleRemoveCampaignCriterionResponses, GoogleRemoveCampaignData, GoogleRemoveCampaignErrors, GoogleRemoveCampaignResponses, GoogleRemoveKeywordData, GoogleRemoveKeywordErrors, GoogleRemoveKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSearchGeoTargetsData, GoogleSearchGeoTargetsErrors, GoogleSearchGeoTargetsResponses, GoogleSendConversionsData, GoogleSendConversionsErrors, GoogleSendConversionsResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetCampaignGeoSettingsData, GoogleSetCampaignGeoSettingsErrors, GoogleSetCampaignGeoSettingsResponses, GoogleSetCampaignTargetingSettingData, GoogleSetCampaignTargetingSettingErrors, GoogleSetCampaignTargetingSettingResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type InstagramPostVariant, type LinkedInPollDuration, type LinkedInPostVariant, type ListConnectionsQuery, type ListMediaQuery, type ListPostsQuery, type ListProfilesQuery, LogsGetData, LogsGetErrors, LogsGetResponses, LogsListData, LogsListErrors, LogsListResponses, MediaAbortData, MediaAbortErrors, MediaAbortResponses, MediaCompleteData, MediaCompleteErrors, MediaCompleteResponses, MediaCreateData, MediaCreateErrors, MediaCreateResponse, MediaCreateResponses, MediaDeleteData, MediaDeleteErrors, MediaDeleteResponses, MediaGetData, MediaGetErrors, MediaGetResponse, MediaGetResponses, type MediaInput, type MediaKind, type MediaList, MediaListData, MediaListErrors, MediaListPartsData, MediaListPartsErrors, MediaListPartsResponses, MediaListResponse, MediaListResponses, type MediaResource, MediaSignPartData, MediaSignPartErrors, MediaSignPartResponses, type MediaStatus, type MediaTarget, MediaUpdateData, MediaUpdateErrors, MediaUpdateResponses, MetaAccountData, MetaAccountErrors, MetaAccountResponses, MetaAdData, MetaAdErrors, MetaAdResponses, MetaAdsData, MetaAdsErrors, MetaAdsResponses, MetaAdsetData, MetaAdsetErrors, MetaAdsetResponses, MetaAdsetsData, MetaAdsetsErrors, MetaAdsetsResponses, MetaCampaignData, MetaCampaignErrors, MetaCampaignResponses, MetaCampaignsData, MetaCampaignsErrors, MetaCampaignsResponses, MetaInsightsData, MetaInsightsErrors, MetaInsightsResponses, type Metadata, type MetadataFilter, type MultipartSession, type Options, POST_PLATFORMS, type Post, type PostContent, type PostList, type PostMetadata, type PostPlatform, type PostStatus, type PostType, type PostValidation, type PostVariant, type PostVariantError, type PostVariantInput, PostrunClient, PostrunError, type PostrunErrorCode, type PostrunFieldError, type PostrunProblem, PostsCreateData, PostsCreateErrors, PostsCreateResponses, PostsDeleteData, PostsDeleteErrors, PostsDeleteResponses, PostsGetData, PostsGetErrors, PostsGetResponse, PostsGetResponses, PostsListData, PostsListErrors, PostsListResponse, PostsListResponses, PostsUpdateData, PostsUpdateErrors, PostsUpdateResponses, PostsValidateData, PostsValidateErrors, PostsValidateResponse, PostsValidateResponses, type Profile, type ProfileList, ProfilesCreateData, ProfilesCreateErrors, ProfilesCreateResponses, ProfilesDeleteData, ProfilesDeleteErrors, ProfilesDeleteResponses, ProfilesGetData, ProfilesGetErrors, ProfilesGetResponse, ProfilesGetResponses, ProfilesListData, ProfilesListErrors, ProfilesListResponse, ProfilesListResponses, ProfilesUpdateData, ProfilesUpdateErrors, ProfilesUpdateResponses, type PublishMode, type SelectAccountInput, type SettingsFor, TIKTOK_AUDIENCE_REQUIRED_HINT, TIKTOK_BRANDED_CONTENT_POLICY_URL, TIKTOK_CAPTION_MAX, TIKTOK_DISCLOSURE_REQUIRED_HINT, TIKTOK_MUSIC_CONFIRMATION_URL, TIKTOK_PROCESSING_NOTICE, type TikTokBrandKind, type TikTokCreatorInfo, type TikTokInteractionKey, type TikTokInteractionRow, type TikTokOptionsValue, type TikTokPostVariant, type TikTokPrivacyChoice, type TikTokPrivacyLevel, TiktokCreatorInfoData, TiktokCreatorInfoErrors, TiktokCreatorInfoResponse, TiktokCreatorInfoResponses, TokensMintData, TokensMintErrors, TokensMintResponses, type UpdateMediaInput, type UpdatePostInput, type UpdateProfileInput, UploadError, type UploadFileOptions, type ValidatePostInput, type ValidationIssue, WebhooksCreateEndpointData, WebhooksCreateEndpointErrors, WebhooksCreateEndpointResponses, WebhooksCreatePortalData, WebhooksCreatePortalErrors, WebhooksCreatePortalResponses, WebhooksDeleteEndpointData, WebhooksDeleteEndpointErrors, WebhooksDeleteEndpointResponses, WebhooksGetEndpointData, WebhooksGetEndpointErrors, WebhooksGetEndpointResponses, WebhooksListEndpointsData, WebhooksListEndpointsErrors, WebhooksListEndpointsResponses, WebhooksListEventTypesData, WebhooksListEventTypesErrors, WebhooksListEventTypesResponses, WebhooksPingData, WebhooksPingErrors, WebhooksPingResponses, WebhooksUpdateEndpointData, WebhooksUpdateEndpointErrors, WebhooksUpdateEndpointResponses, type XPoll, type XPostVariant, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, captionMaxFor, commercialDisclosureIncomplete, commercialLabelNotice, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, defaultTikTokOptions, failedVariants, googleCreateAd, googleCreateAdGroup, googleCreateAdGroupCriterion, googleCreateBudget, googleCreateCampaign, googleCreateCampaignCriterion, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleEditAccount, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetAdTree, googleGetCampaign, googleGetConversionAction, googleGetConversionStatus, googleGetInsights, googleGetKeyword, googleListAdGroupCriteria, googleListAdGroups, googleListAds, googleListAudiences, googleListCampaignCriteria, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListConversionRequests, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRemoveAd, googleRemoveAdGroup, googleRemoveAdGroupCriterion, googleRemoveBudget, googleRemoveCampaign, googleRemoveCampaignCriterion, googleRemoveKeyword, googleRunGaql, googleSearchGeoTargets, googleSendConversions, googleSetAdGroupBids, googleSetCampaignGeoSettings, googleSetCampaignTargetingSetting, googleSetConversionGoal, googleSetKeywordBid, googleUploadImageAsset, groupAdTree, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, logsGet, logsList, mediaAbort, mediaComplete, mediaCreate, mediaDelete, mediaGet, mediaList, mediaListParts, mediaSignPart, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, parsePrivacyLevel, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, privacyChoices, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, setBrandKind, setCommercialDisclosure, tiktokCreatorInfo, tiktokOptionsReady, tiktokPrivacyLabel, tiktokSettings, toggleInteraction, tokensMint, uploadFile, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint, xPollDurationLabel };
1451
+ export { type AdTreeNode, type ChannelConfig, type Channels, ComposeError, type ComposePostInput, type ComposeUpdateInput, type ConnectSession, type ConnectablePlatform, type Connection, type ConnectionKind, type ConnectionList, type ConnectionRef, type ConnectionStatus, ConnectionsConnectData, ConnectionsConnectErrors, ConnectionsConnectResponse, ConnectionsConnectResponses, ConnectionsDeleteData, ConnectionsDeleteErrors, ConnectionsDeleteResponses, ConnectionsGetData, ConnectionsGetErrors, ConnectionsGetResponse, ConnectionsGetResponses, ConnectionsListAccountsData, ConnectionsListAccountsErrors, ConnectionsListAccountsResponse, ConnectionsListAccountsResponses, ConnectionsListByProfileData, ConnectionsListByProfileErrors, ConnectionsListByProfileResponse, ConnectionsListByProfileResponses, ConnectionsSelectData, ConnectionsSelectErrors, ConnectionsSelectResponses, type CreateMediaInput, type CreateMediaResult, type CreatePostInput, type CreateProfileInput, type DiscoverableAccountList, ErrorCode, GoogleAdTreeNode, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupCriterionData, GoogleCreateAdGroupCriterionErrors, GoogleCreateAdGroupCriterionResponses, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignCriterionData, GoogleCreateCampaignCriterionErrors, GoogleCreateCampaignCriterionResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleEditAccountData, GoogleEditAccountErrors, GoogleEditAccountResponses, GoogleEditAdGroupData, GoogleEditAdGroupErrors, GoogleEditAdGroupResponses, GoogleEditBudgetData, GoogleEditBudgetErrors, GoogleEditBudgetResponses, GoogleEditCampaignData, GoogleEditCampaignErrors, GoogleEditCampaignResponses, GoogleEnableAdData, GoogleEnableAdErrors, GoogleEnableAdGroupData, GoogleEnableAdGroupErrors, GoogleEnableAdGroupResponses, GoogleEnableAdResponses, GoogleEnableCampaignData, GoogleEnableCampaignErrors, GoogleEnableCampaignResponses, GoogleEnableKeywordData, GoogleEnableKeywordErrors, GoogleEnableKeywordResponses, GoogleGetAccountData, GoogleGetAccountErrors, GoogleGetAccountResponses, GoogleGetAdData, GoogleGetAdErrors, GoogleGetAdGroupData, GoogleGetAdGroupErrors, GoogleGetAdGroupResponses, GoogleGetAdResponses, GoogleGetAdTreeData, GoogleGetAdTreeErrors, GoogleGetAdTreeResponses, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetConversionStatusData, GoogleGetConversionStatusErrors, GoogleGetConversionStatusResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupCriteriaData, GoogleListAdGroupCriteriaErrors, GoogleListAdGroupCriteriaResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListAudiencesData, GoogleListAudiencesErrors, GoogleListAudiencesResponses, GoogleListCampaignCriteriaData, GoogleListCampaignCriteriaErrors, GoogleListCampaignCriteriaResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListConversionRequestsData, GoogleListConversionRequestsErrors, GoogleListConversionRequestsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRemoveAdData, GoogleRemoveAdErrors, GoogleRemoveAdGroupCriterionData, GoogleRemoveAdGroupCriterionErrors, GoogleRemoveAdGroupCriterionResponses, GoogleRemoveAdGroupData, GoogleRemoveAdGroupErrors, GoogleRemoveAdGroupResponses, GoogleRemoveAdResponses, GoogleRemoveBudgetData, GoogleRemoveBudgetErrors, GoogleRemoveBudgetResponses, GoogleRemoveCampaignCriterionData, GoogleRemoveCampaignCriterionErrors, GoogleRemoveCampaignCriterionResponses, GoogleRemoveCampaignData, GoogleRemoveCampaignErrors, GoogleRemoveCampaignResponses, GoogleRemoveConversionActionData, GoogleRemoveConversionActionErrors, GoogleRemoveConversionActionResponses, GoogleRemoveKeywordData, GoogleRemoveKeywordErrors, GoogleRemoveKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSearchGeoTargetsData, GoogleSearchGeoTargetsErrors, GoogleSearchGeoTargetsResponses, GoogleSendConversionsData, GoogleSendConversionsErrors, GoogleSendConversionsResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetCampaignGeoSettingsData, GoogleSetCampaignGeoSettingsErrors, GoogleSetCampaignGeoSettingsResponses, GoogleSetCampaignTargetingSettingData, GoogleSetCampaignTargetingSettingErrors, GoogleSetCampaignTargetingSettingResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUpdateConversionActionData, GoogleUpdateConversionActionErrors, GoogleUpdateConversionActionResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type InstagramPostVariant, type LinkedInPollDuration, type LinkedInPostVariant, type ListConnectionsQuery, type ListMediaQuery, type ListPostsQuery, type ListProfilesQuery, LogsGetData, LogsGetErrors, LogsGetResponses, LogsListData, LogsListErrors, LogsListResponses, MediaAbortData, MediaAbortErrors, MediaAbortResponses, MediaCompleteData, MediaCompleteErrors, MediaCompleteResponses, MediaCreateData, MediaCreateErrors, MediaCreateResponse, MediaCreateResponses, MediaDeleteData, MediaDeleteErrors, MediaDeleteResponses, MediaGetData, MediaGetErrors, MediaGetResponse, MediaGetResponses, type MediaInput, type MediaKind, type MediaList, MediaListData, MediaListErrors, MediaListPartsData, MediaListPartsErrors, MediaListPartsResponses, MediaListResponse, MediaListResponses, type MediaResource, MediaSignPartData, MediaSignPartErrors, MediaSignPartResponses, type MediaStatus, type MediaTarget, MediaUpdateData, MediaUpdateErrors, MediaUpdateResponses, MetaAccountData, MetaAccountErrors, MetaAccountResponses, MetaAdData, MetaAdErrors, MetaAdResponses, MetaAdsData, MetaAdsErrors, MetaAdsResponses, MetaAdsetData, MetaAdsetErrors, MetaAdsetResponses, MetaAdsetsData, MetaAdsetsErrors, MetaAdsetsResponses, MetaCampaignData, MetaCampaignErrors, MetaCampaignResponses, MetaCampaignsData, MetaCampaignsErrors, MetaCampaignsResponses, MetaInsightsData, MetaInsightsErrors, MetaInsightsResponses, type Metadata, type MetadataFilter, type MultipartSession, type Options, POST_PLATFORMS, type Post, type PostContent, type PostList, type PostMetadata, type PostPlatform, type PostStatus, type PostType, type PostValidation, type PostVariant, type PostVariantError, type PostVariantInput, PostrunClient, PostrunError, type PostrunErrorCode, type PostrunFieldError, type PostrunProblem, PostsCreateData, PostsCreateErrors, PostsCreateResponses, PostsDeleteData, PostsDeleteErrors, PostsDeleteResponses, PostsGetData, PostsGetErrors, PostsGetResponse, PostsGetResponses, PostsListData, PostsListErrors, PostsListResponse, PostsListResponses, PostsUpdateData, PostsUpdateErrors, PostsUpdateResponses, PostsValidateData, PostsValidateErrors, PostsValidateResponse, PostsValidateResponses, type Profile, type ProfileList, ProfilesCreateData, ProfilesCreateErrors, ProfilesCreateResponses, ProfilesDeleteData, ProfilesDeleteErrors, ProfilesDeleteResponses, ProfilesGetData, ProfilesGetErrors, ProfilesGetResponse, ProfilesGetResponses, ProfilesListData, ProfilesListErrors, ProfilesListResponse, ProfilesListResponses, ProfilesUpdateData, ProfilesUpdateErrors, ProfilesUpdateResponses, type PublishMode, type SelectAccountInput, type SettingsFor, TIKTOK_AUDIENCE_REQUIRED_HINT, TIKTOK_BRANDED_CONTENT_POLICY_URL, TIKTOK_CAPTION_MAX, TIKTOK_DISCLOSURE_REQUIRED_HINT, TIKTOK_MUSIC_CONFIRMATION_URL, TIKTOK_PROCESSING_NOTICE, type TikTokBrandKind, type TikTokCreatorInfo, type TikTokInteractionKey, type TikTokInteractionRow, type TikTokOptionsValue, type TikTokPostVariant, type TikTokPrivacyChoice, type TikTokPrivacyLevel, TiktokCreatorInfoData, TiktokCreatorInfoErrors, TiktokCreatorInfoResponse, TiktokCreatorInfoResponses, TokensMintData, TokensMintErrors, TokensMintResponses, type UpdateMediaInput, type UpdatePostInput, type UpdateProfileInput, UploadError, type UploadFileOptions, type ValidatePostInput, type ValidationIssue, type WaitForMediaOptions, WebhooksCreateEndpointData, WebhooksCreateEndpointErrors, WebhooksCreateEndpointResponses, WebhooksCreatePortalData, WebhooksCreatePortalErrors, WebhooksCreatePortalResponses, WebhooksDeleteEndpointData, WebhooksDeleteEndpointErrors, WebhooksDeleteEndpointResponses, WebhooksGetEndpointData, WebhooksGetEndpointErrors, WebhooksGetEndpointResponses, WebhooksListEndpointsData, WebhooksListEndpointsErrors, WebhooksListEndpointsResponses, WebhooksListEventTypesData, WebhooksListEventTypesErrors, WebhooksListEventTypesResponses, WebhooksPingData, WebhooksPingErrors, WebhooksPingResponses, WebhooksUpdateEndpointData, WebhooksUpdateEndpointErrors, WebhooksUpdateEndpointResponses, type XPoll, type XPostVariant, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, captionMaxFor, commercialDisclosureIncomplete, commercialLabelNotice, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, defaultTikTokOptions, failedVariants, googleCreateAd, googleCreateAdGroup, googleCreateAdGroupCriterion, googleCreateBudget, googleCreateCampaign, googleCreateCampaignCriterion, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleEditAccount, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetAdTree, googleGetCampaign, googleGetConversionAction, googleGetConversionStatus, googleGetInsights, googleGetKeyword, googleListAdGroupCriteria, googleListAdGroups, googleListAds, googleListAudiences, googleListCampaignCriteria, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListConversionRequests, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRemoveAd, googleRemoveAdGroup, googleRemoveAdGroupCriterion, googleRemoveBudget, googleRemoveCampaign, googleRemoveCampaignCriterion, googleRemoveConversionAction, googleRemoveKeyword, googleRunGaql, googleSearchGeoTargets, googleSendConversions, googleSetAdGroupBids, googleSetCampaignGeoSettings, googleSetCampaignTargetingSetting, googleSetConversionGoal, googleSetKeywordBid, googleUpdateConversionAction, googleUploadImageAsset, groupAdTree, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, logsGet, logsList, mediaAbort, mediaComplete, mediaCreate, mediaDelete, mediaGet, mediaList, mediaListParts, mediaSignPart, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, parsePrivacyLevel, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, privacyChoices, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, setBrandKind, setCommercialDisclosure, tiktokCreatorInfo, tiktokOptionsReady, tiktokPrivacyLabel, tiktokSettings, toggleInteraction, tokensMint, uploadFile, waitForMedia, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint, xPollDurationLabel };
package/dist/index.js CHANGED
@@ -1,8 +1,9 @@
1
- import { mediaAbort, mediaComplete, mediaListParts, mediaSignPart } from './chunk-YFAPR4TH.js';
2
- export { PostrunError, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, createPostrunClient, googleCreateAd, googleCreateAdGroup, googleCreateAdGroupCriterion, googleCreateBudget, googleCreateCampaign, googleCreateCampaignCriterion, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleEditAccount, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetAdTree, googleGetCampaign, googleGetConversionAction, googleGetConversionStatus, googleGetInsights, googleGetKeyword, googleListAdGroupCriteria, googleListAdGroups, googleListAds, googleListAudiences, googleListCampaignCriteria, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListConversionRequests, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRemoveAd, googleRemoveAdGroup, googleRemoveAdGroupCriterion, googleRemoveBudget, googleRemoveCampaign, googleRemoveCampaignCriterion, googleRemoveKeyword, googleRunGaql, googleSearchGeoTargets, googleSendConversions, googleSetAdGroupBids, googleSetCampaignGeoSettings, googleSetCampaignTargetingSetting, googleSetConversionGoal, googleSetKeywordBid, googleUploadImageAsset, logsGet, logsList, mediaAbort, mediaComplete, mediaCreate, mediaDelete, mediaGet, mediaList, mediaListParts, mediaSignPart, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, tiktokCreatorInfo, tokensMint, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint } from './chunk-YFAPR4TH.js';
3
- import './chunk-QXMLASQ6.js';
1
+ import { mediaAbort, mediaComplete, mediaListParts, mediaSignPart, mediaGet } from './chunk-PE3ULG66.js';
2
+ export { PostrunError, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, createPostrunClient, googleCreateAd, googleCreateAdGroup, googleCreateAdGroupCriterion, googleCreateBudget, googleCreateCampaign, googleCreateCampaignCriterion, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleEditAccount, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetAdTree, googleGetCampaign, googleGetConversionAction, googleGetConversionStatus, googleGetInsights, googleGetKeyword, googleListAdGroupCriteria, googleListAdGroups, googleListAds, googleListAudiences, googleListCampaignCriteria, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListConversionRequests, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRemoveAd, googleRemoveAdGroup, googleRemoveAdGroupCriterion, googleRemoveBudget, googleRemoveCampaign, googleRemoveCampaignCriterion, googleRemoveConversionAction, googleRemoveKeyword, googleRunGaql, googleSearchGeoTargets, googleSendConversions, googleSetAdGroupBids, googleSetCampaignGeoSettings, googleSetCampaignTargetingSetting, googleSetConversionGoal, googleSetKeywordBid, googleUpdateConversionAction, googleUploadImageAsset, logsGet, logsList, mediaAbort, mediaComplete, mediaCreate, mediaDelete, mediaGet, mediaList, mediaListParts, mediaSignPart, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, tiktokCreatorInfo, tokensMint, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint } from './chunk-PE3ULG66.js';
3
+ import './chunk-A6DM6I6G.js';
4
4
  import Uppy from '@uppy/core';
5
5
  import AwsS3 from '@uppy/aws-s3';
6
+ import pWaitFor from 'p-wait-for';
6
7
 
7
8
  // src/resources.ts
8
9
  var isPublished = (post) => post.status === "published";
@@ -113,6 +114,33 @@ async function uploadFile(file, options) {
113
114
  function fileName(file) {
114
115
  return file instanceof File ? file.name : "upload";
115
116
  }
117
+ var DEFAULT_POLL_INTERVAL_MS = 1500;
118
+ var DEFAULT_POLL_TIMEOUT_MS = 30 * 60 * 1e3;
119
+ async function waitForMedia(mediaId, options = {}) {
120
+ const {
121
+ client,
122
+ pollInterval = DEFAULT_POLL_INTERVAL_MS,
123
+ timeout = DEFAULT_POLL_TIMEOUT_MS,
124
+ signal,
125
+ onPoll
126
+ } = options;
127
+ let latest;
128
+ await pWaitFor(
129
+ async () => {
130
+ if (signal?.aborted) {
131
+ throw new DOMException("Media wait aborted", "AbortError");
132
+ }
133
+ latest = (await mediaGet({ client, path: { id: mediaId } })).data;
134
+ onPoll?.(latest);
135
+ return latest.status === "ready" || latest.status === "failed";
136
+ },
137
+ { interval: pollInterval, timeout }
138
+ );
139
+ if (!latest) {
140
+ throw new Error("Media polling returned no result.");
141
+ }
142
+ return latest;
143
+ }
116
144
 
117
145
  // src/tiktok.ts
118
146
  function tiktokPrivacyLabel(value) {
@@ -441,6 +469,6 @@ function buildUpdatePost(input, connections = []) {
441
469
  };
442
470
  }
443
471
 
444
- export { ComposeError, POST_PLATFORMS, TIKTOK_AUDIENCE_REQUIRED_HINT, TIKTOK_BRANDED_CONTENT_POLICY_URL, TIKTOK_CAPTION_MAX, TIKTOK_DISCLOSURE_REQUIRED_HINT, TIKTOK_MUSIC_CONFIRMATION_URL, TIKTOK_PROCESSING_NOTICE, UploadError, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, captionMaxFor, commercialDisclosureIncomplete, commercialLabelNotice, defaultTikTokOptions, failedVariants, groupAdTree, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, parsePrivacyLevel, privacyChoices, setBrandKind, setCommercialDisclosure, tiktokOptionsReady, tiktokPrivacyLabel, tiktokSettings, toggleInteraction, uploadFile, xPollDurationLabel };
472
+ export { ComposeError, POST_PLATFORMS, TIKTOK_AUDIENCE_REQUIRED_HINT, TIKTOK_BRANDED_CONTENT_POLICY_URL, TIKTOK_CAPTION_MAX, TIKTOK_DISCLOSURE_REQUIRED_HINT, TIKTOK_MUSIC_CONFIRMATION_URL, TIKTOK_PROCESSING_NOTICE, UploadError, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, captionMaxFor, commercialDisclosureIncomplete, commercialLabelNotice, defaultTikTokOptions, failedVariants, groupAdTree, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, parsePrivacyLevel, privacyChoices, setBrandKind, setCommercialDisclosure, tiktokOptionsReady, tiktokPrivacyLabel, tiktokSettings, toggleInteraction, uploadFile, waitForMedia, xPollDurationLabel };
445
473
  //# sourceMappingURL=index.js.map
446
474
  //# sourceMappingURL=index.js.map