@postrun/js 2.24.0 → 2.25.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-4WBAULYQ.js → chunk-VDCNJXGG.js} +17 -4
- package/dist/chunk-VDCNJXGG.js.map +1 -0
- package/dist/{chunk-RBHVSFEN.js → chunk-ZKETM7OS.js} +47 -24
- package/dist/chunk-ZKETM7OS.js.map +1 -0
- package/dist/index.cjs +58 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +3 -3
- package/dist/query.cjs +52 -0
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +1169 -7712
- package/dist/query.d.ts +1169 -7712
- package/dist/query.js +49 -1
- package/dist/query.js.map +1 -1
- package/dist/schemas/index.cjs +49 -21
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +83 -33
- package/dist/schemas/index.d.ts +83 -33
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +44 -21
- 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-CzfWmp33.d.cts → types.gen-DlTNd9za.d.cts} +1081 -7715
- package/dist/{types.gen-CzfWmp33.d.ts → types.gen-DlTNd9za.d.ts} +1081 -7715
- package/package.json +1 -1
- package/dist/chunk-4WBAULYQ.js.map +0 -1
- package/dist/chunk-RBHVSFEN.js.map +0 -1
package/dist/schemas/index.cjs
CHANGED
|
@@ -151,6 +151,22 @@ var zErrorCode = z__namespace.enum([
|
|
|
151
151
|
"connection_platform_mismatch",
|
|
152
152
|
"connection_removed"
|
|
153
153
|
]);
|
|
154
|
+
var zErrorSource = z__namespace.object({
|
|
155
|
+
platform: z__namespace.enum([
|
|
156
|
+
"google",
|
|
157
|
+
"meta",
|
|
158
|
+
"x",
|
|
159
|
+
"linkedin",
|
|
160
|
+
"instagram",
|
|
161
|
+
"facebook",
|
|
162
|
+
"tiktok",
|
|
163
|
+
"youtube"
|
|
164
|
+
]),
|
|
165
|
+
platform_code: z__namespace.string().optional(),
|
|
166
|
+
field: z__namespace.string().optional(),
|
|
167
|
+
value: z__namespace.string().optional(),
|
|
168
|
+
platform_request_id: z__namespace.string().optional()
|
|
169
|
+
});
|
|
154
170
|
var zProfile = z__namespace.object({
|
|
155
171
|
id: z__namespace.string(),
|
|
156
172
|
name: z__namespace.string(),
|
|
@@ -2378,6 +2394,13 @@ var zGoogleAdsConversionStatus = z__namespace.object({
|
|
|
2378
2394
|
warnings: z__namespace.array(zGoogleAdsConversionWarning)
|
|
2379
2395
|
}))
|
|
2380
2396
|
});
|
|
2397
|
+
var zGoogleAdsConversionRequest = z__namespace.object({
|
|
2398
|
+
object: z__namespace.literal("conversion_request"),
|
|
2399
|
+
request_id: z__namespace.string(),
|
|
2400
|
+
conversion_action_id: z__namespace.string().nullable(),
|
|
2401
|
+
event_count: z__namespace.int().gte(-9007199254740991).lte(9007199254740991).nullable(),
|
|
2402
|
+
created_at: z__namespace.string()
|
|
2403
|
+
});
|
|
2381
2404
|
var zIdempotencyKey = z__namespace.string().min(1).max(255);
|
|
2382
2405
|
var zProfilesListQuery = z__namespace.object({
|
|
2383
2406
|
limit: z__namespace.int().gte(1).lte(100).optional().default(20),
|
|
@@ -3032,22 +3055,7 @@ var zPostsValidateResponse = z__namespace.object({
|
|
|
3032
3055
|
hint: z__namespace.string().optional(),
|
|
3033
3056
|
allowed: z__namespace.array(z__namespace.string()).optional(),
|
|
3034
3057
|
got: z__namespace.string().optional(),
|
|
3035
|
-
source:
|
|
3036
|
-
platform: z__namespace.enum([
|
|
3037
|
-
"google",
|
|
3038
|
-
"meta",
|
|
3039
|
-
"x",
|
|
3040
|
-
"linkedin",
|
|
3041
|
-
"instagram",
|
|
3042
|
-
"facebook",
|
|
3043
|
-
"tiktok",
|
|
3044
|
-
"youtube"
|
|
3045
|
-
]),
|
|
3046
|
-
platform_code: z__namespace.string().optional(),
|
|
3047
|
-
field: z__namespace.string().optional(),
|
|
3048
|
-
value: z__namespace.string().optional(),
|
|
3049
|
-
platform_request_id: z__namespace.string().optional()
|
|
3050
|
-
}).optional(),
|
|
3058
|
+
source: zErrorSource.optional(),
|
|
3051
3059
|
variant_index: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
3052
3060
|
path: z__namespace.array(z__namespace.union([z__namespace.string(), z__namespace.number()])),
|
|
3053
3061
|
platform: zPostPlatform.optional(),
|
|
@@ -3425,7 +3433,7 @@ var zGoogleListCampaignsResponse = z__namespace.object({
|
|
|
3425
3433
|
var zGoogleCreateCampaignBody = z__namespace.object({
|
|
3426
3434
|
name: z__namespace.string().min(1).max(255),
|
|
3427
3435
|
channel: z__namespace.enum(["SEARCH", "DISPLAY"]),
|
|
3428
|
-
campaign_budget: z__namespace.string().
|
|
3436
|
+
campaign_budget: z__namespace.string().regex(/^\d+$/),
|
|
3429
3437
|
bidding: z__namespace.enum([
|
|
3430
3438
|
"manual_cpc",
|
|
3431
3439
|
"maximize_conversions",
|
|
@@ -3636,7 +3644,7 @@ var zGoogleListAdGroupsResponse = z__namespace.object({
|
|
|
3636
3644
|
});
|
|
3637
3645
|
var zGoogleCreateAdGroupBody = z__namespace.object({
|
|
3638
3646
|
name: z__namespace.string().min(1).max(255),
|
|
3639
|
-
campaign: z__namespace.string().
|
|
3647
|
+
campaign: z__namespace.string().regex(/^\d+$/),
|
|
3640
3648
|
type: z__namespace.enum(["SEARCH_STANDARD", "DISPLAY_STANDARD"]),
|
|
3641
3649
|
status: z__namespace.enum(["ENABLED", "PAUSED"]).optional().default("ENABLED"),
|
|
3642
3650
|
dry_run: z__namespace.boolean().optional().default(false)
|
|
@@ -3844,7 +3852,7 @@ var zGoogleListAdsResponse = z__namespace.object({
|
|
|
3844
3852
|
data: z__namespace.array(zGoogleAdsAd)
|
|
3845
3853
|
});
|
|
3846
3854
|
var zGoogleCreateAdBody = z__namespace.object({
|
|
3847
|
-
ad_group: z__namespace.string().
|
|
3855
|
+
ad_group: z__namespace.string().regex(/^\d+$/),
|
|
3848
3856
|
final_urls: z__namespace.array(z__namespace.url()).min(1),
|
|
3849
3857
|
headlines: z__namespace.array(z__namespace.object({
|
|
3850
3858
|
text: z__namespace.string().min(1).max(30),
|
|
@@ -3875,7 +3883,7 @@ var zGoogleGetAdPath = z__namespace.object({
|
|
|
3875
3883
|
});
|
|
3876
3884
|
var zGoogleGetAdResponse = zGoogleAdsAd;
|
|
3877
3885
|
var zGoogleCreateDisplayAdBody = z__namespace.object({
|
|
3878
|
-
ad_group: z__namespace.string().
|
|
3886
|
+
ad_group: z__namespace.string().regex(/^\d+$/),
|
|
3879
3887
|
final_urls: z__namespace.array(z__namespace.url()).min(1),
|
|
3880
3888
|
marketing_images: z__namespace.array(z__namespace.object({
|
|
3881
3889
|
asset: z__namespace.string().min(1)
|
|
@@ -3967,7 +3975,7 @@ var zGoogleListKeywordsResponse = z__namespace.object({
|
|
|
3967
3975
|
data: z__namespace.array(zGoogleAdsKeyword)
|
|
3968
3976
|
});
|
|
3969
3977
|
var zGoogleCreateKeywordBody = z__namespace.object({
|
|
3970
|
-
ad_group: z__namespace.string().
|
|
3978
|
+
ad_group: z__namespace.string().regex(/^\d+$/),
|
|
3971
3979
|
text: z__namespace.string().min(1).max(80),
|
|
3972
3980
|
match_type: z__namespace.enum([
|
|
3973
3981
|
"EXACT",
|
|
@@ -4380,6 +4388,21 @@ var zGoogleGetConversionStatusQuery = z__namespace.object({
|
|
|
4380
4388
|
request_id: z__namespace.string().min(1)
|
|
4381
4389
|
});
|
|
4382
4390
|
var zGoogleGetConversionStatusResponse = zGoogleAdsConversionStatus;
|
|
4391
|
+
var zGoogleListConversionRequestsPath = z__namespace.object({
|
|
4392
|
+
connection_id: z__namespace.string()
|
|
4393
|
+
});
|
|
4394
|
+
var zGoogleListConversionRequestsQuery = z__namespace.object({
|
|
4395
|
+
limit: z__namespace.int().gte(1).lte(100).optional().default(20),
|
|
4396
|
+
offset: z__namespace.int().gte(0).lte(9007199254740991).optional().default(0)
|
|
4397
|
+
});
|
|
4398
|
+
var zGoogleListConversionRequestsResponse = z__namespace.object({
|
|
4399
|
+
object: z__namespace.literal("list"),
|
|
4400
|
+
data: z__namespace.array(zGoogleAdsConversionRequest),
|
|
4401
|
+
total: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
4402
|
+
limit: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
4403
|
+
offset: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
4404
|
+
has_more: z__namespace.boolean()
|
|
4405
|
+
});
|
|
4383
4406
|
var zGoogleListConversionGoalsPath = z__namespace.object({
|
|
4384
4407
|
connection_id: z__namespace.string()
|
|
4385
4408
|
});
|
|
@@ -5386,6 +5409,7 @@ exports.zConnectionsSelectResponse = zConnectionsSelectResponse;
|
|
|
5386
5409
|
exports.zCreatePostBody = zCreatePostBody;
|
|
5387
5410
|
exports.zDiscoverableAccount = zDiscoverableAccount;
|
|
5388
5411
|
exports.zErrorCode = zErrorCode;
|
|
5412
|
+
exports.zErrorSource = zErrorSource;
|
|
5389
5413
|
exports.zGoogleAdTree = zGoogleAdTree;
|
|
5390
5414
|
exports.zGoogleAdTreeNode = zGoogleAdTreeNode;
|
|
5391
5415
|
exports.zGoogleAdsAd = zGoogleAdsAd;
|
|
@@ -5395,6 +5419,7 @@ exports.zGoogleAdsAudience = zGoogleAdsAudience;
|
|
|
5395
5419
|
exports.zGoogleAdsCampaignCriterion = zGoogleAdsCampaignCriterion;
|
|
5396
5420
|
exports.zGoogleAdsConversionConsent = zGoogleAdsConversionConsent;
|
|
5397
5421
|
exports.zGoogleAdsConversionEvent = zGoogleAdsConversionEvent;
|
|
5422
|
+
exports.zGoogleAdsConversionRequest = zGoogleAdsConversionRequest;
|
|
5398
5423
|
exports.zGoogleAdsConversionStatus = zGoogleAdsConversionStatus;
|
|
5399
5424
|
exports.zGoogleAdsConversionStatusReason = zGoogleAdsConversionStatusReason;
|
|
5400
5425
|
exports.zGoogleAdsConversionUserIdentifier = zGoogleAdsConversionUserIdentifier;
|
|
@@ -5524,6 +5549,9 @@ exports.zGoogleListConversionActionsPath = zGoogleListConversionActionsPath;
|
|
|
5524
5549
|
exports.zGoogleListConversionActionsResponse = zGoogleListConversionActionsResponse;
|
|
5525
5550
|
exports.zGoogleListConversionGoalsPath = zGoogleListConversionGoalsPath;
|
|
5526
5551
|
exports.zGoogleListConversionGoalsResponse = zGoogleListConversionGoalsResponse;
|
|
5552
|
+
exports.zGoogleListConversionRequestsPath = zGoogleListConversionRequestsPath;
|
|
5553
|
+
exports.zGoogleListConversionRequestsQuery = zGoogleListConversionRequestsQuery;
|
|
5554
|
+
exports.zGoogleListConversionRequestsResponse = zGoogleListConversionRequestsResponse;
|
|
5527
5555
|
exports.zGoogleListKeywordsPath = zGoogleListKeywordsPath;
|
|
5528
5556
|
exports.zGoogleListKeywordsQuery = zGoogleListKeywordsQuery;
|
|
5529
5557
|
exports.zGoogleListKeywordsResponse = zGoogleListKeywordsResponse;
|