@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,80 +0,0 @@
|
|
|
1
|
-
export declare const multiplayerOperationDefinitions: {
|
|
2
|
-
readonly presence: {
|
|
3
|
-
readonly facades: readonly [{
|
|
4
|
-
readonly path: "multiplayer.presence";
|
|
5
|
-
readonly kind: "direct";
|
|
6
|
-
}, {
|
|
7
|
-
readonly path: "multiplayer.onPresence";
|
|
8
|
-
readonly kind: "composite";
|
|
9
|
-
}];
|
|
10
|
-
readonly publicRead: "eligible";
|
|
11
|
-
readonly observer: "declared-public-read";
|
|
12
|
-
readonly access: "read";
|
|
13
|
-
readonly idempotency: "read";
|
|
14
|
-
readonly capability: "multiplayer";
|
|
15
|
-
readonly operation: "presence";
|
|
16
|
-
readonly input: "multiplayer.presence";
|
|
17
|
-
readonly output: "multiplayer.presence";
|
|
18
|
-
readonly sdkTimeoutMs: 35000;
|
|
19
|
-
readonly transport: "live-host";
|
|
20
|
-
readonly needs: readonly [];
|
|
21
|
-
readonly publicControl: null;
|
|
22
|
-
readonly mediaUsage: false;
|
|
23
|
-
readonly spend: "none";
|
|
24
|
-
readonly waiting: "operation";
|
|
25
|
-
readonly deadlineMs: null;
|
|
26
|
-
readonly sdkMarginMs: null;
|
|
27
|
-
readonly rateBucket: "public-playback";
|
|
28
|
-
readonly compatibility: "current";
|
|
29
|
-
};
|
|
30
|
-
readonly subscribe: {
|
|
31
|
-
readonly facades: readonly [{
|
|
32
|
-
readonly path: "multiplayer.subscribe";
|
|
33
|
-
readonly kind: "composite";
|
|
34
|
-
}];
|
|
35
|
-
readonly publicRead: "eligible";
|
|
36
|
-
readonly observer: "declared-public-read";
|
|
37
|
-
readonly access: "read";
|
|
38
|
-
readonly idempotency: "read";
|
|
39
|
-
readonly capability: "multiplayer";
|
|
40
|
-
readonly operation: "subscribe";
|
|
41
|
-
readonly input: "multiplayer.subscribe";
|
|
42
|
-
readonly output: "multiplayer.subscribe";
|
|
43
|
-
readonly sdkTimeoutMs: 35000;
|
|
44
|
-
readonly transport: "live-host";
|
|
45
|
-
readonly needs: readonly [];
|
|
46
|
-
readonly publicControl: null;
|
|
47
|
-
readonly mediaUsage: false;
|
|
48
|
-
readonly spend: "none";
|
|
49
|
-
readonly waiting: "operation";
|
|
50
|
-
readonly deadlineMs: null;
|
|
51
|
-
readonly sdkMarginMs: null;
|
|
52
|
-
readonly rateBucket: "public-playback";
|
|
53
|
-
readonly compatibility: "current";
|
|
54
|
-
};
|
|
55
|
-
readonly publish: {
|
|
56
|
-
readonly capability: "multiplayer";
|
|
57
|
-
readonly operation: "publish";
|
|
58
|
-
readonly input: "multiplayer.publish";
|
|
59
|
-
readonly output: "multiplayer.publish";
|
|
60
|
-
readonly sdkTimeoutMs: 35000;
|
|
61
|
-
readonly transport: "live-host";
|
|
62
|
-
readonly facades: readonly [{
|
|
63
|
-
readonly path: "multiplayer.publish";
|
|
64
|
-
readonly kind: "direct";
|
|
65
|
-
}];
|
|
66
|
-
readonly needs: readonly [];
|
|
67
|
-
readonly access: "contribute";
|
|
68
|
-
readonly observer: "denied";
|
|
69
|
-
readonly publicRead: "denied";
|
|
70
|
-
readonly publicControl: null;
|
|
71
|
-
readonly mediaUsage: false;
|
|
72
|
-
readonly spend: "none";
|
|
73
|
-
readonly idempotency: "host-defined";
|
|
74
|
-
readonly waiting: "operation";
|
|
75
|
-
readonly deadlineMs: null;
|
|
76
|
-
readonly sdkMarginMs: null;
|
|
77
|
-
readonly rateBucket: "public-playback";
|
|
78
|
-
readonly compatibility: "current";
|
|
79
|
-
};
|
|
80
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { LiveConnection, LiveEvent, LivePresenceEvent, LivePresenceSnapshot, LiveRecoveryRequired } from './protocol.js';
|
|
2
|
-
export type { LiveConnection, LiveEvent, LiveIdentity, LivePresenceEvent, LivePresenceSnapshot, LiveRecoveryRequired } from './protocol.js';
|
|
3
|
-
/** Durable receipts identify acceptance in the server journal, not processing by every player.
|
|
4
|
-
* Delivery remains at least once: deduplicate by eventId. After a local timeout, retry
|
|
5
|
-
* with the same caller-supplied idempotency key; timeout does not cancel acceptance.
|
|
6
|
-
*/
|
|
7
|
-
export type MultiplayerPublishReceipt = {
|
|
8
|
-
accepted: true;
|
|
9
|
-
eventId: string;
|
|
10
|
-
};
|
|
11
|
-
export declare function isPresenceSnapshot(value: unknown): value is LivePresenceSnapshot;
|
|
12
|
-
export declare function isPresenceEvent(value: unknown): value is LivePresenceEvent;
|
|
13
|
-
/** Hosts deliver canonical live events; anything else is dropped. */
|
|
14
|
-
export declare function parseLiveEvent(value: unknown): LiveEvent | null;
|
|
15
|
-
export declare function isLiveConnection(value: unknown): value is LiveConnection;
|
|
16
|
-
export declare function isLiveRecoveryRequired(value: unknown): value is LiveRecoveryRequired;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { NochaError } from './errors.js';
|
|
2
|
-
import { type ExperienceLocation, type NavigationTarget } from './protocol.js';
|
|
3
|
-
export type { ExperienceLocation, NavigationTarget } from './protocol.js';
|
|
4
|
-
export type NavigationChangeOptions = {
|
|
5
|
-
/** Called once when the host cannot provide navigation (`navigation_unavailable`, `bridge_unavailable`). */
|
|
6
|
-
onError?(error: NochaError): void;
|
|
7
|
-
};
|
|
8
|
-
export type NochaNavigation = {
|
|
9
|
-
get(): Promise<ExperienceLocation>;
|
|
10
|
-
navigate(target: NavigationTarget): Promise<ExperienceLocation>;
|
|
11
|
-
replace(target: NavigationTarget): Promise<ExperienceLocation>;
|
|
12
|
-
back(): Promise<ExperienceLocation>;
|
|
13
|
-
/** The listener stays registered after an error and receives changes if navigation connects later. */
|
|
14
|
-
onChange(listener: (location: ExperienceLocation) => void, options?: NavigationChangeOptions): () => void;
|
|
15
|
-
};
|
|
16
|
-
export declare const navigation: NochaNavigation;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { NochaContext, RequestOptions } from './context.js';
|
|
2
|
-
import type { NetworkAsset, NetworkRequestInput, NetworkResponse } from './types/network.js';
|
|
3
|
-
export type NochaNetwork = {
|
|
4
|
-
/** Sends only to a declared HTTPS recipient after host-owned participant consent. Replaying the
|
|
5
|
-
* same idempotency key returns the first response; after a transport failure the outcome is
|
|
6
|
-
* unknown (`network_outcome_unknown`) and nothing is sent again automatically. */
|
|
7
|
-
request(input: NetworkRequestInput, options?: RequestOptions): Promise<NetworkResponse>;
|
|
8
|
-
/** Returns verified bytes from one exact declared static asset URL. */
|
|
9
|
-
asset(input: {
|
|
10
|
-
assetId: string;
|
|
11
|
-
}, options?: RequestOptions): Promise<NetworkAsset>;
|
|
12
|
-
};
|
|
13
|
-
export declare function createNetwork(context: NochaContext): NochaNetwork;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/** Served by `/playback/invoke`: the host resolves the player, the consent and the delivery.
|
|
2
|
-
* A durable receipt is kept per dedupe key, so a replay reports `duplicate` instead of notifying twice. */
|
|
3
|
-
export declare const notificationsOperationDefinitions: {
|
|
4
|
-
readonly send: {
|
|
5
|
-
readonly capability: "notifications";
|
|
6
|
-
readonly operation: "send";
|
|
7
|
-
readonly input: "notifications.send";
|
|
8
|
-
readonly output: "notifications.send";
|
|
9
|
-
readonly sdkTimeoutMs: 20000;
|
|
10
|
-
readonly idempotency: "durable-receipt";
|
|
11
|
-
readonly rateBucket: "experience-notifications";
|
|
12
|
-
readonly facades: readonly [{
|
|
13
|
-
readonly path: "notifications.send";
|
|
14
|
-
readonly kind: "direct";
|
|
15
|
-
}];
|
|
16
|
-
readonly needs: readonly [];
|
|
17
|
-
readonly transport: "invoke";
|
|
18
|
-
readonly access: "contribute";
|
|
19
|
-
readonly observer: "denied";
|
|
20
|
-
readonly publicRead: "denied";
|
|
21
|
-
readonly publicControl: null;
|
|
22
|
-
readonly mediaUsage: false;
|
|
23
|
-
readonly spend: "none";
|
|
24
|
-
readonly waiting: "operation";
|
|
25
|
-
readonly deadlineMs: null;
|
|
26
|
-
readonly sdkMarginMs: null;
|
|
27
|
-
readonly compatibility: "current";
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { NochaContext, RequestOptions } from './context.js';
|
|
2
|
-
import type { NotificationSendInput, NotificationSendResult } from './protocol.js';
|
|
3
|
-
export type NochaNotifications = {
|
|
4
|
-
/** Tells the player who made this call that a long task is done, through their own product client.
|
|
5
|
-
* The host resolves their consent: `suppressed` names the refusal, `duplicate` reports an earlier
|
|
6
|
-
* request with the same `dedupeKey`. Persist that key before calling and reuse it to retry. */
|
|
7
|
-
send(input: NotificationSendInput, options?: RequestOptions): Promise<NotificationSendResult>;
|
|
8
|
-
};
|
|
9
|
-
export declare function createNotifications(context: NochaContext): NochaNotifications;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import type { CapabilityWireTypes } from './operation-wire-types.js';
|
|
2
|
-
import type { CapabilityNeed } from './capability-needs.js';
|
|
3
|
-
type OperationMetadata = {
|
|
4
|
-
facades: readonly {
|
|
5
|
-
path: string;
|
|
6
|
-
kind: 'direct' | 'composite';
|
|
7
|
-
}[];
|
|
8
|
-
needs: readonly CapabilityNeed[];
|
|
9
|
-
transport: 'invoke' | 'live-host' | 'native-host' | 'voice-host' | 'binary-upload' | 'host-document' | 'policy-only';
|
|
10
|
-
access: 'read' | 'contribute';
|
|
11
|
-
observer: 'declared-public-read' | 'denied';
|
|
12
|
-
publicRead: 'eligible' | 'denied';
|
|
13
|
-
publicControl: 'leds' | 'hue' | null;
|
|
14
|
-
mediaUsage: boolean;
|
|
15
|
-
spend: 'none' | 'may-spend';
|
|
16
|
-
idempotency: 'read' | 'durable-receipt' | 'host-defined' | 'compare-and-set';
|
|
17
|
-
/** Waiting is not cancellation or an execution limit. null means no uniform server deadline. */
|
|
18
|
-
waiting: 'operation' | 'generation-need';
|
|
19
|
-
deadlineMs: null;
|
|
20
|
-
sdkMarginMs: number | null;
|
|
21
|
-
sdkTimeoutMs: number | null;
|
|
22
|
-
rateBucket: 'public-playback' | 'hardware-control' | 'outirl-audio' | 'outirl-network' | 'outirl-desktop' | 'experience-notifications' | 'experience-inbox' | 'experience-email' | 'experience-automations' | 'experience-connectors';
|
|
23
|
-
compatibility: 'current' | 'wire-alias' | 'policy-only';
|
|
24
|
-
};
|
|
25
|
-
/** A descriptor cannot pair one operation name with another operation's wire types. */
|
|
26
|
-
export type CapabilityOperationMetadata = {
|
|
27
|
-
[Id in keyof CapabilityWireTypes]: Id extends `${infer C}.${infer O}` ? OperationMetadata & {
|
|
28
|
-
capability: C;
|
|
29
|
-
operation: O;
|
|
30
|
-
input: Id;
|
|
31
|
-
output: Id;
|
|
32
|
-
} : never;
|
|
33
|
-
}[keyof CapabilityWireTypes];
|
|
34
|
-
export declare const operationDefaults: {
|
|
35
|
-
readonly needs: readonly [];
|
|
36
|
-
readonly transport: "invoke";
|
|
37
|
-
readonly access: "contribute";
|
|
38
|
-
readonly observer: "denied";
|
|
39
|
-
readonly publicRead: "denied";
|
|
40
|
-
readonly publicControl: null;
|
|
41
|
-
readonly mediaUsage: false;
|
|
42
|
-
readonly spend: "none";
|
|
43
|
-
readonly idempotency: "host-defined";
|
|
44
|
-
readonly waiting: "operation";
|
|
45
|
-
readonly deadlineMs: null;
|
|
46
|
-
readonly sdkMarginMs: null;
|
|
47
|
-
readonly rateBucket: "public-playback";
|
|
48
|
-
readonly compatibility: "current";
|
|
49
|
-
};
|
|
50
|
-
export declare const operationRead: {
|
|
51
|
-
readonly access: "read";
|
|
52
|
-
readonly idempotency: "read";
|
|
53
|
-
};
|
|
54
|
-
export declare const observerRead: {
|
|
55
|
-
readonly observer: "declared-public-read";
|
|
56
|
-
readonly access: "read";
|
|
57
|
-
readonly idempotency: "read";
|
|
58
|
-
};
|
|
59
|
-
export declare const publicRead: {
|
|
60
|
-
readonly publicRead: "eligible";
|
|
61
|
-
readonly observer: "declared-public-read";
|
|
62
|
-
readonly access: "read";
|
|
63
|
-
readonly idempotency: "read";
|
|
64
|
-
};
|
|
65
|
-
export type CapabilityOperationInput<D extends CapabilityOperationMetadata> = CapabilityWireTypes[D['input']]['input'];
|
|
66
|
-
export type CapabilityOperationOutput<D extends CapabilityOperationMetadata> = CapabilityWireTypes[D['output']]['output'];
|
|
67
|
-
export {};
|
|
@@ -1,319 +0,0 @@
|
|
|
1
|
-
import type * as W from './automations-types.js';
|
|
2
|
-
import type * as AI from './types/ai-wire.js';
|
|
3
|
-
import type * as Assets from './types/assets-wire.js';
|
|
4
|
-
import type * as Video from './types/video-sdk-wire.js';
|
|
5
|
-
import type * as Clip from './clipping-types.js';
|
|
6
|
-
import type * as Outirl from './types/outirl.js';
|
|
7
|
-
import type * as Network from './types/network.js';
|
|
8
|
-
import type * as Voice from './types/voice-wire.js';
|
|
9
|
-
import type * as Host from './protocol.js';
|
|
10
|
-
import type { ConnectorStatus } from './connectors-types.js';
|
|
11
|
-
import type * as Backend from './backend-requests.js';
|
|
12
|
-
import type { JsonObject, JsonValue } from './types/json.js';
|
|
13
|
-
type Pair<I, O> = {
|
|
14
|
-
input: I;
|
|
15
|
-
output: O;
|
|
16
|
-
};
|
|
17
|
-
export type EmptyOperationInput = {
|
|
18
|
-
[key: string]: never;
|
|
19
|
-
};
|
|
20
|
-
type Id = {
|
|
21
|
-
id: string;
|
|
22
|
-
};
|
|
23
|
-
type Job = Id & {
|
|
24
|
-
job_id: string;
|
|
25
|
-
};
|
|
26
|
-
type Ceiling = {
|
|
27
|
-
confirmed_maximum_microcredits: string;
|
|
28
|
-
};
|
|
29
|
-
/** Top-level wire renames only. Embedded JSON documents retain their own keys. */
|
|
30
|
-
type Snake<S extends string> = S extends `${infer A}${infer B}` ? `${A extends Lowercase<A> ? A : `_${Lowercase<A>}`}${Snake<B>}` : S;
|
|
31
|
-
type WireKeys<T> = T extends object ? {
|
|
32
|
-
[K in keyof T as K extends string ? Snake<K> : K]: T[K];
|
|
33
|
-
} : T;
|
|
34
|
-
type GenerateBase = WireKeys<AI.AiEstimateInput | AI.AiGenerateInput>;
|
|
35
|
-
type WithSchema<T> = T extends {
|
|
36
|
-
schema: JsonObject;
|
|
37
|
-
} ? Omit<T, 'schema' | 'schema_name' | 'voice'> & {
|
|
38
|
-
response_format: {
|
|
39
|
-
type: 'json_schema';
|
|
40
|
-
name: string;
|
|
41
|
-
schema: JsonObject;
|
|
42
|
-
strict: true;
|
|
43
|
-
};
|
|
44
|
-
} : Omit<T, 'schema' | 'schema_name' | 'voice'>;
|
|
45
|
-
type WithVoice<T, Original> = Original extends {
|
|
46
|
-
need: 'audio.synthesize';
|
|
47
|
-
} ? T & {
|
|
48
|
-
voice_id?: string;
|
|
49
|
-
model?: string;
|
|
50
|
-
} : T;
|
|
51
|
-
type GenerateWire<T> = T extends {
|
|
52
|
-
need: string;
|
|
53
|
-
} ? WithVoice<WithSchema<T>, T> : never;
|
|
54
|
-
export type AiGenerateWireInput = GenerateWire<GenerateBase>;
|
|
55
|
-
/** `api: 2` marks the current video call format; a request without it is the frozen format of SDK 5 and earlier. */
|
|
56
|
-
type VideoApi = {
|
|
57
|
-
api: 2;
|
|
58
|
-
};
|
|
59
|
-
export type VideoReferenceWire = {
|
|
60
|
-
asset_id: string;
|
|
61
|
-
role?: string;
|
|
62
|
-
name?: string;
|
|
63
|
-
description?: string;
|
|
64
|
-
} | {
|
|
65
|
-
studio_reference_id: string;
|
|
66
|
-
role?: string;
|
|
67
|
-
name?: string;
|
|
68
|
-
description?: string;
|
|
69
|
-
};
|
|
70
|
-
export type VideoRequestWire = VideoApi & {
|
|
71
|
-
workflow: Video.VideoWorkflowRef;
|
|
72
|
-
goal: string;
|
|
73
|
-
duration_seconds: number;
|
|
74
|
-
speech: Video.VideoSpeechMode;
|
|
75
|
-
aspect_ratio: Video.VideoAspectRatio;
|
|
76
|
-
locale: Video.VideoLocale;
|
|
77
|
-
parameters?: Video.VideoParameterValues;
|
|
78
|
-
properties?: Video.VideoProperties;
|
|
79
|
-
references?: VideoReferenceWire[];
|
|
80
|
-
reference_preparation?: 'auto';
|
|
81
|
-
effort?: AI.GenerationEffort;
|
|
82
|
-
};
|
|
83
|
-
export type VideoCreateWire = VideoRequestWire & Ceiling & {
|
|
84
|
-
notify?: {
|
|
85
|
-
dedupe_key: string;
|
|
86
|
-
search?: string;
|
|
87
|
-
messages: {
|
|
88
|
-
succeeded: Video.VideoNotifyMessage;
|
|
89
|
-
failed: Video.VideoNotifyMessage;
|
|
90
|
-
cancelled?: Video.VideoNotifyMessage;
|
|
91
|
-
stages?: Partial<Record<Video.VideoGenerationStage, Video.VideoNotifyMessage>>;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
type Page = {
|
|
96
|
-
cursor?: string;
|
|
97
|
-
limit?: number;
|
|
98
|
-
};
|
|
99
|
-
/** JSON wire contracts, independent of RequestOptions, Blob, DOM and provider policy. */
|
|
100
|
-
export type CapabilityWireTypes = {
|
|
101
|
-
'automations.catalog': Pair<EmptyOperationInput, W.WorkflowCatalog>;
|
|
102
|
-
'automations.list': Pair<EmptyOperationInput, W.WorkflowSummary[]>;
|
|
103
|
-
'automations.get': Pair<Id, W.WorkflowDetail>;
|
|
104
|
-
'automations.create': Pair<W.WorkflowCreate, W.WorkflowDetail>;
|
|
105
|
-
'automations.save': Pair<Id & W.WorkflowSave, W.WorkflowDetail>;
|
|
106
|
-
'automations.validate': Pair<{
|
|
107
|
-
graph: W.WorkflowGraph;
|
|
108
|
-
}, W.WorkflowIssue[]>;
|
|
109
|
-
'automations.remove': Pair<Id, {
|
|
110
|
-
removed: true;
|
|
111
|
-
}>;
|
|
112
|
-
'automations.activate': Pair<Id, W.WorkflowActivationResult>;
|
|
113
|
-
'automations.pause': Pair<Id, W.WorkflowSummary>;
|
|
114
|
-
'automations.test': Pair<Id & W.WorkflowTest, W.WorkflowRunSummary>;
|
|
115
|
-
'automations.runs': Pair<Id & W.WorkflowRunsQuery, W.WorkflowRunSummary[]>;
|
|
116
|
-
'automations.run': Pair<Id, W.WorkflowRunDetail>;
|
|
117
|
-
'automations.templates.list': Pair<EmptyOperationInput, W.WorkflowTemplate[]>;
|
|
118
|
-
'automations.templates.publish': Pair<Id & W.WorkflowTemplatePublish, W.WorkflowTemplate>;
|
|
119
|
-
'automations.templates.use': Pair<Id & {
|
|
120
|
-
name: string;
|
|
121
|
-
}, W.WorkflowDetail>;
|
|
122
|
-
'connectors.status': Pair<EmptyOperationInput, ConnectorStatus>;
|
|
123
|
-
'connectors.request': Pair<EmptyOperationInput, {
|
|
124
|
-
granted: boolean;
|
|
125
|
-
}>;
|
|
126
|
-
'connectors.invoke': Pair<{
|
|
127
|
-
operation: string;
|
|
128
|
-
input: unknown;
|
|
129
|
-
}, JsonValue>;
|
|
130
|
-
'connectors.revoke': Pair<EmptyOperationInput, void>;
|
|
131
|
-
'backend.request': Pair<Backend.BackendRequestInput, Backend.BackendRequestResult>;
|
|
132
|
-
'backend.get': Pair<Backend.BackendGetInput, Backend.BackendGetResult>;
|
|
133
|
-
'backend.cancel': Pair<Backend.BackendCancelInput, Backend.BackendCancelResult>;
|
|
134
|
-
'ai.generate': Pair<AiGenerateWireInput & {
|
|
135
|
-
response_mode?: 'pending';
|
|
136
|
-
}, AI.AiGenerateResult>;
|
|
137
|
-
'ai.estimate': Pair<AiGenerateWireInput, AI.AiGenerationEstimate>;
|
|
138
|
-
'ai.options': Pair<WireKeys<AI.AiOptionsInput>, AI.GenerationOptions>;
|
|
139
|
-
'ai.get': Pair<WireKeys<AI.AiGetInput>, AI.AiGenerationOperation>;
|
|
140
|
-
'ai.models': Pair<AI.AiModelsInput, AI.AiModels>;
|
|
141
|
-
'ai.voices': Pair<WireKeys<AI.AiVoicesInput> & {
|
|
142
|
-
need: 'audio.synthesize';
|
|
143
|
-
}, AI.AiVoices>;
|
|
144
|
-
'ai.decide': Pair<WireKeys<AI.AiDecideInput>, AI.AiDecideResult>;
|
|
145
|
-
'ai.voice.start': Pair<Voice.VoiceStartInput, Voice.VoiceCallState>;
|
|
146
|
-
'ai.voice.stop': Pair<Voice.VoiceStopInput, Voice.VoiceCallState>;
|
|
147
|
-
'ai.voice.state': Pair<{
|
|
148
|
-
callId?: string;
|
|
149
|
-
}, Voice.VoiceCallState>;
|
|
150
|
-
'assets.read': Pair<{
|
|
151
|
-
asset_id: string;
|
|
152
|
-
} | {
|
|
153
|
-
path: string;
|
|
154
|
-
}, Omit<Assets.ReadAssetResult, 'data_url'> | {
|
|
155
|
-
path: string;
|
|
156
|
-
contentType: string;
|
|
157
|
-
byteSize: number;
|
|
158
|
-
}>;
|
|
159
|
-
/** Images travel inline; a video's host relay asks a binary upload grant with its size. */
|
|
160
|
-
'assets.upload': Pair<{
|
|
161
|
-
data_base64: string;
|
|
162
|
-
mime_type: string;
|
|
163
|
-
filename: string;
|
|
164
|
-
} | {
|
|
165
|
-
filename: string;
|
|
166
|
-
mime_type: string;
|
|
167
|
-
size_bytes: number;
|
|
168
|
-
}, Assets.UploadedAsset>;
|
|
169
|
-
'assets.uploadAttachment': Pair<{
|
|
170
|
-
filename: string;
|
|
171
|
-
mime_type: string;
|
|
172
|
-
size_bytes: number;
|
|
173
|
-
}, Assets.UploadedAsset>;
|
|
174
|
-
'assets.attachmentUrl': Pair<WireKeys<Assets.AttachmentUrlInput>, Assets.AttachmentUrlResult>;
|
|
175
|
-
'video.connection': Pair<{
|
|
176
|
-
action: Video.VideoGenerationConnectionAction;
|
|
177
|
-
}, Video.VideoGenerationConnection>;
|
|
178
|
-
'video.workflows': Pair<{
|
|
179
|
-
duration_seconds?: number;
|
|
180
|
-
family?: Video.VideoWorkflowFamily;
|
|
181
|
-
}, Video.VideoWorkflowList>;
|
|
182
|
-
'video.workflow': Pair<Video.VideoWorkflowRef, Video.VideoWorkflow>;
|
|
183
|
-
'video.estimate': Pair<VideoRequestWire, Video.VideoEstimate>;
|
|
184
|
-
'video.create': Pair<VideoCreateWire, Video.VideoGeneration>;
|
|
185
|
-
'video.list': Pair<VideoApi & Page, Video.VideoGenerationList>;
|
|
186
|
-
'video.get': Pair<VideoApi & Id, Video.VideoReadableGeneration>;
|
|
187
|
-
'video.retry': Pair<VideoApi & Id & Ceiling & {
|
|
188
|
-
restart_from?: string;
|
|
189
|
-
}, Video.VideoGeneration>;
|
|
190
|
-
'video.cancel': Pair<VideoApi & Id, Video.VideoGeneration>;
|
|
191
|
-
'video.remove': Pair<VideoApi & Id, Video.VideoGeneration>;
|
|
192
|
-
'video.clipping.create': Pair<{
|
|
193
|
-
title: string;
|
|
194
|
-
settings?: Partial<Clip.ClippingSettings>;
|
|
195
|
-
}, Clip.ClippingResource>;
|
|
196
|
-
'video.clipping.list': Pair<Page, Clip.ClippingList>;
|
|
197
|
-
'video.clipping.get': Pair<Id, Clip.ClippingResource>;
|
|
198
|
-
'video.clipping.remove': Pair<Id, {
|
|
199
|
-
deleted: true;
|
|
200
|
-
}>;
|
|
201
|
-
'video.clipping.uploadSource': Pair<Id & {
|
|
202
|
-
filename: string;
|
|
203
|
-
mime_type: string;
|
|
204
|
-
size_bytes: number;
|
|
205
|
-
}, Clip.ClippingResource>;
|
|
206
|
-
'video.clipping.estimate': Pair<Id & {
|
|
207
|
-
settings: Clip.ClippingSettings;
|
|
208
|
-
kind?: 'proposal' | 'export';
|
|
209
|
-
}, Clip.ClippingEstimate>;
|
|
210
|
-
'video.clipping.propose': Pair<Id & Ceiling & {
|
|
211
|
-
settings: Clip.ClippingSettings;
|
|
212
|
-
expected_version: number;
|
|
213
|
-
}, Clip.ClippingResource>;
|
|
214
|
-
'video.clipping.updatePlan': Pair<Id & {
|
|
215
|
-
expected_version: number;
|
|
216
|
-
source_signature: string;
|
|
217
|
-
segments: Clip.ClippingSegment[];
|
|
218
|
-
}, Clip.ClippingResource>;
|
|
219
|
-
'video.clipping.createExport': Pair<Id & Ceiling & {
|
|
220
|
-
plan_version: number;
|
|
221
|
-
source_signature: string;
|
|
222
|
-
}, Clip.ClippingExport>;
|
|
223
|
-
'video.clipping.getJob': Pair<Job, Clip.ClippingJob>;
|
|
224
|
-
'video.clipping.cancelJob': Pair<Job, Clip.ClippingJob>;
|
|
225
|
-
'video.clipping.resumeJob': Pair<Job & Ceiling, Clip.ClippingJob>;
|
|
226
|
-
'video.clipping.prepareMutation': Pair<{
|
|
227
|
-
slot: string;
|
|
228
|
-
request: Video.ClippingMutation['request'];
|
|
229
|
-
}, Video.ClippingMutation>;
|
|
230
|
-
'video.clipping.readMutation': Pair<{
|
|
231
|
-
slot: string;
|
|
232
|
-
}, {
|
|
233
|
-
pending: Video.ClippingMutation | null;
|
|
234
|
-
}>;
|
|
235
|
-
'video.clipping.completeMutation': Pair<{
|
|
236
|
-
slot: string;
|
|
237
|
-
idempotency_key: string;
|
|
238
|
-
}, {
|
|
239
|
-
completed: true;
|
|
240
|
-
}>;
|
|
241
|
-
'outirl.metrics.read': Pair<EmptyOperationInput, Outirl.OutirlMetrics>;
|
|
242
|
-
'outirl.hue.lights.read': Pair<EmptyOperationInput, Outirl.OutirlHueLights>;
|
|
243
|
-
'outirl.hue.lights.set': Pair<Outirl.OutirlHueSet, Outirl.OutirlHueLights>;
|
|
244
|
-
'outirl.leds.read': Pair<EmptyOperationInput, Outirl.OutirlLedsSnapshot>;
|
|
245
|
-
'outirl.leds.set': Pair<Outirl.OutirlLedsSet, Outirl.OutirlLedsSnapshot>;
|
|
246
|
-
'outirl.audio.devices': Pair<EmptyOperationInput, Outirl.OutirlAudioDevices>;
|
|
247
|
-
'outirl.audio.start': Pair<Outirl.OutirlAudioStartInput, Outirl.OutirlAudioCapture>;
|
|
248
|
-
'outirl.audio.read': Pair<Outirl.OutirlAudioReadInput, Outirl.OutirlAudioChunk>;
|
|
249
|
-
'outirl.audio.stop': Pair<Outirl.OutirlAudioStopInput, Outirl.OutirlAudioStopped>;
|
|
250
|
-
'outirl.audio.transcribe': Pair<Outirl.OutirlAudioTranscribeInput, Outirl.OutirlAudioTranscript>;
|
|
251
|
-
'outirl.network.read': Pair<EmptyOperationInput, Outirl.OutirlNetwork>;
|
|
252
|
-
'outirl.desktop.read': Pair<Outirl.OutirlDesktopReadInput, Outirl.OutirlDesktopState>;
|
|
253
|
-
'outirl.desktop.dictation': Pair<Outirl.OutirlDesktopDictationInput, Outirl.OutirlDesktopDictationResult>;
|
|
254
|
-
'outirl.desktop.terminal': Pair<Outirl.OutirlDesktopTerminalInput, Outirl.OutirlDesktopTerminalResult>;
|
|
255
|
-
'network.request': Pair<Network.NetworkRequestInput, Network.NetworkResponse>;
|
|
256
|
-
'network.asset': Pair<{
|
|
257
|
-
assetId: string;
|
|
258
|
-
}, Network.NetworkAsset>;
|
|
259
|
-
'multiplayer.presence': Pair<EmptyOperationInput, Host.LivePresenceSnapshot>;
|
|
260
|
-
'multiplayer.subscribe': Pair<{
|
|
261
|
-
topic: string;
|
|
262
|
-
action?: 'unsubscribe';
|
|
263
|
-
}, {
|
|
264
|
-
topic: string;
|
|
265
|
-
subscribed: boolean;
|
|
266
|
-
}>;
|
|
267
|
-
'multiplayer.publish': Pair<{
|
|
268
|
-
topic: string;
|
|
269
|
-
data: Host.LiveEvent['data'];
|
|
270
|
-
delivery: 'ephemeral' | 'durable';
|
|
271
|
-
}, {
|
|
272
|
-
accepted: true;
|
|
273
|
-
eventId: string;
|
|
274
|
-
}>;
|
|
275
|
-
'presence.list': Pair<EmptyOperationInput, Host.LivePresenceSnapshot>;
|
|
276
|
-
'device.availability': Pair<EmptyOperationInput, Host.DeviceAvailability>;
|
|
277
|
-
'device.camera.capture': Pair<EmptyOperationInput, Host.DeviceMediaResult>;
|
|
278
|
-
'device.camera.stream': Pair<Host.DeviceCameraStreamInput, Host.DeviceLiveMediaResult>;
|
|
279
|
-
'device.photos.pick': Pair<EmptyOperationInput, Host.DeviceMediaResult>;
|
|
280
|
-
'device.microphone.stream': Pair<Host.DeviceMicrophoneStreamInput, Host.DeviceLiveMediaResult>;
|
|
281
|
-
'device.motion.subscribe': Pair<Host.DeviceMotionInput, {
|
|
282
|
-
id: string;
|
|
283
|
-
}>;
|
|
284
|
-
'device.motion.unsubscribe': Pair<Id, {
|
|
285
|
-
removed: boolean;
|
|
286
|
-
}>;
|
|
287
|
-
'device.haptics.trigger': Pair<Host.DeviceHapticsInput, {
|
|
288
|
-
completed: true;
|
|
289
|
-
}>;
|
|
290
|
-
'device.haptics.pattern': Pair<Host.DeviceHapticPatternInput, {
|
|
291
|
-
completed: boolean;
|
|
292
|
-
}>;
|
|
293
|
-
'device.haptics.stop': Pair<EmptyOperationInput, {
|
|
294
|
-
stopped: boolean;
|
|
295
|
-
}>;
|
|
296
|
-
'device.location.current': Pair<EmptyOperationInput, Host.DeviceLocation>;
|
|
297
|
-
'device.share.open': Pair<Host.DeviceShareInput, {
|
|
298
|
-
completed: true;
|
|
299
|
-
}>;
|
|
300
|
-
'device.notifications.schedule': Pair<Host.DeviceScheduleInput, Host.DeviceScheduledItem>;
|
|
301
|
-
'device.notifications.list': Pair<EmptyOperationInput, {
|
|
302
|
-
items: Host.DeviceScheduledItem[];
|
|
303
|
-
}>;
|
|
304
|
-
'device.notifications.cancel': Pair<Id, {
|
|
305
|
-
cancelled: boolean;
|
|
306
|
-
}>;
|
|
307
|
-
'device.alarms.schedule': Pair<Host.DeviceScheduleInput, Host.DeviceScheduledItem>;
|
|
308
|
-
'device.alarms.list': Pair<EmptyOperationInput, {
|
|
309
|
-
items: Host.DeviceScheduledItem[];
|
|
310
|
-
}>;
|
|
311
|
-
'device.alarms.cancel': Pair<Id, {
|
|
312
|
-
cancelled: boolean;
|
|
313
|
-
}>;
|
|
314
|
-
'notifications.send': Pair<Host.NotificationSendInput, Host.NotificationSendResult>;
|
|
315
|
-
'inbox.list': Pair<Host.InboxListInput, Host.InboxListResult>;
|
|
316
|
-
'inbox.ack': Pair<Host.InboxAckInput, Host.InboxAckResult>;
|
|
317
|
-
'email.send': Pair<Host.EmailSendInput, Host.EmailSendResult>;
|
|
318
|
-
};
|
|
319
|
-
export {};
|