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