@nativestudio/cli 0.3.0-rc.2 → 0.3.0-rc.21
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/COMPATIBILITY.json +37 -8
- package/LICENSE +201 -21
- package/components/runtime.json +33 -4
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/chunk-27KI24GK.js +1 -0
- package/dist/_chunks/chunk-2S7FI3HF.js +1 -0
- package/dist/_chunks/chunk-3RNDOAQI.js +1 -0
- package/dist/_chunks/{chunk-C33A2DW4.js → chunk-3TOXIJ7K.js} +1 -1
- package/dist/_chunks/chunk-4AD4PNUX.js +1 -0
- package/dist/_chunks/chunk-5Y7J2OYL.js +45 -0
- package/dist/_chunks/chunk-76E5R3OC.js +1 -0
- package/dist/_chunks/chunk-7I7ARCY7.js +1 -0
- package/dist/_chunks/chunk-7IVAYDU3.js +1 -0
- package/dist/_chunks/chunk-7P2NA6TH.js +1 -0
- package/dist/_chunks/chunk-DLW42PJ6.js +1 -0
- package/dist/_chunks/chunk-DMA53YVU.js +1 -0
- package/dist/_chunks/chunk-ETK7GYCB.js +1 -0
- package/dist/_chunks/chunk-FFXSXE3G.js +1 -0
- package/dist/_chunks/chunk-H4FH6STZ.js +1 -0
- package/dist/_chunks/chunk-KOCUZ3AE.js +1 -0
- package/dist/_chunks/chunk-LDBXGRCQ.js +1 -0
- package/dist/_chunks/chunk-LTNJ45JP.js +1 -0
- package/dist/_chunks/chunk-MZWEFYHE.js +1 -0
- package/dist/_chunks/{chunk-VDNNFVTZ.js → chunk-OW6R4MAQ.js} +1 -1
- package/dist/_chunks/chunk-PQCA4X5H.js +1 -0
- package/dist/_chunks/chunk-QGK6G6YS.js +1 -0
- package/dist/_chunks/chunk-SM2I7TJ3.js +1 -0
- package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
- package/dist/_chunks/chunk-VXYZCCCQ.js +1 -0
- package/dist/_chunks/chunk-VYCNG6TR.js +1 -0
- package/dist/_chunks/chunk-WLQMICJN.js +1 -0
- package/dist/_chunks/chunk-WTJVS2VS.js +1 -0
- package/dist/_chunks/chunk-X5MVC46N.js +1 -0
- package/dist/_chunks/chunk-X5PBZTKX.js +1 -0
- package/dist/_chunks/chunk-ZMJYBUS3.js +1 -0
- package/dist/_chunks/chunk-ZYXHPTT2.js +1 -0
- package/dist/_chunks/component-contract-2JHTRTOB.js +1 -0
- package/dist/_chunks/component-preflight-6OWDQAZT.js +1 -0
- package/dist/_chunks/connect-7TJDWXV4.js +1 -0
- package/dist/_chunks/device-management-JPS4HG34.js +1 -0
- package/dist/_chunks/device-preflight-GTQ67H7C.js +1 -0
- package/dist/_chunks/devices-inventory-E6ZLXCVR.js +1 -0
- package/dist/_chunks/devices-main-2BMCANKU.js +1 -0
- package/dist/_chunks/files-JJ6YOULB.js +1 -0
- package/dist/_chunks/host-component-ZYQ5ETVL.js +1 -0
- package/dist/_chunks/host-help-VNLA3YOV.js +1 -0
- package/dist/_chunks/host-main-KLWW7R47.js +1 -0
- package/dist/_chunks/http-profile-3VVSWYA5.js +1 -0
- package/dist/_chunks/library-main-3WWH7UYV.js +1 -0
- package/dist/_chunks/local-main-5BW63USP.js +1 -0
- package/dist/_chunks/local-mcp-AARKBDU5.js +1 -0
- package/dist/_chunks/main-LGYJ3ZCN.js +2 -0
- package/dist/_chunks/mcp-BLSK636Q.js +1 -0
- package/dist/_chunks/oauth-RPME2XYB.js +1 -0
- package/dist/_chunks/observe-entry-JVZAMB7N.js +1 -0
- package/dist/_chunks/remote-client-25Z65VJU.js +1 -0
- package/dist/_chunks/render-main-6Z3DKCWL.js +1 -0
- package/dist/_chunks/series-main-FBERVYWG.js +1 -0
- package/dist/_chunks/source-import-PNMCMTK7.js +1 -0
- package/dist/_chunks/src-7HSJFRVQ.js +1 -0
- package/dist/_chunks/stdio-main-HNLJCG45.js +1 -0
- package/dist/_chunks/workspace-main-QX5JGEMR.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +1981 -22
- package/dist/_types/cli/local/desktop-device-contract.d.ts +807 -0
- package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
- package/dist/_types/cli/local/desktop-device-owner.d.ts +273 -0
- package/dist/_types/cli/local/desktop-device-state.d.ts +455 -0
- package/dist/_types/cli/local/desktop-library.d.ts +853 -0
- package/dist/_types/cli/local/desktop-owner.d.ts +787 -4
- package/dist/_types/cli/local/ledger.d.ts +76 -20
- package/dist/_types/cli/local/manager.d.ts +1233 -49
- package/dist/_types/cli/local/mcp-tools.d.ts +313 -54
- package/dist/_types/cli/local/releases.d.ts +30 -7
- package/dist/_types/cli/local-management.d.ts +9 -2
- package/dist/_types/cli/local-navigation.d.ts +1 -0
- package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
- package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
- package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
- package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
- package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
- package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
- package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
- package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
- package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
- package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
- package/dist/_types/contracts/agent-host.d.ts +126 -65
- package/dist/_types/contracts/artifact-discovery.d.ts +143 -11
- package/dist/_types/contracts/audio.d.ts +166 -0
- package/dist/_types/contracts/component-status.d.ts +241 -0
- package/dist/_types/contracts/composition-authoring.d.ts +8 -8
- package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
- package/dist/_types/contracts/composition-observation.d.ts +1 -1
- package/dist/_types/contracts/composition-render-base.d.ts +5 -4
- package/dist/_types/contracts/composition-render.d.ts +8 -8
- package/dist/_types/contracts/composition-repair.d.ts +10 -10
- package/dist/_types/contracts/composition-source-review.d.ts +13 -13
- package/dist/_types/contracts/consistency-profile.d.ts +102 -6
- package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
- package/dist/_types/contracts/delivery-completion.d.ts +1 -1
- package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
- package/dist/_types/contracts/delivery-operations.d.ts +207 -3915
- package/dist/_types/contracts/delivery-summary.d.ts +4 -4
- package/dist/_types/contracts/delivery-validation.d.ts +25 -2
- package/dist/_types/contracts/device-onboarding.d.ts +35 -0
- package/dist/_types/contracts/device-render.d.ts +113 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
- package/dist/_types/contracts/enterprise-brand.d.ts +302 -0
- package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
- package/dist/_types/contracts/external-agent-access.d.ts +4 -6
- package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
- package/dist/_types/contracts/federation-event-link.d.ts +485 -0
- package/dist/_types/contracts/federation-result.d.ts +239 -0
- package/dist/_types/contracts/final-ready.d.ts +24 -24
- package/dist/_types/contracts/final-render.d.ts +1742 -6949
- package/dist/_types/contracts/human-identity.d.ts +13 -0
- package/dist/_types/contracts/human-links.d.ts +58 -0
- package/dist/_types/contracts/index.d.ts +26 -0
- package/dist/_types/contracts/interface/common.d.ts +18 -0
- package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
- package/dist/_types/contracts/interface/media-output.d.ts +118 -0
- package/dist/_types/contracts/interface/operation.d.ts +89 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +106 -199
- package/dist/_types/contracts/interface/query.d.ts +85 -0
- package/dist/_types/contracts/keyframe-generation.d.ts +31 -2
- package/dist/_types/contracts/keyframe-review.d.ts +7 -7
- package/dist/_types/contracts/lifecycle-event-projections.d.ts +19 -4
- package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
- package/dist/_types/contracts/local-execution/agent-component-status.d.ts +109 -0
- package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
- package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
- package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
- package/dist/_types/contracts/local-execution/agent-review.d.ts +529 -71
- package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
- package/dist/_types/contracts/local-execution/common.d.ts +12 -11
- package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
- package/dist/_types/contracts/local-execution/components.d.ts +45 -0
- package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
- package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
- package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
- package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
- package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
- package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
- package/dist/_types/contracts/local-execution/device-inventory.d.ts +108 -0
- package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
- package/dist/_types/contracts/local-execution/device.d.ts +24 -55
- package/dist/_types/contracts/local-execution/enrollment-credential.d.ts +141 -0
- package/dist/_types/contracts/local-execution/enrollment-handoff.d.ts +44 -0
- package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
- package/dist/_types/contracts/local-execution/index.d.ts +36 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +2809 -231
- package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
- package/dist/_types/contracts/local-execution/library-result.d.ts +428 -0
- package/dist/_types/contracts/local-execution/library.d.ts +873 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +262 -48
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +304 -67
- package/dist/_types/contracts/local-execution/management.d.ts +407 -0
- package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
- package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
- package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
- package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
- package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +177 -3561
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +49 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1194 -0
- package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +6424 -0
- package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
- package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
- package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
- package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
- package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
- package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
- package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
- package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
- package/dist/_types/contracts/mcp-capabilities.d.ts +16 -0
- package/dist/_types/contracts/media-category.d.ts +11 -0
- package/dist/_types/contracts/media-observation.d.ts +930 -9
- package/dist/_types/contracts/native-speech-model.d.ts +53 -0
- package/dist/_types/contracts/native-speech-options.d.ts +25 -0
- package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
- package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
- package/dist/_types/contracts/navigation-context.d.ts +76 -8
- package/dist/_types/contracts/navigation-groups.d.ts +2 -2
- package/dist/_types/contracts/navigation.d.ts +79 -26
- package/dist/_types/contracts/observation-profile.d.ts +3 -3
- package/dist/_types/contracts/production-creation.d.ts +30 -0
- package/dist/_types/contracts/production-feedback.d.ts +452 -0
- package/dist/_types/contracts/production.d.ts +30 -0
- package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
- package/dist/_types/contracts/programmatic-exploration.d.ts +362 -5999
- package/dist/_types/contracts/programmatic-video-review.d.ts +5 -5
- package/dist/_types/contracts/project-library.d.ts +30 -0
- package/dist/_types/contracts/project.d.ts +30 -0
- package/dist/_types/contracts/provider-catalog.d.ts +3 -3
- package/dist/_types/contracts/provider-models.d.ts +209 -8
- package/dist/_types/contracts/provider.d.ts +66 -1
- package/dist/_types/contracts/reference-preview.d.ts +20 -0
- package/dist/_types/contracts/render-readiness.d.ts +175 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +64 -396
- package/dist/_types/contracts/repair-plan.d.ts +18 -100
- package/dist/_types/contracts/repair-strategy.d.ts +163 -4478
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +418 -8150
- package/dist/_types/contracts/review-intelligence.d.ts +455 -11423
- package/dist/_types/contracts/review1-repair-source.d.ts +6 -6
- package/dist/_types/contracts/review1-repair-strategy.d.ts +4 -4
- package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
- package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
- package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
- package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
- package/dist/_types/contracts/series-canon.d.ts +97 -0
- package/dist/_types/contracts/series-character.d.ts +23 -0
- package/dist/_types/contracts/series-improvement.d.ts +1639 -0
- package/dist/_types/contracts/series-standard.d.ts +1641 -0
- package/dist/_types/contracts/shares.d.ts +135 -0
- package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
- package/dist/_types/contracts/shot-preparation.d.ts +4 -4
- package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
- package/dist/_types/contracts/speech-cost.d.ts +96 -0
- package/dist/_types/contracts/speech-parameters.d.ts +39 -0
- package/dist/_types/contracts/speech.d.ts +603 -23
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +2 -1
- package/dist/_types/contracts/timeline-audio.d.ts +20 -4
- package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
- package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
- package/dist/_types/contracts/timeline-v2.d.ts +124 -16
- package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
- package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
- package/dist/_types/contracts/timeline.d.ts +50 -4850
- package/dist/_types/contracts/transcription.d.ts +1 -1
- package/dist/_types/contracts/video-generation.d.ts +35 -2
- package/dist/_types/contracts/video-review.d.ts +7 -7
- package/dist/_types/contracts/visual-exploration.d.ts +3 -3
- package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
- package/dist/_types/contracts/visual-sequence.d.ts +22 -0
- package/dist/_types/contracts/voice-consistency.d.ts +183 -0
- package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
- package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
- package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
- package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
- package/dist/_types/contracts/voice-review.d.ts +1194 -0
- package/dist/_types/contracts/workspace.d.ts +83 -0
- package/dist/_types/sdk/errors.d.ts +9 -3
- package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
- package/dist/_types/sdk/local-runtime/device-client.d.ts +181 -19
- package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
- package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +1934 -96
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/dist/native/helper.exe +0 -0
- package/dist/native/helper.json +1 -0
- package/package.json +2 -8
- package/README.md +0 -95
- package/dist/_chunks/chunk-66CUOZVI.js +0 -1
- package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
- package/dist/_chunks/chunk-7S3DJ2QE.js +0 -1
- package/dist/_chunks/chunk-BVSTJQJI.js +0 -1
- package/dist/_chunks/chunk-C753RRRA.js +0 -1
- package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
- package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
- package/dist/_chunks/chunk-HLKERZIE.js +0 -1
- package/dist/_chunks/chunk-K6LVS2IN.js +0 -1
- package/dist/_chunks/chunk-KHKUJXQX.js +0 -1
- package/dist/_chunks/chunk-PUNG4ND7.js +0 -1
- package/dist/_chunks/chunk-VC3ODN3M.js +0 -1
- package/dist/_chunks/chunk-VPYAXWXY.js +0 -1
- package/dist/_chunks/files-FZEK2ZZJ.js +0 -1
- package/dist/_chunks/local-main-NLFS74Q4.js +0 -1
- package/dist/_chunks/local-mcp-OLHBBVNN.js +0 -1
- package/dist/_chunks/main-VRIQTI6R.js +0 -2
- package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
- package/dist/_chunks/oauth-F7EZGVME.js +0 -1
- package/dist/_chunks/project-connect-MXM7IY55.js +0 -1
- package/dist/_chunks/src-7F6ZEU3U.js +0 -1
- package/dist/_chunks/stdio-main-KOGQ5OWF.js +0 -1
- package/dist/native/Bootstrap.ps1 +0 -90
- package/dist/native/JobNative.cs +0 -127
- package/dist/native/JobRunner.cs +0 -360
- package/dist/native/NativeMain.cs +0 -146
- package/dist/native/PipeBridge.cs +0 -260
- package/dist/native/PrivateAccess.cs +0 -152
|
@@ -5,7 +5,6 @@ export declare const ExternalGrantQuerySchema: z.ZodObject<{
|
|
|
5
5
|
export declare const ExternalGrantPageSchema: z.ZodObject<{
|
|
6
6
|
items: z.ZodArray<z.ZodObject<{
|
|
7
7
|
grantId: z.ZodUUID;
|
|
8
|
-
projectId: z.ZodUUID;
|
|
9
8
|
displayName: z.ZodString;
|
|
10
9
|
scopes: z.ZodArray<z.ZodEnum<{
|
|
11
10
|
"nvs:read": "nvs:read";
|
|
@@ -20,13 +19,13 @@ export declare const ExternalAccessScopeSchema: z.ZodEnum<{
|
|
|
20
19
|
"nvs:read": "nvs:read";
|
|
21
20
|
"nvs:write": "nvs:write";
|
|
22
21
|
}>;
|
|
23
|
-
|
|
22
|
+
/** OAuth 只固定 tenant;项目由每次业务调用明确选择。 */
|
|
23
|
+
export declare const ExternalAgentScopeSchema: z.ZodObject<{
|
|
24
24
|
tenantId: z.ZodUUID;
|
|
25
|
-
projectId: z.ZodUUID;
|
|
26
25
|
}, z.core.$strict>;
|
|
26
|
+
export type ExternalAgentScope = z.infer<typeof ExternalAgentScopeSchema>;
|
|
27
27
|
export declare const RegisterExternalClientSchema: z.ZodObject<{
|
|
28
28
|
tenantId: z.ZodUUID;
|
|
29
|
-
projectId: z.ZodUUID;
|
|
30
29
|
displayName: z.ZodString;
|
|
31
30
|
redirectUris: z.ZodArray<z.ZodString>;
|
|
32
31
|
}, z.core.$strict>;
|
|
@@ -67,7 +66,6 @@ export declare const ExternalTokenRequestSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
67
66
|
client_id: z.ZodUUID;
|
|
68
67
|
resource: z.ZodURL;
|
|
69
68
|
}, z.core.$strict>], "grant_type">;
|
|
70
|
-
export type ExternalProjectScope = z.infer<typeof ExternalProjectScopeSchema>;
|
|
71
69
|
export declare const ExternalRevocationSchema: z.ZodObject<{
|
|
72
70
|
client_id: z.ZodUUID;
|
|
73
71
|
token: z.ZodString;
|
|
@@ -83,7 +81,7 @@ export interface ExternalClient extends RegisterExternalClient {
|
|
|
83
81
|
enabled: boolean;
|
|
84
82
|
registrationMode: "MAINTAINED" | "DYNAMIC";
|
|
85
83
|
}
|
|
86
|
-
export interface ExternalAccessSession extends
|
|
84
|
+
export interface ExternalAccessSession extends ExternalAgentScope {
|
|
87
85
|
grantId: string;
|
|
88
86
|
tokenHash: string;
|
|
89
87
|
principalId: string;
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const EventReceiverLocatorSchema: z.ZodObject<{
|
|
3
|
+
ref: z.ZodUUID;
|
|
4
|
+
proof: z.ZodString;
|
|
5
|
+
}, z.core.$strict>;
|
|
6
|
+
export declare const EventReceiverAccessSchema: z.ZodObject<{
|
|
7
|
+
ref: z.ZodUUID;
|
|
8
|
+
proof: z.ZodString;
|
|
9
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
|
|
10
|
+
}, z.core.$strict>;
|
|
11
|
+
export declare const EventReceiverBeginInputSchema: z.ZodObject<{
|
|
12
|
+
authorization: z.ZodString;
|
|
13
|
+
resume: z.ZodOptional<z.ZodObject<{
|
|
14
|
+
ref: z.ZodUUID;
|
|
15
|
+
proof: z.ZodString;
|
|
16
|
+
}, z.core.$strict>>;
|
|
17
|
+
}, z.core.$strict>;
|
|
18
|
+
export declare const EventReceiverBeginSchema: z.ZodObject<{
|
|
19
|
+
ref: z.ZodUUID;
|
|
20
|
+
proof: z.ZodString;
|
|
21
|
+
expiresAt: z.ZodISODateTime;
|
|
22
|
+
}, z.core.$strict>;
|
|
23
|
+
export declare const EventReceiverPrepareSchema: z.ZodObject<{
|
|
24
|
+
ref: z.ZodUUID;
|
|
25
|
+
proof: z.ZodString;
|
|
26
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
|
|
27
|
+
productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
|
|
28
|
+
sourceSelection: z.ZodObject<{
|
|
29
|
+
scope: z.ZodObject<{
|
|
30
|
+
namespace: z.ZodString;
|
|
31
|
+
ref: z.ZodString;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
resourceNamespace: z.ZodString;
|
|
34
|
+
changeKinds: z.ZodArray<z.ZodString>;
|
|
35
|
+
resourcePrefixes: z.ZodArray<z.ZodString>;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
expiresAt: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
|
|
38
|
+
}, z.core.$strict>;
|
|
39
|
+
export declare const EventReceiverDecideSchema: z.ZodObject<{
|
|
40
|
+
ref: z.ZodUUID;
|
|
41
|
+
proof: z.ZodString;
|
|
42
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
|
|
43
|
+
consentBinding: z.ZodOptional<z.ZodString>;
|
|
44
|
+
decision: z.ZodEnum<{
|
|
45
|
+
allow: "allow";
|
|
46
|
+
deny: "deny";
|
|
47
|
+
}>;
|
|
48
|
+
}, z.core.$strict>;
|
|
49
|
+
export declare const EventReceiverChoiceSchema: z.ZodObject<{
|
|
50
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
|
|
51
|
+
productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
|
|
52
|
+
sourceSelection: z.ZodObject<{
|
|
53
|
+
scope: z.ZodObject<{
|
|
54
|
+
namespace: z.ZodString;
|
|
55
|
+
ref: z.ZodString;
|
|
56
|
+
}, z.core.$strict>;
|
|
57
|
+
resourceNamespace: z.ZodString;
|
|
58
|
+
changeKinds: z.ZodArray<z.ZodString>;
|
|
59
|
+
resourcePrefixes: z.ZodArray<z.ZodString>;
|
|
60
|
+
}, z.core.$strict>;
|
|
61
|
+
expiresAt: z.ZodISODateTime;
|
|
62
|
+
}, z.core.$strict>;
|
|
63
|
+
export declare const EventReceiverViewSchema: z.ZodObject<{
|
|
64
|
+
ref: z.ZodUUID;
|
|
65
|
+
state: z.ZodEnum<{
|
|
66
|
+
EXPIRED: "EXPIRED";
|
|
67
|
+
PENDING: "PENDING";
|
|
68
|
+
DENIED: "DENIED";
|
|
69
|
+
APPROVED: "APPROVED";
|
|
70
|
+
CONSUMED: "CONSUMED";
|
|
71
|
+
}>;
|
|
72
|
+
expiresAt: z.ZodISODateTime;
|
|
73
|
+
source: z.ZodObject<{
|
|
74
|
+
displayName: z.ZodString;
|
|
75
|
+
serviceRef: z.ZodString;
|
|
76
|
+
tenantRef: z.ZodString;
|
|
77
|
+
installationSource: z.ZodString;
|
|
78
|
+
}, z.core.$strict>;
|
|
79
|
+
eventType: z.ZodLiteral<"com.nativestudio.federation.resource.changed.v1">;
|
|
80
|
+
effect: z.ZodLiteral<"REFRESH_HINT">;
|
|
81
|
+
choice: z.ZodNullable<z.ZodObject<{
|
|
82
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
|
|
83
|
+
productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
|
|
84
|
+
sourceSelection: z.ZodObject<{
|
|
85
|
+
scope: z.ZodObject<{
|
|
86
|
+
namespace: z.ZodString;
|
|
87
|
+
ref: z.ZodString;
|
|
88
|
+
}, z.core.$strict>;
|
|
89
|
+
resourceNamespace: z.ZodString;
|
|
90
|
+
changeKinds: z.ZodArray<z.ZodString>;
|
|
91
|
+
resourcePrefixes: z.ZodArray<z.ZodString>;
|
|
92
|
+
}, z.core.$strict>;
|
|
93
|
+
expiresAt: z.ZodISODateTime;
|
|
94
|
+
}, z.core.$strict>>;
|
|
95
|
+
}, z.core.$strict>;
|
|
96
|
+
/** Native API -> first-party BFF only; the BFF removes callback correlation from its UI view. */
|
|
97
|
+
export declare const EventReceiverInspectionSchema: z.ZodObject<{
|
|
98
|
+
view: z.ZodObject<{
|
|
99
|
+
ref: z.ZodUUID;
|
|
100
|
+
state: z.ZodEnum<{
|
|
101
|
+
EXPIRED: "EXPIRED";
|
|
102
|
+
PENDING: "PENDING";
|
|
103
|
+
DENIED: "DENIED";
|
|
104
|
+
APPROVED: "APPROVED";
|
|
105
|
+
CONSUMED: "CONSUMED";
|
|
106
|
+
}>;
|
|
107
|
+
expiresAt: z.ZodISODateTime;
|
|
108
|
+
source: z.ZodObject<{
|
|
109
|
+
displayName: z.ZodString;
|
|
110
|
+
serviceRef: z.ZodString;
|
|
111
|
+
tenantRef: z.ZodString;
|
|
112
|
+
installationSource: z.ZodString;
|
|
113
|
+
}, z.core.$strict>;
|
|
114
|
+
eventType: z.ZodLiteral<"com.nativestudio.federation.resource.changed.v1">;
|
|
115
|
+
effect: z.ZodLiteral<"REFRESH_HINT">;
|
|
116
|
+
choice: z.ZodNullable<z.ZodObject<{
|
|
117
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
|
|
118
|
+
productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
|
|
119
|
+
sourceSelection: z.ZodObject<{
|
|
120
|
+
scope: z.ZodObject<{
|
|
121
|
+
namespace: z.ZodString;
|
|
122
|
+
ref: z.ZodString;
|
|
123
|
+
}, z.core.$strict>;
|
|
124
|
+
resourceNamespace: z.ZodString;
|
|
125
|
+
changeKinds: z.ZodArray<z.ZodString>;
|
|
126
|
+
resourcePrefixes: z.ZodArray<z.ZodString>;
|
|
127
|
+
}, z.core.$strict>;
|
|
128
|
+
expiresAt: z.ZodISODateTime;
|
|
129
|
+
}, z.core.$strict>>;
|
|
130
|
+
}, z.core.$strict>;
|
|
131
|
+
callback: z.ZodObject<{
|
|
132
|
+
redirectUri: z.ZodURL;
|
|
133
|
+
state: z.ZodString;
|
|
134
|
+
issuer: z.ZodURL;
|
|
135
|
+
}, z.core.$strict>;
|
|
136
|
+
}, z.core.$strict>;
|
|
137
|
+
export declare const EventReceiverReviewSchema: z.ZodObject<{
|
|
138
|
+
view: z.ZodObject<{
|
|
139
|
+
ref: z.ZodUUID;
|
|
140
|
+
state: z.ZodEnum<{
|
|
141
|
+
EXPIRED: "EXPIRED";
|
|
142
|
+
PENDING: "PENDING";
|
|
143
|
+
DENIED: "DENIED";
|
|
144
|
+
APPROVED: "APPROVED";
|
|
145
|
+
CONSUMED: "CONSUMED";
|
|
146
|
+
}>;
|
|
147
|
+
expiresAt: z.ZodISODateTime;
|
|
148
|
+
source: z.ZodObject<{
|
|
149
|
+
displayName: z.ZodString;
|
|
150
|
+
serviceRef: z.ZodString;
|
|
151
|
+
tenantRef: z.ZodString;
|
|
152
|
+
installationSource: z.ZodString;
|
|
153
|
+
}, z.core.$strict>;
|
|
154
|
+
eventType: z.ZodLiteral<"com.nativestudio.federation.resource.changed.v1">;
|
|
155
|
+
effect: z.ZodLiteral<"REFRESH_HINT">;
|
|
156
|
+
choice: z.ZodNullable<z.ZodObject<{
|
|
157
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
|
|
158
|
+
productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
|
|
159
|
+
sourceSelection: z.ZodObject<{
|
|
160
|
+
scope: z.ZodObject<{
|
|
161
|
+
namespace: z.ZodString;
|
|
162
|
+
ref: z.ZodString;
|
|
163
|
+
}, z.core.$strict>;
|
|
164
|
+
resourceNamespace: z.ZodString;
|
|
165
|
+
changeKinds: z.ZodArray<z.ZodString>;
|
|
166
|
+
resourcePrefixes: z.ZodArray<z.ZodString>;
|
|
167
|
+
}, z.core.$strict>;
|
|
168
|
+
expiresAt: z.ZodISODateTime;
|
|
169
|
+
}, z.core.$strict>>;
|
|
170
|
+
}, z.core.$strict>;
|
|
171
|
+
consentBinding: z.ZodString;
|
|
172
|
+
}, z.core.$strict>;
|
|
173
|
+
export declare const EventReceiverDecisionSchema: z.ZodObject<{
|
|
174
|
+
ref: z.ZodUUID;
|
|
175
|
+
redirectUri: z.ZodURL;
|
|
176
|
+
}, z.core.$strict>;
|
|
177
|
+
export declare const EventReceiverPortalSchema: z.ZodObject<{
|
|
178
|
+
tenantId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">>;
|
|
179
|
+
productionId: z.ZodPipe<z.ZodUUID, z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">>;
|
|
180
|
+
role: z.ZodLiteral<"RECEIVER">;
|
|
181
|
+
protocol: z.ZodLiteral<"event-link/1">;
|
|
182
|
+
sdkVersion: z.ZodLiteral<"0.4.0">;
|
|
183
|
+
configuration: z.ZodEnum<{
|
|
184
|
+
CONFIGURED: "CONFIGURED";
|
|
185
|
+
UNCONFIGURED: "UNCONFIGURED";
|
|
186
|
+
}>;
|
|
187
|
+
authorizationEndpoint: z.ZodNullable<z.ZodURL>;
|
|
188
|
+
tokenEndpoint: z.ZodNullable<z.ZodURL>;
|
|
189
|
+
eventType: z.ZodLiteral<"com.nativestudio.federation.resource.changed.v1">;
|
|
190
|
+
dataSchema: z.ZodLiteral<"urn:nativestudio:federation:resource-change:v1">;
|
|
191
|
+
effect: z.ZodLiteral<"REFRESH_HINT">;
|
|
192
|
+
defaultReceive: z.ZodLiteral<false>;
|
|
193
|
+
}, z.core.$strict>;
|
|
194
|
+
export type EventReceiverChoice = z.infer<typeof EventReceiverChoiceSchema>;
|
|
195
|
+
export type EventReceiverView = z.infer<typeof EventReceiverViewSchema>;
|
|
196
|
+
export type EventReceiverPortal = z.infer<typeof EventReceiverPortalSchema>;
|
|
197
|
+
export type EventReceiverInspection = z.infer<typeof EventReceiverInspectionSchema>;
|
|
198
|
+
export type EventReceiverReview = z.infer<typeof EventReceiverReviewSchema>;
|
|
199
|
+
export type EventReceiverDecision = z.infer<typeof EventReceiverDecisionSchema>;
|
|
200
|
+
export type EventReceiverBegin = z.infer<typeof EventReceiverBeginSchema>;
|