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