@postrun/js 2.20.0 → 2.21.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-ZGJ6TJD5.js → chunk-B3QMJNLV.js} +40 -9
- package/dist/chunk-B3QMJNLV.js.map +1 -0
- package/dist/{chunk-GJSZT5Q4.js → chunk-Z24YOZBU.js} +3 -3
- package/dist/{chunk-GJSZT5Q4.js.map → chunk-Z24YOZBU.js.map} +1 -1
- package/dist/index.cjs +37 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +3 -3
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +34 -7
- package/dist/query.d.ts +34 -7
- package/dist/query.js.map +1 -1
- package/dist/schemas/index.cjs +38 -6
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +104 -10
- package/dist/schemas/index.d.ts +104 -10
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +37 -6
- 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-D7ytdorE.d.cts → types.gen-DebHd_dS.d.cts} +31 -4
- package/dist/{types.gen-D7ytdorE.d.ts → types.gen-DebHd_dS.d.ts} +31 -4
- package/package.json +1 -1
- package/dist/chunk-ZGJ6TJD5.js.map +0 -1
package/dist/schemas/index.cjs
CHANGED
|
@@ -1073,6 +1073,11 @@ var zGoogleAdsAudience = z__namespace.union([
|
|
|
1073
1073
|
])
|
|
1074
1074
|
})
|
|
1075
1075
|
]);
|
|
1076
|
+
var zGoogleAdsReadStatusFilter = z__namespace.array(z__namespace.enum([
|
|
1077
|
+
"ENABLED",
|
|
1078
|
+
"PAUSED",
|
|
1079
|
+
"REMOVED"
|
|
1080
|
+
])).min(1);
|
|
1076
1081
|
var zGoogleAdsCampaignCriterion = z__namespace.union([
|
|
1077
1082
|
z__namespace.object({
|
|
1078
1083
|
type: z__namespace.literal("LOCATION"),
|
|
@@ -1441,8 +1446,20 @@ var zGoogleAdsInsightsRow = z__namespace.object({
|
|
|
1441
1446
|
id: z__namespace.string().min(1),
|
|
1442
1447
|
name: z__namespace.string().nullable(),
|
|
1443
1448
|
parent_id: z__namespace.string().min(1).nullable(),
|
|
1444
|
-
metrics: z__namespace.
|
|
1445
|
-
|
|
1449
|
+
metrics: z__namespace.object({
|
|
1450
|
+
impressions: z__namespace.number().nullish(),
|
|
1451
|
+
clicks: z__namespace.number().nullish(),
|
|
1452
|
+
ctr: z__namespace.number().nullish(),
|
|
1453
|
+
average_cpc: z__namespace.number().nullish(),
|
|
1454
|
+
cost_micros: z__namespace.number().nullish(),
|
|
1455
|
+
conversions: z__namespace.number().nullish(),
|
|
1456
|
+
conversions_value: z__namespace.number().nullish(),
|
|
1457
|
+
cost_per_conversion: z__namespace.number().nullish()
|
|
1458
|
+
}),
|
|
1459
|
+
segments: z__namespace.object({
|
|
1460
|
+
date: z__namespace.string().optional(),
|
|
1461
|
+
device: z__namespace.string().optional()
|
|
1462
|
+
}).optional()
|
|
1446
1463
|
});
|
|
1447
1464
|
var zGoogleAdsInsights = z__namespace.object({
|
|
1448
1465
|
object: z__namespace.literal("list"),
|
|
@@ -1512,7 +1529,17 @@ var zGoogleAdTreeNode = z__namespace.object({
|
|
|
1512
1529
|
"none"
|
|
1513
1530
|
]),
|
|
1514
1531
|
expandable: z__namespace.boolean(),
|
|
1515
|
-
|
|
1532
|
+
budget_micros: z__namespace.number().nullable(),
|
|
1533
|
+
metrics: z__namespace.object({
|
|
1534
|
+
impressions: z__namespace.number().nullish(),
|
|
1535
|
+
clicks: z__namespace.number().nullish(),
|
|
1536
|
+
ctr: z__namespace.number().nullish(),
|
|
1537
|
+
average_cpc: z__namespace.number().nullish(),
|
|
1538
|
+
cost_micros: z__namespace.number().nullish(),
|
|
1539
|
+
conversions: z__namespace.number().nullish(),
|
|
1540
|
+
conversions_value: z__namespace.number().nullish(),
|
|
1541
|
+
cost_per_conversion: z__namespace.number().nullish()
|
|
1542
|
+
}),
|
|
1516
1543
|
cost_micros: z__namespace.number(),
|
|
1517
1544
|
cost: z__namespace.number()
|
|
1518
1545
|
});
|
|
@@ -2424,6 +2451,7 @@ var zGoogleGetAdTreePath = z__namespace.object({
|
|
|
2424
2451
|
});
|
|
2425
2452
|
var zGoogleGetAdTreeQuery = z__namespace.object({
|
|
2426
2453
|
campaign_id: z__namespace.string().regex(/^\d+$/).optional(),
|
|
2454
|
+
status: zGoogleAdsReadStatusFilter.optional(),
|
|
2427
2455
|
metrics: z__namespace.array(zGoogleAdsInsightMetric).min(1).optional().default([
|
|
2428
2456
|
"impressions",
|
|
2429
2457
|
"clicks",
|
|
@@ -2738,7 +2766,8 @@ var zGoogleListAdGroupsPath = z__namespace.object({
|
|
|
2738
2766
|
connection_id: z__namespace.string()
|
|
2739
2767
|
});
|
|
2740
2768
|
var zGoogleListAdGroupsQuery = z__namespace.object({
|
|
2741
|
-
campaign_id: z__namespace.string().regex(/^\d+$/).optional()
|
|
2769
|
+
campaign_id: z__namespace.string().regex(/^\d+$/).optional(),
|
|
2770
|
+
status: zGoogleAdsReadStatusFilter.optional()
|
|
2742
2771
|
});
|
|
2743
2772
|
var zGoogleListAdGroupsResponse = z__namespace.object({
|
|
2744
2773
|
object: z__namespace.literal("list"),
|
|
@@ -2946,7 +2975,8 @@ var zGoogleListAdsPath = z__namespace.object({
|
|
|
2946
2975
|
connection_id: z__namespace.string()
|
|
2947
2976
|
});
|
|
2948
2977
|
var zGoogleListAdsQuery = z__namespace.object({
|
|
2949
|
-
ad_group_id: z__namespace.string().regex(/^\d+$/).optional()
|
|
2978
|
+
ad_group_id: z__namespace.string().regex(/^\d+$/).optional(),
|
|
2979
|
+
status: zGoogleAdsReadStatusFilter.optional()
|
|
2950
2980
|
});
|
|
2951
2981
|
var zGoogleListAdsResponse = z__namespace.object({
|
|
2952
2982
|
object: z__namespace.literal("list"),
|
|
@@ -3068,7 +3098,8 @@ var zGoogleListKeywordsPath = z__namespace.object({
|
|
|
3068
3098
|
connection_id: z__namespace.string()
|
|
3069
3099
|
});
|
|
3070
3100
|
var zGoogleListKeywordsQuery = z__namespace.object({
|
|
3071
|
-
ad_group_id: z__namespace.string().regex(/^\d+$/).optional()
|
|
3101
|
+
ad_group_id: z__namespace.string().regex(/^\d+$/).optional(),
|
|
3102
|
+
status: zGoogleAdsReadStatusFilter.optional()
|
|
3072
3103
|
});
|
|
3073
3104
|
var zGoogleListKeywordsResponse = z__namespace.object({
|
|
3074
3105
|
object: z__namespace.literal("list"),
|
|
@@ -3996,6 +4027,7 @@ exports.zGoogleAdsInsights = zGoogleAdsInsights;
|
|
|
3996
4027
|
exports.zGoogleAdsInsightsQuery = zGoogleAdsInsightsQuery;
|
|
3997
4028
|
exports.zGoogleAdsInsightsRow = zGoogleAdsInsightsRow;
|
|
3998
4029
|
exports.zGoogleAdsKeyword = zGoogleAdsKeyword;
|
|
4030
|
+
exports.zGoogleAdsReadStatusFilter = zGoogleAdsReadStatusFilter;
|
|
3999
4031
|
exports.zGoogleCreateAdBody = zGoogleCreateAdBody;
|
|
4000
4032
|
exports.zGoogleCreateAdGroupBody = zGoogleCreateAdGroupBody;
|
|
4001
4033
|
exports.zGoogleCreateAdGroupCriterionBody = zGoogleCreateAdGroupCriterionBody;
|