import type { LifecycleRuleActionV3 } from '../schemas/LifecycleRuleActionV3'; import type { LifecycleRuleApplyToV3 } from '../schemas/LifecycleRuleApplyToV3'; import type { UserInfoV3 } from '../schemas/UserInfoV3'; import type { LifecycleRuleCriteriaV3 } from '../schemas/LifecycleRuleCriteriaV3'; import type { LifecycleRuleFilterConfigV3 } from '../schemas/LifecycleRuleFilterConfigV3'; import type { OrgIdentifier } from '../schemas/OrgIdentifier'; import type { ProjectIdentifier } from '../schemas/ProjectIdentifier'; import type { LifecycleRuleScheduleV3 } from '../schemas/LifecycleRuleScheduleV3'; export interface LifecycleRuleResponseV3 { action: LifecycleRuleActionV3; applyTo: LifecycleRuleApplyToV3; /** * @format int64 */ createdAt?: number; createdBy?: UserInfoV3; criteria?: LifecycleRuleCriteriaV3; description?: string; /** * Whether the lifecycle rule is currently enabled. */ enabled: boolean; filterConfig?: T0; /** * Whether the lifecycle rule has at least one assignment with parent_id matching the filter's ParentID. */ hasLocalAssignment: boolean; id: string; /** * Epoch milliseconds of the last execution, if any. * @format int64 */ lastRunAt?: number; name: string; /** * Epoch milliseconds of the next scheduled execution, if any. * @format int64 */ nextRunAt?: number; orgIdentifier?: OrgIdentifier; packageType?: string; projectIdentifier?: ProjectIdentifier; schedule?: LifecycleRuleScheduleV3; /** * @format int64 */ updatedAt?: number; updatedBy?: UserInfoV3; }