post-engineer-mcp 1.52.601 → 1.52.605
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client-batch.d.ts +3 -1
- package/dist/client-batch.js +4 -1
- package/dist/client-batch.js.map +1 -1
- package/dist/client-billing.d.ts +5 -0
- package/dist/client-billing.js +34 -0
- package/dist/client-billing.js.map +1 -0
- package/dist/client-experiments.d.ts +5 -14
- package/dist/client-experiments.js +17 -3
- package/dist/client-experiments.js.map +1 -1
- package/dist/client-posts.d.ts +12 -6
- package/dist/client-posts.js +22 -11
- package/dist/client-posts.js.map +1 -1
- package/dist/client-prompts.d.ts +4 -8
- package/dist/client-prompts.js +7 -24
- package/dist/client-prompts.js.map +1 -1
- package/dist/client-publish-uploaded.d.ts +8 -1
- package/dist/client-publish-uploaded.js +121 -49
- package/dist/client-publish-uploaded.js.map +1 -1
- package/dist/client-publishing-accounts.d.ts +4 -2
- package/dist/client-publishing-accounts.js +6 -2
- package/dist/client-publishing-accounts.js.map +1 -1
- package/dist/client-types.d.ts +5 -4
- package/dist/client-user-media.d.ts +4 -3
- package/dist/client-user-media.js +17 -47
- package/dist/client-user-media.js.map +1 -1
- package/dist/client-video-task.d.ts +3 -1
- package/dist/client-video-task.js +4 -1
- package/dist/client-video-task.js.map +1 -1
- package/dist/client.d.ts +40 -39
- package/dist/client.js +80 -148
- package/dist/client.js.map +1 -1
- package/dist/cloned-voice-client.d.ts +7 -5
- package/dist/cloned-voice-client.js +10 -4
- package/dist/cloned-voice-client.js.map +1 -1
- package/dist/connect-account.js +14 -6
- package/dist/connect-account.js.map +1 -1
- package/dist/contract-response.d.ts +8 -0
- package/dist/contract-response.js +24 -0
- package/dist/contract-response.js.map +1 -0
- package/dist/contracts/accounts.d.ts +844 -0
- package/dist/contracts/accounts.js +346 -0
- package/dist/contracts/accounts.js.map +1 -0
- package/dist/contracts/billing.d.ts +109 -0
- package/dist/contracts/billing.js +88 -0
- package/dist/contracts/billing.js.map +1 -0
- package/dist/contracts/endpoint.d.ts +45 -0
- package/dist/contracts/endpoint.js +8 -0
- package/dist/contracts/endpoint.js.map +1 -0
- package/dist/contracts/experiments.d.ts +271 -0
- package/dist/contracts/experiments.js +170 -0
- package/dist/contracts/experiments.js.map +1 -0
- package/dist/contracts/media.d.ts +165 -0
- package/dist/contracts/media.js +139 -0
- package/dist/contracts/media.js.map +1 -0
- package/dist/contracts/metrics.d.ts +351 -0
- package/dist/contracts/metrics.js +256 -0
- package/dist/contracts/metrics.js.map +1 -0
- package/dist/contracts/personas.d.ts +560 -0
- package/dist/contracts/personas.js +346 -0
- package/dist/contracts/personas.js.map +1 -0
- package/dist/contracts/posts.d.ts +485 -0
- package/dist/contracts/posts.js +153 -0
- package/dist/contracts/posts.js.map +1 -0
- package/dist/contracts/prompts.d.ts +90 -0
- package/dist/contracts/prompts.js +48 -0
- package/dist/contracts/prompts.js.map +1 -0
- package/dist/contracts/schedule.d.ts +691 -0
- package/dist/contracts/schedule.js +264 -0
- package/dist/contracts/schedule.js.map +1 -0
- package/dist/contracts/video-tasks.d.ts +181 -0
- package/dist/contracts/video-tasks.js +121 -0
- package/dist/contracts/video-tasks.js.map +1 -0
- package/dist/contracts/videos.d.ts +693 -0
- package/dist/contracts/videos.js +443 -0
- package/dist/contracts/videos.js.map +1 -0
- package/dist/contracts/voices.d.ts +237 -0
- package/dist/contracts/voices.js +118 -0
- package/dist/contracts/voices.js.map +1 -0
- package/dist/generate-video.d.ts +33 -33
- package/dist/generate-video.js +13 -1
- package/dist/generate-video.js.map +1 -1
- package/dist/intent-content.js +1 -1
- package/dist/intent-personas.js +17 -7
- package/dist/intent-personas.js.map +1 -1
- package/dist/limits.d.ts +27 -44
- package/dist/limits.js +27 -45
- package/dist/limits.js.map +1 -1
- package/dist/persona-delete.js +9 -9
- package/dist/persona-delete.js.map +1 -1
- package/dist/persona-update.js +3 -2
- package/dist/persona-update.js.map +1 -1
- package/dist/script-segments.d.ts +1 -1
- package/dist/script-segments.js +1 -1
- package/dist/single-video-shape.d.ts +5 -5
- package/dist/single-video-shape.js +1 -1
- package/dist/tools-batch.d.ts +42 -42
- package/dist/tools-batch.js +12 -36
- package/dist/tools-batch.js.map +1 -1
- package/dist/tools-experiments.d.ts +11 -11
- package/dist/tools-experiments.js +17 -9
- package/dist/tools-experiments.js.map +1 -1
- package/dist/tools-pinterest.js +5 -15
- package/dist/tools-pinterest.js.map +1 -1
- package/dist/tools-single-video.js +14 -51
- package/dist/tools-single-video.js.map +1 -1
- package/dist/tools-user-media.js +3 -1
- package/dist/tools-user-media.js.map +1 -1
- package/dist/tools.d.ts +0 -25
- package/dist/tools.js +56 -96
- package/dist/tools.js.map +1 -1
- package/dist/voice-filters.js +2 -1
- package/dist/voice-filters.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,485 @@
|
|
|
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
|
+
/** Providers a publish link can name. Mirrors the PROVIDERS set of
|
|
47
|
+
* apps/web/lib/publish-links.ts (resolvePublishLinks drops any other
|
|
48
|
+
* provider before a link is built); pinned by
|
|
49
|
+
* apps/web/lib/__tests__/contracts-shared.test.ts. */
|
|
50
|
+
export declare const PUBLISH_PROVIDERS: readonly ["youtube", "instagram", "bluesky", "linkedin", "threads", "facebook", "pinterest", "3speak", "rumble", "fanvue"];
|
|
51
|
+
export declare const PublishLinkSchema: z.ZodObject<{
|
|
52
|
+
provider: z.ZodEnum<{
|
|
53
|
+
youtube: "youtube";
|
|
54
|
+
instagram: "instagram";
|
|
55
|
+
linkedin: "linkedin";
|
|
56
|
+
bluesky: "bluesky";
|
|
57
|
+
threads: "threads";
|
|
58
|
+
facebook: "facebook";
|
|
59
|
+
pinterest: "pinterest";
|
|
60
|
+
fanvue: "fanvue";
|
|
61
|
+
"3speak": "3speak";
|
|
62
|
+
rumble: "rumble";
|
|
63
|
+
}>;
|
|
64
|
+
url: z.ZodString;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
export declare const PublishUserNoticeSchema: z.ZodObject<{
|
|
67
|
+
provider: z.ZodString;
|
|
68
|
+
accountId: z.ZodString;
|
|
69
|
+
code: z.ZodString;
|
|
70
|
+
requiresUser: z.ZodLiteral<true>;
|
|
71
|
+
notice: z.ZodString;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
export declare const PublishProviderFailureSchema: z.ZodObject<{
|
|
74
|
+
provider: z.ZodString;
|
|
75
|
+
accountId: z.ZodString;
|
|
76
|
+
code: z.ZodString;
|
|
77
|
+
requiresUser: z.ZodBoolean;
|
|
78
|
+
notice: z.ZodString;
|
|
79
|
+
}, z.core.$strip>;
|
|
80
|
+
export declare const SlotProgressHistoryEntrySchema: z.ZodObject<{
|
|
81
|
+
progress: z.ZodNumber;
|
|
82
|
+
stage: z.ZodNullable<z.ZodString>;
|
|
83
|
+
recordedAt: z.ZodString;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
export declare const SlotPostSchema: z.ZodObject<{
|
|
86
|
+
id: z.ZodString;
|
|
87
|
+
scheduleId: z.ZodString;
|
|
88
|
+
slotAt: z.ZodString;
|
|
89
|
+
status: z.ZodString;
|
|
90
|
+
title: z.ZodNullable<z.ZodString>;
|
|
91
|
+
error: z.ZodNullable<z.ZodString>;
|
|
92
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
93
|
+
taskId: z.ZodNullable<z.ZodString>;
|
|
94
|
+
progress: z.ZodNumber;
|
|
95
|
+
stage: z.ZodNullable<z.ZodString>;
|
|
96
|
+
retryable: z.ZodNullable<z.ZodBoolean>;
|
|
97
|
+
scriptAngle: z.ZodNullable<z.ZodString>;
|
|
98
|
+
publishLinks: z.ZodArray<z.ZodObject<{
|
|
99
|
+
provider: z.ZodEnum<{
|
|
100
|
+
youtube: "youtube";
|
|
101
|
+
instagram: "instagram";
|
|
102
|
+
linkedin: "linkedin";
|
|
103
|
+
bluesky: "bluesky";
|
|
104
|
+
threads: "threads";
|
|
105
|
+
facebook: "facebook";
|
|
106
|
+
pinterest: "pinterest";
|
|
107
|
+
fanvue: "fanvue";
|
|
108
|
+
"3speak": "3speak";
|
|
109
|
+
rumble: "rumble";
|
|
110
|
+
}>;
|
|
111
|
+
url: z.ZodString;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
progressHistory: z.ZodArray<z.ZodObject<{
|
|
114
|
+
progress: z.ZodNumber;
|
|
115
|
+
stage: z.ZodNullable<z.ZodString>;
|
|
116
|
+
recordedAt: z.ZodString;
|
|
117
|
+
}, z.core.$strip>>;
|
|
118
|
+
userNotices: z.ZodArray<z.ZodObject<{
|
|
119
|
+
provider: z.ZodString;
|
|
120
|
+
accountId: z.ZodString;
|
|
121
|
+
code: z.ZodString;
|
|
122
|
+
requiresUser: z.ZodLiteral<true>;
|
|
123
|
+
notice: z.ZodString;
|
|
124
|
+
}, z.core.$strip>>;
|
|
125
|
+
providerFailures: z.ZodArray<z.ZodObject<{
|
|
126
|
+
provider: z.ZodString;
|
|
127
|
+
accountId: z.ZodString;
|
|
128
|
+
code: z.ZodString;
|
|
129
|
+
requiresUser: z.ZodBoolean;
|
|
130
|
+
notice: z.ZodString;
|
|
131
|
+
}, z.core.$strip>>;
|
|
132
|
+
queuePosition: z.ZodNull;
|
|
133
|
+
queueTotal: z.ZodNull;
|
|
134
|
+
postUrl: z.ZodNullable<z.ZodString>;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
export declare const SlotScheduleSchema: z.ZodObject<{
|
|
137
|
+
id: z.ZodString;
|
|
138
|
+
personaId: z.ZodNullable<z.ZodString>;
|
|
139
|
+
providers: z.ZodArray<z.ZodString>;
|
|
140
|
+
youtubeAccountIds: z.ZodArray<z.ZodString>;
|
|
141
|
+
instagramAccountIds: z.ZodArray<z.ZodString>;
|
|
142
|
+
linkedinAccountIds: z.ZodArray<z.ZodString>;
|
|
143
|
+
blueskyAccountIds: z.ZodArray<z.ZodString>;
|
|
144
|
+
threadsAccountIds: z.ZodArray<z.ZodString>;
|
|
145
|
+
facebookAccountIds: z.ZodArray<z.ZodString>;
|
|
146
|
+
pinterestAccountIds: z.ZodArray<z.ZodString>;
|
|
147
|
+
pinterestBoardId: z.ZodNullable<z.ZodString>;
|
|
148
|
+
threespeakAccountIds: z.ZodArray<z.ZodString>;
|
|
149
|
+
rumbleAccountIds: z.ZodArray<z.ZodString>;
|
|
150
|
+
fanvueAccountIds: z.ZodArray<z.ZodString>;
|
|
151
|
+
timezone: z.ZodString;
|
|
152
|
+
publishMode: z.ZodEnum<{
|
|
153
|
+
scheduled: "scheduled";
|
|
154
|
+
asap: "asap";
|
|
155
|
+
}>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
export declare const SlotGenerationSchema: z.ZodObject<{
|
|
158
|
+
faceless: z.ZodBoolean;
|
|
159
|
+
language: z.ZodNullable<z.ZodString>;
|
|
160
|
+
voiceId: z.ZodNullable<z.ZodString>;
|
|
161
|
+
videoAspect: z.ZodNullable<z.ZodString>;
|
|
162
|
+
videoLayout: z.ZodNullable<z.ZodString>;
|
|
163
|
+
niche: z.ZodNullable<z.ZodString>;
|
|
164
|
+
paragraphNumber: z.ZodNullable<z.ZodNumber>;
|
|
165
|
+
faceQuality: z.ZodNullable<z.ZodString>;
|
|
166
|
+
}, z.core.$strip>;
|
|
167
|
+
export declare const SlotDetailSchema: z.ZodObject<{
|
|
168
|
+
slot: z.ZodObject<{
|
|
169
|
+
id: z.ZodString;
|
|
170
|
+
scheduleId: z.ZodString;
|
|
171
|
+
slotAt: z.ZodString;
|
|
172
|
+
status: z.ZodString;
|
|
173
|
+
title: z.ZodNullable<z.ZodString>;
|
|
174
|
+
error: z.ZodNullable<z.ZodString>;
|
|
175
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
176
|
+
taskId: z.ZodNullable<z.ZodString>;
|
|
177
|
+
progress: z.ZodNumber;
|
|
178
|
+
stage: z.ZodNullable<z.ZodString>;
|
|
179
|
+
retryable: z.ZodNullable<z.ZodBoolean>;
|
|
180
|
+
scriptAngle: z.ZodNullable<z.ZodString>;
|
|
181
|
+
publishLinks: z.ZodArray<z.ZodObject<{
|
|
182
|
+
provider: z.ZodEnum<{
|
|
183
|
+
youtube: "youtube";
|
|
184
|
+
instagram: "instagram";
|
|
185
|
+
linkedin: "linkedin";
|
|
186
|
+
bluesky: "bluesky";
|
|
187
|
+
threads: "threads";
|
|
188
|
+
facebook: "facebook";
|
|
189
|
+
pinterest: "pinterest";
|
|
190
|
+
fanvue: "fanvue";
|
|
191
|
+
"3speak": "3speak";
|
|
192
|
+
rumble: "rumble";
|
|
193
|
+
}>;
|
|
194
|
+
url: z.ZodString;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
progressHistory: z.ZodArray<z.ZodObject<{
|
|
197
|
+
progress: z.ZodNumber;
|
|
198
|
+
stage: z.ZodNullable<z.ZodString>;
|
|
199
|
+
recordedAt: z.ZodString;
|
|
200
|
+
}, z.core.$strip>>;
|
|
201
|
+
userNotices: z.ZodArray<z.ZodObject<{
|
|
202
|
+
provider: z.ZodString;
|
|
203
|
+
accountId: z.ZodString;
|
|
204
|
+
code: z.ZodString;
|
|
205
|
+
requiresUser: z.ZodLiteral<true>;
|
|
206
|
+
notice: z.ZodString;
|
|
207
|
+
}, z.core.$strip>>;
|
|
208
|
+
providerFailures: z.ZodArray<z.ZodObject<{
|
|
209
|
+
provider: z.ZodString;
|
|
210
|
+
accountId: z.ZodString;
|
|
211
|
+
code: z.ZodString;
|
|
212
|
+
requiresUser: z.ZodBoolean;
|
|
213
|
+
notice: z.ZodString;
|
|
214
|
+
}, z.core.$strip>>;
|
|
215
|
+
queuePosition: z.ZodNull;
|
|
216
|
+
queueTotal: z.ZodNull;
|
|
217
|
+
postUrl: z.ZodNullable<z.ZodString>;
|
|
218
|
+
}, z.core.$strip>;
|
|
219
|
+
schedule: z.ZodObject<{
|
|
220
|
+
id: z.ZodString;
|
|
221
|
+
personaId: z.ZodNullable<z.ZodString>;
|
|
222
|
+
providers: z.ZodArray<z.ZodString>;
|
|
223
|
+
youtubeAccountIds: z.ZodArray<z.ZodString>;
|
|
224
|
+
instagramAccountIds: z.ZodArray<z.ZodString>;
|
|
225
|
+
linkedinAccountIds: z.ZodArray<z.ZodString>;
|
|
226
|
+
blueskyAccountIds: z.ZodArray<z.ZodString>;
|
|
227
|
+
threadsAccountIds: z.ZodArray<z.ZodString>;
|
|
228
|
+
facebookAccountIds: z.ZodArray<z.ZodString>;
|
|
229
|
+
pinterestAccountIds: z.ZodArray<z.ZodString>;
|
|
230
|
+
pinterestBoardId: z.ZodNullable<z.ZodString>;
|
|
231
|
+
threespeakAccountIds: z.ZodArray<z.ZodString>;
|
|
232
|
+
rumbleAccountIds: z.ZodArray<z.ZodString>;
|
|
233
|
+
fanvueAccountIds: z.ZodArray<z.ZodString>;
|
|
234
|
+
timezone: z.ZodString;
|
|
235
|
+
publishMode: z.ZodEnum<{
|
|
236
|
+
scheduled: "scheduled";
|
|
237
|
+
asap: "asap";
|
|
238
|
+
}>;
|
|
239
|
+
}, z.core.$strip>;
|
|
240
|
+
persona: z.ZodNullable<z.ZodObject<{
|
|
241
|
+
id: z.ZodString;
|
|
242
|
+
name: z.ZodString;
|
|
243
|
+
}, z.core.$strip>>;
|
|
244
|
+
generation: z.ZodObject<{
|
|
245
|
+
faceless: z.ZodBoolean;
|
|
246
|
+
language: z.ZodNullable<z.ZodString>;
|
|
247
|
+
voiceId: z.ZodNullable<z.ZodString>;
|
|
248
|
+
videoAspect: z.ZodNullable<z.ZodString>;
|
|
249
|
+
videoLayout: z.ZodNullable<z.ZodString>;
|
|
250
|
+
niche: z.ZodNullable<z.ZodString>;
|
|
251
|
+
paragraphNumber: z.ZodNullable<z.ZodNumber>;
|
|
252
|
+
faceQuality: z.ZodNullable<z.ZodString>;
|
|
253
|
+
}, z.core.$strip>;
|
|
254
|
+
}, z.core.$strip>;
|
|
255
|
+
export declare const GenerationPostDetailSchema: z.ZodObject<{
|
|
256
|
+
id: z.ZodString;
|
|
257
|
+
generationId: z.ZodString;
|
|
258
|
+
engineTaskId: z.ZodNullable<z.ZodString>;
|
|
259
|
+
personaName: z.ZodNullable<z.ZodString>;
|
|
260
|
+
videoSubject: z.ZodNullable<z.ZodString>;
|
|
261
|
+
status: z.ZodString;
|
|
262
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
263
|
+
tokensRefunded: z.ZodBoolean;
|
|
264
|
+
createdAt: z.ZodString;
|
|
265
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
266
|
+
progress: z.ZodNumber;
|
|
267
|
+
stage: z.ZodNullable<z.ZodString>;
|
|
268
|
+
scriptAngle: z.ZodNullable<z.ZodString>;
|
|
269
|
+
}, z.core.$strip>;
|
|
270
|
+
export declare const GetPostResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
271
|
+
success: z.ZodLiteral<true>;
|
|
272
|
+
kind: z.ZodLiteral<"generation">;
|
|
273
|
+
generation: z.ZodObject<{
|
|
274
|
+
id: z.ZodString;
|
|
275
|
+
generationId: z.ZodString;
|
|
276
|
+
engineTaskId: z.ZodNullable<z.ZodString>;
|
|
277
|
+
personaName: z.ZodNullable<z.ZodString>;
|
|
278
|
+
videoSubject: z.ZodNullable<z.ZodString>;
|
|
279
|
+
status: z.ZodString;
|
|
280
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
281
|
+
tokensRefunded: z.ZodBoolean;
|
|
282
|
+
createdAt: z.ZodString;
|
|
283
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
284
|
+
progress: z.ZodNumber;
|
|
285
|
+
stage: z.ZodNullable<z.ZodString>;
|
|
286
|
+
scriptAngle: z.ZodNullable<z.ZodString>;
|
|
287
|
+
}, z.core.$strip>;
|
|
288
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
289
|
+
success: z.ZodLiteral<true>;
|
|
290
|
+
kind: z.ZodLiteral<"slot">;
|
|
291
|
+
slot: z.ZodObject<{
|
|
292
|
+
id: z.ZodString;
|
|
293
|
+
scheduleId: z.ZodString;
|
|
294
|
+
slotAt: z.ZodString;
|
|
295
|
+
status: z.ZodString;
|
|
296
|
+
title: z.ZodNullable<z.ZodString>;
|
|
297
|
+
error: z.ZodNullable<z.ZodString>;
|
|
298
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
299
|
+
taskId: z.ZodNullable<z.ZodString>;
|
|
300
|
+
progress: z.ZodNumber;
|
|
301
|
+
stage: z.ZodNullable<z.ZodString>;
|
|
302
|
+
retryable: z.ZodNullable<z.ZodBoolean>;
|
|
303
|
+
scriptAngle: z.ZodNullable<z.ZodString>;
|
|
304
|
+
publishLinks: z.ZodArray<z.ZodObject<{
|
|
305
|
+
provider: z.ZodEnum<{
|
|
306
|
+
youtube: "youtube";
|
|
307
|
+
instagram: "instagram";
|
|
308
|
+
linkedin: "linkedin";
|
|
309
|
+
bluesky: "bluesky";
|
|
310
|
+
threads: "threads";
|
|
311
|
+
facebook: "facebook";
|
|
312
|
+
pinterest: "pinterest";
|
|
313
|
+
fanvue: "fanvue";
|
|
314
|
+
"3speak": "3speak";
|
|
315
|
+
rumble: "rumble";
|
|
316
|
+
}>;
|
|
317
|
+
url: z.ZodString;
|
|
318
|
+
}, z.core.$strip>>;
|
|
319
|
+
progressHistory: z.ZodArray<z.ZodObject<{
|
|
320
|
+
progress: z.ZodNumber;
|
|
321
|
+
stage: z.ZodNullable<z.ZodString>;
|
|
322
|
+
recordedAt: z.ZodString;
|
|
323
|
+
}, z.core.$strip>>;
|
|
324
|
+
userNotices: z.ZodArray<z.ZodObject<{
|
|
325
|
+
provider: z.ZodString;
|
|
326
|
+
accountId: z.ZodString;
|
|
327
|
+
code: z.ZodString;
|
|
328
|
+
requiresUser: z.ZodLiteral<true>;
|
|
329
|
+
notice: z.ZodString;
|
|
330
|
+
}, z.core.$strip>>;
|
|
331
|
+
providerFailures: z.ZodArray<z.ZodObject<{
|
|
332
|
+
provider: z.ZodString;
|
|
333
|
+
accountId: z.ZodString;
|
|
334
|
+
code: z.ZodString;
|
|
335
|
+
requiresUser: z.ZodBoolean;
|
|
336
|
+
notice: z.ZodString;
|
|
337
|
+
}, z.core.$strip>>;
|
|
338
|
+
queuePosition: z.ZodNull;
|
|
339
|
+
queueTotal: z.ZodNull;
|
|
340
|
+
postUrl: z.ZodNullable<z.ZodString>;
|
|
341
|
+
}, z.core.$strip>;
|
|
342
|
+
schedule: z.ZodObject<{
|
|
343
|
+
id: z.ZodString;
|
|
344
|
+
personaId: z.ZodNullable<z.ZodString>;
|
|
345
|
+
providers: z.ZodArray<z.ZodString>;
|
|
346
|
+
youtubeAccountIds: z.ZodArray<z.ZodString>;
|
|
347
|
+
instagramAccountIds: z.ZodArray<z.ZodString>;
|
|
348
|
+
linkedinAccountIds: z.ZodArray<z.ZodString>;
|
|
349
|
+
blueskyAccountIds: z.ZodArray<z.ZodString>;
|
|
350
|
+
threadsAccountIds: z.ZodArray<z.ZodString>;
|
|
351
|
+
facebookAccountIds: z.ZodArray<z.ZodString>;
|
|
352
|
+
pinterestAccountIds: z.ZodArray<z.ZodString>;
|
|
353
|
+
pinterestBoardId: z.ZodNullable<z.ZodString>;
|
|
354
|
+
threespeakAccountIds: z.ZodArray<z.ZodString>;
|
|
355
|
+
rumbleAccountIds: z.ZodArray<z.ZodString>;
|
|
356
|
+
fanvueAccountIds: z.ZodArray<z.ZodString>;
|
|
357
|
+
timezone: z.ZodString;
|
|
358
|
+
publishMode: z.ZodEnum<{
|
|
359
|
+
scheduled: "scheduled";
|
|
360
|
+
asap: "asap";
|
|
361
|
+
}>;
|
|
362
|
+
}, z.core.$strip>;
|
|
363
|
+
persona: z.ZodNullable<z.ZodObject<{
|
|
364
|
+
id: z.ZodString;
|
|
365
|
+
name: z.ZodString;
|
|
366
|
+
}, z.core.$strip>>;
|
|
367
|
+
generation: z.ZodObject<{
|
|
368
|
+
faceless: z.ZodBoolean;
|
|
369
|
+
language: z.ZodNullable<z.ZodString>;
|
|
370
|
+
voiceId: z.ZodNullable<z.ZodString>;
|
|
371
|
+
videoAspect: z.ZodNullable<z.ZodString>;
|
|
372
|
+
videoLayout: z.ZodNullable<z.ZodString>;
|
|
373
|
+
niche: z.ZodNullable<z.ZodString>;
|
|
374
|
+
paragraphNumber: z.ZodNullable<z.ZodNumber>;
|
|
375
|
+
faceQuality: z.ZodNullable<z.ZodString>;
|
|
376
|
+
}, z.core.$strip>;
|
|
377
|
+
}, z.core.$strip>], "kind">;
|
|
378
|
+
export declare const getPost: EndpointDefinition<undefined, undefined, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
379
|
+
success: z.ZodLiteral<true>;
|
|
380
|
+
kind: z.ZodLiteral<"generation">;
|
|
381
|
+
generation: z.ZodObject<{
|
|
382
|
+
id: z.ZodString;
|
|
383
|
+
generationId: z.ZodString;
|
|
384
|
+
engineTaskId: z.ZodNullable<z.ZodString>;
|
|
385
|
+
personaName: z.ZodNullable<z.ZodString>;
|
|
386
|
+
videoSubject: z.ZodNullable<z.ZodString>;
|
|
387
|
+
status: z.ZodString;
|
|
388
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
389
|
+
tokensRefunded: z.ZodBoolean;
|
|
390
|
+
createdAt: z.ZodString;
|
|
391
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
392
|
+
progress: z.ZodNumber;
|
|
393
|
+
stage: z.ZodNullable<z.ZodString>;
|
|
394
|
+
scriptAngle: z.ZodNullable<z.ZodString>;
|
|
395
|
+
}, z.core.$strip>;
|
|
396
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
397
|
+
success: z.ZodLiteral<true>;
|
|
398
|
+
kind: z.ZodLiteral<"slot">;
|
|
399
|
+
slot: z.ZodObject<{
|
|
400
|
+
id: z.ZodString;
|
|
401
|
+
scheduleId: z.ZodString;
|
|
402
|
+
slotAt: z.ZodString;
|
|
403
|
+
status: z.ZodString;
|
|
404
|
+
title: z.ZodNullable<z.ZodString>;
|
|
405
|
+
error: z.ZodNullable<z.ZodString>;
|
|
406
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
407
|
+
taskId: z.ZodNullable<z.ZodString>;
|
|
408
|
+
progress: z.ZodNumber;
|
|
409
|
+
stage: z.ZodNullable<z.ZodString>;
|
|
410
|
+
retryable: z.ZodNullable<z.ZodBoolean>;
|
|
411
|
+
scriptAngle: z.ZodNullable<z.ZodString>;
|
|
412
|
+
publishLinks: z.ZodArray<z.ZodObject<{
|
|
413
|
+
provider: z.ZodEnum<{
|
|
414
|
+
youtube: "youtube";
|
|
415
|
+
instagram: "instagram";
|
|
416
|
+
linkedin: "linkedin";
|
|
417
|
+
bluesky: "bluesky";
|
|
418
|
+
threads: "threads";
|
|
419
|
+
facebook: "facebook";
|
|
420
|
+
pinterest: "pinterest";
|
|
421
|
+
fanvue: "fanvue";
|
|
422
|
+
"3speak": "3speak";
|
|
423
|
+
rumble: "rumble";
|
|
424
|
+
}>;
|
|
425
|
+
url: z.ZodString;
|
|
426
|
+
}, z.core.$strip>>;
|
|
427
|
+
progressHistory: z.ZodArray<z.ZodObject<{
|
|
428
|
+
progress: z.ZodNumber;
|
|
429
|
+
stage: z.ZodNullable<z.ZodString>;
|
|
430
|
+
recordedAt: z.ZodString;
|
|
431
|
+
}, z.core.$strip>>;
|
|
432
|
+
userNotices: z.ZodArray<z.ZodObject<{
|
|
433
|
+
provider: z.ZodString;
|
|
434
|
+
accountId: z.ZodString;
|
|
435
|
+
code: z.ZodString;
|
|
436
|
+
requiresUser: z.ZodLiteral<true>;
|
|
437
|
+
notice: z.ZodString;
|
|
438
|
+
}, z.core.$strip>>;
|
|
439
|
+
providerFailures: z.ZodArray<z.ZodObject<{
|
|
440
|
+
provider: z.ZodString;
|
|
441
|
+
accountId: z.ZodString;
|
|
442
|
+
code: z.ZodString;
|
|
443
|
+
requiresUser: z.ZodBoolean;
|
|
444
|
+
notice: z.ZodString;
|
|
445
|
+
}, z.core.$strip>>;
|
|
446
|
+
queuePosition: z.ZodNull;
|
|
447
|
+
queueTotal: z.ZodNull;
|
|
448
|
+
postUrl: z.ZodNullable<z.ZodString>;
|
|
449
|
+
}, z.core.$strip>;
|
|
450
|
+
schedule: z.ZodObject<{
|
|
451
|
+
id: z.ZodString;
|
|
452
|
+
personaId: z.ZodNullable<z.ZodString>;
|
|
453
|
+
providers: z.ZodArray<z.ZodString>;
|
|
454
|
+
youtubeAccountIds: z.ZodArray<z.ZodString>;
|
|
455
|
+
instagramAccountIds: z.ZodArray<z.ZodString>;
|
|
456
|
+
linkedinAccountIds: z.ZodArray<z.ZodString>;
|
|
457
|
+
blueskyAccountIds: z.ZodArray<z.ZodString>;
|
|
458
|
+
threadsAccountIds: z.ZodArray<z.ZodString>;
|
|
459
|
+
facebookAccountIds: z.ZodArray<z.ZodString>;
|
|
460
|
+
pinterestAccountIds: z.ZodArray<z.ZodString>;
|
|
461
|
+
pinterestBoardId: z.ZodNullable<z.ZodString>;
|
|
462
|
+
threespeakAccountIds: z.ZodArray<z.ZodString>;
|
|
463
|
+
rumbleAccountIds: z.ZodArray<z.ZodString>;
|
|
464
|
+
fanvueAccountIds: z.ZodArray<z.ZodString>;
|
|
465
|
+
timezone: z.ZodString;
|
|
466
|
+
publishMode: z.ZodEnum<{
|
|
467
|
+
scheduled: "scheduled";
|
|
468
|
+
asap: "asap";
|
|
469
|
+
}>;
|
|
470
|
+
}, z.core.$strip>;
|
|
471
|
+
persona: z.ZodNullable<z.ZodObject<{
|
|
472
|
+
id: z.ZodString;
|
|
473
|
+
name: z.ZodString;
|
|
474
|
+
}, z.core.$strip>>;
|
|
475
|
+
generation: z.ZodObject<{
|
|
476
|
+
faceless: z.ZodBoolean;
|
|
477
|
+
language: z.ZodNullable<z.ZodString>;
|
|
478
|
+
voiceId: z.ZodNullable<z.ZodString>;
|
|
479
|
+
videoAspect: z.ZodNullable<z.ZodString>;
|
|
480
|
+
videoLayout: z.ZodNullable<z.ZodString>;
|
|
481
|
+
niche: z.ZodNullable<z.ZodString>;
|
|
482
|
+
paragraphNumber: z.ZodNullable<z.ZodNumber>;
|
|
483
|
+
faceQuality: z.ZodNullable<z.ZodString>;
|
|
484
|
+
}, z.core.$strip>;
|
|
485
|
+
}, z.core.$strip>], "kind">, "/api/posts/:id">;
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
// GENERATED from shared/contracts — do not edit.
|
|
2
|
+
// Run `node scripts/sync-contracts.mjs` from the repo root to regenerate.
|
|
3
|
+
// Post detail contract: the single source of truth for GET /api/posts/[id].
|
|
4
|
+
// Both apps generate a copy of this file (see scripts/sync-contracts.mjs);
|
|
5
|
+
// never edit a generated copy by hand.
|
|
6
|
+
//
|
|
7
|
+
// One endpoint, two kinds: a scheduled slot (scheduled_posts id) or a
|
|
8
|
+
// direct video generation (video_generations generation_id). The route
|
|
9
|
+
// returns `{success: true, kind: 'generation', generation}` or
|
|
10
|
+
// `{success: true, kind: 'slot', ...slotDetail}`; a miss is a 404, never a
|
|
11
|
+
// 200, so the response schema below covers the 200 shape only. The detail
|
|
12
|
+
// shapes mirror apps/web/lib/post-detail.ts (SlotPostDetail,
|
|
13
|
+
// GenerationPostDetail) and the publish-link/notice shapes of
|
|
14
|
+
// apps/web/lib/publish-links.ts and publish-user-notice.ts. `success` is a
|
|
15
|
+
// literal `true`: the route never returns success:false with a 200.
|
|
16
|
+
import { z } from 'zod';
|
|
17
|
+
/** Define one endpoint contract. The literal path is preserved in the type
|
|
18
|
+
* so ParamsOf can read its `:param` segments. `Body`/`Query` default to
|
|
19
|
+
* `undefined` so an omitted optional schema stays `undefined` (not the
|
|
20
|
+
* bare `ZodType`) in the returned definition. */
|
|
21
|
+
export function defineEndpoint(config) {
|
|
22
|
+
return config;
|
|
23
|
+
}
|
|
24
|
+
/** Providers a publish link can name. Mirrors the PROVIDERS set of
|
|
25
|
+
* apps/web/lib/publish-links.ts (resolvePublishLinks drops any other
|
|
26
|
+
* provider before a link is built); pinned by
|
|
27
|
+
* apps/web/lib/__tests__/contracts-shared.test.ts. */
|
|
28
|
+
export const PUBLISH_PROVIDERS = [
|
|
29
|
+
'youtube',
|
|
30
|
+
'instagram',
|
|
31
|
+
'bluesky',
|
|
32
|
+
'linkedin',
|
|
33
|
+
'threads',
|
|
34
|
+
'facebook',
|
|
35
|
+
'pinterest',
|
|
36
|
+
'3speak',
|
|
37
|
+
'rumble',
|
|
38
|
+
'fanvue',
|
|
39
|
+
];
|
|
40
|
+
export const PublishLinkSchema = z.object({
|
|
41
|
+
provider: z.enum(PUBLISH_PROVIDERS),
|
|
42
|
+
url: z.string(),
|
|
43
|
+
});
|
|
44
|
+
export const PublishUserNoticeSchema = z.object({
|
|
45
|
+
provider: z.string(),
|
|
46
|
+
accountId: z.string(),
|
|
47
|
+
code: z.string(),
|
|
48
|
+
requiresUser: z.literal(true),
|
|
49
|
+
notice: z.string(),
|
|
50
|
+
});
|
|
51
|
+
export const PublishProviderFailureSchema = z.object({
|
|
52
|
+
provider: z.string(),
|
|
53
|
+
accountId: z.string(),
|
|
54
|
+
code: z.string(),
|
|
55
|
+
requiresUser: z.boolean(),
|
|
56
|
+
notice: z.string(),
|
|
57
|
+
});
|
|
58
|
+
export const SlotProgressHistoryEntrySchema = z.object({
|
|
59
|
+
progress: z.number(),
|
|
60
|
+
stage: z.string().nullable(),
|
|
61
|
+
recordedAt: z.string(),
|
|
62
|
+
});
|
|
63
|
+
export const SlotPostSchema = z.object({
|
|
64
|
+
id: z.string(),
|
|
65
|
+
scheduleId: z.string(),
|
|
66
|
+
slotAt: z.string(),
|
|
67
|
+
status: z.string(),
|
|
68
|
+
title: z.string().nullable(),
|
|
69
|
+
error: z.string().nullable(),
|
|
70
|
+
publishedAt: z.string().nullable(),
|
|
71
|
+
taskId: z.string().nullable(),
|
|
72
|
+
progress: z.number(),
|
|
73
|
+
stage: z.string().nullable(),
|
|
74
|
+
retryable: z.boolean().nullable(),
|
|
75
|
+
scriptAngle: z.string().nullable(),
|
|
76
|
+
publishLinks: z.array(PublishLinkSchema),
|
|
77
|
+
progressHistory: z.array(SlotProgressHistoryEntrySchema),
|
|
78
|
+
userNotices: z.array(PublishUserNoticeSchema),
|
|
79
|
+
providerFailures: z.array(PublishProviderFailureSchema),
|
|
80
|
+
queuePosition: z.null(),
|
|
81
|
+
queueTotal: z.null(),
|
|
82
|
+
postUrl: z.string().nullable(),
|
|
83
|
+
});
|
|
84
|
+
export const SlotScheduleSchema = z.object({
|
|
85
|
+
id: z.string(),
|
|
86
|
+
personaId: z.string().nullable(),
|
|
87
|
+
providers: z.array(z.string()),
|
|
88
|
+
youtubeAccountIds: z.array(z.string()),
|
|
89
|
+
instagramAccountIds: z.array(z.string()),
|
|
90
|
+
linkedinAccountIds: z.array(z.string()),
|
|
91
|
+
blueskyAccountIds: z.array(z.string()),
|
|
92
|
+
threadsAccountIds: z.array(z.string()),
|
|
93
|
+
facebookAccountIds: z.array(z.string()),
|
|
94
|
+
pinterestAccountIds: z.array(z.string()),
|
|
95
|
+
pinterestBoardId: z.string().nullable(),
|
|
96
|
+
threespeakAccountIds: z.array(z.string()),
|
|
97
|
+
rumbleAccountIds: z.array(z.string()),
|
|
98
|
+
fanvueAccountIds: z.array(z.string()),
|
|
99
|
+
timezone: z.string(),
|
|
100
|
+
publishMode: z.enum(['scheduled', 'asap']),
|
|
101
|
+
});
|
|
102
|
+
export const SlotGenerationSchema = z.object({
|
|
103
|
+
faceless: z.boolean(),
|
|
104
|
+
language: z.string().nullable(),
|
|
105
|
+
voiceId: z.string().nullable(),
|
|
106
|
+
videoAspect: z.string().nullable(),
|
|
107
|
+
videoLayout: z.string().nullable(),
|
|
108
|
+
niche: z.string().nullable(),
|
|
109
|
+
paragraphNumber: z.number().nullable(),
|
|
110
|
+
faceQuality: z.string().nullable(),
|
|
111
|
+
});
|
|
112
|
+
export const SlotDetailSchema = z.object({
|
|
113
|
+
slot: SlotPostSchema,
|
|
114
|
+
schedule: SlotScheduleSchema,
|
|
115
|
+
persona: z.object({ id: z.string(), name: z.string() }).nullable(),
|
|
116
|
+
generation: SlotGenerationSchema,
|
|
117
|
+
});
|
|
118
|
+
export const GenerationPostDetailSchema = z.object({
|
|
119
|
+
id: z.string(),
|
|
120
|
+
generationId: z.string(),
|
|
121
|
+
engineTaskId: z.string().nullable(),
|
|
122
|
+
personaName: z.string().nullable(),
|
|
123
|
+
videoSubject: z.string().nullable(),
|
|
124
|
+
status: z.string(),
|
|
125
|
+
errorCode: z.string().nullable(),
|
|
126
|
+
tokensRefunded: z.boolean(),
|
|
127
|
+
createdAt: z.string(),
|
|
128
|
+
completedAt: z.string().nullable(),
|
|
129
|
+
progress: z.number(),
|
|
130
|
+
stage: z.string().nullable(),
|
|
131
|
+
scriptAngle: z.string().nullable(),
|
|
132
|
+
});
|
|
133
|
+
export const GetPostResponseSchema = z.discriminatedUnion('kind', [
|
|
134
|
+
z.object({
|
|
135
|
+
success: z.literal(true),
|
|
136
|
+
kind: z.literal('generation'),
|
|
137
|
+
generation: GenerationPostDetailSchema,
|
|
138
|
+
}),
|
|
139
|
+
z.object({
|
|
140
|
+
success: z.literal(true),
|
|
141
|
+
kind: z.literal('slot'),
|
|
142
|
+
slot: SlotPostSchema,
|
|
143
|
+
schedule: SlotScheduleSchema,
|
|
144
|
+
persona: z.object({ id: z.string(), name: z.string() }).nullable(),
|
|
145
|
+
generation: SlotGenerationSchema,
|
|
146
|
+
}),
|
|
147
|
+
]);
|
|
148
|
+
export const getPost = defineEndpoint({
|
|
149
|
+
method: 'GET',
|
|
150
|
+
path: '/api/posts/:id',
|
|
151
|
+
response: GetPostResponseSchema,
|
|
152
|
+
});
|
|
153
|
+
//# sourceMappingURL=posts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"posts.js","sourceRoot":"","sources":["../../src/contracts/posts.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,0EAA0E;AAC1E,4EAA4E;AAC5E,2EAA2E;AAC3E,uCAAuC;AACvC,EAAE;AACF,sEAAsE;AACtE,uEAAuE;AACvE,+DAA+D;AAC/D,2EAA2E;AAC3E,0EAA0E;AAC1E,6DAA6D;AAC7D,8DAA8D;AAC9D,2EAA2E;AAC3E,oEAAoE;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuBxB;;;iDAGiD;AACjD,MAAM,UAAU,cAAc,CAK5B,MAMD;IACC,OAAO,MAAM,CAAC;AAChB,CAAC;AAiCD;;;sDAGsD;AACtD,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,SAAS;IACT,WAAW;IACX,SAAS;IACT,UAAU;IACV,SAAS;IACT,UAAU;IACV,WAAW;IACX,QAAQ;IACR,QAAQ;IACR,QAAQ;CACA,CAAC;AAEX,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC;IACnC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,YAAY,EAAE,CAAC,CAAC,OAAO,CAA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