@rolino/contracts 0.1.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.
@@ -0,0 +1,2203 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const API_VERSION: "v1";
4
+ declare const CONTRACT_VERSION: "0.12.0";
5
+ declare const RequestMetadataSchema: z.ZodObject<{
6
+ requestId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const ApiErrorCodeSchema: z.ZodEnum<{
9
+ AUTH_REQUIRED: "AUTH_REQUIRED";
10
+ FORBIDDEN: "FORBIDDEN";
11
+ NOT_FOUND: "NOT_FOUND";
12
+ FEATURE_DISABLED: "FEATURE_DISABLED";
13
+ BILLING_REQUIRED: "BILLING_REQUIRED";
14
+ LIMIT_REACHED: "LIMIT_REACHED";
15
+ VALIDATION_ERROR: "VALIDATION_ERROR";
16
+ CONFLICT: "CONFLICT";
17
+ RATE_LIMITED: "RATE_LIMITED";
18
+ INTERNAL_ERROR: "INTERNAL_ERROR";
19
+ }>;
20
+ type ApiErrorCode = z.infer<typeof ApiErrorCodeSchema>;
21
+ declare const ApiProblemSchema: z.ZodObject<{
22
+ error: z.ZodObject<{
23
+ code: z.ZodEnum<{
24
+ AUTH_REQUIRED: "AUTH_REQUIRED";
25
+ FORBIDDEN: "FORBIDDEN";
26
+ NOT_FOUND: "NOT_FOUND";
27
+ FEATURE_DISABLED: "FEATURE_DISABLED";
28
+ BILLING_REQUIRED: "BILLING_REQUIRED";
29
+ LIMIT_REACHED: "LIMIT_REACHED";
30
+ VALIDATION_ERROR: "VALIDATION_ERROR";
31
+ CONFLICT: "CONFLICT";
32
+ RATE_LIMITED: "RATE_LIMITED";
33
+ INTERNAL_ERROR: "INTERNAL_ERROR";
34
+ }>;
35
+ message: z.ZodString;
36
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
37
+ }, z.core.$strip>;
38
+ meta: z.ZodObject<{
39
+ requestId: z.ZodString;
40
+ }, z.core.$strip>;
41
+ }, z.core.$strip>;
42
+ type ApiProblem = z.infer<typeof ApiProblemSchema>;
43
+ declare function successEnvelopeSchema<TSchema extends z.ZodType>(data: TSchema): z.ZodObject<{
44
+ data: TSchema;
45
+ meta: z.ZodObject<{
46
+ requestId: z.ZodString;
47
+ }, z.core.$strip>;
48
+ }, z.core.$strip>;
49
+ declare const CapabilityIdSchema: z.ZodEnum<{
50
+ "identity:read": "identity:read";
51
+ "projects:read": "projects:read";
52
+ "projects:write": "projects:write";
53
+ "posts:read": "posts:read";
54
+ "posts:write": "posts:write";
55
+ "posts:schedule": "posts:schedule";
56
+ "posts:publish": "posts:publish";
57
+ "integrations:read": "integrations:read";
58
+ "calendar:read": "calendar:read";
59
+ }>;
60
+ type CapabilityId = z.infer<typeof CapabilityIdSchema>;
61
+ declare const CapabilitySchema: z.ZodObject<{
62
+ id: z.ZodEnum<{
63
+ "identity:read": "identity:read";
64
+ "projects:read": "projects:read";
65
+ "projects:write": "projects:write";
66
+ "posts:read": "posts:read";
67
+ "posts:write": "posts:write";
68
+ "posts:schedule": "posts:schedule";
69
+ "posts:publish": "posts:publish";
70
+ "integrations:read": "integrations:read";
71
+ "calendar:read": "calendar:read";
72
+ }>;
73
+ available: z.ZodBoolean;
74
+ reason: z.ZodEnum<{
75
+ AUTH_REQUIRED: "AUTH_REQUIRED";
76
+ FEATURE_DISABLED: "FEATURE_DISABLED";
77
+ AVAILABLE: "AVAILABLE";
78
+ SCOPE_REQUIRED: "SCOPE_REQUIRED";
79
+ }>;
80
+ }, z.core.$strip>;
81
+ type Capability = z.infer<typeof CapabilitySchema>;
82
+ declare const ApiMetaSchema: z.ZodObject<{
83
+ name: z.ZodLiteral<"Rolino">;
84
+ serverVersion: z.ZodString;
85
+ apiVersion: z.ZodLiteral<"v1">;
86
+ contractVersion: z.ZodLiteral<"0.12.0">;
87
+ authentication: z.ZodObject<{
88
+ browserSession: z.ZodBoolean;
89
+ cliBrowserAuthorization: z.ZodBoolean;
90
+ apiKey: z.ZodBoolean;
91
+ remoteOAuth: z.ZodBoolean;
92
+ }, z.core.$strip>;
93
+ mcp: z.ZodObject<{
94
+ stdio: z.ZodBoolean;
95
+ streamableHttp: z.ZodBoolean;
96
+ remoteStatus: z.ZodEnum<{
97
+ AVAILABLE: "AVAILABLE";
98
+ AUTH_GATE: "AUTH_GATE";
99
+ }>;
100
+ }, z.core.$strip>;
101
+ capabilities: z.ZodArray<z.ZodObject<{
102
+ id: z.ZodEnum<{
103
+ "identity:read": "identity:read";
104
+ "projects:read": "projects:read";
105
+ "projects:write": "projects:write";
106
+ "posts:read": "posts:read";
107
+ "posts:write": "posts:write";
108
+ "posts:schedule": "posts:schedule";
109
+ "posts:publish": "posts:publish";
110
+ "integrations:read": "integrations:read";
111
+ "calendar:read": "calendar:read";
112
+ }>;
113
+ available: z.ZodBoolean;
114
+ reason: z.ZodEnum<{
115
+ AUTH_REQUIRED: "AUTH_REQUIRED";
116
+ FEATURE_DISABLED: "FEATURE_DISABLED";
117
+ AVAILABLE: "AVAILABLE";
118
+ SCOPE_REQUIRED: "SCOPE_REQUIRED";
119
+ }>;
120
+ }, z.core.$strip>>;
121
+ }, z.core.$strip>;
122
+ type ApiMeta = z.infer<typeof ApiMetaSchema>;
123
+ declare const ApiMetaResponseSchema: z.ZodObject<{
124
+ data: z.ZodObject<{
125
+ name: z.ZodLiteral<"Rolino">;
126
+ serverVersion: z.ZodString;
127
+ apiVersion: z.ZodLiteral<"v1">;
128
+ contractVersion: z.ZodLiteral<"0.12.0">;
129
+ authentication: z.ZodObject<{
130
+ browserSession: z.ZodBoolean;
131
+ cliBrowserAuthorization: z.ZodBoolean;
132
+ apiKey: z.ZodBoolean;
133
+ remoteOAuth: z.ZodBoolean;
134
+ }, z.core.$strip>;
135
+ mcp: z.ZodObject<{
136
+ stdio: z.ZodBoolean;
137
+ streamableHttp: z.ZodBoolean;
138
+ remoteStatus: z.ZodEnum<{
139
+ AVAILABLE: "AVAILABLE";
140
+ AUTH_GATE: "AUTH_GATE";
141
+ }>;
142
+ }, z.core.$strip>;
143
+ capabilities: z.ZodArray<z.ZodObject<{
144
+ id: z.ZodEnum<{
145
+ "identity:read": "identity:read";
146
+ "projects:read": "projects:read";
147
+ "projects:write": "projects:write";
148
+ "posts:read": "posts:read";
149
+ "posts:write": "posts:write";
150
+ "posts:schedule": "posts:schedule";
151
+ "posts:publish": "posts:publish";
152
+ "integrations:read": "integrations:read";
153
+ "calendar:read": "calendar:read";
154
+ }>;
155
+ available: z.ZodBoolean;
156
+ reason: z.ZodEnum<{
157
+ AUTH_REQUIRED: "AUTH_REQUIRED";
158
+ FEATURE_DISABLED: "FEATURE_DISABLED";
159
+ AVAILABLE: "AVAILABLE";
160
+ SCOPE_REQUIRED: "SCOPE_REQUIRED";
161
+ }>;
162
+ }, z.core.$strip>>;
163
+ }, z.core.$strip>;
164
+ meta: z.ZodObject<{
165
+ requestId: z.ZodString;
166
+ }, z.core.$strip>;
167
+ }, z.core.$strip>;
168
+ type ApiMetaResponse = z.infer<typeof ApiMetaResponseSchema>;
169
+ declare const AuthenticationKindSchema: z.ZodEnum<{
170
+ session: "session";
171
+ api_key: "api_key";
172
+ }>;
173
+ type AuthenticationKind = z.infer<typeof AuthenticationKindSchema>;
174
+ declare const ActorSchema: z.ZodObject<{
175
+ user: z.ZodObject<{
176
+ id: z.ZodString;
177
+ name: z.ZodString;
178
+ email: z.ZodString;
179
+ }, z.core.$strip>;
180
+ organization: z.ZodObject<{
181
+ id: z.ZodString;
182
+ name: z.ZodString;
183
+ role: z.ZodString;
184
+ }, z.core.$strip>;
185
+ authentication: z.ZodObject<{
186
+ kind: z.ZodEnum<{
187
+ session: "session";
188
+ api_key: "api_key";
189
+ }>;
190
+ credentialId: z.ZodNullable<z.ZodString>;
191
+ }, z.core.$strip>;
192
+ capabilities: z.ZodArray<z.ZodEnum<{
193
+ "identity:read": "identity:read";
194
+ "projects:read": "projects:read";
195
+ "projects:write": "projects:write";
196
+ "posts:read": "posts:read";
197
+ "posts:write": "posts:write";
198
+ "posts:schedule": "posts:schedule";
199
+ "posts:publish": "posts:publish";
200
+ "integrations:read": "integrations:read";
201
+ "calendar:read": "calendar:read";
202
+ }>>;
203
+ }, z.core.$strip>;
204
+ type Actor = z.infer<typeof ActorSchema>;
205
+ declare const WhoAmIResponseSchema: z.ZodObject<{
206
+ data: z.ZodObject<{
207
+ user: z.ZodObject<{
208
+ id: z.ZodString;
209
+ name: z.ZodString;
210
+ email: z.ZodString;
211
+ }, z.core.$strip>;
212
+ organization: z.ZodObject<{
213
+ id: z.ZodString;
214
+ name: z.ZodString;
215
+ role: z.ZodString;
216
+ }, z.core.$strip>;
217
+ authentication: z.ZodObject<{
218
+ kind: z.ZodEnum<{
219
+ session: "session";
220
+ api_key: "api_key";
221
+ }>;
222
+ credentialId: z.ZodNullable<z.ZodString>;
223
+ }, z.core.$strip>;
224
+ capabilities: z.ZodArray<z.ZodEnum<{
225
+ "identity:read": "identity:read";
226
+ "projects:read": "projects:read";
227
+ "projects:write": "projects:write";
228
+ "posts:read": "posts:read";
229
+ "posts:write": "posts:write";
230
+ "posts:schedule": "posts:schedule";
231
+ "posts:publish": "posts:publish";
232
+ "integrations:read": "integrations:read";
233
+ "calendar:read": "calendar:read";
234
+ }>>;
235
+ }, z.core.$strip>;
236
+ meta: z.ZodObject<{
237
+ requestId: z.ZodString;
238
+ }, z.core.$strip>;
239
+ }, z.core.$strip>;
240
+ type WhoAmIResponse = z.infer<typeof WhoAmIResponseSchema>;
241
+ declare const CLI_BROWSER_AUTHORIZATION_TIMEOUT_MS: number;
242
+ declare const CliAuthorizationExchangeRequestSchema: z.ZodObject<{
243
+ code: z.ZodString;
244
+ codeVerifier: z.ZodString;
245
+ }, z.core.$strip>;
246
+ type CliAuthorizationExchangeRequest = z.infer<typeof CliAuthorizationExchangeRequestSchema>;
247
+ declare const CliAuthorizationCredentialSchema: z.ZodObject<{
248
+ token: z.ZodString;
249
+ tokenType: z.ZodLiteral<"Bearer">;
250
+ expiresAt: z.ZodString;
251
+ organization: z.ZodObject<{
252
+ id: z.ZodString;
253
+ name: z.ZodString;
254
+ }, z.core.$strip>;
255
+ capabilities: z.ZodArray<z.ZodEnum<{
256
+ "identity:read": "identity:read";
257
+ "projects:read": "projects:read";
258
+ "projects:write": "projects:write";
259
+ "posts:read": "posts:read";
260
+ "posts:write": "posts:write";
261
+ "posts:schedule": "posts:schedule";
262
+ "posts:publish": "posts:publish";
263
+ "integrations:read": "integrations:read";
264
+ "calendar:read": "calendar:read";
265
+ }>>;
266
+ }, z.core.$strip>;
267
+ type CliAuthorizationCredential = z.infer<typeof CliAuthorizationCredentialSchema>;
268
+ declare const CliAuthorizationExchangeResponseSchema: z.ZodObject<{
269
+ data: z.ZodObject<{
270
+ token: z.ZodString;
271
+ tokenType: z.ZodLiteral<"Bearer">;
272
+ expiresAt: z.ZodString;
273
+ organization: z.ZodObject<{
274
+ id: z.ZodString;
275
+ name: z.ZodString;
276
+ }, z.core.$strip>;
277
+ capabilities: z.ZodArray<z.ZodEnum<{
278
+ "identity:read": "identity:read";
279
+ "projects:read": "projects:read";
280
+ "projects:write": "projects:write";
281
+ "posts:read": "posts:read";
282
+ "posts:write": "posts:write";
283
+ "posts:schedule": "posts:schedule";
284
+ "posts:publish": "posts:publish";
285
+ "integrations:read": "integrations:read";
286
+ "calendar:read": "calendar:read";
287
+ }>>;
288
+ }, z.core.$strip>;
289
+ meta: z.ZodObject<{
290
+ requestId: z.ZodString;
291
+ }, z.core.$strip>;
292
+ }, z.core.$strip>;
293
+ type CliAuthorizationExchangeResponse = z.infer<typeof CliAuthorizationExchangeResponseSchema>;
294
+ declare const CliAuthorizationRevokeDataSchema: z.ZodObject<{
295
+ revoked: z.ZodLiteral<true>;
296
+ }, z.core.$strip>;
297
+ declare const CliAuthorizationRevokeResponseSchema: z.ZodObject<{
298
+ data: z.ZodObject<{
299
+ revoked: z.ZodLiteral<true>;
300
+ }, z.core.$strip>;
301
+ meta: z.ZodObject<{
302
+ requestId: z.ZodString;
303
+ }, z.core.$strip>;
304
+ }, z.core.$strip>;
305
+ type CliAuthorizationRevokeResponse = z.infer<typeof CliAuthorizationRevokeResponseSchema>;
306
+ declare const CapabilitiesDataSchema: z.ZodObject<{
307
+ capabilities: z.ZodArray<z.ZodObject<{
308
+ id: z.ZodEnum<{
309
+ "identity:read": "identity:read";
310
+ "projects:read": "projects:read";
311
+ "projects:write": "projects:write";
312
+ "posts:read": "posts:read";
313
+ "posts:write": "posts:write";
314
+ "posts:schedule": "posts:schedule";
315
+ "posts:publish": "posts:publish";
316
+ "integrations:read": "integrations:read";
317
+ "calendar:read": "calendar:read";
318
+ }>;
319
+ available: z.ZodBoolean;
320
+ reason: z.ZodEnum<{
321
+ AUTH_REQUIRED: "AUTH_REQUIRED";
322
+ FEATURE_DISABLED: "FEATURE_DISABLED";
323
+ AVAILABLE: "AVAILABLE";
324
+ SCOPE_REQUIRED: "SCOPE_REQUIRED";
325
+ }>;
326
+ }, z.core.$strip>>;
327
+ }, z.core.$strip>;
328
+ declare const CapabilitiesResponseSchema: z.ZodObject<{
329
+ data: z.ZodObject<{
330
+ capabilities: z.ZodArray<z.ZodObject<{
331
+ id: z.ZodEnum<{
332
+ "identity:read": "identity:read";
333
+ "projects:read": "projects:read";
334
+ "projects:write": "projects:write";
335
+ "posts:read": "posts:read";
336
+ "posts:write": "posts:write";
337
+ "posts:schedule": "posts:schedule";
338
+ "posts:publish": "posts:publish";
339
+ "integrations:read": "integrations:read";
340
+ "calendar:read": "calendar:read";
341
+ }>;
342
+ available: z.ZodBoolean;
343
+ reason: z.ZodEnum<{
344
+ AUTH_REQUIRED: "AUTH_REQUIRED";
345
+ FEATURE_DISABLED: "FEATURE_DISABLED";
346
+ AVAILABLE: "AVAILABLE";
347
+ SCOPE_REQUIRED: "SCOPE_REQUIRED";
348
+ }>;
349
+ }, z.core.$strip>>;
350
+ }, z.core.$strip>;
351
+ meta: z.ZodObject<{
352
+ requestId: z.ZodString;
353
+ }, z.core.$strip>;
354
+ }, z.core.$strip>;
355
+ type CapabilitiesResponse = z.infer<typeof CapabilitiesResponseSchema>;
356
+ declare const ProjectTypeSchema: z.ZodEnum<{
357
+ PRODUCT: "PRODUCT";
358
+ LAUNCH: "LAUNCH";
359
+ EVENT: "EVENT";
360
+ CONTENT_SERIES: "CONTENT_SERIES";
361
+ CLIENT: "CLIENT";
362
+ BRAND: "BRAND";
363
+ INTERNAL: "INTERNAL";
364
+ }>;
365
+ type ProjectType = z.infer<typeof ProjectTypeSchema>;
366
+ declare const ProjectCreateInputSchema: z.ZodObject<{
367
+ name: z.ZodString;
368
+ type: z.ZodDefault<z.ZodEnum<{
369
+ PRODUCT: "PRODUCT";
370
+ LAUNCH: "LAUNCH";
371
+ EVENT: "EVENT";
372
+ CONTENT_SERIES: "CONTENT_SERIES";
373
+ CLIENT: "CLIENT";
374
+ BRAND: "BRAND";
375
+ INTERNAL: "INTERNAL";
376
+ }>>;
377
+ websiteUrl: z.ZodOptional<z.ZodString>;
378
+ description: z.ZodOptional<z.ZodString>;
379
+ }, z.core.$strict>;
380
+ type ProjectCreateInput = z.input<typeof ProjectCreateInputSchema>;
381
+ type ProjectCreateData = z.infer<typeof ProjectCreateInputSchema>;
382
+ declare const ProjectSchema: z.ZodObject<{
383
+ id: z.ZodString;
384
+ organizationId: z.ZodString;
385
+ name: z.ZodString;
386
+ slug: z.ZodString;
387
+ type: z.ZodEnum<{
388
+ PRODUCT: "PRODUCT";
389
+ LAUNCH: "LAUNCH";
390
+ EVENT: "EVENT";
391
+ CONTENT_SERIES: "CONTENT_SERIES";
392
+ CLIENT: "CLIENT";
393
+ BRAND: "BRAND";
394
+ INTERNAL: "INTERNAL";
395
+ }>;
396
+ status: z.ZodEnum<{
397
+ ACTIVE: "ACTIVE";
398
+ PAUSED: "PAUSED";
399
+ ARCHIVED: "ARCHIVED";
400
+ }>;
401
+ websiteUrl: z.ZodNullable<z.ZodString>;
402
+ description: z.ZodNullable<z.ZodString>;
403
+ createdAt: z.ZodString;
404
+ updatedAt: z.ZodString;
405
+ }, z.core.$strip>;
406
+ type Project = z.infer<typeof ProjectSchema>;
407
+ declare const ProjectListQuerySchema: z.ZodObject<{
408
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
409
+ cursor: z.ZodOptional<z.ZodString>;
410
+ }, z.core.$strip>;
411
+ type ProjectListQuery = z.input<typeof ProjectListQuerySchema>;
412
+ declare const ProjectListDataSchema: z.ZodObject<{
413
+ items: z.ZodArray<z.ZodObject<{
414
+ id: z.ZodString;
415
+ organizationId: z.ZodString;
416
+ name: z.ZodString;
417
+ slug: z.ZodString;
418
+ type: z.ZodEnum<{
419
+ PRODUCT: "PRODUCT";
420
+ LAUNCH: "LAUNCH";
421
+ EVENT: "EVENT";
422
+ CONTENT_SERIES: "CONTENT_SERIES";
423
+ CLIENT: "CLIENT";
424
+ BRAND: "BRAND";
425
+ INTERNAL: "INTERNAL";
426
+ }>;
427
+ status: z.ZodEnum<{
428
+ ACTIVE: "ACTIVE";
429
+ PAUSED: "PAUSED";
430
+ ARCHIVED: "ARCHIVED";
431
+ }>;
432
+ websiteUrl: z.ZodNullable<z.ZodString>;
433
+ description: z.ZodNullable<z.ZodString>;
434
+ createdAt: z.ZodString;
435
+ updatedAt: z.ZodString;
436
+ }, z.core.$strip>>;
437
+ page: z.ZodObject<{
438
+ limit: z.ZodNumber;
439
+ nextCursor: z.ZodNullable<z.ZodString>;
440
+ }, z.core.$strip>;
441
+ }, z.core.$strip>;
442
+ type ProjectListData = z.infer<typeof ProjectListDataSchema>;
443
+ declare const ProjectListResponseSchema: z.ZodObject<{
444
+ data: z.ZodObject<{
445
+ items: z.ZodArray<z.ZodObject<{
446
+ id: z.ZodString;
447
+ organizationId: z.ZodString;
448
+ name: z.ZodString;
449
+ slug: z.ZodString;
450
+ type: z.ZodEnum<{
451
+ PRODUCT: "PRODUCT";
452
+ LAUNCH: "LAUNCH";
453
+ EVENT: "EVENT";
454
+ CONTENT_SERIES: "CONTENT_SERIES";
455
+ CLIENT: "CLIENT";
456
+ BRAND: "BRAND";
457
+ INTERNAL: "INTERNAL";
458
+ }>;
459
+ status: z.ZodEnum<{
460
+ ACTIVE: "ACTIVE";
461
+ PAUSED: "PAUSED";
462
+ ARCHIVED: "ARCHIVED";
463
+ }>;
464
+ websiteUrl: z.ZodNullable<z.ZodString>;
465
+ description: z.ZodNullable<z.ZodString>;
466
+ createdAt: z.ZodString;
467
+ updatedAt: z.ZodString;
468
+ }, z.core.$strip>>;
469
+ page: z.ZodObject<{
470
+ limit: z.ZodNumber;
471
+ nextCursor: z.ZodNullable<z.ZodString>;
472
+ }, z.core.$strip>;
473
+ }, z.core.$strip>;
474
+ meta: z.ZodObject<{
475
+ requestId: z.ZodString;
476
+ }, z.core.$strip>;
477
+ }, z.core.$strip>;
478
+ type ProjectListResponse = z.infer<typeof ProjectListResponseSchema>;
479
+ declare const ProjectResponseSchema: z.ZodObject<{
480
+ data: z.ZodObject<{
481
+ id: z.ZodString;
482
+ organizationId: z.ZodString;
483
+ name: z.ZodString;
484
+ slug: z.ZodString;
485
+ type: z.ZodEnum<{
486
+ PRODUCT: "PRODUCT";
487
+ LAUNCH: "LAUNCH";
488
+ EVENT: "EVENT";
489
+ CONTENT_SERIES: "CONTENT_SERIES";
490
+ CLIENT: "CLIENT";
491
+ BRAND: "BRAND";
492
+ INTERNAL: "INTERNAL";
493
+ }>;
494
+ status: z.ZodEnum<{
495
+ ACTIVE: "ACTIVE";
496
+ PAUSED: "PAUSED";
497
+ ARCHIVED: "ARCHIVED";
498
+ }>;
499
+ websiteUrl: z.ZodNullable<z.ZodString>;
500
+ description: z.ZodNullable<z.ZodString>;
501
+ createdAt: z.ZodString;
502
+ updatedAt: z.ZodString;
503
+ }, z.core.$strip>;
504
+ meta: z.ZodObject<{
505
+ requestId: z.ZodString;
506
+ }, z.core.$strip>;
507
+ }, z.core.$strip>;
508
+ type ProjectResponse = z.infer<typeof ProjectResponseSchema>;
509
+ declare const PostStatusSchema: z.ZodEnum<{
510
+ DRAFT: "DRAFT";
511
+ SCHEDULED: "SCHEDULED";
512
+ ACTION_REQUIRED: "ACTION_REQUIRED";
513
+ PUBLISHING: "PUBLISHING";
514
+ PUBLISHED: "PUBLISHED";
515
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
516
+ FAILED: "FAILED";
517
+ }>;
518
+ type PostStatus = z.infer<typeof PostStatusSchema>;
519
+ declare const PlatformPostStatusSchema: z.ZodEnum<{
520
+ DRAFT: "DRAFT";
521
+ SCHEDULED: "SCHEDULED";
522
+ ACTION_REQUIRED: "ACTION_REQUIRED";
523
+ PUBLISHING: "PUBLISHING";
524
+ PUBLISHED: "PUBLISHED";
525
+ FAILED: "FAILED";
526
+ PREPARING: "PREPARING";
527
+ }>;
528
+ declare const PostMediaSchema: z.ZodObject<{
529
+ id: z.ZodString;
530
+ type: z.ZodEnum<{
531
+ IMAGE: "IMAGE";
532
+ VIDEO: "VIDEO";
533
+ }>;
534
+ url: z.ZodString;
535
+ mimeType: z.ZodString;
536
+ width: z.ZodNullable<z.ZodNumber>;
537
+ height: z.ZodNullable<z.ZodNumber>;
538
+ durationMs: z.ZodNullable<z.ZodNumber>;
539
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
540
+ altText: z.ZodNullable<z.ZodString>;
541
+ position: z.ZodNumber;
542
+ }, z.core.$strip>;
543
+ type PostMedia = z.infer<typeof PostMediaSchema>;
544
+ declare const MediaAssetSchema: z.ZodObject<{
545
+ id: z.ZodString;
546
+ type: z.ZodEnum<{
547
+ IMAGE: "IMAGE";
548
+ VIDEO: "VIDEO";
549
+ }>;
550
+ url: z.ZodString;
551
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
552
+ originalFileName: z.ZodNullable<z.ZodString>;
553
+ mimeType: z.ZodString;
554
+ sizeBytes: z.ZodNullable<z.ZodNumber>;
555
+ width: z.ZodNullable<z.ZodNumber>;
556
+ height: z.ZodNullable<z.ZodNumber>;
557
+ durationMs: z.ZodNullable<z.ZodNumber>;
558
+ createdAt: z.ZodString;
559
+ }, z.core.$strip>;
560
+ type MediaAsset = z.infer<typeof MediaAssetSchema>;
561
+ declare const MediaAssetListQuerySchema: z.ZodObject<{
562
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
563
+ cursor: z.ZodOptional<z.ZodString>;
564
+ type: z.ZodOptional<z.ZodEnum<{
565
+ IMAGE: "IMAGE";
566
+ VIDEO: "VIDEO";
567
+ }>>;
568
+ query: z.ZodOptional<z.ZodString>;
569
+ }, z.core.$strip>;
570
+ type MediaAssetListQuery = z.input<typeof MediaAssetListQuerySchema>;
571
+ declare const MediaAssetListDataSchema: z.ZodObject<{
572
+ items: z.ZodArray<z.ZodObject<{
573
+ id: z.ZodString;
574
+ type: z.ZodEnum<{
575
+ IMAGE: "IMAGE";
576
+ VIDEO: "VIDEO";
577
+ }>;
578
+ url: z.ZodString;
579
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
580
+ originalFileName: z.ZodNullable<z.ZodString>;
581
+ mimeType: z.ZodString;
582
+ sizeBytes: z.ZodNullable<z.ZodNumber>;
583
+ width: z.ZodNullable<z.ZodNumber>;
584
+ height: z.ZodNullable<z.ZodNumber>;
585
+ durationMs: z.ZodNullable<z.ZodNumber>;
586
+ createdAt: z.ZodString;
587
+ }, z.core.$strip>>;
588
+ page: z.ZodObject<{
589
+ limit: z.ZodNumber;
590
+ nextCursor: z.ZodNullable<z.ZodString>;
591
+ }, z.core.$strip>;
592
+ }, z.core.$strip>;
593
+ type MediaAssetListData = z.infer<typeof MediaAssetListDataSchema>;
594
+ declare const MediaAssetListResponseSchema: z.ZodObject<{
595
+ data: z.ZodObject<{
596
+ items: z.ZodArray<z.ZodObject<{
597
+ id: z.ZodString;
598
+ type: z.ZodEnum<{
599
+ IMAGE: "IMAGE";
600
+ VIDEO: "VIDEO";
601
+ }>;
602
+ url: z.ZodString;
603
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
604
+ originalFileName: z.ZodNullable<z.ZodString>;
605
+ mimeType: z.ZodString;
606
+ sizeBytes: z.ZodNullable<z.ZodNumber>;
607
+ width: z.ZodNullable<z.ZodNumber>;
608
+ height: z.ZodNullable<z.ZodNumber>;
609
+ durationMs: z.ZodNullable<z.ZodNumber>;
610
+ createdAt: z.ZodString;
611
+ }, z.core.$strip>>;
612
+ page: z.ZodObject<{
613
+ limit: z.ZodNumber;
614
+ nextCursor: z.ZodNullable<z.ZodString>;
615
+ }, z.core.$strip>;
616
+ }, z.core.$strip>;
617
+ meta: z.ZodObject<{
618
+ requestId: z.ZodString;
619
+ }, z.core.$strip>;
620
+ }, z.core.$strip>;
621
+ declare const MediaAssetUploadInputSchema: z.ZodObject<{
622
+ fileName: z.ZodString;
623
+ contentType: z.ZodString;
624
+ fileSize: z.ZodNumber;
625
+ }, z.core.$strict>;
626
+ type MediaAssetUploadInput = z.infer<typeof MediaAssetUploadInputSchema>;
627
+ declare const MediaAssetUploadPreparationSchema: z.ZodObject<{
628
+ uploadUrl: z.ZodString;
629
+ storageKey: z.ZodString;
630
+ expiresAt: z.ZodString;
631
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
632
+ maxFileSize: z.ZodNumber;
633
+ }, z.core.$strip>;
634
+ type MediaAssetUploadPreparation = z.infer<typeof MediaAssetUploadPreparationSchema>;
635
+ declare const MediaAssetUploadPreparationResponseSchema: z.ZodObject<{
636
+ data: z.ZodObject<{
637
+ uploadUrl: z.ZodString;
638
+ storageKey: z.ZodString;
639
+ expiresAt: z.ZodString;
640
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
641
+ maxFileSize: z.ZodNumber;
642
+ }, z.core.$strip>;
643
+ meta: z.ZodObject<{
644
+ requestId: z.ZodString;
645
+ }, z.core.$strip>;
646
+ }, z.core.$strip>;
647
+ declare const MediaAssetUploadCompleteInputSchema: z.ZodObject<{
648
+ fileName: z.ZodString;
649
+ contentType: z.ZodString;
650
+ fileSize: z.ZodNumber;
651
+ storageKey: z.ZodString;
652
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
653
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
654
+ durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
655
+ }, z.core.$strict>;
656
+ type MediaAssetUploadCompleteInput = z.infer<typeof MediaAssetUploadCompleteInputSchema>;
657
+ declare const MediaAssetResponseSchema: z.ZodObject<{
658
+ data: z.ZodObject<{
659
+ id: z.ZodString;
660
+ type: z.ZodEnum<{
661
+ IMAGE: "IMAGE";
662
+ VIDEO: "VIDEO";
663
+ }>;
664
+ url: z.ZodString;
665
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
666
+ originalFileName: z.ZodNullable<z.ZodString>;
667
+ mimeType: z.ZodString;
668
+ sizeBytes: z.ZodNullable<z.ZodNumber>;
669
+ width: z.ZodNullable<z.ZodNumber>;
670
+ height: z.ZodNullable<z.ZodNumber>;
671
+ durationMs: z.ZodNullable<z.ZodNumber>;
672
+ createdAt: z.ZodString;
673
+ }, z.core.$strip>;
674
+ meta: z.ZodObject<{
675
+ requestId: z.ZodString;
676
+ }, z.core.$strip>;
677
+ }, z.core.$strip>;
678
+ declare const PostDestinationSchema: z.ZodObject<{
679
+ provider: z.ZodEnum<{
680
+ INSTAGRAM: "INSTAGRAM";
681
+ TIKTOK: "TIKTOK";
682
+ YOUTUBE: "YOUTUBE";
683
+ BLUESKY: "BLUESKY";
684
+ }>;
685
+ status: z.ZodEnum<{
686
+ DRAFT: "DRAFT";
687
+ SCHEDULED: "SCHEDULED";
688
+ ACTION_REQUIRED: "ACTION_REQUIRED";
689
+ PUBLISHING: "PUBLISHING";
690
+ PUBLISHED: "PUBLISHED";
691
+ FAILED: "FAILED";
692
+ PREPARING: "PREPARING";
693
+ }>;
694
+ captionOverride: z.ZodNullable<z.ZodString>;
695
+ scheduledAt: z.ZodNullable<z.ZodString>;
696
+ publishedAt: z.ZodNullable<z.ZodString>;
697
+ remoteUrl: z.ZodNullable<z.ZodString>;
698
+ attemptCount: z.ZodNumber;
699
+ }, z.core.$strip>;
700
+ type PostDestination = z.infer<typeof PostDestinationSchema>;
701
+ declare const PublishingProviderSchema: z.ZodEnum<{
702
+ INSTAGRAM: "INSTAGRAM";
703
+ TIKTOK: "TIKTOK";
704
+ YOUTUBE: "YOUTUBE";
705
+ BLUESKY: "BLUESKY";
706
+ }>;
707
+ type PublishingProvider = z.infer<typeof PublishingProviderSchema>;
708
+ declare const PUBLISHING_PROVIDER_COUNT: number;
709
+ declare const PostSchema: z.ZodObject<{
710
+ id: z.ZodString;
711
+ projectId: z.ZodString;
712
+ version: z.ZodNumber;
713
+ campaign: z.ZodNullable<z.ZodObject<{
714
+ id: z.ZodString;
715
+ title: z.ZodString;
716
+ }, z.core.$strip>>;
717
+ caption: z.ZodString;
718
+ status: z.ZodEnum<{
719
+ DRAFT: "DRAFT";
720
+ SCHEDULED: "SCHEDULED";
721
+ ACTION_REQUIRED: "ACTION_REQUIRED";
722
+ PUBLISHING: "PUBLISHING";
723
+ PUBLISHED: "PUBLISHED";
724
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
725
+ FAILED: "FAILED";
726
+ }>;
727
+ scheduledAt: z.ZodNullable<z.ZodString>;
728
+ timezone: z.ZodNullable<z.ZodString>;
729
+ publishedAt: z.ZodNullable<z.ZodString>;
730
+ createdAt: z.ZodString;
731
+ updatedAt: z.ZodString;
732
+ media: z.ZodArray<z.ZodObject<{
733
+ id: z.ZodString;
734
+ type: z.ZodEnum<{
735
+ IMAGE: "IMAGE";
736
+ VIDEO: "VIDEO";
737
+ }>;
738
+ url: z.ZodString;
739
+ mimeType: z.ZodString;
740
+ width: z.ZodNullable<z.ZodNumber>;
741
+ height: z.ZodNullable<z.ZodNumber>;
742
+ durationMs: z.ZodNullable<z.ZodNumber>;
743
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
744
+ altText: z.ZodNullable<z.ZodString>;
745
+ position: z.ZodNumber;
746
+ }, z.core.$strip>>;
747
+ destinations: z.ZodArray<z.ZodObject<{
748
+ provider: z.ZodEnum<{
749
+ INSTAGRAM: "INSTAGRAM";
750
+ TIKTOK: "TIKTOK";
751
+ YOUTUBE: "YOUTUBE";
752
+ BLUESKY: "BLUESKY";
753
+ }>;
754
+ status: z.ZodEnum<{
755
+ DRAFT: "DRAFT";
756
+ SCHEDULED: "SCHEDULED";
757
+ ACTION_REQUIRED: "ACTION_REQUIRED";
758
+ PUBLISHING: "PUBLISHING";
759
+ PUBLISHED: "PUBLISHED";
760
+ FAILED: "FAILED";
761
+ PREPARING: "PREPARING";
762
+ }>;
763
+ captionOverride: z.ZodNullable<z.ZodString>;
764
+ scheduledAt: z.ZodNullable<z.ZodString>;
765
+ publishedAt: z.ZodNullable<z.ZodString>;
766
+ remoteUrl: z.ZodNullable<z.ZodString>;
767
+ attemptCount: z.ZodNumber;
768
+ }, z.core.$strip>>;
769
+ }, z.core.$strip>;
770
+ type Post = z.infer<typeof PostSchema>;
771
+ declare const PostListQuerySchema: z.ZodObject<{
772
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
773
+ cursor: z.ZodOptional<z.ZodString>;
774
+ status: z.ZodOptional<z.ZodEnum<{
775
+ DRAFT: "DRAFT";
776
+ SCHEDULED: "SCHEDULED";
777
+ ACTION_REQUIRED: "ACTION_REQUIRED";
778
+ PUBLISHING: "PUBLISHING";
779
+ PUBLISHED: "PUBLISHED";
780
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
781
+ FAILED: "FAILED";
782
+ }>>;
783
+ }, z.core.$strip>;
784
+ type PostListQuery = z.input<typeof PostListQuerySchema>;
785
+ declare const PostListDataSchema: z.ZodObject<{
786
+ items: z.ZodArray<z.ZodObject<{
787
+ id: z.ZodString;
788
+ projectId: z.ZodString;
789
+ version: z.ZodNumber;
790
+ campaign: z.ZodNullable<z.ZodObject<{
791
+ id: z.ZodString;
792
+ title: z.ZodString;
793
+ }, z.core.$strip>>;
794
+ caption: z.ZodString;
795
+ status: z.ZodEnum<{
796
+ DRAFT: "DRAFT";
797
+ SCHEDULED: "SCHEDULED";
798
+ ACTION_REQUIRED: "ACTION_REQUIRED";
799
+ PUBLISHING: "PUBLISHING";
800
+ PUBLISHED: "PUBLISHED";
801
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
802
+ FAILED: "FAILED";
803
+ }>;
804
+ scheduledAt: z.ZodNullable<z.ZodString>;
805
+ timezone: z.ZodNullable<z.ZodString>;
806
+ publishedAt: z.ZodNullable<z.ZodString>;
807
+ createdAt: z.ZodString;
808
+ updatedAt: z.ZodString;
809
+ media: z.ZodArray<z.ZodObject<{
810
+ id: z.ZodString;
811
+ type: z.ZodEnum<{
812
+ IMAGE: "IMAGE";
813
+ VIDEO: "VIDEO";
814
+ }>;
815
+ url: z.ZodString;
816
+ mimeType: z.ZodString;
817
+ width: z.ZodNullable<z.ZodNumber>;
818
+ height: z.ZodNullable<z.ZodNumber>;
819
+ durationMs: z.ZodNullable<z.ZodNumber>;
820
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
821
+ altText: z.ZodNullable<z.ZodString>;
822
+ position: z.ZodNumber;
823
+ }, z.core.$strip>>;
824
+ destinations: z.ZodArray<z.ZodObject<{
825
+ provider: z.ZodEnum<{
826
+ INSTAGRAM: "INSTAGRAM";
827
+ TIKTOK: "TIKTOK";
828
+ YOUTUBE: "YOUTUBE";
829
+ BLUESKY: "BLUESKY";
830
+ }>;
831
+ status: z.ZodEnum<{
832
+ DRAFT: "DRAFT";
833
+ SCHEDULED: "SCHEDULED";
834
+ ACTION_REQUIRED: "ACTION_REQUIRED";
835
+ PUBLISHING: "PUBLISHING";
836
+ PUBLISHED: "PUBLISHED";
837
+ FAILED: "FAILED";
838
+ PREPARING: "PREPARING";
839
+ }>;
840
+ captionOverride: z.ZodNullable<z.ZodString>;
841
+ scheduledAt: z.ZodNullable<z.ZodString>;
842
+ publishedAt: z.ZodNullable<z.ZodString>;
843
+ remoteUrl: z.ZodNullable<z.ZodString>;
844
+ attemptCount: z.ZodNumber;
845
+ }, z.core.$strip>>;
846
+ }, z.core.$strip>>;
847
+ page: z.ZodObject<{
848
+ limit: z.ZodNumber;
849
+ nextCursor: z.ZodNullable<z.ZodString>;
850
+ }, z.core.$strip>;
851
+ }, z.core.$strip>;
852
+ type PostListData = z.infer<typeof PostListDataSchema>;
853
+ declare const PostListResponseSchema: z.ZodObject<{
854
+ data: z.ZodObject<{
855
+ items: z.ZodArray<z.ZodObject<{
856
+ id: z.ZodString;
857
+ projectId: z.ZodString;
858
+ version: z.ZodNumber;
859
+ campaign: z.ZodNullable<z.ZodObject<{
860
+ id: z.ZodString;
861
+ title: z.ZodString;
862
+ }, z.core.$strip>>;
863
+ caption: z.ZodString;
864
+ status: z.ZodEnum<{
865
+ DRAFT: "DRAFT";
866
+ SCHEDULED: "SCHEDULED";
867
+ ACTION_REQUIRED: "ACTION_REQUIRED";
868
+ PUBLISHING: "PUBLISHING";
869
+ PUBLISHED: "PUBLISHED";
870
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
871
+ FAILED: "FAILED";
872
+ }>;
873
+ scheduledAt: z.ZodNullable<z.ZodString>;
874
+ timezone: z.ZodNullable<z.ZodString>;
875
+ publishedAt: z.ZodNullable<z.ZodString>;
876
+ createdAt: z.ZodString;
877
+ updatedAt: z.ZodString;
878
+ media: z.ZodArray<z.ZodObject<{
879
+ id: z.ZodString;
880
+ type: z.ZodEnum<{
881
+ IMAGE: "IMAGE";
882
+ VIDEO: "VIDEO";
883
+ }>;
884
+ url: z.ZodString;
885
+ mimeType: z.ZodString;
886
+ width: z.ZodNullable<z.ZodNumber>;
887
+ height: z.ZodNullable<z.ZodNumber>;
888
+ durationMs: z.ZodNullable<z.ZodNumber>;
889
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
890
+ altText: z.ZodNullable<z.ZodString>;
891
+ position: z.ZodNumber;
892
+ }, z.core.$strip>>;
893
+ destinations: z.ZodArray<z.ZodObject<{
894
+ provider: z.ZodEnum<{
895
+ INSTAGRAM: "INSTAGRAM";
896
+ TIKTOK: "TIKTOK";
897
+ YOUTUBE: "YOUTUBE";
898
+ BLUESKY: "BLUESKY";
899
+ }>;
900
+ status: z.ZodEnum<{
901
+ DRAFT: "DRAFT";
902
+ SCHEDULED: "SCHEDULED";
903
+ ACTION_REQUIRED: "ACTION_REQUIRED";
904
+ PUBLISHING: "PUBLISHING";
905
+ PUBLISHED: "PUBLISHED";
906
+ FAILED: "FAILED";
907
+ PREPARING: "PREPARING";
908
+ }>;
909
+ captionOverride: z.ZodNullable<z.ZodString>;
910
+ scheduledAt: z.ZodNullable<z.ZodString>;
911
+ publishedAt: z.ZodNullable<z.ZodString>;
912
+ remoteUrl: z.ZodNullable<z.ZodString>;
913
+ attemptCount: z.ZodNumber;
914
+ }, z.core.$strip>>;
915
+ }, z.core.$strip>>;
916
+ page: z.ZodObject<{
917
+ limit: z.ZodNumber;
918
+ nextCursor: z.ZodNullable<z.ZodString>;
919
+ }, z.core.$strip>;
920
+ }, z.core.$strip>;
921
+ meta: z.ZodObject<{
922
+ requestId: z.ZodString;
923
+ }, z.core.$strip>;
924
+ }, z.core.$strip>;
925
+ type PostListResponse = z.infer<typeof PostListResponseSchema>;
926
+ declare const PostResponseSchema: z.ZodObject<{
927
+ data: z.ZodObject<{
928
+ id: z.ZodString;
929
+ projectId: z.ZodString;
930
+ version: z.ZodNumber;
931
+ campaign: z.ZodNullable<z.ZodObject<{
932
+ id: z.ZodString;
933
+ title: z.ZodString;
934
+ }, z.core.$strip>>;
935
+ caption: z.ZodString;
936
+ status: z.ZodEnum<{
937
+ DRAFT: "DRAFT";
938
+ SCHEDULED: "SCHEDULED";
939
+ ACTION_REQUIRED: "ACTION_REQUIRED";
940
+ PUBLISHING: "PUBLISHING";
941
+ PUBLISHED: "PUBLISHED";
942
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
943
+ FAILED: "FAILED";
944
+ }>;
945
+ scheduledAt: z.ZodNullable<z.ZodString>;
946
+ timezone: z.ZodNullable<z.ZodString>;
947
+ publishedAt: z.ZodNullable<z.ZodString>;
948
+ createdAt: z.ZodString;
949
+ updatedAt: z.ZodString;
950
+ media: z.ZodArray<z.ZodObject<{
951
+ id: z.ZodString;
952
+ type: z.ZodEnum<{
953
+ IMAGE: "IMAGE";
954
+ VIDEO: "VIDEO";
955
+ }>;
956
+ url: z.ZodString;
957
+ mimeType: z.ZodString;
958
+ width: z.ZodNullable<z.ZodNumber>;
959
+ height: z.ZodNullable<z.ZodNumber>;
960
+ durationMs: z.ZodNullable<z.ZodNumber>;
961
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
962
+ altText: z.ZodNullable<z.ZodString>;
963
+ position: z.ZodNumber;
964
+ }, z.core.$strip>>;
965
+ destinations: z.ZodArray<z.ZodObject<{
966
+ provider: z.ZodEnum<{
967
+ INSTAGRAM: "INSTAGRAM";
968
+ TIKTOK: "TIKTOK";
969
+ YOUTUBE: "YOUTUBE";
970
+ BLUESKY: "BLUESKY";
971
+ }>;
972
+ status: z.ZodEnum<{
973
+ DRAFT: "DRAFT";
974
+ SCHEDULED: "SCHEDULED";
975
+ ACTION_REQUIRED: "ACTION_REQUIRED";
976
+ PUBLISHING: "PUBLISHING";
977
+ PUBLISHED: "PUBLISHED";
978
+ FAILED: "FAILED";
979
+ PREPARING: "PREPARING";
980
+ }>;
981
+ captionOverride: z.ZodNullable<z.ZodString>;
982
+ scheduledAt: z.ZodNullable<z.ZodString>;
983
+ publishedAt: z.ZodNullable<z.ZodString>;
984
+ remoteUrl: z.ZodNullable<z.ZodString>;
985
+ attemptCount: z.ZodNumber;
986
+ }, z.core.$strip>>;
987
+ }, z.core.$strip>;
988
+ meta: z.ZodObject<{
989
+ requestId: z.ZodString;
990
+ }, z.core.$strip>;
991
+ }, z.core.$strip>;
992
+ type PostResponse = z.infer<typeof PostResponseSchema>;
993
+ declare const TikTokPostSettingsSchema: z.ZodObject<{
994
+ postMode: z.ZodDefault<z.ZodEnum<{
995
+ DIRECT_POST: "DIRECT_POST";
996
+ MEDIA_UPLOAD: "MEDIA_UPLOAD";
997
+ }>>;
998
+ privacyLevel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
999
+ allowComment: z.ZodDefault<z.ZodBoolean>;
1000
+ allowDuet: z.ZodDefault<z.ZodBoolean>;
1001
+ allowStitch: z.ZodDefault<z.ZodBoolean>;
1002
+ commercialContentEnabled: z.ZodDefault<z.ZodBoolean>;
1003
+ promotesOwnBrand: z.ZodDefault<z.ZodBoolean>;
1004
+ promotesThirdParty: z.ZodDefault<z.ZodBoolean>;
1005
+ isAiGenerated: z.ZodDefault<z.ZodBoolean>;
1006
+ videoCoverTimestampMs: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1007
+ consentedAt: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"">]>>;
1008
+ }, z.core.$strict>;
1009
+ type TikTokPostSettings = z.infer<typeof TikTokPostSettingsSchema>;
1010
+ declare const YouTubePostSettingsSchema: z.ZodObject<{
1011
+ title: z.ZodString;
1012
+ categoryId: z.ZodString;
1013
+ privacyStatus: z.ZodEnum<{
1014
+ PUBLIC: "PUBLIC";
1015
+ UNLISTED: "UNLISTED";
1016
+ PRIVATE: "PRIVATE";
1017
+ }>;
1018
+ madeForKids: z.ZodBoolean;
1019
+ containsSyntheticMedia: z.ZodDefault<z.ZodBoolean>;
1020
+ notifySubscribers: z.ZodDefault<z.ZodBoolean>;
1021
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1022
+ }, z.core.$strict>;
1023
+ type YouTubePostSettings = z.infer<typeof YouTubePostSettingsSchema>;
1024
+ declare const DraftPostInputSchema: z.ZodObject<{
1025
+ caption: z.ZodDefault<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
1026
+ platforms: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1027
+ INSTAGRAM: "INSTAGRAM";
1028
+ TIKTOK: "TIKTOK";
1029
+ YOUTUBE: "YOUTUBE";
1030
+ BLUESKY: "BLUESKY";
1031
+ }>>>;
1032
+ mediaAssetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1033
+ captionOverrides: z.ZodDefault<z.ZodObject<{
1034
+ INSTAGRAM: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1035
+ TIKTOK: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1036
+ YOUTUBE: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1037
+ BLUESKY: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1038
+ }, z.core.$strict>>;
1039
+ tiktokSettings: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1040
+ postMode: z.ZodDefault<z.ZodEnum<{
1041
+ DIRECT_POST: "DIRECT_POST";
1042
+ MEDIA_UPLOAD: "MEDIA_UPLOAD";
1043
+ }>>;
1044
+ privacyLevel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1045
+ allowComment: z.ZodDefault<z.ZodBoolean>;
1046
+ allowDuet: z.ZodDefault<z.ZodBoolean>;
1047
+ allowStitch: z.ZodDefault<z.ZodBoolean>;
1048
+ commercialContentEnabled: z.ZodDefault<z.ZodBoolean>;
1049
+ promotesOwnBrand: z.ZodDefault<z.ZodBoolean>;
1050
+ promotesThirdParty: z.ZodDefault<z.ZodBoolean>;
1051
+ isAiGenerated: z.ZodDefault<z.ZodBoolean>;
1052
+ videoCoverTimestampMs: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1053
+ consentedAt: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"">]>>;
1054
+ }, z.core.$strict>>>;
1055
+ youtubeSettings: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1056
+ title: z.ZodString;
1057
+ categoryId: z.ZodString;
1058
+ privacyStatus: z.ZodEnum<{
1059
+ PUBLIC: "PUBLIC";
1060
+ UNLISTED: "UNLISTED";
1061
+ PRIVATE: "PRIVATE";
1062
+ }>;
1063
+ madeForKids: z.ZodBoolean;
1064
+ containsSyntheticMedia: z.ZodDefault<z.ZodBoolean>;
1065
+ notifySubscribers: z.ZodDefault<z.ZodBoolean>;
1066
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1067
+ }, z.core.$strict>>>;
1068
+ }, z.core.$strict>;
1069
+ type DraftPostInput = z.input<typeof DraftPostInputSchema>;
1070
+ type DraftPostData = z.infer<typeof DraftPostInputSchema>;
1071
+ declare const IntegrationConnectionStatusSchema: z.ZodEnum<{
1072
+ PENDING: "PENDING";
1073
+ CONNECTED: "CONNECTED";
1074
+ ERROR: "ERROR";
1075
+ EXPIRED: "EXPIRED";
1076
+ DISCONNECTED: "DISCONNECTED";
1077
+ }>;
1078
+ declare const ProviderHealthStatusSchema: z.ZodEnum<{
1079
+ unknown: "unknown";
1080
+ pass: "pass";
1081
+ blocking: "blocking";
1082
+ }>;
1083
+ declare const IntegrationHealthSchema: z.ZodObject<{
1084
+ provider: z.ZodEnum<{
1085
+ INSTAGRAM: "INSTAGRAM";
1086
+ TIKTOK: "TIKTOK";
1087
+ YOUTUBE: "YOUTUBE";
1088
+ BLUESKY: "BLUESKY";
1089
+ }>;
1090
+ connectionStatus: z.ZodEnum<{
1091
+ PENDING: "PENDING";
1092
+ CONNECTED: "CONNECTED";
1093
+ ERROR: "ERROR";
1094
+ EXPIRED: "EXPIRED";
1095
+ DISCONNECTED: "DISCONNECTED";
1096
+ }>;
1097
+ connected: z.ZodBoolean;
1098
+ account: z.ZodObject<{
1099
+ username: z.ZodNullable<z.ZodString>;
1100
+ displayName: z.ZodNullable<z.ZodString>;
1101
+ avatarUrl: z.ZodNullable<z.ZodString>;
1102
+ }, z.core.$strip>;
1103
+ grantedScopes: z.ZodArray<z.ZodString>;
1104
+ expiresAt: z.ZodNullable<z.ZodString>;
1105
+ health: z.ZodObject<{
1106
+ status: z.ZodEnum<{
1107
+ unknown: "unknown";
1108
+ pass: "pass";
1109
+ blocking: "blocking";
1110
+ }>;
1111
+ checkedAt: z.ZodNullable<z.ZodString>;
1112
+ code: z.ZodString;
1113
+ message: z.ZodString;
1114
+ isStale: z.ZodBoolean;
1115
+ requiresAction: z.ZodBoolean;
1116
+ refreshRecommended: z.ZodBoolean;
1117
+ }, z.core.$strip>;
1118
+ }, z.core.$strip>;
1119
+ type IntegrationHealth = z.infer<typeof IntegrationHealthSchema>;
1120
+ declare const IntegrationHealthListDataSchema: z.ZodObject<{
1121
+ items: z.ZodArray<z.ZodObject<{
1122
+ provider: z.ZodEnum<{
1123
+ INSTAGRAM: "INSTAGRAM";
1124
+ TIKTOK: "TIKTOK";
1125
+ YOUTUBE: "YOUTUBE";
1126
+ BLUESKY: "BLUESKY";
1127
+ }>;
1128
+ connectionStatus: z.ZodEnum<{
1129
+ PENDING: "PENDING";
1130
+ CONNECTED: "CONNECTED";
1131
+ ERROR: "ERROR";
1132
+ EXPIRED: "EXPIRED";
1133
+ DISCONNECTED: "DISCONNECTED";
1134
+ }>;
1135
+ connected: z.ZodBoolean;
1136
+ account: z.ZodObject<{
1137
+ username: z.ZodNullable<z.ZodString>;
1138
+ displayName: z.ZodNullable<z.ZodString>;
1139
+ avatarUrl: z.ZodNullable<z.ZodString>;
1140
+ }, z.core.$strip>;
1141
+ grantedScopes: z.ZodArray<z.ZodString>;
1142
+ expiresAt: z.ZodNullable<z.ZodString>;
1143
+ health: z.ZodObject<{
1144
+ status: z.ZodEnum<{
1145
+ unknown: "unknown";
1146
+ pass: "pass";
1147
+ blocking: "blocking";
1148
+ }>;
1149
+ checkedAt: z.ZodNullable<z.ZodString>;
1150
+ code: z.ZodString;
1151
+ message: z.ZodString;
1152
+ isStale: z.ZodBoolean;
1153
+ requiresAction: z.ZodBoolean;
1154
+ refreshRecommended: z.ZodBoolean;
1155
+ }, z.core.$strip>;
1156
+ }, z.core.$strip>>;
1157
+ }, z.core.$strip>;
1158
+ type IntegrationHealthListData = z.infer<typeof IntegrationHealthListDataSchema>;
1159
+ declare const IntegrationHealthListResponseSchema: z.ZodObject<{
1160
+ data: z.ZodObject<{
1161
+ items: z.ZodArray<z.ZodObject<{
1162
+ provider: z.ZodEnum<{
1163
+ INSTAGRAM: "INSTAGRAM";
1164
+ TIKTOK: "TIKTOK";
1165
+ YOUTUBE: "YOUTUBE";
1166
+ BLUESKY: "BLUESKY";
1167
+ }>;
1168
+ connectionStatus: z.ZodEnum<{
1169
+ PENDING: "PENDING";
1170
+ CONNECTED: "CONNECTED";
1171
+ ERROR: "ERROR";
1172
+ EXPIRED: "EXPIRED";
1173
+ DISCONNECTED: "DISCONNECTED";
1174
+ }>;
1175
+ connected: z.ZodBoolean;
1176
+ account: z.ZodObject<{
1177
+ username: z.ZodNullable<z.ZodString>;
1178
+ displayName: z.ZodNullable<z.ZodString>;
1179
+ avatarUrl: z.ZodNullable<z.ZodString>;
1180
+ }, z.core.$strip>;
1181
+ grantedScopes: z.ZodArray<z.ZodString>;
1182
+ expiresAt: z.ZodNullable<z.ZodString>;
1183
+ health: z.ZodObject<{
1184
+ status: z.ZodEnum<{
1185
+ unknown: "unknown";
1186
+ pass: "pass";
1187
+ blocking: "blocking";
1188
+ }>;
1189
+ checkedAt: z.ZodNullable<z.ZodString>;
1190
+ code: z.ZodString;
1191
+ message: z.ZodString;
1192
+ isStale: z.ZodBoolean;
1193
+ requiresAction: z.ZodBoolean;
1194
+ refreshRecommended: z.ZodBoolean;
1195
+ }, z.core.$strip>;
1196
+ }, z.core.$strip>>;
1197
+ }, z.core.$strip>;
1198
+ meta: z.ZodObject<{
1199
+ requestId: z.ZodString;
1200
+ }, z.core.$strip>;
1201
+ }, z.core.$strip>;
1202
+ declare const ReadinessStatusSchema: z.ZodEnum<{
1203
+ unknown: "unknown";
1204
+ pass: "pass";
1205
+ blocking: "blocking";
1206
+ checking: "checking";
1207
+ warning: "warning";
1208
+ }>;
1209
+ declare const ReadinessActionSchema: z.ZodObject<{
1210
+ kind: z.ZodEnum<{
1211
+ reconnect: "reconnect";
1212
+ replace_media: "replace_media";
1213
+ review_settings: "review_settings";
1214
+ edit_caption: "edit_caption";
1215
+ refresh_health: "refresh_health";
1216
+ }>;
1217
+ provider: z.ZodOptional<z.ZodEnum<{
1218
+ INSTAGRAM: "INSTAGRAM";
1219
+ TIKTOK: "TIKTOK";
1220
+ YOUTUBE: "YOUTUBE";
1221
+ BLUESKY: "BLUESKY";
1222
+ }>>;
1223
+ }, z.core.$strip>;
1224
+ declare const PostReadinessCheckSchema: z.ZodObject<{
1225
+ key: z.ZodString;
1226
+ id: z.ZodEnum<{
1227
+ caption: "caption";
1228
+ media: "media";
1229
+ connection: "connection";
1230
+ permissions: "permissions";
1231
+ tiktok_settings: "tiktok_settings";
1232
+ youtube_settings: "youtube_settings";
1233
+ storage: "storage";
1234
+ schedule_lead: "schedule_lead";
1235
+ token_health: "token_health";
1236
+ media_duration: "media_duration";
1237
+ provider_health: "provider_health";
1238
+ }>;
1239
+ provider: z.ZodNullable<z.ZodEnum<{
1240
+ INSTAGRAM: "INSTAGRAM";
1241
+ TIKTOK: "TIKTOK";
1242
+ YOUTUBE: "YOUTUBE";
1243
+ BLUESKY: "BLUESKY";
1244
+ }>>;
1245
+ mediaId: z.ZodOptional<z.ZodString>;
1246
+ status: z.ZodEnum<{
1247
+ unknown: "unknown";
1248
+ pass: "pass";
1249
+ blocking: "blocking";
1250
+ checking: "checking";
1251
+ warning: "warning";
1252
+ }>;
1253
+ source: z.ZodEnum<{
1254
+ local: "local";
1255
+ live: "live";
1256
+ }>;
1257
+ checkedAt: z.ZodNullable<z.ZodString>;
1258
+ message: z.ZodString;
1259
+ code: z.ZodString;
1260
+ action: z.ZodNullable<z.ZodObject<{
1261
+ kind: z.ZodEnum<{
1262
+ reconnect: "reconnect";
1263
+ replace_media: "replace_media";
1264
+ review_settings: "review_settings";
1265
+ edit_caption: "edit_caption";
1266
+ refresh_health: "refresh_health";
1267
+ }>;
1268
+ provider: z.ZodOptional<z.ZodEnum<{
1269
+ INSTAGRAM: "INSTAGRAM";
1270
+ TIKTOK: "TIKTOK";
1271
+ YOUTUBE: "YOUTUBE";
1272
+ BLUESKY: "BLUESKY";
1273
+ }>>;
1274
+ }, z.core.$strip>>;
1275
+ }, z.core.$strip>;
1276
+ declare const PostReadinessSchema: z.ZodObject<{
1277
+ checks: z.ZodArray<z.ZodObject<{
1278
+ key: z.ZodString;
1279
+ id: z.ZodEnum<{
1280
+ caption: "caption";
1281
+ media: "media";
1282
+ connection: "connection";
1283
+ permissions: "permissions";
1284
+ tiktok_settings: "tiktok_settings";
1285
+ youtube_settings: "youtube_settings";
1286
+ storage: "storage";
1287
+ schedule_lead: "schedule_lead";
1288
+ token_health: "token_health";
1289
+ media_duration: "media_duration";
1290
+ provider_health: "provider_health";
1291
+ }>;
1292
+ provider: z.ZodNullable<z.ZodEnum<{
1293
+ INSTAGRAM: "INSTAGRAM";
1294
+ TIKTOK: "TIKTOK";
1295
+ YOUTUBE: "YOUTUBE";
1296
+ BLUESKY: "BLUESKY";
1297
+ }>>;
1298
+ mediaId: z.ZodOptional<z.ZodString>;
1299
+ status: z.ZodEnum<{
1300
+ unknown: "unknown";
1301
+ pass: "pass";
1302
+ blocking: "blocking";
1303
+ checking: "checking";
1304
+ warning: "warning";
1305
+ }>;
1306
+ source: z.ZodEnum<{
1307
+ local: "local";
1308
+ live: "live";
1309
+ }>;
1310
+ checkedAt: z.ZodNullable<z.ZodString>;
1311
+ message: z.ZodString;
1312
+ code: z.ZodString;
1313
+ action: z.ZodNullable<z.ZodObject<{
1314
+ kind: z.ZodEnum<{
1315
+ reconnect: "reconnect";
1316
+ replace_media: "replace_media";
1317
+ review_settings: "review_settings";
1318
+ edit_caption: "edit_caption";
1319
+ refresh_health: "refresh_health";
1320
+ }>;
1321
+ provider: z.ZodOptional<z.ZodEnum<{
1322
+ INSTAGRAM: "INSTAGRAM";
1323
+ TIKTOK: "TIKTOK";
1324
+ YOUTUBE: "YOUTUBE";
1325
+ BLUESKY: "BLUESKY";
1326
+ }>>;
1327
+ }, z.core.$strip>>;
1328
+ }, z.core.$strip>>;
1329
+ accounts: z.ZodArray<z.ZodObject<{
1330
+ provider: z.ZodEnum<{
1331
+ INSTAGRAM: "INSTAGRAM";
1332
+ TIKTOK: "TIKTOK";
1333
+ YOUTUBE: "YOUTUBE";
1334
+ BLUESKY: "BLUESKY";
1335
+ }>;
1336
+ connected: z.ZodBoolean;
1337
+ username: z.ZodNullable<z.ZodString>;
1338
+ avatarUrl: z.ZodNullable<z.ZodString>;
1339
+ requiresAction: z.ZodBoolean;
1340
+ }, z.core.$strip>>;
1341
+ hasBlockingChecks: z.ZodBoolean;
1342
+ requiresLiveRefresh: z.ZodArray<z.ZodEnum<{
1343
+ INSTAGRAM: "INSTAGRAM";
1344
+ TIKTOK: "TIKTOK";
1345
+ YOUTUBE: "YOUTUBE";
1346
+ BLUESKY: "BLUESKY";
1347
+ }>>;
1348
+ liveHealthCheckedAt: z.ZodNullable<z.ZodString>;
1349
+ }, z.core.$strip>;
1350
+ type PostReadiness = z.infer<typeof PostReadinessSchema>;
1351
+ declare const PostReadinessResponseSchema: z.ZodObject<{
1352
+ data: z.ZodObject<{
1353
+ checks: z.ZodArray<z.ZodObject<{
1354
+ key: z.ZodString;
1355
+ id: z.ZodEnum<{
1356
+ caption: "caption";
1357
+ media: "media";
1358
+ connection: "connection";
1359
+ permissions: "permissions";
1360
+ tiktok_settings: "tiktok_settings";
1361
+ youtube_settings: "youtube_settings";
1362
+ storage: "storage";
1363
+ schedule_lead: "schedule_lead";
1364
+ token_health: "token_health";
1365
+ media_duration: "media_duration";
1366
+ provider_health: "provider_health";
1367
+ }>;
1368
+ provider: z.ZodNullable<z.ZodEnum<{
1369
+ INSTAGRAM: "INSTAGRAM";
1370
+ TIKTOK: "TIKTOK";
1371
+ YOUTUBE: "YOUTUBE";
1372
+ BLUESKY: "BLUESKY";
1373
+ }>>;
1374
+ mediaId: z.ZodOptional<z.ZodString>;
1375
+ status: z.ZodEnum<{
1376
+ unknown: "unknown";
1377
+ pass: "pass";
1378
+ blocking: "blocking";
1379
+ checking: "checking";
1380
+ warning: "warning";
1381
+ }>;
1382
+ source: z.ZodEnum<{
1383
+ local: "local";
1384
+ live: "live";
1385
+ }>;
1386
+ checkedAt: z.ZodNullable<z.ZodString>;
1387
+ message: z.ZodString;
1388
+ code: z.ZodString;
1389
+ action: z.ZodNullable<z.ZodObject<{
1390
+ kind: z.ZodEnum<{
1391
+ reconnect: "reconnect";
1392
+ replace_media: "replace_media";
1393
+ review_settings: "review_settings";
1394
+ edit_caption: "edit_caption";
1395
+ refresh_health: "refresh_health";
1396
+ }>;
1397
+ provider: z.ZodOptional<z.ZodEnum<{
1398
+ INSTAGRAM: "INSTAGRAM";
1399
+ TIKTOK: "TIKTOK";
1400
+ YOUTUBE: "YOUTUBE";
1401
+ BLUESKY: "BLUESKY";
1402
+ }>>;
1403
+ }, z.core.$strip>>;
1404
+ }, z.core.$strip>>;
1405
+ accounts: z.ZodArray<z.ZodObject<{
1406
+ provider: z.ZodEnum<{
1407
+ INSTAGRAM: "INSTAGRAM";
1408
+ TIKTOK: "TIKTOK";
1409
+ YOUTUBE: "YOUTUBE";
1410
+ BLUESKY: "BLUESKY";
1411
+ }>;
1412
+ connected: z.ZodBoolean;
1413
+ username: z.ZodNullable<z.ZodString>;
1414
+ avatarUrl: z.ZodNullable<z.ZodString>;
1415
+ requiresAction: z.ZodBoolean;
1416
+ }, z.core.$strip>>;
1417
+ hasBlockingChecks: z.ZodBoolean;
1418
+ requiresLiveRefresh: z.ZodArray<z.ZodEnum<{
1419
+ INSTAGRAM: "INSTAGRAM";
1420
+ TIKTOK: "TIKTOK";
1421
+ YOUTUBE: "YOUTUBE";
1422
+ BLUESKY: "BLUESKY";
1423
+ }>>;
1424
+ liveHealthCheckedAt: z.ZodNullable<z.ZodString>;
1425
+ }, z.core.$strip>;
1426
+ meta: z.ZodObject<{
1427
+ requestId: z.ZodString;
1428
+ }, z.core.$strip>;
1429
+ }, z.core.$strip>;
1430
+ declare const PostScheduleInputSchema: z.ZodObject<{
1431
+ scheduledAt: z.ZodString;
1432
+ timezone: z.ZodString;
1433
+ }, z.core.$strict>;
1434
+ type PostScheduleInput = z.infer<typeof PostScheduleInputSchema>;
1435
+ declare const PostScheduleExecuteInputSchema: z.ZodObject<{
1436
+ scheduledAt: z.ZodString;
1437
+ timezone: z.ZodString;
1438
+ confirmationToken: z.ZodString;
1439
+ }, z.core.$strict>;
1440
+ type PostScheduleExecuteInput = z.infer<typeof PostScheduleExecuteInputSchema>;
1441
+ declare const PostSchedulePreviewSchema: z.ZodObject<{
1442
+ operation: z.ZodLiteral<"posts.schedule.execute">;
1443
+ post: z.ZodObject<{
1444
+ id: z.ZodString;
1445
+ projectId: z.ZodString;
1446
+ version: z.ZodNumber;
1447
+ status: z.ZodEnum<{
1448
+ DRAFT: "DRAFT";
1449
+ SCHEDULED: "SCHEDULED";
1450
+ ACTION_REQUIRED: "ACTION_REQUIRED";
1451
+ PUBLISHING: "PUBLISHING";
1452
+ PUBLISHED: "PUBLISHED";
1453
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
1454
+ FAILED: "FAILED";
1455
+ }>;
1456
+ }, z.core.$strip>;
1457
+ schedule: z.ZodObject<{
1458
+ scheduledAt: z.ZodString;
1459
+ timezone: z.ZodString;
1460
+ }, z.core.$strict>;
1461
+ destinations: z.ZodArray<z.ZodEnum<{
1462
+ INSTAGRAM: "INSTAGRAM";
1463
+ TIKTOK: "TIKTOK";
1464
+ YOUTUBE: "YOUTUBE";
1465
+ BLUESKY: "BLUESKY";
1466
+ }>>;
1467
+ providerReconciliation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1468
+ provider: z.ZodLiteral<"YOUTUBE">;
1469
+ required: z.ZodBoolean;
1470
+ message: z.ZodString;
1471
+ }, z.core.$strip>>>;
1472
+ readiness: z.ZodObject<{
1473
+ checks: z.ZodArray<z.ZodObject<{
1474
+ key: z.ZodString;
1475
+ id: z.ZodEnum<{
1476
+ caption: "caption";
1477
+ media: "media";
1478
+ connection: "connection";
1479
+ permissions: "permissions";
1480
+ tiktok_settings: "tiktok_settings";
1481
+ youtube_settings: "youtube_settings";
1482
+ storage: "storage";
1483
+ schedule_lead: "schedule_lead";
1484
+ token_health: "token_health";
1485
+ media_duration: "media_duration";
1486
+ provider_health: "provider_health";
1487
+ }>;
1488
+ provider: z.ZodNullable<z.ZodEnum<{
1489
+ INSTAGRAM: "INSTAGRAM";
1490
+ TIKTOK: "TIKTOK";
1491
+ YOUTUBE: "YOUTUBE";
1492
+ BLUESKY: "BLUESKY";
1493
+ }>>;
1494
+ mediaId: z.ZodOptional<z.ZodString>;
1495
+ status: z.ZodEnum<{
1496
+ unknown: "unknown";
1497
+ pass: "pass";
1498
+ blocking: "blocking";
1499
+ checking: "checking";
1500
+ warning: "warning";
1501
+ }>;
1502
+ source: z.ZodEnum<{
1503
+ local: "local";
1504
+ live: "live";
1505
+ }>;
1506
+ checkedAt: z.ZodNullable<z.ZodString>;
1507
+ message: z.ZodString;
1508
+ code: z.ZodString;
1509
+ action: z.ZodNullable<z.ZodObject<{
1510
+ kind: z.ZodEnum<{
1511
+ reconnect: "reconnect";
1512
+ replace_media: "replace_media";
1513
+ review_settings: "review_settings";
1514
+ edit_caption: "edit_caption";
1515
+ refresh_health: "refresh_health";
1516
+ }>;
1517
+ provider: z.ZodOptional<z.ZodEnum<{
1518
+ INSTAGRAM: "INSTAGRAM";
1519
+ TIKTOK: "TIKTOK";
1520
+ YOUTUBE: "YOUTUBE";
1521
+ BLUESKY: "BLUESKY";
1522
+ }>>;
1523
+ }, z.core.$strip>>;
1524
+ }, z.core.$strip>>;
1525
+ accounts: z.ZodArray<z.ZodObject<{
1526
+ provider: z.ZodEnum<{
1527
+ INSTAGRAM: "INSTAGRAM";
1528
+ TIKTOK: "TIKTOK";
1529
+ YOUTUBE: "YOUTUBE";
1530
+ BLUESKY: "BLUESKY";
1531
+ }>;
1532
+ connected: z.ZodBoolean;
1533
+ username: z.ZodNullable<z.ZodString>;
1534
+ avatarUrl: z.ZodNullable<z.ZodString>;
1535
+ requiresAction: z.ZodBoolean;
1536
+ }, z.core.$strip>>;
1537
+ hasBlockingChecks: z.ZodBoolean;
1538
+ requiresLiveRefresh: z.ZodArray<z.ZodEnum<{
1539
+ INSTAGRAM: "INSTAGRAM";
1540
+ TIKTOK: "TIKTOK";
1541
+ YOUTUBE: "YOUTUBE";
1542
+ BLUESKY: "BLUESKY";
1543
+ }>>;
1544
+ liveHealthCheckedAt: z.ZodNullable<z.ZodString>;
1545
+ }, z.core.$strip>;
1546
+ confirmation: z.ZodObject<{
1547
+ token: z.ZodString;
1548
+ expiresAt: z.ZodString;
1549
+ }, z.core.$strip>;
1550
+ }, z.core.$strip>;
1551
+ type PostSchedulePreview = z.infer<typeof PostSchedulePreviewSchema>;
1552
+ declare const PostSchedulePreviewResponseSchema: z.ZodObject<{
1553
+ data: z.ZodObject<{
1554
+ operation: z.ZodLiteral<"posts.schedule.execute">;
1555
+ post: z.ZodObject<{
1556
+ id: z.ZodString;
1557
+ projectId: z.ZodString;
1558
+ version: z.ZodNumber;
1559
+ status: z.ZodEnum<{
1560
+ DRAFT: "DRAFT";
1561
+ SCHEDULED: "SCHEDULED";
1562
+ ACTION_REQUIRED: "ACTION_REQUIRED";
1563
+ PUBLISHING: "PUBLISHING";
1564
+ PUBLISHED: "PUBLISHED";
1565
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
1566
+ FAILED: "FAILED";
1567
+ }>;
1568
+ }, z.core.$strip>;
1569
+ schedule: z.ZodObject<{
1570
+ scheduledAt: z.ZodString;
1571
+ timezone: z.ZodString;
1572
+ }, z.core.$strict>;
1573
+ destinations: z.ZodArray<z.ZodEnum<{
1574
+ INSTAGRAM: "INSTAGRAM";
1575
+ TIKTOK: "TIKTOK";
1576
+ YOUTUBE: "YOUTUBE";
1577
+ BLUESKY: "BLUESKY";
1578
+ }>>;
1579
+ providerReconciliation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1580
+ provider: z.ZodLiteral<"YOUTUBE">;
1581
+ required: z.ZodBoolean;
1582
+ message: z.ZodString;
1583
+ }, z.core.$strip>>>;
1584
+ readiness: z.ZodObject<{
1585
+ checks: z.ZodArray<z.ZodObject<{
1586
+ key: z.ZodString;
1587
+ id: z.ZodEnum<{
1588
+ caption: "caption";
1589
+ media: "media";
1590
+ connection: "connection";
1591
+ permissions: "permissions";
1592
+ tiktok_settings: "tiktok_settings";
1593
+ youtube_settings: "youtube_settings";
1594
+ storage: "storage";
1595
+ schedule_lead: "schedule_lead";
1596
+ token_health: "token_health";
1597
+ media_duration: "media_duration";
1598
+ provider_health: "provider_health";
1599
+ }>;
1600
+ provider: z.ZodNullable<z.ZodEnum<{
1601
+ INSTAGRAM: "INSTAGRAM";
1602
+ TIKTOK: "TIKTOK";
1603
+ YOUTUBE: "YOUTUBE";
1604
+ BLUESKY: "BLUESKY";
1605
+ }>>;
1606
+ mediaId: z.ZodOptional<z.ZodString>;
1607
+ status: z.ZodEnum<{
1608
+ unknown: "unknown";
1609
+ pass: "pass";
1610
+ blocking: "blocking";
1611
+ checking: "checking";
1612
+ warning: "warning";
1613
+ }>;
1614
+ source: z.ZodEnum<{
1615
+ local: "local";
1616
+ live: "live";
1617
+ }>;
1618
+ checkedAt: z.ZodNullable<z.ZodString>;
1619
+ message: z.ZodString;
1620
+ code: z.ZodString;
1621
+ action: z.ZodNullable<z.ZodObject<{
1622
+ kind: z.ZodEnum<{
1623
+ reconnect: "reconnect";
1624
+ replace_media: "replace_media";
1625
+ review_settings: "review_settings";
1626
+ edit_caption: "edit_caption";
1627
+ refresh_health: "refresh_health";
1628
+ }>;
1629
+ provider: z.ZodOptional<z.ZodEnum<{
1630
+ INSTAGRAM: "INSTAGRAM";
1631
+ TIKTOK: "TIKTOK";
1632
+ YOUTUBE: "YOUTUBE";
1633
+ BLUESKY: "BLUESKY";
1634
+ }>>;
1635
+ }, z.core.$strip>>;
1636
+ }, z.core.$strip>>;
1637
+ accounts: z.ZodArray<z.ZodObject<{
1638
+ provider: z.ZodEnum<{
1639
+ INSTAGRAM: "INSTAGRAM";
1640
+ TIKTOK: "TIKTOK";
1641
+ YOUTUBE: "YOUTUBE";
1642
+ BLUESKY: "BLUESKY";
1643
+ }>;
1644
+ connected: z.ZodBoolean;
1645
+ username: z.ZodNullable<z.ZodString>;
1646
+ avatarUrl: z.ZodNullable<z.ZodString>;
1647
+ requiresAction: z.ZodBoolean;
1648
+ }, z.core.$strip>>;
1649
+ hasBlockingChecks: z.ZodBoolean;
1650
+ requiresLiveRefresh: z.ZodArray<z.ZodEnum<{
1651
+ INSTAGRAM: "INSTAGRAM";
1652
+ TIKTOK: "TIKTOK";
1653
+ YOUTUBE: "YOUTUBE";
1654
+ BLUESKY: "BLUESKY";
1655
+ }>>;
1656
+ liveHealthCheckedAt: z.ZodNullable<z.ZodString>;
1657
+ }, z.core.$strip>;
1658
+ confirmation: z.ZodObject<{
1659
+ token: z.ZodString;
1660
+ expiresAt: z.ZodString;
1661
+ }, z.core.$strip>;
1662
+ }, z.core.$strip>;
1663
+ meta: z.ZodObject<{
1664
+ requestId: z.ZodString;
1665
+ }, z.core.$strip>;
1666
+ }, z.core.$strip>;
1667
+ declare const PostSchedulePendingSchema: z.ZodObject<{
1668
+ status: z.ZodLiteral<"PENDING">;
1669
+ postId: z.ZodString;
1670
+ provider: z.ZodLiteral<"YOUTUBE">;
1671
+ mutationId: z.ZodString;
1672
+ operation: z.ZodEnum<{
1673
+ SCHEDULE: "SCHEDULE";
1674
+ CANCEL: "CANCEL";
1675
+ }>;
1676
+ message: z.ZodString;
1677
+ }, z.core.$strip>;
1678
+ type PostSchedulePending = z.infer<typeof PostSchedulePendingSchema>;
1679
+ declare const PostScheduleExecuteResultSchema: z.ZodUnion<readonly [z.ZodObject<{
1680
+ id: z.ZodString;
1681
+ projectId: z.ZodString;
1682
+ version: z.ZodNumber;
1683
+ campaign: z.ZodNullable<z.ZodObject<{
1684
+ id: z.ZodString;
1685
+ title: z.ZodString;
1686
+ }, z.core.$strip>>;
1687
+ caption: z.ZodString;
1688
+ status: z.ZodEnum<{
1689
+ DRAFT: "DRAFT";
1690
+ SCHEDULED: "SCHEDULED";
1691
+ ACTION_REQUIRED: "ACTION_REQUIRED";
1692
+ PUBLISHING: "PUBLISHING";
1693
+ PUBLISHED: "PUBLISHED";
1694
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
1695
+ FAILED: "FAILED";
1696
+ }>;
1697
+ scheduledAt: z.ZodNullable<z.ZodString>;
1698
+ timezone: z.ZodNullable<z.ZodString>;
1699
+ publishedAt: z.ZodNullable<z.ZodString>;
1700
+ createdAt: z.ZodString;
1701
+ updatedAt: z.ZodString;
1702
+ media: z.ZodArray<z.ZodObject<{
1703
+ id: z.ZodString;
1704
+ type: z.ZodEnum<{
1705
+ IMAGE: "IMAGE";
1706
+ VIDEO: "VIDEO";
1707
+ }>;
1708
+ url: z.ZodString;
1709
+ mimeType: z.ZodString;
1710
+ width: z.ZodNullable<z.ZodNumber>;
1711
+ height: z.ZodNullable<z.ZodNumber>;
1712
+ durationMs: z.ZodNullable<z.ZodNumber>;
1713
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
1714
+ altText: z.ZodNullable<z.ZodString>;
1715
+ position: z.ZodNumber;
1716
+ }, z.core.$strip>>;
1717
+ destinations: z.ZodArray<z.ZodObject<{
1718
+ provider: z.ZodEnum<{
1719
+ INSTAGRAM: "INSTAGRAM";
1720
+ TIKTOK: "TIKTOK";
1721
+ YOUTUBE: "YOUTUBE";
1722
+ BLUESKY: "BLUESKY";
1723
+ }>;
1724
+ status: z.ZodEnum<{
1725
+ DRAFT: "DRAFT";
1726
+ SCHEDULED: "SCHEDULED";
1727
+ ACTION_REQUIRED: "ACTION_REQUIRED";
1728
+ PUBLISHING: "PUBLISHING";
1729
+ PUBLISHED: "PUBLISHED";
1730
+ FAILED: "FAILED";
1731
+ PREPARING: "PREPARING";
1732
+ }>;
1733
+ captionOverride: z.ZodNullable<z.ZodString>;
1734
+ scheduledAt: z.ZodNullable<z.ZodString>;
1735
+ publishedAt: z.ZodNullable<z.ZodString>;
1736
+ remoteUrl: z.ZodNullable<z.ZodString>;
1737
+ attemptCount: z.ZodNumber;
1738
+ }, z.core.$strip>>;
1739
+ }, z.core.$strip>, z.ZodObject<{
1740
+ status: z.ZodLiteral<"PENDING">;
1741
+ postId: z.ZodString;
1742
+ provider: z.ZodLiteral<"YOUTUBE">;
1743
+ mutationId: z.ZodString;
1744
+ operation: z.ZodEnum<{
1745
+ SCHEDULE: "SCHEDULE";
1746
+ CANCEL: "CANCEL";
1747
+ }>;
1748
+ message: z.ZodString;
1749
+ }, z.core.$strip>]>;
1750
+ type PostScheduleExecuteResult = z.infer<typeof PostScheduleExecuteResultSchema>;
1751
+ declare const PostScheduleExecuteResponseSchema: z.ZodObject<{
1752
+ data: z.ZodUnion<readonly [z.ZodObject<{
1753
+ id: z.ZodString;
1754
+ projectId: z.ZodString;
1755
+ version: z.ZodNumber;
1756
+ campaign: z.ZodNullable<z.ZodObject<{
1757
+ id: z.ZodString;
1758
+ title: z.ZodString;
1759
+ }, z.core.$strip>>;
1760
+ caption: z.ZodString;
1761
+ status: z.ZodEnum<{
1762
+ DRAFT: "DRAFT";
1763
+ SCHEDULED: "SCHEDULED";
1764
+ ACTION_REQUIRED: "ACTION_REQUIRED";
1765
+ PUBLISHING: "PUBLISHING";
1766
+ PUBLISHED: "PUBLISHED";
1767
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
1768
+ FAILED: "FAILED";
1769
+ }>;
1770
+ scheduledAt: z.ZodNullable<z.ZodString>;
1771
+ timezone: z.ZodNullable<z.ZodString>;
1772
+ publishedAt: z.ZodNullable<z.ZodString>;
1773
+ createdAt: z.ZodString;
1774
+ updatedAt: z.ZodString;
1775
+ media: z.ZodArray<z.ZodObject<{
1776
+ id: z.ZodString;
1777
+ type: z.ZodEnum<{
1778
+ IMAGE: "IMAGE";
1779
+ VIDEO: "VIDEO";
1780
+ }>;
1781
+ url: z.ZodString;
1782
+ mimeType: z.ZodString;
1783
+ width: z.ZodNullable<z.ZodNumber>;
1784
+ height: z.ZodNullable<z.ZodNumber>;
1785
+ durationMs: z.ZodNullable<z.ZodNumber>;
1786
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
1787
+ altText: z.ZodNullable<z.ZodString>;
1788
+ position: z.ZodNumber;
1789
+ }, z.core.$strip>>;
1790
+ destinations: z.ZodArray<z.ZodObject<{
1791
+ provider: z.ZodEnum<{
1792
+ INSTAGRAM: "INSTAGRAM";
1793
+ TIKTOK: "TIKTOK";
1794
+ YOUTUBE: "YOUTUBE";
1795
+ BLUESKY: "BLUESKY";
1796
+ }>;
1797
+ status: z.ZodEnum<{
1798
+ DRAFT: "DRAFT";
1799
+ SCHEDULED: "SCHEDULED";
1800
+ ACTION_REQUIRED: "ACTION_REQUIRED";
1801
+ PUBLISHING: "PUBLISHING";
1802
+ PUBLISHED: "PUBLISHED";
1803
+ FAILED: "FAILED";
1804
+ PREPARING: "PREPARING";
1805
+ }>;
1806
+ captionOverride: z.ZodNullable<z.ZodString>;
1807
+ scheduledAt: z.ZodNullable<z.ZodString>;
1808
+ publishedAt: z.ZodNullable<z.ZodString>;
1809
+ remoteUrl: z.ZodNullable<z.ZodString>;
1810
+ attemptCount: z.ZodNumber;
1811
+ }, z.core.$strip>>;
1812
+ }, z.core.$strip>, z.ZodObject<{
1813
+ status: z.ZodLiteral<"PENDING">;
1814
+ postId: z.ZodString;
1815
+ provider: z.ZodLiteral<"YOUTUBE">;
1816
+ mutationId: z.ZodString;
1817
+ operation: z.ZodEnum<{
1818
+ SCHEDULE: "SCHEDULE";
1819
+ CANCEL: "CANCEL";
1820
+ }>;
1821
+ message: z.ZodString;
1822
+ }, z.core.$strip>]>;
1823
+ meta: z.ZodObject<{
1824
+ requestId: z.ZodString;
1825
+ }, z.core.$strip>;
1826
+ }, z.core.$strip>;
1827
+ declare const PostPublishInputSchema: z.ZodObject<{
1828
+ destinations: z.ZodArray<z.ZodEnum<{
1829
+ INSTAGRAM: "INSTAGRAM";
1830
+ TIKTOK: "TIKTOK";
1831
+ YOUTUBE: "YOUTUBE";
1832
+ BLUESKY: "BLUESKY";
1833
+ }>>;
1834
+ }, z.core.$strict>;
1835
+ type PostPublishInput = z.infer<typeof PostPublishInputSchema>;
1836
+ declare const PostPublishExecuteInputSchema: z.ZodObject<{
1837
+ destinations: z.ZodArray<z.ZodEnum<{
1838
+ INSTAGRAM: "INSTAGRAM";
1839
+ TIKTOK: "TIKTOK";
1840
+ YOUTUBE: "YOUTUBE";
1841
+ BLUESKY: "BLUESKY";
1842
+ }>>;
1843
+ confirmationToken: z.ZodString;
1844
+ }, z.core.$strict>;
1845
+ type PostPublishExecuteInput = z.infer<typeof PostPublishExecuteInputSchema>;
1846
+ declare const PostPublishPreviewSchema: z.ZodObject<{
1847
+ operation: z.ZodLiteral<"posts.publish.execute">;
1848
+ post: z.ZodObject<{
1849
+ id: z.ZodString;
1850
+ projectId: z.ZodString;
1851
+ version: z.ZodNumber;
1852
+ status: z.ZodEnum<{
1853
+ DRAFT: "DRAFT";
1854
+ SCHEDULED: "SCHEDULED";
1855
+ ACTION_REQUIRED: "ACTION_REQUIRED";
1856
+ PUBLISHING: "PUBLISHING";
1857
+ PUBLISHED: "PUBLISHED";
1858
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
1859
+ FAILED: "FAILED";
1860
+ }>;
1861
+ }, z.core.$strip>;
1862
+ destinations: z.ZodArray<z.ZodEnum<{
1863
+ INSTAGRAM: "INSTAGRAM";
1864
+ TIKTOK: "TIKTOK";
1865
+ YOUTUBE: "YOUTUBE";
1866
+ BLUESKY: "BLUESKY";
1867
+ }>>;
1868
+ readiness: z.ZodObject<{
1869
+ checks: z.ZodArray<z.ZodObject<{
1870
+ key: z.ZodString;
1871
+ id: z.ZodEnum<{
1872
+ caption: "caption";
1873
+ media: "media";
1874
+ connection: "connection";
1875
+ permissions: "permissions";
1876
+ tiktok_settings: "tiktok_settings";
1877
+ youtube_settings: "youtube_settings";
1878
+ storage: "storage";
1879
+ schedule_lead: "schedule_lead";
1880
+ token_health: "token_health";
1881
+ media_duration: "media_duration";
1882
+ provider_health: "provider_health";
1883
+ }>;
1884
+ provider: z.ZodNullable<z.ZodEnum<{
1885
+ INSTAGRAM: "INSTAGRAM";
1886
+ TIKTOK: "TIKTOK";
1887
+ YOUTUBE: "YOUTUBE";
1888
+ BLUESKY: "BLUESKY";
1889
+ }>>;
1890
+ mediaId: z.ZodOptional<z.ZodString>;
1891
+ status: z.ZodEnum<{
1892
+ unknown: "unknown";
1893
+ pass: "pass";
1894
+ blocking: "blocking";
1895
+ checking: "checking";
1896
+ warning: "warning";
1897
+ }>;
1898
+ source: z.ZodEnum<{
1899
+ local: "local";
1900
+ live: "live";
1901
+ }>;
1902
+ checkedAt: z.ZodNullable<z.ZodString>;
1903
+ message: z.ZodString;
1904
+ code: z.ZodString;
1905
+ action: z.ZodNullable<z.ZodObject<{
1906
+ kind: z.ZodEnum<{
1907
+ reconnect: "reconnect";
1908
+ replace_media: "replace_media";
1909
+ review_settings: "review_settings";
1910
+ edit_caption: "edit_caption";
1911
+ refresh_health: "refresh_health";
1912
+ }>;
1913
+ provider: z.ZodOptional<z.ZodEnum<{
1914
+ INSTAGRAM: "INSTAGRAM";
1915
+ TIKTOK: "TIKTOK";
1916
+ YOUTUBE: "YOUTUBE";
1917
+ BLUESKY: "BLUESKY";
1918
+ }>>;
1919
+ }, z.core.$strip>>;
1920
+ }, z.core.$strip>>;
1921
+ accounts: z.ZodArray<z.ZodObject<{
1922
+ provider: z.ZodEnum<{
1923
+ INSTAGRAM: "INSTAGRAM";
1924
+ TIKTOK: "TIKTOK";
1925
+ YOUTUBE: "YOUTUBE";
1926
+ BLUESKY: "BLUESKY";
1927
+ }>;
1928
+ connected: z.ZodBoolean;
1929
+ username: z.ZodNullable<z.ZodString>;
1930
+ avatarUrl: z.ZodNullable<z.ZodString>;
1931
+ requiresAction: z.ZodBoolean;
1932
+ }, z.core.$strip>>;
1933
+ hasBlockingChecks: z.ZodBoolean;
1934
+ requiresLiveRefresh: z.ZodArray<z.ZodEnum<{
1935
+ INSTAGRAM: "INSTAGRAM";
1936
+ TIKTOK: "TIKTOK";
1937
+ YOUTUBE: "YOUTUBE";
1938
+ BLUESKY: "BLUESKY";
1939
+ }>>;
1940
+ liveHealthCheckedAt: z.ZodNullable<z.ZodString>;
1941
+ }, z.core.$strip>;
1942
+ confirmation: z.ZodObject<{
1943
+ token: z.ZodString;
1944
+ expiresAt: z.ZodString;
1945
+ }, z.core.$strip>;
1946
+ }, z.core.$strip>;
1947
+ type PostPublishPreview = z.infer<typeof PostPublishPreviewSchema>;
1948
+ declare const PostPublishPreviewResponseSchema: z.ZodObject<{
1949
+ data: z.ZodObject<{
1950
+ operation: z.ZodLiteral<"posts.publish.execute">;
1951
+ post: z.ZodObject<{
1952
+ id: z.ZodString;
1953
+ projectId: z.ZodString;
1954
+ version: z.ZodNumber;
1955
+ status: z.ZodEnum<{
1956
+ DRAFT: "DRAFT";
1957
+ SCHEDULED: "SCHEDULED";
1958
+ ACTION_REQUIRED: "ACTION_REQUIRED";
1959
+ PUBLISHING: "PUBLISHING";
1960
+ PUBLISHED: "PUBLISHED";
1961
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
1962
+ FAILED: "FAILED";
1963
+ }>;
1964
+ }, z.core.$strip>;
1965
+ destinations: z.ZodArray<z.ZodEnum<{
1966
+ INSTAGRAM: "INSTAGRAM";
1967
+ TIKTOK: "TIKTOK";
1968
+ YOUTUBE: "YOUTUBE";
1969
+ BLUESKY: "BLUESKY";
1970
+ }>>;
1971
+ readiness: z.ZodObject<{
1972
+ checks: z.ZodArray<z.ZodObject<{
1973
+ key: z.ZodString;
1974
+ id: z.ZodEnum<{
1975
+ caption: "caption";
1976
+ media: "media";
1977
+ connection: "connection";
1978
+ permissions: "permissions";
1979
+ tiktok_settings: "tiktok_settings";
1980
+ youtube_settings: "youtube_settings";
1981
+ storage: "storage";
1982
+ schedule_lead: "schedule_lead";
1983
+ token_health: "token_health";
1984
+ media_duration: "media_duration";
1985
+ provider_health: "provider_health";
1986
+ }>;
1987
+ provider: z.ZodNullable<z.ZodEnum<{
1988
+ INSTAGRAM: "INSTAGRAM";
1989
+ TIKTOK: "TIKTOK";
1990
+ YOUTUBE: "YOUTUBE";
1991
+ BLUESKY: "BLUESKY";
1992
+ }>>;
1993
+ mediaId: z.ZodOptional<z.ZodString>;
1994
+ status: z.ZodEnum<{
1995
+ unknown: "unknown";
1996
+ pass: "pass";
1997
+ blocking: "blocking";
1998
+ checking: "checking";
1999
+ warning: "warning";
2000
+ }>;
2001
+ source: z.ZodEnum<{
2002
+ local: "local";
2003
+ live: "live";
2004
+ }>;
2005
+ checkedAt: z.ZodNullable<z.ZodString>;
2006
+ message: z.ZodString;
2007
+ code: z.ZodString;
2008
+ action: z.ZodNullable<z.ZodObject<{
2009
+ kind: z.ZodEnum<{
2010
+ reconnect: "reconnect";
2011
+ replace_media: "replace_media";
2012
+ review_settings: "review_settings";
2013
+ edit_caption: "edit_caption";
2014
+ refresh_health: "refresh_health";
2015
+ }>;
2016
+ provider: z.ZodOptional<z.ZodEnum<{
2017
+ INSTAGRAM: "INSTAGRAM";
2018
+ TIKTOK: "TIKTOK";
2019
+ YOUTUBE: "YOUTUBE";
2020
+ BLUESKY: "BLUESKY";
2021
+ }>>;
2022
+ }, z.core.$strip>>;
2023
+ }, z.core.$strip>>;
2024
+ accounts: z.ZodArray<z.ZodObject<{
2025
+ provider: z.ZodEnum<{
2026
+ INSTAGRAM: "INSTAGRAM";
2027
+ TIKTOK: "TIKTOK";
2028
+ YOUTUBE: "YOUTUBE";
2029
+ BLUESKY: "BLUESKY";
2030
+ }>;
2031
+ connected: z.ZodBoolean;
2032
+ username: z.ZodNullable<z.ZodString>;
2033
+ avatarUrl: z.ZodNullable<z.ZodString>;
2034
+ requiresAction: z.ZodBoolean;
2035
+ }, z.core.$strip>>;
2036
+ hasBlockingChecks: z.ZodBoolean;
2037
+ requiresLiveRefresh: z.ZodArray<z.ZodEnum<{
2038
+ INSTAGRAM: "INSTAGRAM";
2039
+ TIKTOK: "TIKTOK";
2040
+ YOUTUBE: "YOUTUBE";
2041
+ BLUESKY: "BLUESKY";
2042
+ }>>;
2043
+ liveHealthCheckedAt: z.ZodNullable<z.ZodString>;
2044
+ }, z.core.$strip>;
2045
+ confirmation: z.ZodObject<{
2046
+ token: z.ZodString;
2047
+ expiresAt: z.ZodString;
2048
+ }, z.core.$strip>;
2049
+ }, z.core.$strip>;
2050
+ meta: z.ZodObject<{
2051
+ requestId: z.ZodString;
2052
+ }, z.core.$strip>;
2053
+ }, z.core.$strip>;
2054
+ declare const CalendarEventSchema: z.ZodObject<{
2055
+ postId: z.ZodString;
2056
+ projectId: z.ZodString;
2057
+ title: z.ZodString;
2058
+ caption: z.ZodString;
2059
+ status: z.ZodEnum<{
2060
+ SCHEDULED: "SCHEDULED";
2061
+ ACTION_REQUIRED: "ACTION_REQUIRED";
2062
+ PUBLISHING: "PUBLISHING";
2063
+ PUBLISHED: "PUBLISHED";
2064
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
2065
+ FAILED: "FAILED";
2066
+ }>;
2067
+ scheduledAt: z.ZodString;
2068
+ timezone: z.ZodNullable<z.ZodString>;
2069
+ campaign: z.ZodNullable<z.ZodObject<{
2070
+ id: z.ZodString;
2071
+ title: z.ZodString;
2072
+ }, z.core.$strip>>;
2073
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
2074
+ destinations: z.ZodArray<z.ZodObject<{
2075
+ provider: z.ZodEnum<{
2076
+ INSTAGRAM: "INSTAGRAM";
2077
+ TIKTOK: "TIKTOK";
2078
+ YOUTUBE: "YOUTUBE";
2079
+ BLUESKY: "BLUESKY";
2080
+ }>;
2081
+ status: z.ZodEnum<{
2082
+ DRAFT: "DRAFT";
2083
+ SCHEDULED: "SCHEDULED";
2084
+ ACTION_REQUIRED: "ACTION_REQUIRED";
2085
+ PUBLISHING: "PUBLISHING";
2086
+ PUBLISHED: "PUBLISHED";
2087
+ FAILED: "FAILED";
2088
+ PREPARING: "PREPARING";
2089
+ }>;
2090
+ }, z.core.$strip>>;
2091
+ }, z.core.$strip>;
2092
+ type CalendarEvent = z.infer<typeof CalendarEventSchema>;
2093
+ declare const CalendarListQuerySchema: z.ZodObject<{
2094
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
2095
+ cursor: z.ZodOptional<z.ZodString>;
2096
+ from: z.ZodOptional<z.ZodString>;
2097
+ to: z.ZodOptional<z.ZodString>;
2098
+ }, z.core.$strip>;
2099
+ type CalendarListQuery = z.input<typeof CalendarListQuerySchema>;
2100
+ declare const CalendarListDataSchema: z.ZodObject<{
2101
+ items: z.ZodArray<z.ZodObject<{
2102
+ postId: z.ZodString;
2103
+ projectId: z.ZodString;
2104
+ title: z.ZodString;
2105
+ caption: z.ZodString;
2106
+ status: z.ZodEnum<{
2107
+ SCHEDULED: "SCHEDULED";
2108
+ ACTION_REQUIRED: "ACTION_REQUIRED";
2109
+ PUBLISHING: "PUBLISHING";
2110
+ PUBLISHED: "PUBLISHED";
2111
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
2112
+ FAILED: "FAILED";
2113
+ }>;
2114
+ scheduledAt: z.ZodString;
2115
+ timezone: z.ZodNullable<z.ZodString>;
2116
+ campaign: z.ZodNullable<z.ZodObject<{
2117
+ id: z.ZodString;
2118
+ title: z.ZodString;
2119
+ }, z.core.$strip>>;
2120
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
2121
+ destinations: z.ZodArray<z.ZodObject<{
2122
+ provider: z.ZodEnum<{
2123
+ INSTAGRAM: "INSTAGRAM";
2124
+ TIKTOK: "TIKTOK";
2125
+ YOUTUBE: "YOUTUBE";
2126
+ BLUESKY: "BLUESKY";
2127
+ }>;
2128
+ status: z.ZodEnum<{
2129
+ DRAFT: "DRAFT";
2130
+ SCHEDULED: "SCHEDULED";
2131
+ ACTION_REQUIRED: "ACTION_REQUIRED";
2132
+ PUBLISHING: "PUBLISHING";
2133
+ PUBLISHED: "PUBLISHED";
2134
+ FAILED: "FAILED";
2135
+ PREPARING: "PREPARING";
2136
+ }>;
2137
+ }, z.core.$strip>>;
2138
+ }, z.core.$strip>>;
2139
+ page: z.ZodObject<{
2140
+ limit: z.ZodNumber;
2141
+ nextCursor: z.ZodNullable<z.ZodString>;
2142
+ }, z.core.$strip>;
2143
+ window: z.ZodObject<{
2144
+ from: z.ZodString;
2145
+ to: z.ZodString;
2146
+ }, z.core.$strip>;
2147
+ }, z.core.$strip>;
2148
+ type CalendarListData = z.infer<typeof CalendarListDataSchema>;
2149
+ declare const CalendarListResponseSchema: z.ZodObject<{
2150
+ data: z.ZodObject<{
2151
+ items: z.ZodArray<z.ZodObject<{
2152
+ postId: z.ZodString;
2153
+ projectId: z.ZodString;
2154
+ title: z.ZodString;
2155
+ caption: z.ZodString;
2156
+ status: z.ZodEnum<{
2157
+ SCHEDULED: "SCHEDULED";
2158
+ ACTION_REQUIRED: "ACTION_REQUIRED";
2159
+ PUBLISHING: "PUBLISHING";
2160
+ PUBLISHED: "PUBLISHED";
2161
+ PARTIALLY_PUBLISHED: "PARTIALLY_PUBLISHED";
2162
+ FAILED: "FAILED";
2163
+ }>;
2164
+ scheduledAt: z.ZodString;
2165
+ timezone: z.ZodNullable<z.ZodString>;
2166
+ campaign: z.ZodNullable<z.ZodObject<{
2167
+ id: z.ZodString;
2168
+ title: z.ZodString;
2169
+ }, z.core.$strip>>;
2170
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
2171
+ destinations: z.ZodArray<z.ZodObject<{
2172
+ provider: z.ZodEnum<{
2173
+ INSTAGRAM: "INSTAGRAM";
2174
+ TIKTOK: "TIKTOK";
2175
+ YOUTUBE: "YOUTUBE";
2176
+ BLUESKY: "BLUESKY";
2177
+ }>;
2178
+ status: z.ZodEnum<{
2179
+ DRAFT: "DRAFT";
2180
+ SCHEDULED: "SCHEDULED";
2181
+ ACTION_REQUIRED: "ACTION_REQUIRED";
2182
+ PUBLISHING: "PUBLISHING";
2183
+ PUBLISHED: "PUBLISHED";
2184
+ FAILED: "FAILED";
2185
+ PREPARING: "PREPARING";
2186
+ }>;
2187
+ }, z.core.$strip>>;
2188
+ }, z.core.$strip>>;
2189
+ page: z.ZodObject<{
2190
+ limit: z.ZodNumber;
2191
+ nextCursor: z.ZodNullable<z.ZodString>;
2192
+ }, z.core.$strip>;
2193
+ window: z.ZodObject<{
2194
+ from: z.ZodString;
2195
+ to: z.ZodString;
2196
+ }, z.core.$strip>;
2197
+ }, z.core.$strip>;
2198
+ meta: z.ZodObject<{
2199
+ requestId: z.ZodString;
2200
+ }, z.core.$strip>;
2201
+ }, z.core.$strip>;
2202
+
2203
+ export { API_VERSION, type Actor, ActorSchema, type ApiErrorCode, ApiErrorCodeSchema, type ApiMeta, type ApiMetaResponse, ApiMetaResponseSchema, ApiMetaSchema, type ApiProblem, ApiProblemSchema, type AuthenticationKind, AuthenticationKindSchema, CLI_BROWSER_AUTHORIZATION_TIMEOUT_MS, CONTRACT_VERSION, type CalendarEvent, CalendarEventSchema, type CalendarListData, CalendarListDataSchema, type CalendarListQuery, CalendarListQuerySchema, CalendarListResponseSchema, CapabilitiesDataSchema, type CapabilitiesResponse, CapabilitiesResponseSchema, type Capability, type CapabilityId, CapabilityIdSchema, CapabilitySchema, type CliAuthorizationCredential, CliAuthorizationCredentialSchema, type CliAuthorizationExchangeRequest, CliAuthorizationExchangeRequestSchema, type CliAuthorizationExchangeResponse, CliAuthorizationExchangeResponseSchema, CliAuthorizationRevokeDataSchema, type CliAuthorizationRevokeResponse, CliAuthorizationRevokeResponseSchema, type DraftPostData, type DraftPostInput, DraftPostInputSchema, IntegrationConnectionStatusSchema, type IntegrationHealth, type IntegrationHealthListData, IntegrationHealthListDataSchema, IntegrationHealthListResponseSchema, IntegrationHealthSchema, type MediaAsset, type MediaAssetListData, MediaAssetListDataSchema, type MediaAssetListQuery, MediaAssetListQuerySchema, MediaAssetListResponseSchema, MediaAssetResponseSchema, MediaAssetSchema, type MediaAssetUploadCompleteInput, MediaAssetUploadCompleteInputSchema, type MediaAssetUploadInput, MediaAssetUploadInputSchema, type MediaAssetUploadPreparation, MediaAssetUploadPreparationResponseSchema, MediaAssetUploadPreparationSchema, PUBLISHING_PROVIDER_COUNT, PlatformPostStatusSchema, type Post, type PostDestination, PostDestinationSchema, type PostListData, PostListDataSchema, type PostListQuery, PostListQuerySchema, type PostListResponse, PostListResponseSchema, type PostMedia, PostMediaSchema, type PostPublishExecuteInput, PostPublishExecuteInputSchema, type PostPublishInput, PostPublishInputSchema, type PostPublishPreview, PostPublishPreviewResponseSchema, PostPublishPreviewSchema, type PostReadiness, PostReadinessCheckSchema, PostReadinessResponseSchema, PostReadinessSchema, type PostResponse, PostResponseSchema, type PostScheduleExecuteInput, PostScheduleExecuteInputSchema, PostScheduleExecuteResponseSchema, type PostScheduleExecuteResult, PostScheduleExecuteResultSchema, type PostScheduleInput, PostScheduleInputSchema, type PostSchedulePending, PostSchedulePendingSchema, type PostSchedulePreview, PostSchedulePreviewResponseSchema, PostSchedulePreviewSchema, PostSchema, type PostStatus, PostStatusSchema, type Project, type ProjectCreateData, type ProjectCreateInput, ProjectCreateInputSchema, type ProjectListData, ProjectListDataSchema, type ProjectListQuery, ProjectListQuerySchema, type ProjectListResponse, ProjectListResponseSchema, type ProjectResponse, ProjectResponseSchema, ProjectSchema, type ProjectType, ProjectTypeSchema, ProviderHealthStatusSchema, type PublishingProvider, PublishingProviderSchema, ReadinessActionSchema, ReadinessStatusSchema, RequestMetadataSchema, type TikTokPostSettings, TikTokPostSettingsSchema, type WhoAmIResponse, WhoAmIResponseSchema, type YouTubePostSettings, YouTubePostSettingsSchema, successEnvelopeSchema };