@postrun/js 3.2.0 → 4.0.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/query.cjs CHANGED
@@ -1149,141 +1149,7 @@ var postsUpdate = (options) => (options.client ?? client).patch({
1149
1149
  ...options.headers
1150
1150
  }
1151
1151
  });
1152
- var postsValidate = (options) => (options.client ?? client).post({
1153
- security: [{
1154
- key: "secretKey",
1155
- scheme: "bearer",
1156
- type: "http"
1157
- }, {
1158
- key: "frontendToken",
1159
- scheme: "bearer",
1160
- type: "http"
1161
- }],
1162
- url: "/posts/validate",
1163
- ...options,
1164
- headers: {
1165
- "Content-Type": "application/json",
1166
- ...options.headers
1167
- }
1168
- });
1169
- var metaAccount = (options) => (options.client ?? client).get({
1170
- security: [{
1171
- key: "secretKey",
1172
- scheme: "bearer",
1173
- type: "http"
1174
- }, {
1175
- key: "frontendToken",
1176
- scheme: "bearer",
1177
- type: "http"
1178
- }],
1179
- url: "/meta/{connection_id}/account",
1180
- ...options
1181
- });
1182
- var metaInsights = (options) => (options.client ?? client).get({
1183
- security: [{
1184
- key: "secretKey",
1185
- scheme: "bearer",
1186
- type: "http"
1187
- }, {
1188
- key: "frontendToken",
1189
- scheme: "bearer",
1190
- type: "http"
1191
- }],
1192
- url: "/meta/{connection_id}/insights",
1193
- ...options
1194
- });
1195
- var metaCampaigns = (options) => (options.client ?? client).get({
1196
- security: [{
1197
- key: "secretKey",
1198
- scheme: "bearer",
1199
- type: "http"
1200
- }, {
1201
- key: "frontendToken",
1202
- scheme: "bearer",
1203
- type: "http"
1204
- }],
1205
- url: "/meta/{connection_id}/campaigns",
1206
- ...options
1207
- });
1208
- var metaCampaign = (options) => (options.client ?? client).get({
1209
- security: [{
1210
- key: "secretKey",
1211
- scheme: "bearer",
1212
- type: "http"
1213
- }, {
1214
- key: "frontendToken",
1215
- scheme: "bearer",
1216
- type: "http"
1217
- }],
1218
- url: "/meta/{connection_id}/campaigns/{campaign_id}",
1219
- ...options
1220
- });
1221
- var metaAdsets = (options) => (options.client ?? client).get({
1222
- security: [{
1223
- key: "secretKey",
1224
- scheme: "bearer",
1225
- type: "http"
1226
- }, {
1227
- key: "frontendToken",
1228
- scheme: "bearer",
1229
- type: "http"
1230
- }],
1231
- url: "/meta/{connection_id}/adsets",
1232
- ...options
1233
- });
1234
- var metaAdset = (options) => (options.client ?? client).get({
1235
- security: [{
1236
- key: "secretKey",
1237
- scheme: "bearer",
1238
- type: "http"
1239
- }, {
1240
- key: "frontendToken",
1241
- scheme: "bearer",
1242
- type: "http"
1243
- }],
1244
- url: "/meta/{connection_id}/adsets/{adset_id}",
1245
- ...options
1246
- });
1247
- var metaAds = (options) => (options.client ?? client).get({
1248
- security: [{
1249
- key: "secretKey",
1250
- scheme: "bearer",
1251
- type: "http"
1252
- }, {
1253
- key: "frontendToken",
1254
- scheme: "bearer",
1255
- type: "http"
1256
- }],
1257
- url: "/meta/{connection_id}/ads",
1258
- ...options
1259
- });
1260
- var metaAd = (options) => (options.client ?? client).get({
1261
- security: [{
1262
- key: "secretKey",
1263
- scheme: "bearer",
1264
- type: "http"
1265
- }, {
1266
- key: "frontendToken",
1267
- scheme: "bearer",
1268
- type: "http"
1269
- }],
1270
- url: "/meta/{connection_id}/ads/{ad_id}",
1271
- ...options
1272
- });
1273
- var googleGetAccount = (options) => (options.client ?? client).get({
1274
- security: [{
1275
- key: "secretKey",
1276
- scheme: "bearer",
1277
- type: "http"
1278
- }, {
1279
- key: "frontendToken",
1280
- scheme: "bearer",
1281
- type: "http"
1282
- }],
1283
- url: "/google/{connection_id}/account",
1284
- ...options
1285
- });
1286
- var googleEditAccount = (options) => (options.client ?? client).patch({
1152
+ var postsRetry = (options) => (options.client ?? client).post({
1287
1153
  security: [{
1288
1154
  key: "secretKey",
1289
1155
  scheme: "bearer",
@@ -1293,14 +1159,14 @@ var googleEditAccount = (options) => (options.client ?? client).patch({
1293
1159
  scheme: "bearer",
1294
1160
  type: "http"
1295
1161
  }],
1296
- url: "/google/{connection_id}/url-settings",
1162
+ url: "/posts/{id}/retry",
1297
1163
  ...options,
1298
1164
  headers: {
1299
1165
  "Content-Type": "application/json",
1300
1166
  ...options.headers
1301
1167
  }
1302
1168
  });
1303
- var googleGetInsights = (options) => (options.client ?? client).post({
1169
+ var postsValidate = (options) => (options.client ?? client).post({
1304
1170
  security: [{
1305
1171
  key: "secretKey",
1306
1172
  scheme: "bearer",
@@ -1310,14 +1176,14 @@ var googleGetInsights = (options) => (options.client ?? client).post({
1310
1176
  scheme: "bearer",
1311
1177
  type: "http"
1312
1178
  }],
1313
- url: "/google/{connection_id}/insights",
1179
+ url: "/posts/validate",
1314
1180
  ...options,
1315
1181
  headers: {
1316
1182
  "Content-Type": "application/json",
1317
1183
  ...options.headers
1318
1184
  }
1319
1185
  });
1320
- var googleGetAdTree = (options) => (options.client ?? client).get({
1186
+ var tiktokCreatorInfo = (options) => (options.client ?? client).get({
1321
1187
  security: [{
1322
1188
  key: "secretKey",
1323
1189
  scheme: "bearer",
@@ -1327,1840 +1193,149 @@ var googleGetAdTree = (options) => (options.client ?? client).get({
1327
1193
  scheme: "bearer",
1328
1194
  type: "http"
1329
1195
  }],
1330
- url: "/google/{connection_id}/ads/tree",
1196
+ url: "/connections/{id}/tiktok/creator-info",
1331
1197
  ...options
1332
1198
  });
1333
- var googleRunGaql = (options) => (options.client ?? client).post({
1334
- security: [{
1335
- key: "secretKey",
1336
- scheme: "bearer",
1337
- type: "http"
1338
- }, {
1339
- key: "frontendToken",
1340
- scheme: "bearer",
1341
- type: "http"
1342
- }],
1343
- url: "/google/{connection_id}/gaql",
1344
- ...options,
1345
- headers: {
1346
- "Content-Type": "application/json",
1347
- ...options.headers
1348
- }
1349
- });
1350
- var googleCreateBudget = (options) => (options.client ?? client).post({
1351
- security: [{
1352
- key: "secretKey",
1353
- scheme: "bearer",
1354
- type: "http"
1355
- }],
1356
- url: "/google/{connection_id}/budgets",
1357
- ...options,
1358
- headers: {
1359
- "Content-Type": "application/json",
1360
- ...options.headers
1361
- }
1362
- });
1363
- var googleEditBudget = (options) => (options.client ?? client).patch({
1364
- security: [{
1365
- key: "secretKey",
1366
- scheme: "bearer",
1367
- type: "http"
1368
- }],
1369
- url: "/google/{connection_id}/budgets/{id}",
1370
- ...options,
1371
- headers: {
1372
- "Content-Type": "application/json",
1373
- ...options.headers
1374
- }
1375
- });
1376
- var googleRemoveBudget = (options) => (options.client ?? client).post({
1377
- security: [{
1378
- key: "secretKey",
1379
- scheme: "bearer",
1380
- type: "http"
1381
- }, {
1382
- key: "frontendToken",
1383
- scheme: "bearer",
1384
- type: "http"
1385
- }],
1386
- url: "/google/{connection_id}/budgets/{id}/remove",
1387
- ...options,
1388
- headers: {
1389
- "Content-Type": "application/json",
1390
- ...options.headers
1391
- }
1392
- });
1393
- var googleListCampaigns = (options) => (options.client ?? client).get({
1199
+ var logsList = (options) => (options?.client ?? client).get({
1394
1200
  security: [{
1395
1201
  key: "secretKey",
1396
1202
  scheme: "bearer",
1397
1203
  type: "http"
1398
- }, {
1399
- key: "frontendToken",
1400
- scheme: "bearer",
1401
- type: "http"
1402
1204
  }],
1403
- url: "/google/{connection_id}/campaigns",
1205
+ url: "/logs",
1404
1206
  ...options
1405
1207
  });
1406
- var googleCreateCampaign = (options) => (options.client ?? client).post({
1208
+ var logsGet = (options) => (options.client ?? client).get({
1407
1209
  security: [{
1408
1210
  key: "secretKey",
1409
1211
  scheme: "bearer",
1410
1212
  type: "http"
1411
- }, {
1412
- key: "frontendToken",
1413
- scheme: "bearer",
1414
- type: "http"
1415
1213
  }],
1416
- url: "/google/{connection_id}/campaigns",
1417
- ...options,
1418
- headers: {
1419
- "Content-Type": "application/json",
1420
- ...options.headers
1421
- }
1214
+ url: "/logs/{id}",
1215
+ ...options
1422
1216
  });
1423
- var googleGetCampaign = (options) => (options.client ?? client).get({
1217
+ var webhooksListEndpoints = (options) => (options?.client ?? client).get({
1424
1218
  security: [{
1425
1219
  key: "secretKey",
1426
1220
  scheme: "bearer",
1427
1221
  type: "http"
1428
- }, {
1429
- key: "frontendToken",
1430
- scheme: "bearer",
1431
- type: "http"
1432
1222
  }],
1433
- url: "/google/{connection_id}/campaigns/{id}",
1223
+ url: "/webhooks/endpoints",
1434
1224
  ...options
1435
1225
  });
1436
- var googleEditCampaign = (options) => (options.client ?? client).patch({
1226
+ var webhooksCreateEndpoint = (options) => (options.client ?? client).post({
1437
1227
  security: [{
1438
1228
  key: "secretKey",
1439
1229
  scheme: "bearer",
1440
1230
  type: "http"
1441
- }, {
1442
- key: "frontendToken",
1443
- scheme: "bearer",
1444
- type: "http"
1445
1231
  }],
1446
- url: "/google/{connection_id}/campaigns/{id}",
1232
+ url: "/webhooks/endpoints",
1447
1233
  ...options,
1448
1234
  headers: {
1449
1235
  "Content-Type": "application/json",
1450
1236
  ...options.headers
1451
1237
  }
1452
1238
  });
1453
- var googleRemoveCampaign = (options) => (options.client ?? client).post({
1239
+ var webhooksDeleteEndpoint = (options) => (options.client ?? client).delete({
1454
1240
  security: [{
1455
1241
  key: "secretKey",
1456
1242
  scheme: "bearer",
1457
1243
  type: "http"
1458
- }, {
1459
- key: "frontendToken",
1460
- scheme: "bearer",
1461
- type: "http"
1462
1244
  }],
1463
- url: "/google/{connection_id}/campaigns/{id}/remove",
1464
- ...options,
1465
- headers: {
1466
- "Content-Type": "application/json",
1467
- ...options.headers
1468
- }
1245
+ url: "/webhooks/endpoints/{id}",
1246
+ ...options
1469
1247
  });
1470
- var googlePauseCampaign = (options) => (options.client ?? client).post({
1248
+ var webhooksGetEndpoint = (options) => (options.client ?? client).get({
1471
1249
  security: [{
1472
1250
  key: "secretKey",
1473
1251
  scheme: "bearer",
1474
1252
  type: "http"
1475
- }, {
1476
- key: "frontendToken",
1477
- scheme: "bearer",
1478
- type: "http"
1479
1253
  }],
1480
- url: "/google/{connection_id}/campaigns/{id}/pause",
1481
- ...options,
1482
- headers: {
1483
- "Content-Type": "application/json",
1484
- ...options.headers
1485
- }
1254
+ url: "/webhooks/endpoints/{id}",
1255
+ ...options
1486
1256
  });
1487
- var googleEnableCampaign = (options) => (options.client ?? client).post({
1257
+ var webhooksUpdateEndpoint = (options) => (options.client ?? client).patch({
1488
1258
  security: [{
1489
1259
  key: "secretKey",
1490
1260
  scheme: "bearer",
1491
1261
  type: "http"
1492
- }, {
1493
- key: "frontendToken",
1494
- scheme: "bearer",
1495
- type: "http"
1496
1262
  }],
1497
- url: "/google/{connection_id}/campaigns/{id}/enable",
1263
+ url: "/webhooks/endpoints/{id}",
1498
1264
  ...options,
1499
1265
  headers: {
1500
1266
  "Content-Type": "application/json",
1501
1267
  ...options.headers
1502
1268
  }
1503
1269
  });
1504
- var googleSearchGeoTargets = (options) => (options.client ?? client).get({
1270
+ var webhooksCreatePortal = (options) => (options?.client ?? client).post({
1505
1271
  security: [{
1506
1272
  key: "secretKey",
1507
1273
  scheme: "bearer",
1508
1274
  type: "http"
1509
- }, {
1510
- key: "frontendToken",
1511
- scheme: "bearer",
1512
- type: "http"
1513
1275
  }],
1514
- url: "/google/{connection_id}/geo-targets/search",
1276
+ url: "/webhooks/portal",
1515
1277
  ...options
1516
1278
  });
1517
- var googleListCampaignCriteria = (options) => (options.client ?? client).get({
1279
+ var webhooksListEventTypes = (options) => (options?.client ?? client).get({
1518
1280
  security: [{
1519
1281
  key: "secretKey",
1520
1282
  scheme: "bearer",
1521
1283
  type: "http"
1522
- }, {
1523
- key: "frontendToken",
1524
- scheme: "bearer",
1525
- type: "http"
1526
1284
  }],
1527
- url: "/google/{connection_id}/campaigns/{campaign_id}/criteria",
1285
+ url: "/webhooks/event-types",
1528
1286
  ...options
1529
1287
  });
1530
- var googleCreateCampaignCriterion = (options) => (options.client ?? client).post({
1288
+ var webhooksPing = (options) => (options.client ?? client).post({
1531
1289
  security: [{
1532
1290
  key: "secretKey",
1533
1291
  scheme: "bearer",
1534
1292
  type: "http"
1535
- }, {
1536
- key: "frontendToken",
1537
- scheme: "bearer",
1538
- type: "http"
1539
1293
  }],
1540
- url: "/google/{connection_id}/campaigns/{campaign_id}/criteria",
1294
+ url: "/webhooks/ping",
1541
1295
  ...options,
1542
1296
  headers: {
1543
1297
  "Content-Type": "application/json",
1544
1298
  ...options.headers
1545
1299
  }
1546
1300
  });
1547
- var googleRemoveCampaignCriterion = (options) => (options.client ?? client).post({
1301
+ var tokensMint = (options) => (options.client ?? client).post({
1548
1302
  security: [{
1549
1303
  key: "secretKey",
1550
1304
  scheme: "bearer",
1551
1305
  type: "http"
1552
- }, {
1553
- key: "frontendToken",
1554
- scheme: "bearer",
1555
- type: "http"
1556
1306
  }],
1557
- url: "/google/{connection_id}/campaigns/{campaign_id}/criteria/{criterion_id}/remove",
1307
+ url: "/tokens",
1558
1308
  ...options,
1559
1309
  headers: {
1560
1310
  "Content-Type": "application/json",
1561
1311
  ...options.headers
1562
1312
  }
1563
1313
  });
1564
- var googleSetCampaignGeoSettings = (options) => (options.client ?? client).patch({
1565
- security: [{
1566
- key: "secretKey",
1567
- scheme: "bearer",
1568
- type: "http"
1569
- }, {
1570
- key: "frontendToken",
1571
- scheme: "bearer",
1572
- type: "http"
1573
- }],
1574
- url: "/google/{connection_id}/campaigns/{campaign_id}/geo-settings",
1575
- ...options,
1576
- headers: {
1577
- "Content-Type": "application/json",
1578
- ...options.headers
1579
- }
1580
- });
1581
- var googleListAdGroups = (options) => (options.client ?? client).get({
1582
- security: [{
1583
- key: "secretKey",
1584
- scheme: "bearer",
1585
- type: "http"
1586
- }, {
1587
- key: "frontendToken",
1588
- scheme: "bearer",
1589
- type: "http"
1590
- }],
1591
- url: "/google/{connection_id}/ad-groups",
1592
- ...options
1593
- });
1594
- var googleCreateAdGroup = (options) => (options.client ?? client).post({
1595
- security: [{
1596
- key: "secretKey",
1597
- scheme: "bearer",
1598
- type: "http"
1599
- }, {
1600
- key: "frontendToken",
1601
- scheme: "bearer",
1602
- type: "http"
1603
- }],
1604
- url: "/google/{connection_id}/ad-groups",
1605
- ...options,
1606
- headers: {
1607
- "Content-Type": "application/json",
1608
- ...options.headers
1609
- }
1610
- });
1611
- var googleGetAdGroup = (options) => (options.client ?? client).get({
1612
- security: [{
1613
- key: "secretKey",
1614
- scheme: "bearer",
1615
- type: "http"
1616
- }, {
1617
- key: "frontendToken",
1618
- scheme: "bearer",
1619
- type: "http"
1620
- }],
1621
- url: "/google/{connection_id}/ad-groups/{id}",
1622
- ...options
1623
- });
1624
- var googleEditAdGroup = (options) => (options.client ?? client).patch({
1625
- security: [{
1626
- key: "secretKey",
1627
- scheme: "bearer",
1628
- type: "http"
1629
- }, {
1630
- key: "frontendToken",
1631
- scheme: "bearer",
1632
- type: "http"
1633
- }],
1634
- url: "/google/{connection_id}/ad-groups/{id}",
1635
- ...options,
1636
- headers: {
1637
- "Content-Type": "application/json",
1638
- ...options.headers
1639
- }
1640
- });
1641
- var googleSetAdGroupBids = (options) => (options.client ?? client).patch({
1642
- security: [{
1643
- key: "secretKey",
1644
- scheme: "bearer",
1645
- type: "http"
1646
- }],
1647
- url: "/google/{connection_id}/ad-groups/{id}/bids",
1648
- ...options,
1649
- headers: {
1650
- "Content-Type": "application/json",
1651
- ...options.headers
1652
- }
1653
- });
1654
- var googleRemoveAdGroup = (options) => (options.client ?? client).post({
1655
- security: [{
1656
- key: "secretKey",
1657
- scheme: "bearer",
1658
- type: "http"
1659
- }, {
1660
- key: "frontendToken",
1661
- scheme: "bearer",
1662
- type: "http"
1663
- }],
1664
- url: "/google/{connection_id}/ad-groups/{id}/remove",
1665
- ...options,
1666
- headers: {
1667
- "Content-Type": "application/json",
1668
- ...options.headers
1669
- }
1670
- });
1671
- var googlePauseAdGroup = (options) => (options.client ?? client).post({
1672
- security: [{
1673
- key: "secretKey",
1674
- scheme: "bearer",
1675
- type: "http"
1676
- }, {
1677
- key: "frontendToken",
1678
- scheme: "bearer",
1679
- type: "http"
1680
- }],
1681
- url: "/google/{connection_id}/ad-groups/{id}/pause",
1682
- ...options,
1683
- headers: {
1684
- "Content-Type": "application/json",
1685
- ...options.headers
1686
- }
1687
- });
1688
- var googleEnableAdGroup = (options) => (options.client ?? client).post({
1689
- security: [{
1690
- key: "secretKey",
1691
- scheme: "bearer",
1692
- type: "http"
1693
- }, {
1694
- key: "frontendToken",
1695
- scheme: "bearer",
1696
- type: "http"
1697
- }],
1698
- url: "/google/{connection_id}/ad-groups/{id}/enable",
1699
- ...options,
1700
- headers: {
1701
- "Content-Type": "application/json",
1702
- ...options.headers
1703
- }
1704
- });
1705
- var googleListAdGroupCriteria = (options) => (options.client ?? client).get({
1706
- security: [{
1707
- key: "secretKey",
1708
- scheme: "bearer",
1709
- type: "http"
1710
- }, {
1711
- key: "frontendToken",
1712
- scheme: "bearer",
1713
- type: "http"
1714
- }],
1715
- url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria",
1716
- ...options
1717
- });
1718
- var googleCreateAdGroupCriterion = (options) => (options.client ?? client).post({
1719
- security: [{
1720
- key: "secretKey",
1721
- scheme: "bearer",
1722
- type: "http"
1723
- }, {
1724
- key: "frontendToken",
1725
- scheme: "bearer",
1726
- type: "http"
1727
- }],
1728
- url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria",
1729
- ...options,
1730
- headers: {
1731
- "Content-Type": "application/json",
1732
- ...options.headers
1733
- }
1734
- });
1735
- var googleRemoveAdGroupCriterion = (options) => (options.client ?? client).post({
1736
- security: [{
1737
- key: "secretKey",
1738
- scheme: "bearer",
1739
- type: "http"
1740
- }, {
1741
- key: "frontendToken",
1742
- scheme: "bearer",
1743
- type: "http"
1744
- }],
1745
- url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria/{criterion_id}/remove",
1746
- ...options,
1747
- headers: {
1748
- "Content-Type": "application/json",
1749
- ...options.headers
1750
- }
1751
- });
1752
- var googleListAudiences = (options) => (options.client ?? client).get({
1753
- security: [{
1754
- key: "secretKey",
1755
- scheme: "bearer",
1756
- type: "http"
1757
- }, {
1758
- key: "frontendToken",
1759
- scheme: "bearer",
1760
- type: "http"
1761
- }],
1762
- url: "/google/{connection_id}/audiences",
1763
- ...options
1764
- });
1765
- var googleSetCampaignTargetingSetting = (options) => (options.client ?? client).patch({
1766
- security: [{
1767
- key: "secretKey",
1768
- scheme: "bearer",
1769
- type: "http"
1770
- }, {
1771
- key: "frontendToken",
1772
- scheme: "bearer",
1773
- type: "http"
1774
- }],
1775
- url: "/google/{connection_id}/campaigns/{campaign_id}/targeting-setting",
1776
- ...options,
1777
- headers: {
1778
- "Content-Type": "application/json",
1779
- ...options.headers
1780
- }
1781
- });
1782
- var googleListAds = (options) => (options.client ?? client).get({
1783
- security: [{
1784
- key: "secretKey",
1785
- scheme: "bearer",
1786
- type: "http"
1787
- }, {
1788
- key: "frontendToken",
1789
- scheme: "bearer",
1790
- type: "http"
1791
- }],
1792
- url: "/google/{connection_id}/ads",
1793
- ...options
1794
- });
1795
- var googleCreateAd = (options) => (options.client ?? client).post({
1796
- security: [{
1797
- key: "secretKey",
1798
- scheme: "bearer",
1799
- type: "http"
1800
- }, {
1801
- key: "frontendToken",
1802
- scheme: "bearer",
1803
- type: "http"
1804
- }],
1805
- url: "/google/{connection_id}/ads",
1806
- ...options,
1807
- headers: {
1808
- "Content-Type": "application/json",
1809
- ...options.headers
1810
- }
1811
- });
1812
- var googleGetAd = (options) => (options.client ?? client).get({
1813
- security: [{
1814
- key: "secretKey",
1815
- scheme: "bearer",
1816
- type: "http"
1817
- }, {
1818
- key: "frontendToken",
1819
- scheme: "bearer",
1820
- type: "http"
1821
- }],
1822
- url: "/google/{connection_id}/ads/{id}",
1823
- ...options
1824
- });
1825
- var googleCreateDisplayAd = (options) => (options.client ?? client).post({
1826
- security: [{
1827
- key: "secretKey",
1828
- scheme: "bearer",
1829
- type: "http"
1830
- }, {
1831
- key: "frontendToken",
1832
- scheme: "bearer",
1833
- type: "http"
1834
- }],
1835
- url: "/google/{connection_id}/display-ads",
1836
- ...options,
1837
- headers: {
1838
- "Content-Type": "application/json",
1839
- ...options.headers
1840
- }
1841
- });
1842
- var googleRemoveAd = (options) => (options.client ?? client).post({
1843
- security: [{
1844
- key: "secretKey",
1845
- scheme: "bearer",
1846
- type: "http"
1847
- }, {
1848
- key: "frontendToken",
1849
- scheme: "bearer",
1850
- type: "http"
1851
- }],
1852
- url: "/google/{connection_id}/ads/{id}/remove",
1853
- ...options,
1854
- headers: {
1855
- "Content-Type": "application/json",
1856
- ...options.headers
1857
- }
1858
- });
1859
- var googlePauseAd = (options) => (options.client ?? client).post({
1860
- security: [{
1861
- key: "secretKey",
1862
- scheme: "bearer",
1863
- type: "http"
1864
- }, {
1865
- key: "frontendToken",
1866
- scheme: "bearer",
1867
- type: "http"
1868
- }],
1869
- url: "/google/{connection_id}/ads/{id}/pause",
1870
- ...options,
1871
- headers: {
1872
- "Content-Type": "application/json",
1873
- ...options.headers
1874
- }
1875
- });
1876
- var googleEnableAd = (options) => (options.client ?? client).post({
1877
- security: [{
1878
- key: "secretKey",
1879
- scheme: "bearer",
1880
- type: "http"
1881
- }, {
1882
- key: "frontendToken",
1883
- scheme: "bearer",
1884
- type: "http"
1885
- }],
1886
- url: "/google/{connection_id}/ads/{id}/enable",
1887
- ...options,
1888
- headers: {
1889
- "Content-Type": "application/json",
1890
- ...options.headers
1891
- }
1892
- });
1893
- var googleListKeywords = (options) => (options.client ?? client).get({
1894
- security: [{
1895
- key: "secretKey",
1896
- scheme: "bearer",
1897
- type: "http"
1898
- }, {
1899
- key: "frontendToken",
1900
- scheme: "bearer",
1901
- type: "http"
1902
- }],
1903
- url: "/google/{connection_id}/keywords",
1904
- ...options
1905
- });
1906
- var googleCreateKeyword = (options) => (options.client ?? client).post({
1907
- security: [{
1908
- key: "secretKey",
1909
- scheme: "bearer",
1910
- type: "http"
1911
- }, {
1912
- key: "frontendToken",
1913
- scheme: "bearer",
1914
- type: "http"
1915
- }],
1916
- url: "/google/{connection_id}/keywords",
1917
- ...options,
1918
- headers: {
1919
- "Content-Type": "application/json",
1920
- ...options.headers
1921
- }
1922
- });
1923
- var googleGetKeyword = (options) => (options.client ?? client).get({
1924
- security: [{
1925
- key: "secretKey",
1926
- scheme: "bearer",
1927
- type: "http"
1928
- }, {
1929
- key: "frontendToken",
1930
- scheme: "bearer",
1931
- type: "http"
1932
- }],
1933
- url: "/google/{connection_id}/keywords/{id}",
1934
- ...options
1935
- });
1936
- var googleSetKeywordBid = (options) => (options.client ?? client).patch({
1937
- security: [{
1938
- key: "secretKey",
1939
- scheme: "bearer",
1940
- type: "http"
1941
- }],
1942
- url: "/google/{connection_id}/keywords/{id}/bid",
1943
- ...options,
1944
- headers: {
1945
- "Content-Type": "application/json",
1946
- ...options.headers
1947
- }
1948
- });
1949
- var googleRemoveKeyword = (options) => (options.client ?? client).post({
1950
- security: [{
1951
- key: "secretKey",
1952
- scheme: "bearer",
1953
- type: "http"
1954
- }, {
1955
- key: "frontendToken",
1956
- scheme: "bearer",
1957
- type: "http"
1958
- }],
1959
- url: "/google/{connection_id}/keywords/{id}/remove",
1960
- ...options,
1961
- headers: {
1962
- "Content-Type": "application/json",
1963
- ...options.headers
1964
- }
1965
- });
1966
- var googlePauseKeyword = (options) => (options.client ?? client).post({
1967
- security: [{
1968
- key: "secretKey",
1969
- scheme: "bearer",
1970
- type: "http"
1971
- }, {
1972
- key: "frontendToken",
1973
- scheme: "bearer",
1974
- type: "http"
1975
- }],
1976
- url: "/google/{connection_id}/keywords/{id}/pause",
1977
- ...options,
1978
- headers: {
1979
- "Content-Type": "application/json",
1980
- ...options.headers
1981
- }
1982
- });
1983
- var googleEnableKeyword = (options) => (options.client ?? client).post({
1984
- security: [{
1985
- key: "secretKey",
1986
- scheme: "bearer",
1987
- type: "http"
1988
- }, {
1989
- key: "frontendToken",
1990
- scheme: "bearer",
1991
- type: "http"
1992
- }],
1993
- url: "/google/{connection_id}/keywords/{id}/enable",
1994
- ...options,
1995
- headers: {
1996
- "Content-Type": "application/json",
1997
- ...options.headers
1998
- }
1999
- });
2000
- var googleListConversionActions = (options) => (options.client ?? client).get({
2001
- security: [{
2002
- key: "secretKey",
2003
- scheme: "bearer",
2004
- type: "http"
2005
- }, {
2006
- key: "frontendToken",
2007
- scheme: "bearer",
2008
- type: "http"
2009
- }],
2010
- url: "/google/{connection_id}/conversion-actions",
2011
- ...options
2012
- });
2013
- var googleCreateConversionAction = (options) => (options.client ?? client).post({
2014
- security: [{
2015
- key: "secretKey",
2016
- scheme: "bearer",
2017
- type: "http"
2018
- }, {
2019
- key: "frontendToken",
2020
- scheme: "bearer",
2021
- type: "http"
2022
- }],
2023
- url: "/google/{connection_id}/conversion-actions",
2024
- ...options,
2025
- headers: {
2026
- "Content-Type": "application/json",
2027
- ...options.headers
2028
- }
2029
- });
2030
- var googleGetConversionAction = (options) => (options.client ?? client).get({
2031
- security: [{
2032
- key: "secretKey",
2033
- scheme: "bearer",
2034
- type: "http"
2035
- }, {
2036
- key: "frontendToken",
2037
- scheme: "bearer",
2038
- type: "http"
2039
- }],
2040
- url: "/google/{connection_id}/conversion-actions/{id}",
2041
- ...options
2042
- });
2043
- var googleUpdateConversionAction = (options) => (options.client ?? client).patch({
2044
- security: [{
2045
- key: "secretKey",
2046
- scheme: "bearer",
2047
- type: "http"
2048
- }, {
2049
- key: "frontendToken",
2050
- scheme: "bearer",
2051
- type: "http"
2052
- }],
2053
- url: "/google/{connection_id}/conversion-actions/{id}",
2054
- ...options,
2055
- headers: {
2056
- "Content-Type": "application/json",
2057
- ...options.headers
2058
- }
2059
- });
2060
- var googleRemoveConversionAction = (options) => (options.client ?? client).post({
2061
- security: [{
2062
- key: "secretKey",
2063
- scheme: "bearer",
2064
- type: "http"
2065
- }, {
2066
- key: "frontendToken",
2067
- scheme: "bearer",
2068
- type: "http"
2069
- }],
2070
- url: "/google/{connection_id}/conversion-actions/{id}/remove",
2071
- ...options,
2072
- headers: {
2073
- "Content-Type": "application/json",
2074
- ...options.headers
2075
- }
2076
- });
2077
- var googleSendConversions = (options) => (options.client ?? client).post({
2078
- security: [{
2079
- key: "secretKey",
2080
- scheme: "bearer",
2081
- type: "http"
2082
- }, {
2083
- key: "frontendToken",
2084
- scheme: "bearer",
2085
- type: "http"
2086
- }],
2087
- url: "/google/{connection_id}/conversions:send",
2088
- ...options,
2089
- headers: {
2090
- "Content-Type": "application/json",
2091
- ...options.headers
2092
- }
2093
- });
2094
- var googleGetConversionStatus = (options) => (options.client ?? client).get({
2095
- security: [{
2096
- key: "secretKey",
2097
- scheme: "bearer",
2098
- type: "http"
2099
- }, {
2100
- key: "frontendToken",
2101
- scheme: "bearer",
2102
- type: "http"
2103
- }],
2104
- url: "/google/{connection_id}/conversions/status",
2105
- ...options
2106
- });
2107
- var googleListConversionRequests = (options) => (options.client ?? client).get({
2108
- security: [{
2109
- key: "secretKey",
2110
- scheme: "bearer",
2111
- type: "http"
2112
- }, {
2113
- key: "frontendToken",
2114
- scheme: "bearer",
2115
- type: "http"
2116
- }],
2117
- url: "/google/{connection_id}/conversions",
2118
- ...options
2119
- });
2120
- var googleListConversionGoals = (options) => (options.client ?? client).get({
2121
- security: [{
2122
- key: "secretKey",
2123
- scheme: "bearer",
2124
- type: "http"
2125
- }, {
2126
- key: "frontendToken",
2127
- scheme: "bearer",
2128
- type: "http"
2129
- }],
2130
- url: "/google/{connection_id}/conversion-goals",
2131
- ...options
2132
- });
2133
- var googleSetConversionGoal = (options) => (options.client ?? client).post({
2134
- security: [{
2135
- key: "secretKey",
2136
- scheme: "bearer",
2137
- type: "http"
2138
- }, {
2139
- key: "frontendToken",
2140
- scheme: "bearer",
2141
- type: "http"
2142
- }],
2143
- url: "/google/{connection_id}/conversion-goals",
2144
- ...options,
2145
- headers: {
2146
- "Content-Type": "application/json",
2147
- ...options.headers
2148
- }
2149
- });
2150
- var googleUploadImageAsset = (options) => (options.client ?? client).post({
2151
- security: [{
2152
- key: "secretKey",
2153
- scheme: "bearer",
2154
- type: "http"
2155
- }, {
2156
- key: "frontendToken",
2157
- scheme: "bearer",
2158
- type: "http"
2159
- }],
2160
- url: "/google/{connection_id}/assets/images",
2161
- ...options,
2162
- headers: {
2163
- "Content-Type": "application/json",
2164
- ...options.headers
2165
- }
2166
- });
2167
- var tiktokCreatorInfo = (options) => (options.client ?? client).get({
2168
- security: [{
2169
- key: "secretKey",
2170
- scheme: "bearer",
2171
- type: "http"
2172
- }, {
2173
- key: "frontendToken",
2174
- scheme: "bearer",
2175
- type: "http"
2176
- }],
2177
- url: "/connections/{id}/tiktok/creator-info",
2178
- ...options
2179
- });
2180
- var logsList = (options) => (options?.client ?? client).get({
2181
- security: [{
2182
- key: "secretKey",
2183
- scheme: "bearer",
2184
- type: "http"
2185
- }],
2186
- url: "/logs",
2187
- ...options
2188
- });
2189
- var logsGet = (options) => (options.client ?? client).get({
2190
- security: [{
2191
- key: "secretKey",
2192
- scheme: "bearer",
2193
- type: "http"
2194
- }],
2195
- url: "/logs/{id}",
2196
- ...options
2197
- });
2198
- var webhooksListEndpoints = (options) => (options?.client ?? client).get({
2199
- security: [{
2200
- key: "secretKey",
2201
- scheme: "bearer",
2202
- type: "http"
2203
- }],
2204
- url: "/webhooks/endpoints",
2205
- ...options
2206
- });
2207
- var webhooksCreateEndpoint = (options) => (options.client ?? client).post({
2208
- security: [{
2209
- key: "secretKey",
2210
- scheme: "bearer",
2211
- type: "http"
2212
- }],
2213
- url: "/webhooks/endpoints",
2214
- ...options,
2215
- headers: {
2216
- "Content-Type": "application/json",
2217
- ...options.headers
2218
- }
2219
- });
2220
- var webhooksDeleteEndpoint = (options) => (options.client ?? client).delete({
2221
- security: [{
2222
- key: "secretKey",
2223
- scheme: "bearer",
2224
- type: "http"
2225
- }],
2226
- url: "/webhooks/endpoints/{id}",
2227
- ...options
2228
- });
2229
- var webhooksGetEndpoint = (options) => (options.client ?? client).get({
2230
- security: [{
2231
- key: "secretKey",
2232
- scheme: "bearer",
2233
- type: "http"
2234
- }],
2235
- url: "/webhooks/endpoints/{id}",
2236
- ...options
2237
- });
2238
- var webhooksUpdateEndpoint = (options) => (options.client ?? client).patch({
2239
- security: [{
2240
- key: "secretKey",
2241
- scheme: "bearer",
2242
- type: "http"
2243
- }],
2244
- url: "/webhooks/endpoints/{id}",
2245
- ...options,
2246
- headers: {
2247
- "Content-Type": "application/json",
2248
- ...options.headers
2249
- }
2250
- });
2251
- var webhooksCreatePortal = (options) => (options?.client ?? client).post({
2252
- security: [{
2253
- key: "secretKey",
2254
- scheme: "bearer",
2255
- type: "http"
2256
- }],
2257
- url: "/webhooks/portal",
2258
- ...options
2259
- });
2260
- var webhooksListEventTypes = (options) => (options?.client ?? client).get({
2261
- security: [{
2262
- key: "secretKey",
2263
- scheme: "bearer",
2264
- type: "http"
2265
- }],
2266
- url: "/webhooks/event-types",
2267
- ...options
2268
- });
2269
- var webhooksPing = (options) => (options.client ?? client).post({
2270
- security: [{
2271
- key: "secretKey",
2272
- scheme: "bearer",
2273
- type: "http"
2274
- }],
2275
- url: "/webhooks/ping",
2276
- ...options,
2277
- headers: {
2278
- "Content-Type": "application/json",
2279
- ...options.headers
2280
- }
2281
- });
2282
- var tokensMint = (options) => (options.client ?? client).post({
2283
- security: [{
2284
- key: "secretKey",
2285
- scheme: "bearer",
2286
- type: "http"
2287
- }],
2288
- url: "/tokens",
2289
- ...options,
2290
- headers: {
2291
- "Content-Type": "application/json",
2292
- ...options.headers
2293
- }
2294
- });
2295
-
2296
- // src/client/@tanstack/react-query.gen.ts
2297
- var createQueryKey = (id, options, infinite, tags) => {
2298
- const params = { _id: id, baseUrl: options?.baseUrl || (options?.client ?? client).getConfig().baseUrl };
2299
- if (infinite) {
2300
- params._infinite = infinite;
2301
- }
2302
- if (options?.body) {
2303
- params.body = options.body;
2304
- }
2305
- if (options?.headers) {
2306
- params.headers = options.headers;
2307
- }
2308
- if (options?.path) {
2309
- params.path = options.path;
2310
- }
2311
- if (options?.query) {
2312
- params.query = options.query;
2313
- }
2314
- return [params];
2315
- };
2316
- var profilesListQueryKey = (options) => createQueryKey("profilesList", options);
2317
- var profilesListOptions = (options) => reactQuery.queryOptions({
2318
- queryFn: async ({ queryKey, signal }) => {
2319
- const { data } = await profilesList({
2320
- ...options,
2321
- ...queryKey[0],
2322
- signal,
2323
- throwOnError: true
2324
- });
2325
- return data;
2326
- },
2327
- queryKey: profilesListQueryKey(options)
2328
- });
2329
- var createInfiniteParams = (queryKey, page) => {
2330
- const params = { ...queryKey[0] };
2331
- if (page.body) {
2332
- params.body = {
2333
- ...queryKey[0].body,
2334
- ...page.body
2335
- };
2336
- }
2337
- if (page.headers) {
2338
- params.headers = {
2339
- ...queryKey[0].headers,
2340
- ...page.headers
2341
- };
2342
- }
2343
- if (page.path) {
2344
- params.path = {
2345
- ...queryKey[0].path,
2346
- ...page.path
2347
- };
2348
- }
2349
- if (page.query) {
2350
- params.query = {
2351
- ...queryKey[0].query,
2352
- ...page.query
2353
- };
2354
- }
2355
- return params;
2356
- };
2357
- var profilesListInfiniteQueryKey = (options) => createQueryKey("profilesList", options, true);
2358
- var profilesListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
2359
- // @ts-ignore
2360
- {
2361
- queryFn: async ({ pageParam, queryKey, signal }) => {
2362
- const page = typeof pageParam === "object" ? pageParam : {
2363
- query: {
2364
- offset: pageParam
2365
- }
2366
- };
2367
- const params = createInfiniteParams(queryKey, page);
2368
- const { data } = await profilesList({
2369
- ...options,
2370
- ...params,
2371
- signal,
2372
- throwOnError: true
2373
- });
2374
- return data;
2375
- },
2376
- queryKey: profilesListInfiniteQueryKey(options)
2377
- }
2378
- );
2379
- var profilesCreateMutation = (options) => {
2380
- const mutationOptions = {
2381
- mutationFn: async (fnOptions) => {
2382
- const { data } = await profilesCreate({
2383
- ...options,
2384
- ...fnOptions,
2385
- throwOnError: true
2386
- });
2387
- return data;
2388
- }
2389
- };
2390
- return mutationOptions;
2391
- };
2392
- var profilesDeleteMutation = (options) => {
2393
- const mutationOptions = {
2394
- mutationFn: async (fnOptions) => {
2395
- const { data } = await profilesDelete({
2396
- ...options,
2397
- ...fnOptions,
2398
- throwOnError: true
2399
- });
2400
- return data;
2401
- }
2402
- };
2403
- return mutationOptions;
2404
- };
2405
- var profilesGetQueryKey = (options) => createQueryKey("profilesGet", options);
2406
- var profilesGetOptions = (options) => reactQuery.queryOptions({
2407
- queryFn: async ({ queryKey, signal }) => {
2408
- const { data } = await profilesGet({
2409
- ...options,
2410
- ...queryKey[0],
2411
- signal,
2412
- throwOnError: true
2413
- });
2414
- return data;
2415
- },
2416
- queryKey: profilesGetQueryKey(options)
2417
- });
2418
- var profilesUpdateMutation = (options) => {
2419
- const mutationOptions = {
2420
- mutationFn: async (fnOptions) => {
2421
- const { data } = await profilesUpdate({
2422
- ...options,
2423
- ...fnOptions,
2424
- throwOnError: true
2425
- });
2426
- return data;
2427
- }
2428
- };
2429
- return mutationOptions;
2430
- };
2431
- var connectionsListByProfileQueryKey = (options) => createQueryKey("connectionsListByProfile", options);
2432
- var connectionsListByProfileOptions = (options) => reactQuery.queryOptions({
2433
- queryFn: async ({ queryKey, signal }) => {
2434
- const { data } = await connectionsListByProfile({
2435
- ...options,
2436
- ...queryKey[0],
2437
- signal,
2438
- throwOnError: true
2439
- });
2440
- return data;
2441
- },
2442
- queryKey: connectionsListByProfileQueryKey(options)
2443
- });
2444
- var connectionsListByProfileInfiniteQueryKey = (options) => createQueryKey("connectionsListByProfile", options, true);
2445
- var connectionsListByProfileInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
2446
- // @ts-ignore
2447
- {
2448
- queryFn: async ({ pageParam, queryKey, signal }) => {
2449
- const page = typeof pageParam === "object" ? pageParam : {
2450
- query: {
2451
- offset: pageParam
2452
- }
2453
- };
2454
- const params = createInfiniteParams(queryKey, page);
2455
- const { data } = await connectionsListByProfile({
2456
- ...options,
2457
- ...params,
2458
- signal,
2459
- throwOnError: true
2460
- });
2461
- return data;
2462
- },
2463
- queryKey: connectionsListByProfileInfiniteQueryKey(options)
2464
- }
2465
- );
2466
- var connectionsDeleteMutation = (options) => {
2467
- const mutationOptions = {
2468
- mutationFn: async (fnOptions) => {
2469
- const { data } = await connectionsDelete({
2470
- ...options,
2471
- ...fnOptions,
2472
- throwOnError: true
2473
- });
2474
- return data;
2475
- }
2476
- };
2477
- return mutationOptions;
2478
- };
2479
- var connectionsGetQueryKey = (options) => createQueryKey("connectionsGet", options);
2480
- var connectionsGetOptions = (options) => reactQuery.queryOptions({
2481
- queryFn: async ({ queryKey, signal }) => {
2482
- const { data } = await connectionsGet({
2483
- ...options,
2484
- ...queryKey[0],
2485
- signal,
2486
- throwOnError: true
2487
- });
2488
- return data;
2489
- },
2490
- queryKey: connectionsGetQueryKey(options)
2491
- });
2492
- var connectionsSelectMutation = (options) => {
2493
- const mutationOptions = {
2494
- mutationFn: async (fnOptions) => {
2495
- const { data } = await connectionsSelect({
2496
- ...options,
2497
- ...fnOptions,
2498
- throwOnError: true
2499
- });
2500
- return data;
2501
- }
2502
- };
2503
- return mutationOptions;
2504
- };
2505
- var connectionsListAccountsQueryKey = (options) => createQueryKey("connectionsListAccounts", options);
2506
- var connectionsListAccountsOptions = (options) => reactQuery.queryOptions({
2507
- queryFn: async ({ queryKey, signal }) => {
2508
- const { data } = await connectionsListAccounts({
2509
- ...options,
2510
- ...queryKey[0],
2511
- signal,
2512
- throwOnError: true
2513
- });
2514
- return data;
2515
- },
2516
- queryKey: connectionsListAccountsQueryKey(options)
2517
- });
2518
- var connectionsConnectMutation = (options) => {
2519
- const mutationOptions = {
2520
- mutationFn: async (fnOptions) => {
2521
- const { data } = await connectionsConnect({
2522
- ...options,
2523
- ...fnOptions,
2524
- throwOnError: true
2525
- });
2526
- return data;
2527
- }
2528
- };
2529
- return mutationOptions;
2530
- };
2531
- var mediaListQueryKey = (options) => createQueryKey("mediaList", options);
2532
- var mediaListOptions = (options) => reactQuery.queryOptions({
2533
- queryFn: async ({ queryKey, signal }) => {
2534
- const { data } = await mediaList({
2535
- ...options,
2536
- ...queryKey[0],
2537
- signal,
2538
- throwOnError: true
2539
- });
2540
- return data;
2541
- },
2542
- queryKey: mediaListQueryKey(options)
2543
- });
2544
- var mediaListInfiniteQueryKey = (options) => createQueryKey("mediaList", options, true);
2545
- var mediaListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
2546
- // @ts-ignore
2547
- {
2548
- queryFn: async ({ pageParam, queryKey, signal }) => {
2549
- const page = typeof pageParam === "object" ? pageParam : {
2550
- query: {
2551
- offset: pageParam
2552
- }
2553
- };
2554
- const params = createInfiniteParams(queryKey, page);
2555
- const { data } = await mediaList({
2556
- ...options,
2557
- ...params,
2558
- signal,
2559
- throwOnError: true
2560
- });
2561
- return data;
2562
- },
2563
- queryKey: mediaListInfiniteQueryKey(options)
2564
- }
2565
- );
2566
- var mediaCreateMutation = (options) => {
2567
- const mutationOptions = {
2568
- mutationFn: async (fnOptions) => {
2569
- const { data } = await mediaCreate({
2570
- ...options,
2571
- ...fnOptions,
2572
- throwOnError: true
2573
- });
2574
- return data;
2575
- }
2576
- };
2577
- return mutationOptions;
2578
- };
2579
- var mediaDeleteMutation = (options) => {
2580
- const mutationOptions = {
2581
- mutationFn: async (fnOptions) => {
2582
- const { data } = await mediaDelete({
2583
- ...options,
2584
- ...fnOptions,
2585
- throwOnError: true
2586
- });
2587
- return data;
2588
- }
2589
- };
2590
- return mutationOptions;
2591
- };
2592
- var mediaGetQueryKey = (options) => createQueryKey("mediaGet", options);
2593
- var mediaGetOptions = (options) => reactQuery.queryOptions({
2594
- queryFn: async ({ queryKey, signal }) => {
2595
- const { data } = await mediaGet({
2596
- ...options,
2597
- ...queryKey[0],
2598
- signal,
2599
- throwOnError: true
2600
- });
2601
- return data;
2602
- },
2603
- queryKey: mediaGetQueryKey(options)
2604
- });
2605
- var mediaUpdateMutation = (options) => {
2606
- const mutationOptions = {
2607
- mutationFn: async (fnOptions) => {
2608
- const { data } = await mediaUpdate({
2609
- ...options,
2610
- ...fnOptions,
2611
- throwOnError: true
2612
- });
2613
- return data;
2614
- }
2615
- };
2616
- return mutationOptions;
2617
- };
2618
- var mediaSignPartMutation = (options) => {
2619
- const mutationOptions = {
2620
- mutationFn: async (fnOptions) => {
2621
- const { data } = await mediaSignPart({
2622
- ...options,
2623
- ...fnOptions,
2624
- throwOnError: true
2625
- });
2626
- return data;
2627
- }
2628
- };
2629
- return mutationOptions;
2630
- };
2631
- var mediaListPartsQueryKey = (options) => createQueryKey("mediaListParts", options);
2632
- var mediaListPartsOptions = (options) => reactQuery.queryOptions({
2633
- queryFn: async ({ queryKey, signal }) => {
2634
- const { data } = await mediaListParts({
2635
- ...options,
2636
- ...queryKey[0],
2637
- signal,
2638
- throwOnError: true
2639
- });
2640
- return data;
2641
- },
2642
- queryKey: mediaListPartsQueryKey(options)
2643
- });
2644
- var mediaCompleteMutation = (options) => {
2645
- const mutationOptions = {
2646
- mutationFn: async (fnOptions) => {
2647
- const { data } = await mediaComplete({
2648
- ...options,
2649
- ...fnOptions,
2650
- throwOnError: true
2651
- });
2652
- return data;
2653
- }
2654
- };
2655
- return mutationOptions;
2656
- };
2657
- var mediaAbortMutation = (options) => {
2658
- const mutationOptions = {
2659
- mutationFn: async (fnOptions) => {
2660
- const { data } = await mediaAbort({
2661
- ...options,
2662
- ...fnOptions,
2663
- throwOnError: true
2664
- });
2665
- return data;
2666
- }
2667
- };
2668
- return mutationOptions;
2669
- };
2670
- var postsListQueryKey = (options) => createQueryKey("postsList", options);
2671
- var postsListOptions = (options) => reactQuery.queryOptions({
2672
- queryFn: async ({ queryKey, signal }) => {
2673
- const { data } = await postsList({
2674
- ...options,
2675
- ...queryKey[0],
2676
- signal,
2677
- throwOnError: true
2678
- });
2679
- return data;
2680
- },
2681
- queryKey: postsListQueryKey(options)
2682
- });
2683
- var postsListInfiniteQueryKey = (options) => createQueryKey("postsList", options, true);
2684
- var postsListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
2685
- // @ts-ignore
2686
- {
2687
- queryFn: async ({ pageParam, queryKey, signal }) => {
2688
- const page = typeof pageParam === "object" ? pageParam : {
2689
- query: {
2690
- offset: pageParam
2691
- }
2692
- };
2693
- const params = createInfiniteParams(queryKey, page);
2694
- const { data } = await postsList({
2695
- ...options,
2696
- ...params,
2697
- signal,
2698
- throwOnError: true
2699
- });
2700
- return data;
2701
- },
2702
- queryKey: postsListInfiniteQueryKey(options)
2703
- }
2704
- );
2705
- var postsCreateMutation = (options) => {
2706
- const mutationOptions = {
2707
- mutationFn: async (fnOptions) => {
2708
- const { data } = await postsCreate({
2709
- ...options,
2710
- ...fnOptions,
2711
- throwOnError: true
2712
- });
2713
- return data;
2714
- }
2715
- };
2716
- return mutationOptions;
2717
- };
2718
- var postsDeleteMutation = (options) => {
2719
- const mutationOptions = {
2720
- mutationFn: async (fnOptions) => {
2721
- const { data } = await postsDelete({
2722
- ...options,
2723
- ...fnOptions,
2724
- throwOnError: true
2725
- });
2726
- return data;
2727
- }
2728
- };
2729
- return mutationOptions;
2730
- };
2731
- var postsGetQueryKey = (options) => createQueryKey("postsGet", options);
2732
- var postsGetOptions = (options) => reactQuery.queryOptions({
2733
- queryFn: async ({ queryKey, signal }) => {
2734
- const { data } = await postsGet({
2735
- ...options,
2736
- ...queryKey[0],
2737
- signal,
2738
- throwOnError: true
2739
- });
2740
- return data;
2741
- },
2742
- queryKey: postsGetQueryKey(options)
2743
- });
2744
- var postsUpdateMutation = (options) => {
2745
- const mutationOptions = {
2746
- mutationFn: async (fnOptions) => {
2747
- const { data } = await postsUpdate({
2748
- ...options,
2749
- ...fnOptions,
2750
- throwOnError: true
2751
- });
2752
- return data;
2753
- }
2754
- };
2755
- return mutationOptions;
2756
- };
2757
- var postsValidateMutation = (options) => {
2758
- const mutationOptions = {
2759
- mutationFn: async (fnOptions) => {
2760
- const { data } = await postsValidate({
2761
- ...options,
2762
- ...fnOptions,
2763
- throwOnError: true
2764
- });
2765
- return data;
2766
- }
2767
- };
2768
- return mutationOptions;
2769
- };
2770
- var metaAccountQueryKey = (options) => createQueryKey("metaAccount", options);
2771
- var metaAccountOptions = (options) => reactQuery.queryOptions({
2772
- queryFn: async ({ queryKey, signal }) => {
2773
- const { data } = await metaAccount({
2774
- ...options,
2775
- ...queryKey[0],
2776
- signal,
2777
- throwOnError: true
2778
- });
2779
- return data;
2780
- },
2781
- queryKey: metaAccountQueryKey(options)
2782
- });
2783
- var metaInsightsQueryKey = (options) => createQueryKey("metaInsights", options);
2784
- var metaInsightsOptions = (options) => reactQuery.queryOptions({
2785
- queryFn: async ({ queryKey, signal }) => {
2786
- const { data } = await metaInsights({
2787
- ...options,
2788
- ...queryKey[0],
2789
- signal,
2790
- throwOnError: true
2791
- });
2792
- return data;
2793
- },
2794
- queryKey: metaInsightsQueryKey(options)
2795
- });
2796
- var metaCampaignsQueryKey = (options) => createQueryKey("metaCampaigns", options);
2797
- var metaCampaignsOptions = (options) => reactQuery.queryOptions({
2798
- queryFn: async ({ queryKey, signal }) => {
2799
- const { data } = await metaCampaigns({
2800
- ...options,
2801
- ...queryKey[0],
2802
- signal,
2803
- throwOnError: true
2804
- });
2805
- return data;
2806
- },
2807
- queryKey: metaCampaignsQueryKey(options)
2808
- });
2809
- var metaCampaignQueryKey = (options) => createQueryKey("metaCampaign", options);
2810
- var metaCampaignOptions = (options) => reactQuery.queryOptions({
2811
- queryFn: async ({ queryKey, signal }) => {
2812
- const { data } = await metaCampaign({
2813
- ...options,
2814
- ...queryKey[0],
2815
- signal,
2816
- throwOnError: true
2817
- });
2818
- return data;
2819
- },
2820
- queryKey: metaCampaignQueryKey(options)
2821
- });
2822
- var metaAdsetsQueryKey = (options) => createQueryKey("metaAdsets", options);
2823
- var metaAdsetsOptions = (options) => reactQuery.queryOptions({
2824
- queryFn: async ({ queryKey, signal }) => {
2825
- const { data } = await metaAdsets({
2826
- ...options,
2827
- ...queryKey[0],
2828
- signal,
2829
- throwOnError: true
2830
- });
2831
- return data;
2832
- },
2833
- queryKey: metaAdsetsQueryKey(options)
2834
- });
2835
- var metaAdsetQueryKey = (options) => createQueryKey("metaAdset", options);
2836
- var metaAdsetOptions = (options) => reactQuery.queryOptions({
2837
- queryFn: async ({ queryKey, signal }) => {
2838
- const { data } = await metaAdset({
2839
- ...options,
2840
- ...queryKey[0],
2841
- signal,
2842
- throwOnError: true
2843
- });
2844
- return data;
2845
- },
2846
- queryKey: metaAdsetQueryKey(options)
2847
- });
2848
- var metaAdsQueryKey = (options) => createQueryKey("metaAds", options);
2849
- var metaAdsOptions = (options) => reactQuery.queryOptions({
2850
- queryFn: async ({ queryKey, signal }) => {
2851
- const { data } = await metaAds({
2852
- ...options,
2853
- ...queryKey[0],
2854
- signal,
2855
- throwOnError: true
2856
- });
2857
- return data;
2858
- },
2859
- queryKey: metaAdsQueryKey(options)
2860
- });
2861
- var metaAdQueryKey = (options) => createQueryKey("metaAd", options);
2862
- var metaAdOptions = (options) => reactQuery.queryOptions({
2863
- queryFn: async ({ queryKey, signal }) => {
2864
- const { data } = await metaAd({
2865
- ...options,
2866
- ...queryKey[0],
2867
- signal,
2868
- throwOnError: true
2869
- });
2870
- return data;
2871
- },
2872
- queryKey: metaAdQueryKey(options)
2873
- });
2874
- var googleGetAccountQueryKey = (options) => createQueryKey("googleGetAccount", options);
2875
- var googleGetAccountOptions = (options) => reactQuery.queryOptions({
2876
- queryFn: async ({ queryKey, signal }) => {
2877
- const { data } = await googleGetAccount({
2878
- ...options,
2879
- ...queryKey[0],
2880
- signal,
2881
- throwOnError: true
2882
- });
2883
- return data;
2884
- },
2885
- queryKey: googleGetAccountQueryKey(options)
2886
- });
2887
- var googleEditAccountMutation = (options) => {
2888
- const mutationOptions = {
2889
- mutationFn: async (fnOptions) => {
2890
- const { data } = await googleEditAccount({
2891
- ...options,
2892
- ...fnOptions,
2893
- throwOnError: true
2894
- });
2895
- return data;
2896
- }
2897
- };
2898
- return mutationOptions;
2899
- };
2900
- var googleGetInsightsMutation = (options) => {
2901
- const mutationOptions = {
2902
- mutationFn: async (fnOptions) => {
2903
- const { data } = await googleGetInsights({
2904
- ...options,
2905
- ...fnOptions,
2906
- throwOnError: true
2907
- });
2908
- return data;
2909
- }
2910
- };
2911
- return mutationOptions;
2912
- };
2913
- var googleGetAdTreeQueryKey = (options) => createQueryKey("googleGetAdTree", options);
2914
- var googleGetAdTreeOptions = (options) => reactQuery.queryOptions({
2915
- queryFn: async ({ queryKey, signal }) => {
2916
- const { data } = await googleGetAdTree({
2917
- ...options,
2918
- ...queryKey[0],
2919
- signal,
2920
- throwOnError: true
2921
- });
2922
- return data;
2923
- },
2924
- queryKey: googleGetAdTreeQueryKey(options)
2925
- });
2926
- var googleRunGaqlMutation = (options) => {
2927
- const mutationOptions = {
2928
- mutationFn: async (fnOptions) => {
2929
- const { data } = await googleRunGaql({
2930
- ...options,
2931
- ...fnOptions,
2932
- throwOnError: true
2933
- });
2934
- return data;
2935
- }
2936
- };
2937
- return mutationOptions;
2938
- };
2939
- var googleCreateBudgetMutation = (options) => {
2940
- const mutationOptions = {
2941
- mutationFn: async (fnOptions) => {
2942
- const { data } = await googleCreateBudget({
2943
- ...options,
2944
- ...fnOptions,
2945
- throwOnError: true
2946
- });
2947
- return data;
2948
- }
2949
- };
2950
- return mutationOptions;
2951
- };
2952
- var googleEditBudgetMutation = (options) => {
2953
- const mutationOptions = {
2954
- mutationFn: async (fnOptions) => {
2955
- const { data } = await googleEditBudget({
2956
- ...options,
2957
- ...fnOptions,
2958
- throwOnError: true
2959
- });
2960
- return data;
2961
- }
2962
- };
2963
- return mutationOptions;
2964
- };
2965
- var googleRemoveBudgetMutation = (options) => {
2966
- const mutationOptions = {
2967
- mutationFn: async (fnOptions) => {
2968
- const { data } = await googleRemoveBudget({
2969
- ...options,
2970
- ...fnOptions,
2971
- throwOnError: true
2972
- });
2973
- return data;
2974
- }
2975
- };
2976
- return mutationOptions;
2977
- };
2978
- var googleListCampaignsQueryKey = (options) => createQueryKey("googleListCampaigns", options);
2979
- var googleListCampaignsOptions = (options) => reactQuery.queryOptions({
2980
- queryFn: async ({ queryKey, signal }) => {
2981
- const { data } = await googleListCampaigns({
2982
- ...options,
2983
- ...queryKey[0],
2984
- signal,
2985
- throwOnError: true
2986
- });
2987
- return data;
2988
- },
2989
- queryKey: googleListCampaignsQueryKey(options)
2990
- });
2991
- var googleCreateCampaignMutation = (options) => {
2992
- const mutationOptions = {
2993
- mutationFn: async (fnOptions) => {
2994
- const { data } = await googleCreateCampaign({
2995
- ...options,
2996
- ...fnOptions,
2997
- throwOnError: true
2998
- });
2999
- return data;
3000
- }
3001
- };
3002
- return mutationOptions;
3003
- };
3004
- var googleGetCampaignQueryKey = (options) => createQueryKey("googleGetCampaign", options);
3005
- var googleGetCampaignOptions = (options) => reactQuery.queryOptions({
3006
- queryFn: async ({ queryKey, signal }) => {
3007
- const { data } = await googleGetCampaign({
3008
- ...options,
3009
- ...queryKey[0],
3010
- signal,
3011
- throwOnError: true
3012
- });
3013
- return data;
3014
- },
3015
- queryKey: googleGetCampaignQueryKey(options)
3016
- });
3017
- var googleEditCampaignMutation = (options) => {
3018
- const mutationOptions = {
3019
- mutationFn: async (fnOptions) => {
3020
- const { data } = await googleEditCampaign({
3021
- ...options,
3022
- ...fnOptions,
3023
- throwOnError: true
3024
- });
3025
- return data;
3026
- }
3027
- };
3028
- return mutationOptions;
3029
- };
3030
- var googleRemoveCampaignMutation = (options) => {
3031
- const mutationOptions = {
3032
- mutationFn: async (fnOptions) => {
3033
- const { data } = await googleRemoveCampaign({
3034
- ...options,
3035
- ...fnOptions,
3036
- throwOnError: true
3037
- });
3038
- return data;
3039
- }
3040
- };
3041
- return mutationOptions;
3042
- };
3043
- var googlePauseCampaignMutation = (options) => {
3044
- const mutationOptions = {
3045
- mutationFn: async (fnOptions) => {
3046
- const { data } = await googlePauseCampaign({
3047
- ...options,
3048
- ...fnOptions,
3049
- throwOnError: true
3050
- });
3051
- return data;
3052
- }
3053
- };
3054
- return mutationOptions;
3055
- };
3056
- var googleEnableCampaignMutation = (options) => {
3057
- const mutationOptions = {
3058
- mutationFn: async (fnOptions) => {
3059
- const { data } = await googleEnableCampaign({
3060
- ...options,
3061
- ...fnOptions,
3062
- throwOnError: true
3063
- });
3064
- return data;
3065
- }
3066
- };
3067
- return mutationOptions;
3068
- };
3069
- var googleSearchGeoTargetsQueryKey = (options) => createQueryKey("googleSearchGeoTargets", options);
3070
- var googleSearchGeoTargetsOptions = (options) => reactQuery.queryOptions({
3071
- queryFn: async ({ queryKey, signal }) => {
3072
- const { data } = await googleSearchGeoTargets({
3073
- ...options,
3074
- ...queryKey[0],
3075
- signal,
3076
- throwOnError: true
3077
- });
3078
- return data;
3079
- },
3080
- queryKey: googleSearchGeoTargetsQueryKey(options)
3081
- });
3082
- var googleListCampaignCriteriaQueryKey = (options) => createQueryKey("googleListCampaignCriteria", options);
3083
- var googleListCampaignCriteriaOptions = (options) => reactQuery.queryOptions({
3084
- queryFn: async ({ queryKey, signal }) => {
3085
- const { data } = await googleListCampaignCriteria({
3086
- ...options,
3087
- ...queryKey[0],
3088
- signal,
3089
- throwOnError: true
3090
- });
3091
- return data;
3092
- },
3093
- queryKey: googleListCampaignCriteriaQueryKey(options)
3094
- });
3095
- var googleCreateCampaignCriterionMutation = (options) => {
3096
- const mutationOptions = {
3097
- mutationFn: async (fnOptions) => {
3098
- const { data } = await googleCreateCampaignCriterion({
3099
- ...options,
3100
- ...fnOptions,
3101
- throwOnError: true
3102
- });
3103
- return data;
3104
- }
3105
- };
3106
- return mutationOptions;
3107
- };
3108
- var googleRemoveCampaignCriterionMutation = (options) => {
3109
- const mutationOptions = {
3110
- mutationFn: async (fnOptions) => {
3111
- const { data } = await googleRemoveCampaignCriterion({
3112
- ...options,
3113
- ...fnOptions,
3114
- throwOnError: true
3115
- });
3116
- return data;
3117
- }
3118
- };
3119
- return mutationOptions;
3120
- };
3121
- var googleSetCampaignGeoSettingsMutation = (options) => {
3122
- const mutationOptions = {
3123
- mutationFn: async (fnOptions) => {
3124
- const { data } = await googleSetCampaignGeoSettings({
3125
- ...options,
3126
- ...fnOptions,
3127
- throwOnError: true
3128
- });
3129
- return data;
3130
- }
3131
- };
3132
- return mutationOptions;
3133
- };
3134
- var googleListAdGroupsQueryKey = (options) => createQueryKey("googleListAdGroups", options);
3135
- var googleListAdGroupsOptions = (options) => reactQuery.queryOptions({
3136
- queryFn: async ({ queryKey, signal }) => {
3137
- const { data } = await googleListAdGroups({
3138
- ...options,
3139
- ...queryKey[0],
3140
- signal,
3141
- throwOnError: true
3142
- });
3143
- return data;
3144
- },
3145
- queryKey: googleListAdGroupsQueryKey(options)
3146
- });
3147
- var googleCreateAdGroupMutation = (options) => {
3148
- const mutationOptions = {
3149
- mutationFn: async (fnOptions) => {
3150
- const { data } = await googleCreateAdGroup({
3151
- ...options,
3152
- ...fnOptions,
3153
- throwOnError: true
3154
- });
3155
- return data;
3156
- }
3157
- };
3158
- return mutationOptions;
1314
+
1315
+ // src/client/@tanstack/react-query.gen.ts
1316
+ var createQueryKey = (id, options, infinite, tags) => {
1317
+ const params = { _id: id, baseUrl: options?.baseUrl || (options?.client ?? client).getConfig().baseUrl };
1318
+ if (infinite) {
1319
+ params._infinite = infinite;
1320
+ }
1321
+ if (options?.body) {
1322
+ params.body = options.body;
1323
+ }
1324
+ if (options?.headers) {
1325
+ params.headers = options.headers;
1326
+ }
1327
+ if (options?.path) {
1328
+ params.path = options.path;
1329
+ }
1330
+ if (options?.query) {
1331
+ params.query = options.query;
1332
+ }
1333
+ return [params];
3159
1334
  };
3160
- var googleGetAdGroupQueryKey = (options) => createQueryKey("googleGetAdGroup", options);
3161
- var googleGetAdGroupOptions = (options) => reactQuery.queryOptions({
1335
+ var profilesListQueryKey = (options) => createQueryKey("profilesList", options);
1336
+ var profilesListOptions = (options) => reactQuery.queryOptions({
3162
1337
  queryFn: async ({ queryKey, signal }) => {
3163
- const { data } = await googleGetAdGroup({
1338
+ const { data } = await profilesList({
3164
1339
  ...options,
3165
1340
  ...queryKey[0],
3166
1341
  signal,
@@ -3168,51 +1343,62 @@ var googleGetAdGroupOptions = (options) => reactQuery.queryOptions({
3168
1343
  });
3169
1344
  return data;
3170
1345
  },
3171
- queryKey: googleGetAdGroupQueryKey(options)
1346
+ queryKey: profilesListQueryKey(options)
3172
1347
  });
3173
- var googleEditAdGroupMutation = (options) => {
3174
- const mutationOptions = {
3175
- mutationFn: async (fnOptions) => {
3176
- const { data } = await googleEditAdGroup({
3177
- ...options,
3178
- ...fnOptions,
3179
- throwOnError: true
3180
- });
3181
- return data;
3182
- }
3183
- };
3184
- return mutationOptions;
3185
- };
3186
- var googleSetAdGroupBidsMutation = (options) => {
3187
- const mutationOptions = {
3188
- mutationFn: async (fnOptions) => {
3189
- const { data } = await googleSetAdGroupBids({
3190
- ...options,
3191
- ...fnOptions,
3192
- throwOnError: true
3193
- });
3194
- return data;
3195
- }
3196
- };
3197
- return mutationOptions;
1348
+ var createInfiniteParams = (queryKey, page) => {
1349
+ const params = { ...queryKey[0] };
1350
+ if (page.body) {
1351
+ params.body = {
1352
+ ...queryKey[0].body,
1353
+ ...page.body
1354
+ };
1355
+ }
1356
+ if (page.headers) {
1357
+ params.headers = {
1358
+ ...queryKey[0].headers,
1359
+ ...page.headers
1360
+ };
1361
+ }
1362
+ if (page.path) {
1363
+ params.path = {
1364
+ ...queryKey[0].path,
1365
+ ...page.path
1366
+ };
1367
+ }
1368
+ if (page.query) {
1369
+ params.query = {
1370
+ ...queryKey[0].query,
1371
+ ...page.query
1372
+ };
1373
+ }
1374
+ return params;
3198
1375
  };
3199
- var googleRemoveAdGroupMutation = (options) => {
3200
- const mutationOptions = {
3201
- mutationFn: async (fnOptions) => {
3202
- const { data } = await googleRemoveAdGroup({
1376
+ var profilesListInfiniteQueryKey = (options) => createQueryKey("profilesList", options, true);
1377
+ var profilesListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
1378
+ // @ts-ignore
1379
+ {
1380
+ queryFn: async ({ pageParam, queryKey, signal }) => {
1381
+ const page = typeof pageParam === "object" ? pageParam : {
1382
+ query: {
1383
+ offset: pageParam
1384
+ }
1385
+ };
1386
+ const params = createInfiniteParams(queryKey, page);
1387
+ const { data } = await profilesList({
3203
1388
  ...options,
3204
- ...fnOptions,
1389
+ ...params,
1390
+ signal,
3205
1391
  throwOnError: true
3206
1392
  });
3207
1393
  return data;
3208
- }
3209
- };
3210
- return mutationOptions;
3211
- };
3212
- var googlePauseAdGroupMutation = (options) => {
1394
+ },
1395
+ queryKey: profilesListInfiniteQueryKey(options)
1396
+ }
1397
+ );
1398
+ var profilesCreateMutation = (options) => {
3213
1399
  const mutationOptions = {
3214
1400
  mutationFn: async (fnOptions) => {
3215
- const { data } = await googlePauseAdGroup({
1401
+ const { data } = await profilesCreate({
3216
1402
  ...options,
3217
1403
  ...fnOptions,
3218
1404
  throwOnError: true
@@ -3222,10 +1408,10 @@ var googlePauseAdGroupMutation = (options) => {
3222
1408
  };
3223
1409
  return mutationOptions;
3224
1410
  };
3225
- var googleEnableAdGroupMutation = (options) => {
1411
+ var profilesDeleteMutation = (options) => {
3226
1412
  const mutationOptions = {
3227
1413
  mutationFn: async (fnOptions) => {
3228
- const { data } = await googleEnableAdGroup({
1414
+ const { data } = await profilesDelete({
3229
1415
  ...options,
3230
1416
  ...fnOptions,
3231
1417
  throwOnError: true
@@ -3235,10 +1421,10 @@ var googleEnableAdGroupMutation = (options) => {
3235
1421
  };
3236
1422
  return mutationOptions;
3237
1423
  };
3238
- var googleListAdGroupCriteriaQueryKey = (options) => createQueryKey("googleListAdGroupCriteria", options);
3239
- var googleListAdGroupCriteriaOptions = (options) => reactQuery.queryOptions({
1424
+ var profilesGetQueryKey = (options) => createQueryKey("profilesGet", options);
1425
+ var profilesGetOptions = (options) => reactQuery.queryOptions({
3240
1426
  queryFn: async ({ queryKey, signal }) => {
3241
- const { data } = await googleListAdGroupCriteria({
1427
+ const { data } = await profilesGet({
3242
1428
  ...options,
3243
1429
  ...queryKey[0],
3244
1430
  signal,
@@ -3246,25 +1432,12 @@ var googleListAdGroupCriteriaOptions = (options) => reactQuery.queryOptions({
3246
1432
  });
3247
1433
  return data;
3248
1434
  },
3249
- queryKey: googleListAdGroupCriteriaQueryKey(options)
1435
+ queryKey: profilesGetQueryKey(options)
3250
1436
  });
3251
- var googleCreateAdGroupCriterionMutation = (options) => {
3252
- const mutationOptions = {
3253
- mutationFn: async (fnOptions) => {
3254
- const { data } = await googleCreateAdGroupCriterion({
3255
- ...options,
3256
- ...fnOptions,
3257
- throwOnError: true
3258
- });
3259
- return data;
3260
- }
3261
- };
3262
- return mutationOptions;
3263
- };
3264
- var googleRemoveAdGroupCriterionMutation = (options) => {
1437
+ var profilesUpdateMutation = (options) => {
3265
1438
  const mutationOptions = {
3266
1439
  mutationFn: async (fnOptions) => {
3267
- const { data } = await googleRemoveAdGroupCriterion({
1440
+ const { data } = await profilesUpdate({
3268
1441
  ...options,
3269
1442
  ...fnOptions,
3270
1443
  throwOnError: true
@@ -3274,10 +1447,10 @@ var googleRemoveAdGroupCriterionMutation = (options) => {
3274
1447
  };
3275
1448
  return mutationOptions;
3276
1449
  };
3277
- var googleListAudiencesQueryKey = (options) => createQueryKey("googleListAudiences", options);
3278
- var googleListAudiencesOptions = (options) => reactQuery.queryOptions({
1450
+ var connectionsListByProfileQueryKey = (options) => createQueryKey("connectionsListByProfile", options);
1451
+ var connectionsListByProfileOptions = (options) => reactQuery.queryOptions({
3279
1452
  queryFn: async ({ queryKey, signal }) => {
3280
- const { data } = await googleListAudiences({
1453
+ const { data } = await connectionsListByProfile({
3281
1454
  ...options,
3282
1455
  ...queryKey[0],
3283
1456
  signal,
@@ -3285,38 +1458,34 @@ var googleListAudiencesOptions = (options) => reactQuery.queryOptions({
3285
1458
  });
3286
1459
  return data;
3287
1460
  },
3288
- queryKey: googleListAudiencesQueryKey(options)
1461
+ queryKey: connectionsListByProfileQueryKey(options)
3289
1462
  });
3290
- var googleSetCampaignTargetingSettingMutation = (options) => {
3291
- const mutationOptions = {
3292
- mutationFn: async (fnOptions) => {
3293
- const { data } = await googleSetCampaignTargetingSetting({
1463
+ var connectionsListByProfileInfiniteQueryKey = (options) => createQueryKey("connectionsListByProfile", options, true);
1464
+ var connectionsListByProfileInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
1465
+ // @ts-ignore
1466
+ {
1467
+ queryFn: async ({ pageParam, queryKey, signal }) => {
1468
+ const page = typeof pageParam === "object" ? pageParam : {
1469
+ query: {
1470
+ offset: pageParam
1471
+ }
1472
+ };
1473
+ const params = createInfiniteParams(queryKey, page);
1474
+ const { data } = await connectionsListByProfile({
3294
1475
  ...options,
3295
- ...fnOptions,
1476
+ ...params,
1477
+ signal,
3296
1478
  throwOnError: true
3297
1479
  });
3298
1480
  return data;
3299
- }
3300
- };
3301
- return mutationOptions;
3302
- };
3303
- var googleListAdsQueryKey = (options) => createQueryKey("googleListAds", options);
3304
- var googleListAdsOptions = (options) => reactQuery.queryOptions({
3305
- queryFn: async ({ queryKey, signal }) => {
3306
- const { data } = await googleListAds({
3307
- ...options,
3308
- ...queryKey[0],
3309
- signal,
3310
- throwOnError: true
3311
- });
3312
- return data;
3313
- },
3314
- queryKey: googleListAdsQueryKey(options)
3315
- });
3316
- var googleCreateAdMutation = (options) => {
1481
+ },
1482
+ queryKey: connectionsListByProfileInfiniteQueryKey(options)
1483
+ }
1484
+ );
1485
+ var connectionsDeleteMutation = (options) => {
3317
1486
  const mutationOptions = {
3318
1487
  mutationFn: async (fnOptions) => {
3319
- const { data } = await googleCreateAd({
1488
+ const { data } = await connectionsDelete({
3320
1489
  ...options,
3321
1490
  ...fnOptions,
3322
1491
  throwOnError: true
@@ -3326,10 +1495,10 @@ var googleCreateAdMutation = (options) => {
3326
1495
  };
3327
1496
  return mutationOptions;
3328
1497
  };
3329
- var googleGetAdQueryKey = (options) => createQueryKey("googleGetAd", options);
3330
- var googleGetAdOptions = (options) => reactQuery.queryOptions({
1498
+ var connectionsGetQueryKey = (options) => createQueryKey("connectionsGet", options);
1499
+ var connectionsGetOptions = (options) => reactQuery.queryOptions({
3331
1500
  queryFn: async ({ queryKey, signal }) => {
3332
- const { data } = await googleGetAd({
1501
+ const { data } = await connectionsGet({
3333
1502
  ...options,
3334
1503
  ...queryKey[0],
3335
1504
  signal,
@@ -3337,51 +1506,12 @@ var googleGetAdOptions = (options) => reactQuery.queryOptions({
3337
1506
  });
3338
1507
  return data;
3339
1508
  },
3340
- queryKey: googleGetAdQueryKey(options)
1509
+ queryKey: connectionsGetQueryKey(options)
3341
1510
  });
3342
- var googleCreateDisplayAdMutation = (options) => {
3343
- const mutationOptions = {
3344
- mutationFn: async (fnOptions) => {
3345
- const { data } = await googleCreateDisplayAd({
3346
- ...options,
3347
- ...fnOptions,
3348
- throwOnError: true
3349
- });
3350
- return data;
3351
- }
3352
- };
3353
- return mutationOptions;
3354
- };
3355
- var googleRemoveAdMutation = (options) => {
3356
- const mutationOptions = {
3357
- mutationFn: async (fnOptions) => {
3358
- const { data } = await googleRemoveAd({
3359
- ...options,
3360
- ...fnOptions,
3361
- throwOnError: true
3362
- });
3363
- return data;
3364
- }
3365
- };
3366
- return mutationOptions;
3367
- };
3368
- var googlePauseAdMutation = (options) => {
3369
- const mutationOptions = {
3370
- mutationFn: async (fnOptions) => {
3371
- const { data } = await googlePauseAd({
3372
- ...options,
3373
- ...fnOptions,
3374
- throwOnError: true
3375
- });
3376
- return data;
3377
- }
3378
- };
3379
- return mutationOptions;
3380
- };
3381
- var googleEnableAdMutation = (options) => {
1511
+ var connectionsSelectMutation = (options) => {
3382
1512
  const mutationOptions = {
3383
1513
  mutationFn: async (fnOptions) => {
3384
- const { data } = await googleEnableAd({
1514
+ const { data } = await connectionsSelect({
3385
1515
  ...options,
3386
1516
  ...fnOptions,
3387
1517
  throwOnError: true
@@ -3391,10 +1521,10 @@ var googleEnableAdMutation = (options) => {
3391
1521
  };
3392
1522
  return mutationOptions;
3393
1523
  };
3394
- var googleListKeywordsQueryKey = (options) => createQueryKey("googleListKeywords", options);
3395
- var googleListKeywordsOptions = (options) => reactQuery.queryOptions({
1524
+ var connectionsListAccountsQueryKey = (options) => createQueryKey("connectionsListAccounts", options);
1525
+ var connectionsListAccountsOptions = (options) => reactQuery.queryOptions({
3396
1526
  queryFn: async ({ queryKey, signal }) => {
3397
- const { data } = await googleListKeywords({
1527
+ const { data } = await connectionsListAccounts({
3398
1528
  ...options,
3399
1529
  ...queryKey[0],
3400
1530
  signal,
@@ -3402,12 +1532,12 @@ var googleListKeywordsOptions = (options) => reactQuery.queryOptions({
3402
1532
  });
3403
1533
  return data;
3404
1534
  },
3405
- queryKey: googleListKeywordsQueryKey(options)
1535
+ queryKey: connectionsListAccountsQueryKey(options)
3406
1536
  });
3407
- var googleCreateKeywordMutation = (options) => {
1537
+ var connectionsConnectMutation = (options) => {
3408
1538
  const mutationOptions = {
3409
1539
  mutationFn: async (fnOptions) => {
3410
- const { data } = await googleCreateKeyword({
1540
+ const { data } = await connectionsConnect({
3411
1541
  ...options,
3412
1542
  ...fnOptions,
3413
1543
  throwOnError: true
@@ -3417,10 +1547,10 @@ var googleCreateKeywordMutation = (options) => {
3417
1547
  };
3418
1548
  return mutationOptions;
3419
1549
  };
3420
- var googleGetKeywordQueryKey = (options) => createQueryKey("googleGetKeyword", options);
3421
- var googleGetKeywordOptions = (options) => reactQuery.queryOptions({
1550
+ var mediaListQueryKey = (options) => createQueryKey("mediaList", options);
1551
+ var mediaListOptions = (options) => reactQuery.queryOptions({
3422
1552
  queryFn: async ({ queryKey, signal }) => {
3423
- const { data } = await googleGetKeyword({
1553
+ const { data } = await mediaList({
3424
1554
  ...options,
3425
1555
  ...queryKey[0],
3426
1556
  signal,
@@ -3428,38 +1558,34 @@ var googleGetKeywordOptions = (options) => reactQuery.queryOptions({
3428
1558
  });
3429
1559
  return data;
3430
1560
  },
3431
- queryKey: googleGetKeywordQueryKey(options)
1561
+ queryKey: mediaListQueryKey(options)
3432
1562
  });
3433
- var googleSetKeywordBidMutation = (options) => {
3434
- const mutationOptions = {
3435
- mutationFn: async (fnOptions) => {
3436
- const { data } = await googleSetKeywordBid({
3437
- ...options,
3438
- ...fnOptions,
3439
- throwOnError: true
3440
- });
3441
- return data;
3442
- }
3443
- };
3444
- return mutationOptions;
3445
- };
3446
- var googleRemoveKeywordMutation = (options) => {
3447
- const mutationOptions = {
3448
- mutationFn: async (fnOptions) => {
3449
- const { data } = await googleRemoveKeyword({
1563
+ var mediaListInfiniteQueryKey = (options) => createQueryKey("mediaList", options, true);
1564
+ var mediaListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
1565
+ // @ts-ignore
1566
+ {
1567
+ queryFn: async ({ pageParam, queryKey, signal }) => {
1568
+ const page = typeof pageParam === "object" ? pageParam : {
1569
+ query: {
1570
+ offset: pageParam
1571
+ }
1572
+ };
1573
+ const params = createInfiniteParams(queryKey, page);
1574
+ const { data } = await mediaList({
3450
1575
  ...options,
3451
- ...fnOptions,
1576
+ ...params,
1577
+ signal,
3452
1578
  throwOnError: true
3453
1579
  });
3454
1580
  return data;
3455
- }
3456
- };
3457
- return mutationOptions;
3458
- };
3459
- var googlePauseKeywordMutation = (options) => {
1581
+ },
1582
+ queryKey: mediaListInfiniteQueryKey(options)
1583
+ }
1584
+ );
1585
+ var mediaCreateMutation = (options) => {
3460
1586
  const mutationOptions = {
3461
1587
  mutationFn: async (fnOptions) => {
3462
- const { data } = await googlePauseKeyword({
1588
+ const { data } = await mediaCreate({
3463
1589
  ...options,
3464
1590
  ...fnOptions,
3465
1591
  throwOnError: true
@@ -3469,10 +1595,10 @@ var googlePauseKeywordMutation = (options) => {
3469
1595
  };
3470
1596
  return mutationOptions;
3471
1597
  };
3472
- var googleEnableKeywordMutation = (options) => {
1598
+ var mediaDeleteMutation = (options) => {
3473
1599
  const mutationOptions = {
3474
1600
  mutationFn: async (fnOptions) => {
3475
- const { data } = await googleEnableKeyword({
1601
+ const { data } = await mediaDelete({
3476
1602
  ...options,
3477
1603
  ...fnOptions,
3478
1604
  throwOnError: true
@@ -3482,10 +1608,10 @@ var googleEnableKeywordMutation = (options) => {
3482
1608
  };
3483
1609
  return mutationOptions;
3484
1610
  };
3485
- var googleListConversionActionsQueryKey = (options) => createQueryKey("googleListConversionActions", options);
3486
- var googleListConversionActionsOptions = (options) => reactQuery.queryOptions({
1611
+ var mediaGetQueryKey = (options) => createQueryKey("mediaGet", options);
1612
+ var mediaGetOptions = (options) => reactQuery.queryOptions({
3487
1613
  queryFn: async ({ queryKey, signal }) => {
3488
- const { data } = await googleListConversionActions({
1614
+ const { data } = await mediaGet({
3489
1615
  ...options,
3490
1616
  ...queryKey[0],
3491
1617
  signal,
@@ -3493,12 +1619,12 @@ var googleListConversionActionsOptions = (options) => reactQuery.queryOptions({
3493
1619
  });
3494
1620
  return data;
3495
1621
  },
3496
- queryKey: googleListConversionActionsQueryKey(options)
1622
+ queryKey: mediaGetQueryKey(options)
3497
1623
  });
3498
- var googleCreateConversionActionMutation = (options) => {
1624
+ var mediaUpdateMutation = (options) => {
3499
1625
  const mutationOptions = {
3500
1626
  mutationFn: async (fnOptions) => {
3501
- const { data } = await googleCreateConversionAction({
1627
+ const { data } = await mediaUpdate({
3502
1628
  ...options,
3503
1629
  ...fnOptions,
3504
1630
  throwOnError: true
@@ -3508,23 +1634,10 @@ var googleCreateConversionActionMutation = (options) => {
3508
1634
  };
3509
1635
  return mutationOptions;
3510
1636
  };
3511
- var googleGetConversionActionQueryKey = (options) => createQueryKey("googleGetConversionAction", options);
3512
- var googleGetConversionActionOptions = (options) => reactQuery.queryOptions({
3513
- queryFn: async ({ queryKey, signal }) => {
3514
- const { data } = await googleGetConversionAction({
3515
- ...options,
3516
- ...queryKey[0],
3517
- signal,
3518
- throwOnError: true
3519
- });
3520
- return data;
3521
- },
3522
- queryKey: googleGetConversionActionQueryKey(options)
3523
- });
3524
- var googleUpdateConversionActionMutation = (options) => {
1637
+ var mediaSignPartMutation = (options) => {
3525
1638
  const mutationOptions = {
3526
1639
  mutationFn: async (fnOptions) => {
3527
- const { data } = await googleUpdateConversionAction({
1640
+ const { data } = await mediaSignPart({
3528
1641
  ...options,
3529
1642
  ...fnOptions,
3530
1643
  throwOnError: true
@@ -3534,10 +1647,23 @@ var googleUpdateConversionActionMutation = (options) => {
3534
1647
  };
3535
1648
  return mutationOptions;
3536
1649
  };
3537
- var googleRemoveConversionActionMutation = (options) => {
1650
+ var mediaListPartsQueryKey = (options) => createQueryKey("mediaListParts", options);
1651
+ var mediaListPartsOptions = (options) => reactQuery.queryOptions({
1652
+ queryFn: async ({ queryKey, signal }) => {
1653
+ const { data } = await mediaListParts({
1654
+ ...options,
1655
+ ...queryKey[0],
1656
+ signal,
1657
+ throwOnError: true
1658
+ });
1659
+ return data;
1660
+ },
1661
+ queryKey: mediaListPartsQueryKey(options)
1662
+ });
1663
+ var mediaCompleteMutation = (options) => {
3538
1664
  const mutationOptions = {
3539
1665
  mutationFn: async (fnOptions) => {
3540
- const { data } = await googleRemoveConversionAction({
1666
+ const { data } = await mediaComplete({
3541
1667
  ...options,
3542
1668
  ...fnOptions,
3543
1669
  throwOnError: true
@@ -3547,10 +1673,10 @@ var googleRemoveConversionActionMutation = (options) => {
3547
1673
  };
3548
1674
  return mutationOptions;
3549
1675
  };
3550
- var googleSendConversionsMutation = (options) => {
1676
+ var mediaAbortMutation = (options) => {
3551
1677
  const mutationOptions = {
3552
1678
  mutationFn: async (fnOptions) => {
3553
- const { data } = await googleSendConversions({
1679
+ const { data } = await mediaAbort({
3554
1680
  ...options,
3555
1681
  ...fnOptions,
3556
1682
  throwOnError: true
@@ -3560,23 +1686,10 @@ var googleSendConversionsMutation = (options) => {
3560
1686
  };
3561
1687
  return mutationOptions;
3562
1688
  };
3563
- var googleGetConversionStatusQueryKey = (options) => createQueryKey("googleGetConversionStatus", options);
3564
- var googleGetConversionStatusOptions = (options) => reactQuery.queryOptions({
3565
- queryFn: async ({ queryKey, signal }) => {
3566
- const { data } = await googleGetConversionStatus({
3567
- ...options,
3568
- ...queryKey[0],
3569
- signal,
3570
- throwOnError: true
3571
- });
3572
- return data;
3573
- },
3574
- queryKey: googleGetConversionStatusQueryKey(options)
3575
- });
3576
- var googleListConversionRequestsQueryKey = (options) => createQueryKey("googleListConversionRequests", options);
3577
- var googleListConversionRequestsOptions = (options) => reactQuery.queryOptions({
1689
+ var postsListQueryKey = (options) => createQueryKey("postsList", options);
1690
+ var postsListOptions = (options) => reactQuery.queryOptions({
3578
1691
  queryFn: async ({ queryKey, signal }) => {
3579
- const { data } = await googleListConversionRequests({
1692
+ const { data } = await postsList({
3580
1693
  ...options,
3581
1694
  ...queryKey[0],
3582
1695
  signal,
@@ -3584,10 +1697,10 @@ var googleListConversionRequestsOptions = (options) => reactQuery.queryOptions({
3584
1697
  });
3585
1698
  return data;
3586
1699
  },
3587
- queryKey: googleListConversionRequestsQueryKey(options)
1700
+ queryKey: postsListQueryKey(options)
3588
1701
  });
3589
- var googleListConversionRequestsInfiniteQueryKey = (options) => createQueryKey("googleListConversionRequests", options, true);
3590
- var googleListConversionRequestsInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
1702
+ var postsListInfiniteQueryKey = (options) => createQueryKey("postsList", options, true);
1703
+ var postsListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
3591
1704
  // @ts-ignore
3592
1705
  {
3593
1706
  queryFn: async ({ pageParam, queryKey, signal }) => {
@@ -3597,7 +1710,7 @@ var googleListConversionRequestsInfiniteOptions = (options) => reactQuery.infini
3597
1710
  }
3598
1711
  };
3599
1712
  const params = createInfiniteParams(queryKey, page);
3600
- const { data } = await googleListConversionRequests({
1713
+ const { data } = await postsList({
3601
1714
  ...options,
3602
1715
  ...params,
3603
1716
  signal,
@@ -3605,13 +1718,39 @@ var googleListConversionRequestsInfiniteOptions = (options) => reactQuery.infini
3605
1718
  });
3606
1719
  return data;
3607
1720
  },
3608
- queryKey: googleListConversionRequestsInfiniteQueryKey(options)
1721
+ queryKey: postsListInfiniteQueryKey(options)
3609
1722
  }
3610
1723
  );
3611
- var googleListConversionGoalsQueryKey = (options) => createQueryKey("googleListConversionGoals", options);
3612
- var googleListConversionGoalsOptions = (options) => reactQuery.queryOptions({
1724
+ var postsCreateMutation = (options) => {
1725
+ const mutationOptions = {
1726
+ mutationFn: async (fnOptions) => {
1727
+ const { data } = await postsCreate({
1728
+ ...options,
1729
+ ...fnOptions,
1730
+ throwOnError: true
1731
+ });
1732
+ return data;
1733
+ }
1734
+ };
1735
+ return mutationOptions;
1736
+ };
1737
+ var postsDeleteMutation = (options) => {
1738
+ const mutationOptions = {
1739
+ mutationFn: async (fnOptions) => {
1740
+ const { data } = await postsDelete({
1741
+ ...options,
1742
+ ...fnOptions,
1743
+ throwOnError: true
1744
+ });
1745
+ return data;
1746
+ }
1747
+ };
1748
+ return mutationOptions;
1749
+ };
1750
+ var postsGetQueryKey = (options) => createQueryKey("postsGet", options);
1751
+ var postsGetOptions = (options) => reactQuery.queryOptions({
3613
1752
  queryFn: async ({ queryKey, signal }) => {
3614
- const { data } = await googleListConversionGoals({
1753
+ const { data } = await postsGet({
3615
1754
  ...options,
3616
1755
  ...queryKey[0],
3617
1756
  signal,
@@ -3619,12 +1758,25 @@ var googleListConversionGoalsOptions = (options) => reactQuery.queryOptions({
3619
1758
  });
3620
1759
  return data;
3621
1760
  },
3622
- queryKey: googleListConversionGoalsQueryKey(options)
1761
+ queryKey: postsGetQueryKey(options)
3623
1762
  });
3624
- var googleSetConversionGoalMutation = (options) => {
1763
+ var postsUpdateMutation = (options) => {
1764
+ const mutationOptions = {
1765
+ mutationFn: async (fnOptions) => {
1766
+ const { data } = await postsUpdate({
1767
+ ...options,
1768
+ ...fnOptions,
1769
+ throwOnError: true
1770
+ });
1771
+ return data;
1772
+ }
1773
+ };
1774
+ return mutationOptions;
1775
+ };
1776
+ var postsRetryMutation = (options) => {
3625
1777
  const mutationOptions = {
3626
1778
  mutationFn: async (fnOptions) => {
3627
- const { data } = await googleSetConversionGoal({
1779
+ const { data } = await postsRetry({
3628
1780
  ...options,
3629
1781
  ...fnOptions,
3630
1782
  throwOnError: true
@@ -3634,10 +1786,10 @@ var googleSetConversionGoalMutation = (options) => {
3634
1786
  };
3635
1787
  return mutationOptions;
3636
1788
  };
3637
- var googleUploadImageAssetMutation = (options) => {
1789
+ var postsValidateMutation = (options) => {
3638
1790
  const mutationOptions = {
3639
1791
  mutationFn: async (fnOptions) => {
3640
- const { data } = await googleUploadImageAsset({
1792
+ const { data } = await postsValidate({
3641
1793
  ...options,
3642
1794
  ...fnOptions,
3643
1795
  throwOnError: true
@@ -3859,85 +2011,6 @@ exports.connectionsListByProfileInfiniteQueryKey = connectionsListByProfileInfin
3859
2011
  exports.connectionsListByProfileOptions = connectionsListByProfileOptions;
3860
2012
  exports.connectionsListByProfileQueryKey = connectionsListByProfileQueryKey;
3861
2013
  exports.connectionsSelectMutation = connectionsSelectMutation;
3862
- exports.googleCreateAdGroupCriterionMutation = googleCreateAdGroupCriterionMutation;
3863
- exports.googleCreateAdGroupMutation = googleCreateAdGroupMutation;
3864
- exports.googleCreateAdMutation = googleCreateAdMutation;
3865
- exports.googleCreateBudgetMutation = googleCreateBudgetMutation;
3866
- exports.googleCreateCampaignCriterionMutation = googleCreateCampaignCriterionMutation;
3867
- exports.googleCreateCampaignMutation = googleCreateCampaignMutation;
3868
- exports.googleCreateConversionActionMutation = googleCreateConversionActionMutation;
3869
- exports.googleCreateDisplayAdMutation = googleCreateDisplayAdMutation;
3870
- exports.googleCreateKeywordMutation = googleCreateKeywordMutation;
3871
- exports.googleEditAccountMutation = googleEditAccountMutation;
3872
- exports.googleEditAdGroupMutation = googleEditAdGroupMutation;
3873
- exports.googleEditBudgetMutation = googleEditBudgetMutation;
3874
- exports.googleEditCampaignMutation = googleEditCampaignMutation;
3875
- exports.googleEnableAdGroupMutation = googleEnableAdGroupMutation;
3876
- exports.googleEnableAdMutation = googleEnableAdMutation;
3877
- exports.googleEnableCampaignMutation = googleEnableCampaignMutation;
3878
- exports.googleEnableKeywordMutation = googleEnableKeywordMutation;
3879
- exports.googleGetAccountOptions = googleGetAccountOptions;
3880
- exports.googleGetAccountQueryKey = googleGetAccountQueryKey;
3881
- exports.googleGetAdGroupOptions = googleGetAdGroupOptions;
3882
- exports.googleGetAdGroupQueryKey = googleGetAdGroupQueryKey;
3883
- exports.googleGetAdOptions = googleGetAdOptions;
3884
- exports.googleGetAdQueryKey = googleGetAdQueryKey;
3885
- exports.googleGetAdTreeOptions = googleGetAdTreeOptions;
3886
- exports.googleGetAdTreeQueryKey = googleGetAdTreeQueryKey;
3887
- exports.googleGetCampaignOptions = googleGetCampaignOptions;
3888
- exports.googleGetCampaignQueryKey = googleGetCampaignQueryKey;
3889
- exports.googleGetConversionActionOptions = googleGetConversionActionOptions;
3890
- exports.googleGetConversionActionQueryKey = googleGetConversionActionQueryKey;
3891
- exports.googleGetConversionStatusOptions = googleGetConversionStatusOptions;
3892
- exports.googleGetConversionStatusQueryKey = googleGetConversionStatusQueryKey;
3893
- exports.googleGetInsightsMutation = googleGetInsightsMutation;
3894
- exports.googleGetKeywordOptions = googleGetKeywordOptions;
3895
- exports.googleGetKeywordQueryKey = googleGetKeywordQueryKey;
3896
- exports.googleListAdGroupCriteriaOptions = googleListAdGroupCriteriaOptions;
3897
- exports.googleListAdGroupCriteriaQueryKey = googleListAdGroupCriteriaQueryKey;
3898
- exports.googleListAdGroupsOptions = googleListAdGroupsOptions;
3899
- exports.googleListAdGroupsQueryKey = googleListAdGroupsQueryKey;
3900
- exports.googleListAdsOptions = googleListAdsOptions;
3901
- exports.googleListAdsQueryKey = googleListAdsQueryKey;
3902
- exports.googleListAudiencesOptions = googleListAudiencesOptions;
3903
- exports.googleListAudiencesQueryKey = googleListAudiencesQueryKey;
3904
- exports.googleListCampaignCriteriaOptions = googleListCampaignCriteriaOptions;
3905
- exports.googleListCampaignCriteriaQueryKey = googleListCampaignCriteriaQueryKey;
3906
- exports.googleListCampaignsOptions = googleListCampaignsOptions;
3907
- exports.googleListCampaignsQueryKey = googleListCampaignsQueryKey;
3908
- exports.googleListConversionActionsOptions = googleListConversionActionsOptions;
3909
- exports.googleListConversionActionsQueryKey = googleListConversionActionsQueryKey;
3910
- exports.googleListConversionGoalsOptions = googleListConversionGoalsOptions;
3911
- exports.googleListConversionGoalsQueryKey = googleListConversionGoalsQueryKey;
3912
- exports.googleListConversionRequestsInfiniteOptions = googleListConversionRequestsInfiniteOptions;
3913
- exports.googleListConversionRequestsInfiniteQueryKey = googleListConversionRequestsInfiniteQueryKey;
3914
- exports.googleListConversionRequestsOptions = googleListConversionRequestsOptions;
3915
- exports.googleListConversionRequestsQueryKey = googleListConversionRequestsQueryKey;
3916
- exports.googleListKeywordsOptions = googleListKeywordsOptions;
3917
- exports.googleListKeywordsQueryKey = googleListKeywordsQueryKey;
3918
- exports.googlePauseAdGroupMutation = googlePauseAdGroupMutation;
3919
- exports.googlePauseAdMutation = googlePauseAdMutation;
3920
- exports.googlePauseCampaignMutation = googlePauseCampaignMutation;
3921
- exports.googlePauseKeywordMutation = googlePauseKeywordMutation;
3922
- exports.googleRemoveAdGroupCriterionMutation = googleRemoveAdGroupCriterionMutation;
3923
- exports.googleRemoveAdGroupMutation = googleRemoveAdGroupMutation;
3924
- exports.googleRemoveAdMutation = googleRemoveAdMutation;
3925
- exports.googleRemoveBudgetMutation = googleRemoveBudgetMutation;
3926
- exports.googleRemoveCampaignCriterionMutation = googleRemoveCampaignCriterionMutation;
3927
- exports.googleRemoveCampaignMutation = googleRemoveCampaignMutation;
3928
- exports.googleRemoveConversionActionMutation = googleRemoveConversionActionMutation;
3929
- exports.googleRemoveKeywordMutation = googleRemoveKeywordMutation;
3930
- exports.googleRunGaqlMutation = googleRunGaqlMutation;
3931
- exports.googleSearchGeoTargetsOptions = googleSearchGeoTargetsOptions;
3932
- exports.googleSearchGeoTargetsQueryKey = googleSearchGeoTargetsQueryKey;
3933
- exports.googleSendConversionsMutation = googleSendConversionsMutation;
3934
- exports.googleSetAdGroupBidsMutation = googleSetAdGroupBidsMutation;
3935
- exports.googleSetCampaignGeoSettingsMutation = googleSetCampaignGeoSettingsMutation;
3936
- exports.googleSetCampaignTargetingSettingMutation = googleSetCampaignTargetingSettingMutation;
3937
- exports.googleSetConversionGoalMutation = googleSetConversionGoalMutation;
3938
- exports.googleSetKeywordBidMutation = googleSetKeywordBidMutation;
3939
- exports.googleUpdateConversionActionMutation = googleUpdateConversionActionMutation;
3940
- exports.googleUploadImageAssetMutation = googleUploadImageAssetMutation;
3941
2014
  exports.logsGetOptions = logsGetOptions;
3942
2015
  exports.logsGetQueryKey = logsGetQueryKey;
3943
2016
  exports.logsListInfiniteOptions = logsListInfiniteOptions;
@@ -3958,22 +2031,6 @@ exports.mediaListPartsQueryKey = mediaListPartsQueryKey;
3958
2031
  exports.mediaListQueryKey = mediaListQueryKey;
3959
2032
  exports.mediaSignPartMutation = mediaSignPartMutation;
3960
2033
  exports.mediaUpdateMutation = mediaUpdateMutation;
3961
- exports.metaAccountOptions = metaAccountOptions;
3962
- exports.metaAccountQueryKey = metaAccountQueryKey;
3963
- exports.metaAdOptions = metaAdOptions;
3964
- exports.metaAdQueryKey = metaAdQueryKey;
3965
- exports.metaAdsOptions = metaAdsOptions;
3966
- exports.metaAdsQueryKey = metaAdsQueryKey;
3967
- exports.metaAdsetOptions = metaAdsetOptions;
3968
- exports.metaAdsetQueryKey = metaAdsetQueryKey;
3969
- exports.metaAdsetsOptions = metaAdsetsOptions;
3970
- exports.metaAdsetsQueryKey = metaAdsetsQueryKey;
3971
- exports.metaCampaignOptions = metaCampaignOptions;
3972
- exports.metaCampaignQueryKey = metaCampaignQueryKey;
3973
- exports.metaCampaignsOptions = metaCampaignsOptions;
3974
- exports.metaCampaignsQueryKey = metaCampaignsQueryKey;
3975
- exports.metaInsightsOptions = metaInsightsOptions;
3976
- exports.metaInsightsQueryKey = metaInsightsQueryKey;
3977
2034
  exports.postsCreateMutation = postsCreateMutation;
3978
2035
  exports.postsDeleteMutation = postsDeleteMutation;
3979
2036
  exports.postsGetOptions = postsGetOptions;
@@ -3982,6 +2039,7 @@ exports.postsListInfiniteOptions = postsListInfiniteOptions;
3982
2039
  exports.postsListInfiniteQueryKey = postsListInfiniteQueryKey;
3983
2040
  exports.postsListOptions = postsListOptions;
3984
2041
  exports.postsListQueryKey = postsListQueryKey;
2042
+ exports.postsRetryMutation = postsRetryMutation;
3985
2043
  exports.postsUpdateMutation = postsUpdateMutation;
3986
2044
  exports.postsValidateMutation = postsValidateMutation;
3987
2045
  exports.profilesCreateMutation = profilesCreateMutation;