@postrun/js 2.19.0 → 2.20.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-UAOUZR6K.js → chunk-GJSZT5Q4.js} +77 -64
- package/dist/chunk-GJSZT5Q4.js.map +1 -0
- package/dist/{chunk-EBCBBXLX.js → chunk-ZGJ6TJD5.js} +269 -57
- package/dist/chunk-ZGJ6TJD5.js.map +1 -0
- package/dist/index.cjs +346 -98
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +83 -54
- package/dist/index.d.ts +83 -54
- package/dist/index.js +26 -4
- package/dist/index.js.map +1 -1
- package/dist/query.cjs +155 -127
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +8742 -628
- package/dist/query.d.ts +8742 -628
- package/dist/query.js +147 -121
- package/dist/query.js.map +1 -1
- package/dist/schemas/index.cjs +337 -75
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +398 -80
- package/dist/schemas/index.d.ts +398 -80
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +242 -31
- 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-D7d6RVzh.d.cts → types.gen-D7ytdorE.d.cts} +8633 -540
- package/dist/{types.gen-D7d6RVzh.d.ts → types.gen-D7ytdorE.d.ts} +8633 -540
- package/package.json +1 -1
- package/dist/chunk-EBCBBXLX.js.map +0 -1
- package/dist/chunk-UAOUZR6K.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { zErrorCode } from './chunk-
|
|
1
|
+
import { zErrorCode } from './chunk-ZGJ6TJD5.js';
|
|
2
2
|
import * as z from 'zod';
|
|
3
3
|
|
|
4
4
|
var ProblemSchema = z.object({
|
|
@@ -1372,6 +1372,19 @@ var googleGetInsights = (options) => (options.client ?? client).post({
|
|
|
1372
1372
|
...options.headers
|
|
1373
1373
|
}
|
|
1374
1374
|
});
|
|
1375
|
+
var googleGetAdTree = (options) => (options.client ?? client).get({
|
|
1376
|
+
security: [{
|
|
1377
|
+
key: "secretKey",
|
|
1378
|
+
scheme: "bearer",
|
|
1379
|
+
type: "http"
|
|
1380
|
+
}, {
|
|
1381
|
+
key: "frontendToken",
|
|
1382
|
+
scheme: "bearer",
|
|
1383
|
+
type: "http"
|
|
1384
|
+
}],
|
|
1385
|
+
url: "/google/{connection_id}/ads/tree",
|
|
1386
|
+
...options
|
|
1387
|
+
});
|
|
1375
1388
|
var googleRunGaql = (options) => (options.client ?? client).post({
|
|
1376
1389
|
security: [{
|
|
1377
1390
|
key: "secretKey",
|
|
@@ -1402,15 +1415,11 @@ var googleCreateBudget = (options) => (options.client ?? client).post({
|
|
|
1402
1415
|
...options.headers
|
|
1403
1416
|
}
|
|
1404
1417
|
});
|
|
1405
|
-
var
|
|
1418
|
+
var googleEditBudget = (options) => (options.client ?? client).patch({
|
|
1406
1419
|
security: [{
|
|
1407
1420
|
key: "secretKey",
|
|
1408
1421
|
scheme: "bearer",
|
|
1409
1422
|
type: "http"
|
|
1410
|
-
}, {
|
|
1411
|
-
key: "frontendToken",
|
|
1412
|
-
scheme: "bearer",
|
|
1413
|
-
type: "http"
|
|
1414
1423
|
}],
|
|
1415
1424
|
url: "/google/{connection_id}/budgets/{id}",
|
|
1416
1425
|
...options,
|
|
@@ -1419,13 +1428,17 @@ var googleDeleteBudget = (options) => (options.client ?? client).delete({
|
|
|
1419
1428
|
...options.headers
|
|
1420
1429
|
}
|
|
1421
1430
|
});
|
|
1422
|
-
var
|
|
1431
|
+
var googleRemoveBudget = (options) => (options.client ?? client).post({
|
|
1423
1432
|
security: [{
|
|
1424
1433
|
key: "secretKey",
|
|
1425
1434
|
scheme: "bearer",
|
|
1426
1435
|
type: "http"
|
|
1436
|
+
}, {
|
|
1437
|
+
key: "frontendToken",
|
|
1438
|
+
scheme: "bearer",
|
|
1439
|
+
type: "http"
|
|
1427
1440
|
}],
|
|
1428
|
-
url: "/google/{connection_id}/budgets/{id}",
|
|
1441
|
+
url: "/google/{connection_id}/budgets/{id}/remove",
|
|
1429
1442
|
...options,
|
|
1430
1443
|
headers: {
|
|
1431
1444
|
"Content-Type": "application/json",
|
|
@@ -1462,7 +1475,7 @@ var googleCreateCampaign = (options) => (options.client ?? client).post({
|
|
|
1462
1475
|
...options.headers
|
|
1463
1476
|
}
|
|
1464
1477
|
});
|
|
1465
|
-
var
|
|
1478
|
+
var googleGetCampaign = (options) => (options.client ?? client).get({
|
|
1466
1479
|
security: [{
|
|
1467
1480
|
key: "secretKey",
|
|
1468
1481
|
scheme: "bearer",
|
|
@@ -1473,13 +1486,9 @@ var googleDeleteCampaign = (options) => (options.client ?? client).delete({
|
|
|
1473
1486
|
type: "http"
|
|
1474
1487
|
}],
|
|
1475
1488
|
url: "/google/{connection_id}/campaigns/{id}",
|
|
1476
|
-
...options
|
|
1477
|
-
headers: {
|
|
1478
|
-
"Content-Type": "application/json",
|
|
1479
|
-
...options.headers
|
|
1480
|
-
}
|
|
1489
|
+
...options
|
|
1481
1490
|
});
|
|
1482
|
-
var
|
|
1491
|
+
var googleEditCampaign = (options) => (options.client ?? client).patch({
|
|
1483
1492
|
security: [{
|
|
1484
1493
|
key: "secretKey",
|
|
1485
1494
|
scheme: "bearer",
|
|
@@ -1490,9 +1499,13 @@ var googleGetCampaign = (options) => (options.client ?? client).get({
|
|
|
1490
1499
|
type: "http"
|
|
1491
1500
|
}],
|
|
1492
1501
|
url: "/google/{connection_id}/campaigns/{id}",
|
|
1493
|
-
...options
|
|
1502
|
+
...options,
|
|
1503
|
+
headers: {
|
|
1504
|
+
"Content-Type": "application/json",
|
|
1505
|
+
...options.headers
|
|
1506
|
+
}
|
|
1494
1507
|
});
|
|
1495
|
-
var
|
|
1508
|
+
var googleRemoveCampaign = (options) => (options.client ?? client).post({
|
|
1496
1509
|
security: [{
|
|
1497
1510
|
key: "secretKey",
|
|
1498
1511
|
scheme: "bearer",
|
|
@@ -1502,7 +1515,7 @@ var googleEditCampaign = (options) => (options.client ?? client).patch({
|
|
|
1502
1515
|
scheme: "bearer",
|
|
1503
1516
|
type: "http"
|
|
1504
1517
|
}],
|
|
1505
|
-
url: "/google/{connection_id}/campaigns/{id}",
|
|
1518
|
+
url: "/google/{connection_id}/campaigns/{id}/remove",
|
|
1506
1519
|
...options,
|
|
1507
1520
|
headers: {
|
|
1508
1521
|
"Content-Type": "application/json",
|
|
@@ -1586,7 +1599,7 @@ var googleCreateCampaignCriterion = (options) => (options.client ?? client).post
|
|
|
1586
1599
|
...options.headers
|
|
1587
1600
|
}
|
|
1588
1601
|
});
|
|
1589
|
-
var
|
|
1602
|
+
var googleRemoveCampaignCriterion = (options) => (options.client ?? client).post({
|
|
1590
1603
|
security: [{
|
|
1591
1604
|
key: "secretKey",
|
|
1592
1605
|
scheme: "bearer",
|
|
@@ -1596,7 +1609,7 @@ var googleDeleteCampaignCriterion = (options) => (options.client ?? client).dele
|
|
|
1596
1609
|
scheme: "bearer",
|
|
1597
1610
|
type: "http"
|
|
1598
1611
|
}],
|
|
1599
|
-
url: "/google/{connection_id}/campaigns/{campaign_id}/criteria/{criterion_id}",
|
|
1612
|
+
url: "/google/{connection_id}/campaigns/{campaign_id}/criteria/{criterion_id}/remove",
|
|
1600
1613
|
...options,
|
|
1601
1614
|
headers: {
|
|
1602
1615
|
"Content-Type": "application/json",
|
|
@@ -1650,7 +1663,7 @@ var googleCreateAdGroup = (options) => (options.client ?? client).post({
|
|
|
1650
1663
|
...options.headers
|
|
1651
1664
|
}
|
|
1652
1665
|
});
|
|
1653
|
-
var
|
|
1666
|
+
var googleGetAdGroup = (options) => (options.client ?? client).get({
|
|
1654
1667
|
security: [{
|
|
1655
1668
|
key: "secretKey",
|
|
1656
1669
|
scheme: "bearer",
|
|
@@ -1661,13 +1674,9 @@ var googleDeleteAdGroup = (options) => (options.client ?? client).delete({
|
|
|
1661
1674
|
type: "http"
|
|
1662
1675
|
}],
|
|
1663
1676
|
url: "/google/{connection_id}/ad-groups/{id}",
|
|
1664
|
-
...options
|
|
1665
|
-
headers: {
|
|
1666
|
-
"Content-Type": "application/json",
|
|
1667
|
-
...options.headers
|
|
1668
|
-
}
|
|
1677
|
+
...options
|
|
1669
1678
|
});
|
|
1670
|
-
var
|
|
1679
|
+
var googleEditAdGroup = (options) => (options.client ?? client).patch({
|
|
1671
1680
|
security: [{
|
|
1672
1681
|
key: "secretKey",
|
|
1673
1682
|
scheme: "bearer",
|
|
@@ -1678,32 +1687,36 @@ var googleGetAdGroup = (options) => (options.client ?? client).get({
|
|
|
1678
1687
|
type: "http"
|
|
1679
1688
|
}],
|
|
1680
1689
|
url: "/google/{connection_id}/ad-groups/{id}",
|
|
1681
|
-
...options
|
|
1690
|
+
...options,
|
|
1691
|
+
headers: {
|
|
1692
|
+
"Content-Type": "application/json",
|
|
1693
|
+
...options.headers
|
|
1694
|
+
}
|
|
1682
1695
|
});
|
|
1683
|
-
var
|
|
1696
|
+
var googleSetAdGroupBids = (options) => (options.client ?? client).patch({
|
|
1684
1697
|
security: [{
|
|
1685
1698
|
key: "secretKey",
|
|
1686
1699
|
scheme: "bearer",
|
|
1687
1700
|
type: "http"
|
|
1688
|
-
}, {
|
|
1689
|
-
key: "frontendToken",
|
|
1690
|
-
scheme: "bearer",
|
|
1691
|
-
type: "http"
|
|
1692
1701
|
}],
|
|
1693
|
-
url: "/google/{connection_id}/ad-groups/{id}",
|
|
1702
|
+
url: "/google/{connection_id}/ad-groups/{id}/bids",
|
|
1694
1703
|
...options,
|
|
1695
1704
|
headers: {
|
|
1696
1705
|
"Content-Type": "application/json",
|
|
1697
1706
|
...options.headers
|
|
1698
1707
|
}
|
|
1699
1708
|
});
|
|
1700
|
-
var
|
|
1709
|
+
var googleRemoveAdGroup = (options) => (options.client ?? client).post({
|
|
1701
1710
|
security: [{
|
|
1702
1711
|
key: "secretKey",
|
|
1703
1712
|
scheme: "bearer",
|
|
1704
1713
|
type: "http"
|
|
1714
|
+
}, {
|
|
1715
|
+
key: "frontendToken",
|
|
1716
|
+
scheme: "bearer",
|
|
1717
|
+
type: "http"
|
|
1705
1718
|
}],
|
|
1706
|
-
url: "/google/{connection_id}/ad-groups/{id}/
|
|
1719
|
+
url: "/google/{connection_id}/ad-groups/{id}/remove",
|
|
1707
1720
|
...options,
|
|
1708
1721
|
headers: {
|
|
1709
1722
|
"Content-Type": "application/json",
|
|
@@ -1774,7 +1787,7 @@ var googleCreateAdGroupCriterion = (options) => (options.client ?? client).post(
|
|
|
1774
1787
|
...options.headers
|
|
1775
1788
|
}
|
|
1776
1789
|
});
|
|
1777
|
-
var
|
|
1790
|
+
var googleRemoveAdGroupCriterion = (options) => (options.client ?? client).post({
|
|
1778
1791
|
security: [{
|
|
1779
1792
|
key: "secretKey",
|
|
1780
1793
|
scheme: "bearer",
|
|
@@ -1784,7 +1797,7 @@ var googleDeleteAdGroupCriterion = (options) => (options.client ?? client).delet
|
|
|
1784
1797
|
scheme: "bearer",
|
|
1785
1798
|
type: "http"
|
|
1786
1799
|
}],
|
|
1787
|
-
url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria/{criterion_id}",
|
|
1800
|
+
url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria/{criterion_id}/remove",
|
|
1788
1801
|
...options,
|
|
1789
1802
|
headers: {
|
|
1790
1803
|
"Content-Type": "application/json",
|
|
@@ -1851,7 +1864,7 @@ var googleCreateAd = (options) => (options.client ?? client).post({
|
|
|
1851
1864
|
...options.headers
|
|
1852
1865
|
}
|
|
1853
1866
|
});
|
|
1854
|
-
var
|
|
1867
|
+
var googleGetAd = (options) => (options.client ?? client).get({
|
|
1855
1868
|
security: [{
|
|
1856
1869
|
key: "secretKey",
|
|
1857
1870
|
scheme: "bearer",
|
|
@@ -1862,13 +1875,9 @@ var googleDeleteAd = (options) => (options.client ?? client).delete({
|
|
|
1862
1875
|
type: "http"
|
|
1863
1876
|
}],
|
|
1864
1877
|
url: "/google/{connection_id}/ads/{id}",
|
|
1865
|
-
...options
|
|
1866
|
-
headers: {
|
|
1867
|
-
"Content-Type": "application/json",
|
|
1868
|
-
...options.headers
|
|
1869
|
-
}
|
|
1878
|
+
...options
|
|
1870
1879
|
});
|
|
1871
|
-
var
|
|
1880
|
+
var googleCreateDisplayAd = (options) => (options.client ?? client).post({
|
|
1872
1881
|
security: [{
|
|
1873
1882
|
key: "secretKey",
|
|
1874
1883
|
scheme: "bearer",
|
|
@@ -1878,10 +1887,14 @@ var googleGetAd = (options) => (options.client ?? client).get({
|
|
|
1878
1887
|
scheme: "bearer",
|
|
1879
1888
|
type: "http"
|
|
1880
1889
|
}],
|
|
1881
|
-
url: "/google/{connection_id}/ads
|
|
1882
|
-
...options
|
|
1890
|
+
url: "/google/{connection_id}/display-ads",
|
|
1891
|
+
...options,
|
|
1892
|
+
headers: {
|
|
1893
|
+
"Content-Type": "application/json",
|
|
1894
|
+
...options.headers
|
|
1895
|
+
}
|
|
1883
1896
|
});
|
|
1884
|
-
var
|
|
1897
|
+
var googleRemoveAd = (options) => (options.client ?? client).post({
|
|
1885
1898
|
security: [{
|
|
1886
1899
|
key: "secretKey",
|
|
1887
1900
|
scheme: "bearer",
|
|
@@ -1891,7 +1904,7 @@ var googleCreateDisplayAd = (options) => (options.client ?? client).post({
|
|
|
1891
1904
|
scheme: "bearer",
|
|
1892
1905
|
type: "http"
|
|
1893
1906
|
}],
|
|
1894
|
-
url: "/google/{connection_id}/
|
|
1907
|
+
url: "/google/{connection_id}/ads/{id}/remove",
|
|
1895
1908
|
...options,
|
|
1896
1909
|
headers: {
|
|
1897
1910
|
"Content-Type": "application/json",
|
|
@@ -1962,7 +1975,7 @@ var googleCreateKeyword = (options) => (options.client ?? client).post({
|
|
|
1962
1975
|
...options.headers
|
|
1963
1976
|
}
|
|
1964
1977
|
});
|
|
1965
|
-
var
|
|
1978
|
+
var googleGetKeyword = (options) => (options.client ?? client).get({
|
|
1966
1979
|
security: [{
|
|
1967
1980
|
key: "secretKey",
|
|
1968
1981
|
scheme: "bearer",
|
|
@@ -1973,13 +1986,22 @@ var googleDeleteKeyword = (options) => (options.client ?? client).delete({
|
|
|
1973
1986
|
type: "http"
|
|
1974
1987
|
}],
|
|
1975
1988
|
url: "/google/{connection_id}/keywords/{id}",
|
|
1989
|
+
...options
|
|
1990
|
+
});
|
|
1991
|
+
var googleSetKeywordBid = (options) => (options.client ?? client).patch({
|
|
1992
|
+
security: [{
|
|
1993
|
+
key: "secretKey",
|
|
1994
|
+
scheme: "bearer",
|
|
1995
|
+
type: "http"
|
|
1996
|
+
}],
|
|
1997
|
+
url: "/google/{connection_id}/keywords/{id}/bid",
|
|
1976
1998
|
...options,
|
|
1977
1999
|
headers: {
|
|
1978
2000
|
"Content-Type": "application/json",
|
|
1979
2001
|
...options.headers
|
|
1980
2002
|
}
|
|
1981
2003
|
});
|
|
1982
|
-
var
|
|
2004
|
+
var googleRemoveKeyword = (options) => (options.client ?? client).post({
|
|
1983
2005
|
security: [{
|
|
1984
2006
|
key: "secretKey",
|
|
1985
2007
|
scheme: "bearer",
|
|
@@ -1989,16 +2011,7 @@ var googleGetKeyword = (options) => (options.client ?? client).get({
|
|
|
1989
2011
|
scheme: "bearer",
|
|
1990
2012
|
type: "http"
|
|
1991
2013
|
}],
|
|
1992
|
-
url: "/google/{connection_id}/keywords/{id}",
|
|
1993
|
-
...options
|
|
1994
|
-
});
|
|
1995
|
-
var googleSetKeywordBid = (options) => (options.client ?? client).patch({
|
|
1996
|
-
security: [{
|
|
1997
|
-
key: "secretKey",
|
|
1998
|
-
scheme: "bearer",
|
|
1999
|
-
type: "http"
|
|
2000
|
-
}],
|
|
2001
|
-
url: "/google/{connection_id}/keywords/{id}/bid",
|
|
2014
|
+
url: "/google/{connection_id}/keywords/{id}/remove",
|
|
2002
2015
|
...options,
|
|
2003
2016
|
headers: {
|
|
2004
2017
|
"Content-Type": "application/json",
|
|
@@ -2275,6 +2288,6 @@ var tokensMint = (options) => (options.client ?? client).post({
|
|
|
2275
2288
|
}
|
|
2276
2289
|
});
|
|
2277
2290
|
|
|
2278
|
-
export { PostrunError, connectionsConnect, connectionsDelete, connectionsGet, connectionsListAccounts, connectionsListByProfile, connectionsSelect, createPostrunClient, googleCreateAd, googleCreateAdGroup, googleCreateAdGroupCriterion, googleCreateBudget, googleCreateCampaign, googleCreateCampaignCriterion, googleCreateConversionAction, googleCreateDisplayAd, googleCreateKeyword,
|
|
2279
|
-
//# sourceMappingURL=chunk-
|
|
2280
|
-
//# sourceMappingURL=chunk-
|
|
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-GJSZT5Q4.js.map
|
|
2293
|
+
//# sourceMappingURL=chunk-GJSZT5Q4.js.map
|