@postrun/js 2.22.0 → 2.23.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-P63UL3NN.js → chunk-ENKRNIUY.js} +34 -4
- package/dist/chunk-ENKRNIUY.js.map +1 -0
- package/dist/{chunk-LBW67FTZ.js → chunk-K3UUBD7Z.js} +272 -3
- package/dist/chunk-K3UUBD7Z.js.map +1 -0
- package/dist/index.cjs +299 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -3
- package/dist/index.d.ts +19 -3
- package/dist/index.js +3 -3
- package/dist/query.cjs +59 -0
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +1377 -581
- package/dist/query.d.ts +1377 -581
- package/dist/query.js +57 -1
- package/dist/query.js.map +1 -1
- package/dist/schemas/index.cjs +283 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +791 -1
- package/dist/schemas/index.d.ts +791 -1
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +267 -0
- 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-DKL2avBZ.d.cts → types.gen-BKyrVtiG.d.cts} +775 -12
- package/dist/{types.gen-DKL2avBZ.d.ts → types.gen-BKyrVtiG.d.ts} +775 -12
- package/package.json +1 -1
- package/dist/chunk-LBW67FTZ.js.map +0 -1
- package/dist/chunk-P63UL3NN.js.map +0 -1
package/dist/query.js
CHANGED
|
@@ -2038,6 +2038,36 @@ var googleGetConversionAction = (options) => (options.client ?? client).get({
|
|
|
2038
2038
|
url: "/google/{connection_id}/conversion-actions/{id}",
|
|
2039
2039
|
...options
|
|
2040
2040
|
});
|
|
2041
|
+
var googleSendConversions = (options) => (options.client ?? client).post({
|
|
2042
|
+
security: [{
|
|
2043
|
+
key: "secretKey",
|
|
2044
|
+
scheme: "bearer",
|
|
2045
|
+
type: "http"
|
|
2046
|
+
}, {
|
|
2047
|
+
key: "frontendToken",
|
|
2048
|
+
scheme: "bearer",
|
|
2049
|
+
type: "http"
|
|
2050
|
+
}],
|
|
2051
|
+
url: "/google/{connection_id}/conversions:send",
|
|
2052
|
+
...options,
|
|
2053
|
+
headers: {
|
|
2054
|
+
"Content-Type": "application/json",
|
|
2055
|
+
...options.headers
|
|
2056
|
+
}
|
|
2057
|
+
});
|
|
2058
|
+
var googleGetConversionStatus = (options) => (options.client ?? client).get({
|
|
2059
|
+
security: [{
|
|
2060
|
+
key: "secretKey",
|
|
2061
|
+
scheme: "bearer",
|
|
2062
|
+
type: "http"
|
|
2063
|
+
}, {
|
|
2064
|
+
key: "frontendToken",
|
|
2065
|
+
scheme: "bearer",
|
|
2066
|
+
type: "http"
|
|
2067
|
+
}],
|
|
2068
|
+
url: "/google/{connection_id}/conversions/status",
|
|
2069
|
+
...options
|
|
2070
|
+
});
|
|
2041
2071
|
var googleListConversionGoals = (options) => (options.client ?? client).get({
|
|
2042
2072
|
security: [{
|
|
2043
2073
|
key: "secretKey",
|
|
@@ -3442,6 +3472,32 @@ var googleGetConversionActionOptions = (options) => queryOptions({
|
|
|
3442
3472
|
},
|
|
3443
3473
|
queryKey: googleGetConversionActionQueryKey(options)
|
|
3444
3474
|
});
|
|
3475
|
+
var googleSendConversionsMutation = (options) => {
|
|
3476
|
+
const mutationOptions = {
|
|
3477
|
+
mutationFn: async (fnOptions) => {
|
|
3478
|
+
const { data } = await googleSendConversions({
|
|
3479
|
+
...options,
|
|
3480
|
+
...fnOptions,
|
|
3481
|
+
throwOnError: true
|
|
3482
|
+
});
|
|
3483
|
+
return data;
|
|
3484
|
+
}
|
|
3485
|
+
};
|
|
3486
|
+
return mutationOptions;
|
|
3487
|
+
};
|
|
3488
|
+
var googleGetConversionStatusQueryKey = (options) => createQueryKey("googleGetConversionStatus", options);
|
|
3489
|
+
var googleGetConversionStatusOptions = (options) => queryOptions({
|
|
3490
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3491
|
+
const { data } = await googleGetConversionStatus({
|
|
3492
|
+
...options,
|
|
3493
|
+
...queryKey[0],
|
|
3494
|
+
signal,
|
|
3495
|
+
throwOnError: true
|
|
3496
|
+
});
|
|
3497
|
+
return data;
|
|
3498
|
+
},
|
|
3499
|
+
queryKey: googleGetConversionStatusQueryKey(options)
|
|
3500
|
+
});
|
|
3445
3501
|
var googleListConversionGoalsQueryKey = (options) => createQueryKey("googleListConversionGoals", options);
|
|
3446
3502
|
var googleListConversionGoalsOptions = (options) => queryOptions({
|
|
3447
3503
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -3682,6 +3738,6 @@ var tokensMintMutation = (options) => {
|
|
|
3682
3738
|
return mutationOptions;
|
|
3683
3739
|
};
|
|
3684
3740
|
|
|
3685
|
-
export { connectionsConnectMutation, connectionsDeleteMutation, connectionsGetOptions, connectionsGetQueryKey, connectionsListAccountsOptions, connectionsListAccountsQueryKey, connectionsListByProfileInfiniteOptions, connectionsListByProfileInfiniteQueryKey, connectionsListByProfileOptions, connectionsListByProfileQueryKey, connectionsSelectMutation, googleCreateAdGroupCriterionMutation, googleCreateAdGroupMutation, googleCreateAdMutation, googleCreateBudgetMutation, googleCreateCampaignCriterionMutation, googleCreateCampaignMutation, googleCreateConversionActionMutation, googleCreateDisplayAdMutation, googleCreateKeywordMutation, googleEditAccountMutation, googleEditAdGroupMutation, googleEditBudgetMutation, googleEditCampaignMutation, googleEnableAdGroupMutation, googleEnableAdMutation, googleEnableCampaignMutation, googleEnableKeywordMutation, googleGetAccountOptions, googleGetAccountQueryKey, googleGetAdGroupOptions, googleGetAdGroupQueryKey, googleGetAdOptions, googleGetAdQueryKey, googleGetAdTreeOptions, googleGetAdTreeQueryKey, googleGetCampaignOptions, googleGetCampaignQueryKey, googleGetConversionActionOptions, googleGetConversionActionQueryKey, googleGetInsightsMutation, googleGetKeywordOptions, googleGetKeywordQueryKey, googleListAdGroupCriteriaOptions, googleListAdGroupCriteriaQueryKey, googleListAdGroupsOptions, googleListAdGroupsQueryKey, googleListAdsOptions, googleListAdsQueryKey, googleListAudiencesOptions, googleListAudiencesQueryKey, googleListCampaignCriteriaOptions, googleListCampaignCriteriaQueryKey, googleListCampaignsOptions, googleListCampaignsQueryKey, googleListConversionActionsOptions, googleListConversionActionsQueryKey, googleListConversionGoalsOptions, googleListConversionGoalsQueryKey, googleListKeywordsOptions, googleListKeywordsQueryKey, googlePauseAdGroupMutation, googlePauseAdMutation, googlePauseCampaignMutation, googlePauseKeywordMutation, googleRemoveAdGroupCriterionMutation, googleRemoveAdGroupMutation, googleRemoveAdMutation, googleRemoveBudgetMutation, googleRemoveCampaignCriterionMutation, googleRemoveCampaignMutation, googleRemoveKeywordMutation, googleRunGaqlMutation, googleSearchGeoTargetsOptions, googleSearchGeoTargetsQueryKey, googleSetAdGroupBidsMutation, googleSetCampaignGeoSettingsMutation, googleSetCampaignTargetingSettingMutation, googleSetConversionGoalMutation, googleSetKeywordBidMutation, googleUploadImageAssetMutation, logsGetOptions, logsGetQueryKey, logsListInfiniteOptions, logsListInfiniteQueryKey, logsListOptions, logsListQueryKey, mediaAbortMutation, mediaCompleteMutation, mediaCreateMutation, mediaDeleteMutation, mediaGetOptions, mediaGetQueryKey, mediaListInfiniteOptions, mediaListInfiniteQueryKey, mediaListOptions, mediaListPartsOptions, mediaListPartsQueryKey, mediaListQueryKey, mediaSignPartMutation, mediaUpdateMutation, metaAccountOptions, metaAccountQueryKey, metaAdOptions, metaAdQueryKey, metaAdsOptions, metaAdsQueryKey, metaAdsetOptions, metaAdsetQueryKey, metaAdsetsOptions, metaAdsetsQueryKey, metaCampaignOptions, metaCampaignQueryKey, metaCampaignsOptions, metaCampaignsQueryKey, metaInsightsOptions, metaInsightsQueryKey, postsCreateMutation, postsDeleteMutation, postsGetOptions, postsGetQueryKey, postsListInfiniteOptions, postsListInfiniteQueryKey, postsListOptions, postsListQueryKey, postsUpdateMutation, postsValidateMutation, profilesCreateMutation, profilesDeleteMutation, profilesGetOptions, profilesGetQueryKey, profilesListInfiniteOptions, profilesListInfiniteQueryKey, profilesListOptions, profilesListQueryKey, profilesUpdateMutation, tiktokCreatorInfoOptions, tiktokCreatorInfoQueryKey, tokensMintMutation, webhooksCreateEndpointMutation, webhooksCreatePortalMutation, webhooksDeleteEndpointMutation, webhooksGetEndpointOptions, webhooksGetEndpointQueryKey, webhooksListEndpointsInfiniteOptions, webhooksListEndpointsInfiniteQueryKey, webhooksListEndpointsOptions, webhooksListEndpointsQueryKey, webhooksListEventTypesOptions, webhooksListEventTypesQueryKey, webhooksPingMutation, webhooksUpdateEndpointMutation };
|
|
3741
|
+
export { connectionsConnectMutation, connectionsDeleteMutation, connectionsGetOptions, connectionsGetQueryKey, connectionsListAccountsOptions, connectionsListAccountsQueryKey, connectionsListByProfileInfiniteOptions, connectionsListByProfileInfiniteQueryKey, connectionsListByProfileOptions, connectionsListByProfileQueryKey, connectionsSelectMutation, googleCreateAdGroupCriterionMutation, googleCreateAdGroupMutation, googleCreateAdMutation, googleCreateBudgetMutation, googleCreateCampaignCriterionMutation, googleCreateCampaignMutation, googleCreateConversionActionMutation, googleCreateDisplayAdMutation, googleCreateKeywordMutation, googleEditAccountMutation, googleEditAdGroupMutation, googleEditBudgetMutation, googleEditCampaignMutation, googleEnableAdGroupMutation, googleEnableAdMutation, googleEnableCampaignMutation, googleEnableKeywordMutation, googleGetAccountOptions, googleGetAccountQueryKey, googleGetAdGroupOptions, googleGetAdGroupQueryKey, googleGetAdOptions, googleGetAdQueryKey, googleGetAdTreeOptions, googleGetAdTreeQueryKey, googleGetCampaignOptions, googleGetCampaignQueryKey, googleGetConversionActionOptions, googleGetConversionActionQueryKey, googleGetConversionStatusOptions, googleGetConversionStatusQueryKey, googleGetInsightsMutation, googleGetKeywordOptions, googleGetKeywordQueryKey, googleListAdGroupCriteriaOptions, googleListAdGroupCriteriaQueryKey, googleListAdGroupsOptions, googleListAdGroupsQueryKey, googleListAdsOptions, googleListAdsQueryKey, googleListAudiencesOptions, googleListAudiencesQueryKey, googleListCampaignCriteriaOptions, googleListCampaignCriteriaQueryKey, googleListCampaignsOptions, googleListCampaignsQueryKey, googleListConversionActionsOptions, googleListConversionActionsQueryKey, googleListConversionGoalsOptions, googleListConversionGoalsQueryKey, googleListKeywordsOptions, googleListKeywordsQueryKey, googlePauseAdGroupMutation, googlePauseAdMutation, googlePauseCampaignMutation, googlePauseKeywordMutation, googleRemoveAdGroupCriterionMutation, googleRemoveAdGroupMutation, googleRemoveAdMutation, googleRemoveBudgetMutation, googleRemoveCampaignCriterionMutation, googleRemoveCampaignMutation, googleRemoveKeywordMutation, googleRunGaqlMutation, googleSearchGeoTargetsOptions, googleSearchGeoTargetsQueryKey, googleSendConversionsMutation, googleSetAdGroupBidsMutation, googleSetCampaignGeoSettingsMutation, googleSetCampaignTargetingSettingMutation, googleSetConversionGoalMutation, googleSetKeywordBidMutation, googleUploadImageAssetMutation, logsGetOptions, logsGetQueryKey, logsListInfiniteOptions, logsListInfiniteQueryKey, logsListOptions, logsListQueryKey, mediaAbortMutation, mediaCompleteMutation, mediaCreateMutation, mediaDeleteMutation, mediaGetOptions, mediaGetQueryKey, mediaListInfiniteOptions, mediaListInfiniteQueryKey, mediaListOptions, mediaListPartsOptions, mediaListPartsQueryKey, mediaListQueryKey, mediaSignPartMutation, mediaUpdateMutation, metaAccountOptions, metaAccountQueryKey, metaAdOptions, metaAdQueryKey, metaAdsOptions, metaAdsQueryKey, metaAdsetOptions, metaAdsetQueryKey, metaAdsetsOptions, metaAdsetsQueryKey, metaCampaignOptions, metaCampaignQueryKey, metaCampaignsOptions, metaCampaignsQueryKey, metaInsightsOptions, metaInsightsQueryKey, postsCreateMutation, postsDeleteMutation, postsGetOptions, postsGetQueryKey, postsListInfiniteOptions, postsListInfiniteQueryKey, postsListOptions, postsListQueryKey, postsUpdateMutation, postsValidateMutation, profilesCreateMutation, profilesDeleteMutation, profilesGetOptions, profilesGetQueryKey, profilesListInfiniteOptions, profilesListInfiniteQueryKey, profilesListOptions, profilesListQueryKey, profilesUpdateMutation, tiktokCreatorInfoOptions, tiktokCreatorInfoQueryKey, tokensMintMutation, webhooksCreateEndpointMutation, webhooksCreatePortalMutation, webhooksDeleteEndpointMutation, webhooksGetEndpointOptions, webhooksGetEndpointQueryKey, webhooksListEndpointsInfiniteOptions, webhooksListEndpointsInfiniteQueryKey, webhooksListEndpointsOptions, webhooksListEndpointsQueryKey, webhooksListEventTypesOptions, webhooksListEventTypesQueryKey, webhooksPingMutation, webhooksUpdateEndpointMutation };
|
|
3686
3742
|
//# sourceMappingURL=query.js.map
|
|
3687
3743
|
//# sourceMappingURL=query.js.map
|