re-uploading work
This commit is contained in:
64
web/src/api/models/ApiResponse_EnforcementResponse.ts
Normal file
64
web/src/api/models/ApiResponse_EnforcementResponse.ts
Normal file
@@ -0,0 +1,64 @@
|
||||
/* 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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user