@postrun/js 2.17.0 → 2.18.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-LSW34R3K.js';
1
+ import { zErrorCode } from './chunk-RSCSTB6J.js';
2
2
  import * as z from 'zod';
3
3
 
4
4
  var ProblemSchema = z.object({
@@ -1543,6 +1543,83 @@ var googleEnableCampaign = (options) => (options.client ?? client).post({
1543
1543
  ...options.headers
1544
1544
  }
1545
1545
  });
1546
+ var googleSearchGeoTargets = (options) => (options.client ?? client).get({
1547
+ security: [{
1548
+ key: "secretKey",
1549
+ scheme: "bearer",
1550
+ type: "http"
1551
+ }, {
1552
+ key: "frontendToken",
1553
+ scheme: "bearer",
1554
+ type: "http"
1555
+ }],
1556
+ url: "/google/{connection_id}/geo-targets/search",
1557
+ ...options
1558
+ });
1559
+ var googleListCampaignCriteria = (options) => (options.client ?? client).get({
1560
+ security: [{
1561
+ key: "secretKey",
1562
+ scheme: "bearer",
1563
+ type: "http"
1564
+ }, {
1565
+ key: "frontendToken",
1566
+ scheme: "bearer",
1567
+ type: "http"
1568
+ }],
1569
+ url: "/google/{connection_id}/campaigns/{campaign_id}/criteria",
1570
+ ...options
1571
+ });
1572
+ var googleCreateCampaignCriterion = (options) => (options.client ?? client).post({
1573
+ security: [{
1574
+ key: "secretKey",
1575
+ scheme: "bearer",
1576
+ type: "http"
1577
+ }, {
1578
+ key: "frontendToken",
1579
+ scheme: "bearer",
1580
+ type: "http"
1581
+ }],
1582
+ url: "/google/{connection_id}/campaigns/{campaign_id}/criteria",
1583
+ ...options,
1584
+ headers: {
1585
+ "Content-Type": "application/json",
1586
+ ...options.headers
1587
+ }
1588
+ });
1589
+ var googleDeleteCampaignCriterion = (options) => (options.client ?? client).delete({
1590
+ security: [{
1591
+ key: "secretKey",
1592
+ scheme: "bearer",
1593
+ type: "http"
1594
+ }, {
1595
+ key: "frontendToken",
1596
+ scheme: "bearer",
1597
+ type: "http"
1598
+ }],
1599
+ url: "/google/{connection_id}/campaigns/{campaign_id}/criteria/{criterion_id}",
1600
+ ...options,
1601
+ headers: {
1602
+ "Content-Type": "application/json",
1603
+ ...options.headers
1604
+ }
1605
+ });
1606
+ var googleSetCampaignGeoSettings = (options) => (options.client ?? client).patch({
1607
+ security: [{
1608
+ key: "secretKey",
1609
+ scheme: "bearer",
1610
+ type: "http"
1611
+ }, {
1612
+ key: "frontendToken",
1613
+ scheme: "bearer",
1614
+ type: "http"
1615
+ }],
1616
+ url: "/google/{connection_id}/campaigns/{campaign_id}/geo-settings",
1617
+ ...options,
1618
+ headers: {
1619
+ "Content-Type": "application/json",
1620
+ ...options.headers
1621
+ }
1622
+ });
1546
1623
  var googleListAdGroups = (options) => (options.client ?? client).get({
1547
1624
  security: [{
1548
1625
  key: "secretKey",
@@ -1667,6 +1744,83 @@ var googleEnableAdGroup = (options) => (options.client ?? client).post({
1667
1744
  ...options.headers
1668
1745
  }
1669
1746
  });
1747
+ var googleListAdGroupCriteria = (options) => (options.client ?? client).get({
1748
+ security: [{
1749
+ key: "secretKey",
1750
+ scheme: "bearer",
1751
+ type: "http"
1752
+ }, {
1753
+ key: "frontendToken",
1754
+ scheme: "bearer",
1755
+ type: "http"
1756
+ }],
1757
+ url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria",
1758
+ ...options
1759
+ });
1760
+ var googleCreateAdGroupCriterion = (options) => (options.client ?? client).post({
1761
+ security: [{
1762
+ key: "secretKey",
1763
+ scheme: "bearer",
1764
+ type: "http"
1765
+ }, {
1766
+ key: "frontendToken",
1767
+ scheme: "bearer",
1768
+ type: "http"
1769
+ }],
1770
+ url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria",
1771
+ ...options,
1772
+ headers: {
1773
+ "Content-Type": "application/json",
1774
+ ...options.headers
1775
+ }
1776
+ });
1777
+ var googleDeleteAdGroupCriterion = (options) => (options.client ?? client).delete({
1778
+ security: [{
1779
+ key: "secretKey",
1780
+ scheme: "bearer",
1781
+ type: "http"
1782
+ }, {
1783
+ key: "frontendToken",
1784
+ scheme: "bearer",
1785
+ type: "http"
1786
+ }],
1787
+ url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria/{criterion_id}",
1788
+ ...options,
1789
+ headers: {
1790
+ "Content-Type": "application/json",
1791
+ ...options.headers
1792
+ }
1793
+ });
1794
+ var googleListAudiences = (options) => (options.client ?? client).get({
1795
+ security: [{
1796
+ key: "secretKey",
1797
+ scheme: "bearer",
1798
+ type: "http"
1799
+ }, {
1800
+ key: "frontendToken",
1801
+ scheme: "bearer",
1802
+ type: "http"
1803
+ }],
1804
+ url: "/google/{connection_id}/audiences",
1805
+ ...options
1806
+ });
1807
+ var googleSetCampaignTargetingSetting = (options) => (options.client ?? client).patch({
1808
+ security: [{
1809
+ key: "secretKey",
1810
+ scheme: "bearer",
1811
+ type: "http"
1812
+ }, {
1813
+ key: "frontendToken",
1814
+ scheme: "bearer",
1815
+ type: "http"
1816
+ }],
1817
+ url: "/google/{connection_id}/campaigns/{campaign_id}/targeting-setting",
1818
+ ...options,
1819
+ headers: {
1820
+ "Content-Type": "application/json",
1821
+ ...options.headers
1822
+ }
1823
+ });
1670
1824
  var googleListAds = (options) => (options.client ?? client).get({
1671
1825
  security: [{
1672
1826
  key: "secretKey",
@@ -2121,6 +2275,6 @@ var tokensMint = (options) => (options.client ?? client).post({
2121
2275
  }
2122
2276
  });
2123
2277
 
2124
- export { PostrunError, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, createPostrunClient, googleCreateAd, googleCreateAdGroup, googleCreateBudget, googleCreateCampaign, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleDeleteAd, googleDeleteAdGroup, googleDeleteBudget, googleDeleteCampaign, googleDeleteKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroups, googleListAds, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, googleRunGaql, googleSetAdGroupBids, googleSetConversionGoal, googleSetKeywordBid, googleUploadConversions, googleUploadImageAsset, 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 };
2125
- //# sourceMappingURL=chunk-LMZC6OUA.js.map
2126
- //# sourceMappingURL=chunk-LMZC6OUA.js.map
2278
+ export { PostrunError, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, createPostrunClient, googleCreateAd, googleCreateAdGroup, googleCreateAdGroupCriterion, googleCreateBudget, googleCreateCampaign, googleCreateCampaignCriterion, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword, googleDeleteAd, googleDeleteAdGroup, googleDeleteAdGroupCriterion, googleDeleteBudget, googleDeleteCampaign, googleDeleteCampaignCriterion, googleDeleteKeyword, googleEditAdGroup, googleEditBudget, googleEditCampaign, googleEnableAd, googleEnableAdGroup, googleEnableCampaign, googleEnableKeyword, googleGetAccount, googleGetAd, googleGetAdGroup, googleGetCampaign, googleGetConversionAction, googleGetInsights, googleGetKeyword, googleListAdGroupCriteria, googleListAdGroups, googleListAds, googleListAudiences, googleListCampaignCriteria, googleListCampaigns, googleListConversionActions, googleListConversionGoals, googleListKeywords, googlePauseAd, googlePauseAdGroup, googlePauseCampaign, googlePauseKeyword, 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 };
2279
+ //# sourceMappingURL=chunk-V34SBEHW.js.map
2280
+ //# sourceMappingURL=chunk-V34SBEHW.js.map