@postrun/js 1.3.0 → 2.0.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-KPF3GI7Z.js → chunk-EFB6IKZF.js} +12 -10
- package/dist/chunk-EFB6IKZF.js.map +1 -0
- package/dist/{chunk-JBNHOK3M.js → chunk-XXB7GZ3H.js} +3 -3
- package/dist/{chunk-JBNHOK3M.js.map → chunk-XXB7GZ3H.js.map} +1 -1
- package/dist/index.cjs +10 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/schemas/index.cjs +10 -8
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +8 -6
- package/dist/schemas/index.d.ts +8 -6
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +10 -8
- 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-DeuF7WVq.d.cts → types.gen-0ufzFdld.d.cts} +19 -7
- package/dist/{types.gen-DeuF7WVq.d.ts → types.gen-0ufzFdld.d.ts} +19 -7
- package/package.json +1 -1
- package/dist/chunk-KPF3GI7Z.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 GoogleCreateBudgetData, z as GoogleCreateBudgetResponses, A as GoogleCreateBudgetErrors, B as GoogleCreateCampaignData, D as GoogleCreateCampaignResponses, E as GoogleCreateCampaignErrors, F as GoogleCreateConversionActionData, H as GoogleCreateConversionActionResponses, I as GoogleCreateConversionActionErrors, J as GoogleCreateDisplayAdData, K as GoogleCreateDisplayAdResponses, L as GoogleCreateDisplayAdErrors, M as GoogleCreateKeywordData, N as GoogleCreateKeywordResponses, P as GoogleCreateKeywordErrors, Q as GoogleDeleteAdData, S as GoogleDeleteAdResponses, U as GoogleDeleteAdErrors, V as GoogleDeleteAdGroupData, W as GoogleDeleteAdGroupResponses, X as GoogleDeleteAdGroupErrors, Y as GoogleDeleteBudgetData, Z as GoogleDeleteBudgetResponses, _ as GoogleDeleteBudgetErrors, $ as GoogleDeleteCampaignData, a0 as GoogleDeleteCampaignResponses, a1 as GoogleDeleteCampaignErrors, a2 as GoogleDeleteKeywordData, a3 as GoogleDeleteKeywordResponses, a4 as GoogleDeleteKeywordErrors, a5 as GoogleEditAdGroupData, a6 as GoogleEditAdGroupResponses, a7 as GoogleEditAdGroupErrors, a8 as GoogleEditBudgetData, a9 as GoogleEditBudgetResponses, aa as GoogleEditBudgetErrors, ab as GoogleEditCampaignData, ac as GoogleEditCampaignResponses, ad as GoogleEditCampaignErrors, ae as GoogleEnableAdData, af as GoogleEnableAdResponses, ag as GoogleEnableAdErrors, ah as GoogleEnableAdGroupData, ai as GoogleEnableAdGroupResponses, aj as GoogleEnableAdGroupErrors, ak as GoogleEnableCampaignData, al as GoogleEnableCampaignResponses, am as GoogleEnableCampaignErrors, an as GoogleEnableKeywordData, ao as GoogleEnableKeywordResponses, ap as GoogleEnableKeywordErrors, aq as GoogleGetAccountData, ar as GoogleGetAccountResponses, as as GoogleGetAccountErrors, at as GoogleGetAdData, au as GoogleGetAdResponses, av as GoogleGetAdErrors, aw as GoogleGetAdGroupData, ax as GoogleGetAdGroupResponses, ay as GoogleGetAdGroupErrors, az as GoogleGetCampaignData, aA as GoogleGetCampaignResponses, aB as GoogleGetCampaignErrors, aC as GoogleGetConversionActionData, aD as GoogleGetConversionActionResponses, aE as GoogleGetConversionActionErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupsData, aM as GoogleListAdGroupsResponses, aN as GoogleListAdGroupsErrors, aO as GoogleListAdsData, aP as GoogleListAdsResponses, aQ as GoogleListAdsErrors, aR as GoogleListCampaignsData, aS as GoogleListCampaignsResponses, aT as GoogleListCampaignsErrors, aU as GoogleListConversionActionsData, aV as GoogleListConversionActionsResponses, aW as GoogleListConversionActionsErrors, aX as GoogleListConversionGoalsData, aY as GoogleListConversionGoalsResponses, aZ as GoogleListConversionGoalsErrors, a_ as GoogleListKeywordsData, a$ as GoogleListKeywordsResponses, b0 as GoogleListKeywordsErrors, b1 as GooglePauseAdData, b2 as GooglePauseAdResponses, b3 as GooglePauseAdErrors, b4 as GooglePauseAdGroupData, b5 as GooglePauseAdGroupResponses, b6 as GooglePauseAdGroupErrors, b7 as GooglePauseCampaignData, b8 as GooglePauseCampaignResponses, b9 as GooglePauseCampaignErrors, ba as GooglePauseKeywordData, bb as GooglePauseKeywordResponses, bc as GooglePauseKeywordErrors, bd as GoogleRunGaqlData, be as GoogleRunGaqlResponses, bf as GoogleRunGaqlErrors, bg as GoogleSetAdGroupBidsData, bh as GoogleSetAdGroupBidsResponses, bi as GoogleSetAdGroupBidsErrors, bj as GoogleSetConversionGoalData, bk as GoogleSetConversionGoalResponses, bl as GoogleSetConversionGoalErrors, bm as GoogleSetKeywordBidData, bn as GoogleSetKeywordBidResponses, bo as GoogleSetKeywordBidErrors, bp as GoogleUploadConversionsData, bq as GoogleUploadConversionsResponses, br as GoogleUploadConversionsErrors, bs as GoogleUploadImageAssetData, bt as GoogleUploadImageAssetResponses, bu as GoogleUploadImageAssetErrors, bv as LogsGetData, bw as LogsGetResponses, bx as LogsGetErrors, by as LogsListData, bz as LogsListResponses, bA as LogsListErrors, bB as MediaCreateData, bC as MediaCreateResponses, bD as MediaCreateErrors, bE as MediaDeleteData, bF as MediaDeleteResponses, bG as MediaDeleteErrors, bH as MediaGetData, bI as MediaGetResponses, bJ as MediaGetErrors, bK as MediaListData, bL as MediaListResponses, bM as MediaListErrors, bN as MediaUpdateData, bO as MediaUpdateResponses, bP as MediaUpdateErrors, bQ as MetaAccountData, bR as MetaAccountResponses, bS as MetaAccountErrors, bT as MetaAdData, bU as MetaAdResponses, bV as MetaAdErrors, bW as MetaAdsData, bX as MetaAdsResponses, bY as MetaAdsErrors, bZ as MetaAdsetData, b_ as MetaAdsetResponses, b$ as MetaAdsetErrors, c0 as MetaAdsetsData, c1 as MetaAdsetsResponses, c2 as MetaAdsetsErrors, c3 as MetaCampaignData, c4 as MetaCampaignResponses, c5 as MetaCampaignErrors, c6 as MetaCampaignsData, c7 as MetaCampaignsResponses, c8 as MetaCampaignsErrors, c9 as MetaInsightsData, ca as MetaInsightsResponses, cb as MetaInsightsErrors, cc as PostsCreateData, cd as PostsCreateResponses, ce as PostsCreateErrors, cf as PostsDeleteData, cg as PostsDeleteResponses, ch as PostsDeleteErrors, ci as PostsGetData, cj as PostsGetResponses, ck as PostsGetErrors, cl as PostsListData, cm as PostsListResponses, cn as PostsListErrors, co as PostsUpdateData, cp as PostsUpdateResponses, cq as PostsUpdateErrors, cr as PostsValidateData, cs as PostsValidateResponses, ct as PostsValidateErrors, cu as ProfilesCreateData, cv as ProfilesCreateResponses, cw as ProfilesCreateErrors, cx as ProfilesDeleteData, cy as ProfilesDeleteResponses, cz as ProfilesDeleteErrors, cA as ProfilesGetData, cB as ProfilesGetResponses, cC as ProfilesGetErrors, cD as ProfilesListData, cE as ProfilesListResponses, cF as ProfilesListErrors, cG as ProfilesUpdateData, cH as ProfilesUpdateResponses, cI as ProfilesUpdateErrors, cJ as TokensMintData, cK as TokensMintResponses, cL as TokensMintErrors, cM as WebhooksCreateEndpointData, cN as WebhooksCreateEndpointResponses, cO as WebhooksCreateEndpointErrors, cP as WebhooksCreatePortalData, cQ as WebhooksCreatePortalResponses, cR as WebhooksCreatePortalErrors, cS as WebhooksDeleteEndpointData, cT as WebhooksDeleteEndpointResponses, cU as WebhooksDeleteEndpointErrors, cV as WebhooksGetEndpointData, cW as WebhooksGetEndpointResponses, cX as WebhooksGetEndpointErrors, cY as WebhooksListEndpointsData, cZ as WebhooksListEndpointsResponses, c_ as WebhooksListEndpointsErrors, c$ as WebhooksListEventTypesData, d0 as WebhooksListEventTypesResponses, d1 as WebhooksListEventTypesErrors, d2 as WebhooksPingData, d3 as WebhooksPingResponses, d4 as WebhooksPingErrors, d5 as WebhooksUpdateEndpointData, d6 as WebhooksUpdateEndpointResponses, d7 as WebhooksUpdateEndpointErrors, d8 as ErrorCode, d9 as MediaGetResponse, da as ConnectionsConnectResponse, db as ConnectionsGetResponse, dc as ConnectionsListByProfileResponse, dd as MediaCreateResponse, de as ConnectionsListAccountsResponse, df as MediaListResponse, dg as PostsGetResponse, dh as PostsListResponse, di as PostsValidateResponse, dj as ProfilesGetResponse, dk as ProfilesListResponse } from './types.gen-
|
|
2
|
-
export { dl as ClientOptions, dm as ConnectionsConnectError, dn as ConnectionsDeleteError, dp as ConnectionsDeleteResponse, dq as ConnectionsGetError, dr as ConnectionsListAccountsError, ds as ConnectionsListByProfileError, dt as ConnectionsSelectError, du as ConnectionsSelectResponse, dv as GoogleCreateAdError, dw as GoogleCreateAdGroupError, dx as GoogleCreateAdGroupResponse, dy as GoogleCreateAdResponse, dz as GoogleCreateBudgetError, dA as GoogleCreateBudgetResponse, dB as GoogleCreateCampaignError, dC as GoogleCreateCampaignResponse, dD as GoogleCreateConversionActionError, dE as GoogleCreateConversionActionResponse, dF as GoogleCreateDisplayAdError, dG as GoogleCreateDisplayAdResponse, dH as GoogleCreateKeywordError, dI as GoogleCreateKeywordResponse, dJ as GoogleDeleteAdError, dK as GoogleDeleteAdGroupError, dL as GoogleDeleteAdGroupResponse, dM as GoogleDeleteAdResponse, dN as GoogleDeleteBudgetError, dO as GoogleDeleteBudgetResponse, dP as GoogleDeleteCampaignError, dQ as GoogleDeleteCampaignResponse, dR as GoogleDeleteKeywordError, dS as GoogleDeleteKeywordResponse, dT as GoogleEditAdGroupError, dU as GoogleEditAdGroupResponse, dV as GoogleEditBudgetError, dW as GoogleEditBudgetResponse, dX as GoogleEditCampaignError, dY as GoogleEditCampaignResponse, dZ as GoogleEnableAdError, d_ as GoogleEnableAdGroupError, d$ as GoogleEnableAdGroupResponse, e0 as GoogleEnableAdResponse, e1 as GoogleEnableCampaignError, e2 as GoogleEnableCampaignResponse, e3 as GoogleEnableKeywordError, e4 as GoogleEnableKeywordResponse, e5 as GoogleGetAccountError, e6 as GoogleGetAccountResponse, e7 as GoogleGetAdError, e8 as GoogleGetAdGroupError, e9 as GoogleGetAdGroupResponse, ea as GoogleGetAdResponse, eb as GoogleGetCampaignError, ec as GoogleGetCampaignResponse, ed as GoogleGetConversionActionError, ee as GoogleGetConversionActionResponse, ef as GoogleGetInsightsError, eg as GoogleGetInsightsResponse, eh as GoogleGetKeywordError, ei as GoogleGetKeywordResponse, ej as GoogleListAdGroupsError, ek as GoogleListAdGroupsResponse, el as GoogleListAdsError, em as GoogleListAdsResponse, en as GoogleListCampaignsError, eo as GoogleListCampaignsResponse, ep as GoogleListConversionActionsError, eq as GoogleListConversionActionsResponse, er as GoogleListConversionGoalsError, es as GoogleListConversionGoalsResponse, et as GoogleListKeywordsError, eu as GoogleListKeywordsResponse, ev as GooglePauseAdError, ew as GooglePauseAdGroupError, ex as GooglePauseAdGroupResponse, ey as GooglePauseAdResponse, ez as GooglePauseCampaignError, eA as GooglePauseCampaignResponse, eB as GooglePauseKeywordError, eC as GooglePauseKeywordResponse, eD as GoogleRunGaqlError, eE as GoogleRunGaqlResponse, eF as GoogleSetAdGroupBidsError, eG as GoogleSetAdGroupBidsResponse, eH as GoogleSetConversionGoalError, eI as GoogleSetConversionGoalResponse, eJ as GoogleSetKeywordBidError, eK as GoogleSetKeywordBidResponse, eL as GoogleUploadConversionsError, eM as GoogleUploadConversionsResponse, eN as GoogleUploadImageAssetError, eO as GoogleUploadImageAssetResponse, eP as LogsGetError, eQ as LogsGetResponse, eR as LogsListError, eS as LogsListResponse, eT as MediaCreateError, eU as MediaDeleteError, eV as MediaDeleteResponse, eW as MediaGetError, eX as MediaListError, eY as MediaUpdateError, eZ as MediaUpdateResponse, e_ as MetaAccountError, e$ as MetaAccountResponse, f0 as MetaAdError, f1 as MetaAdResponse, f2 as MetaAdsError, f3 as MetaAdsResponse, f4 as MetaAdsetError, f5 as MetaAdsetResponse, f6 as MetaAdsetsError, f7 as MetaAdsetsResponse, f8 as MetaCampaignError, f9 as MetaCampaignResponse, fa as MetaCampaignsError, fb as MetaCampaignsResponse, fc as MetaInsightsError, fd as MetaInsightsResponse, fe as PostrunClient, ff as PostrunClientOptions, fg as PostsCreateError, fh as PostsCreateResponse, fi as PostsDeleteError, fj as PostsDeleteResponse, fk as PostsGetError, fl as PostsListError, fm as PostsUpdateError, fn as PostsUpdateResponse, fo as PostsValidateError, fp as ProfilesCreateError, fq as ProfilesCreateResponse, fr as ProfilesDeleteError, fs as ProfilesDeleteResponse, ft as ProfilesGetError, fu as ProfilesListError, fv as ProfilesUpdateError, fw as ProfilesUpdateResponse, fx as TokensMintError, fy as TokensMintResponse, fz as WebhooksCreateEndpointError, fA as WebhooksCreateEndpointResponse, fB as WebhooksCreatePortalError, fC as WebhooksCreatePortalResponse, fD as WebhooksDeleteEndpointError, fE as WebhooksDeleteEndpointResponse, fF as WebhooksGetEndpointError, fG as WebhooksGetEndpointResponse, fH as WebhooksListEndpointsError, fI as WebhooksListEndpointsResponse, fJ as WebhooksListEventTypesError, fK as WebhooksListEventTypesResponse, fL as WebhooksPingError, fM as WebhooksPingResponse, fN as WebhooksUpdateEndpointError, fO as WebhooksUpdateEndpointResponse, fP as createPostrunClient } from './types.gen-
|
|
1
|
+
import { T as TDataShape, O as Options$1, C as Client, a as ClientMeta, b as ConnectionsConnectData, R as RequestResult, c as ConnectionsConnectResponses, d as ConnectionsConnectErrors, e as ConnectionsDeleteData, f as ConnectionsDeleteResponses, g as ConnectionsDeleteErrors, h as ConnectionsGetData, i as ConnectionsGetResponses, j as ConnectionsGetErrors, k as ConnectionsListAccountsData, l as ConnectionsListAccountsResponses, m as ConnectionsListAccountsErrors, n as ConnectionsListByProfileData, o as ConnectionsListByProfileResponses, p as ConnectionsListByProfileErrors, q as ConnectionsSelectData, r as ConnectionsSelectResponses, s as ConnectionsSelectErrors, G as GoogleCreateAdData, t as GoogleCreateAdResponses, u as GoogleCreateAdErrors, v as GoogleCreateAdGroupData, w as GoogleCreateAdGroupResponses, x as GoogleCreateAdGroupErrors, y as GoogleCreateBudgetData, z as GoogleCreateBudgetResponses, A as GoogleCreateBudgetErrors, B as GoogleCreateCampaignData, D as GoogleCreateCampaignResponses, E as GoogleCreateCampaignErrors, F as GoogleCreateConversionActionData, H as GoogleCreateConversionActionResponses, I as GoogleCreateConversionActionErrors, J as GoogleCreateDisplayAdData, K as GoogleCreateDisplayAdResponses, L as GoogleCreateDisplayAdErrors, M as GoogleCreateKeywordData, N as GoogleCreateKeywordResponses, P as GoogleCreateKeywordErrors, Q as GoogleDeleteAdData, S as GoogleDeleteAdResponses, U as GoogleDeleteAdErrors, V as GoogleDeleteAdGroupData, W as GoogleDeleteAdGroupResponses, X as GoogleDeleteAdGroupErrors, Y as GoogleDeleteBudgetData, Z as GoogleDeleteBudgetResponses, _ as GoogleDeleteBudgetErrors, $ as GoogleDeleteCampaignData, a0 as GoogleDeleteCampaignResponses, a1 as GoogleDeleteCampaignErrors, a2 as GoogleDeleteKeywordData, a3 as GoogleDeleteKeywordResponses, a4 as GoogleDeleteKeywordErrors, a5 as GoogleEditAdGroupData, a6 as GoogleEditAdGroupResponses, a7 as GoogleEditAdGroupErrors, a8 as GoogleEditBudgetData, a9 as GoogleEditBudgetResponses, aa as GoogleEditBudgetErrors, ab as GoogleEditCampaignData, ac as GoogleEditCampaignResponses, ad as GoogleEditCampaignErrors, ae as GoogleEnableAdData, af as GoogleEnableAdResponses, ag as GoogleEnableAdErrors, ah as GoogleEnableAdGroupData, ai as GoogleEnableAdGroupResponses, aj as GoogleEnableAdGroupErrors, ak as GoogleEnableCampaignData, al as GoogleEnableCampaignResponses, am as GoogleEnableCampaignErrors, an as GoogleEnableKeywordData, ao as GoogleEnableKeywordResponses, ap as GoogleEnableKeywordErrors, aq as GoogleGetAccountData, ar as GoogleGetAccountResponses, as as GoogleGetAccountErrors, at as GoogleGetAdData, au as GoogleGetAdResponses, av as GoogleGetAdErrors, aw as GoogleGetAdGroupData, ax as GoogleGetAdGroupResponses, ay as GoogleGetAdGroupErrors, az as GoogleGetCampaignData, aA as GoogleGetCampaignResponses, aB as GoogleGetCampaignErrors, aC as GoogleGetConversionActionData, aD as GoogleGetConversionActionResponses, aE as GoogleGetConversionActionErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupsData, aM as GoogleListAdGroupsResponses, aN as GoogleListAdGroupsErrors, aO as GoogleListAdsData, aP as GoogleListAdsResponses, aQ as GoogleListAdsErrors, aR as GoogleListCampaignsData, aS as GoogleListCampaignsResponses, aT as GoogleListCampaignsErrors, aU as GoogleListConversionActionsData, aV as GoogleListConversionActionsResponses, aW as GoogleListConversionActionsErrors, aX as GoogleListConversionGoalsData, aY as GoogleListConversionGoalsResponses, aZ as GoogleListConversionGoalsErrors, a_ as GoogleListKeywordsData, a$ as GoogleListKeywordsResponses, b0 as GoogleListKeywordsErrors, b1 as GooglePauseAdData, b2 as GooglePauseAdResponses, b3 as GooglePauseAdErrors, b4 as GooglePauseAdGroupData, b5 as GooglePauseAdGroupResponses, b6 as GooglePauseAdGroupErrors, b7 as GooglePauseCampaignData, b8 as GooglePauseCampaignResponses, b9 as GooglePauseCampaignErrors, ba as GooglePauseKeywordData, bb as GooglePauseKeywordResponses, bc as GooglePauseKeywordErrors, bd as GoogleRunGaqlData, be as GoogleRunGaqlResponses, bf as GoogleRunGaqlErrors, bg as GoogleSetAdGroupBidsData, bh as GoogleSetAdGroupBidsResponses, bi as GoogleSetAdGroupBidsErrors, bj as GoogleSetConversionGoalData, bk as GoogleSetConversionGoalResponses, bl as GoogleSetConversionGoalErrors, bm as GoogleSetKeywordBidData, bn as GoogleSetKeywordBidResponses, bo as GoogleSetKeywordBidErrors, bp as GoogleUploadConversionsData, bq as GoogleUploadConversionsResponses, br as GoogleUploadConversionsErrors, bs as GoogleUploadImageAssetData, bt as GoogleUploadImageAssetResponses, bu as GoogleUploadImageAssetErrors, bv as LogsGetData, bw as LogsGetResponses, bx as LogsGetErrors, by as LogsListData, bz as LogsListResponses, bA as LogsListErrors, bB as MediaCreateData, bC as MediaCreateResponses, bD as MediaCreateErrors, bE as MediaDeleteData, bF as MediaDeleteResponses, bG as MediaDeleteErrors, bH as MediaGetData, bI as MediaGetResponses, bJ as MediaGetErrors, bK as MediaListData, bL as MediaListResponses, bM as MediaListErrors, bN as MediaUpdateData, bO as MediaUpdateResponses, bP as MediaUpdateErrors, bQ as MetaAccountData, bR as MetaAccountResponses, bS as MetaAccountErrors, bT as MetaAdData, bU as MetaAdResponses, bV as MetaAdErrors, bW as MetaAdsData, bX as MetaAdsResponses, bY as MetaAdsErrors, bZ as MetaAdsetData, b_ as MetaAdsetResponses, b$ as MetaAdsetErrors, c0 as MetaAdsetsData, c1 as MetaAdsetsResponses, c2 as MetaAdsetsErrors, c3 as MetaCampaignData, c4 as MetaCampaignResponses, c5 as MetaCampaignErrors, c6 as MetaCampaignsData, c7 as MetaCampaignsResponses, c8 as MetaCampaignsErrors, c9 as MetaInsightsData, ca as MetaInsightsResponses, cb as MetaInsightsErrors, cc as PostsCreateData, cd as PostsCreateResponses, ce as PostsCreateErrors, cf as PostsDeleteData, cg as PostsDeleteResponses, ch as PostsDeleteErrors, ci as PostsGetData, cj as PostsGetResponses, ck as PostsGetErrors, cl as PostsListData, cm as PostsListResponses, cn as PostsListErrors, co as PostsUpdateData, cp as PostsUpdateResponses, cq as PostsUpdateErrors, cr as PostsValidateData, cs as PostsValidateResponses, ct as PostsValidateErrors, cu as ProfilesCreateData, cv as ProfilesCreateResponses, cw as ProfilesCreateErrors, cx as ProfilesDeleteData, cy as ProfilesDeleteResponses, cz as ProfilesDeleteErrors, cA as ProfilesGetData, cB as ProfilesGetResponses, cC as ProfilesGetErrors, cD as ProfilesListData, cE as ProfilesListResponses, cF as ProfilesListErrors, cG as ProfilesUpdateData, cH as ProfilesUpdateResponses, cI as ProfilesUpdateErrors, cJ as TokensMintData, cK as TokensMintResponses, cL as TokensMintErrors, cM as WebhooksCreateEndpointData, cN as WebhooksCreateEndpointResponses, cO as WebhooksCreateEndpointErrors, cP as WebhooksCreatePortalData, cQ as WebhooksCreatePortalResponses, cR as WebhooksCreatePortalErrors, cS as WebhooksDeleteEndpointData, cT as WebhooksDeleteEndpointResponses, cU as WebhooksDeleteEndpointErrors, cV as WebhooksGetEndpointData, cW as WebhooksGetEndpointResponses, cX as WebhooksGetEndpointErrors, cY as WebhooksListEndpointsData, cZ as WebhooksListEndpointsResponses, c_ as WebhooksListEndpointsErrors, c$ as WebhooksListEventTypesData, d0 as WebhooksListEventTypesResponses, d1 as WebhooksListEventTypesErrors, d2 as WebhooksPingData, d3 as WebhooksPingResponses, d4 as WebhooksPingErrors, d5 as WebhooksUpdateEndpointData, d6 as WebhooksUpdateEndpointResponses, d7 as WebhooksUpdateEndpointErrors, d8 as ErrorCode, d9 as MediaGetResponse, da as ConnectionsConnectResponse, db as ConnectionsGetResponse, dc as ConnectionsListByProfileResponse, dd as MediaCreateResponse, de as ConnectionsListAccountsResponse, df as MediaListResponse, dg as PostsGetResponse, dh as PostsListResponse, di as PostsValidateResponse, dj as ProfilesGetResponse, dk as ProfilesListResponse } from './types.gen-0ufzFdld.cjs';
|
|
2
|
+
export { dl as ClientOptions, dm as ConnectionsConnectError, dn as ConnectionsDeleteError, dp as ConnectionsDeleteResponse, dq as ConnectionsGetError, dr as ConnectionsListAccountsError, ds as ConnectionsListByProfileError, dt as ConnectionsSelectError, du as ConnectionsSelectResponse, dv as GoogleCreateAdError, dw as GoogleCreateAdGroupError, dx as GoogleCreateAdGroupResponse, dy as GoogleCreateAdResponse, dz as GoogleCreateBudgetError, dA as GoogleCreateBudgetResponse, dB as GoogleCreateCampaignError, dC as GoogleCreateCampaignResponse, dD as GoogleCreateConversionActionError, dE as GoogleCreateConversionActionResponse, dF as GoogleCreateDisplayAdError, dG as GoogleCreateDisplayAdResponse, dH as GoogleCreateKeywordError, dI as GoogleCreateKeywordResponse, dJ as GoogleDeleteAdError, dK as GoogleDeleteAdGroupError, dL as GoogleDeleteAdGroupResponse, dM as GoogleDeleteAdResponse, dN as GoogleDeleteBudgetError, dO as GoogleDeleteBudgetResponse, dP as GoogleDeleteCampaignError, dQ as GoogleDeleteCampaignResponse, dR as GoogleDeleteKeywordError, dS as GoogleDeleteKeywordResponse, dT as GoogleEditAdGroupError, dU as GoogleEditAdGroupResponse, dV as GoogleEditBudgetError, dW as GoogleEditBudgetResponse, dX as GoogleEditCampaignError, dY as GoogleEditCampaignResponse, dZ as GoogleEnableAdError, d_ as GoogleEnableAdGroupError, d$ as GoogleEnableAdGroupResponse, e0 as GoogleEnableAdResponse, e1 as GoogleEnableCampaignError, e2 as GoogleEnableCampaignResponse, e3 as GoogleEnableKeywordError, e4 as GoogleEnableKeywordResponse, e5 as GoogleGetAccountError, e6 as GoogleGetAccountResponse, e7 as GoogleGetAdError, e8 as GoogleGetAdGroupError, e9 as GoogleGetAdGroupResponse, ea as GoogleGetAdResponse, eb as GoogleGetCampaignError, ec as GoogleGetCampaignResponse, ed as GoogleGetConversionActionError, ee as GoogleGetConversionActionResponse, ef as GoogleGetInsightsError, eg as GoogleGetInsightsResponse, eh as GoogleGetKeywordError, ei as GoogleGetKeywordResponse, ej as GoogleListAdGroupsError, ek as GoogleListAdGroupsResponse, el as GoogleListAdsError, em as GoogleListAdsResponse, en as GoogleListCampaignsError, eo as GoogleListCampaignsResponse, ep as GoogleListConversionActionsError, eq as GoogleListConversionActionsResponse, er as GoogleListConversionGoalsError, es as GoogleListConversionGoalsResponse, et as GoogleListKeywordsError, eu as GoogleListKeywordsResponse, ev as GooglePauseAdError, ew as GooglePauseAdGroupError, ex as GooglePauseAdGroupResponse, ey as GooglePauseAdResponse, ez as GooglePauseCampaignError, eA as GooglePauseCampaignResponse, eB as GooglePauseKeywordError, eC as GooglePauseKeywordResponse, eD as GoogleRunGaqlError, eE as GoogleRunGaqlResponse, eF as GoogleSetAdGroupBidsError, eG as GoogleSetAdGroupBidsResponse, eH as GoogleSetConversionGoalError, eI as GoogleSetConversionGoalResponse, eJ as GoogleSetKeywordBidError, eK as GoogleSetKeywordBidResponse, eL as GoogleUploadConversionsError, eM as GoogleUploadConversionsResponse, eN as GoogleUploadImageAssetError, eO as GoogleUploadImageAssetResponse, eP as LogsGetError, eQ as LogsGetResponse, eR as LogsListError, eS as LogsListResponse, eT as MediaCreateError, eU as MediaDeleteError, eV as MediaDeleteResponse, eW as MediaGetError, eX as MediaListError, eY as MediaUpdateError, eZ as MediaUpdateResponse, e_ as MetaAccountError, e$ as MetaAccountResponse, f0 as MetaAdError, f1 as MetaAdResponse, f2 as MetaAdsError, f3 as MetaAdsResponse, f4 as MetaAdsetError, f5 as MetaAdsetResponse, f6 as MetaAdsetsError, f7 as MetaAdsetsResponse, f8 as MetaCampaignError, f9 as MetaCampaignResponse, fa as MetaCampaignsError, fb as MetaCampaignsResponse, fc as MetaInsightsError, fd as MetaInsightsResponse, fe as PostrunClient, ff as PostrunClientOptions, fg as PostsCreateError, fh as PostsCreateResponse, fi as PostsDeleteError, fj as PostsDeleteResponse, fk as PostsGetError, fl as PostsListError, fm as PostsUpdateError, fn as PostsUpdateResponse, fo as PostsValidateError, fp as ProfilesCreateError, fq as ProfilesCreateResponse, fr as ProfilesDeleteError, fs as ProfilesDeleteResponse, ft as ProfilesGetError, fu as ProfilesListError, fv as ProfilesUpdateError, fw as ProfilesUpdateResponse, fx as TokensMintError, fy as TokensMintResponse, fz as WebhooksCreateEndpointError, fA as WebhooksCreateEndpointResponse, fB as WebhooksCreatePortalError, fC as WebhooksCreatePortalResponse, fD as WebhooksDeleteEndpointError, fE as WebhooksDeleteEndpointResponse, fF as WebhooksGetEndpointError, fG as WebhooksGetEndpointResponse, fH as WebhooksListEndpointsError, fI as WebhooksListEndpointsResponse, fJ as WebhooksListEventTypesError, fK as WebhooksListEventTypesResponse, fL as WebhooksPingError, fM as WebhooksPingResponse, fN as WebhooksUpdateEndpointError, fO as WebhooksUpdateEndpointResponse, fP as createPostrunClient } from './types.gen-0ufzFdld.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> & {
|
|
@@ -68,7 +68,7 @@ declare const connectionsListByProfile: <ThrowOnError extends boolean = true>(op
|
|
|
68
68
|
*
|
|
69
69
|
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `connections:write` scoped to the profile that owns the connection.
|
|
70
70
|
*
|
|
71
|
-
*
|
|
71
|
+
* Disconnects a connection. Returns a deletion marker; returns 404 if it does not exist in your account. Disconnect is unconditional — any scheduled posts that target this connection are not blocked; they fail gracefully at publish time with a `connection_removed` error until you reconnect and reschedule.
|
|
72
72
|
*/
|
|
73
73
|
declare const connectionsDelete: <ThrowOnError extends boolean = true>(options: Options<ConnectionsDeleteData, ThrowOnError>) => RequestResult<ConnectionsDeleteResponses, ConnectionsDeleteErrors, ThrowOnError>;
|
|
74
74
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TDataShape, O as Options$1, C as Client, a as ClientMeta, b as ConnectionsConnectData, R as RequestResult, c as ConnectionsConnectResponses, d as ConnectionsConnectErrors, e as ConnectionsDeleteData, f as ConnectionsDeleteResponses, g as ConnectionsDeleteErrors, h as ConnectionsGetData, i as ConnectionsGetResponses, j as ConnectionsGetErrors, k as ConnectionsListAccountsData, l as ConnectionsListAccountsResponses, m as ConnectionsListAccountsErrors, n as ConnectionsListByProfileData, o as ConnectionsListByProfileResponses, p as ConnectionsListByProfileErrors, q as ConnectionsSelectData, r as ConnectionsSelectResponses, s as ConnectionsSelectErrors, G as GoogleCreateAdData, t as GoogleCreateAdResponses, u as GoogleCreateAdErrors, v as GoogleCreateAdGroupData, w as GoogleCreateAdGroupResponses, x as GoogleCreateAdGroupErrors, y as GoogleCreateBudgetData, z as GoogleCreateBudgetResponses, A as GoogleCreateBudgetErrors, B as GoogleCreateCampaignData, D as GoogleCreateCampaignResponses, E as GoogleCreateCampaignErrors, F as GoogleCreateConversionActionData, H as GoogleCreateConversionActionResponses, I as GoogleCreateConversionActionErrors, J as GoogleCreateDisplayAdData, K as GoogleCreateDisplayAdResponses, L as GoogleCreateDisplayAdErrors, M as GoogleCreateKeywordData, N as GoogleCreateKeywordResponses, P as GoogleCreateKeywordErrors, Q as GoogleDeleteAdData, S as GoogleDeleteAdResponses, U as GoogleDeleteAdErrors, V as GoogleDeleteAdGroupData, W as GoogleDeleteAdGroupResponses, X as GoogleDeleteAdGroupErrors, Y as GoogleDeleteBudgetData, Z as GoogleDeleteBudgetResponses, _ as GoogleDeleteBudgetErrors, $ as GoogleDeleteCampaignData, a0 as GoogleDeleteCampaignResponses, a1 as GoogleDeleteCampaignErrors, a2 as GoogleDeleteKeywordData, a3 as GoogleDeleteKeywordResponses, a4 as GoogleDeleteKeywordErrors, a5 as GoogleEditAdGroupData, a6 as GoogleEditAdGroupResponses, a7 as GoogleEditAdGroupErrors, a8 as GoogleEditBudgetData, a9 as GoogleEditBudgetResponses, aa as GoogleEditBudgetErrors, ab as GoogleEditCampaignData, ac as GoogleEditCampaignResponses, ad as GoogleEditCampaignErrors, ae as GoogleEnableAdData, af as GoogleEnableAdResponses, ag as GoogleEnableAdErrors, ah as GoogleEnableAdGroupData, ai as GoogleEnableAdGroupResponses, aj as GoogleEnableAdGroupErrors, ak as GoogleEnableCampaignData, al as GoogleEnableCampaignResponses, am as GoogleEnableCampaignErrors, an as GoogleEnableKeywordData, ao as GoogleEnableKeywordResponses, ap as GoogleEnableKeywordErrors, aq as GoogleGetAccountData, ar as GoogleGetAccountResponses, as as GoogleGetAccountErrors, at as GoogleGetAdData, au as GoogleGetAdResponses, av as GoogleGetAdErrors, aw as GoogleGetAdGroupData, ax as GoogleGetAdGroupResponses, ay as GoogleGetAdGroupErrors, az as GoogleGetCampaignData, aA as GoogleGetCampaignResponses, aB as GoogleGetCampaignErrors, aC as GoogleGetConversionActionData, aD as GoogleGetConversionActionResponses, aE as GoogleGetConversionActionErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupsData, aM as GoogleListAdGroupsResponses, aN as GoogleListAdGroupsErrors, aO as GoogleListAdsData, aP as GoogleListAdsResponses, aQ as GoogleListAdsErrors, aR as GoogleListCampaignsData, aS as GoogleListCampaignsResponses, aT as GoogleListCampaignsErrors, aU as GoogleListConversionActionsData, aV as GoogleListConversionActionsResponses, aW as GoogleListConversionActionsErrors, aX as GoogleListConversionGoalsData, aY as GoogleListConversionGoalsResponses, aZ as GoogleListConversionGoalsErrors, a_ as GoogleListKeywordsData, a$ as GoogleListKeywordsResponses, b0 as GoogleListKeywordsErrors, b1 as GooglePauseAdData, b2 as GooglePauseAdResponses, b3 as GooglePauseAdErrors, b4 as GooglePauseAdGroupData, b5 as GooglePauseAdGroupResponses, b6 as GooglePauseAdGroupErrors, b7 as GooglePauseCampaignData, b8 as GooglePauseCampaignResponses, b9 as GooglePauseCampaignErrors, ba as GooglePauseKeywordData, bb as GooglePauseKeywordResponses, bc as GooglePauseKeywordErrors, bd as GoogleRunGaqlData, be as GoogleRunGaqlResponses, bf as GoogleRunGaqlErrors, bg as GoogleSetAdGroupBidsData, bh as GoogleSetAdGroupBidsResponses, bi as GoogleSetAdGroupBidsErrors, bj as GoogleSetConversionGoalData, bk as GoogleSetConversionGoalResponses, bl as GoogleSetConversionGoalErrors, bm as GoogleSetKeywordBidData, bn as GoogleSetKeywordBidResponses, bo as GoogleSetKeywordBidErrors, bp as GoogleUploadConversionsData, bq as GoogleUploadConversionsResponses, br as GoogleUploadConversionsErrors, bs as GoogleUploadImageAssetData, bt as GoogleUploadImageAssetResponses, bu as GoogleUploadImageAssetErrors, bv as LogsGetData, bw as LogsGetResponses, bx as LogsGetErrors, by as LogsListData, bz as LogsListResponses, bA as LogsListErrors, bB as MediaCreateData, bC as MediaCreateResponses, bD as MediaCreateErrors, bE as MediaDeleteData, bF as MediaDeleteResponses, bG as MediaDeleteErrors, bH as MediaGetData, bI as MediaGetResponses, bJ as MediaGetErrors, bK as MediaListData, bL as MediaListResponses, bM as MediaListErrors, bN as MediaUpdateData, bO as MediaUpdateResponses, bP as MediaUpdateErrors, bQ as MetaAccountData, bR as MetaAccountResponses, bS as MetaAccountErrors, bT as MetaAdData, bU as MetaAdResponses, bV as MetaAdErrors, bW as MetaAdsData, bX as MetaAdsResponses, bY as MetaAdsErrors, bZ as MetaAdsetData, b_ as MetaAdsetResponses, b$ as MetaAdsetErrors, c0 as MetaAdsetsData, c1 as MetaAdsetsResponses, c2 as MetaAdsetsErrors, c3 as MetaCampaignData, c4 as MetaCampaignResponses, c5 as MetaCampaignErrors, c6 as MetaCampaignsData, c7 as MetaCampaignsResponses, c8 as MetaCampaignsErrors, c9 as MetaInsightsData, ca as MetaInsightsResponses, cb as MetaInsightsErrors, cc as PostsCreateData, cd as PostsCreateResponses, ce as PostsCreateErrors, cf as PostsDeleteData, cg as PostsDeleteResponses, ch as PostsDeleteErrors, ci as PostsGetData, cj as PostsGetResponses, ck as PostsGetErrors, cl as PostsListData, cm as PostsListResponses, cn as PostsListErrors, co as PostsUpdateData, cp as PostsUpdateResponses, cq as PostsUpdateErrors, cr as PostsValidateData, cs as PostsValidateResponses, ct as PostsValidateErrors, cu as ProfilesCreateData, cv as ProfilesCreateResponses, cw as ProfilesCreateErrors, cx as ProfilesDeleteData, cy as ProfilesDeleteResponses, cz as ProfilesDeleteErrors, cA as ProfilesGetData, cB as ProfilesGetResponses, cC as ProfilesGetErrors, cD as ProfilesListData, cE as ProfilesListResponses, cF as ProfilesListErrors, cG as ProfilesUpdateData, cH as ProfilesUpdateResponses, cI as ProfilesUpdateErrors, cJ as TokensMintData, cK as TokensMintResponses, cL as TokensMintErrors, cM as WebhooksCreateEndpointData, cN as WebhooksCreateEndpointResponses, cO as WebhooksCreateEndpointErrors, cP as WebhooksCreatePortalData, cQ as WebhooksCreatePortalResponses, cR as WebhooksCreatePortalErrors, cS as WebhooksDeleteEndpointData, cT as WebhooksDeleteEndpointResponses, cU as WebhooksDeleteEndpointErrors, cV as WebhooksGetEndpointData, cW as WebhooksGetEndpointResponses, cX as WebhooksGetEndpointErrors, cY as WebhooksListEndpointsData, cZ as WebhooksListEndpointsResponses, c_ as WebhooksListEndpointsErrors, c$ as WebhooksListEventTypesData, d0 as WebhooksListEventTypesResponses, d1 as WebhooksListEventTypesErrors, d2 as WebhooksPingData, d3 as WebhooksPingResponses, d4 as WebhooksPingErrors, d5 as WebhooksUpdateEndpointData, d6 as WebhooksUpdateEndpointResponses, d7 as WebhooksUpdateEndpointErrors, d8 as ErrorCode, d9 as MediaGetResponse, da as ConnectionsConnectResponse, db as ConnectionsGetResponse, dc as ConnectionsListByProfileResponse, dd as MediaCreateResponse, de as ConnectionsListAccountsResponse, df as MediaListResponse, dg as PostsGetResponse, dh as PostsListResponse, di as PostsValidateResponse, dj as ProfilesGetResponse, dk as ProfilesListResponse } from './types.gen-
|
|
2
|
-
export { dl as ClientOptions, dm as ConnectionsConnectError, dn as ConnectionsDeleteError, dp as ConnectionsDeleteResponse, dq as ConnectionsGetError, dr as ConnectionsListAccountsError, ds as ConnectionsListByProfileError, dt as ConnectionsSelectError, du as ConnectionsSelectResponse, dv as GoogleCreateAdError, dw as GoogleCreateAdGroupError, dx as GoogleCreateAdGroupResponse, dy as GoogleCreateAdResponse, dz as GoogleCreateBudgetError, dA as GoogleCreateBudgetResponse, dB as GoogleCreateCampaignError, dC as GoogleCreateCampaignResponse, dD as GoogleCreateConversionActionError, dE as GoogleCreateConversionActionResponse, dF as GoogleCreateDisplayAdError, dG as GoogleCreateDisplayAdResponse, dH as GoogleCreateKeywordError, dI as GoogleCreateKeywordResponse, dJ as GoogleDeleteAdError, dK as GoogleDeleteAdGroupError, dL as GoogleDeleteAdGroupResponse, dM as GoogleDeleteAdResponse, dN as GoogleDeleteBudgetError, dO as GoogleDeleteBudgetResponse, dP as GoogleDeleteCampaignError, dQ as GoogleDeleteCampaignResponse, dR as GoogleDeleteKeywordError, dS as GoogleDeleteKeywordResponse, dT as GoogleEditAdGroupError, dU as GoogleEditAdGroupResponse, dV as GoogleEditBudgetError, dW as GoogleEditBudgetResponse, dX as GoogleEditCampaignError, dY as GoogleEditCampaignResponse, dZ as GoogleEnableAdError, d_ as GoogleEnableAdGroupError, d$ as GoogleEnableAdGroupResponse, e0 as GoogleEnableAdResponse, e1 as GoogleEnableCampaignError, e2 as GoogleEnableCampaignResponse, e3 as GoogleEnableKeywordError, e4 as GoogleEnableKeywordResponse, e5 as GoogleGetAccountError, e6 as GoogleGetAccountResponse, e7 as GoogleGetAdError, e8 as GoogleGetAdGroupError, e9 as GoogleGetAdGroupResponse, ea as GoogleGetAdResponse, eb as GoogleGetCampaignError, ec as GoogleGetCampaignResponse, ed as GoogleGetConversionActionError, ee as GoogleGetConversionActionResponse, ef as GoogleGetInsightsError, eg as GoogleGetInsightsResponse, eh as GoogleGetKeywordError, ei as GoogleGetKeywordResponse, ej as GoogleListAdGroupsError, ek as GoogleListAdGroupsResponse, el as GoogleListAdsError, em as GoogleListAdsResponse, en as GoogleListCampaignsError, eo as GoogleListCampaignsResponse, ep as GoogleListConversionActionsError, eq as GoogleListConversionActionsResponse, er as GoogleListConversionGoalsError, es as GoogleListConversionGoalsResponse, et as GoogleListKeywordsError, eu as GoogleListKeywordsResponse, ev as GooglePauseAdError, ew as GooglePauseAdGroupError, ex as GooglePauseAdGroupResponse, ey as GooglePauseAdResponse, ez as GooglePauseCampaignError, eA as GooglePauseCampaignResponse, eB as GooglePauseKeywordError, eC as GooglePauseKeywordResponse, eD as GoogleRunGaqlError, eE as GoogleRunGaqlResponse, eF as GoogleSetAdGroupBidsError, eG as GoogleSetAdGroupBidsResponse, eH as GoogleSetConversionGoalError, eI as GoogleSetConversionGoalResponse, eJ as GoogleSetKeywordBidError, eK as GoogleSetKeywordBidResponse, eL as GoogleUploadConversionsError, eM as GoogleUploadConversionsResponse, eN as GoogleUploadImageAssetError, eO as GoogleUploadImageAssetResponse, eP as LogsGetError, eQ as LogsGetResponse, eR as LogsListError, eS as LogsListResponse, eT as MediaCreateError, eU as MediaDeleteError, eV as MediaDeleteResponse, eW as MediaGetError, eX as MediaListError, eY as MediaUpdateError, eZ as MediaUpdateResponse, e_ as MetaAccountError, e$ as MetaAccountResponse, f0 as MetaAdError, f1 as MetaAdResponse, f2 as MetaAdsError, f3 as MetaAdsResponse, f4 as MetaAdsetError, f5 as MetaAdsetResponse, f6 as MetaAdsetsError, f7 as MetaAdsetsResponse, f8 as MetaCampaignError, f9 as MetaCampaignResponse, fa as MetaCampaignsError, fb as MetaCampaignsResponse, fc as MetaInsightsError, fd as MetaInsightsResponse, fe as PostrunClient, ff as PostrunClientOptions, fg as PostsCreateError, fh as PostsCreateResponse, fi as PostsDeleteError, fj as PostsDeleteResponse, fk as PostsGetError, fl as PostsListError, fm as PostsUpdateError, fn as PostsUpdateResponse, fo as PostsValidateError, fp as ProfilesCreateError, fq as ProfilesCreateResponse, fr as ProfilesDeleteError, fs as ProfilesDeleteResponse, ft as ProfilesGetError, fu as ProfilesListError, fv as ProfilesUpdateError, fw as ProfilesUpdateResponse, fx as TokensMintError, fy as TokensMintResponse, fz as WebhooksCreateEndpointError, fA as WebhooksCreateEndpointResponse, fB as WebhooksCreatePortalError, fC as WebhooksCreatePortalResponse, fD as WebhooksDeleteEndpointError, fE as WebhooksDeleteEndpointResponse, fF as WebhooksGetEndpointError, fG as WebhooksGetEndpointResponse, fH as WebhooksListEndpointsError, fI as WebhooksListEndpointsResponse, fJ as WebhooksListEventTypesError, fK as WebhooksListEventTypesResponse, fL as WebhooksPingError, fM as WebhooksPingResponse, fN as WebhooksUpdateEndpointError, fO as WebhooksUpdateEndpointResponse, fP as createPostrunClient } from './types.gen-
|
|
1
|
+
import { T as TDataShape, O as Options$1, C as Client, a as ClientMeta, b as ConnectionsConnectData, R as RequestResult, c as ConnectionsConnectResponses, d as ConnectionsConnectErrors, e as ConnectionsDeleteData, f as ConnectionsDeleteResponses, g as ConnectionsDeleteErrors, h as ConnectionsGetData, i as ConnectionsGetResponses, j as ConnectionsGetErrors, k as ConnectionsListAccountsData, l as ConnectionsListAccountsResponses, m as ConnectionsListAccountsErrors, n as ConnectionsListByProfileData, o as ConnectionsListByProfileResponses, p as ConnectionsListByProfileErrors, q as ConnectionsSelectData, r as ConnectionsSelectResponses, s as ConnectionsSelectErrors, G as GoogleCreateAdData, t as GoogleCreateAdResponses, u as GoogleCreateAdErrors, v as GoogleCreateAdGroupData, w as GoogleCreateAdGroupResponses, x as GoogleCreateAdGroupErrors, y as GoogleCreateBudgetData, z as GoogleCreateBudgetResponses, A as GoogleCreateBudgetErrors, B as GoogleCreateCampaignData, D as GoogleCreateCampaignResponses, E as GoogleCreateCampaignErrors, F as GoogleCreateConversionActionData, H as GoogleCreateConversionActionResponses, I as GoogleCreateConversionActionErrors, J as GoogleCreateDisplayAdData, K as GoogleCreateDisplayAdResponses, L as GoogleCreateDisplayAdErrors, M as GoogleCreateKeywordData, N as GoogleCreateKeywordResponses, P as GoogleCreateKeywordErrors, Q as GoogleDeleteAdData, S as GoogleDeleteAdResponses, U as GoogleDeleteAdErrors, V as GoogleDeleteAdGroupData, W as GoogleDeleteAdGroupResponses, X as GoogleDeleteAdGroupErrors, Y as GoogleDeleteBudgetData, Z as GoogleDeleteBudgetResponses, _ as GoogleDeleteBudgetErrors, $ as GoogleDeleteCampaignData, a0 as GoogleDeleteCampaignResponses, a1 as GoogleDeleteCampaignErrors, a2 as GoogleDeleteKeywordData, a3 as GoogleDeleteKeywordResponses, a4 as GoogleDeleteKeywordErrors, a5 as GoogleEditAdGroupData, a6 as GoogleEditAdGroupResponses, a7 as GoogleEditAdGroupErrors, a8 as GoogleEditBudgetData, a9 as GoogleEditBudgetResponses, aa as GoogleEditBudgetErrors, ab as GoogleEditCampaignData, ac as GoogleEditCampaignResponses, ad as GoogleEditCampaignErrors, ae as GoogleEnableAdData, af as GoogleEnableAdResponses, ag as GoogleEnableAdErrors, ah as GoogleEnableAdGroupData, ai as GoogleEnableAdGroupResponses, aj as GoogleEnableAdGroupErrors, ak as GoogleEnableCampaignData, al as GoogleEnableCampaignResponses, am as GoogleEnableCampaignErrors, an as GoogleEnableKeywordData, ao as GoogleEnableKeywordResponses, ap as GoogleEnableKeywordErrors, aq as GoogleGetAccountData, ar as GoogleGetAccountResponses, as as GoogleGetAccountErrors, at as GoogleGetAdData, au as GoogleGetAdResponses, av as GoogleGetAdErrors, aw as GoogleGetAdGroupData, ax as GoogleGetAdGroupResponses, ay as GoogleGetAdGroupErrors, az as GoogleGetCampaignData, aA as GoogleGetCampaignResponses, aB as GoogleGetCampaignErrors, aC as GoogleGetConversionActionData, aD as GoogleGetConversionActionResponses, aE as GoogleGetConversionActionErrors, aF as GoogleGetInsightsData, aG as GoogleGetInsightsResponses, aH as GoogleGetInsightsErrors, aI as GoogleGetKeywordData, aJ as GoogleGetKeywordResponses, aK as GoogleGetKeywordErrors, aL as GoogleListAdGroupsData, aM as GoogleListAdGroupsResponses, aN as GoogleListAdGroupsErrors, aO as GoogleListAdsData, aP as GoogleListAdsResponses, aQ as GoogleListAdsErrors, aR as GoogleListCampaignsData, aS as GoogleListCampaignsResponses, aT as GoogleListCampaignsErrors, aU as GoogleListConversionActionsData, aV as GoogleListConversionActionsResponses, aW as GoogleListConversionActionsErrors, aX as GoogleListConversionGoalsData, aY as GoogleListConversionGoalsResponses, aZ as GoogleListConversionGoalsErrors, a_ as GoogleListKeywordsData, a$ as GoogleListKeywordsResponses, b0 as GoogleListKeywordsErrors, b1 as GooglePauseAdData, b2 as GooglePauseAdResponses, b3 as GooglePauseAdErrors, b4 as GooglePauseAdGroupData, b5 as GooglePauseAdGroupResponses, b6 as GooglePauseAdGroupErrors, b7 as GooglePauseCampaignData, b8 as GooglePauseCampaignResponses, b9 as GooglePauseCampaignErrors, ba as GooglePauseKeywordData, bb as GooglePauseKeywordResponses, bc as GooglePauseKeywordErrors, bd as GoogleRunGaqlData, be as GoogleRunGaqlResponses, bf as GoogleRunGaqlErrors, bg as GoogleSetAdGroupBidsData, bh as GoogleSetAdGroupBidsResponses, bi as GoogleSetAdGroupBidsErrors, bj as GoogleSetConversionGoalData, bk as GoogleSetConversionGoalResponses, bl as GoogleSetConversionGoalErrors, bm as GoogleSetKeywordBidData, bn as GoogleSetKeywordBidResponses, bo as GoogleSetKeywordBidErrors, bp as GoogleUploadConversionsData, bq as GoogleUploadConversionsResponses, br as GoogleUploadConversionsErrors, bs as GoogleUploadImageAssetData, bt as GoogleUploadImageAssetResponses, bu as GoogleUploadImageAssetErrors, bv as LogsGetData, bw as LogsGetResponses, bx as LogsGetErrors, by as LogsListData, bz as LogsListResponses, bA as LogsListErrors, bB as MediaCreateData, bC as MediaCreateResponses, bD as MediaCreateErrors, bE as MediaDeleteData, bF as MediaDeleteResponses, bG as MediaDeleteErrors, bH as MediaGetData, bI as MediaGetResponses, bJ as MediaGetErrors, bK as MediaListData, bL as MediaListResponses, bM as MediaListErrors, bN as MediaUpdateData, bO as MediaUpdateResponses, bP as MediaUpdateErrors, bQ as MetaAccountData, bR as MetaAccountResponses, bS as MetaAccountErrors, bT as MetaAdData, bU as MetaAdResponses, bV as MetaAdErrors, bW as MetaAdsData, bX as MetaAdsResponses, bY as MetaAdsErrors, bZ as MetaAdsetData, b_ as MetaAdsetResponses, b$ as MetaAdsetErrors, c0 as MetaAdsetsData, c1 as MetaAdsetsResponses, c2 as MetaAdsetsErrors, c3 as MetaCampaignData, c4 as MetaCampaignResponses, c5 as MetaCampaignErrors, c6 as MetaCampaignsData, c7 as MetaCampaignsResponses, c8 as MetaCampaignsErrors, c9 as MetaInsightsData, ca as MetaInsightsResponses, cb as MetaInsightsErrors, cc as PostsCreateData, cd as PostsCreateResponses, ce as PostsCreateErrors, cf as PostsDeleteData, cg as PostsDeleteResponses, ch as PostsDeleteErrors, ci as PostsGetData, cj as PostsGetResponses, ck as PostsGetErrors, cl as PostsListData, cm as PostsListResponses, cn as PostsListErrors, co as PostsUpdateData, cp as PostsUpdateResponses, cq as PostsUpdateErrors, cr as PostsValidateData, cs as PostsValidateResponses, ct as PostsValidateErrors, cu as ProfilesCreateData, cv as ProfilesCreateResponses, cw as ProfilesCreateErrors, cx as ProfilesDeleteData, cy as ProfilesDeleteResponses, cz as ProfilesDeleteErrors, cA as ProfilesGetData, cB as ProfilesGetResponses, cC as ProfilesGetErrors, cD as ProfilesListData, cE as ProfilesListResponses, cF as ProfilesListErrors, cG as ProfilesUpdateData, cH as ProfilesUpdateResponses, cI as ProfilesUpdateErrors, cJ as TokensMintData, cK as TokensMintResponses, cL as TokensMintErrors, cM as WebhooksCreateEndpointData, cN as WebhooksCreateEndpointResponses, cO as WebhooksCreateEndpointErrors, cP as WebhooksCreatePortalData, cQ as WebhooksCreatePortalResponses, cR as WebhooksCreatePortalErrors, cS as WebhooksDeleteEndpointData, cT as WebhooksDeleteEndpointResponses, cU as WebhooksDeleteEndpointErrors, cV as WebhooksGetEndpointData, cW as WebhooksGetEndpointResponses, cX as WebhooksGetEndpointErrors, cY as WebhooksListEndpointsData, cZ as WebhooksListEndpointsResponses, c_ as WebhooksListEndpointsErrors, c$ as WebhooksListEventTypesData, d0 as WebhooksListEventTypesResponses, d1 as WebhooksListEventTypesErrors, d2 as WebhooksPingData, d3 as WebhooksPingResponses, d4 as WebhooksPingErrors, d5 as WebhooksUpdateEndpointData, d6 as WebhooksUpdateEndpointResponses, d7 as WebhooksUpdateEndpointErrors, d8 as ErrorCode, d9 as MediaGetResponse, da as ConnectionsConnectResponse, db as ConnectionsGetResponse, dc as ConnectionsListByProfileResponse, dd as MediaCreateResponse, de as ConnectionsListAccountsResponse, df as MediaListResponse, dg as PostsGetResponse, dh as PostsListResponse, di as PostsValidateResponse, dj as ProfilesGetResponse, dk as ProfilesListResponse } from './types.gen-0ufzFdld.js';
|
|
2
|
+
export { dl as ClientOptions, dm as ConnectionsConnectError, dn as ConnectionsDeleteError, dp as ConnectionsDeleteResponse, dq as ConnectionsGetError, dr as ConnectionsListAccountsError, ds as ConnectionsListByProfileError, dt as ConnectionsSelectError, du as ConnectionsSelectResponse, dv as GoogleCreateAdError, dw as GoogleCreateAdGroupError, dx as GoogleCreateAdGroupResponse, dy as GoogleCreateAdResponse, dz as GoogleCreateBudgetError, dA as GoogleCreateBudgetResponse, dB as GoogleCreateCampaignError, dC as GoogleCreateCampaignResponse, dD as GoogleCreateConversionActionError, dE as GoogleCreateConversionActionResponse, dF as GoogleCreateDisplayAdError, dG as GoogleCreateDisplayAdResponse, dH as GoogleCreateKeywordError, dI as GoogleCreateKeywordResponse, dJ as GoogleDeleteAdError, dK as GoogleDeleteAdGroupError, dL as GoogleDeleteAdGroupResponse, dM as GoogleDeleteAdResponse, dN as GoogleDeleteBudgetError, dO as GoogleDeleteBudgetResponse, dP as GoogleDeleteCampaignError, dQ as GoogleDeleteCampaignResponse, dR as GoogleDeleteKeywordError, dS as GoogleDeleteKeywordResponse, dT as GoogleEditAdGroupError, dU as GoogleEditAdGroupResponse, dV as GoogleEditBudgetError, dW as GoogleEditBudgetResponse, dX as GoogleEditCampaignError, dY as GoogleEditCampaignResponse, dZ as GoogleEnableAdError, d_ as GoogleEnableAdGroupError, d$ as GoogleEnableAdGroupResponse, e0 as GoogleEnableAdResponse, e1 as GoogleEnableCampaignError, e2 as GoogleEnableCampaignResponse, e3 as GoogleEnableKeywordError, e4 as GoogleEnableKeywordResponse, e5 as GoogleGetAccountError, e6 as GoogleGetAccountResponse, e7 as GoogleGetAdError, e8 as GoogleGetAdGroupError, e9 as GoogleGetAdGroupResponse, ea as GoogleGetAdResponse, eb as GoogleGetCampaignError, ec as GoogleGetCampaignResponse, ed as GoogleGetConversionActionError, ee as GoogleGetConversionActionResponse, ef as GoogleGetInsightsError, eg as GoogleGetInsightsResponse, eh as GoogleGetKeywordError, ei as GoogleGetKeywordResponse, ej as GoogleListAdGroupsError, ek as GoogleListAdGroupsResponse, el as GoogleListAdsError, em as GoogleListAdsResponse, en as GoogleListCampaignsError, eo as GoogleListCampaignsResponse, ep as GoogleListConversionActionsError, eq as GoogleListConversionActionsResponse, er as GoogleListConversionGoalsError, es as GoogleListConversionGoalsResponse, et as GoogleListKeywordsError, eu as GoogleListKeywordsResponse, ev as GooglePauseAdError, ew as GooglePauseAdGroupError, ex as GooglePauseAdGroupResponse, ey as GooglePauseAdResponse, ez as GooglePauseCampaignError, eA as GooglePauseCampaignResponse, eB as GooglePauseKeywordError, eC as GooglePauseKeywordResponse, eD as GoogleRunGaqlError, eE as GoogleRunGaqlResponse, eF as GoogleSetAdGroupBidsError, eG as GoogleSetAdGroupBidsResponse, eH as GoogleSetConversionGoalError, eI as GoogleSetConversionGoalResponse, eJ as GoogleSetKeywordBidError, eK as GoogleSetKeywordBidResponse, eL as GoogleUploadConversionsError, eM as GoogleUploadConversionsResponse, eN as GoogleUploadImageAssetError, eO as GoogleUploadImageAssetResponse, eP as LogsGetError, eQ as LogsGetResponse, eR as LogsListError, eS as LogsListResponse, eT as MediaCreateError, eU as MediaDeleteError, eV as MediaDeleteResponse, eW as MediaGetError, eX as MediaListError, eY as MediaUpdateError, eZ as MediaUpdateResponse, e_ as MetaAccountError, e$ as MetaAccountResponse, f0 as MetaAdError, f1 as MetaAdResponse, f2 as MetaAdsError, f3 as MetaAdsResponse, f4 as MetaAdsetError, f5 as MetaAdsetResponse, f6 as MetaAdsetsError, f7 as MetaAdsetsResponse, f8 as MetaCampaignError, f9 as MetaCampaignResponse, fa as MetaCampaignsError, fb as MetaCampaignsResponse, fc as MetaInsightsError, fd as MetaInsightsResponse, fe as PostrunClient, ff as PostrunClientOptions, fg as PostsCreateError, fh as PostsCreateResponse, fi as PostsDeleteError, fj as PostsDeleteResponse, fk as PostsGetError, fl as PostsListError, fm as PostsUpdateError, fn as PostsUpdateResponse, fo as PostsValidateError, fp as ProfilesCreateError, fq as ProfilesCreateResponse, fr as ProfilesDeleteError, fs as ProfilesDeleteResponse, ft as ProfilesGetError, fu as ProfilesListError, fv as ProfilesUpdateError, fw as ProfilesUpdateResponse, fx as TokensMintError, fy as TokensMintResponse, fz as WebhooksCreateEndpointError, fA as WebhooksCreateEndpointResponse, fB as WebhooksCreatePortalError, fC as WebhooksCreatePortalResponse, fD as WebhooksDeleteEndpointError, fE as WebhooksDeleteEndpointResponse, fF as WebhooksGetEndpointError, fG as WebhooksGetEndpointResponse, fH as WebhooksListEndpointsError, fI as WebhooksListEndpointsResponse, fJ as WebhooksListEventTypesError, fK as WebhooksListEventTypesResponse, fL as WebhooksPingError, fM as WebhooksPingResponse, fN as WebhooksUpdateEndpointError, fO as WebhooksUpdateEndpointResponse, fP as createPostrunClient } from './types.gen-0ufzFdld.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> & {
|
|
@@ -68,7 +68,7 @@ declare const connectionsListByProfile: <ThrowOnError extends boolean = true>(op
|
|
|
68
68
|
*
|
|
69
69
|
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `connections:write` scoped to the profile that owns the connection.
|
|
70
70
|
*
|
|
71
|
-
*
|
|
71
|
+
* Disconnects a connection. Returns a deletion marker; returns 404 if it does not exist in your account. Disconnect is unconditional — any scheduled posts that target this connection are not blocked; they fail gracefully at publish time with a `connection_removed` error until you reconnect and reschedule.
|
|
72
72
|
*/
|
|
73
73
|
declare const connectionsDelete: <ThrowOnError extends boolean = true>(options: Options<ConnectionsDeleteData, ThrowOnError>) => RequestResult<ConnectionsDeleteResponses, ConnectionsDeleteErrors, ThrowOnError>;
|
|
74
74
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { PostrunError, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, createPostrunClient, googleCreateAd, googleCreateAdGroup, googleCreateBudget, googleCreateCampaign, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleDeleteAd, googleDeleteAdGroup, googleDeleteBudget, googleDeleteCampaign, googleDeleteKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroups, googleListAds, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRunGaql, googleSetAdGroupBids, googleSetConversionGoal, googleSetKeywordBid, googleUploadConversions, googleUploadImageAsset, logsGet, logsList, mediaCreate, mediaDelete, mediaGet, mediaList, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, tokensMint, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { PostrunError, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, createPostrunClient, googleCreateAd, googleCreateAdGroup, googleCreateBudget, googleCreateCampaign, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleDeleteAd, googleDeleteAdGroup, googleDeleteBudget, googleDeleteCampaign, googleDeleteKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroups, googleListAds, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRunGaql, googleSetAdGroupBids, googleSetConversionGoal, googleSetKeywordBid, googleUploadConversions, googleUploadImageAsset, logsGet, logsList, mediaCreate, mediaDelete, mediaGet, mediaList, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, tokensMint, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint } from './chunk-XXB7GZ3H.js';
|
|
2
|
+
import './chunk-EFB6IKZF.js';
|
|
3
3
|
|
|
4
4
|
// src/compose.ts
|
|
5
5
|
var ComposeError = class extends Error {
|
package/dist/schemas/index.cjs
CHANGED
|
@@ -37,7 +37,6 @@ var zErrorCode = z__namespace.enum([
|
|
|
37
37
|
"account_not_available",
|
|
38
38
|
"connection_reauth_required",
|
|
39
39
|
"connection_not_pending",
|
|
40
|
-
"connection_in_use",
|
|
41
40
|
"not_implemented",
|
|
42
41
|
"connection_discovery_failed",
|
|
43
42
|
"media_processing",
|
|
@@ -84,6 +83,7 @@ var zErrorCode = z__namespace.enum([
|
|
|
84
83
|
"media_failed",
|
|
85
84
|
"media_unsupported",
|
|
86
85
|
"media_kind_mismatch",
|
|
86
|
+
"variant_unparseable",
|
|
87
87
|
"publishing_unavailable",
|
|
88
88
|
"x_duplicate_content",
|
|
89
89
|
"x_not_authorized",
|
|
@@ -113,7 +113,8 @@ var zErrorCode = z__namespace.enum([
|
|
|
113
113
|
"tiktok_not_authorized",
|
|
114
114
|
"tiktok_rate_limited",
|
|
115
115
|
"tiktok_publish_failed",
|
|
116
|
-
"connection_platform_mismatch"
|
|
116
|
+
"connection_platform_mismatch",
|
|
117
|
+
"connection_removed"
|
|
117
118
|
]);
|
|
118
119
|
var zProfilesListQuery = z__namespace.object({
|
|
119
120
|
limit: z__namespace.int().gte(1).lte(100).optional().default(20),
|
|
@@ -1155,7 +1156,7 @@ var zPostsListResponse = z__namespace.object({
|
|
|
1155
1156
|
variants: z__namespace.array(z__namespace.object({
|
|
1156
1157
|
id: z__namespace.string(),
|
|
1157
1158
|
object: z__namespace.literal("post_variant"),
|
|
1158
|
-
connection_id: z__namespace.string(),
|
|
1159
|
+
connection_id: z__namespace.string().nullable(),
|
|
1159
1160
|
platform: z__namespace.enum([
|
|
1160
1161
|
"x",
|
|
1161
1162
|
"linkedin",
|
|
@@ -1434,7 +1435,7 @@ var zPostsCreateResponse = z__namespace.object({
|
|
|
1434
1435
|
variants: z__namespace.array(z__namespace.object({
|
|
1435
1436
|
id: z__namespace.string(),
|
|
1436
1437
|
object: z__namespace.literal("post_variant"),
|
|
1437
|
-
connection_id: z__namespace.string(),
|
|
1438
|
+
connection_id: z__namespace.string().nullable(),
|
|
1438
1439
|
platform: z__namespace.enum([
|
|
1439
1440
|
"x",
|
|
1440
1441
|
"linkedin",
|
|
@@ -1516,7 +1517,7 @@ var zPostsGetResponse = z__namespace.object({
|
|
|
1516
1517
|
variants: z__namespace.array(z__namespace.object({
|
|
1517
1518
|
id: z__namespace.string(),
|
|
1518
1519
|
object: z__namespace.literal("post_variant"),
|
|
1519
|
-
connection_id: z__namespace.string(),
|
|
1520
|
+
connection_id: z__namespace.string().nullable(),
|
|
1520
1521
|
platform: z__namespace.enum([
|
|
1521
1522
|
"x",
|
|
1522
1523
|
"linkedin",
|
|
@@ -1792,7 +1793,7 @@ var zPostsUpdateResponse = z__namespace.object({
|
|
|
1792
1793
|
variants: z__namespace.array(z__namespace.object({
|
|
1793
1794
|
id: z__namespace.string(),
|
|
1794
1795
|
object: z__namespace.literal("post_variant"),
|
|
1795
|
-
connection_id: z__namespace.string(),
|
|
1796
|
+
connection_id: z__namespace.string().nullable(),
|
|
1796
1797
|
platform: z__namespace.enum([
|
|
1797
1798
|
"x",
|
|
1798
1799
|
"linkedin",
|
|
@@ -2047,7 +2048,6 @@ var zPostsValidateResponse = z__namespace.object({
|
|
|
2047
2048
|
"account_not_available",
|
|
2048
2049
|
"connection_reauth_required",
|
|
2049
2050
|
"connection_not_pending",
|
|
2050
|
-
"connection_in_use",
|
|
2051
2051
|
"not_implemented",
|
|
2052
2052
|
"connection_discovery_failed",
|
|
2053
2053
|
"media_processing",
|
|
@@ -2094,6 +2094,7 @@ var zPostsValidateResponse = z__namespace.object({
|
|
|
2094
2094
|
"media_failed",
|
|
2095
2095
|
"media_unsupported",
|
|
2096
2096
|
"media_kind_mismatch",
|
|
2097
|
+
"variant_unparseable",
|
|
2097
2098
|
"publishing_unavailable",
|
|
2098
2099
|
"x_duplicate_content",
|
|
2099
2100
|
"x_not_authorized",
|
|
@@ -2123,7 +2124,8 @@ var zPostsValidateResponse = z__namespace.object({
|
|
|
2123
2124
|
"tiktok_not_authorized",
|
|
2124
2125
|
"tiktok_rate_limited",
|
|
2125
2126
|
"tiktok_publish_failed",
|
|
2126
|
-
"connection_platform_mismatch"
|
|
2127
|
+
"connection_platform_mismatch",
|
|
2128
|
+
"connection_removed"
|
|
2127
2129
|
]),
|
|
2128
2130
|
message: z__namespace.string(),
|
|
2129
2131
|
hint: z__namespace.string().optional(),
|