@codesoul-co/hypha-core / contracts/runtime-schemas
- Package index:
@codesoul-co/hypha-core - Source:
packages/core/src/contracts/runtime-schemas.ts - Exports: 48
Using this module
Use the Runtime schemas module for declaring and runtime-validating contracts. It exports 40 constants, 8 functions.
Import from the package entrypoint
import {
normalizedRuntimeErrorDefinition,
normalizedRuntimeErrorExample,
normalizedRuntimeErrorJsonSchema,
normalizedRuntimeErrorSchema,
runSignalRequestDefinition,
runSignalRequestExample,
runSignalRequestJsonSchema,
runSignalRequestSchema,
} from '@codesoul-co/hypha-core';
// The complete export list is documented below.Usage patterns
- The module exposes 8 functions as direct operation entrypoints. Every overload, required/optional parameter, and return type is documented below.
- The 40 constant/enum exports provide stable values, schemas, definitions, or defaults. Reuse these exports instead of copying internal values into an application.
Runtime validation example
import { normalizedRuntimeErrorSchema } from '@codesoul-co/hypha-core';
declare function loadExternalInput(): unknown;
const input: unknown = loadExternalInput();
const parsed = normalizedRuntimeErrorSchema.parse(input);Parse untrusted configuration, network, or persisted input with the runtime schema before passing it to functions or classes that expect a validated contract.
Public exports
| Symbol | Kind | Signature | Description |
|---|---|---|---|
normalizedRuntimeErrorDefinition | constant | const normalizedRuntimeErrorDefinition: SpecSchemaDefinition<NormalizedRuntimeError> | Normalized Runtime Error Definition constant exported by the contracts/runtime-schemas module. |
normalizedRuntimeErrorExample | constant | const normalizedRuntimeErrorExample: NormalizedRuntimeError | Valid example value for Normalized Runtime Error. |
normalizedRuntimeErrorJsonSchema | constant | const normalizedRuntimeErrorJsonSchema: JsonSchema | JSON Schema for Normalized Runtime Error. |
normalizedRuntimeErrorSchema | constant | const normalizedRuntimeErrorSchema: z.ZodObject<{ code: z.ZodEnum<["RUNTIME_INVALID_INPUT", "RUNTIME_MESSAGE_BUS_UNAVAILABLE", "RUNTIME_MESSAGE_SCHEMA_INVALID", "RUNTIME_MESSAGE_DEAD_LETTERED", "RUNTIME_SESSION_QUEUE_CONFLICT", "RUNTIME_SESSION_QUEUE_OVERFLOW", "RUNTIME_FENCING_REJECTED", "RUNTIME_RESOURCE_CONFLICT", "RUNTIME_IDEMPOTENCY_CONFLICT", "RUNTIME_EVENT_STREAM_CORRUPT", "RUNTIME_RECOVERY_REQUIRES_REVIEW"... | Runtime schema for Normalized Runtime Error. |
runSignalRequestDefinition | constant | const runSignalRequestDefinition: SpecSchemaDefinition<RunSignalRequest> | Run Signal Request Definition constant exported by the contracts/runtime-schemas module. |
runSignalRequestExample | constant | const runSignalRequestExample: RunSignalRequest | Valid example value for Run Signal Request. |
runSignalRequestJsonSchema | constant | const runSignalRequestJsonSchema: JsonSchema | JSON Schema for Run Signal Request. |
runSignalRequestSchema | constant | const runSignalRequestSchema: z.ZodObject<{ signalId: z.ZodString; runId: z.ZodString; key: z.ZodString; principal: z.ZodObject<{ principalId: z.ZodString; type: z.ZodEnum<["user", "agent", "service", "system"]>; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; agentId: z.ZodOptional<z.ZodString>; roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; permissionScopes: z.ZodArray<z.ZodStri... | Runtime schema for Run Signal Request. |
runtimeContractDefinitions | constant | const runtimeContractDefinitions: readonly [SpecSchemaDefinition<RuntimeScope>, SpecSchemaDefinition<RuntimePrincipal>, SpecSchemaDefinition<NormalizedRuntimeError>, SpecSchemaDefinition<RuntimeSession>, SpecSchemaDefinition<RuntimeRun>, SpecSchemaDefinition<RuntimeWaitRequest>, SpecSchemaDefinition<RuntimeWaitRecord>, SpecSchemaDefinition<RunSignalRequest>] | Runtime Contract Definitions constant exported by the contracts/runtime-schemas module. |
runtimeContractJsonSchemas | constant | const runtimeContractJsonSchemas: Record<string, JsonSchema> | Runtime Contract JSON Schemas constant exported by the contracts/runtime-schemas module. |
runtimeErrorCodeSchema | constant | const runtimeErrorCodeSchema: z.ZodEnum<["RUNTIME_INVALID_INPUT", "RUNTIME_MESSAGE_BUS_UNAVAILABLE", "RUNTIME_MESSAGE_SCHEMA_INVALID", "RUNTIME_MESSAGE_DEAD_LETTERED", "RUNTIME_SESSION_QUEUE_CONFLICT", "RUNTIME_SESSION_QUEUE_OVERFLOW", "RUNTIME_FENCING_REJECTED", "RUNTIME_RESOURCE_CONFLICT", "RUNTIME_IDEMPOTENCY_CONFLICT", "RUNTIME_EVENT_STREAM_CORRUPT", "RUNTIME_RECOVERY_REQUIRES_REVIEW", "RUNTIME_RUN_NOT_FOUND",... | Runtime schema for Runtime Error Code. |
runtimePrincipalDefinition | constant | const runtimePrincipalDefinition: SpecSchemaDefinition<RuntimePrincipal> | Runtime Principal Definition constant exported by the contracts/runtime-schemas module. |
runtimePrincipalExample | constant | const runtimePrincipalExample: RuntimePrincipal | Valid example value for Runtime Principal. |
runtimePrincipalJsonSchema | constant | const runtimePrincipalJsonSchema: JsonSchema | JSON Schema for Runtime Principal. |
runtimePrincipalSchema | constant | const runtimePrincipalSchema: z.ZodObject<{ principalId: z.ZodString; type: z.ZodEnum<["user", "agent", "service", "system"]>; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; agentId: z.ZodOptional<z.ZodString>; roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; permissionScopes: z.ZodArray<z.ZodString, "many">; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.Z... | Runtime schema for Runtime Principal. |
runtimePrincipalTypeSchema | constant | const runtimePrincipalTypeSchema: z.ZodEnum<["user", "agent", "service", "system"]> | Runtime schema for Runtime Principal Type. |
runtimeRunDefinition | constant | const runtimeRunDefinition: SpecSchemaDefinition<RuntimeRun> | Runtime Run Definition constant exported by the contracts/runtime-schemas module. |
runtimeRunExample | constant | const runtimeRunExample: RuntimeRun | Valid example value for Runtime Run. |
runtimeRunJsonSchema | constant | const runtimeRunJsonSchema: JsonSchema | JSON Schema for Runtime Run. |
runtimeRunSchema | constant | const runtimeRunSchema: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; workspaceId: z.ZodOptional<z.ZodString>; sessionId: z.ZodString; domainPackRef: z.ZodOptional<z.ZodObject<{ id: z.ZodString; version: z.ZodOptional<z.ZodString>; revision: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; revision?: string | undefined; version?:... | Runtime schema for Runtime Run. |
runtimeRunStatusSchema | constant | const runtimeRunStatusSchema: z.ZodEnum<["created", "queued", "starting", "acquiring", "running", "waiting", "waiting_human", "waiting_signal", "waiting_timer", "pausing", "paused", "retry_scheduled", "recovering", "cancelling", "completed", "failed", "cancelled", "timed_out"]> | Runtime schema for Runtime Run Status. |
runtimeScopeDefinition | constant | const runtimeScopeDefinition: SpecSchemaDefinition<RuntimeScope> | Runtime Scope Definition constant exported by the contracts/runtime-schemas module. |
runtimeScopeExample | constant | const runtimeScopeExample: RuntimeScope | Valid example value for Runtime Scope. |
runtimeScopeJsonSchema | constant | const runtimeScopeJsonSchema: JsonSchema | JSON Schema for Runtime Scope. |
runtimeScopeSchema | constant | const runtimeScopeSchema: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; workspaceId: z.ZodOptional<z.ZodString>; sessionId: z.ZodString; runId: z.ZodString; agentId: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { userId: string; sessionId: string; runId: string; tenantId?: string | undefined; workspaceId?: string | undefined; agentId?: string | undefined; }, { userId: string; s... | Runtime schema for Runtime Scope. |
runtimeSessionDefinition | constant | const runtimeSessionDefinition: SpecSchemaDefinition<RuntimeSession> | Runtime Session Definition constant exported by the contracts/runtime-schemas module. |
runtimeSessionExample | constant | const runtimeSessionExample: RuntimeSession | Valid example value for Runtime Session. |
runtimeSessionJsonSchema | constant | const runtimeSessionJsonSchema: JsonSchema | JSON Schema for Runtime Session. |
runtimeSessionSchema | constant | const runtimeSessionSchema: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; workspaceId: z.ZodOptional<z.ZodString>; domainPackRef: z.ZodOptional<z.ZodObject<{ id: z.ZodString; version: z.ZodOptional<z.ZodString>; revision: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; revision?: string | undefined; version?: string | undefined;... | Runtime schema for Runtime Session. |
runtimeSessionStatusSchema | constant | const runtimeSessionStatusSchema: z.ZodEnum<["active", "closed", "archived"]> | Runtime schema for Runtime Session Status. |
runtimeWaitRecordDefinition | constant | const runtimeWaitRecordDefinition: SpecSchemaDefinition<RuntimeWaitRecord> | Runtime Wait Record Definition constant exported by the contracts/runtime-schemas module. |
runtimeWaitRecordExample | constant | const runtimeWaitRecordExample: RuntimeWaitRecord | Valid example value for Runtime Wait Record. |
runtimeWaitRecordJsonSchema | constant | const runtimeWaitRecordJsonSchema: JsonSchema | JSON Schema for Runtime Wait Record. |
runtimeWaitRecordSchema | constant | const runtimeWaitRecordSchema: z.ZodObject<{ id: z.ZodString; runId: z.ZodString; stateId: z.ZodString; type: z.ZodEnum<["human", "signal", "timer", "external_operation"]>; key: z.ZodOptional<z.ZodString>; status: z.ZodEnum<["waiting", "received", "expired", "cancelled"]>; expectedSchemaHash: z.ZodOptional<z.ZodString>; createdAt: z.ZodString; expiresAt: z.ZodOptional<z.ZodString>; resolvedAt: z.ZodOptional<z.ZodS... | Runtime schema for Runtime Wait Record. |
runtimeWaitRequestDefinition | constant | const runtimeWaitRequestDefinition: SpecSchemaDefinition<RuntimeWaitRequest> | Runtime Wait Request Definition constant exported by the contracts/runtime-schemas module. |
runtimeWaitRequestExample | constant | const runtimeWaitRequestExample: RuntimeWaitRequest | Valid example value for Runtime Wait Request. |
runtimeWaitRequestJsonSchema | constant | const runtimeWaitRequestJsonSchema: JsonSchema | JSON Schema for Runtime Wait Request. |
runtimeWaitRequestSchema | constant | const runtimeWaitRequestSchema: z.ZodEffects<z.ZodObject<{ type: z.ZodEnum<["human", "signal", "timer", "external_operation"]>; key: z.ZodOptional<z.ZodString>; expectedSchema: z.ZodOptional<z.ZodType<JsonSchema, z.ZodTypeDef, JsonSchema>>; expiresAt: z.ZodOptional<z.ZodString>; timeoutTransitionId: z.ZodOptional<z.ZodString>; pendingActionRef: z.ZodOptional<z.ZodString>; metadata: z.ZodOptional<z.ZodRecord<z.ZodS... | Runtime schema for Runtime Wait Request. |
runtimeWaitStatusSchema | constant | const runtimeWaitStatusSchema: z.ZodEnum<["waiting", "received", "expired", "cancelled"]> | Runtime schema for Runtime Wait Status. |
runtimeWaitTypeSchema | constant | const runtimeWaitTypeSchema: z.ZodEnum<["human", "signal", "timer", "external_operation"]> | Runtime schema for Runtime Wait Type. |
validateNormalizedRuntimeError | function | validateNormalizedRuntimeError(input: unknown): NormalizedRuntimeError | Validate Normalized Runtime Error function with 1 public call signature; parameters and return types are listed below. |
validateRunSignalRequest | function | validateRunSignalRequest(input: unknown): RunSignalRequest | Validate Run Signal Request function with 1 public call signature; parameters and return types are listed below. |
validateRuntimePrincipal | function | validateRuntimePrincipal(input: unknown): RuntimePrincipal | Validate Runtime Principal function with 1 public call signature; parameters and return types are listed below. |
validateRuntimeRun | function | validateRuntimeRun(input: unknown): RuntimeRun | Validate Runtime Run function with 1 public call signature; parameters and return types are listed below. |
validateRuntimeScope | function | validateRuntimeScope(input: unknown): RuntimeScope | Validate Runtime Scope function with 1 public call signature; parameters and return types are listed below. |
validateRuntimeSession | function | validateRuntimeSession(input: unknown): RuntimeSession | Validate Runtime Session function with 1 public call signature; parameters and return types are listed below. |
validateRuntimeWaitRecord | function | validateRuntimeWaitRecord(input: unknown): RuntimeWaitRecord | Validate Runtime Wait Record function with 1 public call signature; parameters and return types are listed below. |
validateRuntimeWaitRequest | function | validateRuntimeWaitRequest(input: unknown): RuntimeWaitRequest | Validate Runtime Wait Request function with 1 public call signature; parameters and return types are listed below. |
normalizedRuntimeErrorDefinition
Normalized Runtime Error Definition constant exported by the contracts/runtime-schemas module.
- Kind: constant
- Import:
import { normalizedRuntimeErrorDefinition } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const normalizedRuntimeErrorDefinition: SpecSchemaDefinition<NormalizedRuntimeError>;normalizedRuntimeErrorExample
Valid example value for Normalized Runtime Error.
- Kind: constant
- Import:
import { normalizedRuntimeErrorExample } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const normalizedRuntimeErrorExample: NormalizedRuntimeError;normalizedRuntimeErrorJsonSchema
JSON Schema for Normalized Runtime Error.
- Kind: constant
- Import:
import { normalizedRuntimeErrorJsonSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const normalizedRuntimeErrorJsonSchema: JsonSchema;normalizedRuntimeErrorSchema
Runtime schema for Normalized Runtime Error.
- Kind: constant
- Import:
import { normalizedRuntimeErrorSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const normalizedRuntimeErrorSchema: z.ZodObject<{ code: z.ZodEnum<["RUNTIME_INVALID_INPUT", "RUNTIME_MESSAGE_BUS_UNAVAILABLE", "RUNTIME_MESSAGE_SCHEMA_INVALID", "RUNTIME_MESSAGE_DEAD_LETTERED", "RUNTIME_SESSION_QUEUE_CONFLICT", "RUNTIME_SESSION_QUEUE_OVERFLOW", "RUNTIME_FENCING_REJECTED", "RUNTIME_RESOURCE_CONFLICT", "RUNTIME_IDEMPOTENCY_CONFLICT", "RUNTIME_EVENT_STREAM_CORRUPT", "RUNTIME_RECOVERY_REQUIRES_REVIEW", "RUNTIME_RUN_NOT_FOUND", "RUNTIME_RUN_CONFLICT", "RUNTIME_LEASE_CONFLICT", "RUNTIME_WORKFLOW_INVALID", "RUNTIME_PROCESS_MISMATCH", "RUNTIME_STATE_NOT_FOUND", "RUNTIME_TRANSITION_REJECTED", "RUNTIME_GUARD_FAILED", "RUNTIME_INVARIANT_FAILED", "RUNTIME_STATE_TIMEOUT", "RUNTIME_RUN_TIMEOUT", "RUNTIME_CANCELLED", "RUNTIME_SIGNAL_INVALID", "RUNTIME_SIGNAL_EXPIRED", "RUNTIME_RETRY_EXHAUSTED", "RUNTIME_CHECKPOINT_FAILED", "RUNTIME_EVENT_APPEND_FAILED", "RUNTIME_PROJECTION_FAILED", "RUNTIME_REPLAY_DIVERGENCE", "RUNTIME_INTERNAL_ERROR"]>; message: z.ZodString; retryable: z.ZodBoolean; stateId: z.ZodOptional<z.ZodString>; transitionId: z.ZodOptional<z.ZodString>; details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>>; causeRef: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { code: "RUNTIME_INVALID_INPUT" | "RUNTIME_MESSAGE_BUS_UNAVAILABLE" | "RUNTIME_MESSAGE_SCHEMA_INVALID" | "RUNTIME_MESSAGE_DEAD_LETTERED" | "RUNTIME_SESSION_QUEUE_CONFLICT" | "RUNTIME_SESSION_QUEUE_OVERFLOW" | "RUNTIME_FENCING_REJECTED" | "RUNTIME_RESOURCE_CONFLICT" | "RUNTIME_IDEMPOTENCY_CONFLICT" | "RUNTIME_EVENT_STREAM_CORRUPT" | "RUNTIME_RECOVERY_REQUIRES_REVIEW" | "RUNTIME_RUN_NOT_FOUND" | "RUNTIME_RUN_CONFLICT" | "RUNTIME_LEASE_CONFLICT" | "RUNTIME_WORKFLOW_INVALID" | "RUNTIME_PROCESS_MISMATCH" | "RUNTIME_STATE_NOT_FOUND" | "RUNTIME_TRANSITION_REJECTED" | "RUNTIME_GUARD_FAILED" | "RUNTIME_INVARIANT_FAILED" | "RUNTIME_STATE_TIMEOUT" | "RUNTIME_RUN_TIMEOUT" | "RUNTIME_CANCELLED" | "RUNTIME_SIGNAL_INVALID" | "RUNTIME_SIGNAL_EXPIRED" | "RUNTIME_RETRY_EXHAUSTED" | "RUNTIME_CHECKPOINT_FAILED" | "RUNTIME_EVENT_APPEND_FAILED" | "RUNTIME_PROJECTION_FAILED" | "RUNTIME_REPLAY_DIVERGENCE" | "RUNTIME_INTERNAL_ERROR"; message: string; retryable: boolean; details?: Record<string, JsonValue> | undefined; causeRef?: string | undefined; stateId?: string | undefined; transitionId?: string | undefined; }, { code: "RUNTIME_INVALID_INPUT" | "RUNTIME_MESSAGE_BUS_UNAVAILABLE" | "RUNTIME_MESSAGE_SCHEMA_INVALID" | "RUNTIME_MESSAGE_DEAD_LETTERED" | "RUNTIME_SESSION_QUEUE_CONFLICT" | "RUNTIME_SESSION_QUEUE_OVERFLOW" | "RUNTIME_FENCING_REJECTED" | "RUNTIME_RESOURCE_CONFLICT" | "RUNTIME_IDEMPOTENCY_CONFLICT" | "RUNTIME_EVENT_STREAM_CORRUPT" | "RUNTIME_RECOVERY_REQUIRES_REVIEW" | "RUNTIME_RUN_NOT_FOUND" | "RUNTIME_RUN_CONFLICT" | "RUNTIME_LEASE_CONFLICT" | "RUNTIME_WORKFLOW_INVALID" | "RUNTIME_PROCESS_MISMATCH" | "RUNTIME_STATE_NOT_FOUND" | "RUNTIME_TRANSITION_REJECTED" | "RUNTIME_GUARD_FAILED" | "RUNTIME_INVARIANT_FAILED" | "RUNTIME_STATE_TIMEOUT" | "RUNTIME_RUN_TIMEOUT" | "RUNTIME_CANCELLED" | "RUNTIME_SIGNAL_INVALID" | "RUNTIME_SIGNAL_EXPIRED" | "RUNTIME_RETRY_EXHAUSTED" | "RUNTIME_CHECKPOINT_FAILED" | "RUNTIME_EVENT_APPEND_FAILED" | "RUNTIME_PROJECTION_FAILED" | "RUNTIME_REPLAY_DIVERGENCE" | "RUNTIME_INTERNAL_ERROR"; message: string; retryable: boolean; details?: Record<string, JsonValue> | undefined; causeRef?: string | undefined; stateId?: string | undefined; transitionId?: string | undefined; }>;runSignalRequestDefinition
Run Signal Request Definition constant exported by the contracts/runtime-schemas module.
- Kind: constant
- Import:
import { runSignalRequestDefinition } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runSignalRequestDefinition: SpecSchemaDefinition<RunSignalRequest>;runSignalRequestExample
Valid example value for Run Signal Request.
- Kind: constant
- Import:
import { runSignalRequestExample } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runSignalRequestExample: RunSignalRequest;runSignalRequestJsonSchema
JSON Schema for Run Signal Request.
- Kind: constant
- Import:
import { runSignalRequestJsonSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runSignalRequestJsonSchema: JsonSchema;runSignalRequestSchema
Runtime schema for Run Signal Request.
- Kind: constant
- Import:
import { runSignalRequestSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runSignalRequestSchema: z.ZodObject<{ signalId: z.ZodString; runId: z.ZodString; key: z.ZodString; principal: z.ZodObject<{ principalId: z.ZodString; type: z.ZodEnum<["user", "agent", "service", "system"]>; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; agentId: z.ZodOptional<z.ZodString>; roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; permissionScopes: z.ZodArray<z.ZodString, "many">; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>>; }, "strict", z.ZodTypeAny, { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; tenantId?: string | undefined; userId?: string | undefined; agentId?: string | undefined; metadata?: Record<string, JsonValue> | undefined; roles?: string[] | undefined; }, { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; tenantId?: string | undefined; userId?: string | undefined; agentId?: string | undefined; metadata?: Record<string, JsonValue> | undefined; roles?: string[] | undefined; }>; payload: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>; idempotencyKey: z.ZodOptional<z.ZodString>; sentAt: z.ZodString; }, "strict", z.ZodTypeAny, { runId: string; principal: { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; tenantId?: string | undefined; userId?: string | undefined; agentId?: string | undefined; metadata?: Record<string, JsonValue> | undefined; roles?: string[] | undefined; }; payload: JsonValue; key: string; signalId: string; sentAt: string; idempotencyKey?: string | undefined; }, { runId: string; principal: { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; tenantId?: string | undefined; userId?: string | undefined; agentId?: string | undefined; metadata?: Record<string, JsonValue> | undefined; roles?: string[] | undefined; }; payload: JsonValue; key: string; signalId: string; sentAt: string; idempotencyKey?: string | undefined; }>;runtimeContractDefinitions
Runtime Contract Definitions constant exported by the contracts/runtime-schemas module.
- Kind: constant
- Import:
import { runtimeContractDefinitions } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeContractDefinitions: readonly [SpecSchemaDefinition<RuntimeScope>, SpecSchemaDefinition<RuntimePrincipal>, SpecSchemaDefinition<NormalizedRuntimeError>, SpecSchemaDefinition<RuntimeSession>, SpecSchemaDefinition<RuntimeRun>, SpecSchemaDefinition<RuntimeWaitRequest>, SpecSchemaDefinition<RuntimeWaitRecord>, SpecSchemaDefinition<RunSignalRequest>];runtimeContractJsonSchemas
Runtime Contract JSON Schemas constant exported by the contracts/runtime-schemas module.
- Kind: constant
- Import:
import { runtimeContractJsonSchemas } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeContractJsonSchemas: Record<string, JsonSchema>;runtimeErrorCodeSchema
Runtime schema for Runtime Error Code.
- Kind: constant
- Import:
import { runtimeErrorCodeSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeErrorCodeSchema: z.ZodEnum<["RUNTIME_INVALID_INPUT", "RUNTIME_MESSAGE_BUS_UNAVAILABLE", "RUNTIME_MESSAGE_SCHEMA_INVALID", "RUNTIME_MESSAGE_DEAD_LETTERED", "RUNTIME_SESSION_QUEUE_CONFLICT", "RUNTIME_SESSION_QUEUE_OVERFLOW", "RUNTIME_FENCING_REJECTED", "RUNTIME_RESOURCE_CONFLICT", "RUNTIME_IDEMPOTENCY_CONFLICT", "RUNTIME_EVENT_STREAM_CORRUPT", "RUNTIME_RECOVERY_REQUIRES_REVIEW", "RUNTIME_RUN_NOT_FOUND", "RUNTIME_RUN_CONFLICT", "RUNTIME_LEASE_CONFLICT", "RUNTIME_WORKFLOW_INVALID", "RUNTIME_PROCESS_MISMATCH", "RUNTIME_STATE_NOT_FOUND", "RUNTIME_TRANSITION_REJECTED", "RUNTIME_GUARD_FAILED", "RUNTIME_INVARIANT_FAILED", "RUNTIME_STATE_TIMEOUT", "RUNTIME_RUN_TIMEOUT", "RUNTIME_CANCELLED", "RUNTIME_SIGNAL_INVALID", "RUNTIME_SIGNAL_EXPIRED", "RUNTIME_RETRY_EXHAUSTED", "RUNTIME_CHECKPOINT_FAILED", "RUNTIME_EVENT_APPEND_FAILED", "RUNTIME_PROJECTION_FAILED", "RUNTIME_REPLAY_DIVERGENCE", "RUNTIME_INTERNAL_ERROR"]>;runtimePrincipalDefinition
Runtime Principal Definition constant exported by the contracts/runtime-schemas module.
- Kind: constant
- Import:
import { runtimePrincipalDefinition } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimePrincipalDefinition: SpecSchemaDefinition<RuntimePrincipal>;runtimePrincipalExample
Valid example value for Runtime Principal.
- Kind: constant
- Import:
import { runtimePrincipalExample } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimePrincipalExample: RuntimePrincipal;runtimePrincipalJsonSchema
JSON Schema for Runtime Principal.
- Kind: constant
- Import:
import { runtimePrincipalJsonSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimePrincipalJsonSchema: JsonSchema;runtimePrincipalSchema
Runtime schema for Runtime Principal.
- Kind: constant
- Import:
import { runtimePrincipalSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimePrincipalSchema: z.ZodObject<{ principalId: z.ZodString; type: z.ZodEnum<["user", "agent", "service", "system"]>; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; agentId: z.ZodOptional<z.ZodString>; roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; permissionScopes: z.ZodArray<z.ZodString, "many">; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>>; }, "strict", z.ZodTypeAny, { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; tenantId?: string | undefined; userId?: string | undefined; agentId?: string | undefined; metadata?: Record<string, JsonValue> | undefined; roles?: string[] | undefined; }, { type: "user" | "agent" | "service" | "system"; principalId: string; permissionScopes: string[]; tenantId?: string | undefined; userId?: string | undefined; agentId?: string | undefined; metadata?: Record<string, JsonValue> | undefined; roles?: string[] | undefined; }>;runtimePrincipalTypeSchema
Runtime schema for Runtime Principal Type.
- Kind: constant
- Import:
import { runtimePrincipalTypeSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimePrincipalTypeSchema: z.ZodEnum<["user", "agent", "service", "system"]>;runtimeRunDefinition
Runtime Run Definition constant exported by the contracts/runtime-schemas module.
- Kind: constant
- Import:
import { runtimeRunDefinition } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeRunDefinition: SpecSchemaDefinition<RuntimeRun>;runtimeRunExample
Valid example value for Runtime Run.
- Kind: constant
- Import:
import { runtimeRunExample } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeRunExample: RuntimeRun;runtimeRunJsonSchema
JSON Schema for Runtime Run.
- Kind: constant
- Import:
import { runtimeRunJsonSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeRunJsonSchema: JsonSchema;runtimeRunSchema
Runtime schema for Runtime Run.
- Kind: constant
- Import:
import { runtimeRunSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
// Exact type resolved from the package entrypoint; see source for the compiler expansion.
export declare const runtimeRunSchema: (typeof import('@codesoul-co/hypha-core'))['runtimeRunSchema'];This compiler-expanded constant type is compacted. Its public name, top-level type, and source location remain here; use the module’s exported interfaces, types, or runtime schema for input/output fields.
runtimeRunStatusSchema
Runtime schema for Runtime Run Status.
- Kind: constant
- Import:
import { runtimeRunStatusSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeRunStatusSchema: z.ZodEnum<["created", "queued", "starting", "acquiring", "running", "waiting", "waiting_human", "waiting_signal", "waiting_timer", "pausing", "paused", "retry_scheduled", "recovering", "cancelling", "completed", "failed", "cancelled", "timed_out"]>;runtimeScopeDefinition
Runtime Scope Definition constant exported by the contracts/runtime-schemas module.
- Kind: constant
- Import:
import { runtimeScopeDefinition } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeScopeDefinition: SpecSchemaDefinition<RuntimeScope>;runtimeScopeExample
Valid example value for Runtime Scope.
- Kind: constant
- Import:
import { runtimeScopeExample } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeScopeExample: RuntimeScope;runtimeScopeJsonSchema
JSON Schema for Runtime Scope.
- Kind: constant
- Import:
import { runtimeScopeJsonSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeScopeJsonSchema: JsonSchema;runtimeScopeSchema
Runtime schema for Runtime Scope.
- Kind: constant
- Import:
import { runtimeScopeSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeScopeSchema: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; workspaceId: z.ZodOptional<z.ZodString>; sessionId: z.ZodString; runId: z.ZodString; agentId: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { userId: string; sessionId: string; runId: string; tenantId?: string | undefined; workspaceId?: string | undefined; agentId?: string | undefined; }, { userId: string; sessionId: string; runId: string; tenantId?: string | undefined; workspaceId?: string | undefined; agentId?: string | undefined; }>;runtimeSessionDefinition
Runtime Session Definition constant exported by the contracts/runtime-schemas module.
- Kind: constant
- Import:
import { runtimeSessionDefinition } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeSessionDefinition: SpecSchemaDefinition<RuntimeSession>;runtimeSessionExample
Valid example value for Runtime Session.
- Kind: constant
- Import:
import { runtimeSessionExample } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeSessionExample: RuntimeSession;runtimeSessionJsonSchema
JSON Schema for Runtime Session.
- Kind: constant
- Import:
import { runtimeSessionJsonSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeSessionJsonSchema: JsonSchema;runtimeSessionSchema
Runtime schema for Runtime Session.
- Kind: constant
- Import:
import { runtimeSessionSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeSessionSchema: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; workspaceId: z.ZodOptional<z.ZodString>; domainPackRef: z.ZodOptional<z.ZodObject<{ id: z.ZodString; version: z.ZodOptional<z.ZodString>; revision: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; revision?: string | undefined; version?: string | undefined; }, { id: string; revision?: string | undefined; version?: string | undefined; }>>; sessionProfileRef: z.ZodOptional<z.ZodObject<{ id: z.ZodString; version: z.ZodOptional<z.ZodString>; revision: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; revision?: string | undefined; version?: string | undefined; }, { id: string; revision?: string | undefined; version?: string | undefined; }>>; title: z.ZodOptional<z.ZodString>; metadata: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>; status: z.ZodEnum<["active", "closed", "archived"]>; createdAt: z.ZodString; updatedAt: z.ZodString; closedAt: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { id: string; revision: number; userId: string; status: "archived" | "active" | "closed"; metadata: Record<string, JsonValue>; createdAt: string; updatedAt: string; tenantId?: string | undefined; workspaceId?: string | undefined; domainPackRef?: { id: string; revision?: string | undefined; version?: string | undefined; } | undefined; sessionProfileRef?: { id: string; revision?: string | undefined; version?: string | undefined; } | undefined; closedAt?: string | undefined; title?: string | undefined; }, { id: string; revision: number; userId: string; status: "archived" | "active" | "closed"; metadata: Record<string, JsonValue>; createdAt: string; updatedAt: string; tenantId?: string | undefined; workspaceId?: string | undefined; domainPackRef?: { id: string; revision?: string | undefined; version?: string | undefined; } | undefined; sessionProfileRef?: { id: string; revision?: string | undefined; version?: string | undefined; } | undefined; closedAt?: string | undefined; title?: string | undefined; }>;runtimeSessionStatusSchema
Runtime schema for Runtime Session Status.
- Kind: constant
- Import:
import { runtimeSessionStatusSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeSessionStatusSchema: z.ZodEnum<["active", "closed", "archived"]>;runtimeWaitRecordDefinition
Runtime Wait Record Definition constant exported by the contracts/runtime-schemas module.
- Kind: constant
- Import:
import { runtimeWaitRecordDefinition } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeWaitRecordDefinition: SpecSchemaDefinition<RuntimeWaitRecord>;runtimeWaitRecordExample
Valid example value for Runtime Wait Record.
- Kind: constant
- Import:
import { runtimeWaitRecordExample } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeWaitRecordExample: RuntimeWaitRecord;runtimeWaitRecordJsonSchema
JSON Schema for Runtime Wait Record.
- Kind: constant
- Import:
import { runtimeWaitRecordJsonSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeWaitRecordJsonSchema: JsonSchema;runtimeWaitRecordSchema
Runtime schema for Runtime Wait Record.
- Kind: constant
- Import:
import { runtimeWaitRecordSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeWaitRecordSchema: z.ZodObject<{ id: z.ZodString; runId: z.ZodString; stateId: z.ZodString; type: z.ZodEnum<["human", "signal", "timer", "external_operation"]>; key: z.ZodOptional<z.ZodString>; status: z.ZodEnum<["waiting", "received", "expired", "cancelled"]>; expectedSchemaHash: z.ZodOptional<z.ZodString>; createdAt: z.ZodString; expiresAt: z.ZodOptional<z.ZodString>; resolvedAt: z.ZodOptional<z.ZodString>; signalRef: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { id: string; runId: string; status: "received" | "expired" | "cancelled" | "waiting"; type: "signal" | "human" | "timer" | "external_operation"; createdAt: string; stateId: string; expiresAt?: string | undefined; key?: string | undefined; resolvedAt?: string | undefined; expectedSchemaHash?: string | undefined; signalRef?: string | undefined; }, { id: string; runId: string; status: "received" | "expired" | "cancelled" | "waiting"; type: "signal" | "human" | "timer" | "external_operation"; createdAt: string; stateId: string; expiresAt?: string | undefined; key?: string | undefined; resolvedAt?: string | undefined; expectedSchemaHash?: string | undefined; signalRef?: string | undefined; }>;runtimeWaitRequestDefinition
Runtime Wait Request Definition constant exported by the contracts/runtime-schemas module.
- Kind: constant
- Import:
import { runtimeWaitRequestDefinition } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeWaitRequestDefinition: SpecSchemaDefinition<RuntimeWaitRequest>;runtimeWaitRequestExample
Valid example value for Runtime Wait Request.
- Kind: constant
- Import:
import { runtimeWaitRequestExample } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeWaitRequestExample: RuntimeWaitRequest;runtimeWaitRequestJsonSchema
JSON Schema for Runtime Wait Request.
- Kind: constant
- Import:
import { runtimeWaitRequestJsonSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeWaitRequestJsonSchema: JsonSchema;runtimeWaitRequestSchema
Runtime schema for Runtime Wait Request.
- Kind: constant
- Import:
import { runtimeWaitRequestSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeWaitRequestSchema: z.ZodEffects<z.ZodObject<{ type: z.ZodEnum<["human", "signal", "timer", "external_operation"]>; key: z.ZodOptional<z.ZodString>; expectedSchema: z.ZodOptional<z.ZodType<JsonSchema, z.ZodTypeDef, JsonSchema>>; expiresAt: z.ZodOptional<z.ZodString>; timeoutTransitionId: z.ZodOptional<z.ZodString>; pendingActionRef: z.ZodOptional<z.ZodString>; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>>; }, "strict", z.ZodTypeAny, { type: "signal" | "human" | "timer" | "external_operation"; metadata?: Record<string, JsonValue> | undefined; expiresAt?: string | undefined; key?: string | undefined; pendingActionRef?: string | undefined; expectedSchema?: JsonSchema | undefined; timeoutTransitionId?: string | undefined; }, { type: "signal" | "human" | "timer" | "external_operation"; metadata?: Record<string, JsonValue> | undefined; expiresAt?: string | undefined; key?: string | undefined; pendingActionRef?: string | undefined; expectedSchema?: JsonSchema | undefined; timeoutTransitionId?: string | undefined; }>, { type: "signal" | "human" | "timer" | "external_operation"; metadata?: Record<string, JsonValue> | undefined; expiresAt?: string | undefined; key?: string | undefined; pendingActionRef?: string | undefined; expectedSchema?: JsonSchema | undefined; timeoutTransitionId?: string | undefined; }, { type: "signal" | "human" | "timer" | "external_operation"; metadata?: Record<string, JsonValue> | undefined; expiresAt?: string | undefined; key?: string | undefined; pendingActionRef?: string | undefined; expectedSchema?: JsonSchema | undefined; timeoutTransitionId?: string | undefined; }>;runtimeWaitStatusSchema
Runtime schema for Runtime Wait Status.
- Kind: constant
- Import:
import { runtimeWaitStatusSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeWaitStatusSchema: z.ZodEnum<["waiting", "received", "expired", "cancelled"]>;runtimeWaitTypeSchema
Runtime schema for Runtime Wait Type.
- Kind: constant
- Import:
import { runtimeWaitTypeSchema } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare const runtimeWaitTypeSchema: z.ZodEnum<["human", "signal", "timer", "external_operation"]>;validateNormalizedRuntimeError
Validate Normalized Runtime Error function with 1 public call signature; parameters and return types are listed below.
- Kind: function
- Import:
import { validateNormalizedRuntimeError } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare function validateNormalizedRuntimeError(input: unknown): NormalizedRuntimeError;Call signature
validateNormalizedRuntimeError(input: unknown): NormalizedRuntimeErrorParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
input | unknown | Yes | Required parameter; accepted values are defined by the type column. |
Returns
- Type:
NormalizedRuntimeError - Description: The return contract is defined by the type shown above.
validateRunSignalRequest
Validate Run Signal Request function with 1 public call signature; parameters and return types are listed below.
- Kind: function
- Import:
import { validateRunSignalRequest } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare function validateRunSignalRequest(input: unknown): RunSignalRequest;Call signature
validateRunSignalRequest(input: unknown): RunSignalRequestParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
input | unknown | Yes | Required parameter; accepted values are defined by the type column. |
Returns
- Type:
RunSignalRequest - Description: The return contract is defined by the type shown above.
validateRuntimePrincipal
Validate Runtime Principal function with 1 public call signature; parameters and return types are listed below.
- Kind: function
- Import:
import { validateRuntimePrincipal } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare function validateRuntimePrincipal(input: unknown): RuntimePrincipal;Call signature
validateRuntimePrincipal(input: unknown): RuntimePrincipalParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
input | unknown | Yes | Required parameter; accepted values are defined by the type column. |
Returns
- Type:
RuntimePrincipal - Description: The return contract is defined by the type shown above.
validateRuntimeRun
Validate Runtime Run function with 1 public call signature; parameters and return types are listed below.
- Kind: function
- Import:
import { validateRuntimeRun } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare function validateRuntimeRun(input: unknown): RuntimeRun;Call signature
validateRuntimeRun(input: unknown): RuntimeRunParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
input | unknown | Yes | Required parameter; accepted values are defined by the type column. |
Returns
- Type:
RuntimeRun - Description: The return contract is defined by the type shown above.
validateRuntimeScope
Validate Runtime Scope function with 1 public call signature; parameters and return types are listed below.
- Kind: function
- Import:
import { validateRuntimeScope } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare function validateRuntimeScope(input: unknown): RuntimeScope;Call signature
validateRuntimeScope(input: unknown): RuntimeScopeParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
input | unknown | Yes | Required parameter; accepted values are defined by the type column. |
Returns
- Type:
RuntimeScope - Description: The return contract is defined by the type shown above.
validateRuntimeSession
Validate Runtime Session function with 1 public call signature; parameters and return types are listed below.
- Kind: function
- Import:
import { validateRuntimeSession } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare function validateRuntimeSession(input: unknown): RuntimeSession;Call signature
validateRuntimeSession(input: unknown): RuntimeSessionParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
input | unknown | Yes | Required parameter; accepted values are defined by the type column. |
Returns
- Type:
RuntimeSession - Description: The return contract is defined by the type shown above.
validateRuntimeWaitRecord
Validate Runtime Wait Record function with 1 public call signature; parameters and return types are listed below.
- Kind: function
- Import:
import { validateRuntimeWaitRecord } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare function validateRuntimeWaitRecord(input: unknown): RuntimeWaitRecord;Call signature
validateRuntimeWaitRecord(input: unknown): RuntimeWaitRecordParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
input | unknown | Yes | Required parameter; accepted values are defined by the type column. |
Returns
- Type:
RuntimeWaitRecord - Description: The return contract is defined by the type shown above.
validateRuntimeWaitRequest
Validate Runtime Wait Request function with 1 public call signature; parameters and return types are listed below.
- Kind: function
- Import:
import { validateRuntimeWaitRequest } from '@codesoul-co/hypha-core'; - Source module:
contracts/runtime-schemas
Declaration
export declare function validateRuntimeWaitRequest(input: unknown): RuntimeWaitRequest;Call signature
validateRuntimeWaitRequest(input: unknown): RuntimeWaitRequestParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
input | unknown | Yes | Required parameter; accepted values are defined by the type column. |
Returns
- Type:
RuntimeWaitRequest - Description: The return contract is defined by the type shown above.
