@postrun/js 2.25.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-ZKETM7OS.js → chunk-BJ6NXBN5.js} +43 -108
- package/dist/chunk-BJ6NXBN5.js.map +1 -0
- package/dist/{chunk-VDCNJXGG.js → chunk-DT4DW5LA.js} +3 -3
- package/dist/{chunk-VDCNJXGG.js.map → chunk-DT4DW5LA.js.map} +1 -1
- package/dist/index.cjs +47 -158
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +42 -30
- package/dist/index.d.ts +42 -30
- package/dist/index.js +8 -54
- package/dist/index.js.map +1 -1
- package/dist/query.d.cts +64 -61
- package/dist/query.d.ts +64 -61
- package/dist/schemas/index.cjs +65 -106
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +398 -497
- package/dist/schemas/index.d.ts +398 -497
- package/dist/schemas/index.js +27 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/server.cjs +42 -107
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -2
- package/dist/{types.gen-DlTNd9za.d.cts → types.gen-MxJw6FpT.d.cts} +43 -41
- package/dist/{types.gen-DlTNd9za.d.ts → types.gen-MxJw6FpT.d.ts} +43 -41
- package/package.json +1 -1
- package/dist/chunk-ZKETM7OS.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TDataShape, O as Options$1, C as Client, a as ClientMeta, b as ConnectionsConnectData, R as RequestResult, c as ConnectionsConnectResponses, d as ConnectionsConnectErrors, e as ConnectionsDeleteData, f as ConnectionsDeleteResponses, g as ConnectionsDeleteErrors, h as ConnectionsGetData, i as ConnectionsGetResponses, j as ConnectionsGetErrors, k as ConnectionsListAccountsData, l as ConnectionsListAccountsResponses, m as ConnectionsListAccountsErrors, n as ConnectionsListByProfileData, o as ConnectionsListByProfileResponses, p as ConnectionsListByProfileErrors, q as ConnectionsSelectData, r as ConnectionsSelectResponses, s as ConnectionsSelectErrors, G as GoogleCreateAdData, t as GoogleCreateAdResponses, u as GoogleCreateAdErrors, v as GoogleCreateAdGroupData, w as GoogleCreateAdGroupResponses, x as GoogleCreateAdGroupErrors, y as GoogleCreateAdGroupCriterionData, z as GoogleCreateAdGroupCriterionResponses, A as GoogleCreateAdGroupCriterionErrors, B as GoogleCreateBudgetData, D as GoogleCreateBudgetResponses, E as GoogleCreateBudgetErrors, F as GoogleCreateCampaignData, H as GoogleCreateCampaignResponses, I as GoogleCreateCampaignErrors, J as GoogleCreateCampaignCriterionData, K as GoogleCreateCampaignCriterionResponses, L as GoogleCreateCampaignCriterionErrors, M as GoogleCreateConversionActionData, N as GoogleCreateConversionActionResponses, P as GoogleCreateConversionActionErrors, Q as GoogleCreateDisplayAdData, S as GoogleCreateDisplayAdResponses, U as GoogleCreateDisplayAdErrors, V as GoogleCreateKeywordData, W as GoogleCreateKeywordResponses, X as GoogleCreateKeywordErrors, Y as GoogleEditAccountData, Z as GoogleEditAccountResponses, _ as GoogleEditAccountErrors, $ as GoogleEditAdGroupData, a0 as GoogleEditAdGroupResponses, a1 as GoogleEditAdGroupErrors, a2 as GoogleEditBudgetData, a3 as GoogleEditBudgetResponses, a4 as GoogleEditBudgetErrors, a5 as GoogleEditCampaignData, a6 as GoogleEditCampaignResponses, a7 as GoogleEditCampaignErrors, a8 as GoogleEnableAdData, a9 as GoogleEnableAdResponses, aa as GoogleEnableAdErrors, ab as GoogleEnableAdGroupData, ac as GoogleEnableAdGroupResponses, ad as GoogleEnableAdGroupErrors, ae as GoogleEnableCampaignData, af as GoogleEnableCampaignResponses, ag as GoogleEnableCampaignErrors, ah as GoogleEnableKeywordData, ai as GoogleEnableKeywordResponses, aj as GoogleEnableKeywordErrors, ak as GoogleGetAccountData, al as GoogleGetAccountResponses, am as GoogleGetAccountErrors, an as GoogleGetAdData, ao as GoogleGetAdResponses, ap as GoogleGetAdErrors, aq as GoogleGetAdGroupData, ar as GoogleGetAdGroupResponses, as as GoogleGetAdGroupErrors, at as GoogleGetAdTreeData, au as GoogleGetAdTreeResponses, av as GoogleGetAdTreeErrors, aw as GoogleGetCampaignData, ax as GoogleGetCampaignResponses, ay as GoogleGetCampaignErrors, az as GoogleGetConversionActionData, aA as GoogleGetConversionActionResponses, aB as GoogleGetConversionActionErrors, aC as GoogleGetConversionStatusData, aD as GoogleGetConversionStatusResponses, aE as GoogleGetConversionStatusErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupCriteriaData, aM as GoogleListAdGroupCriteriaResponses, aN as GoogleListAdGroupCriteriaErrors, aO as GoogleListAdGroupsData, aP as GoogleListAdGroupsResponses, aQ as GoogleListAdGroupsErrors, aR as GoogleListAdsData, aS as GoogleListAdsResponses, aT as GoogleListAdsErrors, aU as GoogleListAudiencesData, aV as GoogleListAudiencesResponses, aW as GoogleListAudiencesErrors, aX as GoogleListCampaignCriteriaData, aY as GoogleListCampaignCriteriaResponses, aZ as GoogleListCampaignCriteriaErrors, a_ as GoogleListCampaignsData, a$ as GoogleListCampaignsResponses, b0 as GoogleListCampaignsErrors, b1 as GoogleListConversionActionsData, b2 as GoogleListConversionActionsResponses, b3 as GoogleListConversionActionsErrors, b4 as GoogleListConversionGoalsData, b5 as GoogleListConversionGoalsResponses, b6 as GoogleListConversionGoalsErrors, b7 as GoogleListConversionRequestsData, b8 as GoogleListConversionRequestsResponses, b9 as GoogleListConversionRequestsErrors, ba as GoogleListKeywordsData, bb as GoogleListKeywordsResponses, bc as GoogleListKeywordsErrors, bd as GooglePauseAdData, be as GooglePauseAdResponses, bf as GooglePauseAdErrors, bg as GooglePauseAdGroupData, bh as GooglePauseAdGroupResponses, bi as GooglePauseAdGroupErrors, bj as GooglePauseCampaignData, bk as GooglePauseCampaignResponses, bl as GooglePauseCampaignErrors, bm as GooglePauseKeywordData, bn as GooglePauseKeywordResponses, bo as GooglePauseKeywordErrors, bp as GoogleRemoveAdData, bq as GoogleRemoveAdResponses, br as GoogleRemoveAdErrors, bs as GoogleRemoveAdGroupData, bt as GoogleRemoveAdGroupResponses, bu as GoogleRemoveAdGroupErrors, bv as GoogleRemoveAdGroupCriterionData, bw as GoogleRemoveAdGroupCriterionResponses, bx as GoogleRemoveAdGroupCriterionErrors, by as GoogleRemoveBudgetData, bz as GoogleRemoveBudgetResponses, bA as GoogleRemoveBudgetErrors, bB as GoogleRemoveCampaignData, bC as GoogleRemoveCampaignResponses, bD as GoogleRemoveCampaignErrors, bE as GoogleRemoveCampaignCriterionData, bF as GoogleRemoveCampaignCriterionResponses, bG as GoogleRemoveCampaignCriterionErrors, bH as GoogleRemoveKeywordData, bI as GoogleRemoveKeywordResponses, bJ as GoogleRemoveKeywordErrors, bK as GoogleRunGaqlData, bL as GoogleRunGaqlResponses, bM as GoogleRunGaqlErrors, bN as GoogleSearchGeoTargetsData, bO as GoogleSearchGeoTargetsResponses, bP as GoogleSearchGeoTargetsErrors, bQ as GoogleSendConversionsData, bR as GoogleSendConversionsResponses, bS as GoogleSendConversionsErrors, bT as GoogleSetAdGroupBidsData, bU as GoogleSetAdGroupBidsResponses, bV as GoogleSetAdGroupBidsErrors, bW as GoogleSetCampaignGeoSettingsData, bX as GoogleSetCampaignGeoSettingsResponses, bY as GoogleSetCampaignGeoSettingsErrors, bZ as GoogleSetCampaignTargetingSettingData, b_ as GoogleSetCampaignTargetingSettingResponses, b$ as GoogleSetCampaignTargetingSettingErrors, c0 as GoogleSetConversionGoalData, c1 as GoogleSetConversionGoalResponses, c2 as GoogleSetConversionGoalErrors, c3 as GoogleSetKeywordBidData, c4 as GoogleSetKeywordBidResponses, c5 as GoogleSetKeywordBidErrors, c6 as GoogleUploadImageAssetData, c7 as GoogleUploadImageAssetResponses, c8 as GoogleUploadImageAssetErrors, c9 as LogsGetData, ca as LogsGetResponses, cb as LogsGetErrors, cc as LogsListData, cd as LogsListResponses, ce as LogsListErrors, cf as MediaAbortData, cg as MediaAbortResponses, ch as MediaAbortErrors, ci as MediaCompleteData, cj as MediaCompleteResponses, ck as MediaCompleteErrors, cl as MediaCreateData, cm as MediaCreateResponses, cn as MediaCreateErrors, co as MediaDeleteData, cp as MediaDeleteResponses, cq as MediaDeleteErrors, cr as MediaGetData, cs as MediaGetResponses, ct as MediaGetErrors, cu as MediaListData, cv as MediaListResponses, cw as MediaListErrors, cx as MediaListPartsData, cy as MediaListPartsResponses, cz as MediaListPartsErrors, cA as MediaSignPartData, cB as MediaSignPartResponses, cC as MediaSignPartErrors, cD as MediaUpdateData, cE as MediaUpdateResponses, cF as MediaUpdateErrors, cG as MetaAccountData, cH as MetaAccountResponses, cI as MetaAccountErrors, cJ as MetaAdData, cK as MetaAdResponses, cL as MetaAdErrors, cM as MetaAdsData, cN as MetaAdsResponses, cO as MetaAdsErrors, cP as MetaAdsetData, cQ as MetaAdsetResponses, cR as MetaAdsetErrors, cS as MetaAdsetsData, cT as MetaAdsetsResponses, cU as MetaAdsetsErrors, cV as MetaCampaignData, cW as MetaCampaignResponses, cX as MetaCampaignErrors, cY as MetaCampaignsData, cZ as MetaCampaignsResponses, c_ as MetaCampaignsErrors, c$ as MetaInsightsData, d0 as MetaInsightsResponses, d1 as MetaInsightsErrors, d2 as PostsCreateData, d3 as PostsCreateResponses, d4 as PostsCreateErrors, d5 as PostsDeleteData, d6 as PostsDeleteResponses, d7 as PostsDeleteErrors, d8 as PostsGetData, d9 as PostsGetResponses, da as PostsGetErrors, db as PostsListData, dc as PostsListResponses, dd as PostsListErrors, de as PostsUpdateData, df as PostsUpdateResponses, dg as PostsUpdateErrors, dh as PostsValidateData, di as PostsValidateResponses, dj as PostsValidateErrors, dk as ProfilesCreateData, dl as ProfilesCreateResponses, dm as ProfilesCreateErrors, dn as ProfilesDeleteData, dp as ProfilesDeleteResponses, dq as ProfilesDeleteErrors, dr as ProfilesGetData, ds as ProfilesGetResponses, dt as ProfilesGetErrors, du as ProfilesListData, dv as ProfilesListResponses, dw as ProfilesListErrors, dx as ProfilesUpdateData, dy as ProfilesUpdateResponses, dz as ProfilesUpdateErrors, dA as TiktokCreatorInfoData, dB as TiktokCreatorInfoResponses, dC as TiktokCreatorInfoErrors, dD as TokensMintData, dE as TokensMintResponses, dF as TokensMintErrors, dG as WebhooksCreateEndpointData, dH as WebhooksCreateEndpointResponses, dI as WebhooksCreateEndpointErrors, dJ as WebhooksCreatePortalData, dK as WebhooksCreatePortalResponses, dL as WebhooksCreatePortalErrors, dM as WebhooksDeleteEndpointData, dN as WebhooksDeleteEndpointResponses, dO as WebhooksDeleteEndpointErrors, dP as WebhooksGetEndpointData, dQ as WebhooksGetEndpointResponses, dR as WebhooksGetEndpointErrors, dS as WebhooksListEndpointsData, dT as WebhooksListEndpointsResponses, dU as WebhooksListEndpointsErrors, dV as WebhooksListEventTypesData, dW as WebhooksListEventTypesResponses, dX as WebhooksListEventTypesErrors, dY as WebhooksPingData, dZ as WebhooksPingResponses, d_ as WebhooksPingErrors, d$ as WebhooksUpdateEndpointData, e0 as WebhooksUpdateEndpointResponses, e1 as WebhooksUpdateEndpointErrors, e2 as ErrorCode, e3 as MediaGetResponse, e4 as ConnectionsConnectResponse, e5 as ConnectionsGetResponse, e6 as ConnectionsListByProfileResponse, e7 as MediaCreateResponse, e8 as ConnectionsListAccountsResponse, e9 as MediaListResponse, ea as PostsGetResponse, eb as PostsListResponse, ec as PostsValidateResponse, ed as ProfilesGetResponse, ee as ProfilesListResponse, ef as TiktokCreatorInfoResponse, eg as PostrunClient, eh as GoogleAdTreeNode } from './types.gen-DlTNd9za.cjs';
|
|
2
|
-
export { ei as ClientOptions, ej as ConnectionsConnectError, ek as ConnectionsDeleteError, el as ConnectionsDeleteResponse, em as ConnectionsGetError, en as ConnectionsListAccountsError, eo as ConnectionsListByProfileError, ep as ConnectionsSelectError, eq as ConnectionsSelectResponse, er as CreatePostBody, es as DiscoverableAccount, et as ErrorSource, eu as GoogleAdTree, ev as GoogleAdsAd, ew as GoogleAdsAdGroup, ex as GoogleAdsAdGroupCriterion, ey as GoogleAdsAudience, ez as GoogleAdsCampaignCriterion, eA as GoogleAdsConversionConsent, eB as GoogleAdsConversionEvent, eC as GoogleAdsConversionRequest, eD as GoogleAdsConversionStatus, eE as GoogleAdsConversionStatusReason, eF as GoogleAdsConversionUserIdentifier, eG as GoogleAdsConversionWarning, eH as GoogleAdsCreateAdGroupCriterionRequest, eI as GoogleAdsCreateCampaignCriterionRequest, eJ as GoogleAdsCreateResult, eK as GoogleAdsDeleteResult, eL as GoogleAdsEditResult, eM as GoogleAdsGeoSettingsRequest, eN as GoogleAdsGeoTargetConstant, eO as GoogleAdsInsightLevel, eP as GoogleAdsInsightMetric, eQ as GoogleAdsInsightSegment, eR as GoogleAdsInsights, eS as GoogleAdsInsightsQuery, eT as GoogleAdsInsightsRow, eU as GoogleAdsKeyword, eV as GoogleAdsReadStatusFilter, eW as GoogleAdsSendConversionsResult, eX as GoogleAdsUrlCustomParameter, eY as GoogleCreateAdError, eZ as GoogleCreateAdGroupCriterionError, e_ as GoogleCreateAdGroupCriterionResponse, e$ as GoogleCreateAdGroupError, f0 as GoogleCreateAdGroupResponse, f1 as GoogleCreateAdResponse, f2 as GoogleCreateBudgetError, f3 as GoogleCreateBudgetResponse, f4 as GoogleCreateCampaignCriterionError, f5 as GoogleCreateCampaignCriterionResponse, f6 as GoogleCreateCampaignError, f7 as GoogleCreateCampaignResponse, f8 as GoogleCreateConversionActionError, f9 as GoogleCreateConversionActionResponse, fa as GoogleCreateDisplayAdError, fb as GoogleCreateDisplayAdResponse, fc as GoogleCreateKeywordError, fd as GoogleCreateKeywordResponse, fe as GoogleEditAccountError, ff as GoogleEditAccountResponse, fg as GoogleEditAdGroupError, fh as GoogleEditAdGroupResponse, fi as GoogleEditBudgetError, fj as GoogleEditBudgetResponse, fk as GoogleEditCampaignError, fl as GoogleEditCampaignResponse, fm as GoogleEnableAdError, fn as GoogleEnableAdGroupError, fo as GoogleEnableAdGroupResponse, fp as GoogleEnableAdResponse, fq as GoogleEnableCampaignError, fr as GoogleEnableCampaignResponse, fs as GoogleEnableKeywordError, ft as GoogleEnableKeywordResponse, fu as GoogleGetAccountError, fv as GoogleGetAccountResponse, fw as GoogleGetAdError, fx as GoogleGetAdGroupError, fy as GoogleGetAdGroupResponse, fz as GoogleGetAdResponse, fA as GoogleGetAdTreeError, fB as GoogleGetAdTreeResponse, fC as GoogleGetCampaignError, fD as GoogleGetCampaignResponse, fE as GoogleGetConversionActionError, fF as GoogleGetConversionActionResponse, fG as GoogleGetConversionStatusError, fH as GoogleGetConversionStatusResponse, fI as GoogleGetInsightsError, fJ as GoogleGetInsightsResponse, fK as GoogleGetKeywordError, fL as GoogleGetKeywordResponse, fM as GoogleListAdGroupCriteriaError, fN as GoogleListAdGroupCriteriaResponse, fO as GoogleListAdGroupsError, fP as GoogleListAdGroupsResponse, fQ as GoogleListAdsError, fR as GoogleListAdsResponse, fS as GoogleListAudiencesError, fT as GoogleListAudiencesResponse, fU as GoogleListCampaignCriteriaError, fV as GoogleListCampaignCriteriaResponse, fW as GoogleListCampaignsError, fX as GoogleListCampaignsResponse, fY as GoogleListConversionActionsError, fZ as GoogleListConversionActionsResponse, f_ as GoogleListConversionGoalsError, f$ as GoogleListConversionGoalsResponse, g0 as GoogleListConversionRequestsError, g1 as GoogleListConversionRequestsResponse, g2 as GoogleListKeywordsError, g3 as GoogleListKeywordsResponse, g4 as GooglePauseAdError, g5 as GooglePauseAdGroupError, g6 as GooglePauseAdGroupResponse, g7 as GooglePauseAdResponse, g8 as GooglePauseCampaignError, g9 as GooglePauseCampaignResponse, ga as GooglePauseKeywordError, gb as GooglePauseKeywordResponse, gc as GoogleRemoveAdError, gd as GoogleRemoveAdGroupCriterionError, ge as GoogleRemoveAdGroupCriterionResponse, gf as GoogleRemoveAdGroupError, gg as GoogleRemoveAdGroupResponse, gh as GoogleRemoveAdResponse, gi as GoogleRemoveBudgetError, gj as GoogleRemoveBudgetResponse, gk as GoogleRemoveCampaignCriterionError, gl as GoogleRemoveCampaignCriterionResponse, gm as GoogleRemoveCampaignError, gn as GoogleRemoveCampaignResponse, go as GoogleRemoveKeywordError, gp as GoogleRemoveKeywordResponse, gq as GoogleRunGaqlError, gr as GoogleRunGaqlResponse, gs as GoogleSearchGeoTargetsError, gt as GoogleSearchGeoTargetsResponse, gu as GoogleSendConversionsError, gv as GoogleSendConversionsResponse, gw as GoogleSetAdGroupBidsError, gx as GoogleSetAdGroupBidsResponse, gy as GoogleSetCampaignGeoSettingsError, gz as GoogleSetCampaignGeoSettingsResponse, gA as GoogleSetCampaignTargetingSettingError, gB as GoogleSetCampaignTargetingSettingResponse, gC as GoogleSetConversionGoalError, gD as GoogleSetConversionGoalResponse, gE as GoogleSetKeywordBidError, gF as GoogleSetKeywordBidResponse, gG as GoogleUploadImageAssetError, gH as GoogleUploadImageAssetResponse, gI as IdempotencyKey, gJ as LogsGetError, gK as LogsGetResponse, gL as LogsListError, gM as LogsListResponse, gN as Media, gO as MediaAbortError, gP as MediaAbortResponse, gQ as MediaCompleteError, gR as MediaCompleteResponse, gS as MediaCreateError, gT as MediaDeleteError, gU as MediaDeleteResponse, gV as MediaGetError, gW as MediaListError, gX as MediaListPartsError, gY as MediaListPartsResponse, gZ as MediaSignPartError, g_ as MediaSignPartResponse, g$ as MediaStage, h0 as MediaUpdateError, h1 as MediaUpdateResponse, h2 as MetaAccountError, h3 as MetaAccountResponse, h4 as MetaAdError, h5 as MetaAdResponse, h6 as MetaAdsError, h7 as MetaAdsResponse, h8 as MetaAdsetError, h9 as MetaAdsetResponse, ha as MetaAdsetsError, hb as MetaAdsetsResponse, hc as MetaCampaignError, hd as MetaCampaignResponse, he as MetaCampaignsError, hf as MetaCampaignsResponse, hg as MetaInsightsError, hh as MetaInsightsResponse, hi as
|
|
1
|
+
import { T as TDataShape, O as Options$1, C as Client, a as ClientMeta, b as ConnectionsConnectData, R as RequestResult, c as ConnectionsConnectResponses, d as ConnectionsConnectErrors, e as ConnectionsDeleteData, f as ConnectionsDeleteResponses, g as ConnectionsDeleteErrors, h as ConnectionsGetData, i as ConnectionsGetResponses, j as ConnectionsGetErrors, k as ConnectionsListAccountsData, l as ConnectionsListAccountsResponses, m as ConnectionsListAccountsErrors, n as ConnectionsListByProfileData, o as ConnectionsListByProfileResponses, p as ConnectionsListByProfileErrors, q as ConnectionsSelectData, r as ConnectionsSelectResponses, s as ConnectionsSelectErrors, G as GoogleCreateAdData, t as GoogleCreateAdResponses, u as GoogleCreateAdErrors, v as GoogleCreateAdGroupData, w as GoogleCreateAdGroupResponses, x as GoogleCreateAdGroupErrors, y as GoogleCreateAdGroupCriterionData, z as GoogleCreateAdGroupCriterionResponses, A as GoogleCreateAdGroupCriterionErrors, B as GoogleCreateBudgetData, D as GoogleCreateBudgetResponses, E as GoogleCreateBudgetErrors, F as GoogleCreateCampaignData, H as GoogleCreateCampaignResponses, I as GoogleCreateCampaignErrors, J as GoogleCreateCampaignCriterionData, K as GoogleCreateCampaignCriterionResponses, L as GoogleCreateCampaignCriterionErrors, M as GoogleCreateConversionActionData, N as GoogleCreateConversionActionResponses, P as GoogleCreateConversionActionErrors, Q as GoogleCreateDisplayAdData, S as GoogleCreateDisplayAdResponses, U as GoogleCreateDisplayAdErrors, V as GoogleCreateKeywordData, W as GoogleCreateKeywordResponses, X as GoogleCreateKeywordErrors, Y as GoogleEditAccountData, Z as GoogleEditAccountResponses, _ as GoogleEditAccountErrors, $ as GoogleEditAdGroupData, a0 as GoogleEditAdGroupResponses, a1 as GoogleEditAdGroupErrors, a2 as GoogleEditBudgetData, a3 as GoogleEditBudgetResponses, a4 as GoogleEditBudgetErrors, a5 as GoogleEditCampaignData, a6 as GoogleEditCampaignResponses, a7 as GoogleEditCampaignErrors, a8 as GoogleEnableAdData, a9 as GoogleEnableAdResponses, aa as GoogleEnableAdErrors, ab as GoogleEnableAdGroupData, ac as GoogleEnableAdGroupResponses, ad as GoogleEnableAdGroupErrors, ae as GoogleEnableCampaignData, af as GoogleEnableCampaignResponses, ag as GoogleEnableCampaignErrors, ah as GoogleEnableKeywordData, ai as GoogleEnableKeywordResponses, aj as GoogleEnableKeywordErrors, ak as GoogleGetAccountData, al as GoogleGetAccountResponses, am as GoogleGetAccountErrors, an as GoogleGetAdData, ao as GoogleGetAdResponses, ap as GoogleGetAdErrors, aq as GoogleGetAdGroupData, ar as GoogleGetAdGroupResponses, as as GoogleGetAdGroupErrors, at as GoogleGetAdTreeData, au as GoogleGetAdTreeResponses, av as GoogleGetAdTreeErrors, aw as GoogleGetCampaignData, ax as GoogleGetCampaignResponses, ay as GoogleGetCampaignErrors, az as GoogleGetConversionActionData, aA as GoogleGetConversionActionResponses, aB as GoogleGetConversionActionErrors, aC as GoogleGetConversionStatusData, aD as GoogleGetConversionStatusResponses, aE as GoogleGetConversionStatusErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupCriteriaData, aM as GoogleListAdGroupCriteriaResponses, aN as GoogleListAdGroupCriteriaErrors, aO as GoogleListAdGroupsData, aP as GoogleListAdGroupsResponses, aQ as GoogleListAdGroupsErrors, aR as GoogleListAdsData, aS as GoogleListAdsResponses, aT as GoogleListAdsErrors, aU as GoogleListAudiencesData, aV as GoogleListAudiencesResponses, aW as GoogleListAudiencesErrors, aX as GoogleListCampaignCriteriaData, aY as GoogleListCampaignCriteriaResponses, aZ as GoogleListCampaignCriteriaErrors, a_ as GoogleListCampaignsData, a$ as GoogleListCampaignsResponses, b0 as GoogleListCampaignsErrors, b1 as GoogleListConversionActionsData, b2 as GoogleListConversionActionsResponses, b3 as GoogleListConversionActionsErrors, b4 as GoogleListConversionGoalsData, b5 as GoogleListConversionGoalsResponses, b6 as GoogleListConversionGoalsErrors, b7 as GoogleListConversionRequestsData, b8 as GoogleListConversionRequestsResponses, b9 as GoogleListConversionRequestsErrors, ba as GoogleListKeywordsData, bb as GoogleListKeywordsResponses, bc as GoogleListKeywordsErrors, bd as GooglePauseAdData, be as GooglePauseAdResponses, bf as GooglePauseAdErrors, bg as GooglePauseAdGroupData, bh as GooglePauseAdGroupResponses, bi as GooglePauseAdGroupErrors, bj as GooglePauseCampaignData, bk as GooglePauseCampaignResponses, bl as GooglePauseCampaignErrors, bm as GooglePauseKeywordData, bn as GooglePauseKeywordResponses, bo as GooglePauseKeywordErrors, bp as GoogleRemoveAdData, bq as GoogleRemoveAdResponses, br as GoogleRemoveAdErrors, bs as GoogleRemoveAdGroupData, bt as GoogleRemoveAdGroupResponses, bu as GoogleRemoveAdGroupErrors, bv as GoogleRemoveAdGroupCriterionData, bw as GoogleRemoveAdGroupCriterionResponses, bx as GoogleRemoveAdGroupCriterionErrors, by as GoogleRemoveBudgetData, bz as GoogleRemoveBudgetResponses, bA as GoogleRemoveBudgetErrors, bB as GoogleRemoveCampaignData, bC as GoogleRemoveCampaignResponses, bD as GoogleRemoveCampaignErrors, bE as GoogleRemoveCampaignCriterionData, bF as GoogleRemoveCampaignCriterionResponses, bG as GoogleRemoveCampaignCriterionErrors, bH as GoogleRemoveKeywordData, bI as GoogleRemoveKeywordResponses, bJ as GoogleRemoveKeywordErrors, bK as GoogleRunGaqlData, bL as GoogleRunGaqlResponses, bM as GoogleRunGaqlErrors, bN as GoogleSearchGeoTargetsData, bO as GoogleSearchGeoTargetsResponses, bP as GoogleSearchGeoTargetsErrors, bQ as GoogleSendConversionsData, bR as GoogleSendConversionsResponses, bS as GoogleSendConversionsErrors, bT as GoogleSetAdGroupBidsData, bU as GoogleSetAdGroupBidsResponses, bV as GoogleSetAdGroupBidsErrors, bW as GoogleSetCampaignGeoSettingsData, bX as GoogleSetCampaignGeoSettingsResponses, bY as GoogleSetCampaignGeoSettingsErrors, bZ as GoogleSetCampaignTargetingSettingData, b_ as GoogleSetCampaignTargetingSettingResponses, b$ as GoogleSetCampaignTargetingSettingErrors, c0 as GoogleSetConversionGoalData, c1 as GoogleSetConversionGoalResponses, c2 as GoogleSetConversionGoalErrors, c3 as GoogleSetKeywordBidData, c4 as GoogleSetKeywordBidResponses, c5 as GoogleSetKeywordBidErrors, c6 as GoogleUploadImageAssetData, c7 as GoogleUploadImageAssetResponses, c8 as GoogleUploadImageAssetErrors, c9 as LogsGetData, ca as LogsGetResponses, cb as LogsGetErrors, cc as LogsListData, cd as LogsListResponses, ce as LogsListErrors, cf as MediaAbortData, cg as MediaAbortResponses, ch as MediaAbortErrors, ci as MediaCompleteData, cj as MediaCompleteResponses, ck as MediaCompleteErrors, cl as MediaCreateData, cm as MediaCreateResponses, cn as MediaCreateErrors, co as MediaDeleteData, cp as MediaDeleteResponses, cq as MediaDeleteErrors, cr as MediaGetData, cs as MediaGetResponses, ct as MediaGetErrors, cu as MediaListData, cv as MediaListResponses, cw as MediaListErrors, cx as MediaListPartsData, cy as MediaListPartsResponses, cz as MediaListPartsErrors, cA as MediaSignPartData, cB as MediaSignPartResponses, cC as MediaSignPartErrors, cD as MediaUpdateData, cE as MediaUpdateResponses, cF as MediaUpdateErrors, cG as MetaAccountData, cH as MetaAccountResponses, cI as MetaAccountErrors, cJ as MetaAdData, cK as MetaAdResponses, cL as MetaAdErrors, cM as MetaAdsData, cN as MetaAdsResponses, cO as MetaAdsErrors, cP as MetaAdsetData, cQ as MetaAdsetResponses, cR as MetaAdsetErrors, cS as MetaAdsetsData, cT as MetaAdsetsResponses, cU as MetaAdsetsErrors, cV as MetaCampaignData, cW as MetaCampaignResponses, cX as MetaCampaignErrors, cY as MetaCampaignsData, cZ as MetaCampaignsResponses, c_ as MetaCampaignsErrors, c$ as MetaInsightsData, d0 as MetaInsightsResponses, d1 as MetaInsightsErrors, d2 as PostsCreateData, d3 as PostsCreateResponses, d4 as PostsCreateErrors, d5 as PostsDeleteData, d6 as PostsDeleteResponses, d7 as PostsDeleteErrors, d8 as PostsGetData, d9 as PostsGetResponses, da as PostsGetErrors, db as PostsListData, dc as PostsListResponses, dd as PostsListErrors, de as PostsUpdateData, df as PostsUpdateResponses, dg as PostsUpdateErrors, dh as PostsValidateData, di as PostsValidateResponses, dj as PostsValidateErrors, dk as ProfilesCreateData, dl as ProfilesCreateResponses, dm as ProfilesCreateErrors, dn as ProfilesDeleteData, dp as ProfilesDeleteResponses, dq as ProfilesDeleteErrors, dr as ProfilesGetData, ds as ProfilesGetResponses, dt as ProfilesGetErrors, du as ProfilesListData, dv as ProfilesListResponses, dw as ProfilesListErrors, dx as ProfilesUpdateData, dy as ProfilesUpdateResponses, dz as ProfilesUpdateErrors, dA as TiktokCreatorInfoData, dB as TiktokCreatorInfoResponses, dC as TiktokCreatorInfoErrors, dD as TokensMintData, dE as TokensMintResponses, dF as TokensMintErrors, dG as WebhooksCreateEndpointData, dH as WebhooksCreateEndpointResponses, dI as WebhooksCreateEndpointErrors, dJ as WebhooksCreatePortalData, dK as WebhooksCreatePortalResponses, dL as WebhooksCreatePortalErrors, dM as WebhooksDeleteEndpointData, dN as WebhooksDeleteEndpointResponses, dO as WebhooksDeleteEndpointErrors, dP as WebhooksGetEndpointData, dQ as WebhooksGetEndpointResponses, dR as WebhooksGetEndpointErrors, dS as WebhooksListEndpointsData, dT as WebhooksListEndpointsResponses, dU as WebhooksListEndpointsErrors, dV as WebhooksListEventTypesData, dW as WebhooksListEventTypesResponses, dX as WebhooksListEventTypesErrors, dY as WebhooksPingData, dZ as WebhooksPingResponses, d_ as WebhooksPingErrors, d$ as WebhooksUpdateEndpointData, e0 as WebhooksUpdateEndpointResponses, e1 as WebhooksUpdateEndpointErrors, e2 as ErrorCode, e3 as MediaGetResponse, e4 as ConnectionsConnectResponse, e5 as ConnectionsGetResponse, e6 as ConnectionsListByProfileResponse, e7 as MediaCreateResponse, e8 as ConnectionsListAccountsResponse, e9 as MediaListResponse, ea as PostsGetResponse, eb as PostsListResponse, ec as PostsValidateResponse, ed as ProfilesGetResponse, ee as ProfilesListResponse, ef as TiktokCreatorInfoResponse, eg as PostrunClient, eh as GoogleAdTreeNode } from './types.gen-MxJw6FpT.cjs';
|
|
2
|
+
export { ei as ClientOptions, ej as ConnectionsConnectError, ek as ConnectionsDeleteError, el as ConnectionsDeleteResponse, em as ConnectionsGetError, en as ConnectionsListAccountsError, eo as ConnectionsListByProfileError, ep as ConnectionsSelectError, eq as ConnectionsSelectResponse, er as CreatePostBody, es as DiscoverableAccount, et as ErrorSource, eu as GoogleAdTree, ev as GoogleAdsAd, ew as GoogleAdsAdGroup, ex as GoogleAdsAdGroupCriterion, ey as GoogleAdsAudience, ez as GoogleAdsCampaignCriterion, eA as GoogleAdsConversionConsent, eB as GoogleAdsConversionEvent, eC as GoogleAdsConversionRequest, eD as GoogleAdsConversionStatus, eE as GoogleAdsConversionStatusReason, eF as GoogleAdsConversionUserIdentifier, eG as GoogleAdsConversionWarning, eH as GoogleAdsCreateAdGroupCriterionRequest, eI as GoogleAdsCreateCampaignCriterionRequest, eJ as GoogleAdsCreateResult, eK as GoogleAdsDeleteResult, eL as GoogleAdsEditResult, eM as GoogleAdsGeoSettingsRequest, eN as GoogleAdsGeoTargetConstant, eO as GoogleAdsInsightLevel, eP as GoogleAdsInsightMetric, eQ as GoogleAdsInsightSegment, eR as GoogleAdsInsights, eS as GoogleAdsInsightsQuery, eT as GoogleAdsInsightsRow, eU as GoogleAdsKeyword, eV as GoogleAdsReadStatusFilter, eW as GoogleAdsSendConversionsResult, eX as GoogleAdsUrlCustomParameter, eY as GoogleCreateAdError, eZ as GoogleCreateAdGroupCriterionError, e_ as GoogleCreateAdGroupCriterionResponse, e$ as GoogleCreateAdGroupError, f0 as GoogleCreateAdGroupResponse, f1 as GoogleCreateAdResponse, f2 as GoogleCreateBudgetError, f3 as GoogleCreateBudgetResponse, f4 as GoogleCreateCampaignCriterionError, f5 as GoogleCreateCampaignCriterionResponse, f6 as GoogleCreateCampaignError, f7 as GoogleCreateCampaignResponse, f8 as GoogleCreateConversionActionError, f9 as GoogleCreateConversionActionResponse, fa as GoogleCreateDisplayAdError, fb as GoogleCreateDisplayAdResponse, fc as GoogleCreateKeywordError, fd as GoogleCreateKeywordResponse, fe as GoogleEditAccountError, ff as GoogleEditAccountResponse, fg as GoogleEditAdGroupError, fh as GoogleEditAdGroupResponse, fi as GoogleEditBudgetError, fj as GoogleEditBudgetResponse, fk as GoogleEditCampaignError, fl as GoogleEditCampaignResponse, fm as GoogleEnableAdError, fn as GoogleEnableAdGroupError, fo as GoogleEnableAdGroupResponse, fp as GoogleEnableAdResponse, fq as GoogleEnableCampaignError, fr as GoogleEnableCampaignResponse, fs as GoogleEnableKeywordError, ft as GoogleEnableKeywordResponse, fu as GoogleGetAccountError, fv as GoogleGetAccountResponse, fw as GoogleGetAdError, fx as GoogleGetAdGroupError, fy as GoogleGetAdGroupResponse, fz as GoogleGetAdResponse, fA as GoogleGetAdTreeError, fB as GoogleGetAdTreeResponse, fC as GoogleGetCampaignError, fD as GoogleGetCampaignResponse, fE as GoogleGetConversionActionError, fF as GoogleGetConversionActionResponse, fG as GoogleGetConversionStatusError, fH as GoogleGetConversionStatusResponse, fI as GoogleGetInsightsError, fJ as GoogleGetInsightsResponse, fK as GoogleGetKeywordError, fL as GoogleGetKeywordResponse, fM as GoogleListAdGroupCriteriaError, fN as GoogleListAdGroupCriteriaResponse, fO as GoogleListAdGroupsError, fP as GoogleListAdGroupsResponse, fQ as GoogleListAdsError, fR as GoogleListAdsResponse, fS as GoogleListAudiencesError, fT as GoogleListAudiencesResponse, fU as GoogleListCampaignCriteriaError, fV as GoogleListCampaignCriteriaResponse, fW as GoogleListCampaignsError, fX as GoogleListCampaignsResponse, fY as GoogleListConversionActionsError, fZ as GoogleListConversionActionsResponse, f_ as GoogleListConversionGoalsError, f$ as GoogleListConversionGoalsResponse, g0 as GoogleListConversionRequestsError, g1 as GoogleListConversionRequestsResponse, g2 as GoogleListKeywordsError, g3 as GoogleListKeywordsResponse, g4 as GooglePauseAdError, g5 as GooglePauseAdGroupError, g6 as GooglePauseAdGroupResponse, g7 as GooglePauseAdResponse, g8 as GooglePauseCampaignError, g9 as GooglePauseCampaignResponse, ga as GooglePauseKeywordError, gb as GooglePauseKeywordResponse, gc as GoogleRemoveAdError, gd as GoogleRemoveAdGroupCriterionError, ge as GoogleRemoveAdGroupCriterionResponse, gf as GoogleRemoveAdGroupError, gg as GoogleRemoveAdGroupResponse, gh as GoogleRemoveAdResponse, gi as GoogleRemoveBudgetError, gj as GoogleRemoveBudgetResponse, gk as GoogleRemoveCampaignCriterionError, gl as GoogleRemoveCampaignCriterionResponse, gm as GoogleRemoveCampaignError, gn as GoogleRemoveCampaignResponse, go as GoogleRemoveKeywordError, gp as GoogleRemoveKeywordResponse, gq as GoogleRunGaqlError, gr as GoogleRunGaqlResponse, gs as GoogleSearchGeoTargetsError, gt as GoogleSearchGeoTargetsResponse, gu as GoogleSendConversionsError, gv as GoogleSendConversionsResponse, gw as GoogleSetAdGroupBidsError, gx as GoogleSetAdGroupBidsResponse, gy as GoogleSetCampaignGeoSettingsError, gz as GoogleSetCampaignGeoSettingsResponse, gA as GoogleSetCampaignTargetingSettingError, gB as GoogleSetCampaignTargetingSettingResponse, gC as GoogleSetConversionGoalError, gD as GoogleSetConversionGoalResponse, gE as GoogleSetKeywordBidError, gF as GoogleSetKeywordBidResponse, gG as GoogleUploadImageAssetError, gH as GoogleUploadImageAssetResponse, gI as IdempotencyKey, gJ as LogsGetError, gK as LogsGetResponse, gL as LogsListError, gM as LogsListResponse, gN as Media, gO as MediaAbortError, gP as MediaAbortResponse, gQ as MediaCompleteError, gR as MediaCompleteResponse, gS as MediaCreateError, gT as MediaDeleteError, gU as MediaDeleteResponse, gV as MediaGetError, gW as MediaListError, gX as MediaListPartsError, gY as MediaListPartsResponse, gZ as MediaSignPartError, g_ as MediaSignPartResponse, g$ as MediaStage, h0 as MediaUpdateError, h1 as MediaUpdateResponse, h2 as MetaAccountError, h3 as MetaAccountResponse, h4 as MetaAdError, h5 as MetaAdResponse, h6 as MetaAdsError, h7 as MetaAdsResponse, h8 as MetaAdsetError, h9 as MetaAdsetResponse, ha as MetaAdsetsError, hb as MetaAdsetsResponse, hc as MetaCampaignError, hd as MetaCampaignResponse, he as MetaCampaignsError, hf as MetaCampaignsResponse, hg as MetaInsightsError, hh as MetaInsightsResponse, hi as PostVariantStatus, hj as PostrunClientOptions, hk as PostsCreateError, hl as PostsCreateResponse, hm as PostsDeleteError, hn as PostsDeleteResponse, ho as PostsGetError, hp as PostsListError, hq as PostsUpdateError, hr as PostsUpdateResponse, hs as PostsValidateError, ht as ProfilesCreateError, hu as ProfilesCreateResponse, hv as ProfilesDeleteError, hw as ProfilesDeleteResponse, hx as ProfilesGetError, hy as ProfilesListError, hz as ProfilesUpdateError, hA as ProfilesUpdateResponse, hB as TiktokCreatorInfoError, hC as TokensMintError, hD as TokensMintResponse, hE as WebhooksCreateEndpointError, hF as WebhooksCreateEndpointResponse, hG as WebhooksCreatePortalError, hH as WebhooksCreatePortalResponse, hI as WebhooksDeleteEndpointError, hJ as WebhooksDeleteEndpointResponse, hK as WebhooksGetEndpointError, hL as WebhooksGetEndpointResponse, hM as WebhooksListEndpointsError, hN as WebhooksListEndpointsResponse, hO as WebhooksListEventTypesError, hP as WebhooksListEventTypesResponse, hQ as WebhooksPingError, hR as WebhooksPingResponse, hS as WebhooksUpdateEndpointError, hT as WebhooksUpdateEndpointResponse, hU as createPostrunClient } from './types.gen-MxJw6FpT.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> & {
|
|
@@ -946,8 +946,9 @@ type XPostVariant = Extract<PostVariantInput, {
|
|
|
946
946
|
platform: 'x';
|
|
947
947
|
}>;
|
|
948
948
|
/** The LinkedIn member of the write variant union — typed native settings
|
|
949
|
-
* (`
|
|
950
|
-
*
|
|
949
|
+
* (`visibility`, `article`, `poll`, `document`, `mentions`). The `content_kind`
|
|
950
|
+
* shape is server-DERIVED and read-only (see {@link PostVariant}). Narrowed from
|
|
951
|
+
* the contract, never hand-declared. */
|
|
951
952
|
type LinkedInPostVariant = Extract<PostVariantInput, {
|
|
952
953
|
platform: 'linkedin';
|
|
953
954
|
}>;
|
|
@@ -960,8 +961,9 @@ type TikTokPostVariant = Extract<PostVariantInput, {
|
|
|
960
961
|
platform: 'tiktok';
|
|
961
962
|
}>;
|
|
962
963
|
/** The Instagram member of the write variant union — typed native settings
|
|
963
|
-
* (`
|
|
964
|
-
* `share_to_feed`/`audio_name`/`cover_url`/`thumb_offset`).
|
|
964
|
+
* (`collaborators`, `user_tags`, `location_id`, and the reel-only
|
|
965
|
+
* `share_to_feed`/`audio_name`/`cover_url`/`thumb_offset`). The `media_type` shape
|
|
966
|
+
* is server-DERIVED and read-only (see {@link PostVariant}). Narrowed from the
|
|
965
967
|
* contract, never hand-declared — the compose-time shape an IG preview renders. */
|
|
966
968
|
type InstagramPostVariant = Extract<PostVariantInput, {
|
|
967
969
|
platform: 'instagram';
|
|
@@ -1032,10 +1034,14 @@ type PostValidation = PostsValidateResponse;
|
|
|
1032
1034
|
type ValidationIssue = PostValidation['issues'][number];
|
|
1033
1035
|
/** A posting platform — the variant discriminator (x / linkedin / …). */
|
|
1034
1036
|
type PostPlatform = PostVariantInput['platform'];
|
|
1035
|
-
/**
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1037
|
+
/**
|
|
1038
|
+
* The post shape (`text` / `single_image` / `multi_image` / `video` / `reel` /
|
|
1039
|
+
* `carousel`) — DERIVED server-side from the attached media, never sent on write.
|
|
1040
|
+
* It surfaces on the READ variant (`PostVariant.post_type`, null while
|
|
1041
|
+
* undetermined); this strips that null to the concrete union. Derived from the
|
|
1042
|
+
* contract, never hand-listed.
|
|
1043
|
+
*/
|
|
1044
|
+
type PostType = NonNullable<PostVariant['post_type']>;
|
|
1039
1045
|
/** The native `settings` shape for a given platform (typed per channel). */
|
|
1040
1046
|
type SettingsFor<P extends PostPlatform> = Extract<PostVariantInput, {
|
|
1041
1047
|
platform: P;
|
|
@@ -1206,8 +1212,10 @@ declare const TIKTOK_CAPTION_MAX: {
|
|
|
1206
1212
|
readonly video: 2200;
|
|
1207
1213
|
readonly photo: 4000;
|
|
1208
1214
|
};
|
|
1209
|
-
/** The caption cap for a given post_type (video → title cap, photo → description).
|
|
1210
|
-
|
|
1215
|
+
/** The caption cap for a given post_type (video → title cap, photo → description).
|
|
1216
|
+
* `post_type` is server-derived from the media (read-only) — the composer passes
|
|
1217
|
+
* the shape it knows it's building (a video post vs a photo post). */
|
|
1218
|
+
declare function captionMaxFor(postType: PostType): number;
|
|
1211
1219
|
/** The creator-gated interactions TikTok requires us to surface — DERIVED from
|
|
1212
1220
|
* the creator-info contract (`interaction` keys), never hand-listed, so it can
|
|
1213
1221
|
* never drift from the API shape. */
|
|
@@ -1318,22 +1326,26 @@ declare function tiktokSettings(value: TikTokOptionsValue, isVideo: boolean): No
|
|
|
1318
1326
|
*/
|
|
1319
1327
|
declare function tiktokOptionsReady(value: TikTokOptionsValue): boolean;
|
|
1320
1328
|
|
|
1321
|
-
/**
|
|
1322
|
-
|
|
1329
|
+
/**
|
|
1330
|
+
* A media attachment — just the uploaded asset's id. The post SHAPE (`post_type`
|
|
1331
|
+
* and the LinkedIn `content_kind` / Instagram `media_type`) is DERIVED server-side
|
|
1332
|
+
* from the media's byte-detected kind, so the customer never declares a media
|
|
1333
|
+
* `kind` here — they attach the asset and we figure out the rest.
|
|
1334
|
+
*/
|
|
1335
|
+
type MediaInput = Pick<MediaResource, 'id'>;
|
|
1323
1336
|
/** Base content, shared across channels unless a channel overrides it. */
|
|
1324
1337
|
interface PostContent {
|
|
1325
1338
|
body?: string;
|
|
1326
1339
|
media?: readonly MediaInput[];
|
|
1327
1340
|
}
|
|
1328
1341
|
/**
|
|
1329
|
-
* One channel's config. The SDK owns the plumbing (connection, media, assembly)
|
|
1330
|
-
*
|
|
1331
|
-
*
|
|
1332
|
-
*
|
|
1342
|
+
* One channel's config. The SDK owns the plumbing (connection, media, assembly);
|
|
1343
|
+
* the CUSTOMER owns `settings` — the platform's native, fully-typed config. An
|
|
1344
|
+
* Instagram setting on an X channel is a compile error. The post shape is never
|
|
1345
|
+
* specified here — the server derives it from the attached media.
|
|
1333
1346
|
*/
|
|
1334
1347
|
interface ChannelConfig<P extends PostPlatform> {
|
|
1335
1348
|
settings: SettingsFor<P>;
|
|
1336
|
-
postType?: PostTypeFor<P>;
|
|
1337
1349
|
body?: string;
|
|
1338
1350
|
media?: readonly MediaInput[];
|
|
1339
1351
|
connectionId?: string;
|
|
@@ -1371,10 +1383,10 @@ type ConnectionRef = Pick<Connection, 'id' | 'platform'>;
|
|
|
1371
1383
|
/**
|
|
1372
1384
|
* Thrown only for a genuine USAGE error the SDK can't paper over — an
|
|
1373
1385
|
* unresolvable connection, or a build with zero channels. It is NEVER thrown for
|
|
1374
|
-
* a media
|
|
1375
|
-
*
|
|
1376
|
-
*
|
|
1377
|
-
*
|
|
1386
|
+
* a media combination: validity (which media a platform accepts, document
|
|
1387
|
+
* support, count limits, …) is the SERVER's job — it derives the post shape from
|
|
1388
|
+
* the media and surfaces any problem as a typed `ValidationIssue` from
|
|
1389
|
+
* `POST /v1/posts/validate`. So the SDK can always build an in-progress composition.
|
|
1378
1390
|
*/
|
|
1379
1391
|
declare class ComposeError extends Error {
|
|
1380
1392
|
constructor(message: string);
|
|
@@ -1386,12 +1398,12 @@ declare function isPostPlatform(value: string): value is PostPlatform;
|
|
|
1386
1398
|
declare const POST_PLATFORMS: PostPlatform[];
|
|
1387
1399
|
/**
|
|
1388
1400
|
* Turn an ergonomic `{ content, channels }` input into the exact
|
|
1389
|
-
* `CreatePostInput` the API expects — resolving each channel's connection
|
|
1390
|
-
* attaching the shared/overridden media
|
|
1391
|
-
*
|
|
1392
|
-
*
|
|
1393
|
-
*
|
|
1394
|
-
*
|
|
1401
|
+
* `CreatePostInput` the API expects — resolving each channel's connection and
|
|
1402
|
+
* attaching the shared/overridden media. The server derives the post shape from
|
|
1403
|
+
* that media, so the build is TOTAL: it never throws for a media combination and
|
|
1404
|
+
* an in-progress post can always be built to validate. The customer never
|
|
1405
|
+
* assembles `variants[]` or sees a `connection_id`, and owns each channel's typed
|
|
1406
|
+
* `settings`.
|
|
1395
1407
|
*/
|
|
1396
1408
|
declare function buildCreatePost(input: ComposePostInput, connections: readonly ConnectionRef[]): CreatePostInput;
|
|
1397
1409
|
/**
|
|
@@ -1400,4 +1412,4 @@ declare function buildCreatePost(input: ComposePostInput, connections: readonly
|
|
|
1400
1412
|
*/
|
|
1401
1413
|
declare function buildUpdatePost(input: ComposeUpdateInput, connections?: readonly ConnectionRef[]): UpdatePostInput;
|
|
1402
1414
|
|
|
1403
|
-
export { type AdTreeNode, type ChannelConfig, type Channels, ComposeError, type ComposePostInput, type ComposeUpdateInput, type ConnectSession, type ConnectablePlatform, type Connection, type ConnectionKind, type ConnectionList, type ConnectionRef, type ConnectionStatus, ConnectionsConnectData, ConnectionsConnectErrors, ConnectionsConnectResponse, ConnectionsConnectResponses, ConnectionsDeleteData, ConnectionsDeleteErrors, ConnectionsDeleteResponses, ConnectionsGetData, ConnectionsGetErrors, ConnectionsGetResponse, ConnectionsGetResponses, ConnectionsListAccountsData, ConnectionsListAccountsErrors, ConnectionsListAccountsResponse, ConnectionsListAccountsResponses, ConnectionsListByProfileData, ConnectionsListByProfileErrors, ConnectionsListByProfileResponse, ConnectionsListByProfileResponses, ConnectionsSelectData, ConnectionsSelectErrors, ConnectionsSelectResponses, type CreateMediaInput, type CreateMediaResult, type CreatePostInput, type CreateProfileInput, type DiscoverableAccountList, ErrorCode, GoogleAdTreeNode, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupCriterionData, GoogleCreateAdGroupCriterionErrors, GoogleCreateAdGroupCriterionResponses, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignCriterionData, GoogleCreateCampaignCriterionErrors, GoogleCreateCampaignCriterionResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleEditAccountData, GoogleEditAccountErrors, GoogleEditAccountResponses, GoogleEditAdGroupData, GoogleEditAdGroupErrors, GoogleEditAdGroupResponses, GoogleEditBudgetData, GoogleEditBudgetErrors, GoogleEditBudgetResponses, GoogleEditCampaignData, GoogleEditCampaignErrors, GoogleEditCampaignResponses, GoogleEnableAdData, GoogleEnableAdErrors, GoogleEnableAdGroupData, GoogleEnableAdGroupErrors, GoogleEnableAdGroupResponses, GoogleEnableAdResponses, GoogleEnableCampaignData, GoogleEnableCampaignErrors, GoogleEnableCampaignResponses, GoogleEnableKeywordData, GoogleEnableKeywordErrors, GoogleEnableKeywordResponses, GoogleGetAccountData, GoogleGetAccountErrors, GoogleGetAccountResponses, GoogleGetAdData, GoogleGetAdErrors, GoogleGetAdGroupData, GoogleGetAdGroupErrors, GoogleGetAdGroupResponses, GoogleGetAdResponses, GoogleGetAdTreeData, GoogleGetAdTreeErrors, GoogleGetAdTreeResponses, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetConversionStatusData, GoogleGetConversionStatusErrors, GoogleGetConversionStatusResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupCriteriaData, GoogleListAdGroupCriteriaErrors, GoogleListAdGroupCriteriaResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListAudiencesData, GoogleListAudiencesErrors, GoogleListAudiencesResponses, GoogleListCampaignCriteriaData, GoogleListCampaignCriteriaErrors, GoogleListCampaignCriteriaResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListConversionRequestsData, GoogleListConversionRequestsErrors, GoogleListConversionRequestsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRemoveAdData, GoogleRemoveAdErrors, GoogleRemoveAdGroupCriterionData, GoogleRemoveAdGroupCriterionErrors, GoogleRemoveAdGroupCriterionResponses, GoogleRemoveAdGroupData, GoogleRemoveAdGroupErrors, GoogleRemoveAdGroupResponses, GoogleRemoveAdResponses, GoogleRemoveBudgetData, GoogleRemoveBudgetErrors, GoogleRemoveBudgetResponses, GoogleRemoveCampaignCriterionData, GoogleRemoveCampaignCriterionErrors, GoogleRemoveCampaignCriterionResponses, GoogleRemoveCampaignData, GoogleRemoveCampaignErrors, GoogleRemoveCampaignResponses, GoogleRemoveKeywordData, GoogleRemoveKeywordErrors, GoogleRemoveKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSearchGeoTargetsData, GoogleSearchGeoTargetsErrors, GoogleSearchGeoTargetsResponses, GoogleSendConversionsData, GoogleSendConversionsErrors, GoogleSendConversionsResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetCampaignGeoSettingsData, GoogleSetCampaignGeoSettingsErrors, GoogleSetCampaignGeoSettingsResponses, GoogleSetCampaignTargetingSettingData, GoogleSetCampaignTargetingSettingErrors, GoogleSetCampaignTargetingSettingResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type InstagramPostVariant, type LinkedInPollDuration, type LinkedInPostVariant, type ListConnectionsQuery, type ListMediaQuery, type ListPostsQuery, type ListProfilesQuery, LogsGetData, LogsGetErrors, LogsGetResponses, LogsListData, LogsListErrors, LogsListResponses, MediaAbortData, MediaAbortErrors, MediaAbortResponses, MediaCompleteData, MediaCompleteErrors, MediaCompleteResponses, MediaCreateData, MediaCreateErrors, MediaCreateResponse, MediaCreateResponses, MediaDeleteData, MediaDeleteErrors, MediaDeleteResponses, MediaGetData, MediaGetErrors, MediaGetResponse, MediaGetResponses, type MediaInput, type MediaKind, type MediaList, MediaListData, MediaListErrors, MediaListPartsData, MediaListPartsErrors, MediaListPartsResponses, MediaListResponse, MediaListResponses, type MediaResource, MediaSignPartData, MediaSignPartErrors, MediaSignPartResponses, type MediaStatus, type MediaTarget, MediaUpdateData, MediaUpdateErrors, MediaUpdateResponses, MetaAccountData, MetaAccountErrors, MetaAccountResponses, MetaAdData, MetaAdErrors, MetaAdResponses, MetaAdsData, MetaAdsErrors, MetaAdsResponses, MetaAdsetData, MetaAdsetErrors, MetaAdsetResponses, MetaAdsetsData, MetaAdsetsErrors, MetaAdsetsResponses, MetaCampaignData, MetaCampaignErrors, MetaCampaignResponses, MetaCampaignsData, MetaCampaignsErrors, MetaCampaignsResponses, MetaInsightsData, MetaInsightsErrors, MetaInsightsResponses, type Metadata, type MetadataFilter, type MultipartSession, type Options, POST_PLATFORMS, type Post, type PostContent, type PostList, type PostMetadata, type PostPlatform, type PostStatus, type PostTypeFor, type PostValidation, type PostVariant, type PostVariantError, type PostVariantInput, PostrunClient, PostrunError, type PostrunErrorCode, type PostrunFieldError, type PostrunProblem, PostsCreateData, PostsCreateErrors, PostsCreateResponses, PostsDeleteData, PostsDeleteErrors, PostsDeleteResponses, PostsGetData, PostsGetErrors, PostsGetResponse, PostsGetResponses, PostsListData, PostsListErrors, PostsListResponse, PostsListResponses, PostsUpdateData, PostsUpdateErrors, PostsUpdateResponses, PostsValidateData, PostsValidateErrors, PostsValidateResponse, PostsValidateResponses, type Profile, type ProfileList, ProfilesCreateData, ProfilesCreateErrors, ProfilesCreateResponses, ProfilesDeleteData, ProfilesDeleteErrors, ProfilesDeleteResponses, ProfilesGetData, ProfilesGetErrors, ProfilesGetResponse, ProfilesGetResponses, ProfilesListData, ProfilesListErrors, ProfilesListResponse, ProfilesListResponses, ProfilesUpdateData, ProfilesUpdateErrors, ProfilesUpdateResponses, type PublishMode, type SelectAccountInput, type SettingsFor, TIKTOK_AUDIENCE_REQUIRED_HINT, TIKTOK_BRANDED_CONTENT_POLICY_URL, TIKTOK_CAPTION_MAX, TIKTOK_DISCLOSURE_REQUIRED_HINT, TIKTOK_MUSIC_CONFIRMATION_URL, TIKTOK_PROCESSING_NOTICE, type TikTokBrandKind, type TikTokCreatorInfo, type TikTokInteractionKey, type TikTokInteractionRow, type TikTokOptionsValue, type TikTokPostVariant, type TikTokPrivacyChoice, type TikTokPrivacyLevel, TiktokCreatorInfoData, TiktokCreatorInfoErrors, TiktokCreatorInfoResponse, TiktokCreatorInfoResponses, TokensMintData, TokensMintErrors, TokensMintResponses, type UpdateMediaInput, type UpdatePostInput, type UpdateProfileInput, UploadError, type UploadFileOptions, type ValidatePostInput, type ValidationIssue, WebhooksCreateEndpointData, WebhooksCreateEndpointErrors, WebhooksCreateEndpointResponses, WebhooksCreatePortalData, WebhooksCreatePortalErrors, WebhooksCreatePortalResponses, WebhooksDeleteEndpointData, WebhooksDeleteEndpointErrors, WebhooksDeleteEndpointResponses, WebhooksGetEndpointData, WebhooksGetEndpointErrors, WebhooksGetEndpointResponses, WebhooksListEndpointsData, WebhooksListEndpointsErrors, WebhooksListEndpointsResponses, WebhooksListEventTypesData, WebhooksListEventTypesErrors, WebhooksListEventTypesResponses, WebhooksPingData, WebhooksPingErrors, WebhooksPingResponses, WebhooksUpdateEndpointData, WebhooksUpdateEndpointErrors, WebhooksUpdateEndpointResponses, type XPoll, type XPostVariant, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, captionMaxFor, commercialDisclosureIncomplete, commercialLabelNotice, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, defaultTikTokOptions, failedVariants, googleCreateAd, googleCreateAdGroup, googleCreateAdGroupCriterion, googleCreateBudget, googleCreateCampaign, googleCreateCampaignCriterion, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleEditAccount, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetAdTree, googleGetCampaign, googleGetConversionAction, googleGetConversionStatus, googleGetInsights, googleGetKeyword, googleListAdGroupCriteria, googleListAdGroups, googleListAds, googleListAudiences, googleListCampaignCriteria, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListConversionRequests, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRemoveAd, googleRemoveAdGroup, googleRemoveAdGroupCriterion, googleRemoveBudget, googleRemoveCampaign, googleRemoveCampaignCriterion, googleRemoveKeyword, googleRunGaql, googleSearchGeoTargets, googleSendConversions, googleSetAdGroupBids, googleSetCampaignGeoSettings, googleSetCampaignTargetingSetting, googleSetConversionGoal, googleSetKeywordBid, googleUploadImageAsset, groupAdTree, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, logsGet, logsList, mediaAbort, mediaComplete, mediaCreate, mediaDelete, mediaGet, mediaList, mediaListParts, mediaSignPart, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, parsePrivacyLevel, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, privacyChoices, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, setBrandKind, setCommercialDisclosure, tiktokCreatorInfo, tiktokOptionsReady, tiktokPrivacyLabel, tiktokSettings, toggleInteraction, tokensMint, uploadFile, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint, xPollDurationLabel };
|
|
1415
|
+
export { type AdTreeNode, type ChannelConfig, type Channels, ComposeError, type ComposePostInput, type ComposeUpdateInput, type ConnectSession, type ConnectablePlatform, type Connection, type ConnectionKind, type ConnectionList, type ConnectionRef, type ConnectionStatus, ConnectionsConnectData, ConnectionsConnectErrors, ConnectionsConnectResponse, ConnectionsConnectResponses, ConnectionsDeleteData, ConnectionsDeleteErrors, ConnectionsDeleteResponses, ConnectionsGetData, ConnectionsGetErrors, ConnectionsGetResponse, ConnectionsGetResponses, ConnectionsListAccountsData, ConnectionsListAccountsErrors, ConnectionsListAccountsResponse, ConnectionsListAccountsResponses, ConnectionsListByProfileData, ConnectionsListByProfileErrors, ConnectionsListByProfileResponse, ConnectionsListByProfileResponses, ConnectionsSelectData, ConnectionsSelectErrors, ConnectionsSelectResponses, type CreateMediaInput, type CreateMediaResult, type CreatePostInput, type CreateProfileInput, type DiscoverableAccountList, ErrorCode, GoogleAdTreeNode, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupCriterionData, GoogleCreateAdGroupCriterionErrors, GoogleCreateAdGroupCriterionResponses, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignCriterionData, GoogleCreateCampaignCriterionErrors, GoogleCreateCampaignCriterionResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleEditAccountData, GoogleEditAccountErrors, GoogleEditAccountResponses, GoogleEditAdGroupData, GoogleEditAdGroupErrors, GoogleEditAdGroupResponses, GoogleEditBudgetData, GoogleEditBudgetErrors, GoogleEditBudgetResponses, GoogleEditCampaignData, GoogleEditCampaignErrors, GoogleEditCampaignResponses, GoogleEnableAdData, GoogleEnableAdErrors, GoogleEnableAdGroupData, GoogleEnableAdGroupErrors, GoogleEnableAdGroupResponses, GoogleEnableAdResponses, GoogleEnableCampaignData, GoogleEnableCampaignErrors, GoogleEnableCampaignResponses, GoogleEnableKeywordData, GoogleEnableKeywordErrors, GoogleEnableKeywordResponses, GoogleGetAccountData, GoogleGetAccountErrors, GoogleGetAccountResponses, GoogleGetAdData, GoogleGetAdErrors, GoogleGetAdGroupData, GoogleGetAdGroupErrors, GoogleGetAdGroupResponses, GoogleGetAdResponses, GoogleGetAdTreeData, GoogleGetAdTreeErrors, GoogleGetAdTreeResponses, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetConversionStatusData, GoogleGetConversionStatusErrors, GoogleGetConversionStatusResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupCriteriaData, GoogleListAdGroupCriteriaErrors, GoogleListAdGroupCriteriaResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListAudiencesData, GoogleListAudiencesErrors, GoogleListAudiencesResponses, GoogleListCampaignCriteriaData, GoogleListCampaignCriteriaErrors, GoogleListCampaignCriteriaResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListConversionRequestsData, GoogleListConversionRequestsErrors, GoogleListConversionRequestsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRemoveAdData, GoogleRemoveAdErrors, GoogleRemoveAdGroupCriterionData, GoogleRemoveAdGroupCriterionErrors, GoogleRemoveAdGroupCriterionResponses, GoogleRemoveAdGroupData, GoogleRemoveAdGroupErrors, GoogleRemoveAdGroupResponses, GoogleRemoveAdResponses, GoogleRemoveBudgetData, GoogleRemoveBudgetErrors, GoogleRemoveBudgetResponses, GoogleRemoveCampaignCriterionData, GoogleRemoveCampaignCriterionErrors, GoogleRemoveCampaignCriterionResponses, GoogleRemoveCampaignData, GoogleRemoveCampaignErrors, GoogleRemoveCampaignResponses, GoogleRemoveKeywordData, GoogleRemoveKeywordErrors, GoogleRemoveKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSearchGeoTargetsData, GoogleSearchGeoTargetsErrors, GoogleSearchGeoTargetsResponses, GoogleSendConversionsData, GoogleSendConversionsErrors, GoogleSendConversionsResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetCampaignGeoSettingsData, GoogleSetCampaignGeoSettingsErrors, GoogleSetCampaignGeoSettingsResponses, GoogleSetCampaignTargetingSettingData, GoogleSetCampaignTargetingSettingErrors, GoogleSetCampaignTargetingSettingResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type InstagramPostVariant, type LinkedInPollDuration, type LinkedInPostVariant, type ListConnectionsQuery, type ListMediaQuery, type ListPostsQuery, type ListProfilesQuery, LogsGetData, LogsGetErrors, LogsGetResponses, LogsListData, LogsListErrors, LogsListResponses, MediaAbortData, MediaAbortErrors, MediaAbortResponses, MediaCompleteData, MediaCompleteErrors, MediaCompleteResponses, MediaCreateData, MediaCreateErrors, MediaCreateResponse, MediaCreateResponses, MediaDeleteData, MediaDeleteErrors, MediaDeleteResponses, MediaGetData, MediaGetErrors, MediaGetResponse, MediaGetResponses, type MediaInput, type MediaKind, type MediaList, MediaListData, MediaListErrors, MediaListPartsData, MediaListPartsErrors, MediaListPartsResponses, MediaListResponse, MediaListResponses, type MediaResource, MediaSignPartData, MediaSignPartErrors, MediaSignPartResponses, type MediaStatus, type MediaTarget, MediaUpdateData, MediaUpdateErrors, MediaUpdateResponses, MetaAccountData, MetaAccountErrors, MetaAccountResponses, MetaAdData, MetaAdErrors, MetaAdResponses, MetaAdsData, MetaAdsErrors, MetaAdsResponses, MetaAdsetData, MetaAdsetErrors, MetaAdsetResponses, MetaAdsetsData, MetaAdsetsErrors, MetaAdsetsResponses, MetaCampaignData, MetaCampaignErrors, MetaCampaignResponses, MetaCampaignsData, MetaCampaignsErrors, MetaCampaignsResponses, MetaInsightsData, MetaInsightsErrors, MetaInsightsResponses, type Metadata, type MetadataFilter, type MultipartSession, type Options, POST_PLATFORMS, type Post, type PostContent, type PostList, type PostMetadata, type PostPlatform, type PostStatus, type PostType, type PostValidation, type PostVariant, type PostVariantError, type PostVariantInput, PostrunClient, PostrunError, type PostrunErrorCode, type PostrunFieldError, type PostrunProblem, PostsCreateData, PostsCreateErrors, PostsCreateResponses, PostsDeleteData, PostsDeleteErrors, PostsDeleteResponses, PostsGetData, PostsGetErrors, PostsGetResponse, PostsGetResponses, PostsListData, PostsListErrors, PostsListResponse, PostsListResponses, PostsUpdateData, PostsUpdateErrors, PostsUpdateResponses, PostsValidateData, PostsValidateErrors, PostsValidateResponse, PostsValidateResponses, type Profile, type ProfileList, ProfilesCreateData, ProfilesCreateErrors, ProfilesCreateResponses, ProfilesDeleteData, ProfilesDeleteErrors, ProfilesDeleteResponses, ProfilesGetData, ProfilesGetErrors, ProfilesGetResponse, ProfilesGetResponses, ProfilesListData, ProfilesListErrors, ProfilesListResponse, ProfilesListResponses, ProfilesUpdateData, ProfilesUpdateErrors, ProfilesUpdateResponses, type PublishMode, type SelectAccountInput, type SettingsFor, TIKTOK_AUDIENCE_REQUIRED_HINT, TIKTOK_BRANDED_CONTENT_POLICY_URL, TIKTOK_CAPTION_MAX, TIKTOK_DISCLOSURE_REQUIRED_HINT, TIKTOK_MUSIC_CONFIRMATION_URL, TIKTOK_PROCESSING_NOTICE, type TikTokBrandKind, type TikTokCreatorInfo, type TikTokInteractionKey, type TikTokInteractionRow, type TikTokOptionsValue, type TikTokPostVariant, type TikTokPrivacyChoice, type TikTokPrivacyLevel, TiktokCreatorInfoData, TiktokCreatorInfoErrors, TiktokCreatorInfoResponse, TiktokCreatorInfoResponses, TokensMintData, TokensMintErrors, TokensMintResponses, type UpdateMediaInput, type UpdatePostInput, type UpdateProfileInput, UploadError, type UploadFileOptions, type ValidatePostInput, type ValidationIssue, WebhooksCreateEndpointData, WebhooksCreateEndpointErrors, WebhooksCreateEndpointResponses, WebhooksCreatePortalData, WebhooksCreatePortalErrors, WebhooksCreatePortalResponses, WebhooksDeleteEndpointData, WebhooksDeleteEndpointErrors, WebhooksDeleteEndpointResponses, WebhooksGetEndpointData, WebhooksGetEndpointErrors, WebhooksGetEndpointResponses, WebhooksListEndpointsData, WebhooksListEndpointsErrors, WebhooksListEndpointsResponses, WebhooksListEventTypesData, WebhooksListEventTypesErrors, WebhooksListEventTypesResponses, WebhooksPingData, WebhooksPingErrors, WebhooksPingResponses, WebhooksUpdateEndpointData, WebhooksUpdateEndpointErrors, WebhooksUpdateEndpointResponses, type XPoll, type XPostVariant, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, captionMaxFor, commercialDisclosureIncomplete, commercialLabelNotice, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, defaultTikTokOptions, failedVariants, googleCreateAd, googleCreateAdGroup, googleCreateAdGroupCriterion, googleCreateBudget, googleCreateCampaign, googleCreateCampaignCriterion, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleEditAccount, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetAdTree, googleGetCampaign, googleGetConversionAction, googleGetConversionStatus, googleGetInsights, googleGetKeyword, googleListAdGroupCriteria, googleListAdGroups, googleListAds, googleListAudiences, googleListCampaignCriteria, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListConversionRequests, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRemoveAd, googleRemoveAdGroup, googleRemoveAdGroupCriterion, googleRemoveBudget, googleRemoveCampaign, googleRemoveCampaignCriterion, googleRemoveKeyword, googleRunGaql, googleSearchGeoTargets, googleSendConversions, googleSetAdGroupBids, googleSetCampaignGeoSettings, googleSetCampaignTargetingSetting, googleSetConversionGoal, googleSetKeywordBid, googleUploadImageAsset, groupAdTree, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, logsGet, logsList, mediaAbort, mediaComplete, mediaCreate, mediaDelete, mediaGet, mediaList, mediaListParts, mediaSignPart, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, parsePrivacyLevel, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, privacyChoices, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, setBrandKind, setCommercialDisclosure, tiktokCreatorInfo, tiktokOptionsReady, tiktokPrivacyLabel, tiktokSettings, toggleInteraction, tokensMint, uploadFile, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint, xPollDurationLabel };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TDataShape, O as Options$1, C as Client, a as ClientMeta, b as ConnectionsConnectData, R as RequestResult, c as ConnectionsConnectResponses, d as ConnectionsConnectErrors, e as ConnectionsDeleteData, f as ConnectionsDeleteResponses, g as ConnectionsDeleteErrors, h as ConnectionsGetData, i as ConnectionsGetResponses, j as ConnectionsGetErrors, k as ConnectionsListAccountsData, l as ConnectionsListAccountsResponses, m as ConnectionsListAccountsErrors, n as ConnectionsListByProfileData, o as ConnectionsListByProfileResponses, p as ConnectionsListByProfileErrors, q as ConnectionsSelectData, r as ConnectionsSelectResponses, s as ConnectionsSelectErrors, G as GoogleCreateAdData, t as GoogleCreateAdResponses, u as GoogleCreateAdErrors, v as GoogleCreateAdGroupData, w as GoogleCreateAdGroupResponses, x as GoogleCreateAdGroupErrors, y as GoogleCreateAdGroupCriterionData, z as GoogleCreateAdGroupCriterionResponses, A as GoogleCreateAdGroupCriterionErrors, B as GoogleCreateBudgetData, D as GoogleCreateBudgetResponses, E as GoogleCreateBudgetErrors, F as GoogleCreateCampaignData, H as GoogleCreateCampaignResponses, I as GoogleCreateCampaignErrors, J as GoogleCreateCampaignCriterionData, K as GoogleCreateCampaignCriterionResponses, L as GoogleCreateCampaignCriterionErrors, M as GoogleCreateConversionActionData, N as GoogleCreateConversionActionResponses, P as GoogleCreateConversionActionErrors, Q as GoogleCreateDisplayAdData, S as GoogleCreateDisplayAdResponses, U as GoogleCreateDisplayAdErrors, V as GoogleCreateKeywordData, W as GoogleCreateKeywordResponses, X as GoogleCreateKeywordErrors, Y as GoogleEditAccountData, Z as GoogleEditAccountResponses, _ as GoogleEditAccountErrors, $ as GoogleEditAdGroupData, a0 as GoogleEditAdGroupResponses, a1 as GoogleEditAdGroupErrors, a2 as GoogleEditBudgetData, a3 as GoogleEditBudgetResponses, a4 as GoogleEditBudgetErrors, a5 as GoogleEditCampaignData, a6 as GoogleEditCampaignResponses, a7 as GoogleEditCampaignErrors, a8 as GoogleEnableAdData, a9 as GoogleEnableAdResponses, aa as GoogleEnableAdErrors, ab as GoogleEnableAdGroupData, ac as GoogleEnableAdGroupResponses, ad as GoogleEnableAdGroupErrors, ae as GoogleEnableCampaignData, af as GoogleEnableCampaignResponses, ag as GoogleEnableCampaignErrors, ah as GoogleEnableKeywordData, ai as GoogleEnableKeywordResponses, aj as GoogleEnableKeywordErrors, ak as GoogleGetAccountData, al as GoogleGetAccountResponses, am as GoogleGetAccountErrors, an as GoogleGetAdData, ao as GoogleGetAdResponses, ap as GoogleGetAdErrors, aq as GoogleGetAdGroupData, ar as GoogleGetAdGroupResponses, as as GoogleGetAdGroupErrors, at as GoogleGetAdTreeData, au as GoogleGetAdTreeResponses, av as GoogleGetAdTreeErrors, aw as GoogleGetCampaignData, ax as GoogleGetCampaignResponses, ay as GoogleGetCampaignErrors, az as GoogleGetConversionActionData, aA as GoogleGetConversionActionResponses, aB as GoogleGetConversionActionErrors, aC as GoogleGetConversionStatusData, aD as GoogleGetConversionStatusResponses, aE as GoogleGetConversionStatusErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupCriteriaData, aM as GoogleListAdGroupCriteriaResponses, aN as GoogleListAdGroupCriteriaErrors, aO as GoogleListAdGroupsData, aP as GoogleListAdGroupsResponses, aQ as GoogleListAdGroupsErrors, aR as GoogleListAdsData, aS as GoogleListAdsResponses, aT as GoogleListAdsErrors, aU as GoogleListAudiencesData, aV as GoogleListAudiencesResponses, aW as GoogleListAudiencesErrors, aX as GoogleListCampaignCriteriaData, aY as GoogleListCampaignCriteriaResponses, aZ as GoogleListCampaignCriteriaErrors, a_ as GoogleListCampaignsData, a$ as GoogleListCampaignsResponses, b0 as GoogleListCampaignsErrors, b1 as GoogleListConversionActionsData, b2 as GoogleListConversionActionsResponses, b3 as GoogleListConversionActionsErrors, b4 as GoogleListConversionGoalsData, b5 as GoogleListConversionGoalsResponses, b6 as GoogleListConversionGoalsErrors, b7 as GoogleListConversionRequestsData, b8 as GoogleListConversionRequestsResponses, b9 as GoogleListConversionRequestsErrors, ba as GoogleListKeywordsData, bb as GoogleListKeywordsResponses, bc as GoogleListKeywordsErrors, bd as GooglePauseAdData, be as GooglePauseAdResponses, bf as GooglePauseAdErrors, bg as GooglePauseAdGroupData, bh as GooglePauseAdGroupResponses, bi as GooglePauseAdGroupErrors, bj as GooglePauseCampaignData, bk as GooglePauseCampaignResponses, bl as GooglePauseCampaignErrors, bm as GooglePauseKeywordData, bn as GooglePauseKeywordResponses, bo as GooglePauseKeywordErrors, bp as GoogleRemoveAdData, bq as GoogleRemoveAdResponses, br as GoogleRemoveAdErrors, bs as GoogleRemoveAdGroupData, bt as GoogleRemoveAdGroupResponses, bu as GoogleRemoveAdGroupErrors, bv as GoogleRemoveAdGroupCriterionData, bw as GoogleRemoveAdGroupCriterionResponses, bx as GoogleRemoveAdGroupCriterionErrors, by as GoogleRemoveBudgetData, bz as GoogleRemoveBudgetResponses, bA as GoogleRemoveBudgetErrors, bB as GoogleRemoveCampaignData, bC as GoogleRemoveCampaignResponses, bD as GoogleRemoveCampaignErrors, bE as GoogleRemoveCampaignCriterionData, bF as GoogleRemoveCampaignCriterionResponses, bG as GoogleRemoveCampaignCriterionErrors, bH as GoogleRemoveKeywordData, bI as GoogleRemoveKeywordResponses, bJ as GoogleRemoveKeywordErrors, bK as GoogleRunGaqlData, bL as GoogleRunGaqlResponses, bM as GoogleRunGaqlErrors, bN as GoogleSearchGeoTargetsData, bO as GoogleSearchGeoTargetsResponses, bP as GoogleSearchGeoTargetsErrors, bQ as GoogleSendConversionsData, bR as GoogleSendConversionsResponses, bS as GoogleSendConversionsErrors, bT as GoogleSetAdGroupBidsData, bU as GoogleSetAdGroupBidsResponses, bV as GoogleSetAdGroupBidsErrors, bW as GoogleSetCampaignGeoSettingsData, bX as GoogleSetCampaignGeoSettingsResponses, bY as GoogleSetCampaignGeoSettingsErrors, bZ as GoogleSetCampaignTargetingSettingData, b_ as GoogleSetCampaignTargetingSettingResponses, b$ as GoogleSetCampaignTargetingSettingErrors, c0 as GoogleSetConversionGoalData, c1 as GoogleSetConversionGoalResponses, c2 as GoogleSetConversionGoalErrors, c3 as GoogleSetKeywordBidData, c4 as GoogleSetKeywordBidResponses, c5 as GoogleSetKeywordBidErrors, c6 as GoogleUploadImageAssetData, c7 as GoogleUploadImageAssetResponses, c8 as GoogleUploadImageAssetErrors, c9 as LogsGetData, ca as LogsGetResponses, cb as LogsGetErrors, cc as LogsListData, cd as LogsListResponses, ce as LogsListErrors, cf as MediaAbortData, cg as MediaAbortResponses, ch as MediaAbortErrors, ci as MediaCompleteData, cj as MediaCompleteResponses, ck as MediaCompleteErrors, cl as MediaCreateData, cm as MediaCreateResponses, cn as MediaCreateErrors, co as MediaDeleteData, cp as MediaDeleteResponses, cq as MediaDeleteErrors, cr as MediaGetData, cs as MediaGetResponses, ct as MediaGetErrors, cu as MediaListData, cv as MediaListResponses, cw as MediaListErrors, cx as MediaListPartsData, cy as MediaListPartsResponses, cz as MediaListPartsErrors, cA as MediaSignPartData, cB as MediaSignPartResponses, cC as MediaSignPartErrors, cD as MediaUpdateData, cE as MediaUpdateResponses, cF as MediaUpdateErrors, cG as MetaAccountData, cH as MetaAccountResponses, cI as MetaAccountErrors, cJ as MetaAdData, cK as MetaAdResponses, cL as MetaAdErrors, cM as MetaAdsData, cN as MetaAdsResponses, cO as MetaAdsErrors, cP as MetaAdsetData, cQ as MetaAdsetResponses, cR as MetaAdsetErrors, cS as MetaAdsetsData, cT as MetaAdsetsResponses, cU as MetaAdsetsErrors, cV as MetaCampaignData, cW as MetaCampaignResponses, cX as MetaCampaignErrors, cY as MetaCampaignsData, cZ as MetaCampaignsResponses, c_ as MetaCampaignsErrors, c$ as MetaInsightsData, d0 as MetaInsightsResponses, d1 as MetaInsightsErrors, d2 as PostsCreateData, d3 as PostsCreateResponses, d4 as PostsCreateErrors, d5 as PostsDeleteData, d6 as PostsDeleteResponses, d7 as PostsDeleteErrors, d8 as PostsGetData, d9 as PostsGetResponses, da as PostsGetErrors, db as PostsListData, dc as PostsListResponses, dd as PostsListErrors, de as PostsUpdateData, df as PostsUpdateResponses, dg as PostsUpdateErrors, dh as PostsValidateData, di as PostsValidateResponses, dj as PostsValidateErrors, dk as ProfilesCreateData, dl as ProfilesCreateResponses, dm as ProfilesCreateErrors, dn as ProfilesDeleteData, dp as ProfilesDeleteResponses, dq as ProfilesDeleteErrors, dr as ProfilesGetData, ds as ProfilesGetResponses, dt as ProfilesGetErrors, du as ProfilesListData, dv as ProfilesListResponses, dw as ProfilesListErrors, dx as ProfilesUpdateData, dy as ProfilesUpdateResponses, dz as ProfilesUpdateErrors, dA as TiktokCreatorInfoData, dB as TiktokCreatorInfoResponses, dC as TiktokCreatorInfoErrors, dD as TokensMintData, dE as TokensMintResponses, dF as TokensMintErrors, dG as WebhooksCreateEndpointData, dH as WebhooksCreateEndpointResponses, dI as WebhooksCreateEndpointErrors, dJ as WebhooksCreatePortalData, dK as WebhooksCreatePortalResponses, dL as WebhooksCreatePortalErrors, dM as WebhooksDeleteEndpointData, dN as WebhooksDeleteEndpointResponses, dO as WebhooksDeleteEndpointErrors, dP as WebhooksGetEndpointData, dQ as WebhooksGetEndpointResponses, dR as WebhooksGetEndpointErrors, dS as WebhooksListEndpointsData, dT as WebhooksListEndpointsResponses, dU as WebhooksListEndpointsErrors, dV as WebhooksListEventTypesData, dW as WebhooksListEventTypesResponses, dX as WebhooksListEventTypesErrors, dY as WebhooksPingData, dZ as WebhooksPingResponses, d_ as WebhooksPingErrors, d$ as WebhooksUpdateEndpointData, e0 as WebhooksUpdateEndpointResponses, e1 as WebhooksUpdateEndpointErrors, e2 as ErrorCode, e3 as MediaGetResponse, e4 as ConnectionsConnectResponse, e5 as ConnectionsGetResponse, e6 as ConnectionsListByProfileResponse, e7 as MediaCreateResponse, e8 as ConnectionsListAccountsResponse, e9 as MediaListResponse, ea as PostsGetResponse, eb as PostsListResponse, ec as PostsValidateResponse, ed as ProfilesGetResponse, ee as ProfilesListResponse, ef as TiktokCreatorInfoResponse, eg as PostrunClient, eh as GoogleAdTreeNode } from './types.gen-DlTNd9za.js';
|
|
2
|
-
export { ei as ClientOptions, ej as ConnectionsConnectError, ek as ConnectionsDeleteError, el as ConnectionsDeleteResponse, em as ConnectionsGetError, en as ConnectionsListAccountsError, eo as ConnectionsListByProfileError, ep as ConnectionsSelectError, eq as ConnectionsSelectResponse, er as CreatePostBody, es as DiscoverableAccount, et as ErrorSource, eu as GoogleAdTree, ev as GoogleAdsAd, ew as GoogleAdsAdGroup, ex as GoogleAdsAdGroupCriterion, ey as GoogleAdsAudience, ez as GoogleAdsCampaignCriterion, eA as GoogleAdsConversionConsent, eB as GoogleAdsConversionEvent, eC as GoogleAdsConversionRequest, eD as GoogleAdsConversionStatus, eE as GoogleAdsConversionStatusReason, eF as GoogleAdsConversionUserIdentifier, eG as GoogleAdsConversionWarning, eH as GoogleAdsCreateAdGroupCriterionRequest, eI as GoogleAdsCreateCampaignCriterionRequest, eJ as GoogleAdsCreateResult, eK as GoogleAdsDeleteResult, eL as GoogleAdsEditResult, eM as GoogleAdsGeoSettingsRequest, eN as GoogleAdsGeoTargetConstant, eO as GoogleAdsInsightLevel, eP as GoogleAdsInsightMetric, eQ as GoogleAdsInsightSegment, eR as GoogleAdsInsights, eS as GoogleAdsInsightsQuery, eT as GoogleAdsInsightsRow, eU as GoogleAdsKeyword, eV as GoogleAdsReadStatusFilter, eW as GoogleAdsSendConversionsResult, eX as GoogleAdsUrlCustomParameter, eY as GoogleCreateAdError, eZ as GoogleCreateAdGroupCriterionError, e_ as GoogleCreateAdGroupCriterionResponse, e$ as GoogleCreateAdGroupError, f0 as GoogleCreateAdGroupResponse, f1 as GoogleCreateAdResponse, f2 as GoogleCreateBudgetError, f3 as GoogleCreateBudgetResponse, f4 as GoogleCreateCampaignCriterionError, f5 as GoogleCreateCampaignCriterionResponse, f6 as GoogleCreateCampaignError, f7 as GoogleCreateCampaignResponse, f8 as GoogleCreateConversionActionError, f9 as GoogleCreateConversionActionResponse, fa as GoogleCreateDisplayAdError, fb as GoogleCreateDisplayAdResponse, fc as GoogleCreateKeywordError, fd as GoogleCreateKeywordResponse, fe as GoogleEditAccountError, ff as GoogleEditAccountResponse, fg as GoogleEditAdGroupError, fh as GoogleEditAdGroupResponse, fi as GoogleEditBudgetError, fj as GoogleEditBudgetResponse, fk as GoogleEditCampaignError, fl as GoogleEditCampaignResponse, fm as GoogleEnableAdError, fn as GoogleEnableAdGroupError, fo as GoogleEnableAdGroupResponse, fp as GoogleEnableAdResponse, fq as GoogleEnableCampaignError, fr as GoogleEnableCampaignResponse, fs as GoogleEnableKeywordError, ft as GoogleEnableKeywordResponse, fu as GoogleGetAccountError, fv as GoogleGetAccountResponse, fw as GoogleGetAdError, fx as GoogleGetAdGroupError, fy as GoogleGetAdGroupResponse, fz as GoogleGetAdResponse, fA as GoogleGetAdTreeError, fB as GoogleGetAdTreeResponse, fC as GoogleGetCampaignError, fD as GoogleGetCampaignResponse, fE as GoogleGetConversionActionError, fF as GoogleGetConversionActionResponse, fG as GoogleGetConversionStatusError, fH as GoogleGetConversionStatusResponse, fI as GoogleGetInsightsError, fJ as GoogleGetInsightsResponse, fK as GoogleGetKeywordError, fL as GoogleGetKeywordResponse, fM as GoogleListAdGroupCriteriaError, fN as GoogleListAdGroupCriteriaResponse, fO as GoogleListAdGroupsError, fP as GoogleListAdGroupsResponse, fQ as GoogleListAdsError, fR as GoogleListAdsResponse, fS as GoogleListAudiencesError, fT as GoogleListAudiencesResponse, fU as GoogleListCampaignCriteriaError, fV as GoogleListCampaignCriteriaResponse, fW as GoogleListCampaignsError, fX as GoogleListCampaignsResponse, fY as GoogleListConversionActionsError, fZ as GoogleListConversionActionsResponse, f_ as GoogleListConversionGoalsError, f$ as GoogleListConversionGoalsResponse, g0 as GoogleListConversionRequestsError, g1 as GoogleListConversionRequestsResponse, g2 as GoogleListKeywordsError, g3 as GoogleListKeywordsResponse, g4 as GooglePauseAdError, g5 as GooglePauseAdGroupError, g6 as GooglePauseAdGroupResponse, g7 as GooglePauseAdResponse, g8 as GooglePauseCampaignError, g9 as GooglePauseCampaignResponse, ga as GooglePauseKeywordError, gb as GooglePauseKeywordResponse, gc as GoogleRemoveAdError, gd as GoogleRemoveAdGroupCriterionError, ge as GoogleRemoveAdGroupCriterionResponse, gf as GoogleRemoveAdGroupError, gg as GoogleRemoveAdGroupResponse, gh as GoogleRemoveAdResponse, gi as GoogleRemoveBudgetError, gj as GoogleRemoveBudgetResponse, gk as GoogleRemoveCampaignCriterionError, gl as GoogleRemoveCampaignCriterionResponse, gm as GoogleRemoveCampaignError, gn as GoogleRemoveCampaignResponse, go as GoogleRemoveKeywordError, gp as GoogleRemoveKeywordResponse, gq as GoogleRunGaqlError, gr as GoogleRunGaqlResponse, gs as GoogleSearchGeoTargetsError, gt as GoogleSearchGeoTargetsResponse, gu as GoogleSendConversionsError, gv as GoogleSendConversionsResponse, gw as GoogleSetAdGroupBidsError, gx as GoogleSetAdGroupBidsResponse, gy as GoogleSetCampaignGeoSettingsError, gz as GoogleSetCampaignGeoSettingsResponse, gA as GoogleSetCampaignTargetingSettingError, gB as GoogleSetCampaignTargetingSettingResponse, gC as GoogleSetConversionGoalError, gD as GoogleSetConversionGoalResponse, gE as GoogleSetKeywordBidError, gF as GoogleSetKeywordBidResponse, gG as GoogleUploadImageAssetError, gH as GoogleUploadImageAssetResponse, gI as IdempotencyKey, gJ as LogsGetError, gK as LogsGetResponse, gL as LogsListError, gM as LogsListResponse, gN as Media, gO as MediaAbortError, gP as MediaAbortResponse, gQ as MediaCompleteError, gR as MediaCompleteResponse, gS as MediaCreateError, gT as MediaDeleteError, gU as MediaDeleteResponse, gV as MediaGetError, gW as MediaListError, gX as MediaListPartsError, gY as MediaListPartsResponse, gZ as MediaSignPartError, g_ as MediaSignPartResponse, g$ as MediaStage, h0 as MediaUpdateError, h1 as MediaUpdateResponse, h2 as MetaAccountError, h3 as MetaAccountResponse, h4 as MetaAdError, h5 as MetaAdResponse, h6 as MetaAdsError, h7 as MetaAdsResponse, h8 as MetaAdsetError, h9 as MetaAdsetResponse, ha as MetaAdsetsError, hb as MetaAdsetsResponse, hc as MetaCampaignError, hd as MetaCampaignResponse, he as MetaCampaignsError, hf as MetaCampaignsResponse, hg as MetaInsightsError, hh as MetaInsightsResponse, hi as
|
|
1
|
+
import { T as TDataShape, O as Options$1, C as Client, a as ClientMeta, b as ConnectionsConnectData, R as RequestResult, c as ConnectionsConnectResponses, d as ConnectionsConnectErrors, e as ConnectionsDeleteData, f as ConnectionsDeleteResponses, g as ConnectionsDeleteErrors, h as ConnectionsGetData, i as ConnectionsGetResponses, j as ConnectionsGetErrors, k as ConnectionsListAccountsData, l as ConnectionsListAccountsResponses, m as ConnectionsListAccountsErrors, n as ConnectionsListByProfileData, o as ConnectionsListByProfileResponses, p as ConnectionsListByProfileErrors, q as ConnectionsSelectData, r as ConnectionsSelectResponses, s as ConnectionsSelectErrors, G as GoogleCreateAdData, t as GoogleCreateAdResponses, u as GoogleCreateAdErrors, v as GoogleCreateAdGroupData, w as GoogleCreateAdGroupResponses, x as GoogleCreateAdGroupErrors, y as GoogleCreateAdGroupCriterionData, z as GoogleCreateAdGroupCriterionResponses, A as GoogleCreateAdGroupCriterionErrors, B as GoogleCreateBudgetData, D as GoogleCreateBudgetResponses, E as GoogleCreateBudgetErrors, F as GoogleCreateCampaignData, H as GoogleCreateCampaignResponses, I as GoogleCreateCampaignErrors, J as GoogleCreateCampaignCriterionData, K as GoogleCreateCampaignCriterionResponses, L as GoogleCreateCampaignCriterionErrors, M as GoogleCreateConversionActionData, N as GoogleCreateConversionActionResponses, P as GoogleCreateConversionActionErrors, Q as GoogleCreateDisplayAdData, S as GoogleCreateDisplayAdResponses, U as GoogleCreateDisplayAdErrors, V as GoogleCreateKeywordData, W as GoogleCreateKeywordResponses, X as GoogleCreateKeywordErrors, Y as GoogleEditAccountData, Z as GoogleEditAccountResponses, _ as GoogleEditAccountErrors, $ as GoogleEditAdGroupData, a0 as GoogleEditAdGroupResponses, a1 as GoogleEditAdGroupErrors, a2 as GoogleEditBudgetData, a3 as GoogleEditBudgetResponses, a4 as GoogleEditBudgetErrors, a5 as GoogleEditCampaignData, a6 as GoogleEditCampaignResponses, a7 as GoogleEditCampaignErrors, a8 as GoogleEnableAdData, a9 as GoogleEnableAdResponses, aa as GoogleEnableAdErrors, ab as GoogleEnableAdGroupData, ac as GoogleEnableAdGroupResponses, ad as GoogleEnableAdGroupErrors, ae as GoogleEnableCampaignData, af as GoogleEnableCampaignResponses, ag as GoogleEnableCampaignErrors, ah as GoogleEnableKeywordData, ai as GoogleEnableKeywordResponses, aj as GoogleEnableKeywordErrors, ak as GoogleGetAccountData, al as GoogleGetAccountResponses, am as GoogleGetAccountErrors, an as GoogleGetAdData, ao as GoogleGetAdResponses, ap as GoogleGetAdErrors, aq as GoogleGetAdGroupData, ar as GoogleGetAdGroupResponses, as as GoogleGetAdGroupErrors, at as GoogleGetAdTreeData, au as GoogleGetAdTreeResponses, av as GoogleGetAdTreeErrors, aw as GoogleGetCampaignData, ax as GoogleGetCampaignResponses, ay as GoogleGetCampaignErrors, az as GoogleGetConversionActionData, aA as GoogleGetConversionActionResponses, aB as GoogleGetConversionActionErrors, aC as GoogleGetConversionStatusData, aD as GoogleGetConversionStatusResponses, aE as GoogleGetConversionStatusErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupCriteriaData, aM as GoogleListAdGroupCriteriaResponses, aN as GoogleListAdGroupCriteriaErrors, aO as GoogleListAdGroupsData, aP as GoogleListAdGroupsResponses, aQ as GoogleListAdGroupsErrors, aR as GoogleListAdsData, aS as GoogleListAdsResponses, aT as GoogleListAdsErrors, aU as GoogleListAudiencesData, aV as GoogleListAudiencesResponses, aW as GoogleListAudiencesErrors, aX as GoogleListCampaignCriteriaData, aY as GoogleListCampaignCriteriaResponses, aZ as GoogleListCampaignCriteriaErrors, a_ as GoogleListCampaignsData, a$ as GoogleListCampaignsResponses, b0 as GoogleListCampaignsErrors, b1 as GoogleListConversionActionsData, b2 as GoogleListConversionActionsResponses, b3 as GoogleListConversionActionsErrors, b4 as GoogleListConversionGoalsData, b5 as GoogleListConversionGoalsResponses, b6 as GoogleListConversionGoalsErrors, b7 as GoogleListConversionRequestsData, b8 as GoogleListConversionRequestsResponses, b9 as GoogleListConversionRequestsErrors, ba as GoogleListKeywordsData, bb as GoogleListKeywordsResponses, bc as GoogleListKeywordsErrors, bd as GooglePauseAdData, be as GooglePauseAdResponses, bf as GooglePauseAdErrors, bg as GooglePauseAdGroupData, bh as GooglePauseAdGroupResponses, bi as GooglePauseAdGroupErrors, bj as GooglePauseCampaignData, bk as GooglePauseCampaignResponses, bl as GooglePauseCampaignErrors, bm as GooglePauseKeywordData, bn as GooglePauseKeywordResponses, bo as GooglePauseKeywordErrors, bp as GoogleRemoveAdData, bq as GoogleRemoveAdResponses, br as GoogleRemoveAdErrors, bs as GoogleRemoveAdGroupData, bt as GoogleRemoveAdGroupResponses, bu as GoogleRemoveAdGroupErrors, bv as GoogleRemoveAdGroupCriterionData, bw as GoogleRemoveAdGroupCriterionResponses, bx as GoogleRemoveAdGroupCriterionErrors, by as GoogleRemoveBudgetData, bz as GoogleRemoveBudgetResponses, bA as GoogleRemoveBudgetErrors, bB as GoogleRemoveCampaignData, bC as GoogleRemoveCampaignResponses, bD as GoogleRemoveCampaignErrors, bE as GoogleRemoveCampaignCriterionData, bF as GoogleRemoveCampaignCriterionResponses, bG as GoogleRemoveCampaignCriterionErrors, bH as GoogleRemoveKeywordData, bI as GoogleRemoveKeywordResponses, bJ as GoogleRemoveKeywordErrors, bK as GoogleRunGaqlData, bL as GoogleRunGaqlResponses, bM as GoogleRunGaqlErrors, bN as GoogleSearchGeoTargetsData, bO as GoogleSearchGeoTargetsResponses, bP as GoogleSearchGeoTargetsErrors, bQ as GoogleSendConversionsData, bR as GoogleSendConversionsResponses, bS as GoogleSendConversionsErrors, bT as GoogleSetAdGroupBidsData, bU as GoogleSetAdGroupBidsResponses, bV as GoogleSetAdGroupBidsErrors, bW as GoogleSetCampaignGeoSettingsData, bX as GoogleSetCampaignGeoSettingsResponses, bY as GoogleSetCampaignGeoSettingsErrors, bZ as GoogleSetCampaignTargetingSettingData, b_ as GoogleSetCampaignTargetingSettingResponses, b$ as GoogleSetCampaignTargetingSettingErrors, c0 as GoogleSetConversionGoalData, c1 as GoogleSetConversionGoalResponses, c2 as GoogleSetConversionGoalErrors, c3 as GoogleSetKeywordBidData, c4 as GoogleSetKeywordBidResponses, c5 as GoogleSetKeywordBidErrors, c6 as GoogleUploadImageAssetData, c7 as GoogleUploadImageAssetResponses, c8 as GoogleUploadImageAssetErrors, c9 as LogsGetData, ca as LogsGetResponses, cb as LogsGetErrors, cc as LogsListData, cd as LogsListResponses, ce as LogsListErrors, cf as MediaAbortData, cg as MediaAbortResponses, ch as MediaAbortErrors, ci as MediaCompleteData, cj as MediaCompleteResponses, ck as MediaCompleteErrors, cl as MediaCreateData, cm as MediaCreateResponses, cn as MediaCreateErrors, co as MediaDeleteData, cp as MediaDeleteResponses, cq as MediaDeleteErrors, cr as MediaGetData, cs as MediaGetResponses, ct as MediaGetErrors, cu as MediaListData, cv as MediaListResponses, cw as MediaListErrors, cx as MediaListPartsData, cy as MediaListPartsResponses, cz as MediaListPartsErrors, cA as MediaSignPartData, cB as MediaSignPartResponses, cC as MediaSignPartErrors, cD as MediaUpdateData, cE as MediaUpdateResponses, cF as MediaUpdateErrors, cG as MetaAccountData, cH as MetaAccountResponses, cI as MetaAccountErrors, cJ as MetaAdData, cK as MetaAdResponses, cL as MetaAdErrors, cM as MetaAdsData, cN as MetaAdsResponses, cO as MetaAdsErrors, cP as MetaAdsetData, cQ as MetaAdsetResponses, cR as MetaAdsetErrors, cS as MetaAdsetsData, cT as MetaAdsetsResponses, cU as MetaAdsetsErrors, cV as MetaCampaignData, cW as MetaCampaignResponses, cX as MetaCampaignErrors, cY as MetaCampaignsData, cZ as MetaCampaignsResponses, c_ as MetaCampaignsErrors, c$ as MetaInsightsData, d0 as MetaInsightsResponses, d1 as MetaInsightsErrors, d2 as PostsCreateData, d3 as PostsCreateResponses, d4 as PostsCreateErrors, d5 as PostsDeleteData, d6 as PostsDeleteResponses, d7 as PostsDeleteErrors, d8 as PostsGetData, d9 as PostsGetResponses, da as PostsGetErrors, db as PostsListData, dc as PostsListResponses, dd as PostsListErrors, de as PostsUpdateData, df as PostsUpdateResponses, dg as PostsUpdateErrors, dh as PostsValidateData, di as PostsValidateResponses, dj as PostsValidateErrors, dk as ProfilesCreateData, dl as ProfilesCreateResponses, dm as ProfilesCreateErrors, dn as ProfilesDeleteData, dp as ProfilesDeleteResponses, dq as ProfilesDeleteErrors, dr as ProfilesGetData, ds as ProfilesGetResponses, dt as ProfilesGetErrors, du as ProfilesListData, dv as ProfilesListResponses, dw as ProfilesListErrors, dx as ProfilesUpdateData, dy as ProfilesUpdateResponses, dz as ProfilesUpdateErrors, dA as TiktokCreatorInfoData, dB as TiktokCreatorInfoResponses, dC as TiktokCreatorInfoErrors, dD as TokensMintData, dE as TokensMintResponses, dF as TokensMintErrors, dG as WebhooksCreateEndpointData, dH as WebhooksCreateEndpointResponses, dI as WebhooksCreateEndpointErrors, dJ as WebhooksCreatePortalData, dK as WebhooksCreatePortalResponses, dL as WebhooksCreatePortalErrors, dM as WebhooksDeleteEndpointData, dN as WebhooksDeleteEndpointResponses, dO as WebhooksDeleteEndpointErrors, dP as WebhooksGetEndpointData, dQ as WebhooksGetEndpointResponses, dR as WebhooksGetEndpointErrors, dS as WebhooksListEndpointsData, dT as WebhooksListEndpointsResponses, dU as WebhooksListEndpointsErrors, dV as WebhooksListEventTypesData, dW as WebhooksListEventTypesResponses, dX as WebhooksListEventTypesErrors, dY as WebhooksPingData, dZ as WebhooksPingResponses, d_ as WebhooksPingErrors, d$ as WebhooksUpdateEndpointData, e0 as WebhooksUpdateEndpointResponses, e1 as WebhooksUpdateEndpointErrors, e2 as ErrorCode, e3 as MediaGetResponse, e4 as ConnectionsConnectResponse, e5 as ConnectionsGetResponse, e6 as ConnectionsListByProfileResponse, e7 as MediaCreateResponse, e8 as ConnectionsListAccountsResponse, e9 as MediaListResponse, ea as PostsGetResponse, eb as PostsListResponse, ec as PostsValidateResponse, ed as ProfilesGetResponse, ee as ProfilesListResponse, ef as TiktokCreatorInfoResponse, eg as PostrunClient, eh as GoogleAdTreeNode } from './types.gen-MxJw6FpT.js';
|
|
2
|
+
export { ei as ClientOptions, ej as ConnectionsConnectError, ek as ConnectionsDeleteError, el as ConnectionsDeleteResponse, em as ConnectionsGetError, en as ConnectionsListAccountsError, eo as ConnectionsListByProfileError, ep as ConnectionsSelectError, eq as ConnectionsSelectResponse, er as CreatePostBody, es as DiscoverableAccount, et as ErrorSource, eu as GoogleAdTree, ev as GoogleAdsAd, ew as GoogleAdsAdGroup, ex as GoogleAdsAdGroupCriterion, ey as GoogleAdsAudience, ez as GoogleAdsCampaignCriterion, eA as GoogleAdsConversionConsent, eB as GoogleAdsConversionEvent, eC as GoogleAdsConversionRequest, eD as GoogleAdsConversionStatus, eE as GoogleAdsConversionStatusReason, eF as GoogleAdsConversionUserIdentifier, eG as GoogleAdsConversionWarning, eH as GoogleAdsCreateAdGroupCriterionRequest, eI as GoogleAdsCreateCampaignCriterionRequest, eJ as GoogleAdsCreateResult, eK as GoogleAdsDeleteResult, eL as GoogleAdsEditResult, eM as GoogleAdsGeoSettingsRequest, eN as GoogleAdsGeoTargetConstant, eO as GoogleAdsInsightLevel, eP as GoogleAdsInsightMetric, eQ as GoogleAdsInsightSegment, eR as GoogleAdsInsights, eS as GoogleAdsInsightsQuery, eT as GoogleAdsInsightsRow, eU as GoogleAdsKeyword, eV as GoogleAdsReadStatusFilter, eW as GoogleAdsSendConversionsResult, eX as GoogleAdsUrlCustomParameter, eY as GoogleCreateAdError, eZ as GoogleCreateAdGroupCriterionError, e_ as GoogleCreateAdGroupCriterionResponse, e$ as GoogleCreateAdGroupError, f0 as GoogleCreateAdGroupResponse, f1 as GoogleCreateAdResponse, f2 as GoogleCreateBudgetError, f3 as GoogleCreateBudgetResponse, f4 as GoogleCreateCampaignCriterionError, f5 as GoogleCreateCampaignCriterionResponse, f6 as GoogleCreateCampaignError, f7 as GoogleCreateCampaignResponse, f8 as GoogleCreateConversionActionError, f9 as GoogleCreateConversionActionResponse, fa as GoogleCreateDisplayAdError, fb as GoogleCreateDisplayAdResponse, fc as GoogleCreateKeywordError, fd as GoogleCreateKeywordResponse, fe as GoogleEditAccountError, ff as GoogleEditAccountResponse, fg as GoogleEditAdGroupError, fh as GoogleEditAdGroupResponse, fi as GoogleEditBudgetError, fj as GoogleEditBudgetResponse, fk as GoogleEditCampaignError, fl as GoogleEditCampaignResponse, fm as GoogleEnableAdError, fn as GoogleEnableAdGroupError, fo as GoogleEnableAdGroupResponse, fp as GoogleEnableAdResponse, fq as GoogleEnableCampaignError, fr as GoogleEnableCampaignResponse, fs as GoogleEnableKeywordError, ft as GoogleEnableKeywordResponse, fu as GoogleGetAccountError, fv as GoogleGetAccountResponse, fw as GoogleGetAdError, fx as GoogleGetAdGroupError, fy as GoogleGetAdGroupResponse, fz as GoogleGetAdResponse, fA as GoogleGetAdTreeError, fB as GoogleGetAdTreeResponse, fC as GoogleGetCampaignError, fD as GoogleGetCampaignResponse, fE as GoogleGetConversionActionError, fF as GoogleGetConversionActionResponse, fG as GoogleGetConversionStatusError, fH as GoogleGetConversionStatusResponse, fI as GoogleGetInsightsError, fJ as GoogleGetInsightsResponse, fK as GoogleGetKeywordError, fL as GoogleGetKeywordResponse, fM as GoogleListAdGroupCriteriaError, fN as GoogleListAdGroupCriteriaResponse, fO as GoogleListAdGroupsError, fP as GoogleListAdGroupsResponse, fQ as GoogleListAdsError, fR as GoogleListAdsResponse, fS as GoogleListAudiencesError, fT as GoogleListAudiencesResponse, fU as GoogleListCampaignCriteriaError, fV as GoogleListCampaignCriteriaResponse, fW as GoogleListCampaignsError, fX as GoogleListCampaignsResponse, fY as GoogleListConversionActionsError, fZ as GoogleListConversionActionsResponse, f_ as GoogleListConversionGoalsError, f$ as GoogleListConversionGoalsResponse, g0 as GoogleListConversionRequestsError, g1 as GoogleListConversionRequestsResponse, g2 as GoogleListKeywordsError, g3 as GoogleListKeywordsResponse, g4 as GooglePauseAdError, g5 as GooglePauseAdGroupError, g6 as GooglePauseAdGroupResponse, g7 as GooglePauseAdResponse, g8 as GooglePauseCampaignError, g9 as GooglePauseCampaignResponse, ga as GooglePauseKeywordError, gb as GooglePauseKeywordResponse, gc as GoogleRemoveAdError, gd as GoogleRemoveAdGroupCriterionError, ge as GoogleRemoveAdGroupCriterionResponse, gf as GoogleRemoveAdGroupError, gg as GoogleRemoveAdGroupResponse, gh as GoogleRemoveAdResponse, gi as GoogleRemoveBudgetError, gj as GoogleRemoveBudgetResponse, gk as GoogleRemoveCampaignCriterionError, gl as GoogleRemoveCampaignCriterionResponse, gm as GoogleRemoveCampaignError, gn as GoogleRemoveCampaignResponse, go as GoogleRemoveKeywordError, gp as GoogleRemoveKeywordResponse, gq as GoogleRunGaqlError, gr as GoogleRunGaqlResponse, gs as GoogleSearchGeoTargetsError, gt as GoogleSearchGeoTargetsResponse, gu as GoogleSendConversionsError, gv as GoogleSendConversionsResponse, gw as GoogleSetAdGroupBidsError, gx as GoogleSetAdGroupBidsResponse, gy as GoogleSetCampaignGeoSettingsError, gz as GoogleSetCampaignGeoSettingsResponse, gA as GoogleSetCampaignTargetingSettingError, gB as GoogleSetCampaignTargetingSettingResponse, gC as GoogleSetConversionGoalError, gD as GoogleSetConversionGoalResponse, gE as GoogleSetKeywordBidError, gF as GoogleSetKeywordBidResponse, gG as GoogleUploadImageAssetError, gH as GoogleUploadImageAssetResponse, gI as IdempotencyKey, gJ as LogsGetError, gK as LogsGetResponse, gL as LogsListError, gM as LogsListResponse, gN as Media, gO as MediaAbortError, gP as MediaAbortResponse, gQ as MediaCompleteError, gR as MediaCompleteResponse, gS as MediaCreateError, gT as MediaDeleteError, gU as MediaDeleteResponse, gV as MediaGetError, gW as MediaListError, gX as MediaListPartsError, gY as MediaListPartsResponse, gZ as MediaSignPartError, g_ as MediaSignPartResponse, g$ as MediaStage, h0 as MediaUpdateError, h1 as MediaUpdateResponse, h2 as MetaAccountError, h3 as MetaAccountResponse, h4 as MetaAdError, h5 as MetaAdResponse, h6 as MetaAdsError, h7 as MetaAdsResponse, h8 as MetaAdsetError, h9 as MetaAdsetResponse, ha as MetaAdsetsError, hb as MetaAdsetsResponse, hc as MetaCampaignError, hd as MetaCampaignResponse, he as MetaCampaignsError, hf as MetaCampaignsResponse, hg as MetaInsightsError, hh as MetaInsightsResponse, hi as PostVariantStatus, hj as PostrunClientOptions, hk as PostsCreateError, hl as PostsCreateResponse, hm as PostsDeleteError, hn as PostsDeleteResponse, ho as PostsGetError, hp as PostsListError, hq as PostsUpdateError, hr as PostsUpdateResponse, hs as PostsValidateError, ht as ProfilesCreateError, hu as ProfilesCreateResponse, hv as ProfilesDeleteError, hw as ProfilesDeleteResponse, hx as ProfilesGetError, hy as ProfilesListError, hz as ProfilesUpdateError, hA as ProfilesUpdateResponse, hB as TiktokCreatorInfoError, hC as TokensMintError, hD as TokensMintResponse, hE as WebhooksCreateEndpointError, hF as WebhooksCreateEndpointResponse, hG as WebhooksCreatePortalError, hH as WebhooksCreatePortalResponse, hI as WebhooksDeleteEndpointError, hJ as WebhooksDeleteEndpointResponse, hK as WebhooksGetEndpointError, hL as WebhooksGetEndpointResponse, hM as WebhooksListEndpointsError, hN as WebhooksListEndpointsResponse, hO as WebhooksListEventTypesError, hP as WebhooksListEventTypesResponse, hQ as WebhooksPingError, hR as WebhooksPingResponse, hS as WebhooksUpdateEndpointError, hT as WebhooksUpdateEndpointResponse, hU as createPostrunClient } from './types.gen-MxJw6FpT.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> & {
|
|
@@ -946,8 +946,9 @@ type XPostVariant = Extract<PostVariantInput, {
|
|
|
946
946
|
platform: 'x';
|
|
947
947
|
}>;
|
|
948
948
|
/** The LinkedIn member of the write variant union — typed native settings
|
|
949
|
-
* (`
|
|
950
|
-
*
|
|
949
|
+
* (`visibility`, `article`, `poll`, `document`, `mentions`). The `content_kind`
|
|
950
|
+
* shape is server-DERIVED and read-only (see {@link PostVariant}). Narrowed from
|
|
951
|
+
* the contract, never hand-declared. */
|
|
951
952
|
type LinkedInPostVariant = Extract<PostVariantInput, {
|
|
952
953
|
platform: 'linkedin';
|
|
953
954
|
}>;
|
|
@@ -960,8 +961,9 @@ type TikTokPostVariant = Extract<PostVariantInput, {
|
|
|
960
961
|
platform: 'tiktok';
|
|
961
962
|
}>;
|
|
962
963
|
/** The Instagram member of the write variant union — typed native settings
|
|
963
|
-
* (`
|
|
964
|
-
* `share_to_feed`/`audio_name`/`cover_url`/`thumb_offset`).
|
|
964
|
+
* (`collaborators`, `user_tags`, `location_id`, and the reel-only
|
|
965
|
+
* `share_to_feed`/`audio_name`/`cover_url`/`thumb_offset`). The `media_type` shape
|
|
966
|
+
* is server-DERIVED and read-only (see {@link PostVariant}). Narrowed from the
|
|
965
967
|
* contract, never hand-declared — the compose-time shape an IG preview renders. */
|
|
966
968
|
type InstagramPostVariant = Extract<PostVariantInput, {
|
|
967
969
|
platform: 'instagram';
|
|
@@ -1032,10 +1034,14 @@ type PostValidation = PostsValidateResponse;
|
|
|
1032
1034
|
type ValidationIssue = PostValidation['issues'][number];
|
|
1033
1035
|
/** A posting platform — the variant discriminator (x / linkedin / …). */
|
|
1034
1036
|
type PostPlatform = PostVariantInput['platform'];
|
|
1035
|
-
/**
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1037
|
+
/**
|
|
1038
|
+
* The post shape (`text` / `single_image` / `multi_image` / `video` / `reel` /
|
|
1039
|
+
* `carousel`) — DERIVED server-side from the attached media, never sent on write.
|
|
1040
|
+
* It surfaces on the READ variant (`PostVariant.post_type`, null while
|
|
1041
|
+
* undetermined); this strips that null to the concrete union. Derived from the
|
|
1042
|
+
* contract, never hand-listed.
|
|
1043
|
+
*/
|
|
1044
|
+
type PostType = NonNullable<PostVariant['post_type']>;
|
|
1039
1045
|
/** The native `settings` shape for a given platform (typed per channel). */
|
|
1040
1046
|
type SettingsFor<P extends PostPlatform> = Extract<PostVariantInput, {
|
|
1041
1047
|
platform: P;
|
|
@@ -1206,8 +1212,10 @@ declare const TIKTOK_CAPTION_MAX: {
|
|
|
1206
1212
|
readonly video: 2200;
|
|
1207
1213
|
readonly photo: 4000;
|
|
1208
1214
|
};
|
|
1209
|
-
/** The caption cap for a given post_type (video → title cap, photo → description).
|
|
1210
|
-
|
|
1215
|
+
/** The caption cap for a given post_type (video → title cap, photo → description).
|
|
1216
|
+
* `post_type` is server-derived from the media (read-only) — the composer passes
|
|
1217
|
+
* the shape it knows it's building (a video post vs a photo post). */
|
|
1218
|
+
declare function captionMaxFor(postType: PostType): number;
|
|
1211
1219
|
/** The creator-gated interactions TikTok requires us to surface — DERIVED from
|
|
1212
1220
|
* the creator-info contract (`interaction` keys), never hand-listed, so it can
|
|
1213
1221
|
* never drift from the API shape. */
|
|
@@ -1318,22 +1326,26 @@ declare function tiktokSettings(value: TikTokOptionsValue, isVideo: boolean): No
|
|
|
1318
1326
|
*/
|
|
1319
1327
|
declare function tiktokOptionsReady(value: TikTokOptionsValue): boolean;
|
|
1320
1328
|
|
|
1321
|
-
/**
|
|
1322
|
-
|
|
1329
|
+
/**
|
|
1330
|
+
* A media attachment — just the uploaded asset's id. The post SHAPE (`post_type`
|
|
1331
|
+
* and the LinkedIn `content_kind` / Instagram `media_type`) is DERIVED server-side
|
|
1332
|
+
* from the media's byte-detected kind, so the customer never declares a media
|
|
1333
|
+
* `kind` here — they attach the asset and we figure out the rest.
|
|
1334
|
+
*/
|
|
1335
|
+
type MediaInput = Pick<MediaResource, 'id'>;
|
|
1323
1336
|
/** Base content, shared across channels unless a channel overrides it. */
|
|
1324
1337
|
interface PostContent {
|
|
1325
1338
|
body?: string;
|
|
1326
1339
|
media?: readonly MediaInput[];
|
|
1327
1340
|
}
|
|
1328
1341
|
/**
|
|
1329
|
-
* One channel's config. The SDK owns the plumbing (connection, media, assembly)
|
|
1330
|
-
*
|
|
1331
|
-
*
|
|
1332
|
-
*
|
|
1342
|
+
* One channel's config. The SDK owns the plumbing (connection, media, assembly);
|
|
1343
|
+
* the CUSTOMER owns `settings` — the platform's native, fully-typed config. An
|
|
1344
|
+
* Instagram setting on an X channel is a compile error. The post shape is never
|
|
1345
|
+
* specified here — the server derives it from the attached media.
|
|
1333
1346
|
*/
|
|
1334
1347
|
interface ChannelConfig<P extends PostPlatform> {
|
|
1335
1348
|
settings: SettingsFor<P>;
|
|
1336
|
-
postType?: PostTypeFor<P>;
|
|
1337
1349
|
body?: string;
|
|
1338
1350
|
media?: readonly MediaInput[];
|
|
1339
1351
|
connectionId?: string;
|
|
@@ -1371,10 +1383,10 @@ type ConnectionRef = Pick<Connection, 'id' | 'platform'>;
|
|
|
1371
1383
|
/**
|
|
1372
1384
|
* Thrown only for a genuine USAGE error the SDK can't paper over — an
|
|
1373
1385
|
* unresolvable connection, or a build with zero channels. It is NEVER thrown for
|
|
1374
|
-
* a media
|
|
1375
|
-
*
|
|
1376
|
-
*
|
|
1377
|
-
*
|
|
1386
|
+
* a media combination: validity (which media a platform accepts, document
|
|
1387
|
+
* support, count limits, …) is the SERVER's job — it derives the post shape from
|
|
1388
|
+
* the media and surfaces any problem as a typed `ValidationIssue` from
|
|
1389
|
+
* `POST /v1/posts/validate`. So the SDK can always build an in-progress composition.
|
|
1378
1390
|
*/
|
|
1379
1391
|
declare class ComposeError extends Error {
|
|
1380
1392
|
constructor(message: string);
|
|
@@ -1386,12 +1398,12 @@ declare function isPostPlatform(value: string): value is PostPlatform;
|
|
|
1386
1398
|
declare const POST_PLATFORMS: PostPlatform[];
|
|
1387
1399
|
/**
|
|
1388
1400
|
* Turn an ergonomic `{ content, channels }` input into the exact
|
|
1389
|
-
* `CreatePostInput` the API expects — resolving each channel's connection
|
|
1390
|
-
* attaching the shared/overridden media
|
|
1391
|
-
*
|
|
1392
|
-
*
|
|
1393
|
-
*
|
|
1394
|
-
*
|
|
1401
|
+
* `CreatePostInput` the API expects — resolving each channel's connection and
|
|
1402
|
+
* attaching the shared/overridden media. The server derives the post shape from
|
|
1403
|
+
* that media, so the build is TOTAL: it never throws for a media combination and
|
|
1404
|
+
* an in-progress post can always be built to validate. The customer never
|
|
1405
|
+
* assembles `variants[]` or sees a `connection_id`, and owns each channel's typed
|
|
1406
|
+
* `settings`.
|
|
1395
1407
|
*/
|
|
1396
1408
|
declare function buildCreatePost(input: ComposePostInput, connections: readonly ConnectionRef[]): CreatePostInput;
|
|
1397
1409
|
/**
|
|
@@ -1400,4 +1412,4 @@ declare function buildCreatePost(input: ComposePostInput, connections: readonly
|
|
|
1400
1412
|
*/
|
|
1401
1413
|
declare function buildUpdatePost(input: ComposeUpdateInput, connections?: readonly ConnectionRef[]): UpdatePostInput;
|
|
1402
1414
|
|
|
1403
|
-
export { type AdTreeNode, type ChannelConfig, type Channels, ComposeError, type ComposePostInput, type ComposeUpdateInput, type ConnectSession, type ConnectablePlatform, type Connection, type ConnectionKind, type ConnectionList, type ConnectionRef, type ConnectionStatus, ConnectionsConnectData, ConnectionsConnectErrors, ConnectionsConnectResponse, ConnectionsConnectResponses, ConnectionsDeleteData, ConnectionsDeleteErrors, ConnectionsDeleteResponses, ConnectionsGetData, ConnectionsGetErrors, ConnectionsGetResponse, ConnectionsGetResponses, ConnectionsListAccountsData, ConnectionsListAccountsErrors, ConnectionsListAccountsResponse, ConnectionsListAccountsResponses, ConnectionsListByProfileData, ConnectionsListByProfileErrors, ConnectionsListByProfileResponse, ConnectionsListByProfileResponses, ConnectionsSelectData, ConnectionsSelectErrors, ConnectionsSelectResponses, type CreateMediaInput, type CreateMediaResult, type CreatePostInput, type CreateProfileInput, type DiscoverableAccountList, ErrorCode, GoogleAdTreeNode, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupCriterionData, GoogleCreateAdGroupCriterionErrors, GoogleCreateAdGroupCriterionResponses, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignCriterionData, GoogleCreateCampaignCriterionErrors, GoogleCreateCampaignCriterionResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleEditAccountData, GoogleEditAccountErrors, GoogleEditAccountResponses, GoogleEditAdGroupData, GoogleEditAdGroupErrors, GoogleEditAdGroupResponses, GoogleEditBudgetData, GoogleEditBudgetErrors, GoogleEditBudgetResponses, GoogleEditCampaignData, GoogleEditCampaignErrors, GoogleEditCampaignResponses, GoogleEnableAdData, GoogleEnableAdErrors, GoogleEnableAdGroupData, GoogleEnableAdGroupErrors, GoogleEnableAdGroupResponses, GoogleEnableAdResponses, GoogleEnableCampaignData, GoogleEnableCampaignErrors, GoogleEnableCampaignResponses, GoogleEnableKeywordData, GoogleEnableKeywordErrors, GoogleEnableKeywordResponses, GoogleGetAccountData, GoogleGetAccountErrors, GoogleGetAccountResponses, GoogleGetAdData, GoogleGetAdErrors, GoogleGetAdGroupData, GoogleGetAdGroupErrors, GoogleGetAdGroupResponses, GoogleGetAdResponses, GoogleGetAdTreeData, GoogleGetAdTreeErrors, GoogleGetAdTreeResponses, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetConversionStatusData, GoogleGetConversionStatusErrors, GoogleGetConversionStatusResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupCriteriaData, GoogleListAdGroupCriteriaErrors, GoogleListAdGroupCriteriaResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListAudiencesData, GoogleListAudiencesErrors, GoogleListAudiencesResponses, GoogleListCampaignCriteriaData, GoogleListCampaignCriteriaErrors, GoogleListCampaignCriteriaResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListConversionRequestsData, GoogleListConversionRequestsErrors, GoogleListConversionRequestsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRemoveAdData, GoogleRemoveAdErrors, GoogleRemoveAdGroupCriterionData, GoogleRemoveAdGroupCriterionErrors, GoogleRemoveAdGroupCriterionResponses, GoogleRemoveAdGroupData, GoogleRemoveAdGroupErrors, GoogleRemoveAdGroupResponses, GoogleRemoveAdResponses, GoogleRemoveBudgetData, GoogleRemoveBudgetErrors, GoogleRemoveBudgetResponses, GoogleRemoveCampaignCriterionData, GoogleRemoveCampaignCriterionErrors, GoogleRemoveCampaignCriterionResponses, GoogleRemoveCampaignData, GoogleRemoveCampaignErrors, GoogleRemoveCampaignResponses, GoogleRemoveKeywordData, GoogleRemoveKeywordErrors, GoogleRemoveKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSearchGeoTargetsData, GoogleSearchGeoTargetsErrors, GoogleSearchGeoTargetsResponses, GoogleSendConversionsData, GoogleSendConversionsErrors, GoogleSendConversionsResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetCampaignGeoSettingsData, GoogleSetCampaignGeoSettingsErrors, GoogleSetCampaignGeoSettingsResponses, GoogleSetCampaignTargetingSettingData, GoogleSetCampaignTargetingSettingErrors, GoogleSetCampaignTargetingSettingResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type InstagramPostVariant, type LinkedInPollDuration, type LinkedInPostVariant, type ListConnectionsQuery, type ListMediaQuery, type ListPostsQuery, type ListProfilesQuery, LogsGetData, LogsGetErrors, LogsGetResponses, LogsListData, LogsListErrors, LogsListResponses, MediaAbortData, MediaAbortErrors, MediaAbortResponses, MediaCompleteData, MediaCompleteErrors, MediaCompleteResponses, MediaCreateData, MediaCreateErrors, MediaCreateResponse, MediaCreateResponses, MediaDeleteData, MediaDeleteErrors, MediaDeleteResponses, MediaGetData, MediaGetErrors, MediaGetResponse, MediaGetResponses, type MediaInput, type MediaKind, type MediaList, MediaListData, MediaListErrors, MediaListPartsData, MediaListPartsErrors, MediaListPartsResponses, MediaListResponse, MediaListResponses, type MediaResource, MediaSignPartData, MediaSignPartErrors, MediaSignPartResponses, type MediaStatus, type MediaTarget, MediaUpdateData, MediaUpdateErrors, MediaUpdateResponses, MetaAccountData, MetaAccountErrors, MetaAccountResponses, MetaAdData, MetaAdErrors, MetaAdResponses, MetaAdsData, MetaAdsErrors, MetaAdsResponses, MetaAdsetData, MetaAdsetErrors, MetaAdsetResponses, MetaAdsetsData, MetaAdsetsErrors, MetaAdsetsResponses, MetaCampaignData, MetaCampaignErrors, MetaCampaignResponses, MetaCampaignsData, MetaCampaignsErrors, MetaCampaignsResponses, MetaInsightsData, MetaInsightsErrors, MetaInsightsResponses, type Metadata, type MetadataFilter, type MultipartSession, type Options, POST_PLATFORMS, type Post, type PostContent, type PostList, type PostMetadata, type PostPlatform, type PostStatus, type PostTypeFor, type PostValidation, type PostVariant, type PostVariantError, type PostVariantInput, PostrunClient, PostrunError, type PostrunErrorCode, type PostrunFieldError, type PostrunProblem, PostsCreateData, PostsCreateErrors, PostsCreateResponses, PostsDeleteData, PostsDeleteErrors, PostsDeleteResponses, PostsGetData, PostsGetErrors, PostsGetResponse, PostsGetResponses, PostsListData, PostsListErrors, PostsListResponse, PostsListResponses, PostsUpdateData, PostsUpdateErrors, PostsUpdateResponses, PostsValidateData, PostsValidateErrors, PostsValidateResponse, PostsValidateResponses, type Profile, type ProfileList, ProfilesCreateData, ProfilesCreateErrors, ProfilesCreateResponses, ProfilesDeleteData, ProfilesDeleteErrors, ProfilesDeleteResponses, ProfilesGetData, ProfilesGetErrors, ProfilesGetResponse, ProfilesGetResponses, ProfilesListData, ProfilesListErrors, ProfilesListResponse, ProfilesListResponses, ProfilesUpdateData, ProfilesUpdateErrors, ProfilesUpdateResponses, type PublishMode, type SelectAccountInput, type SettingsFor, TIKTOK_AUDIENCE_REQUIRED_HINT, TIKTOK_BRANDED_CONTENT_POLICY_URL, TIKTOK_CAPTION_MAX, TIKTOK_DISCLOSURE_REQUIRED_HINT, TIKTOK_MUSIC_CONFIRMATION_URL, TIKTOK_PROCESSING_NOTICE, type TikTokBrandKind, type TikTokCreatorInfo, type TikTokInteractionKey, type TikTokInteractionRow, type TikTokOptionsValue, type TikTokPostVariant, type TikTokPrivacyChoice, type TikTokPrivacyLevel, TiktokCreatorInfoData, TiktokCreatorInfoErrors, TiktokCreatorInfoResponse, TiktokCreatorInfoResponses, TokensMintData, TokensMintErrors, TokensMintResponses, type UpdateMediaInput, type UpdatePostInput, type UpdateProfileInput, UploadError, type UploadFileOptions, type ValidatePostInput, type ValidationIssue, WebhooksCreateEndpointData, WebhooksCreateEndpointErrors, WebhooksCreateEndpointResponses, WebhooksCreatePortalData, WebhooksCreatePortalErrors, WebhooksCreatePortalResponses, WebhooksDeleteEndpointData, WebhooksDeleteEndpointErrors, WebhooksDeleteEndpointResponses, WebhooksGetEndpointData, WebhooksGetEndpointErrors, WebhooksGetEndpointResponses, WebhooksListEndpointsData, WebhooksListEndpointsErrors, WebhooksListEndpointsResponses, WebhooksListEventTypesData, WebhooksListEventTypesErrors, WebhooksListEventTypesResponses, WebhooksPingData, WebhooksPingErrors, WebhooksPingResponses, WebhooksUpdateEndpointData, WebhooksUpdateEndpointErrors, WebhooksUpdateEndpointResponses, type XPoll, type XPostVariant, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, captionMaxFor, commercialDisclosureIncomplete, commercialLabelNotice, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, defaultTikTokOptions, failedVariants, googleCreateAd, googleCreateAdGroup, googleCreateAdGroupCriterion, googleCreateBudget, googleCreateCampaign, googleCreateCampaignCriterion, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleEditAccount, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetAdTree, googleGetCampaign, googleGetConversionAction, googleGetConversionStatus, googleGetInsights, googleGetKeyword, googleListAdGroupCriteria, googleListAdGroups, googleListAds, googleListAudiences, googleListCampaignCriteria, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListConversionRequests, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRemoveAd, googleRemoveAdGroup, googleRemoveAdGroupCriterion, googleRemoveBudget, googleRemoveCampaign, googleRemoveCampaignCriterion, googleRemoveKeyword, googleRunGaql, googleSearchGeoTargets, googleSendConversions, googleSetAdGroupBids, googleSetCampaignGeoSettings, googleSetCampaignTargetingSetting, googleSetConversionGoal, googleSetKeywordBid, googleUploadImageAsset, groupAdTree, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, logsGet, logsList, mediaAbort, mediaComplete, mediaCreate, mediaDelete, mediaGet, mediaList, mediaListParts, mediaSignPart, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, parsePrivacyLevel, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, privacyChoices, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, setBrandKind, setCommercialDisclosure, tiktokCreatorInfo, tiktokOptionsReady, tiktokPrivacyLabel, tiktokSettings, toggleInteraction, tokensMint, uploadFile, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint, xPollDurationLabel };
|
|
1415
|
+
export { type AdTreeNode, type ChannelConfig, type Channels, ComposeError, type ComposePostInput, type ComposeUpdateInput, type ConnectSession, type ConnectablePlatform, type Connection, type ConnectionKind, type ConnectionList, type ConnectionRef, type ConnectionStatus, ConnectionsConnectData, ConnectionsConnectErrors, ConnectionsConnectResponse, ConnectionsConnectResponses, ConnectionsDeleteData, ConnectionsDeleteErrors, ConnectionsDeleteResponses, ConnectionsGetData, ConnectionsGetErrors, ConnectionsGetResponse, ConnectionsGetResponses, ConnectionsListAccountsData, ConnectionsListAccountsErrors, ConnectionsListAccountsResponse, ConnectionsListAccountsResponses, ConnectionsListByProfileData, ConnectionsListByProfileErrors, ConnectionsListByProfileResponse, ConnectionsListByProfileResponses, ConnectionsSelectData, ConnectionsSelectErrors, ConnectionsSelectResponses, type CreateMediaInput, type CreateMediaResult, type CreatePostInput, type CreateProfileInput, type DiscoverableAccountList, ErrorCode, GoogleAdTreeNode, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupCriterionData, GoogleCreateAdGroupCriterionErrors, GoogleCreateAdGroupCriterionResponses, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignCriterionData, GoogleCreateCampaignCriterionErrors, GoogleCreateCampaignCriterionResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleEditAccountData, GoogleEditAccountErrors, GoogleEditAccountResponses, GoogleEditAdGroupData, GoogleEditAdGroupErrors, GoogleEditAdGroupResponses, GoogleEditBudgetData, GoogleEditBudgetErrors, GoogleEditBudgetResponses, GoogleEditCampaignData, GoogleEditCampaignErrors, GoogleEditCampaignResponses, GoogleEnableAdData, GoogleEnableAdErrors, GoogleEnableAdGroupData, GoogleEnableAdGroupErrors, GoogleEnableAdGroupResponses, GoogleEnableAdResponses, GoogleEnableCampaignData, GoogleEnableCampaignErrors, GoogleEnableCampaignResponses, GoogleEnableKeywordData, GoogleEnableKeywordErrors, GoogleEnableKeywordResponses, GoogleGetAccountData, GoogleGetAccountErrors, GoogleGetAccountResponses, GoogleGetAdData, GoogleGetAdErrors, GoogleGetAdGroupData, GoogleGetAdGroupErrors, GoogleGetAdGroupResponses, GoogleGetAdResponses, GoogleGetAdTreeData, GoogleGetAdTreeErrors, GoogleGetAdTreeResponses, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetConversionStatusData, GoogleGetConversionStatusErrors, GoogleGetConversionStatusResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupCriteriaData, GoogleListAdGroupCriteriaErrors, GoogleListAdGroupCriteriaResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListAudiencesData, GoogleListAudiencesErrors, GoogleListAudiencesResponses, GoogleListCampaignCriteriaData, GoogleListCampaignCriteriaErrors, GoogleListCampaignCriteriaResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListConversionRequestsData, GoogleListConversionRequestsErrors, GoogleListConversionRequestsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRemoveAdData, GoogleRemoveAdErrors, GoogleRemoveAdGroupCriterionData, GoogleRemoveAdGroupCriterionErrors, GoogleRemoveAdGroupCriterionResponses, GoogleRemoveAdGroupData, GoogleRemoveAdGroupErrors, GoogleRemoveAdGroupResponses, GoogleRemoveAdResponses, GoogleRemoveBudgetData, GoogleRemoveBudgetErrors, GoogleRemoveBudgetResponses, GoogleRemoveCampaignCriterionData, GoogleRemoveCampaignCriterionErrors, GoogleRemoveCampaignCriterionResponses, GoogleRemoveCampaignData, GoogleRemoveCampaignErrors, GoogleRemoveCampaignResponses, GoogleRemoveKeywordData, GoogleRemoveKeywordErrors, GoogleRemoveKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSearchGeoTargetsData, GoogleSearchGeoTargetsErrors, GoogleSearchGeoTargetsResponses, GoogleSendConversionsData, GoogleSendConversionsErrors, GoogleSendConversionsResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetCampaignGeoSettingsData, GoogleSetCampaignGeoSettingsErrors, GoogleSetCampaignGeoSettingsResponses, GoogleSetCampaignTargetingSettingData, GoogleSetCampaignTargetingSettingErrors, GoogleSetCampaignTargetingSettingResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type InstagramPostVariant, type LinkedInPollDuration, type LinkedInPostVariant, type ListConnectionsQuery, type ListMediaQuery, type ListPostsQuery, type ListProfilesQuery, LogsGetData, LogsGetErrors, LogsGetResponses, LogsListData, LogsListErrors, LogsListResponses, MediaAbortData, MediaAbortErrors, MediaAbortResponses, MediaCompleteData, MediaCompleteErrors, MediaCompleteResponses, MediaCreateData, MediaCreateErrors, MediaCreateResponse, MediaCreateResponses, MediaDeleteData, MediaDeleteErrors, MediaDeleteResponses, MediaGetData, MediaGetErrors, MediaGetResponse, MediaGetResponses, type MediaInput, type MediaKind, type MediaList, MediaListData, MediaListErrors, MediaListPartsData, MediaListPartsErrors, MediaListPartsResponses, MediaListResponse, MediaListResponses, type MediaResource, MediaSignPartData, MediaSignPartErrors, MediaSignPartResponses, type MediaStatus, type MediaTarget, MediaUpdateData, MediaUpdateErrors, MediaUpdateResponses, MetaAccountData, MetaAccountErrors, MetaAccountResponses, MetaAdData, MetaAdErrors, MetaAdResponses, MetaAdsData, MetaAdsErrors, MetaAdsResponses, MetaAdsetData, MetaAdsetErrors, MetaAdsetResponses, MetaAdsetsData, MetaAdsetsErrors, MetaAdsetsResponses, MetaCampaignData, MetaCampaignErrors, MetaCampaignResponses, MetaCampaignsData, MetaCampaignsErrors, MetaCampaignsResponses, MetaInsightsData, MetaInsightsErrors, MetaInsightsResponses, type Metadata, type MetadataFilter, type MultipartSession, type Options, POST_PLATFORMS, type Post, type PostContent, type PostList, type PostMetadata, type PostPlatform, type PostStatus, type PostType, type PostValidation, type PostVariant, type PostVariantError, type PostVariantInput, PostrunClient, PostrunError, type PostrunErrorCode, type PostrunFieldError, type PostrunProblem, PostsCreateData, PostsCreateErrors, PostsCreateResponses, PostsDeleteData, PostsDeleteErrors, PostsDeleteResponses, PostsGetData, PostsGetErrors, PostsGetResponse, PostsGetResponses, PostsListData, PostsListErrors, PostsListResponse, PostsListResponses, PostsUpdateData, PostsUpdateErrors, PostsUpdateResponses, PostsValidateData, PostsValidateErrors, PostsValidateResponse, PostsValidateResponses, type Profile, type ProfileList, ProfilesCreateData, ProfilesCreateErrors, ProfilesCreateResponses, ProfilesDeleteData, ProfilesDeleteErrors, ProfilesDeleteResponses, ProfilesGetData, ProfilesGetErrors, ProfilesGetResponse, ProfilesGetResponses, ProfilesListData, ProfilesListErrors, ProfilesListResponse, ProfilesListResponses, ProfilesUpdateData, ProfilesUpdateErrors, ProfilesUpdateResponses, type PublishMode, type SelectAccountInput, type SettingsFor, TIKTOK_AUDIENCE_REQUIRED_HINT, TIKTOK_BRANDED_CONTENT_POLICY_URL, TIKTOK_CAPTION_MAX, TIKTOK_DISCLOSURE_REQUIRED_HINT, TIKTOK_MUSIC_CONFIRMATION_URL, TIKTOK_PROCESSING_NOTICE, type TikTokBrandKind, type TikTokCreatorInfo, type TikTokInteractionKey, type TikTokInteractionRow, type TikTokOptionsValue, type TikTokPostVariant, type TikTokPrivacyChoice, type TikTokPrivacyLevel, TiktokCreatorInfoData, TiktokCreatorInfoErrors, TiktokCreatorInfoResponse, TiktokCreatorInfoResponses, TokensMintData, TokensMintErrors, TokensMintResponses, type UpdateMediaInput, type UpdatePostInput, type UpdateProfileInput, UploadError, type UploadFileOptions, type ValidatePostInput, type ValidationIssue, WebhooksCreateEndpointData, WebhooksCreateEndpointErrors, WebhooksCreateEndpointResponses, WebhooksCreatePortalData, WebhooksCreatePortalErrors, WebhooksCreatePortalResponses, WebhooksDeleteEndpointData, WebhooksDeleteEndpointErrors, WebhooksDeleteEndpointResponses, WebhooksGetEndpointData, WebhooksGetEndpointErrors, WebhooksGetEndpointResponses, WebhooksListEndpointsData, WebhooksListEndpointsErrors, WebhooksListEndpointsResponses, WebhooksListEventTypesData, WebhooksListEventTypesErrors, WebhooksListEventTypesResponses, WebhooksPingData, WebhooksPingErrors, WebhooksPingResponses, WebhooksUpdateEndpointData, WebhooksUpdateEndpointErrors, WebhooksUpdateEndpointResponses, type XPoll, type XPostVariant, audiencePrivacyOptions, audienceUnselected, brandedContentDeclared, buildCreatePost, buildUpdatePost, captionMaxFor, commercialDisclosureIncomplete, commercialLabelNotice, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, defaultTikTokOptions, failedVariants, googleCreateAd, googleCreateAdGroup, googleCreateAdGroupCriterion, googleCreateBudget, googleCreateCampaign, googleCreateCampaignCriterion, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleEditAccount, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetAdTree, googleGetCampaign, googleGetConversionAction, googleGetConversionStatus, googleGetInsights, googleGetKeyword, googleListAdGroupCriteria, googleListAdGroups, googleListAds, googleListAudiences, googleListCampaignCriteria, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListConversionRequests, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRemoveAd, googleRemoveAdGroup, googleRemoveAdGroupCriterion, googleRemoveBudget, googleRemoveCampaign, googleRemoveCampaignCriterion, googleRemoveKeyword, googleRunGaql, googleSearchGeoTargets, googleSendConversions, googleSetAdGroupBids, googleSetCampaignGeoSettings, googleSetCampaignTargetingSetting, googleSetConversionGoal, googleSetKeywordBid, googleUploadImageAsset, groupAdTree, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, logsGet, logsList, mediaAbort, mediaComplete, mediaCreate, mediaDelete, mediaGet, mediaList, mediaListParts, mediaSignPart, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, parsePrivacyLevel, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, privacyChoices, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, setBrandKind, setCommercialDisclosure, tiktokCreatorInfo, tiktokOptionsReady, tiktokPrivacyLabel, tiktokSettings, toggleInteraction, tokensMint, uploadFile, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint, xPollDurationLabel };
|