post-engineer-mcp 1.52.601 → 1.52.615

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.
Files changed (114) hide show
  1. package/README.md +1 -1
  2. package/dist/client-batch.d.ts +3 -1
  3. package/dist/client-batch.js +4 -1
  4. package/dist/client-batch.js.map +1 -1
  5. package/dist/client-billing.d.ts +5 -0
  6. package/dist/client-billing.js +34 -0
  7. package/dist/client-billing.js.map +1 -0
  8. package/dist/client-experiments.d.ts +5 -14
  9. package/dist/client-experiments.js +17 -3
  10. package/dist/client-experiments.js.map +1 -1
  11. package/dist/client-posts.d.ts +12 -6
  12. package/dist/client-posts.js +22 -11
  13. package/dist/client-posts.js.map +1 -1
  14. package/dist/client-prompts.d.ts +4 -8
  15. package/dist/client-prompts.js +7 -24
  16. package/dist/client-prompts.js.map +1 -1
  17. package/dist/client-publish-uploaded.d.ts +8 -1
  18. package/dist/client-publish-uploaded.js +121 -49
  19. package/dist/client-publish-uploaded.js.map +1 -1
  20. package/dist/client-publishing-accounts.d.ts +4 -2
  21. package/dist/client-publishing-accounts.js +6 -2
  22. package/dist/client-publishing-accounts.js.map +1 -1
  23. package/dist/client-types.d.ts +5 -4
  24. package/dist/client-user-media.d.ts +4 -3
  25. package/dist/client-user-media.js +17 -47
  26. package/dist/client-user-media.js.map +1 -1
  27. package/dist/client-video-task.d.ts +3 -1
  28. package/dist/client-video-task.js +4 -1
  29. package/dist/client-video-task.js.map +1 -1
  30. package/dist/client.d.ts +40 -39
  31. package/dist/client.js +80 -148
  32. package/dist/client.js.map +1 -1
  33. package/dist/cloned-voice-client.d.ts +7 -5
  34. package/dist/cloned-voice-client.js +10 -4
  35. package/dist/cloned-voice-client.js.map +1 -1
  36. package/dist/connect-account.js +14 -6
  37. package/dist/connect-account.js.map +1 -1
  38. package/dist/contract-response.d.ts +8 -0
  39. package/dist/contract-response.js +24 -0
  40. package/dist/contract-response.js.map +1 -0
  41. package/dist/contracts/accounts.d.ts +844 -0
  42. package/dist/contracts/accounts.js +346 -0
  43. package/dist/contracts/accounts.js.map +1 -0
  44. package/dist/contracts/billing.d.ts +109 -0
  45. package/dist/contracts/billing.js +88 -0
  46. package/dist/contracts/billing.js.map +1 -0
  47. package/dist/contracts/endpoint.d.ts +45 -0
  48. package/dist/contracts/endpoint.js +8 -0
  49. package/dist/contracts/endpoint.js.map +1 -0
  50. package/dist/contracts/experiments.d.ts +271 -0
  51. package/dist/contracts/experiments.js +170 -0
  52. package/dist/contracts/experiments.js.map +1 -0
  53. package/dist/contracts/media.d.ts +165 -0
  54. package/dist/contracts/media.js +139 -0
  55. package/dist/contracts/media.js.map +1 -0
  56. package/dist/contracts/metrics.d.ts +351 -0
  57. package/dist/contracts/metrics.js +256 -0
  58. package/dist/contracts/metrics.js.map +1 -0
  59. package/dist/contracts/personas.d.ts +560 -0
  60. package/dist/contracts/personas.js +346 -0
  61. package/dist/contracts/personas.js.map +1 -0
  62. package/dist/contracts/posts.d.ts +485 -0
  63. package/dist/contracts/posts.js +153 -0
  64. package/dist/contracts/posts.js.map +1 -0
  65. package/dist/contracts/prompts.d.ts +90 -0
  66. package/dist/contracts/prompts.js +48 -0
  67. package/dist/contracts/prompts.js.map +1 -0
  68. package/dist/contracts/schedule.d.ts +691 -0
  69. package/dist/contracts/schedule.js +264 -0
  70. package/dist/contracts/schedule.js.map +1 -0
  71. package/dist/contracts/video-tasks.d.ts +181 -0
  72. package/dist/contracts/video-tasks.js +121 -0
  73. package/dist/contracts/video-tasks.js.map +1 -0
  74. package/dist/contracts/videos.d.ts +693 -0
  75. package/dist/contracts/videos.js +443 -0
  76. package/dist/contracts/videos.js.map +1 -0
  77. package/dist/contracts/voices.d.ts +237 -0
  78. package/dist/contracts/voices.js +118 -0
  79. package/dist/contracts/voices.js.map +1 -0
  80. package/dist/generate-video.d.ts +34 -34
  81. package/dist/generate-video.js +14 -2
  82. package/dist/generate-video.js.map +1 -1
  83. package/dist/intent-content.js +1 -1
  84. package/dist/intent-personas.js +17 -7
  85. package/dist/intent-personas.js.map +1 -1
  86. package/dist/limits.d.ts +27 -44
  87. package/dist/limits.js +27 -45
  88. package/dist/limits.js.map +1 -1
  89. package/dist/persona-delete.js +9 -9
  90. package/dist/persona-delete.js.map +1 -1
  91. package/dist/persona-update.js +3 -2
  92. package/dist/persona-update.js.map +1 -1
  93. package/dist/script-segments.d.ts +1 -1
  94. package/dist/script-segments.js +1 -1
  95. package/dist/single-video-shape.d.ts +5 -5
  96. package/dist/single-video-shape.js +1 -1
  97. package/dist/tools-batch.d.ts +42 -42
  98. package/dist/tools-batch.js +12 -36
  99. package/dist/tools-batch.js.map +1 -1
  100. package/dist/tools-experiments.d.ts +11 -11
  101. package/dist/tools-experiments.js +17 -9
  102. package/dist/tools-experiments.js.map +1 -1
  103. package/dist/tools-pinterest.js +5 -15
  104. package/dist/tools-pinterest.js.map +1 -1
  105. package/dist/tools-single-video.js +14 -51
  106. package/dist/tools-single-video.js.map +1 -1
  107. package/dist/tools-user-media.js +3 -1
  108. package/dist/tools-user-media.js.map +1 -1
  109. package/dist/tools.d.ts +0 -25
  110. package/dist/tools.js +56 -96
  111. package/dist/tools.js.map +1 -1
  112. package/dist/voice-filters.js +2 -1
  113. package/dist/voice-filters.js.map +1 -1
  114. package/package.json +1 -1
@@ -0,0 +1,691 @@
1
+ import { z } from 'zod';
2
+ export type EndpointMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
3
+ export interface EndpointDefinition<Body extends z.ZodType | undefined, Query extends z.ZodType | undefined, Response extends z.ZodType, Path extends string> {
4
+ method: EndpointMethod;
5
+ path: Path;
6
+ body?: Body;
7
+ query?: Query;
8
+ response: Response;
9
+ }
10
+ /** Define one endpoint contract. The literal path is preserved in the type
11
+ * so ParamsOf can read its `:param` segments. `Body`/`Query` default to
12
+ * `undefined` so an omitted optional schema stays `undefined` (not the
13
+ * bare `ZodType`) in the returned definition. */
14
+ export declare function defineEndpoint<Body extends z.ZodType | undefined = undefined, Query extends z.ZodType | undefined = undefined, Response extends z.ZodType = z.ZodType, Path extends string = string>(config: {
15
+ method: EndpointMethod;
16
+ path: Path;
17
+ body?: Body;
18
+ query?: Query;
19
+ response: Response;
20
+ }): EndpointDefinition<Body, Query, Response, Path>;
21
+ /** Request body input type (`z.input` of the `body` schema). Indexed
22
+ * access is used (not infer) so an optional `body?` property keeps its
23
+ * schema type instead of widening to `unknown`. */
24
+ export type BodyOf<Endpoint extends {
25
+ body?: z.ZodType | undefined;
26
+ }> = [
27
+ Exclude<Endpoint['body'], undefined>
28
+ ] extends [never] ? never : Exclude<Endpoint['body'], undefined> extends z.ZodType ? z.input<Exclude<Endpoint['body'], undefined>> : never;
29
+ /** Query input type (`z.input` of the `query` schema). */
30
+ export type QueryOf<Endpoint extends {
31
+ query?: z.ZodType | undefined;
32
+ }> = [
33
+ Exclude<Endpoint['query'], undefined>
34
+ ] extends [never] ? never : Exclude<Endpoint['query'], undefined> extends z.ZodType ? z.input<Exclude<Endpoint['query'], undefined>> : never;
35
+ /** Response output type (`z.output` of the `response` schema). */
36
+ export type ResponseOf<Endpoint extends {
37
+ response: z.ZodType;
38
+ }> = Endpoint['response'] extends z.ZodType ? z.output<Endpoint['response']> : never;
39
+ /** Path params from a path template: each `:name` segment becomes a
40
+ * `string` field. A path without segments is an empty record. */
41
+ export type ParamsOf<Path extends string> = Path extends `${string}:${infer Rest}` ? Rest extends `${infer Name}/${infer After}` ? {
42
+ [Key in Name]: string;
43
+ } & ParamsOf<`/${After}`> : {
44
+ [Key in Rest]: string;
45
+ } : Record<never, never>;
46
+ /** A row of the schedules table, as GET /api/schedule returns it. */
47
+ export declare const ScheduleRowSchema: z.ZodObject<{
48
+ id: z.ZodString;
49
+ persona_id: z.ZodNullable<z.ZodString>;
50
+ providers: z.ZodArray<z.ZodString>;
51
+ youtube_account_ids: z.ZodArray<z.ZodString>;
52
+ instagram_account_ids: z.ZodArray<z.ZodString>;
53
+ linkedin_account_ids: z.ZodArray<z.ZodString>;
54
+ bluesky_account_ids: z.ZodArray<z.ZodString>;
55
+ threads_account_ids: z.ZodArray<z.ZodString>;
56
+ facebook_account_ids: z.ZodArray<z.ZodString>;
57
+ pinterest_account_ids: z.ZodArray<z.ZodString>;
58
+ pinterest_board_id: z.ZodNullable<z.ZodString>;
59
+ threespeak_account_ids: z.ZodArray<z.ZodString>;
60
+ rumble_account_ids: z.ZodArray<z.ZodString>;
61
+ days_of_week: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
62
+ start_hour: z.ZodNullable<z.ZodNumber>;
63
+ end_hour: z.ZodNullable<z.ZodNumber>;
64
+ posts_per_day: z.ZodNumber;
65
+ timezone: z.ZodString;
66
+ active: z.ZodBoolean;
67
+ created_at: z.ZodString;
68
+ publish_mode: z.ZodEnum<{
69
+ scheduled: "scheduled";
70
+ asap: "asap";
71
+ }>;
72
+ }, z.core.$strip>;
73
+ export declare const ListSchedulesResponseSchema: z.ZodObject<{
74
+ success: z.ZodLiteral<true>;
75
+ schedules: z.ZodArray<z.ZodObject<{
76
+ id: z.ZodString;
77
+ persona_id: z.ZodNullable<z.ZodString>;
78
+ providers: z.ZodArray<z.ZodString>;
79
+ youtube_account_ids: z.ZodArray<z.ZodString>;
80
+ instagram_account_ids: z.ZodArray<z.ZodString>;
81
+ linkedin_account_ids: z.ZodArray<z.ZodString>;
82
+ bluesky_account_ids: z.ZodArray<z.ZodString>;
83
+ threads_account_ids: z.ZodArray<z.ZodString>;
84
+ facebook_account_ids: z.ZodArray<z.ZodString>;
85
+ pinterest_account_ids: z.ZodArray<z.ZodString>;
86
+ pinterest_board_id: z.ZodNullable<z.ZodString>;
87
+ threespeak_account_ids: z.ZodArray<z.ZodString>;
88
+ rumble_account_ids: z.ZodArray<z.ZodString>;
89
+ days_of_week: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
90
+ start_hour: z.ZodNullable<z.ZodNumber>;
91
+ end_hour: z.ZodNullable<z.ZodNumber>;
92
+ posts_per_day: z.ZodNumber;
93
+ timezone: z.ZodString;
94
+ active: z.ZodBoolean;
95
+ created_at: z.ZodString;
96
+ publish_mode: z.ZodEnum<{
97
+ scheduled: "scheduled";
98
+ asap: "asap";
99
+ }>;
100
+ }, z.core.$strip>>;
101
+ }, z.core.$strip>;
102
+ export declare function parseCancelScheduleQuery(params: URLSearchParams): {
103
+ ok: true;
104
+ query: {
105
+ id: string;
106
+ };
107
+ } | {
108
+ ok: false;
109
+ error: string;
110
+ };
111
+ export declare const CancelRefundSchema: z.ZodObject<{
112
+ slotId: z.ZodString;
113
+ refunded: z.ZodBoolean;
114
+ alreadyRefunded: z.ZodBoolean;
115
+ reason: z.ZodEnum<{
116
+ not_generated: "not_generated";
117
+ already_generated: "already_generated";
118
+ already_refunded: "already_refunded";
119
+ not_charged: "not_charged";
120
+ refund_failed: "refund_failed";
121
+ discount_withheld: "discount_withheld";
122
+ }>;
123
+ }, z.core.$strip>;
124
+ export declare const CancelScheduleResponseSchema: z.ZodObject<{
125
+ success: z.ZodLiteral<true>;
126
+ cancelledSlotIds: z.ZodArray<z.ZodString>;
127
+ refunds: z.ZodArray<z.ZodObject<{
128
+ slotId: z.ZodString;
129
+ refunded: z.ZodBoolean;
130
+ alreadyRefunded: z.ZodBoolean;
131
+ reason: z.ZodEnum<{
132
+ not_generated: "not_generated";
133
+ already_generated: "already_generated";
134
+ already_refunded: "already_refunded";
135
+ not_charged: "not_charged";
136
+ refund_failed: "refund_failed";
137
+ discount_withheld: "discount_withheld";
138
+ }>;
139
+ }, z.core.$strip>>;
140
+ batchDiscountWithheld: z.ZodNumber;
141
+ }, z.core.$strip>;
142
+ export declare const STATUS_LIMIT_DEFAULT = 10;
143
+ export declare const STATUS_LIMIT_MAX = 500;
144
+ export declare function parseStatusLimit(value: string | null): number;
145
+ export declare const RANGE_MAX_SPAN_DAYS = 62;
146
+ export declare const RANGE_MAX_SLOTS = 1000;
147
+ export declare const RANGE_STATUSES: readonly ["pending", "generating", "ready", "publishing", "published", "failed"];
148
+ export type RangeParseResult = {
149
+ kind: 'none';
150
+ } | {
151
+ kind: 'range';
152
+ from: string;
153
+ to: string;
154
+ } | {
155
+ kind: 'error';
156
+ message: string;
157
+ };
158
+ export declare function parseStatusRange(params: URLSearchParams): RangeParseResult;
159
+ /** Mirrors apps/web/lib/timezone.ts hasExplicitOffset (Z or ±hh:mm / ±hhmm). */
160
+ export declare function hasExplicitOffset(value: string): boolean;
161
+ /** A presented slot: the row fields plus the enrichment spread over them. */
162
+ export declare const StatusSlotSchema: z.ZodObject<{
163
+ id: z.ZodString;
164
+ slot_at: z.ZodString;
165
+ status: z.ZodEnum<{
166
+ publishing: "publishing";
167
+ ready: "ready";
168
+ generating: "generating";
169
+ published: "published";
170
+ failed: "failed";
171
+ awaiting: "awaiting";
172
+ completed: "completed";
173
+ }>;
174
+ title: z.ZodNullable<z.ZodString>;
175
+ error: z.ZodNullable<z.ZodString>;
176
+ published_at: z.ZodNullable<z.ZodString>;
177
+ schedule_id: z.ZodString;
178
+ task_id: z.ZodNullable<z.ZodString>;
179
+ progress: z.ZodNumber;
180
+ stage: z.ZodNullable<z.ZodString>;
181
+ queuePosition: z.ZodNullable<z.ZodNumber>;
182
+ queueTotal: z.ZodNullable<z.ZodNumber>;
183
+ retryable: z.ZodNullable<z.ZodBoolean>;
184
+ postUrl: z.ZodNullable<z.ZodString>;
185
+ userNotices: z.ZodOptional<z.ZodArray<z.ZodObject<{
186
+ provider: z.ZodString;
187
+ accountId: z.ZodString;
188
+ code: z.ZodString;
189
+ requiresUser: z.ZodLiteral<true>;
190
+ notice: z.ZodString;
191
+ }, z.core.$strip>>>;
192
+ providerFailures: z.ZodOptional<z.ZodArray<z.ZodObject<{
193
+ provider: z.ZodString;
194
+ accountId: z.ZodString;
195
+ code: z.ZodString;
196
+ requiresUser: z.ZodBoolean;
197
+ notice: z.ZodString;
198
+ }, z.core.$strip>>>;
199
+ }, z.core.$strip>;
200
+ export declare const ListPostsResponseSchema: z.ZodObject<{
201
+ success: z.ZodLiteral<true>;
202
+ upcoming: z.ZodArray<z.ZodObject<{
203
+ id: z.ZodString;
204
+ slot_at: z.ZodString;
205
+ status: z.ZodEnum<{
206
+ publishing: "publishing";
207
+ ready: "ready";
208
+ generating: "generating";
209
+ published: "published";
210
+ failed: "failed";
211
+ awaiting: "awaiting";
212
+ completed: "completed";
213
+ }>;
214
+ title: z.ZodNullable<z.ZodString>;
215
+ error: z.ZodNullable<z.ZodString>;
216
+ published_at: z.ZodNullable<z.ZodString>;
217
+ schedule_id: z.ZodString;
218
+ task_id: z.ZodNullable<z.ZodString>;
219
+ progress: z.ZodNumber;
220
+ stage: z.ZodNullable<z.ZodString>;
221
+ queuePosition: z.ZodNullable<z.ZodNumber>;
222
+ queueTotal: z.ZodNullable<z.ZodNumber>;
223
+ retryable: z.ZodNullable<z.ZodBoolean>;
224
+ postUrl: z.ZodNullable<z.ZodString>;
225
+ userNotices: z.ZodOptional<z.ZodArray<z.ZodObject<{
226
+ provider: z.ZodString;
227
+ accountId: z.ZodString;
228
+ code: z.ZodString;
229
+ requiresUser: z.ZodLiteral<true>;
230
+ notice: z.ZodString;
231
+ }, z.core.$strip>>>;
232
+ providerFailures: z.ZodOptional<z.ZodArray<z.ZodObject<{
233
+ provider: z.ZodString;
234
+ accountId: z.ZodString;
235
+ code: z.ZodString;
236
+ requiresUser: z.ZodBoolean;
237
+ notice: z.ZodString;
238
+ }, z.core.$strip>>>;
239
+ }, z.core.$strip>>;
240
+ recent: z.ZodArray<z.ZodObject<{
241
+ id: z.ZodString;
242
+ slot_at: z.ZodString;
243
+ status: z.ZodEnum<{
244
+ publishing: "publishing";
245
+ ready: "ready";
246
+ generating: "generating";
247
+ published: "published";
248
+ failed: "failed";
249
+ awaiting: "awaiting";
250
+ completed: "completed";
251
+ }>;
252
+ title: z.ZodNullable<z.ZodString>;
253
+ error: z.ZodNullable<z.ZodString>;
254
+ published_at: z.ZodNullable<z.ZodString>;
255
+ schedule_id: z.ZodString;
256
+ task_id: z.ZodNullable<z.ZodString>;
257
+ progress: z.ZodNumber;
258
+ stage: z.ZodNullable<z.ZodString>;
259
+ queuePosition: z.ZodNullable<z.ZodNumber>;
260
+ queueTotal: z.ZodNullable<z.ZodNumber>;
261
+ retryable: z.ZodNullable<z.ZodBoolean>;
262
+ postUrl: z.ZodNullable<z.ZodString>;
263
+ userNotices: z.ZodOptional<z.ZodArray<z.ZodObject<{
264
+ provider: z.ZodString;
265
+ accountId: z.ZodString;
266
+ code: z.ZodString;
267
+ requiresUser: z.ZodLiteral<true>;
268
+ notice: z.ZodString;
269
+ }, z.core.$strip>>>;
270
+ providerFailures: z.ZodOptional<z.ZodArray<z.ZodObject<{
271
+ provider: z.ZodString;
272
+ accountId: z.ZodString;
273
+ code: z.ZodString;
274
+ requiresUser: z.ZodBoolean;
275
+ notice: z.ZodString;
276
+ }, z.core.$strip>>>;
277
+ }, z.core.$strip>>;
278
+ hasAnyPost: z.ZodBoolean;
279
+ }, z.core.$strip>;
280
+ export declare const ListPostsInRangeResponseSchema: z.ZodObject<{
281
+ success: z.ZodLiteral<true>;
282
+ slots: z.ZodArray<z.ZodObject<{
283
+ id: z.ZodString;
284
+ slot_at: z.ZodString;
285
+ status: z.ZodEnum<{
286
+ publishing: "publishing";
287
+ ready: "ready";
288
+ generating: "generating";
289
+ published: "published";
290
+ failed: "failed";
291
+ awaiting: "awaiting";
292
+ completed: "completed";
293
+ }>;
294
+ title: z.ZodNullable<z.ZodString>;
295
+ error: z.ZodNullable<z.ZodString>;
296
+ published_at: z.ZodNullable<z.ZodString>;
297
+ schedule_id: z.ZodString;
298
+ task_id: z.ZodNullable<z.ZodString>;
299
+ progress: z.ZodNumber;
300
+ stage: z.ZodNullable<z.ZodString>;
301
+ queuePosition: z.ZodNullable<z.ZodNumber>;
302
+ queueTotal: z.ZodNullable<z.ZodNumber>;
303
+ retryable: z.ZodNullable<z.ZodBoolean>;
304
+ postUrl: z.ZodNullable<z.ZodString>;
305
+ userNotices: z.ZodOptional<z.ZodArray<z.ZodObject<{
306
+ provider: z.ZodString;
307
+ accountId: z.ZodString;
308
+ code: z.ZodString;
309
+ requiresUser: z.ZodLiteral<true>;
310
+ notice: z.ZodString;
311
+ }, z.core.$strip>>>;
312
+ providerFailures: z.ZodOptional<z.ZodArray<z.ZodObject<{
313
+ provider: z.ZodString;
314
+ accountId: z.ZodString;
315
+ code: z.ZodString;
316
+ requiresUser: z.ZodBoolean;
317
+ notice: z.ZodString;
318
+ }, z.core.$strip>>>;
319
+ }, z.core.$strip>>;
320
+ truncated: z.ZodBoolean;
321
+ }, z.core.$strip>;
322
+ export declare const GetSlotResponseSchema: z.ZodObject<{
323
+ slot: z.ZodObject<{
324
+ id: z.ZodString;
325
+ scheduleId: z.ZodString;
326
+ slotAt: z.ZodString;
327
+ status: z.ZodString;
328
+ title: z.ZodNullable<z.ZodString>;
329
+ error: z.ZodNullable<z.ZodString>;
330
+ publishedAt: z.ZodNullable<z.ZodString>;
331
+ taskId: z.ZodNullable<z.ZodString>;
332
+ progress: z.ZodNumber;
333
+ stage: z.ZodNullable<z.ZodString>;
334
+ retryable: z.ZodNullable<z.ZodBoolean>;
335
+ scriptAngle: z.ZodNullable<z.ZodString>;
336
+ publishLinks: z.ZodArray<z.ZodObject<{
337
+ provider: z.ZodEnum<{
338
+ youtube: "youtube";
339
+ instagram: "instagram";
340
+ linkedin: "linkedin";
341
+ bluesky: "bluesky";
342
+ threads: "threads";
343
+ facebook: "facebook";
344
+ pinterest: "pinterest";
345
+ fanvue: "fanvue";
346
+ "3speak": "3speak";
347
+ rumble: "rumble";
348
+ }>;
349
+ url: z.ZodString;
350
+ }, z.core.$strip>>;
351
+ progressHistory: z.ZodArray<z.ZodObject<{
352
+ progress: z.ZodNumber;
353
+ stage: z.ZodNullable<z.ZodString>;
354
+ recordedAt: z.ZodString;
355
+ }, z.core.$strip>>;
356
+ userNotices: z.ZodArray<z.ZodObject<{
357
+ provider: z.ZodString;
358
+ accountId: z.ZodString;
359
+ code: z.ZodString;
360
+ requiresUser: z.ZodLiteral<true>;
361
+ notice: z.ZodString;
362
+ }, z.core.$strip>>;
363
+ providerFailures: z.ZodArray<z.ZodObject<{
364
+ provider: z.ZodString;
365
+ accountId: z.ZodString;
366
+ code: z.ZodString;
367
+ requiresUser: z.ZodBoolean;
368
+ notice: z.ZodString;
369
+ }, z.core.$strip>>;
370
+ queuePosition: z.ZodNull;
371
+ queueTotal: z.ZodNull;
372
+ postUrl: z.ZodNullable<z.ZodString>;
373
+ }, z.core.$strip>;
374
+ schedule: z.ZodObject<{
375
+ id: z.ZodString;
376
+ personaId: z.ZodNullable<z.ZodString>;
377
+ providers: z.ZodArray<z.ZodString>;
378
+ youtubeAccountIds: z.ZodArray<z.ZodString>;
379
+ instagramAccountIds: z.ZodArray<z.ZodString>;
380
+ linkedinAccountIds: z.ZodArray<z.ZodString>;
381
+ blueskyAccountIds: z.ZodArray<z.ZodString>;
382
+ threadsAccountIds: z.ZodArray<z.ZodString>;
383
+ facebookAccountIds: z.ZodArray<z.ZodString>;
384
+ pinterestAccountIds: z.ZodArray<z.ZodString>;
385
+ pinterestBoardId: z.ZodNullable<z.ZodString>;
386
+ threespeakAccountIds: z.ZodArray<z.ZodString>;
387
+ rumbleAccountIds: z.ZodArray<z.ZodString>;
388
+ fanvueAccountIds: z.ZodArray<z.ZodString>;
389
+ timezone: z.ZodString;
390
+ publishMode: z.ZodEnum<{
391
+ scheduled: "scheduled";
392
+ asap: "asap";
393
+ }>;
394
+ }, z.core.$strip>;
395
+ persona: z.ZodNullable<z.ZodObject<{
396
+ id: z.ZodString;
397
+ name: z.ZodString;
398
+ }, z.core.$strip>>;
399
+ generation: z.ZodObject<{
400
+ faceless: z.ZodBoolean;
401
+ language: z.ZodNullable<z.ZodString>;
402
+ voiceId: z.ZodNullable<z.ZodString>;
403
+ videoAspect: z.ZodNullable<z.ZodString>;
404
+ videoLayout: z.ZodNullable<z.ZodString>;
405
+ niche: z.ZodNullable<z.ZodString>;
406
+ paragraphNumber: z.ZodNullable<z.ZodNumber>;
407
+ faceQuality: z.ZodNullable<z.ZodString>;
408
+ }, z.core.$strip>;
409
+ success: z.ZodLiteral<true>;
410
+ }, z.core.$strip>;
411
+ export declare const UpdateSlotBodySchema: z.ZodObject<{
412
+ title: z.ZodOptional<z.ZodString>;
413
+ slotAt: z.ZodOptional<z.ZodString>;
414
+ }, z.core.$strip>;
415
+ export declare const UpdateSlotResponseSchema: z.ZodObject<{
416
+ success: z.ZodLiteral<true>;
417
+ title: z.ZodOptional<z.ZodString>;
418
+ slotAt: z.ZodOptional<z.ZodString>;
419
+ }, z.core.$strip>;
420
+ export declare const DeleteSlotResponseSchema: z.ZodObject<{
421
+ success: z.ZodLiteral<true>;
422
+ }, z.core.$strip>;
423
+ export declare const listSchedules: EndpointDefinition<undefined, undefined, z.ZodObject<{
424
+ success: z.ZodLiteral<true>;
425
+ schedules: z.ZodArray<z.ZodObject<{
426
+ id: z.ZodString;
427
+ persona_id: z.ZodNullable<z.ZodString>;
428
+ providers: z.ZodArray<z.ZodString>;
429
+ youtube_account_ids: z.ZodArray<z.ZodString>;
430
+ instagram_account_ids: z.ZodArray<z.ZodString>;
431
+ linkedin_account_ids: z.ZodArray<z.ZodString>;
432
+ bluesky_account_ids: z.ZodArray<z.ZodString>;
433
+ threads_account_ids: z.ZodArray<z.ZodString>;
434
+ facebook_account_ids: z.ZodArray<z.ZodString>;
435
+ pinterest_account_ids: z.ZodArray<z.ZodString>;
436
+ pinterest_board_id: z.ZodNullable<z.ZodString>;
437
+ threespeak_account_ids: z.ZodArray<z.ZodString>;
438
+ rumble_account_ids: z.ZodArray<z.ZodString>;
439
+ days_of_week: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
440
+ start_hour: z.ZodNullable<z.ZodNumber>;
441
+ end_hour: z.ZodNullable<z.ZodNumber>;
442
+ posts_per_day: z.ZodNumber;
443
+ timezone: z.ZodString;
444
+ active: z.ZodBoolean;
445
+ created_at: z.ZodString;
446
+ publish_mode: z.ZodEnum<{
447
+ scheduled: "scheduled";
448
+ asap: "asap";
449
+ }>;
450
+ }, z.core.$strip>>;
451
+ }, z.core.$strip>, "/api/schedule">;
452
+ export declare const cancelSchedule: EndpointDefinition<undefined, undefined, z.ZodObject<{
453
+ success: z.ZodLiteral<true>;
454
+ cancelledSlotIds: z.ZodArray<z.ZodString>;
455
+ refunds: z.ZodArray<z.ZodObject<{
456
+ slotId: z.ZodString;
457
+ refunded: z.ZodBoolean;
458
+ alreadyRefunded: z.ZodBoolean;
459
+ reason: z.ZodEnum<{
460
+ not_generated: "not_generated";
461
+ already_generated: "already_generated";
462
+ already_refunded: "already_refunded";
463
+ not_charged: "not_charged";
464
+ refund_failed: "refund_failed";
465
+ discount_withheld: "discount_withheld";
466
+ }>;
467
+ }, z.core.$strip>>;
468
+ batchDiscountWithheld: z.ZodNumber;
469
+ }, z.core.$strip>, "/api/schedule">;
470
+ export declare const listPosts: EndpointDefinition<undefined, undefined, z.ZodObject<{
471
+ success: z.ZodLiteral<true>;
472
+ upcoming: z.ZodArray<z.ZodObject<{
473
+ id: z.ZodString;
474
+ slot_at: z.ZodString;
475
+ status: z.ZodEnum<{
476
+ publishing: "publishing";
477
+ ready: "ready";
478
+ generating: "generating";
479
+ published: "published";
480
+ failed: "failed";
481
+ awaiting: "awaiting";
482
+ completed: "completed";
483
+ }>;
484
+ title: z.ZodNullable<z.ZodString>;
485
+ error: z.ZodNullable<z.ZodString>;
486
+ published_at: z.ZodNullable<z.ZodString>;
487
+ schedule_id: z.ZodString;
488
+ task_id: z.ZodNullable<z.ZodString>;
489
+ progress: z.ZodNumber;
490
+ stage: z.ZodNullable<z.ZodString>;
491
+ queuePosition: z.ZodNullable<z.ZodNumber>;
492
+ queueTotal: z.ZodNullable<z.ZodNumber>;
493
+ retryable: z.ZodNullable<z.ZodBoolean>;
494
+ postUrl: z.ZodNullable<z.ZodString>;
495
+ userNotices: z.ZodOptional<z.ZodArray<z.ZodObject<{
496
+ provider: z.ZodString;
497
+ accountId: z.ZodString;
498
+ code: z.ZodString;
499
+ requiresUser: z.ZodLiteral<true>;
500
+ notice: z.ZodString;
501
+ }, z.core.$strip>>>;
502
+ providerFailures: z.ZodOptional<z.ZodArray<z.ZodObject<{
503
+ provider: z.ZodString;
504
+ accountId: z.ZodString;
505
+ code: z.ZodString;
506
+ requiresUser: z.ZodBoolean;
507
+ notice: z.ZodString;
508
+ }, z.core.$strip>>>;
509
+ }, z.core.$strip>>;
510
+ recent: z.ZodArray<z.ZodObject<{
511
+ id: z.ZodString;
512
+ slot_at: z.ZodString;
513
+ status: z.ZodEnum<{
514
+ publishing: "publishing";
515
+ ready: "ready";
516
+ generating: "generating";
517
+ published: "published";
518
+ failed: "failed";
519
+ awaiting: "awaiting";
520
+ completed: "completed";
521
+ }>;
522
+ title: z.ZodNullable<z.ZodString>;
523
+ error: z.ZodNullable<z.ZodString>;
524
+ published_at: z.ZodNullable<z.ZodString>;
525
+ schedule_id: z.ZodString;
526
+ task_id: z.ZodNullable<z.ZodString>;
527
+ progress: z.ZodNumber;
528
+ stage: z.ZodNullable<z.ZodString>;
529
+ queuePosition: z.ZodNullable<z.ZodNumber>;
530
+ queueTotal: z.ZodNullable<z.ZodNumber>;
531
+ retryable: z.ZodNullable<z.ZodBoolean>;
532
+ postUrl: z.ZodNullable<z.ZodString>;
533
+ userNotices: z.ZodOptional<z.ZodArray<z.ZodObject<{
534
+ provider: z.ZodString;
535
+ accountId: z.ZodString;
536
+ code: z.ZodString;
537
+ requiresUser: z.ZodLiteral<true>;
538
+ notice: z.ZodString;
539
+ }, z.core.$strip>>>;
540
+ providerFailures: z.ZodOptional<z.ZodArray<z.ZodObject<{
541
+ provider: z.ZodString;
542
+ accountId: z.ZodString;
543
+ code: z.ZodString;
544
+ requiresUser: z.ZodBoolean;
545
+ notice: z.ZodString;
546
+ }, z.core.$strip>>>;
547
+ }, z.core.$strip>>;
548
+ hasAnyPost: z.ZodBoolean;
549
+ }, z.core.$strip>, "/api/schedule/status">;
550
+ export declare const listPostsInRange: EndpointDefinition<undefined, undefined, z.ZodObject<{
551
+ success: z.ZodLiteral<true>;
552
+ slots: z.ZodArray<z.ZodObject<{
553
+ id: z.ZodString;
554
+ slot_at: z.ZodString;
555
+ status: z.ZodEnum<{
556
+ publishing: "publishing";
557
+ ready: "ready";
558
+ generating: "generating";
559
+ published: "published";
560
+ failed: "failed";
561
+ awaiting: "awaiting";
562
+ completed: "completed";
563
+ }>;
564
+ title: z.ZodNullable<z.ZodString>;
565
+ error: z.ZodNullable<z.ZodString>;
566
+ published_at: z.ZodNullable<z.ZodString>;
567
+ schedule_id: z.ZodString;
568
+ task_id: z.ZodNullable<z.ZodString>;
569
+ progress: z.ZodNumber;
570
+ stage: z.ZodNullable<z.ZodString>;
571
+ queuePosition: z.ZodNullable<z.ZodNumber>;
572
+ queueTotal: z.ZodNullable<z.ZodNumber>;
573
+ retryable: z.ZodNullable<z.ZodBoolean>;
574
+ postUrl: z.ZodNullable<z.ZodString>;
575
+ userNotices: z.ZodOptional<z.ZodArray<z.ZodObject<{
576
+ provider: z.ZodString;
577
+ accountId: z.ZodString;
578
+ code: z.ZodString;
579
+ requiresUser: z.ZodLiteral<true>;
580
+ notice: z.ZodString;
581
+ }, z.core.$strip>>>;
582
+ providerFailures: z.ZodOptional<z.ZodArray<z.ZodObject<{
583
+ provider: z.ZodString;
584
+ accountId: z.ZodString;
585
+ code: z.ZodString;
586
+ requiresUser: z.ZodBoolean;
587
+ notice: z.ZodString;
588
+ }, z.core.$strip>>>;
589
+ }, z.core.$strip>>;
590
+ truncated: z.ZodBoolean;
591
+ }, z.core.$strip>, "/api/schedule/status">;
592
+ export declare const getSlot: EndpointDefinition<undefined, undefined, z.ZodObject<{
593
+ slot: z.ZodObject<{
594
+ id: z.ZodString;
595
+ scheduleId: z.ZodString;
596
+ slotAt: z.ZodString;
597
+ status: z.ZodString;
598
+ title: z.ZodNullable<z.ZodString>;
599
+ error: z.ZodNullable<z.ZodString>;
600
+ publishedAt: z.ZodNullable<z.ZodString>;
601
+ taskId: z.ZodNullable<z.ZodString>;
602
+ progress: z.ZodNumber;
603
+ stage: z.ZodNullable<z.ZodString>;
604
+ retryable: z.ZodNullable<z.ZodBoolean>;
605
+ scriptAngle: z.ZodNullable<z.ZodString>;
606
+ publishLinks: z.ZodArray<z.ZodObject<{
607
+ provider: z.ZodEnum<{
608
+ youtube: "youtube";
609
+ instagram: "instagram";
610
+ linkedin: "linkedin";
611
+ bluesky: "bluesky";
612
+ threads: "threads";
613
+ facebook: "facebook";
614
+ pinterest: "pinterest";
615
+ fanvue: "fanvue";
616
+ "3speak": "3speak";
617
+ rumble: "rumble";
618
+ }>;
619
+ url: z.ZodString;
620
+ }, z.core.$strip>>;
621
+ progressHistory: z.ZodArray<z.ZodObject<{
622
+ progress: z.ZodNumber;
623
+ stage: z.ZodNullable<z.ZodString>;
624
+ recordedAt: z.ZodString;
625
+ }, z.core.$strip>>;
626
+ userNotices: z.ZodArray<z.ZodObject<{
627
+ provider: z.ZodString;
628
+ accountId: z.ZodString;
629
+ code: z.ZodString;
630
+ requiresUser: z.ZodLiteral<true>;
631
+ notice: z.ZodString;
632
+ }, z.core.$strip>>;
633
+ providerFailures: z.ZodArray<z.ZodObject<{
634
+ provider: z.ZodString;
635
+ accountId: z.ZodString;
636
+ code: z.ZodString;
637
+ requiresUser: z.ZodBoolean;
638
+ notice: z.ZodString;
639
+ }, z.core.$strip>>;
640
+ queuePosition: z.ZodNull;
641
+ queueTotal: z.ZodNull;
642
+ postUrl: z.ZodNullable<z.ZodString>;
643
+ }, z.core.$strip>;
644
+ schedule: z.ZodObject<{
645
+ id: z.ZodString;
646
+ personaId: z.ZodNullable<z.ZodString>;
647
+ providers: z.ZodArray<z.ZodString>;
648
+ youtubeAccountIds: z.ZodArray<z.ZodString>;
649
+ instagramAccountIds: z.ZodArray<z.ZodString>;
650
+ linkedinAccountIds: z.ZodArray<z.ZodString>;
651
+ blueskyAccountIds: z.ZodArray<z.ZodString>;
652
+ threadsAccountIds: z.ZodArray<z.ZodString>;
653
+ facebookAccountIds: z.ZodArray<z.ZodString>;
654
+ pinterestAccountIds: z.ZodArray<z.ZodString>;
655
+ pinterestBoardId: z.ZodNullable<z.ZodString>;
656
+ threespeakAccountIds: z.ZodArray<z.ZodString>;
657
+ rumbleAccountIds: z.ZodArray<z.ZodString>;
658
+ fanvueAccountIds: z.ZodArray<z.ZodString>;
659
+ timezone: z.ZodString;
660
+ publishMode: z.ZodEnum<{
661
+ scheduled: "scheduled";
662
+ asap: "asap";
663
+ }>;
664
+ }, z.core.$strip>;
665
+ persona: z.ZodNullable<z.ZodObject<{
666
+ id: z.ZodString;
667
+ name: z.ZodString;
668
+ }, z.core.$strip>>;
669
+ generation: z.ZodObject<{
670
+ faceless: z.ZodBoolean;
671
+ language: z.ZodNullable<z.ZodString>;
672
+ voiceId: z.ZodNullable<z.ZodString>;
673
+ videoAspect: z.ZodNullable<z.ZodString>;
674
+ videoLayout: z.ZodNullable<z.ZodString>;
675
+ niche: z.ZodNullable<z.ZodString>;
676
+ paragraphNumber: z.ZodNullable<z.ZodNumber>;
677
+ faceQuality: z.ZodNullable<z.ZodString>;
678
+ }, z.core.$strip>;
679
+ success: z.ZodLiteral<true>;
680
+ }, z.core.$strip>, "/api/schedule/slots/:slotId">;
681
+ export declare const updateSlotTitle: EndpointDefinition<z.ZodObject<{
682
+ title: z.ZodOptional<z.ZodString>;
683
+ slotAt: z.ZodOptional<z.ZodString>;
684
+ }, z.core.$strip>, undefined, z.ZodObject<{
685
+ success: z.ZodLiteral<true>;
686
+ title: z.ZodOptional<z.ZodString>;
687
+ slotAt: z.ZodOptional<z.ZodString>;
688
+ }, z.core.$strip>, "/api/schedule/slots/:slotId">;
689
+ export declare const deleteSlot: EndpointDefinition<undefined, undefined, z.ZodObject<{
690
+ success: z.ZodLiteral<true>;
691
+ }, z.core.$strip>, "/api/schedule/slots/:slotId">;