@postrun/js 2.1.0 → 2.2.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-FGI7GS4Z.js → chunk-GOQVIAPL.js} +105 -3
- package/dist/chunk-GOQVIAPL.js.map +1 -0
- package/dist/{chunk-PIGL6PUC.js → chunk-YVCFLH5K.js} +17 -4
- package/dist/chunk-YVCFLH5K.js.map +1 -0
- package/dist/index.cjs +131 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +39 -3
- package/dist/index.d.ts +39 -3
- package/dist/index.js +17 -3
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.cjs +104 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +106 -1
- package/dist/schemas/index.d.ts +106 -1
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +102 -0
- 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-BJumr-Nk.d.cts → types.gen-CzxuwPxe.d.cts} +333 -5
- package/dist/{types.gen-BJumr-Nk.d.ts → types.gen-CzxuwPxe.d.ts} +333 -5
- package/package.json +1 -1
- package/dist/chunk-FGI7GS4Z.js.map +0 -1
- package/dist/chunk-PIGL6PUC.js.map +0 -1
package/dist/schemas/index.cjs
CHANGED
|
@@ -39,6 +39,7 @@ var zErrorCode = z__namespace.enum([
|
|
|
39
39
|
"connection_not_pending",
|
|
40
40
|
"not_implemented",
|
|
41
41
|
"connection_discovery_failed",
|
|
42
|
+
"tiktok_creator_info_unavailable",
|
|
42
43
|
"media_processing",
|
|
43
44
|
"not_publishable",
|
|
44
45
|
"invalid_connection",
|
|
@@ -94,7 +95,9 @@ var zErrorCode = z__namespace.enum([
|
|
|
94
95
|
"linkedin_duplicate_content",
|
|
95
96
|
"linkedin_auth_expired",
|
|
96
97
|
"linkedin_permission_denied",
|
|
98
|
+
"linkedin_rate_limited",
|
|
97
99
|
"linkedin_media_processing",
|
|
100
|
+
"linkedin_media_failed",
|
|
98
101
|
"linkedin_media_upload_failed",
|
|
99
102
|
"linkedin_publish_failed",
|
|
100
103
|
"instagram_media_processing",
|
|
@@ -114,6 +117,8 @@ var zErrorCode = z__namespace.enum([
|
|
|
114
117
|
"tiktok_not_authorized",
|
|
115
118
|
"tiktok_rate_limited",
|
|
116
119
|
"tiktok_publish_failed",
|
|
120
|
+
"post_publish_failed",
|
|
121
|
+
"post_partially_published",
|
|
117
122
|
"connection_platform_mismatch",
|
|
118
123
|
"connection_removed"
|
|
119
124
|
]);
|
|
@@ -2051,6 +2056,7 @@ var zPostsValidateResponse = z__namespace.object({
|
|
|
2051
2056
|
"connection_not_pending",
|
|
2052
2057
|
"not_implemented",
|
|
2053
2058
|
"connection_discovery_failed",
|
|
2059
|
+
"tiktok_creator_info_unavailable",
|
|
2054
2060
|
"media_processing",
|
|
2055
2061
|
"not_publishable",
|
|
2056
2062
|
"invalid_connection",
|
|
@@ -2106,7 +2112,9 @@ var zPostsValidateResponse = z__namespace.object({
|
|
|
2106
2112
|
"linkedin_duplicate_content",
|
|
2107
2113
|
"linkedin_auth_expired",
|
|
2108
2114
|
"linkedin_permission_denied",
|
|
2115
|
+
"linkedin_rate_limited",
|
|
2109
2116
|
"linkedin_media_processing",
|
|
2117
|
+
"linkedin_media_failed",
|
|
2110
2118
|
"linkedin_media_upload_failed",
|
|
2111
2119
|
"linkedin_publish_failed",
|
|
2112
2120
|
"instagram_media_processing",
|
|
@@ -2126,6 +2134,8 @@ var zPostsValidateResponse = z__namespace.object({
|
|
|
2126
2134
|
"tiktok_not_authorized",
|
|
2127
2135
|
"tiktok_rate_limited",
|
|
2128
2136
|
"tiktok_publish_failed",
|
|
2137
|
+
"post_publish_failed",
|
|
2138
|
+
"post_partially_published",
|
|
2129
2139
|
"connection_platform_mismatch",
|
|
2130
2140
|
"connection_removed"
|
|
2131
2141
|
]),
|
|
@@ -3596,6 +3606,28 @@ var zGoogleUploadImageAssetResponse = z__namespace.object({
|
|
|
3596
3606
|
dry_run: z__namespace.boolean(),
|
|
3597
3607
|
executed: z__namespace.boolean()
|
|
3598
3608
|
});
|
|
3609
|
+
var zTiktokCreatorInfoPath = z__namespace.object({
|
|
3610
|
+
id: z__namespace.string()
|
|
3611
|
+
});
|
|
3612
|
+
var zTiktokCreatorInfoResponse = z__namespace.object({
|
|
3613
|
+
creator: z__namespace.object({
|
|
3614
|
+
nickname: z__namespace.string(),
|
|
3615
|
+
username: z__namespace.string(),
|
|
3616
|
+
avatar_url: z__namespace.string().nullable()
|
|
3617
|
+
}),
|
|
3618
|
+
privacy_options: z__namespace.array(z__namespace.enum([
|
|
3619
|
+
"PUBLIC_TO_EVERYONE",
|
|
3620
|
+
"MUTUAL_FOLLOW_FRIENDS",
|
|
3621
|
+
"FOLLOWER_OF_CREATOR",
|
|
3622
|
+
"SELF_ONLY"
|
|
3623
|
+
])),
|
|
3624
|
+
interaction: z__namespace.object({
|
|
3625
|
+
comment: z__namespace.boolean(),
|
|
3626
|
+
duet: z__namespace.boolean(),
|
|
3627
|
+
stitch: z__namespace.boolean()
|
|
3628
|
+
}),
|
|
3629
|
+
max_video_duration_sec: z__namespace.int().gte(-9007199254740991).lte(9007199254740991)
|
|
3630
|
+
});
|
|
3599
3631
|
var zLogsListQuery = z__namespace.object({
|
|
3600
3632
|
limit: z__namespace.int().gte(1).lte(100).optional().default(20),
|
|
3601
3633
|
offset: z__namespace.int().gte(0).lte(9007199254740991).optional().default(0),
|
|
@@ -3658,6 +3690,41 @@ var zLogsListResponse = z__namespace.object({
|
|
|
3658
3690
|
request_body: z__namespace.unknown().nullish(),
|
|
3659
3691
|
response_body: z__namespace.unknown().nullish(),
|
|
3660
3692
|
error: z__namespace.unknown().nullish(),
|
|
3693
|
+
outcome: z__namespace.object({
|
|
3694
|
+
status: z__namespace.enum([
|
|
3695
|
+
"draft",
|
|
3696
|
+
"scheduled",
|
|
3697
|
+
"publishing",
|
|
3698
|
+
"partially_published",
|
|
3699
|
+
"published",
|
|
3700
|
+
"failed"
|
|
3701
|
+
]),
|
|
3702
|
+
targets: z__namespace.array(z__namespace.object({
|
|
3703
|
+
variant_id: z__namespace.string(),
|
|
3704
|
+
connection_id: z__namespace.string().nullable(),
|
|
3705
|
+
platform: z__namespace.enum([
|
|
3706
|
+
"x",
|
|
3707
|
+
"linkedin",
|
|
3708
|
+
"facebook_page",
|
|
3709
|
+
"instagram",
|
|
3710
|
+
"tiktok"
|
|
3711
|
+
]),
|
|
3712
|
+
status: z__namespace.enum([
|
|
3713
|
+
"draft",
|
|
3714
|
+
"scheduled",
|
|
3715
|
+
"publishing",
|
|
3716
|
+
"published",
|
|
3717
|
+
"failed"
|
|
3718
|
+
]),
|
|
3719
|
+
platform_post_id: z__namespace.string().nullable(),
|
|
3720
|
+
permalink: z__namespace.string().nullable(),
|
|
3721
|
+
published_at: z__namespace.string().nullable(),
|
|
3722
|
+
error: z__namespace.object({
|
|
3723
|
+
code: z__namespace.string(),
|
|
3724
|
+
message: z__namespace.string()
|
|
3725
|
+
}).nullable()
|
|
3726
|
+
}))
|
|
3727
|
+
}).nullable(),
|
|
3661
3728
|
external_id: z__namespace.string().nullable(),
|
|
3662
3729
|
idempotency_key: z__namespace.string().nullable(),
|
|
3663
3730
|
request_id: z__namespace.string().nullable(),
|
|
@@ -3706,6 +3773,41 @@ var zLogsGetResponse = z__namespace.object({
|
|
|
3706
3773
|
request_body: z__namespace.unknown().nullish(),
|
|
3707
3774
|
response_body: z__namespace.unknown().nullish(),
|
|
3708
3775
|
error: z__namespace.unknown().nullish(),
|
|
3776
|
+
outcome: z__namespace.object({
|
|
3777
|
+
status: z__namespace.enum([
|
|
3778
|
+
"draft",
|
|
3779
|
+
"scheduled",
|
|
3780
|
+
"publishing",
|
|
3781
|
+
"partially_published",
|
|
3782
|
+
"published",
|
|
3783
|
+
"failed"
|
|
3784
|
+
]),
|
|
3785
|
+
targets: z__namespace.array(z__namespace.object({
|
|
3786
|
+
variant_id: z__namespace.string(),
|
|
3787
|
+
connection_id: z__namespace.string().nullable(),
|
|
3788
|
+
platform: z__namespace.enum([
|
|
3789
|
+
"x",
|
|
3790
|
+
"linkedin",
|
|
3791
|
+
"facebook_page",
|
|
3792
|
+
"instagram",
|
|
3793
|
+
"tiktok"
|
|
3794
|
+
]),
|
|
3795
|
+
status: z__namespace.enum([
|
|
3796
|
+
"draft",
|
|
3797
|
+
"scheduled",
|
|
3798
|
+
"publishing",
|
|
3799
|
+
"published",
|
|
3800
|
+
"failed"
|
|
3801
|
+
]),
|
|
3802
|
+
platform_post_id: z__namespace.string().nullable(),
|
|
3803
|
+
permalink: z__namespace.string().nullable(),
|
|
3804
|
+
published_at: z__namespace.string().nullable(),
|
|
3805
|
+
error: z__namespace.object({
|
|
3806
|
+
code: z__namespace.string(),
|
|
3807
|
+
message: z__namespace.string()
|
|
3808
|
+
}).nullable()
|
|
3809
|
+
}))
|
|
3810
|
+
}).nullable(),
|
|
3709
3811
|
external_id: z__namespace.string().nullable(),
|
|
3710
3812
|
idempotency_key: z__namespace.string().nullable(),
|
|
3711
3813
|
request_id: z__namespace.string().nullable(),
|
|
@@ -4031,6 +4133,8 @@ exports.zProfilesListResponse = zProfilesListResponse;
|
|
|
4031
4133
|
exports.zProfilesUpdateBody = zProfilesUpdateBody;
|
|
4032
4134
|
exports.zProfilesUpdatePath = zProfilesUpdatePath;
|
|
4033
4135
|
exports.zProfilesUpdateResponse = zProfilesUpdateResponse;
|
|
4136
|
+
exports.zTiktokCreatorInfoPath = zTiktokCreatorInfoPath;
|
|
4137
|
+
exports.zTiktokCreatorInfoResponse = zTiktokCreatorInfoResponse;
|
|
4034
4138
|
exports.zTokensMintBody = zTokensMintBody;
|
|
4035
4139
|
exports.zTokensMintResponse = zTokensMintResponse;
|
|
4036
4140
|
exports.zWebhooksCreateEndpointBody = zWebhooksCreateEndpointBody;
|