import type { ApprovalPolicy as _memoflow_v1_ApprovalPolicy, ApprovalPolicy__Output as _memoflow_v1_ApprovalPolicy__Output } from '../../memoflow/v1/ApprovalPolicy.js'; import type { ApprovalStatus as _memoflow_v1_ApprovalStatus, ApprovalStatus__Output as _memoflow_v1_ApprovalStatus__Output } from '../../memoflow/v1/ApprovalStatus.js'; import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../google/protobuf/Timestamp.js'; import type { ApprovalActor as _memoflow_v1_ApprovalActor, ApprovalActor__Output as _memoflow_v1_ApprovalActor__Output } from '../../memoflow/v1/ApprovalActor.js'; import type { Long } from '@grpc/proto-loader'; export interface ApprovalWorkItem { 'approval_id'?: (string); 'namespace'?: (string); 'workflow_id'?: (string); 'run_id'?: (string); 'name'?: (string); 'step_seq'?: (number); 'task_generation'?: (number | string | Long); 'policy'?: (_memoflow_v1_ApprovalPolicy | null); 'status'?: (_memoflow_v1_ApprovalStatus); 'created_at'?: (_google_protobuf_Timestamp | null); 'due_at'?: (_google_protobuf_Timestamp | null); 'expires_at'?: (_google_protobuf_Timestamp | null); 'claimed_by'?: (_memoflow_v1_ApprovalActor | null); 'claimed_at'?: (_google_protobuf_Timestamp | null); 'decided_by'?: (_memoflow_v1_ApprovalActor | null); 'decided_at'?: (_google_protobuf_Timestamp | null); 'decision'?: (boolean); 'comment_sha256'?: (string); 'comment_ref'?: (string); 'decision_sha256'?: (string); 'escalation_count'?: (number); 'last_escalated_at'?: (_google_protobuf_Timestamp | null); 'create_idempotency_key'?: (string); 'claim_idempotency_key'?: (string); 'decision_idempotency_key'?: (string); '_decision'?: "decision"; '_comment_sha256'?: "comment_sha256"; '_comment_ref'?: "comment_ref"; '_decision_sha256'?: "decision_sha256"; '_claim_idempotency_key'?: "claim_idempotency_key"; '_decision_idempotency_key'?: "decision_idempotency_key"; } export interface ApprovalWorkItem__Output { 'approval_id': (string); 'namespace': (string); 'workflow_id': (string); 'run_id': (string); 'name': (string); 'step_seq': (number); 'task_generation': (string); 'policy': (_memoflow_v1_ApprovalPolicy__Output | null); 'status': (_memoflow_v1_ApprovalStatus__Output); 'created_at': (_google_protobuf_Timestamp__Output | null); 'due_at': (_google_protobuf_Timestamp__Output | null); 'expires_at': (_google_protobuf_Timestamp__Output | null); 'claimed_by': (_memoflow_v1_ApprovalActor__Output | null); 'claimed_at': (_google_protobuf_Timestamp__Output | null); 'decided_by': (_memoflow_v1_ApprovalActor__Output | null); 'decided_at': (_google_protobuf_Timestamp__Output | null); 'decision'?: (boolean); 'comment_sha256'?: (string); 'comment_ref'?: (string); 'decision_sha256'?: (string); 'escalation_count': (number); 'last_escalated_at': (_google_protobuf_Timestamp__Output | null); 'create_idempotency_key': (string); 'claim_idempotency_key'?: (string); 'decision_idempotency_key'?: (string); '_decision'?: "decision"; '_comment_sha256'?: "comment_sha256"; '_comment_ref'?: "comment_ref"; '_decision_sha256'?: "decision_sha256"; '_claim_idempotency_key'?: "claim_idempotency_key"; '_decision_idempotency_key'?: "decision_idempotency_key"; }