@postrun/js 3.1.0 → 3.3.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-BJ6NXBN5.js → chunk-62WCSNZ4.js} +2161 -70
- package/dist/chunk-62WCSNZ4.js.map +1 -0
- package/dist/{chunk-DT4DW5LA.js → chunk-W37M2JFI.js} +655 -11
- package/dist/chunk-W37M2JFI.js.map +1 -0
- package/dist/index.cjs +3728 -955
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +355 -15
- package/dist/index.d.ts +355 -15
- package/dist/index.js +32 -4
- package/dist/index.js.map +1 -1
- package/dist/query.cjs +1828 -565
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +14381 -2905
- package/dist/query.d.ts +14381 -2905
- package/dist/query.js +1770 -566
- package/dist/query.js.map +1 -1
- package/dist/schemas/index.cjs +2346 -67
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +4821 -124
- package/dist/schemas/index.d.ts +4821 -124
- package/dist/schemas/index.js +2 -2
- package/dist/server.cjs +2176 -69
- 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-MxJw6FpT.d.cts → types.gen-D7Xl9jUZ.d.cts} +13970 -3094
- package/dist/{types.gen-MxJw6FpT.d.ts → types.gen-D7Xl9jUZ.d.ts} +13970 -3094
- package/package.json +2 -1
- package/dist/chunk-BJ6NXBN5.js.map +0 -1
- package/dist/chunk-DT4DW5LA.js.map +0 -1
package/dist/query.cjs
CHANGED
|
@@ -1378,10 +1378,6 @@ var googleRemoveBudget = (options) => (options.client ?? client).post({
|
|
|
1378
1378
|
key: "secretKey",
|
|
1379
1379
|
scheme: "bearer",
|
|
1380
1380
|
type: "http"
|
|
1381
|
-
}, {
|
|
1382
|
-
key: "frontendToken",
|
|
1383
|
-
scheme: "bearer",
|
|
1384
|
-
type: "http"
|
|
1385
1381
|
}],
|
|
1386
1382
|
url: "/google/{connection_id}/budgets/{id}/remove",
|
|
1387
1383
|
...options,
|
|
@@ -1450,6 +1446,19 @@ var googleEditCampaign = (options) => (options.client ?? client).patch({
|
|
|
1450
1446
|
...options.headers
|
|
1451
1447
|
}
|
|
1452
1448
|
});
|
|
1449
|
+
var googleSetCampaignBidding = (options) => (options.client ?? client).patch({
|
|
1450
|
+
security: [{
|
|
1451
|
+
key: "secretKey",
|
|
1452
|
+
scheme: "bearer",
|
|
1453
|
+
type: "http"
|
|
1454
|
+
}],
|
|
1455
|
+
url: "/google/{connection_id}/campaigns/{id}/bidding",
|
|
1456
|
+
...options,
|
|
1457
|
+
headers: {
|
|
1458
|
+
"Content-Type": "application/json",
|
|
1459
|
+
...options.headers
|
|
1460
|
+
}
|
|
1461
|
+
});
|
|
1453
1462
|
var googleRemoveCampaign = (options) => (options.client ?? client).post({
|
|
1454
1463
|
security: [{
|
|
1455
1464
|
key: "secretKey",
|
|
@@ -1822,6 +1831,23 @@ var googleGetAd = (options) => (options.client ?? client).get({
|
|
|
1822
1831
|
url: "/google/{connection_id}/ads/{id}",
|
|
1823
1832
|
...options
|
|
1824
1833
|
});
|
|
1834
|
+
var googleEditAd = (options) => (options.client ?? client).patch({
|
|
1835
|
+
security: [{
|
|
1836
|
+
key: "secretKey",
|
|
1837
|
+
scheme: "bearer",
|
|
1838
|
+
type: "http"
|
|
1839
|
+
}, {
|
|
1840
|
+
key: "frontendToken",
|
|
1841
|
+
scheme: "bearer",
|
|
1842
|
+
type: "http"
|
|
1843
|
+
}],
|
|
1844
|
+
url: "/google/{connection_id}/ads/{id}",
|
|
1845
|
+
...options,
|
|
1846
|
+
headers: {
|
|
1847
|
+
"Content-Type": "application/json",
|
|
1848
|
+
...options.headers
|
|
1849
|
+
}
|
|
1850
|
+
});
|
|
1825
1851
|
var googleCreateDisplayAd = (options) => (options.client ?? client).post({
|
|
1826
1852
|
security: [{
|
|
1827
1853
|
key: "secretKey",
|
|
@@ -1839,6 +1865,23 @@ var googleCreateDisplayAd = (options) => (options.client ?? client).post({
|
|
|
1839
1865
|
...options.headers
|
|
1840
1866
|
}
|
|
1841
1867
|
});
|
|
1868
|
+
var googleEditDisplayAd = (options) => (options.client ?? client).patch({
|
|
1869
|
+
security: [{
|
|
1870
|
+
key: "secretKey",
|
|
1871
|
+
scheme: "bearer",
|
|
1872
|
+
type: "http"
|
|
1873
|
+
}, {
|
|
1874
|
+
key: "frontendToken",
|
|
1875
|
+
scheme: "bearer",
|
|
1876
|
+
type: "http"
|
|
1877
|
+
}],
|
|
1878
|
+
url: "/google/{connection_id}/display-ads/{id}",
|
|
1879
|
+
...options,
|
|
1880
|
+
headers: {
|
|
1881
|
+
"Content-Type": "application/json",
|
|
1882
|
+
...options.headers
|
|
1883
|
+
}
|
|
1884
|
+
});
|
|
1842
1885
|
var googleRemoveAd = (options) => (options.client ?? client).post({
|
|
1843
1886
|
security: [{
|
|
1844
1887
|
key: "secretKey",
|
|
@@ -2040,6 +2083,40 @@ var googleGetConversionAction = (options) => (options.client ?? client).get({
|
|
|
2040
2083
|
url: "/google/{connection_id}/conversion-actions/{id}",
|
|
2041
2084
|
...options
|
|
2042
2085
|
});
|
|
2086
|
+
var googleUpdateConversionAction = (options) => (options.client ?? client).patch({
|
|
2087
|
+
security: [{
|
|
2088
|
+
key: "secretKey",
|
|
2089
|
+
scheme: "bearer",
|
|
2090
|
+
type: "http"
|
|
2091
|
+
}, {
|
|
2092
|
+
key: "frontendToken",
|
|
2093
|
+
scheme: "bearer",
|
|
2094
|
+
type: "http"
|
|
2095
|
+
}],
|
|
2096
|
+
url: "/google/{connection_id}/conversion-actions/{id}",
|
|
2097
|
+
...options,
|
|
2098
|
+
headers: {
|
|
2099
|
+
"Content-Type": "application/json",
|
|
2100
|
+
...options.headers
|
|
2101
|
+
}
|
|
2102
|
+
});
|
|
2103
|
+
var googleRemoveConversionAction = (options) => (options.client ?? client).post({
|
|
2104
|
+
security: [{
|
|
2105
|
+
key: "secretKey",
|
|
2106
|
+
scheme: "bearer",
|
|
2107
|
+
type: "http"
|
|
2108
|
+
}, {
|
|
2109
|
+
key: "frontendToken",
|
|
2110
|
+
scheme: "bearer",
|
|
2111
|
+
type: "http"
|
|
2112
|
+
}],
|
|
2113
|
+
url: "/google/{connection_id}/conversion-actions/{id}/remove",
|
|
2114
|
+
...options,
|
|
2115
|
+
headers: {
|
|
2116
|
+
"Content-Type": "application/json",
|
|
2117
|
+
...options.headers
|
|
2118
|
+
}
|
|
2119
|
+
});
|
|
2043
2120
|
var googleSendConversions = (options) => (options.client ?? client).post({
|
|
2044
2121
|
security: [{
|
|
2045
2122
|
key: "secretKey",
|
|
@@ -2130,7 +2207,7 @@ var googleUploadImageAsset = (options) => (options.client ?? client).post({
|
|
|
2130
2207
|
...options.headers
|
|
2131
2208
|
}
|
|
2132
2209
|
});
|
|
2133
|
-
var
|
|
2210
|
+
var googleUploadYoutubeVideoAsset = (options) => (options.client ?? client).post({
|
|
2134
2211
|
security: [{
|
|
2135
2212
|
key: "secretKey",
|
|
2136
2213
|
scheme: "bearer",
|
|
@@ -2140,175 +2217,694 @@ var tiktokCreatorInfo = (options) => (options.client ?? client).get({
|
|
|
2140
2217
|
scheme: "bearer",
|
|
2141
2218
|
type: "http"
|
|
2142
2219
|
}],
|
|
2143
|
-
url: "/
|
|
2144
|
-
...options
|
|
2220
|
+
url: "/google/{connection_id}/assets/youtube-video",
|
|
2221
|
+
...options,
|
|
2222
|
+
headers: {
|
|
2223
|
+
"Content-Type": "application/json",
|
|
2224
|
+
...options.headers
|
|
2225
|
+
}
|
|
2145
2226
|
});
|
|
2146
|
-
var
|
|
2227
|
+
var googleListAssetGroups = (options) => (options.client ?? client).get({
|
|
2147
2228
|
security: [{
|
|
2148
2229
|
key: "secretKey",
|
|
2149
2230
|
scheme: "bearer",
|
|
2150
2231
|
type: "http"
|
|
2232
|
+
}, {
|
|
2233
|
+
key: "frontendToken",
|
|
2234
|
+
scheme: "bearer",
|
|
2235
|
+
type: "http"
|
|
2151
2236
|
}],
|
|
2152
|
-
url: "/
|
|
2237
|
+
url: "/google/{connection_id}/asset-groups",
|
|
2153
2238
|
...options
|
|
2154
2239
|
});
|
|
2155
|
-
var
|
|
2240
|
+
var googleGetAssetGroup = (options) => (options.client ?? client).get({
|
|
2156
2241
|
security: [{
|
|
2157
2242
|
key: "secretKey",
|
|
2158
2243
|
scheme: "bearer",
|
|
2159
2244
|
type: "http"
|
|
2245
|
+
}, {
|
|
2246
|
+
key: "frontendToken",
|
|
2247
|
+
scheme: "bearer",
|
|
2248
|
+
type: "http"
|
|
2160
2249
|
}],
|
|
2161
|
-
url: "/
|
|
2250
|
+
url: "/google/{connection_id}/asset-groups/{id}",
|
|
2162
2251
|
...options
|
|
2163
2252
|
});
|
|
2164
|
-
var
|
|
2253
|
+
var googleEditAssetGroup = (options) => (options.client ?? client).patch({
|
|
2165
2254
|
security: [{
|
|
2166
2255
|
key: "secretKey",
|
|
2167
2256
|
scheme: "bearer",
|
|
2168
2257
|
type: "http"
|
|
2258
|
+
}, {
|
|
2259
|
+
key: "frontendToken",
|
|
2260
|
+
scheme: "bearer",
|
|
2261
|
+
type: "http"
|
|
2169
2262
|
}],
|
|
2170
|
-
url: "/
|
|
2171
|
-
...options
|
|
2263
|
+
url: "/google/{connection_id}/asset-groups/{id}",
|
|
2264
|
+
...options,
|
|
2265
|
+
headers: {
|
|
2266
|
+
"Content-Type": "application/json",
|
|
2267
|
+
...options.headers
|
|
2268
|
+
}
|
|
2172
2269
|
});
|
|
2173
|
-
var
|
|
2270
|
+
var googleCreateAssetGroup = (options) => (options.client ?? client).post({
|
|
2174
2271
|
security: [{
|
|
2175
2272
|
key: "secretKey",
|
|
2176
2273
|
scheme: "bearer",
|
|
2177
2274
|
type: "http"
|
|
2275
|
+
}, {
|
|
2276
|
+
key: "frontendToken",
|
|
2277
|
+
scheme: "bearer",
|
|
2278
|
+
type: "http"
|
|
2178
2279
|
}],
|
|
2179
|
-
url: "/
|
|
2280
|
+
url: "/google/{connection_id}/performance-max/{campaign_id}/asset-groups",
|
|
2180
2281
|
...options,
|
|
2181
2282
|
headers: {
|
|
2182
2283
|
"Content-Type": "application/json",
|
|
2183
2284
|
...options.headers
|
|
2184
2285
|
}
|
|
2185
2286
|
});
|
|
2186
|
-
var
|
|
2287
|
+
var googlePauseAssetGroup = (options) => (options.client ?? client).post({
|
|
2187
2288
|
security: [{
|
|
2188
2289
|
key: "secretKey",
|
|
2189
2290
|
scheme: "bearer",
|
|
2190
2291
|
type: "http"
|
|
2292
|
+
}, {
|
|
2293
|
+
key: "frontendToken",
|
|
2294
|
+
scheme: "bearer",
|
|
2295
|
+
type: "http"
|
|
2191
2296
|
}],
|
|
2192
|
-
url: "/
|
|
2193
|
-
...options
|
|
2297
|
+
url: "/google/{connection_id}/asset-groups/{id}/pause",
|
|
2298
|
+
...options,
|
|
2299
|
+
headers: {
|
|
2300
|
+
"Content-Type": "application/json",
|
|
2301
|
+
...options.headers
|
|
2302
|
+
}
|
|
2194
2303
|
});
|
|
2195
|
-
var
|
|
2304
|
+
var googleEnableAssetGroup = (options) => (options.client ?? client).post({
|
|
2196
2305
|
security: [{
|
|
2197
2306
|
key: "secretKey",
|
|
2198
2307
|
scheme: "bearer",
|
|
2199
2308
|
type: "http"
|
|
2309
|
+
}, {
|
|
2310
|
+
key: "frontendToken",
|
|
2311
|
+
scheme: "bearer",
|
|
2312
|
+
type: "http"
|
|
2200
2313
|
}],
|
|
2201
|
-
url: "/
|
|
2202
|
-
...options
|
|
2314
|
+
url: "/google/{connection_id}/asset-groups/{id}/enable",
|
|
2315
|
+
...options,
|
|
2316
|
+
headers: {
|
|
2317
|
+
"Content-Type": "application/json",
|
|
2318
|
+
...options.headers
|
|
2319
|
+
}
|
|
2203
2320
|
});
|
|
2204
|
-
var
|
|
2321
|
+
var googleRemoveAssetGroup = (options) => (options.client ?? client).post({
|
|
2205
2322
|
security: [{
|
|
2206
2323
|
key: "secretKey",
|
|
2207
2324
|
scheme: "bearer",
|
|
2208
2325
|
type: "http"
|
|
2326
|
+
}, {
|
|
2327
|
+
key: "frontendToken",
|
|
2328
|
+
scheme: "bearer",
|
|
2329
|
+
type: "http"
|
|
2209
2330
|
}],
|
|
2210
|
-
url: "/
|
|
2331
|
+
url: "/google/{connection_id}/asset-groups/{id}/remove",
|
|
2211
2332
|
...options,
|
|
2212
2333
|
headers: {
|
|
2213
2334
|
"Content-Type": "application/json",
|
|
2214
2335
|
...options.headers
|
|
2215
2336
|
}
|
|
2216
2337
|
});
|
|
2217
|
-
var
|
|
2338
|
+
var googleListAssetGroupAssets = (options) => (options.client ?? client).get({
|
|
2218
2339
|
security: [{
|
|
2219
2340
|
key: "secretKey",
|
|
2220
2341
|
scheme: "bearer",
|
|
2221
2342
|
type: "http"
|
|
2343
|
+
}, {
|
|
2344
|
+
key: "frontendToken",
|
|
2345
|
+
scheme: "bearer",
|
|
2346
|
+
type: "http"
|
|
2222
2347
|
}],
|
|
2223
|
-
url: "/
|
|
2348
|
+
url: "/google/{connection_id}/asset-groups/{asset_group_id}/assets",
|
|
2224
2349
|
...options
|
|
2225
2350
|
});
|
|
2226
|
-
var
|
|
2351
|
+
var googleAttachAssetGroupAsset = (options) => (options.client ?? client).post({
|
|
2227
2352
|
security: [{
|
|
2228
2353
|
key: "secretKey",
|
|
2229
2354
|
scheme: "bearer",
|
|
2230
2355
|
type: "http"
|
|
2356
|
+
}, {
|
|
2357
|
+
key: "frontendToken",
|
|
2358
|
+
scheme: "bearer",
|
|
2359
|
+
type: "http"
|
|
2231
2360
|
}],
|
|
2232
|
-
url: "/
|
|
2233
|
-
...options
|
|
2361
|
+
url: "/google/{connection_id}/asset-groups/{asset_group_id}/assets",
|
|
2362
|
+
...options,
|
|
2363
|
+
headers: {
|
|
2364
|
+
"Content-Type": "application/json",
|
|
2365
|
+
...options.headers
|
|
2366
|
+
}
|
|
2234
2367
|
});
|
|
2235
|
-
var
|
|
2368
|
+
var googleRemoveAssetGroupAsset = (options) => (options.client ?? client).post({
|
|
2236
2369
|
security: [{
|
|
2237
2370
|
key: "secretKey",
|
|
2238
2371
|
scheme: "bearer",
|
|
2239
2372
|
type: "http"
|
|
2373
|
+
}, {
|
|
2374
|
+
key: "frontendToken",
|
|
2375
|
+
scheme: "bearer",
|
|
2376
|
+
type: "http"
|
|
2240
2377
|
}],
|
|
2241
|
-
url: "/
|
|
2378
|
+
url: "/google/{connection_id}/asset-groups/{asset_group_id}/assets/{id}/remove",
|
|
2242
2379
|
...options,
|
|
2243
2380
|
headers: {
|
|
2244
2381
|
"Content-Type": "application/json",
|
|
2245
2382
|
...options.headers
|
|
2246
2383
|
}
|
|
2247
2384
|
});
|
|
2248
|
-
var
|
|
2385
|
+
var googleListAssetGroupSignals = (options) => (options.client ?? client).get({
|
|
2249
2386
|
security: [{
|
|
2250
2387
|
key: "secretKey",
|
|
2251
2388
|
scheme: "bearer",
|
|
2252
2389
|
type: "http"
|
|
2390
|
+
}, {
|
|
2391
|
+
key: "frontendToken",
|
|
2392
|
+
scheme: "bearer",
|
|
2393
|
+
type: "http"
|
|
2253
2394
|
}],
|
|
2254
|
-
url: "/
|
|
2395
|
+
url: "/google/{connection_id}/asset-groups/{asset_group_id}/signals",
|
|
2396
|
+
...options
|
|
2397
|
+
});
|
|
2398
|
+
var googleCreateAssetGroupSignal = (options) => (options.client ?? client).post({
|
|
2399
|
+
security: [{
|
|
2400
|
+
key: "secretKey",
|
|
2401
|
+
scheme: "bearer",
|
|
2402
|
+
type: "http"
|
|
2403
|
+
}, {
|
|
2404
|
+
key: "frontendToken",
|
|
2405
|
+
scheme: "bearer",
|
|
2406
|
+
type: "http"
|
|
2407
|
+
}],
|
|
2408
|
+
url: "/google/{connection_id}/asset-groups/{asset_group_id}/signals",
|
|
2255
2409
|
...options,
|
|
2256
2410
|
headers: {
|
|
2257
2411
|
"Content-Type": "application/json",
|
|
2258
2412
|
...options.headers
|
|
2259
2413
|
}
|
|
2260
2414
|
});
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
}
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
}
|
|
2277
|
-
if (options?.query) {
|
|
2278
|
-
params.query = options.query;
|
|
2415
|
+
var googleRemoveAssetGroupSignal = (options) => (options.client ?? client).post({
|
|
2416
|
+
security: [{
|
|
2417
|
+
key: "secretKey",
|
|
2418
|
+
scheme: "bearer",
|
|
2419
|
+
type: "http"
|
|
2420
|
+
}, {
|
|
2421
|
+
key: "frontendToken",
|
|
2422
|
+
scheme: "bearer",
|
|
2423
|
+
type: "http"
|
|
2424
|
+
}],
|
|
2425
|
+
url: "/google/{connection_id}/asset-groups/{asset_group_id}/signals/{id}/remove",
|
|
2426
|
+
...options,
|
|
2427
|
+
headers: {
|
|
2428
|
+
"Content-Type": "application/json",
|
|
2429
|
+
...options.headers
|
|
2279
2430
|
}
|
|
2280
|
-
return [params];
|
|
2281
|
-
};
|
|
2282
|
-
var profilesListQueryKey = (options) => createQueryKey("profilesList", options);
|
|
2283
|
-
var profilesListOptions = (options) => reactQuery.queryOptions({
|
|
2284
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
2285
|
-
const { data } = await profilesList({
|
|
2286
|
-
...options,
|
|
2287
|
-
...queryKey[0],
|
|
2288
|
-
signal,
|
|
2289
|
-
throwOnError: true
|
|
2290
|
-
});
|
|
2291
|
-
return data;
|
|
2292
|
-
},
|
|
2293
|
-
queryKey: profilesListQueryKey(options)
|
|
2294
2431
|
});
|
|
2295
|
-
var
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
...page.headers
|
|
2307
|
-
};
|
|
2432
|
+
var googleCreatePerformanceMax = (options) => (options.client ?? client).post({
|
|
2433
|
+
security: [{
|
|
2434
|
+
key: "secretKey",
|
|
2435
|
+
scheme: "bearer",
|
|
2436
|
+
type: "http"
|
|
2437
|
+
}],
|
|
2438
|
+
url: "/google/{connection_id}/performance-max",
|
|
2439
|
+
...options,
|
|
2440
|
+
headers: {
|
|
2441
|
+
"Content-Type": "application/json",
|
|
2442
|
+
...options.headers
|
|
2308
2443
|
}
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2444
|
+
});
|
|
2445
|
+
var tiktokCreatorInfo = (options) => (options.client ?? client).get({
|
|
2446
|
+
security: [{
|
|
2447
|
+
key: "secretKey",
|
|
2448
|
+
scheme: "bearer",
|
|
2449
|
+
type: "http"
|
|
2450
|
+
}, {
|
|
2451
|
+
key: "frontendToken",
|
|
2452
|
+
scheme: "bearer",
|
|
2453
|
+
type: "http"
|
|
2454
|
+
}],
|
|
2455
|
+
url: "/connections/{id}/tiktok/creator-info",
|
|
2456
|
+
...options
|
|
2457
|
+
});
|
|
2458
|
+
var tiktokAdsListAdvertisers = (options) => (options.client ?? client).get({
|
|
2459
|
+
security: [{
|
|
2460
|
+
key: "secretKey",
|
|
2461
|
+
scheme: "bearer",
|
|
2462
|
+
type: "http"
|
|
2463
|
+
}, {
|
|
2464
|
+
key: "frontendToken",
|
|
2465
|
+
scheme: "bearer",
|
|
2466
|
+
type: "http"
|
|
2467
|
+
}],
|
|
2468
|
+
url: "/tiktok/{connection_id}/advertisers",
|
|
2469
|
+
...options
|
|
2470
|
+
});
|
|
2471
|
+
var tiktokAdsListBusinessCenters = (options) => (options.client ?? client).get({
|
|
2472
|
+
security: [{
|
|
2473
|
+
key: "secretKey",
|
|
2474
|
+
scheme: "bearer",
|
|
2475
|
+
type: "http"
|
|
2476
|
+
}, {
|
|
2477
|
+
key: "frontendToken",
|
|
2478
|
+
scheme: "bearer",
|
|
2479
|
+
type: "http"
|
|
2480
|
+
}],
|
|
2481
|
+
url: "/tiktok/{connection_id}/business-centers",
|
|
2482
|
+
...options
|
|
2483
|
+
});
|
|
2484
|
+
var tiktokAdsListCampaigns = (options) => (options.client ?? client).get({
|
|
2485
|
+
security: [{
|
|
2486
|
+
key: "secretKey",
|
|
2487
|
+
scheme: "bearer",
|
|
2488
|
+
type: "http"
|
|
2489
|
+
}, {
|
|
2490
|
+
key: "frontendToken",
|
|
2491
|
+
scheme: "bearer",
|
|
2492
|
+
type: "http"
|
|
2493
|
+
}],
|
|
2494
|
+
url: "/tiktok/{connection_id}/campaigns",
|
|
2495
|
+
...options
|
|
2496
|
+
});
|
|
2497
|
+
var tiktokAdsCreateCampaign = (options) => (options.client ?? client).post({
|
|
2498
|
+
security: [{
|
|
2499
|
+
key: "secretKey",
|
|
2500
|
+
scheme: "bearer",
|
|
2501
|
+
type: "http"
|
|
2502
|
+
}],
|
|
2503
|
+
url: "/tiktok/{connection_id}/campaigns",
|
|
2504
|
+
...options,
|
|
2505
|
+
headers: {
|
|
2506
|
+
"Content-Type": "application/json",
|
|
2507
|
+
...options.headers
|
|
2508
|
+
}
|
|
2509
|
+
});
|
|
2510
|
+
var tiktokAdsUpdateCampaignStatus = (options) => (options.client ?? client).post({
|
|
2511
|
+
security: [{
|
|
2512
|
+
key: "secretKey",
|
|
2513
|
+
scheme: "bearer",
|
|
2514
|
+
type: "http"
|
|
2515
|
+
}, {
|
|
2516
|
+
key: "frontendToken",
|
|
2517
|
+
scheme: "bearer",
|
|
2518
|
+
type: "http"
|
|
2519
|
+
}],
|
|
2520
|
+
url: "/tiktok/{connection_id}/campaigns/{campaign_id}/status",
|
|
2521
|
+
...options,
|
|
2522
|
+
headers: {
|
|
2523
|
+
"Content-Type": "application/json",
|
|
2524
|
+
...options.headers
|
|
2525
|
+
}
|
|
2526
|
+
});
|
|
2527
|
+
var tiktokAdsUpdateCampaignBudget = (options) => (options.client ?? client).post({
|
|
2528
|
+
security: [{
|
|
2529
|
+
key: "secretKey",
|
|
2530
|
+
scheme: "bearer",
|
|
2531
|
+
type: "http"
|
|
2532
|
+
}],
|
|
2533
|
+
url: "/tiktok/{connection_id}/campaigns/{campaign_id}/budget",
|
|
2534
|
+
...options,
|
|
2535
|
+
headers: {
|
|
2536
|
+
"Content-Type": "application/json",
|
|
2537
|
+
...options.headers
|
|
2538
|
+
}
|
|
2539
|
+
});
|
|
2540
|
+
var tiktokAdsRemoveCampaign = (options) => (options.client ?? client).post({
|
|
2541
|
+
security: [{
|
|
2542
|
+
key: "secretKey",
|
|
2543
|
+
scheme: "bearer",
|
|
2544
|
+
type: "http"
|
|
2545
|
+
}, {
|
|
2546
|
+
key: "frontendToken",
|
|
2547
|
+
scheme: "bearer",
|
|
2548
|
+
type: "http"
|
|
2549
|
+
}],
|
|
2550
|
+
url: "/tiktok/{connection_id}/campaigns/{campaign_id}/remove",
|
|
2551
|
+
...options
|
|
2552
|
+
});
|
|
2553
|
+
var tiktokAdsListAdGroups = (options) => (options.client ?? client).get({
|
|
2554
|
+
security: [{
|
|
2555
|
+
key: "secretKey",
|
|
2556
|
+
scheme: "bearer",
|
|
2557
|
+
type: "http"
|
|
2558
|
+
}, {
|
|
2559
|
+
key: "frontendToken",
|
|
2560
|
+
scheme: "bearer",
|
|
2561
|
+
type: "http"
|
|
2562
|
+
}],
|
|
2563
|
+
url: "/tiktok/{connection_id}/ad-groups",
|
|
2564
|
+
...options
|
|
2565
|
+
});
|
|
2566
|
+
var tiktokAdsCreateAdGroup = (options) => (options.client ?? client).post({
|
|
2567
|
+
security: [{
|
|
2568
|
+
key: "secretKey",
|
|
2569
|
+
scheme: "bearer",
|
|
2570
|
+
type: "http"
|
|
2571
|
+
}],
|
|
2572
|
+
url: "/tiktok/{connection_id}/ad-groups",
|
|
2573
|
+
...options,
|
|
2574
|
+
headers: {
|
|
2575
|
+
"Content-Type": "application/json",
|
|
2576
|
+
...options.headers
|
|
2577
|
+
}
|
|
2578
|
+
});
|
|
2579
|
+
var tiktokAdsUpdateAdGroupStatus = (options) => (options.client ?? client).post({
|
|
2580
|
+
security: [{
|
|
2581
|
+
key: "secretKey",
|
|
2582
|
+
scheme: "bearer",
|
|
2583
|
+
type: "http"
|
|
2584
|
+
}, {
|
|
2585
|
+
key: "frontendToken",
|
|
2586
|
+
scheme: "bearer",
|
|
2587
|
+
type: "http"
|
|
2588
|
+
}],
|
|
2589
|
+
url: "/tiktok/{connection_id}/ad-groups/{adgroup_id}/status",
|
|
2590
|
+
...options,
|
|
2591
|
+
headers: {
|
|
2592
|
+
"Content-Type": "application/json",
|
|
2593
|
+
...options.headers
|
|
2594
|
+
}
|
|
2595
|
+
});
|
|
2596
|
+
var tiktokAdsUpdateAdGroupBudget = (options) => (options.client ?? client).post({
|
|
2597
|
+
security: [{
|
|
2598
|
+
key: "secretKey",
|
|
2599
|
+
scheme: "bearer",
|
|
2600
|
+
type: "http"
|
|
2601
|
+
}],
|
|
2602
|
+
url: "/tiktok/{connection_id}/ad-groups/{adgroup_id}/budget",
|
|
2603
|
+
...options,
|
|
2604
|
+
headers: {
|
|
2605
|
+
"Content-Type": "application/json",
|
|
2606
|
+
...options.headers
|
|
2607
|
+
}
|
|
2608
|
+
});
|
|
2609
|
+
var tiktokAdsRemoveAdGroup = (options) => (options.client ?? client).post({
|
|
2610
|
+
security: [{
|
|
2611
|
+
key: "secretKey",
|
|
2612
|
+
scheme: "bearer",
|
|
2613
|
+
type: "http"
|
|
2614
|
+
}, {
|
|
2615
|
+
key: "frontendToken",
|
|
2616
|
+
scheme: "bearer",
|
|
2617
|
+
type: "http"
|
|
2618
|
+
}],
|
|
2619
|
+
url: "/tiktok/{connection_id}/ad-groups/{adgroup_id}/remove",
|
|
2620
|
+
...options
|
|
2621
|
+
});
|
|
2622
|
+
var tiktokAdsListAds = (options) => (options.client ?? client).get({
|
|
2623
|
+
security: [{
|
|
2624
|
+
key: "secretKey",
|
|
2625
|
+
scheme: "bearer",
|
|
2626
|
+
type: "http"
|
|
2627
|
+
}, {
|
|
2628
|
+
key: "frontendToken",
|
|
2629
|
+
scheme: "bearer",
|
|
2630
|
+
type: "http"
|
|
2631
|
+
}],
|
|
2632
|
+
url: "/tiktok/{connection_id}/ads",
|
|
2633
|
+
...options
|
|
2634
|
+
});
|
|
2635
|
+
var tiktokAdsCreateAd = (options) => (options.client ?? client).post({
|
|
2636
|
+
security: [{
|
|
2637
|
+
key: "secretKey",
|
|
2638
|
+
scheme: "bearer",
|
|
2639
|
+
type: "http"
|
|
2640
|
+
}, {
|
|
2641
|
+
key: "frontendToken",
|
|
2642
|
+
scheme: "bearer",
|
|
2643
|
+
type: "http"
|
|
2644
|
+
}],
|
|
2645
|
+
url: "/tiktok/{connection_id}/ads",
|
|
2646
|
+
...options,
|
|
2647
|
+
headers: {
|
|
2648
|
+
"Content-Type": "application/json",
|
|
2649
|
+
...options.headers
|
|
2650
|
+
}
|
|
2651
|
+
});
|
|
2652
|
+
var tiktokAdsUpdateAdStatus = (options) => (options.client ?? client).post({
|
|
2653
|
+
security: [{
|
|
2654
|
+
key: "secretKey",
|
|
2655
|
+
scheme: "bearer",
|
|
2656
|
+
type: "http"
|
|
2657
|
+
}, {
|
|
2658
|
+
key: "frontendToken",
|
|
2659
|
+
scheme: "bearer",
|
|
2660
|
+
type: "http"
|
|
2661
|
+
}],
|
|
2662
|
+
url: "/tiktok/{connection_id}/ads/{ad_id}/status",
|
|
2663
|
+
...options,
|
|
2664
|
+
headers: {
|
|
2665
|
+
"Content-Type": "application/json",
|
|
2666
|
+
...options.headers
|
|
2667
|
+
}
|
|
2668
|
+
});
|
|
2669
|
+
var tiktokAdsRemoveAd = (options) => (options.client ?? client).post({
|
|
2670
|
+
security: [{
|
|
2671
|
+
key: "secretKey",
|
|
2672
|
+
scheme: "bearer",
|
|
2673
|
+
type: "http"
|
|
2674
|
+
}, {
|
|
2675
|
+
key: "frontendToken",
|
|
2676
|
+
scheme: "bearer",
|
|
2677
|
+
type: "http"
|
|
2678
|
+
}],
|
|
2679
|
+
url: "/tiktok/{connection_id}/ads/{ad_id}/remove",
|
|
2680
|
+
...options
|
|
2681
|
+
});
|
|
2682
|
+
var tiktokAdsGetInsights = (options) => (options.client ?? client).post({
|
|
2683
|
+
security: [{
|
|
2684
|
+
key: "secretKey",
|
|
2685
|
+
scheme: "bearer",
|
|
2686
|
+
type: "http"
|
|
2687
|
+
}, {
|
|
2688
|
+
key: "frontendToken",
|
|
2689
|
+
scheme: "bearer",
|
|
2690
|
+
type: "http"
|
|
2691
|
+
}],
|
|
2692
|
+
url: "/tiktok/{connection_id}/insights",
|
|
2693
|
+
...options,
|
|
2694
|
+
headers: {
|
|
2695
|
+
"Content-Type": "application/json",
|
|
2696
|
+
...options.headers
|
|
2697
|
+
}
|
|
2698
|
+
});
|
|
2699
|
+
var tiktokAdsGetAdTree = (options) => (options.client ?? client).get({
|
|
2700
|
+
security: [{
|
|
2701
|
+
key: "secretKey",
|
|
2702
|
+
scheme: "bearer",
|
|
2703
|
+
type: "http"
|
|
2704
|
+
}, {
|
|
2705
|
+
key: "frontendToken",
|
|
2706
|
+
scheme: "bearer",
|
|
2707
|
+
type: "http"
|
|
2708
|
+
}],
|
|
2709
|
+
url: "/tiktok/{connection_id}/ads/tree",
|
|
2710
|
+
...options
|
|
2711
|
+
});
|
|
2712
|
+
var tiktokAdsListIdentities = (options) => (options.client ?? client).get({
|
|
2713
|
+
security: [{
|
|
2714
|
+
key: "secretKey",
|
|
2715
|
+
scheme: "bearer",
|
|
2716
|
+
type: "http"
|
|
2717
|
+
}, {
|
|
2718
|
+
key: "frontendToken",
|
|
2719
|
+
scheme: "bearer",
|
|
2720
|
+
type: "http"
|
|
2721
|
+
}],
|
|
2722
|
+
url: "/tiktok/{connection_id}/identities",
|
|
2723
|
+
...options
|
|
2724
|
+
});
|
|
2725
|
+
var tiktokAdsCreateIdentity = (options) => (options.client ?? client).post({
|
|
2726
|
+
security: [{
|
|
2727
|
+
key: "secretKey",
|
|
2728
|
+
scheme: "bearer",
|
|
2729
|
+
type: "http"
|
|
2730
|
+
}, {
|
|
2731
|
+
key: "frontendToken",
|
|
2732
|
+
scheme: "bearer",
|
|
2733
|
+
type: "http"
|
|
2734
|
+
}],
|
|
2735
|
+
url: "/tiktok/{connection_id}/identities",
|
|
2736
|
+
...options,
|
|
2737
|
+
headers: {
|
|
2738
|
+
"Content-Type": "application/json",
|
|
2739
|
+
...options.headers
|
|
2740
|
+
}
|
|
2741
|
+
});
|
|
2742
|
+
var logsList = (options) => (options?.client ?? client).get({
|
|
2743
|
+
security: [{
|
|
2744
|
+
key: "secretKey",
|
|
2745
|
+
scheme: "bearer",
|
|
2746
|
+
type: "http"
|
|
2747
|
+
}],
|
|
2748
|
+
url: "/logs",
|
|
2749
|
+
...options
|
|
2750
|
+
});
|
|
2751
|
+
var logsGet = (options) => (options.client ?? client).get({
|
|
2752
|
+
security: [{
|
|
2753
|
+
key: "secretKey",
|
|
2754
|
+
scheme: "bearer",
|
|
2755
|
+
type: "http"
|
|
2756
|
+
}],
|
|
2757
|
+
url: "/logs/{id}",
|
|
2758
|
+
...options
|
|
2759
|
+
});
|
|
2760
|
+
var webhooksListEndpoints = (options) => (options?.client ?? client).get({
|
|
2761
|
+
security: [{
|
|
2762
|
+
key: "secretKey",
|
|
2763
|
+
scheme: "bearer",
|
|
2764
|
+
type: "http"
|
|
2765
|
+
}],
|
|
2766
|
+
url: "/webhooks/endpoints",
|
|
2767
|
+
...options
|
|
2768
|
+
});
|
|
2769
|
+
var webhooksCreateEndpoint = (options) => (options.client ?? client).post({
|
|
2770
|
+
security: [{
|
|
2771
|
+
key: "secretKey",
|
|
2772
|
+
scheme: "bearer",
|
|
2773
|
+
type: "http"
|
|
2774
|
+
}],
|
|
2775
|
+
url: "/webhooks/endpoints",
|
|
2776
|
+
...options,
|
|
2777
|
+
headers: {
|
|
2778
|
+
"Content-Type": "application/json",
|
|
2779
|
+
...options.headers
|
|
2780
|
+
}
|
|
2781
|
+
});
|
|
2782
|
+
var webhooksDeleteEndpoint = (options) => (options.client ?? client).delete({
|
|
2783
|
+
security: [{
|
|
2784
|
+
key: "secretKey",
|
|
2785
|
+
scheme: "bearer",
|
|
2786
|
+
type: "http"
|
|
2787
|
+
}],
|
|
2788
|
+
url: "/webhooks/endpoints/{id}",
|
|
2789
|
+
...options
|
|
2790
|
+
});
|
|
2791
|
+
var webhooksGetEndpoint = (options) => (options.client ?? client).get({
|
|
2792
|
+
security: [{
|
|
2793
|
+
key: "secretKey",
|
|
2794
|
+
scheme: "bearer",
|
|
2795
|
+
type: "http"
|
|
2796
|
+
}],
|
|
2797
|
+
url: "/webhooks/endpoints/{id}",
|
|
2798
|
+
...options
|
|
2799
|
+
});
|
|
2800
|
+
var webhooksUpdateEndpoint = (options) => (options.client ?? client).patch({
|
|
2801
|
+
security: [{
|
|
2802
|
+
key: "secretKey",
|
|
2803
|
+
scheme: "bearer",
|
|
2804
|
+
type: "http"
|
|
2805
|
+
}],
|
|
2806
|
+
url: "/webhooks/endpoints/{id}",
|
|
2807
|
+
...options,
|
|
2808
|
+
headers: {
|
|
2809
|
+
"Content-Type": "application/json",
|
|
2810
|
+
...options.headers
|
|
2811
|
+
}
|
|
2812
|
+
});
|
|
2813
|
+
var webhooksCreatePortal = (options) => (options?.client ?? client).post({
|
|
2814
|
+
security: [{
|
|
2815
|
+
key: "secretKey",
|
|
2816
|
+
scheme: "bearer",
|
|
2817
|
+
type: "http"
|
|
2818
|
+
}],
|
|
2819
|
+
url: "/webhooks/portal",
|
|
2820
|
+
...options
|
|
2821
|
+
});
|
|
2822
|
+
var webhooksListEventTypes = (options) => (options?.client ?? client).get({
|
|
2823
|
+
security: [{
|
|
2824
|
+
key: "secretKey",
|
|
2825
|
+
scheme: "bearer",
|
|
2826
|
+
type: "http"
|
|
2827
|
+
}],
|
|
2828
|
+
url: "/webhooks/event-types",
|
|
2829
|
+
...options
|
|
2830
|
+
});
|
|
2831
|
+
var webhooksPing = (options) => (options.client ?? client).post({
|
|
2832
|
+
security: [{
|
|
2833
|
+
key: "secretKey",
|
|
2834
|
+
scheme: "bearer",
|
|
2835
|
+
type: "http"
|
|
2836
|
+
}],
|
|
2837
|
+
url: "/webhooks/ping",
|
|
2838
|
+
...options,
|
|
2839
|
+
headers: {
|
|
2840
|
+
"Content-Type": "application/json",
|
|
2841
|
+
...options.headers
|
|
2842
|
+
}
|
|
2843
|
+
});
|
|
2844
|
+
var tokensMint = (options) => (options.client ?? client).post({
|
|
2845
|
+
security: [{
|
|
2846
|
+
key: "secretKey",
|
|
2847
|
+
scheme: "bearer",
|
|
2848
|
+
type: "http"
|
|
2849
|
+
}],
|
|
2850
|
+
url: "/tokens",
|
|
2851
|
+
...options,
|
|
2852
|
+
headers: {
|
|
2853
|
+
"Content-Type": "application/json",
|
|
2854
|
+
...options.headers
|
|
2855
|
+
}
|
|
2856
|
+
});
|
|
2857
|
+
|
|
2858
|
+
// src/client/@tanstack/react-query.gen.ts
|
|
2859
|
+
var createQueryKey = (id, options, infinite, tags) => {
|
|
2860
|
+
const params = { _id: id, baseUrl: options?.baseUrl || (options?.client ?? client).getConfig().baseUrl };
|
|
2861
|
+
if (infinite) {
|
|
2862
|
+
params._infinite = infinite;
|
|
2863
|
+
}
|
|
2864
|
+
if (options?.body) {
|
|
2865
|
+
params.body = options.body;
|
|
2866
|
+
}
|
|
2867
|
+
if (options?.headers) {
|
|
2868
|
+
params.headers = options.headers;
|
|
2869
|
+
}
|
|
2870
|
+
if (options?.path) {
|
|
2871
|
+
params.path = options.path;
|
|
2872
|
+
}
|
|
2873
|
+
if (options?.query) {
|
|
2874
|
+
params.query = options.query;
|
|
2875
|
+
}
|
|
2876
|
+
return [params];
|
|
2877
|
+
};
|
|
2878
|
+
var profilesListQueryKey = (options) => createQueryKey("profilesList", options);
|
|
2879
|
+
var profilesListOptions = (options) => reactQuery.queryOptions({
|
|
2880
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
2881
|
+
const { data } = await profilesList({
|
|
2882
|
+
...options,
|
|
2883
|
+
...queryKey[0],
|
|
2884
|
+
signal,
|
|
2885
|
+
throwOnError: true
|
|
2886
|
+
});
|
|
2887
|
+
return data;
|
|
2888
|
+
},
|
|
2889
|
+
queryKey: profilesListQueryKey(options)
|
|
2890
|
+
});
|
|
2891
|
+
var createInfiniteParams = (queryKey, page) => {
|
|
2892
|
+
const params = { ...queryKey[0] };
|
|
2893
|
+
if (page.body) {
|
|
2894
|
+
params.body = {
|
|
2895
|
+
...queryKey[0].body,
|
|
2896
|
+
...page.body
|
|
2897
|
+
};
|
|
2898
|
+
}
|
|
2899
|
+
if (page.headers) {
|
|
2900
|
+
params.headers = {
|
|
2901
|
+
...queryKey[0].headers,
|
|
2902
|
+
...page.headers
|
|
2903
|
+
};
|
|
2904
|
+
}
|
|
2905
|
+
if (page.path) {
|
|
2906
|
+
params.path = {
|
|
2907
|
+
...queryKey[0].path,
|
|
2312
2908
|
...page.path
|
|
2313
2909
|
};
|
|
2314
2910
|
}
|
|
@@ -2318,10 +2914,336 @@ var createInfiniteParams = (queryKey, page) => {
|
|
|
2318
2914
|
...page.query
|
|
2319
2915
|
};
|
|
2320
2916
|
}
|
|
2321
|
-
return params;
|
|
2917
|
+
return params;
|
|
2918
|
+
};
|
|
2919
|
+
var profilesListInfiniteQueryKey = (options) => createQueryKey("profilesList", options, true);
|
|
2920
|
+
var profilesListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
2921
|
+
// @ts-ignore
|
|
2922
|
+
{
|
|
2923
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
2924
|
+
const page = typeof pageParam === "object" ? pageParam : {
|
|
2925
|
+
query: {
|
|
2926
|
+
offset: pageParam
|
|
2927
|
+
}
|
|
2928
|
+
};
|
|
2929
|
+
const params = createInfiniteParams(queryKey, page);
|
|
2930
|
+
const { data } = await profilesList({
|
|
2931
|
+
...options,
|
|
2932
|
+
...params,
|
|
2933
|
+
signal,
|
|
2934
|
+
throwOnError: true
|
|
2935
|
+
});
|
|
2936
|
+
return data;
|
|
2937
|
+
},
|
|
2938
|
+
queryKey: profilesListInfiniteQueryKey(options)
|
|
2939
|
+
}
|
|
2940
|
+
);
|
|
2941
|
+
var profilesCreateMutation = (options) => {
|
|
2942
|
+
const mutationOptions = {
|
|
2943
|
+
mutationFn: async (fnOptions) => {
|
|
2944
|
+
const { data } = await profilesCreate({
|
|
2945
|
+
...options,
|
|
2946
|
+
...fnOptions,
|
|
2947
|
+
throwOnError: true
|
|
2948
|
+
});
|
|
2949
|
+
return data;
|
|
2950
|
+
}
|
|
2951
|
+
};
|
|
2952
|
+
return mutationOptions;
|
|
2953
|
+
};
|
|
2954
|
+
var profilesDeleteMutation = (options) => {
|
|
2955
|
+
const mutationOptions = {
|
|
2956
|
+
mutationFn: async (fnOptions) => {
|
|
2957
|
+
const { data } = await profilesDelete({
|
|
2958
|
+
...options,
|
|
2959
|
+
...fnOptions,
|
|
2960
|
+
throwOnError: true
|
|
2961
|
+
});
|
|
2962
|
+
return data;
|
|
2963
|
+
}
|
|
2964
|
+
};
|
|
2965
|
+
return mutationOptions;
|
|
2966
|
+
};
|
|
2967
|
+
var profilesGetQueryKey = (options) => createQueryKey("profilesGet", options);
|
|
2968
|
+
var profilesGetOptions = (options) => reactQuery.queryOptions({
|
|
2969
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
2970
|
+
const { data } = await profilesGet({
|
|
2971
|
+
...options,
|
|
2972
|
+
...queryKey[0],
|
|
2973
|
+
signal,
|
|
2974
|
+
throwOnError: true
|
|
2975
|
+
});
|
|
2976
|
+
return data;
|
|
2977
|
+
},
|
|
2978
|
+
queryKey: profilesGetQueryKey(options)
|
|
2979
|
+
});
|
|
2980
|
+
var profilesUpdateMutation = (options) => {
|
|
2981
|
+
const mutationOptions = {
|
|
2982
|
+
mutationFn: async (fnOptions) => {
|
|
2983
|
+
const { data } = await profilesUpdate({
|
|
2984
|
+
...options,
|
|
2985
|
+
...fnOptions,
|
|
2986
|
+
throwOnError: true
|
|
2987
|
+
});
|
|
2988
|
+
return data;
|
|
2989
|
+
}
|
|
2990
|
+
};
|
|
2991
|
+
return mutationOptions;
|
|
2992
|
+
};
|
|
2993
|
+
var connectionsListByProfileQueryKey = (options) => createQueryKey("connectionsListByProfile", options);
|
|
2994
|
+
var connectionsListByProfileOptions = (options) => reactQuery.queryOptions({
|
|
2995
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
2996
|
+
const { data } = await connectionsListByProfile({
|
|
2997
|
+
...options,
|
|
2998
|
+
...queryKey[0],
|
|
2999
|
+
signal,
|
|
3000
|
+
throwOnError: true
|
|
3001
|
+
});
|
|
3002
|
+
return data;
|
|
3003
|
+
},
|
|
3004
|
+
queryKey: connectionsListByProfileQueryKey(options)
|
|
3005
|
+
});
|
|
3006
|
+
var connectionsListByProfileInfiniteQueryKey = (options) => createQueryKey("connectionsListByProfile", options, true);
|
|
3007
|
+
var connectionsListByProfileInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
3008
|
+
// @ts-ignore
|
|
3009
|
+
{
|
|
3010
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
3011
|
+
const page = typeof pageParam === "object" ? pageParam : {
|
|
3012
|
+
query: {
|
|
3013
|
+
offset: pageParam
|
|
3014
|
+
}
|
|
3015
|
+
};
|
|
3016
|
+
const params = createInfiniteParams(queryKey, page);
|
|
3017
|
+
const { data } = await connectionsListByProfile({
|
|
3018
|
+
...options,
|
|
3019
|
+
...params,
|
|
3020
|
+
signal,
|
|
3021
|
+
throwOnError: true
|
|
3022
|
+
});
|
|
3023
|
+
return data;
|
|
3024
|
+
},
|
|
3025
|
+
queryKey: connectionsListByProfileInfiniteQueryKey(options)
|
|
3026
|
+
}
|
|
3027
|
+
);
|
|
3028
|
+
var connectionsDeleteMutation = (options) => {
|
|
3029
|
+
const mutationOptions = {
|
|
3030
|
+
mutationFn: async (fnOptions) => {
|
|
3031
|
+
const { data } = await connectionsDelete({
|
|
3032
|
+
...options,
|
|
3033
|
+
...fnOptions,
|
|
3034
|
+
throwOnError: true
|
|
3035
|
+
});
|
|
3036
|
+
return data;
|
|
3037
|
+
}
|
|
3038
|
+
};
|
|
3039
|
+
return mutationOptions;
|
|
3040
|
+
};
|
|
3041
|
+
var connectionsGetQueryKey = (options) => createQueryKey("connectionsGet", options);
|
|
3042
|
+
var connectionsGetOptions = (options) => reactQuery.queryOptions({
|
|
3043
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3044
|
+
const { data } = await connectionsGet({
|
|
3045
|
+
...options,
|
|
3046
|
+
...queryKey[0],
|
|
3047
|
+
signal,
|
|
3048
|
+
throwOnError: true
|
|
3049
|
+
});
|
|
3050
|
+
return data;
|
|
3051
|
+
},
|
|
3052
|
+
queryKey: connectionsGetQueryKey(options)
|
|
3053
|
+
});
|
|
3054
|
+
var connectionsSelectMutation = (options) => {
|
|
3055
|
+
const mutationOptions = {
|
|
3056
|
+
mutationFn: async (fnOptions) => {
|
|
3057
|
+
const { data } = await connectionsSelect({
|
|
3058
|
+
...options,
|
|
3059
|
+
...fnOptions,
|
|
3060
|
+
throwOnError: true
|
|
3061
|
+
});
|
|
3062
|
+
return data;
|
|
3063
|
+
}
|
|
3064
|
+
};
|
|
3065
|
+
return mutationOptions;
|
|
3066
|
+
};
|
|
3067
|
+
var connectionsListAccountsQueryKey = (options) => createQueryKey("connectionsListAccounts", options);
|
|
3068
|
+
var connectionsListAccountsOptions = (options) => reactQuery.queryOptions({
|
|
3069
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3070
|
+
const { data } = await connectionsListAccounts({
|
|
3071
|
+
...options,
|
|
3072
|
+
...queryKey[0],
|
|
3073
|
+
signal,
|
|
3074
|
+
throwOnError: true
|
|
3075
|
+
});
|
|
3076
|
+
return data;
|
|
3077
|
+
},
|
|
3078
|
+
queryKey: connectionsListAccountsQueryKey(options)
|
|
3079
|
+
});
|
|
3080
|
+
var connectionsConnectMutation = (options) => {
|
|
3081
|
+
const mutationOptions = {
|
|
3082
|
+
mutationFn: async (fnOptions) => {
|
|
3083
|
+
const { data } = await connectionsConnect({
|
|
3084
|
+
...options,
|
|
3085
|
+
...fnOptions,
|
|
3086
|
+
throwOnError: true
|
|
3087
|
+
});
|
|
3088
|
+
return data;
|
|
3089
|
+
}
|
|
3090
|
+
};
|
|
3091
|
+
return mutationOptions;
|
|
3092
|
+
};
|
|
3093
|
+
var mediaListQueryKey = (options) => createQueryKey("mediaList", options);
|
|
3094
|
+
var mediaListOptions = (options) => reactQuery.queryOptions({
|
|
3095
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3096
|
+
const { data } = await mediaList({
|
|
3097
|
+
...options,
|
|
3098
|
+
...queryKey[0],
|
|
3099
|
+
signal,
|
|
3100
|
+
throwOnError: true
|
|
3101
|
+
});
|
|
3102
|
+
return data;
|
|
3103
|
+
},
|
|
3104
|
+
queryKey: mediaListQueryKey(options)
|
|
3105
|
+
});
|
|
3106
|
+
var mediaListInfiniteQueryKey = (options) => createQueryKey("mediaList", options, true);
|
|
3107
|
+
var mediaListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
3108
|
+
// @ts-ignore
|
|
3109
|
+
{
|
|
3110
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
3111
|
+
const page = typeof pageParam === "object" ? pageParam : {
|
|
3112
|
+
query: {
|
|
3113
|
+
offset: pageParam
|
|
3114
|
+
}
|
|
3115
|
+
};
|
|
3116
|
+
const params = createInfiniteParams(queryKey, page);
|
|
3117
|
+
const { data } = await mediaList({
|
|
3118
|
+
...options,
|
|
3119
|
+
...params,
|
|
3120
|
+
signal,
|
|
3121
|
+
throwOnError: true
|
|
3122
|
+
});
|
|
3123
|
+
return data;
|
|
3124
|
+
},
|
|
3125
|
+
queryKey: mediaListInfiniteQueryKey(options)
|
|
3126
|
+
}
|
|
3127
|
+
);
|
|
3128
|
+
var mediaCreateMutation = (options) => {
|
|
3129
|
+
const mutationOptions = {
|
|
3130
|
+
mutationFn: async (fnOptions) => {
|
|
3131
|
+
const { data } = await mediaCreate({
|
|
3132
|
+
...options,
|
|
3133
|
+
...fnOptions,
|
|
3134
|
+
throwOnError: true
|
|
3135
|
+
});
|
|
3136
|
+
return data;
|
|
3137
|
+
}
|
|
3138
|
+
};
|
|
3139
|
+
return mutationOptions;
|
|
2322
3140
|
};
|
|
2323
|
-
var
|
|
2324
|
-
|
|
3141
|
+
var mediaDeleteMutation = (options) => {
|
|
3142
|
+
const mutationOptions = {
|
|
3143
|
+
mutationFn: async (fnOptions) => {
|
|
3144
|
+
const { data } = await mediaDelete({
|
|
3145
|
+
...options,
|
|
3146
|
+
...fnOptions,
|
|
3147
|
+
throwOnError: true
|
|
3148
|
+
});
|
|
3149
|
+
return data;
|
|
3150
|
+
}
|
|
3151
|
+
};
|
|
3152
|
+
return mutationOptions;
|
|
3153
|
+
};
|
|
3154
|
+
var mediaGetQueryKey = (options) => createQueryKey("mediaGet", options);
|
|
3155
|
+
var mediaGetOptions = (options) => reactQuery.queryOptions({
|
|
3156
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3157
|
+
const { data } = await mediaGet({
|
|
3158
|
+
...options,
|
|
3159
|
+
...queryKey[0],
|
|
3160
|
+
signal,
|
|
3161
|
+
throwOnError: true
|
|
3162
|
+
});
|
|
3163
|
+
return data;
|
|
3164
|
+
},
|
|
3165
|
+
queryKey: mediaGetQueryKey(options)
|
|
3166
|
+
});
|
|
3167
|
+
var mediaUpdateMutation = (options) => {
|
|
3168
|
+
const mutationOptions = {
|
|
3169
|
+
mutationFn: async (fnOptions) => {
|
|
3170
|
+
const { data } = await mediaUpdate({
|
|
3171
|
+
...options,
|
|
3172
|
+
...fnOptions,
|
|
3173
|
+
throwOnError: true
|
|
3174
|
+
});
|
|
3175
|
+
return data;
|
|
3176
|
+
}
|
|
3177
|
+
};
|
|
3178
|
+
return mutationOptions;
|
|
3179
|
+
};
|
|
3180
|
+
var mediaSignPartMutation = (options) => {
|
|
3181
|
+
const mutationOptions = {
|
|
3182
|
+
mutationFn: async (fnOptions) => {
|
|
3183
|
+
const { data } = await mediaSignPart({
|
|
3184
|
+
...options,
|
|
3185
|
+
...fnOptions,
|
|
3186
|
+
throwOnError: true
|
|
3187
|
+
});
|
|
3188
|
+
return data;
|
|
3189
|
+
}
|
|
3190
|
+
};
|
|
3191
|
+
return mutationOptions;
|
|
3192
|
+
};
|
|
3193
|
+
var mediaListPartsQueryKey = (options) => createQueryKey("mediaListParts", options);
|
|
3194
|
+
var mediaListPartsOptions = (options) => reactQuery.queryOptions({
|
|
3195
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3196
|
+
const { data } = await mediaListParts({
|
|
3197
|
+
...options,
|
|
3198
|
+
...queryKey[0],
|
|
3199
|
+
signal,
|
|
3200
|
+
throwOnError: true
|
|
3201
|
+
});
|
|
3202
|
+
return data;
|
|
3203
|
+
},
|
|
3204
|
+
queryKey: mediaListPartsQueryKey(options)
|
|
3205
|
+
});
|
|
3206
|
+
var mediaCompleteMutation = (options) => {
|
|
3207
|
+
const mutationOptions = {
|
|
3208
|
+
mutationFn: async (fnOptions) => {
|
|
3209
|
+
const { data } = await mediaComplete({
|
|
3210
|
+
...options,
|
|
3211
|
+
...fnOptions,
|
|
3212
|
+
throwOnError: true
|
|
3213
|
+
});
|
|
3214
|
+
return data;
|
|
3215
|
+
}
|
|
3216
|
+
};
|
|
3217
|
+
return mutationOptions;
|
|
3218
|
+
};
|
|
3219
|
+
var mediaAbortMutation = (options) => {
|
|
3220
|
+
const mutationOptions = {
|
|
3221
|
+
mutationFn: async (fnOptions) => {
|
|
3222
|
+
const { data } = await mediaAbort({
|
|
3223
|
+
...options,
|
|
3224
|
+
...fnOptions,
|
|
3225
|
+
throwOnError: true
|
|
3226
|
+
});
|
|
3227
|
+
return data;
|
|
3228
|
+
}
|
|
3229
|
+
};
|
|
3230
|
+
return mutationOptions;
|
|
3231
|
+
};
|
|
3232
|
+
var postsListQueryKey = (options) => createQueryKey("postsList", options);
|
|
3233
|
+
var postsListOptions = (options) => reactQuery.queryOptions({
|
|
3234
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3235
|
+
const { data } = await postsList({
|
|
3236
|
+
...options,
|
|
3237
|
+
...queryKey[0],
|
|
3238
|
+
signal,
|
|
3239
|
+
throwOnError: true
|
|
3240
|
+
});
|
|
3241
|
+
return data;
|
|
3242
|
+
},
|
|
3243
|
+
queryKey: postsListQueryKey(options)
|
|
3244
|
+
});
|
|
3245
|
+
var postsListInfiniteQueryKey = (options) => createQueryKey("postsList", options, true);
|
|
3246
|
+
var postsListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
2325
3247
|
// @ts-ignore
|
|
2326
3248
|
{
|
|
2327
3249
|
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
@@ -2331,7 +3253,7 @@ var profilesListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
|
2331
3253
|
}
|
|
2332
3254
|
};
|
|
2333
3255
|
const params = createInfiniteParams(queryKey, page);
|
|
2334
|
-
const { data } = await
|
|
3256
|
+
const { data } = await postsList({
|
|
2335
3257
|
...options,
|
|
2336
3258
|
...params,
|
|
2337
3259
|
signal,
|
|
@@ -2339,13 +3261,195 @@ var profilesListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
|
2339
3261
|
});
|
|
2340
3262
|
return data;
|
|
2341
3263
|
},
|
|
2342
|
-
queryKey:
|
|
3264
|
+
queryKey: postsListInfiniteQueryKey(options)
|
|
2343
3265
|
}
|
|
2344
3266
|
);
|
|
2345
|
-
var
|
|
3267
|
+
var postsCreateMutation = (options) => {
|
|
3268
|
+
const mutationOptions = {
|
|
3269
|
+
mutationFn: async (fnOptions) => {
|
|
3270
|
+
const { data } = await postsCreate({
|
|
3271
|
+
...options,
|
|
3272
|
+
...fnOptions,
|
|
3273
|
+
throwOnError: true
|
|
3274
|
+
});
|
|
3275
|
+
return data;
|
|
3276
|
+
}
|
|
3277
|
+
};
|
|
3278
|
+
return mutationOptions;
|
|
3279
|
+
};
|
|
3280
|
+
var postsDeleteMutation = (options) => {
|
|
3281
|
+
const mutationOptions = {
|
|
3282
|
+
mutationFn: async (fnOptions) => {
|
|
3283
|
+
const { data } = await postsDelete({
|
|
3284
|
+
...options,
|
|
3285
|
+
...fnOptions,
|
|
3286
|
+
throwOnError: true
|
|
3287
|
+
});
|
|
3288
|
+
return data;
|
|
3289
|
+
}
|
|
3290
|
+
};
|
|
3291
|
+
return mutationOptions;
|
|
3292
|
+
};
|
|
3293
|
+
var postsGetQueryKey = (options) => createQueryKey("postsGet", options);
|
|
3294
|
+
var postsGetOptions = (options) => reactQuery.queryOptions({
|
|
3295
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3296
|
+
const { data } = await postsGet({
|
|
3297
|
+
...options,
|
|
3298
|
+
...queryKey[0],
|
|
3299
|
+
signal,
|
|
3300
|
+
throwOnError: true
|
|
3301
|
+
});
|
|
3302
|
+
return data;
|
|
3303
|
+
},
|
|
3304
|
+
queryKey: postsGetQueryKey(options)
|
|
3305
|
+
});
|
|
3306
|
+
var postsUpdateMutation = (options) => {
|
|
3307
|
+
const mutationOptions = {
|
|
3308
|
+
mutationFn: async (fnOptions) => {
|
|
3309
|
+
const { data } = await postsUpdate({
|
|
3310
|
+
...options,
|
|
3311
|
+
...fnOptions,
|
|
3312
|
+
throwOnError: true
|
|
3313
|
+
});
|
|
3314
|
+
return data;
|
|
3315
|
+
}
|
|
3316
|
+
};
|
|
3317
|
+
return mutationOptions;
|
|
3318
|
+
};
|
|
3319
|
+
var postsValidateMutation = (options) => {
|
|
3320
|
+
const mutationOptions = {
|
|
3321
|
+
mutationFn: async (fnOptions) => {
|
|
3322
|
+
const { data } = await postsValidate({
|
|
3323
|
+
...options,
|
|
3324
|
+
...fnOptions,
|
|
3325
|
+
throwOnError: true
|
|
3326
|
+
});
|
|
3327
|
+
return data;
|
|
3328
|
+
}
|
|
3329
|
+
};
|
|
3330
|
+
return mutationOptions;
|
|
3331
|
+
};
|
|
3332
|
+
var metaAccountQueryKey = (options) => createQueryKey("metaAccount", options);
|
|
3333
|
+
var metaAccountOptions = (options) => reactQuery.queryOptions({
|
|
3334
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3335
|
+
const { data } = await metaAccount({
|
|
3336
|
+
...options,
|
|
3337
|
+
...queryKey[0],
|
|
3338
|
+
signal,
|
|
3339
|
+
throwOnError: true
|
|
3340
|
+
});
|
|
3341
|
+
return data;
|
|
3342
|
+
},
|
|
3343
|
+
queryKey: metaAccountQueryKey(options)
|
|
3344
|
+
});
|
|
3345
|
+
var metaInsightsQueryKey = (options) => createQueryKey("metaInsights", options);
|
|
3346
|
+
var metaInsightsOptions = (options) => reactQuery.queryOptions({
|
|
3347
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3348
|
+
const { data } = await metaInsights({
|
|
3349
|
+
...options,
|
|
3350
|
+
...queryKey[0],
|
|
3351
|
+
signal,
|
|
3352
|
+
throwOnError: true
|
|
3353
|
+
});
|
|
3354
|
+
return data;
|
|
3355
|
+
},
|
|
3356
|
+
queryKey: metaInsightsQueryKey(options)
|
|
3357
|
+
});
|
|
3358
|
+
var metaCampaignsQueryKey = (options) => createQueryKey("metaCampaigns", options);
|
|
3359
|
+
var metaCampaignsOptions = (options) => reactQuery.queryOptions({
|
|
3360
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3361
|
+
const { data } = await metaCampaigns({
|
|
3362
|
+
...options,
|
|
3363
|
+
...queryKey[0],
|
|
3364
|
+
signal,
|
|
3365
|
+
throwOnError: true
|
|
3366
|
+
});
|
|
3367
|
+
return data;
|
|
3368
|
+
},
|
|
3369
|
+
queryKey: metaCampaignsQueryKey(options)
|
|
3370
|
+
});
|
|
3371
|
+
var metaCampaignQueryKey = (options) => createQueryKey("metaCampaign", options);
|
|
3372
|
+
var metaCampaignOptions = (options) => reactQuery.queryOptions({
|
|
3373
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3374
|
+
const { data } = await metaCampaign({
|
|
3375
|
+
...options,
|
|
3376
|
+
...queryKey[0],
|
|
3377
|
+
signal,
|
|
3378
|
+
throwOnError: true
|
|
3379
|
+
});
|
|
3380
|
+
return data;
|
|
3381
|
+
},
|
|
3382
|
+
queryKey: metaCampaignQueryKey(options)
|
|
3383
|
+
});
|
|
3384
|
+
var metaAdsetsQueryKey = (options) => createQueryKey("metaAdsets", options);
|
|
3385
|
+
var metaAdsetsOptions = (options) => reactQuery.queryOptions({
|
|
3386
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3387
|
+
const { data } = await metaAdsets({
|
|
3388
|
+
...options,
|
|
3389
|
+
...queryKey[0],
|
|
3390
|
+
signal,
|
|
3391
|
+
throwOnError: true
|
|
3392
|
+
});
|
|
3393
|
+
return data;
|
|
3394
|
+
},
|
|
3395
|
+
queryKey: metaAdsetsQueryKey(options)
|
|
3396
|
+
});
|
|
3397
|
+
var metaAdsetQueryKey = (options) => createQueryKey("metaAdset", options);
|
|
3398
|
+
var metaAdsetOptions = (options) => reactQuery.queryOptions({
|
|
3399
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3400
|
+
const { data } = await metaAdset({
|
|
3401
|
+
...options,
|
|
3402
|
+
...queryKey[0],
|
|
3403
|
+
signal,
|
|
3404
|
+
throwOnError: true
|
|
3405
|
+
});
|
|
3406
|
+
return data;
|
|
3407
|
+
},
|
|
3408
|
+
queryKey: metaAdsetQueryKey(options)
|
|
3409
|
+
});
|
|
3410
|
+
var metaAdsQueryKey = (options) => createQueryKey("metaAds", options);
|
|
3411
|
+
var metaAdsOptions = (options) => reactQuery.queryOptions({
|
|
3412
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3413
|
+
const { data } = await metaAds({
|
|
3414
|
+
...options,
|
|
3415
|
+
...queryKey[0],
|
|
3416
|
+
signal,
|
|
3417
|
+
throwOnError: true
|
|
3418
|
+
});
|
|
3419
|
+
return data;
|
|
3420
|
+
},
|
|
3421
|
+
queryKey: metaAdsQueryKey(options)
|
|
3422
|
+
});
|
|
3423
|
+
var metaAdQueryKey = (options) => createQueryKey("metaAd", options);
|
|
3424
|
+
var metaAdOptions = (options) => reactQuery.queryOptions({
|
|
3425
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3426
|
+
const { data } = await metaAd({
|
|
3427
|
+
...options,
|
|
3428
|
+
...queryKey[0],
|
|
3429
|
+
signal,
|
|
3430
|
+
throwOnError: true
|
|
3431
|
+
});
|
|
3432
|
+
return data;
|
|
3433
|
+
},
|
|
3434
|
+
queryKey: metaAdQueryKey(options)
|
|
3435
|
+
});
|
|
3436
|
+
var googleGetAccountQueryKey = (options) => createQueryKey("googleGetAccount", options);
|
|
3437
|
+
var googleGetAccountOptions = (options) => reactQuery.queryOptions({
|
|
3438
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3439
|
+
const { data } = await googleGetAccount({
|
|
3440
|
+
...options,
|
|
3441
|
+
...queryKey[0],
|
|
3442
|
+
signal,
|
|
3443
|
+
throwOnError: true
|
|
3444
|
+
});
|
|
3445
|
+
return data;
|
|
3446
|
+
},
|
|
3447
|
+
queryKey: googleGetAccountQueryKey(options)
|
|
3448
|
+
});
|
|
3449
|
+
var googleEditAccountMutation = (options) => {
|
|
2346
3450
|
const mutationOptions = {
|
|
2347
3451
|
mutationFn: async (fnOptions) => {
|
|
2348
|
-
const { data } = await
|
|
3452
|
+
const { data } = await googleEditAccount({
|
|
2349
3453
|
...options,
|
|
2350
3454
|
...fnOptions,
|
|
2351
3455
|
throwOnError: true
|
|
@@ -2355,10 +3459,10 @@ var profilesCreateMutation = (options) => {
|
|
|
2355
3459
|
};
|
|
2356
3460
|
return mutationOptions;
|
|
2357
3461
|
};
|
|
2358
|
-
var
|
|
3462
|
+
var googleGetInsightsMutation = (options) => {
|
|
2359
3463
|
const mutationOptions = {
|
|
2360
3464
|
mutationFn: async (fnOptions) => {
|
|
2361
|
-
const { data } = await
|
|
3465
|
+
const { data } = await googleGetInsights({
|
|
2362
3466
|
...options,
|
|
2363
3467
|
...fnOptions,
|
|
2364
3468
|
throwOnError: true
|
|
@@ -2368,10 +3472,10 @@ var profilesDeleteMutation = (options) => {
|
|
|
2368
3472
|
};
|
|
2369
3473
|
return mutationOptions;
|
|
2370
3474
|
};
|
|
2371
|
-
var
|
|
2372
|
-
var
|
|
3475
|
+
var googleGetAdTreeQueryKey = (options) => createQueryKey("googleGetAdTree", options);
|
|
3476
|
+
var googleGetAdTreeOptions = (options) => reactQuery.queryOptions({
|
|
2373
3477
|
queryFn: async ({ queryKey, signal }) => {
|
|
2374
|
-
const { data } = await
|
|
3478
|
+
const { data } = await googleGetAdTree({
|
|
2375
3479
|
...options,
|
|
2376
3480
|
...queryKey[0],
|
|
2377
3481
|
signal,
|
|
@@ -2379,12 +3483,12 @@ var profilesGetOptions = (options) => reactQuery.queryOptions({
|
|
|
2379
3483
|
});
|
|
2380
3484
|
return data;
|
|
2381
3485
|
},
|
|
2382
|
-
queryKey:
|
|
3486
|
+
queryKey: googleGetAdTreeQueryKey(options)
|
|
2383
3487
|
});
|
|
2384
|
-
var
|
|
3488
|
+
var googleRunGaqlMutation = (options) => {
|
|
2385
3489
|
const mutationOptions = {
|
|
2386
3490
|
mutationFn: async (fnOptions) => {
|
|
2387
|
-
const { data } = await
|
|
3491
|
+
const { data } = await googleRunGaql({
|
|
2388
3492
|
...options,
|
|
2389
3493
|
...fnOptions,
|
|
2390
3494
|
throwOnError: true
|
|
@@ -2394,45 +3498,23 @@ var profilesUpdateMutation = (options) => {
|
|
|
2394
3498
|
};
|
|
2395
3499
|
return mutationOptions;
|
|
2396
3500
|
};
|
|
2397
|
-
var
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
...options,
|
|
2402
|
-
...queryKey[0],
|
|
2403
|
-
signal,
|
|
2404
|
-
throwOnError: true
|
|
2405
|
-
});
|
|
2406
|
-
return data;
|
|
2407
|
-
},
|
|
2408
|
-
queryKey: connectionsListByProfileQueryKey(options)
|
|
2409
|
-
});
|
|
2410
|
-
var connectionsListByProfileInfiniteQueryKey = (options) => createQueryKey("connectionsListByProfile", options, true);
|
|
2411
|
-
var connectionsListByProfileInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
2412
|
-
// @ts-ignore
|
|
2413
|
-
{
|
|
2414
|
-
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
2415
|
-
const page = typeof pageParam === "object" ? pageParam : {
|
|
2416
|
-
query: {
|
|
2417
|
-
offset: pageParam
|
|
2418
|
-
}
|
|
2419
|
-
};
|
|
2420
|
-
const params = createInfiniteParams(queryKey, page);
|
|
2421
|
-
const { data } = await connectionsListByProfile({
|
|
3501
|
+
var googleCreateBudgetMutation = (options) => {
|
|
3502
|
+
const mutationOptions = {
|
|
3503
|
+
mutationFn: async (fnOptions) => {
|
|
3504
|
+
const { data } = await googleCreateBudget({
|
|
2422
3505
|
...options,
|
|
2423
|
-
...
|
|
2424
|
-
signal,
|
|
3506
|
+
...fnOptions,
|
|
2425
3507
|
throwOnError: true
|
|
2426
3508
|
});
|
|
2427
3509
|
return data;
|
|
2428
|
-
}
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
var
|
|
3510
|
+
}
|
|
3511
|
+
};
|
|
3512
|
+
return mutationOptions;
|
|
3513
|
+
};
|
|
3514
|
+
var googleEditBudgetMutation = (options) => {
|
|
2433
3515
|
const mutationOptions = {
|
|
2434
3516
|
mutationFn: async (fnOptions) => {
|
|
2435
|
-
const { data } = await
|
|
3517
|
+
const { data } = await googleEditBudget({
|
|
2436
3518
|
...options,
|
|
2437
3519
|
...fnOptions,
|
|
2438
3520
|
throwOnError: true
|
|
@@ -2442,10 +3524,23 @@ var connectionsDeleteMutation = (options) => {
|
|
|
2442
3524
|
};
|
|
2443
3525
|
return mutationOptions;
|
|
2444
3526
|
};
|
|
2445
|
-
var
|
|
2446
|
-
|
|
3527
|
+
var googleRemoveBudgetMutation = (options) => {
|
|
3528
|
+
const mutationOptions = {
|
|
3529
|
+
mutationFn: async (fnOptions) => {
|
|
3530
|
+
const { data } = await googleRemoveBudget({
|
|
3531
|
+
...options,
|
|
3532
|
+
...fnOptions,
|
|
3533
|
+
throwOnError: true
|
|
3534
|
+
});
|
|
3535
|
+
return data;
|
|
3536
|
+
}
|
|
3537
|
+
};
|
|
3538
|
+
return mutationOptions;
|
|
3539
|
+
};
|
|
3540
|
+
var googleListCampaignsQueryKey = (options) => createQueryKey("googleListCampaigns", options);
|
|
3541
|
+
var googleListCampaignsOptions = (options) => reactQuery.queryOptions({
|
|
2447
3542
|
queryFn: async ({ queryKey, signal }) => {
|
|
2448
|
-
const { data } = await
|
|
3543
|
+
const { data } = await googleListCampaigns({
|
|
2449
3544
|
...options,
|
|
2450
3545
|
...queryKey[0],
|
|
2451
3546
|
signal,
|
|
@@ -2453,12 +3548,12 @@ var connectionsGetOptions = (options) => reactQuery.queryOptions({
|
|
|
2453
3548
|
});
|
|
2454
3549
|
return data;
|
|
2455
3550
|
},
|
|
2456
|
-
queryKey:
|
|
3551
|
+
queryKey: googleListCampaignsQueryKey(options)
|
|
2457
3552
|
});
|
|
2458
|
-
var
|
|
3553
|
+
var googleCreateCampaignMutation = (options) => {
|
|
2459
3554
|
const mutationOptions = {
|
|
2460
3555
|
mutationFn: async (fnOptions) => {
|
|
2461
|
-
const { data } = await
|
|
3556
|
+
const { data } = await googleCreateCampaign({
|
|
2462
3557
|
...options,
|
|
2463
3558
|
...fnOptions,
|
|
2464
3559
|
throwOnError: true
|
|
@@ -2468,10 +3563,10 @@ var connectionsSelectMutation = (options) => {
|
|
|
2468
3563
|
};
|
|
2469
3564
|
return mutationOptions;
|
|
2470
3565
|
};
|
|
2471
|
-
var
|
|
2472
|
-
var
|
|
3566
|
+
var googleGetCampaignQueryKey = (options) => createQueryKey("googleGetCampaign", options);
|
|
3567
|
+
var googleGetCampaignOptions = (options) => reactQuery.queryOptions({
|
|
2473
3568
|
queryFn: async ({ queryKey, signal }) => {
|
|
2474
|
-
const { data } = await
|
|
3569
|
+
const { data } = await googleGetCampaign({
|
|
2475
3570
|
...options,
|
|
2476
3571
|
...queryKey[0],
|
|
2477
3572
|
signal,
|
|
@@ -2479,12 +3574,12 @@ var connectionsListAccountsOptions = (options) => reactQuery.queryOptions({
|
|
|
2479
3574
|
});
|
|
2480
3575
|
return data;
|
|
2481
3576
|
},
|
|
2482
|
-
queryKey:
|
|
3577
|
+
queryKey: googleGetCampaignQueryKey(options)
|
|
2483
3578
|
});
|
|
2484
|
-
var
|
|
3579
|
+
var googleEditCampaignMutation = (options) => {
|
|
2485
3580
|
const mutationOptions = {
|
|
2486
3581
|
mutationFn: async (fnOptions) => {
|
|
2487
|
-
const { data } = await
|
|
3582
|
+
const { data } = await googleEditCampaign({
|
|
2488
3583
|
...options,
|
|
2489
3584
|
...fnOptions,
|
|
2490
3585
|
throwOnError: true
|
|
@@ -2494,10 +3589,62 @@ var connectionsConnectMutation = (options) => {
|
|
|
2494
3589
|
};
|
|
2495
3590
|
return mutationOptions;
|
|
2496
3591
|
};
|
|
2497
|
-
var
|
|
2498
|
-
|
|
3592
|
+
var googleSetCampaignBiddingMutation = (options) => {
|
|
3593
|
+
const mutationOptions = {
|
|
3594
|
+
mutationFn: async (fnOptions) => {
|
|
3595
|
+
const { data } = await googleSetCampaignBidding({
|
|
3596
|
+
...options,
|
|
3597
|
+
...fnOptions,
|
|
3598
|
+
throwOnError: true
|
|
3599
|
+
});
|
|
3600
|
+
return data;
|
|
3601
|
+
}
|
|
3602
|
+
};
|
|
3603
|
+
return mutationOptions;
|
|
3604
|
+
};
|
|
3605
|
+
var googleRemoveCampaignMutation = (options) => {
|
|
3606
|
+
const mutationOptions = {
|
|
3607
|
+
mutationFn: async (fnOptions) => {
|
|
3608
|
+
const { data } = await googleRemoveCampaign({
|
|
3609
|
+
...options,
|
|
3610
|
+
...fnOptions,
|
|
3611
|
+
throwOnError: true
|
|
3612
|
+
});
|
|
3613
|
+
return data;
|
|
3614
|
+
}
|
|
3615
|
+
};
|
|
3616
|
+
return mutationOptions;
|
|
3617
|
+
};
|
|
3618
|
+
var googlePauseCampaignMutation = (options) => {
|
|
3619
|
+
const mutationOptions = {
|
|
3620
|
+
mutationFn: async (fnOptions) => {
|
|
3621
|
+
const { data } = await googlePauseCampaign({
|
|
3622
|
+
...options,
|
|
3623
|
+
...fnOptions,
|
|
3624
|
+
throwOnError: true
|
|
3625
|
+
});
|
|
3626
|
+
return data;
|
|
3627
|
+
}
|
|
3628
|
+
};
|
|
3629
|
+
return mutationOptions;
|
|
3630
|
+
};
|
|
3631
|
+
var googleEnableCampaignMutation = (options) => {
|
|
3632
|
+
const mutationOptions = {
|
|
3633
|
+
mutationFn: async (fnOptions) => {
|
|
3634
|
+
const { data } = await googleEnableCampaign({
|
|
3635
|
+
...options,
|
|
3636
|
+
...fnOptions,
|
|
3637
|
+
throwOnError: true
|
|
3638
|
+
});
|
|
3639
|
+
return data;
|
|
3640
|
+
}
|
|
3641
|
+
};
|
|
3642
|
+
return mutationOptions;
|
|
3643
|
+
};
|
|
3644
|
+
var googleSearchGeoTargetsQueryKey = (options) => createQueryKey("googleSearchGeoTargets", options);
|
|
3645
|
+
var googleSearchGeoTargetsOptions = (options) => reactQuery.queryOptions({
|
|
2499
3646
|
queryFn: async ({ queryKey, signal }) => {
|
|
2500
|
-
const { data } = await
|
|
3647
|
+
const { data } = await googleSearchGeoTargets({
|
|
2501
3648
|
...options,
|
|
2502
3649
|
...queryKey[0],
|
|
2503
3650
|
signal,
|
|
@@ -2505,34 +3652,38 @@ var mediaListOptions = (options) => reactQuery.queryOptions({
|
|
|
2505
3652
|
});
|
|
2506
3653
|
return data;
|
|
2507
3654
|
},
|
|
2508
|
-
queryKey:
|
|
3655
|
+
queryKey: googleSearchGeoTargetsQueryKey(options)
|
|
3656
|
+
});
|
|
3657
|
+
var googleListCampaignCriteriaQueryKey = (options) => createQueryKey("googleListCampaignCriteria", options);
|
|
3658
|
+
var googleListCampaignCriteriaOptions = (options) => reactQuery.queryOptions({
|
|
3659
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3660
|
+
const { data } = await googleListCampaignCriteria({
|
|
3661
|
+
...options,
|
|
3662
|
+
...queryKey[0],
|
|
3663
|
+
signal,
|
|
3664
|
+
throwOnError: true
|
|
3665
|
+
});
|
|
3666
|
+
return data;
|
|
3667
|
+
},
|
|
3668
|
+
queryKey: googleListCampaignCriteriaQueryKey(options)
|
|
2509
3669
|
});
|
|
2510
|
-
var
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
2515
|
-
const page = typeof pageParam === "object" ? pageParam : {
|
|
2516
|
-
query: {
|
|
2517
|
-
offset: pageParam
|
|
2518
|
-
}
|
|
2519
|
-
};
|
|
2520
|
-
const params = createInfiniteParams(queryKey, page);
|
|
2521
|
-
const { data } = await mediaList({
|
|
3670
|
+
var googleCreateCampaignCriterionMutation = (options) => {
|
|
3671
|
+
const mutationOptions = {
|
|
3672
|
+
mutationFn: async (fnOptions) => {
|
|
3673
|
+
const { data } = await googleCreateCampaignCriterion({
|
|
2522
3674
|
...options,
|
|
2523
|
-
...
|
|
2524
|
-
signal,
|
|
3675
|
+
...fnOptions,
|
|
2525
3676
|
throwOnError: true
|
|
2526
3677
|
});
|
|
2527
3678
|
return data;
|
|
2528
|
-
}
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
var
|
|
3679
|
+
}
|
|
3680
|
+
};
|
|
3681
|
+
return mutationOptions;
|
|
3682
|
+
};
|
|
3683
|
+
var googleRemoveCampaignCriterionMutation = (options) => {
|
|
2533
3684
|
const mutationOptions = {
|
|
2534
3685
|
mutationFn: async (fnOptions) => {
|
|
2535
|
-
const { data } = await
|
|
3686
|
+
const { data } = await googleRemoveCampaignCriterion({
|
|
2536
3687
|
...options,
|
|
2537
3688
|
...fnOptions,
|
|
2538
3689
|
throwOnError: true
|
|
@@ -2542,10 +3693,10 @@ var mediaCreateMutation = (options) => {
|
|
|
2542
3693
|
};
|
|
2543
3694
|
return mutationOptions;
|
|
2544
3695
|
};
|
|
2545
|
-
var
|
|
3696
|
+
var googleSetCampaignGeoSettingsMutation = (options) => {
|
|
2546
3697
|
const mutationOptions = {
|
|
2547
3698
|
mutationFn: async (fnOptions) => {
|
|
2548
|
-
const { data } = await
|
|
3699
|
+
const { data } = await googleSetCampaignGeoSettings({
|
|
2549
3700
|
...options,
|
|
2550
3701
|
...fnOptions,
|
|
2551
3702
|
throwOnError: true
|
|
@@ -2555,10 +3706,10 @@ var mediaDeleteMutation = (options) => {
|
|
|
2555
3706
|
};
|
|
2556
3707
|
return mutationOptions;
|
|
2557
3708
|
};
|
|
2558
|
-
var
|
|
2559
|
-
var
|
|
3709
|
+
var googleListAdGroupsQueryKey = (options) => createQueryKey("googleListAdGroups", options);
|
|
3710
|
+
var googleListAdGroupsOptions = (options) => reactQuery.queryOptions({
|
|
2560
3711
|
queryFn: async ({ queryKey, signal }) => {
|
|
2561
|
-
const { data } = await
|
|
3712
|
+
const { data } = await googleListAdGroups({
|
|
2562
3713
|
...options,
|
|
2563
3714
|
...queryKey[0],
|
|
2564
3715
|
signal,
|
|
@@ -2566,25 +3717,12 @@ var mediaGetOptions = (options) => reactQuery.queryOptions({
|
|
|
2566
3717
|
});
|
|
2567
3718
|
return data;
|
|
2568
3719
|
},
|
|
2569
|
-
queryKey:
|
|
3720
|
+
queryKey: googleListAdGroupsQueryKey(options)
|
|
2570
3721
|
});
|
|
2571
|
-
var
|
|
2572
|
-
const mutationOptions = {
|
|
2573
|
-
mutationFn: async (fnOptions) => {
|
|
2574
|
-
const { data } = await mediaUpdate({
|
|
2575
|
-
...options,
|
|
2576
|
-
...fnOptions,
|
|
2577
|
-
throwOnError: true
|
|
2578
|
-
});
|
|
2579
|
-
return data;
|
|
2580
|
-
}
|
|
2581
|
-
};
|
|
2582
|
-
return mutationOptions;
|
|
2583
|
-
};
|
|
2584
|
-
var mediaSignPartMutation = (options) => {
|
|
3722
|
+
var googleCreateAdGroupMutation = (options) => {
|
|
2585
3723
|
const mutationOptions = {
|
|
2586
3724
|
mutationFn: async (fnOptions) => {
|
|
2587
|
-
const { data } = await
|
|
3725
|
+
const { data } = await googleCreateAdGroup({
|
|
2588
3726
|
...options,
|
|
2589
3727
|
...fnOptions,
|
|
2590
3728
|
throwOnError: true
|
|
@@ -2594,10 +3732,10 @@ var mediaSignPartMutation = (options) => {
|
|
|
2594
3732
|
};
|
|
2595
3733
|
return mutationOptions;
|
|
2596
3734
|
};
|
|
2597
|
-
var
|
|
2598
|
-
var
|
|
3735
|
+
var googleGetAdGroupQueryKey = (options) => createQueryKey("googleGetAdGroup", options);
|
|
3736
|
+
var googleGetAdGroupOptions = (options) => reactQuery.queryOptions({
|
|
2599
3737
|
queryFn: async ({ queryKey, signal }) => {
|
|
2600
|
-
const { data } = await
|
|
3738
|
+
const { data } = await googleGetAdGroup({
|
|
2601
3739
|
...options,
|
|
2602
3740
|
...queryKey[0],
|
|
2603
3741
|
signal,
|
|
@@ -2605,12 +3743,12 @@ var mediaListPartsOptions = (options) => reactQuery.queryOptions({
|
|
|
2605
3743
|
});
|
|
2606
3744
|
return data;
|
|
2607
3745
|
},
|
|
2608
|
-
queryKey:
|
|
3746
|
+
queryKey: googleGetAdGroupQueryKey(options)
|
|
2609
3747
|
});
|
|
2610
|
-
var
|
|
3748
|
+
var googleEditAdGroupMutation = (options) => {
|
|
2611
3749
|
const mutationOptions = {
|
|
2612
3750
|
mutationFn: async (fnOptions) => {
|
|
2613
|
-
const { data } = await
|
|
3751
|
+
const { data } = await googleEditAdGroup({
|
|
2614
3752
|
...options,
|
|
2615
3753
|
...fnOptions,
|
|
2616
3754
|
throwOnError: true
|
|
@@ -2620,10 +3758,10 @@ var mediaCompleteMutation = (options) => {
|
|
|
2620
3758
|
};
|
|
2621
3759
|
return mutationOptions;
|
|
2622
3760
|
};
|
|
2623
|
-
var
|
|
3761
|
+
var googleSetAdGroupBidsMutation = (options) => {
|
|
2624
3762
|
const mutationOptions = {
|
|
2625
3763
|
mutationFn: async (fnOptions) => {
|
|
2626
|
-
const { data } = await
|
|
3764
|
+
const { data } = await googleSetAdGroupBids({
|
|
2627
3765
|
...options,
|
|
2628
3766
|
...fnOptions,
|
|
2629
3767
|
throwOnError: true
|
|
@@ -2633,45 +3771,23 @@ var mediaAbortMutation = (options) => {
|
|
|
2633
3771
|
};
|
|
2634
3772
|
return mutationOptions;
|
|
2635
3773
|
};
|
|
2636
|
-
var
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
...options,
|
|
2641
|
-
...queryKey[0],
|
|
2642
|
-
signal,
|
|
2643
|
-
throwOnError: true
|
|
2644
|
-
});
|
|
2645
|
-
return data;
|
|
2646
|
-
},
|
|
2647
|
-
queryKey: postsListQueryKey(options)
|
|
2648
|
-
});
|
|
2649
|
-
var postsListInfiniteQueryKey = (options) => createQueryKey("postsList", options, true);
|
|
2650
|
-
var postsListInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
2651
|
-
// @ts-ignore
|
|
2652
|
-
{
|
|
2653
|
-
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
2654
|
-
const page = typeof pageParam === "object" ? pageParam : {
|
|
2655
|
-
query: {
|
|
2656
|
-
offset: pageParam
|
|
2657
|
-
}
|
|
2658
|
-
};
|
|
2659
|
-
const params = createInfiniteParams(queryKey, page);
|
|
2660
|
-
const { data } = await postsList({
|
|
3774
|
+
var googleRemoveAdGroupMutation = (options) => {
|
|
3775
|
+
const mutationOptions = {
|
|
3776
|
+
mutationFn: async (fnOptions) => {
|
|
3777
|
+
const { data } = await googleRemoveAdGroup({
|
|
2661
3778
|
...options,
|
|
2662
|
-
...
|
|
2663
|
-
signal,
|
|
3779
|
+
...fnOptions,
|
|
2664
3780
|
throwOnError: true
|
|
2665
3781
|
});
|
|
2666
3782
|
return data;
|
|
2667
|
-
}
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
var
|
|
3783
|
+
}
|
|
3784
|
+
};
|
|
3785
|
+
return mutationOptions;
|
|
3786
|
+
};
|
|
3787
|
+
var googlePauseAdGroupMutation = (options) => {
|
|
2672
3788
|
const mutationOptions = {
|
|
2673
3789
|
mutationFn: async (fnOptions) => {
|
|
2674
|
-
const { data } = await
|
|
3790
|
+
const { data } = await googlePauseAdGroup({
|
|
2675
3791
|
...options,
|
|
2676
3792
|
...fnOptions,
|
|
2677
3793
|
throwOnError: true
|
|
@@ -2681,10 +3797,10 @@ var postsCreateMutation = (options) => {
|
|
|
2681
3797
|
};
|
|
2682
3798
|
return mutationOptions;
|
|
2683
3799
|
};
|
|
2684
|
-
var
|
|
3800
|
+
var googleEnableAdGroupMutation = (options) => {
|
|
2685
3801
|
const mutationOptions = {
|
|
2686
3802
|
mutationFn: async (fnOptions) => {
|
|
2687
|
-
const { data } = await
|
|
3803
|
+
const { data } = await googleEnableAdGroup({
|
|
2688
3804
|
...options,
|
|
2689
3805
|
...fnOptions,
|
|
2690
3806
|
throwOnError: true
|
|
@@ -2694,10 +3810,10 @@ var postsDeleteMutation = (options) => {
|
|
|
2694
3810
|
};
|
|
2695
3811
|
return mutationOptions;
|
|
2696
3812
|
};
|
|
2697
|
-
var
|
|
2698
|
-
var
|
|
3813
|
+
var googleListAdGroupCriteriaQueryKey = (options) => createQueryKey("googleListAdGroupCriteria", options);
|
|
3814
|
+
var googleListAdGroupCriteriaOptions = (options) => reactQuery.queryOptions({
|
|
2699
3815
|
queryFn: async ({ queryKey, signal }) => {
|
|
2700
|
-
const { data } = await
|
|
3816
|
+
const { data } = await googleListAdGroupCriteria({
|
|
2701
3817
|
...options,
|
|
2702
3818
|
...queryKey[0],
|
|
2703
3819
|
signal,
|
|
@@ -2705,12 +3821,12 @@ var postsGetOptions = (options) => reactQuery.queryOptions({
|
|
|
2705
3821
|
});
|
|
2706
3822
|
return data;
|
|
2707
3823
|
},
|
|
2708
|
-
queryKey:
|
|
3824
|
+
queryKey: googleListAdGroupCriteriaQueryKey(options)
|
|
2709
3825
|
});
|
|
2710
|
-
var
|
|
3826
|
+
var googleCreateAdGroupCriterionMutation = (options) => {
|
|
2711
3827
|
const mutationOptions = {
|
|
2712
3828
|
mutationFn: async (fnOptions) => {
|
|
2713
|
-
const { data } = await
|
|
3829
|
+
const { data } = await googleCreateAdGroupCriterion({
|
|
2714
3830
|
...options,
|
|
2715
3831
|
...fnOptions,
|
|
2716
3832
|
throwOnError: true
|
|
@@ -2720,10 +3836,10 @@ var postsUpdateMutation = (options) => {
|
|
|
2720
3836
|
};
|
|
2721
3837
|
return mutationOptions;
|
|
2722
3838
|
};
|
|
2723
|
-
var
|
|
3839
|
+
var googleRemoveAdGroupCriterionMutation = (options) => {
|
|
2724
3840
|
const mutationOptions = {
|
|
2725
3841
|
mutationFn: async (fnOptions) => {
|
|
2726
|
-
const { data } = await
|
|
3842
|
+
const { data } = await googleRemoveAdGroupCriterion({
|
|
2727
3843
|
...options,
|
|
2728
3844
|
...fnOptions,
|
|
2729
3845
|
throwOnError: true
|
|
@@ -2733,88 +3849,10 @@ var postsValidateMutation = (options) => {
|
|
|
2733
3849
|
};
|
|
2734
3850
|
return mutationOptions;
|
|
2735
3851
|
};
|
|
2736
|
-
var
|
|
2737
|
-
var
|
|
2738
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
2739
|
-
const { data } = await metaAccount({
|
|
2740
|
-
...options,
|
|
2741
|
-
...queryKey[0],
|
|
2742
|
-
signal,
|
|
2743
|
-
throwOnError: true
|
|
2744
|
-
});
|
|
2745
|
-
return data;
|
|
2746
|
-
},
|
|
2747
|
-
queryKey: metaAccountQueryKey(options)
|
|
2748
|
-
});
|
|
2749
|
-
var metaInsightsQueryKey = (options) => createQueryKey("metaInsights", options);
|
|
2750
|
-
var metaInsightsOptions = (options) => reactQuery.queryOptions({
|
|
2751
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
2752
|
-
const { data } = await metaInsights({
|
|
2753
|
-
...options,
|
|
2754
|
-
...queryKey[0],
|
|
2755
|
-
signal,
|
|
2756
|
-
throwOnError: true
|
|
2757
|
-
});
|
|
2758
|
-
return data;
|
|
2759
|
-
},
|
|
2760
|
-
queryKey: metaInsightsQueryKey(options)
|
|
2761
|
-
});
|
|
2762
|
-
var metaCampaignsQueryKey = (options) => createQueryKey("metaCampaigns", options);
|
|
2763
|
-
var metaCampaignsOptions = (options) => reactQuery.queryOptions({
|
|
2764
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
2765
|
-
const { data } = await metaCampaigns({
|
|
2766
|
-
...options,
|
|
2767
|
-
...queryKey[0],
|
|
2768
|
-
signal,
|
|
2769
|
-
throwOnError: true
|
|
2770
|
-
});
|
|
2771
|
-
return data;
|
|
2772
|
-
},
|
|
2773
|
-
queryKey: metaCampaignsQueryKey(options)
|
|
2774
|
-
});
|
|
2775
|
-
var metaCampaignQueryKey = (options) => createQueryKey("metaCampaign", options);
|
|
2776
|
-
var metaCampaignOptions = (options) => reactQuery.queryOptions({
|
|
2777
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
2778
|
-
const { data } = await metaCampaign({
|
|
2779
|
-
...options,
|
|
2780
|
-
...queryKey[0],
|
|
2781
|
-
signal,
|
|
2782
|
-
throwOnError: true
|
|
2783
|
-
});
|
|
2784
|
-
return data;
|
|
2785
|
-
},
|
|
2786
|
-
queryKey: metaCampaignQueryKey(options)
|
|
2787
|
-
});
|
|
2788
|
-
var metaAdsetsQueryKey = (options) => createQueryKey("metaAdsets", options);
|
|
2789
|
-
var metaAdsetsOptions = (options) => reactQuery.queryOptions({
|
|
2790
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
2791
|
-
const { data } = await metaAdsets({
|
|
2792
|
-
...options,
|
|
2793
|
-
...queryKey[0],
|
|
2794
|
-
signal,
|
|
2795
|
-
throwOnError: true
|
|
2796
|
-
});
|
|
2797
|
-
return data;
|
|
2798
|
-
},
|
|
2799
|
-
queryKey: metaAdsetsQueryKey(options)
|
|
2800
|
-
});
|
|
2801
|
-
var metaAdsetQueryKey = (options) => createQueryKey("metaAdset", options);
|
|
2802
|
-
var metaAdsetOptions = (options) => reactQuery.queryOptions({
|
|
2803
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
2804
|
-
const { data } = await metaAdset({
|
|
2805
|
-
...options,
|
|
2806
|
-
...queryKey[0],
|
|
2807
|
-
signal,
|
|
2808
|
-
throwOnError: true
|
|
2809
|
-
});
|
|
2810
|
-
return data;
|
|
2811
|
-
},
|
|
2812
|
-
queryKey: metaAdsetQueryKey(options)
|
|
2813
|
-
});
|
|
2814
|
-
var metaAdsQueryKey = (options) => createQueryKey("metaAds", options);
|
|
2815
|
-
var metaAdsOptions = (options) => reactQuery.queryOptions({
|
|
3852
|
+
var googleListAudiencesQueryKey = (options) => createQueryKey("googleListAudiences", options);
|
|
3853
|
+
var googleListAudiencesOptions = (options) => reactQuery.queryOptions({
|
|
2816
3854
|
queryFn: async ({ queryKey, signal }) => {
|
|
2817
|
-
const { data } = await
|
|
3855
|
+
const { data } = await googleListAudiences({
|
|
2818
3856
|
...options,
|
|
2819
3857
|
...queryKey[0],
|
|
2820
3858
|
signal,
|
|
@@ -2822,12 +3860,25 @@ var metaAdsOptions = (options) => reactQuery.queryOptions({
|
|
|
2822
3860
|
});
|
|
2823
3861
|
return data;
|
|
2824
3862
|
},
|
|
2825
|
-
queryKey:
|
|
3863
|
+
queryKey: googleListAudiencesQueryKey(options)
|
|
2826
3864
|
});
|
|
2827
|
-
var
|
|
2828
|
-
|
|
3865
|
+
var googleSetCampaignTargetingSettingMutation = (options) => {
|
|
3866
|
+
const mutationOptions = {
|
|
3867
|
+
mutationFn: async (fnOptions) => {
|
|
3868
|
+
const { data } = await googleSetCampaignTargetingSetting({
|
|
3869
|
+
...options,
|
|
3870
|
+
...fnOptions,
|
|
3871
|
+
throwOnError: true
|
|
3872
|
+
});
|
|
3873
|
+
return data;
|
|
3874
|
+
}
|
|
3875
|
+
};
|
|
3876
|
+
return mutationOptions;
|
|
3877
|
+
};
|
|
3878
|
+
var googleListAdsQueryKey = (options) => createQueryKey("googleListAds", options);
|
|
3879
|
+
var googleListAdsOptions = (options) => reactQuery.queryOptions({
|
|
2829
3880
|
queryFn: async ({ queryKey, signal }) => {
|
|
2830
|
-
const { data } = await
|
|
3881
|
+
const { data } = await googleListAds({
|
|
2831
3882
|
...options,
|
|
2832
3883
|
...queryKey[0],
|
|
2833
3884
|
signal,
|
|
@@ -2835,12 +3886,25 @@ var metaAdOptions = (options) => reactQuery.queryOptions({
|
|
|
2835
3886
|
});
|
|
2836
3887
|
return data;
|
|
2837
3888
|
},
|
|
2838
|
-
queryKey:
|
|
3889
|
+
queryKey: googleListAdsQueryKey(options)
|
|
2839
3890
|
});
|
|
2840
|
-
var
|
|
2841
|
-
|
|
3891
|
+
var googleCreateAdMutation = (options) => {
|
|
3892
|
+
const mutationOptions = {
|
|
3893
|
+
mutationFn: async (fnOptions) => {
|
|
3894
|
+
const { data } = await googleCreateAd({
|
|
3895
|
+
...options,
|
|
3896
|
+
...fnOptions,
|
|
3897
|
+
throwOnError: true
|
|
3898
|
+
});
|
|
3899
|
+
return data;
|
|
3900
|
+
}
|
|
3901
|
+
};
|
|
3902
|
+
return mutationOptions;
|
|
3903
|
+
};
|
|
3904
|
+
var googleGetAdQueryKey = (options) => createQueryKey("googleGetAd", options);
|
|
3905
|
+
var googleGetAdOptions = (options) => reactQuery.queryOptions({
|
|
2842
3906
|
queryFn: async ({ queryKey, signal }) => {
|
|
2843
|
-
const { data } = await
|
|
3907
|
+
const { data } = await googleGetAd({
|
|
2844
3908
|
...options,
|
|
2845
3909
|
...queryKey[0],
|
|
2846
3910
|
signal,
|
|
@@ -2848,12 +3912,12 @@ var googleGetAccountOptions = (options) => reactQuery.queryOptions({
|
|
|
2848
3912
|
});
|
|
2849
3913
|
return data;
|
|
2850
3914
|
},
|
|
2851
|
-
queryKey:
|
|
3915
|
+
queryKey: googleGetAdQueryKey(options)
|
|
2852
3916
|
});
|
|
2853
|
-
var
|
|
3917
|
+
var googleEditAdMutation = (options) => {
|
|
2854
3918
|
const mutationOptions = {
|
|
2855
3919
|
mutationFn: async (fnOptions) => {
|
|
2856
|
-
const { data } = await
|
|
3920
|
+
const { data } = await googleEditAd({
|
|
2857
3921
|
...options,
|
|
2858
3922
|
...fnOptions,
|
|
2859
3923
|
throwOnError: true
|
|
@@ -2863,10 +3927,10 @@ var googleEditAccountMutation = (options) => {
|
|
|
2863
3927
|
};
|
|
2864
3928
|
return mutationOptions;
|
|
2865
3929
|
};
|
|
2866
|
-
var
|
|
3930
|
+
var googleCreateDisplayAdMutation = (options) => {
|
|
2867
3931
|
const mutationOptions = {
|
|
2868
3932
|
mutationFn: async (fnOptions) => {
|
|
2869
|
-
const { data } = await
|
|
3933
|
+
const { data } = await googleCreateDisplayAd({
|
|
2870
3934
|
...options,
|
|
2871
3935
|
...fnOptions,
|
|
2872
3936
|
throwOnError: true
|
|
@@ -2876,23 +3940,10 @@ var googleGetInsightsMutation = (options) => {
|
|
|
2876
3940
|
};
|
|
2877
3941
|
return mutationOptions;
|
|
2878
3942
|
};
|
|
2879
|
-
var
|
|
2880
|
-
var googleGetAdTreeOptions = (options) => reactQuery.queryOptions({
|
|
2881
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
2882
|
-
const { data } = await googleGetAdTree({
|
|
2883
|
-
...options,
|
|
2884
|
-
...queryKey[0],
|
|
2885
|
-
signal,
|
|
2886
|
-
throwOnError: true
|
|
2887
|
-
});
|
|
2888
|
-
return data;
|
|
2889
|
-
},
|
|
2890
|
-
queryKey: googleGetAdTreeQueryKey(options)
|
|
2891
|
-
});
|
|
2892
|
-
var googleRunGaqlMutation = (options) => {
|
|
3943
|
+
var googleEditDisplayAdMutation = (options) => {
|
|
2893
3944
|
const mutationOptions = {
|
|
2894
3945
|
mutationFn: async (fnOptions) => {
|
|
2895
|
-
const { data } = await
|
|
3946
|
+
const { data } = await googleEditDisplayAd({
|
|
2896
3947
|
...options,
|
|
2897
3948
|
...fnOptions,
|
|
2898
3949
|
throwOnError: true
|
|
@@ -2902,10 +3953,10 @@ var googleRunGaqlMutation = (options) => {
|
|
|
2902
3953
|
};
|
|
2903
3954
|
return mutationOptions;
|
|
2904
3955
|
};
|
|
2905
|
-
var
|
|
3956
|
+
var googleRemoveAdMutation = (options) => {
|
|
2906
3957
|
const mutationOptions = {
|
|
2907
3958
|
mutationFn: async (fnOptions) => {
|
|
2908
|
-
const { data } = await
|
|
3959
|
+
const { data } = await googleRemoveAd({
|
|
2909
3960
|
...options,
|
|
2910
3961
|
...fnOptions,
|
|
2911
3962
|
throwOnError: true
|
|
@@ -2915,10 +3966,10 @@ var googleCreateBudgetMutation = (options) => {
|
|
|
2915
3966
|
};
|
|
2916
3967
|
return mutationOptions;
|
|
2917
3968
|
};
|
|
2918
|
-
var
|
|
3969
|
+
var googlePauseAdMutation = (options) => {
|
|
2919
3970
|
const mutationOptions = {
|
|
2920
3971
|
mutationFn: async (fnOptions) => {
|
|
2921
|
-
const { data } = await
|
|
3972
|
+
const { data } = await googlePauseAd({
|
|
2922
3973
|
...options,
|
|
2923
3974
|
...fnOptions,
|
|
2924
3975
|
throwOnError: true
|
|
@@ -2928,10 +3979,10 @@ var googleEditBudgetMutation = (options) => {
|
|
|
2928
3979
|
};
|
|
2929
3980
|
return mutationOptions;
|
|
2930
3981
|
};
|
|
2931
|
-
var
|
|
3982
|
+
var googleEnableAdMutation = (options) => {
|
|
2932
3983
|
const mutationOptions = {
|
|
2933
3984
|
mutationFn: async (fnOptions) => {
|
|
2934
|
-
const { data } = await
|
|
3985
|
+
const { data } = await googleEnableAd({
|
|
2935
3986
|
...options,
|
|
2936
3987
|
...fnOptions,
|
|
2937
3988
|
throwOnError: true
|
|
@@ -2941,10 +3992,10 @@ var googleRemoveBudgetMutation = (options) => {
|
|
|
2941
3992
|
};
|
|
2942
3993
|
return mutationOptions;
|
|
2943
3994
|
};
|
|
2944
|
-
var
|
|
2945
|
-
var
|
|
3995
|
+
var googleListKeywordsQueryKey = (options) => createQueryKey("googleListKeywords", options);
|
|
3996
|
+
var googleListKeywordsOptions = (options) => reactQuery.queryOptions({
|
|
2946
3997
|
queryFn: async ({ queryKey, signal }) => {
|
|
2947
|
-
const { data } = await
|
|
3998
|
+
const { data } = await googleListKeywords({
|
|
2948
3999
|
...options,
|
|
2949
4000
|
...queryKey[0],
|
|
2950
4001
|
signal,
|
|
@@ -2952,12 +4003,12 @@ var googleListCampaignsOptions = (options) => reactQuery.queryOptions({
|
|
|
2952
4003
|
});
|
|
2953
4004
|
return data;
|
|
2954
4005
|
},
|
|
2955
|
-
queryKey:
|
|
4006
|
+
queryKey: googleListKeywordsQueryKey(options)
|
|
2956
4007
|
});
|
|
2957
|
-
var
|
|
4008
|
+
var googleCreateKeywordMutation = (options) => {
|
|
2958
4009
|
const mutationOptions = {
|
|
2959
4010
|
mutationFn: async (fnOptions) => {
|
|
2960
|
-
const { data } = await
|
|
4011
|
+
const { data } = await googleCreateKeyword({
|
|
2961
4012
|
...options,
|
|
2962
4013
|
...fnOptions,
|
|
2963
4014
|
throwOnError: true
|
|
@@ -2967,10 +4018,10 @@ var googleCreateCampaignMutation = (options) => {
|
|
|
2967
4018
|
};
|
|
2968
4019
|
return mutationOptions;
|
|
2969
4020
|
};
|
|
2970
|
-
var
|
|
2971
|
-
var
|
|
4021
|
+
var googleGetKeywordQueryKey = (options) => createQueryKey("googleGetKeyword", options);
|
|
4022
|
+
var googleGetKeywordOptions = (options) => reactQuery.queryOptions({
|
|
2972
4023
|
queryFn: async ({ queryKey, signal }) => {
|
|
2973
|
-
const { data } = await
|
|
4024
|
+
const { data } = await googleGetKeyword({
|
|
2974
4025
|
...options,
|
|
2975
4026
|
...queryKey[0],
|
|
2976
4027
|
signal,
|
|
@@ -2978,12 +4029,12 @@ var googleGetCampaignOptions = (options) => reactQuery.queryOptions({
|
|
|
2978
4029
|
});
|
|
2979
4030
|
return data;
|
|
2980
4031
|
},
|
|
2981
|
-
queryKey:
|
|
4032
|
+
queryKey: googleGetKeywordQueryKey(options)
|
|
2982
4033
|
});
|
|
2983
|
-
var
|
|
4034
|
+
var googleSetKeywordBidMutation = (options) => {
|
|
2984
4035
|
const mutationOptions = {
|
|
2985
4036
|
mutationFn: async (fnOptions) => {
|
|
2986
|
-
const { data } = await
|
|
4037
|
+
const { data } = await googleSetKeywordBid({
|
|
2987
4038
|
...options,
|
|
2988
4039
|
...fnOptions,
|
|
2989
4040
|
throwOnError: true
|
|
@@ -2993,10 +4044,10 @@ var googleEditCampaignMutation = (options) => {
|
|
|
2993
4044
|
};
|
|
2994
4045
|
return mutationOptions;
|
|
2995
4046
|
};
|
|
2996
|
-
var
|
|
4047
|
+
var googleRemoveKeywordMutation = (options) => {
|
|
2997
4048
|
const mutationOptions = {
|
|
2998
4049
|
mutationFn: async (fnOptions) => {
|
|
2999
|
-
const { data } = await
|
|
4050
|
+
const { data } = await googleRemoveKeyword({
|
|
3000
4051
|
...options,
|
|
3001
4052
|
...fnOptions,
|
|
3002
4053
|
throwOnError: true
|
|
@@ -3006,10 +4057,10 @@ var googleRemoveCampaignMutation = (options) => {
|
|
|
3006
4057
|
};
|
|
3007
4058
|
return mutationOptions;
|
|
3008
4059
|
};
|
|
3009
|
-
var
|
|
4060
|
+
var googlePauseKeywordMutation = (options) => {
|
|
3010
4061
|
const mutationOptions = {
|
|
3011
4062
|
mutationFn: async (fnOptions) => {
|
|
3012
|
-
const { data } = await
|
|
4063
|
+
const { data } = await googlePauseKeyword({
|
|
3013
4064
|
...options,
|
|
3014
4065
|
...fnOptions,
|
|
3015
4066
|
throwOnError: true
|
|
@@ -3019,10 +4070,10 @@ var googlePauseCampaignMutation = (options) => {
|
|
|
3019
4070
|
};
|
|
3020
4071
|
return mutationOptions;
|
|
3021
4072
|
};
|
|
3022
|
-
var
|
|
4073
|
+
var googleEnableKeywordMutation = (options) => {
|
|
3023
4074
|
const mutationOptions = {
|
|
3024
4075
|
mutationFn: async (fnOptions) => {
|
|
3025
|
-
const { data } = await
|
|
4076
|
+
const { data } = await googleEnableKeyword({
|
|
3026
4077
|
...options,
|
|
3027
4078
|
...fnOptions,
|
|
3028
4079
|
throwOnError: true
|
|
@@ -3032,10 +4083,10 @@ var googleEnableCampaignMutation = (options) => {
|
|
|
3032
4083
|
};
|
|
3033
4084
|
return mutationOptions;
|
|
3034
4085
|
};
|
|
3035
|
-
var
|
|
3036
|
-
var
|
|
4086
|
+
var googleListConversionActionsQueryKey = (options) => createQueryKey("googleListConversionActions", options);
|
|
4087
|
+
var googleListConversionActionsOptions = (options) => reactQuery.queryOptions({
|
|
3037
4088
|
queryFn: async ({ queryKey, signal }) => {
|
|
3038
|
-
const { data } = await
|
|
4089
|
+
const { data } = await googleListConversionActions({
|
|
3039
4090
|
...options,
|
|
3040
4091
|
...queryKey[0],
|
|
3041
4092
|
signal,
|
|
@@ -3043,12 +4094,25 @@ var googleSearchGeoTargetsOptions = (options) => reactQuery.queryOptions({
|
|
|
3043
4094
|
});
|
|
3044
4095
|
return data;
|
|
3045
4096
|
},
|
|
3046
|
-
queryKey:
|
|
4097
|
+
queryKey: googleListConversionActionsQueryKey(options)
|
|
3047
4098
|
});
|
|
3048
|
-
var
|
|
3049
|
-
|
|
4099
|
+
var googleCreateConversionActionMutation = (options) => {
|
|
4100
|
+
const mutationOptions = {
|
|
4101
|
+
mutationFn: async (fnOptions) => {
|
|
4102
|
+
const { data } = await googleCreateConversionAction({
|
|
4103
|
+
...options,
|
|
4104
|
+
...fnOptions,
|
|
4105
|
+
throwOnError: true
|
|
4106
|
+
});
|
|
4107
|
+
return data;
|
|
4108
|
+
}
|
|
4109
|
+
};
|
|
4110
|
+
return mutationOptions;
|
|
4111
|
+
};
|
|
4112
|
+
var googleGetConversionActionQueryKey = (options) => createQueryKey("googleGetConversionAction", options);
|
|
4113
|
+
var googleGetConversionActionOptions = (options) => reactQuery.queryOptions({
|
|
3050
4114
|
queryFn: async ({ queryKey, signal }) => {
|
|
3051
|
-
const { data } = await
|
|
4115
|
+
const { data } = await googleGetConversionAction({
|
|
3052
4116
|
...options,
|
|
3053
4117
|
...queryKey[0],
|
|
3054
4118
|
signal,
|
|
@@ -3056,12 +4120,12 @@ var googleListCampaignCriteriaOptions = (options) => reactQuery.queryOptions({
|
|
|
3056
4120
|
});
|
|
3057
4121
|
return data;
|
|
3058
4122
|
},
|
|
3059
|
-
queryKey:
|
|
4123
|
+
queryKey: googleGetConversionActionQueryKey(options)
|
|
3060
4124
|
});
|
|
3061
|
-
var
|
|
4125
|
+
var googleUpdateConversionActionMutation = (options) => {
|
|
3062
4126
|
const mutationOptions = {
|
|
3063
4127
|
mutationFn: async (fnOptions) => {
|
|
3064
|
-
const { data } = await
|
|
4128
|
+
const { data } = await googleUpdateConversionAction({
|
|
3065
4129
|
...options,
|
|
3066
4130
|
...fnOptions,
|
|
3067
4131
|
throwOnError: true
|
|
@@ -3071,10 +4135,10 @@ var googleCreateCampaignCriterionMutation = (options) => {
|
|
|
3071
4135
|
};
|
|
3072
4136
|
return mutationOptions;
|
|
3073
4137
|
};
|
|
3074
|
-
var
|
|
4138
|
+
var googleRemoveConversionActionMutation = (options) => {
|
|
3075
4139
|
const mutationOptions = {
|
|
3076
4140
|
mutationFn: async (fnOptions) => {
|
|
3077
|
-
const { data } = await
|
|
4141
|
+
const { data } = await googleRemoveConversionAction({
|
|
3078
4142
|
...options,
|
|
3079
4143
|
...fnOptions,
|
|
3080
4144
|
throwOnError: true
|
|
@@ -3084,10 +4148,10 @@ var googleRemoveCampaignCriterionMutation = (options) => {
|
|
|
3084
4148
|
};
|
|
3085
4149
|
return mutationOptions;
|
|
3086
4150
|
};
|
|
3087
|
-
var
|
|
4151
|
+
var googleSendConversionsMutation = (options) => {
|
|
3088
4152
|
const mutationOptions = {
|
|
3089
4153
|
mutationFn: async (fnOptions) => {
|
|
3090
|
-
const { data } = await
|
|
4154
|
+
const { data } = await googleSendConversions({
|
|
3091
4155
|
...options,
|
|
3092
4156
|
...fnOptions,
|
|
3093
4157
|
throwOnError: true
|
|
@@ -3097,10 +4161,10 @@ var googleSetCampaignGeoSettingsMutation = (options) => {
|
|
|
3097
4161
|
};
|
|
3098
4162
|
return mutationOptions;
|
|
3099
4163
|
};
|
|
3100
|
-
var
|
|
3101
|
-
var
|
|
4164
|
+
var googleGetConversionStatusQueryKey = (options) => createQueryKey("googleGetConversionStatus", options);
|
|
4165
|
+
var googleGetConversionStatusOptions = (options) => reactQuery.queryOptions({
|
|
3102
4166
|
queryFn: async ({ queryKey, signal }) => {
|
|
3103
|
-
const { data } = await
|
|
4167
|
+
const { data } = await googleGetConversionStatus({
|
|
3104
4168
|
...options,
|
|
3105
4169
|
...queryKey[0],
|
|
3106
4170
|
signal,
|
|
@@ -3108,12 +4172,60 @@ var googleListAdGroupsOptions = (options) => reactQuery.queryOptions({
|
|
|
3108
4172
|
});
|
|
3109
4173
|
return data;
|
|
3110
4174
|
},
|
|
3111
|
-
queryKey:
|
|
4175
|
+
queryKey: googleGetConversionStatusQueryKey(options)
|
|
3112
4176
|
});
|
|
3113
|
-
var
|
|
4177
|
+
var googleListConversionRequestsQueryKey = (options) => createQueryKey("googleListConversionRequests", options);
|
|
4178
|
+
var googleListConversionRequestsOptions = (options) => reactQuery.queryOptions({
|
|
4179
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
4180
|
+
const { data } = await googleListConversionRequests({
|
|
4181
|
+
...options,
|
|
4182
|
+
...queryKey[0],
|
|
4183
|
+
signal,
|
|
4184
|
+
throwOnError: true
|
|
4185
|
+
});
|
|
4186
|
+
return data;
|
|
4187
|
+
},
|
|
4188
|
+
queryKey: googleListConversionRequestsQueryKey(options)
|
|
4189
|
+
});
|
|
4190
|
+
var googleListConversionRequestsInfiniteQueryKey = (options) => createQueryKey("googleListConversionRequests", options, true);
|
|
4191
|
+
var googleListConversionRequestsInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
4192
|
+
// @ts-ignore
|
|
4193
|
+
{
|
|
4194
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
4195
|
+
const page = typeof pageParam === "object" ? pageParam : {
|
|
4196
|
+
query: {
|
|
4197
|
+
offset: pageParam
|
|
4198
|
+
}
|
|
4199
|
+
};
|
|
4200
|
+
const params = createInfiniteParams(queryKey, page);
|
|
4201
|
+
const { data } = await googleListConversionRequests({
|
|
4202
|
+
...options,
|
|
4203
|
+
...params,
|
|
4204
|
+
signal,
|
|
4205
|
+
throwOnError: true
|
|
4206
|
+
});
|
|
4207
|
+
return data;
|
|
4208
|
+
},
|
|
4209
|
+
queryKey: googleListConversionRequestsInfiniteQueryKey(options)
|
|
4210
|
+
}
|
|
4211
|
+
);
|
|
4212
|
+
var googleListConversionGoalsQueryKey = (options) => createQueryKey("googleListConversionGoals", options);
|
|
4213
|
+
var googleListConversionGoalsOptions = (options) => reactQuery.queryOptions({
|
|
4214
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
4215
|
+
const { data } = await googleListConversionGoals({
|
|
4216
|
+
...options,
|
|
4217
|
+
...queryKey[0],
|
|
4218
|
+
signal,
|
|
4219
|
+
throwOnError: true
|
|
4220
|
+
});
|
|
4221
|
+
return data;
|
|
4222
|
+
},
|
|
4223
|
+
queryKey: googleListConversionGoalsQueryKey(options)
|
|
4224
|
+
});
|
|
4225
|
+
var googleSetConversionGoalMutation = (options) => {
|
|
3114
4226
|
const mutationOptions = {
|
|
3115
4227
|
mutationFn: async (fnOptions) => {
|
|
3116
|
-
const { data } = await
|
|
4228
|
+
const { data } = await googleSetConversionGoal({
|
|
3117
4229
|
...options,
|
|
3118
4230
|
...fnOptions,
|
|
3119
4231
|
throwOnError: true
|
|
@@ -3123,10 +4235,36 @@ var googleCreateAdGroupMutation = (options) => {
|
|
|
3123
4235
|
};
|
|
3124
4236
|
return mutationOptions;
|
|
3125
4237
|
};
|
|
3126
|
-
var
|
|
3127
|
-
|
|
4238
|
+
var googleUploadImageAssetMutation = (options) => {
|
|
4239
|
+
const mutationOptions = {
|
|
4240
|
+
mutationFn: async (fnOptions) => {
|
|
4241
|
+
const { data } = await googleUploadImageAsset({
|
|
4242
|
+
...options,
|
|
4243
|
+
...fnOptions,
|
|
4244
|
+
throwOnError: true
|
|
4245
|
+
});
|
|
4246
|
+
return data;
|
|
4247
|
+
}
|
|
4248
|
+
};
|
|
4249
|
+
return mutationOptions;
|
|
4250
|
+
};
|
|
4251
|
+
var googleUploadYoutubeVideoAssetMutation = (options) => {
|
|
4252
|
+
const mutationOptions = {
|
|
4253
|
+
mutationFn: async (fnOptions) => {
|
|
4254
|
+
const { data } = await googleUploadYoutubeVideoAsset({
|
|
4255
|
+
...options,
|
|
4256
|
+
...fnOptions,
|
|
4257
|
+
throwOnError: true
|
|
4258
|
+
});
|
|
4259
|
+
return data;
|
|
4260
|
+
}
|
|
4261
|
+
};
|
|
4262
|
+
return mutationOptions;
|
|
4263
|
+
};
|
|
4264
|
+
var googleListAssetGroupsQueryKey = (options) => createQueryKey("googleListAssetGroups", options);
|
|
4265
|
+
var googleListAssetGroupsOptions = (options) => reactQuery.queryOptions({
|
|
3128
4266
|
queryFn: async ({ queryKey, signal }) => {
|
|
3129
|
-
const { data } = await
|
|
4267
|
+
const { data } = await googleListAssetGroups({
|
|
3130
4268
|
...options,
|
|
3131
4269
|
...queryKey[0],
|
|
3132
4270
|
signal,
|
|
@@ -3134,12 +4272,25 @@ var googleGetAdGroupOptions = (options) => reactQuery.queryOptions({
|
|
|
3134
4272
|
});
|
|
3135
4273
|
return data;
|
|
3136
4274
|
},
|
|
3137
|
-
queryKey:
|
|
4275
|
+
queryKey: googleListAssetGroupsQueryKey(options)
|
|
3138
4276
|
});
|
|
3139
|
-
var
|
|
4277
|
+
var googleGetAssetGroupQueryKey = (options) => createQueryKey("googleGetAssetGroup", options);
|
|
4278
|
+
var googleGetAssetGroupOptions = (options) => reactQuery.queryOptions({
|
|
4279
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
4280
|
+
const { data } = await googleGetAssetGroup({
|
|
4281
|
+
...options,
|
|
4282
|
+
...queryKey[0],
|
|
4283
|
+
signal,
|
|
4284
|
+
throwOnError: true
|
|
4285
|
+
});
|
|
4286
|
+
return data;
|
|
4287
|
+
},
|
|
4288
|
+
queryKey: googleGetAssetGroupQueryKey(options)
|
|
4289
|
+
});
|
|
4290
|
+
var googleEditAssetGroupMutation = (options) => {
|
|
3140
4291
|
const mutationOptions = {
|
|
3141
4292
|
mutationFn: async (fnOptions) => {
|
|
3142
|
-
const { data } = await
|
|
4293
|
+
const { data } = await googleEditAssetGroup({
|
|
3143
4294
|
...options,
|
|
3144
4295
|
...fnOptions,
|
|
3145
4296
|
throwOnError: true
|
|
@@ -3149,10 +4300,10 @@ var googleEditAdGroupMutation = (options) => {
|
|
|
3149
4300
|
};
|
|
3150
4301
|
return mutationOptions;
|
|
3151
4302
|
};
|
|
3152
|
-
var
|
|
4303
|
+
var googleCreateAssetGroupMutation = (options) => {
|
|
3153
4304
|
const mutationOptions = {
|
|
3154
4305
|
mutationFn: async (fnOptions) => {
|
|
3155
|
-
const { data } = await
|
|
4306
|
+
const { data } = await googleCreateAssetGroup({
|
|
3156
4307
|
...options,
|
|
3157
4308
|
...fnOptions,
|
|
3158
4309
|
throwOnError: true
|
|
@@ -3162,10 +4313,10 @@ var googleSetAdGroupBidsMutation = (options) => {
|
|
|
3162
4313
|
};
|
|
3163
4314
|
return mutationOptions;
|
|
3164
4315
|
};
|
|
3165
|
-
var
|
|
4316
|
+
var googlePauseAssetGroupMutation = (options) => {
|
|
3166
4317
|
const mutationOptions = {
|
|
3167
4318
|
mutationFn: async (fnOptions) => {
|
|
3168
|
-
const { data } = await
|
|
4319
|
+
const { data } = await googlePauseAssetGroup({
|
|
3169
4320
|
...options,
|
|
3170
4321
|
...fnOptions,
|
|
3171
4322
|
throwOnError: true
|
|
@@ -3175,10 +4326,10 @@ var googleRemoveAdGroupMutation = (options) => {
|
|
|
3175
4326
|
};
|
|
3176
4327
|
return mutationOptions;
|
|
3177
4328
|
};
|
|
3178
|
-
var
|
|
4329
|
+
var googleEnableAssetGroupMutation = (options) => {
|
|
3179
4330
|
const mutationOptions = {
|
|
3180
4331
|
mutationFn: async (fnOptions) => {
|
|
3181
|
-
const { data } = await
|
|
4332
|
+
const { data } = await googleEnableAssetGroup({
|
|
3182
4333
|
...options,
|
|
3183
4334
|
...fnOptions,
|
|
3184
4335
|
throwOnError: true
|
|
@@ -3188,10 +4339,49 @@ var googlePauseAdGroupMutation = (options) => {
|
|
|
3188
4339
|
};
|
|
3189
4340
|
return mutationOptions;
|
|
3190
4341
|
};
|
|
3191
|
-
var
|
|
4342
|
+
var googleRemoveAssetGroupMutation = (options) => {
|
|
4343
|
+
const mutationOptions = {
|
|
4344
|
+
mutationFn: async (fnOptions) => {
|
|
4345
|
+
const { data } = await googleRemoveAssetGroup({
|
|
4346
|
+
...options,
|
|
4347
|
+
...fnOptions,
|
|
4348
|
+
throwOnError: true
|
|
4349
|
+
});
|
|
4350
|
+
return data;
|
|
4351
|
+
}
|
|
4352
|
+
};
|
|
4353
|
+
return mutationOptions;
|
|
4354
|
+
};
|
|
4355
|
+
var googleListAssetGroupAssetsQueryKey = (options) => createQueryKey("googleListAssetGroupAssets", options);
|
|
4356
|
+
var googleListAssetGroupAssetsOptions = (options) => reactQuery.queryOptions({
|
|
4357
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
4358
|
+
const { data } = await googleListAssetGroupAssets({
|
|
4359
|
+
...options,
|
|
4360
|
+
...queryKey[0],
|
|
4361
|
+
signal,
|
|
4362
|
+
throwOnError: true
|
|
4363
|
+
});
|
|
4364
|
+
return data;
|
|
4365
|
+
},
|
|
4366
|
+
queryKey: googleListAssetGroupAssetsQueryKey(options)
|
|
4367
|
+
});
|
|
4368
|
+
var googleAttachAssetGroupAssetMutation = (options) => {
|
|
4369
|
+
const mutationOptions = {
|
|
4370
|
+
mutationFn: async (fnOptions) => {
|
|
4371
|
+
const { data } = await googleAttachAssetGroupAsset({
|
|
4372
|
+
...options,
|
|
4373
|
+
...fnOptions,
|
|
4374
|
+
throwOnError: true
|
|
4375
|
+
});
|
|
4376
|
+
return data;
|
|
4377
|
+
}
|
|
4378
|
+
};
|
|
4379
|
+
return mutationOptions;
|
|
4380
|
+
};
|
|
4381
|
+
var googleRemoveAssetGroupAssetMutation = (options) => {
|
|
3192
4382
|
const mutationOptions = {
|
|
3193
4383
|
mutationFn: async (fnOptions) => {
|
|
3194
|
-
const { data } = await
|
|
4384
|
+
const { data } = await googleRemoveAssetGroupAsset({
|
|
3195
4385
|
...options,
|
|
3196
4386
|
...fnOptions,
|
|
3197
4387
|
throwOnError: true
|
|
@@ -3201,10 +4391,10 @@ var googleEnableAdGroupMutation = (options) => {
|
|
|
3201
4391
|
};
|
|
3202
4392
|
return mutationOptions;
|
|
3203
4393
|
};
|
|
3204
|
-
var
|
|
3205
|
-
var
|
|
4394
|
+
var googleListAssetGroupSignalsQueryKey = (options) => createQueryKey("googleListAssetGroupSignals", options);
|
|
4395
|
+
var googleListAssetGroupSignalsOptions = (options) => reactQuery.queryOptions({
|
|
3206
4396
|
queryFn: async ({ queryKey, signal }) => {
|
|
3207
|
-
const { data } = await
|
|
4397
|
+
const { data } = await googleListAssetGroupSignals({
|
|
3208
4398
|
...options,
|
|
3209
4399
|
...queryKey[0],
|
|
3210
4400
|
signal,
|
|
@@ -3212,12 +4402,12 @@ var googleListAdGroupCriteriaOptions = (options) => reactQuery.queryOptions({
|
|
|
3212
4402
|
});
|
|
3213
4403
|
return data;
|
|
3214
4404
|
},
|
|
3215
|
-
queryKey:
|
|
4405
|
+
queryKey: googleListAssetGroupSignalsQueryKey(options)
|
|
3216
4406
|
});
|
|
3217
|
-
var
|
|
4407
|
+
var googleCreateAssetGroupSignalMutation = (options) => {
|
|
3218
4408
|
const mutationOptions = {
|
|
3219
4409
|
mutationFn: async (fnOptions) => {
|
|
3220
|
-
const { data } = await
|
|
4410
|
+
const { data } = await googleCreateAssetGroupSignal({
|
|
3221
4411
|
...options,
|
|
3222
4412
|
...fnOptions,
|
|
3223
4413
|
throwOnError: true
|
|
@@ -3227,10 +4417,10 @@ var googleCreateAdGroupCriterionMutation = (options) => {
|
|
|
3227
4417
|
};
|
|
3228
4418
|
return mutationOptions;
|
|
3229
4419
|
};
|
|
3230
|
-
var
|
|
4420
|
+
var googleRemoveAssetGroupSignalMutation = (options) => {
|
|
3231
4421
|
const mutationOptions = {
|
|
3232
4422
|
mutationFn: async (fnOptions) => {
|
|
3233
|
-
const { data } = await
|
|
4423
|
+
const { data } = await googleRemoveAssetGroupSignal({
|
|
3234
4424
|
...options,
|
|
3235
4425
|
...fnOptions,
|
|
3236
4426
|
throwOnError: true
|
|
@@ -3240,23 +4430,10 @@ var googleRemoveAdGroupCriterionMutation = (options) => {
|
|
|
3240
4430
|
};
|
|
3241
4431
|
return mutationOptions;
|
|
3242
4432
|
};
|
|
3243
|
-
var
|
|
3244
|
-
var googleListAudiencesOptions = (options) => reactQuery.queryOptions({
|
|
3245
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3246
|
-
const { data } = await googleListAudiences({
|
|
3247
|
-
...options,
|
|
3248
|
-
...queryKey[0],
|
|
3249
|
-
signal,
|
|
3250
|
-
throwOnError: true
|
|
3251
|
-
});
|
|
3252
|
-
return data;
|
|
3253
|
-
},
|
|
3254
|
-
queryKey: googleListAudiencesQueryKey(options)
|
|
3255
|
-
});
|
|
3256
|
-
var googleSetCampaignTargetingSettingMutation = (options) => {
|
|
4433
|
+
var googleCreatePerformanceMaxMutation = (options) => {
|
|
3257
4434
|
const mutationOptions = {
|
|
3258
4435
|
mutationFn: async (fnOptions) => {
|
|
3259
|
-
const { data } = await
|
|
4436
|
+
const { data } = await googleCreatePerformanceMax({
|
|
3260
4437
|
...options,
|
|
3261
4438
|
...fnOptions,
|
|
3262
4439
|
throwOnError: true
|
|
@@ -3266,10 +4443,10 @@ var googleSetCampaignTargetingSettingMutation = (options) => {
|
|
|
3266
4443
|
};
|
|
3267
4444
|
return mutationOptions;
|
|
3268
4445
|
};
|
|
3269
|
-
var
|
|
3270
|
-
var
|
|
4446
|
+
var tiktokCreatorInfoQueryKey = (options) => createQueryKey("tiktokCreatorInfo", options);
|
|
4447
|
+
var tiktokCreatorInfoOptions = (options) => reactQuery.queryOptions({
|
|
3271
4448
|
queryFn: async ({ queryKey, signal }) => {
|
|
3272
|
-
const { data } = await
|
|
4449
|
+
const { data } = await tiktokCreatorInfo({
|
|
3273
4450
|
...options,
|
|
3274
4451
|
...queryKey[0],
|
|
3275
4452
|
signal,
|
|
@@ -3277,25 +4454,12 @@ var googleListAdsOptions = (options) => reactQuery.queryOptions({
|
|
|
3277
4454
|
});
|
|
3278
4455
|
return data;
|
|
3279
4456
|
},
|
|
3280
|
-
queryKey:
|
|
4457
|
+
queryKey: tiktokCreatorInfoQueryKey(options)
|
|
3281
4458
|
});
|
|
3282
|
-
var
|
|
3283
|
-
|
|
3284
|
-
mutationFn: async (fnOptions) => {
|
|
3285
|
-
const { data } = await googleCreateAd({
|
|
3286
|
-
...options,
|
|
3287
|
-
...fnOptions,
|
|
3288
|
-
throwOnError: true
|
|
3289
|
-
});
|
|
3290
|
-
return data;
|
|
3291
|
-
}
|
|
3292
|
-
};
|
|
3293
|
-
return mutationOptions;
|
|
3294
|
-
};
|
|
3295
|
-
var googleGetAdQueryKey = (options) => createQueryKey("googleGetAd", options);
|
|
3296
|
-
var googleGetAdOptions = (options) => reactQuery.queryOptions({
|
|
4459
|
+
var tiktokAdsListAdvertisersQueryKey = (options) => createQueryKey("tiktokAdsListAdvertisers", options);
|
|
4460
|
+
var tiktokAdsListAdvertisersOptions = (options) => reactQuery.queryOptions({
|
|
3297
4461
|
queryFn: async ({ queryKey, signal }) => {
|
|
3298
|
-
const { data } = await
|
|
4462
|
+
const { data } = await tiktokAdsListAdvertisers({
|
|
3299
4463
|
...options,
|
|
3300
4464
|
...queryKey[0],
|
|
3301
4465
|
signal,
|
|
@@ -3303,25 +4467,60 @@ var googleGetAdOptions = (options) => reactQuery.queryOptions({
|
|
|
3303
4467
|
});
|
|
3304
4468
|
return data;
|
|
3305
4469
|
},
|
|
3306
|
-
queryKey:
|
|
4470
|
+
queryKey: tiktokAdsListAdvertisersQueryKey(options)
|
|
3307
4471
|
});
|
|
3308
|
-
var
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
4472
|
+
var tiktokAdsListBusinessCentersQueryKey = (options) => createQueryKey("tiktokAdsListBusinessCenters", options);
|
|
4473
|
+
var tiktokAdsListBusinessCentersOptions = (options) => reactQuery.queryOptions({
|
|
4474
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
4475
|
+
const { data } = await tiktokAdsListBusinessCenters({
|
|
4476
|
+
...options,
|
|
4477
|
+
...queryKey[0],
|
|
4478
|
+
signal,
|
|
4479
|
+
throwOnError: true
|
|
4480
|
+
});
|
|
4481
|
+
return data;
|
|
4482
|
+
},
|
|
4483
|
+
queryKey: tiktokAdsListBusinessCentersQueryKey(options)
|
|
4484
|
+
});
|
|
4485
|
+
var tiktokAdsListCampaignsQueryKey = (options) => createQueryKey("tiktokAdsListCampaigns", options);
|
|
4486
|
+
var tiktokAdsListCampaignsOptions = (options) => reactQuery.queryOptions({
|
|
4487
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
4488
|
+
const { data } = await tiktokAdsListCampaigns({
|
|
4489
|
+
...options,
|
|
4490
|
+
...queryKey[0],
|
|
4491
|
+
signal,
|
|
4492
|
+
throwOnError: true
|
|
4493
|
+
});
|
|
4494
|
+
return data;
|
|
4495
|
+
},
|
|
4496
|
+
queryKey: tiktokAdsListCampaignsQueryKey(options)
|
|
4497
|
+
});
|
|
4498
|
+
var tiktokAdsListCampaignsInfiniteQueryKey = (options) => createQueryKey("tiktokAdsListCampaigns", options, true);
|
|
4499
|
+
var tiktokAdsListCampaignsInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
4500
|
+
// @ts-ignore
|
|
4501
|
+
{
|
|
4502
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
4503
|
+
const page = typeof pageParam === "object" ? pageParam : {
|
|
4504
|
+
query: {
|
|
4505
|
+
offset: pageParam
|
|
4506
|
+
}
|
|
4507
|
+
};
|
|
4508
|
+
const params = createInfiniteParams(queryKey, page);
|
|
4509
|
+
const { data } = await tiktokAdsListCampaigns({
|
|
3312
4510
|
...options,
|
|
3313
|
-
...
|
|
4511
|
+
...params,
|
|
4512
|
+
signal,
|
|
3314
4513
|
throwOnError: true
|
|
3315
4514
|
});
|
|
3316
4515
|
return data;
|
|
3317
|
-
}
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
var
|
|
4516
|
+
},
|
|
4517
|
+
queryKey: tiktokAdsListCampaignsInfiniteQueryKey(options)
|
|
4518
|
+
}
|
|
4519
|
+
);
|
|
4520
|
+
var tiktokAdsCreateCampaignMutation = (options) => {
|
|
3322
4521
|
const mutationOptions = {
|
|
3323
4522
|
mutationFn: async (fnOptions) => {
|
|
3324
|
-
const { data } = await
|
|
4523
|
+
const { data } = await tiktokAdsCreateCampaign({
|
|
3325
4524
|
...options,
|
|
3326
4525
|
...fnOptions,
|
|
3327
4526
|
throwOnError: true
|
|
@@ -3331,10 +4530,10 @@ var googleRemoveAdMutation = (options) => {
|
|
|
3331
4530
|
};
|
|
3332
4531
|
return mutationOptions;
|
|
3333
4532
|
};
|
|
3334
|
-
var
|
|
4533
|
+
var tiktokAdsUpdateCampaignStatusMutation = (options) => {
|
|
3335
4534
|
const mutationOptions = {
|
|
3336
4535
|
mutationFn: async (fnOptions) => {
|
|
3337
|
-
const { data } = await
|
|
4536
|
+
const { data } = await tiktokAdsUpdateCampaignStatus({
|
|
3338
4537
|
...options,
|
|
3339
4538
|
...fnOptions,
|
|
3340
4539
|
throwOnError: true
|
|
@@ -3344,10 +4543,10 @@ var googlePauseAdMutation = (options) => {
|
|
|
3344
4543
|
};
|
|
3345
4544
|
return mutationOptions;
|
|
3346
4545
|
};
|
|
3347
|
-
var
|
|
4546
|
+
var tiktokAdsUpdateCampaignBudgetMutation = (options) => {
|
|
3348
4547
|
const mutationOptions = {
|
|
3349
4548
|
mutationFn: async (fnOptions) => {
|
|
3350
|
-
const { data } = await
|
|
4549
|
+
const { data } = await tiktokAdsUpdateCampaignBudget({
|
|
3351
4550
|
...options,
|
|
3352
4551
|
...fnOptions,
|
|
3353
4552
|
throwOnError: true
|
|
@@ -3357,23 +4556,10 @@ var googleEnableAdMutation = (options) => {
|
|
|
3357
4556
|
};
|
|
3358
4557
|
return mutationOptions;
|
|
3359
4558
|
};
|
|
3360
|
-
var
|
|
3361
|
-
var googleListKeywordsOptions = (options) => reactQuery.queryOptions({
|
|
3362
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3363
|
-
const { data } = await googleListKeywords({
|
|
3364
|
-
...options,
|
|
3365
|
-
...queryKey[0],
|
|
3366
|
-
signal,
|
|
3367
|
-
throwOnError: true
|
|
3368
|
-
});
|
|
3369
|
-
return data;
|
|
3370
|
-
},
|
|
3371
|
-
queryKey: googleListKeywordsQueryKey(options)
|
|
3372
|
-
});
|
|
3373
|
-
var googleCreateKeywordMutation = (options) => {
|
|
4559
|
+
var tiktokAdsRemoveCampaignMutation = (options) => {
|
|
3374
4560
|
const mutationOptions = {
|
|
3375
4561
|
mutationFn: async (fnOptions) => {
|
|
3376
|
-
const { data } = await
|
|
4562
|
+
const { data } = await tiktokAdsRemoveCampaign({
|
|
3377
4563
|
...options,
|
|
3378
4564
|
...fnOptions,
|
|
3379
4565
|
throwOnError: true
|
|
@@ -3383,10 +4569,10 @@ var googleCreateKeywordMutation = (options) => {
|
|
|
3383
4569
|
};
|
|
3384
4570
|
return mutationOptions;
|
|
3385
4571
|
};
|
|
3386
|
-
var
|
|
3387
|
-
var
|
|
4572
|
+
var tiktokAdsListAdGroupsQueryKey = (options) => createQueryKey("tiktokAdsListAdGroups", options);
|
|
4573
|
+
var tiktokAdsListAdGroupsOptions = (options) => reactQuery.queryOptions({
|
|
3388
4574
|
queryFn: async ({ queryKey, signal }) => {
|
|
3389
|
-
const { data } = await
|
|
4575
|
+
const { data } = await tiktokAdsListAdGroups({
|
|
3390
4576
|
...options,
|
|
3391
4577
|
...queryKey[0],
|
|
3392
4578
|
signal,
|
|
@@ -3394,12 +4580,34 @@ var googleGetKeywordOptions = (options) => reactQuery.queryOptions({
|
|
|
3394
4580
|
});
|
|
3395
4581
|
return data;
|
|
3396
4582
|
},
|
|
3397
|
-
queryKey:
|
|
4583
|
+
queryKey: tiktokAdsListAdGroupsQueryKey(options)
|
|
3398
4584
|
});
|
|
3399
|
-
var
|
|
4585
|
+
var tiktokAdsListAdGroupsInfiniteQueryKey = (options) => createQueryKey("tiktokAdsListAdGroups", options, true);
|
|
4586
|
+
var tiktokAdsListAdGroupsInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
4587
|
+
// @ts-ignore
|
|
4588
|
+
{
|
|
4589
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
4590
|
+
const page = typeof pageParam === "object" ? pageParam : {
|
|
4591
|
+
query: {
|
|
4592
|
+
offset: pageParam
|
|
4593
|
+
}
|
|
4594
|
+
};
|
|
4595
|
+
const params = createInfiniteParams(queryKey, page);
|
|
4596
|
+
const { data } = await tiktokAdsListAdGroups({
|
|
4597
|
+
...options,
|
|
4598
|
+
...params,
|
|
4599
|
+
signal,
|
|
4600
|
+
throwOnError: true
|
|
4601
|
+
});
|
|
4602
|
+
return data;
|
|
4603
|
+
},
|
|
4604
|
+
queryKey: tiktokAdsListAdGroupsInfiniteQueryKey(options)
|
|
4605
|
+
}
|
|
4606
|
+
);
|
|
4607
|
+
var tiktokAdsCreateAdGroupMutation = (options) => {
|
|
3400
4608
|
const mutationOptions = {
|
|
3401
4609
|
mutationFn: async (fnOptions) => {
|
|
3402
|
-
const { data } = await
|
|
4610
|
+
const { data } = await tiktokAdsCreateAdGroup({
|
|
3403
4611
|
...options,
|
|
3404
4612
|
...fnOptions,
|
|
3405
4613
|
throwOnError: true
|
|
@@ -3409,10 +4617,10 @@ var googleSetKeywordBidMutation = (options) => {
|
|
|
3409
4617
|
};
|
|
3410
4618
|
return mutationOptions;
|
|
3411
4619
|
};
|
|
3412
|
-
var
|
|
4620
|
+
var tiktokAdsUpdateAdGroupStatusMutation = (options) => {
|
|
3413
4621
|
const mutationOptions = {
|
|
3414
4622
|
mutationFn: async (fnOptions) => {
|
|
3415
|
-
const { data } = await
|
|
4623
|
+
const { data } = await tiktokAdsUpdateAdGroupStatus({
|
|
3416
4624
|
...options,
|
|
3417
4625
|
...fnOptions,
|
|
3418
4626
|
throwOnError: true
|
|
@@ -3422,10 +4630,10 @@ var googleRemoveKeywordMutation = (options) => {
|
|
|
3422
4630
|
};
|
|
3423
4631
|
return mutationOptions;
|
|
3424
4632
|
};
|
|
3425
|
-
var
|
|
4633
|
+
var tiktokAdsUpdateAdGroupBudgetMutation = (options) => {
|
|
3426
4634
|
const mutationOptions = {
|
|
3427
4635
|
mutationFn: async (fnOptions) => {
|
|
3428
|
-
const { data } = await
|
|
4636
|
+
const { data } = await tiktokAdsUpdateAdGroupBudget({
|
|
3429
4637
|
...options,
|
|
3430
4638
|
...fnOptions,
|
|
3431
4639
|
throwOnError: true
|
|
@@ -3435,10 +4643,10 @@ var googlePauseKeywordMutation = (options) => {
|
|
|
3435
4643
|
};
|
|
3436
4644
|
return mutationOptions;
|
|
3437
4645
|
};
|
|
3438
|
-
var
|
|
4646
|
+
var tiktokAdsRemoveAdGroupMutation = (options) => {
|
|
3439
4647
|
const mutationOptions = {
|
|
3440
4648
|
mutationFn: async (fnOptions) => {
|
|
3441
|
-
const { data } = await
|
|
4649
|
+
const { data } = await tiktokAdsRemoveAdGroup({
|
|
3442
4650
|
...options,
|
|
3443
4651
|
...fnOptions,
|
|
3444
4652
|
throwOnError: true
|
|
@@ -3448,10 +4656,10 @@ var googleEnableKeywordMutation = (options) => {
|
|
|
3448
4656
|
};
|
|
3449
4657
|
return mutationOptions;
|
|
3450
4658
|
};
|
|
3451
|
-
var
|
|
3452
|
-
var
|
|
4659
|
+
var tiktokAdsListAdsQueryKey = (options) => createQueryKey("tiktokAdsListAds", options);
|
|
4660
|
+
var tiktokAdsListAdsOptions = (options) => reactQuery.queryOptions({
|
|
3453
4661
|
queryFn: async ({ queryKey, signal }) => {
|
|
3454
|
-
const { data } = await
|
|
4662
|
+
const { data } = await tiktokAdsListAds({
|
|
3455
4663
|
...options,
|
|
3456
4664
|
...queryKey[0],
|
|
3457
4665
|
signal,
|
|
@@ -3459,12 +4667,34 @@ var googleListConversionActionsOptions = (options) => reactQuery.queryOptions({
|
|
|
3459
4667
|
});
|
|
3460
4668
|
return data;
|
|
3461
4669
|
},
|
|
3462
|
-
queryKey:
|
|
4670
|
+
queryKey: tiktokAdsListAdsQueryKey(options)
|
|
3463
4671
|
});
|
|
3464
|
-
var
|
|
4672
|
+
var tiktokAdsListAdsInfiniteQueryKey = (options) => createQueryKey("tiktokAdsListAds", options, true);
|
|
4673
|
+
var tiktokAdsListAdsInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
4674
|
+
// @ts-ignore
|
|
4675
|
+
{
|
|
4676
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
4677
|
+
const page = typeof pageParam === "object" ? pageParam : {
|
|
4678
|
+
query: {
|
|
4679
|
+
offset: pageParam
|
|
4680
|
+
}
|
|
4681
|
+
};
|
|
4682
|
+
const params = createInfiniteParams(queryKey, page);
|
|
4683
|
+
const { data } = await tiktokAdsListAds({
|
|
4684
|
+
...options,
|
|
4685
|
+
...params,
|
|
4686
|
+
signal,
|
|
4687
|
+
throwOnError: true
|
|
4688
|
+
});
|
|
4689
|
+
return data;
|
|
4690
|
+
},
|
|
4691
|
+
queryKey: tiktokAdsListAdsInfiniteQueryKey(options)
|
|
4692
|
+
}
|
|
4693
|
+
);
|
|
4694
|
+
var tiktokAdsCreateAdMutation = (options) => {
|
|
3465
4695
|
const mutationOptions = {
|
|
3466
4696
|
mutationFn: async (fnOptions) => {
|
|
3467
|
-
const { data } = await
|
|
4697
|
+
const { data } = await tiktokAdsCreateAd({
|
|
3468
4698
|
...options,
|
|
3469
4699
|
...fnOptions,
|
|
3470
4700
|
throwOnError: true
|
|
@@ -3474,23 +4704,10 @@ var googleCreateConversionActionMutation = (options) => {
|
|
|
3474
4704
|
};
|
|
3475
4705
|
return mutationOptions;
|
|
3476
4706
|
};
|
|
3477
|
-
var
|
|
3478
|
-
var googleGetConversionActionOptions = (options) => reactQuery.queryOptions({
|
|
3479
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3480
|
-
const { data } = await googleGetConversionAction({
|
|
3481
|
-
...options,
|
|
3482
|
-
...queryKey[0],
|
|
3483
|
-
signal,
|
|
3484
|
-
throwOnError: true
|
|
3485
|
-
});
|
|
3486
|
-
return data;
|
|
3487
|
-
},
|
|
3488
|
-
queryKey: googleGetConversionActionQueryKey(options)
|
|
3489
|
-
});
|
|
3490
|
-
var googleSendConversionsMutation = (options) => {
|
|
4707
|
+
var tiktokAdsUpdateAdStatusMutation = (options) => {
|
|
3491
4708
|
const mutationOptions = {
|
|
3492
4709
|
mutationFn: async (fnOptions) => {
|
|
3493
|
-
const { data } = await
|
|
4710
|
+
const { data } = await tiktokAdsUpdateAdStatus({
|
|
3494
4711
|
...options,
|
|
3495
4712
|
...fnOptions,
|
|
3496
4713
|
throwOnError: true
|
|
@@ -3500,10 +4717,36 @@ var googleSendConversionsMutation = (options) => {
|
|
|
3500
4717
|
};
|
|
3501
4718
|
return mutationOptions;
|
|
3502
4719
|
};
|
|
3503
|
-
var
|
|
3504
|
-
|
|
4720
|
+
var tiktokAdsRemoveAdMutation = (options) => {
|
|
4721
|
+
const mutationOptions = {
|
|
4722
|
+
mutationFn: async (fnOptions) => {
|
|
4723
|
+
const { data } = await tiktokAdsRemoveAd({
|
|
4724
|
+
...options,
|
|
4725
|
+
...fnOptions,
|
|
4726
|
+
throwOnError: true
|
|
4727
|
+
});
|
|
4728
|
+
return data;
|
|
4729
|
+
}
|
|
4730
|
+
};
|
|
4731
|
+
return mutationOptions;
|
|
4732
|
+
};
|
|
4733
|
+
var tiktokAdsGetInsightsMutation = (options) => {
|
|
4734
|
+
const mutationOptions = {
|
|
4735
|
+
mutationFn: async (fnOptions) => {
|
|
4736
|
+
const { data } = await tiktokAdsGetInsights({
|
|
4737
|
+
...options,
|
|
4738
|
+
...fnOptions,
|
|
4739
|
+
throwOnError: true
|
|
4740
|
+
});
|
|
4741
|
+
return data;
|
|
4742
|
+
}
|
|
4743
|
+
};
|
|
4744
|
+
return mutationOptions;
|
|
4745
|
+
};
|
|
4746
|
+
var tiktokAdsGetAdTreeQueryKey = (options) => createQueryKey("tiktokAdsGetAdTree", options);
|
|
4747
|
+
var tiktokAdsGetAdTreeOptions = (options) => reactQuery.queryOptions({
|
|
3505
4748
|
queryFn: async ({ queryKey, signal }) => {
|
|
3506
|
-
const { data } = await
|
|
4749
|
+
const { data } = await tiktokAdsGetAdTree({
|
|
3507
4750
|
...options,
|
|
3508
4751
|
...queryKey[0],
|
|
3509
4752
|
signal,
|
|
@@ -3511,12 +4754,12 @@ var googleGetConversionStatusOptions = (options) => reactQuery.queryOptions({
|
|
|
3511
4754
|
});
|
|
3512
4755
|
return data;
|
|
3513
4756
|
},
|
|
3514
|
-
queryKey:
|
|
4757
|
+
queryKey: tiktokAdsGetAdTreeQueryKey(options)
|
|
3515
4758
|
});
|
|
3516
|
-
var
|
|
3517
|
-
var
|
|
4759
|
+
var tiktokAdsListIdentitiesQueryKey = (options) => createQueryKey("tiktokAdsListIdentities", options);
|
|
4760
|
+
var tiktokAdsListIdentitiesOptions = (options) => reactQuery.queryOptions({
|
|
3518
4761
|
queryFn: async ({ queryKey, signal }) => {
|
|
3519
|
-
const { data } = await
|
|
4762
|
+
const { data } = await tiktokAdsListIdentities({
|
|
3520
4763
|
...options,
|
|
3521
4764
|
...queryKey[0],
|
|
3522
4765
|
signal,
|
|
@@ -3524,20 +4767,20 @@ var googleListConversionRequestsOptions = (options) => reactQuery.queryOptions({
|
|
|
3524
4767
|
});
|
|
3525
4768
|
return data;
|
|
3526
4769
|
},
|
|
3527
|
-
queryKey:
|
|
4770
|
+
queryKey: tiktokAdsListIdentitiesQueryKey(options)
|
|
3528
4771
|
});
|
|
3529
|
-
var
|
|
3530
|
-
var
|
|
4772
|
+
var tiktokAdsListIdentitiesInfiniteQueryKey = (options) => createQueryKey("tiktokAdsListIdentities", options, true);
|
|
4773
|
+
var tiktokAdsListIdentitiesInfiniteOptions = (options) => reactQuery.infiniteQueryOptions(
|
|
3531
4774
|
// @ts-ignore
|
|
3532
4775
|
{
|
|
3533
4776
|
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
3534
4777
|
const page = typeof pageParam === "object" ? pageParam : {
|
|
3535
4778
|
query: {
|
|
3536
|
-
|
|
4779
|
+
page: pageParam
|
|
3537
4780
|
}
|
|
3538
4781
|
};
|
|
3539
4782
|
const params = createInfiniteParams(queryKey, page);
|
|
3540
|
-
const { data } = await
|
|
4783
|
+
const { data } = await tiktokAdsListIdentities({
|
|
3541
4784
|
...options,
|
|
3542
4785
|
...params,
|
|
3543
4786
|
signal,
|
|
@@ -3545,39 +4788,13 @@ var googleListConversionRequestsInfiniteOptions = (options) => reactQuery.infini
|
|
|
3545
4788
|
});
|
|
3546
4789
|
return data;
|
|
3547
4790
|
},
|
|
3548
|
-
queryKey:
|
|
4791
|
+
queryKey: tiktokAdsListIdentitiesInfiniteQueryKey(options)
|
|
3549
4792
|
}
|
|
3550
4793
|
);
|
|
3551
|
-
var
|
|
3552
|
-
var googleListConversionGoalsOptions = (options) => reactQuery.queryOptions({
|
|
3553
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3554
|
-
const { data } = await googleListConversionGoals({
|
|
3555
|
-
...options,
|
|
3556
|
-
...queryKey[0],
|
|
3557
|
-
signal,
|
|
3558
|
-
throwOnError: true
|
|
3559
|
-
});
|
|
3560
|
-
return data;
|
|
3561
|
-
},
|
|
3562
|
-
queryKey: googleListConversionGoalsQueryKey(options)
|
|
3563
|
-
});
|
|
3564
|
-
var googleSetConversionGoalMutation = (options) => {
|
|
3565
|
-
const mutationOptions = {
|
|
3566
|
-
mutationFn: async (fnOptions) => {
|
|
3567
|
-
const { data } = await googleSetConversionGoal({
|
|
3568
|
-
...options,
|
|
3569
|
-
...fnOptions,
|
|
3570
|
-
throwOnError: true
|
|
3571
|
-
});
|
|
3572
|
-
return data;
|
|
3573
|
-
}
|
|
3574
|
-
};
|
|
3575
|
-
return mutationOptions;
|
|
3576
|
-
};
|
|
3577
|
-
var googleUploadImageAssetMutation = (options) => {
|
|
4794
|
+
var tiktokAdsCreateIdentityMutation = (options) => {
|
|
3578
4795
|
const mutationOptions = {
|
|
3579
4796
|
mutationFn: async (fnOptions) => {
|
|
3580
|
-
const { data } = await
|
|
4797
|
+
const { data } = await tiktokAdsCreateIdentity({
|
|
3581
4798
|
...options,
|
|
3582
4799
|
...fnOptions,
|
|
3583
4800
|
throwOnError: true
|
|
@@ -3587,19 +4804,6 @@ var googleUploadImageAssetMutation = (options) => {
|
|
|
3587
4804
|
};
|
|
3588
4805
|
return mutationOptions;
|
|
3589
4806
|
};
|
|
3590
|
-
var tiktokCreatorInfoQueryKey = (options) => createQueryKey("tiktokCreatorInfo", options);
|
|
3591
|
-
var tiktokCreatorInfoOptions = (options) => reactQuery.queryOptions({
|
|
3592
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3593
|
-
const { data } = await tiktokCreatorInfo({
|
|
3594
|
-
...options,
|
|
3595
|
-
...queryKey[0],
|
|
3596
|
-
signal,
|
|
3597
|
-
throwOnError: true
|
|
3598
|
-
});
|
|
3599
|
-
return data;
|
|
3600
|
-
},
|
|
3601
|
-
queryKey: tiktokCreatorInfoQueryKey(options)
|
|
3602
|
-
});
|
|
3603
4807
|
var logsListQueryKey = (options) => createQueryKey("logsList", options);
|
|
3604
4808
|
var logsListOptions = (options) => reactQuery.queryOptions({
|
|
3605
4809
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -3799,21 +5003,29 @@ exports.connectionsListByProfileInfiniteQueryKey = connectionsListByProfileInfin
|
|
|
3799
5003
|
exports.connectionsListByProfileOptions = connectionsListByProfileOptions;
|
|
3800
5004
|
exports.connectionsListByProfileQueryKey = connectionsListByProfileQueryKey;
|
|
3801
5005
|
exports.connectionsSelectMutation = connectionsSelectMutation;
|
|
5006
|
+
exports.googleAttachAssetGroupAssetMutation = googleAttachAssetGroupAssetMutation;
|
|
3802
5007
|
exports.googleCreateAdGroupCriterionMutation = googleCreateAdGroupCriterionMutation;
|
|
3803
5008
|
exports.googleCreateAdGroupMutation = googleCreateAdGroupMutation;
|
|
3804
5009
|
exports.googleCreateAdMutation = googleCreateAdMutation;
|
|
5010
|
+
exports.googleCreateAssetGroupMutation = googleCreateAssetGroupMutation;
|
|
5011
|
+
exports.googleCreateAssetGroupSignalMutation = googleCreateAssetGroupSignalMutation;
|
|
3805
5012
|
exports.googleCreateBudgetMutation = googleCreateBudgetMutation;
|
|
3806
5013
|
exports.googleCreateCampaignCriterionMutation = googleCreateCampaignCriterionMutation;
|
|
3807
5014
|
exports.googleCreateCampaignMutation = googleCreateCampaignMutation;
|
|
3808
5015
|
exports.googleCreateConversionActionMutation = googleCreateConversionActionMutation;
|
|
3809
5016
|
exports.googleCreateDisplayAdMutation = googleCreateDisplayAdMutation;
|
|
3810
5017
|
exports.googleCreateKeywordMutation = googleCreateKeywordMutation;
|
|
5018
|
+
exports.googleCreatePerformanceMaxMutation = googleCreatePerformanceMaxMutation;
|
|
3811
5019
|
exports.googleEditAccountMutation = googleEditAccountMutation;
|
|
3812
5020
|
exports.googleEditAdGroupMutation = googleEditAdGroupMutation;
|
|
5021
|
+
exports.googleEditAdMutation = googleEditAdMutation;
|
|
5022
|
+
exports.googleEditAssetGroupMutation = googleEditAssetGroupMutation;
|
|
3813
5023
|
exports.googleEditBudgetMutation = googleEditBudgetMutation;
|
|
3814
5024
|
exports.googleEditCampaignMutation = googleEditCampaignMutation;
|
|
5025
|
+
exports.googleEditDisplayAdMutation = googleEditDisplayAdMutation;
|
|
3815
5026
|
exports.googleEnableAdGroupMutation = googleEnableAdGroupMutation;
|
|
3816
5027
|
exports.googleEnableAdMutation = googleEnableAdMutation;
|
|
5028
|
+
exports.googleEnableAssetGroupMutation = googleEnableAssetGroupMutation;
|
|
3817
5029
|
exports.googleEnableCampaignMutation = googleEnableCampaignMutation;
|
|
3818
5030
|
exports.googleEnableKeywordMutation = googleEnableKeywordMutation;
|
|
3819
5031
|
exports.googleGetAccountOptions = googleGetAccountOptions;
|
|
@@ -3824,6 +5036,8 @@ exports.googleGetAdOptions = googleGetAdOptions;
|
|
|
3824
5036
|
exports.googleGetAdQueryKey = googleGetAdQueryKey;
|
|
3825
5037
|
exports.googleGetAdTreeOptions = googleGetAdTreeOptions;
|
|
3826
5038
|
exports.googleGetAdTreeQueryKey = googleGetAdTreeQueryKey;
|
|
5039
|
+
exports.googleGetAssetGroupOptions = googleGetAssetGroupOptions;
|
|
5040
|
+
exports.googleGetAssetGroupQueryKey = googleGetAssetGroupQueryKey;
|
|
3827
5041
|
exports.googleGetCampaignOptions = googleGetCampaignOptions;
|
|
3828
5042
|
exports.googleGetCampaignQueryKey = googleGetCampaignQueryKey;
|
|
3829
5043
|
exports.googleGetConversionActionOptions = googleGetConversionActionOptions;
|
|
@@ -3839,6 +5053,12 @@ exports.googleListAdGroupsOptions = googleListAdGroupsOptions;
|
|
|
3839
5053
|
exports.googleListAdGroupsQueryKey = googleListAdGroupsQueryKey;
|
|
3840
5054
|
exports.googleListAdsOptions = googleListAdsOptions;
|
|
3841
5055
|
exports.googleListAdsQueryKey = googleListAdsQueryKey;
|
|
5056
|
+
exports.googleListAssetGroupAssetsOptions = googleListAssetGroupAssetsOptions;
|
|
5057
|
+
exports.googleListAssetGroupAssetsQueryKey = googleListAssetGroupAssetsQueryKey;
|
|
5058
|
+
exports.googleListAssetGroupSignalsOptions = googleListAssetGroupSignalsOptions;
|
|
5059
|
+
exports.googleListAssetGroupSignalsQueryKey = googleListAssetGroupSignalsQueryKey;
|
|
5060
|
+
exports.googleListAssetGroupsOptions = googleListAssetGroupsOptions;
|
|
5061
|
+
exports.googleListAssetGroupsQueryKey = googleListAssetGroupsQueryKey;
|
|
3842
5062
|
exports.googleListAudiencesOptions = googleListAudiencesOptions;
|
|
3843
5063
|
exports.googleListAudiencesQueryKey = googleListAudiencesQueryKey;
|
|
3844
5064
|
exports.googleListCampaignCriteriaOptions = googleListCampaignCriteriaOptions;
|
|
@@ -3857,25 +5077,33 @@ exports.googleListKeywordsOptions = googleListKeywordsOptions;
|
|
|
3857
5077
|
exports.googleListKeywordsQueryKey = googleListKeywordsQueryKey;
|
|
3858
5078
|
exports.googlePauseAdGroupMutation = googlePauseAdGroupMutation;
|
|
3859
5079
|
exports.googlePauseAdMutation = googlePauseAdMutation;
|
|
5080
|
+
exports.googlePauseAssetGroupMutation = googlePauseAssetGroupMutation;
|
|
3860
5081
|
exports.googlePauseCampaignMutation = googlePauseCampaignMutation;
|
|
3861
5082
|
exports.googlePauseKeywordMutation = googlePauseKeywordMutation;
|
|
3862
5083
|
exports.googleRemoveAdGroupCriterionMutation = googleRemoveAdGroupCriterionMutation;
|
|
3863
5084
|
exports.googleRemoveAdGroupMutation = googleRemoveAdGroupMutation;
|
|
3864
5085
|
exports.googleRemoveAdMutation = googleRemoveAdMutation;
|
|
5086
|
+
exports.googleRemoveAssetGroupAssetMutation = googleRemoveAssetGroupAssetMutation;
|
|
5087
|
+
exports.googleRemoveAssetGroupMutation = googleRemoveAssetGroupMutation;
|
|
5088
|
+
exports.googleRemoveAssetGroupSignalMutation = googleRemoveAssetGroupSignalMutation;
|
|
3865
5089
|
exports.googleRemoveBudgetMutation = googleRemoveBudgetMutation;
|
|
3866
5090
|
exports.googleRemoveCampaignCriterionMutation = googleRemoveCampaignCriterionMutation;
|
|
3867
5091
|
exports.googleRemoveCampaignMutation = googleRemoveCampaignMutation;
|
|
5092
|
+
exports.googleRemoveConversionActionMutation = googleRemoveConversionActionMutation;
|
|
3868
5093
|
exports.googleRemoveKeywordMutation = googleRemoveKeywordMutation;
|
|
3869
5094
|
exports.googleRunGaqlMutation = googleRunGaqlMutation;
|
|
3870
5095
|
exports.googleSearchGeoTargetsOptions = googleSearchGeoTargetsOptions;
|
|
3871
5096
|
exports.googleSearchGeoTargetsQueryKey = googleSearchGeoTargetsQueryKey;
|
|
3872
5097
|
exports.googleSendConversionsMutation = googleSendConversionsMutation;
|
|
3873
5098
|
exports.googleSetAdGroupBidsMutation = googleSetAdGroupBidsMutation;
|
|
5099
|
+
exports.googleSetCampaignBiddingMutation = googleSetCampaignBiddingMutation;
|
|
3874
5100
|
exports.googleSetCampaignGeoSettingsMutation = googleSetCampaignGeoSettingsMutation;
|
|
3875
5101
|
exports.googleSetCampaignTargetingSettingMutation = googleSetCampaignTargetingSettingMutation;
|
|
3876
5102
|
exports.googleSetConversionGoalMutation = googleSetConversionGoalMutation;
|
|
3877
5103
|
exports.googleSetKeywordBidMutation = googleSetKeywordBidMutation;
|
|
5104
|
+
exports.googleUpdateConversionActionMutation = googleUpdateConversionActionMutation;
|
|
3878
5105
|
exports.googleUploadImageAssetMutation = googleUploadImageAssetMutation;
|
|
5106
|
+
exports.googleUploadYoutubeVideoAssetMutation = googleUploadYoutubeVideoAssetMutation;
|
|
3879
5107
|
exports.logsGetOptions = logsGetOptions;
|
|
3880
5108
|
exports.logsGetQueryKey = logsGetQueryKey;
|
|
3881
5109
|
exports.logsListInfiniteOptions = logsListInfiniteOptions;
|
|
@@ -3931,6 +5159,41 @@ exports.profilesListInfiniteQueryKey = profilesListInfiniteQueryKey;
|
|
|
3931
5159
|
exports.profilesListOptions = profilesListOptions;
|
|
3932
5160
|
exports.profilesListQueryKey = profilesListQueryKey;
|
|
3933
5161
|
exports.profilesUpdateMutation = profilesUpdateMutation;
|
|
5162
|
+
exports.tiktokAdsCreateAdGroupMutation = tiktokAdsCreateAdGroupMutation;
|
|
5163
|
+
exports.tiktokAdsCreateAdMutation = tiktokAdsCreateAdMutation;
|
|
5164
|
+
exports.tiktokAdsCreateCampaignMutation = tiktokAdsCreateCampaignMutation;
|
|
5165
|
+
exports.tiktokAdsCreateIdentityMutation = tiktokAdsCreateIdentityMutation;
|
|
5166
|
+
exports.tiktokAdsGetAdTreeOptions = tiktokAdsGetAdTreeOptions;
|
|
5167
|
+
exports.tiktokAdsGetAdTreeQueryKey = tiktokAdsGetAdTreeQueryKey;
|
|
5168
|
+
exports.tiktokAdsGetInsightsMutation = tiktokAdsGetInsightsMutation;
|
|
5169
|
+
exports.tiktokAdsListAdGroupsInfiniteOptions = tiktokAdsListAdGroupsInfiniteOptions;
|
|
5170
|
+
exports.tiktokAdsListAdGroupsInfiniteQueryKey = tiktokAdsListAdGroupsInfiniteQueryKey;
|
|
5171
|
+
exports.tiktokAdsListAdGroupsOptions = tiktokAdsListAdGroupsOptions;
|
|
5172
|
+
exports.tiktokAdsListAdGroupsQueryKey = tiktokAdsListAdGroupsQueryKey;
|
|
5173
|
+
exports.tiktokAdsListAdsInfiniteOptions = tiktokAdsListAdsInfiniteOptions;
|
|
5174
|
+
exports.tiktokAdsListAdsInfiniteQueryKey = tiktokAdsListAdsInfiniteQueryKey;
|
|
5175
|
+
exports.tiktokAdsListAdsOptions = tiktokAdsListAdsOptions;
|
|
5176
|
+
exports.tiktokAdsListAdsQueryKey = tiktokAdsListAdsQueryKey;
|
|
5177
|
+
exports.tiktokAdsListAdvertisersOptions = tiktokAdsListAdvertisersOptions;
|
|
5178
|
+
exports.tiktokAdsListAdvertisersQueryKey = tiktokAdsListAdvertisersQueryKey;
|
|
5179
|
+
exports.tiktokAdsListBusinessCentersOptions = tiktokAdsListBusinessCentersOptions;
|
|
5180
|
+
exports.tiktokAdsListBusinessCentersQueryKey = tiktokAdsListBusinessCentersQueryKey;
|
|
5181
|
+
exports.tiktokAdsListCampaignsInfiniteOptions = tiktokAdsListCampaignsInfiniteOptions;
|
|
5182
|
+
exports.tiktokAdsListCampaignsInfiniteQueryKey = tiktokAdsListCampaignsInfiniteQueryKey;
|
|
5183
|
+
exports.tiktokAdsListCampaignsOptions = tiktokAdsListCampaignsOptions;
|
|
5184
|
+
exports.tiktokAdsListCampaignsQueryKey = tiktokAdsListCampaignsQueryKey;
|
|
5185
|
+
exports.tiktokAdsListIdentitiesInfiniteOptions = tiktokAdsListIdentitiesInfiniteOptions;
|
|
5186
|
+
exports.tiktokAdsListIdentitiesInfiniteQueryKey = tiktokAdsListIdentitiesInfiniteQueryKey;
|
|
5187
|
+
exports.tiktokAdsListIdentitiesOptions = tiktokAdsListIdentitiesOptions;
|
|
5188
|
+
exports.tiktokAdsListIdentitiesQueryKey = tiktokAdsListIdentitiesQueryKey;
|
|
5189
|
+
exports.tiktokAdsRemoveAdGroupMutation = tiktokAdsRemoveAdGroupMutation;
|
|
5190
|
+
exports.tiktokAdsRemoveAdMutation = tiktokAdsRemoveAdMutation;
|
|
5191
|
+
exports.tiktokAdsRemoveCampaignMutation = tiktokAdsRemoveCampaignMutation;
|
|
5192
|
+
exports.tiktokAdsUpdateAdGroupBudgetMutation = tiktokAdsUpdateAdGroupBudgetMutation;
|
|
5193
|
+
exports.tiktokAdsUpdateAdGroupStatusMutation = tiktokAdsUpdateAdGroupStatusMutation;
|
|
5194
|
+
exports.tiktokAdsUpdateAdStatusMutation = tiktokAdsUpdateAdStatusMutation;
|
|
5195
|
+
exports.tiktokAdsUpdateCampaignBudgetMutation = tiktokAdsUpdateCampaignBudgetMutation;
|
|
5196
|
+
exports.tiktokAdsUpdateCampaignStatusMutation = tiktokAdsUpdateCampaignStatusMutation;
|
|
3934
5197
|
exports.tiktokCreatorInfoOptions = tiktokCreatorInfoOptions;
|
|
3935
5198
|
exports.tiktokCreatorInfoQueryKey = tiktokCreatorInfoQueryKey;
|
|
3936
5199
|
exports.tokensMintMutation = tokensMintMutation;
|