Files
attune/web/src/api/models/ApiResponse_EnforcementResponse.ts
2026-02-04 17:46:30 -06:00

65 lines
1.4 KiB
TypeScript

/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { EnforcementCondition } from './EnforcementCondition';
import type { EnforcementStatus } from './EnforcementStatus';
import type { i64 } from './i64';
/**
* Standard API response wrapper
*/
export type ApiResponse_EnforcementResponse = {
/**
* Full enforcement response with all details
*/
data: {
/**
* Enforcement condition
*/
condition: EnforcementCondition;
/**
* Enforcement conditions (rule evaluation criteria)
*/
conditions: Record<string, any>;
/**
* Enforcement configuration
*/
config: any | null;
/**
* Creation timestamp
*/
created: string;
event?: (null | i64);
/**
* Enforcement ID
*/
id: i64;
/**
* Enforcement payload
*/
payload: Record<string, any>;
rule?: (null | i64);
/**
* Rule reference
*/
rule_ref: string;
/**
* Enforcement status
*/
status: EnforcementStatus;
/**
* Trigger reference
*/
trigger_ref: string;
/**
* Last update timestamp
*/
updated: string;
};
/**
* Optional message
*/
message?: string | null;
};