import type { WorkflowStatus as _memoflow_v1_WorkflowStatus, WorkflowStatus__Output as _memoflow_v1_WorkflowStatus__Output } from '../../memoflow/v1/WorkflowStatus.js'; import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../google/protobuf/Timestamp.js'; import type { RetryPolicy as _memoflow_v1_RetryPolicy, RetryPolicy__Output as _memoflow_v1_RetryPolicy__Output } from '../../memoflow/v1/RetryPolicy.js'; import type { ForkExecutionPolicy as _memoflow_v1_ForkExecutionPolicy, ForkExecutionPolicy__Output as _memoflow_v1_ForkExecutionPolicy__Output } from '../../memoflow/v1/ForkExecutionPolicy.js'; import type { Long } from '@grpc/proto-loader'; export interface WorkflowInfo { 'namespace'?: (string); 'workflow_id'?: (string); 'run_id'?: (string); 'workflow_type'?: (string); 'status'?: (_memoflow_v1_WorkflowStatus); 'input'?: (Buffer | Uint8Array | string); 'output'?: (Buffer | Uint8Array | string); 'error'?: (string); 'created_at'?: (_google_protobuf_Timestamp | null); 'updated_at'?: (_google_protobuf_Timestamp | null); 'deadline'?: (_google_protobuf_Timestamp | null); 'retry_policy'?: (_memoflow_v1_RetryPolicy | null); 'task_queue'?: (string); 'parent_workflow_id'?: (string); 'parent_run_id'?: (string); 'search_attributes'?: ({ [key: string]: string; }); /** * P6.5 — restart-from-step lineage. Set only on a run created via * ForkWorkflow; empty/absent on every ordinary run (including the * original run that was forked FROM — the source is never mutated). * Distinct from parent_workflow_id/parent_run_id above, which record * child-workflow parenting, not fork lineage. */ 'forked_from_run_id'?: (string); 'forked_from_step_seq'?: (number); /** * Build currently pinned to the run after an accepted workflow-task completion. */ 'build_id'?: (string); /** * Monotonic workflow-task delivery generation for this run. */ 'workflow_task_generation'?: (number | string | Long); 'fork_execution_policy'?: (_memoflow_v1_ForkExecutionPolicy | null); } export interface WorkflowInfo__Output { 'namespace': (string); 'workflow_id': (string); 'run_id': (string); 'workflow_type': (string); 'status': (_memoflow_v1_WorkflowStatus__Output); 'input': (Buffer); 'output': (Buffer); 'error': (string); 'created_at': (_google_protobuf_Timestamp__Output | null); 'updated_at': (_google_protobuf_Timestamp__Output | null); 'deadline': (_google_protobuf_Timestamp__Output | null); 'retry_policy': (_memoflow_v1_RetryPolicy__Output | null); 'task_queue': (string); 'parent_workflow_id': (string); 'parent_run_id': (string); 'search_attributes': ({ [key: string]: string; }); /** * P6.5 — restart-from-step lineage. Set only on a run created via * ForkWorkflow; empty/absent on every ordinary run (including the * original run that was forked FROM — the source is never mutated). * Distinct from parent_workflow_id/parent_run_id above, which record * child-workflow parenting, not fork lineage. */ 'forked_from_run_id': (string); 'forked_from_step_seq': (number); /** * Build currently pinned to the run after an accepted workflow-task completion. */ 'build_id': (string); /** * Monotonic workflow-task delivery generation for this run. */ 'workflow_task_generation': (string); 'fork_execution_policy': (_memoflow_v1_ForkExecutionPolicy__Output | null); }