@nocha/cli 4.6.1 → 4.13.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/CHANGELOG.md +32 -0
- package/dist/NOCHA.schema.json +1670 -3
- package/dist/build-info.json +4 -4
- package/dist/dev-offline-compiler.js +682 -7
- package/dist/dev-offline-runner.js +48 -6
- package/dist/development-live-host.js +13 -1
- package/dist/nocha.js +804 -60
- package/dist/reference-integrity.json +135 -101
- package/dist/references/api/README.md +24 -23
- package/dist/references/api/signatures.md +23 -2
- package/dist/references/base/server/tooling/sdk-sources.ts +2 -2
- package/dist/references/base/src/platform/failure.ts +1 -1
- package/dist/references/base/src/types/nocha/assets-media.d.ts +8 -0
- package/dist/references/base/src/types/nocha/assets-operations.d.ts +3 -0
- package/dist/references/base/src/types/nocha/capability-deadlines.d.ts +6 -0
- package/dist/references/base/src/types/nocha/capability-needs.d.ts +7 -0
- package/dist/references/base/src/types/nocha/capability-operations.d.ts +3 -1
- package/dist/references/base/src/types/nocha/drive-operations.d.ts +56 -0
- package/dist/references/base/src/types/nocha/drive-types.d.ts +77 -0
- package/dist/references/base/src/types/nocha/drive.d.ts +54 -0
- package/dist/references/base/src/types/nocha/error-codes.d.ts +9 -0
- package/dist/references/base/src/types/nocha/execution.d.ts +1 -1
- package/dist/references/base/src/types/nocha/index.d.ts +4 -0
- package/dist/references/base/src/types/nocha/media-read.d.ts +29 -0
- package/dist/references/base/src/types/nocha/operation-waiting.d.ts +8 -0
- package/dist/references/base/src/types/nocha/operation-wire-types.d.ts +30 -2
- package/dist/references/base/src/types/nocha/protocol.d.ts +7 -3
- package/dist/references/base/src/types/nocha/types/ai-wire.d.ts +40 -1
- package/dist/references/base/src/types/nocha/types/ai.d.ts +1 -1
- package/dist/references/base/src/types/nocha/types/assets-wire.d.ts +9 -1
- package/dist/references/base/src/types/nocha/types/assets.d.ts +22 -5
- package/dist/references/base/src/types/nocha/types/video-sdk-wire.d.ts +174 -13
- package/dist/references/base/src/types/nocha/types/video-wire.d.ts +120 -7
- package/dist/references/base/src/types/nocha/types/video.d.ts +5 -2
- package/dist/references/base/src/types/nocha/video-analysis.d.ts +10 -0
- package/dist/references/base/src/types/nocha/video-media.d.ts +1 -3
- package/dist/references/duel/server/tooling/sdk-sources.ts +2 -2
- package/dist/references/duel/src/types/nocha/assets-media.d.ts +8 -0
- package/dist/references/duel/src/types/nocha/assets-operations.d.ts +3 -0
- package/dist/references/duel/src/types/nocha/capability-deadlines.d.ts +6 -0
- package/dist/references/duel/src/types/nocha/capability-needs.d.ts +7 -0
- package/dist/references/duel/src/types/nocha/capability-operations.d.ts +3 -1
- package/dist/references/duel/src/types/nocha/drive-operations.d.ts +56 -0
- package/dist/references/duel/src/types/nocha/drive-types.d.ts +77 -0
- package/dist/references/duel/src/types/nocha/drive.d.ts +54 -0
- package/dist/references/duel/src/types/nocha/error-codes.d.ts +9 -0
- package/dist/references/duel/src/types/nocha/execution.d.ts +1 -1
- package/dist/references/duel/src/types/nocha/index.d.ts +4 -0
- package/dist/references/duel/src/types/nocha/media-read.d.ts +29 -0
- package/dist/references/duel/src/types/nocha/operation-waiting.d.ts +8 -0
- package/dist/references/duel/src/types/nocha/operation-wire-types.d.ts +30 -2
- package/dist/references/duel/src/types/nocha/protocol.d.ts +7 -3
- package/dist/references/duel/src/types/nocha/types/ai-wire.d.ts +40 -1
- package/dist/references/duel/src/types/nocha/types/ai.d.ts +1 -1
- package/dist/references/duel/src/types/nocha/types/assets-wire.d.ts +9 -1
- package/dist/references/duel/src/types/nocha/types/assets.d.ts +22 -5
- package/dist/references/duel/src/types/nocha/types/video-sdk-wire.d.ts +174 -13
- package/dist/references/duel/src/types/nocha/types/video-wire.d.ts +120 -7
- package/dist/references/duel/src/types/nocha/types/video.d.ts +5 -2
- package/dist/references/duel/src/types/nocha/video-analysis.d.ts +10 -0
- package/dist/references/duel/src/types/nocha/video-media.d.ts +1 -3
- package/dist/references/recipes/README.md +1 -0
- package/dist/references/recipes/backend-transaction/src/platform/failure.ts +1 -1
- package/dist/references/recipes/drive/NOCHA.json +24 -0
- package/dist/references/recipes/drive/README.md +15 -0
- package/dist/references/recipes/drive/SKILL.md +24 -0
- package/dist/references/recipes/drive/recipe.ts +34 -0
- package/dist/references/recipes/music/README.md +1 -1
- package/dist/references/recipes/types/nocha/assets-media.d.ts +8 -0
- package/dist/references/recipes/types/nocha/assets-operations.d.ts +3 -0
- package/dist/references/recipes/types/nocha/capability-deadlines.d.ts +6 -0
- package/dist/references/recipes/types/nocha/capability-needs.d.ts +7 -0
- package/dist/references/recipes/types/nocha/capability-operations.d.ts +3 -1
- package/dist/references/recipes/types/nocha/drive-operations.d.ts +56 -0
- package/dist/references/recipes/types/nocha/drive-types.d.ts +77 -0
- package/dist/references/recipes/types/nocha/drive.d.ts +54 -0
- package/dist/references/recipes/types/nocha/error-codes.d.ts +9 -0
- package/dist/references/recipes/types/nocha/execution.d.ts +1 -1
- package/dist/references/recipes/types/nocha/index.d.ts +4 -0
- package/dist/references/recipes/types/nocha/media-read.d.ts +29 -0
- package/dist/references/recipes/types/nocha/operation-waiting.d.ts +8 -0
- package/dist/references/recipes/types/nocha/operation-wire-types.d.ts +30 -2
- package/dist/references/recipes/types/nocha/protocol.d.ts +7 -3
- package/dist/references/recipes/types/nocha/types/ai-wire.d.ts +40 -1
- package/dist/references/recipes/types/nocha/types/ai.d.ts +1 -1
- package/dist/references/recipes/types/nocha/types/assets-wire.d.ts +9 -1
- package/dist/references/recipes/types/nocha/types/assets.d.ts +22 -5
- package/dist/references/recipes/types/nocha/types/video-sdk-wire.d.ts +174 -13
- package/dist/references/recipes/types/nocha/types/video-wire.d.ts +120 -7
- package/dist/references/recipes/types/nocha/types/video.d.ts +5 -2
- package/dist/references/recipes/types/nocha/video-analysis.d.ts +10 -0
- package/dist/references/recipes/types/nocha/video-media.d.ts +1 -3
- package/dist/references/stage/server/tooling/sdk-sources.ts +2 -2
- package/dist/references/stage/src/types/nocha/assets-media.d.ts +8 -0
- package/dist/references/stage/src/types/nocha/assets-operations.d.ts +3 -0
- package/dist/references/stage/src/types/nocha/capability-deadlines.d.ts +6 -0
- package/dist/references/stage/src/types/nocha/capability-needs.d.ts +7 -0
- package/dist/references/stage/src/types/nocha/capability-operations.d.ts +3 -1
- package/dist/references/stage/src/types/nocha/drive-operations.d.ts +56 -0
- package/dist/references/stage/src/types/nocha/drive-types.d.ts +77 -0
- package/dist/references/stage/src/types/nocha/drive.d.ts +54 -0
- package/dist/references/stage/src/types/nocha/error-codes.d.ts +9 -0
- package/dist/references/stage/src/types/nocha/execution.d.ts +1 -1
- package/dist/references/stage/src/types/nocha/index.d.ts +4 -0
- package/dist/references/stage/src/types/nocha/media-read.d.ts +29 -0
- package/dist/references/stage/src/types/nocha/operation-waiting.d.ts +8 -0
- package/dist/references/stage/src/types/nocha/operation-wire-types.d.ts +30 -2
- package/dist/references/stage/src/types/nocha/protocol.d.ts +7 -3
- package/dist/references/stage/src/types/nocha/types/ai-wire.d.ts +40 -1
- package/dist/references/stage/src/types/nocha/types/ai.d.ts +1 -1
- package/dist/references/stage/src/types/nocha/types/assets-wire.d.ts +9 -1
- package/dist/references/stage/src/types/nocha/types/assets.d.ts +22 -5
- package/dist/references/stage/src/types/nocha/types/video-sdk-wire.d.ts +174 -13
- package/dist/references/stage/src/types/nocha/types/video-wire.d.ts +120 -7
- package/dist/references/stage/src/types/nocha/types/video.d.ts +5 -2
- package/dist/references/stage/src/types/nocha/video-analysis.d.ts +10 -0
- package/dist/references/stage/src/types/nocha/video-media.d.ts +1 -3
- package/dist/references/workshop/server/tooling/sdk-sources.ts +2 -2
- package/dist/references/workshop/src/types/nocha/assets-media.d.ts +8 -0
- package/dist/references/workshop/src/types/nocha/assets-operations.d.ts +3 -0
- package/dist/references/workshop/src/types/nocha/capability-deadlines.d.ts +6 -0
- package/dist/references/workshop/src/types/nocha/capability-needs.d.ts +7 -0
- package/dist/references/workshop/src/types/nocha/capability-operations.d.ts +3 -1
- package/dist/references/workshop/src/types/nocha/drive-operations.d.ts +56 -0
- package/dist/references/workshop/src/types/nocha/drive-types.d.ts +77 -0
- package/dist/references/workshop/src/types/nocha/drive.d.ts +54 -0
- package/dist/references/workshop/src/types/nocha/error-codes.d.ts +9 -0
- package/dist/references/workshop/src/types/nocha/execution.d.ts +1 -1
- package/dist/references/workshop/src/types/nocha/index.d.ts +4 -0
- package/dist/references/workshop/src/types/nocha/media-read.d.ts +29 -0
- package/dist/references/workshop/src/types/nocha/operation-waiting.d.ts +8 -0
- package/dist/references/workshop/src/types/nocha/operation-wire-types.d.ts +30 -2
- package/dist/references/workshop/src/types/nocha/protocol.d.ts +7 -3
- package/dist/references/workshop/src/types/nocha/types/ai-wire.d.ts +40 -1
- package/dist/references/workshop/src/types/nocha/types/ai.d.ts +1 -1
- package/dist/references/workshop/src/types/nocha/types/assets-wire.d.ts +9 -1
- package/dist/references/workshop/src/types/nocha/types/assets.d.ts +22 -5
- package/dist/references/workshop/src/types/nocha/types/video-sdk-wire.d.ts +174 -13
- package/dist/references/workshop/src/types/nocha/types/video-wire.d.ts +120 -7
- package/dist/references/workshop/src/types/nocha/types/video.d.ts +5 -2
- package/dist/references/workshop/src/types/nocha/video-analysis.d.ts +10 -0
- package/dist/references/workshop/src/types/nocha/video-media.d.ts +1 -3
- package/dist/sdk-versions.json +1 -1
- package/dist/sdks/@nocha/sdk/dist/assets-operations.d.ts +3 -0
- package/dist/sdks/@nocha/sdk/dist/bridge.js +3 -3
- package/dist/sdks/@nocha/sdk/dist/capabilities.js +2 -2
- package/dist/sdks/@nocha/sdk/dist/capability-deadlines.d.ts +6 -0
- package/dist/sdks/@nocha/sdk/dist/capability-needs.d.ts +7 -0
- package/dist/sdks/@nocha/sdk/dist/capability-operations.d.ts +3 -1
- package/dist/sdks/@nocha/sdk/dist/{chunk-A3QFRV4K.js → chunk-7SH7NNX6.js} +2 -2
- package/dist/sdks/@nocha/sdk/dist/{chunk-3ULBSRGX.js → chunk-B34FPFNB.js} +1 -1
- package/dist/sdks/@nocha/sdk/dist/{chunk-MNRQELK7.js → chunk-EAC27UOG.js} +152 -7
- package/dist/sdks/{@watchirl/experience-sdk/dist/nocha/network-operations.d.ts → @nocha/sdk/dist/drive-operations.d.ts} +21 -18
- package/dist/sdks/@nocha/sdk/dist/drive-types.d.ts +76 -0
- package/dist/sdks/@nocha/sdk/dist/drive.d.ts +53 -0
- package/dist/sdks/@nocha/sdk/dist/error-codes.d.ts +9 -0
- package/dist/sdks/@nocha/sdk/dist/execution.d.ts +1 -1
- package/dist/sdks/@nocha/sdk/dist/host.js +1 -1
- package/dist/sdks/@nocha/sdk/dist/index.d.ts +4 -0
- package/dist/sdks/@nocha/sdk/dist/index.js +521 -125
- package/dist/sdks/@nocha/sdk/dist/operation-wire-types.d.ts +30 -2
- package/dist/sdks/@nocha/sdk/dist/protocol.d.ts +7 -3
- package/dist/sdks/@nocha/sdk/dist/protocol.js +19 -1
- package/dist/sdks/@nocha/sdk/dist/types/ai-wire.d.ts +40 -1
- package/dist/sdks/@nocha/sdk/dist/types/ai.d.ts +1 -1
- package/dist/sdks/@nocha/sdk/dist/types/assets-wire.d.ts +9 -1
- package/dist/sdks/@nocha/sdk/dist/types/assets.d.ts +22 -5
- package/dist/sdks/@nocha/sdk/dist/types/video-sdk-wire.d.ts +174 -13
- package/dist/sdks/@nocha/sdk/dist/types/video-wire.d.ts +120 -7
- package/dist/sdks/@nocha/sdk/dist/types/video.d.ts +5 -2
- package/dist/sdks/@nocha/sdk/dist/video-analysis.d.ts +9 -0
- package/dist/sdks/@nocha/sdk/dist/vite.js +3 -1
- package/dist/sdks/@nocha/sdk/package.json +1 -1
- package/dist/sdks/@watchirl/experience-sdk/dist/index.d.ts +2 -2
- package/dist/sdks/@watchirl/experience-sdk/dist/index.js +339 -4523
- package/dist/sdks/@watchirl/experience-sdk/dist/legacy-video.d.ts +2 -2
- package/dist/sdks/@watchirl/experience-sdk/dist/types.d.ts +1 -1
- package/dist/watchirl-sdk.js +333 -4515
- package/package.json +1 -1
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/access.d.ts +0 -23
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/ai-operations.d.ts +0 -252
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/assets-operations.d.ts +0 -102
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/assistant-contract.d.ts +0 -29
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/assistant-controls.d.ts +0 -11
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/assistant.d.ts +0 -57
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/automations-operations.d.ts +0 -377
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/automations-types.d.ts +0 -156
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/automations.d.ts +0 -27
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-database.d.ts +0 -17
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-operations.d.ts +0 -71
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-requests.d.ts +0 -57
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-runtime.d.ts +0 -106
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/backend-transactions.d.ts +0 -53
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/bridge.d.ts +0 -6
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/capability-deadlines.d.ts +0 -63
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/capability-needs.d.ts +0 -154
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/capability-operations.d.ts +0 -73
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/clipping-types.d.ts +0 -134
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/connectors-operations.d.ts +0 -103
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/connectors-types.d.ts +0 -10
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/connectors.d.ts +0 -14
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/context.d.ts +0 -18
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/device-operations.d.ts +0 -452
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/device-types.d.ts +0 -53
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/email-operations.d.ts +0 -30
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/email.d.ts +0 -9
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/error-codes.d.ts +0 -299
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/errors.d.ts +0 -36
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/execution.d.ts +0 -15
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/experience-context-types.d.ts +0 -12
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/experience-context.d.ts +0 -8
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/inbox-operations.d.ts +0 -58
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/inbox.d.ts +0 -23
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/index.d.ts +0 -101
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/multiplayer-facade.d.ts +0 -44
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/multiplayer-operations.d.ts +0 -80
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/multiplayer.d.ts +0 -16
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/navigation.d.ts +0 -16
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/network.d.ts +0 -13
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/notifications-operations.d.ts +0 -29
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/notifications.d.ts +0 -9
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/operation-metadata.d.ts +0 -67
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/operation-wire-types.d.ts +0 -319
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/outirl-operations.d.ts +0 -352
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/outirl.d.ts +0 -31
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/presence-operations.d.ts +0 -24
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/protocol.d.ts +0 -378
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/state.d.ts +0 -13
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/storage-operation-types.d.ts +0 -49
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/storage-operations.d.ts +0 -229
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/storage.d.ts +0 -32
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/transport.d.ts +0 -36
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/ai-wire.d.ts +0 -337
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/ai.d.ts +0 -20
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/assets-wire.d.ts +0 -27
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/assets.d.ts +0 -40
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/json.d.ts +0 -8
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/network.d.ts +0 -16
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/outirl.d.ts +0 -326
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/storage.d.ts +0 -74
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/video-sdk-wire.d.ts +0 -460
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/video-wire.d.ts +0 -440
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/video.d.ts +0 -164
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/types/voice-wire.d.ts +0 -17
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/video-operations.d.ts +0 -646
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/video-properties.d.ts +0 -6
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/viewport-types.d.ts +0 -14
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/viewport.d.ts +0 -7
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/voice.d.ts +0 -13
- package/dist/sdks/@watchirl/experience-sdk/dist/nocha/workspace.d.ts +0 -7
|
@@ -1,460 +0,0 @@
|
|
|
1
|
-
import type { GenerationEffort, Microcredits } from './ai-wire.js';
|
|
2
|
-
import type { TripirlEffectiveVideoProperties, TripirlModuleRef, TripirlStepId, TripirlVideoProperties, TripirlVideoPropertyDefinition, TripirlVideoPropertyValue } from './video-wire.js';
|
|
3
|
-
/** Properties address the active module of a workflow step. Values follow its public catalogue definition. `VideoStepId`
|
|
4
|
-
* lists the steps this SDK knows; another well-formed step still travels, and the workflow refuses a step it does not run. */
|
|
5
|
-
export type VideoStepId = TripirlStepId;
|
|
6
|
-
export type VideoPropertyValue = TripirlVideoPropertyValue;
|
|
7
|
-
export type VideoProperties = TripirlVideoProperties & {
|
|
8
|
-
[step: string]: {
|
|
9
|
-
[key: string]: VideoPropertyValue;
|
|
10
|
-
} | undefined;
|
|
11
|
-
};
|
|
12
|
-
export type VideoPropertyDefinition = TripirlVideoPropertyDefinition;
|
|
13
|
-
export type EffectiveVideoProperties = TripirlEffectiveVideoProperties & {
|
|
14
|
-
[step: string]: {
|
|
15
|
-
module: TripirlModuleRef;
|
|
16
|
-
values: {
|
|
17
|
-
[key: string]: VideoPropertyValue;
|
|
18
|
-
};
|
|
19
|
-
} | undefined;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Video vocabulary. A module is one specialised operation (story, segments, prompts, clips, voice…). A circuit organises
|
|
23
|
-
* modules into steps. A circuit format — a workflow — is the reusable, named definition of a circuit: an experience
|
|
24
|
-
* picks one by id (`film-classique`, `image-loop`, `film-narratif-…` or a saved `fmt_…`). An execution
|
|
25
|
-
* (`VideoGeneration`) is one concrete run of a workflow. Results keep the wire format; an enumeration value this SDK
|
|
26
|
-
* does not know is reported as `null` (or dropped from a list), never as an invalid result.
|
|
27
|
-
*/
|
|
28
|
-
export type VideoWorkflowFamily = 'classic' | 'narrative' | 'image_loop';
|
|
29
|
-
export type VideoSpeechMode = 'none' | 'auto' | 'required';
|
|
30
|
-
export type VideoAspectRatio = '9:16' | '16:9' | '1:1';
|
|
31
|
-
/** Every spoken language a workflow may publish (`VideoWorkflow.locales` is the subset that workflow renders). */
|
|
32
|
-
export declare const videoLocales: readonly ["fr-FR", "en-US", "es-ES", "de-DE", "it-IT", "pt-PT", "nl-NL", "pl-PL", "sv-SE", "da-DK", "nb-NO", "fi-FI", "cs-CZ", "sk-SK", "hr-HR", "bg-BG", "ro-RO", "hu-HU", "el-GR", "ru-RU", "uk-UA", "tr-TR", "ar-SA", "hi-IN", "ta-IN", "id-ID", "ms-MY", "vi-VN", "zh-CN", "ja-JP", "ko-KR", "th-TH"];
|
|
33
|
-
export type VideoLocale = typeof videoLocales[number];
|
|
34
|
-
export type VideoOutputResolution = '720p' | '1080p';
|
|
35
|
-
export type VideoGenerationKind = 'film' | 'image_loop';
|
|
36
|
-
export type VideoGenerationStatus = 'queued' | 'running' | 'cancelling' | 'succeeded' | 'failed' | 'cancelled';
|
|
37
|
-
export type VideoGenerationStage = 'preparing' | 'planning' | 'generating_speech' | 'generating_media' | 'assembling';
|
|
38
|
-
export type VideoGenerationFailure = {
|
|
39
|
-
code: string;
|
|
40
|
-
message: string;
|
|
41
|
-
retryable: boolean;
|
|
42
|
-
};
|
|
43
|
-
export type VideoParameterScalar = string | number | boolean;
|
|
44
|
-
export type VideoRenderRoute = {
|
|
45
|
-
provider: string;
|
|
46
|
-
model: string;
|
|
47
|
-
};
|
|
48
|
-
export type VideoParameterValue = VideoParameterScalar | VideoRenderRoute;
|
|
49
|
-
export type VideoParameterCostEffect = 'none' | 'may_change_quantity' | 'may_change_unit_price' | 'may_change_route';
|
|
50
|
-
export type VideoParameterDefinitionBase = {
|
|
51
|
-
key: string;
|
|
52
|
-
scope: 'workflow' | 'module';
|
|
53
|
-
/** Native module definition id; null for a workflow parameter. */
|
|
54
|
-
module_id: string | null;
|
|
55
|
-
/** Module occurrence in this workflow revision; null for a workflow parameter. */
|
|
56
|
-
module_instance_id: string | null;
|
|
57
|
-
default: VideoParameterValue | null;
|
|
58
|
-
cost_effect: VideoParameterCostEffect;
|
|
59
|
-
};
|
|
60
|
-
export type VideoParameterDefinition = VideoParameterDefinitionBase & ({
|
|
61
|
-
type: 'boolean';
|
|
62
|
-
constraints: null;
|
|
63
|
-
} | {
|
|
64
|
-
type: 'integer' | 'number';
|
|
65
|
-
constraints: {
|
|
66
|
-
minimum?: number;
|
|
67
|
-
maximum?: number;
|
|
68
|
-
step?: number;
|
|
69
|
-
};
|
|
70
|
-
} | {
|
|
71
|
-
type: 'string';
|
|
72
|
-
constraints: {
|
|
73
|
-
max_length?: number;
|
|
74
|
-
};
|
|
75
|
-
} | {
|
|
76
|
-
type: 'enum';
|
|
77
|
-
constraints: {
|
|
78
|
-
values: VideoParameterScalar[];
|
|
79
|
-
};
|
|
80
|
-
} | {
|
|
81
|
-
type: 'route';
|
|
82
|
-
constraints: {
|
|
83
|
-
need: 'video.generate';
|
|
84
|
-
routes: VideoRenderRoute[];
|
|
85
|
-
};
|
|
86
|
-
});
|
|
87
|
-
export type VideoParameterValues = {
|
|
88
|
-
workflow?: Record<string, VideoParameterValue>;
|
|
89
|
-
/** First-level keys are module instance ids, never native module definition ids. */
|
|
90
|
-
modules?: Record<string, Record<string, VideoParameterValue>>;
|
|
91
|
-
};
|
|
92
|
-
export type EffectiveVideoParameterBlocks = {
|
|
93
|
-
workflow: Record<string, VideoParameterValue>;
|
|
94
|
-
modules: Record<string, {
|
|
95
|
-
module_id: string;
|
|
96
|
-
values: Record<string, VideoParameterValue>;
|
|
97
|
-
}>;
|
|
98
|
-
};
|
|
99
|
-
/** A workflow by id. `revision` applies to a saved `fmt_…` workflow only; absent, its latest revision, then frozen. */
|
|
100
|
-
export type VideoWorkflowRef = {
|
|
101
|
-
id: string;
|
|
102
|
-
revision?: number;
|
|
103
|
-
};
|
|
104
|
-
export type VideoWorkflowUnavailableReason = 'interactive' | 'providers' | 'modules' | 'render_target' | 'base' | 'unavailable';
|
|
105
|
-
export type VideoWorkflowStep = {
|
|
106
|
-
id: string;
|
|
107
|
-
operation: string | null;
|
|
108
|
-
lane: string | null;
|
|
109
|
-
execution: 'segment' | 'historical' | null;
|
|
110
|
-
/** The modules the step runs, at their revision. */
|
|
111
|
-
modules: {
|
|
112
|
-
id: string;
|
|
113
|
-
instance_id: string;
|
|
114
|
-
title: string;
|
|
115
|
-
revision: number;
|
|
116
|
-
}[];
|
|
117
|
-
/** Active step module and its public properties, available from SDK 6.2 hosts. */
|
|
118
|
-
module?: {
|
|
119
|
-
id: string;
|
|
120
|
-
revision: number;
|
|
121
|
-
title: string;
|
|
122
|
-
};
|
|
123
|
-
restartable?: boolean;
|
|
124
|
-
properties?: VideoPropertyDefinition[];
|
|
125
|
-
};
|
|
126
|
-
/** A circuit format a generation can run, with what it accepts. Read it with `video.workflows` or `video.workflow`. */
|
|
127
|
-
export type VideoWorkflow = {
|
|
128
|
-
id: string;
|
|
129
|
-
origin: 'builtin' | 'saved' | null;
|
|
130
|
-
/** Saved `fmt_…` workflows only. */
|
|
131
|
-
revision: number | null;
|
|
132
|
-
latest_revision: number | null;
|
|
133
|
-
digest: string | null;
|
|
134
|
-
/** Saved workflows: the built-in workflow they derive from. */
|
|
135
|
-
base_id: string | null;
|
|
136
|
-
name: string;
|
|
137
|
-
description: string;
|
|
138
|
-
kind: VideoGenerationKind | null;
|
|
139
|
-
family: VideoWorkflowFamily | null;
|
|
140
|
-
variant: 'native' | 'voix' | 'bande-son' | 'video-noire' | 'micro' | 'live' | null;
|
|
141
|
-
/** `allowed` null: every whole second from `min` to `max`. */
|
|
142
|
-
duration_seconds: {
|
|
143
|
-
min: number;
|
|
144
|
-
max: number;
|
|
145
|
-
allowed: number[] | null;
|
|
146
|
-
};
|
|
147
|
-
/** Durations for which this built-in workflow is the default of its family. */
|
|
148
|
-
default_for_durations_seconds: number[];
|
|
149
|
-
aspect_ratios: VideoAspectRatio[];
|
|
150
|
-
/** Admitted resolutions; the `output_resolution` parameter definition publishes the default. */
|
|
151
|
-
output_resolutions: VideoOutputResolution[];
|
|
152
|
-
locales: VideoLocale[];
|
|
153
|
-
/** `durations_seconds` null: every admitted duration. */
|
|
154
|
-
speech_modes: {
|
|
155
|
-
mode: VideoSpeechMode;
|
|
156
|
-
durations_seconds: number[] | null;
|
|
157
|
-
}[];
|
|
158
|
-
/** `mime_types` lists the accepted types; a video type (`video/mp4`, `video/quicktime`) admits one `source_video` reference. */
|
|
159
|
-
references: {
|
|
160
|
-
min: number;
|
|
161
|
-
max: number;
|
|
162
|
-
mime_types: string[];
|
|
163
|
-
requires_non_character: boolean;
|
|
164
|
-
};
|
|
165
|
-
/** True when `referencePreparation: 'auto'` is accepted. */
|
|
166
|
-
reference_preparation: boolean;
|
|
167
|
-
/** Steps a failed generation may restart from with `video.retry({ restartFrom })`. */
|
|
168
|
-
restart_from: string[];
|
|
169
|
-
provider_needs: string[];
|
|
170
|
-
/** Interaction a person must provide while it runs; only `none` runs from an experience. */
|
|
171
|
-
interaction: 'none' | 'recordings' | 'live' | null;
|
|
172
|
-
steps: VideoWorkflowStep[];
|
|
173
|
-
parameters: VideoParameterDefinition[];
|
|
174
|
-
availability: {
|
|
175
|
-
status: 'available';
|
|
176
|
-
} | {
|
|
177
|
-
status: 'unavailable';
|
|
178
|
-
reason: VideoWorkflowUnavailableReason | null;
|
|
179
|
-
message: string;
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
export type VideoWorkflowList = {
|
|
183
|
-
items: VideoWorkflow[];
|
|
184
|
-
};
|
|
185
|
-
export type VideoWorkflowsRequest = {
|
|
186
|
-
durationSeconds?: number;
|
|
187
|
-
family?: VideoWorkflowFamily;
|
|
188
|
-
};
|
|
189
|
-
/** Roles Tripirl workflows read: `character` (`name` and `description` say who it shows, or whom it replaces in a source
|
|
190
|
-
* video), `location` and `style` (the set and the look), and `source_video`, the one MP4 or QuickTime video (stored by
|
|
191
|
-
* `assets.upload`) that a workflow listing a video type in `references.mime_types` edits. Any other role is relayed as written. */
|
|
192
|
-
export type VideoReferenceRole = 'character' | 'location' | 'style' | 'source_video';
|
|
193
|
-
/** One reference: an asset available to the participant, or a prepared Studio reference of this revision. Images, or one
|
|
194
|
-
* `source_video` video. A reference without a `role` is not a `character`; a `source_video` is neither a character nor a
|
|
195
|
-
* place, so it never satisfies `requires_non_character`. */
|
|
196
|
-
export type VideoReferenceInput = {
|
|
197
|
-
assetId: string;
|
|
198
|
-
role?: VideoReferenceRole | (string & {});
|
|
199
|
-
name?: string;
|
|
200
|
-
description?: string;
|
|
201
|
-
} | {
|
|
202
|
-
studioReferenceId: string;
|
|
203
|
-
role?: VideoReferenceRole | (string & {});
|
|
204
|
-
name?: string;
|
|
205
|
-
description?: string;
|
|
206
|
-
};
|
|
207
|
-
export type VideoRequest = {
|
|
208
|
-
workflow: VideoWorkflowRef;
|
|
209
|
-
/** The brief. Required speech in a narrative workflow quotes its lines « … », “ … ” or " … ". */
|
|
210
|
-
prompt: string;
|
|
211
|
-
/** Admitted by the workflow (`duration_seconds`). */
|
|
212
|
-
durationSeconds: number;
|
|
213
|
-
/** Admitted by the workflow for this duration (`speech_modes`); never rewritten. */
|
|
214
|
-
speech: VideoSpeechMode;
|
|
215
|
-
/** Default `9:16`. */
|
|
216
|
-
aspectRatio?: VideoAspectRatio;
|
|
217
|
-
/** Default `fr-FR`. */
|
|
218
|
-
locale?: VideoLocale;
|
|
219
|
-
/** Alias of `parameters.workflow.output_resolution`; absent uses the workflow definition's default. */
|
|
220
|
-
outputResolution?: VideoOutputResolution;
|
|
221
|
-
/** Workflow and module values keyed exactly as the workflow catalogue publishes them. */
|
|
222
|
-
parameters?: VideoParameterValues;
|
|
223
|
-
/** Public module properties keyed by step, such as `{ clips: { resolution: '1080p' } }`. */
|
|
224
|
-
properties?: VideoProperties;
|
|
225
|
-
/** Within the workflow's `references` bounds, eight at most; roles in `VideoReferenceRole`. */
|
|
226
|
-
references?: VideoReferenceInput[];
|
|
227
|
-
/** Workflows with `reference_preparation`: prepare the references before writing the film. */
|
|
228
|
-
referencePreparation?: 'auto';
|
|
229
|
-
effort?: GenerationEffort;
|
|
230
|
-
};
|
|
231
|
-
/** One push notification text. `{error}` in a `failed` body is replaced by the generation's error message. */
|
|
232
|
-
export type VideoNotifyMessage = {
|
|
233
|
-
title: string;
|
|
234
|
-
body?: string;
|
|
235
|
-
};
|
|
236
|
-
/**
|
|
237
|
-
* Server-side follow-up of a generation (`video.create`). The experience must declare a `notifications` capability
|
|
238
|
-
* usage granting `notifications.send`, and its owner must have enabled notifications; consent, the hourly limit and
|
|
239
|
-
* delivery are those of `notifications.send`. Nocha sends at most one notification per stage listed in `stages` (three
|
|
240
|
-
* at most) and one when the generation ends (`succeeded`, `failed` or `cancelled`), each idempotent on `dedupeKey`.
|
|
241
|
-
*/
|
|
242
|
-
export type VideoNotifyInput = {
|
|
243
|
-
/** `^[A-Za-z0-9_-]{4,48}$`, unique per generation; Nocha suffixes it per stage and outcome. */
|
|
244
|
-
dedupeKey: string;
|
|
245
|
-
/** Query string of the link back into the experience, such as `?film=<key>` (at most 400 characters). */
|
|
246
|
-
search?: string;
|
|
247
|
-
messages: {
|
|
248
|
-
succeeded: VideoNotifyMessage;
|
|
249
|
-
failed: VideoNotifyMessage;
|
|
250
|
-
cancelled?: VideoNotifyMessage;
|
|
251
|
-
stages?: Partial<Record<VideoGenerationStage, VideoNotifyMessage>>;
|
|
252
|
-
};
|
|
253
|
-
};
|
|
254
|
-
export type VideoCreateRequest = VideoRequest & {
|
|
255
|
-
confirmedMaximumMicrocredits: Microcredits;
|
|
256
|
-
notify?: VideoNotifyInput;
|
|
257
|
-
};
|
|
258
|
-
/** `restartFrom` must be one of the workflow's `restart_from` steps. */
|
|
259
|
-
export type VideoRetryRequest = {
|
|
260
|
-
id: string;
|
|
261
|
-
confirmedMaximumMicrocredits: Microcredits;
|
|
262
|
-
restartFrom?: string;
|
|
263
|
-
};
|
|
264
|
-
export type VideoListRequest = {
|
|
265
|
-
cursor?: string;
|
|
266
|
-
limit?: number;
|
|
267
|
-
};
|
|
268
|
-
/** The workflow a generation runs, frozen when Tripirl accepted it. */
|
|
269
|
-
export type VideoGenerationWorkflowRef = {
|
|
270
|
-
id: string;
|
|
271
|
-
family: VideoWorkflowFamily | null;
|
|
272
|
-
revision: number | null;
|
|
273
|
-
digest: string | null;
|
|
274
|
-
name?: string;
|
|
275
|
-
};
|
|
276
|
-
export type VideoEstimate = {
|
|
277
|
-
maximum_microcredits: string;
|
|
278
|
-
valid_until: string;
|
|
279
|
-
workflow: VideoGenerationWorkflowRef;
|
|
280
|
-
};
|
|
281
|
-
export type VideoGenerationProgress = {
|
|
282
|
-
percent: number;
|
|
283
|
-
stage: VideoGenerationStage | null;
|
|
284
|
-
step?: string | null;
|
|
285
|
-
};
|
|
286
|
-
export type VideoGenerationResult = {
|
|
287
|
-
actual_duration_seconds: number;
|
|
288
|
-
/** Relative Nocha file URL: use `video.playback` for viewing, `video.media` for binary work. */
|
|
289
|
-
download_url: string;
|
|
290
|
-
download_url_expires_at: string;
|
|
291
|
-
mime_type: 'video/mp4';
|
|
292
|
-
sha256: string;
|
|
293
|
-
size_bytes: number;
|
|
294
|
-
/** Storage filename, when supplied; older results may omit it. */
|
|
295
|
-
filename?: string;
|
|
296
|
-
/** Stable storage identity and measured dimensions, when supplied by the provider. */
|
|
297
|
-
asset_id?: string;
|
|
298
|
-
width?: number;
|
|
299
|
-
height?: number;
|
|
300
|
-
aspect_ratio?: VideoAspectRatio;
|
|
301
|
-
};
|
|
302
|
-
export type VideoGenerationRequest = {
|
|
303
|
-
workflow: VideoWorkflowRef;
|
|
304
|
-
goal: string;
|
|
305
|
-
duration_seconds: number;
|
|
306
|
-
aspect_ratio: VideoAspectRatio | null;
|
|
307
|
-
locale: VideoLocale | null;
|
|
308
|
-
speech: VideoSpeechMode | null;
|
|
309
|
-
output_resolution?: VideoOutputResolution | null;
|
|
310
|
-
/** Requested values only. Absent on generations created before parameter snapshots. */
|
|
311
|
-
parameters?: VideoParameterValues;
|
|
312
|
-
reference_preparation?: 'auto';
|
|
313
|
-
properties?: VideoProperties;
|
|
314
|
-
effort?: GenerationEffort | null;
|
|
315
|
-
collection_id: string | null;
|
|
316
|
-
confirmed_maximum_microcredits: string | null;
|
|
317
|
-
};
|
|
318
|
-
export type VideoGenerationParameters = {
|
|
319
|
-
duration_seconds: number;
|
|
320
|
-
aspect_ratio: VideoAspectRatio | null;
|
|
321
|
-
locale: VideoLocale | null;
|
|
322
|
-
speech: VideoSpeechMode | null;
|
|
323
|
-
output_resolution: VideoOutputResolution | null;
|
|
324
|
-
reference_count: number;
|
|
325
|
-
reference_preparation?: 'auto';
|
|
326
|
-
generation?: {
|
|
327
|
-
intensity: 'low' | 'medium' | 'high' | null;
|
|
328
|
-
preference_revision?: number;
|
|
329
|
-
policy_signature?: string;
|
|
330
|
-
};
|
|
331
|
-
} & Partial<EffectiveVideoParameterBlocks>;
|
|
332
|
-
export type VideoGenerationReference = {
|
|
333
|
-
asset_id: string;
|
|
334
|
-
role?: string;
|
|
335
|
-
name?: string;
|
|
336
|
-
description?: string;
|
|
337
|
-
availability: 'available' | 'expired' | 'pending' | null;
|
|
338
|
-
};
|
|
339
|
-
export type VideoGenerationOrigin = {
|
|
340
|
-
type: 'nocha_experience';
|
|
341
|
-
experience_id: string;
|
|
342
|
-
experience_code: string;
|
|
343
|
-
experience_title: string;
|
|
344
|
-
revision_id: string;
|
|
345
|
-
};
|
|
346
|
-
/** Author-only view of the circuit execution: steps in execution order (32 at most) and its jobs. */
|
|
347
|
-
export type VideoGenerationAutomation = {
|
|
348
|
-
id: string;
|
|
349
|
-
status: 'running' | 'stopping' | 'completed' | 'blocked' | 'cancelled' | null;
|
|
350
|
-
started_at: string;
|
|
351
|
-
updated_at: string;
|
|
352
|
-
finished_at: string | null;
|
|
353
|
-
error: VideoGenerationFailure | null;
|
|
354
|
-
steps: {
|
|
355
|
-
id: string;
|
|
356
|
-
operation: string | null;
|
|
357
|
-
status: 'pending' | 'queued' | 'running' | 'retrying' | 'completed' | 'partial' | 'blocked' | 'cancelled' | 'skipped' | null;
|
|
358
|
-
freshness: 'fresh' | 'outdated' | 'update_available' | 'missing' | null;
|
|
359
|
-
produced_by: {
|
|
360
|
-
module_id: string;
|
|
361
|
-
revision: number;
|
|
362
|
-
} | null;
|
|
363
|
-
jobs_count: number;
|
|
364
|
-
error: VideoGenerationFailure | null;
|
|
365
|
-
}[];
|
|
366
|
-
/** At most 100: active first, then newest first. */
|
|
367
|
-
jobs: {
|
|
368
|
-
id: string;
|
|
369
|
-
step_id: string | null;
|
|
370
|
-
operation: string;
|
|
371
|
-
module: {
|
|
372
|
-
id: string;
|
|
373
|
-
instance_id: string;
|
|
374
|
-
revision: number;
|
|
375
|
-
} | null;
|
|
376
|
-
status: 'queued' | 'running' | 'retrying' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | null;
|
|
377
|
-
attempt: number | null;
|
|
378
|
-
progress: {
|
|
379
|
-
percent: number | null;
|
|
380
|
-
completed_units: number | null;
|
|
381
|
-
total_units: number | null;
|
|
382
|
-
};
|
|
383
|
-
created_at: string;
|
|
384
|
-
started_at: string | null;
|
|
385
|
-
updated_at: string;
|
|
386
|
-
finished_at: string | null;
|
|
387
|
-
error: VideoGenerationFailure | null;
|
|
388
|
-
}[];
|
|
389
|
-
jobs_total: number;
|
|
390
|
-
jobs_truncated: boolean;
|
|
391
|
-
};
|
|
392
|
-
/** One execution of a workflow, as its author sees it. */
|
|
393
|
-
export type VideoGeneration = {
|
|
394
|
-
audience_view: 'author';
|
|
395
|
-
id: string;
|
|
396
|
-
status: VideoGenerationStatus | null;
|
|
397
|
-
kind: VideoGenerationKind | null;
|
|
398
|
-
workflow: VideoGenerationWorkflowRef;
|
|
399
|
-
request: VideoGenerationRequest;
|
|
400
|
-
/** Effective parameters, null until Tripirl resolved them. */
|
|
401
|
-
parameters: VideoGenerationParameters | null;
|
|
402
|
-
/** Frozen values keyed by workflow step, available from SDK 6.2 hosts. */
|
|
403
|
-
properties?: EffectiveVideoProperties;
|
|
404
|
-
references: VideoGenerationReference[];
|
|
405
|
-
origin: VideoGenerationOrigin | null;
|
|
406
|
-
progress: VideoGenerationProgress;
|
|
407
|
-
/** `video.get` by its author only, once the execution started. */
|
|
408
|
-
automation?: VideoGenerationAutomation;
|
|
409
|
-
automation_access: {
|
|
410
|
-
read_only: boolean;
|
|
411
|
-
taken_over_at: string | null;
|
|
412
|
-
media_expired_at: string | null;
|
|
413
|
-
} | null;
|
|
414
|
-
collection_id: string | null;
|
|
415
|
-
estimated_maximum_microcredits: string;
|
|
416
|
-
cost: {
|
|
417
|
-
total_microcredits: string;
|
|
418
|
-
base_charge_microcredits?: string;
|
|
419
|
-
creator_fee_microcredits?: string;
|
|
420
|
-
};
|
|
421
|
-
actual_duration_seconds: number | null;
|
|
422
|
-
error: VideoGenerationFailure | null;
|
|
423
|
-
result: VideoGenerationResult | null;
|
|
424
|
-
created_at: string;
|
|
425
|
-
updated_at: string;
|
|
426
|
-
};
|
|
427
|
-
/** Shared output projection. Prompts, sources, spend and mutation controls are author-only. */
|
|
428
|
-
export type VideoSharedGeneration = {
|
|
429
|
-
audience_view: 'shared';
|
|
430
|
-
id: string;
|
|
431
|
-
collection_id: string;
|
|
432
|
-
kind: VideoGenerationKind | null;
|
|
433
|
-
status: 'succeeded';
|
|
434
|
-
created_at: string;
|
|
435
|
-
updated_at: string;
|
|
436
|
-
result: VideoGenerationResult;
|
|
437
|
-
};
|
|
438
|
-
export type VideoReadableGeneration = VideoGeneration | VideoSharedGeneration;
|
|
439
|
-
export type VideoGenerationList = {
|
|
440
|
-
items: VideoReadableGeneration[];
|
|
441
|
-
pagination: {
|
|
442
|
-
has_more: boolean;
|
|
443
|
-
next_cursor: string | null;
|
|
444
|
-
};
|
|
445
|
-
};
|
|
446
|
-
export type VideoGenerationConnectionAction = 'status' | 'connect' | 'disconnect';
|
|
447
|
-
export type VideoGenerationConnection = {
|
|
448
|
-
status: 'connected';
|
|
449
|
-
connected_at: string;
|
|
450
|
-
scopes: string[];
|
|
451
|
-
} | {
|
|
452
|
-
status: 'disconnected';
|
|
453
|
-
} | {
|
|
454
|
-
status: 'authorization_required';
|
|
455
|
-
authorization_url: string;
|
|
456
|
-
};
|
|
457
|
-
export type ClippingMutation = {
|
|
458
|
-
idempotency_key: string;
|
|
459
|
-
request: unknown;
|
|
460
|
-
};
|