@postrun/js 2.19.0 → 2.21.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-EBCBBXLX.js → chunk-B3QMJNLV.js} +305 -62
- package/dist/chunk-B3QMJNLV.js.map +1 -0
- package/dist/{chunk-UAOUZR6K.js → chunk-Z24YOZBU.js} +77 -64
- package/dist/chunk-Z24YOZBU.js.map +1 -0
- package/dist/index.cjs +382 -103
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +86 -57
- package/dist/index.d.ts +86 -57
- 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 +8772 -631
- package/dist/query.d.ts +8772 -631
- package/dist/query.js +147 -121
- package/dist/query.js.map +1 -1
- package/dist/schemas/index.cjs +374 -80
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +498 -86
- package/dist/schemas/index.d.ts +498 -86
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +278 -36
- 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-DebHd_dS.d.cts} +8682 -562
- package/dist/{types.gen-D7d6RVzh.d.ts → types.gen-DebHd_dS.d.ts} +8682 -562
- package/package.json +1 -1
- package/dist/chunk-EBCBBXLX.js.map +0 -1
- package/dist/chunk-UAOUZR6K.js.map +0 -1
package/dist/query.cjs
CHANGED
|
@@ -1300,6 +1300,19 @@ var googleGetInsights = (options) => (options.client ?? client).post({
|
|
|
1300
1300
|
...options.headers
|
|
1301
1301
|
}
|
|
1302
1302
|
});
|
|
1303
|
+
var googleGetAdTree = (options) => (options.client ?? client).get({
|
|
1304
|
+
security: [{
|
|
1305
|
+
key: "secretKey",
|
|
1306
|
+
scheme: "bearer",
|
|
1307
|
+
type: "http"
|
|
1308
|
+
}, {
|
|
1309
|
+
key: "frontendToken",
|
|
1310
|
+
scheme: "bearer",
|
|
1311
|
+
type: "http"
|
|
1312
|
+
}],
|
|
1313
|
+
url: "/google/{connection_id}/ads/tree",
|
|
1314
|
+
...options
|
|
1315
|
+
});
|
|
1303
1316
|
var googleRunGaql = (options) => (options.client ?? client).post({
|
|
1304
1317
|
security: [{
|
|
1305
1318
|
key: "secretKey",
|
|
@@ -1330,15 +1343,11 @@ var googleCreateBudget = (options) => (options.client ?? client).post({
|
|
|
1330
1343
|
...options.headers
|
|
1331
1344
|
}
|
|
1332
1345
|
});
|
|
1333
|
-
var
|
|
1346
|
+
var googleEditBudget = (options) => (options.client ?? client).patch({
|
|
1334
1347
|
security: [{
|
|
1335
1348
|
key: "secretKey",
|
|
1336
1349
|
scheme: "bearer",
|
|
1337
1350
|
type: "http"
|
|
1338
|
-
}, {
|
|
1339
|
-
key: "frontendToken",
|
|
1340
|
-
scheme: "bearer",
|
|
1341
|
-
type: "http"
|
|
1342
1351
|
}],
|
|
1343
1352
|
url: "/google/{connection_id}/budgets/{id}",
|
|
1344
1353
|
...options,
|
|
@@ -1347,13 +1356,17 @@ var googleDeleteBudget = (options) => (options.client ?? client).delete({
|
|
|
1347
1356
|
...options.headers
|
|
1348
1357
|
}
|
|
1349
1358
|
});
|
|
1350
|
-
var
|
|
1359
|
+
var googleRemoveBudget = (options) => (options.client ?? client).post({
|
|
1351
1360
|
security: [{
|
|
1352
1361
|
key: "secretKey",
|
|
1353
1362
|
scheme: "bearer",
|
|
1354
1363
|
type: "http"
|
|
1364
|
+
}, {
|
|
1365
|
+
key: "frontendToken",
|
|
1366
|
+
scheme: "bearer",
|
|
1367
|
+
type: "http"
|
|
1355
1368
|
}],
|
|
1356
|
-
url: "/google/{connection_id}/budgets/{id}",
|
|
1369
|
+
url: "/google/{connection_id}/budgets/{id}/remove",
|
|
1357
1370
|
...options,
|
|
1358
1371
|
headers: {
|
|
1359
1372
|
"Content-Type": "application/json",
|
|
@@ -1390,7 +1403,7 @@ var googleCreateCampaign = (options) => (options.client ?? client).post({
|
|
|
1390
1403
|
...options.headers
|
|
1391
1404
|
}
|
|
1392
1405
|
});
|
|
1393
|
-
var
|
|
1406
|
+
var googleGetCampaign = (options) => (options.client ?? client).get({
|
|
1394
1407
|
security: [{
|
|
1395
1408
|
key: "secretKey",
|
|
1396
1409
|
scheme: "bearer",
|
|
@@ -1401,13 +1414,9 @@ var googleDeleteCampaign = (options) => (options.client ?? client).delete({
|
|
|
1401
1414
|
type: "http"
|
|
1402
1415
|
}],
|
|
1403
1416
|
url: "/google/{connection_id}/campaigns/{id}",
|
|
1404
|
-
...options
|
|
1405
|
-
headers: {
|
|
1406
|
-
"Content-Type": "application/json",
|
|
1407
|
-
...options.headers
|
|
1408
|
-
}
|
|
1417
|
+
...options
|
|
1409
1418
|
});
|
|
1410
|
-
var
|
|
1419
|
+
var googleEditCampaign = (options) => (options.client ?? client).patch({
|
|
1411
1420
|
security: [{
|
|
1412
1421
|
key: "secretKey",
|
|
1413
1422
|
scheme: "bearer",
|
|
@@ -1418,9 +1427,13 @@ var googleGetCampaign = (options) => (options.client ?? client).get({
|
|
|
1418
1427
|
type: "http"
|
|
1419
1428
|
}],
|
|
1420
1429
|
url: "/google/{connection_id}/campaigns/{id}",
|
|
1421
|
-
...options
|
|
1430
|
+
...options,
|
|
1431
|
+
headers: {
|
|
1432
|
+
"Content-Type": "application/json",
|
|
1433
|
+
...options.headers
|
|
1434
|
+
}
|
|
1422
1435
|
});
|
|
1423
|
-
var
|
|
1436
|
+
var googleRemoveCampaign = (options) => (options.client ?? client).post({
|
|
1424
1437
|
security: [{
|
|
1425
1438
|
key: "secretKey",
|
|
1426
1439
|
scheme: "bearer",
|
|
@@ -1430,7 +1443,7 @@ var googleEditCampaign = (options) => (options.client ?? client).patch({
|
|
|
1430
1443
|
scheme: "bearer",
|
|
1431
1444
|
type: "http"
|
|
1432
1445
|
}],
|
|
1433
|
-
url: "/google/{connection_id}/campaigns/{id}",
|
|
1446
|
+
url: "/google/{connection_id}/campaigns/{id}/remove",
|
|
1434
1447
|
...options,
|
|
1435
1448
|
headers: {
|
|
1436
1449
|
"Content-Type": "application/json",
|
|
@@ -1514,7 +1527,7 @@ var googleCreateCampaignCriterion = (options) => (options.client ?? client).post
|
|
|
1514
1527
|
...options.headers
|
|
1515
1528
|
}
|
|
1516
1529
|
});
|
|
1517
|
-
var
|
|
1530
|
+
var googleRemoveCampaignCriterion = (options) => (options.client ?? client).post({
|
|
1518
1531
|
security: [{
|
|
1519
1532
|
key: "secretKey",
|
|
1520
1533
|
scheme: "bearer",
|
|
@@ -1524,7 +1537,7 @@ var googleDeleteCampaignCriterion = (options) => (options.client ?? client).dele
|
|
|
1524
1537
|
scheme: "bearer",
|
|
1525
1538
|
type: "http"
|
|
1526
1539
|
}],
|
|
1527
|
-
url: "/google/{connection_id}/campaigns/{campaign_id}/criteria/{criterion_id}",
|
|
1540
|
+
url: "/google/{connection_id}/campaigns/{campaign_id}/criteria/{criterion_id}/remove",
|
|
1528
1541
|
...options,
|
|
1529
1542
|
headers: {
|
|
1530
1543
|
"Content-Type": "application/json",
|
|
@@ -1578,7 +1591,7 @@ var googleCreateAdGroup = (options) => (options.client ?? client).post({
|
|
|
1578
1591
|
...options.headers
|
|
1579
1592
|
}
|
|
1580
1593
|
});
|
|
1581
|
-
var
|
|
1594
|
+
var googleGetAdGroup = (options) => (options.client ?? client).get({
|
|
1582
1595
|
security: [{
|
|
1583
1596
|
key: "secretKey",
|
|
1584
1597
|
scheme: "bearer",
|
|
@@ -1589,13 +1602,9 @@ var googleDeleteAdGroup = (options) => (options.client ?? client).delete({
|
|
|
1589
1602
|
type: "http"
|
|
1590
1603
|
}],
|
|
1591
1604
|
url: "/google/{connection_id}/ad-groups/{id}",
|
|
1592
|
-
...options
|
|
1593
|
-
headers: {
|
|
1594
|
-
"Content-Type": "application/json",
|
|
1595
|
-
...options.headers
|
|
1596
|
-
}
|
|
1605
|
+
...options
|
|
1597
1606
|
});
|
|
1598
|
-
var
|
|
1607
|
+
var googleEditAdGroup = (options) => (options.client ?? client).patch({
|
|
1599
1608
|
security: [{
|
|
1600
1609
|
key: "secretKey",
|
|
1601
1610
|
scheme: "bearer",
|
|
@@ -1606,32 +1615,36 @@ var googleGetAdGroup = (options) => (options.client ?? client).get({
|
|
|
1606
1615
|
type: "http"
|
|
1607
1616
|
}],
|
|
1608
1617
|
url: "/google/{connection_id}/ad-groups/{id}",
|
|
1609
|
-
...options
|
|
1618
|
+
...options,
|
|
1619
|
+
headers: {
|
|
1620
|
+
"Content-Type": "application/json",
|
|
1621
|
+
...options.headers
|
|
1622
|
+
}
|
|
1610
1623
|
});
|
|
1611
|
-
var
|
|
1624
|
+
var googleSetAdGroupBids = (options) => (options.client ?? client).patch({
|
|
1612
1625
|
security: [{
|
|
1613
1626
|
key: "secretKey",
|
|
1614
1627
|
scheme: "bearer",
|
|
1615
1628
|
type: "http"
|
|
1616
|
-
}, {
|
|
1617
|
-
key: "frontendToken",
|
|
1618
|
-
scheme: "bearer",
|
|
1619
|
-
type: "http"
|
|
1620
1629
|
}],
|
|
1621
|
-
url: "/google/{connection_id}/ad-groups/{id}",
|
|
1630
|
+
url: "/google/{connection_id}/ad-groups/{id}/bids",
|
|
1622
1631
|
...options,
|
|
1623
1632
|
headers: {
|
|
1624
1633
|
"Content-Type": "application/json",
|
|
1625
1634
|
...options.headers
|
|
1626
1635
|
}
|
|
1627
1636
|
});
|
|
1628
|
-
var
|
|
1637
|
+
var googleRemoveAdGroup = (options) => (options.client ?? client).post({
|
|
1629
1638
|
security: [{
|
|
1630
1639
|
key: "secretKey",
|
|
1631
1640
|
scheme: "bearer",
|
|
1632
1641
|
type: "http"
|
|
1642
|
+
}, {
|
|
1643
|
+
key: "frontendToken",
|
|
1644
|
+
scheme: "bearer",
|
|
1645
|
+
type: "http"
|
|
1633
1646
|
}],
|
|
1634
|
-
url: "/google/{connection_id}/ad-groups/{id}/
|
|
1647
|
+
url: "/google/{connection_id}/ad-groups/{id}/remove",
|
|
1635
1648
|
...options,
|
|
1636
1649
|
headers: {
|
|
1637
1650
|
"Content-Type": "application/json",
|
|
@@ -1702,7 +1715,7 @@ var googleCreateAdGroupCriterion = (options) => (options.client ?? client).post(
|
|
|
1702
1715
|
...options.headers
|
|
1703
1716
|
}
|
|
1704
1717
|
});
|
|
1705
|
-
var
|
|
1718
|
+
var googleRemoveAdGroupCriterion = (options) => (options.client ?? client).post({
|
|
1706
1719
|
security: [{
|
|
1707
1720
|
key: "secretKey",
|
|
1708
1721
|
scheme: "bearer",
|
|
@@ -1712,7 +1725,7 @@ var googleDeleteAdGroupCriterion = (options) => (options.client ?? client).delet
|
|
|
1712
1725
|
scheme: "bearer",
|
|
1713
1726
|
type: "http"
|
|
1714
1727
|
}],
|
|
1715
|
-
url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria/{criterion_id}",
|
|
1728
|
+
url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria/{criterion_id}/remove",
|
|
1716
1729
|
...options,
|
|
1717
1730
|
headers: {
|
|
1718
1731
|
"Content-Type": "application/json",
|
|
@@ -1779,7 +1792,7 @@ var googleCreateAd = (options) => (options.client ?? client).post({
|
|
|
1779
1792
|
...options.headers
|
|
1780
1793
|
}
|
|
1781
1794
|
});
|
|
1782
|
-
var
|
|
1795
|
+
var googleGetAd = (options) => (options.client ?? client).get({
|
|
1783
1796
|
security: [{
|
|
1784
1797
|
key: "secretKey",
|
|
1785
1798
|
scheme: "bearer",
|
|
@@ -1790,13 +1803,9 @@ var googleDeleteAd = (options) => (options.client ?? client).delete({
|
|
|
1790
1803
|
type: "http"
|
|
1791
1804
|
}],
|
|
1792
1805
|
url: "/google/{connection_id}/ads/{id}",
|
|
1793
|
-
...options
|
|
1794
|
-
headers: {
|
|
1795
|
-
"Content-Type": "application/json",
|
|
1796
|
-
...options.headers
|
|
1797
|
-
}
|
|
1806
|
+
...options
|
|
1798
1807
|
});
|
|
1799
|
-
var
|
|
1808
|
+
var googleCreateDisplayAd = (options) => (options.client ?? client).post({
|
|
1800
1809
|
security: [{
|
|
1801
1810
|
key: "secretKey",
|
|
1802
1811
|
scheme: "bearer",
|
|
@@ -1806,10 +1815,14 @@ var googleGetAd = (options) => (options.client ?? client).get({
|
|
|
1806
1815
|
scheme: "bearer",
|
|
1807
1816
|
type: "http"
|
|
1808
1817
|
}],
|
|
1809
|
-
url: "/google/{connection_id}/ads
|
|
1810
|
-
...options
|
|
1818
|
+
url: "/google/{connection_id}/display-ads",
|
|
1819
|
+
...options,
|
|
1820
|
+
headers: {
|
|
1821
|
+
"Content-Type": "application/json",
|
|
1822
|
+
...options.headers
|
|
1823
|
+
}
|
|
1811
1824
|
});
|
|
1812
|
-
var
|
|
1825
|
+
var googleRemoveAd = (options) => (options.client ?? client).post({
|
|
1813
1826
|
security: [{
|
|
1814
1827
|
key: "secretKey",
|
|
1815
1828
|
scheme: "bearer",
|
|
@@ -1819,7 +1832,7 @@ var googleCreateDisplayAd = (options) => (options.client ?? client).post({
|
|
|
1819
1832
|
scheme: "bearer",
|
|
1820
1833
|
type: "http"
|
|
1821
1834
|
}],
|
|
1822
|
-
url: "/google/{connection_id}/
|
|
1835
|
+
url: "/google/{connection_id}/ads/{id}/remove",
|
|
1823
1836
|
...options,
|
|
1824
1837
|
headers: {
|
|
1825
1838
|
"Content-Type": "application/json",
|
|
@@ -1890,7 +1903,7 @@ var googleCreateKeyword = (options) => (options.client ?? client).post({
|
|
|
1890
1903
|
...options.headers
|
|
1891
1904
|
}
|
|
1892
1905
|
});
|
|
1893
|
-
var
|
|
1906
|
+
var googleGetKeyword = (options) => (options.client ?? client).get({
|
|
1894
1907
|
security: [{
|
|
1895
1908
|
key: "secretKey",
|
|
1896
1909
|
scheme: "bearer",
|
|
@@ -1901,13 +1914,22 @@ var googleDeleteKeyword = (options) => (options.client ?? client).delete({
|
|
|
1901
1914
|
type: "http"
|
|
1902
1915
|
}],
|
|
1903
1916
|
url: "/google/{connection_id}/keywords/{id}",
|
|
1917
|
+
...options
|
|
1918
|
+
});
|
|
1919
|
+
var googleSetKeywordBid = (options) => (options.client ?? client).patch({
|
|
1920
|
+
security: [{
|
|
1921
|
+
key: "secretKey",
|
|
1922
|
+
scheme: "bearer",
|
|
1923
|
+
type: "http"
|
|
1924
|
+
}],
|
|
1925
|
+
url: "/google/{connection_id}/keywords/{id}/bid",
|
|
1904
1926
|
...options,
|
|
1905
1927
|
headers: {
|
|
1906
1928
|
"Content-Type": "application/json",
|
|
1907
1929
|
...options.headers
|
|
1908
1930
|
}
|
|
1909
1931
|
});
|
|
1910
|
-
var
|
|
1932
|
+
var googleRemoveKeyword = (options) => (options.client ?? client).post({
|
|
1911
1933
|
security: [{
|
|
1912
1934
|
key: "secretKey",
|
|
1913
1935
|
scheme: "bearer",
|
|
@@ -1917,16 +1939,7 @@ var googleGetKeyword = (options) => (options.client ?? client).get({
|
|
|
1917
1939
|
scheme: "bearer",
|
|
1918
1940
|
type: "http"
|
|
1919
1941
|
}],
|
|
1920
|
-
url: "/google/{connection_id}/keywords/{id}",
|
|
1921
|
-
...options
|
|
1922
|
-
});
|
|
1923
|
-
var googleSetKeywordBid = (options) => (options.client ?? client).patch({
|
|
1924
|
-
security: [{
|
|
1925
|
-
key: "secretKey",
|
|
1926
|
-
scheme: "bearer",
|
|
1927
|
-
type: "http"
|
|
1928
|
-
}],
|
|
1929
|
-
url: "/google/{connection_id}/keywords/{id}/bid",
|
|
1942
|
+
url: "/google/{connection_id}/keywords/{id}/remove",
|
|
1930
1943
|
...options,
|
|
1931
1944
|
headers: {
|
|
1932
1945
|
"Content-Type": "application/json",
|
|
@@ -2807,6 +2820,19 @@ var googleGetInsightsMutation = (options) => {
|
|
|
2807
2820
|
};
|
|
2808
2821
|
return mutationOptions;
|
|
2809
2822
|
};
|
|
2823
|
+
var googleGetAdTreeQueryKey = (options) => createQueryKey("googleGetAdTree", options);
|
|
2824
|
+
var googleGetAdTreeOptions = (options) => reactQuery.queryOptions({
|
|
2825
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
2826
|
+
const { data } = await googleGetAdTree({
|
|
2827
|
+
...options,
|
|
2828
|
+
...queryKey[0],
|
|
2829
|
+
signal,
|
|
2830
|
+
throwOnError: true
|
|
2831
|
+
});
|
|
2832
|
+
return data;
|
|
2833
|
+
},
|
|
2834
|
+
queryKey: googleGetAdTreeQueryKey(options)
|
|
2835
|
+
});
|
|
2810
2836
|
var googleRunGaqlMutation = (options) => {
|
|
2811
2837
|
const mutationOptions = {
|
|
2812
2838
|
mutationFn: async (fnOptions) => {
|
|
@@ -2833,10 +2859,10 @@ var googleCreateBudgetMutation = (options) => {
|
|
|
2833
2859
|
};
|
|
2834
2860
|
return mutationOptions;
|
|
2835
2861
|
};
|
|
2836
|
-
var
|
|
2862
|
+
var googleEditBudgetMutation = (options) => {
|
|
2837
2863
|
const mutationOptions = {
|
|
2838
2864
|
mutationFn: async (fnOptions) => {
|
|
2839
|
-
const { data } = await
|
|
2865
|
+
const { data } = await googleEditBudget({
|
|
2840
2866
|
...options,
|
|
2841
2867
|
...fnOptions,
|
|
2842
2868
|
throwOnError: true
|
|
@@ -2846,10 +2872,10 @@ var googleDeleteBudgetMutation = (options) => {
|
|
|
2846
2872
|
};
|
|
2847
2873
|
return mutationOptions;
|
|
2848
2874
|
};
|
|
2849
|
-
var
|
|
2875
|
+
var googleRemoveBudgetMutation = (options) => {
|
|
2850
2876
|
const mutationOptions = {
|
|
2851
2877
|
mutationFn: async (fnOptions) => {
|
|
2852
|
-
const { data } = await
|
|
2878
|
+
const { data } = await googleRemoveBudget({
|
|
2853
2879
|
...options,
|
|
2854
2880
|
...fnOptions,
|
|
2855
2881
|
throwOnError: true
|
|
@@ -2885,19 +2911,6 @@ var googleCreateCampaignMutation = (options) => {
|
|
|
2885
2911
|
};
|
|
2886
2912
|
return mutationOptions;
|
|
2887
2913
|
};
|
|
2888
|
-
var googleDeleteCampaignMutation = (options) => {
|
|
2889
|
-
const mutationOptions = {
|
|
2890
|
-
mutationFn: async (fnOptions) => {
|
|
2891
|
-
const { data } = await googleDeleteCampaign({
|
|
2892
|
-
...options,
|
|
2893
|
-
...fnOptions,
|
|
2894
|
-
throwOnError: true
|
|
2895
|
-
});
|
|
2896
|
-
return data;
|
|
2897
|
-
}
|
|
2898
|
-
};
|
|
2899
|
-
return mutationOptions;
|
|
2900
|
-
};
|
|
2901
2914
|
var googleGetCampaignQueryKey = (options) => createQueryKey("googleGetCampaign", options);
|
|
2902
2915
|
var googleGetCampaignOptions = (options) => reactQuery.queryOptions({
|
|
2903
2916
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -2924,6 +2937,19 @@ var googleEditCampaignMutation = (options) => {
|
|
|
2924
2937
|
};
|
|
2925
2938
|
return mutationOptions;
|
|
2926
2939
|
};
|
|
2940
|
+
var googleRemoveCampaignMutation = (options) => {
|
|
2941
|
+
const mutationOptions = {
|
|
2942
|
+
mutationFn: async (fnOptions) => {
|
|
2943
|
+
const { data } = await googleRemoveCampaign({
|
|
2944
|
+
...options,
|
|
2945
|
+
...fnOptions,
|
|
2946
|
+
throwOnError: true
|
|
2947
|
+
});
|
|
2948
|
+
return data;
|
|
2949
|
+
}
|
|
2950
|
+
};
|
|
2951
|
+
return mutationOptions;
|
|
2952
|
+
};
|
|
2927
2953
|
var googlePauseCampaignMutation = (options) => {
|
|
2928
2954
|
const mutationOptions = {
|
|
2929
2955
|
mutationFn: async (fnOptions) => {
|
|
@@ -2989,10 +3015,10 @@ var googleCreateCampaignCriterionMutation = (options) => {
|
|
|
2989
3015
|
};
|
|
2990
3016
|
return mutationOptions;
|
|
2991
3017
|
};
|
|
2992
|
-
var
|
|
3018
|
+
var googleRemoveCampaignCriterionMutation = (options) => {
|
|
2993
3019
|
const mutationOptions = {
|
|
2994
3020
|
mutationFn: async (fnOptions) => {
|
|
2995
|
-
const { data } = await
|
|
3021
|
+
const { data } = await googleRemoveCampaignCriterion({
|
|
2996
3022
|
...options,
|
|
2997
3023
|
...fnOptions,
|
|
2998
3024
|
throwOnError: true
|
|
@@ -3041,19 +3067,6 @@ var googleCreateAdGroupMutation = (options) => {
|
|
|
3041
3067
|
};
|
|
3042
3068
|
return mutationOptions;
|
|
3043
3069
|
};
|
|
3044
|
-
var googleDeleteAdGroupMutation = (options) => {
|
|
3045
|
-
const mutationOptions = {
|
|
3046
|
-
mutationFn: async (fnOptions) => {
|
|
3047
|
-
const { data } = await googleDeleteAdGroup({
|
|
3048
|
-
...options,
|
|
3049
|
-
...fnOptions,
|
|
3050
|
-
throwOnError: true
|
|
3051
|
-
});
|
|
3052
|
-
return data;
|
|
3053
|
-
}
|
|
3054
|
-
};
|
|
3055
|
-
return mutationOptions;
|
|
3056
|
-
};
|
|
3057
3070
|
var googleGetAdGroupQueryKey = (options) => createQueryKey("googleGetAdGroup", options);
|
|
3058
3071
|
var googleGetAdGroupOptions = (options) => reactQuery.queryOptions({
|
|
3059
3072
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -3093,6 +3106,19 @@ var googleSetAdGroupBidsMutation = (options) => {
|
|
|
3093
3106
|
};
|
|
3094
3107
|
return mutationOptions;
|
|
3095
3108
|
};
|
|
3109
|
+
var googleRemoveAdGroupMutation = (options) => {
|
|
3110
|
+
const mutationOptions = {
|
|
3111
|
+
mutationFn: async (fnOptions) => {
|
|
3112
|
+
const { data } = await googleRemoveAdGroup({
|
|
3113
|
+
...options,
|
|
3114
|
+
...fnOptions,
|
|
3115
|
+
throwOnError: true
|
|
3116
|
+
});
|
|
3117
|
+
return data;
|
|
3118
|
+
}
|
|
3119
|
+
};
|
|
3120
|
+
return mutationOptions;
|
|
3121
|
+
};
|
|
3096
3122
|
var googlePauseAdGroupMutation = (options) => {
|
|
3097
3123
|
const mutationOptions = {
|
|
3098
3124
|
mutationFn: async (fnOptions) => {
|
|
@@ -3145,10 +3171,10 @@ var googleCreateAdGroupCriterionMutation = (options) => {
|
|
|
3145
3171
|
};
|
|
3146
3172
|
return mutationOptions;
|
|
3147
3173
|
};
|
|
3148
|
-
var
|
|
3174
|
+
var googleRemoveAdGroupCriterionMutation = (options) => {
|
|
3149
3175
|
const mutationOptions = {
|
|
3150
3176
|
mutationFn: async (fnOptions) => {
|
|
3151
|
-
const { data } = await
|
|
3177
|
+
const { data } = await googleRemoveAdGroupCriterion({
|
|
3152
3178
|
...options,
|
|
3153
3179
|
...fnOptions,
|
|
3154
3180
|
throwOnError: true
|
|
@@ -3210,19 +3236,6 @@ var googleCreateAdMutation = (options) => {
|
|
|
3210
3236
|
};
|
|
3211
3237
|
return mutationOptions;
|
|
3212
3238
|
};
|
|
3213
|
-
var googleDeleteAdMutation = (options) => {
|
|
3214
|
-
const mutationOptions = {
|
|
3215
|
-
mutationFn: async (fnOptions) => {
|
|
3216
|
-
const { data } = await googleDeleteAd({
|
|
3217
|
-
...options,
|
|
3218
|
-
...fnOptions,
|
|
3219
|
-
throwOnError: true
|
|
3220
|
-
});
|
|
3221
|
-
return data;
|
|
3222
|
-
}
|
|
3223
|
-
};
|
|
3224
|
-
return mutationOptions;
|
|
3225
|
-
};
|
|
3226
3239
|
var googleGetAdQueryKey = (options) => createQueryKey("googleGetAd", options);
|
|
3227
3240
|
var googleGetAdOptions = (options) => reactQuery.queryOptions({
|
|
3228
3241
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -3249,6 +3262,19 @@ var googleCreateDisplayAdMutation = (options) => {
|
|
|
3249
3262
|
};
|
|
3250
3263
|
return mutationOptions;
|
|
3251
3264
|
};
|
|
3265
|
+
var googleRemoveAdMutation = (options) => {
|
|
3266
|
+
const mutationOptions = {
|
|
3267
|
+
mutationFn: async (fnOptions) => {
|
|
3268
|
+
const { data } = await googleRemoveAd({
|
|
3269
|
+
...options,
|
|
3270
|
+
...fnOptions,
|
|
3271
|
+
throwOnError: true
|
|
3272
|
+
});
|
|
3273
|
+
return data;
|
|
3274
|
+
}
|
|
3275
|
+
};
|
|
3276
|
+
return mutationOptions;
|
|
3277
|
+
};
|
|
3252
3278
|
var googlePauseAdMutation = (options) => {
|
|
3253
3279
|
const mutationOptions = {
|
|
3254
3280
|
mutationFn: async (fnOptions) => {
|
|
@@ -3301,19 +3327,6 @@ var googleCreateKeywordMutation = (options) => {
|
|
|
3301
3327
|
};
|
|
3302
3328
|
return mutationOptions;
|
|
3303
3329
|
};
|
|
3304
|
-
var googleDeleteKeywordMutation = (options) => {
|
|
3305
|
-
const mutationOptions = {
|
|
3306
|
-
mutationFn: async (fnOptions) => {
|
|
3307
|
-
const { data } = await googleDeleteKeyword({
|
|
3308
|
-
...options,
|
|
3309
|
-
...fnOptions,
|
|
3310
|
-
throwOnError: true
|
|
3311
|
-
});
|
|
3312
|
-
return data;
|
|
3313
|
-
}
|
|
3314
|
-
};
|
|
3315
|
-
return mutationOptions;
|
|
3316
|
-
};
|
|
3317
3330
|
var googleGetKeywordQueryKey = (options) => createQueryKey("googleGetKeyword", options);
|
|
3318
3331
|
var googleGetKeywordOptions = (options) => reactQuery.queryOptions({
|
|
3319
3332
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -3340,6 +3353,19 @@ var googleSetKeywordBidMutation = (options) => {
|
|
|
3340
3353
|
};
|
|
3341
3354
|
return mutationOptions;
|
|
3342
3355
|
};
|
|
3356
|
+
var googleRemoveKeywordMutation = (options) => {
|
|
3357
|
+
const mutationOptions = {
|
|
3358
|
+
mutationFn: async (fnOptions) => {
|
|
3359
|
+
const { data } = await googleRemoveKeyword({
|
|
3360
|
+
...options,
|
|
3361
|
+
...fnOptions,
|
|
3362
|
+
throwOnError: true
|
|
3363
|
+
});
|
|
3364
|
+
return data;
|
|
3365
|
+
}
|
|
3366
|
+
};
|
|
3367
|
+
return mutationOptions;
|
|
3368
|
+
};
|
|
3343
3369
|
var googlePauseKeywordMutation = (options) => {
|
|
3344
3370
|
const mutationOptions = {
|
|
3345
3371
|
mutationFn: async (fnOptions) => {
|
|
@@ -3678,13 +3704,6 @@ exports.googleCreateCampaignMutation = googleCreateCampaignMutation;
|
|
|
3678
3704
|
exports.googleCreateConversionActionMutation = googleCreateConversionActionMutation;
|
|
3679
3705
|
exports.googleCreateDisplayAdMutation = googleCreateDisplayAdMutation;
|
|
3680
3706
|
exports.googleCreateKeywordMutation = googleCreateKeywordMutation;
|
|
3681
|
-
exports.googleDeleteAdGroupCriterionMutation = googleDeleteAdGroupCriterionMutation;
|
|
3682
|
-
exports.googleDeleteAdGroupMutation = googleDeleteAdGroupMutation;
|
|
3683
|
-
exports.googleDeleteAdMutation = googleDeleteAdMutation;
|
|
3684
|
-
exports.googleDeleteBudgetMutation = googleDeleteBudgetMutation;
|
|
3685
|
-
exports.googleDeleteCampaignCriterionMutation = googleDeleteCampaignCriterionMutation;
|
|
3686
|
-
exports.googleDeleteCampaignMutation = googleDeleteCampaignMutation;
|
|
3687
|
-
exports.googleDeleteKeywordMutation = googleDeleteKeywordMutation;
|
|
3688
3707
|
exports.googleEditAdGroupMutation = googleEditAdGroupMutation;
|
|
3689
3708
|
exports.googleEditBudgetMutation = googleEditBudgetMutation;
|
|
3690
3709
|
exports.googleEditCampaignMutation = googleEditCampaignMutation;
|
|
@@ -3698,6 +3717,8 @@ exports.googleGetAdGroupOptions = googleGetAdGroupOptions;
|
|
|
3698
3717
|
exports.googleGetAdGroupQueryKey = googleGetAdGroupQueryKey;
|
|
3699
3718
|
exports.googleGetAdOptions = googleGetAdOptions;
|
|
3700
3719
|
exports.googleGetAdQueryKey = googleGetAdQueryKey;
|
|
3720
|
+
exports.googleGetAdTreeOptions = googleGetAdTreeOptions;
|
|
3721
|
+
exports.googleGetAdTreeQueryKey = googleGetAdTreeQueryKey;
|
|
3701
3722
|
exports.googleGetCampaignOptions = googleGetCampaignOptions;
|
|
3702
3723
|
exports.googleGetCampaignQueryKey = googleGetCampaignQueryKey;
|
|
3703
3724
|
exports.googleGetConversionActionOptions = googleGetConversionActionOptions;
|
|
@@ -3727,6 +3748,13 @@ exports.googlePauseAdGroupMutation = googlePauseAdGroupMutation;
|
|
|
3727
3748
|
exports.googlePauseAdMutation = googlePauseAdMutation;
|
|
3728
3749
|
exports.googlePauseCampaignMutation = googlePauseCampaignMutation;
|
|
3729
3750
|
exports.googlePauseKeywordMutation = googlePauseKeywordMutation;
|
|
3751
|
+
exports.googleRemoveAdGroupCriterionMutation = googleRemoveAdGroupCriterionMutation;
|
|
3752
|
+
exports.googleRemoveAdGroupMutation = googleRemoveAdGroupMutation;
|
|
3753
|
+
exports.googleRemoveAdMutation = googleRemoveAdMutation;
|
|
3754
|
+
exports.googleRemoveBudgetMutation = googleRemoveBudgetMutation;
|
|
3755
|
+
exports.googleRemoveCampaignCriterionMutation = googleRemoveCampaignCriterionMutation;
|
|
3756
|
+
exports.googleRemoveCampaignMutation = googleRemoveCampaignMutation;
|
|
3757
|
+
exports.googleRemoveKeywordMutation = googleRemoveKeywordMutation;
|
|
3730
3758
|
exports.googleRunGaqlMutation = googleRunGaqlMutation;
|
|
3731
3759
|
exports.googleSearchGeoTargetsOptions = googleSearchGeoTargetsOptions;
|
|
3732
3760
|
exports.googleSearchGeoTargetsQueryKey = googleSearchGeoTargetsQueryKey;
|