@postrun/js 2.16.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-WKKPLEFG.js';
1
+ import { zErrorCode } from './chunk-RSCSTB6J.js';
2
2
  import * as z from 'zod';
3
3
 
4
4
  var ProblemSchema = z.object({
@@ -1088,6 +1088,66 @@ var mediaUpdate = (options) => (options.client ?? client).patch({
1088
1088
  ...options.headers
1089
1089
  }
1090
1090
  });
1091
+ var mediaSignPart = (options) => (options.client ?? client).post({
1092
+ security: [{
1093
+ key: "secretKey",
1094
+ scheme: "bearer",
1095
+ type: "http"
1096
+ }, {
1097
+ key: "frontendToken",
1098
+ scheme: "bearer",
1099
+ type: "http"
1100
+ }],
1101
+ url: "/media/{id}/multipart/sign",
1102
+ ...options,
1103
+ headers: {
1104
+ "Content-Type": "application/json",
1105
+ ...options.headers
1106
+ }
1107
+ });
1108
+ var mediaListParts = (options) => (options.client ?? client).get({
1109
+ security: [{
1110
+ key: "secretKey",
1111
+ scheme: "bearer",
1112
+ type: "http"
1113
+ }, {
1114
+ key: "frontendToken",
1115
+ scheme: "bearer",
1116
+ type: "http"
1117
+ }],
1118
+ url: "/media/{id}/multipart/parts",
1119
+ ...options
1120
+ });
1121
+ var mediaComplete = (options) => (options.client ?? client).post({
1122
+ security: [{
1123
+ key: "secretKey",
1124
+ scheme: "bearer",
1125
+ type: "http"
1126
+ }, {
1127
+ key: "frontendToken",
1128
+ scheme: "bearer",
1129
+ type: "http"
1130
+ }],
1131
+ url: "/media/{id}/multipart/complete",
1132
+ ...options,
1133
+ headers: {
1134
+ "Content-Type": "application/json",
1135
+ ...options.headers
1136
+ }
1137
+ });
1138
+ var mediaAbort = (options) => (options.client ?? client).post({
1139
+ security: [{
1140
+ key: "secretKey",
1141
+ scheme: "bearer",
1142
+ type: "http"
1143
+ }, {
1144
+ key: "frontendToken",
1145
+ scheme: "bearer",
1146
+ type: "http"
1147
+ }],
1148
+ url: "/media/{id}/multipart/abort",
1149
+ ...options
1150
+ });
1091
1151
  var postsList = (options) => (options?.client ?? client).get({
1092
1152
  security: [{
1093
1153
  key: "secretKey",
@@ -1483,6 +1543,83 @@ var googleEnableCampaign = (options) => (options.client ?? client).post({
1483
1543
  ...options.headers
1484
1544
  }
1485
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
+ });
1486
1623
  var googleListAdGroups = (options) => (options.client ?? client).get({
1487
1624
  security: [{
1488
1625
  key: "secretKey",
@@ -1607,6 +1744,83 @@ var googleEnableAdGroup = (options) => (options.client ?? client).post({
1607
1744
  ...options.headers
1608
1745
  }
1609
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
+ });
1610
1824
  var googleListAds = (options) => (options.client ?? client).get({
1611
1825
  security: [{
1612
1826
  key: "secretKey",
@@ -2061,6 +2275,6 @@ var tokensMint = (options) => (options.client ?? client).post({
2061
2275
  }
2062
2276
  });
2063
2277
 
2064
- 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, mediaCreate, mediaDelete, mediaGet, mediaList, 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 };
2065
- //# sourceMappingURL=chunk-DJXWVAER.js.map
2066
- //# sourceMappingURL=chunk-DJXWVAER.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