@postrun/js 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-BJ6NXBN5.js → chunk-A6DM6I6G.js} +64 -3
- package/dist/chunk-A6DM6I6G.js.map +1 -0
- package/dist/{chunk-DT4DW5LA.js → chunk-PE3ULG66.js} +87 -5
- package/dist/chunk-PE3ULG66.js.map +1 -0
- package/dist/index.cjs +174 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +39 -3
- package/dist/index.d.ts +39 -3
- package/dist/index.js +32 -4
- package/dist/index.js.map +1 -1
- package/dist/query.cjs +62 -0
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +550 -1
- package/dist/query.d.ts +550 -1
- package/dist/query.js +61 -1
- package/dist/query.js.map +1 -1
- package/dist/schemas/index.cjs +69 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +83 -1
- package/dist/schemas/index.d.ts +83 -1
- package/dist/schemas/index.js +2 -2
- package/dist/server.cjs +108 -1
- 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-MxJw6FpT.d.cts → types.gen-K4cuIpk3.d.cts} +529 -6
- package/dist/{types.gen-MxJw6FpT.d.ts → types.gen-K4cuIpk3.d.ts} +529 -6
- package/package.json +2 -1
- package/dist/chunk-BJ6NXBN5.js.map +0 -1
- package/dist/chunk-DT4DW5LA.js.map +0 -1
package/dist/schemas/index.d.cts
CHANGED
|
@@ -16506,6 +16506,8 @@ declare const zGoogleListConversionActionsResponse: z.ZodObject<{
|
|
|
16506
16506
|
ONE_PER_CLICK: "ONE_PER_CLICK";
|
|
16507
16507
|
MANY_PER_CLICK: "MANY_PER_CLICK";
|
|
16508
16508
|
}>;
|
|
16509
|
+
click_through_lookback_window_days: z.ZodNullable<z.ZodNumber>;
|
|
16510
|
+
view_through_lookback_window_days: z.ZodNullable<z.ZodNumber>;
|
|
16509
16511
|
value_settings: z.ZodNullable<z.ZodObject<{
|
|
16510
16512
|
default_value: z.ZodNullable<z.ZodNumber>;
|
|
16511
16513
|
default_currency_code: z.ZodNullable<z.ZodString>;
|
|
@@ -16705,6 +16707,8 @@ declare const zGoogleGetConversionActionResponse: z.ZodObject<{
|
|
|
16705
16707
|
ONE_PER_CLICK: "ONE_PER_CLICK";
|
|
16706
16708
|
MANY_PER_CLICK: "MANY_PER_CLICK";
|
|
16707
16709
|
}>;
|
|
16710
|
+
click_through_lookback_window_days: z.ZodNullable<z.ZodNumber>;
|
|
16711
|
+
view_through_lookback_window_days: z.ZodNullable<z.ZodNumber>;
|
|
16708
16712
|
value_settings: z.ZodNullable<z.ZodObject<{
|
|
16709
16713
|
default_value: z.ZodNullable<z.ZodNumber>;
|
|
16710
16714
|
default_currency_code: z.ZodNullable<z.ZodString>;
|
|
@@ -16729,6 +16733,84 @@ declare const zGoogleGetConversionActionResponse: z.ZodObject<{
|
|
|
16729
16733
|
event_snippet: z.ZodNullable<z.ZodString>;
|
|
16730
16734
|
}, z.core.$strip>>;
|
|
16731
16735
|
}, z.core.$strip>;
|
|
16736
|
+
declare const zGoogleUpdateConversionActionBody: z.ZodObject<{
|
|
16737
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16738
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
16739
|
+
DEFAULT: "DEFAULT";
|
|
16740
|
+
PAGE_VIEW: "PAGE_VIEW";
|
|
16741
|
+
PURCHASE: "PURCHASE";
|
|
16742
|
+
SIGNUP: "SIGNUP";
|
|
16743
|
+
DOWNLOAD: "DOWNLOAD";
|
|
16744
|
+
ADD_TO_CART: "ADD_TO_CART";
|
|
16745
|
+
BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
|
|
16746
|
+
SUBSCRIBE_PAID: "SUBSCRIBE_PAID";
|
|
16747
|
+
PHONE_CALL_LEAD: "PHONE_CALL_LEAD";
|
|
16748
|
+
IMPORTED_LEAD: "IMPORTED_LEAD";
|
|
16749
|
+
SUBMIT_LEAD_FORM: "SUBMIT_LEAD_FORM";
|
|
16750
|
+
BOOK_APPOINTMENT: "BOOK_APPOINTMENT";
|
|
16751
|
+
REQUEST_QUOTE: "REQUEST_QUOTE";
|
|
16752
|
+
GET_DIRECTIONS: "GET_DIRECTIONS";
|
|
16753
|
+
OUTBOUND_CLICK: "OUTBOUND_CLICK";
|
|
16754
|
+
CONTACT: "CONTACT";
|
|
16755
|
+
ENGAGEMENT: "ENGAGEMENT";
|
|
16756
|
+
STORE_VISIT: "STORE_VISIT";
|
|
16757
|
+
STORE_SALE: "STORE_SALE";
|
|
16758
|
+
QUALIFIED_LEAD: "QUALIFIED_LEAD";
|
|
16759
|
+
CONVERTED_LEAD: "CONVERTED_LEAD";
|
|
16760
|
+
YOUTUBE_FOLLOW_ON_VIEWS: "YOUTUBE_FOLLOW_ON_VIEWS";
|
|
16761
|
+
}>>;
|
|
16762
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
16763
|
+
ENABLED: "ENABLED";
|
|
16764
|
+
}>>;
|
|
16765
|
+
value_settings: z.ZodOptional<z.ZodObject<{
|
|
16766
|
+
default_value: z.ZodOptional<z.ZodNumber>;
|
|
16767
|
+
default_currency_code: z.ZodOptional<z.ZodString>;
|
|
16768
|
+
always_use_default_value: z.ZodOptional<z.ZodBoolean>;
|
|
16769
|
+
}, z.core.$strip>>;
|
|
16770
|
+
counting_type: z.ZodOptional<z.ZodEnum<{
|
|
16771
|
+
ONE_PER_CLICK: "ONE_PER_CLICK";
|
|
16772
|
+
MANY_PER_CLICK: "MANY_PER_CLICK";
|
|
16773
|
+
}>>;
|
|
16774
|
+
click_through_lookback_window_days: z.ZodOptional<z.ZodInt>;
|
|
16775
|
+
view_through_lookback_window_days: z.ZodOptional<z.ZodInt>;
|
|
16776
|
+
primary_for_goal: z.ZodOptional<z.ZodBoolean>;
|
|
16777
|
+
dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
16778
|
+
}, z.core.$strip>;
|
|
16779
|
+
declare const zGoogleUpdateConversionActionHeaders: z.ZodObject<{
|
|
16780
|
+
'Idempotency-Key': z.ZodOptional<z.ZodString>;
|
|
16781
|
+
}, z.core.$strip>;
|
|
16782
|
+
declare const zGoogleUpdateConversionActionPath: z.ZodObject<{
|
|
16783
|
+
connection_id: z.ZodString;
|
|
16784
|
+
id: z.ZodString;
|
|
16785
|
+
}, z.core.$strip>;
|
|
16786
|
+
/**
|
|
16787
|
+
* OK
|
|
16788
|
+
*/
|
|
16789
|
+
declare const zGoogleUpdateConversionActionResponse: z.ZodObject<{
|
|
16790
|
+
id: z.ZodString;
|
|
16791
|
+
resource_name: z.ZodString;
|
|
16792
|
+
dry_run: z.ZodBoolean;
|
|
16793
|
+
executed: z.ZodBoolean;
|
|
16794
|
+
}, z.core.$strip>;
|
|
16795
|
+
declare const zGoogleRemoveConversionActionBody: z.ZodObject<{
|
|
16796
|
+
dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
16797
|
+
}, z.core.$strip>;
|
|
16798
|
+
declare const zGoogleRemoveConversionActionHeaders: z.ZodObject<{
|
|
16799
|
+
'Idempotency-Key': z.ZodOptional<z.ZodString>;
|
|
16800
|
+
}, z.core.$strip>;
|
|
16801
|
+
declare const zGoogleRemoveConversionActionPath: z.ZodObject<{
|
|
16802
|
+
connection_id: z.ZodString;
|
|
16803
|
+
id: z.ZodString;
|
|
16804
|
+
}, z.core.$strip>;
|
|
16805
|
+
/**
|
|
16806
|
+
* OK
|
|
16807
|
+
*/
|
|
16808
|
+
declare const zGoogleRemoveConversionActionResponse: z.ZodObject<{
|
|
16809
|
+
id: z.ZodString;
|
|
16810
|
+
removed: z.ZodBoolean;
|
|
16811
|
+
dry_run: z.ZodBoolean;
|
|
16812
|
+
executed: z.ZodBoolean;
|
|
16813
|
+
}, z.core.$strip>;
|
|
16732
16814
|
declare const zGoogleSendConversionsBody: z.ZodObject<{
|
|
16733
16815
|
conversion_action_id: z.ZodString;
|
|
16734
16816
|
conversions: z.ZodArray<z.ZodObject<{
|
|
@@ -18067,4 +18149,4 @@ declare const conversionEventSchema: z.ZodObject<{
|
|
|
18067
18149
|
}, zod_v4_core.$strip>>;
|
|
18068
18150
|
}, zod_v4_core.$strip>;
|
|
18069
18151
|
|
|
18070
|
-
export { conversionEventSchema, zConnectSession, zConnection, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectHeaders, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeleteHeaders, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectHeaders, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, zErrorCode, zErrorSource, zGoogleAdTree, zGoogleAdTreeNode, zGoogleAdsAd, zGoogleAdsAdGroup, zGoogleAdsAdGroupCriterion, zGoogleAdsAudience, zGoogleAdsCampaignCriterion, zGoogleAdsConversionConsent, zGoogleAdsConversionEvent, zGoogleAdsConversionRequest, zGoogleAdsConversionStatus, zGoogleAdsConversionStatusReason, zGoogleAdsConversionUserIdentifier, zGoogleAdsConversionWarning, zGoogleAdsCreateAdGroupCriterionRequest, zGoogleAdsCreateCampaignCriterionRequest, zGoogleAdsCreateResult, zGoogleAdsDeleteResult, zGoogleAdsEditResult, zGoogleAdsGeoSettingsRequest, zGoogleAdsGeoTargetConstant, zGoogleAdsInsightLevel, zGoogleAdsInsightMetric, zGoogleAdsInsightSegment, zGoogleAdsInsights, zGoogleAdsInsightsQuery, zGoogleAdsInsightsRow, zGoogleAdsKeyword, zGoogleAdsReadStatusFilter, zGoogleAdsSendConversionsResult, zGoogleAdsUrlCustomParameter, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupCriterionBody, zGoogleCreateAdGroupCriterionHeaders, zGoogleCreateAdGroupCriterionPath, zGoogleCreateAdGroupCriterionResponse, zGoogleCreateAdGroupHeaders, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdHeaders, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetHeaders, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignCriterionBody, zGoogleCreateCampaignCriterionHeaders, zGoogleCreateCampaignCriterionPath, zGoogleCreateCampaignCriterionResponse, zGoogleCreateCampaignHeaders, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionHeaders, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdHeaders, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordHeaders, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleEditAccountBody, zGoogleEditAccountHeaders, zGoogleEditAccountPath, zGoogleEditAccountResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupHeaders, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetHeaders, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignHeaders, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupHeaders, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdHeaders, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignHeaders, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordHeaders, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetAdTreePath, zGoogleGetAdTreeQuery, zGoogleGetAdTreeResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetConversionStatusPath, zGoogleGetConversionStatusQuery, zGoogleGetConversionStatusResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupCriteriaPath, zGoogleListAdGroupCriteriaResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsQuery, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsQuery, zGoogleListAdsResponse, zGoogleListAudiencesPath, zGoogleListAudiencesQuery, zGoogleListAudiencesResponse, zGoogleListCampaignCriteriaPath, zGoogleListCampaignCriteriaResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListConversionRequestsPath, zGoogleListConversionRequestsQuery, zGoogleListConversionRequestsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsQuery, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupHeaders, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdHeaders, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignHeaders, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordHeaders, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRemoveAdBody, zGoogleRemoveAdGroupBody, zGoogleRemoveAdGroupCriterionBody, zGoogleRemoveAdGroupCriterionHeaders, zGoogleRemoveAdGroupCriterionPath, zGoogleRemoveAdGroupCriterionResponse, zGoogleRemoveAdGroupHeaders, zGoogleRemoveAdGroupPath, zGoogleRemoveAdGroupResponse, zGoogleRemoveAdHeaders, zGoogleRemoveAdPath, zGoogleRemoveAdResponse, zGoogleRemoveBudgetBody, zGoogleRemoveBudgetHeaders, zGoogleRemoveBudgetPath, zGoogleRemoveBudgetResponse, zGoogleRemoveCampaignBody, zGoogleRemoveCampaignCriterionBody, zGoogleRemoveCampaignCriterionHeaders, zGoogleRemoveCampaignCriterionPath, zGoogleRemoveCampaignCriterionResponse, zGoogleRemoveCampaignHeaders, zGoogleRemoveCampaignPath, zGoogleRemoveCampaignResponse, zGoogleRemoveKeywordBody, zGoogleRemoveKeywordHeaders, zGoogleRemoveKeywordPath, zGoogleRemoveKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSearchGeoTargetsPath, zGoogleSearchGeoTargetsQuery, zGoogleSearchGeoTargetsResponse, zGoogleSendConversionsBody, zGoogleSendConversionsHeaders, zGoogleSendConversionsPath, zGoogleSendConversionsResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsHeaders, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetCampaignGeoSettingsBody, zGoogleSetCampaignGeoSettingsHeaders, zGoogleSetCampaignGeoSettingsPath, zGoogleSetCampaignGeoSettingsResponse, zGoogleSetCampaignTargetingSettingBody, zGoogleSetCampaignTargetingSettingHeaders, zGoogleSetCampaignTargetingSettingPath, zGoogleSetCampaignTargetingSettingResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalHeaders, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidHeaders, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetHeaders, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zIdempotencyKey, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMedia, zMediaAbortPath, zMediaAbortResponse, zMediaCompleteBody, zMediaCompletePath, zMediaCompleteResponse, zMediaCreateBody, zMediaCreateHeaders, zMediaCreateResponse, zMediaDeleteHeaders, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListPartsPath, zMediaListPartsResponse, zMediaListQuery, zMediaListResponse, zMediaSignPartBody, zMediaSignPartPath, zMediaSignPartResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdateHeaders, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPost, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantInput, zPostVariantStatus, zPostsCreateBody, zPostsCreateHeaders, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdateHeaders, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateHeaders, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokCreatorInfo, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointHeaders, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };
|
|
18152
|
+
export { conversionEventSchema, zConnectSession, zConnection, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectHeaders, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeleteHeaders, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectHeaders, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, zErrorCode, zErrorSource, zGoogleAdTree, zGoogleAdTreeNode, zGoogleAdsAd, zGoogleAdsAdGroup, zGoogleAdsAdGroupCriterion, zGoogleAdsAudience, zGoogleAdsCampaignCriterion, zGoogleAdsConversionConsent, zGoogleAdsConversionEvent, zGoogleAdsConversionRequest, zGoogleAdsConversionStatus, zGoogleAdsConversionStatusReason, zGoogleAdsConversionUserIdentifier, zGoogleAdsConversionWarning, zGoogleAdsCreateAdGroupCriterionRequest, zGoogleAdsCreateCampaignCriterionRequest, zGoogleAdsCreateResult, zGoogleAdsDeleteResult, zGoogleAdsEditResult, zGoogleAdsGeoSettingsRequest, zGoogleAdsGeoTargetConstant, zGoogleAdsInsightLevel, zGoogleAdsInsightMetric, zGoogleAdsInsightSegment, zGoogleAdsInsights, zGoogleAdsInsightsQuery, zGoogleAdsInsightsRow, zGoogleAdsKeyword, zGoogleAdsReadStatusFilter, zGoogleAdsSendConversionsResult, zGoogleAdsUrlCustomParameter, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupCriterionBody, zGoogleCreateAdGroupCriterionHeaders, zGoogleCreateAdGroupCriterionPath, zGoogleCreateAdGroupCriterionResponse, zGoogleCreateAdGroupHeaders, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdHeaders, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetHeaders, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignCriterionBody, zGoogleCreateCampaignCriterionHeaders, zGoogleCreateCampaignCriterionPath, zGoogleCreateCampaignCriterionResponse, zGoogleCreateCampaignHeaders, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionHeaders, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdHeaders, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordHeaders, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleEditAccountBody, zGoogleEditAccountHeaders, zGoogleEditAccountPath, zGoogleEditAccountResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupHeaders, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetHeaders, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignHeaders, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupHeaders, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdHeaders, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignHeaders, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordHeaders, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetAdTreePath, zGoogleGetAdTreeQuery, zGoogleGetAdTreeResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetConversionStatusPath, zGoogleGetConversionStatusQuery, zGoogleGetConversionStatusResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupCriteriaPath, zGoogleListAdGroupCriteriaResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsQuery, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsQuery, zGoogleListAdsResponse, zGoogleListAudiencesPath, zGoogleListAudiencesQuery, zGoogleListAudiencesResponse, zGoogleListCampaignCriteriaPath, zGoogleListCampaignCriteriaResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListConversionRequestsPath, zGoogleListConversionRequestsQuery, zGoogleListConversionRequestsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsQuery, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupHeaders, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdHeaders, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignHeaders, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordHeaders, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRemoveAdBody, zGoogleRemoveAdGroupBody, zGoogleRemoveAdGroupCriterionBody, zGoogleRemoveAdGroupCriterionHeaders, zGoogleRemoveAdGroupCriterionPath, zGoogleRemoveAdGroupCriterionResponse, zGoogleRemoveAdGroupHeaders, zGoogleRemoveAdGroupPath, zGoogleRemoveAdGroupResponse, zGoogleRemoveAdHeaders, zGoogleRemoveAdPath, zGoogleRemoveAdResponse, zGoogleRemoveBudgetBody, zGoogleRemoveBudgetHeaders, zGoogleRemoveBudgetPath, zGoogleRemoveBudgetResponse, zGoogleRemoveCampaignBody, zGoogleRemoveCampaignCriterionBody, zGoogleRemoveCampaignCriterionHeaders, zGoogleRemoveCampaignCriterionPath, zGoogleRemoveCampaignCriterionResponse, zGoogleRemoveCampaignHeaders, zGoogleRemoveCampaignPath, zGoogleRemoveCampaignResponse, zGoogleRemoveConversionActionBody, zGoogleRemoveConversionActionHeaders, zGoogleRemoveConversionActionPath, zGoogleRemoveConversionActionResponse, zGoogleRemoveKeywordBody, zGoogleRemoveKeywordHeaders, zGoogleRemoveKeywordPath, zGoogleRemoveKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSearchGeoTargetsPath, zGoogleSearchGeoTargetsQuery, zGoogleSearchGeoTargetsResponse, zGoogleSendConversionsBody, zGoogleSendConversionsHeaders, zGoogleSendConversionsPath, zGoogleSendConversionsResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsHeaders, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetCampaignGeoSettingsBody, zGoogleSetCampaignGeoSettingsHeaders, zGoogleSetCampaignGeoSettingsPath, zGoogleSetCampaignGeoSettingsResponse, zGoogleSetCampaignTargetingSettingBody, zGoogleSetCampaignTargetingSettingHeaders, zGoogleSetCampaignTargetingSettingPath, zGoogleSetCampaignTargetingSettingResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalHeaders, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidHeaders, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUpdateConversionActionBody, zGoogleUpdateConversionActionHeaders, zGoogleUpdateConversionActionPath, zGoogleUpdateConversionActionResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetHeaders, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zIdempotencyKey, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMedia, zMediaAbortPath, zMediaAbortResponse, zMediaCompleteBody, zMediaCompletePath, zMediaCompleteResponse, zMediaCreateBody, zMediaCreateHeaders, zMediaCreateResponse, zMediaDeleteHeaders, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListPartsPath, zMediaListPartsResponse, zMediaListQuery, zMediaListResponse, zMediaSignPartBody, zMediaSignPartPath, zMediaSignPartResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdateHeaders, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPost, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantInput, zPostVariantStatus, zPostsCreateBody, zPostsCreateHeaders, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdateHeaders, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateHeaders, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokCreatorInfo, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointHeaders, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -16506,6 +16506,8 @@ declare const zGoogleListConversionActionsResponse: z.ZodObject<{
|
|
|
16506
16506
|
ONE_PER_CLICK: "ONE_PER_CLICK";
|
|
16507
16507
|
MANY_PER_CLICK: "MANY_PER_CLICK";
|
|
16508
16508
|
}>;
|
|
16509
|
+
click_through_lookback_window_days: z.ZodNullable<z.ZodNumber>;
|
|
16510
|
+
view_through_lookback_window_days: z.ZodNullable<z.ZodNumber>;
|
|
16509
16511
|
value_settings: z.ZodNullable<z.ZodObject<{
|
|
16510
16512
|
default_value: z.ZodNullable<z.ZodNumber>;
|
|
16511
16513
|
default_currency_code: z.ZodNullable<z.ZodString>;
|
|
@@ -16705,6 +16707,8 @@ declare const zGoogleGetConversionActionResponse: z.ZodObject<{
|
|
|
16705
16707
|
ONE_PER_CLICK: "ONE_PER_CLICK";
|
|
16706
16708
|
MANY_PER_CLICK: "MANY_PER_CLICK";
|
|
16707
16709
|
}>;
|
|
16710
|
+
click_through_lookback_window_days: z.ZodNullable<z.ZodNumber>;
|
|
16711
|
+
view_through_lookback_window_days: z.ZodNullable<z.ZodNumber>;
|
|
16708
16712
|
value_settings: z.ZodNullable<z.ZodObject<{
|
|
16709
16713
|
default_value: z.ZodNullable<z.ZodNumber>;
|
|
16710
16714
|
default_currency_code: z.ZodNullable<z.ZodString>;
|
|
@@ -16729,6 +16733,84 @@ declare const zGoogleGetConversionActionResponse: z.ZodObject<{
|
|
|
16729
16733
|
event_snippet: z.ZodNullable<z.ZodString>;
|
|
16730
16734
|
}, z.core.$strip>>;
|
|
16731
16735
|
}, z.core.$strip>;
|
|
16736
|
+
declare const zGoogleUpdateConversionActionBody: z.ZodObject<{
|
|
16737
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16738
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
16739
|
+
DEFAULT: "DEFAULT";
|
|
16740
|
+
PAGE_VIEW: "PAGE_VIEW";
|
|
16741
|
+
PURCHASE: "PURCHASE";
|
|
16742
|
+
SIGNUP: "SIGNUP";
|
|
16743
|
+
DOWNLOAD: "DOWNLOAD";
|
|
16744
|
+
ADD_TO_CART: "ADD_TO_CART";
|
|
16745
|
+
BEGIN_CHECKOUT: "BEGIN_CHECKOUT";
|
|
16746
|
+
SUBSCRIBE_PAID: "SUBSCRIBE_PAID";
|
|
16747
|
+
PHONE_CALL_LEAD: "PHONE_CALL_LEAD";
|
|
16748
|
+
IMPORTED_LEAD: "IMPORTED_LEAD";
|
|
16749
|
+
SUBMIT_LEAD_FORM: "SUBMIT_LEAD_FORM";
|
|
16750
|
+
BOOK_APPOINTMENT: "BOOK_APPOINTMENT";
|
|
16751
|
+
REQUEST_QUOTE: "REQUEST_QUOTE";
|
|
16752
|
+
GET_DIRECTIONS: "GET_DIRECTIONS";
|
|
16753
|
+
OUTBOUND_CLICK: "OUTBOUND_CLICK";
|
|
16754
|
+
CONTACT: "CONTACT";
|
|
16755
|
+
ENGAGEMENT: "ENGAGEMENT";
|
|
16756
|
+
STORE_VISIT: "STORE_VISIT";
|
|
16757
|
+
STORE_SALE: "STORE_SALE";
|
|
16758
|
+
QUALIFIED_LEAD: "QUALIFIED_LEAD";
|
|
16759
|
+
CONVERTED_LEAD: "CONVERTED_LEAD";
|
|
16760
|
+
YOUTUBE_FOLLOW_ON_VIEWS: "YOUTUBE_FOLLOW_ON_VIEWS";
|
|
16761
|
+
}>>;
|
|
16762
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
16763
|
+
ENABLED: "ENABLED";
|
|
16764
|
+
}>>;
|
|
16765
|
+
value_settings: z.ZodOptional<z.ZodObject<{
|
|
16766
|
+
default_value: z.ZodOptional<z.ZodNumber>;
|
|
16767
|
+
default_currency_code: z.ZodOptional<z.ZodString>;
|
|
16768
|
+
always_use_default_value: z.ZodOptional<z.ZodBoolean>;
|
|
16769
|
+
}, z.core.$strip>>;
|
|
16770
|
+
counting_type: z.ZodOptional<z.ZodEnum<{
|
|
16771
|
+
ONE_PER_CLICK: "ONE_PER_CLICK";
|
|
16772
|
+
MANY_PER_CLICK: "MANY_PER_CLICK";
|
|
16773
|
+
}>>;
|
|
16774
|
+
click_through_lookback_window_days: z.ZodOptional<z.ZodInt>;
|
|
16775
|
+
view_through_lookback_window_days: z.ZodOptional<z.ZodInt>;
|
|
16776
|
+
primary_for_goal: z.ZodOptional<z.ZodBoolean>;
|
|
16777
|
+
dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
16778
|
+
}, z.core.$strip>;
|
|
16779
|
+
declare const zGoogleUpdateConversionActionHeaders: z.ZodObject<{
|
|
16780
|
+
'Idempotency-Key': z.ZodOptional<z.ZodString>;
|
|
16781
|
+
}, z.core.$strip>;
|
|
16782
|
+
declare const zGoogleUpdateConversionActionPath: z.ZodObject<{
|
|
16783
|
+
connection_id: z.ZodString;
|
|
16784
|
+
id: z.ZodString;
|
|
16785
|
+
}, z.core.$strip>;
|
|
16786
|
+
/**
|
|
16787
|
+
* OK
|
|
16788
|
+
*/
|
|
16789
|
+
declare const zGoogleUpdateConversionActionResponse: z.ZodObject<{
|
|
16790
|
+
id: z.ZodString;
|
|
16791
|
+
resource_name: z.ZodString;
|
|
16792
|
+
dry_run: z.ZodBoolean;
|
|
16793
|
+
executed: z.ZodBoolean;
|
|
16794
|
+
}, z.core.$strip>;
|
|
16795
|
+
declare const zGoogleRemoveConversionActionBody: z.ZodObject<{
|
|
16796
|
+
dry_run: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
16797
|
+
}, z.core.$strip>;
|
|
16798
|
+
declare const zGoogleRemoveConversionActionHeaders: z.ZodObject<{
|
|
16799
|
+
'Idempotency-Key': z.ZodOptional<z.ZodString>;
|
|
16800
|
+
}, z.core.$strip>;
|
|
16801
|
+
declare const zGoogleRemoveConversionActionPath: z.ZodObject<{
|
|
16802
|
+
connection_id: z.ZodString;
|
|
16803
|
+
id: z.ZodString;
|
|
16804
|
+
}, z.core.$strip>;
|
|
16805
|
+
/**
|
|
16806
|
+
* OK
|
|
16807
|
+
*/
|
|
16808
|
+
declare const zGoogleRemoveConversionActionResponse: z.ZodObject<{
|
|
16809
|
+
id: z.ZodString;
|
|
16810
|
+
removed: z.ZodBoolean;
|
|
16811
|
+
dry_run: z.ZodBoolean;
|
|
16812
|
+
executed: z.ZodBoolean;
|
|
16813
|
+
}, z.core.$strip>;
|
|
16732
16814
|
declare const zGoogleSendConversionsBody: z.ZodObject<{
|
|
16733
16815
|
conversion_action_id: z.ZodString;
|
|
16734
16816
|
conversions: z.ZodArray<z.ZodObject<{
|
|
@@ -18067,4 +18149,4 @@ declare const conversionEventSchema: z.ZodObject<{
|
|
|
18067
18149
|
}, zod_v4_core.$strip>>;
|
|
18068
18150
|
}, zod_v4_core.$strip>;
|
|
18069
18151
|
|
|
18070
|
-
export { conversionEventSchema, zConnectSession, zConnection, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectHeaders, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeleteHeaders, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectHeaders, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, zErrorCode, zErrorSource, zGoogleAdTree, zGoogleAdTreeNode, zGoogleAdsAd, zGoogleAdsAdGroup, zGoogleAdsAdGroupCriterion, zGoogleAdsAudience, zGoogleAdsCampaignCriterion, zGoogleAdsConversionConsent, zGoogleAdsConversionEvent, zGoogleAdsConversionRequest, zGoogleAdsConversionStatus, zGoogleAdsConversionStatusReason, zGoogleAdsConversionUserIdentifier, zGoogleAdsConversionWarning, zGoogleAdsCreateAdGroupCriterionRequest, zGoogleAdsCreateCampaignCriterionRequest, zGoogleAdsCreateResult, zGoogleAdsDeleteResult, zGoogleAdsEditResult, zGoogleAdsGeoSettingsRequest, zGoogleAdsGeoTargetConstant, zGoogleAdsInsightLevel, zGoogleAdsInsightMetric, zGoogleAdsInsightSegment, zGoogleAdsInsights, zGoogleAdsInsightsQuery, zGoogleAdsInsightsRow, zGoogleAdsKeyword, zGoogleAdsReadStatusFilter, zGoogleAdsSendConversionsResult, zGoogleAdsUrlCustomParameter, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupCriterionBody, zGoogleCreateAdGroupCriterionHeaders, zGoogleCreateAdGroupCriterionPath, zGoogleCreateAdGroupCriterionResponse, zGoogleCreateAdGroupHeaders, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdHeaders, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetHeaders, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignCriterionBody, zGoogleCreateCampaignCriterionHeaders, zGoogleCreateCampaignCriterionPath, zGoogleCreateCampaignCriterionResponse, zGoogleCreateCampaignHeaders, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionHeaders, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdHeaders, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordHeaders, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleEditAccountBody, zGoogleEditAccountHeaders, zGoogleEditAccountPath, zGoogleEditAccountResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupHeaders, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetHeaders, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignHeaders, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupHeaders, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdHeaders, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignHeaders, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordHeaders, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetAdTreePath, zGoogleGetAdTreeQuery, zGoogleGetAdTreeResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetConversionStatusPath, zGoogleGetConversionStatusQuery, zGoogleGetConversionStatusResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupCriteriaPath, zGoogleListAdGroupCriteriaResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsQuery, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsQuery, zGoogleListAdsResponse, zGoogleListAudiencesPath, zGoogleListAudiencesQuery, zGoogleListAudiencesResponse, zGoogleListCampaignCriteriaPath, zGoogleListCampaignCriteriaResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListConversionRequestsPath, zGoogleListConversionRequestsQuery, zGoogleListConversionRequestsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsQuery, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupHeaders, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdHeaders, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignHeaders, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordHeaders, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRemoveAdBody, zGoogleRemoveAdGroupBody, zGoogleRemoveAdGroupCriterionBody, zGoogleRemoveAdGroupCriterionHeaders, zGoogleRemoveAdGroupCriterionPath, zGoogleRemoveAdGroupCriterionResponse, zGoogleRemoveAdGroupHeaders, zGoogleRemoveAdGroupPath, zGoogleRemoveAdGroupResponse, zGoogleRemoveAdHeaders, zGoogleRemoveAdPath, zGoogleRemoveAdResponse, zGoogleRemoveBudgetBody, zGoogleRemoveBudgetHeaders, zGoogleRemoveBudgetPath, zGoogleRemoveBudgetResponse, zGoogleRemoveCampaignBody, zGoogleRemoveCampaignCriterionBody, zGoogleRemoveCampaignCriterionHeaders, zGoogleRemoveCampaignCriterionPath, zGoogleRemoveCampaignCriterionResponse, zGoogleRemoveCampaignHeaders, zGoogleRemoveCampaignPath, zGoogleRemoveCampaignResponse, zGoogleRemoveKeywordBody, zGoogleRemoveKeywordHeaders, zGoogleRemoveKeywordPath, zGoogleRemoveKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSearchGeoTargetsPath, zGoogleSearchGeoTargetsQuery, zGoogleSearchGeoTargetsResponse, zGoogleSendConversionsBody, zGoogleSendConversionsHeaders, zGoogleSendConversionsPath, zGoogleSendConversionsResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsHeaders, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetCampaignGeoSettingsBody, zGoogleSetCampaignGeoSettingsHeaders, zGoogleSetCampaignGeoSettingsPath, zGoogleSetCampaignGeoSettingsResponse, zGoogleSetCampaignTargetingSettingBody, zGoogleSetCampaignTargetingSettingHeaders, zGoogleSetCampaignTargetingSettingPath, zGoogleSetCampaignTargetingSettingResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalHeaders, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidHeaders, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetHeaders, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zIdempotencyKey, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMedia, zMediaAbortPath, zMediaAbortResponse, zMediaCompleteBody, zMediaCompletePath, zMediaCompleteResponse, zMediaCreateBody, zMediaCreateHeaders, zMediaCreateResponse, zMediaDeleteHeaders, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListPartsPath, zMediaListPartsResponse, zMediaListQuery, zMediaListResponse, zMediaSignPartBody, zMediaSignPartPath, zMediaSignPartResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdateHeaders, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPost, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantInput, zPostVariantStatus, zPostsCreateBody, zPostsCreateHeaders, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdateHeaders, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateHeaders, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokCreatorInfo, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointHeaders, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };
|
|
18152
|
+
export { conversionEventSchema, zConnectSession, zConnection, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectHeaders, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeleteHeaders, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectHeaders, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, zErrorCode, zErrorSource, zGoogleAdTree, zGoogleAdTreeNode, zGoogleAdsAd, zGoogleAdsAdGroup, zGoogleAdsAdGroupCriterion, zGoogleAdsAudience, zGoogleAdsCampaignCriterion, zGoogleAdsConversionConsent, zGoogleAdsConversionEvent, zGoogleAdsConversionRequest, zGoogleAdsConversionStatus, zGoogleAdsConversionStatusReason, zGoogleAdsConversionUserIdentifier, zGoogleAdsConversionWarning, zGoogleAdsCreateAdGroupCriterionRequest, zGoogleAdsCreateCampaignCriterionRequest, zGoogleAdsCreateResult, zGoogleAdsDeleteResult, zGoogleAdsEditResult, zGoogleAdsGeoSettingsRequest, zGoogleAdsGeoTargetConstant, zGoogleAdsInsightLevel, zGoogleAdsInsightMetric, zGoogleAdsInsightSegment, zGoogleAdsInsights, zGoogleAdsInsightsQuery, zGoogleAdsInsightsRow, zGoogleAdsKeyword, zGoogleAdsReadStatusFilter, zGoogleAdsSendConversionsResult, zGoogleAdsUrlCustomParameter, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupCriterionBody, zGoogleCreateAdGroupCriterionHeaders, zGoogleCreateAdGroupCriterionPath, zGoogleCreateAdGroupCriterionResponse, zGoogleCreateAdGroupHeaders, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdHeaders, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetHeaders, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignCriterionBody, zGoogleCreateCampaignCriterionHeaders, zGoogleCreateCampaignCriterionPath, zGoogleCreateCampaignCriterionResponse, zGoogleCreateCampaignHeaders, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionHeaders, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdHeaders, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordHeaders, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleEditAccountBody, zGoogleEditAccountHeaders, zGoogleEditAccountPath, zGoogleEditAccountResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupHeaders, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetHeaders, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignHeaders, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupHeaders, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdHeaders, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignHeaders, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordHeaders, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetAdTreePath, zGoogleGetAdTreeQuery, zGoogleGetAdTreeResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetConversionStatusPath, zGoogleGetConversionStatusQuery, zGoogleGetConversionStatusResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupCriteriaPath, zGoogleListAdGroupCriteriaResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsQuery, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsQuery, zGoogleListAdsResponse, zGoogleListAudiencesPath, zGoogleListAudiencesQuery, zGoogleListAudiencesResponse, zGoogleListCampaignCriteriaPath, zGoogleListCampaignCriteriaResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListConversionRequestsPath, zGoogleListConversionRequestsQuery, zGoogleListConversionRequestsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsQuery, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupHeaders, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdHeaders, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignHeaders, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordHeaders, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRemoveAdBody, zGoogleRemoveAdGroupBody, zGoogleRemoveAdGroupCriterionBody, zGoogleRemoveAdGroupCriterionHeaders, zGoogleRemoveAdGroupCriterionPath, zGoogleRemoveAdGroupCriterionResponse, zGoogleRemoveAdGroupHeaders, zGoogleRemoveAdGroupPath, zGoogleRemoveAdGroupResponse, zGoogleRemoveAdHeaders, zGoogleRemoveAdPath, zGoogleRemoveAdResponse, zGoogleRemoveBudgetBody, zGoogleRemoveBudgetHeaders, zGoogleRemoveBudgetPath, zGoogleRemoveBudgetResponse, zGoogleRemoveCampaignBody, zGoogleRemoveCampaignCriterionBody, zGoogleRemoveCampaignCriterionHeaders, zGoogleRemoveCampaignCriterionPath, zGoogleRemoveCampaignCriterionResponse, zGoogleRemoveCampaignHeaders, zGoogleRemoveCampaignPath, zGoogleRemoveCampaignResponse, zGoogleRemoveConversionActionBody, zGoogleRemoveConversionActionHeaders, zGoogleRemoveConversionActionPath, zGoogleRemoveConversionActionResponse, zGoogleRemoveKeywordBody, zGoogleRemoveKeywordHeaders, zGoogleRemoveKeywordPath, zGoogleRemoveKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSearchGeoTargetsPath, zGoogleSearchGeoTargetsQuery, zGoogleSearchGeoTargetsResponse, zGoogleSendConversionsBody, zGoogleSendConversionsHeaders, zGoogleSendConversionsPath, zGoogleSendConversionsResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsHeaders, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetCampaignGeoSettingsBody, zGoogleSetCampaignGeoSettingsHeaders, zGoogleSetCampaignGeoSettingsPath, zGoogleSetCampaignGeoSettingsResponse, zGoogleSetCampaignTargetingSettingBody, zGoogleSetCampaignTargetingSettingHeaders, zGoogleSetCampaignTargetingSettingPath, zGoogleSetCampaignTargetingSettingResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalHeaders, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidHeaders, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUpdateConversionActionBody, zGoogleUpdateConversionActionHeaders, zGoogleUpdateConversionActionPath, zGoogleUpdateConversionActionResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetHeaders, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zIdempotencyKey, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMedia, zMediaAbortPath, zMediaAbortResponse, zMediaCompleteBody, zMediaCompletePath, zMediaCompleteResponse, zMediaCreateBody, zMediaCreateHeaders, zMediaCreateResponse, zMediaDeleteHeaders, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListPartsPath, zMediaListPartsResponse, zMediaListQuery, zMediaListResponse, zMediaSignPartBody, zMediaSignPartPath, zMediaSignPartResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdateHeaders, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPost, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantInput, zPostVariantStatus, zPostsCreateBody, zPostsCreateHeaders, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdateHeaders, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateHeaders, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokCreatorInfo, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointHeaders, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };
|
package/dist/schemas/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { zGoogleAdsConversionEvent } from '../chunk-
|
|
2
|
-
export { zConnectSession, zConnection, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectHeaders, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeleteHeaders, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectHeaders, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, zErrorCode, zErrorSource, zGoogleAdTree, zGoogleAdTreeNode, zGoogleAdsAd, zGoogleAdsAdGroup, zGoogleAdsAdGroupCriterion, zGoogleAdsAudience, zGoogleAdsCampaignCriterion, zGoogleAdsConversionConsent, zGoogleAdsConversionEvent, zGoogleAdsConversionRequest, zGoogleAdsConversionStatus, zGoogleAdsConversionStatusReason, zGoogleAdsConversionUserIdentifier, zGoogleAdsConversionWarning, zGoogleAdsCreateAdGroupCriterionRequest, zGoogleAdsCreateCampaignCriterionRequest, zGoogleAdsCreateResult, zGoogleAdsDeleteResult, zGoogleAdsEditResult, zGoogleAdsGeoSettingsRequest, zGoogleAdsGeoTargetConstant, zGoogleAdsInsightLevel, zGoogleAdsInsightMetric, zGoogleAdsInsightSegment, zGoogleAdsInsights, zGoogleAdsInsightsQuery, zGoogleAdsInsightsRow, zGoogleAdsKeyword, zGoogleAdsReadStatusFilter, zGoogleAdsSendConversionsResult, zGoogleAdsUrlCustomParameter, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupCriterionBody, zGoogleCreateAdGroupCriterionHeaders, zGoogleCreateAdGroupCriterionPath, zGoogleCreateAdGroupCriterionResponse, zGoogleCreateAdGroupHeaders, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdHeaders, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetHeaders, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignCriterionBody, zGoogleCreateCampaignCriterionHeaders, zGoogleCreateCampaignCriterionPath, zGoogleCreateCampaignCriterionResponse, zGoogleCreateCampaignHeaders, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionHeaders, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdHeaders, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordHeaders, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleEditAccountBody, zGoogleEditAccountHeaders, zGoogleEditAccountPath, zGoogleEditAccountResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupHeaders, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetHeaders, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignHeaders, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupHeaders, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdHeaders, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignHeaders, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordHeaders, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetAdTreePath, zGoogleGetAdTreeQuery, zGoogleGetAdTreeResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetConversionStatusPath, zGoogleGetConversionStatusQuery, zGoogleGetConversionStatusResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupCriteriaPath, zGoogleListAdGroupCriteriaResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsQuery, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsQuery, zGoogleListAdsResponse, zGoogleListAudiencesPath, zGoogleListAudiencesQuery, zGoogleListAudiencesResponse, zGoogleListCampaignCriteriaPath, zGoogleListCampaignCriteriaResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListConversionRequestsPath, zGoogleListConversionRequestsQuery, zGoogleListConversionRequestsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsQuery, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupHeaders, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdHeaders, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignHeaders, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordHeaders, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRemoveAdBody, zGoogleRemoveAdGroupBody, zGoogleRemoveAdGroupCriterionBody, zGoogleRemoveAdGroupCriterionHeaders, zGoogleRemoveAdGroupCriterionPath, zGoogleRemoveAdGroupCriterionResponse, zGoogleRemoveAdGroupHeaders, zGoogleRemoveAdGroupPath, zGoogleRemoveAdGroupResponse, zGoogleRemoveAdHeaders, zGoogleRemoveAdPath, zGoogleRemoveAdResponse, zGoogleRemoveBudgetBody, zGoogleRemoveBudgetHeaders, zGoogleRemoveBudgetPath, zGoogleRemoveBudgetResponse, zGoogleRemoveCampaignBody, zGoogleRemoveCampaignCriterionBody, zGoogleRemoveCampaignCriterionHeaders, zGoogleRemoveCampaignCriterionPath, zGoogleRemoveCampaignCriterionResponse, zGoogleRemoveCampaignHeaders, zGoogleRemoveCampaignPath, zGoogleRemoveCampaignResponse, zGoogleRemoveKeywordBody, zGoogleRemoveKeywordHeaders, zGoogleRemoveKeywordPath, zGoogleRemoveKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSearchGeoTargetsPath, zGoogleSearchGeoTargetsQuery, zGoogleSearchGeoTargetsResponse, zGoogleSendConversionsBody, zGoogleSendConversionsHeaders, zGoogleSendConversionsPath, zGoogleSendConversionsResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsHeaders, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetCampaignGeoSettingsBody, zGoogleSetCampaignGeoSettingsHeaders, zGoogleSetCampaignGeoSettingsPath, zGoogleSetCampaignGeoSettingsResponse, zGoogleSetCampaignTargetingSettingBody, zGoogleSetCampaignTargetingSettingHeaders, zGoogleSetCampaignTargetingSettingPath, zGoogleSetCampaignTargetingSettingResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalHeaders, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidHeaders, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetHeaders, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zIdempotencyKey, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMedia, zMediaAbortPath, zMediaAbortResponse, zMediaCompleteBody, zMediaCompletePath, zMediaCompleteResponse, zMediaCreateBody, zMediaCreateHeaders, zMediaCreateResponse, zMediaDeleteHeaders, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListPartsPath, zMediaListPartsResponse, zMediaListQuery, zMediaListResponse, zMediaSignPartBody, zMediaSignPartPath, zMediaSignPartResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdateHeaders, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPost, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantInput, zPostVariantStatus, zPostsCreateBody, zPostsCreateHeaders, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdateHeaders, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateHeaders, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokCreatorInfo, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointHeaders, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse } from '../chunk-
|
|
1
|
+
import { zGoogleAdsConversionEvent } from '../chunk-A6DM6I6G.js';
|
|
2
|
+
export { zConnectSession, zConnection, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectHeaders, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeleteHeaders, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectHeaders, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, zErrorCode, zErrorSource, zGoogleAdTree, zGoogleAdTreeNode, zGoogleAdsAd, zGoogleAdsAdGroup, zGoogleAdsAdGroupCriterion, zGoogleAdsAudience, zGoogleAdsCampaignCriterion, zGoogleAdsConversionConsent, zGoogleAdsConversionEvent, zGoogleAdsConversionRequest, zGoogleAdsConversionStatus, zGoogleAdsConversionStatusReason, zGoogleAdsConversionUserIdentifier, zGoogleAdsConversionWarning, zGoogleAdsCreateAdGroupCriterionRequest, zGoogleAdsCreateCampaignCriterionRequest, zGoogleAdsCreateResult, zGoogleAdsDeleteResult, zGoogleAdsEditResult, zGoogleAdsGeoSettingsRequest, zGoogleAdsGeoTargetConstant, zGoogleAdsInsightLevel, zGoogleAdsInsightMetric, zGoogleAdsInsightSegment, zGoogleAdsInsights, zGoogleAdsInsightsQuery, zGoogleAdsInsightsRow, zGoogleAdsKeyword, zGoogleAdsReadStatusFilter, zGoogleAdsSendConversionsResult, zGoogleAdsUrlCustomParameter, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupCriterionBody, zGoogleCreateAdGroupCriterionHeaders, zGoogleCreateAdGroupCriterionPath, zGoogleCreateAdGroupCriterionResponse, zGoogleCreateAdGroupHeaders, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdHeaders, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetHeaders, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignCriterionBody, zGoogleCreateCampaignCriterionHeaders, zGoogleCreateCampaignCriterionPath, zGoogleCreateCampaignCriterionResponse, zGoogleCreateCampaignHeaders, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionHeaders, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdHeaders, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordHeaders, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleEditAccountBody, zGoogleEditAccountHeaders, zGoogleEditAccountPath, zGoogleEditAccountResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupHeaders, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetHeaders, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignHeaders, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupHeaders, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdHeaders, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignHeaders, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordHeaders, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetAdTreePath, zGoogleGetAdTreeQuery, zGoogleGetAdTreeResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetConversionStatusPath, zGoogleGetConversionStatusQuery, zGoogleGetConversionStatusResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupCriteriaPath, zGoogleListAdGroupCriteriaResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsQuery, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsQuery, zGoogleListAdsResponse, zGoogleListAudiencesPath, zGoogleListAudiencesQuery, zGoogleListAudiencesResponse, zGoogleListCampaignCriteriaPath, zGoogleListCampaignCriteriaResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListConversionRequestsPath, zGoogleListConversionRequestsQuery, zGoogleListConversionRequestsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsQuery, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupHeaders, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdHeaders, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignHeaders, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordHeaders, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRemoveAdBody, zGoogleRemoveAdGroupBody, zGoogleRemoveAdGroupCriterionBody, zGoogleRemoveAdGroupCriterionHeaders, zGoogleRemoveAdGroupCriterionPath, zGoogleRemoveAdGroupCriterionResponse, zGoogleRemoveAdGroupHeaders, zGoogleRemoveAdGroupPath, zGoogleRemoveAdGroupResponse, zGoogleRemoveAdHeaders, zGoogleRemoveAdPath, zGoogleRemoveAdResponse, zGoogleRemoveBudgetBody, zGoogleRemoveBudgetHeaders, zGoogleRemoveBudgetPath, zGoogleRemoveBudgetResponse, zGoogleRemoveCampaignBody, zGoogleRemoveCampaignCriterionBody, zGoogleRemoveCampaignCriterionHeaders, zGoogleRemoveCampaignCriterionPath, zGoogleRemoveCampaignCriterionResponse, zGoogleRemoveCampaignHeaders, zGoogleRemoveCampaignPath, zGoogleRemoveCampaignResponse, zGoogleRemoveConversionActionBody, zGoogleRemoveConversionActionHeaders, zGoogleRemoveConversionActionPath, zGoogleRemoveConversionActionResponse, zGoogleRemoveKeywordBody, zGoogleRemoveKeywordHeaders, zGoogleRemoveKeywordPath, zGoogleRemoveKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSearchGeoTargetsPath, zGoogleSearchGeoTargetsQuery, zGoogleSearchGeoTargetsResponse, zGoogleSendConversionsBody, zGoogleSendConversionsHeaders, zGoogleSendConversionsPath, zGoogleSendConversionsResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsHeaders, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetCampaignGeoSettingsBody, zGoogleSetCampaignGeoSettingsHeaders, zGoogleSetCampaignGeoSettingsPath, zGoogleSetCampaignGeoSettingsResponse, zGoogleSetCampaignTargetingSettingBody, zGoogleSetCampaignTargetingSettingHeaders, zGoogleSetCampaignTargetingSettingPath, zGoogleSetCampaignTargetingSettingResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalHeaders, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidHeaders, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUpdateConversionActionBody, zGoogleUpdateConversionActionHeaders, zGoogleUpdateConversionActionPath, zGoogleUpdateConversionActionResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetHeaders, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zIdempotencyKey, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMedia, zMediaAbortPath, zMediaAbortResponse, zMediaCompleteBody, zMediaCompletePath, zMediaCompleteResponse, zMediaCreateBody, zMediaCreateHeaders, zMediaCreateResponse, zMediaDeleteHeaders, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListPartsPath, zMediaListPartsResponse, zMediaListQuery, zMediaListResponse, zMediaSignPartBody, zMediaSignPartPath, zMediaSignPartResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdateHeaders, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPost, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantInput, zPostVariantStatus, zPostsCreateBody, zPostsCreateHeaders, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdateHeaders, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateHeaders, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokCreatorInfo, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointHeaders, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse } from '../chunk-A6DM6I6G.js';
|
|
3
3
|
|
|
4
4
|
// src/schemas/conversions.ts
|
|
5
5
|
var conversionEventSchema = zGoogleAdsConversionEvent.superRefine(
|
package/dist/server.cjs
CHANGED
|
@@ -4833,6 +4833,8 @@ z__namespace.object({
|
|
|
4833
4833
|
"ONE_PER_CLICK",
|
|
4834
4834
|
"MANY_PER_CLICK"
|
|
4835
4835
|
]),
|
|
4836
|
+
click_through_lookback_window_days: z__namespace.number().nullable(),
|
|
4837
|
+
view_through_lookback_window_days: z__namespace.number().nullable(),
|
|
4836
4838
|
value_settings: z__namespace.object({
|
|
4837
4839
|
default_value: z__namespace.number().nullable(),
|
|
4838
4840
|
default_currency_code: z__namespace.string().nullable(),
|
|
@@ -5012,6 +5014,8 @@ z__namespace.object({
|
|
|
5012
5014
|
"ONE_PER_CLICK",
|
|
5013
5015
|
"MANY_PER_CLICK"
|
|
5014
5016
|
]),
|
|
5017
|
+
click_through_lookback_window_days: z__namespace.number().nullable(),
|
|
5018
|
+
view_through_lookback_window_days: z__namespace.number().nullable(),
|
|
5015
5019
|
value_settings: z__namespace.object({
|
|
5016
5020
|
default_value: z__namespace.number().nullable(),
|
|
5017
5021
|
default_currency_code: z__namespace.string().nullable(),
|
|
@@ -5036,6 +5040,61 @@ z__namespace.object({
|
|
|
5036
5040
|
event_snippet: z__namespace.string().nullable()
|
|
5037
5041
|
}))
|
|
5038
5042
|
});
|
|
5043
|
+
z__namespace.object({
|
|
5044
|
+
name: z__namespace.string().min(1).max(255).optional(),
|
|
5045
|
+
category: z__namespace.enum([
|
|
5046
|
+
"DEFAULT",
|
|
5047
|
+
"PAGE_VIEW",
|
|
5048
|
+
"PURCHASE",
|
|
5049
|
+
"SIGNUP",
|
|
5050
|
+
"DOWNLOAD",
|
|
5051
|
+
"ADD_TO_CART",
|
|
5052
|
+
"BEGIN_CHECKOUT",
|
|
5053
|
+
"SUBSCRIBE_PAID",
|
|
5054
|
+
"PHONE_CALL_LEAD",
|
|
5055
|
+
"IMPORTED_LEAD",
|
|
5056
|
+
"SUBMIT_LEAD_FORM",
|
|
5057
|
+
"BOOK_APPOINTMENT",
|
|
5058
|
+
"REQUEST_QUOTE",
|
|
5059
|
+
"GET_DIRECTIONS",
|
|
5060
|
+
"OUTBOUND_CLICK",
|
|
5061
|
+
"CONTACT",
|
|
5062
|
+
"ENGAGEMENT",
|
|
5063
|
+
"STORE_VISIT",
|
|
5064
|
+
"STORE_SALE",
|
|
5065
|
+
"QUALIFIED_LEAD",
|
|
5066
|
+
"CONVERTED_LEAD",
|
|
5067
|
+
"YOUTUBE_FOLLOW_ON_VIEWS"
|
|
5068
|
+
]).optional(),
|
|
5069
|
+
status: z__namespace.enum(["ENABLED"]).optional(),
|
|
5070
|
+
value_settings: z__namespace.object({
|
|
5071
|
+
default_value: z__namespace.number().gte(0).optional(),
|
|
5072
|
+
default_currency_code: z__namespace.string().length(3).optional(),
|
|
5073
|
+
always_use_default_value: z__namespace.boolean().optional()
|
|
5074
|
+
}).optional(),
|
|
5075
|
+
counting_type: z__namespace.enum(["ONE_PER_CLICK", "MANY_PER_CLICK"]).optional(),
|
|
5076
|
+
click_through_lookback_window_days: z__namespace.int().gt(0).lte(9007199254740991).optional(),
|
|
5077
|
+
view_through_lookback_window_days: z__namespace.int().gt(0).lte(9007199254740991).optional(),
|
|
5078
|
+
primary_for_goal: z__namespace.boolean().optional(),
|
|
5079
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
5080
|
+
});
|
|
5081
|
+
z__namespace.object({
|
|
5082
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
5083
|
+
});
|
|
5084
|
+
z__namespace.object({
|
|
5085
|
+
connection_id: z__namespace.string(),
|
|
5086
|
+
id: z__namespace.string().regex(/^\d+$/)
|
|
5087
|
+
});
|
|
5088
|
+
z__namespace.object({
|
|
5089
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
5090
|
+
});
|
|
5091
|
+
z__namespace.object({
|
|
5092
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
5093
|
+
});
|
|
5094
|
+
z__namespace.object({
|
|
5095
|
+
connection_id: z__namespace.string(),
|
|
5096
|
+
id: z__namespace.string().regex(/^\d+$/)
|
|
5097
|
+
});
|
|
5039
5098
|
z__namespace.object({
|
|
5040
5099
|
conversion_action_id: z__namespace.string().regex(/^\d+$/),
|
|
5041
5100
|
conversions: z__namespace.array(zGoogleAdsConversionEvent).min(1).max(2e3),
|
|
@@ -6082,8 +6141,54 @@ var PostrunError = class extends Error {
|
|
|
6082
6141
|
}
|
|
6083
6142
|
};
|
|
6084
6143
|
|
|
6144
|
+
// src/token-cache.ts
|
|
6145
|
+
function createTokenCache(getToken) {
|
|
6146
|
+
let cached;
|
|
6147
|
+
let inFlight;
|
|
6148
|
+
const mint = () => {
|
|
6149
|
+
if (!inFlight) {
|
|
6150
|
+
inFlight = Promise.resolve().then(getToken).then((token) => {
|
|
6151
|
+
cached = token;
|
|
6152
|
+
return token;
|
|
6153
|
+
}).finally(() => {
|
|
6154
|
+
inFlight = void 0;
|
|
6155
|
+
});
|
|
6156
|
+
}
|
|
6157
|
+
return inFlight;
|
|
6158
|
+
};
|
|
6159
|
+
return {
|
|
6160
|
+
current() {
|
|
6161
|
+
return cached !== void 0 ? Promise.resolve(cached) : mint();
|
|
6162
|
+
},
|
|
6163
|
+
refresh() {
|
|
6164
|
+
cached = void 0;
|
|
6165
|
+
return mint();
|
|
6166
|
+
}
|
|
6167
|
+
};
|
|
6168
|
+
}
|
|
6169
|
+
|
|
6085
6170
|
// src/client.ts
|
|
6086
6171
|
var DEFAULT_BASE_URL = "https://api.postrun.ai/v1";
|
|
6172
|
+
var UNAUTHORIZED = 401;
|
|
6173
|
+
function createRetryingFetch(tokenCache) {
|
|
6174
|
+
const realFetch = (...args) => globalThis.fetch(...args);
|
|
6175
|
+
return async (input, init) => {
|
|
6176
|
+
const request = new Request(input, init);
|
|
6177
|
+
const retryable = request.clone();
|
|
6178
|
+
const response = await realFetch(request);
|
|
6179
|
+
if (response.status !== UNAUTHORIZED) {
|
|
6180
|
+
return response;
|
|
6181
|
+
}
|
|
6182
|
+
try {
|
|
6183
|
+
const token = await tokenCache.refresh();
|
|
6184
|
+
const headers = new Headers(retryable.headers);
|
|
6185
|
+
headers.set("Authorization", `Bearer ${token}`);
|
|
6186
|
+
return await realFetch(new Request(retryable, { headers }));
|
|
6187
|
+
} catch {
|
|
6188
|
+
return response;
|
|
6189
|
+
}
|
|
6190
|
+
};
|
|
6191
|
+
}
|
|
6087
6192
|
function appendScalar(parts, key, value) {
|
|
6088
6193
|
parts.push(
|
|
6089
6194
|
`${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`
|
|
@@ -6110,10 +6215,12 @@ function serializeQuery(query) {
|
|
|
6110
6215
|
return parts.join("&");
|
|
6111
6216
|
}
|
|
6112
6217
|
function createPostrunClient(options) {
|
|
6218
|
+
const tokenCache = createTokenCache(options.getToken);
|
|
6113
6219
|
const client2 = createClient(
|
|
6114
6220
|
createConfig({
|
|
6115
6221
|
baseUrl: options.baseUrl ?? DEFAULT_BASE_URL,
|
|
6116
|
-
auth: () =>
|
|
6222
|
+
auth: () => tokenCache.current(),
|
|
6223
|
+
fetch: createRetryingFetch(tokenCache),
|
|
6117
6224
|
querySerializer: serializeQuery,
|
|
6118
6225
|
throwOnError: true
|
|
6119
6226
|
})
|