@postrun/js 2.21.0 → 2.23.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-Z24YOZBU.js → chunk-ENKRNIUY.js} +44 -14
- package/dist/chunk-ENKRNIUY.js.map +1 -0
- package/dist/{chunk-B3QMJNLV.js → chunk-K3UUBD7Z.js} +1448 -76
- package/dist/chunk-K3UUBD7Z.js.map +1 -0
- package/dist/index.cjs +1485 -84
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -12
- package/dist/index.d.ts +28 -12
- package/dist/index.js +3 -3
- package/dist/query.cjs +83 -24
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +2445 -1706
- package/dist/query.d.ts +2445 -1706
- package/dist/query.js +80 -24
- package/dist/query.js.map +1 -1
- package/dist/schemas/index.cjs +1464 -77
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +5143 -258
- package/dist/schemas/index.d.ts +5143 -258
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +1442 -73
- 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-DebHd_dS.d.cts → types.gen-BKyrVtiG.d.cts} +1972 -1287
- package/dist/{types.gen-DebHd_dS.d.ts → types.gen-BKyrVtiG.d.ts} +1972 -1287
- package/package.json +1 -1
- package/dist/chunk-B3QMJNLV.js.map +0 -1
- package/dist/chunk-Z24YOZBU.js.map +0 -1
package/dist/query.cjs
CHANGED
|
@@ -1283,6 +1283,23 @@ var googleGetAccount = (options) => (options.client ?? client).get({
|
|
|
1283
1283
|
url: "/google/{connection_id}/account",
|
|
1284
1284
|
...options
|
|
1285
1285
|
});
|
|
1286
|
+
var googleEditAccount = (options) => (options.client ?? client).patch({
|
|
1287
|
+
security: [{
|
|
1288
|
+
key: "secretKey",
|
|
1289
|
+
scheme: "bearer",
|
|
1290
|
+
type: "http"
|
|
1291
|
+
}, {
|
|
1292
|
+
key: "frontendToken",
|
|
1293
|
+
scheme: "bearer",
|
|
1294
|
+
type: "http"
|
|
1295
|
+
}],
|
|
1296
|
+
url: "/google/{connection_id}/url-settings",
|
|
1297
|
+
...options,
|
|
1298
|
+
headers: {
|
|
1299
|
+
"Content-Type": "application/json",
|
|
1300
|
+
...options.headers
|
|
1301
|
+
}
|
|
1302
|
+
});
|
|
1286
1303
|
var googleGetInsights = (options) => (options.client ?? client).post({
|
|
1287
1304
|
security: [{
|
|
1288
1305
|
key: "secretKey",
|
|
@@ -2023,7 +2040,7 @@ var googleGetConversionAction = (options) => (options.client ?? client).get({
|
|
|
2023
2040
|
url: "/google/{connection_id}/conversion-actions/{id}",
|
|
2024
2041
|
...options
|
|
2025
2042
|
});
|
|
2026
|
-
var
|
|
2043
|
+
var googleSendConversions = (options) => (options.client ?? client).post({
|
|
2027
2044
|
security: [{
|
|
2028
2045
|
key: "secretKey",
|
|
2029
2046
|
scheme: "bearer",
|
|
@@ -2033,10 +2050,27 @@ var googleListConversionGoals = (options) => (options.client ?? client).get({
|
|
|
2033
2050
|
scheme: "bearer",
|
|
2034
2051
|
type: "http"
|
|
2035
2052
|
}],
|
|
2036
|
-
url: "/google/{connection_id}/
|
|
2053
|
+
url: "/google/{connection_id}/conversions:send",
|
|
2054
|
+
...options,
|
|
2055
|
+
headers: {
|
|
2056
|
+
"Content-Type": "application/json",
|
|
2057
|
+
...options.headers
|
|
2058
|
+
}
|
|
2059
|
+
});
|
|
2060
|
+
var googleGetConversionStatus = (options) => (options.client ?? client).get({
|
|
2061
|
+
security: [{
|
|
2062
|
+
key: "secretKey",
|
|
2063
|
+
scheme: "bearer",
|
|
2064
|
+
type: "http"
|
|
2065
|
+
}, {
|
|
2066
|
+
key: "frontendToken",
|
|
2067
|
+
scheme: "bearer",
|
|
2068
|
+
type: "http"
|
|
2069
|
+
}],
|
|
2070
|
+
url: "/google/{connection_id}/conversions/status",
|
|
2037
2071
|
...options
|
|
2038
2072
|
});
|
|
2039
|
-
var
|
|
2073
|
+
var googleListConversionGoals = (options) => (options.client ?? client).get({
|
|
2040
2074
|
security: [{
|
|
2041
2075
|
key: "secretKey",
|
|
2042
2076
|
scheme: "bearer",
|
|
@@ -2047,13 +2081,9 @@ var googleSetConversionGoal = (options) => (options.client ?? client).post({
|
|
|
2047
2081
|
type: "http"
|
|
2048
2082
|
}],
|
|
2049
2083
|
url: "/google/{connection_id}/conversion-goals",
|
|
2050
|
-
...options
|
|
2051
|
-
headers: {
|
|
2052
|
-
"Content-Type": "application/json",
|
|
2053
|
-
...options.headers
|
|
2054
|
-
}
|
|
2084
|
+
...options
|
|
2055
2085
|
});
|
|
2056
|
-
var
|
|
2086
|
+
var googleSetConversionGoal = (options) => (options.client ?? client).post({
|
|
2057
2087
|
security: [{
|
|
2058
2088
|
key: "secretKey",
|
|
2059
2089
|
scheme: "bearer",
|
|
@@ -2063,7 +2093,7 @@ var googleUploadConversions = (options) => (options.client ?? client).post({
|
|
|
2063
2093
|
scheme: "bearer",
|
|
2064
2094
|
type: "http"
|
|
2065
2095
|
}],
|
|
2066
|
-
url: "/google/{connection_id}/conversion-
|
|
2096
|
+
url: "/google/{connection_id}/conversion-goals",
|
|
2067
2097
|
...options,
|
|
2068
2098
|
headers: {
|
|
2069
2099
|
"Content-Type": "application/json",
|
|
@@ -2807,6 +2837,19 @@ var googleGetAccountOptions = (options) => reactQuery.queryOptions({
|
|
|
2807
2837
|
},
|
|
2808
2838
|
queryKey: googleGetAccountQueryKey(options)
|
|
2809
2839
|
});
|
|
2840
|
+
var googleEditAccountMutation = (options) => {
|
|
2841
|
+
const mutationOptions = {
|
|
2842
|
+
mutationFn: async (fnOptions) => {
|
|
2843
|
+
const { data } = await googleEditAccount({
|
|
2844
|
+
...options,
|
|
2845
|
+
...fnOptions,
|
|
2846
|
+
throwOnError: true
|
|
2847
|
+
});
|
|
2848
|
+
return data;
|
|
2849
|
+
}
|
|
2850
|
+
};
|
|
2851
|
+
return mutationOptions;
|
|
2852
|
+
};
|
|
2810
2853
|
var googleGetInsightsMutation = (options) => {
|
|
2811
2854
|
const mutationOptions = {
|
|
2812
2855
|
mutationFn: async (fnOptions) => {
|
|
@@ -3431,6 +3474,32 @@ var googleGetConversionActionOptions = (options) => reactQuery.queryOptions({
|
|
|
3431
3474
|
},
|
|
3432
3475
|
queryKey: googleGetConversionActionQueryKey(options)
|
|
3433
3476
|
});
|
|
3477
|
+
var googleSendConversionsMutation = (options) => {
|
|
3478
|
+
const mutationOptions = {
|
|
3479
|
+
mutationFn: async (fnOptions) => {
|
|
3480
|
+
const { data } = await googleSendConversions({
|
|
3481
|
+
...options,
|
|
3482
|
+
...fnOptions,
|
|
3483
|
+
throwOnError: true
|
|
3484
|
+
});
|
|
3485
|
+
return data;
|
|
3486
|
+
}
|
|
3487
|
+
};
|
|
3488
|
+
return mutationOptions;
|
|
3489
|
+
};
|
|
3490
|
+
var googleGetConversionStatusQueryKey = (options) => createQueryKey("googleGetConversionStatus", options);
|
|
3491
|
+
var googleGetConversionStatusOptions = (options) => reactQuery.queryOptions({
|
|
3492
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3493
|
+
const { data } = await googleGetConversionStatus({
|
|
3494
|
+
...options,
|
|
3495
|
+
...queryKey[0],
|
|
3496
|
+
signal,
|
|
3497
|
+
throwOnError: true
|
|
3498
|
+
});
|
|
3499
|
+
return data;
|
|
3500
|
+
},
|
|
3501
|
+
queryKey: googleGetConversionStatusQueryKey(options)
|
|
3502
|
+
});
|
|
3434
3503
|
var googleListConversionGoalsQueryKey = (options) => createQueryKey("googleListConversionGoals", options);
|
|
3435
3504
|
var googleListConversionGoalsOptions = (options) => reactQuery.queryOptions({
|
|
3436
3505
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -3457,19 +3526,6 @@ var googleSetConversionGoalMutation = (options) => {
|
|
|
3457
3526
|
};
|
|
3458
3527
|
return mutationOptions;
|
|
3459
3528
|
};
|
|
3460
|
-
var googleUploadConversionsMutation = (options) => {
|
|
3461
|
-
const mutationOptions = {
|
|
3462
|
-
mutationFn: async (fnOptions) => {
|
|
3463
|
-
const { data } = await googleUploadConversions({
|
|
3464
|
-
...options,
|
|
3465
|
-
...fnOptions,
|
|
3466
|
-
throwOnError: true
|
|
3467
|
-
});
|
|
3468
|
-
return data;
|
|
3469
|
-
}
|
|
3470
|
-
};
|
|
3471
|
-
return mutationOptions;
|
|
3472
|
-
};
|
|
3473
3529
|
var googleUploadImageAssetMutation = (options) => {
|
|
3474
3530
|
const mutationOptions = {
|
|
3475
3531
|
mutationFn: async (fnOptions) => {
|
|
@@ -3704,6 +3760,7 @@ exports.googleCreateCampaignMutation = googleCreateCampaignMutation;
|
|
|
3704
3760
|
exports.googleCreateConversionActionMutation = googleCreateConversionActionMutation;
|
|
3705
3761
|
exports.googleCreateDisplayAdMutation = googleCreateDisplayAdMutation;
|
|
3706
3762
|
exports.googleCreateKeywordMutation = googleCreateKeywordMutation;
|
|
3763
|
+
exports.googleEditAccountMutation = googleEditAccountMutation;
|
|
3707
3764
|
exports.googleEditAdGroupMutation = googleEditAdGroupMutation;
|
|
3708
3765
|
exports.googleEditBudgetMutation = googleEditBudgetMutation;
|
|
3709
3766
|
exports.googleEditCampaignMutation = googleEditCampaignMutation;
|
|
@@ -3723,6 +3780,8 @@ exports.googleGetCampaignOptions = googleGetCampaignOptions;
|
|
|
3723
3780
|
exports.googleGetCampaignQueryKey = googleGetCampaignQueryKey;
|
|
3724
3781
|
exports.googleGetConversionActionOptions = googleGetConversionActionOptions;
|
|
3725
3782
|
exports.googleGetConversionActionQueryKey = googleGetConversionActionQueryKey;
|
|
3783
|
+
exports.googleGetConversionStatusOptions = googleGetConversionStatusOptions;
|
|
3784
|
+
exports.googleGetConversionStatusQueryKey = googleGetConversionStatusQueryKey;
|
|
3726
3785
|
exports.googleGetInsightsMutation = googleGetInsightsMutation;
|
|
3727
3786
|
exports.googleGetKeywordOptions = googleGetKeywordOptions;
|
|
3728
3787
|
exports.googleGetKeywordQueryKey = googleGetKeywordQueryKey;
|
|
@@ -3758,12 +3817,12 @@ exports.googleRemoveKeywordMutation = googleRemoveKeywordMutation;
|
|
|
3758
3817
|
exports.googleRunGaqlMutation = googleRunGaqlMutation;
|
|
3759
3818
|
exports.googleSearchGeoTargetsOptions = googleSearchGeoTargetsOptions;
|
|
3760
3819
|
exports.googleSearchGeoTargetsQueryKey = googleSearchGeoTargetsQueryKey;
|
|
3820
|
+
exports.googleSendConversionsMutation = googleSendConversionsMutation;
|
|
3761
3821
|
exports.googleSetAdGroupBidsMutation = googleSetAdGroupBidsMutation;
|
|
3762
3822
|
exports.googleSetCampaignGeoSettingsMutation = googleSetCampaignGeoSettingsMutation;
|
|
3763
3823
|
exports.googleSetCampaignTargetingSettingMutation = googleSetCampaignTargetingSettingMutation;
|
|
3764
3824
|
exports.googleSetConversionGoalMutation = googleSetConversionGoalMutation;
|
|
3765
3825
|
exports.googleSetKeywordBidMutation = googleSetKeywordBidMutation;
|
|
3766
|
-
exports.googleUploadConversionsMutation = googleUploadConversionsMutation;
|
|
3767
3826
|
exports.googleUploadImageAssetMutation = googleUploadImageAssetMutation;
|
|
3768
3827
|
exports.logsGetOptions = logsGetOptions;
|
|
3769
3828
|
exports.logsGetQueryKey = logsGetQueryKey;
|