@postrun/js 2.3.0 → 2.5.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 GoogleCreateBudgetData, z as GoogleCreateBudgetResponses, A as GoogleCreateBudgetErrors, B as GoogleCreateCampaignData, D as GoogleCreateCampaignResponses, E as GoogleCreateCampaignErrors, F as GoogleCreateConversionActionData, H as GoogleCreateConversionActionResponses, I as GoogleCreateConversionActionErrors, J as GoogleCreateDisplayAdData, K as GoogleCreateDisplayAdResponses, L as GoogleCreateDisplayAdErrors, M as GoogleCreateKeywordData, N as GoogleCreateKeywordResponses, P as GoogleCreateKeywordErrors, Q as GoogleDeleteAdData, S as GoogleDeleteAdResponses, U as GoogleDeleteAdErrors, V as GoogleDeleteAdGroupData, W as GoogleDeleteAdGroupResponses, X as GoogleDeleteAdGroupErrors, Y as GoogleDeleteBudgetData, Z as GoogleDeleteBudgetResponses, _ as GoogleDeleteBudgetErrors, $ as GoogleDeleteCampaignData, a0 as GoogleDeleteCampaignResponses, a1 as GoogleDeleteCampaignErrors, a2 as GoogleDeleteKeywordData, a3 as GoogleDeleteKeywordResponses, a4 as GoogleDeleteKeywordErrors, a5 as GoogleEditAdGroupData, a6 as GoogleEditAdGroupResponses, a7 as GoogleEditAdGroupErrors, a8 as GoogleEditBudgetData, a9 as GoogleEditBudgetResponses, aa as GoogleEditBudgetErrors, ab as GoogleEditCampaignData, ac as GoogleEditCampaignResponses, ad as GoogleEditCampaignErrors, ae as GoogleEnableAdData, af as GoogleEnableAdResponses, ag as GoogleEnableAdErrors, ah as GoogleEnableAdGroupData, ai as GoogleEnableAdGroupResponses, aj as GoogleEnableAdGroupErrors, ak as GoogleEnableCampaignData, al as GoogleEnableCampaignResponses, am as GoogleEnableCampaignErrors, an as GoogleEnableKeywordData, ao as GoogleEnableKeywordResponses, ap as GoogleEnableKeywordErrors, aq as GoogleGetAccountData, ar as GoogleGetAccountResponses, as as GoogleGetAccountErrors, at as GoogleGetAdData, au as GoogleGetAdResponses, av as GoogleGetAdErrors, aw as GoogleGetAdGroupData, ax as GoogleGetAdGroupResponses, ay as GoogleGetAdGroupErrors, az as GoogleGetCampaignData, aA as GoogleGetCampaignResponses, aB as GoogleGetCampaignErrors, aC as GoogleGetConversionActionData, aD as GoogleGetConversionActionResponses, aE as GoogleGetConversionActionErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupsData, aM as GoogleListAdGroupsResponses, aN as GoogleListAdGroupsErrors, aO as GoogleListAdsData, aP as GoogleListAdsResponses, aQ as GoogleListAdsErrors, aR as GoogleListCampaignsData, aS as GoogleListCampaignsResponses, aT as GoogleListCampaignsErrors, aU as GoogleListConversionActionsData, aV as GoogleListConversionActionsResponses, aW as GoogleListConversionActionsErrors, aX as GoogleListConversionGoalsData, aY as GoogleListConversionGoalsResponses, aZ as GoogleListConversionGoalsErrors, a_ as GoogleListKeywordsData, a$ as GoogleListKeywordsResponses, b0 as GoogleListKeywordsErrors, b1 as GooglePauseAdData, b2 as GooglePauseAdResponses, b3 as GooglePauseAdErrors, b4 as GooglePauseAdGroupData, b5 as GooglePauseAdGroupResponses, b6 as GooglePauseAdGroupErrors, b7 as GooglePauseCampaignData, b8 as GooglePauseCampaignResponses, b9 as GooglePauseCampaignErrors, ba as GooglePauseKeywordData, bb as GooglePauseKeywordResponses, bc as GooglePauseKeywordErrors, bd as GoogleRunGaqlData, be as GoogleRunGaqlResponses, bf as GoogleRunGaqlErrors, bg as GoogleSetAdGroupBidsData, bh as GoogleSetAdGroupBidsResponses, bi as GoogleSetAdGroupBidsErrors, bj as GoogleSetConversionGoalData, bk as GoogleSetConversionGoalResponses, bl as GoogleSetConversionGoalErrors, bm as GoogleSetKeywordBidData, bn as GoogleSetKeywordBidResponses, bo as GoogleSetKeywordBidErrors, bp as GoogleUploadConversionsData, bq as GoogleUploadConversionsResponses, br as GoogleUploadConversionsErrors, bs as GoogleUploadImageAssetData, bt as GoogleUploadImageAssetResponses, bu as GoogleUploadImageAssetErrors, bv as LogsGetData, bw as LogsGetResponses, bx as LogsGetErrors, by as LogsListData, bz as LogsListResponses, bA as LogsListErrors, bB as MediaCreateData, bC as MediaCreateResponses, bD as MediaCreateErrors, bE as MediaDeleteData, bF as MediaDeleteResponses, bG as MediaDeleteErrors, bH as MediaGetData, bI as MediaGetResponses, bJ as MediaGetErrors, bK as MediaListData, bL as MediaListResponses, bM as MediaListErrors, bN as MediaUpdateData, bO as MediaUpdateResponses, bP as MediaUpdateErrors, bQ as MetaAccountData, bR as MetaAccountResponses, bS as MetaAccountErrors, bT as MetaAdData, bU as MetaAdResponses, bV as MetaAdErrors, bW as MetaAdsData, bX as MetaAdsResponses, bY as MetaAdsErrors, bZ as MetaAdsetData, b_ as MetaAdsetResponses, b$ as MetaAdsetErrors, c0 as MetaAdsetsData, c1 as MetaAdsetsResponses, c2 as MetaAdsetsErrors, c3 as MetaCampaignData, c4 as MetaCampaignResponses, c5 as MetaCampaignErrors, c6 as MetaCampaignsData, c7 as MetaCampaignsResponses, c8 as MetaCampaignsErrors, c9 as MetaInsightsData, ca as MetaInsightsResponses, cb as MetaInsightsErrors, cc as PostsCreateData, cd as PostsCreateResponses, ce as PostsCreateErrors, cf as PostsDeleteData, cg as PostsDeleteResponses, ch as PostsDeleteErrors, ci as PostsGetData, cj as PostsGetResponses, ck as PostsGetErrors, cl as PostsListData, cm as PostsListResponses, cn as PostsListErrors, co as PostsUpdateData, cp as PostsUpdateResponses, cq as PostsUpdateErrors, cr as PostsValidateData, cs as PostsValidateResponses, ct as PostsValidateErrors, cu as ProfilesCreateData, cv as ProfilesCreateResponses, cw as ProfilesCreateErrors, cx as ProfilesDeleteData, cy as ProfilesDeleteResponses, cz as ProfilesDeleteErrors, cA as ProfilesGetData, cB as ProfilesGetResponses, cC as ProfilesGetErrors, cD as ProfilesListData, cE as ProfilesListResponses, cF as ProfilesListErrors, cG as ProfilesUpdateData, cH as ProfilesUpdateResponses, cI as ProfilesUpdateErrors, cJ as TiktokCreatorInfoData, cK as TiktokCreatorInfoResponses, cL as TiktokCreatorInfoErrors, cM as TokensMintData, cN as TokensMintResponses, cO as TokensMintErrors, cP as WebhooksCreateEndpointData, cQ as WebhooksCreateEndpointResponses, cR as WebhooksCreateEndpointErrors, cS as WebhooksCreatePortalData, cT as WebhooksCreatePortalResponses, cU as WebhooksCreatePortalErrors, cV as WebhooksDeleteEndpointData, cW as WebhooksDeleteEndpointResponses, cX as WebhooksDeleteEndpointErrors, cY as WebhooksGetEndpointData, cZ as WebhooksGetEndpointResponses, c_ as WebhooksGetEndpointErrors, c$ as WebhooksListEndpointsData, d0 as WebhooksListEndpointsResponses, d1 as WebhooksListEndpointsErrors, d2 as WebhooksListEventTypesData, d3 as WebhooksListEventTypesResponses, d4 as WebhooksListEventTypesErrors, d5 as WebhooksPingData, d6 as WebhooksPingResponses, d7 as WebhooksPingErrors, d8 as WebhooksUpdateEndpointData, d9 as WebhooksUpdateEndpointResponses, da as WebhooksUpdateEndpointErrors, db as ErrorCode, dc as MediaGetResponse, dd as ConnectionsConnectResponse, de as ConnectionsGetResponse, df as ConnectionsListByProfileResponse, dg as MediaCreateResponse, dh as ConnectionsListAccountsResponse, di as MediaListResponse, dj as PostsGetResponse, dk as PostsListResponse, dl as PostsValidateResponse, dm as ProfilesGetResponse, dn as ProfilesListResponse, dp as TiktokCreatorInfoResponse } from './types.gen-DozfBQoz.cjs';
2
- export { dq as ClientOptions, dr as ConnectionsConnectError, ds as ConnectionsDeleteError, dt as ConnectionsDeleteResponse, du as ConnectionsGetError, dv as ConnectionsListAccountsError, dw as ConnectionsListByProfileError, dx as ConnectionsSelectError, dy as ConnectionsSelectResponse, dz as GoogleCreateAdError, dA as GoogleCreateAdGroupError, dB as GoogleCreateAdGroupResponse, dC as GoogleCreateAdResponse, dD as GoogleCreateBudgetError, dE as GoogleCreateBudgetResponse, dF as GoogleCreateCampaignError, dG as GoogleCreateCampaignResponse, dH as GoogleCreateConversionActionError, dI as GoogleCreateConversionActionResponse, dJ as GoogleCreateDisplayAdError, dK as GoogleCreateDisplayAdResponse, dL as GoogleCreateKeywordError, dM as GoogleCreateKeywordResponse, dN as GoogleDeleteAdError, dO as GoogleDeleteAdGroupError, dP as GoogleDeleteAdGroupResponse, dQ as GoogleDeleteAdResponse, dR as GoogleDeleteBudgetError, dS as GoogleDeleteBudgetResponse, dT as GoogleDeleteCampaignError, dU as GoogleDeleteCampaignResponse, dV as GoogleDeleteKeywordError, dW as GoogleDeleteKeywordResponse, dX as GoogleEditAdGroupError, dY as GoogleEditAdGroupResponse, dZ as GoogleEditBudgetError, d_ as GoogleEditBudgetResponse, d$ as GoogleEditCampaignError, e0 as GoogleEditCampaignResponse, e1 as GoogleEnableAdError, e2 as GoogleEnableAdGroupError, e3 as GoogleEnableAdGroupResponse, e4 as GoogleEnableAdResponse, e5 as GoogleEnableCampaignError, e6 as GoogleEnableCampaignResponse, e7 as GoogleEnableKeywordError, e8 as GoogleEnableKeywordResponse, e9 as GoogleGetAccountError, ea as GoogleGetAccountResponse, eb as GoogleGetAdError, ec as GoogleGetAdGroupError, ed as GoogleGetAdGroupResponse, ee as GoogleGetAdResponse, ef as GoogleGetCampaignError, eg as GoogleGetCampaignResponse, eh as GoogleGetConversionActionError, ei as GoogleGetConversionActionResponse, ej as GoogleGetInsightsError, ek as GoogleGetInsightsResponse, el as GoogleGetKeywordError, em as GoogleGetKeywordResponse, en as GoogleListAdGroupsError, eo as GoogleListAdGroupsResponse, ep as GoogleListAdsError, eq as GoogleListAdsResponse, er as GoogleListCampaignsError, es as GoogleListCampaignsResponse, et as GoogleListConversionActionsError, eu as GoogleListConversionActionsResponse, ev as GoogleListConversionGoalsError, ew as GoogleListConversionGoalsResponse, ex as GoogleListKeywordsError, ey as GoogleListKeywordsResponse, ez as GooglePauseAdError, eA as GooglePauseAdGroupError, eB as GooglePauseAdGroupResponse, eC as GooglePauseAdResponse, eD as GooglePauseCampaignError, eE as GooglePauseCampaignResponse, eF as GooglePauseKeywordError, eG as GooglePauseKeywordResponse, eH as GoogleRunGaqlError, eI as GoogleRunGaqlResponse, eJ as GoogleSetAdGroupBidsError, eK as GoogleSetAdGroupBidsResponse, eL as GoogleSetConversionGoalError, eM as GoogleSetConversionGoalResponse, eN as GoogleSetKeywordBidError, eO as GoogleSetKeywordBidResponse, eP as GoogleUploadConversionsError, eQ as GoogleUploadConversionsResponse, eR as GoogleUploadImageAssetError, eS as GoogleUploadImageAssetResponse, eT as LogsGetError, eU as LogsGetResponse, eV as LogsListError, eW as LogsListResponse, eX as MediaCreateError, eY as MediaDeleteError, eZ as MediaDeleteResponse, e_ as MediaGetError, e$ as MediaListError, f0 as MediaUpdateError, f1 as MediaUpdateResponse, f2 as MetaAccountError, f3 as MetaAccountResponse, f4 as MetaAdError, f5 as MetaAdResponse, f6 as MetaAdsError, f7 as MetaAdsResponse, f8 as MetaAdsetError, f9 as MetaAdsetResponse, fa as MetaAdsetsError, fb as MetaAdsetsResponse, fc as MetaCampaignError, fd as MetaCampaignResponse, fe as MetaCampaignsError, ff as MetaCampaignsResponse, fg as MetaInsightsError, fh as MetaInsightsResponse, fi as PostrunClient, fj as PostrunClientOptions, fk as PostsCreateError, fl as PostsCreateResponse, fm as PostsDeleteError, fn as PostsDeleteResponse, fo as PostsGetError, fp as PostsListError, fq as PostsUpdateError, fr as PostsUpdateResponse, fs as PostsValidateError, ft as ProfilesCreateError, fu as ProfilesCreateResponse, fv as ProfilesDeleteError, fw as ProfilesDeleteResponse, fx as ProfilesGetError, fy as ProfilesListError, fz as ProfilesUpdateError, fA as ProfilesUpdateResponse, fB as TiktokCreatorInfoError, fC as TokensMintError, fD as TokensMintResponse, fE as WebhooksCreateEndpointError, fF as WebhooksCreateEndpointResponse, fG as WebhooksCreatePortalError, fH as WebhooksCreatePortalResponse, fI as WebhooksDeleteEndpointError, fJ as WebhooksDeleteEndpointResponse, fK as WebhooksGetEndpointError, fL as WebhooksGetEndpointResponse, fM as WebhooksListEndpointsError, fN as WebhooksListEndpointsResponse, fO as WebhooksListEventTypesError, fP as WebhooksListEventTypesResponse, fQ as WebhooksPingError, fR as WebhooksPingResponse, fS as WebhooksUpdateEndpointError, fT as WebhooksUpdateEndpointResponse, fU as createPostrunClient } from './types.gen-DozfBQoz.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 GoogleCreateBudgetData, z as GoogleCreateBudgetResponses, A as GoogleCreateBudgetErrors, B as GoogleCreateCampaignData, D as GoogleCreateCampaignResponses, E as GoogleCreateCampaignErrors, F as GoogleCreateConversionActionData, H as GoogleCreateConversionActionResponses, I as GoogleCreateConversionActionErrors, J as GoogleCreateDisplayAdData, K as GoogleCreateDisplayAdResponses, L as GoogleCreateDisplayAdErrors, M as GoogleCreateKeywordData, N as GoogleCreateKeywordResponses, P as GoogleCreateKeywordErrors, Q as GoogleDeleteAdData, S as GoogleDeleteAdResponses, U as GoogleDeleteAdErrors, V as GoogleDeleteAdGroupData, W as GoogleDeleteAdGroupResponses, X as GoogleDeleteAdGroupErrors, Y as GoogleDeleteBudgetData, Z as GoogleDeleteBudgetResponses, _ as GoogleDeleteBudgetErrors, $ as GoogleDeleteCampaignData, a0 as GoogleDeleteCampaignResponses, a1 as GoogleDeleteCampaignErrors, a2 as GoogleDeleteKeywordData, a3 as GoogleDeleteKeywordResponses, a4 as GoogleDeleteKeywordErrors, a5 as GoogleEditAdGroupData, a6 as GoogleEditAdGroupResponses, a7 as GoogleEditAdGroupErrors, a8 as GoogleEditBudgetData, a9 as GoogleEditBudgetResponses, aa as GoogleEditBudgetErrors, ab as GoogleEditCampaignData, ac as GoogleEditCampaignResponses, ad as GoogleEditCampaignErrors, ae as GoogleEnableAdData, af as GoogleEnableAdResponses, ag as GoogleEnableAdErrors, ah as GoogleEnableAdGroupData, ai as GoogleEnableAdGroupResponses, aj as GoogleEnableAdGroupErrors, ak as GoogleEnableCampaignData, al as GoogleEnableCampaignResponses, am as GoogleEnableCampaignErrors, an as GoogleEnableKeywordData, ao as GoogleEnableKeywordResponses, ap as GoogleEnableKeywordErrors, aq as GoogleGetAccountData, ar as GoogleGetAccountResponses, as as GoogleGetAccountErrors, at as GoogleGetAdData, au as GoogleGetAdResponses, av as GoogleGetAdErrors, aw as GoogleGetAdGroupData, ax as GoogleGetAdGroupResponses, ay as GoogleGetAdGroupErrors, az as GoogleGetCampaignData, aA as GoogleGetCampaignResponses, aB as GoogleGetCampaignErrors, aC as GoogleGetConversionActionData, aD as GoogleGetConversionActionResponses, aE as GoogleGetConversionActionErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupsData, aM as GoogleListAdGroupsResponses, aN as GoogleListAdGroupsErrors, aO as GoogleListAdsData, aP as GoogleListAdsResponses, aQ as GoogleListAdsErrors, aR as GoogleListCampaignsData, aS as GoogleListCampaignsResponses, aT as GoogleListCampaignsErrors, aU as GoogleListConversionActionsData, aV as GoogleListConversionActionsResponses, aW as GoogleListConversionActionsErrors, aX as GoogleListConversionGoalsData, aY as GoogleListConversionGoalsResponses, aZ as GoogleListConversionGoalsErrors, a_ as GoogleListKeywordsData, a$ as GoogleListKeywordsResponses, b0 as GoogleListKeywordsErrors, b1 as GooglePauseAdData, b2 as GooglePauseAdResponses, b3 as GooglePauseAdErrors, b4 as GooglePauseAdGroupData, b5 as GooglePauseAdGroupResponses, b6 as GooglePauseAdGroupErrors, b7 as GooglePauseCampaignData, b8 as GooglePauseCampaignResponses, b9 as GooglePauseCampaignErrors, ba as GooglePauseKeywordData, bb as GooglePauseKeywordResponses, bc as GooglePauseKeywordErrors, bd as GoogleRunGaqlData, be as GoogleRunGaqlResponses, bf as GoogleRunGaqlErrors, bg as GoogleSetAdGroupBidsData, bh as GoogleSetAdGroupBidsResponses, bi as GoogleSetAdGroupBidsErrors, bj as GoogleSetConversionGoalData, bk as GoogleSetConversionGoalResponses, bl as GoogleSetConversionGoalErrors, bm as GoogleSetKeywordBidData, bn as GoogleSetKeywordBidResponses, bo as GoogleSetKeywordBidErrors, bp as GoogleUploadConversionsData, bq as GoogleUploadConversionsResponses, br as GoogleUploadConversionsErrors, bs as GoogleUploadImageAssetData, bt as GoogleUploadImageAssetResponses, bu as GoogleUploadImageAssetErrors, bv as LogsGetData, bw as LogsGetResponses, bx as LogsGetErrors, by as LogsListData, bz as LogsListResponses, bA as LogsListErrors, bB as MediaCreateData, bC as MediaCreateResponses, bD as MediaCreateErrors, bE as MediaDeleteData, bF as MediaDeleteResponses, bG as MediaDeleteErrors, bH as MediaGetData, bI as MediaGetResponses, bJ as MediaGetErrors, bK as MediaListData, bL as MediaListResponses, bM as MediaListErrors, bN as MediaUpdateData, bO as MediaUpdateResponses, bP as MediaUpdateErrors, bQ as MetaAccountData, bR as MetaAccountResponses, bS as MetaAccountErrors, bT as MetaAdData, bU as MetaAdResponses, bV as MetaAdErrors, bW as MetaAdsData, bX as MetaAdsResponses, bY as MetaAdsErrors, bZ as MetaAdsetData, b_ as MetaAdsetResponses, b$ as MetaAdsetErrors, c0 as MetaAdsetsData, c1 as MetaAdsetsResponses, c2 as MetaAdsetsErrors, c3 as MetaCampaignData, c4 as MetaCampaignResponses, c5 as MetaCampaignErrors, c6 as MetaCampaignsData, c7 as MetaCampaignsResponses, c8 as MetaCampaignsErrors, c9 as MetaInsightsData, ca as MetaInsightsResponses, cb as MetaInsightsErrors, cc as PostsCreateData, cd as PostsCreateResponses, ce as PostsCreateErrors, cf as PostsDeleteData, cg as PostsDeleteResponses, ch as PostsDeleteErrors, ci as PostsGetData, cj as PostsGetResponses, ck as PostsGetErrors, cl as PostsListData, cm as PostsListResponses, cn as PostsListErrors, co as PostsUpdateData, cp as PostsUpdateResponses, cq as PostsUpdateErrors, cr as PostsValidateData, cs as PostsValidateResponses, ct as PostsValidateErrors, cu as ProfilesCreateData, cv as ProfilesCreateResponses, cw as ProfilesCreateErrors, cx as ProfilesDeleteData, cy as ProfilesDeleteResponses, cz as ProfilesDeleteErrors, cA as ProfilesGetData, cB as ProfilesGetResponses, cC as ProfilesGetErrors, cD as ProfilesListData, cE as ProfilesListResponses, cF as ProfilesListErrors, cG as ProfilesUpdateData, cH as ProfilesUpdateResponses, cI as ProfilesUpdateErrors, cJ as TiktokCreatorInfoData, cK as TiktokCreatorInfoResponses, cL as TiktokCreatorInfoErrors, cM as TokensMintData, cN as TokensMintResponses, cO as TokensMintErrors, cP as WebhooksCreateEndpointData, cQ as WebhooksCreateEndpointResponses, cR as WebhooksCreateEndpointErrors, cS as WebhooksCreatePortalData, cT as WebhooksCreatePortalResponses, cU as WebhooksCreatePortalErrors, cV as WebhooksDeleteEndpointData, cW as WebhooksDeleteEndpointResponses, cX as WebhooksDeleteEndpointErrors, cY as WebhooksGetEndpointData, cZ as WebhooksGetEndpointResponses, c_ as WebhooksGetEndpointErrors, c$ as WebhooksListEndpointsData, d0 as WebhooksListEndpointsResponses, d1 as WebhooksListEndpointsErrors, d2 as WebhooksListEventTypesData, d3 as WebhooksListEventTypesResponses, d4 as WebhooksListEventTypesErrors, d5 as WebhooksPingData, d6 as WebhooksPingResponses, d7 as WebhooksPingErrors, d8 as WebhooksUpdateEndpointData, d9 as WebhooksUpdateEndpointResponses, da as WebhooksUpdateEndpointErrors, db as ErrorCode, dc as MediaGetResponse, dd as ConnectionsConnectResponse, de as ConnectionsGetResponse, df as ConnectionsListByProfileResponse, dg as MediaCreateResponse, dh as ConnectionsListAccountsResponse, di as MediaListResponse, dj as PostsGetResponse, dk as PostsListResponse, dl as PostsValidateResponse, dm as ProfilesGetResponse, dn as ProfilesListResponse, dp as TiktokCreatorInfoResponse } from './types.gen-BUi197pC.cjs';
2
+ export { dq as ClientOptions, dr as ConnectionsConnectError, ds as ConnectionsDeleteError, dt as ConnectionsDeleteResponse, du as ConnectionsGetError, dv as ConnectionsListAccountsError, dw as ConnectionsListByProfileError, dx as ConnectionsSelectError, dy as ConnectionsSelectResponse, dz as GoogleCreateAdError, dA as GoogleCreateAdGroupError, dB as GoogleCreateAdGroupResponse, dC as GoogleCreateAdResponse, dD as GoogleCreateBudgetError, dE as GoogleCreateBudgetResponse, dF as GoogleCreateCampaignError, dG as GoogleCreateCampaignResponse, dH as GoogleCreateConversionActionError, dI as GoogleCreateConversionActionResponse, dJ as GoogleCreateDisplayAdError, dK as GoogleCreateDisplayAdResponse, dL as GoogleCreateKeywordError, dM as GoogleCreateKeywordResponse, dN as GoogleDeleteAdError, dO as GoogleDeleteAdGroupError, dP as GoogleDeleteAdGroupResponse, dQ as GoogleDeleteAdResponse, dR as GoogleDeleteBudgetError, dS as GoogleDeleteBudgetResponse, dT as GoogleDeleteCampaignError, dU as GoogleDeleteCampaignResponse, dV as GoogleDeleteKeywordError, dW as GoogleDeleteKeywordResponse, dX as GoogleEditAdGroupError, dY as GoogleEditAdGroupResponse, dZ as GoogleEditBudgetError, d_ as GoogleEditBudgetResponse, d$ as GoogleEditCampaignError, e0 as GoogleEditCampaignResponse, e1 as GoogleEnableAdError, e2 as GoogleEnableAdGroupError, e3 as GoogleEnableAdGroupResponse, e4 as GoogleEnableAdResponse, e5 as GoogleEnableCampaignError, e6 as GoogleEnableCampaignResponse, e7 as GoogleEnableKeywordError, e8 as GoogleEnableKeywordResponse, e9 as GoogleGetAccountError, ea as GoogleGetAccountResponse, eb as GoogleGetAdError, ec as GoogleGetAdGroupError, ed as GoogleGetAdGroupResponse, ee as GoogleGetAdResponse, ef as GoogleGetCampaignError, eg as GoogleGetCampaignResponse, eh as GoogleGetConversionActionError, ei as GoogleGetConversionActionResponse, ej as GoogleGetInsightsError, ek as GoogleGetInsightsResponse, el as GoogleGetKeywordError, em as GoogleGetKeywordResponse, en as GoogleListAdGroupsError, eo as GoogleListAdGroupsResponse, ep as GoogleListAdsError, eq as GoogleListAdsResponse, er as GoogleListCampaignsError, es as GoogleListCampaignsResponse, et as GoogleListConversionActionsError, eu as GoogleListConversionActionsResponse, ev as GoogleListConversionGoalsError, ew as GoogleListConversionGoalsResponse, ex as GoogleListKeywordsError, ey as GoogleListKeywordsResponse, ez as GooglePauseAdError, eA as GooglePauseAdGroupError, eB as GooglePauseAdGroupResponse, eC as GooglePauseAdResponse, eD as GooglePauseCampaignError, eE as GooglePauseCampaignResponse, eF as GooglePauseKeywordError, eG as GooglePauseKeywordResponse, eH as GoogleRunGaqlError, eI as GoogleRunGaqlResponse, eJ as GoogleSetAdGroupBidsError, eK as GoogleSetAdGroupBidsResponse, eL as GoogleSetConversionGoalError, eM as GoogleSetConversionGoalResponse, eN as GoogleSetKeywordBidError, eO as GoogleSetKeywordBidResponse, eP as GoogleUploadConversionsError, eQ as GoogleUploadConversionsResponse, eR as GoogleUploadImageAssetError, eS as GoogleUploadImageAssetResponse, eT as LogsGetError, eU as LogsGetResponse, eV as LogsListError, eW as LogsListResponse, eX as MediaCreateError, eY as MediaDeleteError, eZ as MediaDeleteResponse, e_ as MediaGetError, e$ as MediaListError, f0 as MediaUpdateError, f1 as MediaUpdateResponse, f2 as MetaAccountError, f3 as MetaAccountResponse, f4 as MetaAdError, f5 as MetaAdResponse, f6 as MetaAdsError, f7 as MetaAdsResponse, f8 as MetaAdsetError, f9 as MetaAdsetResponse, fa as MetaAdsetsError, fb as MetaAdsetsResponse, fc as MetaCampaignError, fd as MetaCampaignResponse, fe as MetaCampaignsError, ff as MetaCampaignsResponse, fg as MetaInsightsError, fh as MetaInsightsResponse, fi as PostrunClient, fj as PostrunClientOptions, fk as PostsCreateError, fl as PostsCreateResponse, fm as PostsDeleteError, fn as PostsDeleteResponse, fo as PostsGetError, fp as PostsListError, fq as PostsUpdateError, fr as PostsUpdateResponse, fs as PostsValidateError, ft as ProfilesCreateError, fu as ProfilesCreateResponse, fv as ProfilesDeleteError, fw as ProfilesDeleteResponse, fx as ProfilesGetError, fy as ProfilesListError, fz as ProfilesUpdateError, fA as ProfilesUpdateResponse, fB as TiktokCreatorInfoError, fC as TokensMintError, fD as TokensMintResponse, fE as WebhooksCreateEndpointError, fF as WebhooksCreateEndpointResponse, fG as WebhooksCreatePortalError, fH as WebhooksCreatePortalResponse, fI as WebhooksDeleteEndpointError, fJ as WebhooksDeleteEndpointResponse, fK as WebhooksGetEndpointError, fL as WebhooksGetEndpointResponse, fM as WebhooksListEndpointsError, fN as WebhooksListEndpointsResponse, fO as WebhooksListEventTypesError, fP as WebhooksListEventTypesResponse, fQ as WebhooksPingError, fR as WebhooksPingResponse, fS as WebhooksUpdateEndpointError, fT as WebhooksUpdateEndpointResponse, fU as createPostrunClient } from './types.gen-BUi197pC.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> & {
@@ -950,6 +950,19 @@ type MetadataFilter = NonNullable<ListMediaQuery['metadata']>;
950
950
  */
951
951
  declare function tiktokPrivacyLabel(value: TikTokPrivacyLevel): string;
952
952
 
953
+ /**
954
+ * One LinkedIn poll duration — DERIVED from the contract (the poll `duration`
955
+ * field), never hand-listed, so it can't drift from the API shape.
956
+ */
957
+ type LinkedInPollDuration = NonNullable<NonNullable<LinkedInPostVariant['settings']>['poll']>['duration'];
958
+ /**
959
+ * Map a poll duration to the short "time left" label LinkedIn shows on the poll
960
+ * card — the presentation the wire keeps enum-only. Exhaustive over the closed
961
+ * union with no `default` branch, so adding a duration upstream surfaces as a
962
+ * compile error here rather than silently rendering a raw enum string.
963
+ */
964
+ declare function linkedinPollDurationLabel(value: LinkedInPollDuration): string;
965
+
953
966
  /**
954
967
  * TikTok's mandatory publish-options model — the framework-agnostic glue between
955
968
  * the live `creator-info` payload and a TikTok post's settings. This is the
@@ -962,8 +975,20 @@ declare function tiktokPrivacyLabel(value: TikTokPrivacyLevel): string;
962
975
  * controlled FORM value, the selection rules, and the mapping into the SDK's
963
976
  * per-platform `tiktok` settings.
964
977
  */
965
- /** The three creator-gated interactions TikTok requires us to surface. */
966
- type TikTokInteractionKey = 'comment' | 'duet' | 'stitch';
978
+ /** TikTok caption caps, mirrored from the publish contract (`BODY_MAX.tiktok_*`).
979
+ * A video post caps the title (2200), a photo post the description (4000). Lives
980
+ * here (not in React) so non-React consumers (MCP, API client, scripts) can use
981
+ * it. The server enforces these; the editor surfaces them. */
982
+ declare const TIKTOK_CAPTION_MAX: {
983
+ readonly video: 2200;
984
+ readonly photo: 4000;
985
+ };
986
+ /** The caption cap for a given post_type (video → title cap, photo → description). */
987
+ declare function captionMaxFor(postType: TikTokPostVariant['post_type']): number;
988
+ /** The creator-gated interactions TikTok requires us to surface — DERIVED from
989
+ * the creator-info contract (`interaction` keys), never hand-listed, so it can
990
+ * never drift from the API shape. */
991
+ type TikTokInteractionKey = keyof TikTokCreatorInfo['interaction'];
967
992
  /** Which commercial-disclosure brand option a control maps to. */
968
993
  type TikTokBrandKind = 'your_brand' | 'branded_content';
969
994
  /**
@@ -1152,4 +1177,4 @@ declare function buildCreatePost(input: ComposePostInput, connections: readonly
1152
1177
  */
1153
1178
  declare function buildUpdatePost(input: ComposeUpdateInput, connections?: readonly ConnectionRef[]): UpdatePostInput;
1154
1179
 
1155
- export { 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, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleDeleteAdData, GoogleDeleteAdErrors, GoogleDeleteAdGroupData, GoogleDeleteAdGroupErrors, GoogleDeleteAdGroupResponses, GoogleDeleteAdResponses, GoogleDeleteBudgetData, GoogleDeleteBudgetErrors, GoogleDeleteBudgetResponses, GoogleDeleteCampaignData, GoogleDeleteCampaignErrors, GoogleDeleteCampaignResponses, GoogleDeleteKeywordData, GoogleDeleteKeywordErrors, GoogleDeleteKeywordResponses, 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, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUploadConversionsData, GoogleUploadConversionsErrors, GoogleUploadConversionsResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type LinkedInPostVariant, type ListConnectionsQuery, type ListMediaQuery, type ListPostsQuery, type ListProfilesQuery, LogsGetData, LogsGetErrors, LogsGetResponses, LogsListData, LogsListErrors, LogsListResponses, MediaCreateData, MediaCreateErrors, MediaCreateResponse, MediaCreateResponses, MediaDeleteData, MediaDeleteErrors, MediaDeleteResponses, MediaGetData, MediaGetErrors, MediaGetResponse, MediaGetResponses, type MediaInput, type MediaKind, type MediaList, MediaListData, MediaListErrors, MediaListResponse, MediaListResponses, type MediaResource, 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 Options, POST_PLATFORMS, type Post, type PostContent, type PostList, type PostMetadata, type PostPlatform, type PostStatus, type PostTypeFor, type PostValidation, type PostVariant, type PostVariantError, type PostVariantInput, 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_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, type UploadTarget, 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 XPostVariant, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, commercialDisclosureIncomplete, commercialLabelNotice, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, defaultTikTokOptions, failedVariants, googleCreateAd, googleCreateAdGroup, googleCreateBudget, googleCreateCampaign, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleDeleteAd, googleDeleteAdGroup, googleDeleteBudget, googleDeleteCampaign, googleDeleteKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroups, googleListAds, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRunGaql, googleSetAdGroupBids, googleSetConversionGoal, googleSetKeywordBid, googleUploadConversions, googleUploadImageAsset, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, logsGet, logsList, mediaCreate, mediaDelete, mediaGet, mediaList, 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, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint };
1180
+ export { 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, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleDeleteAdData, GoogleDeleteAdErrors, GoogleDeleteAdGroupData, GoogleDeleteAdGroupErrors, GoogleDeleteAdGroupResponses, GoogleDeleteAdResponses, GoogleDeleteBudgetData, GoogleDeleteBudgetErrors, GoogleDeleteBudgetResponses, GoogleDeleteCampaignData, GoogleDeleteCampaignErrors, GoogleDeleteCampaignResponses, GoogleDeleteKeywordData, GoogleDeleteKeywordErrors, GoogleDeleteKeywordResponses, 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, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUploadConversionsData, GoogleUploadConversionsErrors, GoogleUploadConversionsResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type LinkedInPollDuration, type LinkedInPostVariant, type ListConnectionsQuery, type ListMediaQuery, type ListPostsQuery, type ListProfilesQuery, LogsGetData, LogsGetErrors, LogsGetResponses, LogsListData, LogsListErrors, LogsListResponses, MediaCreateData, MediaCreateErrors, MediaCreateResponse, MediaCreateResponses, MediaDeleteData, MediaDeleteErrors, MediaDeleteResponses, MediaGetData, MediaGetErrors, MediaGetResponse, MediaGetResponses, type MediaInput, type MediaKind, type MediaList, MediaListData, MediaListErrors, MediaListResponse, MediaListResponses, type MediaResource, 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 Options, POST_PLATFORMS, type Post, type PostContent, type PostList, type PostMetadata, type PostPlatform, type PostStatus, type PostTypeFor, type PostValidation, type PostVariant, type PostVariantError, type PostVariantInput, 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, type UploadTarget, 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 XPostVariant, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, captionMaxFor, commercialDisclosureIncomplete, commercialLabelNotice, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, defaultTikTokOptions, failedVariants, googleCreateAd, googleCreateAdGroup, googleCreateBudget, googleCreateCampaign, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleDeleteAd, googleDeleteAdGroup, googleDeleteBudget, googleDeleteCampaign, googleDeleteKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroups, googleListAds, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRunGaql, googleSetAdGroupBids, googleSetConversionGoal, googleSetKeywordBid, googleUploadConversions, googleUploadImageAsset, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, logsGet, logsList, mediaCreate, mediaDelete, mediaGet, mediaList, 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, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint };
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 GoogleCreateBudgetData, z as GoogleCreateBudgetResponses, A as GoogleCreateBudgetErrors, B as GoogleCreateCampaignData, D as GoogleCreateCampaignResponses, E as GoogleCreateCampaignErrors, F as GoogleCreateConversionActionData, H as GoogleCreateConversionActionResponses, I as GoogleCreateConversionActionErrors, J as GoogleCreateDisplayAdData, K as GoogleCreateDisplayAdResponses, L as GoogleCreateDisplayAdErrors, M as GoogleCreateKeywordData, N as GoogleCreateKeywordResponses, P as GoogleCreateKeywordErrors, Q as GoogleDeleteAdData, S as GoogleDeleteAdResponses, U as GoogleDeleteAdErrors, V as GoogleDeleteAdGroupData, W as GoogleDeleteAdGroupResponses, X as GoogleDeleteAdGroupErrors, Y as GoogleDeleteBudgetData, Z as GoogleDeleteBudgetResponses, _ as GoogleDeleteBudgetErrors, $ as GoogleDeleteCampaignData, a0 as GoogleDeleteCampaignResponses, a1 as GoogleDeleteCampaignErrors, a2 as GoogleDeleteKeywordData, a3 as GoogleDeleteKeywordResponses, a4 as GoogleDeleteKeywordErrors, a5 as GoogleEditAdGroupData, a6 as GoogleEditAdGroupResponses, a7 as GoogleEditAdGroupErrors, a8 as GoogleEditBudgetData, a9 as GoogleEditBudgetResponses, aa as GoogleEditBudgetErrors, ab as GoogleEditCampaignData, ac as GoogleEditCampaignResponses, ad as GoogleEditCampaignErrors, ae as GoogleEnableAdData, af as GoogleEnableAdResponses, ag as GoogleEnableAdErrors, ah as GoogleEnableAdGroupData, ai as GoogleEnableAdGroupResponses, aj as GoogleEnableAdGroupErrors, ak as GoogleEnableCampaignData, al as GoogleEnableCampaignResponses, am as GoogleEnableCampaignErrors, an as GoogleEnableKeywordData, ao as GoogleEnableKeywordResponses, ap as GoogleEnableKeywordErrors, aq as GoogleGetAccountData, ar as GoogleGetAccountResponses, as as GoogleGetAccountErrors, at as GoogleGetAdData, au as GoogleGetAdResponses, av as GoogleGetAdErrors, aw as GoogleGetAdGroupData, ax as GoogleGetAdGroupResponses, ay as GoogleGetAdGroupErrors, az as GoogleGetCampaignData, aA as GoogleGetCampaignResponses, aB as GoogleGetCampaignErrors, aC as GoogleGetConversionActionData, aD as GoogleGetConversionActionResponses, aE as GoogleGetConversionActionErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupsData, aM as GoogleListAdGroupsResponses, aN as GoogleListAdGroupsErrors, aO as GoogleListAdsData, aP as GoogleListAdsResponses, aQ as GoogleListAdsErrors, aR as GoogleListCampaignsData, aS as GoogleListCampaignsResponses, aT as GoogleListCampaignsErrors, aU as GoogleListConversionActionsData, aV as GoogleListConversionActionsResponses, aW as GoogleListConversionActionsErrors, aX as GoogleListConversionGoalsData, aY as GoogleListConversionGoalsResponses, aZ as GoogleListConversionGoalsErrors, a_ as GoogleListKeywordsData, a$ as GoogleListKeywordsResponses, b0 as GoogleListKeywordsErrors, b1 as GooglePauseAdData, b2 as GooglePauseAdResponses, b3 as GooglePauseAdErrors, b4 as GooglePauseAdGroupData, b5 as GooglePauseAdGroupResponses, b6 as GooglePauseAdGroupErrors, b7 as GooglePauseCampaignData, b8 as GooglePauseCampaignResponses, b9 as GooglePauseCampaignErrors, ba as GooglePauseKeywordData, bb as GooglePauseKeywordResponses, bc as GooglePauseKeywordErrors, bd as GoogleRunGaqlData, be as GoogleRunGaqlResponses, bf as GoogleRunGaqlErrors, bg as GoogleSetAdGroupBidsData, bh as GoogleSetAdGroupBidsResponses, bi as GoogleSetAdGroupBidsErrors, bj as GoogleSetConversionGoalData, bk as GoogleSetConversionGoalResponses, bl as GoogleSetConversionGoalErrors, bm as GoogleSetKeywordBidData, bn as GoogleSetKeywordBidResponses, bo as GoogleSetKeywordBidErrors, bp as GoogleUploadConversionsData, bq as GoogleUploadConversionsResponses, br as GoogleUploadConversionsErrors, bs as GoogleUploadImageAssetData, bt as GoogleUploadImageAssetResponses, bu as GoogleUploadImageAssetErrors, bv as LogsGetData, bw as LogsGetResponses, bx as LogsGetErrors, by as LogsListData, bz as LogsListResponses, bA as LogsListErrors, bB as MediaCreateData, bC as MediaCreateResponses, bD as MediaCreateErrors, bE as MediaDeleteData, bF as MediaDeleteResponses, bG as MediaDeleteErrors, bH as MediaGetData, bI as MediaGetResponses, bJ as MediaGetErrors, bK as MediaListData, bL as MediaListResponses, bM as MediaListErrors, bN as MediaUpdateData, bO as MediaUpdateResponses, bP as MediaUpdateErrors, bQ as MetaAccountData, bR as MetaAccountResponses, bS as MetaAccountErrors, bT as MetaAdData, bU as MetaAdResponses, bV as MetaAdErrors, bW as MetaAdsData, bX as MetaAdsResponses, bY as MetaAdsErrors, bZ as MetaAdsetData, b_ as MetaAdsetResponses, b$ as MetaAdsetErrors, c0 as MetaAdsetsData, c1 as MetaAdsetsResponses, c2 as MetaAdsetsErrors, c3 as MetaCampaignData, c4 as MetaCampaignResponses, c5 as MetaCampaignErrors, c6 as MetaCampaignsData, c7 as MetaCampaignsResponses, c8 as MetaCampaignsErrors, c9 as MetaInsightsData, ca as MetaInsightsResponses, cb as MetaInsightsErrors, cc as PostsCreateData, cd as PostsCreateResponses, ce as PostsCreateErrors, cf as PostsDeleteData, cg as PostsDeleteResponses, ch as PostsDeleteErrors, ci as PostsGetData, cj as PostsGetResponses, ck as PostsGetErrors, cl as PostsListData, cm as PostsListResponses, cn as PostsListErrors, co as PostsUpdateData, cp as PostsUpdateResponses, cq as PostsUpdateErrors, cr as PostsValidateData, cs as PostsValidateResponses, ct as PostsValidateErrors, cu as ProfilesCreateData, cv as ProfilesCreateResponses, cw as ProfilesCreateErrors, cx as ProfilesDeleteData, cy as ProfilesDeleteResponses, cz as ProfilesDeleteErrors, cA as ProfilesGetData, cB as ProfilesGetResponses, cC as ProfilesGetErrors, cD as ProfilesListData, cE as ProfilesListResponses, cF as ProfilesListErrors, cG as ProfilesUpdateData, cH as ProfilesUpdateResponses, cI as ProfilesUpdateErrors, cJ as TiktokCreatorInfoData, cK as TiktokCreatorInfoResponses, cL as TiktokCreatorInfoErrors, cM as TokensMintData, cN as TokensMintResponses, cO as TokensMintErrors, cP as WebhooksCreateEndpointData, cQ as WebhooksCreateEndpointResponses, cR as WebhooksCreateEndpointErrors, cS as WebhooksCreatePortalData, cT as WebhooksCreatePortalResponses, cU as WebhooksCreatePortalErrors, cV as WebhooksDeleteEndpointData, cW as WebhooksDeleteEndpointResponses, cX as WebhooksDeleteEndpointErrors, cY as WebhooksGetEndpointData, cZ as WebhooksGetEndpointResponses, c_ as WebhooksGetEndpointErrors, c$ as WebhooksListEndpointsData, d0 as WebhooksListEndpointsResponses, d1 as WebhooksListEndpointsErrors, d2 as WebhooksListEventTypesData, d3 as WebhooksListEventTypesResponses, d4 as WebhooksListEventTypesErrors, d5 as WebhooksPingData, d6 as WebhooksPingResponses, d7 as WebhooksPingErrors, d8 as WebhooksUpdateEndpointData, d9 as WebhooksUpdateEndpointResponses, da as WebhooksUpdateEndpointErrors, db as ErrorCode, dc as MediaGetResponse, dd as ConnectionsConnectResponse, de as ConnectionsGetResponse, df as ConnectionsListByProfileResponse, dg as MediaCreateResponse, dh as ConnectionsListAccountsResponse, di as MediaListResponse, dj as PostsGetResponse, dk as PostsListResponse, dl as PostsValidateResponse, dm as ProfilesGetResponse, dn as ProfilesListResponse, dp as TiktokCreatorInfoResponse } from './types.gen-DozfBQoz.js';
2
- export { dq as ClientOptions, dr as ConnectionsConnectError, ds as ConnectionsDeleteError, dt as ConnectionsDeleteResponse, du as ConnectionsGetError, dv as ConnectionsListAccountsError, dw as ConnectionsListByProfileError, dx as ConnectionsSelectError, dy as ConnectionsSelectResponse, dz as GoogleCreateAdError, dA as GoogleCreateAdGroupError, dB as GoogleCreateAdGroupResponse, dC as GoogleCreateAdResponse, dD as GoogleCreateBudgetError, dE as GoogleCreateBudgetResponse, dF as GoogleCreateCampaignError, dG as GoogleCreateCampaignResponse, dH as GoogleCreateConversionActionError, dI as GoogleCreateConversionActionResponse, dJ as GoogleCreateDisplayAdError, dK as GoogleCreateDisplayAdResponse, dL as GoogleCreateKeywordError, dM as GoogleCreateKeywordResponse, dN as GoogleDeleteAdError, dO as GoogleDeleteAdGroupError, dP as GoogleDeleteAdGroupResponse, dQ as GoogleDeleteAdResponse, dR as GoogleDeleteBudgetError, dS as GoogleDeleteBudgetResponse, dT as GoogleDeleteCampaignError, dU as GoogleDeleteCampaignResponse, dV as GoogleDeleteKeywordError, dW as GoogleDeleteKeywordResponse, dX as GoogleEditAdGroupError, dY as GoogleEditAdGroupResponse, dZ as GoogleEditBudgetError, d_ as GoogleEditBudgetResponse, d$ as GoogleEditCampaignError, e0 as GoogleEditCampaignResponse, e1 as GoogleEnableAdError, e2 as GoogleEnableAdGroupError, e3 as GoogleEnableAdGroupResponse, e4 as GoogleEnableAdResponse, e5 as GoogleEnableCampaignError, e6 as GoogleEnableCampaignResponse, e7 as GoogleEnableKeywordError, e8 as GoogleEnableKeywordResponse, e9 as GoogleGetAccountError, ea as GoogleGetAccountResponse, eb as GoogleGetAdError, ec as GoogleGetAdGroupError, ed as GoogleGetAdGroupResponse, ee as GoogleGetAdResponse, ef as GoogleGetCampaignError, eg as GoogleGetCampaignResponse, eh as GoogleGetConversionActionError, ei as GoogleGetConversionActionResponse, ej as GoogleGetInsightsError, ek as GoogleGetInsightsResponse, el as GoogleGetKeywordError, em as GoogleGetKeywordResponse, en as GoogleListAdGroupsError, eo as GoogleListAdGroupsResponse, ep as GoogleListAdsError, eq as GoogleListAdsResponse, er as GoogleListCampaignsError, es as GoogleListCampaignsResponse, et as GoogleListConversionActionsError, eu as GoogleListConversionActionsResponse, ev as GoogleListConversionGoalsError, ew as GoogleListConversionGoalsResponse, ex as GoogleListKeywordsError, ey as GoogleListKeywordsResponse, ez as GooglePauseAdError, eA as GooglePauseAdGroupError, eB as GooglePauseAdGroupResponse, eC as GooglePauseAdResponse, eD as GooglePauseCampaignError, eE as GooglePauseCampaignResponse, eF as GooglePauseKeywordError, eG as GooglePauseKeywordResponse, eH as GoogleRunGaqlError, eI as GoogleRunGaqlResponse, eJ as GoogleSetAdGroupBidsError, eK as GoogleSetAdGroupBidsResponse, eL as GoogleSetConversionGoalError, eM as GoogleSetConversionGoalResponse, eN as GoogleSetKeywordBidError, eO as GoogleSetKeywordBidResponse, eP as GoogleUploadConversionsError, eQ as GoogleUploadConversionsResponse, eR as GoogleUploadImageAssetError, eS as GoogleUploadImageAssetResponse, eT as LogsGetError, eU as LogsGetResponse, eV as LogsListError, eW as LogsListResponse, eX as MediaCreateError, eY as MediaDeleteError, eZ as MediaDeleteResponse, e_ as MediaGetError, e$ as MediaListError, f0 as MediaUpdateError, f1 as MediaUpdateResponse, f2 as MetaAccountError, f3 as MetaAccountResponse, f4 as MetaAdError, f5 as MetaAdResponse, f6 as MetaAdsError, f7 as MetaAdsResponse, f8 as MetaAdsetError, f9 as MetaAdsetResponse, fa as MetaAdsetsError, fb as MetaAdsetsResponse, fc as MetaCampaignError, fd as MetaCampaignResponse, fe as MetaCampaignsError, ff as MetaCampaignsResponse, fg as MetaInsightsError, fh as MetaInsightsResponse, fi as PostrunClient, fj as PostrunClientOptions, fk as PostsCreateError, fl as PostsCreateResponse, fm as PostsDeleteError, fn as PostsDeleteResponse, fo as PostsGetError, fp as PostsListError, fq as PostsUpdateError, fr as PostsUpdateResponse, fs as PostsValidateError, ft as ProfilesCreateError, fu as ProfilesCreateResponse, fv as ProfilesDeleteError, fw as ProfilesDeleteResponse, fx as ProfilesGetError, fy as ProfilesListError, fz as ProfilesUpdateError, fA as ProfilesUpdateResponse, fB as TiktokCreatorInfoError, fC as TokensMintError, fD as TokensMintResponse, fE as WebhooksCreateEndpointError, fF as WebhooksCreateEndpointResponse, fG as WebhooksCreatePortalError, fH as WebhooksCreatePortalResponse, fI as WebhooksDeleteEndpointError, fJ as WebhooksDeleteEndpointResponse, fK as WebhooksGetEndpointError, fL as WebhooksGetEndpointResponse, fM as WebhooksListEndpointsError, fN as WebhooksListEndpointsResponse, fO as WebhooksListEventTypesError, fP as WebhooksListEventTypesResponse, fQ as WebhooksPingError, fR as WebhooksPingResponse, fS as WebhooksUpdateEndpointError, fT as WebhooksUpdateEndpointResponse, fU as createPostrunClient } from './types.gen-DozfBQoz.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 GoogleCreateBudgetData, z as GoogleCreateBudgetResponses, A as GoogleCreateBudgetErrors, B as GoogleCreateCampaignData, D as GoogleCreateCampaignResponses, E as GoogleCreateCampaignErrors, F as GoogleCreateConversionActionData, H as GoogleCreateConversionActionResponses, I as GoogleCreateConversionActionErrors, J as GoogleCreateDisplayAdData, K as GoogleCreateDisplayAdResponses, L as GoogleCreateDisplayAdErrors, M as GoogleCreateKeywordData, N as GoogleCreateKeywordResponses, P as GoogleCreateKeywordErrors, Q as GoogleDeleteAdData, S as GoogleDeleteAdResponses, U as GoogleDeleteAdErrors, V as GoogleDeleteAdGroupData, W as GoogleDeleteAdGroupResponses, X as GoogleDeleteAdGroupErrors, Y as GoogleDeleteBudgetData, Z as GoogleDeleteBudgetResponses, _ as GoogleDeleteBudgetErrors, $ as GoogleDeleteCampaignData, a0 as GoogleDeleteCampaignResponses, a1 as GoogleDeleteCampaignErrors, a2 as GoogleDeleteKeywordData, a3 as GoogleDeleteKeywordResponses, a4 as GoogleDeleteKeywordErrors, a5 as GoogleEditAdGroupData, a6 as GoogleEditAdGroupResponses, a7 as GoogleEditAdGroupErrors, a8 as GoogleEditBudgetData, a9 as GoogleEditBudgetResponses, aa as GoogleEditBudgetErrors, ab as GoogleEditCampaignData, ac as GoogleEditCampaignResponses, ad as GoogleEditCampaignErrors, ae as GoogleEnableAdData, af as GoogleEnableAdResponses, ag as GoogleEnableAdErrors, ah as GoogleEnableAdGroupData, ai as GoogleEnableAdGroupResponses, aj as GoogleEnableAdGroupErrors, ak as GoogleEnableCampaignData, al as GoogleEnableCampaignResponses, am as GoogleEnableCampaignErrors, an as GoogleEnableKeywordData, ao as GoogleEnableKeywordResponses, ap as GoogleEnableKeywordErrors, aq as GoogleGetAccountData, ar as GoogleGetAccountResponses, as as GoogleGetAccountErrors, at as GoogleGetAdData, au as GoogleGetAdResponses, av as GoogleGetAdErrors, aw as GoogleGetAdGroupData, ax as GoogleGetAdGroupResponses, ay as GoogleGetAdGroupErrors, az as GoogleGetCampaignData, aA as GoogleGetCampaignResponses, aB as GoogleGetCampaignErrors, aC as GoogleGetConversionActionData, aD as GoogleGetConversionActionResponses, aE as GoogleGetConversionActionErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupsData, aM as GoogleListAdGroupsResponses, aN as GoogleListAdGroupsErrors, aO as GoogleListAdsData, aP as GoogleListAdsResponses, aQ as GoogleListAdsErrors, aR as GoogleListCampaignsData, aS as GoogleListCampaignsResponses, aT as GoogleListCampaignsErrors, aU as GoogleListConversionActionsData, aV as GoogleListConversionActionsResponses, aW as GoogleListConversionActionsErrors, aX as GoogleListConversionGoalsData, aY as GoogleListConversionGoalsResponses, aZ as GoogleListConversionGoalsErrors, a_ as GoogleListKeywordsData, a$ as GoogleListKeywordsResponses, b0 as GoogleListKeywordsErrors, b1 as GooglePauseAdData, b2 as GooglePauseAdResponses, b3 as GooglePauseAdErrors, b4 as GooglePauseAdGroupData, b5 as GooglePauseAdGroupResponses, b6 as GooglePauseAdGroupErrors, b7 as GooglePauseCampaignData, b8 as GooglePauseCampaignResponses, b9 as GooglePauseCampaignErrors, ba as GooglePauseKeywordData, bb as GooglePauseKeywordResponses, bc as GooglePauseKeywordErrors, bd as GoogleRunGaqlData, be as GoogleRunGaqlResponses, bf as GoogleRunGaqlErrors, bg as GoogleSetAdGroupBidsData, bh as GoogleSetAdGroupBidsResponses, bi as GoogleSetAdGroupBidsErrors, bj as GoogleSetConversionGoalData, bk as GoogleSetConversionGoalResponses, bl as GoogleSetConversionGoalErrors, bm as GoogleSetKeywordBidData, bn as GoogleSetKeywordBidResponses, bo as GoogleSetKeywordBidErrors, bp as GoogleUploadConversionsData, bq as GoogleUploadConversionsResponses, br as GoogleUploadConversionsErrors, bs as GoogleUploadImageAssetData, bt as GoogleUploadImageAssetResponses, bu as GoogleUploadImageAssetErrors, bv as LogsGetData, bw as LogsGetResponses, bx as LogsGetErrors, by as LogsListData, bz as LogsListResponses, bA as LogsListErrors, bB as MediaCreateData, bC as MediaCreateResponses, bD as MediaCreateErrors, bE as MediaDeleteData, bF as MediaDeleteResponses, bG as MediaDeleteErrors, bH as MediaGetData, bI as MediaGetResponses, bJ as MediaGetErrors, bK as MediaListData, bL as MediaListResponses, bM as MediaListErrors, bN as MediaUpdateData, bO as MediaUpdateResponses, bP as MediaUpdateErrors, bQ as MetaAccountData, bR as MetaAccountResponses, bS as MetaAccountErrors, bT as MetaAdData, bU as MetaAdResponses, bV as MetaAdErrors, bW as MetaAdsData, bX as MetaAdsResponses, bY as MetaAdsErrors, bZ as MetaAdsetData, b_ as MetaAdsetResponses, b$ as MetaAdsetErrors, c0 as MetaAdsetsData, c1 as MetaAdsetsResponses, c2 as MetaAdsetsErrors, c3 as MetaCampaignData, c4 as MetaCampaignResponses, c5 as MetaCampaignErrors, c6 as MetaCampaignsData, c7 as MetaCampaignsResponses, c8 as MetaCampaignsErrors, c9 as MetaInsightsData, ca as MetaInsightsResponses, cb as MetaInsightsErrors, cc as PostsCreateData, cd as PostsCreateResponses, ce as PostsCreateErrors, cf as PostsDeleteData, cg as PostsDeleteResponses, ch as PostsDeleteErrors, ci as PostsGetData, cj as PostsGetResponses, ck as PostsGetErrors, cl as PostsListData, cm as PostsListResponses, cn as PostsListErrors, co as PostsUpdateData, cp as PostsUpdateResponses, cq as PostsUpdateErrors, cr as PostsValidateData, cs as PostsValidateResponses, ct as PostsValidateErrors, cu as ProfilesCreateData, cv as ProfilesCreateResponses, cw as ProfilesCreateErrors, cx as ProfilesDeleteData, cy as ProfilesDeleteResponses, cz as ProfilesDeleteErrors, cA as ProfilesGetData, cB as ProfilesGetResponses, cC as ProfilesGetErrors, cD as ProfilesListData, cE as ProfilesListResponses, cF as ProfilesListErrors, cG as ProfilesUpdateData, cH as ProfilesUpdateResponses, cI as ProfilesUpdateErrors, cJ as TiktokCreatorInfoData, cK as TiktokCreatorInfoResponses, cL as TiktokCreatorInfoErrors, cM as TokensMintData, cN as TokensMintResponses, cO as TokensMintErrors, cP as WebhooksCreateEndpointData, cQ as WebhooksCreateEndpointResponses, cR as WebhooksCreateEndpointErrors, cS as WebhooksCreatePortalData, cT as WebhooksCreatePortalResponses, cU as WebhooksCreatePortalErrors, cV as WebhooksDeleteEndpointData, cW as WebhooksDeleteEndpointResponses, cX as WebhooksDeleteEndpointErrors, cY as WebhooksGetEndpointData, cZ as WebhooksGetEndpointResponses, c_ as WebhooksGetEndpointErrors, c$ as WebhooksListEndpointsData, d0 as WebhooksListEndpointsResponses, d1 as WebhooksListEndpointsErrors, d2 as WebhooksListEventTypesData, d3 as WebhooksListEventTypesResponses, d4 as WebhooksListEventTypesErrors, d5 as WebhooksPingData, d6 as WebhooksPingResponses, d7 as WebhooksPingErrors, d8 as WebhooksUpdateEndpointData, d9 as WebhooksUpdateEndpointResponses, da as WebhooksUpdateEndpointErrors, db as ErrorCode, dc as MediaGetResponse, dd as ConnectionsConnectResponse, de as ConnectionsGetResponse, df as ConnectionsListByProfileResponse, dg as MediaCreateResponse, dh as ConnectionsListAccountsResponse, di as MediaListResponse, dj as PostsGetResponse, dk as PostsListResponse, dl as PostsValidateResponse, dm as ProfilesGetResponse, dn as ProfilesListResponse, dp as TiktokCreatorInfoResponse } from './types.gen-BUi197pC.js';
2
+ export { dq as ClientOptions, dr as ConnectionsConnectError, ds as ConnectionsDeleteError, dt as ConnectionsDeleteResponse, du as ConnectionsGetError, dv as ConnectionsListAccountsError, dw as ConnectionsListByProfileError, dx as ConnectionsSelectError, dy as ConnectionsSelectResponse, dz as GoogleCreateAdError, dA as GoogleCreateAdGroupError, dB as GoogleCreateAdGroupResponse, dC as GoogleCreateAdResponse, dD as GoogleCreateBudgetError, dE as GoogleCreateBudgetResponse, dF as GoogleCreateCampaignError, dG as GoogleCreateCampaignResponse, dH as GoogleCreateConversionActionError, dI as GoogleCreateConversionActionResponse, dJ as GoogleCreateDisplayAdError, dK as GoogleCreateDisplayAdResponse, dL as GoogleCreateKeywordError, dM as GoogleCreateKeywordResponse, dN as GoogleDeleteAdError, dO as GoogleDeleteAdGroupError, dP as GoogleDeleteAdGroupResponse, dQ as GoogleDeleteAdResponse, dR as GoogleDeleteBudgetError, dS as GoogleDeleteBudgetResponse, dT as GoogleDeleteCampaignError, dU as GoogleDeleteCampaignResponse, dV as GoogleDeleteKeywordError, dW as GoogleDeleteKeywordResponse, dX as GoogleEditAdGroupError, dY as GoogleEditAdGroupResponse, dZ as GoogleEditBudgetError, d_ as GoogleEditBudgetResponse, d$ as GoogleEditCampaignError, e0 as GoogleEditCampaignResponse, e1 as GoogleEnableAdError, e2 as GoogleEnableAdGroupError, e3 as GoogleEnableAdGroupResponse, e4 as GoogleEnableAdResponse, e5 as GoogleEnableCampaignError, e6 as GoogleEnableCampaignResponse, e7 as GoogleEnableKeywordError, e8 as GoogleEnableKeywordResponse, e9 as GoogleGetAccountError, ea as GoogleGetAccountResponse, eb as GoogleGetAdError, ec as GoogleGetAdGroupError, ed as GoogleGetAdGroupResponse, ee as GoogleGetAdResponse, ef as GoogleGetCampaignError, eg as GoogleGetCampaignResponse, eh as GoogleGetConversionActionError, ei as GoogleGetConversionActionResponse, ej as GoogleGetInsightsError, ek as GoogleGetInsightsResponse, el as GoogleGetKeywordError, em as GoogleGetKeywordResponse, en as GoogleListAdGroupsError, eo as GoogleListAdGroupsResponse, ep as GoogleListAdsError, eq as GoogleListAdsResponse, er as GoogleListCampaignsError, es as GoogleListCampaignsResponse, et as GoogleListConversionActionsError, eu as GoogleListConversionActionsResponse, ev as GoogleListConversionGoalsError, ew as GoogleListConversionGoalsResponse, ex as GoogleListKeywordsError, ey as GoogleListKeywordsResponse, ez as GooglePauseAdError, eA as GooglePauseAdGroupError, eB as GooglePauseAdGroupResponse, eC as GooglePauseAdResponse, eD as GooglePauseCampaignError, eE as GooglePauseCampaignResponse, eF as GooglePauseKeywordError, eG as GooglePauseKeywordResponse, eH as GoogleRunGaqlError, eI as GoogleRunGaqlResponse, eJ as GoogleSetAdGroupBidsError, eK as GoogleSetAdGroupBidsResponse, eL as GoogleSetConversionGoalError, eM as GoogleSetConversionGoalResponse, eN as GoogleSetKeywordBidError, eO as GoogleSetKeywordBidResponse, eP as GoogleUploadConversionsError, eQ as GoogleUploadConversionsResponse, eR as GoogleUploadImageAssetError, eS as GoogleUploadImageAssetResponse, eT as LogsGetError, eU as LogsGetResponse, eV as LogsListError, eW as LogsListResponse, eX as MediaCreateError, eY as MediaDeleteError, eZ as MediaDeleteResponse, e_ as MediaGetError, e$ as MediaListError, f0 as MediaUpdateError, f1 as MediaUpdateResponse, f2 as MetaAccountError, f3 as MetaAccountResponse, f4 as MetaAdError, f5 as MetaAdResponse, f6 as MetaAdsError, f7 as MetaAdsResponse, f8 as MetaAdsetError, f9 as MetaAdsetResponse, fa as MetaAdsetsError, fb as MetaAdsetsResponse, fc as MetaCampaignError, fd as MetaCampaignResponse, fe as MetaCampaignsError, ff as MetaCampaignsResponse, fg as MetaInsightsError, fh as MetaInsightsResponse, fi as PostrunClient, fj as PostrunClientOptions, fk as PostsCreateError, fl as PostsCreateResponse, fm as PostsDeleteError, fn as PostsDeleteResponse, fo as PostsGetError, fp as PostsListError, fq as PostsUpdateError, fr as PostsUpdateResponse, fs as PostsValidateError, ft as ProfilesCreateError, fu as ProfilesCreateResponse, fv as ProfilesDeleteError, fw as ProfilesDeleteResponse, fx as ProfilesGetError, fy as ProfilesListError, fz as ProfilesUpdateError, fA as ProfilesUpdateResponse, fB as TiktokCreatorInfoError, fC as TokensMintError, fD as TokensMintResponse, fE as WebhooksCreateEndpointError, fF as WebhooksCreateEndpointResponse, fG as WebhooksCreatePortalError, fH as WebhooksCreatePortalResponse, fI as WebhooksDeleteEndpointError, fJ as WebhooksDeleteEndpointResponse, fK as WebhooksGetEndpointError, fL as WebhooksGetEndpointResponse, fM as WebhooksListEndpointsError, fN as WebhooksListEndpointsResponse, fO as WebhooksListEventTypesError, fP as WebhooksListEventTypesResponse, fQ as WebhooksPingError, fR as WebhooksPingResponse, fS as WebhooksUpdateEndpointError, fT as WebhooksUpdateEndpointResponse, fU as createPostrunClient } from './types.gen-BUi197pC.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> & {
@@ -950,6 +950,19 @@ type MetadataFilter = NonNullable<ListMediaQuery['metadata']>;
950
950
  */
951
951
  declare function tiktokPrivacyLabel(value: TikTokPrivacyLevel): string;
952
952
 
953
+ /**
954
+ * One LinkedIn poll duration — DERIVED from the contract (the poll `duration`
955
+ * field), never hand-listed, so it can't drift from the API shape.
956
+ */
957
+ type LinkedInPollDuration = NonNullable<NonNullable<LinkedInPostVariant['settings']>['poll']>['duration'];
958
+ /**
959
+ * Map a poll duration to the short "time left" label LinkedIn shows on the poll
960
+ * card — the presentation the wire keeps enum-only. Exhaustive over the closed
961
+ * union with no `default` branch, so adding a duration upstream surfaces as a
962
+ * compile error here rather than silently rendering a raw enum string.
963
+ */
964
+ declare function linkedinPollDurationLabel(value: LinkedInPollDuration): string;
965
+
953
966
  /**
954
967
  * TikTok's mandatory publish-options model — the framework-agnostic glue between
955
968
  * the live `creator-info` payload and a TikTok post's settings. This is the
@@ -962,8 +975,20 @@ declare function tiktokPrivacyLabel(value: TikTokPrivacyLevel): string;
962
975
  * controlled FORM value, the selection rules, and the mapping into the SDK's
963
976
  * per-platform `tiktok` settings.
964
977
  */
965
- /** The three creator-gated interactions TikTok requires us to surface. */
966
- type TikTokInteractionKey = 'comment' | 'duet' | 'stitch';
978
+ /** TikTok caption caps, mirrored from the publish contract (`BODY_MAX.tiktok_*`).
979
+ * A video post caps the title (2200), a photo post the description (4000). Lives
980
+ * here (not in React) so non-React consumers (MCP, API client, scripts) can use
981
+ * it. The server enforces these; the editor surfaces them. */
982
+ declare const TIKTOK_CAPTION_MAX: {
983
+ readonly video: 2200;
984
+ readonly photo: 4000;
985
+ };
986
+ /** The caption cap for a given post_type (video → title cap, photo → description). */
987
+ declare function captionMaxFor(postType: TikTokPostVariant['post_type']): number;
988
+ /** The creator-gated interactions TikTok requires us to surface — DERIVED from
989
+ * the creator-info contract (`interaction` keys), never hand-listed, so it can
990
+ * never drift from the API shape. */
991
+ type TikTokInteractionKey = keyof TikTokCreatorInfo['interaction'];
967
992
  /** Which commercial-disclosure brand option a control maps to. */
968
993
  type TikTokBrandKind = 'your_brand' | 'branded_content';
969
994
  /**
@@ -1152,4 +1177,4 @@ declare function buildCreatePost(input: ComposePostInput, connections: readonly
1152
1177
  */
1153
1178
  declare function buildUpdatePost(input: ComposeUpdateInput, connections?: readonly ConnectionRef[]): UpdatePostInput;
1154
1179
 
1155
- export { 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, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleDeleteAdData, GoogleDeleteAdErrors, GoogleDeleteAdGroupData, GoogleDeleteAdGroupErrors, GoogleDeleteAdGroupResponses, GoogleDeleteAdResponses, GoogleDeleteBudgetData, GoogleDeleteBudgetErrors, GoogleDeleteBudgetResponses, GoogleDeleteCampaignData, GoogleDeleteCampaignErrors, GoogleDeleteCampaignResponses, GoogleDeleteKeywordData, GoogleDeleteKeywordErrors, GoogleDeleteKeywordResponses, 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, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUploadConversionsData, GoogleUploadConversionsErrors, GoogleUploadConversionsResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type LinkedInPostVariant, type ListConnectionsQuery, type ListMediaQuery, type ListPostsQuery, type ListProfilesQuery, LogsGetData, LogsGetErrors, LogsGetResponses, LogsListData, LogsListErrors, LogsListResponses, MediaCreateData, MediaCreateErrors, MediaCreateResponse, MediaCreateResponses, MediaDeleteData, MediaDeleteErrors, MediaDeleteResponses, MediaGetData, MediaGetErrors, MediaGetResponse, MediaGetResponses, type MediaInput, type MediaKind, type MediaList, MediaListData, MediaListErrors, MediaListResponse, MediaListResponses, type MediaResource, 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 Options, POST_PLATFORMS, type Post, type PostContent, type PostList, type PostMetadata, type PostPlatform, type PostStatus, type PostTypeFor, type PostValidation, type PostVariant, type PostVariantError, type PostVariantInput, 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_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, type UploadTarget, 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 XPostVariant, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, commercialDisclosureIncomplete, commercialLabelNotice, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, defaultTikTokOptions, failedVariants, googleCreateAd, googleCreateAdGroup, googleCreateBudget, googleCreateCampaign, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleDeleteAd, googleDeleteAdGroup, googleDeleteBudget, googleDeleteCampaign, googleDeleteKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroups, googleListAds, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRunGaql, googleSetAdGroupBids, googleSetConversionGoal, googleSetKeywordBid, googleUploadConversions, googleUploadImageAsset, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, logsGet, logsList, mediaCreate, mediaDelete, mediaGet, mediaList, 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, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint };
1180
+ export { 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, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleDeleteAdData, GoogleDeleteAdErrors, GoogleDeleteAdGroupData, GoogleDeleteAdGroupErrors, GoogleDeleteAdGroupResponses, GoogleDeleteAdResponses, GoogleDeleteBudgetData, GoogleDeleteBudgetErrors, GoogleDeleteBudgetResponses, GoogleDeleteCampaignData, GoogleDeleteCampaignErrors, GoogleDeleteCampaignResponses, GoogleDeleteKeywordData, GoogleDeleteKeywordErrors, GoogleDeleteKeywordResponses, 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, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUploadConversionsData, GoogleUploadConversionsErrors, GoogleUploadConversionsResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type LinkedInPollDuration, type LinkedInPostVariant, type ListConnectionsQuery, type ListMediaQuery, type ListPostsQuery, type ListProfilesQuery, LogsGetData, LogsGetErrors, LogsGetResponses, LogsListData, LogsListErrors, LogsListResponses, MediaCreateData, MediaCreateErrors, MediaCreateResponse, MediaCreateResponses, MediaDeleteData, MediaDeleteErrors, MediaDeleteResponses, MediaGetData, MediaGetErrors, MediaGetResponse, MediaGetResponses, type MediaInput, type MediaKind, type MediaList, MediaListData, MediaListErrors, MediaListResponse, MediaListResponses, type MediaResource, 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 Options, POST_PLATFORMS, type Post, type PostContent, type PostList, type PostMetadata, type PostPlatform, type PostStatus, type PostTypeFor, type PostValidation, type PostVariant, type PostVariantError, type PostVariantInput, 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, type UploadTarget, 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 XPostVariant, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, captionMaxFor, commercialDisclosureIncomplete, commercialLabelNotice, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, defaultTikTokOptions, failedVariants, googleCreateAd, googleCreateAdGroup, googleCreateBudget, googleCreateCampaign, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleDeleteAd, googleDeleteAdGroup, googleDeleteBudget, googleDeleteCampaign, googleDeleteKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroups, googleListAds, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRunGaql, googleSetAdGroupBids, googleSetConversionGoal, googleSetKeywordBid, googleUploadConversions, googleUploadImageAsset, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, logsGet, logsList, mediaCreate, mediaDelete, mediaGet, mediaList, 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, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export { PostrunError, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, createPostrunClient, googleCreateAd, googleCreateAdGroup, googleCreateBudget, googleCreateCampaign, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleDeleteAd, googleDeleteAdGroup, googleDeleteBudget, googleDeleteCampaign, googleDeleteKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroups, googleListAds, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRunGaql, googleSetAdGroupBids, googleSetConversionGoal, googleSetKeywordBid, googleUploadConversions, googleUploadImageAsset, logsGet, logsList, mediaCreate, mediaDelete, mediaGet, mediaList, 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-YHCKVA2K.js';
2
- import './chunk-ASEHCVE5.js';
1
+ export { PostrunError, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, createPostrunClient, googleCreateAd, googleCreateAdGroup, googleCreateBudget, googleCreateCampaign, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleDeleteAd, googleDeleteAdGroup, googleDeleteBudget, googleDeleteCampaign, googleDeleteKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroups, googleListAds, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRunGaql, googleSetAdGroupBids, googleSetConversionGoal, googleSetKeywordBid, googleUploadConversions, googleUploadImageAsset, logsGet, logsList, mediaCreate, mediaDelete, mediaGet, mediaList, 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-IK4QXQLM.js';
2
+ import './chunk-LATXGVUG.js';
3
3
 
4
4
  // src/resources.ts
5
5
  var isPublished = (post) => post.status === "published";
@@ -19,7 +19,25 @@ function tiktokPrivacyLabel(value) {
19
19
  }
20
20
  }
21
21
 
22
+ // src/linkedin.ts
23
+ function linkedinPollDurationLabel(value) {
24
+ switch (value) {
25
+ case "ONE_DAY":
26
+ return "1 day left";
27
+ case "THREE_DAYS":
28
+ return "3 days left";
29
+ case "SEVEN_DAYS":
30
+ return "1 week left";
31
+ case "FOURTEEN_DAYS":
32
+ return "2 weeks left";
33
+ }
34
+ }
35
+
22
36
  // src/tiktok-options.ts
37
+ var TIKTOK_CAPTION_MAX = { video: 2200, photo: 4e3 };
38
+ function captionMaxFor(postType) {
39
+ return postType === "video" ? TIKTOK_CAPTION_MAX.video : TIKTOK_CAPTION_MAX.photo;
40
+ }
23
41
  var TIKTOK_MUSIC_CONFIRMATION_URL = "https://www.tiktok.com/legal/page/global/music-usage-confirmation/en";
24
42
  var TIKTOK_BRANDED_CONTENT_POLICY_URL = "https://www.tiktok.com/legal/page/global/bc-policy/en";
25
43
  var TIKTOK_DISCLOSURE_REQUIRED_HINT = "You need to indicate if your content promotes yourself, a third party, or both.";
@@ -76,11 +94,12 @@ function setCommercialDisclosure(value, on) {
76
94
  };
77
95
  }
78
96
  function setBrandKind(value, kind, on) {
79
- const next = { ...value, [kind]: on };
80
- if (kind === "branded_content" && on && value.privacy_level === "SELF_ONLY") {
81
- next.privacy_level = void 0;
82
- }
83
- return next;
97
+ const clearPrivacy = kind === "branded_content" && on && value.privacy_level === "SELF_ONLY";
98
+ return {
99
+ ...value,
100
+ [kind]: on,
101
+ ...clearPrivacy ? { privacy_level: void 0 } : {}
102
+ };
84
103
  }
85
104
  function isInteractionForbidden(info, key) {
86
105
  return !info.interaction[key];
@@ -130,7 +149,8 @@ function tiktokSettings(value, isVideo) {
130
149
  } : base;
131
150
  }
132
151
  function tiktokOptionsReady(value) {
133
- return !audienceUnselected(value) && !commercialDisclosureIncomplete(value);
152
+ const brandedPrivate = discloses(value, "branded_content") && value.privacy_level === "SELF_ONLY";
153
+ return !audienceUnselected(value) && !commercialDisclosureIncomplete(value) && !brandedPrivate;
134
154
  }
135
155
 
136
156
  // src/compose.ts
@@ -322,6 +342,6 @@ function buildUpdatePost(input, connections = []) {
322
342
  };
323
343
  }
324
344
 
325
- export { ComposeError, POST_PLATFORMS, TIKTOK_AUDIENCE_REQUIRED_HINT, TIKTOK_BRANDED_CONTENT_POLICY_URL, TIKTOK_DISCLOSURE_REQUIRED_HINT, TIKTOK_MUSIC_CONFIRMATION_URL, TIKTOK_PROCESSING_NOTICE, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, commercialDisclosureIncomplete, commercialLabelNotice, defaultTikTokOptions, failedVariants, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, parsePrivacyLevel, privacyChoices, setBrandKind, setCommercialDisclosure, tiktokOptionsReady, tiktokPrivacyLabel, tiktokSettings, toggleInteraction };
345
+ 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, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, captionMaxFor, commercialDisclosureIncomplete, commercialLabelNotice, defaultTikTokOptions, failedVariants, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, parsePrivacyLevel, privacyChoices, setBrandKind, setCommercialDisclosure, tiktokOptionsReady, tiktokPrivacyLabel, tiktokSettings, toggleInteraction };
326
346
  //# sourceMappingURL=index.js.map
327
347
  //# sourceMappingURL=index.js.map