@postrun/js 2.21.0 → 2.22.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/query.js CHANGED
@@ -1281,6 +1281,23 @@ var googleGetAccount = (options) => (options.client ?? client).get({
1281
1281
  url: "/google/{connection_id}/account",
1282
1282
  ...options
1283
1283
  });
1284
+ var googleEditAccount = (options) => (options.client ?? client).patch({
1285
+ security: [{
1286
+ key: "secretKey",
1287
+ scheme: "bearer",
1288
+ type: "http"
1289
+ }, {
1290
+ key: "frontendToken",
1291
+ scheme: "bearer",
1292
+ type: "http"
1293
+ }],
1294
+ url: "/google/{connection_id}/url-settings",
1295
+ ...options,
1296
+ headers: {
1297
+ "Content-Type": "application/json",
1298
+ ...options.headers
1299
+ }
1300
+ });
1284
1301
  var googleGetInsights = (options) => (options.client ?? client).post({
1285
1302
  security: [{
1286
1303
  key: "secretKey",
@@ -2051,23 +2068,6 @@ var googleSetConversionGoal = (options) => (options.client ?? client).post({
2051
2068
  ...options.headers
2052
2069
  }
2053
2070
  });
2054
- var googleUploadConversions = (options) => (options.client ?? client).post({
2055
- security: [{
2056
- key: "secretKey",
2057
- scheme: "bearer",
2058
- type: "http"
2059
- }, {
2060
- key: "frontendToken",
2061
- scheme: "bearer",
2062
- type: "http"
2063
- }],
2064
- url: "/google/{connection_id}/conversion-uploads",
2065
- ...options,
2066
- headers: {
2067
- "Content-Type": "application/json",
2068
- ...options.headers
2069
- }
2070
- });
2071
2071
  var googleUploadImageAsset = (options) => (options.client ?? client).post({
2072
2072
  security: [{
2073
2073
  key: "secretKey",
@@ -2805,6 +2805,19 @@ var googleGetAccountOptions = (options) => queryOptions({
2805
2805
  },
2806
2806
  queryKey: googleGetAccountQueryKey(options)
2807
2807
  });
2808
+ var googleEditAccountMutation = (options) => {
2809
+ const mutationOptions = {
2810
+ mutationFn: async (fnOptions) => {
2811
+ const { data } = await googleEditAccount({
2812
+ ...options,
2813
+ ...fnOptions,
2814
+ throwOnError: true
2815
+ });
2816
+ return data;
2817
+ }
2818
+ };
2819
+ return mutationOptions;
2820
+ };
2808
2821
  var googleGetInsightsMutation = (options) => {
2809
2822
  const mutationOptions = {
2810
2823
  mutationFn: async (fnOptions) => {
@@ -3455,19 +3468,6 @@ var googleSetConversionGoalMutation = (options) => {
3455
3468
  };
3456
3469
  return mutationOptions;
3457
3470
  };
3458
- var googleUploadConversionsMutation = (options) => {
3459
- const mutationOptions = {
3460
- mutationFn: async (fnOptions) => {
3461
- const { data } = await googleUploadConversions({
3462
- ...options,
3463
- ...fnOptions,
3464
- throwOnError: true
3465
- });
3466
- return data;
3467
- }
3468
- };
3469
- return mutationOptions;
3470
- };
3471
3471
  var googleUploadImageAssetMutation = (options) => {
3472
3472
  const mutationOptions = {
3473
3473
  mutationFn: async (fnOptions) => {
@@ -3682,6 +3682,6 @@ var tokensMintMutation = (options) => {
3682
3682
  return mutationOptions;
3683
3683
  };
3684
3684
 
3685
- export { connectionsConnectMutation, connectionsDeleteMutation, connectionsGetOptions, connectionsGetQueryKey, connectionsListAccountsOptions, connectionsListAccountsQueryKey, connectionsListByProfileInfiniteOptions, connectionsListByProfileInfiniteQueryKey, connectionsListByProfileOptions, connectionsListByProfileQueryKey, connectionsSelectMutation, googleCreateAdGroupCriterionMutation, googleCreateAdGroupMutation, googleCreateAdMutation, googleCreateBudgetMutation, googleCreateCampaignCriterionMutation, googleCreateCampaignMutation, googleCreateConversionActionMutation, googleCreateDisplayAdMutation, googleCreateKeywordMutation, 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, googleUploadConversionsMutation, 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 };
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 };
3686
3686
  //# sourceMappingURL=query.js.map
3687
3687
  //# sourceMappingURL=query.js.map