@postrun/js 1.3.0 → 2.0.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-KPF3GI7Z.js → chunk-EFB6IKZF.js} +12 -10
- package/dist/chunk-EFB6IKZF.js.map +1 -0
- package/dist/{chunk-JBNHOK3M.js → chunk-XXB7GZ3H.js} +3 -3
- package/dist/{chunk-JBNHOK3M.js.map → chunk-XXB7GZ3H.js.map} +1 -1
- package/dist/index.cjs +10 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/schemas/index.cjs +10 -8
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +8 -6
- package/dist/schemas/index.d.ts +8 -6
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +10 -8
- 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-DeuF7WVq.d.cts → types.gen-0ufzFdld.d.cts} +19 -7
- package/dist/{types.gen-DeuF7WVq.d.ts → types.gen-0ufzFdld.d.ts} +19 -7
- package/package.json +1 -1
- package/dist/chunk-KPF3GI7Z.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -811,7 +811,6 @@ var zErrorCode = z__namespace.enum([
|
|
|
811
811
|
"account_not_available",
|
|
812
812
|
"connection_reauth_required",
|
|
813
813
|
"connection_not_pending",
|
|
814
|
-
"connection_in_use",
|
|
815
814
|
"not_implemented",
|
|
816
815
|
"connection_discovery_failed",
|
|
817
816
|
"media_processing",
|
|
@@ -858,6 +857,7 @@ var zErrorCode = z__namespace.enum([
|
|
|
858
857
|
"media_failed",
|
|
859
858
|
"media_unsupported",
|
|
860
859
|
"media_kind_mismatch",
|
|
860
|
+
"variant_unparseable",
|
|
861
861
|
"publishing_unavailable",
|
|
862
862
|
"x_duplicate_content",
|
|
863
863
|
"x_not_authorized",
|
|
@@ -887,7 +887,8 @@ var zErrorCode = z__namespace.enum([
|
|
|
887
887
|
"tiktok_not_authorized",
|
|
888
888
|
"tiktok_rate_limited",
|
|
889
889
|
"tiktok_publish_failed",
|
|
890
|
-
"connection_platform_mismatch"
|
|
890
|
+
"connection_platform_mismatch",
|
|
891
|
+
"connection_removed"
|
|
891
892
|
]);
|
|
892
893
|
z__namespace.object({
|
|
893
894
|
limit: z__namespace.int().gte(1).lte(100).optional().default(20),
|
|
@@ -1929,7 +1930,7 @@ z__namespace.object({
|
|
|
1929
1930
|
variants: z__namespace.array(z__namespace.object({
|
|
1930
1931
|
id: z__namespace.string(),
|
|
1931
1932
|
object: z__namespace.literal("post_variant"),
|
|
1932
|
-
connection_id: z__namespace.string(),
|
|
1933
|
+
connection_id: z__namespace.string().nullable(),
|
|
1933
1934
|
platform: z__namespace.enum([
|
|
1934
1935
|
"x",
|
|
1935
1936
|
"linkedin",
|
|
@@ -2208,7 +2209,7 @@ z__namespace.object({
|
|
|
2208
2209
|
variants: z__namespace.array(z__namespace.object({
|
|
2209
2210
|
id: z__namespace.string(),
|
|
2210
2211
|
object: z__namespace.literal("post_variant"),
|
|
2211
|
-
connection_id: z__namespace.string(),
|
|
2212
|
+
connection_id: z__namespace.string().nullable(),
|
|
2212
2213
|
platform: z__namespace.enum([
|
|
2213
2214
|
"x",
|
|
2214
2215
|
"linkedin",
|
|
@@ -2290,7 +2291,7 @@ z__namespace.object({
|
|
|
2290
2291
|
variants: z__namespace.array(z__namespace.object({
|
|
2291
2292
|
id: z__namespace.string(),
|
|
2292
2293
|
object: z__namespace.literal("post_variant"),
|
|
2293
|
-
connection_id: z__namespace.string(),
|
|
2294
|
+
connection_id: z__namespace.string().nullable(),
|
|
2294
2295
|
platform: z__namespace.enum([
|
|
2295
2296
|
"x",
|
|
2296
2297
|
"linkedin",
|
|
@@ -2566,7 +2567,7 @@ z__namespace.object({
|
|
|
2566
2567
|
variants: z__namespace.array(z__namespace.object({
|
|
2567
2568
|
id: z__namespace.string(),
|
|
2568
2569
|
object: z__namespace.literal("post_variant"),
|
|
2569
|
-
connection_id: z__namespace.string(),
|
|
2570
|
+
connection_id: z__namespace.string().nullable(),
|
|
2570
2571
|
platform: z__namespace.enum([
|
|
2571
2572
|
"x",
|
|
2572
2573
|
"linkedin",
|
|
@@ -2821,7 +2822,6 @@ z__namespace.object({
|
|
|
2821
2822
|
"account_not_available",
|
|
2822
2823
|
"connection_reauth_required",
|
|
2823
2824
|
"connection_not_pending",
|
|
2824
|
-
"connection_in_use",
|
|
2825
2825
|
"not_implemented",
|
|
2826
2826
|
"connection_discovery_failed",
|
|
2827
2827
|
"media_processing",
|
|
@@ -2868,6 +2868,7 @@ z__namespace.object({
|
|
|
2868
2868
|
"media_failed",
|
|
2869
2869
|
"media_unsupported",
|
|
2870
2870
|
"media_kind_mismatch",
|
|
2871
|
+
"variant_unparseable",
|
|
2871
2872
|
"publishing_unavailable",
|
|
2872
2873
|
"x_duplicate_content",
|
|
2873
2874
|
"x_not_authorized",
|
|
@@ -2897,7 +2898,8 @@ z__namespace.object({
|
|
|
2897
2898
|
"tiktok_not_authorized",
|
|
2898
2899
|
"tiktok_rate_limited",
|
|
2899
2900
|
"tiktok_publish_failed",
|
|
2900
|
-
"connection_platform_mismatch"
|
|
2901
|
+
"connection_platform_mismatch",
|
|
2902
|
+
"connection_removed"
|
|
2901
2903
|
]),
|
|
2902
2904
|
message: z__namespace.string(),
|
|
2903
2905
|
hint: z__namespace.string().optional(),
|