58 lines
1007 B
TypeScript
58 lines
1007 B
TypeScript
/* generated using openapi-typescript-codegen -- do not edit */
|
|
/* istanbul ignore file */
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
/**
|
|
* Simplified rule response (for list endpoints)
|
|
*/
|
|
export type RuleSummary = {
|
|
/**
|
|
* Parameters to pass to the action when rule is triggered
|
|
*/
|
|
action_params: Record<string, any>;
|
|
/**
|
|
* Action reference
|
|
*/
|
|
action_ref: string;
|
|
/**
|
|
* Creation timestamp
|
|
*/
|
|
created: string;
|
|
/**
|
|
* Rule description
|
|
*/
|
|
description: string | null;
|
|
/**
|
|
* Whether the rule is enabled
|
|
*/
|
|
enabled: boolean;
|
|
/**
|
|
* Rule ID
|
|
*/
|
|
id: number;
|
|
/**
|
|
* Human-readable label
|
|
*/
|
|
label: string;
|
|
/**
|
|
* Pack reference
|
|
*/
|
|
pack_ref: string;
|
|
/**
|
|
* Unique reference identifier
|
|
*/
|
|
ref: string;
|
|
/**
|
|
* Parameters for trigger configuration and event filtering
|
|
*/
|
|
trigger_params: Record<string, any>;
|
|
/**
|
|
* Trigger reference
|
|
*/
|
|
trigger_ref: string;
|
|
/**
|
|
* Last update timestamp
|
|
*/
|
|
updated: string;
|
|
};
|