@clipwright/core 0.82.0 → 0.83.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/errors.d.ts +1 -1
- package/dist/errors.js +1 -0
- package/dist/own-agent-price.d.ts +2 -0
- package/dist/own-agent-price.js +2 -0
- package/package.json +1 -1
package/dist/errors.d.ts
CHANGED
|
@@ -246,7 +246,7 @@ export type EditCeilingReachedError = z.infer<typeof editCeilingReachedError>;
|
|
|
246
246
|
export declare function editCeilingReachedBody(args: Omit<EditCeilingReachedError["error"], "code" | "message">, counting?: "revision" | "candidate"): EditCeilingReachedError;
|
|
247
247
|
export declare function unusableSourceMessage(errorClass: string, detail: string): string;
|
|
248
248
|
export declare const MALFORMED_BODY_MESSAGE: string;
|
|
249
|
-
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_busy", "cut_limited", "cut_not_found", "cut_preview_limited", "cut_slot_in_use", "deletion_held", "editing_window_not_set", "explainer_busy", "feedback_limited", "film_asset_not_ready", "film_draft_limited", "film_draft_not_found", "film_draft_stale", "film_hero_limited", "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", "trial_excludes_generation", "unauthorized", "unsupported_combination", "unsupported_media_type", "unusable_source", "upload_cap_exceeded", "upload_digest_mismatch", "upload_expired", "upload_in_use", "upload_not_finished", "upload_page_rate_limited", "upload_page_used", "upload_size_mismatch", "upstream_error", "url_fetch_busy", "url_fetch_failed", "url_fetch_rate_limited", "url_fetch_refused", "url_import_disabled", "voice_busy"];
|
|
249
|
+
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_busy", "cut_limited", "cut_not_found", "cut_preview_limited", "cut_slot_in_use", "deletion_held", "editing_window_not_set", "explainer_busy", "feedback_limited", "film_asset_not_ready", "film_busy", "film_draft_limited", "film_draft_not_found", "film_draft_stale", "film_hero_limited", "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", "trial_excludes_generation", "unauthorized", "unsupported_combination", "unsupported_media_type", "unusable_source", "upload_cap_exceeded", "upload_digest_mismatch", "upload_expired", "upload_in_use", "upload_not_finished", "upload_page_rate_limited", "upload_page_used", "upload_size_mismatch", "upstream_error", "url_fetch_busy", "url_fetch_failed", "url_fetch_rate_limited", "url_fetch_refused", "url_import_disabled", "voice_busy"];
|
|
250
250
|
export type BareApiErrorCode = (typeof BARE_ERROR_CODES)[number];
|
|
251
251
|
export declare const API_ERROR_CODES: readonly string[];
|
|
252
252
|
export declare function apiErrorBody(args: {
|
package/dist/errors.js
CHANGED
|
@@ -26,6 +26,8 @@ export declare const OWN_HERO_FREE_POSES_WINDOW_HOURS = 24;
|
|
|
26
26
|
export declare const CUT_PREVIEWS_PER_HOUR = 20;
|
|
27
27
|
export declare const CUTS_IN_FLIGHT_PER_ACCOUNT = 4;
|
|
28
28
|
export declare const CUT_BUSY_RETRY_SECONDS = 120;
|
|
29
|
+
export declare const FILMS_IN_FLIGHT_PER_ACCOUNT = 3;
|
|
30
|
+
export declare const FILM_BUSY_RETRY_SECONDS = 120;
|
|
29
31
|
export declare const VOICES_IN_FLIGHT_PER_ACCOUNT = 2;
|
|
30
32
|
export declare const VOICE_BUSY_RETRY_SECONDS = 60;
|
|
31
33
|
export declare const OWN_TAKE_CHECK_CREDITS = 10;
|
package/dist/own-agent-price.js
CHANGED
|
@@ -28,6 +28,8 @@ export const OWN_HERO_FREE_POSES_WINDOW_HOURS = 24;
|
|
|
28
28
|
export const CUT_PREVIEWS_PER_HOUR = 20;
|
|
29
29
|
export const CUTS_IN_FLIGHT_PER_ACCOUNT = 4;
|
|
30
30
|
export const CUT_BUSY_RETRY_SECONDS = 120;
|
|
31
|
+
export const FILMS_IN_FLIGHT_PER_ACCOUNT = 3;
|
|
32
|
+
export const FILM_BUSY_RETRY_SECONDS = 120;
|
|
31
33
|
export const VOICES_IN_FLIGHT_PER_ACCOUNT = 2;
|
|
32
34
|
export const VOICE_BUSY_RETRY_SECONDS = 60;
|
|
33
35
|
export const OWN_TAKE_CHECK_CREDITS = 10;
|