Skip to content

@codesoul-co/hypha-core / modules/execution-store/index

Using this module

Use the Index module for persisting and reading data at this boundary. It exports 37 constants, 11 functions.

Import from the package entrypoint

ts
import {
  executionIdempotencyQueryJsonSchema,
  executionIdempotencyQuerySchema,
  executionIdempotencyResolutionJsonSchema,
  executionIdempotencyResolutionSchema,
  executionLeaseAcquireRequestExample,
  executionLeaseAcquireRequestJsonSchema,
  executionLeaseAcquireRequestSchema,
  executionLeaseExample,
} from '@codesoul-co/hypha-core';

// The complete export list is documented below.

Usage patterns

  • The module exposes 11 functions as direct operation entrypoints. Every overload, required/optional parameter, and return type is documented below.
  • The 37 constant/enum exports provide stable values, schemas, definitions, or defaults. Reuse these exports instead of copying internal values into an application.

Runtime validation example

ts
import { executionIdempotencyQuerySchema } from '@codesoul-co/hypha-core';

declare function loadExternalInput(): unknown;
const input: unknown = loadExternalInput();
const parsed = executionIdempotencyQuerySchema.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

SymbolKindSignatureDescription
executionIdempotencyQueryJsonSchemaconstantconst executionIdempotencyQueryJsonSchema: JsonSchemaJSON Schema for Execution Idempotency Query.
executionIdempotencyQuerySchemaconstantconst executionIdempotencyQuerySchema: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; workspaceId: z.ZodString; idempotencyKey: z.ZodString; fingerprint: z.ZodString; }, "strict", z.ZodTypeAny, { workspaceId: string; userId: string; idempotencyKey: string; fingerprint: string; tenantId?: string | undefined; }, { workspaceId: string; userId: string; idempotencyKey: string; fingerprint: str...Runtime schema for Execution Idempotency Query.
executionIdempotencyResolutionJsonSchemaconstantconst executionIdempotencyResolutionJsonSchema: JsonSchemaJSON Schema for Execution Idempotency Resolution.
executionIdempotencyResolutionSchemaconstantconst executionIdempotencyResolutionSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ status: z.ZodLiteral<"miss">; }, "strict", z.ZodTypeAny, { status: "miss"; }, { status: "miss"; }>, z.ZodObject<{ status: z.ZodLiteral<"match">; record: z.ZodEffects<z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; request: z.ZodEffects<z.ZodObject<{ executionId: z.ZodOptional<z.ZodString>; operationId: z.ZodString; p...Runtime schema for Execution Idempotency Resolution.
executionLeaseAcquireRequestExampleconstantconst executionLeaseAcquireRequestExample: ExecutionLeaseAcquireRequestValid example value for Execution Lease Acquire Request.
executionLeaseAcquireRequestJsonSchemaconstantconst executionLeaseAcquireRequestJsonSchema: JsonSchemaJSON Schema for Execution Lease Acquire Request.
executionLeaseAcquireRequestSchemaconstantconst executionLeaseAcquireRequestSchema: z.ZodObject<{ operationId: z.ZodString; executionId: z.ZodString; expectedRevision: z.ZodNumber; requestedLeaseId: z.ZodString; ownerId: z.ZodString; ttlMs: z.ZodNumber; acquiredAt: z.ZodString; idempotencyKey: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { operationId: string; executionId: string; ownerId: string; expectedRevision: number; acquiredAt: string; re...Runtime schema for Execution Lease Acquire Request.
executionLeaseExampleconstantconst executionLeaseExample: ExecutionLeaseValid example value for Execution Lease.
executionLeaseGuardExampleconstantconst executionLeaseGuardExample: ExecutionLeaseGuardValid example value for Execution Lease Guard.
executionLeaseGuardJsonSchemaconstantconst executionLeaseGuardJsonSchema: JsonSchemaJSON Schema for Execution Lease Guard.
executionLeaseGuardSchemaconstantconst executionLeaseGuardSchema: z.ZodObject<{ leaseId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; }, "strict", z.ZodTypeAny, { fencingToken: number; ownerId: string; leaseId: string; }, { fencingToken: number; ownerId: string; leaseId: string; }>Runtime schema for Execution Lease Guard.
executionLeaseJsonSchemaconstantconst executionLeaseJsonSchema: JsonSchemaJSON Schema for Execution Lease.
executionLeaseReleaseRequestExampleconstantconst executionLeaseReleaseRequestExample: ExecutionLeaseReleaseRequestValid example value for Execution Lease Release Request.
executionLeaseReleaseRequestJsonSchemaconstantconst executionLeaseReleaseRequestJsonSchema: JsonSchemaJSON Schema for Execution Lease Release Request.
executionLeaseReleaseRequestSchemaconstantconst executionLeaseReleaseRequestSchema: z.ZodObject<{ operationId: z.ZodString; executionId: z.ZodString; expectedRevision: z.ZodNumber; leaseGuard: z.ZodObject<{ leaseId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; }, "strict", z.ZodTypeAny, { fencingToken: number; ownerId: string; leaseId: string; }, { fencingToken: number; ownerId: string; leaseId: string; }>; releasedAt: z.ZodString; reason...Runtime schema for Execution Lease Release Request.
executionLeaseRenewRequestExampleconstantconst executionLeaseRenewRequestExample: ExecutionLeaseRenewRequestValid example value for Execution Lease Renew Request.
executionLeaseRenewRequestJsonSchemaconstantconst executionLeaseRenewRequestJsonSchema: JsonSchemaJSON Schema for Execution Lease Renew Request.
executionLeaseRenewRequestSchemaconstantconst executionLeaseRenewRequestSchema: z.ZodObject<{ operationId: z.ZodString; executionId: z.ZodString; expectedRevision: z.ZodNumber; leaseGuard: z.ZodObject<{ leaseId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; }, "strict", z.ZodTypeAny, { fencingToken: number; ownerId: string; leaseId: string; }, { fencingToken: number; ownerId: string; leaseId: string; }>; ttlMs: z.ZodNumber; heartbeatAt: ...Runtime schema for Execution Lease Renew Request.
executionLeaseSchemaconstantconst executionLeaseSchema: z.ZodEffects<z.ZodObject<{ id: z.ZodString; executionId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; acquiredAt: z.ZodString; expiresAt: z.ZodString; heartbeatAt: z.ZodString; }, "strict", z.ZodTypeAny, { id: string; executionId: string; expiresAt: string; fencingToken: number; ownerId: string; acquiredAt: string; heartbeatAt: string; }, { id: string; executionId: stri...Runtime schema for Execution Lease.
executionRecordCompareAndSetRequestExampleconstantconst executionRecordCompareAndSetRequestExample: ExecutionRecordCompareAndSetRequestValid example value for Execution Record Compare And Set Request.
executionRecordCompareAndSetRequestJsonSchemaconstantconst executionRecordCompareAndSetRequestJsonSchema: JsonSchemaJSON Schema for Execution Record Compare And Set Request.
executionRecordCompareAndSetRequestSchemaconstantconst executionRecordCompareAndSetRequestSchema: z.ZodEffects<z.ZodObject<{ operationId: z.ZodString; executionId: z.ZodString; expectedRevision: z.ZodNumber; leaseGuard: z.ZodOptional<z.ZodObject<{ leaseId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; }, "strict", z.ZodTypeAny, { fencingToken: number; ownerId: string; leaseId: string; }, { fencingToken: number; ownerId: string; leaseId: string; }...Runtime schema for Execution Record Compare And Set Request.
executionRecordCreateRequestExampleconstantconst executionRecordCreateRequestExample: ExecutionRecordCreateRequestValid example value for Execution Record Create Request.
executionRecordCreateRequestJsonSchemaconstantconst executionRecordCreateRequestJsonSchema: JsonSchemaJSON Schema for Execution Record Create Request.
executionRecordCreateRequestSchemaconstantconst executionRecordCreateRequestSchema: z.ZodEffects<z.ZodObject<{ operationId: z.ZodString; record: z.ZodEffects<z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; request: z.ZodEffects<z.ZodObject<{ executionId: z.ZodOptional<z.ZodString>; operationId: z.ZodString; principal: z.ZodObject<{ principalId: z.ZodString; type: z.ZodEnum<["user", "agent", "service", "system"]>; tenantId: z.ZodOptional<z.ZodString>...Runtime schema for Execution Record Create Request.
executionRecordExampleconstantconst executionRecordExample: ExecutionRecordValid example value for Execution Record.
executionRecordJsonSchemaconstantconst executionRecordJsonSchema: JsonSchemaJSON Schema for Execution Record.
executionRecordPageJsonSchemaconstantconst executionRecordPageJsonSchema: JsonSchemaJSON Schema for Execution Record Page.
executionRecordPageSchemaconstantconst executionRecordPageSchema: z.ZodObject<{ records: z.ZodArray<z.ZodEffects<z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; request: z.ZodEffects<z.ZodObject<{ executionId: z.ZodOptional<z.ZodString>; operationId: 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>...Runtime schema for Execution Record Page.
executionRecordQueryJsonSchemaconstantconst executionRecordQueryJsonSchema: JsonSchemaJSON Schema for Execution Record Query.
executionRecordQuerySchemaconstantconst executionRecordQuerySchema: z.ZodEffects<z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; workspaceId: z.ZodOptional<z.ZodString>; runId: z.ZodOptional<z.ZodString>; providerId: z.ZodOptional<z.ZodString>; statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["queued", "starting", "running", "cancelling", "cancelled", "completed", "failed", "timed_out", "oom_killed", "resource_...Runtime schema for Execution Record Query.
executionRecordSchemaconstantconst executionRecordSchema: z.ZodEffects<z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; request: z.ZodEffects<z.ZodObject<{ executionId: z.ZodOptional<z.ZodString>; operationId: 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>;...Runtime schema for Execution Record.
executionRecoveryAssessmentExampleconstantconst executionRecoveryAssessmentExample: ExecutionRecoveryAssessmentValid example value for Execution Recovery Assessment.
executionRecoveryAssessmentJsonSchemaconstantconst executionRecoveryAssessmentJsonSchema: JsonSchemaJSON Schema for Execution Recovery Assessment.
executionRecoveryAssessmentSchemaconstantconst executionRecoveryAssessmentSchema: z.ZodEffects<z.ZodObject<{ executionId: z.ZodString; recordRevision: z.ZodNumber; disposition: z.ZodEnum<["not_started", "provider_queryable", "provider_completed_result_missing", "provider_state_unknown"]>; assessedAt: z.ZodString; providerStatusRef: z.ZodOptional<z.ZodString>; reason: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { executionId: string; dispositio...Runtime schema for Execution Recovery Assessment.
executionRecoveryDispositionSchemaconstantconst executionRecoveryDispositionSchema: z.ZodEnum<["not_started", "provider_queryable", "provider_completed_result_missing", "provider_state_unknown"]>Runtime schema for Execution Recovery Disposition.
executionStoreJsonSchemasconstantconst executionStoreJsonSchemas: Record<string, JsonSchema>Execution Store JSON Schemas constant exported by the modules/execution-store/index module.
validateExecutionIdempotencyQueryfunctionvalidateExecutionIdempotencyQuery(input: unknown): ExecutionIdempotencyQueryValidate Execution Idempotency Query function with 1 public call signature; parameters and return types are listed below.
validateExecutionIdempotencyResolutionfunctionvalidateExecutionIdempotencyResolution(input: unknown): ExecutionIdempotencyResolutionValidate Execution Idempotency Resolution function with 1 public call signature; parameters and return types are listed below.
validateExecutionLeasefunctionvalidateExecutionLease(input: unknown): ExecutionLeaseValidate Execution Lease function with 1 public call signature; parameters and return types are listed below.
validateExecutionLeaseAcquireRequestfunctionvalidateExecutionLeaseAcquireRequest(input: unknown): ExecutionLeaseAcquireRequestValidate Execution Lease Acquire Request function with 1 public call signature; parameters and return types are listed below.
validateExecutionLeaseReleaseRequestfunctionvalidateExecutionLeaseReleaseRequest(input: unknown): ExecutionLeaseReleaseRequestValidate Execution Lease Release Request function with 1 public call signature; parameters and return types are listed below.
validateExecutionLeaseRenewRequestfunctionvalidateExecutionLeaseRenewRequest(input: unknown): ExecutionLeaseRenewRequestValidate Execution Lease Renew Request function with 1 public call signature; parameters and return types are listed below.
validateExecutionRecordfunctionvalidateExecutionRecord(input: unknown): ExecutionRecordValidate Execution Record function with 1 public call signature; parameters and return types are listed below.
validateExecutionRecordCompareAndSetRequestfunctionvalidateExecutionRecordCompareAndSetRequest(input: unknown): ExecutionRecordCompareAndSetRequestValidate Execution Record Compare And Set Request function with 1 public call signature; parameters and return types are listed below.
validateExecutionRecordCreateRequestfunctionvalidateExecutionRecordCreateRequest(input: unknown): ExecutionRecordCreateRequestValidate Execution Record Create Request function with 1 public call signature; parameters and return types are listed below.
validateExecutionRecordQueryfunctionvalidateExecutionRecordQuery(input: unknown): ExecutionRecordQueryValidate Execution Record Query function with 1 public call signature; parameters and return types are listed below.
validateExecutionRecoveryAssessmentfunctionvalidateExecutionRecoveryAssessment(input: unknown): ExecutionRecoveryAssessmentValidate Execution Recovery Assessment function with 1 public call signature; parameters and return types are listed below.

executionIdempotencyQueryJsonSchema

JSON Schema for Execution Idempotency Query.

Declaration

text
export declare const executionIdempotencyQueryJsonSchema: JsonSchema;

executionIdempotencyQuerySchema

Runtime schema for Execution Idempotency Query.

Declaration

text
export declare const executionIdempotencyQuerySchema: z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodString; workspaceId: z.ZodString; idempotencyKey: z.ZodString; fingerprint: z.ZodString; }, "strict", z.ZodTypeAny, { workspaceId: string; userId: string; idempotencyKey: string; fingerprint: string; tenantId?: string | undefined; }, { workspaceId: string; userId: string; idempotencyKey: string; fingerprint: string; tenantId?: string | undefined; }>;

executionIdempotencyResolutionJsonSchema

JSON Schema for Execution Idempotency Resolution.

  • Kind: constant
  • Import: import { executionIdempotencyResolutionJsonSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
export declare const executionIdempotencyResolutionJsonSchema: JsonSchema;

executionIdempotencyResolutionSchema

Runtime schema for Execution Idempotency Resolution.

  • Kind: constant
  • Import: import { executionIdempotencyResolutionSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
// Exact type resolved from the package entrypoint; see source for the compiler expansion.
export declare const executionIdempotencyResolutionSchema: (typeof import('@codesoul-co/hypha-core'))['executionIdempotencyResolutionSchema'];

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.

executionLeaseAcquireRequestExample

Valid example value for Execution Lease Acquire Request.

Declaration

text
export declare const executionLeaseAcquireRequestExample: ExecutionLeaseAcquireRequest;

executionLeaseAcquireRequestJsonSchema

JSON Schema for Execution Lease Acquire Request.

  • Kind: constant
  • Import: import { executionLeaseAcquireRequestJsonSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
export declare const executionLeaseAcquireRequestJsonSchema: JsonSchema;

executionLeaseAcquireRequestSchema

Runtime schema for Execution Lease Acquire Request.

Declaration

text
export declare const executionLeaseAcquireRequestSchema: z.ZodObject<{ operationId: z.ZodString; executionId: z.ZodString; expectedRevision: z.ZodNumber; requestedLeaseId: z.ZodString; ownerId: z.ZodString; ttlMs: z.ZodNumber; acquiredAt: z.ZodString; idempotencyKey: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { operationId: string; executionId: string; ownerId: string; expectedRevision: number; acquiredAt: string; requestedLeaseId: string; ttlMs: number; idempotencyKey?: string | undefined; }, { operationId: string; executionId: string; ownerId: string; expectedRevision: number; acquiredAt: string; requestedLeaseId: string; ttlMs: number; idempotencyKey?: string | undefined; }>;

executionLeaseExample

Valid example value for Execution Lease.

Declaration

text
export declare const executionLeaseExample: ExecutionLease;

executionLeaseGuardExample

Valid example value for Execution Lease Guard.

Declaration

text
export declare const executionLeaseGuardExample: ExecutionLeaseGuard;

executionLeaseGuardJsonSchema

JSON Schema for Execution Lease Guard.

Declaration

text
export declare const executionLeaseGuardJsonSchema: JsonSchema;

executionLeaseGuardSchema

Runtime schema for Execution Lease Guard.

Declaration

text
export declare const executionLeaseGuardSchema: z.ZodObject<{ leaseId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; }, "strict", z.ZodTypeAny, { fencingToken: number; ownerId: string; leaseId: string; }, { fencingToken: number; ownerId: string; leaseId: string; }>;

executionLeaseJsonSchema

JSON Schema for Execution Lease.

Declaration

text
export declare const executionLeaseJsonSchema: JsonSchema;

executionLeaseReleaseRequestExample

Valid example value for Execution Lease Release Request.

Declaration

text
export declare const executionLeaseReleaseRequestExample: ExecutionLeaseReleaseRequest;

executionLeaseReleaseRequestJsonSchema

JSON Schema for Execution Lease Release Request.

  • Kind: constant
  • Import: import { executionLeaseReleaseRequestJsonSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
export declare const executionLeaseReleaseRequestJsonSchema: JsonSchema;

executionLeaseReleaseRequestSchema

Runtime schema for Execution Lease Release Request.

Declaration

text
export declare const executionLeaseReleaseRequestSchema: z.ZodObject<{ operationId: z.ZodString; executionId: z.ZodString; expectedRevision: z.ZodNumber; leaseGuard: z.ZodObject<{ leaseId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; }, "strict", z.ZodTypeAny, { fencingToken: number; ownerId: string; leaseId: string; }, { fencingToken: number; ownerId: string; leaseId: string; }>; releasedAt: z.ZodString; reason: z.ZodOptional<z.ZodString>; idempotencyKey: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { operationId: string; executionId: string; expectedRevision: number; leaseGuard: { fencingToken: number; ownerId: string; leaseId: string; }; releasedAt: string; reason?: string | undefined; idempotencyKey?: string | undefined; }, { operationId: string; executionId: string; expectedRevision: number; leaseGuard: { fencingToken: number; ownerId: string; leaseId: string; }; releasedAt: string; reason?: string | undefined; idempotencyKey?: string | undefined; }>;

executionLeaseRenewRequestExample

Valid example value for Execution Lease Renew Request.

Declaration

text
export declare const executionLeaseRenewRequestExample: ExecutionLeaseRenewRequest;

executionLeaseRenewRequestJsonSchema

JSON Schema for Execution Lease Renew Request.

  • Kind: constant
  • Import: import { executionLeaseRenewRequestJsonSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
export declare const executionLeaseRenewRequestJsonSchema: JsonSchema;

executionLeaseRenewRequestSchema

Runtime schema for Execution Lease Renew Request.

Declaration

text
export declare const executionLeaseRenewRequestSchema: z.ZodObject<{ operationId: z.ZodString; executionId: z.ZodString; expectedRevision: z.ZodNumber; leaseGuard: z.ZodObject<{ leaseId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; }, "strict", z.ZodTypeAny, { fencingToken: number; ownerId: string; leaseId: string; }, { fencingToken: number; ownerId: string; leaseId: string; }>; ttlMs: z.ZodNumber; heartbeatAt: z.ZodString; idempotencyKey: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { operationId: string; executionId: string; expectedRevision: number; heartbeatAt: string; leaseGuard: { fencingToken: number; ownerId: string; leaseId: string; }; ttlMs: number; idempotencyKey?: string | undefined; }, { operationId: string; executionId: string; expectedRevision: number; heartbeatAt: string; leaseGuard: { fencingToken: number; ownerId: string; leaseId: string; }; ttlMs: number; idempotencyKey?: string | undefined; }>;

executionLeaseSchema

Runtime schema for Execution Lease.

Declaration

text
export declare const executionLeaseSchema: z.ZodEffects<z.ZodObject<{ id: z.ZodString; executionId: z.ZodString; ownerId: z.ZodString; fencingToken: z.ZodNumber; acquiredAt: z.ZodString; expiresAt: z.ZodString; heartbeatAt: z.ZodString; }, "strict", z.ZodTypeAny, { id: string; executionId: string; expiresAt: string; fencingToken: number; ownerId: string; acquiredAt: string; heartbeatAt: string; }, { id: string; executionId: string; expiresAt: string; fencingToken: number; ownerId: string; acquiredAt: string; heartbeatAt: string; }>, { id: string; executionId: string; expiresAt: string; fencingToken: number; ownerId: string; acquiredAt: string; heartbeatAt: string; }, { id: string; executionId: string; expiresAt: string; fencingToken: number; ownerId: string; acquiredAt: string; heartbeatAt: string; }>;

executionRecordCompareAndSetRequestExample

Valid example value for Execution Record Compare And Set Request.

  • Kind: constant
  • Import: import { executionRecordCompareAndSetRequestExample } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
export declare const executionRecordCompareAndSetRequestExample: ExecutionRecordCompareAndSetRequest;

executionRecordCompareAndSetRequestJsonSchema

JSON Schema for Execution Record Compare And Set Request.

  • Kind: constant
  • Import: import { executionRecordCompareAndSetRequestJsonSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
export declare const executionRecordCompareAndSetRequestJsonSchema: JsonSchema;

executionRecordCompareAndSetRequestSchema

Runtime schema for Execution Record Compare And Set Request.

  • Kind: constant
  • Import: import { executionRecordCompareAndSetRequestSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
// Exact type resolved from the package entrypoint; see source for the compiler expansion.
export declare const executionRecordCompareAndSetRequestSchema: (typeof import('@codesoul-co/hypha-core'))['executionRecordCompareAndSetRequestSchema'];

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.

executionRecordCreateRequestExample

Valid example value for Execution Record Create Request.

Declaration

text
export declare const executionRecordCreateRequestExample: ExecutionRecordCreateRequest;

executionRecordCreateRequestJsonSchema

JSON Schema for Execution Record Create Request.

  • Kind: constant
  • Import: import { executionRecordCreateRequestJsonSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
export declare const executionRecordCreateRequestJsonSchema: JsonSchema;

executionRecordCreateRequestSchema

Runtime schema for Execution Record Create Request.

Declaration

text
// Exact type resolved from the package entrypoint; see source for the compiler expansion.
export declare const executionRecordCreateRequestSchema: (typeof import('@codesoul-co/hypha-core'))['executionRecordCreateRequestSchema'];

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.

executionRecordExample

Valid example value for Execution Record.

Declaration

text
export declare const executionRecordExample: ExecutionRecord;

executionRecordJsonSchema

JSON Schema for Execution Record.

Declaration

text
export declare const executionRecordJsonSchema: JsonSchema;

executionRecordPageJsonSchema

JSON Schema for Execution Record Page.

Declaration

text
export declare const executionRecordPageJsonSchema: JsonSchema;

executionRecordPageSchema

Runtime schema for Execution Record Page.

Declaration

text
// Exact type resolved from the package entrypoint; see source for the compiler expansion.
export declare const executionRecordPageSchema: (typeof import('@codesoul-co/hypha-core'))['executionRecordPageSchema'];

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.

executionRecordQueryJsonSchema

JSON Schema for Execution Record Query.

Declaration

text
export declare const executionRecordQueryJsonSchema: JsonSchema;

executionRecordQuerySchema

Runtime schema for Execution Record Query.

Declaration

text
export declare const executionRecordQuerySchema: z.ZodEffects<z.ZodObject<{ tenantId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; workspaceId: z.ZodOptional<z.ZodString>; runId: z.ZodOptional<z.ZodString>; providerId: z.ZodOptional<z.ZodString>; statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["queued", "starting", "running", "cancelling", "cancelled", "completed", "failed", "timed_out", "oom_killed", "resource_exceeded", "quarantined"]>, "many">>; leaseExpiresBefore: z.ZodOptional<z.ZodString>; updatedBefore: z.ZodOptional<z.ZodString>; limit: z.ZodOptional<z.ZodNumber>; cursor: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { workspaceId?: string | undefined; runId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; providerId?: string | undefined; limit?: number | undefined; cursor?: string | undefined; leaseExpiresBefore?: string | undefined; statuses?: ("failed" | "starting" | "queued" | "running" | "cancelling" | "cancelled" | "completed" | "timed_out" | "oom_killed" | "resource_exceeded" | "quarantined")[] | undefined; updatedBefore?: string | undefined; }, { workspaceId?: string | undefined; runId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; providerId?: string | undefined; limit?: number | undefined; cursor?: string | undefined; leaseExpiresBefore?: string | undefined; statuses?: ("failed" | "starting" | "queued" | "running" | "cancelling" | "cancelled" | "completed" | "timed_out" | "oom_killed" | "resource_exceeded" | "quarantined")[] | undefined; updatedBefore?: string | undefined; }>, { workspaceId?: string | undefined; runId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; providerId?: string | undefined; limit?: number | undefined; cursor?: string | undefined; leaseExpiresBefore?: string | undefined; statuses?: ("failed" | "starting" | "queued" | "running" | "cancelling" | "cancelled" | "completed" | "timed_out" | "oom_killed" | "resource_exceeded" | "quarantined")[] | undefined; updatedBefore?: string | undefined; }, { workspaceId?: string | undefined; runId?: string | undefined; tenantId?: string | undefined; userId?: string | undefined; providerId?: string | undefined; limit?: number | undefined; cursor?: string | undefined; leaseExpiresBefore?: string | undefined; statuses?: ("failed" | "starting" | "queued" | "running" | "cancelling" | "cancelled" | "completed" | "timed_out" | "oom_killed" | "resource_exceeded" | "quarantined")[] | undefined; updatedBefore?: string | undefined; }>;

executionRecordSchema

Runtime schema for Execution Record.

Declaration

text
// Exact type resolved from the package entrypoint; see source for the compiler expansion.
export declare const executionRecordSchema: (typeof import('@codesoul-co/hypha-core'))['executionRecordSchema'];

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.

executionRecoveryAssessmentExample

Valid example value for Execution Recovery Assessment.

Declaration

text
export declare const executionRecoveryAssessmentExample: ExecutionRecoveryAssessment;

executionRecoveryAssessmentJsonSchema

JSON Schema for Execution Recovery Assessment.

  • Kind: constant
  • Import: import { executionRecoveryAssessmentJsonSchema } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
export declare const executionRecoveryAssessmentJsonSchema: JsonSchema;

executionRecoveryAssessmentSchema

Runtime schema for Execution Recovery Assessment.

Declaration

text
export declare const executionRecoveryAssessmentSchema: z.ZodEffects<z.ZodObject<{ executionId: z.ZodString; recordRevision: z.ZodNumber; disposition: z.ZodEnum<["not_started", "provider_queryable", "provider_completed_result_missing", "provider_state_unknown"]>; assessedAt: z.ZodString; providerStatusRef: z.ZodOptional<z.ZodString>; reason: z.ZodOptional<z.ZodString>; }, "strict", z.ZodTypeAny, { executionId: string; disposition: "not_started" | "provider_queryable" | "provider_completed_result_missing" | "provider_state_unknown"; recordRevision: number; assessedAt: string; reason?: string | undefined; providerStatusRef?: string | undefined; }, { executionId: string; disposition: "not_started" | "provider_queryable" | "provider_completed_result_missing" | "provider_state_unknown"; recordRevision: number; assessedAt: string; reason?: string | undefined; providerStatusRef?: string | undefined; }>, { executionId: string; disposition: "not_started" | "provider_queryable" | "provider_completed_result_missing" | "provider_state_unknown"; recordRevision: number; assessedAt: string; reason?: string | undefined; providerStatusRef?: string | undefined; }, { executionId: string; disposition: "not_started" | "provider_queryable" | "provider_completed_result_missing" | "provider_state_unknown"; recordRevision: number; assessedAt: string; reason?: string | undefined; providerStatusRef?: string | undefined; }>;

executionRecoveryDispositionSchema

Runtime schema for Execution Recovery Disposition.

Declaration

text
export declare const executionRecoveryDispositionSchema: z.ZodEnum<["not_started", "provider_queryable", "provider_completed_result_missing", "provider_state_unknown"]>;

executionStoreJsonSchemas

Execution Store JSON Schemas constant exported by the modules/execution-store/index module.

Declaration

text
export declare const executionStoreJsonSchemas: Record<string, JsonSchema>;

validateExecutionIdempotencyQuery

Validate Execution Idempotency Query function with 1 public call signature; parameters and return types are listed below.

Declaration

text
export declare function validateExecutionIdempotencyQuery(input: unknown): ExecutionIdempotencyQuery;

Call signature

text
validateExecutionIdempotencyQuery(input: unknown): ExecutionIdempotencyQuery

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: ExecutionIdempotencyQuery
  • Description: The return contract is defined by the type shown above.

validateExecutionIdempotencyResolution

Validate Execution Idempotency Resolution function with 1 public call signature; parameters and return types are listed below.

  • Kind: function
  • Import: import { validateExecutionIdempotencyResolution } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
export declare function validateExecutionIdempotencyResolution(input: unknown): ExecutionIdempotencyResolution;

Call signature

text
validateExecutionIdempotencyResolution(input: unknown): ExecutionIdempotencyResolution

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: ExecutionIdempotencyResolution
  • Description: The return contract is defined by the type shown above.

validateExecutionLease

Validate Execution Lease function with 1 public call signature; parameters and return types are listed below.

Declaration

text
export declare function validateExecutionLease(input: unknown): ExecutionLease;

Call signature

text
validateExecutionLease(input: unknown): ExecutionLease

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: ExecutionLease
  • Description: The return contract is defined by the type shown above.

validateExecutionLeaseAcquireRequest

Validate Execution Lease Acquire Request function with 1 public call signature; parameters and return types are listed below.

  • Kind: function
  • Import: import { validateExecutionLeaseAcquireRequest } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
export declare function validateExecutionLeaseAcquireRequest(input: unknown): ExecutionLeaseAcquireRequest;

Call signature

text
validateExecutionLeaseAcquireRequest(input: unknown): ExecutionLeaseAcquireRequest

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: ExecutionLeaseAcquireRequest
  • Description: The return contract is defined by the type shown above.

validateExecutionLeaseReleaseRequest

Validate Execution Lease Release Request function with 1 public call signature; parameters and return types are listed below.

  • Kind: function
  • Import: import { validateExecutionLeaseReleaseRequest } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
export declare function validateExecutionLeaseReleaseRequest(input: unknown): ExecutionLeaseReleaseRequest;

Call signature

text
validateExecutionLeaseReleaseRequest(input: unknown): ExecutionLeaseReleaseRequest

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: ExecutionLeaseReleaseRequest
  • Description: The return contract is defined by the type shown above.

validateExecutionLeaseRenewRequest

Validate Execution Lease Renew Request function with 1 public call signature; parameters and return types are listed below.

Declaration

text
export declare function validateExecutionLeaseRenewRequest(input: unknown): ExecutionLeaseRenewRequest;

Call signature

text
validateExecutionLeaseRenewRequest(input: unknown): ExecutionLeaseRenewRequest

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: ExecutionLeaseRenewRequest
  • Description: The return contract is defined by the type shown above.

validateExecutionRecord

Validate Execution Record function with 1 public call signature; parameters and return types are listed below.

Declaration

text
export declare function validateExecutionRecord(input: unknown): ExecutionRecord;

Call signature

text
validateExecutionRecord(input: unknown): ExecutionRecord

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: ExecutionRecord
  • Description: The return contract is defined by the type shown above.

validateExecutionRecordCompareAndSetRequest

Validate Execution Record Compare And Set Request function with 1 public call signature; parameters and return types are listed below.

  • Kind: function
  • Import: import { validateExecutionRecordCompareAndSetRequest } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
export declare function validateExecutionRecordCompareAndSetRequest(input: unknown): ExecutionRecordCompareAndSetRequest;

Call signature

text
validateExecutionRecordCompareAndSetRequest(input: unknown): ExecutionRecordCompareAndSetRequest

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: ExecutionRecordCompareAndSetRequest
  • Description: The return contract is defined by the type shown above.

validateExecutionRecordCreateRequest

Validate Execution Record Create Request function with 1 public call signature; parameters and return types are listed below.

  • Kind: function
  • Import: import { validateExecutionRecordCreateRequest } from '@codesoul-co/hypha-core';
  • Source module: modules/execution-store/index

Declaration

text
export declare function validateExecutionRecordCreateRequest(input: unknown): ExecutionRecordCreateRequest;

Call signature

text
validateExecutionRecordCreateRequest(input: unknown): ExecutionRecordCreateRequest

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: ExecutionRecordCreateRequest
  • Description: The return contract is defined by the type shown above.

validateExecutionRecordQuery

Validate Execution Record Query function with 1 public call signature; parameters and return types are listed below.

Declaration

text
export declare function validateExecutionRecordQuery(input: unknown): ExecutionRecordQuery;

Call signature

text
validateExecutionRecordQuery(input: unknown): ExecutionRecordQuery

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: ExecutionRecordQuery
  • Description: The return contract is defined by the type shown above.

validateExecutionRecoveryAssessment

Validate Execution Recovery Assessment function with 1 public call signature; parameters and return types are listed below.

Declaration

text
export declare function validateExecutionRecoveryAssessment(input: unknown): ExecutionRecoveryAssessment;

Call signature

text
validateExecutionRecoveryAssessment(input: unknown): ExecutionRecoveryAssessment

Parameters

ParameterTypeRequiredDescription
inputunknownYesRequired parameter; accepted values are defined by the type column.

Returns

  • Type: ExecutionRecoveryAssessment
  • Description: The return contract is defined by the type shown above.