@postrun/js 2.16.0 → 2.17.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-DJXWVAER.js → chunk-LMZC6OUA.js} +64 -4
- package/dist/chunk-LMZC6OUA.js.map +1 -0
- package/dist/{chunk-WKKPLEFG.js → chunk-LSW34R3K.js} +53 -6
- package/dist/chunk-LSW34R3K.js.map +1 -0
- package/dist/index.cjs +215 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +75 -25
- package/dist/index.d.ts +75 -25
- package/dist/index.js +104 -53
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.cjs +60 -3
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +379 -4
- package/dist/schemas/index.d.ts +379 -4
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +48 -3
- 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-BfOYHbVm.d.cts → types.gen-B0Bb9XYb.d.cts} +967 -8
- package/dist/{types.gen-BfOYHbVm.d.ts → types.gen-B0Bb9XYb.d.ts} +967 -8
- package/package.json +3 -3
- package/dist/chunk-DJXWVAER.js.map +0 -1
- package/dist/chunk-WKKPLEFG.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
|
|
2
|
-
export {
|
|
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 MediaAbortData, bC as MediaAbortResponses, bD as MediaAbortErrors, bE as MediaCompleteData, bF as MediaCompleteResponses, bG as MediaCompleteErrors, bH as MediaCreateData, bI as MediaCreateResponses, bJ as MediaCreateErrors, bK as MediaDeleteData, bL as MediaDeleteResponses, bM as MediaDeleteErrors, bN as MediaGetData, bO as MediaGetResponses, bP as MediaGetErrors, bQ as MediaListData, bR as MediaListResponses, bS as MediaListErrors, bT as MediaListPartsData, bU as MediaListPartsResponses, bV as MediaListPartsErrors, bW as MediaSignPartData, bX as MediaSignPartResponses, bY as MediaSignPartErrors, bZ as MediaUpdateData, b_ as MediaUpdateResponses, b$ as MediaUpdateErrors, c0 as MetaAccountData, c1 as MetaAccountResponses, c2 as MetaAccountErrors, c3 as MetaAdData, c4 as MetaAdResponses, c5 as MetaAdErrors, c6 as MetaAdsData, c7 as MetaAdsResponses, c8 as MetaAdsErrors, c9 as MetaAdsetData, ca as MetaAdsetResponses, cb as MetaAdsetErrors, cc as MetaAdsetsData, cd as MetaAdsetsResponses, ce as MetaAdsetsErrors, cf as MetaCampaignData, cg as MetaCampaignResponses, ch as MetaCampaignErrors, ci as MetaCampaignsData, cj as MetaCampaignsResponses, ck as MetaCampaignsErrors, cl as MetaInsightsData, cm as MetaInsightsResponses, cn as MetaInsightsErrors, co as PostsCreateData, cp as PostsCreateResponses, cq as PostsCreateErrors, cr as PostsDeleteData, cs as PostsDeleteResponses, ct as PostsDeleteErrors, cu as PostsGetData, cv as PostsGetResponses, cw as PostsGetErrors, cx as PostsListData, cy as PostsListResponses, cz as PostsListErrors, cA as PostsUpdateData, cB as PostsUpdateResponses, cC as PostsUpdateErrors, cD as PostsValidateData, cE as PostsValidateResponses, cF as PostsValidateErrors, cG as ProfilesCreateData, cH as ProfilesCreateResponses, cI as ProfilesCreateErrors, cJ as ProfilesDeleteData, cK as ProfilesDeleteResponses, cL as ProfilesDeleteErrors, cM as ProfilesGetData, cN as ProfilesGetResponses, cO as ProfilesGetErrors, cP as ProfilesListData, cQ as ProfilesListResponses, cR as ProfilesListErrors, cS as ProfilesUpdateData, cT as ProfilesUpdateResponses, cU as ProfilesUpdateErrors, cV as TiktokCreatorInfoData, cW as TiktokCreatorInfoResponses, cX as TiktokCreatorInfoErrors, cY as TokensMintData, cZ as TokensMintResponses, c_ as TokensMintErrors, c$ as WebhooksCreateEndpointData, d0 as WebhooksCreateEndpointResponses, d1 as WebhooksCreateEndpointErrors, d2 as WebhooksCreatePortalData, d3 as WebhooksCreatePortalResponses, d4 as WebhooksCreatePortalErrors, d5 as WebhooksDeleteEndpointData, d6 as WebhooksDeleteEndpointResponses, d7 as WebhooksDeleteEndpointErrors, d8 as WebhooksGetEndpointData, d9 as WebhooksGetEndpointResponses, da as WebhooksGetEndpointErrors, db as WebhooksListEndpointsData, dc as WebhooksListEndpointsResponses, dd as WebhooksListEndpointsErrors, de as WebhooksListEventTypesData, df as WebhooksListEventTypesResponses, dg as WebhooksListEventTypesErrors, dh as WebhooksPingData, di as WebhooksPingResponses, dj as WebhooksPingErrors, dk as WebhooksUpdateEndpointData, dl as WebhooksUpdateEndpointResponses, dm as WebhooksUpdateEndpointErrors, dn as ErrorCode, dp as MediaGetResponse, dq as ConnectionsConnectResponse, dr as ConnectionsGetResponse, ds as ConnectionsListByProfileResponse, dt as MediaCreateResponse, du as ConnectionsListAccountsResponse, dv as MediaListResponse, dw as PostsGetResponse, dx as PostsListResponse, dy as PostsValidateResponse, dz as ProfilesGetResponse, dA as ProfilesListResponse, dB as TiktokCreatorInfoResponse, dC as PostrunClient } from './types.gen-B0Bb9XYb.cjs';
|
|
2
|
+
export { dD as ClientOptions, dE as ConnectionsConnectError, dF as ConnectionsDeleteError, dG as ConnectionsDeleteResponse, dH as ConnectionsGetError, dI as ConnectionsListAccountsError, dJ as ConnectionsListByProfileError, dK as ConnectionsSelectError, dL as ConnectionsSelectResponse, dM as CreatePostBody, dN as DiscoverableAccount, dO as GoogleCreateAdError, dP as GoogleCreateAdGroupError, dQ as GoogleCreateAdGroupResponse, dR as GoogleCreateAdResponse, dS as GoogleCreateBudgetError, dT as GoogleCreateBudgetResponse, dU as GoogleCreateCampaignError, dV as GoogleCreateCampaignResponse, dW as GoogleCreateConversionActionError, dX as GoogleCreateConversionActionResponse, dY as GoogleCreateDisplayAdError, dZ as GoogleCreateDisplayAdResponse, d_ as GoogleCreateKeywordError, d$ as GoogleCreateKeywordResponse, e0 as GoogleDeleteAdError, e1 as GoogleDeleteAdGroupError, e2 as GoogleDeleteAdGroupResponse, e3 as GoogleDeleteAdResponse, e4 as GoogleDeleteBudgetError, e5 as GoogleDeleteBudgetResponse, e6 as GoogleDeleteCampaignError, e7 as GoogleDeleteCampaignResponse, e8 as GoogleDeleteKeywordError, e9 as GoogleDeleteKeywordResponse, ea as GoogleEditAdGroupError, eb as GoogleEditAdGroupResponse, ec as GoogleEditBudgetError, ed as GoogleEditBudgetResponse, ee as GoogleEditCampaignError, ef as GoogleEditCampaignResponse, eg as GoogleEnableAdError, eh as GoogleEnableAdGroupError, ei as GoogleEnableAdGroupResponse, ej as GoogleEnableAdResponse, ek as GoogleEnableCampaignError, el as GoogleEnableCampaignResponse, em as GoogleEnableKeywordError, en as GoogleEnableKeywordResponse, eo as GoogleGetAccountError, ep as GoogleGetAccountResponse, eq as GoogleGetAdError, er as GoogleGetAdGroupError, es as GoogleGetAdGroupResponse, et as GoogleGetAdResponse, eu as GoogleGetCampaignError, ev as GoogleGetCampaignResponse, ew as GoogleGetConversionActionError, ex as GoogleGetConversionActionResponse, ey as GoogleGetInsightsError, ez as GoogleGetInsightsResponse, eA as GoogleGetKeywordError, eB as GoogleGetKeywordResponse, eC as GoogleListAdGroupsError, eD as GoogleListAdGroupsResponse, eE as GoogleListAdsError, eF as GoogleListAdsResponse, eG as GoogleListCampaignsError, eH as GoogleListCampaignsResponse, eI as GoogleListConversionActionsError, eJ as GoogleListConversionActionsResponse, eK as GoogleListConversionGoalsError, eL as GoogleListConversionGoalsResponse, eM as GoogleListKeywordsError, eN as GoogleListKeywordsResponse, eO as GooglePauseAdError, eP as GooglePauseAdGroupError, eQ as GooglePauseAdGroupResponse, eR as GooglePauseAdResponse, eS as GooglePauseCampaignError, eT as GooglePauseCampaignResponse, eU as GooglePauseKeywordError, eV as GooglePauseKeywordResponse, eW as GoogleRunGaqlError, eX as GoogleRunGaqlResponse, eY as GoogleSetAdGroupBidsError, eZ as GoogleSetAdGroupBidsResponse, e_ as GoogleSetConversionGoalError, e$ as GoogleSetConversionGoalResponse, f0 as GoogleSetKeywordBidError, f1 as GoogleSetKeywordBidResponse, f2 as GoogleUploadConversionsError, f3 as GoogleUploadConversionsResponse, f4 as GoogleUploadImageAssetError, f5 as GoogleUploadImageAssetResponse, f6 as LogsGetError, f7 as LogsGetResponse, f8 as LogsListError, f9 as LogsListResponse, fa as Media, fb as MediaAbortError, fc as MediaAbortResponse, fd as MediaCompleteError, fe as MediaCompleteResponse, ff as MediaCreateError, fg as MediaDeleteError, fh as MediaDeleteResponse, fi as MediaGetError, fj as MediaListError, fk as MediaListPartsError, fl as MediaListPartsResponse, fm as MediaSignPartError, fn as MediaSignPartResponse, fo as MediaStage, fp as MediaUpdateError, fq as MediaUpdateResponse, fr as MetaAccountError, fs as MetaAccountResponse, ft as MetaAdError, fu as MetaAdResponse, fv as MetaAdsError, fw as MetaAdsResponse, fx as MetaAdsetError, fy as MetaAdsetResponse, fz as MetaAdsetsError, fA as MetaAdsetsResponse, fB as MetaCampaignError, fC as MetaCampaignResponse, fD as MetaCampaignsError, fE as MetaCampaignsResponse, fF as MetaInsightsError, fG as MetaInsightsResponse, fH as PostType, fI as PostVariantStatus, fJ as PostrunClientOptions, fK as PostsCreateError, fL as PostsCreateResponse, fM as PostsDeleteError, fN as PostsDeleteResponse, fO as PostsGetError, fP as PostsListError, fQ as PostsUpdateError, fR as PostsUpdateResponse, fS as PostsValidateError, fT as ProfilesCreateError, fU as ProfilesCreateResponse, fV as ProfilesDeleteError, fW as ProfilesDeleteResponse, fX as ProfilesGetError, fY as ProfilesListError, fZ as ProfilesUpdateError, f_ as ProfilesUpdateResponse, f$ as TiktokCreatorInfoError, g0 as TokensMintError, g1 as TokensMintResponse, g2 as WebhooksCreateEndpointError, g3 as WebhooksCreateEndpointResponse, g4 as WebhooksCreatePortalError, g5 as WebhooksCreatePortalResponse, g6 as WebhooksDeleteEndpointError, g7 as WebhooksDeleteEndpointResponse, g8 as WebhooksGetEndpointError, g9 as WebhooksGetEndpointResponse, ga as WebhooksListEndpointsError, gb as WebhooksListEndpointsResponse, gc as WebhooksListEventTypesError, gd as WebhooksListEventTypesResponse, ge as WebhooksPingError, gf as WebhooksPingResponse, gg as WebhooksUpdateEndpointError, gh as WebhooksUpdateEndpointResponse, gi as createPostrunClient } from './types.gen-B0Bb9XYb.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> & {
|
|
@@ -116,7 +116,7 @@ declare const mediaList: <ThrowOnError extends boolean = true>(options?: Options
|
|
|
116
116
|
*
|
|
117
117
|
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `media:write` scoped to the target profile.
|
|
118
118
|
*
|
|
119
|
-
* Creates a media asset. Two ways to supply the bytes: (1) omit `source_url` and
|
|
119
|
+
* Creates a media asset. Two ways to supply the bytes: (1) omit `source_url` and upload the bytes with the returned multipart `upload` session — chunk the file at `part_size`, sign each part via `POST /media/{id}/multipart/sign`, PUT the bytes, then `POST /media/{id}/multipart/complete` (the direct-upload path; `upload` is non-null and resumable), or (2) supply a public `https` `source_url` and we fetch the bytes server-side, validate, transform, and store them (the import path; `upload` is null). Either way the asset settles through the same probe/transform flow.
|
|
120
120
|
*/
|
|
121
121
|
declare const mediaCreate: <ThrowOnError extends boolean = true>(options: Options<MediaCreateData, ThrowOnError>) => RequestResult<MediaCreateResponses, MediaCreateErrors, ThrowOnError>;
|
|
122
122
|
/**
|
|
@@ -143,6 +143,38 @@ declare const mediaGet: <ThrowOnError extends boolean = true>(options: Options<M
|
|
|
143
143
|
* Updates a media asset (alt text, metadata, external_id) or adds `targets` to pre-warm more platforms. Send only the fields to change.
|
|
144
144
|
*/
|
|
145
145
|
declare const mediaUpdate: <ThrowOnError extends boolean = true>(options: Options<MediaUpdateData, ThrowOnError>) => RequestResult<MediaUpdateResponses, MediaUpdateErrors, ThrowOnError>;
|
|
146
|
+
/**
|
|
147
|
+
* Sign an upload part
|
|
148
|
+
*
|
|
149
|
+
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `media:write` scoped to the profile that owns the media asset.
|
|
150
|
+
*
|
|
151
|
+
* Returns a presigned URL to PUT one part of a multipart upload. Chunk the file at the session’s `part_size` and sign each 1-indexed part; read each part PUT’s `ETag` for `complete`.
|
|
152
|
+
*/
|
|
153
|
+
declare const mediaSignPart: <ThrowOnError extends boolean = true>(options: Options<MediaSignPartData, ThrowOnError>) => RequestResult<MediaSignPartResponses, MediaSignPartErrors, ThrowOnError>;
|
|
154
|
+
/**
|
|
155
|
+
* List uploaded parts
|
|
156
|
+
*
|
|
157
|
+
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `media:write` scoped to the profile that owns the media asset.
|
|
158
|
+
*
|
|
159
|
+
* Lists the parts already uploaded for this asset’s multipart upload (ascending). Skip re-uploading these to resume after a dropped connection.
|
|
160
|
+
*/
|
|
161
|
+
declare const mediaListParts: <ThrowOnError extends boolean = true>(options: Options<MediaListPartsData, ThrowOnError>) => RequestResult<MediaListPartsResponses, MediaListPartsErrors, ThrowOnError>;
|
|
162
|
+
/**
|
|
163
|
+
* Complete an upload
|
|
164
|
+
*
|
|
165
|
+
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `media:write` scoped to the profile that owns the media asset.
|
|
166
|
+
*
|
|
167
|
+
* Finishes a multipart upload by assembling the uploaded parts. Send every part as `{ part_number, etag }`. Idempotent: completing an already-finished upload returns the asset.
|
|
168
|
+
*/
|
|
169
|
+
declare const mediaComplete: <ThrowOnError extends boolean = true>(options: Options<MediaCompleteData, ThrowOnError>) => RequestResult<MediaCompleteResponses, MediaCompleteErrors, ThrowOnError>;
|
|
170
|
+
/**
|
|
171
|
+
* Abort an upload
|
|
172
|
+
*
|
|
173
|
+
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `media:write` scoped to the profile that owns the media asset.
|
|
174
|
+
*
|
|
175
|
+
* Aborts an in-flight multipart upload and discards its parts. Idempotent: aborting an already-finished or unknown upload still returns the asset.
|
|
176
|
+
*/
|
|
177
|
+
declare const mediaAbort: <ThrowOnError extends boolean = true>(options: Options<MediaAbortData, ThrowOnError>) => RequestResult<MediaAbortResponses, MediaAbortErrors, ThrowOnError>;
|
|
146
178
|
/**
|
|
147
179
|
* List posts
|
|
148
180
|
*
|
|
@@ -911,10 +943,8 @@ type MediaResource = MediaGetResponse;
|
|
|
911
943
|
type MediaKind = NonNullable<MediaResource['kind']>;
|
|
912
944
|
/** A media render target — a post platform or `google_ads`. */
|
|
913
945
|
type MediaTarget = NonNullable<NonNullable<MediaCreateData['body']>['targets']>[number];
|
|
914
|
-
/** The create-media response: the resource plus a
|
|
946
|
+
/** The create-media response: the resource plus a multipart upload session. */
|
|
915
947
|
type CreateMediaResult = MediaCreateResponse;
|
|
916
|
-
/** The signed direct-to-storage upload target returned on create. */
|
|
917
|
-
type UploadTarget = NonNullable<CreateMediaResult['upload']>;
|
|
918
948
|
/** Request body to create a media asset. */
|
|
919
949
|
type CreateMediaInput = NonNullable<MediaCreateData['body']>;
|
|
920
950
|
/** Request body to update a media asset (alt text / metadata / extend targets). */
|
|
@@ -945,29 +975,49 @@ type Metadata = NonNullable<CreateMediaInput['metadata']>;
|
|
|
945
975
|
*/
|
|
946
976
|
type MetadataFilter = NonNullable<ListMediaQuery['metadata']>;
|
|
947
977
|
|
|
948
|
-
/**
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
978
|
+
/**
|
|
979
|
+
* The multipart session the create response carries on its `upload` field — the
|
|
980
|
+
* cached `{ upload_id, key, part_size, expires_at }` Uppy's `createMultipartUpload`
|
|
981
|
+
* returns without a second HTTP call. Derived from the contract, never declared.
|
|
982
|
+
*/
|
|
983
|
+
type MultipartSession = NonNullable<MediaCreateResponse['upload']>;
|
|
984
|
+
interface UploadFileOptions {
|
|
985
|
+
/** The media id the create call returned — binds the multipart sub-endpoints. */
|
|
986
|
+
mediaId: string;
|
|
987
|
+
/** The cached `upload` session from the create response (`upload_id`/`key`/…). */
|
|
988
|
+
session: MultipartSession;
|
|
989
|
+
/** The typed client the sub-endpoint calls go through (auth + base URL). */
|
|
990
|
+
client: PostrunClient;
|
|
991
|
+
/** Fraction uploaded, 0..1, as bytes flow; called once with 1 on success. */
|
|
955
992
|
onProgress?: (fraction: number) => void;
|
|
956
|
-
/** Abort the in-flight upload (and
|
|
993
|
+
/** Abort the in-flight upload (cancels Uppy and aborts the R2 session). */
|
|
957
994
|
signal?: AbortSignal;
|
|
958
|
-
/** Max retry attempts for retriable failures (network / 5xx / 429). Default 3. */
|
|
959
|
-
retries?: number;
|
|
960
995
|
}
|
|
961
996
|
/**
|
|
962
|
-
*
|
|
963
|
-
*
|
|
964
|
-
*
|
|
965
|
-
*
|
|
966
|
-
*
|
|
967
|
-
*
|
|
968
|
-
*
|
|
997
|
+
* Upload ONE file's bytes to R2 with a resilient, resumable multipart upload,
|
|
998
|
+
* driving `@uppy/aws-s3` headless (no DOM). Uppy owns the bug-prone mechanics —
|
|
999
|
+
* fixed-size chunking, parallel parts, per-part retry, resume via `listParts`,
|
|
1000
|
+
* and progress — wired to OUR signing endpoints (`createMultipartUpload` returns
|
|
1001
|
+
* the cached create-response session, so there's no extra round-trip to start).
|
|
1002
|
+
*
|
|
1003
|
+
* Resolves when the upload is fully assembled on R2 (the object then settles
|
|
1004
|
+
* through the same probe/transform pipeline a `source_url` import does). Throws
|
|
1005
|
+
* {@link UploadError} on a hard failure, or a `DOMException('AbortError')` when
|
|
1006
|
+
* `signal` fires.
|
|
969
1007
|
*/
|
|
970
|
-
declare function
|
|
1008
|
+
declare function uploadFile(file: Blob, options: UploadFileOptions): Promise<void>;
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* A failed direct-to-storage (multipart) upload. `cause` carries the underlying
|
|
1012
|
+
* Uppy / network / API error so callers can inspect the real reason; `message` is
|
|
1013
|
+
* a short human summary. Thrown by {@link uploadFile} on a hard upload failure
|
|
1014
|
+
* (one or more parts could not be uploaded, or `complete` failed).
|
|
1015
|
+
*/
|
|
1016
|
+
declare class UploadError extends Error {
|
|
1017
|
+
constructor(message: string, options?: {
|
|
1018
|
+
cause?: unknown;
|
|
1019
|
+
});
|
|
1020
|
+
}
|
|
971
1021
|
|
|
972
1022
|
/**
|
|
973
1023
|
* Map a TikTok privacy level to a short, human label for the composer's privacy
|
|
@@ -1217,4 +1267,4 @@ declare function buildCreatePost(input: ComposePostInput, connections: readonly
|
|
|
1217
1267
|
*/
|
|
1218
1268
|
declare function buildUpdatePost(input: ComposeUpdateInput, connections?: readonly ConnectionRef[]): UpdatePostInput;
|
|
1219
1269
|
|
|
1220
|
-
export { type ChannelConfig, type Channels, ComposeError, type ComposePostInput, type ComposeUpdateInput, type ConnectSession, type ConnectablePlatform, type Connection, type ConnectionKind, type ConnectionList, type ConnectionRef, type ConnectionStatus, ConnectionsConnectData, ConnectionsConnectErrors, ConnectionsConnectResponse, ConnectionsConnectResponses, ConnectionsDeleteData, ConnectionsDeleteErrors, ConnectionsDeleteResponses, ConnectionsGetData, ConnectionsGetErrors, ConnectionsGetResponse, ConnectionsGetResponses, ConnectionsListAccountsData, ConnectionsListAccountsErrors, ConnectionsListAccountsResponse, ConnectionsListAccountsResponses, ConnectionsListByProfileData, ConnectionsListByProfileErrors, ConnectionsListByProfileResponse, ConnectionsListByProfileResponses, ConnectionsSelectData, ConnectionsSelectErrors, ConnectionsSelectResponses, type CreateMediaInput, type CreateMediaResult, type CreatePostInput, type CreateProfileInput, type DiscoverableAccountList, ErrorCode, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleDeleteAdData, GoogleDeleteAdErrors, GoogleDeleteAdGroupData, GoogleDeleteAdGroupErrors, GoogleDeleteAdGroupResponses, GoogleDeleteAdResponses, GoogleDeleteBudgetData, GoogleDeleteBudgetErrors, GoogleDeleteBudgetResponses, GoogleDeleteCampaignData, GoogleDeleteCampaignErrors, GoogleDeleteCampaignResponses, GoogleDeleteKeywordData, GoogleDeleteKeywordErrors, GoogleDeleteKeywordResponses, GoogleEditAdGroupData, GoogleEditAdGroupErrors, GoogleEditAdGroupResponses, GoogleEditBudgetData, GoogleEditBudgetErrors, GoogleEditBudgetResponses, GoogleEditCampaignData, GoogleEditCampaignErrors, GoogleEditCampaignResponses, GoogleEnableAdData, GoogleEnableAdErrors, GoogleEnableAdGroupData, GoogleEnableAdGroupErrors, GoogleEnableAdGroupResponses, GoogleEnableAdResponses, GoogleEnableCampaignData, GoogleEnableCampaignErrors, GoogleEnableCampaignResponses, GoogleEnableKeywordData, GoogleEnableKeywordErrors, GoogleEnableKeywordResponses, GoogleGetAccountData, GoogleGetAccountErrors, GoogleGetAccountResponses, GoogleGetAdData, GoogleGetAdErrors, GoogleGetAdGroupData, GoogleGetAdGroupErrors, GoogleGetAdGroupResponses, GoogleGetAdResponses, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUploadConversionsData, GoogleUploadConversionsErrors, GoogleUploadConversionsResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type InstagramPostVariant, type LinkedInPollDuration, type LinkedInPostVariant, type ListConnectionsQuery, type ListMediaQuery, type ListPostsQuery, type ListProfilesQuery, LogsGetData, LogsGetErrors, LogsGetResponses, LogsListData, LogsListErrors, LogsListResponses, MediaCreateData, MediaCreateErrors, MediaCreateResponse, MediaCreateResponses, MediaDeleteData, MediaDeleteErrors, MediaDeleteResponses, MediaGetData, MediaGetErrors, MediaGetResponse, MediaGetResponses, type MediaInput, type MediaKind, type MediaList, MediaListData, MediaListErrors, MediaListResponse, MediaListResponses, type MediaResource, type MediaStatus, type MediaTarget, MediaUpdateData, MediaUpdateErrors, MediaUpdateResponses, MetaAccountData, MetaAccountErrors, MetaAccountResponses, MetaAdData, MetaAdErrors, MetaAdResponses, MetaAdsData, MetaAdsErrors, MetaAdsResponses, MetaAdsetData, MetaAdsetErrors, MetaAdsetResponses, MetaAdsetsData, MetaAdsetsErrors, MetaAdsetsResponses, MetaCampaignData, MetaCampaignErrors, MetaCampaignResponses, MetaCampaignsData, MetaCampaignsErrors, MetaCampaignsResponses, MetaInsightsData, MetaInsightsErrors, MetaInsightsResponses, type Metadata, type MetadataFilter, type Options, POST_PLATFORMS, type Post, type PostContent, type PostList, type PostMetadata, type PostPlatform, type PostStatus, type PostTypeFor, type PostValidation, type PostVariant, type PostVariantError, type PostVariantInput, PostrunError, type PostrunErrorCode, type PostrunFieldError, type PostrunProblem, PostsCreateData, PostsCreateErrors, PostsCreateResponses, PostsDeleteData, PostsDeleteErrors, PostsDeleteResponses, PostsGetData, PostsGetErrors, PostsGetResponse, PostsGetResponses, PostsListData, PostsListErrors, PostsListResponse, PostsListResponses, PostsUpdateData, PostsUpdateErrors, PostsUpdateResponses, PostsValidateData, PostsValidateErrors, PostsValidateResponse, PostsValidateResponses, type Profile, type ProfileList, ProfilesCreateData, ProfilesCreateErrors, ProfilesCreateResponses, ProfilesDeleteData, ProfilesDeleteErrors, ProfilesDeleteResponses, ProfilesGetData, ProfilesGetErrors, ProfilesGetResponse, ProfilesGetResponses, ProfilesListData, ProfilesListErrors, ProfilesListResponse, ProfilesListResponses, ProfilesUpdateData, ProfilesUpdateErrors, ProfilesUpdateResponses, type PublishMode, type SelectAccountInput, type SettingsFor, TIKTOK_AUDIENCE_REQUIRED_HINT, TIKTOK_BRANDED_CONTENT_POLICY_URL, TIKTOK_CAPTION_MAX, TIKTOK_DISCLOSURE_REQUIRED_HINT, TIKTOK_MUSIC_CONFIRMATION_URL, TIKTOK_PROCESSING_NOTICE, type TikTokBrandKind, type TikTokCreatorInfo, type TikTokInteractionKey, type TikTokInteractionRow, type TikTokOptionsValue, type TikTokPostVariant, type TikTokPrivacyChoice, type TikTokPrivacyLevel, TiktokCreatorInfoData, TiktokCreatorInfoErrors, TiktokCreatorInfoResponse, TiktokCreatorInfoResponses, TokensMintData, TokensMintErrors, TokensMintResponses, type UpdateMediaInput, type UpdatePostInput, type UpdateProfileInput, UploadError, type UploadTarget, type UploadToTargetOptions, 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, googleCreateBudget, googleCreateCampaign, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleDeleteAd, googleDeleteAdGroup, googleDeleteBudget, googleDeleteCampaign, googleDeleteKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroups, googleListAds, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRunGaql, googleSetAdGroupBids, googleSetConversionGoal, googleSetKeywordBid, googleUploadConversions, googleUploadImageAsset, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, logsGet, logsList, mediaCreate, mediaDelete, mediaGet, mediaList, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, parsePrivacyLevel, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, privacyChoices, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, setBrandKind, setCommercialDisclosure, tiktokCreatorInfo, tiktokOptionsReady, tiktokPrivacyLabel, tiktokSettings, toggleInteraction, tokensMint, uploadToTarget, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint, xPollDurationLabel };
|
|
1270
|
+
export { type ChannelConfig, type Channels, ComposeError, type ComposePostInput, type ComposeUpdateInput, type ConnectSession, type ConnectablePlatform, type Connection, type ConnectionKind, type ConnectionList, type ConnectionRef, type ConnectionStatus, ConnectionsConnectData, ConnectionsConnectErrors, ConnectionsConnectResponse, ConnectionsConnectResponses, ConnectionsDeleteData, ConnectionsDeleteErrors, ConnectionsDeleteResponses, ConnectionsGetData, ConnectionsGetErrors, ConnectionsGetResponse, ConnectionsGetResponses, ConnectionsListAccountsData, ConnectionsListAccountsErrors, ConnectionsListAccountsResponse, ConnectionsListAccountsResponses, ConnectionsListByProfileData, ConnectionsListByProfileErrors, ConnectionsListByProfileResponse, ConnectionsListByProfileResponses, ConnectionsSelectData, ConnectionsSelectErrors, ConnectionsSelectResponses, type CreateMediaInput, type CreateMediaResult, type CreatePostInput, type CreateProfileInput, type DiscoverableAccountList, ErrorCode, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleDeleteAdData, GoogleDeleteAdErrors, GoogleDeleteAdGroupData, GoogleDeleteAdGroupErrors, GoogleDeleteAdGroupResponses, GoogleDeleteAdResponses, GoogleDeleteBudgetData, GoogleDeleteBudgetErrors, GoogleDeleteBudgetResponses, GoogleDeleteCampaignData, GoogleDeleteCampaignErrors, GoogleDeleteCampaignResponses, GoogleDeleteKeywordData, GoogleDeleteKeywordErrors, GoogleDeleteKeywordResponses, GoogleEditAdGroupData, GoogleEditAdGroupErrors, GoogleEditAdGroupResponses, GoogleEditBudgetData, GoogleEditBudgetErrors, GoogleEditBudgetResponses, GoogleEditCampaignData, GoogleEditCampaignErrors, GoogleEditCampaignResponses, GoogleEnableAdData, GoogleEnableAdErrors, GoogleEnableAdGroupData, GoogleEnableAdGroupErrors, GoogleEnableAdGroupResponses, GoogleEnableAdResponses, GoogleEnableCampaignData, GoogleEnableCampaignErrors, GoogleEnableCampaignResponses, GoogleEnableKeywordData, GoogleEnableKeywordErrors, GoogleEnableKeywordResponses, GoogleGetAccountData, GoogleGetAccountErrors, GoogleGetAccountResponses, GoogleGetAdData, GoogleGetAdErrors, GoogleGetAdGroupData, GoogleGetAdGroupErrors, GoogleGetAdGroupResponses, GoogleGetAdResponses, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUploadConversionsData, GoogleUploadConversionsErrors, GoogleUploadConversionsResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type 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, googleCreateBudget, googleCreateCampaign, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleDeleteAd, googleDeleteAdGroup, googleDeleteBudget, googleDeleteCampaign, googleDeleteKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroups, googleListAds, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRunGaql, googleSetAdGroupBids, googleSetConversionGoal, googleSetKeywordBid, googleUploadConversions, googleUploadImageAsset, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, logsGet, logsList, 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 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
|
|
2
|
-
export {
|
|
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 MediaAbortData, bC as MediaAbortResponses, bD as MediaAbortErrors, bE as MediaCompleteData, bF as MediaCompleteResponses, bG as MediaCompleteErrors, bH as MediaCreateData, bI as MediaCreateResponses, bJ as MediaCreateErrors, bK as MediaDeleteData, bL as MediaDeleteResponses, bM as MediaDeleteErrors, bN as MediaGetData, bO as MediaGetResponses, bP as MediaGetErrors, bQ as MediaListData, bR as MediaListResponses, bS as MediaListErrors, bT as MediaListPartsData, bU as MediaListPartsResponses, bV as MediaListPartsErrors, bW as MediaSignPartData, bX as MediaSignPartResponses, bY as MediaSignPartErrors, bZ as MediaUpdateData, b_ as MediaUpdateResponses, b$ as MediaUpdateErrors, c0 as MetaAccountData, c1 as MetaAccountResponses, c2 as MetaAccountErrors, c3 as MetaAdData, c4 as MetaAdResponses, c5 as MetaAdErrors, c6 as MetaAdsData, c7 as MetaAdsResponses, c8 as MetaAdsErrors, c9 as MetaAdsetData, ca as MetaAdsetResponses, cb as MetaAdsetErrors, cc as MetaAdsetsData, cd as MetaAdsetsResponses, ce as MetaAdsetsErrors, cf as MetaCampaignData, cg as MetaCampaignResponses, ch as MetaCampaignErrors, ci as MetaCampaignsData, cj as MetaCampaignsResponses, ck as MetaCampaignsErrors, cl as MetaInsightsData, cm as MetaInsightsResponses, cn as MetaInsightsErrors, co as PostsCreateData, cp as PostsCreateResponses, cq as PostsCreateErrors, cr as PostsDeleteData, cs as PostsDeleteResponses, ct as PostsDeleteErrors, cu as PostsGetData, cv as PostsGetResponses, cw as PostsGetErrors, cx as PostsListData, cy as PostsListResponses, cz as PostsListErrors, cA as PostsUpdateData, cB as PostsUpdateResponses, cC as PostsUpdateErrors, cD as PostsValidateData, cE as PostsValidateResponses, cF as PostsValidateErrors, cG as ProfilesCreateData, cH as ProfilesCreateResponses, cI as ProfilesCreateErrors, cJ as ProfilesDeleteData, cK as ProfilesDeleteResponses, cL as ProfilesDeleteErrors, cM as ProfilesGetData, cN as ProfilesGetResponses, cO as ProfilesGetErrors, cP as ProfilesListData, cQ as ProfilesListResponses, cR as ProfilesListErrors, cS as ProfilesUpdateData, cT as ProfilesUpdateResponses, cU as ProfilesUpdateErrors, cV as TiktokCreatorInfoData, cW as TiktokCreatorInfoResponses, cX as TiktokCreatorInfoErrors, cY as TokensMintData, cZ as TokensMintResponses, c_ as TokensMintErrors, c$ as WebhooksCreateEndpointData, d0 as WebhooksCreateEndpointResponses, d1 as WebhooksCreateEndpointErrors, d2 as WebhooksCreatePortalData, d3 as WebhooksCreatePortalResponses, d4 as WebhooksCreatePortalErrors, d5 as WebhooksDeleteEndpointData, d6 as WebhooksDeleteEndpointResponses, d7 as WebhooksDeleteEndpointErrors, d8 as WebhooksGetEndpointData, d9 as WebhooksGetEndpointResponses, da as WebhooksGetEndpointErrors, db as WebhooksListEndpointsData, dc as WebhooksListEndpointsResponses, dd as WebhooksListEndpointsErrors, de as WebhooksListEventTypesData, df as WebhooksListEventTypesResponses, dg as WebhooksListEventTypesErrors, dh as WebhooksPingData, di as WebhooksPingResponses, dj as WebhooksPingErrors, dk as WebhooksUpdateEndpointData, dl as WebhooksUpdateEndpointResponses, dm as WebhooksUpdateEndpointErrors, dn as ErrorCode, dp as MediaGetResponse, dq as ConnectionsConnectResponse, dr as ConnectionsGetResponse, ds as ConnectionsListByProfileResponse, dt as MediaCreateResponse, du as ConnectionsListAccountsResponse, dv as MediaListResponse, dw as PostsGetResponse, dx as PostsListResponse, dy as PostsValidateResponse, dz as ProfilesGetResponse, dA as ProfilesListResponse, dB as TiktokCreatorInfoResponse, dC as PostrunClient } from './types.gen-B0Bb9XYb.js';
|
|
2
|
+
export { dD as ClientOptions, dE as ConnectionsConnectError, dF as ConnectionsDeleteError, dG as ConnectionsDeleteResponse, dH as ConnectionsGetError, dI as ConnectionsListAccountsError, dJ as ConnectionsListByProfileError, dK as ConnectionsSelectError, dL as ConnectionsSelectResponse, dM as CreatePostBody, dN as DiscoverableAccount, dO as GoogleCreateAdError, dP as GoogleCreateAdGroupError, dQ as GoogleCreateAdGroupResponse, dR as GoogleCreateAdResponse, dS as GoogleCreateBudgetError, dT as GoogleCreateBudgetResponse, dU as GoogleCreateCampaignError, dV as GoogleCreateCampaignResponse, dW as GoogleCreateConversionActionError, dX as GoogleCreateConversionActionResponse, dY as GoogleCreateDisplayAdError, dZ as GoogleCreateDisplayAdResponse, d_ as GoogleCreateKeywordError, d$ as GoogleCreateKeywordResponse, e0 as GoogleDeleteAdError, e1 as GoogleDeleteAdGroupError, e2 as GoogleDeleteAdGroupResponse, e3 as GoogleDeleteAdResponse, e4 as GoogleDeleteBudgetError, e5 as GoogleDeleteBudgetResponse, e6 as GoogleDeleteCampaignError, e7 as GoogleDeleteCampaignResponse, e8 as GoogleDeleteKeywordError, e9 as GoogleDeleteKeywordResponse, ea as GoogleEditAdGroupError, eb as GoogleEditAdGroupResponse, ec as GoogleEditBudgetError, ed as GoogleEditBudgetResponse, ee as GoogleEditCampaignError, ef as GoogleEditCampaignResponse, eg as GoogleEnableAdError, eh as GoogleEnableAdGroupError, ei as GoogleEnableAdGroupResponse, ej as GoogleEnableAdResponse, ek as GoogleEnableCampaignError, el as GoogleEnableCampaignResponse, em as GoogleEnableKeywordError, en as GoogleEnableKeywordResponse, eo as GoogleGetAccountError, ep as GoogleGetAccountResponse, eq as GoogleGetAdError, er as GoogleGetAdGroupError, es as GoogleGetAdGroupResponse, et as GoogleGetAdResponse, eu as GoogleGetCampaignError, ev as GoogleGetCampaignResponse, ew as GoogleGetConversionActionError, ex as GoogleGetConversionActionResponse, ey as GoogleGetInsightsError, ez as GoogleGetInsightsResponse, eA as GoogleGetKeywordError, eB as GoogleGetKeywordResponse, eC as GoogleListAdGroupsError, eD as GoogleListAdGroupsResponse, eE as GoogleListAdsError, eF as GoogleListAdsResponse, eG as GoogleListCampaignsError, eH as GoogleListCampaignsResponse, eI as GoogleListConversionActionsError, eJ as GoogleListConversionActionsResponse, eK as GoogleListConversionGoalsError, eL as GoogleListConversionGoalsResponse, eM as GoogleListKeywordsError, eN as GoogleListKeywordsResponse, eO as GooglePauseAdError, eP as GooglePauseAdGroupError, eQ as GooglePauseAdGroupResponse, eR as GooglePauseAdResponse, eS as GooglePauseCampaignError, eT as GooglePauseCampaignResponse, eU as GooglePauseKeywordError, eV as GooglePauseKeywordResponse, eW as GoogleRunGaqlError, eX as GoogleRunGaqlResponse, eY as GoogleSetAdGroupBidsError, eZ as GoogleSetAdGroupBidsResponse, e_ as GoogleSetConversionGoalError, e$ as GoogleSetConversionGoalResponse, f0 as GoogleSetKeywordBidError, f1 as GoogleSetKeywordBidResponse, f2 as GoogleUploadConversionsError, f3 as GoogleUploadConversionsResponse, f4 as GoogleUploadImageAssetError, f5 as GoogleUploadImageAssetResponse, f6 as LogsGetError, f7 as LogsGetResponse, f8 as LogsListError, f9 as LogsListResponse, fa as Media, fb as MediaAbortError, fc as MediaAbortResponse, fd as MediaCompleteError, fe as MediaCompleteResponse, ff as MediaCreateError, fg as MediaDeleteError, fh as MediaDeleteResponse, fi as MediaGetError, fj as MediaListError, fk as MediaListPartsError, fl as MediaListPartsResponse, fm as MediaSignPartError, fn as MediaSignPartResponse, fo as MediaStage, fp as MediaUpdateError, fq as MediaUpdateResponse, fr as MetaAccountError, fs as MetaAccountResponse, ft as MetaAdError, fu as MetaAdResponse, fv as MetaAdsError, fw as MetaAdsResponse, fx as MetaAdsetError, fy as MetaAdsetResponse, fz as MetaAdsetsError, fA as MetaAdsetsResponse, fB as MetaCampaignError, fC as MetaCampaignResponse, fD as MetaCampaignsError, fE as MetaCampaignsResponse, fF as MetaInsightsError, fG as MetaInsightsResponse, fH as PostType, fI as PostVariantStatus, fJ as PostrunClientOptions, fK as PostsCreateError, fL as PostsCreateResponse, fM as PostsDeleteError, fN as PostsDeleteResponse, fO as PostsGetError, fP as PostsListError, fQ as PostsUpdateError, fR as PostsUpdateResponse, fS as PostsValidateError, fT as ProfilesCreateError, fU as ProfilesCreateResponse, fV as ProfilesDeleteError, fW as ProfilesDeleteResponse, fX as ProfilesGetError, fY as ProfilesListError, fZ as ProfilesUpdateError, f_ as ProfilesUpdateResponse, f$ as TiktokCreatorInfoError, g0 as TokensMintError, g1 as TokensMintResponse, g2 as WebhooksCreateEndpointError, g3 as WebhooksCreateEndpointResponse, g4 as WebhooksCreatePortalError, g5 as WebhooksCreatePortalResponse, g6 as WebhooksDeleteEndpointError, g7 as WebhooksDeleteEndpointResponse, g8 as WebhooksGetEndpointError, g9 as WebhooksGetEndpointResponse, ga as WebhooksListEndpointsError, gb as WebhooksListEndpointsResponse, gc as WebhooksListEventTypesError, gd as WebhooksListEventTypesResponse, ge as WebhooksPingError, gf as WebhooksPingResponse, gg as WebhooksUpdateEndpointError, gh as WebhooksUpdateEndpointResponse, gi as createPostrunClient } from './types.gen-B0Bb9XYb.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> & {
|
|
@@ -116,7 +116,7 @@ declare const mediaList: <ThrowOnError extends boolean = true>(options?: Options
|
|
|
116
116
|
*
|
|
117
117
|
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `media:write` scoped to the target profile.
|
|
118
118
|
*
|
|
119
|
-
* Creates a media asset. Two ways to supply the bytes: (1) omit `source_url` and
|
|
119
|
+
* Creates a media asset. Two ways to supply the bytes: (1) omit `source_url` and upload the bytes with the returned multipart `upload` session — chunk the file at `part_size`, sign each part via `POST /media/{id}/multipart/sign`, PUT the bytes, then `POST /media/{id}/multipart/complete` (the direct-upload path; `upload` is non-null and resumable), or (2) supply a public `https` `source_url` and we fetch the bytes server-side, validate, transform, and store them (the import path; `upload` is null). Either way the asset settles through the same probe/transform flow.
|
|
120
120
|
*/
|
|
121
121
|
declare const mediaCreate: <ThrowOnError extends boolean = true>(options: Options<MediaCreateData, ThrowOnError>) => RequestResult<MediaCreateResponses, MediaCreateErrors, ThrowOnError>;
|
|
122
122
|
/**
|
|
@@ -143,6 +143,38 @@ declare const mediaGet: <ThrowOnError extends boolean = true>(options: Options<M
|
|
|
143
143
|
* Updates a media asset (alt text, metadata, external_id) or adds `targets` to pre-warm more platforms. Send only the fields to change.
|
|
144
144
|
*/
|
|
145
145
|
declare const mediaUpdate: <ThrowOnError extends boolean = true>(options: Options<MediaUpdateData, ThrowOnError>) => RequestResult<MediaUpdateResponses, MediaUpdateErrors, ThrowOnError>;
|
|
146
|
+
/**
|
|
147
|
+
* Sign an upload part
|
|
148
|
+
*
|
|
149
|
+
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `media:write` scoped to the profile that owns the media asset.
|
|
150
|
+
*
|
|
151
|
+
* Returns a presigned URL to PUT one part of a multipart upload. Chunk the file at the session’s `part_size` and sign each 1-indexed part; read each part PUT’s `ETag` for `complete`.
|
|
152
|
+
*/
|
|
153
|
+
declare const mediaSignPart: <ThrowOnError extends boolean = true>(options: Options<MediaSignPartData, ThrowOnError>) => RequestResult<MediaSignPartResponses, MediaSignPartErrors, ThrowOnError>;
|
|
154
|
+
/**
|
|
155
|
+
* List uploaded parts
|
|
156
|
+
*
|
|
157
|
+
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `media:write` scoped to the profile that owns the media asset.
|
|
158
|
+
*
|
|
159
|
+
* Lists the parts already uploaded for this asset’s multipart upload (ascending). Skip re-uploading these to resume after a dropped connection.
|
|
160
|
+
*/
|
|
161
|
+
declare const mediaListParts: <ThrowOnError extends boolean = true>(options: Options<MediaListPartsData, ThrowOnError>) => RequestResult<MediaListPartsResponses, MediaListPartsErrors, ThrowOnError>;
|
|
162
|
+
/**
|
|
163
|
+
* Complete an upload
|
|
164
|
+
*
|
|
165
|
+
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `media:write` scoped to the profile that owns the media asset.
|
|
166
|
+
*
|
|
167
|
+
* Finishes a multipart upload by assembling the uploaded parts. Send every part as `{ part_number, etag }`. Idempotent: completing an already-finished upload returns the asset.
|
|
168
|
+
*/
|
|
169
|
+
declare const mediaComplete: <ThrowOnError extends boolean = true>(options: Options<MediaCompleteData, ThrowOnError>) => RequestResult<MediaCompleteResponses, MediaCompleteErrors, ThrowOnError>;
|
|
170
|
+
/**
|
|
171
|
+
* Abort an upload
|
|
172
|
+
*
|
|
173
|
+
* **Authentication.** Secret `pr_` API key, or a browser-safe frontend token granting `media:write` scoped to the profile that owns the media asset.
|
|
174
|
+
*
|
|
175
|
+
* Aborts an in-flight multipart upload and discards its parts. Idempotent: aborting an already-finished or unknown upload still returns the asset.
|
|
176
|
+
*/
|
|
177
|
+
declare const mediaAbort: <ThrowOnError extends boolean = true>(options: Options<MediaAbortData, ThrowOnError>) => RequestResult<MediaAbortResponses, MediaAbortErrors, ThrowOnError>;
|
|
146
178
|
/**
|
|
147
179
|
* List posts
|
|
148
180
|
*
|
|
@@ -911,10 +943,8 @@ type MediaResource = MediaGetResponse;
|
|
|
911
943
|
type MediaKind = NonNullable<MediaResource['kind']>;
|
|
912
944
|
/** A media render target — a post platform or `google_ads`. */
|
|
913
945
|
type MediaTarget = NonNullable<NonNullable<MediaCreateData['body']>['targets']>[number];
|
|
914
|
-
/** The create-media response: the resource plus a
|
|
946
|
+
/** The create-media response: the resource plus a multipart upload session. */
|
|
915
947
|
type CreateMediaResult = MediaCreateResponse;
|
|
916
|
-
/** The signed direct-to-storage upload target returned on create. */
|
|
917
|
-
type UploadTarget = NonNullable<CreateMediaResult['upload']>;
|
|
918
948
|
/** Request body to create a media asset. */
|
|
919
949
|
type CreateMediaInput = NonNullable<MediaCreateData['body']>;
|
|
920
950
|
/** Request body to update a media asset (alt text / metadata / extend targets). */
|
|
@@ -945,29 +975,49 @@ type Metadata = NonNullable<CreateMediaInput['metadata']>;
|
|
|
945
975
|
*/
|
|
946
976
|
type MetadataFilter = NonNullable<ListMediaQuery['metadata']>;
|
|
947
977
|
|
|
948
|
-
/**
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
978
|
+
/**
|
|
979
|
+
* The multipart session the create response carries on its `upload` field — the
|
|
980
|
+
* cached `{ upload_id, key, part_size, expires_at }` Uppy's `createMultipartUpload`
|
|
981
|
+
* returns without a second HTTP call. Derived from the contract, never declared.
|
|
982
|
+
*/
|
|
983
|
+
type MultipartSession = NonNullable<MediaCreateResponse['upload']>;
|
|
984
|
+
interface UploadFileOptions {
|
|
985
|
+
/** The media id the create call returned — binds the multipart sub-endpoints. */
|
|
986
|
+
mediaId: string;
|
|
987
|
+
/** The cached `upload` session from the create response (`upload_id`/`key`/…). */
|
|
988
|
+
session: MultipartSession;
|
|
989
|
+
/** The typed client the sub-endpoint calls go through (auth + base URL). */
|
|
990
|
+
client: PostrunClient;
|
|
991
|
+
/** Fraction uploaded, 0..1, as bytes flow; called once with 1 on success. */
|
|
955
992
|
onProgress?: (fraction: number) => void;
|
|
956
|
-
/** Abort the in-flight upload (and
|
|
993
|
+
/** Abort the in-flight upload (cancels Uppy and aborts the R2 session). */
|
|
957
994
|
signal?: AbortSignal;
|
|
958
|
-
/** Max retry attempts for retriable failures (network / 5xx / 429). Default 3. */
|
|
959
|
-
retries?: number;
|
|
960
995
|
}
|
|
961
996
|
/**
|
|
962
|
-
*
|
|
963
|
-
*
|
|
964
|
-
*
|
|
965
|
-
*
|
|
966
|
-
*
|
|
967
|
-
*
|
|
968
|
-
*
|
|
997
|
+
* Upload ONE file's bytes to R2 with a resilient, resumable multipart upload,
|
|
998
|
+
* driving `@uppy/aws-s3` headless (no DOM). Uppy owns the bug-prone mechanics —
|
|
999
|
+
* fixed-size chunking, parallel parts, per-part retry, resume via `listParts`,
|
|
1000
|
+
* and progress — wired to OUR signing endpoints (`createMultipartUpload` returns
|
|
1001
|
+
* the cached create-response session, so there's no extra round-trip to start).
|
|
1002
|
+
*
|
|
1003
|
+
* Resolves when the upload is fully assembled on R2 (the object then settles
|
|
1004
|
+
* through the same probe/transform pipeline a `source_url` import does). Throws
|
|
1005
|
+
* {@link UploadError} on a hard failure, or a `DOMException('AbortError')` when
|
|
1006
|
+
* `signal` fires.
|
|
969
1007
|
*/
|
|
970
|
-
declare function
|
|
1008
|
+
declare function uploadFile(file: Blob, options: UploadFileOptions): Promise<void>;
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* A failed direct-to-storage (multipart) upload. `cause` carries the underlying
|
|
1012
|
+
* Uppy / network / API error so callers can inspect the real reason; `message` is
|
|
1013
|
+
* a short human summary. Thrown by {@link uploadFile} on a hard upload failure
|
|
1014
|
+
* (one or more parts could not be uploaded, or `complete` failed).
|
|
1015
|
+
*/
|
|
1016
|
+
declare class UploadError extends Error {
|
|
1017
|
+
constructor(message: string, options?: {
|
|
1018
|
+
cause?: unknown;
|
|
1019
|
+
});
|
|
1020
|
+
}
|
|
971
1021
|
|
|
972
1022
|
/**
|
|
973
1023
|
* Map a TikTok privacy level to a short, human label for the composer's privacy
|
|
@@ -1217,4 +1267,4 @@ declare function buildCreatePost(input: ComposePostInput, connections: readonly
|
|
|
1217
1267
|
*/
|
|
1218
1268
|
declare function buildUpdatePost(input: ComposeUpdateInput, connections?: readonly ConnectionRef[]): UpdatePostInput;
|
|
1219
1269
|
|
|
1220
|
-
export { type ChannelConfig, type Channels, ComposeError, type ComposePostInput, type ComposeUpdateInput, type ConnectSession, type ConnectablePlatform, type Connection, type ConnectionKind, type ConnectionList, type ConnectionRef, type ConnectionStatus, ConnectionsConnectData, ConnectionsConnectErrors, ConnectionsConnectResponse, ConnectionsConnectResponses, ConnectionsDeleteData, ConnectionsDeleteErrors, ConnectionsDeleteResponses, ConnectionsGetData, ConnectionsGetErrors, ConnectionsGetResponse, ConnectionsGetResponses, ConnectionsListAccountsData, ConnectionsListAccountsErrors, ConnectionsListAccountsResponse, ConnectionsListAccountsResponses, ConnectionsListByProfileData, ConnectionsListByProfileErrors, ConnectionsListByProfileResponse, ConnectionsListByProfileResponses, ConnectionsSelectData, ConnectionsSelectErrors, ConnectionsSelectResponses, type CreateMediaInput, type CreateMediaResult, type CreatePostInput, type CreateProfileInput, type DiscoverableAccountList, ErrorCode, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleDeleteAdData, GoogleDeleteAdErrors, GoogleDeleteAdGroupData, GoogleDeleteAdGroupErrors, GoogleDeleteAdGroupResponses, GoogleDeleteAdResponses, GoogleDeleteBudgetData, GoogleDeleteBudgetErrors, GoogleDeleteBudgetResponses, GoogleDeleteCampaignData, GoogleDeleteCampaignErrors, GoogleDeleteCampaignResponses, GoogleDeleteKeywordData, GoogleDeleteKeywordErrors, GoogleDeleteKeywordResponses, GoogleEditAdGroupData, GoogleEditAdGroupErrors, GoogleEditAdGroupResponses, GoogleEditBudgetData, GoogleEditBudgetErrors, GoogleEditBudgetResponses, GoogleEditCampaignData, GoogleEditCampaignErrors, GoogleEditCampaignResponses, GoogleEnableAdData, GoogleEnableAdErrors, GoogleEnableAdGroupData, GoogleEnableAdGroupErrors, GoogleEnableAdGroupResponses, GoogleEnableAdResponses, GoogleEnableCampaignData, GoogleEnableCampaignErrors, GoogleEnableCampaignResponses, GoogleEnableKeywordData, GoogleEnableKeywordErrors, GoogleEnableKeywordResponses, GoogleGetAccountData, GoogleGetAccountErrors, GoogleGetAccountResponses, GoogleGetAdData, GoogleGetAdErrors, GoogleGetAdGroupData, GoogleGetAdGroupErrors, GoogleGetAdGroupResponses, GoogleGetAdResponses, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUploadConversionsData, GoogleUploadConversionsErrors, GoogleUploadConversionsResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type InstagramPostVariant, type LinkedInPollDuration, type LinkedInPostVariant, type ListConnectionsQuery, type ListMediaQuery, type ListPostsQuery, type ListProfilesQuery, LogsGetData, LogsGetErrors, LogsGetResponses, LogsListData, LogsListErrors, LogsListResponses, MediaCreateData, MediaCreateErrors, MediaCreateResponse, MediaCreateResponses, MediaDeleteData, MediaDeleteErrors, MediaDeleteResponses, MediaGetData, MediaGetErrors, MediaGetResponse, MediaGetResponses, type MediaInput, type MediaKind, type MediaList, MediaListData, MediaListErrors, MediaListResponse, MediaListResponses, type MediaResource, type MediaStatus, type MediaTarget, MediaUpdateData, MediaUpdateErrors, MediaUpdateResponses, MetaAccountData, MetaAccountErrors, MetaAccountResponses, MetaAdData, MetaAdErrors, MetaAdResponses, MetaAdsData, MetaAdsErrors, MetaAdsResponses, MetaAdsetData, MetaAdsetErrors, MetaAdsetResponses, MetaAdsetsData, MetaAdsetsErrors, MetaAdsetsResponses, MetaCampaignData, MetaCampaignErrors, MetaCampaignResponses, MetaCampaignsData, MetaCampaignsErrors, MetaCampaignsResponses, MetaInsightsData, MetaInsightsErrors, MetaInsightsResponses, type Metadata, type MetadataFilter, type Options, POST_PLATFORMS, type Post, type PostContent, type PostList, type PostMetadata, type PostPlatform, type PostStatus, type PostTypeFor, type PostValidation, type PostVariant, type PostVariantError, type PostVariantInput, PostrunError, type PostrunErrorCode, type PostrunFieldError, type PostrunProblem, PostsCreateData, PostsCreateErrors, PostsCreateResponses, PostsDeleteData, PostsDeleteErrors, PostsDeleteResponses, PostsGetData, PostsGetErrors, PostsGetResponse, PostsGetResponses, PostsListData, PostsListErrors, PostsListResponse, PostsListResponses, PostsUpdateData, PostsUpdateErrors, PostsUpdateResponses, PostsValidateData, PostsValidateErrors, PostsValidateResponse, PostsValidateResponses, type Profile, type ProfileList, ProfilesCreateData, ProfilesCreateErrors, ProfilesCreateResponses, ProfilesDeleteData, ProfilesDeleteErrors, ProfilesDeleteResponses, ProfilesGetData, ProfilesGetErrors, ProfilesGetResponse, ProfilesGetResponses, ProfilesListData, ProfilesListErrors, ProfilesListResponse, ProfilesListResponses, ProfilesUpdateData, ProfilesUpdateErrors, ProfilesUpdateResponses, type PublishMode, type SelectAccountInput, type SettingsFor, TIKTOK_AUDIENCE_REQUIRED_HINT, TIKTOK_BRANDED_CONTENT_POLICY_URL, TIKTOK_CAPTION_MAX, TIKTOK_DISCLOSURE_REQUIRED_HINT, TIKTOK_MUSIC_CONFIRMATION_URL, TIKTOK_PROCESSING_NOTICE, type TikTokBrandKind, type TikTokCreatorInfo, type TikTokInteractionKey, type TikTokInteractionRow, type TikTokOptionsValue, type TikTokPostVariant, type TikTokPrivacyChoice, type TikTokPrivacyLevel, TiktokCreatorInfoData, TiktokCreatorInfoErrors, TiktokCreatorInfoResponse, TiktokCreatorInfoResponses, TokensMintData, TokensMintErrors, TokensMintResponses, type UpdateMediaInput, type UpdatePostInput, type UpdateProfileInput, UploadError, type UploadTarget, type UploadToTargetOptions, 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, googleCreateBudget, googleCreateCampaign, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleDeleteAd, googleDeleteAdGroup, googleDeleteBudget, googleDeleteCampaign, googleDeleteKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroups, googleListAds, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRunGaql, googleSetAdGroupBids, googleSetConversionGoal, googleSetKeywordBid, googleUploadConversions, googleUploadImageAsset, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, logsGet, logsList, mediaCreate, mediaDelete, mediaGet, mediaList, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, parsePrivacyLevel, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, privacyChoices, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, setBrandKind, setCommercialDisclosure, tiktokCreatorInfo, tiktokOptionsReady, tiktokPrivacyLabel, tiktokSettings, toggleInteraction, tokensMint, uploadToTarget, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint, xPollDurationLabel };
|
|
1270
|
+
export { type ChannelConfig, type Channels, ComposeError, type ComposePostInput, type ComposeUpdateInput, type ConnectSession, type ConnectablePlatform, type Connection, type ConnectionKind, type ConnectionList, type ConnectionRef, type ConnectionStatus, ConnectionsConnectData, ConnectionsConnectErrors, ConnectionsConnectResponse, ConnectionsConnectResponses, ConnectionsDeleteData, ConnectionsDeleteErrors, ConnectionsDeleteResponses, ConnectionsGetData, ConnectionsGetErrors, ConnectionsGetResponse, ConnectionsGetResponses, ConnectionsListAccountsData, ConnectionsListAccountsErrors, ConnectionsListAccountsResponse, ConnectionsListAccountsResponses, ConnectionsListByProfileData, ConnectionsListByProfileErrors, ConnectionsListByProfileResponse, ConnectionsListByProfileResponses, ConnectionsSelectData, ConnectionsSelectErrors, ConnectionsSelectResponses, type CreateMediaInput, type CreateMediaResult, type CreatePostInput, type CreateProfileInput, type DiscoverableAccountList, ErrorCode, GoogleCreateAdData, GoogleCreateAdErrors, GoogleCreateAdGroupData, GoogleCreateAdGroupErrors, GoogleCreateAdGroupResponses, GoogleCreateAdResponses, GoogleCreateBudgetData, GoogleCreateBudgetErrors, GoogleCreateBudgetResponses, GoogleCreateCampaignData, GoogleCreateCampaignErrors, GoogleCreateCampaignResponses, GoogleCreateConversionActionData, GoogleCreateConversionActionErrors, GoogleCreateConversionActionResponses, GoogleCreateDisplayAdData, GoogleCreateDisplayAdErrors, GoogleCreateDisplayAdResponses, GoogleCreateKeywordData, GoogleCreateKeywordErrors, GoogleCreateKeywordResponses, GoogleDeleteAdData, GoogleDeleteAdErrors, GoogleDeleteAdGroupData, GoogleDeleteAdGroupErrors, GoogleDeleteAdGroupResponses, GoogleDeleteAdResponses, GoogleDeleteBudgetData, GoogleDeleteBudgetErrors, GoogleDeleteBudgetResponses, GoogleDeleteCampaignData, GoogleDeleteCampaignErrors, GoogleDeleteCampaignResponses, GoogleDeleteKeywordData, GoogleDeleteKeywordErrors, GoogleDeleteKeywordResponses, GoogleEditAdGroupData, GoogleEditAdGroupErrors, GoogleEditAdGroupResponses, GoogleEditBudgetData, GoogleEditBudgetErrors, GoogleEditBudgetResponses, GoogleEditCampaignData, GoogleEditCampaignErrors, GoogleEditCampaignResponses, GoogleEnableAdData, GoogleEnableAdErrors, GoogleEnableAdGroupData, GoogleEnableAdGroupErrors, GoogleEnableAdGroupResponses, GoogleEnableAdResponses, GoogleEnableCampaignData, GoogleEnableCampaignErrors, GoogleEnableCampaignResponses, GoogleEnableKeywordData, GoogleEnableKeywordErrors, GoogleEnableKeywordResponses, GoogleGetAccountData, GoogleGetAccountErrors, GoogleGetAccountResponses, GoogleGetAdData, GoogleGetAdErrors, GoogleGetAdGroupData, GoogleGetAdGroupErrors, GoogleGetAdGroupResponses, GoogleGetAdResponses, GoogleGetCampaignData, GoogleGetCampaignErrors, GoogleGetCampaignResponses, GoogleGetConversionActionData, GoogleGetConversionActionErrors, GoogleGetConversionActionResponses, GoogleGetInsightsData, GoogleGetInsightsErrors, GoogleGetInsightsResponses, GoogleGetKeywordData, GoogleGetKeywordErrors, GoogleGetKeywordResponses, GoogleListAdGroupsData, GoogleListAdGroupsErrors, GoogleListAdGroupsResponses, GoogleListAdsData, GoogleListAdsErrors, GoogleListAdsResponses, GoogleListCampaignsData, GoogleListCampaignsErrors, GoogleListCampaignsResponses, GoogleListConversionActionsData, GoogleListConversionActionsErrors, GoogleListConversionActionsResponses, GoogleListConversionGoalsData, GoogleListConversionGoalsErrors, GoogleListConversionGoalsResponses, GoogleListKeywordsData, GoogleListKeywordsErrors, GoogleListKeywordsResponses, GooglePauseAdData, GooglePauseAdErrors, GooglePauseAdGroupData, GooglePauseAdGroupErrors, GooglePauseAdGroupResponses, GooglePauseAdResponses, GooglePauseCampaignData, GooglePauseCampaignErrors, GooglePauseCampaignResponses, GooglePauseKeywordData, GooglePauseKeywordErrors, GooglePauseKeywordResponses, GoogleRunGaqlData, GoogleRunGaqlErrors, GoogleRunGaqlResponses, GoogleSetAdGroupBidsData, GoogleSetAdGroupBidsErrors, GoogleSetAdGroupBidsResponses, GoogleSetConversionGoalData, GoogleSetConversionGoalErrors, GoogleSetConversionGoalResponses, GoogleSetKeywordBidData, GoogleSetKeywordBidErrors, GoogleSetKeywordBidResponses, GoogleUploadConversionsData, GoogleUploadConversionsErrors, GoogleUploadConversionsResponses, GoogleUploadImageAssetData, GoogleUploadImageAssetErrors, GoogleUploadImageAssetResponses, type 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, googleCreateBudget, googleCreateCampaign, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleDeleteAd, googleDeleteAdGroup, googleDeleteBudget, googleDeleteCampaign, googleDeleteKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroups, googleListAds, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRunGaql, googleSetAdGroupBids, googleSetConversionGoal, googleSetKeywordBid, googleUploadConversions, googleUploadImageAsset, interactionRows, interactionValueKey, isInteractionForbidden, isPostPlatform, isPublished, linkedinPollDurationLabel, logsGet, logsList, 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 };
|