@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/index.cjs
CHANGED
|
@@ -1853,6 +1853,11 @@ var zGoogleAdsAudience = z__namespace.union([
|
|
|
1853
1853
|
])
|
|
1854
1854
|
})
|
|
1855
1855
|
]);
|
|
1856
|
+
var zGoogleAdsReadStatusFilter = z__namespace.array(z__namespace.enum([
|
|
1857
|
+
"ENABLED",
|
|
1858
|
+
"PAUSED",
|
|
1859
|
+
"REMOVED"
|
|
1860
|
+
])).min(1);
|
|
1856
1861
|
var zGoogleAdsCampaignCriterion = z__namespace.union([
|
|
1857
1862
|
z__namespace.object({
|
|
1858
1863
|
type: z__namespace.literal("LOCATION"),
|
|
@@ -2221,8 +2226,20 @@ var zGoogleAdsInsightsRow = z__namespace.object({
|
|
|
2221
2226
|
id: z__namespace.string().min(1),
|
|
2222
2227
|
name: z__namespace.string().nullable(),
|
|
2223
2228
|
parent_id: z__namespace.string().min(1).nullable(),
|
|
2224
|
-
metrics: z__namespace.
|
|
2225
|
-
|
|
2229
|
+
metrics: z__namespace.object({
|
|
2230
|
+
impressions: z__namespace.number().nullish(),
|
|
2231
|
+
clicks: z__namespace.number().nullish(),
|
|
2232
|
+
ctr: z__namespace.number().nullish(),
|
|
2233
|
+
average_cpc: z__namespace.number().nullish(),
|
|
2234
|
+
cost_micros: z__namespace.number().nullish(),
|
|
2235
|
+
conversions: z__namespace.number().nullish(),
|
|
2236
|
+
conversions_value: z__namespace.number().nullish(),
|
|
2237
|
+
cost_per_conversion: z__namespace.number().nullish()
|
|
2238
|
+
}),
|
|
2239
|
+
segments: z__namespace.object({
|
|
2240
|
+
date: z__namespace.string().optional(),
|
|
2241
|
+
device: z__namespace.string().optional()
|
|
2242
|
+
}).optional()
|
|
2226
2243
|
});
|
|
2227
2244
|
z__namespace.object({
|
|
2228
2245
|
object: z__namespace.literal("list"),
|
|
@@ -2292,7 +2309,17 @@ var zGoogleAdTreeNode = z__namespace.object({
|
|
|
2292
2309
|
"none"
|
|
2293
2310
|
]),
|
|
2294
2311
|
expandable: z__namespace.boolean(),
|
|
2295
|
-
|
|
2312
|
+
budget_micros: z__namespace.number().nullable(),
|
|
2313
|
+
metrics: z__namespace.object({
|
|
2314
|
+
impressions: z__namespace.number().nullish(),
|
|
2315
|
+
clicks: z__namespace.number().nullish(),
|
|
2316
|
+
ctr: z__namespace.number().nullish(),
|
|
2317
|
+
average_cpc: z__namespace.number().nullish(),
|
|
2318
|
+
cost_micros: z__namespace.number().nullish(),
|
|
2319
|
+
conversions: z__namespace.number().nullish(),
|
|
2320
|
+
conversions_value: z__namespace.number().nullish(),
|
|
2321
|
+
cost_per_conversion: z__namespace.number().nullish()
|
|
2322
|
+
}),
|
|
2296
2323
|
cost_micros: z__namespace.number(),
|
|
2297
2324
|
cost: z__namespace.number()
|
|
2298
2325
|
});
|
|
@@ -3191,6 +3218,7 @@ z__namespace.object({
|
|
|
3191
3218
|
});
|
|
3192
3219
|
z__namespace.object({
|
|
3193
3220
|
campaign_id: z__namespace.string().regex(/^\d+$/).optional(),
|
|
3221
|
+
status: zGoogleAdsReadStatusFilter.optional(),
|
|
3194
3222
|
metrics: z__namespace.array(zGoogleAdsInsightMetric).min(1).optional().default([
|
|
3195
3223
|
"impressions",
|
|
3196
3224
|
"clicks",
|
|
@@ -3495,7 +3523,8 @@ z__namespace.object({
|
|
|
3495
3523
|
connection_id: z__namespace.string()
|
|
3496
3524
|
});
|
|
3497
3525
|
z__namespace.object({
|
|
3498
|
-
campaign_id: z__namespace.string().regex(/^\d+$/).optional()
|
|
3526
|
+
campaign_id: z__namespace.string().regex(/^\d+$/).optional(),
|
|
3527
|
+
status: zGoogleAdsReadStatusFilter.optional()
|
|
3499
3528
|
});
|
|
3500
3529
|
z__namespace.object({
|
|
3501
3530
|
object: z__namespace.literal("list"),
|
|
@@ -3695,7 +3724,8 @@ z__namespace.object({
|
|
|
3695
3724
|
connection_id: z__namespace.string()
|
|
3696
3725
|
});
|
|
3697
3726
|
z__namespace.object({
|
|
3698
|
-
ad_group_id: z__namespace.string().regex(/^\d+$/).optional()
|
|
3727
|
+
ad_group_id: z__namespace.string().regex(/^\d+$/).optional(),
|
|
3728
|
+
status: zGoogleAdsReadStatusFilter.optional()
|
|
3699
3729
|
});
|
|
3700
3730
|
z__namespace.object({
|
|
3701
3731
|
object: z__namespace.literal("list"),
|
|
@@ -3813,7 +3843,8 @@ z__namespace.object({
|
|
|
3813
3843
|
connection_id: z__namespace.string()
|
|
3814
3844
|
});
|
|
3815
3845
|
z__namespace.object({
|
|
3816
|
-
ad_group_id: z__namespace.string().regex(/^\d+$/).optional()
|
|
3846
|
+
ad_group_id: z__namespace.string().regex(/^\d+$/).optional(),
|
|
3847
|
+
status: zGoogleAdsReadStatusFilter.optional()
|
|
3817
3848
|
});
|
|
3818
3849
|
z__namespace.object({
|
|
3819
3850
|
object: z__namespace.literal("list"),
|