@postrun/js 2.21.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.
@@ -1,4 +1,4 @@
1
- import { zErrorCode } from './chunk-B3QMJNLV.js';
1
+ import { zErrorCode } from './chunk-K3UUBD7Z.js';
2
2
  import * as z from 'zod';
3
3
 
4
4
  var ProblemSchema = z.object({
@@ -1355,6 +1355,23 @@ var googleGetAccount = (options) => (options.client ?? client).get({
1355
1355
  url: "/google/{connection_id}/account",
1356
1356
  ...options
1357
1357
  });
1358
+ var googleEditAccount = (options) => (options.client ?? client).patch({
1359
+ security: [{
1360
+ key: "secretKey",
1361
+ scheme: "bearer",
1362
+ type: "http"
1363
+ }, {
1364
+ key: "frontendToken",
1365
+ scheme: "bearer",
1366
+ type: "http"
1367
+ }],
1368
+ url: "/google/{connection_id}/url-settings",
1369
+ ...options,
1370
+ headers: {
1371
+ "Content-Type": "application/json",
1372
+ ...options.headers
1373
+ }
1374
+ });
1358
1375
  var googleGetInsights = (options) => (options.client ?? client).post({
1359
1376
  security: [{
1360
1377
  key: "secretKey",
@@ -2095,7 +2112,7 @@ var googleGetConversionAction = (options) => (options.client ?? client).get({
2095
2112
  url: "/google/{connection_id}/conversion-actions/{id}",
2096
2113
  ...options
2097
2114
  });
2098
- var googleListConversionGoals = (options) => (options.client ?? client).get({
2115
+ var googleSendConversions = (options) => (options.client ?? client).post({
2099
2116
  security: [{
2100
2117
  key: "secretKey",
2101
2118
  scheme: "bearer",
@@ -2105,10 +2122,27 @@ var googleListConversionGoals = (options) => (options.client ?? client).get({
2105
2122
  scheme: "bearer",
2106
2123
  type: "http"
2107
2124
  }],
2108
- url: "/google/{connection_id}/conversion-goals",
2125
+ url: "/google/{connection_id}/conversions:send",
2126
+ ...options,
2127
+ headers: {
2128
+ "Content-Type": "application/json",
2129
+ ...options.headers
2130
+ }
2131
+ });
2132
+ var googleGetConversionStatus = (options) => (options.client ?? client).get({
2133
+ security: [{
2134
+ key: "secretKey",
2135
+ scheme: "bearer",
2136
+ type: "http"
2137
+ }, {
2138
+ key: "frontendToken",
2139
+ scheme: "bearer",
2140
+ type: "http"
2141
+ }],
2142
+ url: "/google/{connection_id}/conversions/status",
2109
2143
  ...options
2110
2144
  });
2111
- var googleSetConversionGoal = (options) => (options.client ?? client).post({
2145
+ var googleListConversionGoals = (options) => (options.client ?? client).get({
2112
2146
  security: [{
2113
2147
  key: "secretKey",
2114
2148
  scheme: "bearer",
@@ -2119,13 +2153,9 @@ var googleSetConversionGoal = (options) => (options.client ?? client).post({
2119
2153
  type: "http"
2120
2154
  }],
2121
2155
  url: "/google/{connection_id}/conversion-goals",
2122
- ...options,
2123
- headers: {
2124
- "Content-Type": "application/json",
2125
- ...options.headers
2126
- }
2156
+ ...options
2127
2157
  });
2128
- var googleUploadConversions = (options) => (options.client ?? client).post({
2158
+ var googleSetConversionGoal = (options) => (options.client ?? client).post({
2129
2159
  security: [{
2130
2160
  key: "secretKey",
2131
2161
  scheme: "bearer",
@@ -2135,7 +2165,7 @@ var googleUploadConversions = (options) => (options.client ?? client).post({
2135
2165
  scheme: "bearer",
2136
2166
  type: "http"
2137
2167
  }],
2138
- url: "/google/{connection_id}/conversion-uploads",
2168
+ url: "/google/{connection_id}/conversion-goals",
2139
2169
  ...options,
2140
2170
  headers: {
2141
2171
  "Content-Type": "application/json",
@@ -2288,6 +2318,6 @@ var tokensMint = (options) => (options.client ?? client).post({
2288
2318
  }
2289
2319
  });
2290
2320
 
2291
- export { PostrunError, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, createPostrunClient, googleCreateAd, googleCreateAdGroup, googleCreateAdGroupCriterion, googleCreateBudget, googleCreateCampaign, googleCreateCampaignCriterion, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetAdTree, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroupCriteria, googleListAdGroups, googleListAds, googleListAudiences, googleListCampaignCriteria, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRemoveAd, googleRemoveAdGroup, googleRemoveAdGroupCriterion, googleRemoveBudget, googleRemoveCampaign, googleRemoveCampaignCriterion, googleRemoveKeyword, googleRunGaql, googleSearchGeoTargets, googleSetAdGroupBids, googleSetCampaignGeoSettings, googleSetCampaignTargetingSetting, googleSetConversionGoal, googleSetKeywordBid, googleUploadConversions, googleUploadImageAsset, logsGet, logsList, mediaAbort, mediaComplete, mediaCreate, mediaDelete, mediaGet, mediaList, mediaListParts, mediaSignPart, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, tiktokCreatorInfo, tokensMint, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint };
2292
- //# sourceMappingURL=chunk-Z24YOZBU.js.map
2293
- //# sourceMappingURL=chunk-Z24YOZBU.js.map
2321
+ export { PostrunError, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, createPostrunClient, googleCreateAd, googleCreateAdGroup, googleCreateAdGroupCriterion, googleCreateBudget, googleCreateCampaign, googleCreateCampaignCriterion, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleEditAccount, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetAdTree, googleGetCampaign, googleGetConversionAction, googleGetConversionStatus, googleGetInsights, googleGetKeyword, googleListAdGroupCriteria, googleListAdGroups, googleListAds, googleListAudiences, googleListCampaignCriteria, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRemoveAd, googleRemoveAdGroup, googleRemoveAdGroupCriterion, googleRemoveBudget, googleRemoveCampaign, googleRemoveCampaignCriterion, googleRemoveKeyword, googleRunGaql, googleSearchGeoTargets, googleSendConversions, googleSetAdGroupBids, googleSetCampaignGeoSettings, googleSetCampaignTargetingSetting, googleSetConversionGoal, googleSetKeywordBid, googleUploadImageAsset, logsGet, logsList, mediaAbort, mediaComplete, mediaCreate, mediaDelete, mediaGet, mediaList, mediaListParts, mediaSignPart, mediaUpdate, metaAccount, metaAd, metaAds, metaAdset, metaAdsets, metaCampaign, metaCampaigns, metaInsights, postsCreate, postsDelete, postsGet, postsList, postsUpdate, postsValidate, profilesCreate, profilesDelete, profilesGet, profilesList, profilesUpdate, tiktokCreatorInfo, tokensMint, webhooksCreateEndpoint, webhooksCreatePortal, webhooksDeleteEndpoint, webhooksGetEndpoint, webhooksListEndpoints, webhooksListEventTypes, webhooksPing, webhooksUpdateEndpoint };
2322
+ //# sourceMappingURL=chunk-ENKRNIUY.js.map
2323
+ //# sourceMappingURL=chunk-ENKRNIUY.js.map