@postrun/js 2.16.0 → 2.17.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-DJXWVAER.js → chunk-LMZC6OUA.js} +64 -4
- package/dist/chunk-LMZC6OUA.js.map +1 -0
- package/dist/{chunk-WKKPLEFG.js → chunk-LSW34R3K.js} +53 -6
- package/dist/chunk-LSW34R3K.js.map +1 -0
- package/dist/index.cjs +215 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +75 -25
- package/dist/index.d.ts +75 -25
- package/dist/index.js +104 -53
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.cjs +60 -3
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +379 -4
- package/dist/schemas/index.d.ts +379 -4
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +48 -3
- 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-BfOYHbVm.d.cts → types.gen-B0Bb9XYb.d.cts} +967 -8
- package/dist/{types.gen-BfOYHbVm.d.ts → types.gen-B0Bb9XYb.d.ts} +967 -8
- package/package.json +3 -3
- package/dist/chunk-DJXWVAER.js.map +0 -1
- package/dist/chunk-WKKPLEFG.js.map +0 -1
package/dist/schemas/index.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ declare const zErrorCode: z.ZodEnum<{
|
|
|
23
23
|
connection_discovery_failed: "connection_discovery_failed";
|
|
24
24
|
tiktok_creator_info_unavailable: "tiktok_creator_info_unavailable";
|
|
25
25
|
media_processing: "media_processing";
|
|
26
|
+
media_upload_init_failed: "media_upload_init_failed";
|
|
27
|
+
media_upload_incomplete: "media_upload_incomplete";
|
|
26
28
|
not_publishable: "not_publishable";
|
|
27
29
|
invalid_connection: "invalid_connection";
|
|
28
30
|
invalid_media: "invalid_media";
|
|
@@ -87,11 +89,16 @@ declare const zErrorCode: z.ZodEnum<{
|
|
|
87
89
|
instagram_container_expired: "instagram_container_expired";
|
|
88
90
|
instagram_container_failed: "instagram_container_failed";
|
|
89
91
|
instagram_rate_limited: "instagram_rate_limited";
|
|
92
|
+
instagram_daily_limit_reached: "instagram_daily_limit_reached";
|
|
93
|
+
instagram_aspect_ratio_unsupported: "instagram_aspect_ratio_unsupported";
|
|
94
|
+
instagram_media_unsupported: "instagram_media_unsupported";
|
|
90
95
|
instagram_not_authorized: "instagram_not_authorized";
|
|
91
96
|
instagram_publish_failed: "instagram_publish_failed";
|
|
92
97
|
facebook_reel_processing: "facebook_reel_processing";
|
|
93
98
|
facebook_reel_failed: "facebook_reel_failed";
|
|
94
99
|
facebook_rate_limited: "facebook_rate_limited";
|
|
100
|
+
facebook_duplicate_content: "facebook_duplicate_content";
|
|
101
|
+
facebook_temporarily_blocked: "facebook_temporarily_blocked";
|
|
95
102
|
facebook_not_authorized: "facebook_not_authorized";
|
|
96
103
|
facebook_publish_failed: "facebook_publish_failed";
|
|
97
104
|
tiktok_privacy_not_allowed: "tiktok_privacy_not_allowed";
|
|
@@ -3667,9 +3674,9 @@ declare const zMediaCreateResponse: z.ZodObject<{
|
|
|
3667
3674
|
created_at: z.ZodString;
|
|
3668
3675
|
updated_at: z.ZodString;
|
|
3669
3676
|
upload: z.ZodNullable<z.ZodObject<{
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3677
|
+
upload_id: z.ZodString;
|
|
3678
|
+
key: z.ZodString;
|
|
3679
|
+
part_size: z.ZodInt;
|
|
3673
3680
|
expires_at: z.ZodString;
|
|
3674
3681
|
}, z.core.$strip>>;
|
|
3675
3682
|
}, z.core.$strip>;
|
|
@@ -4027,6 +4034,367 @@ declare const zMediaUpdateResponse: z.ZodObject<{
|
|
|
4027
4034
|
created_at: z.ZodString;
|
|
4028
4035
|
updated_at: z.ZodString;
|
|
4029
4036
|
}, z.core.$strip>;
|
|
4037
|
+
declare const zMediaSignPartBody: z.ZodObject<{
|
|
4038
|
+
part_number: z.ZodInt;
|
|
4039
|
+
}, z.core.$strip>;
|
|
4040
|
+
declare const zMediaSignPartPath: z.ZodObject<{
|
|
4041
|
+
id: z.ZodString;
|
|
4042
|
+
}, z.core.$strip>;
|
|
4043
|
+
/**
|
|
4044
|
+
* A presigned URL for one multipart part.
|
|
4045
|
+
*/
|
|
4046
|
+
declare const zMediaSignPartResponse: z.ZodObject<{
|
|
4047
|
+
url: z.ZodURL;
|
|
4048
|
+
}, z.core.$strip>;
|
|
4049
|
+
declare const zMediaListPartsPath: z.ZodObject<{
|
|
4050
|
+
id: z.ZodString;
|
|
4051
|
+
}, z.core.$strip>;
|
|
4052
|
+
/**
|
|
4053
|
+
* The parts R2 already holds for this upload (ascending). Skip re-uploading these to resume after a dropped connection.
|
|
4054
|
+
*/
|
|
4055
|
+
declare const zMediaListPartsResponse: z.ZodObject<{
|
|
4056
|
+
parts: z.ZodArray<z.ZodObject<{
|
|
4057
|
+
part_number: z.ZodInt;
|
|
4058
|
+
etag: z.ZodString;
|
|
4059
|
+
size: z.ZodInt;
|
|
4060
|
+
}, z.core.$strip>>;
|
|
4061
|
+
}, z.core.$strip>;
|
|
4062
|
+
declare const zMediaCompleteBody: z.ZodObject<{
|
|
4063
|
+
parts: z.ZodArray<z.ZodObject<{
|
|
4064
|
+
part_number: z.ZodInt;
|
|
4065
|
+
etag: z.ZodString;
|
|
4066
|
+
}, z.core.$strip>>;
|
|
4067
|
+
}, z.core.$strip>;
|
|
4068
|
+
declare const zMediaCompletePath: z.ZodObject<{
|
|
4069
|
+
id: z.ZodString;
|
|
4070
|
+
}, z.core.$strip>;
|
|
4071
|
+
/**
|
|
4072
|
+
* OK
|
|
4073
|
+
*/
|
|
4074
|
+
declare const zMediaCompleteResponse: z.ZodObject<{
|
|
4075
|
+
id: z.ZodString;
|
|
4076
|
+
object: z.ZodLiteral<"media">;
|
|
4077
|
+
profile_id: z.ZodString;
|
|
4078
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
4079
|
+
image: "image";
|
|
4080
|
+
video: "video";
|
|
4081
|
+
gif: "gif";
|
|
4082
|
+
document: "document";
|
|
4083
|
+
}>>;
|
|
4084
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
4085
|
+
status: z.ZodEnum<{
|
|
4086
|
+
uploading: "uploading";
|
|
4087
|
+
processing: "processing";
|
|
4088
|
+
ready: "ready";
|
|
4089
|
+
failed: "failed";
|
|
4090
|
+
}>;
|
|
4091
|
+
progress: z.ZodObject<{
|
|
4092
|
+
stage: z.ZodEnum<{
|
|
4093
|
+
done: "done";
|
|
4094
|
+
queued: "queued";
|
|
4095
|
+
analyzing: "analyzing";
|
|
4096
|
+
transcoding: "transcoding";
|
|
4097
|
+
}>;
|
|
4098
|
+
percent: z.ZodInt;
|
|
4099
|
+
}, z.core.$strip>;
|
|
4100
|
+
raw: z.ZodBoolean;
|
|
4101
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
4102
|
+
code: z.ZodEnum<{
|
|
4103
|
+
media_unprobeable: "media_unprobeable";
|
|
4104
|
+
media_too_large: "media_too_large";
|
|
4105
|
+
media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
|
|
4106
|
+
media_resolution_too_low: "media_resolution_too_low";
|
|
4107
|
+
media_gif_unsupported: "media_gif_unsupported";
|
|
4108
|
+
media_format_recompressed: "media_format_recompressed";
|
|
4109
|
+
media_resolution_downscaled: "media_resolution_downscaled";
|
|
4110
|
+
video_container_unsupported: "video_container_unsupported";
|
|
4111
|
+
video_codec_unsupported: "video_codec_unsupported";
|
|
4112
|
+
video_audio_codec_unsupported: "video_audio_codec_unsupported";
|
|
4113
|
+
video_too_large: "video_too_large";
|
|
4114
|
+
video_too_small: "video_too_small";
|
|
4115
|
+
video_dimensions_unsupported: "video_dimensions_unsupported";
|
|
4116
|
+
video_dimensions_too_large: "video_dimensions_too_large";
|
|
4117
|
+
video_fps_unsupported: "video_fps_unsupported";
|
|
4118
|
+
video_fps_too_low: "video_fps_too_low";
|
|
4119
|
+
video_aspect_unsupported: "video_aspect_unsupported";
|
|
4120
|
+
video_duration_too_short: "video_duration_too_short";
|
|
4121
|
+
video_duration_exceeds_max: "video_duration_exceeds_max";
|
|
4122
|
+
video_transform_failed: "video_transform_failed";
|
|
4123
|
+
media_fetch_failed: "media_fetch_failed";
|
|
4124
|
+
document_format_unsupported: "document_format_unsupported";
|
|
4125
|
+
document_too_large: "document_too_large";
|
|
4126
|
+
document_too_many_pages: "document_too_many_pages";
|
|
4127
|
+
media_format_indeterminate: "media_format_indeterminate";
|
|
4128
|
+
media_format_unsupported: "media_format_unsupported";
|
|
4129
|
+
media_unsupported: "media_unsupported";
|
|
4130
|
+
}>;
|
|
4131
|
+
message: z.ZodString;
|
|
4132
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
4133
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4134
|
+
got: z.ZodOptional<z.ZodString>;
|
|
4135
|
+
display_error: z.ZodString;
|
|
4136
|
+
}, z.core.$strip>>;
|
|
4137
|
+
source: z.ZodNullable<z.ZodObject<{
|
|
4138
|
+
format: z.ZodString;
|
|
4139
|
+
bytes: z.ZodInt;
|
|
4140
|
+
width: z.ZodNullable<z.ZodInt>;
|
|
4141
|
+
height: z.ZodNullable<z.ZodInt>;
|
|
4142
|
+
duration_ms: z.ZodNullable<z.ZodInt>;
|
|
4143
|
+
}, z.core.$strip>>;
|
|
4144
|
+
alt_text: z.ZodNullable<z.ZodString>;
|
|
4145
|
+
per_platform: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4146
|
+
status: z.ZodEnum<{
|
|
4147
|
+
processing: "processing";
|
|
4148
|
+
ready: "ready";
|
|
4149
|
+
failed: "failed";
|
|
4150
|
+
}>;
|
|
4151
|
+
url: z.ZodNullable<z.ZodString>;
|
|
4152
|
+
width: z.ZodNullable<z.ZodInt>;
|
|
4153
|
+
height: z.ZodNullable<z.ZodInt>;
|
|
4154
|
+
bytes: z.ZodNullable<z.ZodInt>;
|
|
4155
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
4156
|
+
code: z.ZodEnum<{
|
|
4157
|
+
media_unprobeable: "media_unprobeable";
|
|
4158
|
+
media_too_large: "media_too_large";
|
|
4159
|
+
media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
|
|
4160
|
+
media_resolution_too_low: "media_resolution_too_low";
|
|
4161
|
+
media_gif_unsupported: "media_gif_unsupported";
|
|
4162
|
+
media_format_recompressed: "media_format_recompressed";
|
|
4163
|
+
media_resolution_downscaled: "media_resolution_downscaled";
|
|
4164
|
+
video_container_unsupported: "video_container_unsupported";
|
|
4165
|
+
video_codec_unsupported: "video_codec_unsupported";
|
|
4166
|
+
video_audio_codec_unsupported: "video_audio_codec_unsupported";
|
|
4167
|
+
video_too_large: "video_too_large";
|
|
4168
|
+
video_too_small: "video_too_small";
|
|
4169
|
+
video_dimensions_unsupported: "video_dimensions_unsupported";
|
|
4170
|
+
video_dimensions_too_large: "video_dimensions_too_large";
|
|
4171
|
+
video_fps_unsupported: "video_fps_unsupported";
|
|
4172
|
+
video_fps_too_low: "video_fps_too_low";
|
|
4173
|
+
video_aspect_unsupported: "video_aspect_unsupported";
|
|
4174
|
+
video_duration_too_short: "video_duration_too_short";
|
|
4175
|
+
video_duration_exceeds_max: "video_duration_exceeds_max";
|
|
4176
|
+
video_transform_failed: "video_transform_failed";
|
|
4177
|
+
media_fetch_failed: "media_fetch_failed";
|
|
4178
|
+
document_format_unsupported: "document_format_unsupported";
|
|
4179
|
+
document_too_large: "document_too_large";
|
|
4180
|
+
document_too_many_pages: "document_too_many_pages";
|
|
4181
|
+
media_format_indeterminate: "media_format_indeterminate";
|
|
4182
|
+
media_format_unsupported: "media_format_unsupported";
|
|
4183
|
+
media_unsupported: "media_unsupported";
|
|
4184
|
+
}>;
|
|
4185
|
+
message: z.ZodString;
|
|
4186
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
4187
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4188
|
+
got: z.ZodOptional<z.ZodString>;
|
|
4189
|
+
display_error: z.ZodString;
|
|
4190
|
+
}, z.core.$strip>>;
|
|
4191
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4192
|
+
code: z.ZodEnum<{
|
|
4193
|
+
media_unprobeable: "media_unprobeable";
|
|
4194
|
+
media_too_large: "media_too_large";
|
|
4195
|
+
media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
|
|
4196
|
+
media_resolution_too_low: "media_resolution_too_low";
|
|
4197
|
+
media_gif_unsupported: "media_gif_unsupported";
|
|
4198
|
+
media_format_recompressed: "media_format_recompressed";
|
|
4199
|
+
media_resolution_downscaled: "media_resolution_downscaled";
|
|
4200
|
+
video_container_unsupported: "video_container_unsupported";
|
|
4201
|
+
video_codec_unsupported: "video_codec_unsupported";
|
|
4202
|
+
video_audio_codec_unsupported: "video_audio_codec_unsupported";
|
|
4203
|
+
video_too_large: "video_too_large";
|
|
4204
|
+
video_too_small: "video_too_small";
|
|
4205
|
+
video_dimensions_unsupported: "video_dimensions_unsupported";
|
|
4206
|
+
video_dimensions_too_large: "video_dimensions_too_large";
|
|
4207
|
+
video_fps_unsupported: "video_fps_unsupported";
|
|
4208
|
+
video_fps_too_low: "video_fps_too_low";
|
|
4209
|
+
video_aspect_unsupported: "video_aspect_unsupported";
|
|
4210
|
+
video_duration_too_short: "video_duration_too_short";
|
|
4211
|
+
video_duration_exceeds_max: "video_duration_exceeds_max";
|
|
4212
|
+
video_transform_failed: "video_transform_failed";
|
|
4213
|
+
media_fetch_failed: "media_fetch_failed";
|
|
4214
|
+
document_format_unsupported: "document_format_unsupported";
|
|
4215
|
+
document_too_large: "document_too_large";
|
|
4216
|
+
document_too_many_pages: "document_too_many_pages";
|
|
4217
|
+
media_format_indeterminate: "media_format_indeterminate";
|
|
4218
|
+
media_format_unsupported: "media_format_unsupported";
|
|
4219
|
+
media_unsupported: "media_unsupported";
|
|
4220
|
+
}>;
|
|
4221
|
+
message: z.ZodString;
|
|
4222
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
4223
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4224
|
+
got: z.ZodOptional<z.ZodString>;
|
|
4225
|
+
display_error: z.ZodString;
|
|
4226
|
+
}, z.core.$strip>>;
|
|
4227
|
+
}, z.core.$strip>>;
|
|
4228
|
+
external_id: z.ZodNullable<z.ZodString>;
|
|
4229
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4230
|
+
created_at: z.ZodString;
|
|
4231
|
+
updated_at: z.ZodString;
|
|
4232
|
+
}, z.core.$strip>;
|
|
4233
|
+
declare const zMediaAbortPath: z.ZodObject<{
|
|
4234
|
+
id: z.ZodString;
|
|
4235
|
+
}, z.core.$strip>;
|
|
4236
|
+
/**
|
|
4237
|
+
* OK
|
|
4238
|
+
*/
|
|
4239
|
+
declare const zMediaAbortResponse: z.ZodObject<{
|
|
4240
|
+
id: z.ZodString;
|
|
4241
|
+
object: z.ZodLiteral<"media">;
|
|
4242
|
+
profile_id: z.ZodString;
|
|
4243
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
4244
|
+
image: "image";
|
|
4245
|
+
video: "video";
|
|
4246
|
+
gif: "gif";
|
|
4247
|
+
document: "document";
|
|
4248
|
+
}>>;
|
|
4249
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
4250
|
+
status: z.ZodEnum<{
|
|
4251
|
+
uploading: "uploading";
|
|
4252
|
+
processing: "processing";
|
|
4253
|
+
ready: "ready";
|
|
4254
|
+
failed: "failed";
|
|
4255
|
+
}>;
|
|
4256
|
+
progress: z.ZodObject<{
|
|
4257
|
+
stage: z.ZodEnum<{
|
|
4258
|
+
done: "done";
|
|
4259
|
+
queued: "queued";
|
|
4260
|
+
analyzing: "analyzing";
|
|
4261
|
+
transcoding: "transcoding";
|
|
4262
|
+
}>;
|
|
4263
|
+
percent: z.ZodInt;
|
|
4264
|
+
}, z.core.$strip>;
|
|
4265
|
+
raw: z.ZodBoolean;
|
|
4266
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
4267
|
+
code: z.ZodEnum<{
|
|
4268
|
+
media_unprobeable: "media_unprobeable";
|
|
4269
|
+
media_too_large: "media_too_large";
|
|
4270
|
+
media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
|
|
4271
|
+
media_resolution_too_low: "media_resolution_too_low";
|
|
4272
|
+
media_gif_unsupported: "media_gif_unsupported";
|
|
4273
|
+
media_format_recompressed: "media_format_recompressed";
|
|
4274
|
+
media_resolution_downscaled: "media_resolution_downscaled";
|
|
4275
|
+
video_container_unsupported: "video_container_unsupported";
|
|
4276
|
+
video_codec_unsupported: "video_codec_unsupported";
|
|
4277
|
+
video_audio_codec_unsupported: "video_audio_codec_unsupported";
|
|
4278
|
+
video_too_large: "video_too_large";
|
|
4279
|
+
video_too_small: "video_too_small";
|
|
4280
|
+
video_dimensions_unsupported: "video_dimensions_unsupported";
|
|
4281
|
+
video_dimensions_too_large: "video_dimensions_too_large";
|
|
4282
|
+
video_fps_unsupported: "video_fps_unsupported";
|
|
4283
|
+
video_fps_too_low: "video_fps_too_low";
|
|
4284
|
+
video_aspect_unsupported: "video_aspect_unsupported";
|
|
4285
|
+
video_duration_too_short: "video_duration_too_short";
|
|
4286
|
+
video_duration_exceeds_max: "video_duration_exceeds_max";
|
|
4287
|
+
video_transform_failed: "video_transform_failed";
|
|
4288
|
+
media_fetch_failed: "media_fetch_failed";
|
|
4289
|
+
document_format_unsupported: "document_format_unsupported";
|
|
4290
|
+
document_too_large: "document_too_large";
|
|
4291
|
+
document_too_many_pages: "document_too_many_pages";
|
|
4292
|
+
media_format_indeterminate: "media_format_indeterminate";
|
|
4293
|
+
media_format_unsupported: "media_format_unsupported";
|
|
4294
|
+
media_unsupported: "media_unsupported";
|
|
4295
|
+
}>;
|
|
4296
|
+
message: z.ZodString;
|
|
4297
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
4298
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4299
|
+
got: z.ZodOptional<z.ZodString>;
|
|
4300
|
+
display_error: z.ZodString;
|
|
4301
|
+
}, z.core.$strip>>;
|
|
4302
|
+
source: z.ZodNullable<z.ZodObject<{
|
|
4303
|
+
format: z.ZodString;
|
|
4304
|
+
bytes: z.ZodInt;
|
|
4305
|
+
width: z.ZodNullable<z.ZodInt>;
|
|
4306
|
+
height: z.ZodNullable<z.ZodInt>;
|
|
4307
|
+
duration_ms: z.ZodNullable<z.ZodInt>;
|
|
4308
|
+
}, z.core.$strip>>;
|
|
4309
|
+
alt_text: z.ZodNullable<z.ZodString>;
|
|
4310
|
+
per_platform: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4311
|
+
status: z.ZodEnum<{
|
|
4312
|
+
processing: "processing";
|
|
4313
|
+
ready: "ready";
|
|
4314
|
+
failed: "failed";
|
|
4315
|
+
}>;
|
|
4316
|
+
url: z.ZodNullable<z.ZodString>;
|
|
4317
|
+
width: z.ZodNullable<z.ZodInt>;
|
|
4318
|
+
height: z.ZodNullable<z.ZodInt>;
|
|
4319
|
+
bytes: z.ZodNullable<z.ZodInt>;
|
|
4320
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
4321
|
+
code: z.ZodEnum<{
|
|
4322
|
+
media_unprobeable: "media_unprobeable";
|
|
4323
|
+
media_too_large: "media_too_large";
|
|
4324
|
+
media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
|
|
4325
|
+
media_resolution_too_low: "media_resolution_too_low";
|
|
4326
|
+
media_gif_unsupported: "media_gif_unsupported";
|
|
4327
|
+
media_format_recompressed: "media_format_recompressed";
|
|
4328
|
+
media_resolution_downscaled: "media_resolution_downscaled";
|
|
4329
|
+
video_container_unsupported: "video_container_unsupported";
|
|
4330
|
+
video_codec_unsupported: "video_codec_unsupported";
|
|
4331
|
+
video_audio_codec_unsupported: "video_audio_codec_unsupported";
|
|
4332
|
+
video_too_large: "video_too_large";
|
|
4333
|
+
video_too_small: "video_too_small";
|
|
4334
|
+
video_dimensions_unsupported: "video_dimensions_unsupported";
|
|
4335
|
+
video_dimensions_too_large: "video_dimensions_too_large";
|
|
4336
|
+
video_fps_unsupported: "video_fps_unsupported";
|
|
4337
|
+
video_fps_too_low: "video_fps_too_low";
|
|
4338
|
+
video_aspect_unsupported: "video_aspect_unsupported";
|
|
4339
|
+
video_duration_too_short: "video_duration_too_short";
|
|
4340
|
+
video_duration_exceeds_max: "video_duration_exceeds_max";
|
|
4341
|
+
video_transform_failed: "video_transform_failed";
|
|
4342
|
+
media_fetch_failed: "media_fetch_failed";
|
|
4343
|
+
document_format_unsupported: "document_format_unsupported";
|
|
4344
|
+
document_too_large: "document_too_large";
|
|
4345
|
+
document_too_many_pages: "document_too_many_pages";
|
|
4346
|
+
media_format_indeterminate: "media_format_indeterminate";
|
|
4347
|
+
media_format_unsupported: "media_format_unsupported";
|
|
4348
|
+
media_unsupported: "media_unsupported";
|
|
4349
|
+
}>;
|
|
4350
|
+
message: z.ZodString;
|
|
4351
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
4352
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4353
|
+
got: z.ZodOptional<z.ZodString>;
|
|
4354
|
+
display_error: z.ZodString;
|
|
4355
|
+
}, z.core.$strip>>;
|
|
4356
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4357
|
+
code: z.ZodEnum<{
|
|
4358
|
+
media_unprobeable: "media_unprobeable";
|
|
4359
|
+
media_too_large: "media_too_large";
|
|
4360
|
+
media_aspect_ratio_unsupported: "media_aspect_ratio_unsupported";
|
|
4361
|
+
media_resolution_too_low: "media_resolution_too_low";
|
|
4362
|
+
media_gif_unsupported: "media_gif_unsupported";
|
|
4363
|
+
media_format_recompressed: "media_format_recompressed";
|
|
4364
|
+
media_resolution_downscaled: "media_resolution_downscaled";
|
|
4365
|
+
video_container_unsupported: "video_container_unsupported";
|
|
4366
|
+
video_codec_unsupported: "video_codec_unsupported";
|
|
4367
|
+
video_audio_codec_unsupported: "video_audio_codec_unsupported";
|
|
4368
|
+
video_too_large: "video_too_large";
|
|
4369
|
+
video_too_small: "video_too_small";
|
|
4370
|
+
video_dimensions_unsupported: "video_dimensions_unsupported";
|
|
4371
|
+
video_dimensions_too_large: "video_dimensions_too_large";
|
|
4372
|
+
video_fps_unsupported: "video_fps_unsupported";
|
|
4373
|
+
video_fps_too_low: "video_fps_too_low";
|
|
4374
|
+
video_aspect_unsupported: "video_aspect_unsupported";
|
|
4375
|
+
video_duration_too_short: "video_duration_too_short";
|
|
4376
|
+
video_duration_exceeds_max: "video_duration_exceeds_max";
|
|
4377
|
+
video_transform_failed: "video_transform_failed";
|
|
4378
|
+
media_fetch_failed: "media_fetch_failed";
|
|
4379
|
+
document_format_unsupported: "document_format_unsupported";
|
|
4380
|
+
document_too_large: "document_too_large";
|
|
4381
|
+
document_too_many_pages: "document_too_many_pages";
|
|
4382
|
+
media_format_indeterminate: "media_format_indeterminate";
|
|
4383
|
+
media_format_unsupported: "media_format_unsupported";
|
|
4384
|
+
media_unsupported: "media_unsupported";
|
|
4385
|
+
}>;
|
|
4386
|
+
message: z.ZodString;
|
|
4387
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
4388
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4389
|
+
got: z.ZodOptional<z.ZodString>;
|
|
4390
|
+
display_error: z.ZodString;
|
|
4391
|
+
}, z.core.$strip>>;
|
|
4392
|
+
}, z.core.$strip>>;
|
|
4393
|
+
external_id: z.ZodNullable<z.ZodString>;
|
|
4394
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4395
|
+
created_at: z.ZodString;
|
|
4396
|
+
updated_at: z.ZodString;
|
|
4397
|
+
}, z.core.$strip>;
|
|
4030
4398
|
declare const zPostsListQuery: z.ZodObject<{
|
|
4031
4399
|
limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
4032
4400
|
offset: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
@@ -9129,6 +9497,8 @@ declare const zPostsValidateResponse: z.ZodObject<{
|
|
|
9129
9497
|
connection_discovery_failed: "connection_discovery_failed";
|
|
9130
9498
|
tiktok_creator_info_unavailable: "tiktok_creator_info_unavailable";
|
|
9131
9499
|
media_processing: "media_processing";
|
|
9500
|
+
media_upload_init_failed: "media_upload_init_failed";
|
|
9501
|
+
media_upload_incomplete: "media_upload_incomplete";
|
|
9132
9502
|
not_publishable: "not_publishable";
|
|
9133
9503
|
invalid_connection: "invalid_connection";
|
|
9134
9504
|
invalid_media: "invalid_media";
|
|
@@ -9193,11 +9563,16 @@ declare const zPostsValidateResponse: z.ZodObject<{
|
|
|
9193
9563
|
instagram_container_expired: "instagram_container_expired";
|
|
9194
9564
|
instagram_container_failed: "instagram_container_failed";
|
|
9195
9565
|
instagram_rate_limited: "instagram_rate_limited";
|
|
9566
|
+
instagram_daily_limit_reached: "instagram_daily_limit_reached";
|
|
9567
|
+
instagram_aspect_ratio_unsupported: "instagram_aspect_ratio_unsupported";
|
|
9568
|
+
instagram_media_unsupported: "instagram_media_unsupported";
|
|
9196
9569
|
instagram_not_authorized: "instagram_not_authorized";
|
|
9197
9570
|
instagram_publish_failed: "instagram_publish_failed";
|
|
9198
9571
|
facebook_reel_processing: "facebook_reel_processing";
|
|
9199
9572
|
facebook_reel_failed: "facebook_reel_failed";
|
|
9200
9573
|
facebook_rate_limited: "facebook_rate_limited";
|
|
9574
|
+
facebook_duplicate_content: "facebook_duplicate_content";
|
|
9575
|
+
facebook_temporarily_blocked: "facebook_temporarily_blocked";
|
|
9201
9576
|
facebook_not_authorized: "facebook_not_authorized";
|
|
9202
9577
|
facebook_publish_failed: "facebook_publish_failed";
|
|
9203
9578
|
tiktok_privacy_not_allowed: "tiktok_privacy_not_allowed";
|
|
@@ -11273,4 +11648,4 @@ declare const zTokensMintResponse: z.ZodObject<{
|
|
|
11273
11648
|
expires_at: z.ZodString;
|
|
11274
11649
|
}, z.core.$strip>;
|
|
11275
11650
|
|
|
11276
|
-
export { zConnectSession, zConnection, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMedia, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListQuery, zMediaListResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPost, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantInput, zPostVariantStatus, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokCreatorInfo, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };
|
|
11651
|
+
export { zConnectSession, zConnection, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMedia, zMediaAbortPath, zMediaAbortResponse, zMediaCompleteBody, zMediaCompletePath, zMediaCompleteResponse, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListPartsPath, zMediaListPartsResponse, zMediaListQuery, zMediaListResponse, zMediaSignPartBody, zMediaSignPartPath, zMediaSignPartResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPost, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantInput, zPostVariantStatus, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokCreatorInfo, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };
|
package/dist/schemas/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { zConnectSession, zConnection, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMedia, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListQuery, zMediaListResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPost, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantInput, zPostVariantStatus, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokCreatorInfo, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse } from '../chunk-
|
|
1
|
+
export { zConnectSession, zConnection, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMedia, zMediaAbortPath, zMediaAbortResponse, zMediaCompleteBody, zMediaCompletePath, zMediaCompleteResponse, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListPartsPath, zMediaListPartsResponse, zMediaListQuery, zMediaListResponse, zMediaSignPartBody, zMediaSignPartPath, zMediaSignPartResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPost, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantInput, zPostVariantStatus, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokCreatorInfo, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse } from '../chunk-LSW34R3K.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/server.cjs
CHANGED
|
@@ -815,6 +815,8 @@ var zErrorCode = z__namespace.enum([
|
|
|
815
815
|
"connection_discovery_failed",
|
|
816
816
|
"tiktok_creator_info_unavailable",
|
|
817
817
|
"media_processing",
|
|
818
|
+
"media_upload_init_failed",
|
|
819
|
+
"media_upload_incomplete",
|
|
818
820
|
"not_publishable",
|
|
819
821
|
"invalid_connection",
|
|
820
822
|
"invalid_media",
|
|
@@ -879,11 +881,16 @@ var zErrorCode = z__namespace.enum([
|
|
|
879
881
|
"instagram_container_expired",
|
|
880
882
|
"instagram_container_failed",
|
|
881
883
|
"instagram_rate_limited",
|
|
884
|
+
"instagram_daily_limit_reached",
|
|
885
|
+
"instagram_aspect_ratio_unsupported",
|
|
886
|
+
"instagram_media_unsupported",
|
|
882
887
|
"instagram_not_authorized",
|
|
883
888
|
"instagram_publish_failed",
|
|
884
889
|
"facebook_reel_processing",
|
|
885
890
|
"facebook_reel_failed",
|
|
886
891
|
"facebook_rate_limited",
|
|
892
|
+
"facebook_duplicate_content",
|
|
893
|
+
"facebook_temporarily_blocked",
|
|
887
894
|
"facebook_not_authorized",
|
|
888
895
|
"facebook_publish_failed",
|
|
889
896
|
"tiktok_privacy_not_allowed",
|
|
@@ -1968,9 +1975,9 @@ z__namespace.object({
|
|
|
1968
1975
|
created_at: z__namespace.string(),
|
|
1969
1976
|
updated_at: z__namespace.string(),
|
|
1970
1977
|
upload: z__namespace.object({
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1978
|
+
upload_id: z__namespace.string(),
|
|
1979
|
+
key: z__namespace.string(),
|
|
1980
|
+
part_size: z__namespace.int().gt(0).lte(9007199254740991),
|
|
1974
1981
|
expires_at: z__namespace.string()
|
|
1975
1982
|
}).nullable()
|
|
1976
1983
|
});
|
|
@@ -2005,6 +2012,37 @@ z__namespace.object({
|
|
|
2005
2012
|
z__namespace.object({
|
|
2006
2013
|
id: z__namespace.string()
|
|
2007
2014
|
});
|
|
2015
|
+
z__namespace.object({
|
|
2016
|
+
part_number: z__namespace.int().gte(1).lte(1e4)
|
|
2017
|
+
});
|
|
2018
|
+
z__namespace.object({
|
|
2019
|
+
id: z__namespace.string()
|
|
2020
|
+
});
|
|
2021
|
+
z__namespace.object({
|
|
2022
|
+
url: z__namespace.url()
|
|
2023
|
+
});
|
|
2024
|
+
z__namespace.object({
|
|
2025
|
+
id: z__namespace.string()
|
|
2026
|
+
});
|
|
2027
|
+
z__namespace.object({
|
|
2028
|
+
parts: z__namespace.array(z__namespace.object({
|
|
2029
|
+
part_number: z__namespace.int().gte(1).lte(9007199254740991),
|
|
2030
|
+
etag: z__namespace.string(),
|
|
2031
|
+
size: z__namespace.int().gte(0).lte(9007199254740991)
|
|
2032
|
+
}))
|
|
2033
|
+
});
|
|
2034
|
+
z__namespace.object({
|
|
2035
|
+
parts: z__namespace.array(z__namespace.object({
|
|
2036
|
+
part_number: z__namespace.int().gte(1).lte(1e4),
|
|
2037
|
+
etag: z__namespace.string().min(1)
|
|
2038
|
+
})).min(1)
|
|
2039
|
+
});
|
|
2040
|
+
z__namespace.object({
|
|
2041
|
+
id: z__namespace.string()
|
|
2042
|
+
});
|
|
2043
|
+
z__namespace.object({
|
|
2044
|
+
id: z__namespace.string()
|
|
2045
|
+
});
|
|
2008
2046
|
z__namespace.object({
|
|
2009
2047
|
limit: z__namespace.int().gte(1).lte(100).optional().default(20),
|
|
2010
2048
|
offset: z__namespace.int().gte(0).lte(9007199254740991).optional().default(0),
|
|
@@ -2140,6 +2178,8 @@ z__namespace.object({
|
|
|
2140
2178
|
"connection_discovery_failed",
|
|
2141
2179
|
"tiktok_creator_info_unavailable",
|
|
2142
2180
|
"media_processing",
|
|
2181
|
+
"media_upload_init_failed",
|
|
2182
|
+
"media_upload_incomplete",
|
|
2143
2183
|
"not_publishable",
|
|
2144
2184
|
"invalid_connection",
|
|
2145
2185
|
"invalid_media",
|
|
@@ -2204,11 +2244,16 @@ z__namespace.object({
|
|
|
2204
2244
|
"instagram_container_expired",
|
|
2205
2245
|
"instagram_container_failed",
|
|
2206
2246
|
"instagram_rate_limited",
|
|
2247
|
+
"instagram_daily_limit_reached",
|
|
2248
|
+
"instagram_aspect_ratio_unsupported",
|
|
2249
|
+
"instagram_media_unsupported",
|
|
2207
2250
|
"instagram_not_authorized",
|
|
2208
2251
|
"instagram_publish_failed",
|
|
2209
2252
|
"facebook_reel_processing",
|
|
2210
2253
|
"facebook_reel_failed",
|
|
2211
2254
|
"facebook_rate_limited",
|
|
2255
|
+
"facebook_duplicate_content",
|
|
2256
|
+
"facebook_temporarily_blocked",
|
|
2212
2257
|
"facebook_not_authorized",
|
|
2213
2258
|
"facebook_publish_failed",
|
|
2214
2259
|
"tiktok_privacy_not_allowed",
|