@layer_ai/sdk 1.0.89 → 1.0.92
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/generated/types.d.ts +88 -19
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -350,7 +350,7 @@ export interface BaseModelDetail {
|
|
|
350
350
|
/** Supported inputs, sizes, and generation features. */
|
|
351
351
|
capabilities: BaseModelCapabilitiesREST;
|
|
352
352
|
}
|
|
353
|
-
export type BaseModelId = "gpt-5.2" | "gpt-5.4" | "gpt-5.4-nano" | "gpt-5.4-mini" | "gpt-5.4-pro" | "gpt-5.5" | "gpt-5.5-pro" | "gemini-3-flash-lite" | "gemini-3.5-flash" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-opus-4-7" | "claude-opus-4-7-fast" | "claude-fable-5" | "claude-fable-5-1" | "grok-4.20" | "deepseek-v3" | "deepseek-v4-pro" | "deepseek-v4-flash" | "mistral-medium-3.5" | "llama-4-maverick" | "qwen-3.7-max" | "qwen-3.8-max" | "kimi-k2.6" | "mureka-lyrics" | "kimi-k3" | "gpt-5.6-sol" | "gpt-5.6-terra" | "gpt-5.6-luna" | "gemini-3.6-flash" | "claude-opus-5" | "claude-opus-4-8" | "claude-sonnet-5" | "grok-4.5" | "jev-1.13" | "glm-5.2" | "muse-spark-1.1" | "muse-spark-1.2" | "gemini-3.7-flash" | "gemini-3.8-flash" | "gpt-6-astra" | "gpt-6-astra-pro" | "muse-spark-1.3" | "grok-4.6" | "glm-5.3" | "glm-5.3-flash" | "qwen-3.8-flash" | "deepseek-v4.1-flash" | "gpt-6-sol" | "gpt-6-sol-pro" | "gpt-6-luna" | "gpt-6-luna-pro" | "gpt-6.1-terra" | "gpt-6-luna-decisions" | "claude-opus-5.5" | "grok-4.7" | "glm-5.3-flashx" | "qwen-3.8-omni-flash" | "claude-haiku-5.5" | "sdxl" | "sdxl-turbo" | "sd3" | "fooocus" | "bria21" | "bria22-fast" | "bria23" | "bria-fibo-2" | "flux-schnell" | "flux" | "flux-dev-srpo" | "flux-dev-krea" | "flux-pro" | "flux-1-1-pro" | "flux-1-1-pro-ultra" | "flux-pro-vto" | "flux-kontext-dev" | "flux-kontext-pro" | "flux-kontext-max" | "flux-2-flex" | "flux-2-dev" | "flux-2-pro" | "flux-2-flex-edit" | "flux-2-dev-edit" | "flux-2-pro-edit" | "flux-2-max" | "flux-2-max-edit" | "flux-2-klein-4b" | "flux-2-klein-9b" | "flux-2-klein-4b-edit" | "flux-2-klein-9b-edit" | "flux-2-klein-realtime" | "flux-3-image" | "flux-3-klein-base" | "flux-3-klein-base-edit" | "flux-3-klein" | "z-image-turbo" | "krea-2-turbo" | "krea-2-large" | "krea-3-realtime" | "krea-3" | "hidream-o1-image" | "hidream-o1-image-dev" | "dall-e" | "gpt-image-1" | "gpt-image-1.5" | "gpt-image-2" | "gpt-image-2.5-flare" | "gpt-image-2.5-sunburst" | "gpt-image-2.6-flare" | "gpt-image-2.6-sunburst" | "imagen-2" | "imagen-3" | "imagen-3-fast" | "imagen-4" | "imagen-4-fast" | "imagen-4-ultra" | "gemini-2.0-flash-preview-image-generation" | "gemini-2.5-flash-image" | "gemini-2.5-flash-image-edit" | "gemini-3-pro-image" | "gemini-3-pro-image-edit" | "gemini-3.1-flash-image" | "gemini-3.1-flash-image-edit" | "gemini-3.1-flash-lite-image" | "gemini-3.1-flash-lite-image-edit" | "nano-banana-2.1" | "google-virtual-try-on" | "qwen-image" | "qwen-image-edit" | "qwen-image-edit-2509" | "qwen-image-layered" | "qwen-image-edit-2511" | "qwen-image-edit-2511-multiple-angles" | "qwen-image-2512" | "qwen-image-2" | "qwen-image-2-pro" | "qwen-image-2-edit" | "qwen-image-2-pro-edit" | "qwen-image-2.1" | "qwen-image-2.1-edit" | "grok-imagine-image" | "grok-imagine-image-edit" | "grok-imagine-image-2.0" | "seedream-4" | "seedream-4.5" | "seedream-5-lite" | "seedream-5-lite-edit" | "seedream-5-pro" | "seedream-5-pro-edit" | "seedream-5-pro-layerize" | "seedream-5-flash" | "seedream-5-flash-layerize" | "patina" | "patina-tileable" | "luma-uni-1" | "luma-uni-1-max" | "recraft-v3" | "recraft-v4" | "recraft-v4-pro" | "recraft-v4-vector" | "recraft-v4-pro-vector" | "ideogram-v4" | "ideogram-v4.5" | "ideogram-vector" | "recraft-v4.1" | "recraft-v4.1-pro" | "recraft-v4.1-pro-vector" | "recraft-v4.1-vector" | "step1x-edit" | "mai-image-2.5" | "mai-image-2.5-pro" | "muse-image" | "reve-2" | "reve-2-remix" | "reve-2.1" | "reve-2.1-remix" | "pruna-p-image" | "clarity-upscaler" | "esrgan-upscaler" | "pruna-p-image-upscale" | "topaz-enhance-upscaler" | "topaz-enhance-generative-upscaler" | "topaz-standard-v2-upscale-image" | "topaz-high-fidelity-v3-upscale-image" | "topaz-low-resolution-v2-upscale-image" | "topaz-cgi-upscale-image" | "topaz-text-refine-upscale-image" | "topaz-wonder-3.5-upscale-image" | "topaz-redefine-upscale-image" | "topaz-recover-3-upscale-image" | "topaz-standard-max-upscale-image" | "topaz-recovery-v2-upscale-image" | "topaz-bloom-2-upscale-image" | "topaz-bloom-realism-upscale-image" | "topaz-transparent-upscale-image" | "seed-vr-upscale-image" | "recraft-upscale-crisp" | "recraft-upscale-creative" | "topaz-normal-denoise-image" | "topaz-strong-denoise-image" | "topaz-extreme-denoise-image" | "topaz-denoise-max-denoise-image" | "topaz-recover-3-restore-image" | "topaz-dust-scratch-v2-restore-image" | "bria-fibo-edit-restore-image" | "telestyle-v2" | "bria-fibo-edit-colorize-image" | "image2pixel-pixelate-image" | "image-apps-v2-expression-change" | "image-editing-expression-change" | "finegrain-erase-image" | "ideogram-erase-image" | "fal-object-removal-erase-image" | "bria-erase-image" | "bria-fibo-edit-rewrite-text" | "image-editing-text-removal" | "ideogram-v3-layerize-text" | "veo-2" | "veo-3" | "veo-3-fast" | "veo-3.1" | "veo-3.1-fast" | "veo-3.1-lite" | "veo-3.1-reference" | "veo-3.1-fast-reference" | "ai-avatar" | "omnihuman" | "omnihuman-v1.5" | "omnihuman-v2" | "veed-lipsync-v2" | "sync-lipsync-v3" | "sync-lipsync-v2-pro" | "latentsync" | "sync-lipsync-v3-image-to-video" | "minimax" | "minimax-live" | "minimax-hailuo-2-standard" | "minimax-hailuo-2-pro" | "minimax-hailuo-2.3-standard" | "minimax-hailuo-2.3-pro" | "minimax-hailuo-2.3-fast" | "minimax-h3" | "minimax-h3-reference" | "minimax-h3-max" | "minimax-h3-max-reference" | "minimax-h3-max-turbo" | "minimax-h3-max-lip-sync" | "minimax-h3-max-recast" | "minimax-h3-max-reframe" | "minimax-h3-max-relight" | "minimax-h3-max-extend" | "minimax-h3-max-insert" | "minimax-h3-max-3d-to-video" | "heygen-video" | "heygen-video-reference" | "hunyuan" | "hunyuan-video-foley" | "hunyuan-video-1.5" | "kling-v15-pro" | "kling-v16-pro" | "kling-v20-master" | "kling-v21-master" | "kling-v21-pro" | "kling-v2.5-turbo-pro" | "kling-v2.6-pro" | "kling-o1" | "kling-o1-reference" | "kling-o1-edit" | "kling-o3-pro" | "kling-o3-pro-edit" | "kling-o3-standard" | "kling-o3-standard-edit" | "kling-v3-pro" | "kling-v3-standard" | "kling-v2.6-pro-motion-control" | "kling-v2.6-standard-motion-control" | "kling-v3-pro-motion-control" | "kling-v3-standard-motion-control" | "kling-v3-4k" | "kling-o3-4k" | "kling-o3-4k-reference" | "kling-v4" | "kling-v4-video-edit" | "kling-v4-flash" | "kling-v4-flash-reference" | "kling-v4-flash-video-edit" | "kling-image-o3" | "kling-image-v3" | "wan-21" | "wan-22" | "wan-25" | "wan-2.6" | "wan-3.0" | "wan-3.0-reference" | "wan-2.7-pro" | "wan-2.7-pro-edit" | "happy-horse" | "happy-horse-reference" | "happy-horse-edit" | "happy-horse-1.1" | "gemini-omni-flash" | "gemini-omni-flash-edit" | "gemini-omni-flash-reference" | "gemini-omni-flash-1.1" | "gemini-omni-flash-1.1-edit" | "gemini-omni-flash-1.1-reference" | "sadtalker" | "framepack" | "higgsfield-lite" | "higgsfield-preview" | "higgsfield-turbo" | "higgsfield-soul-2" | "higgsfield-soul-cinema" | "higgsfield-genjutsu-motion-transfer" | "higgsfield-genjutsu-object-swap" | "worldlabs-marble-1.0-draft" | "worldlabs-marble-1.1" | "worldlabs-marble-1.1-plus" | "worldlabs-marble-1.1-draft-complete" | "triposplat" | "pruna-p-video" | "pruna-p-video-2" | "pruna-p-video-2-pro" | "pruna-p-video-avatar" | "pruna-p-video-avatar-tts" | "pruna-p-video-edit" | "pruna-p-video-animate" | "pruna-p-video-replace" | "magi-distilled" | "seedance-v1-lite" | "seedance" | "seedance-v1.5-pro" | "seedance-v2" | "seedance-v2-reference" | "seedance-v2-fast" | "seedance-v2-fast-reference" | "seedance-v2.5" | "seedance-v2.5-reference" | "seedance-v2.5-draft-complete" | "seedance-v2-us" | "seedance-v2.5-us" | "seedance-v2.5-us-draft-complete" | "vidu-q3-pro" | "pixverse-v5" | "pixverse-v5.5" | "pixverse-v5.5-fast" | "pixverse-v6" | "pixverse-vibemv" | "mureka-lyrics-video" | "pika-2.5" | "ray-2" | "ray-2-flash" | "ray-3-2" | "sora-2" | "sora-2-pro" | "ltx-v2-fast" | "ltx-v2-pro" | "ltx-v2.3" | "ltx-v2.3-fast" | "ltx-v2.3-22b" | "ltx-v2.3-quality-outpaint" | "ltx-v2.5-fast" | "ltx-v2.5-pro" | "ltx-v2.5-fast-audio" | "ltx-v2.5-pro-audio" | "kandinsky-6-lite" | "flux-3" | "flux-3-keyframes" | "flux-3-extend" | "flux-3-edit" | "flux-3-draft-enhance" | "flux-3-max" | "flux-3-max-keyframes" | "grok-imagine-video" | "grok-imagine-video-1.5" | "grok-imagine-video-1.5-lite" | "grok-imagine-video-edit" | "grok-imagine-video-extend" | "runway-gen4-turbo" | "runway-gen4.5" | "runway-gen4-aleph" | "runway-aleph2" | "video-upscaler-esrgan" | "video-upscaler-topaz" | "topaz-proteus-upscale-video" | "topaz-proteus-natural-upscale-video" | "topaz-iris-upscale-video" | "topaz-dione-dv-upscale-video" | "topaz-artemis-high-quality-upscale-video" | "topaz-gaia-hq-upscale-video" | "topaz-gaia-cg-upscale-video" | "topaz-gaia-2-upscale-video" | "topaz-rhea-upscale-video" | "topaz-theia-fine-tune-detail-upscale-video" | "topaz-starlight-precise-2.6-upscale-video" | "topaz-starlight-hq-upscale-video" | "topaz-starlight-mini-upscale-video" | "topaz-starlight-sharp-upscale-video" | "topaz-starlight-fast-2-upscale-video" | "topaz-astra-2-upscale-video" | "seed-vr-upscale-video" | "bria-video-increase-resolution" | "flux-video-upscale" | "flux-video-upscale-creative" | "topaz-apollo-interpolate-video" | "topaz-chronos-interpolate-video" | "topaz-aion-interpolate-video" | "topaz-nyx-denoise-video" | "topaz-nyx-fast-denoise-video" | "topaz-nyx-xl-denoise-video" | "topaz-nyx-hf-denoise-video" | "topaz-themis-2-deblur-video" | "topaz-sdr-to-hdr-video" | "ffmpeg-merge-videos" | "ffmpeg-extract-frame" | "auto-subtitle" | "auto-caption" | "veed-subtitles" | "remotion-video-timeline" | "video-as-code-render" | "recraft-vectorize-image" | "ideogram-vectorize" | "star-vector" | "fal-image-to-svg" | "birefnet-v2" | "ideogram-remove-background" | "pixelcut-background-removal" | "bria-video-background-removal" | "bria-video-background-removal-v3" | "bria-video-green-screen" | "void-video-inpainting" | "lightricks-ltx-v2-3-quality-clean-plate" | "elevenlabs-dubbing" | "heygen-translate-precision" | "heygen-translate-speed" | "decart-lucy-restyle" | "decart-lucy-edit-pro" | "id-v2v" | "pixelcut-video-background-removal" | "sam-3-1-image" | "sam-3-1-video" | "tripo-2.0" | "tripo-2.5" | "tripo-3.0" | "tripo-3.1" | "tripo-p1" | "tripo-p2" | "tripo-turbo-1.0" | "tripo-rig" | "tripo-animate" | "tripo-retarget" | "tripo-segment" | "tripo-remesh" | "tripo-retopology-v3" | "tripo-smart-uv" | "tripo-retexture" | "tripo-convert" | "rodin" | "rodin-bang" | "rodin-gen-2" | "rodin-gen-2-5" | "trellis" | "trellis-2" | "hunyuan-3d-v2" | "hunyuan-3d-v2-mini" | "hunyuan-3d-3.0" | "hunyuan-3d-v3.1-pro" | "hunyuan-3d-v3.1-fast" | "hunyuan-3d-v3.1-part" | "hunyuan-3d-v3.1-remesh" | "hunyuan-3d-uv-unwrap" | "shutterstock" | "meshy-v6-preview" | "meshy-v6" | "meshy-v7" | "meshy-v7.1" | "meshy-t2" | "meshy-t2.5" | "meshy-v6-draft-complete" | "meshy-v7.1-draft-complete" | "meshy-t2-draft-complete" | "meshy-t2.5-draft-complete" | "bytedance-seed-3d" | "hi-3d" | "hi-3d-v3" | "hi-3d-texture" | "hi-3d-parts" | "sam-3-3d-objects" | "sam-3-3d-body" | "sam-3-3d-align" | "anything-world-animate" | "anything-world-rig" | "uthana-animate" | "uthana-auto-rig-character" | "meshy-v5-retexture" | "meshy-v6-lite-retexture" | "meshy-v6-retexture" | "meshy-v7-retexture" | "meshy-n1-retexture" | "meshy-v5-remesh" | "meshy-remesh" | "meshy-rigging" | "meshy-uv-unwrap" | "meshy-auto-split" | "stable-audio" | "stable-audio-25" | "stable-audio-3-medium" | "stable-audio-3-small-music" | "stable-audio-3-small-sfx" | "gemini-tts" | "gemini-3.1-flash-tts" | "gemini-3.8-flash-tts" | "gemini-3.8-flash-lite-tts" | "ace-step" | "minimax-music-v2" | "minimax-music-v2.5" | "minimax-music-v2.6" | "minimax-music-3" | "eleven-labs-music" | "cassetteai-music" | "lyria-2" | "lyria-3" | "lyria-3-pro" | "lyria-3-5" | "sonilo-v1-1-text-to-music" | "sonilo-v1-1-video-to-music" | "mureka-song" | "mureka-instrumental" | "mureka-podcast" | "eleven-labs-multilingual-v2" | "eleven-labs-tts-v3" | "eleven-labs-tts-v4" | "eleven-labs-tts-v4-turbo" | "eleven-labs-voice-changer" | "eleven-labs-text-to-dialogue" | "inworld-tts-1.5-max" | "xai-tts-v1" | "heygen-voice" | "heygen-voice-turbo" | "qwen-3-tts" | "seed-audio-1" | "eleven-labs-sound-effects" | "cassetteai-sfx" | "mirelo-sfx" | "mirelo-sfx-2" | "mirelo-sfx-2-video-to-audio" | "sonilo-v1-1-text-to-sound-effects" | "sonilo-v1-1-video-to-sound-effects" | "sam-audio-separate" | "kling-video-to-audio" | "eleven-labs-audio-isolation" | "deepfilternet-3" | "veed-clean-audio" | "sonilo-v1-1-video-to-video-music" | "sonilo-v1-1-video-to-video-sound-effects" | "mirelo-sfx-2-video-to-video" | "playable-v1" | "image-preprocessor" | "comfy-image" | "sd15" | "sd2-base" | "sd2" | "sd21-base" | "sd21" | "getty";
|
|
353
|
+
export type BaseModelId = "gpt-5.2" | "gpt-5.4" | "gpt-5.4-nano" | "gpt-5.4-mini" | "gpt-5.4-pro" | "gpt-5.5" | "gpt-5.5-pro" | "gemini-3-flash-lite" | "gemini-3.5-flash" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-opus-4-7" | "claude-opus-4-7-fast" | "claude-fable-5" | "claude-fable-5-1" | "grok-4.20" | "deepseek-v3" | "deepseek-v4-pro" | "deepseek-v4-flash" | "mistral-medium-3.5" | "llama-4-maverick" | "qwen-3.7-max" | "qwen-3.8-max" | "kimi-k2.6" | "mureka-lyrics" | "kimi-k3" | "gpt-5.6-sol" | "gpt-5.6-terra" | "gpt-5.6-luna" | "gemini-3.6-flash" | "claude-opus-5" | "claude-opus-4-8" | "claude-sonnet-5" | "grok-4.5" | "jev-1.13" | "glm-5.2" | "muse-spark-1.1" | "muse-spark-1.2" | "gemini-3.7-flash" | "gemini-3.8-flash" | "gpt-6-astra" | "gpt-6-astra-pro" | "muse-spark-1.3" | "grok-4.6" | "glm-5.3" | "glm-5.3-flash" | "qwen-3.8-flash" | "deepseek-v4.1-flash" | "gpt-6-sol" | "gpt-6-sol-pro" | "gpt-6-luna" | "gpt-6-luna-pro" | "gpt-6.1-terra" | "gpt-6-luna-decisions" | "claude-opus-5.5" | "grok-4.7" | "glm-5.3-flashx" | "qwen-3.8-omni-flash" | "claude-haiku-5.5" | "sdxl" | "sdxl-turbo" | "sd3" | "fooocus" | "bria21" | "bria22-fast" | "bria23" | "bria-fibo-2" | "flux-schnell" | "flux" | "flux-dev-srpo" | "flux-dev-krea" | "flux-pro" | "flux-1-1-pro" | "flux-1-1-pro-ultra" | "flux-pro-vto" | "flux-kontext-dev" | "flux-kontext-pro" | "flux-kontext-max" | "flux-2-flex" | "flux-2-dev" | "flux-2-pro" | "flux-2-flex-edit" | "flux-2-dev-edit" | "flux-2-pro-edit" | "flux-2-max" | "flux-2-max-edit" | "flux-2-klein-4b" | "flux-2-klein-9b" | "flux-2-klein-4b-edit" | "flux-2-klein-9b-edit" | "flux-2-klein-realtime" | "flux-3-image" | "flux-3-klein-base" | "flux-3-klein-base-edit" | "flux-3-klein" | "z-image-turbo" | "krea-2-turbo" | "krea-2-large" | "krea-3-realtime" | "krea-3" | "hidream-o1-image" | "hidream-o1-image-dev" | "dall-e" | "gpt-image-1" | "gpt-image-1.5" | "gpt-image-2" | "gpt-image-2.5-flare" | "gpt-image-2.5-sunburst" | "gpt-image-2.6-flare" | "gpt-image-2.6-sunburst" | "imagen-2" | "imagen-3" | "imagen-3-fast" | "imagen-4" | "imagen-4-fast" | "imagen-4-ultra" | "gemini-2.0-flash-preview-image-generation" | "gemini-2.5-flash-image" | "gemini-2.5-flash-image-edit" | "gemini-3-pro-image" | "gemini-3-pro-image-edit" | "gemini-3.1-flash-image" | "gemini-3.1-flash-image-edit" | "gemini-3.1-flash-lite-image" | "gemini-3.1-flash-lite-image-edit" | "nano-banana-2.1" | "google-virtual-try-on" | "qwen-image" | "qwen-image-edit" | "qwen-image-edit-2509" | "qwen-image-layered" | "qwen-image-edit-2511" | "qwen-image-edit-2511-multiple-angles" | "qwen-image-2512" | "qwen-image-2" | "qwen-image-2-pro" | "qwen-image-2-edit" | "qwen-image-2-pro-edit" | "qwen-image-2.1" | "qwen-image-2.1-edit" | "grok-imagine-image" | "grok-imagine-image-edit" | "grok-imagine-image-2.0" | "seedream-4" | "seedream-4.5" | "seedream-5-lite" | "seedream-5-lite-edit" | "seedream-5-pro" | "seedream-5-pro-edit" | "seedream-5-pro-layerize" | "seedream-5-flash" | "seedream-5-flash-layerize" | "patina" | "patina-tileable" | "luma-uni-1" | "luma-uni-1-max" | "recraft-v3" | "recraft-v4" | "recraft-v4-pro" | "recraft-v4-vector" | "recraft-v4-pro-vector" | "ideogram-v4" | "ideogram-v4.5" | "ideogram-vector" | "recraft-v4.1" | "recraft-v4.1-pro" | "recraft-v4.1-pro-vector" | "recraft-v4.1-vector" | "step1x-edit" | "mai-image-2.5" | "mai-image-2.5-pro" | "muse-image" | "reve-2" | "reve-2-remix" | "reve-2.1" | "reve-2.1-remix" | "pruna-p-image" | "clarity-upscaler" | "esrgan-upscaler" | "pruna-p-image-upscale" | "topaz-enhance-upscaler" | "topaz-enhance-generative-upscaler" | "topaz-standard-v2-upscale-image" | "topaz-high-fidelity-v3-upscale-image" | "topaz-low-resolution-v2-upscale-image" | "topaz-cgi-upscale-image" | "topaz-text-refine-upscale-image" | "topaz-wonder-3.5-upscale-image" | "topaz-redefine-upscale-image" | "topaz-recover-3-upscale-image" | "topaz-standard-max-upscale-image" | "topaz-recovery-v2-upscale-image" | "topaz-bloom-2-upscale-image" | "topaz-bloom-realism-upscale-image" | "topaz-transparent-upscale-image" | "seed-vr-upscale-image" | "recraft-upscale-crisp" | "recraft-upscale-creative" | "topaz-normal-denoise-image" | "topaz-strong-denoise-image" | "topaz-extreme-denoise-image" | "topaz-denoise-max-denoise-image" | "topaz-recover-3-restore-image" | "topaz-dust-scratch-v2-restore-image" | "bria-fibo-edit-restore-image" | "telestyle-v2" | "bria-fibo-edit-colorize-image" | "image2pixel-pixelate-image" | "image-apps-v2-expression-change" | "image-editing-expression-change" | "finegrain-erase-image" | "ideogram-erase-image" | "fal-object-removal-erase-image" | "bria-erase-image" | "bria-fibo-edit-rewrite-text" | "image-editing-text-removal" | "ideogram-v3-layerize-text" | "veo-2" | "veo-3" | "veo-3-fast" | "veo-3.1" | "veo-3.1-fast" | "veo-3.1-lite" | "veo-3.1-reference" | "veo-3.1-fast-reference" | "ai-avatar" | "omnihuman" | "omnihuman-v1.5" | "omnihuman-v2" | "veed-lipsync-v2" | "sync-lipsync-v3" | "sync-lipsync-v2-pro" | "latentsync" | "sync-lipsync-v3-image-to-video" | "minimax" | "minimax-live" | "minimax-hailuo-2-standard" | "minimax-hailuo-2-pro" | "minimax-hailuo-2.3-standard" | "minimax-hailuo-2.3-pro" | "minimax-hailuo-2.3-fast" | "minimax-h3" | "minimax-h3-reference" | "minimax-h3-max" | "minimax-h3-max-reference" | "minimax-h3-max-turbo" | "minimax-h3-max-lip-sync" | "minimax-h3-max-recast" | "minimax-h3-max-reframe" | "minimax-h3-max-relight" | "minimax-h3-max-extend" | "minimax-h3-max-insert" | "minimax-h3-max-3d-to-video" | "heygen-video" | "heygen-video-reference" | "hunyuan" | "hunyuan-video-foley" | "hunyuan-video-1.5" | "kling-v15-pro" | "kling-v16-pro" | "kling-v20-master" | "kling-v21-master" | "kling-v21-pro" | "kling-v2.5-turbo-pro" | "kling-v2.6-pro" | "kling-o1" | "kling-o1-reference" | "kling-o1-edit" | "kling-o3-pro" | "kling-o3-pro-edit" | "kling-o3-standard" | "kling-o3-standard-edit" | "kling-v3-pro" | "kling-v3-standard" | "kling-v2.6-pro-motion-control" | "kling-v2.6-standard-motion-control" | "kling-v3-pro-motion-control" | "kling-v3-standard-motion-control" | "kling-v3-4k" | "kling-o3-4k" | "kling-o3-4k-reference" | "kling-v4" | "kling-v4-video-edit" | "kling-v4-flash" | "kling-v4-flash-reference" | "kling-v4-flash-video-edit" | "kling-image-o3" | "kling-image-v3" | "wan-21" | "wan-22" | "wan-25" | "wan-2.6" | "wan-3.0" | "wan-3.0-reference" | "wan-2.7-pro" | "wan-2.7-pro-edit" | "happy-horse" | "happy-horse-reference" | "happy-horse-edit" | "happy-horse-1.1" | "gemini-omni-flash" | "gemini-omni-flash-edit" | "gemini-omni-flash-reference" | "gemini-omni-flash-1.1" | "gemini-omni-flash-1.1-edit" | "gemini-omni-flash-1.1-reference" | "gemini-omni-flash-1.2" | "gemini-omni-flash-1.2-extend" | "gemini-omni-flash-1.2-upscale" | "sadtalker" | "framepack" | "higgsfield-lite" | "higgsfield-preview" | "higgsfield-turbo" | "higgsfield-soul-2" | "higgsfield-soul-cinema" | "higgsfield-genjutsu-motion-transfer" | "higgsfield-genjutsu-object-swap" | "worldlabs-marble-1.0-draft" | "worldlabs-marble-1.1" | "worldlabs-marble-1.1-plus" | "worldlabs-marble-1.1-draft-complete" | "triposplat" | "pruna-p-video" | "pruna-p-video-2" | "pruna-p-video-2-pro" | "pruna-p-video-avatar" | "pruna-p-video-avatar-tts" | "pruna-p-video-edit" | "pruna-p-video-animate" | "pruna-p-video-replace" | "magi-distilled" | "seedance-v1-lite" | "seedance" | "seedance-v1.5-pro" | "seedance-v2" | "seedance-v2-reference" | "seedance-v2-fast" | "seedance-v2-fast-reference" | "seedance-v2.5" | "seedance-v2.5-reference" | "seedance-v2.5-draft-complete" | "seedance-v2-us" | "seedance-v2.5-us" | "seedance-v2.5-us-draft-complete" | "vidu-q3-pro" | "pixverse-v5" | "pixverse-v5.5" | "pixverse-v5.5-fast" | "pixverse-v6" | "pixverse-vibemv" | "mureka-lyrics-video" | "pika-2.5" | "ray-2" | "ray-2-flash" | "ray-3-2" | "sora-2" | "sora-2-pro" | "ltx-v2-fast" | "ltx-v2-pro" | "ltx-v2.3" | "ltx-v2.3-fast" | "ltx-v2.3-22b" | "ltx-v2.3-quality-outpaint" | "ltx-v2.5-fast" | "ltx-v2.5-pro" | "ltx-v2.5-fast-audio" | "ltx-v2.5-pro-audio" | "kandinsky-6-lite" | "flux-3" | "flux-3-keyframes" | "flux-3-extend" | "flux-3-edit" | "flux-3-draft-enhance" | "flux-3-max" | "flux-3-max-keyframes" | "grok-imagine-video" | "grok-imagine-video-1.5" | "grok-imagine-video-1.5-lite" | "grok-imagine-video-edit" | "grok-imagine-video-extend" | "runway-gen4-turbo" | "runway-gen4.5" | "runway-gen4-aleph" | "runway-aleph2" | "video-upscaler-esrgan" | "video-upscaler-topaz" | "topaz-proteus-upscale-video" | "topaz-proteus-natural-upscale-video" | "topaz-iris-upscale-video" | "topaz-dione-dv-upscale-video" | "topaz-artemis-high-quality-upscale-video" | "topaz-gaia-hq-upscale-video" | "topaz-gaia-cg-upscale-video" | "topaz-gaia-2-upscale-video" | "topaz-rhea-upscale-video" | "topaz-theia-fine-tune-detail-upscale-video" | "topaz-starlight-precise-2.6-upscale-video" | "topaz-starlight-hq-upscale-video" | "topaz-starlight-mini-upscale-video" | "topaz-starlight-sharp-upscale-video" | "topaz-starlight-fast-2-upscale-video" | "topaz-astra-2-upscale-video" | "seed-vr-upscale-video" | "bria-video-increase-resolution" | "flux-video-upscale" | "flux-video-upscale-creative" | "topaz-apollo-interpolate-video" | "topaz-chronos-interpolate-video" | "topaz-aion-interpolate-video" | "topaz-nyx-denoise-video" | "topaz-nyx-fast-denoise-video" | "topaz-nyx-xl-denoise-video" | "topaz-nyx-hf-denoise-video" | "topaz-themis-2-deblur-video" | "topaz-sdr-to-hdr-video" | "ffmpeg-merge-videos" | "ffmpeg-extract-frame" | "auto-subtitle" | "auto-caption" | "veed-subtitles" | "remotion-video-timeline" | "video-as-code-render" | "recraft-vectorize-image" | "ideogram-vectorize" | "star-vector" | "fal-image-to-svg" | "birefnet-v2" | "ideogram-remove-background" | "pixelcut-background-removal" | "bria-video-background-removal" | "bria-video-background-removal-v3" | "bria-video-green-screen" | "void-video-inpainting" | "lightricks-ltx-v2-3-quality-clean-plate" | "elevenlabs-dubbing" | "heygen-translate-precision" | "heygen-translate-speed" | "decart-lucy-restyle" | "decart-lucy-edit-pro" | "id-v2v" | "pixelcut-video-background-removal" | "sam-3-1-image" | "sam-3-1-video" | "tripo-2.0" | "tripo-2.5" | "tripo-3.0" | "tripo-3.1" | "tripo-p1" | "tripo-p2" | "tripo-turbo-1.0" | "tripo-rig" | "tripo-animate" | "tripo-retarget" | "tripo-segment" | "tripo-remesh" | "tripo-retopology-v3" | "tripo-smart-uv" | "tripo-retexture" | "tripo-convert" | "rodin" | "rodin-bang" | "rodin-gen-2" | "rodin-gen-2-5" | "trellis" | "trellis-2" | "hunyuan-3d-v2" | "hunyuan-3d-v2-mini" | "hunyuan-3d-3.0" | "hunyuan-3d-v3.1-pro" | "hunyuan-3d-v3.1-fast" | "hunyuan-3d-v3.1-part" | "hunyuan-3d-v3.1-remesh" | "hunyuan-3d-uv-unwrap" | "shutterstock" | "meshy-v6-preview" | "meshy-v6" | "meshy-v7" | "meshy-v7.1" | "meshy-t2" | "meshy-t2.5" | "meshy-v6-draft-complete" | "meshy-v7.1-draft-complete" | "meshy-t2-draft-complete" | "meshy-t2.5-draft-complete" | "bytedance-seed-3d" | "hi-3d" | "hi-3d-v3" | "hi-3d-texture" | "hi-3d-parts" | "sam-3-3d-objects" | "sam-3-3d-body" | "sam-3-3d-align" | "anything-world-animate" | "anything-world-rig" | "uthana-animate" | "uthana-auto-rig-character" | "meshy-v5-retexture" | "meshy-v6-lite-retexture" | "meshy-v6-retexture" | "meshy-v7-retexture" | "meshy-n1-retexture" | "meshy-v5-remesh" | "meshy-remesh" | "meshy-rigging" | "meshy-uv-unwrap" | "meshy-auto-split" | "stable-audio" | "stable-audio-25" | "stable-audio-3-medium" | "stable-audio-3-small-music" | "stable-audio-3-small-sfx" | "gemini-tts" | "gemini-3.1-flash-tts" | "gemini-3.8-flash-tts" | "gemini-3.8-flash-lite-tts" | "ace-step" | "minimax-music-v2" | "minimax-music-v2.5" | "minimax-music-v2.6" | "minimax-music-3" | "eleven-labs-music" | "cassetteai-music" | "lyria-2" | "lyria-3" | "lyria-3-pro" | "lyria-3-5" | "sonilo-v1-1-text-to-music" | "sonilo-v1-1-video-to-music" | "mureka-song" | "mureka-instrumental" | "mureka-podcast" | "eleven-labs-multilingual-v2" | "eleven-labs-tts-v3" | "eleven-labs-tts-v4" | "eleven-labs-tts-v4-turbo" | "eleven-labs-voice-changer" | "eleven-labs-text-to-dialogue" | "inworld-tts-1.5-max" | "xai-tts-v1" | "heygen-voice" | "heygen-voice-turbo" | "qwen-3-tts" | "seed-audio-1" | "eleven-labs-sound-effects" | "eleven-labs-sound-effects-v3" | "cassetteai-sfx" | "mirelo-sfx" | "mirelo-sfx-2" | "mirelo-sfx-2-video-to-audio" | "sonilo-v1-1-text-to-sound-effects" | "sonilo-v1-1-video-to-sound-effects" | "sam-audio-separate" | "kling-video-to-audio" | "eleven-labs-audio-isolation" | "deepfilternet-3" | "veed-clean-audio" | "sonilo-v1-1-video-to-video-music" | "sonilo-v1-1-video-to-video-sound-effects" | "mirelo-sfx-2-video-to-video" | "playable-v1" | "image-preprocessor" | "comfy-image" | "sd15" | "sd2-base" | "sd2" | "sd21-base" | "sd21" | "getty";
|
|
354
354
|
export interface BaseModelSummary {
|
|
355
355
|
/** Base model identifier, e.g. flux-dev — pass it as `base_model_id`. */
|
|
356
356
|
base_model_id: string;
|
|
@@ -374,7 +374,7 @@ export interface BaseModelSummary {
|
|
|
374
374
|
/** Enum representing the status of a blueprint run. */
|
|
375
375
|
export type BlueprintRunStatus = "pending" | "running" | "success" | "failure" | "cancelled";
|
|
376
376
|
export interface Body_exchangeToken {
|
|
377
|
-
/** `client_credentials`, `urn:ietf:params:oauth:grant-type:device_code` or `refresh_token`. */
|
|
377
|
+
/** `client_credentials`, `urn:ietf:params:oauth:grant-type:device_code`, `authorization_code` or `refresh_token`. */
|
|
378
378
|
grant_type: string;
|
|
379
379
|
/** The service account's or native client's id. */
|
|
380
380
|
client_id?: string | null;
|
|
@@ -386,6 +386,12 @@ export interface Body_exchangeToken {
|
|
|
386
386
|
device_code?: string | null;
|
|
387
387
|
/** Refresh grant: the refresh token to renew. */
|
|
388
388
|
refresh_token?: string | null;
|
|
389
|
+
/** Authorization code grant: the code. */
|
|
390
|
+
code?: string | null;
|
|
391
|
+
/** Authorization code grant: the redirect URI the code was sent to. */
|
|
392
|
+
redirect_uri?: string | null;
|
|
393
|
+
/** Authorization code grant: the PKCE verifier. */
|
|
394
|
+
code_verifier?: string | null;
|
|
389
395
|
}
|
|
390
396
|
export interface Body_revokeToken {
|
|
391
397
|
/** The service account key, or a native client's refresh token. */
|
|
@@ -495,9 +501,15 @@ export interface CompositionPlan {
|
|
|
495
501
|
export interface CreateGroupBody {
|
|
496
502
|
/** The group's name. Must be unique within the workspace. */
|
|
497
503
|
name: string;
|
|
498
|
-
/** Optional
|
|
499
|
-
role?:
|
|
500
|
-
/** ID of
|
|
504
|
+
/** Optional built-in role to grant members, by key. Deprecated: use role_id. */
|
|
505
|
+
role?: string | null;
|
|
506
|
+
/** ID of an optional role to grant members, custom included. */
|
|
507
|
+
role_id?: string | null;
|
|
508
|
+
}
|
|
509
|
+
export interface CreateInviteBody {
|
|
510
|
+
/** Email address to invite. It is emailed a link, valid for 14 days, that makes whoever signs in with this address a member. No Layer user is created until then. */
|
|
511
|
+
email: string;
|
|
512
|
+
/** ID of the role to join with, custom included. Defaults to the workspace's default role. */
|
|
501
513
|
role_id?: string | null;
|
|
502
514
|
}
|
|
503
515
|
export interface CreateProjectBody {
|
|
@@ -911,6 +923,14 @@ export interface EstimateInferencePriceV2Request {
|
|
|
911
923
|
vectorization_path_precision?: number | null;
|
|
912
924
|
/** Put the output on a transparent background. Also accepted as `remove_background`. */
|
|
913
925
|
transparency?: boolean | null;
|
|
926
|
+
/** Make an animated GIF instead of a still. Honored by the models whose capabilities report `animated_gif`; another model makes a still. `width` and `height` are each frame's, and a size whose frames don't fit what the model renders at once is scaled down to fit. Can't be combined with a mask, tiling, a tile grid, a skybox, an output fit, nine-slice, parallax or an upscale. */
|
|
927
|
+
animated?: boolean | null;
|
|
928
|
+
/** How many frames the animated GIF has, within the model's `animated_gif.frame_count_range`; a value outside it is clamped to it. Unset takes its default. */
|
|
929
|
+
animation_frame_count?: number | null;
|
|
930
|
+
/** How long each frame shows, in milliseconds, within the model's `animated_gif.frame_duration_ms_range`; a value outside it is clamped to it, and the value is rounded to 10 milliseconds. Unset takes its default. */
|
|
931
|
+
animation_frame_duration_ms?: number | null;
|
|
932
|
+
/** Make an SVG instead of a raster image. Honored by the models whose capabilities report `svg_on_request`; a model that reports `vector_output` always makes one, and another model makes a raster. Drawn from the prompt alone, from a reference image of at most one megapixel, and billed as one megapixel. Can't be combined with guidance images, an animation, a mask, tiling, a tile grid, a skybox, an output fit, nine-slice, parallax or an upscale. */
|
|
933
|
+
svg?: boolean | null;
|
|
914
934
|
/** Reframe/extend the image. */
|
|
915
935
|
reframe?: boolean | null;
|
|
916
936
|
/** Generate a seamless texture that tiles without a visible edge. Honored by the models whose `inference-schema` lists `tileability` (list them with `GET .../base-models?tileable=true`), and ignored by the rest. */
|
|
@@ -1377,6 +1397,14 @@ export interface ExecuteInferenceV2Request {
|
|
|
1377
1397
|
vectorization_path_precision?: number | null;
|
|
1378
1398
|
/** Put the output on a transparent background. Also accepted as `remove_background`. */
|
|
1379
1399
|
transparency?: boolean | null;
|
|
1400
|
+
/** Make an animated GIF instead of a still. Honored by the models whose capabilities report `animated_gif`; another model makes a still. `width` and `height` are each frame's, and a size whose frames don't fit what the model renders at once is scaled down to fit. Can't be combined with a mask, tiling, a tile grid, a skybox, an output fit, nine-slice, parallax or an upscale. */
|
|
1401
|
+
animated?: boolean | null;
|
|
1402
|
+
/** How many frames the animated GIF has, within the model's `animated_gif.frame_count_range`; a value outside it is clamped to it. Unset takes its default. */
|
|
1403
|
+
animation_frame_count?: number | null;
|
|
1404
|
+
/** How long each frame shows, in milliseconds, within the model's `animated_gif.frame_duration_ms_range`; a value outside it is clamped to it, and the value is rounded to 10 milliseconds. Unset takes its default. */
|
|
1405
|
+
animation_frame_duration_ms?: number | null;
|
|
1406
|
+
/** Make an SVG instead of a raster image. Honored by the models whose capabilities report `svg_on_request`; a model that reports `vector_output` always makes one, and another model makes a raster. Drawn from the prompt alone, from a reference image of at most one megapixel, and billed as one megapixel. Can't be combined with guidance images, an animation, a mask, tiling, a tile grid, a skybox, an output fit, nine-slice, parallax or an upscale. */
|
|
1407
|
+
svg?: boolean | null;
|
|
1380
1408
|
/** Reframe/extend the image. */
|
|
1381
1409
|
reframe?: boolean | null;
|
|
1382
1410
|
/** Generate a seamless texture that tiles without a visible edge. Honored by the models whose `inference-schema` lists `tileability` (list them with `GET .../base-models?tileable=true`), and ignored by the rest. */
|
|
@@ -1788,10 +1816,12 @@ export interface GroupOut {
|
|
|
1788
1816
|
group_id: string;
|
|
1789
1817
|
/** The group's name. */
|
|
1790
1818
|
name: string;
|
|
1791
|
-
/** The
|
|
1792
|
-
role?:
|
|
1793
|
-
/** ID of the role
|
|
1819
|
+
/** The built-in role this group grants its members, by key, if any. Deprecated: use role_id. */
|
|
1820
|
+
role?: string | null;
|
|
1821
|
+
/** ID of the role this group grants its members, custom included, if any. */
|
|
1794
1822
|
role_id?: string | null;
|
|
1823
|
+
/** The name of the role this group grants, if any. */
|
|
1824
|
+
role_name?: string | null;
|
|
1795
1825
|
}
|
|
1796
1826
|
/** What kind of guardrail refused it: one of the guardrails Layer ships, or the workspace's own. */
|
|
1797
1827
|
export type GuardrailCategory = "copyright_infringement" | "ip_trademark_infringement" | "artist_style_mimicry" | "custom";
|
|
@@ -1889,7 +1919,7 @@ export interface InferenceToolSummary {
|
|
|
1889
1919
|
/** The model a run of the tool takes when it names none: the tool's own default, else the caller's first pinned model among `base_model_ids`, else Layer's recommendation for the tool's job. */
|
|
1890
1920
|
default_base_model_id: string;
|
|
1891
1921
|
}
|
|
1892
|
-
export type InferenceUseCase = "text_to_image" | "image_editing" | "multi_angle" | "inpainting" | "reframing" | "split_into_layers" | "text_to_video" | "image_to_video" | "video_editing" | "video_extend" | "insert_video" | "video_subtitle" | "video_lipsync" | "motion_transfer" | "video_object_swap" | "video_character_swap" | "relight_video" | "image_to_video_lipsync" | "text_to_3d" | "image_to_3d" | "text_to_world" | "image_to_world" | "remesh" | "retexture" | "uv_unwrap" | "animate" | "rig" | "segment" | "image_segment" | "image_mask" | "text_to_speech" | "sound_effects" | "music" | "upscaling" | "video_interpolation" | "denoise_image" | "denoise_video" | "denoise_audio" | "voice_change" | "audio_separation" | "audio_isolation" | "deblur_video" | "restore_image" | "sdr_to_hdr_video" | "background_removal" | "vectorization" | "virtual_try_on" | "restyle" | "pixelate" | "colorize" | "change_expression" | "erase_object" | "edit_text" | "dub_video" | "extend_audio" | "generate_pbr_materials" | "create_skybox" | "complete_draft";
|
|
1922
|
+
export type InferenceUseCase = "text_to_image" | "image_editing" | "multi_angle" | "inpainting" | "reframing" | "split_into_layers" | "text_to_video" | "image_to_video" | "video_editing" | "video_extend" | "insert_video" | "video_subtitle" | "video_lipsync" | "motion_transfer" | "video_object_swap" | "video_character_swap" | "relight_video" | "three_d_to_video" | "image_to_video_lipsync" | "text_to_3d" | "image_to_3d" | "text_to_world" | "image_to_world" | "remesh" | "retexture" | "uv_unwrap" | "animate" | "rig" | "segment" | "image_segment" | "image_mask" | "text_to_speech" | "sound_effects" | "music" | "upscaling" | "video_interpolation" | "denoise_image" | "denoise_video" | "denoise_audio" | "voice_change" | "audio_separation" | "audio_isolation" | "deblur_video" | "restore_image" | "sdr_to_hdr_video" | "background_removal" | "vectorization" | "virtual_try_on" | "restyle" | "pixelate" | "colorize" | "change_expression" | "erase_object" | "edit_text" | "dub_video" | "extend_audio" | "generate_pbr_materials" | "create_skybox" | "complete_draft";
|
|
1893
1923
|
/** Delivered when an inference run reaches a terminal state. */
|
|
1894
1924
|
export interface InferenceWebhookEvent {
|
|
1895
1925
|
/** Unique event id, repeated in the webhook-id header. */
|
|
@@ -1906,8 +1936,34 @@ export interface InferenceWebhookEvent {
|
|
|
1906
1936
|
export interface InviteMemberBody {
|
|
1907
1937
|
/** Email of the person to invite. A Layer user is created if none exists. */
|
|
1908
1938
|
email: string;
|
|
1909
|
-
/**
|
|
1910
|
-
role?:
|
|
1939
|
+
/** The built-in role to grant, by key: admin or creator, plus member in an enterprise workspace. Deprecated: use role_id. */
|
|
1940
|
+
role?: string | null;
|
|
1941
|
+
/** ID of the role to grant, custom included. Defaults to creator, or member in an enterprise workspace. */
|
|
1942
|
+
role_id?: string | null;
|
|
1943
|
+
}
|
|
1944
|
+
export interface InviteOutput {
|
|
1945
|
+
/** The invitation's unique identifier. */
|
|
1946
|
+
invite_id: string;
|
|
1947
|
+
/** The email address invited. */
|
|
1948
|
+
email: string;
|
|
1949
|
+
/** ID of the role the invitee joins with, custom included. */
|
|
1950
|
+
role_id: string;
|
|
1951
|
+
/** pending until accepted; expired once past expires_at without being accepted; claimed once accepted; revoked once withdrawn. */
|
|
1952
|
+
status: WorkspaceInviteStatus;
|
|
1953
|
+
/** ID of the principal who sent the invitation; null once their account is gone. */
|
|
1954
|
+
invited_by_id?: string | null;
|
|
1955
|
+
/** When the address was first invited. */
|
|
1956
|
+
created_at: string;
|
|
1957
|
+
/** When the latest invitation email, with its link, was sent. */
|
|
1958
|
+
sent_at: string;
|
|
1959
|
+
/** When the latest link stops working. */
|
|
1960
|
+
expires_at: string;
|
|
1961
|
+
/** When the invitation was accepted. */
|
|
1962
|
+
claimed_at?: string | null;
|
|
1963
|
+
/** ID of the user who accepted the invitation. */
|
|
1964
|
+
claimed_by_id?: string | null;
|
|
1965
|
+
/** When the invitation was withdrawn. */
|
|
1966
|
+
revoked_at?: string | null;
|
|
1911
1967
|
}
|
|
1912
1968
|
/** The device authorization response (RFC 8628 section 3.2). */
|
|
1913
1969
|
export interface IssuedDeviceCode {
|
|
@@ -1940,6 +1996,10 @@ export interface ListInferenceToolsOutput {
|
|
|
1940
1996
|
inference_tools: Array<InferenceToolSummary>;
|
|
1941
1997
|
pagination: PaginationOutput;
|
|
1942
1998
|
}
|
|
1999
|
+
export interface ListInvitesOutput {
|
|
2000
|
+
/** The workspace's invitations, newest first, at most 200. */
|
|
2001
|
+
invites: Array<InviteOutput>;
|
|
2002
|
+
}
|
|
1943
2003
|
export interface ListMembersOutput {
|
|
1944
2004
|
members: Array<MemberOutput>;
|
|
1945
2005
|
pagination: PaginationOutput;
|
|
@@ -1996,8 +2056,12 @@ export interface MemberOutput {
|
|
|
1996
2056
|
email: string;
|
|
1997
2057
|
/** The member's display name, if set. */
|
|
1998
2058
|
name?: string | null;
|
|
1999
|
-
/** The member's
|
|
2000
|
-
role:
|
|
2059
|
+
/** The member's built-in role, by key; member for a custom role. Deprecated: use role_id. */
|
|
2060
|
+
role: string;
|
|
2061
|
+
/** ID of the role the member holds, custom included. */
|
|
2062
|
+
role_id: string;
|
|
2063
|
+
/** The name of the role the member holds. */
|
|
2064
|
+
role_name: string;
|
|
2001
2065
|
/** Membership status: active or suspended. */
|
|
2002
2066
|
status: WorkspaceMembershipStatus;
|
|
2003
2067
|
}
|
|
@@ -2361,6 +2425,8 @@ export interface RequestUploadUrlResponse {
|
|
|
2361
2425
|
upload_url: string;
|
|
2362
2426
|
/** MIME type to use when uploading. */
|
|
2363
2427
|
content_type: string;
|
|
2428
|
+
/** Headers to send, exactly as given, on the POST that starts the upload. The URL is signed with them, so storage refuses a request that leaves one out or changes its value. */
|
|
2429
|
+
upload_headers: Record<string, string>;
|
|
2364
2430
|
/** Source type the file was created with, echoed from the request. */
|
|
2365
2431
|
source_type?: FileSourceType | null;
|
|
2366
2432
|
}
|
|
@@ -2390,7 +2456,6 @@ export interface RestoreDeletedFilesOutput {
|
|
|
2390
2456
|
/** Bytes those files hold. */
|
|
2391
2457
|
restored_bytes: number;
|
|
2392
2458
|
}
|
|
2393
|
-
export type Role = "admin" | "editor" | "settings_admin" | "art_director" | "artist" | "creator" | "member" | "installation" | "provisioning";
|
|
2394
2459
|
export interface RotateWebhookSecretResponse {
|
|
2395
2460
|
/** The new signing secret. Start verifying with it. */
|
|
2396
2461
|
secret: string;
|
|
@@ -3086,14 +3151,16 @@ export interface TrendVariantOutput {
|
|
|
3086
3151
|
description: string;
|
|
3087
3152
|
}
|
|
3088
3153
|
export interface UpdateGroupBody {
|
|
3089
|
-
/** New
|
|
3090
|
-
role
|
|
3091
|
-
/** ID of
|
|
3154
|
+
/** New built-in role to grant members, by key. Deprecated: use role_id. */
|
|
3155
|
+
role?: string | null;
|
|
3156
|
+
/** ID of the new role to grant members, custom included. Send null to clear the group's role. */
|
|
3092
3157
|
role_id?: string | null;
|
|
3093
3158
|
}
|
|
3094
3159
|
export interface UpdateMemberBody {
|
|
3095
|
-
/** New role, if changing. */
|
|
3096
|
-
role?:
|
|
3160
|
+
/** New built-in role, by key, if changing. Deprecated: use role_id. */
|
|
3161
|
+
role?: string | null;
|
|
3162
|
+
/** ID of the new role, custom included, if changing. */
|
|
3163
|
+
role_id?: string | null;
|
|
3097
3164
|
/** New status (active to reactivate, suspended to suspend), if changing. */
|
|
3098
3165
|
status?: WorkspaceMembershipStatus | null;
|
|
3099
3166
|
}
|
|
@@ -3298,6 +3365,8 @@ export interface WorkspaceInfo {
|
|
|
3298
3365
|
/** When the current user was last active in this workspace. */
|
|
3299
3366
|
last_active_at: string | null;
|
|
3300
3367
|
}
|
|
3368
|
+
/** Where an invitation stands. Only a ``PENDING`` one can be claimed. */
|
|
3369
|
+
export type WorkspaceInviteStatus = "pending" | "expired" | "claimed" | "revoked";
|
|
3301
3370
|
export type WorkspaceMembershipStatus = "active" | "suspended";
|
|
3302
3371
|
export interface WorkspaceStorageOutput {
|
|
3303
3372
|
/** Bytes the workspace stores now: a live count. */
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.0.
|
|
1
|
+
export const VERSION = "1.0.92";
|