@clipwright/core 0.64.0 → 0.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ad-guide.d.ts +15 -0
- package/dist/ad-guide.js +2 -0
- package/dist/api-failure.d.ts +1 -0
- package/dist/api-failure.js +10 -3
- package/dist/contract-dispositions.d.ts +1 -41
- package/dist/contract-dispositions.js +0 -9
- package/dist/contracts/v1/workflow-brief.d.ts +0 -96
- package/dist/contracts/v1/workflow-catalog.d.ts +0 -96
- package/dist/contracts/v1/workflow-client.d.ts +0 -48
- package/dist/contracts/v1/workflow-execution.d.ts +0 -172
- package/dist/contracts/v1/workflow-next.d.ts +0 -86
- package/dist/contracts/v1/workflow-plan.d.ts +0 -144
- package/dist/endpoint-notes.js +1 -1
- package/dist/errors.d.ts +13 -1
- package/dist/errors.js +3 -5
- package/dist/faceless-price.d.ts +0 -27
- package/dist/faceless-price.js +0 -28
- package/dist/faceless-public.d.ts +8 -120
- package/dist/faceless-public.js +9 -23
- package/dist/film-guide.d.ts +43 -0
- package/dist/film-guide.js +11 -0
- package/dist/generations.d.ts +9 -2
- package/dist/generations.js +18 -5
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/openapi.d.ts +11 -0
- package/dist/openapi.js +3 -1
- package/dist/parts-pricing.d.ts +0 -2
- package/dist/parts-pricing.js +0 -2
- package/dist/scene-bible.d.ts +4 -12
- package/dist/scene-bible.js +6 -17
- package/dist/skills.d.ts +223 -223
- package/dist/skills.js +11 -13
- package/dist/voice-admission.d.ts +0 -48
- package/dist/workflows/methods/faceless-explainer.d.ts +0 -39
- package/dist/workflows/methods/kinetic-launch.d.ts +0 -78
- package/dist/workflows/methods/product-image-story.d.ts +0 -39
- package/dist/workflows/methods/reference-remake.d.ts +0 -39
- package/dist/workflows/methods/shared.d.ts +0 -39
- package/dist/workflows/methods/ugc-faq-answer.d.ts +0 -39
- package/dist/workflows/methods/ugc-product-intro.d.ts +0 -39
- package/dist/workflows/methods/website-proof-demo.d.ts +0 -78
- package/package.json +1 -1
- package/dist/scene-proposal.d.ts +0 -79
- package/dist/scene-proposal.js +0 -50
|
@@ -164,45 +164,6 @@ export declare const workflowQuoteBinding: z.ZodObject<{
|
|
|
164
164
|
request: "request";
|
|
165
165
|
}>;
|
|
166
166
|
}, z.core.$strip>>;
|
|
167
|
-
scene_proposal: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
168
|
-
state: z.ZodLiteral<"writing">;
|
|
169
|
-
retry_after_s: z.ZodNumber;
|
|
170
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
171
|
-
state: z.ZodLiteral<"ready">;
|
|
172
|
-
id: z.ZodString;
|
|
173
|
-
expires_at: z.ZodString;
|
|
174
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
175
|
-
place: z.ZodOptional<z.ZodString>;
|
|
176
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
177
|
-
seated: "seated";
|
|
178
|
-
standing: "standing";
|
|
179
|
-
}>>;
|
|
180
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
181
|
-
product: z.ZodOptional<z.ZodString>;
|
|
182
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
183
|
-
light: z.ZodOptional<z.ZodString>;
|
|
184
|
-
}, z.core.$strict>>;
|
|
185
|
-
free: z.ZodArray<z.ZodObject<{
|
|
186
|
-
what: z.ZodString;
|
|
187
|
-
}, z.core.$strict>>;
|
|
188
|
-
options: z.ZodArray<z.ZodObject<{
|
|
189
|
-
id: z.ZodString;
|
|
190
|
-
what: z.ZodString;
|
|
191
|
-
field: z.ZodEnum<{
|
|
192
|
-
moves: "moves";
|
|
193
|
-
music: "music";
|
|
194
|
-
scenes: "scenes";
|
|
195
|
-
shots: "shots";
|
|
196
|
-
}>;
|
|
197
|
-
credits: z.ZodNumber;
|
|
198
|
-
item: z.ZodUnknown;
|
|
199
|
-
}, z.core.$strict>>;
|
|
200
|
-
base_credits: z.ZodNumber;
|
|
201
|
-
notes: z.ZodArray<z.ZodString>;
|
|
202
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
203
|
-
state: z.ZodLiteral<"unavailable">;
|
|
204
|
-
reason: z.ZodString;
|
|
205
|
-
}, z.core.$strict>], "state">>;
|
|
206
167
|
}, z.core.$strip>;
|
|
207
168
|
}, z.core.$strict>, z.ZodObject<{
|
|
208
169
|
skill: z.ZodLiteral<"make_faceless">;
|
|
@@ -248,53 +209,6 @@ export declare const workflowQuoteBinding: z.ZodObject<{
|
|
|
248
209
|
standard: z.ZodNumber;
|
|
249
210
|
pro: z.ZodNumber;
|
|
250
211
|
}, z.core.$strict>>;
|
|
251
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
252
|
-
tier: z.ZodEnum<{
|
|
253
|
-
pro: "pro";
|
|
254
|
-
standard: "standard";
|
|
255
|
-
}>;
|
|
256
|
-
standard: z.ZodNumber;
|
|
257
|
-
pro: z.ZodNumber;
|
|
258
|
-
}, z.core.$strict>>;
|
|
259
|
-
scene_proposal: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
260
|
-
state: z.ZodLiteral<"writing">;
|
|
261
|
-
retry_after_s: z.ZodNumber;
|
|
262
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
263
|
-
state: z.ZodLiteral<"ready">;
|
|
264
|
-
id: z.ZodString;
|
|
265
|
-
expires_at: z.ZodString;
|
|
266
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
267
|
-
place: z.ZodOptional<z.ZodString>;
|
|
268
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
269
|
-
seated: "seated";
|
|
270
|
-
standing: "standing";
|
|
271
|
-
}>>;
|
|
272
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
273
|
-
product: z.ZodOptional<z.ZodString>;
|
|
274
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
275
|
-
light: z.ZodOptional<z.ZodString>;
|
|
276
|
-
}, z.core.$strict>>;
|
|
277
|
-
free: z.ZodArray<z.ZodObject<{
|
|
278
|
-
what: z.ZodString;
|
|
279
|
-
}, z.core.$strict>>;
|
|
280
|
-
options: z.ZodArray<z.ZodObject<{
|
|
281
|
-
id: z.ZodString;
|
|
282
|
-
what: z.ZodString;
|
|
283
|
-
field: z.ZodEnum<{
|
|
284
|
-
moves: "moves";
|
|
285
|
-
music: "music";
|
|
286
|
-
scenes: "scenes";
|
|
287
|
-
shots: "shots";
|
|
288
|
-
}>;
|
|
289
|
-
credits: z.ZodNumber;
|
|
290
|
-
item: z.ZodUnknown;
|
|
291
|
-
}, z.core.$strict>>;
|
|
292
|
-
base_credits: z.ZodNumber;
|
|
293
|
-
notes: z.ZodArray<z.ZodString>;
|
|
294
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
295
|
-
state: z.ZodLiteral<"unavailable">;
|
|
296
|
-
reason: z.ZodString;
|
|
297
|
-
}, z.core.$strict>], "state">>;
|
|
298
212
|
warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
299
213
|
contract_version: z.ZodString;
|
|
300
214
|
}, z.core.$strict>;
|
|
@@ -440,45 +354,6 @@ export declare const workflowQuoteBindingRead: z.ZodObject<{
|
|
|
440
354
|
request: "request";
|
|
441
355
|
}>;
|
|
442
356
|
}, z.core.$strip>>;
|
|
443
|
-
scene_proposal: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
444
|
-
state: z.ZodLiteral<"writing">;
|
|
445
|
-
retry_after_s: z.ZodNumber;
|
|
446
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
447
|
-
state: z.ZodLiteral<"ready">;
|
|
448
|
-
id: z.ZodString;
|
|
449
|
-
expires_at: z.ZodString;
|
|
450
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
451
|
-
place: z.ZodOptional<z.ZodString>;
|
|
452
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
453
|
-
seated: "seated";
|
|
454
|
-
standing: "standing";
|
|
455
|
-
}>>;
|
|
456
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
457
|
-
product: z.ZodOptional<z.ZodString>;
|
|
458
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
459
|
-
light: z.ZodOptional<z.ZodString>;
|
|
460
|
-
}, z.core.$strict>>;
|
|
461
|
-
free: z.ZodArray<z.ZodObject<{
|
|
462
|
-
what: z.ZodString;
|
|
463
|
-
}, z.core.$strict>>;
|
|
464
|
-
options: z.ZodArray<z.ZodObject<{
|
|
465
|
-
id: z.ZodString;
|
|
466
|
-
what: z.ZodString;
|
|
467
|
-
field: z.ZodEnum<{
|
|
468
|
-
moves: "moves";
|
|
469
|
-
music: "music";
|
|
470
|
-
scenes: "scenes";
|
|
471
|
-
shots: "shots";
|
|
472
|
-
}>;
|
|
473
|
-
credits: z.ZodNumber;
|
|
474
|
-
item: z.ZodUnknown;
|
|
475
|
-
}, z.core.$strict>>;
|
|
476
|
-
base_credits: z.ZodNumber;
|
|
477
|
-
notes: z.ZodArray<z.ZodString>;
|
|
478
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
479
|
-
state: z.ZodLiteral<"unavailable">;
|
|
480
|
-
reason: z.ZodString;
|
|
481
|
-
}, z.core.$strict>], "state">>;
|
|
482
357
|
resolved_aspect_ratio: z.ZodString;
|
|
483
358
|
source: z.ZodNullable<z.ZodObject<{
|
|
484
359
|
width: z.ZodNumber;
|
|
@@ -530,53 +405,6 @@ export declare const workflowQuoteBindingRead: z.ZodObject<{
|
|
|
530
405
|
standard: z.ZodNumber;
|
|
531
406
|
pro: z.ZodNumber;
|
|
532
407
|
}, z.core.$strict>>;
|
|
533
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
534
|
-
tier: z.ZodEnum<{
|
|
535
|
-
pro: "pro";
|
|
536
|
-
standard: "standard";
|
|
537
|
-
}>;
|
|
538
|
-
standard: z.ZodNumber;
|
|
539
|
-
pro: z.ZodNumber;
|
|
540
|
-
}, z.core.$strict>>;
|
|
541
|
-
scene_proposal: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
542
|
-
state: z.ZodLiteral<"writing">;
|
|
543
|
-
retry_after_s: z.ZodNumber;
|
|
544
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
545
|
-
state: z.ZodLiteral<"ready">;
|
|
546
|
-
id: z.ZodString;
|
|
547
|
-
expires_at: z.ZodString;
|
|
548
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
549
|
-
place: z.ZodOptional<z.ZodString>;
|
|
550
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
551
|
-
seated: "seated";
|
|
552
|
-
standing: "standing";
|
|
553
|
-
}>>;
|
|
554
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
555
|
-
product: z.ZodOptional<z.ZodString>;
|
|
556
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
557
|
-
light: z.ZodOptional<z.ZodString>;
|
|
558
|
-
}, z.core.$strict>>;
|
|
559
|
-
free: z.ZodArray<z.ZodObject<{
|
|
560
|
-
what: z.ZodString;
|
|
561
|
-
}, z.core.$strict>>;
|
|
562
|
-
options: z.ZodArray<z.ZodObject<{
|
|
563
|
-
id: z.ZodString;
|
|
564
|
-
what: z.ZodString;
|
|
565
|
-
field: z.ZodEnum<{
|
|
566
|
-
moves: "moves";
|
|
567
|
-
music: "music";
|
|
568
|
-
scenes: "scenes";
|
|
569
|
-
shots: "shots";
|
|
570
|
-
}>;
|
|
571
|
-
credits: z.ZodNumber;
|
|
572
|
-
item: z.ZodUnknown;
|
|
573
|
-
}, z.core.$strict>>;
|
|
574
|
-
base_credits: z.ZodNumber;
|
|
575
|
-
notes: z.ZodArray<z.ZodString>;
|
|
576
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
577
|
-
state: z.ZodLiteral<"unavailable">;
|
|
578
|
-
reason: z.ZodString;
|
|
579
|
-
}, z.core.$strict>], "state">>;
|
|
580
408
|
warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
581
409
|
contract_version: z.ZodString;
|
|
582
410
|
tariffId: z.ZodString;
|
|
@@ -158,45 +158,6 @@ export declare const workflowQuoteAnswer: z.ZodObject<{
|
|
|
158
158
|
request: "request";
|
|
159
159
|
}>;
|
|
160
160
|
}, z.core.$strip>>;
|
|
161
|
-
scene_proposal: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
162
|
-
state: z.ZodLiteral<"writing">;
|
|
163
|
-
retry_after_s: z.ZodNumber;
|
|
164
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
165
|
-
state: z.ZodLiteral<"ready">;
|
|
166
|
-
id: z.ZodString;
|
|
167
|
-
expires_at: z.ZodString;
|
|
168
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
169
|
-
place: z.ZodOptional<z.ZodString>;
|
|
170
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
171
|
-
seated: "seated";
|
|
172
|
-
standing: "standing";
|
|
173
|
-
}>>;
|
|
174
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
175
|
-
product: z.ZodOptional<z.ZodString>;
|
|
176
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
177
|
-
light: z.ZodOptional<z.ZodString>;
|
|
178
|
-
}, z.core.$strict>>;
|
|
179
|
-
free: z.ZodArray<z.ZodObject<{
|
|
180
|
-
what: z.ZodString;
|
|
181
|
-
}, z.core.$strict>>;
|
|
182
|
-
options: z.ZodArray<z.ZodObject<{
|
|
183
|
-
id: z.ZodString;
|
|
184
|
-
what: z.ZodString;
|
|
185
|
-
field: z.ZodEnum<{
|
|
186
|
-
moves: "moves";
|
|
187
|
-
music: "music";
|
|
188
|
-
scenes: "scenes";
|
|
189
|
-
shots: "shots";
|
|
190
|
-
}>;
|
|
191
|
-
credits: z.ZodNumber;
|
|
192
|
-
item: z.ZodUnknown;
|
|
193
|
-
}, z.core.$strict>>;
|
|
194
|
-
base_credits: z.ZodNumber;
|
|
195
|
-
notes: z.ZodArray<z.ZodString>;
|
|
196
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
197
|
-
state: z.ZodLiteral<"unavailable">;
|
|
198
|
-
reason: z.ZodString;
|
|
199
|
-
}, z.core.$strict>], "state">>;
|
|
200
161
|
}, z.core.$strip>;
|
|
201
162
|
}, z.core.$strict>, z.ZodObject<{
|
|
202
163
|
skill: z.ZodLiteral<"make_faceless">;
|
|
@@ -242,53 +203,6 @@ export declare const workflowQuoteAnswer: z.ZodObject<{
|
|
|
242
203
|
standard: z.ZodNumber;
|
|
243
204
|
pro: z.ZodNumber;
|
|
244
205
|
}, z.core.$strict>>;
|
|
245
|
-
tiers: z.ZodOptional<z.ZodObject<{
|
|
246
|
-
tier: z.ZodEnum<{
|
|
247
|
-
pro: "pro";
|
|
248
|
-
standard: "standard";
|
|
249
|
-
}>;
|
|
250
|
-
standard: z.ZodNumber;
|
|
251
|
-
pro: z.ZodNumber;
|
|
252
|
-
}, z.core.$strict>>;
|
|
253
|
-
scene_proposal: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
254
|
-
state: z.ZodLiteral<"writing">;
|
|
255
|
-
retry_after_s: z.ZodNumber;
|
|
256
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
257
|
-
state: z.ZodLiteral<"ready">;
|
|
258
|
-
id: z.ZodString;
|
|
259
|
-
expires_at: z.ZodString;
|
|
260
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
261
|
-
place: z.ZodOptional<z.ZodString>;
|
|
262
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
263
|
-
seated: "seated";
|
|
264
|
-
standing: "standing";
|
|
265
|
-
}>>;
|
|
266
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
267
|
-
product: z.ZodOptional<z.ZodString>;
|
|
268
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
269
|
-
light: z.ZodOptional<z.ZodString>;
|
|
270
|
-
}, z.core.$strict>>;
|
|
271
|
-
free: z.ZodArray<z.ZodObject<{
|
|
272
|
-
what: z.ZodString;
|
|
273
|
-
}, z.core.$strict>>;
|
|
274
|
-
options: z.ZodArray<z.ZodObject<{
|
|
275
|
-
id: z.ZodString;
|
|
276
|
-
what: z.ZodString;
|
|
277
|
-
field: z.ZodEnum<{
|
|
278
|
-
moves: "moves";
|
|
279
|
-
music: "music";
|
|
280
|
-
scenes: "scenes";
|
|
281
|
-
shots: "shots";
|
|
282
|
-
}>;
|
|
283
|
-
credits: z.ZodNumber;
|
|
284
|
-
item: z.ZodUnknown;
|
|
285
|
-
}, z.core.$strict>>;
|
|
286
|
-
base_credits: z.ZodNumber;
|
|
287
|
-
notes: z.ZodArray<z.ZodString>;
|
|
288
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
289
|
-
state: z.ZodLiteral<"unavailable">;
|
|
290
|
-
reason: z.ZodString;
|
|
291
|
-
}, z.core.$strict>], "state">>;
|
|
292
206
|
warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
293
207
|
contract_version: z.ZodString;
|
|
294
208
|
}, z.core.$strict>;
|
|
@@ -1079,21 +1079,6 @@ export declare const workflowPlanDocument: z.ZodObject<{
|
|
|
1079
1079
|
}>>;
|
|
1080
1080
|
}, z.core.$strict>>;
|
|
1081
1081
|
product_asset_id: z.ZodOptional<z.ZodString>;
|
|
1082
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
1083
|
-
place: z.ZodOptional<z.ZodString>;
|
|
1084
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
1085
|
-
seated: "seated";
|
|
1086
|
-
standing: "standing";
|
|
1087
|
-
}>>;
|
|
1088
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
1089
|
-
product: z.ZodOptional<z.ZodString>;
|
|
1090
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1091
|
-
light: z.ZodOptional<z.ZodString>;
|
|
1092
|
-
}, z.core.$strict>>;
|
|
1093
|
-
proposal: z.ZodOptional<z.ZodObject<{
|
|
1094
|
-
id: z.ZodString;
|
|
1095
|
-
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1096
|
-
}, z.core.$strict>>;
|
|
1097
1082
|
propose: z.ZodOptional<z.ZodLiteral<false>>;
|
|
1098
1083
|
person: z.ZodOptional<z.ZodString>;
|
|
1099
1084
|
actor_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4217,7 +4202,6 @@ export declare const workflowPlanDocument: z.ZodObject<{
|
|
|
4217
4202
|
hand: "hand";
|
|
4218
4203
|
}>;
|
|
4219
4204
|
}, z.core.$strict>]>>;
|
|
4220
|
-
start: z.ZodOptional<z.ZodString>;
|
|
4221
4205
|
cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4222
4206
|
asset_id: z.ZodString;
|
|
4223
4207
|
role: z.ZodString;
|
|
@@ -4574,21 +4558,6 @@ export declare const workflowPlanDocument: z.ZodObject<{
|
|
|
4574
4558
|
"720p": "720p";
|
|
4575
4559
|
}>>;
|
|
4576
4560
|
max_credits: z.ZodOptional<z.ZodNumber>;
|
|
4577
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
4578
|
-
place: z.ZodOptional<z.ZodString>;
|
|
4579
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
4580
|
-
seated: "seated";
|
|
4581
|
-
standing: "standing";
|
|
4582
|
-
}>>;
|
|
4583
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
4584
|
-
product: z.ZodOptional<z.ZodString>;
|
|
4585
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4586
|
-
light: z.ZodOptional<z.ZodString>;
|
|
4587
|
-
}, z.core.$strict>>;
|
|
4588
|
-
proposal: z.ZodOptional<z.ZodObject<{
|
|
4589
|
-
id: z.ZodString;
|
|
4590
|
-
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4591
|
-
}, z.core.$strict>>;
|
|
4592
4561
|
propose: z.ZodOptional<z.ZodLiteral<false>>;
|
|
4593
4562
|
input_mode: z.ZodLiteral<"script">;
|
|
4594
4563
|
transitions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
@@ -7343,7 +7312,6 @@ export declare const workflowPlanDocument: z.ZodObject<{
|
|
|
7343
7312
|
comma_s: z.ZodOptional<z.ZodNumber>;
|
|
7344
7313
|
mid_phrase_s: z.ZodOptional<z.ZodNumber>;
|
|
7345
7314
|
}, z.core.$strict>]>>;
|
|
7346
|
-
keep_anchors: z.ZodOptional<z.ZodBoolean>;
|
|
7347
7315
|
script: z.ZodString;
|
|
7348
7316
|
character_reference: z.ZodOptional<z.ZodString>;
|
|
7349
7317
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -7615,21 +7583,6 @@ export declare const workflowPlanDocument: z.ZodObject<{
|
|
|
7615
7583
|
"720p": "720p";
|
|
7616
7584
|
}>>;
|
|
7617
7585
|
max_credits: z.ZodOptional<z.ZodNumber>;
|
|
7618
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
7619
|
-
place: z.ZodOptional<z.ZodString>;
|
|
7620
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
7621
|
-
seated: "seated";
|
|
7622
|
-
standing: "standing";
|
|
7623
|
-
}>>;
|
|
7624
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
7625
|
-
product: z.ZodOptional<z.ZodString>;
|
|
7626
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7627
|
-
light: z.ZodOptional<z.ZodString>;
|
|
7628
|
-
}, z.core.$strict>>;
|
|
7629
|
-
proposal: z.ZodOptional<z.ZodObject<{
|
|
7630
|
-
id: z.ZodString;
|
|
7631
|
-
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
7632
|
-
}, z.core.$strict>>;
|
|
7633
7586
|
propose: z.ZodOptional<z.ZodLiteral<false>>;
|
|
7634
7587
|
input_mode: z.ZodLiteral<"brief">;
|
|
7635
7588
|
brief: z.ZodString;
|
|
@@ -7645,7 +7598,6 @@ export declare const workflowPlanDocument: z.ZodObject<{
|
|
|
7645
7598
|
scenes: z.ZodOptional<z.ZodNever>;
|
|
7646
7599
|
moves: z.ZodOptional<z.ZodNever>;
|
|
7647
7600
|
pause_trim: z.ZodOptional<z.ZodNever>;
|
|
7648
|
-
keep_anchors: z.ZodOptional<z.ZodNever>;
|
|
7649
7601
|
character_reference: z.ZodOptional<z.ZodString>;
|
|
7650
7602
|
}, z.core.$strict>], "input_mode">;
|
|
7651
7603
|
}, z.core.$strict>], "skill">>;
|
|
@@ -9801,21 +9753,6 @@ export declare const createWorkflowPlan: z.ZodObject<{
|
|
|
9801
9753
|
}>>;
|
|
9802
9754
|
}, z.core.$strict>>;
|
|
9803
9755
|
product_asset_id: z.ZodOptional<z.ZodString>;
|
|
9804
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
9805
|
-
place: z.ZodOptional<z.ZodString>;
|
|
9806
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
9807
|
-
seated: "seated";
|
|
9808
|
-
standing: "standing";
|
|
9809
|
-
}>>;
|
|
9810
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
9811
|
-
product: z.ZodOptional<z.ZodString>;
|
|
9812
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9813
|
-
light: z.ZodOptional<z.ZodString>;
|
|
9814
|
-
}, z.core.$strict>>;
|
|
9815
|
-
proposal: z.ZodOptional<z.ZodObject<{
|
|
9816
|
-
id: z.ZodString;
|
|
9817
|
-
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9818
|
-
}, z.core.$strict>>;
|
|
9819
9756
|
propose: z.ZodOptional<z.ZodLiteral<false>>;
|
|
9820
9757
|
person: z.ZodOptional<z.ZodString>;
|
|
9821
9758
|
actor_id: z.ZodOptional<z.ZodString>;
|
|
@@ -12939,7 +12876,6 @@ export declare const createWorkflowPlan: z.ZodObject<{
|
|
|
12939
12876
|
hand: "hand";
|
|
12940
12877
|
}>;
|
|
12941
12878
|
}, z.core.$strict>]>>;
|
|
12942
|
-
start: z.ZodOptional<z.ZodString>;
|
|
12943
12879
|
cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12944
12880
|
asset_id: z.ZodString;
|
|
12945
12881
|
role: z.ZodString;
|
|
@@ -13296,21 +13232,6 @@ export declare const createWorkflowPlan: z.ZodObject<{
|
|
|
13296
13232
|
"720p": "720p";
|
|
13297
13233
|
}>>;
|
|
13298
13234
|
max_credits: z.ZodOptional<z.ZodNumber>;
|
|
13299
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
13300
|
-
place: z.ZodOptional<z.ZodString>;
|
|
13301
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
13302
|
-
seated: "seated";
|
|
13303
|
-
standing: "standing";
|
|
13304
|
-
}>>;
|
|
13305
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
13306
|
-
product: z.ZodOptional<z.ZodString>;
|
|
13307
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13308
|
-
light: z.ZodOptional<z.ZodString>;
|
|
13309
|
-
}, z.core.$strict>>;
|
|
13310
|
-
proposal: z.ZodOptional<z.ZodObject<{
|
|
13311
|
-
id: z.ZodString;
|
|
13312
|
-
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
13313
|
-
}, z.core.$strict>>;
|
|
13314
13235
|
propose: z.ZodOptional<z.ZodLiteral<false>>;
|
|
13315
13236
|
input_mode: z.ZodLiteral<"script">;
|
|
13316
13237
|
transitions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
@@ -16065,7 +15986,6 @@ export declare const createWorkflowPlan: z.ZodObject<{
|
|
|
16065
15986
|
comma_s: z.ZodOptional<z.ZodNumber>;
|
|
16066
15987
|
mid_phrase_s: z.ZodOptional<z.ZodNumber>;
|
|
16067
15988
|
}, z.core.$strict>]>>;
|
|
16068
|
-
keep_anchors: z.ZodOptional<z.ZodBoolean>;
|
|
16069
15989
|
script: z.ZodString;
|
|
16070
15990
|
character_reference: z.ZodOptional<z.ZodString>;
|
|
16071
15991
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -16337,21 +16257,6 @@ export declare const createWorkflowPlan: z.ZodObject<{
|
|
|
16337
16257
|
"720p": "720p";
|
|
16338
16258
|
}>>;
|
|
16339
16259
|
max_credits: z.ZodOptional<z.ZodNumber>;
|
|
16340
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
16341
|
-
place: z.ZodOptional<z.ZodString>;
|
|
16342
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
16343
|
-
seated: "seated";
|
|
16344
|
-
standing: "standing";
|
|
16345
|
-
}>>;
|
|
16346
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
16347
|
-
product: z.ZodOptional<z.ZodString>;
|
|
16348
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16349
|
-
light: z.ZodOptional<z.ZodString>;
|
|
16350
|
-
}, z.core.$strict>>;
|
|
16351
|
-
proposal: z.ZodOptional<z.ZodObject<{
|
|
16352
|
-
id: z.ZodString;
|
|
16353
|
-
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
16354
|
-
}, z.core.$strict>>;
|
|
16355
16260
|
propose: z.ZodOptional<z.ZodLiteral<false>>;
|
|
16356
16261
|
input_mode: z.ZodLiteral<"brief">;
|
|
16357
16262
|
brief: z.ZodString;
|
|
@@ -16367,7 +16272,6 @@ export declare const createWorkflowPlan: z.ZodObject<{
|
|
|
16367
16272
|
scenes: z.ZodOptional<z.ZodNever>;
|
|
16368
16273
|
moves: z.ZodOptional<z.ZodNever>;
|
|
16369
16274
|
pause_trim: z.ZodOptional<z.ZodNever>;
|
|
16370
|
-
keep_anchors: z.ZodOptional<z.ZodNever>;
|
|
16371
16275
|
character_reference: z.ZodOptional<z.ZodString>;
|
|
16372
16276
|
}, z.core.$strict>], "input_mode">;
|
|
16373
16277
|
}, z.core.$strict>], "skill">>;
|
|
@@ -18421,21 +18325,6 @@ export declare const saveWorkflowPlan: z.ZodObject<{
|
|
|
18421
18325
|
}>>;
|
|
18422
18326
|
}, z.core.$strict>>;
|
|
18423
18327
|
product_asset_id: z.ZodOptional<z.ZodString>;
|
|
18424
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
18425
|
-
place: z.ZodOptional<z.ZodString>;
|
|
18426
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
18427
|
-
seated: "seated";
|
|
18428
|
-
standing: "standing";
|
|
18429
|
-
}>>;
|
|
18430
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
18431
|
-
product: z.ZodOptional<z.ZodString>;
|
|
18432
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18433
|
-
light: z.ZodOptional<z.ZodString>;
|
|
18434
|
-
}, z.core.$strict>>;
|
|
18435
|
-
proposal: z.ZodOptional<z.ZodObject<{
|
|
18436
|
-
id: z.ZodString;
|
|
18437
|
-
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
18438
|
-
}, z.core.$strict>>;
|
|
18439
18328
|
propose: z.ZodOptional<z.ZodLiteral<false>>;
|
|
18440
18329
|
person: z.ZodOptional<z.ZodString>;
|
|
18441
18330
|
actor_id: z.ZodOptional<z.ZodString>;
|
|
@@ -21559,7 +21448,6 @@ export declare const saveWorkflowPlan: z.ZodObject<{
|
|
|
21559
21448
|
hand: "hand";
|
|
21560
21449
|
}>;
|
|
21561
21450
|
}, z.core.$strict>]>>;
|
|
21562
|
-
start: z.ZodOptional<z.ZodString>;
|
|
21563
21451
|
cast: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21564
21452
|
asset_id: z.ZodString;
|
|
21565
21453
|
role: z.ZodString;
|
|
@@ -21916,21 +21804,6 @@ export declare const saveWorkflowPlan: z.ZodObject<{
|
|
|
21916
21804
|
"720p": "720p";
|
|
21917
21805
|
}>>;
|
|
21918
21806
|
max_credits: z.ZodOptional<z.ZodNumber>;
|
|
21919
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
21920
|
-
place: z.ZodOptional<z.ZodString>;
|
|
21921
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
21922
|
-
seated: "seated";
|
|
21923
|
-
standing: "standing";
|
|
21924
|
-
}>>;
|
|
21925
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
21926
|
-
product: z.ZodOptional<z.ZodString>;
|
|
21927
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21928
|
-
light: z.ZodOptional<z.ZodString>;
|
|
21929
|
-
}, z.core.$strict>>;
|
|
21930
|
-
proposal: z.ZodOptional<z.ZodObject<{
|
|
21931
|
-
id: z.ZodString;
|
|
21932
|
-
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
21933
|
-
}, z.core.$strict>>;
|
|
21934
21807
|
propose: z.ZodOptional<z.ZodLiteral<false>>;
|
|
21935
21808
|
input_mode: z.ZodLiteral<"script">;
|
|
21936
21809
|
transitions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
@@ -24685,7 +24558,6 @@ export declare const saveWorkflowPlan: z.ZodObject<{
|
|
|
24685
24558
|
comma_s: z.ZodOptional<z.ZodNumber>;
|
|
24686
24559
|
mid_phrase_s: z.ZodOptional<z.ZodNumber>;
|
|
24687
24560
|
}, z.core.$strict>]>>;
|
|
24688
|
-
keep_anchors: z.ZodOptional<z.ZodBoolean>;
|
|
24689
24561
|
script: z.ZodString;
|
|
24690
24562
|
character_reference: z.ZodOptional<z.ZodString>;
|
|
24691
24563
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -24957,21 +24829,6 @@ export declare const saveWorkflowPlan: z.ZodObject<{
|
|
|
24957
24829
|
"720p": "720p";
|
|
24958
24830
|
}>>;
|
|
24959
24831
|
max_credits: z.ZodOptional<z.ZodNumber>;
|
|
24960
|
-
scene: z.ZodOptional<z.ZodObject<{
|
|
24961
|
-
place: z.ZodOptional<z.ZodString>;
|
|
24962
|
-
posture: z.ZodOptional<z.ZodEnum<{
|
|
24963
|
-
seated: "seated";
|
|
24964
|
-
standing: "standing";
|
|
24965
|
-
}>>;
|
|
24966
|
-
wardrobe: z.ZodOptional<z.ZodString>;
|
|
24967
|
-
product: z.ZodOptional<z.ZodString>;
|
|
24968
|
-
props: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24969
|
-
light: z.ZodOptional<z.ZodString>;
|
|
24970
|
-
}, z.core.$strict>>;
|
|
24971
|
-
proposal: z.ZodOptional<z.ZodObject<{
|
|
24972
|
-
id: z.ZodString;
|
|
24973
|
-
accept: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
24974
|
-
}, z.core.$strict>>;
|
|
24975
24832
|
propose: z.ZodOptional<z.ZodLiteral<false>>;
|
|
24976
24833
|
input_mode: z.ZodLiteral<"brief">;
|
|
24977
24834
|
brief: z.ZodString;
|
|
@@ -24987,7 +24844,6 @@ export declare const saveWorkflowPlan: z.ZodObject<{
|
|
|
24987
24844
|
scenes: z.ZodOptional<z.ZodNever>;
|
|
24988
24845
|
moves: z.ZodOptional<z.ZodNever>;
|
|
24989
24846
|
pause_trim: z.ZodOptional<z.ZodNever>;
|
|
24990
|
-
keep_anchors: z.ZodOptional<z.ZodNever>;
|
|
24991
24847
|
character_reference: z.ZodOptional<z.ZodString>;
|
|
24992
24848
|
}, z.core.$strict>], "input_mode">;
|
|
24993
24849
|
}, z.core.$strict>], "skill">>;
|
package/dist/endpoint-notes.js
CHANGED
|
@@ -106,6 +106,6 @@ export const ENDPOINT_NOTES = {
|
|
|
106
106
|
"GET /v1/generations/models": "The models generate_image and generate_video take, with their measured modes, aspect ratios, resolutions, durations, output size and credits per image or per second. Free. While generations are closed it answers generations_disabled.",
|
|
107
107
|
"POST /v1/skills/generate_image/quote": "Prices one image with this request: credits, width, height and warnings. Charges nothing.",
|
|
108
108
|
"POST /v1/skills/generate_image/run": "Starts one image generation and answers at once with a run_id; the run's generation block holds the image once delivered. A failed generation is charged nothing. While generations are closed it answers generations_disabled and charges nothing.",
|
|
109
|
-
"POST /v1/skills/generate_video/quote": "Prices one
|
|
109
|
+
"POST /v1/skills/generate_video/quote": "Prices one clip with this request, silent unless audio is set: credits per second times its duration, width, height and warnings. Charges nothing.",
|
|
110
110
|
"POST /v1/skills/generate_video/run": "Starts one clip generation and answers at once with a run_id; the run's generation block holds the clip once delivered. A failed generation is charged nothing. While generations are closed it answers generations_disabled and charges nothing.",
|
|
111
111
|
};
|
package/dist/errors.d.ts
CHANGED
|
@@ -5,6 +5,17 @@ export declare const apiError: z.ZodObject<{
|
|
|
5
5
|
error: z.ZodObject<{
|
|
6
6
|
code: z.ZodString;
|
|
7
7
|
message: z.ZodString;
|
|
8
|
+
next: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
9
|
+
action: z.ZodString;
|
|
10
|
+
method: z.ZodEnum<{
|
|
11
|
+
GET: "GET";
|
|
12
|
+
POST: "POST";
|
|
13
|
+
}>;
|
|
14
|
+
path: z.ZodString;
|
|
15
|
+
body: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
16
|
+
add: z.ZodArray<z.ZodString>;
|
|
17
|
+
note: z.ZodString;
|
|
18
|
+
}, z.core.$strict>>>;
|
|
8
19
|
}, z.core.$strip>;
|
|
9
20
|
}, z.core.$strip>;
|
|
10
21
|
export type ApiError = z.infer<typeof apiError>;
|
|
@@ -260,11 +271,12 @@ export type EditCeilingReachedError = z.infer<typeof editCeilingReachedError>;
|
|
|
260
271
|
export declare function editCeilingReachedBody(args: Omit<EditCeilingReachedError["error"], "code" | "message">, counting?: "revision" | "candidate"): EditCeilingReachedError;
|
|
261
272
|
export declare function unusableSourceMessage(errorClass: string, detail: string): string;
|
|
262
273
|
export declare const MALFORMED_BODY_MESSAGE: string;
|
|
263
|
-
declare const BARE_ERROR_CODES: readonly ["analysis_enqueue_failed", "aspect_conflict", "actor_unavailable", "actor_format_unavailable", "actor_storage_unavailable", "actor_generation_disabled", "actor_in_use", "ad_limited", "ad_not_found", "ad_slot_in_use", "ad_slot_unchecked", "asset_cap_exceeded", "asset_ingest_cap_exceeded", "asset_not_found", "asset_not_ready", "assets_disabled", "creator_profile_limited", "creator_profile_not_found", "creator_url_unsupported", "cut_limited", "cut_not_found", "cut_preview_limited", "cut_slot_in_use", "deletion_held", "editing_window_not_set", "explainer_busy", "feedback_limited", "film_draft_limited", "film_draft_not_found", "film_draft_stale", "film_run_not_found", "film_voice_not_ready", "generations_disabled", "generations_marking_pending", "idempotency_key_required", "idempotency_key_reused", "ingest_enqueue_failed", "insufficient_scope", "internal_error", "invalid_image", "invalid_request", "malformed_body", "no_changes", "not_found", "own_agent_disabled", "own_agent_marking_pending", "paid_render_disabled", "
|
|
274
|
+
declare const BARE_ERROR_CODES: readonly ["analysis_enqueue_failed", "aspect_conflict", "actor_unavailable", "actor_format_unavailable", "actor_storage_unavailable", "actor_generation_disabled", "actor_in_use", "ad_limited", "ad_not_found", "ad_slot_in_use", "ad_slot_unchecked", "asset_cap_exceeded", "asset_ingest_cap_exceeded", "asset_not_found", "asset_not_ready", "assets_disabled", "creator_profile_limited", "creator_profile_not_found", "creator_url_unsupported", "cut_limited", "cut_not_found", "cut_preview_limited", "cut_slot_in_use", "deletion_held", "editing_window_not_set", "explainer_busy", "feedback_limited", "film_draft_limited", "film_draft_not_found", "film_draft_stale", "film_run_not_found", "film_voice_not_ready", "generations_disabled", "generations_marking_pending", "idempotency_key_required", "idempotency_key_reused", "ingest_enqueue_failed", "insufficient_scope", "internal_error", "invalid_image", "invalid_request", "malformed_body", "no_changes", "not_found", "own_agent_disabled", "own_agent_marking_pending", "paid_render_disabled", "payload_too_large", "reference_analysis_disabled", "reference_analysis_limited", "reference_analysis_not_found", "reference_not_analyzable", "reference_not_usable", "reference_url_unsupported", "revision_needs_generated_unit", "rights_not_confirmed", "run_media_in_use", "run_not_finished", "run_not_found", "source_aspect_mismatch", "source_not_usable", "take_check_limited", "take_frames_limited", "trend_page_unavailable", "trend_search_limited", "trend_search_not_found", "trends_unavailable", "unauthorized", "unsupported_combination", "unsupported_media_type", "unusable_source", "upload_cap_exceeded", "upload_digest_mismatch", "upload_expired", "upload_in_use", "upload_not_finished", "upload_size_mismatch", "upstream_error", "url_fetch_busy", "url_fetch_failed", "url_fetch_rate_limited", "url_fetch_refused", "url_import_disabled"];
|
|
264
275
|
export type BareApiErrorCode = (typeof BARE_ERROR_CODES)[number];
|
|
265
276
|
export declare const API_ERROR_CODES: readonly string[];
|
|
266
277
|
export declare function apiErrorBody(args: {
|
|
267
278
|
code: BareApiErrorCode;
|
|
268
279
|
message: string;
|
|
280
|
+
next?: DiyNext | undefined;
|
|
269
281
|
}): ApiError;
|
|
270
282
|
export {};
|
package/dist/errors.js
CHANGED
|
@@ -7,6 +7,7 @@ export const apiError = z.object({
|
|
|
7
7
|
error: z.object({
|
|
8
8
|
code: z.string().min(1),
|
|
9
9
|
message: z.string().min(1),
|
|
10
|
+
next: diyNext.optional().catch(undefined),
|
|
10
11
|
}),
|
|
11
12
|
});
|
|
12
13
|
export function workflowCommandErrorBody(args) {
|
|
@@ -341,10 +342,6 @@ const BARE_ERROR_CODES = [
|
|
|
341
342
|
"own_agent_disabled",
|
|
342
343
|
"own_agent_marking_pending",
|
|
343
344
|
"paid_render_disabled",
|
|
344
|
-
"proposal_expired",
|
|
345
|
-
"proposal_not_found",
|
|
346
|
-
"proposal_not_ready",
|
|
347
|
-
"proposal_stale",
|
|
348
345
|
"payload_too_large",
|
|
349
346
|
"reference_analysis_disabled",
|
|
350
347
|
"reference_analysis_limited",
|
|
@@ -403,5 +400,6 @@ export const API_ERROR_CODES = [
|
|
|
403
400
|
actorCreationLimitedError.shape.error.shape.code.value,
|
|
404
401
|
];
|
|
405
402
|
export function apiErrorBody(args) {
|
|
406
|
-
|
|
403
|
+
const next = args.next === undefined ? {} : { next: diyNext.parse(args.next) };
|
|
404
|
+
return apiError.parse({ error: { code: args.code, message: args.message, ...next } });
|
|
407
405
|
}
|