@postrun/js 3.3.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-VCOKMHAJ.js +3205 -0
- package/dist/chunk-VCOKMHAJ.js.map +1 -0
- package/dist/chunk-YP26OO5J.js +1437 -0
- package/dist/chunk-YP26OO5J.js.map +1 -0
- package/dist/index.cjs +1543 -7311
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +88 -904
- package/dist/index.d.ts +88 -904
- package/dist/index.js +51 -48
- package/dist/index.js.map +1 -1
- package/dist/query.cjs +258 -3401
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +3267 -31911
- package/dist/query.d.ts +3267 -31911
- package/dist/query.js +258 -3250
- package/dist/query.js.map +1 -1
- package/dist/schemas/index.cjs +598 -5233
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +11261 -15569
- package/dist/schemas/index.d.ts +11261 -15569
- package/dist/schemas/index.js +1 -27
- package/dist/schemas/index.js.map +1 -1
- package/dist/server.cjs +586 -4713
- 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-62WCSNZ4.js +0 -7393
- package/dist/chunk-62WCSNZ4.js.map +0 -1
- package/dist/chunk-W37M2JFI.js +0 -2980
- package/dist/chunk-W37M2JFI.js.map +0 -1
- package/dist/types.gen-D7Xl9jUZ.d.cts +0 -37417
- package/dist/types.gen-D7Xl9jUZ.d.ts +0 -37417
package/dist/query.cjs
CHANGED
|
@@ -1149,7 +1149,7 @@ var postsUpdate = (options) => (options.client ?? client).patch({
|
|
|
1149
1149
|
...options.headers
|
|
1150
1150
|
}
|
|
1151
1151
|
});
|
|
1152
|
-
var
|
|
1152
|
+
var postsRetry = (options) => (options.client ?? client).post({
|
|
1153
1153
|
security: [{
|
|
1154
1154
|
key: "secretKey",
|
|
1155
1155
|
scheme: "bearer",
|
|
@@ -1159,131 +1159,14 @@ var postsValidate = (options) => (options.client ?? client).post({
|
|
|
1159
1159
|
scheme: "bearer",
|
|
1160
1160
|
type: "http"
|
|
1161
1161
|
}],
|
|
1162
|
-
url: "/posts/
|
|
1162
|
+
url: "/posts/{id}/retry",
|
|
1163
1163
|
...options,
|
|
1164
1164
|
headers: {
|
|
1165
1165
|
"Content-Type": "application/json",
|
|
1166
1166
|
...options.headers
|
|
1167
1167
|
}
|
|
1168
1168
|
});
|
|
1169
|
-
var
|
|
1170
|
-
security: [{
|
|
1171
|
-
key: "secretKey",
|
|
1172
|
-
scheme: "bearer",
|
|
1173
|
-
type: "http"
|
|
1174
|
-
}, {
|
|
1175
|
-
key: "frontendToken",
|
|
1176
|
-
scheme: "bearer",
|
|
1177
|
-
type: "http"
|
|
1178
|
-
}],
|
|
1179
|
-
url: "/meta/{connection_id}/account",
|
|
1180
|
-
...options
|
|
1181
|
-
});
|
|
1182
|
-
var metaInsights = (options) => (options.client ?? client).get({
|
|
1183
|
-
security: [{
|
|
1184
|
-
key: "secretKey",
|
|
1185
|
-
scheme: "bearer",
|
|
1186
|
-
type: "http"
|
|
1187
|
-
}, {
|
|
1188
|
-
key: "frontendToken",
|
|
1189
|
-
scheme: "bearer",
|
|
1190
|
-
type: "http"
|
|
1191
|
-
}],
|
|
1192
|
-
url: "/meta/{connection_id}/insights",
|
|
1193
|
-
...options
|
|
1194
|
-
});
|
|
1195
|
-
var metaCampaigns = (options) => (options.client ?? client).get({
|
|
1196
|
-
security: [{
|
|
1197
|
-
key: "secretKey",
|
|
1198
|
-
scheme: "bearer",
|
|
1199
|
-
type: "http"
|
|
1200
|
-
}, {
|
|
1201
|
-
key: "frontendToken",
|
|
1202
|
-
scheme: "bearer",
|
|
1203
|
-
type: "http"
|
|
1204
|
-
}],
|
|
1205
|
-
url: "/meta/{connection_id}/campaigns",
|
|
1206
|
-
...options
|
|
1207
|
-
});
|
|
1208
|
-
var metaCampaign = (options) => (options.client ?? client).get({
|
|
1209
|
-
security: [{
|
|
1210
|
-
key: "secretKey",
|
|
1211
|
-
scheme: "bearer",
|
|
1212
|
-
type: "http"
|
|
1213
|
-
}, {
|
|
1214
|
-
key: "frontendToken",
|
|
1215
|
-
scheme: "bearer",
|
|
1216
|
-
type: "http"
|
|
1217
|
-
}],
|
|
1218
|
-
url: "/meta/{connection_id}/campaigns/{campaign_id}",
|
|
1219
|
-
...options
|
|
1220
|
-
});
|
|
1221
|
-
var metaAdsets = (options) => (options.client ?? client).get({
|
|
1222
|
-
security: [{
|
|
1223
|
-
key: "secretKey",
|
|
1224
|
-
scheme: "bearer",
|
|
1225
|
-
type: "http"
|
|
1226
|
-
}, {
|
|
1227
|
-
key: "frontendToken",
|
|
1228
|
-
scheme: "bearer",
|
|
1229
|
-
type: "http"
|
|
1230
|
-
}],
|
|
1231
|
-
url: "/meta/{connection_id}/adsets",
|
|
1232
|
-
...options
|
|
1233
|
-
});
|
|
1234
|
-
var metaAdset = (options) => (options.client ?? client).get({
|
|
1235
|
-
security: [{
|
|
1236
|
-
key: "secretKey",
|
|
1237
|
-
scheme: "bearer",
|
|
1238
|
-
type: "http"
|
|
1239
|
-
}, {
|
|
1240
|
-
key: "frontendToken",
|
|
1241
|
-
scheme: "bearer",
|
|
1242
|
-
type: "http"
|
|
1243
|
-
}],
|
|
1244
|
-
url: "/meta/{connection_id}/adsets/{adset_id}",
|
|
1245
|
-
...options
|
|
1246
|
-
});
|
|
1247
|
-
var metaAds = (options) => (options.client ?? client).get({
|
|
1248
|
-
security: [{
|
|
1249
|
-
key: "secretKey",
|
|
1250
|
-
scheme: "bearer",
|
|
1251
|
-
type: "http"
|
|
1252
|
-
}, {
|
|
1253
|
-
key: "frontendToken",
|
|
1254
|
-
scheme: "bearer",
|
|
1255
|
-
type: "http"
|
|
1256
|
-
}],
|
|
1257
|
-
url: "/meta/{connection_id}/ads",
|
|
1258
|
-
...options
|
|
1259
|
-
});
|
|
1260
|
-
var metaAd = (options) => (options.client ?? client).get({
|
|
1261
|
-
security: [{
|
|
1262
|
-
key: "secretKey",
|
|
1263
|
-
scheme: "bearer",
|
|
1264
|
-
type: "http"
|
|
1265
|
-
}, {
|
|
1266
|
-
key: "frontendToken",
|
|
1267
|
-
scheme: "bearer",
|
|
1268
|
-
type: "http"
|
|
1269
|
-
}],
|
|
1270
|
-
url: "/meta/{connection_id}/ads/{ad_id}",
|
|
1271
|
-
...options
|
|
1272
|
-
});
|
|
1273
|
-
var googleGetAccount = (options) => (options.client ?? client).get({
|
|
1274
|
-
security: [{
|
|
1275
|
-
key: "secretKey",
|
|
1276
|
-
scheme: "bearer",
|
|
1277
|
-
type: "http"
|
|
1278
|
-
}, {
|
|
1279
|
-
key: "frontendToken",
|
|
1280
|
-
scheme: "bearer",
|
|
1281
|
-
type: "http"
|
|
1282
|
-
}],
|
|
1283
|
-
url: "/google/{connection_id}/account",
|
|
1284
|
-
...options
|
|
1285
|
-
});
|
|
1286
|
-
var googleEditAccount = (options) => (options.client ?? client).patch({
|
|
1169
|
+
var postsValidate = (options) => (options.client ?? client).post({
|
|
1287
1170
|
security: [{
|
|
1288
1171
|
key: "secretKey",
|
|
1289
1172
|
scheme: "bearer",
|
|
@@ -1293,14 +1176,14 @@ var googleEditAccount = (options) => (options.client ?? client).patch({
|
|
|
1293
1176
|
scheme: "bearer",
|
|
1294
1177
|
type: "http"
|
|
1295
1178
|
}],
|
|
1296
|
-
url: "/
|
|
1179
|
+
url: "/posts/validate",
|
|
1297
1180
|
...options,
|
|
1298
1181
|
headers: {
|
|
1299
1182
|
"Content-Type": "application/json",
|
|
1300
1183
|
...options.headers
|
|
1301
1184
|
}
|
|
1302
1185
|
});
|
|
1303
|
-
var
|
|
1186
|
+
var tiktokCreatorInfo = (options) => (options.client ?? client).get({
|
|
1304
1187
|
security: [{
|
|
1305
1188
|
key: "secretKey",
|
|
1306
1189
|
scheme: "bearer",
|
|
@@ -1310,2885 +1193,188 @@ var googleGetInsights = (options) => (options.client ?? client).post({
|
|
|
1310
1193
|
scheme: "bearer",
|
|
1311
1194
|
type: "http"
|
|
1312
1195
|
}],
|
|
1313
|
-
url: "/
|
|
1314
|
-
...options
|
|
1315
|
-
headers: {
|
|
1316
|
-
"Content-Type": "application/json",
|
|
1317
|
-
...options.headers
|
|
1318
|
-
}
|
|
1196
|
+
url: "/connections/{id}/tiktok/creator-info",
|
|
1197
|
+
...options
|
|
1319
1198
|
});
|
|
1320
|
-
var
|
|
1199
|
+
var logsList = (options) => (options?.client ?? client).get({
|
|
1321
1200
|
security: [{
|
|
1322
1201
|
key: "secretKey",
|
|
1323
1202
|
scheme: "bearer",
|
|
1324
1203
|
type: "http"
|
|
1325
|
-
}, {
|
|
1326
|
-
key: "frontendToken",
|
|
1327
|
-
scheme: "bearer",
|
|
1328
|
-
type: "http"
|
|
1329
1204
|
}],
|
|
1330
|
-
url: "/
|
|
1205
|
+
url: "/logs",
|
|
1331
1206
|
...options
|
|
1332
1207
|
});
|
|
1333
|
-
var
|
|
1208
|
+
var logsGet = (options) => (options.client ?? client).get({
|
|
1334
1209
|
security: [{
|
|
1335
1210
|
key: "secretKey",
|
|
1336
1211
|
scheme: "bearer",
|
|
1337
1212
|
type: "http"
|
|
1338
|
-
}, {
|
|
1339
|
-
key: "frontendToken",
|
|
1340
|
-
scheme: "bearer",
|
|
1341
|
-
type: "http"
|
|
1342
1213
|
}],
|
|
1343
|
-
url: "/
|
|
1344
|
-
...options
|
|
1345
|
-
headers: {
|
|
1346
|
-
"Content-Type": "application/json",
|
|
1347
|
-
...options.headers
|
|
1348
|
-
}
|
|
1214
|
+
url: "/logs/{id}",
|
|
1215
|
+
...options
|
|
1349
1216
|
});
|
|
1350
|
-
var
|
|
1217
|
+
var webhooksListEndpoints = (options) => (options?.client ?? client).get({
|
|
1351
1218
|
security: [{
|
|
1352
1219
|
key: "secretKey",
|
|
1353
1220
|
scheme: "bearer",
|
|
1354
1221
|
type: "http"
|
|
1355
1222
|
}],
|
|
1356
|
-
url: "/
|
|
1357
|
-
...options
|
|
1358
|
-
headers: {
|
|
1359
|
-
"Content-Type": "application/json",
|
|
1360
|
-
...options.headers
|
|
1361
|
-
}
|
|
1223
|
+
url: "/webhooks/endpoints",
|
|
1224
|
+
...options
|
|
1362
1225
|
});
|
|
1363
|
-
var
|
|
1226
|
+
var webhooksCreateEndpoint = (options) => (options.client ?? client).post({
|
|
1364
1227
|
security: [{
|
|
1365
1228
|
key: "secretKey",
|
|
1366
1229
|
scheme: "bearer",
|
|
1367
1230
|
type: "http"
|
|
1368
1231
|
}],
|
|
1369
|
-
url: "/
|
|
1232
|
+
url: "/webhooks/endpoints",
|
|
1370
1233
|
...options,
|
|
1371
1234
|
headers: {
|
|
1372
1235
|
"Content-Type": "application/json",
|
|
1373
1236
|
...options.headers
|
|
1374
1237
|
}
|
|
1375
1238
|
});
|
|
1376
|
-
var
|
|
1239
|
+
var webhooksDeleteEndpoint = (options) => (options.client ?? client).delete({
|
|
1377
1240
|
security: [{
|
|
1378
1241
|
key: "secretKey",
|
|
1379
1242
|
scheme: "bearer",
|
|
1380
1243
|
type: "http"
|
|
1381
1244
|
}],
|
|
1382
|
-
url: "/
|
|
1383
|
-
...options
|
|
1384
|
-
headers: {
|
|
1385
|
-
"Content-Type": "application/json",
|
|
1386
|
-
...options.headers
|
|
1387
|
-
}
|
|
1245
|
+
url: "/webhooks/endpoints/{id}",
|
|
1246
|
+
...options
|
|
1388
1247
|
});
|
|
1389
|
-
var
|
|
1248
|
+
var webhooksGetEndpoint = (options) => (options.client ?? client).get({
|
|
1390
1249
|
security: [{
|
|
1391
1250
|
key: "secretKey",
|
|
1392
1251
|
scheme: "bearer",
|
|
1393
1252
|
type: "http"
|
|
1394
|
-
}, {
|
|
1395
|
-
key: "frontendToken",
|
|
1396
|
-
scheme: "bearer",
|
|
1397
|
-
type: "http"
|
|
1398
1253
|
}],
|
|
1399
|
-
url: "/
|
|
1254
|
+
url: "/webhooks/endpoints/{id}",
|
|
1400
1255
|
...options
|
|
1401
1256
|
});
|
|
1402
|
-
var
|
|
1257
|
+
var webhooksUpdateEndpoint = (options) => (options.client ?? client).patch({
|
|
1403
1258
|
security: [{
|
|
1404
1259
|
key: "secretKey",
|
|
1405
1260
|
scheme: "bearer",
|
|
1406
1261
|
type: "http"
|
|
1407
|
-
}, {
|
|
1408
|
-
key: "frontendToken",
|
|
1409
|
-
scheme: "bearer",
|
|
1410
|
-
type: "http"
|
|
1411
1262
|
}],
|
|
1412
|
-
url: "/
|
|
1263
|
+
url: "/webhooks/endpoints/{id}",
|
|
1413
1264
|
...options,
|
|
1414
1265
|
headers: {
|
|
1415
1266
|
"Content-Type": "application/json",
|
|
1416
1267
|
...options.headers
|
|
1417
1268
|
}
|
|
1418
1269
|
});
|
|
1419
|
-
var
|
|
1270
|
+
var webhooksCreatePortal = (options) => (options?.client ?? client).post({
|
|
1420
1271
|
security: [{
|
|
1421
1272
|
key: "secretKey",
|
|
1422
1273
|
scheme: "bearer",
|
|
1423
1274
|
type: "http"
|
|
1424
|
-
}, {
|
|
1425
|
-
key: "frontendToken",
|
|
1426
|
-
scheme: "bearer",
|
|
1427
|
-
type: "http"
|
|
1428
1275
|
}],
|
|
1429
|
-
url: "/
|
|
1276
|
+
url: "/webhooks/portal",
|
|
1430
1277
|
...options
|
|
1431
1278
|
});
|
|
1432
|
-
var
|
|
1279
|
+
var webhooksListEventTypes = (options) => (options?.client ?? client).get({
|
|
1433
1280
|
security: [{
|
|
1434
1281
|
key: "secretKey",
|
|
1435
1282
|
scheme: "bearer",
|
|
1436
1283
|
type: "http"
|
|
1437
|
-
}, {
|
|
1438
|
-
key: "frontendToken",
|
|
1439
|
-
scheme: "bearer",
|
|
1440
|
-
type: "http"
|
|
1441
1284
|
}],
|
|
1442
|
-
url: "/
|
|
1443
|
-
...options
|
|
1444
|
-
headers: {
|
|
1445
|
-
"Content-Type": "application/json",
|
|
1446
|
-
...options.headers
|
|
1447
|
-
}
|
|
1285
|
+
url: "/webhooks/event-types",
|
|
1286
|
+
...options
|
|
1448
1287
|
});
|
|
1449
|
-
var
|
|
1288
|
+
var webhooksPing = (options) => (options.client ?? client).post({
|
|
1450
1289
|
security: [{
|
|
1451
1290
|
key: "secretKey",
|
|
1452
1291
|
scheme: "bearer",
|
|
1453
1292
|
type: "http"
|
|
1454
1293
|
}],
|
|
1455
|
-
url: "/
|
|
1294
|
+
url: "/webhooks/ping",
|
|
1456
1295
|
...options,
|
|
1457
1296
|
headers: {
|
|
1458
1297
|
"Content-Type": "application/json",
|
|
1459
1298
|
...options.headers
|
|
1460
1299
|
}
|
|
1461
1300
|
});
|
|
1462
|
-
var
|
|
1301
|
+
var tokensMint = (options) => (options.client ?? client).post({
|
|
1463
1302
|
security: [{
|
|
1464
1303
|
key: "secretKey",
|
|
1465
1304
|
scheme: "bearer",
|
|
1466
1305
|
type: "http"
|
|
1467
|
-
}, {
|
|
1468
|
-
key: "frontendToken",
|
|
1469
|
-
scheme: "bearer",
|
|
1470
|
-
type: "http"
|
|
1471
1306
|
}],
|
|
1472
|
-
url: "/
|
|
1307
|
+
url: "/tokens",
|
|
1473
1308
|
...options,
|
|
1474
1309
|
headers: {
|
|
1475
1310
|
"Content-Type": "application/json",
|
|
1476
1311
|
...options.headers
|
|
1477
1312
|
}
|
|
1478
1313
|
});
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
key: "frontendToken",
|
|
1486
|
-
scheme: "bearer",
|
|
1487
|
-
type: "http"
|
|
1488
|
-
}],
|
|
1489
|
-
url: "/google/{connection_id}/campaigns/{id}/pause",
|
|
1490
|
-
...options,
|
|
1491
|
-
headers: {
|
|
1492
|
-
"Content-Type": "application/json",
|
|
1493
|
-
...options.headers
|
|
1314
|
+
|
|
1315
|
+
// src/client/@tanstack/react-query.gen.ts
|
|
1316
|
+
var createQueryKey = (id, options, infinite, tags) => {
|
|
1317
|
+
const params = { _id: id, baseUrl: options?.baseUrl || (options?.client ?? client).getConfig().baseUrl };
|
|
1318
|
+
if (infinite) {
|
|
1319
|
+
params._infinite = infinite;
|
|
1494
1320
|
}
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
security: [{
|
|
1498
|
-
key: "secretKey",
|
|
1499
|
-
scheme: "bearer",
|
|
1500
|
-
type: "http"
|
|
1501
|
-
}, {
|
|
1502
|
-
key: "frontendToken",
|
|
1503
|
-
scheme: "bearer",
|
|
1504
|
-
type: "http"
|
|
1505
|
-
}],
|
|
1506
|
-
url: "/google/{connection_id}/campaigns/{id}/enable",
|
|
1507
|
-
...options,
|
|
1508
|
-
headers: {
|
|
1509
|
-
"Content-Type": "application/json",
|
|
1510
|
-
...options.headers
|
|
1321
|
+
if (options?.body) {
|
|
1322
|
+
params.body = options.body;
|
|
1511
1323
|
}
|
|
1324
|
+
if (options?.headers) {
|
|
1325
|
+
params.headers = options.headers;
|
|
1326
|
+
}
|
|
1327
|
+
if (options?.path) {
|
|
1328
|
+
params.path = options.path;
|
|
1329
|
+
}
|
|
1330
|
+
if (options?.query) {
|
|
1331
|
+
params.query = options.query;
|
|
1332
|
+
}
|
|
1333
|
+
return [params];
|
|
1334
|
+
};
|
|
1335
|
+
var profilesListQueryKey = (options) => createQueryKey("profilesList", options);
|
|
1336
|
+
var profilesListOptions = (options) => reactQuery.queryOptions({
|
|
1337
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1338
|
+
const { data } = await profilesList({
|
|
1339
|
+
...options,
|
|
1340
|
+
...queryKey[0],
|
|
1341
|
+
signal,
|
|
1342
|
+
throwOnError: true
|
|
1343
|
+
});
|
|
1344
|
+
return data;
|
|
1345
|
+
},
|
|
1346
|
+
queryKey: profilesListQueryKey(options)
|
|
1512
1347
|
});
|
|
1513
|
-
var
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
}
|
|
1539
|
-
|
|
1540
|
-
security: [{
|
|
1541
|
-
key: "secretKey",
|
|
1542
|
-
scheme: "bearer",
|
|
1543
|
-
type: "http"
|
|
1544
|
-
}, {
|
|
1545
|
-
key: "frontendToken",
|
|
1546
|
-
scheme: "bearer",
|
|
1547
|
-
type: "http"
|
|
1548
|
-
}],
|
|
1549
|
-
url: "/google/{connection_id}/campaigns/{campaign_id}/criteria",
|
|
1550
|
-
...options,
|
|
1551
|
-
headers: {
|
|
1552
|
-
"Content-Type": "application/json",
|
|
1553
|
-
...options.headers
|
|
1554
|
-
}
|
|
1555
|
-
});
|
|
1556
|
-
var googleRemoveCampaignCriterion = (options) => (options.client ?? client).post({
|
|
1557
|
-
security: [{
|
|
1558
|
-
key: "secretKey",
|
|
1559
|
-
scheme: "bearer",
|
|
1560
|
-
type: "http"
|
|
1561
|
-
}, {
|
|
1562
|
-
key: "frontendToken",
|
|
1563
|
-
scheme: "bearer",
|
|
1564
|
-
type: "http"
|
|
1565
|
-
}],
|
|
1566
|
-
url: "/google/{connection_id}/campaigns/{campaign_id}/criteria/{criterion_id}/remove",
|
|
1567
|
-
...options,
|
|
1568
|
-
headers: {
|
|
1569
|
-
"Content-Type": "application/json",
|
|
1570
|
-
...options.headers
|
|
1571
|
-
}
|
|
1572
|
-
});
|
|
1573
|
-
var googleSetCampaignGeoSettings = (options) => (options.client ?? client).patch({
|
|
1574
|
-
security: [{
|
|
1575
|
-
key: "secretKey",
|
|
1576
|
-
scheme: "bearer",
|
|
1577
|
-
type: "http"
|
|
1578
|
-
}, {
|
|
1579
|
-
key: "frontendToken",
|
|
1580
|
-
scheme: "bearer",
|
|
1581
|
-
type: "http"
|
|
1582
|
-
}],
|
|
1583
|
-
url: "/google/{connection_id}/campaigns/{campaign_id}/geo-settings",
|
|
1584
|
-
...options,
|
|
1585
|
-
headers: {
|
|
1586
|
-
"Content-Type": "application/json",
|
|
1587
|
-
...options.headers
|
|
1588
|
-
}
|
|
1589
|
-
});
|
|
1590
|
-
var googleListAdGroups = (options) => (options.client ?? client).get({
|
|
1591
|
-
security: [{
|
|
1592
|
-
key: "secretKey",
|
|
1593
|
-
scheme: "bearer",
|
|
1594
|
-
type: "http"
|
|
1595
|
-
}, {
|
|
1596
|
-
key: "frontendToken",
|
|
1597
|
-
scheme: "bearer",
|
|
1598
|
-
type: "http"
|
|
1599
|
-
}],
|
|
1600
|
-
url: "/google/{connection_id}/ad-groups",
|
|
1601
|
-
...options
|
|
1602
|
-
});
|
|
1603
|
-
var googleCreateAdGroup = (options) => (options.client ?? client).post({
|
|
1604
|
-
security: [{
|
|
1605
|
-
key: "secretKey",
|
|
1606
|
-
scheme: "bearer",
|
|
1607
|
-
type: "http"
|
|
1608
|
-
}, {
|
|
1609
|
-
key: "frontendToken",
|
|
1610
|
-
scheme: "bearer",
|
|
1611
|
-
type: "http"
|
|
1612
|
-
}],
|
|
1613
|
-
url: "/google/{connection_id}/ad-groups",
|
|
1614
|
-
...options,
|
|
1615
|
-
headers: {
|
|
1616
|
-
"Content-Type": "application/json",
|
|
1617
|
-
...options.headers
|
|
1618
|
-
}
|
|
1619
|
-
});
|
|
1620
|
-
var googleGetAdGroup = (options) => (options.client ?? client).get({
|
|
1621
|
-
security: [{
|
|
1622
|
-
key: "secretKey",
|
|
1623
|
-
scheme: "bearer",
|
|
1624
|
-
type: "http"
|
|
1625
|
-
}, {
|
|
1626
|
-
key: "frontendToken",
|
|
1627
|
-
scheme: "bearer",
|
|
1628
|
-
type: "http"
|
|
1629
|
-
}],
|
|
1630
|
-
url: "/google/{connection_id}/ad-groups/{id}",
|
|
1631
|
-
...options
|
|
1632
|
-
});
|
|
1633
|
-
var googleEditAdGroup = (options) => (options.client ?? client).patch({
|
|
1634
|
-
security: [{
|
|
1635
|
-
key: "secretKey",
|
|
1636
|
-
scheme: "bearer",
|
|
1637
|
-
type: "http"
|
|
1638
|
-
}, {
|
|
1639
|
-
key: "frontendToken",
|
|
1640
|
-
scheme: "bearer",
|
|
1641
|
-
type: "http"
|
|
1642
|
-
}],
|
|
1643
|
-
url: "/google/{connection_id}/ad-groups/{id}",
|
|
1644
|
-
...options,
|
|
1645
|
-
headers: {
|
|
1646
|
-
"Content-Type": "application/json",
|
|
1647
|
-
...options.headers
|
|
1648
|
-
}
|
|
1649
|
-
});
|
|
1650
|
-
var googleSetAdGroupBids = (options) => (options.client ?? client).patch({
|
|
1651
|
-
security: [{
|
|
1652
|
-
key: "secretKey",
|
|
1653
|
-
scheme: "bearer",
|
|
1654
|
-
type: "http"
|
|
1655
|
-
}],
|
|
1656
|
-
url: "/google/{connection_id}/ad-groups/{id}/bids",
|
|
1657
|
-
...options,
|
|
1658
|
-
headers: {
|
|
1659
|
-
"Content-Type": "application/json",
|
|
1660
|
-
...options.headers
|
|
1661
|
-
}
|
|
1662
|
-
});
|
|
1663
|
-
var googleRemoveAdGroup = (options) => (options.client ?? client).post({
|
|
1664
|
-
security: [{
|
|
1665
|
-
key: "secretKey",
|
|
1666
|
-
scheme: "bearer",
|
|
1667
|
-
type: "http"
|
|
1668
|
-
}, {
|
|
1669
|
-
key: "frontendToken",
|
|
1670
|
-
scheme: "bearer",
|
|
1671
|
-
type: "http"
|
|
1672
|
-
}],
|
|
1673
|
-
url: "/google/{connection_id}/ad-groups/{id}/remove",
|
|
1674
|
-
...options,
|
|
1675
|
-
headers: {
|
|
1676
|
-
"Content-Type": "application/json",
|
|
1677
|
-
...options.headers
|
|
1678
|
-
}
|
|
1679
|
-
});
|
|
1680
|
-
var googlePauseAdGroup = (options) => (options.client ?? client).post({
|
|
1681
|
-
security: [{
|
|
1682
|
-
key: "secretKey",
|
|
1683
|
-
scheme: "bearer",
|
|
1684
|
-
type: "http"
|
|
1685
|
-
}, {
|
|
1686
|
-
key: "frontendToken",
|
|
1687
|
-
scheme: "bearer",
|
|
1688
|
-
type: "http"
|
|
1689
|
-
}],
|
|
1690
|
-
url: "/google/{connection_id}/ad-groups/{id}/pause",
|
|
1691
|
-
...options,
|
|
1692
|
-
headers: {
|
|
1693
|
-
"Content-Type": "application/json",
|
|
1694
|
-
...options.headers
|
|
1695
|
-
}
|
|
1696
|
-
});
|
|
1697
|
-
var googleEnableAdGroup = (options) => (options.client ?? client).post({
|
|
1698
|
-
security: [{
|
|
1699
|
-
key: "secretKey",
|
|
1700
|
-
scheme: "bearer",
|
|
1701
|
-
type: "http"
|
|
1702
|
-
}, {
|
|
1703
|
-
key: "frontendToken",
|
|
1704
|
-
scheme: "bearer",
|
|
1705
|
-
type: "http"
|
|
1706
|
-
}],
|
|
1707
|
-
url: "/google/{connection_id}/ad-groups/{id}/enable",
|
|
1708
|
-
...options,
|
|
1709
|
-
headers: {
|
|
1710
|
-
"Content-Type": "application/json",
|
|
1711
|
-
...options.headers
|
|
1712
|
-
}
|
|
1713
|
-
});
|
|
1714
|
-
var googleListAdGroupCriteria = (options) => (options.client ?? client).get({
|
|
1715
|
-
security: [{
|
|
1716
|
-
key: "secretKey",
|
|
1717
|
-
scheme: "bearer",
|
|
1718
|
-
type: "http"
|
|
1719
|
-
}, {
|
|
1720
|
-
key: "frontendToken",
|
|
1721
|
-
scheme: "bearer",
|
|
1722
|
-
type: "http"
|
|
1723
|
-
}],
|
|
1724
|
-
url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria",
|
|
1725
|
-
...options
|
|
1726
|
-
});
|
|
1727
|
-
var googleCreateAdGroupCriterion = (options) => (options.client ?? client).post({
|
|
1728
|
-
security: [{
|
|
1729
|
-
key: "secretKey",
|
|
1730
|
-
scheme: "bearer",
|
|
1731
|
-
type: "http"
|
|
1732
|
-
}, {
|
|
1733
|
-
key: "frontendToken",
|
|
1734
|
-
scheme: "bearer",
|
|
1735
|
-
type: "http"
|
|
1736
|
-
}],
|
|
1737
|
-
url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria",
|
|
1738
|
-
...options,
|
|
1739
|
-
headers: {
|
|
1740
|
-
"Content-Type": "application/json",
|
|
1741
|
-
...options.headers
|
|
1742
|
-
}
|
|
1743
|
-
});
|
|
1744
|
-
var googleRemoveAdGroupCriterion = (options) => (options.client ?? client).post({
|
|
1745
|
-
security: [{
|
|
1746
|
-
key: "secretKey",
|
|
1747
|
-
scheme: "bearer",
|
|
1748
|
-
type: "http"
|
|
1749
|
-
}, {
|
|
1750
|
-
key: "frontendToken",
|
|
1751
|
-
scheme: "bearer",
|
|
1752
|
-
type: "http"
|
|
1753
|
-
}],
|
|
1754
|
-
url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria/{criterion_id}/remove",
|
|
1755
|
-
...options,
|
|
1756
|
-
headers: {
|
|
1757
|
-
"Content-Type": "application/json",
|
|
1758
|
-
...options.headers
|
|
1759
|
-
}
|
|
1760
|
-
});
|
|
1761
|
-
var googleListAudiences = (options) => (options.client ?? client).get({
|
|
1762
|
-
security: [{
|
|
1763
|
-
key: "secretKey",
|
|
1764
|
-
scheme: "bearer",
|
|
1765
|
-
type: "http"
|
|
1766
|
-
}, {
|
|
1767
|
-
key: "frontendToken",
|
|
1768
|
-
scheme: "bearer",
|
|
1769
|
-
type: "http"
|
|
1770
|
-
}],
|
|
1771
|
-
url: "/google/{connection_id}/audiences",
|
|
1772
|
-
...options
|
|
1773
|
-
});
|
|
1774
|
-
var googleSetCampaignTargetingSetting = (options) => (options.client ?? client).patch({
|
|
1775
|
-
security: [{
|
|
1776
|
-
key: "secretKey",
|
|
1777
|
-
scheme: "bearer",
|
|
1778
|
-
type: "http"
|
|
1779
|
-
}, {
|
|
1780
|
-
key: "frontendToken",
|
|
1781
|
-
scheme: "bearer",
|
|
1782
|
-
type: "http"
|
|
1783
|
-
}],
|
|
1784
|
-
url: "/google/{connection_id}/campaigns/{campaign_id}/targeting-setting",
|
|
1785
|
-
...options,
|
|
1786
|
-
headers: {
|
|
1787
|
-
"Content-Type": "application/json",
|
|
1788
|
-
...options.headers
|
|
1789
|
-
}
|
|
1790
|
-
});
|
|
1791
|
-
var googleListAds = (options) => (options.client ?? client).get({
|
|
1792
|
-
security: [{
|
|
1793
|
-
key: "secretKey",
|
|
1794
|
-
scheme: "bearer",
|
|
1795
|
-
type: "http"
|
|
1796
|
-
}, {
|
|
1797
|
-
key: "frontendToken",
|
|
1798
|
-
scheme: "bearer",
|
|
1799
|
-
type: "http"
|
|
1800
|
-
}],
|
|
1801
|
-
url: "/google/{connection_id}/ads",
|
|
1802
|
-
...options
|
|
1803
|
-
});
|
|
1804
|
-
var googleCreateAd = (options) => (options.client ?? client).post({
|
|
1805
|
-
security: [{
|
|
1806
|
-
key: "secretKey",
|
|
1807
|
-
scheme: "bearer",
|
|
1808
|
-
type: "http"
|
|
1809
|
-
}, {
|
|
1810
|
-
key: "frontendToken",
|
|
1811
|
-
scheme: "bearer",
|
|
1812
|
-
type: "http"
|
|
1813
|
-
}],
|
|
1814
|
-
url: "/google/{connection_id}/ads",
|
|
1815
|
-
...options,
|
|
1816
|
-
headers: {
|
|
1817
|
-
"Content-Type": "application/json",
|
|
1818
|
-
...options.headers
|
|
1819
|
-
}
|
|
1820
|
-
});
|
|
1821
|
-
var googleGetAd = (options) => (options.client ?? client).get({
|
|
1822
|
-
security: [{
|
|
1823
|
-
key: "secretKey",
|
|
1824
|
-
scheme: "bearer",
|
|
1825
|
-
type: "http"
|
|
1826
|
-
}, {
|
|
1827
|
-
key: "frontendToken",
|
|
1828
|
-
scheme: "bearer",
|
|
1829
|
-
type: "http"
|
|
1830
|
-
}],
|
|
1831
|
-
url: "/google/{connection_id}/ads/{id}",
|
|
1832
|
-
...options
|
|
1833
|
-
});
|
|
1834
|
-
var googleEditAd = (options) => (options.client ?? client).patch({
|
|
1835
|
-
security: [{
|
|
1836
|
-
key: "secretKey",
|
|
1837
|
-
scheme: "bearer",
|
|
1838
|
-
type: "http"
|
|
1839
|
-
}, {
|
|
1840
|
-
key: "frontendToken",
|
|
1841
|
-
scheme: "bearer",
|
|
1842
|
-
type: "http"
|
|
1843
|
-
}],
|
|
1844
|
-
url: "/google/{connection_id}/ads/{id}",
|
|
1845
|
-
...options,
|
|
1846
|
-
headers: {
|
|
1847
|
-
"Content-Type": "application/json",
|
|
1848
|
-
...options.headers
|
|
1849
|
-
}
|
|
1850
|
-
});
|
|
1851
|
-
var googleCreateDisplayAd = (options) => (options.client ?? client).post({
|
|
1852
|
-
security: [{
|
|
1853
|
-
key: "secretKey",
|
|
1854
|
-
scheme: "bearer",
|
|
1855
|
-
type: "http"
|
|
1856
|
-
}, {
|
|
1857
|
-
key: "frontendToken",
|
|
1858
|
-
scheme: "bearer",
|
|
1859
|
-
type: "http"
|
|
1860
|
-
}],
|
|
1861
|
-
url: "/google/{connection_id}/display-ads",
|
|
1862
|
-
...options,
|
|
1863
|
-
headers: {
|
|
1864
|
-
"Content-Type": "application/json",
|
|
1865
|
-
...options.headers
|
|
1866
|
-
}
|
|
1867
|
-
});
|
|
1868
|
-
var googleEditDisplayAd = (options) => (options.client ?? client).patch({
|
|
1869
|
-
security: [{
|
|
1870
|
-
key: "secretKey",
|
|
1871
|
-
scheme: "bearer",
|
|
1872
|
-
type: "http"
|
|
1873
|
-
}, {
|
|
1874
|
-
key: "frontendToken",
|
|
1875
|
-
scheme: "bearer",
|
|
1876
|
-
type: "http"
|
|
1877
|
-
}],
|
|
1878
|
-
url: "/google/{connection_id}/display-ads/{id}",
|
|
1879
|
-
...options,
|
|
1880
|
-
headers: {
|
|
1881
|
-
"Content-Type": "application/json",
|
|
1882
|
-
...options.headers
|
|
1883
|
-
}
|
|
1884
|
-
});
|
|
1885
|
-
var googleRemoveAd = (options) => (options.client ?? client).post({
|
|
1886
|
-
security: [{
|
|
1887
|
-
key: "secretKey",
|
|
1888
|
-
scheme: "bearer",
|
|
1889
|
-
type: "http"
|
|
1890
|
-
}, {
|
|
1891
|
-
key: "frontendToken",
|
|
1892
|
-
scheme: "bearer",
|
|
1893
|
-
type: "http"
|
|
1894
|
-
}],
|
|
1895
|
-
url: "/google/{connection_id}/ads/{id}/remove",
|
|
1896
|
-
...options,
|
|
1897
|
-
headers: {
|
|
1898
|
-
"Content-Type": "application/json",
|
|
1899
|
-
...options.headers
|
|
1900
|
-
}
|
|
1901
|
-
});
|
|
1902
|
-
var googlePauseAd = (options) => (options.client ?? client).post({
|
|
1903
|
-
security: [{
|
|
1904
|
-
key: "secretKey",
|
|
1905
|
-
scheme: "bearer",
|
|
1906
|
-
type: "http"
|
|
1907
|
-
}, {
|
|
1908
|
-
key: "frontendToken",
|
|
1909
|
-
scheme: "bearer",
|
|
1910
|
-
type: "http"
|
|
1911
|
-
}],
|
|
1912
|
-
url: "/google/{connection_id}/ads/{id}/pause",
|
|
1913
|
-
...options,
|
|
1914
|
-
headers: {
|
|
1915
|
-
"Content-Type": "application/json",
|
|
1916
|
-
...options.headers
|
|
1917
|
-
}
|
|
1918
|
-
});
|
|
1919
|
-
var googleEnableAd = (options) => (options.client ?? client).post({
|
|
1920
|
-
security: [{
|
|
1921
|
-
key: "secretKey",
|
|
1922
|
-
scheme: "bearer",
|
|
1923
|
-
type: "http"
|
|
1924
|
-
}, {
|
|
1925
|
-
key: "frontendToken",
|
|
1926
|
-
scheme: "bearer",
|
|
1927
|
-
type: "http"
|
|
1928
|
-
}],
|
|
1929
|
-
url: "/google/{connection_id}/ads/{id}/enable",
|
|
1930
|
-
...options,
|
|
1931
|
-
headers: {
|
|
1932
|
-
"Content-Type": "application/json",
|
|
1933
|
-
...options.headers
|
|
1934
|
-
}
|
|
1935
|
-
});
|
|
1936
|
-
var googleListKeywords = (options) => (options.client ?? client).get({
|
|
1937
|
-
security: [{
|
|
1938
|
-
key: "secretKey",
|
|
1939
|
-
scheme: "bearer",
|
|
1940
|
-
type: "http"
|
|
1941
|
-
}, {
|
|
1942
|
-
key: "frontendToken",
|
|
1943
|
-
scheme: "bearer",
|
|
1944
|
-
type: "http"
|
|
1945
|
-
}],
|
|
1946
|
-
url: "/google/{connection_id}/keywords",
|
|
1947
|
-
...options
|
|
1948
|
-
});
|
|
1949
|
-
var googleCreateKeyword = (options) => (options.client ?? client).post({
|
|
1950
|
-
security: [{
|
|
1951
|
-
key: "secretKey",
|
|
1952
|
-
scheme: "bearer",
|
|
1953
|
-
type: "http"
|
|
1954
|
-
}, {
|
|
1955
|
-
key: "frontendToken",
|
|
1956
|
-
scheme: "bearer",
|
|
1957
|
-
type: "http"
|
|
1958
|
-
}],
|
|
1959
|
-
url: "/google/{connection_id}/keywords",
|
|
1960
|
-
...options,
|
|
1961
|
-
headers: {
|
|
1962
|
-
"Content-Type": "application/json",
|
|
1963
|
-
...options.headers
|
|
1964
|
-
}
|
|
1965
|
-
});
|
|
1966
|
-
var googleGetKeyword = (options) => (options.client ?? client).get({
|
|
1967
|
-
security: [{
|
|
1968
|
-
key: "secretKey",
|
|
1969
|
-
scheme: "bearer",
|
|
1970
|
-
type: "http"
|
|
1971
|
-
}, {
|
|
1972
|
-
key: "frontendToken",
|
|
1973
|
-
scheme: "bearer",
|
|
1974
|
-
type: "http"
|
|
1975
|
-
}],
|
|
1976
|
-
url: "/google/{connection_id}/keywords/{id}",
|
|
1977
|
-
...options
|
|
1978
|
-
});
|
|
1979
|
-
var googleSetKeywordBid = (options) => (options.client ?? client).patch({
|
|
1980
|
-
security: [{
|
|
1981
|
-
key: "secretKey",
|
|
1982
|
-
scheme: "bearer",
|
|
1983
|
-
type: "http"
|
|
1984
|
-
}],
|
|
1985
|
-
url: "/google/{connection_id}/keywords/{id}/bid",
|
|
1986
|
-
...options,
|
|
1987
|
-
headers: {
|
|
1988
|
-
"Content-Type": "application/json",
|
|
1989
|
-
...options.headers
|
|
1990
|
-
}
|
|
1991
|
-
});
|
|
1992
|
-
var googleRemoveKeyword = (options) => (options.client ?? client).post({
|
|
1993
|
-
security: [{
|
|
1994
|
-
key: "secretKey",
|
|
1995
|
-
scheme: "bearer",
|
|
1996
|
-
type: "http"
|
|
1997
|
-
}, {
|
|
1998
|
-
key: "frontendToken",
|
|
1999
|
-
scheme: "bearer",
|
|
2000
|
-
type: "http"
|
|
2001
|
-
}],
|
|
2002
|
-
url: "/google/{connection_id}/keywords/{id}/remove",
|
|
2003
|
-
...options,
|
|
2004
|
-
headers: {
|
|
2005
|
-
"Content-Type": "application/json",
|
|
2006
|
-
...options.headers
|
|
2007
|
-
}
|
|
2008
|
-
});
|
|
2009
|
-
var googlePauseKeyword = (options) => (options.client ?? client).post({
|
|
2010
|
-
security: [{
|
|
2011
|
-
key: "secretKey",
|
|
2012
|
-
scheme: "bearer",
|
|
2013
|
-
type: "http"
|
|
2014
|
-
}, {
|
|
2015
|
-
key: "frontendToken",
|
|
2016
|
-
scheme: "bearer",
|
|
2017
|
-
type: "http"
|
|
2018
|
-
}],
|
|
2019
|
-
url: "/google/{connection_id}/keywords/{id}/pause",
|
|
2020
|
-
...options,
|
|
2021
|
-
headers: {
|
|
2022
|
-
"Content-Type": "application/json",
|
|
2023
|
-
...options.headers
|
|
2024
|
-
}
|
|
2025
|
-
});
|
|
2026
|
-
var googleEnableKeyword = (options) => (options.client ?? client).post({
|
|
2027
|
-
security: [{
|
|
2028
|
-
key: "secretKey",
|
|
2029
|
-
scheme: "bearer",
|
|
2030
|
-
type: "http"
|
|
2031
|
-
}, {
|
|
2032
|
-
key: "frontendToken",
|
|
2033
|
-
scheme: "bearer",
|
|
2034
|
-
type: "http"
|
|
2035
|
-
}],
|
|
2036
|
-
url: "/google/{connection_id}/keywords/{id}/enable",
|
|
2037
|
-
...options,
|
|
2038
|
-
headers: {
|
|
2039
|
-
"Content-Type": "application/json",
|
|
2040
|
-
...options.headers
|
|
2041
|
-
}
|
|
2042
|
-
});
|
|
2043
|
-
var googleListConversionActions = (options) => (options.client ?? client).get({
|
|
2044
|
-
security: [{
|
|
2045
|
-
key: "secretKey",
|
|
2046
|
-
scheme: "bearer",
|
|
2047
|
-
type: "http"
|
|
2048
|
-
}, {
|
|
2049
|
-
key: "frontendToken",
|
|
2050
|
-
scheme: "bearer",
|
|
2051
|
-
type: "http"
|
|
2052
|
-
}],
|
|
2053
|
-
url: "/google/{connection_id}/conversion-actions",
|
|
2054
|
-
...options
|
|
2055
|
-
});
|
|
2056
|
-
var googleCreateConversionAction = (options) => (options.client ?? client).post({
|
|
2057
|
-
security: [{
|
|
2058
|
-
key: "secretKey",
|
|
2059
|
-
scheme: "bearer",
|
|
2060
|
-
type: "http"
|
|
2061
|
-
}, {
|
|
2062
|
-
key: "frontendToken",
|
|
2063
|
-
scheme: "bearer",
|
|
2064
|
-
type: "http"
|
|
2065
|
-
}],
|
|
2066
|
-
url: "/google/{connection_id}/conversion-actions",
|
|
2067
|
-
...options,
|
|
2068
|
-
headers: {
|
|
2069
|
-
"Content-Type": "application/json",
|
|
2070
|
-
...options.headers
|
|
2071
|
-
}
|
|
2072
|
-
});
|
|
2073
|
-
var googleGetConversionAction = (options) => (options.client ?? client).get({
|
|
2074
|
-
security: [{
|
|
2075
|
-
key: "secretKey",
|
|
2076
|
-
scheme: "bearer",
|
|
2077
|
-
type: "http"
|
|
2078
|
-
}, {
|
|
2079
|
-
key: "frontendToken",
|
|
2080
|
-
scheme: "bearer",
|
|
2081
|
-
type: "http"
|
|
2082
|
-
}],
|
|
2083
|
-
url: "/google/{connection_id}/conversion-actions/{id}",
|
|
2084
|
-
...options
|
|
2085
|
-
});
|
|
2086
|
-
var googleUpdateConversionAction = (options) => (options.client ?? client).patch({
|
|
2087
|
-
security: [{
|
|
2088
|
-
key: "secretKey",
|
|
2089
|
-
scheme: "bearer",
|
|
2090
|
-
type: "http"
|
|
2091
|
-
}, {
|
|
2092
|
-
key: "frontendToken",
|
|
2093
|
-
scheme: "bearer",
|
|
2094
|
-
type: "http"
|
|
2095
|
-
}],
|
|
2096
|
-
url: "/google/{connection_id}/conversion-actions/{id}",
|
|
2097
|
-
...options,
|
|
2098
|
-
headers: {
|
|
2099
|
-
"Content-Type": "application/json",
|
|
2100
|
-
...options.headers
|
|
2101
|
-
}
|
|
2102
|
-
});
|
|
2103
|
-
var googleRemoveConversionAction = (options) => (options.client ?? client).post({
|
|
2104
|
-
security: [{
|
|
2105
|
-
key: "secretKey",
|
|
2106
|
-
scheme: "bearer",
|
|
2107
|
-
type: "http"
|
|
2108
|
-
}, {
|
|
2109
|
-
key: "frontendToken",
|
|
2110
|
-
scheme: "bearer",
|
|
2111
|
-
type: "http"
|
|
2112
|
-
}],
|
|
2113
|
-
url: "/google/{connection_id}/conversion-actions/{id}/remove",
|
|
2114
|
-
...options,
|
|
2115
|
-
headers: {
|
|
2116
|
-
"Content-Type": "application/json",
|
|
2117
|
-
...options.headers
|
|
2118
|
-
}
|
|
2119
|
-
});
|
|
2120
|
-
var googleSendConversions = (options) => (options.client ?? client).post({
|
|
2121
|
-
security: [{
|
|
2122
|
-
key: "secretKey",
|
|
2123
|
-
scheme: "bearer",
|
|
2124
|
-
type: "http"
|
|
2125
|
-
}, {
|
|
2126
|
-
key: "frontendToken",
|
|
2127
|
-
scheme: "bearer",
|
|
2128
|
-
type: "http"
|
|
2129
|
-
}],
|
|
2130
|
-
url: "/google/{connection_id}/conversions:send",
|
|
2131
|
-
...options,
|
|
2132
|
-
headers: {
|
|
2133
|
-
"Content-Type": "application/json",
|
|
2134
|
-
...options.headers
|
|
2135
|
-
}
|
|
2136
|
-
});
|
|
2137
|
-
var googleGetConversionStatus = (options) => (options.client ?? client).get({
|
|
2138
|
-
security: [{
|
|
2139
|
-
key: "secretKey",
|
|
2140
|
-
scheme: "bearer",
|
|
2141
|
-
type: "http"
|
|
2142
|
-
}, {
|
|
2143
|
-
key: "frontendToken",
|
|
2144
|
-
scheme: "bearer",
|
|
2145
|
-
type: "http"
|
|
2146
|
-
}],
|
|
2147
|
-
url: "/google/{connection_id}/conversions/status",
|
|
2148
|
-
...options
|
|
2149
|
-
});
|
|
2150
|
-
var googleListConversionRequests = (options) => (options.client ?? client).get({
|
|
2151
|
-
security: [{
|
|
2152
|
-
key: "secretKey",
|
|
2153
|
-
scheme: "bearer",
|
|
2154
|
-
type: "http"
|
|
2155
|
-
}, {
|
|
2156
|
-
key: "frontendToken",
|
|
2157
|
-
scheme: "bearer",
|
|
2158
|
-
type: "http"
|
|
2159
|
-
}],
|
|
2160
|
-
url: "/google/{connection_id}/conversions",
|
|
2161
|
-
...options
|
|
2162
|
-
});
|
|
2163
|
-
var googleListConversionGoals = (options) => (options.client ?? client).get({
|
|
2164
|
-
security: [{
|
|
2165
|
-
key: "secretKey",
|
|
2166
|
-
scheme: "bearer",
|
|
2167
|
-
type: "http"
|
|
2168
|
-
}, {
|
|
2169
|
-
key: "frontendToken",
|
|
2170
|
-
scheme: "bearer",
|
|
2171
|
-
type: "http"
|
|
2172
|
-
}],
|
|
2173
|
-
url: "/google/{connection_id}/conversion-goals",
|
|
2174
|
-
...options
|
|
2175
|
-
});
|
|
2176
|
-
var googleSetConversionGoal = (options) => (options.client ?? client).post({
|
|
2177
|
-
security: [{
|
|
2178
|
-
key: "secretKey",
|
|
2179
|
-
scheme: "bearer",
|
|
2180
|
-
type: "http"
|
|
2181
|
-
}, {
|
|
2182
|
-
key: "frontendToken",
|
|
2183
|
-
scheme: "bearer",
|
|
2184
|
-
type: "http"
|
|
2185
|
-
}],
|
|
2186
|
-
url: "/google/{connection_id}/conversion-goals",
|
|
2187
|
-
...options,
|
|
2188
|
-
headers: {
|
|
2189
|
-
"Content-Type": "application/json",
|
|
2190
|
-
...options.headers
|
|
2191
|
-
}
|
|
2192
|
-
});
|
|
2193
|
-
var googleUploadImageAsset = (options) => (options.client ?? client).post({
|
|
2194
|
-
security: [{
|
|
2195
|
-
key: "secretKey",
|
|
2196
|
-
scheme: "bearer",
|
|
2197
|
-
type: "http"
|
|
2198
|
-
}, {
|
|
2199
|
-
key: "frontendToken",
|
|
2200
|
-
scheme: "bearer",
|
|
2201
|
-
type: "http"
|
|
2202
|
-
}],
|
|
2203
|
-
url: "/google/{connection_id}/assets/images",
|
|
2204
|
-
...options,
|
|
2205
|
-
headers: {
|
|
2206
|
-
"Content-Type": "application/json",
|
|
2207
|
-
...options.headers
|
|
2208
|
-
}
|
|
2209
|
-
});
|
|
2210
|
-
var googleUploadYoutubeVideoAsset = (options) => (options.client ?? client).post({
|
|
2211
|
-
security: [{
|
|
2212
|
-
key: "secretKey",
|
|
2213
|
-
scheme: "bearer",
|
|
2214
|
-
type: "http"
|
|
2215
|
-
}, {
|
|
2216
|
-
key: "frontendToken",
|
|
2217
|
-
scheme: "bearer",
|
|
2218
|
-
type: "http"
|
|
2219
|
-
}],
|
|
2220
|
-
url: "/google/{connection_id}/assets/youtube-video",
|
|
2221
|
-
...options,
|
|
2222
|
-
headers: {
|
|
2223
|
-
"Content-Type": "application/json",
|
|
2224
|
-
...options.headers
|
|
2225
|
-
}
|
|
2226
|
-
});
|
|
2227
|
-
var googleListAssetGroups = (options) => (options.client ?? client).get({
|
|
2228
|
-
security: [{
|
|
2229
|
-
key: "secretKey",
|
|
2230
|
-
scheme: "bearer",
|
|
2231
|
-
type: "http"
|
|
2232
|
-
}, {
|
|
2233
|
-
key: "frontendToken",
|
|
2234
|
-
scheme: "bearer",
|
|
2235
|
-
type: "http"
|
|
2236
|
-
}],
|
|
2237
|
-
url: "/google/{connection_id}/asset-groups",
|
|
2238
|
-
...options
|
|
2239
|
-
});
|
|
2240
|
-
var googleGetAssetGroup = (options) => (options.client ?? client).get({
|
|
2241
|
-
security: [{
|
|
2242
|
-
key: "secretKey",
|
|
2243
|
-
scheme: "bearer",
|
|
2244
|
-
type: "http"
|
|
2245
|
-
}, {
|
|
2246
|
-
key: "frontendToken",
|
|
2247
|
-
scheme: "bearer",
|
|
2248
|
-
type: "http"
|
|
2249
|
-
}],
|
|
2250
|
-
url: "/google/{connection_id}/asset-groups/{id}",
|
|
2251
|
-
...options
|
|
2252
|
-
});
|
|
2253
|
-
var googleEditAssetGroup = (options) => (options.client ?? client).patch({
|
|
2254
|
-
security: [{
|
|
2255
|
-
key: "secretKey",
|
|
2256
|
-
scheme: "bearer",
|
|
2257
|
-
type: "http"
|
|
2258
|
-
}, {
|
|
2259
|
-
key: "frontendToken",
|
|
2260
|
-
scheme: "bearer",
|
|
2261
|
-
type: "http"
|
|
2262
|
-
}],
|
|
2263
|
-
url: "/google/{connection_id}/asset-groups/{id}",
|
|
2264
|
-
...options,
|
|
2265
|
-
headers: {
|
|
2266
|
-
"Content-Type": "application/json",
|
|
2267
|
-
...options.headers
|
|
2268
|
-
}
|
|
2269
|
-
});
|
|
2270
|
-
var googleCreateAssetGroup = (options) => (options.client ?? client).post({
|
|
2271
|
-
security: [{
|
|
2272
|
-
key: "secretKey",
|
|
2273
|
-
scheme: "bearer",
|
|
2274
|
-
type: "http"
|
|
2275
|
-
}, {
|
|
2276
|
-
key: "frontendToken",
|
|
2277
|
-
scheme: "bearer",
|
|
2278
|
-
type: "http"
|
|
2279
|
-
}],
|
|
2280
|
-
url: "/google/{connection_id}/performance-max/{campaign_id}/asset-groups",
|
|
2281
|
-
...options,
|
|
2282
|
-
headers: {
|
|
2283
|
-
"Content-Type": "application/json",
|
|
2284
|
-
...options.headers
|
|
2285
|
-
}
|
|
2286
|
-
});
|
|
2287
|
-
var googlePauseAssetGroup = (options) => (options.client ?? client).post({
|
|
2288
|
-
security: [{
|
|
2289
|
-
key: "secretKey",
|
|
2290
|
-
scheme: "bearer",
|
|
2291
|
-
type: "http"
|
|
2292
|
-
}, {
|
|
2293
|
-
key: "frontendToken",
|
|
2294
|
-
scheme: "bearer",
|
|
2295
|
-
type: "http"
|
|
2296
|
-
}],
|
|
2297
|
-
url: "/google/{connection_id}/asset-groups/{id}/pause",
|
|
2298
|
-
...options,
|
|
2299
|
-
headers: {
|
|
2300
|
-
"Content-Type": "application/json",
|
|
2301
|
-
...options.headers
|
|
2302
|
-
}
|
|
2303
|
-
});
|
|
2304
|
-
var googleEnableAssetGroup = (options) => (options.client ?? client).post({
|
|
2305
|
-
security: [{
|
|
2306
|
-
key: "secretKey",
|
|
2307
|
-
scheme: "bearer",
|
|
2308
|
-
type: "http"
|
|
2309
|
-
}, {
|
|
2310
|
-
key: "frontendToken",
|
|
2311
|
-
scheme: "bearer",
|
|
2312
|
-
type: "http"
|
|
2313
|
-
}],
|
|
2314
|
-
url: "/google/{connection_id}/asset-groups/{id}/enable",
|
|
2315
|
-
...options,
|
|
2316
|
-
headers: {
|
|
2317
|
-
"Content-Type": "application/json",
|
|
2318
|
-
...options.headers
|
|
2319
|
-
}
|
|
2320
|
-
});
|
|
2321
|
-
var googleRemoveAssetGroup = (options) => (options.client ?? client).post({
|
|
2322
|
-
security: [{
|
|
2323
|
-
key: "secretKey",
|
|
2324
|
-
scheme: "bearer",
|
|
2325
|
-
type: "http"
|
|
2326
|
-
}, {
|
|
2327
|
-
key: "frontendToken",
|
|
2328
|
-
scheme: "bearer",
|
|
2329
|
-
type: "http"
|
|
2330
|
-
}],
|
|
2331
|
-
url: "/google/{connection_id}/asset-groups/{id}/remove",
|
|
2332
|
-
...options,
|
|
2333
|
-
headers: {
|
|
2334
|
-
"Content-Type": "application/json",
|
|
2335
|
-
...options.headers
|
|
2336
|
-
}
|
|
2337
|
-
});
|
|
2338
|
-
var googleListAssetGroupAssets = (options) => (options.client ?? client).get({
|
|
2339
|
-
security: [{
|
|
2340
|
-
key: "secretKey",
|
|
2341
|
-
scheme: "bearer",
|
|
2342
|
-
type: "http"
|
|
2343
|
-
}, {
|
|
2344
|
-
key: "frontendToken",
|
|
2345
|
-
scheme: "bearer",
|
|
2346
|
-
type: "http"
|
|
2347
|
-
}],
|
|
2348
|
-
url: "/google/{connection_id}/asset-groups/{asset_group_id}/assets",
|
|
2349
|
-
...options
|
|
2350
|
-
});
|
|
2351
|
-
var googleAttachAssetGroupAsset = (options) => (options.client ?? client).post({
|
|
2352
|
-
security: [{
|
|
2353
|
-
key: "secretKey",
|
|
2354
|
-
scheme: "bearer",
|
|
2355
|
-
type: "http"
|
|
2356
|
-
}, {
|
|
2357
|
-
key: "frontendToken",
|
|
2358
|
-
scheme: "bearer",
|
|
2359
|
-
type: "http"
|
|
2360
|
-
}],
|
|
2361
|
-
url: "/google/{connection_id}/asset-groups/{asset_group_id}/assets",
|
|
2362
|
-
...options,
|
|
2363
|
-
headers: {
|
|
2364
|
-
"Content-Type": "application/json",
|
|
2365
|
-
...options.headers
|
|
2366
|
-
}
|
|
2367
|
-
});
|
|
2368
|
-
var googleRemoveAssetGroupAsset = (options) => (options.client ?? client).post({
|
|
2369
|
-
security: [{
|
|
2370
|
-
key: "secretKey",
|
|
2371
|
-
scheme: "bearer",
|
|
2372
|
-
type: "http"
|
|
2373
|
-
}, {
|
|
2374
|
-
key: "frontendToken",
|
|
2375
|
-
scheme: "bearer",
|
|
2376
|
-
type: "http"
|
|
2377
|
-
}],
|
|
2378
|
-
url: "/google/{connection_id}/asset-groups/{asset_group_id}/assets/{id}/remove",
|
|
2379
|
-
...options,
|
|
2380
|
-
headers: {
|
|
2381
|
-
"Content-Type": "application/json",
|
|
2382
|
-
...options.headers
|
|
2383
|
-
}
|
|
2384
|
-
});
|
|
2385
|
-
var googleListAssetGroupSignals = (options) => (options.client ?? client).get({
|
|
2386
|
-
security: [{
|
|
2387
|
-
key: "secretKey",
|
|
2388
|
-
scheme: "bearer",
|
|
2389
|
-
type: "http"
|
|
2390
|
-
}, {
|
|
2391
|
-
key: "frontendToken",
|
|
2392
|
-
scheme: "bearer",
|
|
2393
|
-
type: "http"
|
|
2394
|
-
}],
|
|
2395
|
-
url: "/google/{connection_id}/asset-groups/{asset_group_id}/signals",
|
|
2396
|
-
...options
|
|
2397
|
-
});
|
|
2398
|
-
var googleCreateAssetGroupSignal = (options) => (options.client ?? client).post({
|
|
2399
|
-
security: [{
|
|
2400
|
-
key: "secretKey",
|
|
2401
|
-
scheme: "bearer",
|
|
2402
|
-
type: "http"
|
|
2403
|
-
}, {
|
|
2404
|
-
key: "frontendToken",
|
|
2405
|
-
scheme: "bearer",
|
|
2406
|
-
type: "http"
|
|
2407
|
-
}],
|
|
2408
|
-
url: "/google/{connection_id}/asset-groups/{asset_group_id}/signals",
|
|
2409
|
-
...options,
|
|
2410
|
-
headers: {
|
|
2411
|
-
"Content-Type": "application/json",
|
|
2412
|
-
...options.headers
|
|
2413
|
-
}
|
|
2414
|
-
});
|
|
2415
|
-
var googleRemoveAssetGroupSignal = (options) => (options.client ?? client).post({
|
|
2416
|
-
security: [{
|
|
2417
|
-
key: "secretKey",
|
|
2418
|
-
scheme: "bearer",
|
|
2419
|
-
type: "http"
|
|
2420
|
-
}, {
|
|
2421
|
-
key: "frontendToken",
|
|
2422
|
-
scheme: "bearer",
|
|
2423
|
-
type: "http"
|
|
2424
|
-
}],
|
|
2425
|
-
url: "/google/{connection_id}/asset-groups/{asset_group_id}/signals/{id}/remove",
|
|
2426
|
-
...options,
|
|
2427
|
-
headers: {
|
|
2428
|
-
"Content-Type": "application/json",
|
|
2429
|
-
...options.headers
|
|
2430
|
-
}
|
|
2431
|
-
});
|
|
2432
|
-
var googleCreatePerformanceMax = (options) => (options.client ?? client).post({
|
|
2433
|
-
security: [{
|
|
2434
|
-
key: "secretKey",
|
|
2435
|
-
scheme: "bearer",
|
|
2436
|
-
type: "http"
|
|
2437
|
-
}],
|
|
2438
|
-
url: "/google/{connection_id}/performance-max",
|
|
2439
|
-
...options,
|
|
2440
|
-
headers: {
|
|
2441
|
-
"Content-Type": "application/json",
|
|
2442
|
-
...options.headers
|
|
2443
|
-
}
|
|
2444
|
-
});
|
|
2445
|
-
var tiktokCreatorInfo = (options) => (options.client ?? client).get({
|
|
2446
|
-
security: [{
|
|
2447
|
-
key: "secretKey",
|
|
2448
|
-
scheme: "bearer",
|
|
2449
|
-
type: "http"
|
|
2450
|
-
}, {
|
|
2451
|
-
key: "frontendToken",
|
|
2452
|
-
scheme: "bearer",
|
|
2453
|
-
type: "http"
|
|
2454
|
-
}],
|
|
2455
|
-
url: "/connections/{id}/tiktok/creator-info",
|
|
2456
|
-
...options
|
|
2457
|
-
});
|
|
2458
|
-
var tiktokAdsListAdvertisers = (options) => (options.client ?? client).get({
|
|
2459
|
-
security: [{
|
|
2460
|
-
key: "secretKey",
|
|
2461
|
-
scheme: "bearer",
|
|
2462
|
-
type: "http"
|
|
2463
|
-
}, {
|
|
2464
|
-
key: "frontendToken",
|
|
2465
|
-
scheme: "bearer",
|
|
2466
|
-
type: "http"
|
|
2467
|
-
}],
|
|
2468
|
-
url: "/tiktok/{connection_id}/advertisers",
|
|
2469
|
-
...options
|
|
2470
|
-
});
|
|
2471
|
-
var tiktokAdsListBusinessCenters = (options) => (options.client ?? client).get({
|
|
2472
|
-
security: [{
|
|
2473
|
-
key: "secretKey",
|
|
2474
|
-
scheme: "bearer",
|
|
2475
|
-
type: "http"
|
|
2476
|
-
}, {
|
|
2477
|
-
key: "frontendToken",
|
|
2478
|
-
scheme: "bearer",
|
|
2479
|
-
type: "http"
|
|
2480
|
-
}],
|
|
2481
|
-
url: "/tiktok/{connection_id}/business-centers",
|
|
2482
|
-
...options
|
|
2483
|
-
});
|
|
2484
|
-
var tiktokAdsListCampaigns = (options) => (options.client ?? client).get({
|
|
2485
|
-
security: [{
|
|
2486
|
-
key: "secretKey",
|
|
2487
|
-
scheme: "bearer",
|
|
2488
|
-
type: "http"
|
|
2489
|
-
}, {
|
|
2490
|
-
key: "frontendToken",
|
|
2491
|
-
scheme: "bearer",
|
|
2492
|
-
type: "http"
|
|
2493
|
-
}],
|
|
2494
|
-
url: "/tiktok/{connection_id}/campaigns",
|
|
2495
|
-
...options
|
|
2496
|
-
});
|
|
2497
|
-
var tiktokAdsCreateCampaign = (options) => (options.client ?? client).post({
|
|
2498
|
-
security: [{
|
|
2499
|
-
key: "secretKey",
|
|
2500
|
-
scheme: "bearer",
|
|
2501
|
-
type: "http"
|
|
2502
|
-
}],
|
|
2503
|
-
url: "/tiktok/{connection_id}/campaigns",
|
|
2504
|
-
...options,
|
|
2505
|
-
headers: {
|
|
2506
|
-
"Content-Type": "application/json",
|
|
2507
|
-
...options.headers
|
|
2508
|
-
}
|
|
2509
|
-
});
|
|
2510
|
-
var tiktokAdsUpdateCampaignStatus = (options) => (options.client ?? client).post({
|
|
2511
|
-
security: [{
|
|
2512
|
-
key: "secretKey",
|
|
2513
|
-
scheme: "bearer",
|
|
2514
|
-
type: "http"
|
|
2515
|
-
}, {
|
|
2516
|
-
key: "frontendToken",
|
|
2517
|
-
scheme: "bearer",
|
|
2518
|
-
type: "http"
|
|
2519
|
-
}],
|
|
2520
|
-
url: "/tiktok/{connection_id}/campaigns/{campaign_id}/status",
|
|
2521
|
-
...options,
|
|
2522
|
-
headers: {
|
|
2523
|
-
"Content-Type": "application/json",
|
|
2524
|
-
...options.headers
|
|
2525
|
-
}
|
|
2526
|
-
});
|
|
2527
|
-
var tiktokAdsUpdateCampaignBudget = (options) => (options.client ?? client).post({
|
|
2528
|
-
security: [{
|
|
2529
|
-
key: "secretKey",
|
|
2530
|
-
scheme: "bearer",
|
|
2531
|
-
type: "http"
|
|
2532
|
-
}],
|
|
2533
|
-
url: "/tiktok/{connection_id}/campaigns/{campaign_id}/budget",
|
|
2534
|
-
...options,
|
|
2535
|
-
headers: {
|
|
2536
|
-
"Content-Type": "application/json",
|
|
2537
|
-
...options.headers
|
|
2538
|
-
}
|
|
2539
|
-
});
|
|
2540
|
-
var tiktokAdsRemoveCampaign = (options) => (options.client ?? client).post({
|
|
2541
|
-
security: [{
|
|
2542
|
-
key: "secretKey",
|
|
2543
|
-
scheme: "bearer",
|
|
2544
|
-
type: "http"
|
|
2545
|
-
}, {
|
|
2546
|
-
key: "frontendToken",
|
|
2547
|
-
scheme: "bearer",
|
|
2548
|
-
type: "http"
|
|
2549
|
-
}],
|
|
2550
|
-
url: "/tiktok/{connection_id}/campaigns/{campaign_id}/remove",
|
|
2551
|
-
...options
|
|
2552
|
-
});
|
|
2553
|
-
var tiktokAdsListAdGroups = (options) => (options.client ?? client).get({
|
|
2554
|
-
security: [{
|
|
2555
|
-
key: "secretKey",
|
|
2556
|
-
scheme: "bearer",
|
|
2557
|
-
type: "http"
|
|
2558
|
-
}, {
|
|
2559
|
-
key: "frontendToken",
|
|
2560
|
-
scheme: "bearer",
|
|
2561
|
-
type: "http"
|
|
2562
|
-
}],
|
|
2563
|
-
url: "/tiktok/{connection_id}/ad-groups",
|
|
2564
|
-
...options
|
|
2565
|
-
});
|
|
2566
|
-
var tiktokAdsCreateAdGroup = (options) => (options.client ?? client).post({
|
|
2567
|
-
security: [{
|
|
2568
|
-
key: "secretKey",
|
|
2569
|
-
scheme: "bearer",
|
|
2570
|
-
type: "http"
|
|
2571
|
-
}],
|
|
2572
|
-
url: "/tiktok/{connection_id}/ad-groups",
|
|
2573
|
-
...options,
|
|
2574
|
-
headers: {
|
|
2575
|
-
"Content-Type": "application/json",
|
|
2576
|
-
...options.headers
|
|
2577
|
-
}
|
|
2578
|
-
});
|
|
2579
|
-
var tiktokAdsUpdateAdGroupStatus = (options) => (options.client ?? client).post({
|
|
2580
|
-
security: [{
|
|
2581
|
-
key: "secretKey",
|
|
2582
|
-
scheme: "bearer",
|
|
2583
|
-
type: "http"
|
|
2584
|
-
}, {
|
|
2585
|
-
key: "frontendToken",
|
|
2586
|
-
scheme: "bearer",
|
|
2587
|
-
type: "http"
|
|
2588
|
-
}],
|
|
2589
|
-
url: "/tiktok/{connection_id}/ad-groups/{adgroup_id}/status",
|
|
2590
|
-
...options,
|
|
2591
|
-
headers: {
|
|
2592
|
-
"Content-Type": "application/json",
|
|
2593
|
-
...options.headers
|
|
2594
|
-
}
|
|
2595
|
-
});
|
|
2596
|
-
var tiktokAdsUpdateAdGroupBudget = (options) => (options.client ?? client).post({
|
|
2597
|
-
security: [{
|
|
2598
|
-
key: "secretKey",
|
|
2599
|
-
scheme: "bearer",
|
|
2600
|
-
type: "http"
|
|
2601
|
-
}],
|
|
2602
|
-
url: "/tiktok/{connection_id}/ad-groups/{adgroup_id}/budget",
|
|
2603
|
-
...options,
|
|
2604
|
-
headers: {
|
|
2605
|
-
"Content-Type": "application/json",
|
|
2606
|
-
...options.headers
|
|
2607
|
-
}
|
|
2608
|
-
});
|
|
2609
|
-
var tiktokAdsRemoveAdGroup = (options) => (options.client ?? client).post({
|
|
2610
|
-
security: [{
|
|
2611
|
-
key: "secretKey",
|
|
2612
|
-
scheme: "bearer",
|
|
2613
|
-
type: "http"
|
|
2614
|
-
}, {
|
|
2615
|
-
key: "frontendToken",
|
|
2616
|
-
scheme: "bearer",
|
|
2617
|
-
type: "http"
|
|
2618
|
-
}],
|
|
2619
|
-
url: "/tiktok/{connection_id}/ad-groups/{adgroup_id}/remove",
|
|
2620
|
-
...options
|
|
2621
|
-
});
|
|
2622
|
-
var tiktokAdsListAds = (options) => (options.client ?? client).get({
|
|
2623
|
-
security: [{
|
|
2624
|
-
key: "secretKey",
|
|
2625
|
-
scheme: "bearer",
|
|
2626
|
-
type: "http"
|
|
2627
|
-
}, {
|
|
2628
|
-
key: "frontendToken",
|
|
2629
|
-
scheme: "bearer",
|
|
2630
|
-
type: "http"
|
|
2631
|
-
}],
|
|
2632
|
-
url: "/tiktok/{connection_id}/ads",
|
|
2633
|
-
...options
|
|
2634
|
-
});
|
|
2635
|
-
var tiktokAdsCreateAd = (options) => (options.client ?? client).post({
|
|
2636
|
-
security: [{
|
|
2637
|
-
key: "secretKey",
|
|
2638
|
-
scheme: "bearer",
|
|
2639
|
-
type: "http"
|
|
2640
|
-
}, {
|
|
2641
|
-
key: "frontendToken",
|
|
2642
|
-
scheme: "bearer",
|
|
2643
|
-
type: "http"
|
|
2644
|
-
}],
|
|
2645
|
-
url: "/tiktok/{connection_id}/ads",
|
|
2646
|
-
...options,
|
|
2647
|
-
headers: {
|
|
2648
|
-
"Content-Type": "application/json",
|
|
2649
|
-
...options.headers
|
|
2650
|
-
}
|
|
2651
|
-
});
|
|
2652
|
-
var tiktokAdsUpdateAdStatus = (options) => (options.client ?? client).post({
|
|
2653
|
-
security: [{
|
|
2654
|
-
key: "secretKey",
|
|
2655
|
-
scheme: "bearer",
|
|
2656
|
-
type: "http"
|
|
2657
|
-
}, {
|
|
2658
|
-
key: "frontendToken",
|
|
2659
|
-
scheme: "bearer",
|
|
2660
|
-
type: "http"
|
|
2661
|
-
}],
|
|
2662
|
-
url: "/tiktok/{connection_id}/ads/{ad_id}/status",
|
|
2663
|
-
...options,
|
|
2664
|
-
headers: {
|
|
2665
|
-
"Content-Type": "application/json",
|
|
2666
|
-
...options.headers
|
|
2667
|
-
}
|
|
2668
|
-
});
|
|
2669
|
-
var tiktokAdsRemoveAd = (options) => (options.client ?? client).post({
|
|
2670
|
-
security: [{
|
|
2671
|
-
key: "secretKey",
|
|
2672
|
-
scheme: "bearer",
|
|
2673
|
-
type: "http"
|
|
2674
|
-
}, {
|
|
2675
|
-
key: "frontendToken",
|
|
2676
|
-
scheme: "bearer",
|
|
2677
|
-
type: "http"
|
|
2678
|
-
}],
|
|
2679
|
-
url: "/tiktok/{connection_id}/ads/{ad_id}/remove",
|
|
2680
|
-
...options
|
|
2681
|
-
});
|
|
2682
|
-
var tiktokAdsGetInsights = (options) => (options.client ?? client).post({
|
|
2683
|
-
security: [{
|
|
2684
|
-
key: "secretKey",
|
|
2685
|
-
scheme: "bearer",
|
|
2686
|
-
type: "http"
|
|
2687
|
-
}, {
|
|
2688
|
-
key: "frontendToken",
|
|
2689
|
-
scheme: "bearer",
|
|
2690
|
-
type: "http"
|
|
2691
|
-
}],
|
|
2692
|
-
url: "/tiktok/{connection_id}/insights",
|
|
2693
|
-
...options,
|
|
2694
|
-
headers: {
|
|
2695
|
-
"Content-Type": "application/json",
|
|
2696
|
-
...options.headers
|
|
2697
|
-
}
|
|
2698
|
-
});
|
|
2699
|
-
var tiktokAdsGetAdTree = (options) => (options.client ?? client).get({
|
|
2700
|
-
security: [{
|
|
2701
|
-
key: "secretKey",
|
|
2702
|
-
scheme: "bearer",
|
|
2703
|
-
type: "http"
|
|
2704
|
-
}, {
|
|
2705
|
-
key: "frontendToken",
|
|
2706
|
-
scheme: "bearer",
|
|
2707
|
-
type: "http"
|
|
2708
|
-
}],
|
|
2709
|
-
url: "/tiktok/{connection_id}/ads/tree",
|
|
2710
|
-
...options
|
|
2711
|
-
});
|
|
2712
|
-
var tiktokAdsListIdentities = (options) => (options.client ?? client).get({
|
|
2713
|
-
security: [{
|
|
2714
|
-
key: "secretKey",
|
|
2715
|
-
scheme: "bearer",
|
|
2716
|
-
type: "http"
|
|
2717
|
-
}, {
|
|
2718
|
-
key: "frontendToken",
|
|
2719
|
-
scheme: "bearer",
|
|
2720
|
-
type: "http"
|
|
2721
|
-
}],
|
|
2722
|
-
url: "/tiktok/{connection_id}/identities",
|
|
2723
|
-
...options
|
|
2724
|
-
});
|
|
2725
|
-
var tiktokAdsCreateIdentity = (options) => (options.client ?? client).post({
|
|
2726
|
-
security: [{
|
|
2727
|
-
key: "secretKey",
|
|
2728
|
-
scheme: "bearer",
|
|
2729
|
-
type: "http"
|
|
2730
|
-
}, {
|
|
2731
|
-
key: "frontendToken",
|
|
2732
|
-
scheme: "bearer",
|
|
2733
|
-
type: "http"
|
|
2734
|
-
}],
|
|
2735
|
-
url: "/tiktok/{connection_id}/identities",
|
|
2736
|
-
...options,
|
|
2737
|
-
headers: {
|
|
2738
|
-
"Content-Type": "application/json",
|
|
2739
|
-
...options.headers
|
|
2740
|
-
}
|
|
2741
|
-
});
|
|
2742
|
-
var logsList = (options) => (options?.client ?? client).get({
|
|
2743
|
-
security: [{
|
|
2744
|
-
key: "secretKey",
|
|
2745
|
-
scheme: "bearer",
|
|
2746
|
-
type: "http"
|
|
2747
|
-
}],
|
|
2748
|
-
url: "/logs",
|
|
2749
|
-
...options
|
|
2750
|
-
});
|
|
2751
|
-
var logsGet = (options) => (options.client ?? client).get({
|
|
2752
|
-
security: [{
|
|
2753
|
-
key: "secretKey",
|
|
2754
|
-
scheme: "bearer",
|
|
2755
|
-
type: "http"
|
|
2756
|
-
}],
|
|
2757
|
-
url: "/logs/{id}",
|
|
2758
|
-
...options
|
|
2759
|
-
});
|
|
2760
|
-
var webhooksListEndpoints = (options) => (options?.client ?? client).get({
|
|
2761
|
-
security: [{
|
|
2762
|
-
key: "secretKey",
|
|
2763
|
-
scheme: "bearer",
|
|
2764
|
-
type: "http"
|
|
2765
|
-
}],
|
|
2766
|
-
url: "/webhooks/endpoints",
|
|
2767
|
-
...options
|
|
2768
|
-
});
|
|
2769
|
-
var webhooksCreateEndpoint = (options) => (options.client ?? client).post({
|
|
2770
|
-
security: [{
|
|
2771
|
-
key: "secretKey",
|
|
2772
|
-
scheme: "bearer",
|
|
2773
|
-
type: "http"
|
|
2774
|
-
}],
|
|
2775
|
-
url: "/webhooks/endpoints",
|
|
2776
|
-
...options,
|
|
2777
|
-
headers: {
|
|
2778
|
-
"Content-Type": "application/json",
|
|
2779
|
-
...options.headers
|
|
2780
|
-
}
|
|
2781
|
-
});
|
|
2782
|
-
var webhooksDeleteEndpoint = (options) => (options.client ?? client).delete({
|
|
2783
|
-
security: [{
|
|
2784
|
-
key: "secretKey",
|
|
2785
|
-
scheme: "bearer",
|
|
2786
|
-
type: "http"
|
|
2787
|
-
}],
|
|
2788
|
-
url: "/webhooks/endpoints/{id}",
|
|
2789
|
-
...options
|
|
2790
|
-
});
|
|
2791
|
-
var webhooksGetEndpoint = (options) => (options.client ?? client).get({
|
|
2792
|
-
security: [{
|
|
2793
|
-
key: "secretKey",
|
|
2794
|
-
scheme: "bearer",
|
|
2795
|
-
type: "http"
|
|
2796
|
-
}],
|
|
2797
|
-
url: "/webhooks/endpoints/{id}",
|
|
2798
|
-
...options
|
|
2799
|
-
});
|
|
2800
|
-
var webhooksUpdateEndpoint = (options) => (options.client ?? client).patch({
|
|
2801
|
-
security: [{
|
|
2802
|
-
key: "secretKey",
|
|
2803
|
-
scheme: "bearer",
|
|
2804
|
-
type: "http"
|
|
2805
|
-
}],
|
|
2806
|
-
url: "/webhooks/endpoints/{id}",
|
|
2807
|
-
...options,
|
|
2808
|
-
headers: {
|
|
2809
|
-
"Content-Type": "application/json",
|
|
2810
|
-
...options.headers
|
|
2811
|
-
}
|
|
2812
|
-
});
|
|
2813
|
-
var webhooksCreatePortal = (options) => (options?.client ?? client).post({
|
|
2814
|
-
security: [{
|
|
2815
|
-
key: "secretKey",
|
|
2816
|
-
scheme: "bearer",
|
|
2817
|
-
type: "http"
|
|
2818
|
-
}],
|
|
2819
|
-
url: "/webhooks/portal",
|
|
2820
|
-
...options
|
|
2821
|
-
});
|
|
2822
|
-
var webhooksListEventTypes = (options) => (options?.client ?? client).get({
|
|
2823
|
-
security: [{
|
|
2824
|
-
key: "secretKey",
|
|
2825
|
-
scheme: "bearer",
|
|
2826
|
-
type: "http"
|
|
2827
|
-
}],
|
|
2828
|
-
url: "/webhooks/event-types",
|
|
2829
|
-
...options
|
|
2830
|
-
});
|
|
2831
|
-
var webhooksPing = (options) => (options.client ?? client).post({
|
|
2832
|
-
security: [{
|
|
2833
|
-
key: "secretKey",
|
|
2834
|
-
scheme: "bearer",
|
|
2835
|
-
type: "http"
|
|
2836
|
-
}],
|
|
2837
|
-
url: "/webhooks/ping",
|
|
2838
|
-
...options,
|
|
2839
|
-
headers: {
|
|
2840
|
-
"Content-Type": "application/json",
|
|
2841
|
-
...options.headers
|
|
2842
|
-
}
|
|
2843
|
-
});
|
|
2844
|
-
var tokensMint = (options) => (options.client ?? client).post({
|
|
2845
|
-
security: [{
|
|
2846
|
-
key: "secretKey",
|
|
2847
|
-
scheme: "bearer",
|
|
2848
|
-
type: "http"
|
|
2849
|
-
}],
|
|
2850
|
-
url: "/tokens",
|
|
2851
|
-
...options,
|
|
2852
|
-
headers: {
|
|
2853
|
-
"Content-Type": "application/json",
|
|
2854
|
-
...options.headers
|
|
2855
|
-
}
|
|
2856
|
-
});
|
|
2857
|
-
|
|
2858
|
-
// src/client/@tanstack/react-query.gen.ts
|
|
2859
|
-
var createQueryKey = (id, options, infinite, tags) => {
|
|
2860
|
-
const params = { _id: id, baseUrl: options?.baseUrl || (options?.client ?? client).getConfig().baseUrl };
|
|
2861
|
-
if (infinite) {
|
|
2862
|
-
params._infinite = infinite;
|
|
2863
|
-
}
|
|
2864
|
-
if (options?.body) {
|
|
2865
|
-
params.body = options.body;
|
|
2866
|
-
}
|
|
2867
|
-
if (options?.headers) {
|
|
2868
|
-
params.headers = options.headers;
|
|
2869
|
-
}
|
|
2870
|
-
if (options?.path) {
|
|
2871
|
-
params.path = options.path;
|
|
2872
|
-
}
|
|
2873
|
-
if (options?.query) {
|
|
2874
|
-
params.query = options.query;
|
|
2875
|
-
}
|
|
2876
|
-
return [params];
|
|
2877
|
-
};
|
|
2878
|
-
var profilesListQueryKey = (options) => createQueryKey("profilesList", options);
|
|
2879
|
-
var profilesListOptions = (options) => reactQuery.queryOptions({
|
|
2880
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
2881
|
-
const { data } = await profilesList({
|
|
2882
|
-
...options,
|
|
2883
|
-
...queryKey[0],
|
|
2884
|
-
signal,
|
|
2885
|
-
throwOnError: true
|
|
2886
|
-
});
|
|
2887
|
-
return data;
|
|
2888
|
-
},
|
|
2889
|
-
queryKey: profilesListQueryKey(options)
|
|
2890
|
-
});
|
|
2891
|
-
var createInfiniteParams = (queryKey, page) => {
|
|
2892
|
-
const params = { ...queryKey[0] };
|
|
2893
|
-
if (page.body) {
|
|
2894
|
-
params.body = {
|
|
2895
|
-
...queryKey[0].body,
|
|
2896
|
-
...page.body
|
|
2897
|
-
};
|
|
2898
|
-
}
|
|
2899
|
-
if (page.headers) {
|
|
2900
|
-
params.headers = {
|
|
2901
|
-
...queryKey[0].headers,
|
|
2902
|
-
...page.headers
|
|
2903
|
-
};
|
|
2904
|
-
}
|
|
2905
|
-
if (page.path) {
|
|
2906
|
-
params.path = {
|
|
2907
|
-
...queryKey[0].path,
|
|
2908
|
-
...page.path
|
|
2909
|
-
};
|
|
2910
|
-
}
|
|
2911
|
-
if (page.query) {
|
|
2912
|
-
params.query = {
|
|
2913
|
-
...queryKey[0].query,
|
|
2914
|
-
...page.query
|
|
2915
|
-
};
|
|
2916
|
-
}
|
|
2917
|
-
return params;
|
|
2918
|
-
};
|
|
2919
|
-
var profilesListInfiniteQueryKey = (options) => createQueryKey("profilesList", options, true);
|
|
2920
|
-
var profilesListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
2921
|
-
// @ts-ignore
|
|
2922
|
-
{
|
|
2923
|
-
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
2924
|
-
const page = typeof pageParam === "object" ? pageParam : {
|
|
2925
|
-
query: {
|
|
2926
|
-
offset: pageParam
|
|
2927
|
-
}
|
|
2928
|
-
};
|
|
2929
|
-
const params = createInfiniteParams(queryKey, page);
|
|
2930
|
-
const { data } = await profilesList({
|
|
2931
|
-
...options,
|
|
2932
|
-
...params,
|
|
2933
|
-
signal,
|
|
2934
|
-
throwOnError: true
|
|
2935
|
-
});
|
|
2936
|
-
return data;
|
|
2937
|
-
},
|
|
2938
|
-
queryKey: profilesListInfiniteQueryKey(options)
|
|
2939
|
-
}
|
|
2940
|
-
);
|
|
2941
|
-
var profilesCreateMutation = (options) => {
|
|
2942
|
-
const mutationOptions = {
|
|
2943
|
-
mutationFn: async (fnOptions) => {
|
|
2944
|
-
const { data } = await profilesCreate({
|
|
2945
|
-
...options,
|
|
2946
|
-
...fnOptions,
|
|
2947
|
-
throwOnError: true
|
|
2948
|
-
});
|
|
2949
|
-
return data;
|
|
2950
|
-
}
|
|
2951
|
-
};
|
|
2952
|
-
return mutationOptions;
|
|
2953
|
-
};
|
|
2954
|
-
var profilesDeleteMutation = (options) => {
|
|
2955
|
-
const mutationOptions = {
|
|
2956
|
-
mutationFn: async (fnOptions) => {
|
|
2957
|
-
const { data } = await profilesDelete({
|
|
2958
|
-
...options,
|
|
2959
|
-
...fnOptions,
|
|
2960
|
-
throwOnError: true
|
|
2961
|
-
});
|
|
2962
|
-
return data;
|
|
2963
|
-
}
|
|
2964
|
-
};
|
|
2965
|
-
return mutationOptions;
|
|
2966
|
-
};
|
|
2967
|
-
var profilesGetQueryKey = (options) => createQueryKey("profilesGet", options);
|
|
2968
|
-
var profilesGetOptions = (options) => reactQuery.queryOptions({
|
|
2969
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
2970
|
-
const { data } = await profilesGet({
|
|
2971
|
-
...options,
|
|
2972
|
-
...queryKey[0],
|
|
2973
|
-
signal,
|
|
2974
|
-
throwOnError: true
|
|
2975
|
-
});
|
|
2976
|
-
return data;
|
|
2977
|
-
},
|
|
2978
|
-
queryKey: profilesGetQueryKey(options)
|
|
2979
|
-
});
|
|
2980
|
-
var profilesUpdateMutation = (options) => {
|
|
2981
|
-
const mutationOptions = {
|
|
2982
|
-
mutationFn: async (fnOptions) => {
|
|
2983
|
-
const { data } = await profilesUpdate({
|
|
2984
|
-
...options,
|
|
2985
|
-
...fnOptions,
|
|
2986
|
-
throwOnError: true
|
|
2987
|
-
});
|
|
2988
|
-
return data;
|
|
2989
|
-
}
|
|
2990
|
-
};
|
|
2991
|
-
return mutationOptions;
|
|
2992
|
-
};
|
|
2993
|
-
var connectionsListByProfileQueryKey = (options) => createQueryKey("connectionsListByProfile", options);
|
|
2994
|
-
var connectionsListByProfileOptions = (options) => reactQuery.queryOptions({
|
|
2995
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
2996
|
-
const { data } = await connectionsListByProfile({
|
|
2997
|
-
...options,
|
|
2998
|
-
...queryKey[0],
|
|
2999
|
-
signal,
|
|
3000
|
-
throwOnError: true
|
|
3001
|
-
});
|
|
3002
|
-
return data;
|
|
3003
|
-
},
|
|
3004
|
-
queryKey: connectionsListByProfileQueryKey(options)
|
|
3005
|
-
});
|
|
3006
|
-
var connectionsListByProfileInfiniteQueryKey = (options) => createQueryKey("connectionsListByProfile", options, true);
|
|
3007
|
-
var connectionsListByProfileInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
3008
|
-
// @ts-ignore
|
|
3009
|
-
{
|
|
3010
|
-
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
3011
|
-
const page = typeof pageParam === "object" ? pageParam : {
|
|
3012
|
-
query: {
|
|
3013
|
-
offset: pageParam
|
|
3014
|
-
}
|
|
3015
|
-
};
|
|
3016
|
-
const params = createInfiniteParams(queryKey, page);
|
|
3017
|
-
const { data } = await connectionsListByProfile({
|
|
3018
|
-
...options,
|
|
3019
|
-
...params,
|
|
3020
|
-
signal,
|
|
3021
|
-
throwOnError: true
|
|
3022
|
-
});
|
|
3023
|
-
return data;
|
|
3024
|
-
},
|
|
3025
|
-
queryKey: connectionsListByProfileInfiniteQueryKey(options)
|
|
3026
|
-
}
|
|
3027
|
-
);
|
|
3028
|
-
var connectionsDeleteMutation = (options) => {
|
|
3029
|
-
const mutationOptions = {
|
|
3030
|
-
mutationFn: async (fnOptions) => {
|
|
3031
|
-
const { data } = await connectionsDelete({
|
|
3032
|
-
...options,
|
|
3033
|
-
...fnOptions,
|
|
3034
|
-
throwOnError: true
|
|
3035
|
-
});
|
|
3036
|
-
return data;
|
|
3037
|
-
}
|
|
3038
|
-
};
|
|
3039
|
-
return mutationOptions;
|
|
3040
|
-
};
|
|
3041
|
-
var connectionsGetQueryKey = (options) => createQueryKey("connectionsGet", options);
|
|
3042
|
-
var connectionsGetOptions = (options) => reactQuery.queryOptions({
|
|
3043
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3044
|
-
const { data } = await connectionsGet({
|
|
3045
|
-
...options,
|
|
3046
|
-
...queryKey[0],
|
|
3047
|
-
signal,
|
|
3048
|
-
throwOnError: true
|
|
3049
|
-
});
|
|
3050
|
-
return data;
|
|
3051
|
-
},
|
|
3052
|
-
queryKey: connectionsGetQueryKey(options)
|
|
3053
|
-
});
|
|
3054
|
-
var connectionsSelectMutation = (options) => {
|
|
3055
|
-
const mutationOptions = {
|
|
3056
|
-
mutationFn: async (fnOptions) => {
|
|
3057
|
-
const { data } = await connectionsSelect({
|
|
3058
|
-
...options,
|
|
3059
|
-
...fnOptions,
|
|
3060
|
-
throwOnError: true
|
|
3061
|
-
});
|
|
3062
|
-
return data;
|
|
3063
|
-
}
|
|
3064
|
-
};
|
|
3065
|
-
return mutationOptions;
|
|
3066
|
-
};
|
|
3067
|
-
var connectionsListAccountsQueryKey = (options) => createQueryKey("connectionsListAccounts", options);
|
|
3068
|
-
var connectionsListAccountsOptions = (options) => reactQuery.queryOptions({
|
|
3069
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3070
|
-
const { data } = await connectionsListAccounts({
|
|
3071
|
-
...options,
|
|
3072
|
-
...queryKey[0],
|
|
3073
|
-
signal,
|
|
3074
|
-
throwOnError: true
|
|
3075
|
-
});
|
|
3076
|
-
return data;
|
|
3077
|
-
},
|
|
3078
|
-
queryKey: connectionsListAccountsQueryKey(options)
|
|
3079
|
-
});
|
|
3080
|
-
var connectionsConnectMutation = (options) => {
|
|
3081
|
-
const mutationOptions = {
|
|
3082
|
-
mutationFn: async (fnOptions) => {
|
|
3083
|
-
const { data } = await connectionsConnect({
|
|
3084
|
-
...options,
|
|
3085
|
-
...fnOptions,
|
|
3086
|
-
throwOnError: true
|
|
3087
|
-
});
|
|
3088
|
-
return data;
|
|
3089
|
-
}
|
|
3090
|
-
};
|
|
3091
|
-
return mutationOptions;
|
|
3092
|
-
};
|
|
3093
|
-
var mediaListQueryKey = (options) => createQueryKey("mediaList", options);
|
|
3094
|
-
var mediaListOptions = (options) => reactQuery.queryOptions({
|
|
3095
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3096
|
-
const { data } = await mediaList({
|
|
3097
|
-
...options,
|
|
3098
|
-
...queryKey[0],
|
|
3099
|
-
signal,
|
|
3100
|
-
throwOnError: true
|
|
3101
|
-
});
|
|
3102
|
-
return data;
|
|
3103
|
-
},
|
|
3104
|
-
queryKey: mediaListQueryKey(options)
|
|
3105
|
-
});
|
|
3106
|
-
var mediaListInfiniteQueryKey = (options) => createQueryKey("mediaList", options, true);
|
|
3107
|
-
var mediaListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
3108
|
-
// @ts-ignore
|
|
3109
|
-
{
|
|
3110
|
-
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
3111
|
-
const page = typeof pageParam === "object" ? pageParam : {
|
|
3112
|
-
query: {
|
|
3113
|
-
offset: pageParam
|
|
3114
|
-
}
|
|
3115
|
-
};
|
|
3116
|
-
const params = createInfiniteParams(queryKey, page);
|
|
3117
|
-
const { data } = await mediaList({
|
|
3118
|
-
...options,
|
|
3119
|
-
...params,
|
|
3120
|
-
signal,
|
|
3121
|
-
throwOnError: true
|
|
3122
|
-
});
|
|
3123
|
-
return data;
|
|
3124
|
-
},
|
|
3125
|
-
queryKey: mediaListInfiniteQueryKey(options)
|
|
3126
|
-
}
|
|
3127
|
-
);
|
|
3128
|
-
var mediaCreateMutation = (options) => {
|
|
3129
|
-
const mutationOptions = {
|
|
3130
|
-
mutationFn: async (fnOptions) => {
|
|
3131
|
-
const { data } = await mediaCreate({
|
|
3132
|
-
...options,
|
|
3133
|
-
...fnOptions,
|
|
3134
|
-
throwOnError: true
|
|
3135
|
-
});
|
|
3136
|
-
return data;
|
|
3137
|
-
}
|
|
3138
|
-
};
|
|
3139
|
-
return mutationOptions;
|
|
3140
|
-
};
|
|
3141
|
-
var mediaDeleteMutation = (options) => {
|
|
3142
|
-
const mutationOptions = {
|
|
3143
|
-
mutationFn: async (fnOptions) => {
|
|
3144
|
-
const { data } = await mediaDelete({
|
|
3145
|
-
...options,
|
|
3146
|
-
...fnOptions,
|
|
3147
|
-
throwOnError: true
|
|
3148
|
-
});
|
|
3149
|
-
return data;
|
|
3150
|
-
}
|
|
3151
|
-
};
|
|
3152
|
-
return mutationOptions;
|
|
3153
|
-
};
|
|
3154
|
-
var mediaGetQueryKey = (options) => createQueryKey("mediaGet", options);
|
|
3155
|
-
var mediaGetOptions = (options) => reactQuery.queryOptions({
|
|
3156
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3157
|
-
const { data } = await mediaGet({
|
|
3158
|
-
...options,
|
|
3159
|
-
...queryKey[0],
|
|
3160
|
-
signal,
|
|
3161
|
-
throwOnError: true
|
|
3162
|
-
});
|
|
3163
|
-
return data;
|
|
3164
|
-
},
|
|
3165
|
-
queryKey: mediaGetQueryKey(options)
|
|
3166
|
-
});
|
|
3167
|
-
var mediaUpdateMutation = (options) => {
|
|
3168
|
-
const mutationOptions = {
|
|
3169
|
-
mutationFn: async (fnOptions) => {
|
|
3170
|
-
const { data } = await mediaUpdate({
|
|
3171
|
-
...options,
|
|
3172
|
-
...fnOptions,
|
|
3173
|
-
throwOnError: true
|
|
3174
|
-
});
|
|
3175
|
-
return data;
|
|
3176
|
-
}
|
|
3177
|
-
};
|
|
3178
|
-
return mutationOptions;
|
|
3179
|
-
};
|
|
3180
|
-
var mediaSignPartMutation = (options) => {
|
|
3181
|
-
const mutationOptions = {
|
|
3182
|
-
mutationFn: async (fnOptions) => {
|
|
3183
|
-
const { data } = await mediaSignPart({
|
|
3184
|
-
...options,
|
|
3185
|
-
...fnOptions,
|
|
3186
|
-
throwOnError: true
|
|
3187
|
-
});
|
|
3188
|
-
return data;
|
|
3189
|
-
}
|
|
3190
|
-
};
|
|
3191
|
-
return mutationOptions;
|
|
3192
|
-
};
|
|
3193
|
-
var mediaListPartsQueryKey = (options) => createQueryKey("mediaListParts", options);
|
|
3194
|
-
var mediaListPartsOptions = (options) => reactQuery.queryOptions({
|
|
3195
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3196
|
-
const { data } = await mediaListParts({
|
|
3197
|
-
...options,
|
|
3198
|
-
...queryKey[0],
|
|
3199
|
-
signal,
|
|
3200
|
-
throwOnError: true
|
|
3201
|
-
});
|
|
3202
|
-
return data;
|
|
3203
|
-
},
|
|
3204
|
-
queryKey: mediaListPartsQueryKey(options)
|
|
3205
|
-
});
|
|
3206
|
-
var mediaCompleteMutation = (options) => {
|
|
3207
|
-
const mutationOptions = {
|
|
3208
|
-
mutationFn: async (fnOptions) => {
|
|
3209
|
-
const { data } = await mediaComplete({
|
|
3210
|
-
...options,
|
|
3211
|
-
...fnOptions,
|
|
3212
|
-
throwOnError: true
|
|
3213
|
-
});
|
|
3214
|
-
return data;
|
|
3215
|
-
}
|
|
3216
|
-
};
|
|
3217
|
-
return mutationOptions;
|
|
3218
|
-
};
|
|
3219
|
-
var mediaAbortMutation = (options) => {
|
|
3220
|
-
const mutationOptions = {
|
|
3221
|
-
mutationFn: async (fnOptions) => {
|
|
3222
|
-
const { data } = await mediaAbort({
|
|
3223
|
-
...options,
|
|
3224
|
-
...fnOptions,
|
|
3225
|
-
throwOnError: true
|
|
3226
|
-
});
|
|
3227
|
-
return data;
|
|
3228
|
-
}
|
|
3229
|
-
};
|
|
3230
|
-
return mutationOptions;
|
|
3231
|
-
};
|
|
3232
|
-
var postsListQueryKey = (options) => createQueryKey("postsList", options);
|
|
3233
|
-
var postsListOptions = (options) => reactQuery.queryOptions({
|
|
3234
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3235
|
-
const { data } = await postsList({
|
|
3236
|
-
...options,
|
|
3237
|
-
...queryKey[0],
|
|
3238
|
-
signal,
|
|
3239
|
-
throwOnError: true
|
|
3240
|
-
});
|
|
3241
|
-
return data;
|
|
3242
|
-
},
|
|
3243
|
-
queryKey: postsListQueryKey(options)
|
|
3244
|
-
});
|
|
3245
|
-
var postsListInfiniteQueryKey = (options) => createQueryKey("postsList", options, true);
|
|
3246
|
-
var postsListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
3247
|
-
// @ts-ignore
|
|
3248
|
-
{
|
|
3249
|
-
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
3250
|
-
const page = typeof pageParam === "object" ? pageParam : {
|
|
3251
|
-
query: {
|
|
3252
|
-
offset: pageParam
|
|
3253
|
-
}
|
|
3254
|
-
};
|
|
3255
|
-
const params = createInfiniteParams(queryKey, page);
|
|
3256
|
-
const { data } = await postsList({
|
|
3257
|
-
...options,
|
|
3258
|
-
...params,
|
|
3259
|
-
signal,
|
|
3260
|
-
throwOnError: true
|
|
3261
|
-
});
|
|
3262
|
-
return data;
|
|
3263
|
-
},
|
|
3264
|
-
queryKey: postsListInfiniteQueryKey(options)
|
|
3265
|
-
}
|
|
3266
|
-
);
|
|
3267
|
-
var postsCreateMutation = (options) => {
|
|
3268
|
-
const mutationOptions = {
|
|
3269
|
-
mutationFn: async (fnOptions) => {
|
|
3270
|
-
const { data } = await postsCreate({
|
|
3271
|
-
...options,
|
|
3272
|
-
...fnOptions,
|
|
3273
|
-
throwOnError: true
|
|
3274
|
-
});
|
|
3275
|
-
return data;
|
|
3276
|
-
}
|
|
3277
|
-
};
|
|
3278
|
-
return mutationOptions;
|
|
3279
|
-
};
|
|
3280
|
-
var postsDeleteMutation = (options) => {
|
|
3281
|
-
const mutationOptions = {
|
|
3282
|
-
mutationFn: async (fnOptions) => {
|
|
3283
|
-
const { data } = await postsDelete({
|
|
3284
|
-
...options,
|
|
3285
|
-
...fnOptions,
|
|
3286
|
-
throwOnError: true
|
|
3287
|
-
});
|
|
3288
|
-
return data;
|
|
3289
|
-
}
|
|
3290
|
-
};
|
|
3291
|
-
return mutationOptions;
|
|
3292
|
-
};
|
|
3293
|
-
var postsGetQueryKey = (options) => createQueryKey("postsGet", options);
|
|
3294
|
-
var postsGetOptions = (options) => reactQuery.queryOptions({
|
|
3295
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3296
|
-
const { data } = await postsGet({
|
|
3297
|
-
...options,
|
|
3298
|
-
...queryKey[0],
|
|
3299
|
-
signal,
|
|
3300
|
-
throwOnError: true
|
|
3301
|
-
});
|
|
3302
|
-
return data;
|
|
3303
|
-
},
|
|
3304
|
-
queryKey: postsGetQueryKey(options)
|
|
3305
|
-
});
|
|
3306
|
-
var postsUpdateMutation = (options) => {
|
|
3307
|
-
const mutationOptions = {
|
|
3308
|
-
mutationFn: async (fnOptions) => {
|
|
3309
|
-
const { data } = await postsUpdate({
|
|
3310
|
-
...options,
|
|
3311
|
-
...fnOptions,
|
|
3312
|
-
throwOnError: true
|
|
3313
|
-
});
|
|
3314
|
-
return data;
|
|
3315
|
-
}
|
|
3316
|
-
};
|
|
3317
|
-
return mutationOptions;
|
|
3318
|
-
};
|
|
3319
|
-
var postsValidateMutation = (options) => {
|
|
3320
|
-
const mutationOptions = {
|
|
3321
|
-
mutationFn: async (fnOptions) => {
|
|
3322
|
-
const { data } = await postsValidate({
|
|
3323
|
-
...options,
|
|
3324
|
-
...fnOptions,
|
|
3325
|
-
throwOnError: true
|
|
3326
|
-
});
|
|
3327
|
-
return data;
|
|
3328
|
-
}
|
|
3329
|
-
};
|
|
3330
|
-
return mutationOptions;
|
|
3331
|
-
};
|
|
3332
|
-
var metaAccountQueryKey = (options) => createQueryKey("metaAccount", options);
|
|
3333
|
-
var metaAccountOptions = (options) => reactQuery.queryOptions({
|
|
3334
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3335
|
-
const { data } = await metaAccount({
|
|
3336
|
-
...options,
|
|
3337
|
-
...queryKey[0],
|
|
3338
|
-
signal,
|
|
3339
|
-
throwOnError: true
|
|
3340
|
-
});
|
|
3341
|
-
return data;
|
|
3342
|
-
},
|
|
3343
|
-
queryKey: metaAccountQueryKey(options)
|
|
3344
|
-
});
|
|
3345
|
-
var metaInsightsQueryKey = (options) => createQueryKey("metaInsights", options);
|
|
3346
|
-
var metaInsightsOptions = (options) => reactQuery.queryOptions({
|
|
3347
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3348
|
-
const { data } = await metaInsights({
|
|
3349
|
-
...options,
|
|
3350
|
-
...queryKey[0],
|
|
3351
|
-
signal,
|
|
3352
|
-
throwOnError: true
|
|
3353
|
-
});
|
|
3354
|
-
return data;
|
|
3355
|
-
},
|
|
3356
|
-
queryKey: metaInsightsQueryKey(options)
|
|
3357
|
-
});
|
|
3358
|
-
var metaCampaignsQueryKey = (options) => createQueryKey("metaCampaigns", options);
|
|
3359
|
-
var metaCampaignsOptions = (options) => reactQuery.queryOptions({
|
|
3360
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3361
|
-
const { data } = await metaCampaigns({
|
|
3362
|
-
...options,
|
|
3363
|
-
...queryKey[0],
|
|
3364
|
-
signal,
|
|
3365
|
-
throwOnError: true
|
|
3366
|
-
});
|
|
3367
|
-
return data;
|
|
3368
|
-
},
|
|
3369
|
-
queryKey: metaCampaignsQueryKey(options)
|
|
3370
|
-
});
|
|
3371
|
-
var metaCampaignQueryKey = (options) => createQueryKey("metaCampaign", options);
|
|
3372
|
-
var metaCampaignOptions = (options) => reactQuery.queryOptions({
|
|
3373
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3374
|
-
const { data } = await metaCampaign({
|
|
3375
|
-
...options,
|
|
3376
|
-
...queryKey[0],
|
|
3377
|
-
signal,
|
|
3378
|
-
throwOnError: true
|
|
3379
|
-
});
|
|
3380
|
-
return data;
|
|
3381
|
-
},
|
|
3382
|
-
queryKey: metaCampaignQueryKey(options)
|
|
3383
|
-
});
|
|
3384
|
-
var metaAdsetsQueryKey = (options) => createQueryKey("metaAdsets", options);
|
|
3385
|
-
var metaAdsetsOptions = (options) => reactQuery.queryOptions({
|
|
3386
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3387
|
-
const { data } = await metaAdsets({
|
|
3388
|
-
...options,
|
|
3389
|
-
...queryKey[0],
|
|
3390
|
-
signal,
|
|
3391
|
-
throwOnError: true
|
|
3392
|
-
});
|
|
3393
|
-
return data;
|
|
3394
|
-
},
|
|
3395
|
-
queryKey: metaAdsetsQueryKey(options)
|
|
3396
|
-
});
|
|
3397
|
-
var metaAdsetQueryKey = (options) => createQueryKey("metaAdset", options);
|
|
3398
|
-
var metaAdsetOptions = (options) => reactQuery.queryOptions({
|
|
3399
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3400
|
-
const { data } = await metaAdset({
|
|
3401
|
-
...options,
|
|
3402
|
-
...queryKey[0],
|
|
3403
|
-
signal,
|
|
3404
|
-
throwOnError: true
|
|
3405
|
-
});
|
|
3406
|
-
return data;
|
|
3407
|
-
},
|
|
3408
|
-
queryKey: metaAdsetQueryKey(options)
|
|
3409
|
-
});
|
|
3410
|
-
var metaAdsQueryKey = (options) => createQueryKey("metaAds", options);
|
|
3411
|
-
var metaAdsOptions = (options) => reactQuery.queryOptions({
|
|
3412
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3413
|
-
const { data } = await metaAds({
|
|
3414
|
-
...options,
|
|
3415
|
-
...queryKey[0],
|
|
3416
|
-
signal,
|
|
3417
|
-
throwOnError: true
|
|
3418
|
-
});
|
|
3419
|
-
return data;
|
|
3420
|
-
},
|
|
3421
|
-
queryKey: metaAdsQueryKey(options)
|
|
3422
|
-
});
|
|
3423
|
-
var metaAdQueryKey = (options) => createQueryKey("metaAd", options);
|
|
3424
|
-
var metaAdOptions = (options) => reactQuery.queryOptions({
|
|
3425
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3426
|
-
const { data } = await metaAd({
|
|
3427
|
-
...options,
|
|
3428
|
-
...queryKey[0],
|
|
3429
|
-
signal,
|
|
3430
|
-
throwOnError: true
|
|
3431
|
-
});
|
|
3432
|
-
return data;
|
|
3433
|
-
},
|
|
3434
|
-
queryKey: metaAdQueryKey(options)
|
|
3435
|
-
});
|
|
3436
|
-
var googleGetAccountQueryKey = (options) => createQueryKey("googleGetAccount", options);
|
|
3437
|
-
var googleGetAccountOptions = (options) => reactQuery.queryOptions({
|
|
3438
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3439
|
-
const { data } = await googleGetAccount({
|
|
3440
|
-
...options,
|
|
3441
|
-
...queryKey[0],
|
|
3442
|
-
signal,
|
|
3443
|
-
throwOnError: true
|
|
3444
|
-
});
|
|
3445
|
-
return data;
|
|
3446
|
-
},
|
|
3447
|
-
queryKey: googleGetAccountQueryKey(options)
|
|
3448
|
-
});
|
|
3449
|
-
var googleEditAccountMutation = (options) => {
|
|
3450
|
-
const mutationOptions = {
|
|
3451
|
-
mutationFn: async (fnOptions) => {
|
|
3452
|
-
const { data } = await googleEditAccount({
|
|
3453
|
-
...options,
|
|
3454
|
-
...fnOptions,
|
|
3455
|
-
throwOnError: true
|
|
3456
|
-
});
|
|
3457
|
-
return data;
|
|
3458
|
-
}
|
|
3459
|
-
};
|
|
3460
|
-
return mutationOptions;
|
|
3461
|
-
};
|
|
3462
|
-
var googleGetInsightsMutation = (options) => {
|
|
3463
|
-
const mutationOptions = {
|
|
3464
|
-
mutationFn: async (fnOptions) => {
|
|
3465
|
-
const { data } = await googleGetInsights({
|
|
3466
|
-
...options,
|
|
3467
|
-
...fnOptions,
|
|
3468
|
-
throwOnError: true
|
|
3469
|
-
});
|
|
3470
|
-
return data;
|
|
3471
|
-
}
|
|
3472
|
-
};
|
|
3473
|
-
return mutationOptions;
|
|
3474
|
-
};
|
|
3475
|
-
var googleGetAdTreeQueryKey = (options) => createQueryKey("googleGetAdTree", options);
|
|
3476
|
-
var googleGetAdTreeOptions = (options) => reactQuery.queryOptions({
|
|
3477
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3478
|
-
const { data } = await googleGetAdTree({
|
|
3479
|
-
...options,
|
|
3480
|
-
...queryKey[0],
|
|
3481
|
-
signal,
|
|
3482
|
-
throwOnError: true
|
|
3483
|
-
});
|
|
3484
|
-
return data;
|
|
3485
|
-
},
|
|
3486
|
-
queryKey: googleGetAdTreeQueryKey(options)
|
|
3487
|
-
});
|
|
3488
|
-
var googleRunGaqlMutation = (options) => {
|
|
3489
|
-
const mutationOptions = {
|
|
3490
|
-
mutationFn: async (fnOptions) => {
|
|
3491
|
-
const { data } = await googleRunGaql({
|
|
3492
|
-
...options,
|
|
3493
|
-
...fnOptions,
|
|
3494
|
-
throwOnError: true
|
|
3495
|
-
});
|
|
3496
|
-
return data;
|
|
3497
|
-
}
|
|
3498
|
-
};
|
|
3499
|
-
return mutationOptions;
|
|
3500
|
-
};
|
|
3501
|
-
var googleCreateBudgetMutation = (options) => {
|
|
3502
|
-
const mutationOptions = {
|
|
3503
|
-
mutationFn: async (fnOptions) => {
|
|
3504
|
-
const { data } = await googleCreateBudget({
|
|
3505
|
-
...options,
|
|
3506
|
-
...fnOptions,
|
|
3507
|
-
throwOnError: true
|
|
3508
|
-
});
|
|
3509
|
-
return data;
|
|
3510
|
-
}
|
|
3511
|
-
};
|
|
3512
|
-
return mutationOptions;
|
|
3513
|
-
};
|
|
3514
|
-
var googleEditBudgetMutation = (options) => {
|
|
3515
|
-
const mutationOptions = {
|
|
3516
|
-
mutationFn: async (fnOptions) => {
|
|
3517
|
-
const { data } = await googleEditBudget({
|
|
3518
|
-
...options,
|
|
3519
|
-
...fnOptions,
|
|
3520
|
-
throwOnError: true
|
|
3521
|
-
});
|
|
3522
|
-
return data;
|
|
3523
|
-
}
|
|
3524
|
-
};
|
|
3525
|
-
return mutationOptions;
|
|
3526
|
-
};
|
|
3527
|
-
var googleRemoveBudgetMutation = (options) => {
|
|
3528
|
-
const mutationOptions = {
|
|
3529
|
-
mutationFn: async (fnOptions) => {
|
|
3530
|
-
const { data } = await googleRemoveBudget({
|
|
3531
|
-
...options,
|
|
3532
|
-
...fnOptions,
|
|
3533
|
-
throwOnError: true
|
|
3534
|
-
});
|
|
3535
|
-
return data;
|
|
3536
|
-
}
|
|
3537
|
-
};
|
|
3538
|
-
return mutationOptions;
|
|
3539
|
-
};
|
|
3540
|
-
var googleListCampaignsQueryKey = (options) => createQueryKey("googleListCampaigns", options);
|
|
3541
|
-
var googleListCampaignsOptions = (options) => reactQuery.queryOptions({
|
|
3542
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3543
|
-
const { data } = await googleListCampaigns({
|
|
3544
|
-
...options,
|
|
3545
|
-
...queryKey[0],
|
|
3546
|
-
signal,
|
|
3547
|
-
throwOnError: true
|
|
3548
|
-
});
|
|
3549
|
-
return data;
|
|
3550
|
-
},
|
|
3551
|
-
queryKey: googleListCampaignsQueryKey(options)
|
|
3552
|
-
});
|
|
3553
|
-
var googleCreateCampaignMutation = (options) => {
|
|
3554
|
-
const mutationOptions = {
|
|
3555
|
-
mutationFn: async (fnOptions) => {
|
|
3556
|
-
const { data } = await googleCreateCampaign({
|
|
3557
|
-
...options,
|
|
3558
|
-
...fnOptions,
|
|
3559
|
-
throwOnError: true
|
|
3560
|
-
});
|
|
3561
|
-
return data;
|
|
3562
|
-
}
|
|
3563
|
-
};
|
|
3564
|
-
return mutationOptions;
|
|
3565
|
-
};
|
|
3566
|
-
var googleGetCampaignQueryKey = (options) => createQueryKey("googleGetCampaign", options);
|
|
3567
|
-
var googleGetCampaignOptions = (options) => reactQuery.queryOptions({
|
|
3568
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3569
|
-
const { data } = await googleGetCampaign({
|
|
3570
|
-
...options,
|
|
3571
|
-
...queryKey[0],
|
|
3572
|
-
signal,
|
|
3573
|
-
throwOnError: true
|
|
3574
|
-
});
|
|
3575
|
-
return data;
|
|
3576
|
-
},
|
|
3577
|
-
queryKey: googleGetCampaignQueryKey(options)
|
|
3578
|
-
});
|
|
3579
|
-
var googleEditCampaignMutation = (options) => {
|
|
3580
|
-
const mutationOptions = {
|
|
3581
|
-
mutationFn: async (fnOptions) => {
|
|
3582
|
-
const { data } = await googleEditCampaign({
|
|
3583
|
-
...options,
|
|
3584
|
-
...fnOptions,
|
|
3585
|
-
throwOnError: true
|
|
3586
|
-
});
|
|
3587
|
-
return data;
|
|
3588
|
-
}
|
|
3589
|
-
};
|
|
3590
|
-
return mutationOptions;
|
|
3591
|
-
};
|
|
3592
|
-
var googleSetCampaignBiddingMutation = (options) => {
|
|
3593
|
-
const mutationOptions = {
|
|
3594
|
-
mutationFn: async (fnOptions) => {
|
|
3595
|
-
const { data } = await googleSetCampaignBidding({
|
|
3596
|
-
...options,
|
|
3597
|
-
...fnOptions,
|
|
3598
|
-
throwOnError: true
|
|
3599
|
-
});
|
|
3600
|
-
return data;
|
|
3601
|
-
}
|
|
3602
|
-
};
|
|
3603
|
-
return mutationOptions;
|
|
3604
|
-
};
|
|
3605
|
-
var googleRemoveCampaignMutation = (options) => {
|
|
3606
|
-
const mutationOptions = {
|
|
3607
|
-
mutationFn: async (fnOptions) => {
|
|
3608
|
-
const { data } = await googleRemoveCampaign({
|
|
3609
|
-
...options,
|
|
3610
|
-
...fnOptions,
|
|
3611
|
-
throwOnError: true
|
|
3612
|
-
});
|
|
3613
|
-
return data;
|
|
3614
|
-
}
|
|
3615
|
-
};
|
|
3616
|
-
return mutationOptions;
|
|
3617
|
-
};
|
|
3618
|
-
var googlePauseCampaignMutation = (options) => {
|
|
3619
|
-
const mutationOptions = {
|
|
3620
|
-
mutationFn: async (fnOptions) => {
|
|
3621
|
-
const { data } = await googlePauseCampaign({
|
|
3622
|
-
...options,
|
|
3623
|
-
...fnOptions,
|
|
3624
|
-
throwOnError: true
|
|
3625
|
-
});
|
|
3626
|
-
return data;
|
|
3627
|
-
}
|
|
3628
|
-
};
|
|
3629
|
-
return mutationOptions;
|
|
3630
|
-
};
|
|
3631
|
-
var googleEnableCampaignMutation = (options) => {
|
|
3632
|
-
const mutationOptions = {
|
|
3633
|
-
mutationFn: async (fnOptions) => {
|
|
3634
|
-
const { data } = await googleEnableCampaign({
|
|
3635
|
-
...options,
|
|
3636
|
-
...fnOptions,
|
|
3637
|
-
throwOnError: true
|
|
3638
|
-
});
|
|
3639
|
-
return data;
|
|
3640
|
-
}
|
|
3641
|
-
};
|
|
3642
|
-
return mutationOptions;
|
|
3643
|
-
};
|
|
3644
|
-
var googleSearchGeoTargetsQueryKey = (options) => createQueryKey("googleSearchGeoTargets", options);
|
|
3645
|
-
var googleSearchGeoTargetsOptions = (options) => reactQuery.queryOptions({
|
|
3646
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3647
|
-
const { data } = await googleSearchGeoTargets({
|
|
3648
|
-
...options,
|
|
3649
|
-
...queryKey[0],
|
|
3650
|
-
signal,
|
|
3651
|
-
throwOnError: true
|
|
3652
|
-
});
|
|
3653
|
-
return data;
|
|
3654
|
-
},
|
|
3655
|
-
queryKey: googleSearchGeoTargetsQueryKey(options)
|
|
3656
|
-
});
|
|
3657
|
-
var googleListCampaignCriteriaQueryKey = (options) => createQueryKey("googleListCampaignCriteria", options);
|
|
3658
|
-
var googleListCampaignCriteriaOptions = (options) => reactQuery.queryOptions({
|
|
3659
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3660
|
-
const { data } = await googleListCampaignCriteria({
|
|
3661
|
-
...options,
|
|
3662
|
-
...queryKey[0],
|
|
3663
|
-
signal,
|
|
3664
|
-
throwOnError: true
|
|
3665
|
-
});
|
|
3666
|
-
return data;
|
|
3667
|
-
},
|
|
3668
|
-
queryKey: googleListCampaignCriteriaQueryKey(options)
|
|
3669
|
-
});
|
|
3670
|
-
var googleCreateCampaignCriterionMutation = (options) => {
|
|
3671
|
-
const mutationOptions = {
|
|
3672
|
-
mutationFn: async (fnOptions) => {
|
|
3673
|
-
const { data } = await googleCreateCampaignCriterion({
|
|
3674
|
-
...options,
|
|
3675
|
-
...fnOptions,
|
|
3676
|
-
throwOnError: true
|
|
3677
|
-
});
|
|
3678
|
-
return data;
|
|
3679
|
-
}
|
|
3680
|
-
};
|
|
3681
|
-
return mutationOptions;
|
|
3682
|
-
};
|
|
3683
|
-
var googleRemoveCampaignCriterionMutation = (options) => {
|
|
3684
|
-
const mutationOptions = {
|
|
3685
|
-
mutationFn: async (fnOptions) => {
|
|
3686
|
-
const { data } = await googleRemoveCampaignCriterion({
|
|
3687
|
-
...options,
|
|
3688
|
-
...fnOptions,
|
|
3689
|
-
throwOnError: true
|
|
3690
|
-
});
|
|
3691
|
-
return data;
|
|
3692
|
-
}
|
|
3693
|
-
};
|
|
3694
|
-
return mutationOptions;
|
|
3695
|
-
};
|
|
3696
|
-
var googleSetCampaignGeoSettingsMutation = (options) => {
|
|
3697
|
-
const mutationOptions = {
|
|
3698
|
-
mutationFn: async (fnOptions) => {
|
|
3699
|
-
const { data } = await googleSetCampaignGeoSettings({
|
|
3700
|
-
...options,
|
|
3701
|
-
...fnOptions,
|
|
3702
|
-
throwOnError: true
|
|
3703
|
-
});
|
|
3704
|
-
return data;
|
|
3705
|
-
}
|
|
3706
|
-
};
|
|
3707
|
-
return mutationOptions;
|
|
3708
|
-
};
|
|
3709
|
-
var googleListAdGroupsQueryKey = (options) => createQueryKey("googleListAdGroups", options);
|
|
3710
|
-
var googleListAdGroupsOptions = (options) => reactQuery.queryOptions({
|
|
3711
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3712
|
-
const { data } = await googleListAdGroups({
|
|
3713
|
-
...options,
|
|
3714
|
-
...queryKey[0],
|
|
3715
|
-
signal,
|
|
3716
|
-
throwOnError: true
|
|
3717
|
-
});
|
|
3718
|
-
return data;
|
|
3719
|
-
},
|
|
3720
|
-
queryKey: googleListAdGroupsQueryKey(options)
|
|
3721
|
-
});
|
|
3722
|
-
var googleCreateAdGroupMutation = (options) => {
|
|
3723
|
-
const mutationOptions = {
|
|
3724
|
-
mutationFn: async (fnOptions) => {
|
|
3725
|
-
const { data } = await googleCreateAdGroup({
|
|
3726
|
-
...options,
|
|
3727
|
-
...fnOptions,
|
|
3728
|
-
throwOnError: true
|
|
3729
|
-
});
|
|
3730
|
-
return data;
|
|
3731
|
-
}
|
|
3732
|
-
};
|
|
3733
|
-
return mutationOptions;
|
|
3734
|
-
};
|
|
3735
|
-
var googleGetAdGroupQueryKey = (options) => createQueryKey("googleGetAdGroup", options);
|
|
3736
|
-
var googleGetAdGroupOptions = (options) => reactQuery.queryOptions({
|
|
3737
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3738
|
-
const { data } = await googleGetAdGroup({
|
|
3739
|
-
...options,
|
|
3740
|
-
...queryKey[0],
|
|
3741
|
-
signal,
|
|
3742
|
-
throwOnError: true
|
|
3743
|
-
});
|
|
3744
|
-
return data;
|
|
3745
|
-
},
|
|
3746
|
-
queryKey: googleGetAdGroupQueryKey(options)
|
|
3747
|
-
});
|
|
3748
|
-
var googleEditAdGroupMutation = (options) => {
|
|
3749
|
-
const mutationOptions = {
|
|
3750
|
-
mutationFn: async (fnOptions) => {
|
|
3751
|
-
const { data } = await googleEditAdGroup({
|
|
3752
|
-
...options,
|
|
3753
|
-
...fnOptions,
|
|
3754
|
-
throwOnError: true
|
|
3755
|
-
});
|
|
3756
|
-
return data;
|
|
3757
|
-
}
|
|
3758
|
-
};
|
|
3759
|
-
return mutationOptions;
|
|
3760
|
-
};
|
|
3761
|
-
var googleSetAdGroupBidsMutation = (options) => {
|
|
3762
|
-
const mutationOptions = {
|
|
3763
|
-
mutationFn: async (fnOptions) => {
|
|
3764
|
-
const { data } = await googleSetAdGroupBids({
|
|
3765
|
-
...options,
|
|
3766
|
-
...fnOptions,
|
|
3767
|
-
throwOnError: true
|
|
3768
|
-
});
|
|
3769
|
-
return data;
|
|
3770
|
-
}
|
|
3771
|
-
};
|
|
3772
|
-
return mutationOptions;
|
|
3773
|
-
};
|
|
3774
|
-
var googleRemoveAdGroupMutation = (options) => {
|
|
3775
|
-
const mutationOptions = {
|
|
3776
|
-
mutationFn: async (fnOptions) => {
|
|
3777
|
-
const { data } = await googleRemoveAdGroup({
|
|
3778
|
-
...options,
|
|
3779
|
-
...fnOptions,
|
|
3780
|
-
throwOnError: true
|
|
3781
|
-
});
|
|
3782
|
-
return data;
|
|
3783
|
-
}
|
|
3784
|
-
};
|
|
3785
|
-
return mutationOptions;
|
|
3786
|
-
};
|
|
3787
|
-
var googlePauseAdGroupMutation = (options) => {
|
|
3788
|
-
const mutationOptions = {
|
|
3789
|
-
mutationFn: async (fnOptions) => {
|
|
3790
|
-
const { data } = await googlePauseAdGroup({
|
|
3791
|
-
...options,
|
|
3792
|
-
...fnOptions,
|
|
3793
|
-
throwOnError: true
|
|
3794
|
-
});
|
|
3795
|
-
return data;
|
|
3796
|
-
}
|
|
3797
|
-
};
|
|
3798
|
-
return mutationOptions;
|
|
3799
|
-
};
|
|
3800
|
-
var googleEnableAdGroupMutation = (options) => {
|
|
3801
|
-
const mutationOptions = {
|
|
3802
|
-
mutationFn: async (fnOptions) => {
|
|
3803
|
-
const { data } = await googleEnableAdGroup({
|
|
3804
|
-
...options,
|
|
3805
|
-
...fnOptions,
|
|
3806
|
-
throwOnError: true
|
|
3807
|
-
});
|
|
3808
|
-
return data;
|
|
3809
|
-
}
|
|
3810
|
-
};
|
|
3811
|
-
return mutationOptions;
|
|
3812
|
-
};
|
|
3813
|
-
var googleListAdGroupCriteriaQueryKey = (options) => createQueryKey("googleListAdGroupCriteria", options);
|
|
3814
|
-
var googleListAdGroupCriteriaOptions = (options) => reactQuery.queryOptions({
|
|
3815
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3816
|
-
const { data } = await googleListAdGroupCriteria({
|
|
3817
|
-
...options,
|
|
3818
|
-
...queryKey[0],
|
|
3819
|
-
signal,
|
|
3820
|
-
throwOnError: true
|
|
3821
|
-
});
|
|
3822
|
-
return data;
|
|
3823
|
-
},
|
|
3824
|
-
queryKey: googleListAdGroupCriteriaQueryKey(options)
|
|
3825
|
-
});
|
|
3826
|
-
var googleCreateAdGroupCriterionMutation = (options) => {
|
|
3827
|
-
const mutationOptions = {
|
|
3828
|
-
mutationFn: async (fnOptions) => {
|
|
3829
|
-
const { data } = await googleCreateAdGroupCriterion({
|
|
3830
|
-
...options,
|
|
3831
|
-
...fnOptions,
|
|
3832
|
-
throwOnError: true
|
|
3833
|
-
});
|
|
3834
|
-
return data;
|
|
3835
|
-
}
|
|
3836
|
-
};
|
|
3837
|
-
return mutationOptions;
|
|
3838
|
-
};
|
|
3839
|
-
var googleRemoveAdGroupCriterionMutation = (options) => {
|
|
3840
|
-
const mutationOptions = {
|
|
3841
|
-
mutationFn: async (fnOptions) => {
|
|
3842
|
-
const { data } = await googleRemoveAdGroupCriterion({
|
|
3843
|
-
...options,
|
|
3844
|
-
...fnOptions,
|
|
3845
|
-
throwOnError: true
|
|
3846
|
-
});
|
|
3847
|
-
return data;
|
|
3848
|
-
}
|
|
3849
|
-
};
|
|
3850
|
-
return mutationOptions;
|
|
3851
|
-
};
|
|
3852
|
-
var googleListAudiencesQueryKey = (options) => createQueryKey("googleListAudiences", options);
|
|
3853
|
-
var googleListAudiencesOptions = (options) => reactQuery.queryOptions({
|
|
3854
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3855
|
-
const { data } = await googleListAudiences({
|
|
3856
|
-
...options,
|
|
3857
|
-
...queryKey[0],
|
|
3858
|
-
signal,
|
|
3859
|
-
throwOnError: true
|
|
3860
|
-
});
|
|
3861
|
-
return data;
|
|
3862
|
-
},
|
|
3863
|
-
queryKey: googleListAudiencesQueryKey(options)
|
|
3864
|
-
});
|
|
3865
|
-
var googleSetCampaignTargetingSettingMutation = (options) => {
|
|
3866
|
-
const mutationOptions = {
|
|
3867
|
-
mutationFn: async (fnOptions) => {
|
|
3868
|
-
const { data } = await googleSetCampaignTargetingSetting({
|
|
3869
|
-
...options,
|
|
3870
|
-
...fnOptions,
|
|
3871
|
-
throwOnError: true
|
|
3872
|
-
});
|
|
3873
|
-
return data;
|
|
3874
|
-
}
|
|
3875
|
-
};
|
|
3876
|
-
return mutationOptions;
|
|
3877
|
-
};
|
|
3878
|
-
var googleListAdsQueryKey = (options) => createQueryKey("googleListAds", options);
|
|
3879
|
-
var googleListAdsOptions = (options) => reactQuery.queryOptions({
|
|
3880
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3881
|
-
const { data } = await googleListAds({
|
|
3882
|
-
...options,
|
|
3883
|
-
...queryKey[0],
|
|
3884
|
-
signal,
|
|
3885
|
-
throwOnError: true
|
|
3886
|
-
});
|
|
3887
|
-
return data;
|
|
3888
|
-
},
|
|
3889
|
-
queryKey: googleListAdsQueryKey(options)
|
|
3890
|
-
});
|
|
3891
|
-
var googleCreateAdMutation = (options) => {
|
|
3892
|
-
const mutationOptions = {
|
|
3893
|
-
mutationFn: async (fnOptions) => {
|
|
3894
|
-
const { data } = await googleCreateAd({
|
|
3895
|
-
...options,
|
|
3896
|
-
...fnOptions,
|
|
3897
|
-
throwOnError: true
|
|
3898
|
-
});
|
|
3899
|
-
return data;
|
|
3900
|
-
}
|
|
3901
|
-
};
|
|
3902
|
-
return mutationOptions;
|
|
3903
|
-
};
|
|
3904
|
-
var googleGetAdQueryKey = (options) => createQueryKey("googleGetAd", options);
|
|
3905
|
-
var googleGetAdOptions = (options) => reactQuery.queryOptions({
|
|
3906
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3907
|
-
const { data } = await googleGetAd({
|
|
3908
|
-
...options,
|
|
3909
|
-
...queryKey[0],
|
|
3910
|
-
signal,
|
|
3911
|
-
throwOnError: true
|
|
3912
|
-
});
|
|
3913
|
-
return data;
|
|
3914
|
-
},
|
|
3915
|
-
queryKey: googleGetAdQueryKey(options)
|
|
3916
|
-
});
|
|
3917
|
-
var googleEditAdMutation = (options) => {
|
|
3918
|
-
const mutationOptions = {
|
|
3919
|
-
mutationFn: async (fnOptions) => {
|
|
3920
|
-
const { data } = await googleEditAd({
|
|
3921
|
-
...options,
|
|
3922
|
-
...fnOptions,
|
|
3923
|
-
throwOnError: true
|
|
3924
|
-
});
|
|
3925
|
-
return data;
|
|
3926
|
-
}
|
|
3927
|
-
};
|
|
3928
|
-
return mutationOptions;
|
|
3929
|
-
};
|
|
3930
|
-
var googleCreateDisplayAdMutation = (options) => {
|
|
3931
|
-
const mutationOptions = {
|
|
3932
|
-
mutationFn: async (fnOptions) => {
|
|
3933
|
-
const { data } = await googleCreateDisplayAd({
|
|
3934
|
-
...options,
|
|
3935
|
-
...fnOptions,
|
|
3936
|
-
throwOnError: true
|
|
3937
|
-
});
|
|
3938
|
-
return data;
|
|
3939
|
-
}
|
|
3940
|
-
};
|
|
3941
|
-
return mutationOptions;
|
|
3942
|
-
};
|
|
3943
|
-
var googleEditDisplayAdMutation = (options) => {
|
|
3944
|
-
const mutationOptions = {
|
|
3945
|
-
mutationFn: async (fnOptions) => {
|
|
3946
|
-
const { data } = await googleEditDisplayAd({
|
|
3947
|
-
...options,
|
|
3948
|
-
...fnOptions,
|
|
3949
|
-
throwOnError: true
|
|
3950
|
-
});
|
|
3951
|
-
return data;
|
|
3952
|
-
}
|
|
3953
|
-
};
|
|
3954
|
-
return mutationOptions;
|
|
3955
|
-
};
|
|
3956
|
-
var googleRemoveAdMutation = (options) => {
|
|
3957
|
-
const mutationOptions = {
|
|
3958
|
-
mutationFn: async (fnOptions) => {
|
|
3959
|
-
const { data } = await googleRemoveAd({
|
|
3960
|
-
...options,
|
|
3961
|
-
...fnOptions,
|
|
3962
|
-
throwOnError: true
|
|
3963
|
-
});
|
|
3964
|
-
return data;
|
|
3965
|
-
}
|
|
3966
|
-
};
|
|
3967
|
-
return mutationOptions;
|
|
3968
|
-
};
|
|
3969
|
-
var googlePauseAdMutation = (options) => {
|
|
3970
|
-
const mutationOptions = {
|
|
3971
|
-
mutationFn: async (fnOptions) => {
|
|
3972
|
-
const { data } = await googlePauseAd({
|
|
3973
|
-
...options,
|
|
3974
|
-
...fnOptions,
|
|
3975
|
-
throwOnError: true
|
|
3976
|
-
});
|
|
3977
|
-
return data;
|
|
3978
|
-
}
|
|
3979
|
-
};
|
|
3980
|
-
return mutationOptions;
|
|
3981
|
-
};
|
|
3982
|
-
var googleEnableAdMutation = (options) => {
|
|
3983
|
-
const mutationOptions = {
|
|
3984
|
-
mutationFn: async (fnOptions) => {
|
|
3985
|
-
const { data } = await googleEnableAd({
|
|
3986
|
-
...options,
|
|
3987
|
-
...fnOptions,
|
|
3988
|
-
throwOnError: true
|
|
3989
|
-
});
|
|
3990
|
-
return data;
|
|
3991
|
-
}
|
|
3992
|
-
};
|
|
3993
|
-
return mutationOptions;
|
|
3994
|
-
};
|
|
3995
|
-
var googleListKeywordsQueryKey = (options) => createQueryKey("googleListKeywords", options);
|
|
3996
|
-
var googleListKeywordsOptions = (options) => reactQuery.queryOptions({
|
|
3997
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3998
|
-
const { data } = await googleListKeywords({
|
|
3999
|
-
...options,
|
|
4000
|
-
...queryKey[0],
|
|
4001
|
-
signal,
|
|
4002
|
-
throwOnError: true
|
|
4003
|
-
});
|
|
4004
|
-
return data;
|
|
4005
|
-
},
|
|
4006
|
-
queryKey: googleListKeywordsQueryKey(options)
|
|
4007
|
-
});
|
|
4008
|
-
var googleCreateKeywordMutation = (options) => {
|
|
4009
|
-
const mutationOptions = {
|
|
4010
|
-
mutationFn: async (fnOptions) => {
|
|
4011
|
-
const { data } = await googleCreateKeyword({
|
|
4012
|
-
...options,
|
|
4013
|
-
...fnOptions,
|
|
4014
|
-
throwOnError: true
|
|
4015
|
-
});
|
|
4016
|
-
return data;
|
|
4017
|
-
}
|
|
4018
|
-
};
|
|
4019
|
-
return mutationOptions;
|
|
4020
|
-
};
|
|
4021
|
-
var googleGetKeywordQueryKey = (options) => createQueryKey("googleGetKeyword", options);
|
|
4022
|
-
var googleGetKeywordOptions = (options) => reactQuery.queryOptions({
|
|
4023
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
4024
|
-
const { data } = await googleGetKeyword({
|
|
4025
|
-
...options,
|
|
4026
|
-
...queryKey[0],
|
|
4027
|
-
signal,
|
|
4028
|
-
throwOnError: true
|
|
4029
|
-
});
|
|
4030
|
-
return data;
|
|
4031
|
-
},
|
|
4032
|
-
queryKey: googleGetKeywordQueryKey(options)
|
|
4033
|
-
});
|
|
4034
|
-
var googleSetKeywordBidMutation = (options) => {
|
|
4035
|
-
const mutationOptions = {
|
|
4036
|
-
mutationFn: async (fnOptions) => {
|
|
4037
|
-
const { data } = await googleSetKeywordBid({
|
|
4038
|
-
...options,
|
|
4039
|
-
...fnOptions,
|
|
4040
|
-
throwOnError: true
|
|
4041
|
-
});
|
|
4042
|
-
return data;
|
|
4043
|
-
}
|
|
4044
|
-
};
|
|
4045
|
-
return mutationOptions;
|
|
4046
|
-
};
|
|
4047
|
-
var googleRemoveKeywordMutation = (options) => {
|
|
4048
|
-
const mutationOptions = {
|
|
4049
|
-
mutationFn: async (fnOptions) => {
|
|
4050
|
-
const { data } = await googleRemoveKeyword({
|
|
4051
|
-
...options,
|
|
4052
|
-
...fnOptions,
|
|
4053
|
-
throwOnError: true
|
|
4054
|
-
});
|
|
4055
|
-
return data;
|
|
4056
|
-
}
|
|
4057
|
-
};
|
|
4058
|
-
return mutationOptions;
|
|
4059
|
-
};
|
|
4060
|
-
var googlePauseKeywordMutation = (options) => {
|
|
4061
|
-
const mutationOptions = {
|
|
4062
|
-
mutationFn: async (fnOptions) => {
|
|
4063
|
-
const { data } = await googlePauseKeyword({
|
|
4064
|
-
...options,
|
|
4065
|
-
...fnOptions,
|
|
4066
|
-
throwOnError: true
|
|
4067
|
-
});
|
|
4068
|
-
return data;
|
|
4069
|
-
}
|
|
4070
|
-
};
|
|
4071
|
-
return mutationOptions;
|
|
4072
|
-
};
|
|
4073
|
-
var googleEnableKeywordMutation = (options) => {
|
|
4074
|
-
const mutationOptions = {
|
|
4075
|
-
mutationFn: async (fnOptions) => {
|
|
4076
|
-
const { data } = await googleEnableKeyword({
|
|
4077
|
-
...options,
|
|
4078
|
-
...fnOptions,
|
|
4079
|
-
throwOnError: true
|
|
4080
|
-
});
|
|
4081
|
-
return data;
|
|
4082
|
-
}
|
|
4083
|
-
};
|
|
4084
|
-
return mutationOptions;
|
|
4085
|
-
};
|
|
4086
|
-
var googleListConversionActionsQueryKey = (options) => createQueryKey("googleListConversionActions", options);
|
|
4087
|
-
var googleListConversionActionsOptions = (options) => reactQuery.queryOptions({
|
|
4088
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
4089
|
-
const { data } = await googleListConversionActions({
|
|
4090
|
-
...options,
|
|
4091
|
-
...queryKey[0],
|
|
4092
|
-
signal,
|
|
4093
|
-
throwOnError: true
|
|
4094
|
-
});
|
|
4095
|
-
return data;
|
|
4096
|
-
},
|
|
4097
|
-
queryKey: googleListConversionActionsQueryKey(options)
|
|
4098
|
-
});
|
|
4099
|
-
var googleCreateConversionActionMutation = (options) => {
|
|
4100
|
-
const mutationOptions = {
|
|
4101
|
-
mutationFn: async (fnOptions) => {
|
|
4102
|
-
const { data } = await googleCreateConversionAction({
|
|
4103
|
-
...options,
|
|
4104
|
-
...fnOptions,
|
|
4105
|
-
throwOnError: true
|
|
4106
|
-
});
|
|
4107
|
-
return data;
|
|
4108
|
-
}
|
|
4109
|
-
};
|
|
4110
|
-
return mutationOptions;
|
|
4111
|
-
};
|
|
4112
|
-
var googleGetConversionActionQueryKey = (options) => createQueryKey("googleGetConversionAction", options);
|
|
4113
|
-
var googleGetConversionActionOptions = (options) => reactQuery.queryOptions({
|
|
4114
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
4115
|
-
const { data } = await googleGetConversionAction({
|
|
4116
|
-
...options,
|
|
4117
|
-
...queryKey[0],
|
|
4118
|
-
signal,
|
|
4119
|
-
throwOnError: true
|
|
4120
|
-
});
|
|
4121
|
-
return data;
|
|
4122
|
-
},
|
|
4123
|
-
queryKey: googleGetConversionActionQueryKey(options)
|
|
4124
|
-
});
|
|
4125
|
-
var googleUpdateConversionActionMutation = (options) => {
|
|
4126
|
-
const mutationOptions = {
|
|
4127
|
-
mutationFn: async (fnOptions) => {
|
|
4128
|
-
const { data } = await googleUpdateConversionAction({
|
|
4129
|
-
...options,
|
|
4130
|
-
...fnOptions,
|
|
4131
|
-
throwOnError: true
|
|
4132
|
-
});
|
|
4133
|
-
return data;
|
|
4134
|
-
}
|
|
4135
|
-
};
|
|
4136
|
-
return mutationOptions;
|
|
4137
|
-
};
|
|
4138
|
-
var googleRemoveConversionActionMutation = (options) => {
|
|
4139
|
-
const mutationOptions = {
|
|
4140
|
-
mutationFn: async (fnOptions) => {
|
|
4141
|
-
const { data } = await googleRemoveConversionAction({
|
|
4142
|
-
...options,
|
|
4143
|
-
...fnOptions,
|
|
4144
|
-
throwOnError: true
|
|
4145
|
-
});
|
|
4146
|
-
return data;
|
|
4147
|
-
}
|
|
4148
|
-
};
|
|
4149
|
-
return mutationOptions;
|
|
4150
|
-
};
|
|
4151
|
-
var googleSendConversionsMutation = (options) => {
|
|
4152
|
-
const mutationOptions = {
|
|
4153
|
-
mutationFn: async (fnOptions) => {
|
|
4154
|
-
const { data } = await googleSendConversions({
|
|
4155
|
-
...options,
|
|
4156
|
-
...fnOptions,
|
|
4157
|
-
throwOnError: true
|
|
4158
|
-
});
|
|
4159
|
-
return data;
|
|
4160
|
-
}
|
|
4161
|
-
};
|
|
4162
|
-
return mutationOptions;
|
|
1348
|
+
var createInfiniteParams = (queryKey, page) => {
|
|
1349
|
+
const params = { ...queryKey[0] };
|
|
1350
|
+
if (page.body) {
|
|
1351
|
+
params.body = {
|
|
1352
|
+
...queryKey[0].body,
|
|
1353
|
+
...page.body
|
|
1354
|
+
};
|
|
1355
|
+
}
|
|
1356
|
+
if (page.headers) {
|
|
1357
|
+
params.headers = {
|
|
1358
|
+
...queryKey[0].headers,
|
|
1359
|
+
...page.headers
|
|
1360
|
+
};
|
|
1361
|
+
}
|
|
1362
|
+
if (page.path) {
|
|
1363
|
+
params.path = {
|
|
1364
|
+
...queryKey[0].path,
|
|
1365
|
+
...page.path
|
|
1366
|
+
};
|
|
1367
|
+
}
|
|
1368
|
+
if (page.query) {
|
|
1369
|
+
params.query = {
|
|
1370
|
+
...queryKey[0].query,
|
|
1371
|
+
...page.query
|
|
1372
|
+
};
|
|
1373
|
+
}
|
|
1374
|
+
return params;
|
|
4163
1375
|
};
|
|
4164
|
-
var
|
|
4165
|
-
var
|
|
4166
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
4167
|
-
const { data } = await googleGetConversionStatus({
|
|
4168
|
-
...options,
|
|
4169
|
-
...queryKey[0],
|
|
4170
|
-
signal,
|
|
4171
|
-
throwOnError: true
|
|
4172
|
-
});
|
|
4173
|
-
return data;
|
|
4174
|
-
},
|
|
4175
|
-
queryKey: googleGetConversionStatusQueryKey(options)
|
|
4176
|
-
});
|
|
4177
|
-
var googleListConversionRequestsQueryKey = (options) => createQueryKey("googleListConversionRequests", options);
|
|
4178
|
-
var googleListConversionRequestsOptions = (options) => reactQuery.queryOptions({
|
|
4179
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
4180
|
-
const { data } = await googleListConversionRequests({
|
|
4181
|
-
...options,
|
|
4182
|
-
...queryKey[0],
|
|
4183
|
-
signal,
|
|
4184
|
-
throwOnError: true
|
|
4185
|
-
});
|
|
4186
|
-
return data;
|
|
4187
|
-
},
|
|
4188
|
-
queryKey: googleListConversionRequestsQueryKey(options)
|
|
4189
|
-
});
|
|
4190
|
-
var googleListConversionRequestsInfiniteQueryKey = (options) => createQueryKey("googleListConversionRequests", options, true);
|
|
4191
|
-
var googleListConversionRequestsInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
1376
|
+
var profilesListInfiniteQueryKey = (options) => createQueryKey("profilesList", options, true);
|
|
1377
|
+
var profilesListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
4192
1378
|
// @ts-ignore
|
|
4193
1379
|
{
|
|
4194
1380
|
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
@@ -4198,177 +1384,21 @@ var googleListConversionRequestsInfiniteOptions = (options) => reactQuery.infini
|
|
|
4198
1384
|
}
|
|
4199
1385
|
};
|
|
4200
1386
|
const params = createInfiniteParams(queryKey, page);
|
|
4201
|
-
const { data } = await
|
|
1387
|
+
const { data } = await profilesList({
|
|
4202
1388
|
...options,
|
|
4203
1389
|
...params,
|
|
4204
1390
|
signal,
|
|
4205
1391
|
throwOnError: true
|
|
4206
1392
|
});
|
|
4207
|
-
return data;
|
|
4208
|
-
},
|
|
4209
|
-
queryKey:
|
|
4210
|
-
}
|
|
4211
|
-
);
|
|
4212
|
-
var
|
|
4213
|
-
var googleListConversionGoalsOptions = (options) => reactQuery.queryOptions({
|
|
4214
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
4215
|
-
const { data } = await googleListConversionGoals({
|
|
4216
|
-
...options,
|
|
4217
|
-
...queryKey[0],
|
|
4218
|
-
signal,
|
|
4219
|
-
throwOnError: true
|
|
4220
|
-
});
|
|
4221
|
-
return data;
|
|
4222
|
-
},
|
|
4223
|
-
queryKey: googleListConversionGoalsQueryKey(options)
|
|
4224
|
-
});
|
|
4225
|
-
var googleSetConversionGoalMutation = (options) => {
|
|
4226
|
-
const mutationOptions = {
|
|
4227
|
-
mutationFn: async (fnOptions) => {
|
|
4228
|
-
const { data } = await googleSetConversionGoal({
|
|
4229
|
-
...options,
|
|
4230
|
-
...fnOptions,
|
|
4231
|
-
throwOnError: true
|
|
4232
|
-
});
|
|
4233
|
-
return data;
|
|
4234
|
-
}
|
|
4235
|
-
};
|
|
4236
|
-
return mutationOptions;
|
|
4237
|
-
};
|
|
4238
|
-
var googleUploadImageAssetMutation = (options) => {
|
|
4239
|
-
const mutationOptions = {
|
|
4240
|
-
mutationFn: async (fnOptions) => {
|
|
4241
|
-
const { data } = await googleUploadImageAsset({
|
|
4242
|
-
...options,
|
|
4243
|
-
...fnOptions,
|
|
4244
|
-
throwOnError: true
|
|
4245
|
-
});
|
|
4246
|
-
return data;
|
|
4247
|
-
}
|
|
4248
|
-
};
|
|
4249
|
-
return mutationOptions;
|
|
4250
|
-
};
|
|
4251
|
-
var googleUploadYoutubeVideoAssetMutation = (options) => {
|
|
4252
|
-
const mutationOptions = {
|
|
4253
|
-
mutationFn: async (fnOptions) => {
|
|
4254
|
-
const { data } = await googleUploadYoutubeVideoAsset({
|
|
4255
|
-
...options,
|
|
4256
|
-
...fnOptions,
|
|
4257
|
-
throwOnError: true
|
|
4258
|
-
});
|
|
4259
|
-
return data;
|
|
4260
|
-
}
|
|
4261
|
-
};
|
|
4262
|
-
return mutationOptions;
|
|
4263
|
-
};
|
|
4264
|
-
var googleListAssetGroupsQueryKey = (options) => createQueryKey("googleListAssetGroups", options);
|
|
4265
|
-
var googleListAssetGroupsOptions = (options) => reactQuery.queryOptions({
|
|
4266
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
4267
|
-
const { data } = await googleListAssetGroups({
|
|
4268
|
-
...options,
|
|
4269
|
-
...queryKey[0],
|
|
4270
|
-
signal,
|
|
4271
|
-
throwOnError: true
|
|
4272
|
-
});
|
|
4273
|
-
return data;
|
|
4274
|
-
},
|
|
4275
|
-
queryKey: googleListAssetGroupsQueryKey(options)
|
|
4276
|
-
});
|
|
4277
|
-
var googleGetAssetGroupQueryKey = (options) => createQueryKey("googleGetAssetGroup", options);
|
|
4278
|
-
var googleGetAssetGroupOptions = (options) => reactQuery.queryOptions({
|
|
4279
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
4280
|
-
const { data } = await googleGetAssetGroup({
|
|
4281
|
-
...options,
|
|
4282
|
-
...queryKey[0],
|
|
4283
|
-
signal,
|
|
4284
|
-
throwOnError: true
|
|
4285
|
-
});
|
|
4286
|
-
return data;
|
|
4287
|
-
},
|
|
4288
|
-
queryKey: googleGetAssetGroupQueryKey(options)
|
|
4289
|
-
});
|
|
4290
|
-
var googleEditAssetGroupMutation = (options) => {
|
|
4291
|
-
const mutationOptions = {
|
|
4292
|
-
mutationFn: async (fnOptions) => {
|
|
4293
|
-
const { data } = await googleEditAssetGroup({
|
|
4294
|
-
...options,
|
|
4295
|
-
...fnOptions,
|
|
4296
|
-
throwOnError: true
|
|
4297
|
-
});
|
|
4298
|
-
return data;
|
|
4299
|
-
}
|
|
4300
|
-
};
|
|
4301
|
-
return mutationOptions;
|
|
4302
|
-
};
|
|
4303
|
-
var googleCreateAssetGroupMutation = (options) => {
|
|
4304
|
-
const mutationOptions = {
|
|
4305
|
-
mutationFn: async (fnOptions) => {
|
|
4306
|
-
const { data } = await googleCreateAssetGroup({
|
|
4307
|
-
...options,
|
|
4308
|
-
...fnOptions,
|
|
4309
|
-
throwOnError: true
|
|
4310
|
-
});
|
|
4311
|
-
return data;
|
|
4312
|
-
}
|
|
4313
|
-
};
|
|
4314
|
-
return mutationOptions;
|
|
4315
|
-
};
|
|
4316
|
-
var googlePauseAssetGroupMutation = (options) => {
|
|
4317
|
-
const mutationOptions = {
|
|
4318
|
-
mutationFn: async (fnOptions) => {
|
|
4319
|
-
const { data } = await googlePauseAssetGroup({
|
|
4320
|
-
...options,
|
|
4321
|
-
...fnOptions,
|
|
4322
|
-
throwOnError: true
|
|
4323
|
-
});
|
|
4324
|
-
return data;
|
|
4325
|
-
}
|
|
4326
|
-
};
|
|
4327
|
-
return mutationOptions;
|
|
4328
|
-
};
|
|
4329
|
-
var googleEnableAssetGroupMutation = (options) => {
|
|
4330
|
-
const mutationOptions = {
|
|
4331
|
-
mutationFn: async (fnOptions) => {
|
|
4332
|
-
const { data } = await googleEnableAssetGroup({
|
|
4333
|
-
...options,
|
|
4334
|
-
...fnOptions,
|
|
4335
|
-
throwOnError: true
|
|
4336
|
-
});
|
|
4337
|
-
return data;
|
|
4338
|
-
}
|
|
4339
|
-
};
|
|
4340
|
-
return mutationOptions;
|
|
4341
|
-
};
|
|
4342
|
-
var googleRemoveAssetGroupMutation = (options) => {
|
|
4343
|
-
const mutationOptions = {
|
|
4344
|
-
mutationFn: async (fnOptions) => {
|
|
4345
|
-
const { data } = await googleRemoveAssetGroup({
|
|
4346
|
-
...options,
|
|
4347
|
-
...fnOptions,
|
|
4348
|
-
throwOnError: true
|
|
4349
|
-
});
|
|
4350
|
-
return data;
|
|
4351
|
-
}
|
|
4352
|
-
};
|
|
4353
|
-
return mutationOptions;
|
|
4354
|
-
};
|
|
4355
|
-
var googleListAssetGroupAssetsQueryKey = (options) => createQueryKey("googleListAssetGroupAssets", options);
|
|
4356
|
-
var googleListAssetGroupAssetsOptions = (options) => reactQuery.queryOptions({
|
|
4357
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
4358
|
-
const { data } = await googleListAssetGroupAssets({
|
|
4359
|
-
...options,
|
|
4360
|
-
...queryKey[0],
|
|
4361
|
-
signal,
|
|
4362
|
-
throwOnError: true
|
|
4363
|
-
});
|
|
4364
|
-
return data;
|
|
4365
|
-
},
|
|
4366
|
-
queryKey: googleListAssetGroupAssetsQueryKey(options)
|
|
4367
|
-
});
|
|
4368
|
-
var googleAttachAssetGroupAssetMutation = (options) => {
|
|
1393
|
+
return data;
|
|
1394
|
+
},
|
|
1395
|
+
queryKey: profilesListInfiniteQueryKey(options)
|
|
1396
|
+
}
|
|
1397
|
+
);
|
|
1398
|
+
var profilesCreateMutation = (options) => {
|
|
4369
1399
|
const mutationOptions = {
|
|
4370
1400
|
mutationFn: async (fnOptions) => {
|
|
4371
|
-
const { data } = await
|
|
1401
|
+
const { data } = await profilesCreate({
|
|
4372
1402
|
...options,
|
|
4373
1403
|
...fnOptions,
|
|
4374
1404
|
throwOnError: true
|
|
@@ -4378,10 +1408,10 @@ var googleAttachAssetGroupAssetMutation = (options) => {
|
|
|
4378
1408
|
};
|
|
4379
1409
|
return mutationOptions;
|
|
4380
1410
|
};
|
|
4381
|
-
var
|
|
1411
|
+
var profilesDeleteMutation = (options) => {
|
|
4382
1412
|
const mutationOptions = {
|
|
4383
1413
|
mutationFn: async (fnOptions) => {
|
|
4384
|
-
const { data } = await
|
|
1414
|
+
const { data } = await profilesDelete({
|
|
4385
1415
|
...options,
|
|
4386
1416
|
...fnOptions,
|
|
4387
1417
|
throwOnError: true
|
|
@@ -4391,10 +1421,10 @@ var googleRemoveAssetGroupAssetMutation = (options) => {
|
|
|
4391
1421
|
};
|
|
4392
1422
|
return mutationOptions;
|
|
4393
1423
|
};
|
|
4394
|
-
var
|
|
4395
|
-
var
|
|
1424
|
+
var profilesGetQueryKey = (options) => createQueryKey("profilesGet", options);
|
|
1425
|
+
var profilesGetOptions = (options) => reactQuery.queryOptions({
|
|
4396
1426
|
queryFn: async ({ queryKey, signal }) => {
|
|
4397
|
-
const { data } = await
|
|
1427
|
+
const { data } = await profilesGet({
|
|
4398
1428
|
...options,
|
|
4399
1429
|
...queryKey[0],
|
|
4400
1430
|
signal,
|
|
@@ -4402,12 +1432,12 @@ var googleListAssetGroupSignalsOptions = (options) => reactQuery.queryOptions({
|
|
|
4402
1432
|
});
|
|
4403
1433
|
return data;
|
|
4404
1434
|
},
|
|
4405
|
-
queryKey:
|
|
1435
|
+
queryKey: profilesGetQueryKey(options)
|
|
4406
1436
|
});
|
|
4407
|
-
var
|
|
1437
|
+
var profilesUpdateMutation = (options) => {
|
|
4408
1438
|
const mutationOptions = {
|
|
4409
1439
|
mutationFn: async (fnOptions) => {
|
|
4410
|
-
const { data } = await
|
|
1440
|
+
const { data } = await profilesUpdate({
|
|
4411
1441
|
...options,
|
|
4412
1442
|
...fnOptions,
|
|
4413
1443
|
throwOnError: true
|
|
@@ -4417,23 +1447,45 @@ var googleCreateAssetGroupSignalMutation = (options) => {
|
|
|
4417
1447
|
};
|
|
4418
1448
|
return mutationOptions;
|
|
4419
1449
|
};
|
|
4420
|
-
var
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
1450
|
+
var connectionsListByProfileQueryKey = (options) => createQueryKey("connectionsListByProfile", options);
|
|
1451
|
+
var connectionsListByProfileOptions = (options) => reactQuery.queryOptions({
|
|
1452
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1453
|
+
const { data } = await connectionsListByProfile({
|
|
1454
|
+
...options,
|
|
1455
|
+
...queryKey[0],
|
|
1456
|
+
signal,
|
|
1457
|
+
throwOnError: true
|
|
1458
|
+
});
|
|
1459
|
+
return data;
|
|
1460
|
+
},
|
|
1461
|
+
queryKey: connectionsListByProfileQueryKey(options)
|
|
1462
|
+
});
|
|
1463
|
+
var connectionsListByProfileInfiniteQueryKey = (options) => createQueryKey("connectionsListByProfile", options, true);
|
|
1464
|
+
var connectionsListByProfileInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
1465
|
+
// @ts-ignore
|
|
1466
|
+
{
|
|
1467
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
1468
|
+
const page = typeof pageParam === "object" ? pageParam : {
|
|
1469
|
+
query: {
|
|
1470
|
+
offset: pageParam
|
|
1471
|
+
}
|
|
1472
|
+
};
|
|
1473
|
+
const params = createInfiniteParams(queryKey, page);
|
|
1474
|
+
const { data } = await connectionsListByProfile({
|
|
4424
1475
|
...options,
|
|
4425
|
-
...
|
|
1476
|
+
...params,
|
|
1477
|
+
signal,
|
|
4426
1478
|
throwOnError: true
|
|
4427
1479
|
});
|
|
4428
1480
|
return data;
|
|
4429
|
-
}
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
var
|
|
1481
|
+
},
|
|
1482
|
+
queryKey: connectionsListByProfileInfiniteQueryKey(options)
|
|
1483
|
+
}
|
|
1484
|
+
);
|
|
1485
|
+
var connectionsDeleteMutation = (options) => {
|
|
4434
1486
|
const mutationOptions = {
|
|
4435
1487
|
mutationFn: async (fnOptions) => {
|
|
4436
|
-
const { data } = await
|
|
1488
|
+
const { data } = await connectionsDelete({
|
|
4437
1489
|
...options,
|
|
4438
1490
|
...fnOptions,
|
|
4439
1491
|
throwOnError: true
|
|
@@ -4443,23 +1495,10 @@ var googleCreatePerformanceMaxMutation = (options) => {
|
|
|
4443
1495
|
};
|
|
4444
1496
|
return mutationOptions;
|
|
4445
1497
|
};
|
|
4446
|
-
var
|
|
4447
|
-
var
|
|
4448
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
4449
|
-
const { data } = await tiktokCreatorInfo({
|
|
4450
|
-
...options,
|
|
4451
|
-
...queryKey[0],
|
|
4452
|
-
signal,
|
|
4453
|
-
throwOnError: true
|
|
4454
|
-
});
|
|
4455
|
-
return data;
|
|
4456
|
-
},
|
|
4457
|
-
queryKey: tiktokCreatorInfoQueryKey(options)
|
|
4458
|
-
});
|
|
4459
|
-
var tiktokAdsListAdvertisersQueryKey = (options) => createQueryKey("tiktokAdsListAdvertisers", options);
|
|
4460
|
-
var tiktokAdsListAdvertisersOptions = (options) => reactQuery.queryOptions({
|
|
1498
|
+
var connectionsGetQueryKey = (options) => createQueryKey("connectionsGet", options);
|
|
1499
|
+
var connectionsGetOptions = (options) => reactQuery.queryOptions({
|
|
4461
1500
|
queryFn: async ({ queryKey, signal }) => {
|
|
4462
|
-
const { data } = await
|
|
1501
|
+
const { data } = await connectionsGet({
|
|
4463
1502
|
...options,
|
|
4464
1503
|
...queryKey[0],
|
|
4465
1504
|
signal,
|
|
@@ -4467,12 +1506,25 @@ var tiktokAdsListAdvertisersOptions = (options) => reactQuery.queryOptions({
|
|
|
4467
1506
|
});
|
|
4468
1507
|
return data;
|
|
4469
1508
|
},
|
|
4470
|
-
queryKey:
|
|
1509
|
+
queryKey: connectionsGetQueryKey(options)
|
|
4471
1510
|
});
|
|
4472
|
-
var
|
|
4473
|
-
|
|
1511
|
+
var connectionsSelectMutation = (options) => {
|
|
1512
|
+
const mutationOptions = {
|
|
1513
|
+
mutationFn: async (fnOptions) => {
|
|
1514
|
+
const { data } = await connectionsSelect({
|
|
1515
|
+
...options,
|
|
1516
|
+
...fnOptions,
|
|
1517
|
+
throwOnError: true
|
|
1518
|
+
});
|
|
1519
|
+
return data;
|
|
1520
|
+
}
|
|
1521
|
+
};
|
|
1522
|
+
return mutationOptions;
|
|
1523
|
+
};
|
|
1524
|
+
var connectionsListAccountsQueryKey = (options) => createQueryKey("connectionsListAccounts", options);
|
|
1525
|
+
var connectionsListAccountsOptions = (options) => reactQuery.queryOptions({
|
|
4474
1526
|
queryFn: async ({ queryKey, signal }) => {
|
|
4475
|
-
const { data } = await
|
|
1527
|
+
const { data } = await connectionsListAccounts({
|
|
4476
1528
|
...options,
|
|
4477
1529
|
...queryKey[0],
|
|
4478
1530
|
signal,
|
|
@@ -4480,12 +1532,25 @@ var tiktokAdsListBusinessCentersOptions = (options) => reactQuery.queryOptions({
|
|
|
4480
1532
|
});
|
|
4481
1533
|
return data;
|
|
4482
1534
|
},
|
|
4483
|
-
queryKey:
|
|
1535
|
+
queryKey: connectionsListAccountsQueryKey(options)
|
|
4484
1536
|
});
|
|
4485
|
-
var
|
|
4486
|
-
|
|
1537
|
+
var connectionsConnectMutation = (options) => {
|
|
1538
|
+
const mutationOptions = {
|
|
1539
|
+
mutationFn: async (fnOptions) => {
|
|
1540
|
+
const { data } = await connectionsConnect({
|
|
1541
|
+
...options,
|
|
1542
|
+
...fnOptions,
|
|
1543
|
+
throwOnError: true
|
|
1544
|
+
});
|
|
1545
|
+
return data;
|
|
1546
|
+
}
|
|
1547
|
+
};
|
|
1548
|
+
return mutationOptions;
|
|
1549
|
+
};
|
|
1550
|
+
var mediaListQueryKey = (options) => createQueryKey("mediaList", options);
|
|
1551
|
+
var mediaListOptions = (options) => reactQuery.queryOptions({
|
|
4487
1552
|
queryFn: async ({ queryKey, signal }) => {
|
|
4488
|
-
const { data } = await
|
|
1553
|
+
const { data } = await mediaList({
|
|
4489
1554
|
...options,
|
|
4490
1555
|
...queryKey[0],
|
|
4491
1556
|
signal,
|
|
@@ -4493,10 +1558,10 @@ var tiktokAdsListCampaignsOptions = (options) => reactQuery.queryOptions({
|
|
|
4493
1558
|
});
|
|
4494
1559
|
return data;
|
|
4495
1560
|
},
|
|
4496
|
-
queryKey:
|
|
1561
|
+
queryKey: mediaListQueryKey(options)
|
|
4497
1562
|
});
|
|
4498
|
-
var
|
|
4499
|
-
var
|
|
1563
|
+
var mediaListInfiniteQueryKey = (options) => createQueryKey("mediaList", options, true);
|
|
1564
|
+
var mediaListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
4500
1565
|
// @ts-ignore
|
|
4501
1566
|
{
|
|
4502
1567
|
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
@@ -4506,7 +1571,7 @@ var tiktokAdsListCampaignsInfiniteOptions = (options) => reactQuery.infiniteQuer
|
|
|
4506
1571
|
}
|
|
4507
1572
|
};
|
|
4508
1573
|
const params = createInfiniteParams(queryKey, page);
|
|
4509
|
-
const { data } = await
|
|
1574
|
+
const { data } = await mediaList({
|
|
4510
1575
|
...options,
|
|
4511
1576
|
...params,
|
|
4512
1577
|
signal,
|
|
@@ -4514,39 +1579,13 @@ var tiktokAdsListCampaignsInfiniteOptions = (options) => reactQuery.infiniteQuer
|
|
|
4514
1579
|
});
|
|
4515
1580
|
return data;
|
|
4516
1581
|
},
|
|
4517
|
-
queryKey:
|
|
1582
|
+
queryKey: mediaListInfiniteQueryKey(options)
|
|
4518
1583
|
}
|
|
4519
1584
|
);
|
|
4520
|
-
var
|
|
4521
|
-
const mutationOptions = {
|
|
4522
|
-
mutationFn: async (fnOptions) => {
|
|
4523
|
-
const { data } = await tiktokAdsCreateCampaign({
|
|
4524
|
-
...options,
|
|
4525
|
-
...fnOptions,
|
|
4526
|
-
throwOnError: true
|
|
4527
|
-
});
|
|
4528
|
-
return data;
|
|
4529
|
-
}
|
|
4530
|
-
};
|
|
4531
|
-
return mutationOptions;
|
|
4532
|
-
};
|
|
4533
|
-
var tiktokAdsUpdateCampaignStatusMutation = (options) => {
|
|
4534
|
-
const mutationOptions = {
|
|
4535
|
-
mutationFn: async (fnOptions) => {
|
|
4536
|
-
const { data } = await tiktokAdsUpdateCampaignStatus({
|
|
4537
|
-
...options,
|
|
4538
|
-
...fnOptions,
|
|
4539
|
-
throwOnError: true
|
|
4540
|
-
});
|
|
4541
|
-
return data;
|
|
4542
|
-
}
|
|
4543
|
-
};
|
|
4544
|
-
return mutationOptions;
|
|
4545
|
-
};
|
|
4546
|
-
var tiktokAdsUpdateCampaignBudgetMutation = (options) => {
|
|
1585
|
+
var mediaCreateMutation = (options) => {
|
|
4547
1586
|
const mutationOptions = {
|
|
4548
1587
|
mutationFn: async (fnOptions) => {
|
|
4549
|
-
const { data } = await
|
|
1588
|
+
const { data } = await mediaCreate({
|
|
4550
1589
|
...options,
|
|
4551
1590
|
...fnOptions,
|
|
4552
1591
|
throwOnError: true
|
|
@@ -4556,10 +1595,10 @@ var tiktokAdsUpdateCampaignBudgetMutation = (options) => {
|
|
|
4556
1595
|
};
|
|
4557
1596
|
return mutationOptions;
|
|
4558
1597
|
};
|
|
4559
|
-
var
|
|
1598
|
+
var mediaDeleteMutation = (options) => {
|
|
4560
1599
|
const mutationOptions = {
|
|
4561
1600
|
mutationFn: async (fnOptions) => {
|
|
4562
|
-
const { data } = await
|
|
1601
|
+
const { data } = await mediaDelete({
|
|
4563
1602
|
...options,
|
|
4564
1603
|
...fnOptions,
|
|
4565
1604
|
throwOnError: true
|
|
@@ -4569,10 +1608,10 @@ var tiktokAdsRemoveCampaignMutation = (options) => {
|
|
|
4569
1608
|
};
|
|
4570
1609
|
return mutationOptions;
|
|
4571
1610
|
};
|
|
4572
|
-
var
|
|
4573
|
-
var
|
|
1611
|
+
var mediaGetQueryKey = (options) => createQueryKey("mediaGet", options);
|
|
1612
|
+
var mediaGetOptions = (options) => reactQuery.queryOptions({
|
|
4574
1613
|
queryFn: async ({ queryKey, signal }) => {
|
|
4575
|
-
const { data } = await
|
|
1614
|
+
const { data } = await mediaGet({
|
|
4576
1615
|
...options,
|
|
4577
1616
|
...queryKey[0],
|
|
4578
1617
|
signal,
|
|
@@ -4580,34 +1619,12 @@ var tiktokAdsListAdGroupsOptions = (options) => reactQuery.queryOptions({
|
|
|
4580
1619
|
});
|
|
4581
1620
|
return data;
|
|
4582
1621
|
},
|
|
4583
|
-
queryKey:
|
|
1622
|
+
queryKey: mediaGetQueryKey(options)
|
|
4584
1623
|
});
|
|
4585
|
-
var
|
|
4586
|
-
var tiktokAdsListAdGroupsInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
4587
|
-
// @ts-ignore
|
|
4588
|
-
{
|
|
4589
|
-
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
4590
|
-
const page = typeof pageParam === "object" ? pageParam : {
|
|
4591
|
-
query: {
|
|
4592
|
-
offset: pageParam
|
|
4593
|
-
}
|
|
4594
|
-
};
|
|
4595
|
-
const params = createInfiniteParams(queryKey, page);
|
|
4596
|
-
const { data } = await tiktokAdsListAdGroups({
|
|
4597
|
-
...options,
|
|
4598
|
-
...params,
|
|
4599
|
-
signal,
|
|
4600
|
-
throwOnError: true
|
|
4601
|
-
});
|
|
4602
|
-
return data;
|
|
4603
|
-
},
|
|
4604
|
-
queryKey: tiktokAdsListAdGroupsInfiniteQueryKey(options)
|
|
4605
|
-
}
|
|
4606
|
-
);
|
|
4607
|
-
var tiktokAdsCreateAdGroupMutation = (options) => {
|
|
1624
|
+
var mediaUpdateMutation = (options) => {
|
|
4608
1625
|
const mutationOptions = {
|
|
4609
1626
|
mutationFn: async (fnOptions) => {
|
|
4610
|
-
const { data } = await
|
|
1627
|
+
const { data } = await mediaUpdate({
|
|
4611
1628
|
...options,
|
|
4612
1629
|
...fnOptions,
|
|
4613
1630
|
throwOnError: true
|
|
@@ -4617,10 +1634,10 @@ var tiktokAdsCreateAdGroupMutation = (options) => {
|
|
|
4617
1634
|
};
|
|
4618
1635
|
return mutationOptions;
|
|
4619
1636
|
};
|
|
4620
|
-
var
|
|
1637
|
+
var mediaSignPartMutation = (options) => {
|
|
4621
1638
|
const mutationOptions = {
|
|
4622
1639
|
mutationFn: async (fnOptions) => {
|
|
4623
|
-
const { data } = await
|
|
1640
|
+
const { data } = await mediaSignPart({
|
|
4624
1641
|
...options,
|
|
4625
1642
|
...fnOptions,
|
|
4626
1643
|
throwOnError: true
|
|
@@ -4630,10 +1647,23 @@ var tiktokAdsUpdateAdGroupStatusMutation = (options) => {
|
|
|
4630
1647
|
};
|
|
4631
1648
|
return mutationOptions;
|
|
4632
1649
|
};
|
|
4633
|
-
var
|
|
1650
|
+
var mediaListPartsQueryKey = (options) => createQueryKey("mediaListParts", options);
|
|
1651
|
+
var mediaListPartsOptions = (options) => reactQuery.queryOptions({
|
|
1652
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1653
|
+
const { data } = await mediaListParts({
|
|
1654
|
+
...options,
|
|
1655
|
+
...queryKey[0],
|
|
1656
|
+
signal,
|
|
1657
|
+
throwOnError: true
|
|
1658
|
+
});
|
|
1659
|
+
return data;
|
|
1660
|
+
},
|
|
1661
|
+
queryKey: mediaListPartsQueryKey(options)
|
|
1662
|
+
});
|
|
1663
|
+
var mediaCompleteMutation = (options) => {
|
|
4634
1664
|
const mutationOptions = {
|
|
4635
1665
|
mutationFn: async (fnOptions) => {
|
|
4636
|
-
const { data } = await
|
|
1666
|
+
const { data } = await mediaComplete({
|
|
4637
1667
|
...options,
|
|
4638
1668
|
...fnOptions,
|
|
4639
1669
|
throwOnError: true
|
|
@@ -4643,10 +1673,10 @@ var tiktokAdsUpdateAdGroupBudgetMutation = (options) => {
|
|
|
4643
1673
|
};
|
|
4644
1674
|
return mutationOptions;
|
|
4645
1675
|
};
|
|
4646
|
-
var
|
|
1676
|
+
var mediaAbortMutation = (options) => {
|
|
4647
1677
|
const mutationOptions = {
|
|
4648
1678
|
mutationFn: async (fnOptions) => {
|
|
4649
|
-
const { data } = await
|
|
1679
|
+
const { data } = await mediaAbort({
|
|
4650
1680
|
...options,
|
|
4651
1681
|
...fnOptions,
|
|
4652
1682
|
throwOnError: true
|
|
@@ -4656,10 +1686,10 @@ var tiktokAdsRemoveAdGroupMutation = (options) => {
|
|
|
4656
1686
|
};
|
|
4657
1687
|
return mutationOptions;
|
|
4658
1688
|
};
|
|
4659
|
-
var
|
|
4660
|
-
var
|
|
1689
|
+
var postsListQueryKey = (options) => createQueryKey("postsList", options);
|
|
1690
|
+
var postsListOptions = (options) => reactQuery.queryOptions({
|
|
4661
1691
|
queryFn: async ({ queryKey, signal }) => {
|
|
4662
|
-
const { data } = await
|
|
1692
|
+
const { data } = await postsList({
|
|
4663
1693
|
...options,
|
|
4664
1694
|
...queryKey[0],
|
|
4665
1695
|
signal,
|
|
@@ -4667,10 +1697,10 @@ var tiktokAdsListAdsOptions = (options) => reactQuery.queryOptions({
|
|
|
4667
1697
|
});
|
|
4668
1698
|
return data;
|
|
4669
1699
|
},
|
|
4670
|
-
queryKey:
|
|
1700
|
+
queryKey: postsListQueryKey(options)
|
|
4671
1701
|
});
|
|
4672
|
-
var
|
|
4673
|
-
var
|
|
1702
|
+
var postsListInfiniteQueryKey = (options) => createQueryKey("postsList", options, true);
|
|
1703
|
+
var postsListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
4674
1704
|
// @ts-ignore
|
|
4675
1705
|
{
|
|
4676
1706
|
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
@@ -4680,7 +1710,7 @@ var tiktokAdsListAdsInfiniteOptions = (options) => reactQuery.infiniteQueryOptio
|
|
|
4680
1710
|
}
|
|
4681
1711
|
};
|
|
4682
1712
|
const params = createInfiniteParams(queryKey, page);
|
|
4683
|
-
const { data } = await
|
|
1713
|
+
const { data } = await postsList({
|
|
4684
1714
|
...options,
|
|
4685
1715
|
...params,
|
|
4686
1716
|
signal,
|
|
@@ -4688,13 +1718,13 @@ var tiktokAdsListAdsInfiniteOptions = (options) => reactQuery.infiniteQueryOptio
|
|
|
4688
1718
|
});
|
|
4689
1719
|
return data;
|
|
4690
1720
|
},
|
|
4691
|
-
queryKey:
|
|
1721
|
+
queryKey: postsListInfiniteQueryKey(options)
|
|
4692
1722
|
}
|
|
4693
1723
|
);
|
|
4694
|
-
var
|
|
1724
|
+
var postsCreateMutation = (options) => {
|
|
4695
1725
|
const mutationOptions = {
|
|
4696
1726
|
mutationFn: async (fnOptions) => {
|
|
4697
|
-
const { data } = await
|
|
1727
|
+
const { data } = await postsCreate({
|
|
4698
1728
|
...options,
|
|
4699
1729
|
...fnOptions,
|
|
4700
1730
|
throwOnError: true
|
|
@@ -4704,10 +1734,10 @@ var tiktokAdsCreateAdMutation = (options) => {
|
|
|
4704
1734
|
};
|
|
4705
1735
|
return mutationOptions;
|
|
4706
1736
|
};
|
|
4707
|
-
var
|
|
1737
|
+
var postsDeleteMutation = (options) => {
|
|
4708
1738
|
const mutationOptions = {
|
|
4709
1739
|
mutationFn: async (fnOptions) => {
|
|
4710
|
-
const { data } = await
|
|
1740
|
+
const { data } = await postsDelete({
|
|
4711
1741
|
...options,
|
|
4712
1742
|
...fnOptions,
|
|
4713
1743
|
throwOnError: true
|
|
@@ -4717,10 +1747,23 @@ var tiktokAdsUpdateAdStatusMutation = (options) => {
|
|
|
4717
1747
|
};
|
|
4718
1748
|
return mutationOptions;
|
|
4719
1749
|
};
|
|
4720
|
-
var
|
|
1750
|
+
var postsGetQueryKey = (options) => createQueryKey("postsGet", options);
|
|
1751
|
+
var postsGetOptions = (options) => reactQuery.queryOptions({
|
|
1752
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1753
|
+
const { data } = await postsGet({
|
|
1754
|
+
...options,
|
|
1755
|
+
...queryKey[0],
|
|
1756
|
+
signal,
|
|
1757
|
+
throwOnError: true
|
|
1758
|
+
});
|
|
1759
|
+
return data;
|
|
1760
|
+
},
|
|
1761
|
+
queryKey: postsGetQueryKey(options)
|
|
1762
|
+
});
|
|
1763
|
+
var postsUpdateMutation = (options) => {
|
|
4721
1764
|
const mutationOptions = {
|
|
4722
1765
|
mutationFn: async (fnOptions) => {
|
|
4723
|
-
const { data } = await
|
|
1766
|
+
const { data } = await postsUpdate({
|
|
4724
1767
|
...options,
|
|
4725
1768
|
...fnOptions,
|
|
4726
1769
|
throwOnError: true
|
|
@@ -4730,10 +1773,10 @@ var tiktokAdsRemoveAdMutation = (options) => {
|
|
|
4730
1773
|
};
|
|
4731
1774
|
return mutationOptions;
|
|
4732
1775
|
};
|
|
4733
|
-
var
|
|
1776
|
+
var postsRetryMutation = (options) => {
|
|
4734
1777
|
const mutationOptions = {
|
|
4735
1778
|
mutationFn: async (fnOptions) => {
|
|
4736
|
-
const { data } = await
|
|
1779
|
+
const { data } = await postsRetry({
|
|
4737
1780
|
...options,
|
|
4738
1781
|
...fnOptions,
|
|
4739
1782
|
throwOnError: true
|
|
@@ -4743,58 +1786,10 @@ var tiktokAdsGetInsightsMutation = (options) => {
|
|
|
4743
1786
|
};
|
|
4744
1787
|
return mutationOptions;
|
|
4745
1788
|
};
|
|
4746
|
-
var
|
|
4747
|
-
var tiktokAdsGetAdTreeOptions = (options) => reactQuery.queryOptions({
|
|
4748
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
4749
|
-
const { data } = await tiktokAdsGetAdTree({
|
|
4750
|
-
...options,
|
|
4751
|
-
...queryKey[0],
|
|
4752
|
-
signal,
|
|
4753
|
-
throwOnError: true
|
|
4754
|
-
});
|
|
4755
|
-
return data;
|
|
4756
|
-
},
|
|
4757
|
-
queryKey: tiktokAdsGetAdTreeQueryKey(options)
|
|
4758
|
-
});
|
|
4759
|
-
var tiktokAdsListIdentitiesQueryKey = (options) => createQueryKey("tiktokAdsListIdentities", options);
|
|
4760
|
-
var tiktokAdsListIdentitiesOptions = (options) => reactQuery.queryOptions({
|
|
4761
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
4762
|
-
const { data } = await tiktokAdsListIdentities({
|
|
4763
|
-
...options,
|
|
4764
|
-
...queryKey[0],
|
|
4765
|
-
signal,
|
|
4766
|
-
throwOnError: true
|
|
4767
|
-
});
|
|
4768
|
-
return data;
|
|
4769
|
-
},
|
|
4770
|
-
queryKey: tiktokAdsListIdentitiesQueryKey(options)
|
|
4771
|
-
});
|
|
4772
|
-
var tiktokAdsListIdentitiesInfiniteQueryKey = (options) => createQueryKey("tiktokAdsListIdentities", options, true);
|
|
4773
|
-
var tiktokAdsListIdentitiesInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
4774
|
-
// @ts-ignore
|
|
4775
|
-
{
|
|
4776
|
-
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
4777
|
-
const page = typeof pageParam === "object" ? pageParam : {
|
|
4778
|
-
query: {
|
|
4779
|
-
page: pageParam
|
|
4780
|
-
}
|
|
4781
|
-
};
|
|
4782
|
-
const params = createInfiniteParams(queryKey, page);
|
|
4783
|
-
const { data } = await tiktokAdsListIdentities({
|
|
4784
|
-
...options,
|
|
4785
|
-
...params,
|
|
4786
|
-
signal,
|
|
4787
|
-
throwOnError: true
|
|
4788
|
-
});
|
|
4789
|
-
return data;
|
|
4790
|
-
},
|
|
4791
|
-
queryKey: tiktokAdsListIdentitiesInfiniteQueryKey(options)
|
|
4792
|
-
}
|
|
4793
|
-
);
|
|
4794
|
-
var tiktokAdsCreateIdentityMutation = (options) => {
|
|
1789
|
+
var postsValidateMutation = (options) => {
|
|
4795
1790
|
const mutationOptions = {
|
|
4796
1791
|
mutationFn: async (fnOptions) => {
|
|
4797
|
-
const { data } = await
|
|
1792
|
+
const { data } = await postsValidate({
|
|
4798
1793
|
...options,
|
|
4799
1794
|
...fnOptions,
|
|
4800
1795
|
throwOnError: true
|
|
@@ -4804,6 +1799,19 @@ var tiktokAdsCreateIdentityMutation = (options) => {
|
|
|
4804
1799
|
};
|
|
4805
1800
|
return mutationOptions;
|
|
4806
1801
|
};
|
|
1802
|
+
var tiktokCreatorInfoQueryKey = (options) => createQueryKey("tiktokCreatorInfo", options);
|
|
1803
|
+
var tiktokCreatorInfoOptions = (options) => reactQuery.queryOptions({
|
|
1804
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1805
|
+
const { data } = await tiktokCreatorInfo({
|
|
1806
|
+
...options,
|
|
1807
|
+
...queryKey[0],
|
|
1808
|
+
signal,
|
|
1809
|
+
throwOnError: true
|
|
1810
|
+
});
|
|
1811
|
+
return data;
|
|
1812
|
+
},
|
|
1813
|
+
queryKey: tiktokCreatorInfoQueryKey(options)
|
|
1814
|
+
});
|
|
4807
1815
|
var logsListQueryKey = (options) => createQueryKey("logsList", options);
|
|
4808
1816
|
var logsListOptions = (options) => reactQuery.queryOptions({
|
|
4809
1817
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -5003,107 +2011,6 @@ exports.connectionsListByProfileInfiniteQueryKey = connectionsListByProfileInfin
|
|
|
5003
2011
|
exports.connectionsListByProfileOptions = connectionsListByProfileOptions;
|
|
5004
2012
|
exports.connectionsListByProfileQueryKey = connectionsListByProfileQueryKey;
|
|
5005
2013
|
exports.connectionsSelectMutation = connectionsSelectMutation;
|
|
5006
|
-
exports.googleAttachAssetGroupAssetMutation = googleAttachAssetGroupAssetMutation;
|
|
5007
|
-
exports.googleCreateAdGroupCriterionMutation = googleCreateAdGroupCriterionMutation;
|
|
5008
|
-
exports.googleCreateAdGroupMutation = googleCreateAdGroupMutation;
|
|
5009
|
-
exports.googleCreateAdMutation = googleCreateAdMutation;
|
|
5010
|
-
exports.googleCreateAssetGroupMutation = googleCreateAssetGroupMutation;
|
|
5011
|
-
exports.googleCreateAssetGroupSignalMutation = googleCreateAssetGroupSignalMutation;
|
|
5012
|
-
exports.googleCreateBudgetMutation = googleCreateBudgetMutation;
|
|
5013
|
-
exports.googleCreateCampaignCriterionMutation = googleCreateCampaignCriterionMutation;
|
|
5014
|
-
exports.googleCreateCampaignMutation = googleCreateCampaignMutation;
|
|
5015
|
-
exports.googleCreateConversionActionMutation = googleCreateConversionActionMutation;
|
|
5016
|
-
exports.googleCreateDisplayAdMutation = googleCreateDisplayAdMutation;
|
|
5017
|
-
exports.googleCreateKeywordMutation = googleCreateKeywordMutation;
|
|
5018
|
-
exports.googleCreatePerformanceMaxMutation = googleCreatePerformanceMaxMutation;
|
|
5019
|
-
exports.googleEditAccountMutation = googleEditAccountMutation;
|
|
5020
|
-
exports.googleEditAdGroupMutation = googleEditAdGroupMutation;
|
|
5021
|
-
exports.googleEditAdMutation = googleEditAdMutation;
|
|
5022
|
-
exports.googleEditAssetGroupMutation = googleEditAssetGroupMutation;
|
|
5023
|
-
exports.googleEditBudgetMutation = googleEditBudgetMutation;
|
|
5024
|
-
exports.googleEditCampaignMutation = googleEditCampaignMutation;
|
|
5025
|
-
exports.googleEditDisplayAdMutation = googleEditDisplayAdMutation;
|
|
5026
|
-
exports.googleEnableAdGroupMutation = googleEnableAdGroupMutation;
|
|
5027
|
-
exports.googleEnableAdMutation = googleEnableAdMutation;
|
|
5028
|
-
exports.googleEnableAssetGroupMutation = googleEnableAssetGroupMutation;
|
|
5029
|
-
exports.googleEnableCampaignMutation = googleEnableCampaignMutation;
|
|
5030
|
-
exports.googleEnableKeywordMutation = googleEnableKeywordMutation;
|
|
5031
|
-
exports.googleGetAccountOptions = googleGetAccountOptions;
|
|
5032
|
-
exports.googleGetAccountQueryKey = googleGetAccountQueryKey;
|
|
5033
|
-
exports.googleGetAdGroupOptions = googleGetAdGroupOptions;
|
|
5034
|
-
exports.googleGetAdGroupQueryKey = googleGetAdGroupQueryKey;
|
|
5035
|
-
exports.googleGetAdOptions = googleGetAdOptions;
|
|
5036
|
-
exports.googleGetAdQueryKey = googleGetAdQueryKey;
|
|
5037
|
-
exports.googleGetAdTreeOptions = googleGetAdTreeOptions;
|
|
5038
|
-
exports.googleGetAdTreeQueryKey = googleGetAdTreeQueryKey;
|
|
5039
|
-
exports.googleGetAssetGroupOptions = googleGetAssetGroupOptions;
|
|
5040
|
-
exports.googleGetAssetGroupQueryKey = googleGetAssetGroupQueryKey;
|
|
5041
|
-
exports.googleGetCampaignOptions = googleGetCampaignOptions;
|
|
5042
|
-
exports.googleGetCampaignQueryKey = googleGetCampaignQueryKey;
|
|
5043
|
-
exports.googleGetConversionActionOptions = googleGetConversionActionOptions;
|
|
5044
|
-
exports.googleGetConversionActionQueryKey = googleGetConversionActionQueryKey;
|
|
5045
|
-
exports.googleGetConversionStatusOptions = googleGetConversionStatusOptions;
|
|
5046
|
-
exports.googleGetConversionStatusQueryKey = googleGetConversionStatusQueryKey;
|
|
5047
|
-
exports.googleGetInsightsMutation = googleGetInsightsMutation;
|
|
5048
|
-
exports.googleGetKeywordOptions = googleGetKeywordOptions;
|
|
5049
|
-
exports.googleGetKeywordQueryKey = googleGetKeywordQueryKey;
|
|
5050
|
-
exports.googleListAdGroupCriteriaOptions = googleListAdGroupCriteriaOptions;
|
|
5051
|
-
exports.googleListAdGroupCriteriaQueryKey = googleListAdGroupCriteriaQueryKey;
|
|
5052
|
-
exports.googleListAdGroupsOptions = googleListAdGroupsOptions;
|
|
5053
|
-
exports.googleListAdGroupsQueryKey = googleListAdGroupsQueryKey;
|
|
5054
|
-
exports.googleListAdsOptions = googleListAdsOptions;
|
|
5055
|
-
exports.googleListAdsQueryKey = googleListAdsQueryKey;
|
|
5056
|
-
exports.googleListAssetGroupAssetsOptions = googleListAssetGroupAssetsOptions;
|
|
5057
|
-
exports.googleListAssetGroupAssetsQueryKey = googleListAssetGroupAssetsQueryKey;
|
|
5058
|
-
exports.googleListAssetGroupSignalsOptions = googleListAssetGroupSignalsOptions;
|
|
5059
|
-
exports.googleListAssetGroupSignalsQueryKey = googleListAssetGroupSignalsQueryKey;
|
|
5060
|
-
exports.googleListAssetGroupsOptions = googleListAssetGroupsOptions;
|
|
5061
|
-
exports.googleListAssetGroupsQueryKey = googleListAssetGroupsQueryKey;
|
|
5062
|
-
exports.googleListAudiencesOptions = googleListAudiencesOptions;
|
|
5063
|
-
exports.googleListAudiencesQueryKey = googleListAudiencesQueryKey;
|
|
5064
|
-
exports.googleListCampaignCriteriaOptions = googleListCampaignCriteriaOptions;
|
|
5065
|
-
exports.googleListCampaignCriteriaQueryKey = googleListCampaignCriteriaQueryKey;
|
|
5066
|
-
exports.googleListCampaignsOptions = googleListCampaignsOptions;
|
|
5067
|
-
exports.googleListCampaignsQueryKey = googleListCampaignsQueryKey;
|
|
5068
|
-
exports.googleListConversionActionsOptions = googleListConversionActionsOptions;
|
|
5069
|
-
exports.googleListConversionActionsQueryKey = googleListConversionActionsQueryKey;
|
|
5070
|
-
exports.googleListConversionGoalsOptions = googleListConversionGoalsOptions;
|
|
5071
|
-
exports.googleListConversionGoalsQueryKey = googleListConversionGoalsQueryKey;
|
|
5072
|
-
exports.googleListConversionRequestsInfiniteOptions = googleListConversionRequestsInfiniteOptions;
|
|
5073
|
-
exports.googleListConversionRequestsInfiniteQueryKey = googleListConversionRequestsInfiniteQueryKey;
|
|
5074
|
-
exports.googleListConversionRequestsOptions = googleListConversionRequestsOptions;
|
|
5075
|
-
exports.googleListConversionRequestsQueryKey = googleListConversionRequestsQueryKey;
|
|
5076
|
-
exports.googleListKeywordsOptions = googleListKeywordsOptions;
|
|
5077
|
-
exports.googleListKeywordsQueryKey = googleListKeywordsQueryKey;
|
|
5078
|
-
exports.googlePauseAdGroupMutation = googlePauseAdGroupMutation;
|
|
5079
|
-
exports.googlePauseAdMutation = googlePauseAdMutation;
|
|
5080
|
-
exports.googlePauseAssetGroupMutation = googlePauseAssetGroupMutation;
|
|
5081
|
-
exports.googlePauseCampaignMutation = googlePauseCampaignMutation;
|
|
5082
|
-
exports.googlePauseKeywordMutation = googlePauseKeywordMutation;
|
|
5083
|
-
exports.googleRemoveAdGroupCriterionMutation = googleRemoveAdGroupCriterionMutation;
|
|
5084
|
-
exports.googleRemoveAdGroupMutation = googleRemoveAdGroupMutation;
|
|
5085
|
-
exports.googleRemoveAdMutation = googleRemoveAdMutation;
|
|
5086
|
-
exports.googleRemoveAssetGroupAssetMutation = googleRemoveAssetGroupAssetMutation;
|
|
5087
|
-
exports.googleRemoveAssetGroupMutation = googleRemoveAssetGroupMutation;
|
|
5088
|
-
exports.googleRemoveAssetGroupSignalMutation = googleRemoveAssetGroupSignalMutation;
|
|
5089
|
-
exports.googleRemoveBudgetMutation = googleRemoveBudgetMutation;
|
|
5090
|
-
exports.googleRemoveCampaignCriterionMutation = googleRemoveCampaignCriterionMutation;
|
|
5091
|
-
exports.googleRemoveCampaignMutation = googleRemoveCampaignMutation;
|
|
5092
|
-
exports.googleRemoveConversionActionMutation = googleRemoveConversionActionMutation;
|
|
5093
|
-
exports.googleRemoveKeywordMutation = googleRemoveKeywordMutation;
|
|
5094
|
-
exports.googleRunGaqlMutation = googleRunGaqlMutation;
|
|
5095
|
-
exports.googleSearchGeoTargetsOptions = googleSearchGeoTargetsOptions;
|
|
5096
|
-
exports.googleSearchGeoTargetsQueryKey = googleSearchGeoTargetsQueryKey;
|
|
5097
|
-
exports.googleSendConversionsMutation = googleSendConversionsMutation;
|
|
5098
|
-
exports.googleSetAdGroupBidsMutation = googleSetAdGroupBidsMutation;
|
|
5099
|
-
exports.googleSetCampaignBiddingMutation = googleSetCampaignBiddingMutation;
|
|
5100
|
-
exports.googleSetCampaignGeoSettingsMutation = googleSetCampaignGeoSettingsMutation;
|
|
5101
|
-
exports.googleSetCampaignTargetingSettingMutation = googleSetCampaignTargetingSettingMutation;
|
|
5102
|
-
exports.googleSetConversionGoalMutation = googleSetConversionGoalMutation;
|
|
5103
|
-
exports.googleSetKeywordBidMutation = googleSetKeywordBidMutation;
|
|
5104
|
-
exports.googleUpdateConversionActionMutation = googleUpdateConversionActionMutation;
|
|
5105
|
-
exports.googleUploadImageAssetMutation = googleUploadImageAssetMutation;
|
|
5106
|
-
exports.googleUploadYoutubeVideoAssetMutation = googleUploadYoutubeVideoAssetMutation;
|
|
5107
2014
|
exports.logsGetOptions = logsGetOptions;
|
|
5108
2015
|
exports.logsGetQueryKey = logsGetQueryKey;
|
|
5109
2016
|
exports.logsListInfiniteOptions = logsListInfiniteOptions;
|
|
@@ -5124,22 +2031,6 @@ exports.mediaListPartsQueryKey = mediaListPartsQueryKey;
|
|
|
5124
2031
|
exports.mediaListQueryKey = mediaListQueryKey;
|
|
5125
2032
|
exports.mediaSignPartMutation = mediaSignPartMutation;
|
|
5126
2033
|
exports.mediaUpdateMutation = mediaUpdateMutation;
|
|
5127
|
-
exports.metaAccountOptions = metaAccountOptions;
|
|
5128
|
-
exports.metaAccountQueryKey = metaAccountQueryKey;
|
|
5129
|
-
exports.metaAdOptions = metaAdOptions;
|
|
5130
|
-
exports.metaAdQueryKey = metaAdQueryKey;
|
|
5131
|
-
exports.metaAdsOptions = metaAdsOptions;
|
|
5132
|
-
exports.metaAdsQueryKey = metaAdsQueryKey;
|
|
5133
|
-
exports.metaAdsetOptions = metaAdsetOptions;
|
|
5134
|
-
exports.metaAdsetQueryKey = metaAdsetQueryKey;
|
|
5135
|
-
exports.metaAdsetsOptions = metaAdsetsOptions;
|
|
5136
|
-
exports.metaAdsetsQueryKey = metaAdsetsQueryKey;
|
|
5137
|
-
exports.metaCampaignOptions = metaCampaignOptions;
|
|
5138
|
-
exports.metaCampaignQueryKey = metaCampaignQueryKey;
|
|
5139
|
-
exports.metaCampaignsOptions = metaCampaignsOptions;
|
|
5140
|
-
exports.metaCampaignsQueryKey = metaCampaignsQueryKey;
|
|
5141
|
-
exports.metaInsightsOptions = metaInsightsOptions;
|
|
5142
|
-
exports.metaInsightsQueryKey = metaInsightsQueryKey;
|
|
5143
2034
|
exports.postsCreateMutation = postsCreateMutation;
|
|
5144
2035
|
exports.postsDeleteMutation = postsDeleteMutation;
|
|
5145
2036
|
exports.postsGetOptions = postsGetOptions;
|
|
@@ -5148,6 +2039,7 @@ exports.postsListInfiniteOptions = postsListInfiniteOptions;
|
|
|
5148
2039
|
exports.postsListInfiniteQueryKey = postsListInfiniteQueryKey;
|
|
5149
2040
|
exports.postsListOptions = postsListOptions;
|
|
5150
2041
|
exports.postsListQueryKey = postsListQueryKey;
|
|
2042
|
+
exports.postsRetryMutation = postsRetryMutation;
|
|
5151
2043
|
exports.postsUpdateMutation = postsUpdateMutation;
|
|
5152
2044
|
exports.postsValidateMutation = postsValidateMutation;
|
|
5153
2045
|
exports.profilesCreateMutation = profilesCreateMutation;
|
|
@@ -5159,41 +2051,6 @@ exports.profilesListInfiniteQueryKey = profilesListInfiniteQueryKey;
|
|
|
5159
2051
|
exports.profilesListOptions = profilesListOptions;
|
|
5160
2052
|
exports.profilesListQueryKey = profilesListQueryKey;
|
|
5161
2053
|
exports.profilesUpdateMutation = profilesUpdateMutation;
|
|
5162
|
-
exports.tiktokAdsCreateAdGroupMutation = tiktokAdsCreateAdGroupMutation;
|
|
5163
|
-
exports.tiktokAdsCreateAdMutation = tiktokAdsCreateAdMutation;
|
|
5164
|
-
exports.tiktokAdsCreateCampaignMutation = tiktokAdsCreateCampaignMutation;
|
|
5165
|
-
exports.tiktokAdsCreateIdentityMutation = tiktokAdsCreateIdentityMutation;
|
|
5166
|
-
exports.tiktokAdsGetAdTreeOptions = tiktokAdsGetAdTreeOptions;
|
|
5167
|
-
exports.tiktokAdsGetAdTreeQueryKey = tiktokAdsGetAdTreeQueryKey;
|
|
5168
|
-
exports.tiktokAdsGetInsightsMutation = tiktokAdsGetInsightsMutation;
|
|
5169
|
-
exports.tiktokAdsListAdGroupsInfiniteOptions = tiktokAdsListAdGroupsInfiniteOptions;
|
|
5170
|
-
exports.tiktokAdsListAdGroupsInfiniteQueryKey = tiktokAdsListAdGroupsInfiniteQueryKey;
|
|
5171
|
-
exports.tiktokAdsListAdGroupsOptions = tiktokAdsListAdGroupsOptions;
|
|
5172
|
-
exports.tiktokAdsListAdGroupsQueryKey = tiktokAdsListAdGroupsQueryKey;
|
|
5173
|
-
exports.tiktokAdsListAdsInfiniteOptions = tiktokAdsListAdsInfiniteOptions;
|
|
5174
|
-
exports.tiktokAdsListAdsInfiniteQueryKey = tiktokAdsListAdsInfiniteQueryKey;
|
|
5175
|
-
exports.tiktokAdsListAdsOptions = tiktokAdsListAdsOptions;
|
|
5176
|
-
exports.tiktokAdsListAdsQueryKey = tiktokAdsListAdsQueryKey;
|
|
5177
|
-
exports.tiktokAdsListAdvertisersOptions = tiktokAdsListAdvertisersOptions;
|
|
5178
|
-
exports.tiktokAdsListAdvertisersQueryKey = tiktokAdsListAdvertisersQueryKey;
|
|
5179
|
-
exports.tiktokAdsListBusinessCentersOptions = tiktokAdsListBusinessCentersOptions;
|
|
5180
|
-
exports.tiktokAdsListBusinessCentersQueryKey = tiktokAdsListBusinessCentersQueryKey;
|
|
5181
|
-
exports.tiktokAdsListCampaignsInfiniteOptions = tiktokAdsListCampaignsInfiniteOptions;
|
|
5182
|
-
exports.tiktokAdsListCampaignsInfiniteQueryKey = tiktokAdsListCampaignsInfiniteQueryKey;
|
|
5183
|
-
exports.tiktokAdsListCampaignsOptions = tiktokAdsListCampaignsOptions;
|
|
5184
|
-
exports.tiktokAdsListCampaignsQueryKey = tiktokAdsListCampaignsQueryKey;
|
|
5185
|
-
exports.tiktokAdsListIdentitiesInfiniteOptions = tiktokAdsListIdentitiesInfiniteOptions;
|
|
5186
|
-
exports.tiktokAdsListIdentitiesInfiniteQueryKey = tiktokAdsListIdentitiesInfiniteQueryKey;
|
|
5187
|
-
exports.tiktokAdsListIdentitiesOptions = tiktokAdsListIdentitiesOptions;
|
|
5188
|
-
exports.tiktokAdsListIdentitiesQueryKey = tiktokAdsListIdentitiesQueryKey;
|
|
5189
|
-
exports.tiktokAdsRemoveAdGroupMutation = tiktokAdsRemoveAdGroupMutation;
|
|
5190
|
-
exports.tiktokAdsRemoveAdMutation = tiktokAdsRemoveAdMutation;
|
|
5191
|
-
exports.tiktokAdsRemoveCampaignMutation = tiktokAdsRemoveCampaignMutation;
|
|
5192
|
-
exports.tiktokAdsUpdateAdGroupBudgetMutation = tiktokAdsUpdateAdGroupBudgetMutation;
|
|
5193
|
-
exports.tiktokAdsUpdateAdGroupStatusMutation = tiktokAdsUpdateAdGroupStatusMutation;
|
|
5194
|
-
exports.tiktokAdsUpdateAdStatusMutation = tiktokAdsUpdateAdStatusMutation;
|
|
5195
|
-
exports.tiktokAdsUpdateCampaignBudgetMutation = tiktokAdsUpdateCampaignBudgetMutation;
|
|
5196
|
-
exports.tiktokAdsUpdateCampaignStatusMutation = tiktokAdsUpdateCampaignStatusMutation;
|
|
5197
2054
|
exports.tiktokCreatorInfoOptions = tiktokCreatorInfoOptions;
|
|
5198
2055
|
exports.tiktokCreatorInfoQueryKey = tiktokCreatorInfoQueryKey;
|
|
5199
2056
|
exports.tokensMintMutation = tokensMintMutation;
|