re-uploading work

This commit is contained in:
2026-02-04 17:46:30 -06:00
commit 3b14c65998
1388 changed files with 381262 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Response DTO for action information
*/
export type ActionResponse = {
/**
* Creation timestamp
*/
created: string;
/**
* Action description
*/
description: string;
/**
* Entry point
*/
entrypoint: string;
/**
* Action ID
*/
id: number;
/**
* Whether this is an ad-hoc action (not from pack installation)
*/
is_adhoc: boolean;
/**
* Human-readable label
*/
label: string;
/**
* Output schema
*/
out_schema: any | null;
/**
* Pack ID
*/
pack: number;
/**
* Pack reference
*/
pack_ref: string;
/**
* Parameter schema
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime?: number | null;
/**
* Last update timestamp
*/
updated: string;
};

View File

@@ -0,0 +1,46 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Simplified action response (for list endpoints)
*/
export type ActionSummary = {
/**
* Creation timestamp
*/
created: string;
/**
* Action description
*/
description: string;
/**
* Entry point
*/
entrypoint: string;
/**
* Action ID
*/
id: number;
/**
* Human-readable label
*/
label: string;
/**
* Pack reference
*/
pack_ref: string;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime?: number | null;
/**
* Last update timestamp
*/
updated: string;
};

View File

@@ -0,0 +1,71 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/
export type ApiResponse_ActionResponse = {
/**
* Response DTO for action information
*/
data: {
/**
* Creation timestamp
*/
created: string;
/**
* Action description
*/
description: string;
/**
* Entry point
*/
entrypoint: string;
/**
* Action ID
*/
id: number;
/**
* Whether this is an ad-hoc action (not from pack installation)
*/
is_adhoc: boolean;
/**
* Human-readable label
*/
label: string;
/**
* Output schema
*/
out_schema: any | null;
/**
* Pack ID
*/
pack: number;
/**
* Pack reference
*/
pack_ref: string;
/**
* Parameter schema
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime?: number | null;
/**
* Last update timestamp
*/
updated: string;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,31 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/
export type ApiResponse_CurrentUserResponse = {
/**
* Current user response
*/
data: {
/**
* Display name
*/
display_name?: string | null;
/**
* Identity ID
*/
id: number;
/**
* Identity login
*/
login: string;
};
/**
* Optional message
*/
message?: string | null;
};

View 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;
};

View File

@@ -0,0 +1,55 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
/**
* Standard API response wrapper
*/
export type ApiResponse_EventResponse = {
/**
* Full event response with all details
*/
data: {
/**
* Event configuration
*/
config: any | null;
/**
* Creation timestamp
*/
created: string;
/**
* Event ID
*/
id: i64;
/**
* Event payload data
*/
payload: Record<string, any>;
rule?: (null | i64);
/**
* Rule reference (if event was generated by a specific rule)
*/
rule_ref?: string | null;
source?: (null | i64);
/**
* Source reference
*/
source_ref?: string | null;
trigger?: (null | i64);
/**
* Trigger reference
*/
trigger_ref: string;
/**
* Last update timestamp
*/
updated: string;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,64 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ExecutionStatus } from './ExecutionStatus';
/**
* Standard API response wrapper
*/
export type ApiResponse_ExecutionResponse = {
/**
* Response DTO for execution information
*/
data: {
/**
* Action ID (optional, may be null for ad-hoc executions)
*/
action?: number | null;
/**
* Action reference
*/
action_ref: string;
/**
* Execution configuration/parameters
*/
config: Record<string, any>;
/**
* Creation timestamp
*/
created: string;
/**
* Enforcement ID (rule enforcement that triggered this)
*/
enforcement?: number | null;
/**
* Executor ID (worker/executor that ran this)
*/
executor?: number | null;
/**
* Execution ID
*/
id: number;
/**
* Parent execution ID (for nested/child executions)
*/
parent?: number | null;
/**
* Execution result/output
*/
result: Record<string, any>;
/**
* Execution status
*/
status: ExecutionStatus;
/**
* Last update timestamp
*/
updated: string;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,62 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
import type { InquiryStatus } from './InquiryStatus';
/**
* Standard API response wrapper
*/
export type ApiResponse_InquiryResponse = {
/**
* Full inquiry response with all details
*/
data: {
assigned_to?: (null | i64);
/**
* Creation timestamp
*/
created: string;
/**
* Execution ID this inquiry belongs to
*/
execution: i64;
/**
* Inquiry ID
*/
id: i64;
/**
* Prompt text displayed to the user
*/
prompt: string;
/**
* When the inquiry was responded to
*/
responded_at?: string | null;
/**
* Response data provided by the user
*/
response: any | null;
/**
* JSON schema for expected response
*/
response_schema: any | null;
/**
* Current status of the inquiry
*/
status: InquiryStatus;
/**
* When the inquiry expires
*/
timeout_at?: string | null;
/**
* Last update timestamp
*/
updated: string;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,73 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
import type { OwnerType } from './OwnerType';
/**
* Standard API response wrapper
*/
export type ApiResponse_KeyResponse = {
/**
* Full key response with all details (value redacted in list views)
*/
data: {
/**
* Creation timestamp
*/
created: string;
/**
* Whether the value is encrypted
*/
encrypted: boolean;
/**
* Unique key ID
*/
id: i64;
/**
* Human-readable name
*/
name: string;
/**
* Owner identifier
*/
owner?: string | null;
owner_action?: (null | i64);
/**
* Owner action reference
*/
owner_action_ref?: string | null;
owner_identity?: (null | i64);
owner_pack?: (null | i64);
/**
* Owner pack reference
*/
owner_pack_ref?: string | null;
owner_sensor?: (null | i64);
/**
* Owner sensor reference
*/
owner_sensor_ref?: string | null;
/**
* Type of owner
*/
owner_type: OwnerType;
/**
* Unique reference identifier
*/
ref: string;
/**
* Last update timestamp
*/
updated: string;
/**
* The secret value (decrypted if encrypted)
*/
value: string;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,30 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PackResponse } from './PackResponse';
import type { PackTestResult } from './PackTestResult';
/**
* Standard API response wrapper
*/
export type ApiResponse_PackInstallResponse = {
/**
* Response for pack install/register operations with test results
*/
data: {
/**
* The installed/registered pack
*/
pack: PackResponse;
test_result?: (null | PackTestResult);
/**
* Whether tests were skipped
*/
tests_skipped: boolean;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,71 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/
export type ApiResponse_PackResponse = {
/**
* Response DTO for pack information
*/
data: {
/**
* Configuration schema
*/
conf_schema: Record<string, any>;
/**
* Pack configuration
*/
config: Record<string, any>;
/**
* Creation timestamp
*/
created: string;
/**
* Pack description
*/
description?: string | null;
/**
* Pack ID
*/
id: number;
/**
* Is standard pack
*/
is_standard: boolean;
/**
* Human-readable label
*/
label: string;
/**
* Pack metadata
*/
meta: Record<string, any>;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime dependencies
*/
runtime_deps: Array<string>;
/**
* Tags
*/
tags: Array<string>;
/**
* Last update timestamp
*/
updated: string;
/**
* Pack version
*/
version: string;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,55 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/
export type ApiResponse_QueueStatsResponse = {
/**
* Response DTO for queue statistics
*/
data: {
/**
* Action ID
*/
action_id: number;
/**
* Action reference
*/
action_ref: string;
/**
* Number of currently running executions
*/
active_count: number;
/**
* Timestamp of last statistics update
*/
last_updated: string;
/**
* Maximum concurrent executions allowed
*/
max_concurrent: number;
/**
* Timestamp of oldest queued execution (if any)
*/
oldest_enqueued_at?: string | null;
/**
* Number of executions waiting in queue
*/
queue_length: number;
/**
* Total executions completed since queue creation
*/
total_completed: number;
/**
* Total executions enqueued since queue creation
*/
total_enqueued: number;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,87 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/
export type ApiResponse_RuleResponse = {
/**
* Response DTO for rule information
*/
data: {
/**
* Action ID
*/
action: number;
/**
* Parameters to pass to the action when rule is triggered
*/
action_params: Record<string, any>;
/**
* Action reference
*/
action_ref: string;
/**
* Conditions for rule evaluation
*/
conditions: Record<string, any>;
/**
* Creation timestamp
*/
created: string;
/**
* Rule description
*/
description: string;
/**
* Whether the rule is enabled
*/
enabled: boolean;
/**
* Rule ID
*/
id: number;
/**
* Whether this is an ad-hoc rule (not from pack installation)
*/
is_adhoc: boolean;
/**
* Human-readable label
*/
label: string;
/**
* Pack ID
*/
pack: number;
/**
* Pack reference
*/
pack_ref: string;
/**
* Unique reference identifier
*/
ref: string;
/**
* Trigger ID
*/
trigger: number;
/**
* Parameters for trigger configuration and event filtering
*/
trigger_params: Record<string, any>;
/**
* Trigger reference
*/
trigger_ref: string;
/**
* Last update timestamp
*/
updated: string;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,79 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/
export type ApiResponse_SensorResponse = {
/**
* Response DTO for sensor information
*/
data: {
/**
* Creation timestamp
*/
created: string;
/**
* Sensor description
*/
description: string;
/**
* Whether the sensor is enabled
*/
enabled: boolean;
/**
* Entry point
*/
entrypoint: string;
/**
* Sensor ID
*/
id: number;
/**
* Human-readable label
*/
label: string;
/**
* Pack ID (optional)
*/
pack?: number | null;
/**
* Pack reference (optional)
*/
pack_ref?: string | null;
/**
* Parameter schema
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime: number;
/**
* Runtime reference
*/
runtime_ref: string;
/**
* Trigger ID
*/
trigger: number;
/**
* Trigger reference
*/
trigger_ref: string;
/**
* Last update timestamp
*/
updated: string;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,15 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/
export type ApiResponse_String = {
data: string;
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,37 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { UserInfo } from './UserInfo';
/**
* Standard API response wrapper
*/
export type ApiResponse_TokenResponse = {
/**
* Token response
*/
data: {
/**
* Access token (JWT)
*/
access_token: string;
/**
* Access token expiration in seconds
*/
expires_in: number;
/**
* Refresh token
*/
refresh_token: string;
/**
* Token type (always "Bearer")
*/
token_type: string;
user?: (null | UserInfo);
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,75 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/
export type ApiResponse_TriggerResponse = {
/**
* Response DTO for trigger information
*/
data: {
/**
* Creation timestamp
*/
created: string;
/**
* Trigger description
*/
description?: string | null;
/**
* Whether the trigger is enabled
*/
enabled: boolean;
/**
* Trigger ID
*/
id: number;
/**
* Whether this is an ad-hoc trigger (not from pack installation)
*/
is_adhoc: boolean;
/**
* Human-readable label
*/
label: string;
/**
* Output schema
*/
out_schema: any | null;
/**
* Pack ID (optional)
*/
pack?: number | null;
/**
* Pack reference (optional)
*/
pack_ref?: string | null;
/**
* Parameter schema
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Last update timestamp
*/
updated: string;
/**
* Whether webhooks are enabled for this trigger
*/
webhook_enabled: boolean;
/**
* Webhook key (only present if webhooks are enabled)
*/
webhook_key?: string | null;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,35 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/
export type ApiResponse_WebhookReceiverResponse = {
/**
* Response from webhook receiver endpoint
*/
data: {
/**
* ID of the event created from this webhook
*/
event_id: number;
/**
* Success message
*/
message: string;
/**
* Timestamp when the webhook was received
*/
received_at: string;
/**
* Reference of the trigger that received this webhook
*/
trigger_ref: string;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,75 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/
export type ApiResponse_WorkflowResponse = {
/**
* Response DTO for workflow information
*/
data: {
/**
* Creation timestamp
*/
created: string;
/**
* Workflow definition
*/
definition: Record<string, any>;
/**
* Workflow description
*/
description?: string | null;
/**
* Whether the workflow is enabled
*/
enabled: boolean;
/**
* Workflow ID
*/
id: number;
/**
* Human-readable label
*/
label: string;
/**
* Output schema
*/
out_schema: any | null;
/**
* Pack ID
*/
pack: number;
/**
* Pack reference
*/
pack_ref: string;
/**
* Parameter schema
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Tags
*/
tags: Array<string>;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow version
*/
version: string;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -0,0 +1,18 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Change password request
*/
export type ChangePasswordRequest = {
/**
* Current password
*/
current_password: string;
/**
* New password
*/
new_password: string;
};

View File

@@ -0,0 +1,42 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for creating a new action
*/
export type CreateActionRequest = {
/**
* Action description
*/
description: string;
/**
* Entry point for action execution (e.g., path to script, function name)
*/
entrypoint: string;
/**
* Human-readable label
*/
label: string;
/**
* Output schema (JSON Schema) defining expected outputs
*/
out_schema?: any | null;
/**
* Pack reference this action belongs to
*/
pack_ref: string;
/**
* Parameter schema (JSON Schema) defining expected inputs
*/
param_schema?: any | null;
/**
* Unique reference identifier (e.g., "core.http", "aws.ec2.start_instance")
*/
ref: string;
/**
* Optional runtime ID for this action
*/
runtime?: number | null;
};

View File

@@ -0,0 +1,28 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
/**
* Request to create a new inquiry
*/
export type CreateInquiryRequest = {
assigned_to?: (null | i64);
/**
* Execution ID this inquiry belongs to
*/
execution: i64;
/**
* Prompt text to display to the user
*/
prompt: string;
/**
* Optional JSON schema for the expected response format
*/
response_schema: Record<string, any>;
/**
* Optional timeout timestamp (when inquiry expires)
*/
timeout_at?: string | null;
};

View File

@@ -0,0 +1,52 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
import type { OwnerType } from './OwnerType';
/**
* Request to create a new key/secret
*/
export type CreateKeyRequest = {
/**
* Whether to encrypt the value (recommended: true)
*/
encrypted?: boolean;
/**
* Human-readable name for the key
*/
name: string;
/**
* Optional owner string identifier
*/
owner?: string | null;
owner_action?: (null | i64);
/**
* Optional owner action reference
*/
owner_action_ref?: string | null;
owner_identity?: (null | i64);
owner_pack?: (null | i64);
/**
* Optional owner pack reference
*/
owner_pack_ref?: string | null;
owner_sensor?: (null | i64);
/**
* Optional owner sensor reference
*/
owner_sensor_ref?: string | null;
/**
* Type of owner (system, identity, pack, action, sensor)
*/
owner_type: OwnerType;
/**
* Unique reference for the key (e.g., "github_token", "aws_secret_key")
*/
ref: string;
/**
* The secret value to store
*/
value: string;
};

View File

@@ -0,0 +1,50 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for creating a new pack
*/
export type CreatePackRequest = {
/**
* Configuration schema (JSON Schema)
*/
conf_schema?: Record<string, any>;
/**
* Pack configuration values
*/
config?: Record<string, any>;
/**
* Pack description
*/
description?: string | null;
/**
* Whether this is a standard/built-in pack
*/
is_standard?: boolean;
/**
* Human-readable label
*/
label: string;
/**
* Pack metadata
*/
meta?: Record<string, any>;
/**
* Unique reference identifier (e.g., "core", "aws", "slack")
*/
ref: string;
/**
* Runtime dependencies (refs of required packs)
*/
runtime_deps?: Array<string>;
/**
* Tags for categorization
*/
tags?: Array<string>;
/**
* Pack version (semver format recommended)
*/
version: string;
};

View File

@@ -0,0 +1,50 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for creating a new rule
*/
export type CreateRuleRequest = {
/**
* Parameters to pass to the action when rule is triggered
*/
action_params?: Record<string, any>;
/**
* Action reference to execute when rule matches
*/
action_ref: string;
/**
* Conditions for rule evaluation (JSON Logic or custom format)
*/
conditions?: Record<string, any>;
/**
* Rule description
*/
description: string;
/**
* Whether the rule is enabled
*/
enabled?: boolean;
/**
* Human-readable label
*/
label: string;
/**
* Pack reference this rule belongs to
*/
pack_ref: string;
/**
* Unique reference identifier (e.g., "mypack.notify_on_error")
*/
ref: string;
/**
* Parameters for trigger configuration and event filtering
*/
trigger_params?: Record<string, any>;
/**
* Trigger reference that activates this rule
*/
trigger_ref: string;
};

View File

@@ -0,0 +1,50 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for creating a new sensor
*/
export type CreateSensorRequest = {
/**
* Configuration values for this sensor instance (conforms to param_schema)
*/
config?: any | null;
/**
* Sensor description
*/
description: string;
/**
* Whether the sensor is enabled
*/
enabled?: boolean;
/**
* Entry point for sensor execution (e.g., path to script, function name)
*/
entrypoint: string;
/**
* Human-readable label
*/
label: string;
/**
* Pack reference this sensor belongs to
*/
pack_ref: string;
/**
* Parameter schema (JSON Schema) for sensor configuration
*/
param_schema?: any | null;
/**
* Unique reference identifier (e.g., "mypack.cpu_monitor")
*/
ref: string;
/**
* Runtime reference for this sensor
*/
runtime_ref: string;
/**
* Trigger reference this sensor monitors for
*/
trigger_ref: string;
};

View File

@@ -0,0 +1,38 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for creating a new trigger
*/
export type CreateTriggerRequest = {
/**
* Trigger description
*/
description?: string | null;
/**
* Whether the trigger is enabled
*/
enabled?: boolean;
/**
* Human-readable label
*/
label: string;
/**
* Output schema (JSON Schema) defining event data structure
*/
out_schema?: any | null;
/**
* Optional pack reference this trigger belongs to
*/
pack_ref?: string | null;
/**
* Parameter schema (JSON Schema) defining event payload structure
*/
param_schema?: any | null;
/**
* Unique reference identifier (e.g., "core.webhook", "system.timer")
*/
ref: string;
};

View File

@@ -0,0 +1,50 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for creating a new workflow
*/
export type CreateWorkflowRequest = {
/**
* Workflow definition (complete workflow YAML structure as JSON)
*/
definition: Record<string, any>;
/**
* Workflow description
*/
description?: string | null;
/**
* Whether the workflow is enabled
*/
enabled?: boolean | null;
/**
* Human-readable label
*/
label: string;
/**
* Output schema (JSON Schema) defining expected outputs
*/
out_schema: Record<string, any>;
/**
* Pack reference this workflow belongs to
*/
pack_ref: string;
/**
* Parameter schema (JSON Schema) defining expected inputs
*/
param_schema: Record<string, any>;
/**
* Unique reference identifier (e.g., "core.notify_on_failure", "slack.incident_workflow")
*/
ref: string;
/**
* Tags for categorization and search
*/
tags?: any[] | null;
/**
* Workflow version (semantic versioning recommended)
*/
version: string;
};

View File

@@ -0,0 +1,22 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Current user response
*/
export type CurrentUserResponse = {
/**
* Display name
*/
display_name?: string | null;
/**
* Identity ID
*/
id: number;
/**
* Identity login
*/
login: string;
};

View File

@@ -0,0 +1,8 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export enum EnforcementCondition {
ANY = 'any',
ALL = 'all',
}

View File

@@ -0,0 +1,55 @@
/* 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';
/**
* Full enforcement response with all details
*/
export type EnforcementResponse = {
/**
* 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;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export enum EnforcementStatus {
CREATED = 'created',
PROCESSED = 'processed',
DISABLED = 'disabled',
}

View File

@@ -0,0 +1,39 @@
/* 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';
/**
* Summary enforcement response for list views
*/
export type EnforcementSummary = {
/**
* Enforcement condition
*/
condition: EnforcementCondition;
/**
* Creation timestamp
*/
created: string;
event?: (null | i64);
/**
* Enforcement ID
*/
id: i64;
rule?: (null | i64);
/**
* Rule reference
*/
rule_ref: string;
/**
* Enforcement status
*/
status: EnforcementStatus;
/**
* Trigger reference
*/
trigger_ref: string;
};

View File

@@ -0,0 +1,46 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
/**
* Full event response with all details
*/
export type EventResponse = {
/**
* Event configuration
*/
config: any | null;
/**
* Creation timestamp
*/
created: string;
/**
* Event ID
*/
id: i64;
/**
* Event payload data
*/
payload: Record<string, any>;
rule?: (null | i64);
/**
* Rule reference (if event was generated by a specific rule)
*/
rule_ref?: string | null;
source?: (null | i64);
/**
* Source reference
*/
source_ref?: string | null;
trigger?: (null | i64);
/**
* Trigger reference
*/
trigger_ref: string;
/**
* Last update timestamp
*/
updated: string;
};

View File

@@ -0,0 +1,38 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
/**
* Summary event response for list views
*/
export type EventSummary = {
/**
* Creation timestamp
*/
created: string;
/**
* Whether event has payload data
*/
has_payload: boolean;
/**
* Event ID
*/
id: i64;
rule?: (null | i64);
/**
* Rule reference (if event was generated by a specific rule)
*/
rule_ref?: string | null;
source?: (null | i64);
/**
* Source reference
*/
source_ref?: string | null;
trigger?: (null | i64);
/**
* Trigger reference
*/
trigger_ref: string;
};

View File

@@ -0,0 +1,55 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ExecutionStatus } from './ExecutionStatus';
/**
* Response DTO for execution information
*/
export type ExecutionResponse = {
/**
* Action ID (optional, may be null for ad-hoc executions)
*/
action?: number | null;
/**
* Action reference
*/
action_ref: string;
/**
* Execution configuration/parameters
*/
config: Record<string, any>;
/**
* Creation timestamp
*/
created: string;
/**
* Enforcement ID (rule enforcement that triggered this)
*/
enforcement?: number | null;
/**
* Executor ID (worker/executor that ran this)
*/
executor?: number | null;
/**
* Execution ID
*/
id: number;
/**
* Parent execution ID (for nested/child executions)
*/
parent?: number | null;
/**
* Execution result/output
*/
result: Record<string, any>;
/**
* Execution status
*/
status: ExecutionStatus;
/**
* Last update timestamp
*/
updated: string;
};

View File

@@ -0,0 +1,16 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export enum ExecutionStatus {
REQUESTED = 'requested',
SCHEDULING = 'scheduling',
SCHEDULED = 'scheduled',
RUNNING = 'running',
COMPLETED = 'completed',
FAILED = 'failed',
CANCELING = 'canceling',
CANCELLED = 'cancelled',
TIMEOUT = 'timeout',
ABANDONED = 'abandoned',
}

View File

@@ -0,0 +1,47 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ExecutionStatus } from './ExecutionStatus';
/**
* Simplified execution response (for list endpoints)
*/
export type ExecutionSummary = {
/**
* Action reference
*/
action_ref: string;
/**
* Creation timestamp
*/
created: string;
/**
* Enforcement ID
*/
enforcement?: number | null;
/**
* Execution ID
*/
id: number;
/**
* Parent execution ID
*/
parent?: number | null;
/**
* Rule reference (if triggered by a rule)
*/
rule_ref?: string | null;
/**
* Execution status
*/
status: ExecutionStatus;
/**
* Trigger reference (if triggered by a trigger)
*/
trigger_ref?: string | null;
/**
* Last update timestamp
*/
updated: string;
};

View File

@@ -0,0 +1,22 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Health check response
*/
export type HealthResponse = {
/**
* Database connectivity status
*/
database: string;
/**
* Service status
*/
status: string;
/**
* Service version
*/
version: string;
};

View File

@@ -0,0 +1,14 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request to respond to an inquiry (user-facing endpoint)
*/
export type InquiryRespondRequest = {
/**
* Response data conforming to the inquiry's response_schema
*/
response: Record<string, any>;
};

View File

@@ -0,0 +1,53 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
import type { InquiryStatus } from './InquiryStatus';
/**
* Full inquiry response with all details
*/
export type InquiryResponse = {
assigned_to?: (null | i64);
/**
* Creation timestamp
*/
created: string;
/**
* Execution ID this inquiry belongs to
*/
execution: i64;
/**
* Inquiry ID
*/
id: i64;
/**
* Prompt text displayed to the user
*/
prompt: string;
/**
* When the inquiry was responded to
*/
responded_at?: string | null;
/**
* Response data provided by the user
*/
response: any | null;
/**
* JSON schema for expected response
*/
response_schema: any | null;
/**
* Current status of the inquiry
*/
status: InquiryStatus;
/**
* When the inquiry expires
*/
timeout_at?: string | null;
/**
* Last update timestamp
*/
updated: string;
};

View File

@@ -0,0 +1,10 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export enum InquiryStatus {
PENDING = 'pending',
RESPONDED = 'responded',
TIMEOUT = 'timeout',
CANCELLED = 'cancelled',
}

View File

@@ -0,0 +1,41 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
import type { InquiryStatus } from './InquiryStatus';
/**
* Summary inquiry response for list views
*/
export type InquirySummary = {
assigned_to?: (null | i64);
/**
* Creation timestamp
*/
created: string;
/**
* Execution ID
*/
execution: i64;
/**
* Whether a response has been provided
*/
has_response: boolean;
/**
* Inquiry ID
*/
id: i64;
/**
* Prompt text
*/
prompt: string;
/**
* Inquiry status
*/
status: InquiryStatus;
/**
* Timeout timestamp
*/
timeout_at?: string | null;
};

View File

@@ -0,0 +1,30 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for installing a pack from remote source
*/
export type InstallPackRequest = {
/**
* Force reinstall if pack already exists
*/
force?: boolean;
/**
* Git branch, tag, or commit reference
*/
ref_spec?: string | null;
/**
* Skip dependency validation (not recommended)
*/
skip_deps?: boolean;
/**
* Skip running pack tests during installation
*/
skip_tests?: boolean;
/**
* Repository URL or source location
*/
source: string;
};

View File

@@ -0,0 +1,64 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
import type { OwnerType } from './OwnerType';
/**
* Full key response with all details (value redacted in list views)
*/
export type KeyResponse = {
/**
* Creation timestamp
*/
created: string;
/**
* Whether the value is encrypted
*/
encrypted: boolean;
/**
* Unique key ID
*/
id: i64;
/**
* Human-readable name
*/
name: string;
/**
* Owner identifier
*/
owner?: string | null;
owner_action?: (null | i64);
/**
* Owner action reference
*/
owner_action_ref?: string | null;
owner_identity?: (null | i64);
owner_pack?: (null | i64);
/**
* Owner pack reference
*/
owner_pack_ref?: string | null;
owner_sensor?: (null | i64);
/**
* Owner sensor reference
*/
owner_sensor_ref?: string | null;
/**
* Type of owner
*/
owner_type: OwnerType;
/**
* Unique reference identifier
*/
ref: string;
/**
* Last update timestamp
*/
updated: string;
/**
* The secret value (decrypted if encrypted)
*/
value: string;
};

View File

@@ -0,0 +1,40 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
import type { OwnerType } from './OwnerType';
/**
* Summary key response for list views (value redacted)
*/
export type KeySummary = {
/**
* Creation timestamp
*/
created: string;
/**
* Whether the value is encrypted
*/
encrypted: boolean;
/**
* Unique key ID
*/
id: i64;
/**
* Human-readable name
*/
name: string;
/**
* Owner identifier
*/
owner?: string | null;
/**
* Type of owner
*/
owner_type: OwnerType;
/**
* Unique reference identifier
*/
ref: string;
};

View File

@@ -0,0 +1,18 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Login request
*/
export type LoginRequest = {
/**
* Identity login (username)
*/
login: string;
/**
* Password
*/
password: string;
};

View File

@@ -0,0 +1,11 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export enum OwnerType {
SYSTEM = 'system',
IDENTITY = 'identity',
PACK = 'pack',
ACTION = 'action',
SENSOR = 'sensor',
}

View File

@@ -0,0 +1,21 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PackResponse } from './PackResponse';
import type { PackTestResult } from './PackTestResult';
/**
* Response for pack install/register operations with test results
*/
export type PackInstallResponse = {
/**
* The installed/registered pack
*/
pack: PackResponse;
test_result?: (null | PackTestResult);
/**
* Whether tests were skipped
*/
tests_skipped: boolean;
};

View File

@@ -0,0 +1,62 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Response DTO for pack information
*/
export type PackResponse = {
/**
* Configuration schema
*/
conf_schema: Record<string, any>;
/**
* Pack configuration
*/
config: Record<string, any>;
/**
* Creation timestamp
*/
created: string;
/**
* Pack description
*/
description?: string | null;
/**
* Pack ID
*/
id: number;
/**
* Is standard pack
*/
is_standard: boolean;
/**
* Human-readable label
*/
label: string;
/**
* Pack metadata
*/
meta: Record<string, any>;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime dependencies
*/
runtime_deps: Array<string>;
/**
* Tags
*/
tags: Array<string>;
/**
* Last update timestamp
*/
updated: string;
/**
* Pack version
*/
version: string;
};

View File

@@ -0,0 +1,46 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Simplified pack response (for list endpoints)
*/
export type PackSummary = {
/**
* Creation timestamp
*/
created: string;
/**
* Pack description
*/
description?: string | null;
/**
* Pack ID
*/
id: number;
/**
* Is standard pack
*/
is_standard: boolean;
/**
* Human-readable label
*/
label: string;
/**
* Unique reference identifier
*/
ref: string;
/**
* Tags
*/
tags: Array<string>;
/**
* Last update timestamp
*/
updated: string;
/**
* Pack version
*/
version: string;
};

View File

@@ -0,0 +1,25 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
import type { Value } from './Value';
/**
* Pack test execution record
*/
export type PackTestExecution = {
created: string;
durationMs: number;
executionTime: string;
failed: number;
id: i64;
packId: i64;
packVersion: string;
passRate: number;
passed: number;
result: Value;
skipped: number;
totalTests: number;
triggerReason: string;
};

View File

@@ -0,0 +1,22 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { TestSuiteResult } from './TestSuiteResult';
/**
* Pack test result structure (not from DB, used for test execution)
*/
export type PackTestResult = {
durationMs: number;
executionTime: string;
failed: number;
packRef: string;
packVersion: string;
passRate: number;
passed: number;
skipped: number;
status: string;
testSuites: Array<TestSuiteResult>;
totalTests: number;
};

View File

@@ -0,0 +1,24 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
/**
* Pack test summary view
*/
export type PackTestSummary = {
durationMs: number;
failed: number;
packId: i64;
packLabel: string;
packRef: string;
packVersion: string;
passRate: number;
passed: number;
skipped: number;
testExecutionId: i64;
testTime: string;
totalTests: number;
triggerReason: string;
};

View File

@@ -0,0 +1,31 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { WorkflowSyncResult } from './WorkflowSyncResult';
/**
* Response for pack workflow sync operation
*/
export type PackWorkflowSyncResponse = {
/**
* Any errors encountered during sync
*/
errors: Array<string>;
/**
* Number of workflows loaded from filesystem
*/
loaded_count: number;
/**
* Pack reference
*/
pack_ref: string;
/**
* Number of workflows registered/updated in database
*/
registered_count: number;
/**
* Individual workflow registration results
*/
workflows: Array<WorkflowSyncResult>;
};

View File

@@ -0,0 +1,26 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Response for pack workflow validation operation
*/
export type PackWorkflowValidationResponse = {
/**
* Number of workflows with errors
*/
error_count: number;
/**
* Validation errors by workflow reference
*/
errors: Record<string, Array<string>>;
/**
* Pack reference
*/
pack_ref: string;
/**
* Number of workflows validated
*/
validated_count: number;
};

View File

@@ -0,0 +1,56 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper
*/
export type PaginatedResponse_ActionSummary = {
/**
* The data items
*/
data: Array<{
/**
* Creation timestamp
*/
created: string;
/**
* Action description
*/
description: string;
/**
* Entry point
*/
entrypoint: string;
/**
* Action ID
*/
id: number;
/**
* Human-readable label
*/
label: string;
/**
* Pack reference
*/
pack_ref: string;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime?: number | null;
/**
* Last update timestamp
*/
updated: string;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
};

View File

@@ -0,0 +1,49 @@
/* 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';
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper
*/
export type PaginatedResponse_EnforcementSummary = {
/**
* The data items
*/
data: Array<{
/**
* Enforcement condition
*/
condition: EnforcementCondition;
/**
* Creation timestamp
*/
created: string;
event?: (null | i64);
/**
* Enforcement ID
*/
id: i64;
rule?: (null | i64);
/**
* Rule reference
*/
rule_ref: string;
/**
* Enforcement status
*/
status: EnforcementStatus;
/**
* Trigger reference
*/
trigger_ref: string;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
};

View File

@@ -0,0 +1,48 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper
*/
export type PaginatedResponse_EventSummary = {
/**
* The data items
*/
data: Array<{
/**
* Creation timestamp
*/
created: string;
/**
* Whether event has payload data
*/
has_payload: boolean;
/**
* Event ID
*/
id: i64;
rule?: (null | i64);
/**
* Rule reference (if event was generated by a specific rule)
*/
rule_ref?: string | null;
source?: (null | i64);
/**
* Source reference
*/
source_ref?: string | null;
trigger?: (null | i64);
/**
* Trigger reference
*/
trigger_ref: string;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
};

View File

@@ -0,0 +1,57 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ExecutionStatus } from './ExecutionStatus';
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper
*/
export type PaginatedResponse_ExecutionSummary = {
/**
* The data items
*/
data: Array<{
/**
* Action reference
*/
action_ref: string;
/**
* Creation timestamp
*/
created: string;
/**
* Enforcement ID
*/
enforcement?: number | null;
/**
* Execution ID
*/
id: number;
/**
* Parent execution ID
*/
parent?: number | null;
/**
* Rule reference (if triggered by a rule)
*/
rule_ref?: string | null;
/**
* Execution status
*/
status: ExecutionStatus;
/**
* Trigger reference (if triggered by a trigger)
*/
trigger_ref?: string | null;
/**
* Last update timestamp
*/
updated: string;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
};

View File

@@ -0,0 +1,51 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
import type { InquiryStatus } from './InquiryStatus';
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper
*/
export type PaginatedResponse_InquirySummary = {
/**
* The data items
*/
data: Array<{
assigned_to?: (null | i64);
/**
* Creation timestamp
*/
created: string;
/**
* Execution ID
*/
execution: i64;
/**
* Whether a response has been provided
*/
has_response: boolean;
/**
* Inquiry ID
*/
id: i64;
/**
* Prompt text
*/
prompt: string;
/**
* Inquiry status
*/
status: InquiryStatus;
/**
* Timeout timestamp
*/
timeout_at?: string | null;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
};

View File

@@ -0,0 +1,50 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
import type { OwnerType } from './OwnerType';
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper
*/
export type PaginatedResponse_KeySummary = {
/**
* The data items
*/
data: Array<{
/**
* Creation timestamp
*/
created: string;
/**
* Whether the value is encrypted
*/
encrypted: boolean;
/**
* Unique key ID
*/
id: i64;
/**
* Human-readable name
*/
name: string;
/**
* Owner identifier
*/
owner?: string | null;
/**
* Type of owner
*/
owner_type: OwnerType;
/**
* Unique reference identifier
*/
ref: string;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
};

View File

@@ -0,0 +1,56 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper
*/
export type PaginatedResponse_PackSummary = {
/**
* The data items
*/
data: Array<{
/**
* Creation timestamp
*/
created: string;
/**
* Pack description
*/
description?: string | null;
/**
* Pack ID
*/
id: number;
/**
* Is standard pack
*/
is_standard: boolean;
/**
* Human-readable label
*/
label: string;
/**
* Unique reference identifier
*/
ref: string;
/**
* Tags
*/
tags: Array<string>;
/**
* Last update timestamp
*/
updated: string;
/**
* Pack version
*/
version: string;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
};

View File

@@ -0,0 +1,34 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper
*/
export type PaginatedResponse_PackTestSummary = {
/**
* The data items
*/
data: Array<{
durationMs: number;
failed: number;
packId: i64;
packLabel: string;
packRef: string;
packVersion: string;
passRate: number;
passed: number;
skipped: number;
testExecutionId: i64;
testTime: string;
totalTests: number;
triggerReason: string;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
};

View File

@@ -0,0 +1,68 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper
*/
export type PaginatedResponse_RuleSummary = {
/**
* The data items
*/
data: Array<{
/**
* 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;
/**
* 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;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
};

View File

@@ -0,0 +1,56 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper
*/
export type PaginatedResponse_SensorSummary = {
/**
* The data items
*/
data: Array<{
/**
* Creation timestamp
*/
created: string;
/**
* Sensor description
*/
description: string;
/**
* Whether the sensor is enabled
*/
enabled: boolean;
/**
* Sensor ID
*/
id: number;
/**
* Human-readable label
*/
label: string;
/**
* Pack reference (optional)
*/
pack_ref?: string | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Trigger reference
*/
trigger_ref: string;
/**
* Last update timestamp
*/
updated: string;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
};

View File

@@ -0,0 +1,56 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper
*/
export type PaginatedResponse_TriggerSummary = {
/**
* The data items
*/
data: Array<{
/**
* Creation timestamp
*/
created: string;
/**
* Trigger description
*/
description?: string | null;
/**
* Whether the trigger is enabled
*/
enabled: boolean;
/**
* Trigger ID
*/
id: number;
/**
* Human-readable label
*/
label: string;
/**
* Pack reference (optional)
*/
pack_ref?: string | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Last update timestamp
*/
updated: string;
/**
* Whether webhooks are enabled for this trigger
*/
webhook_enabled: boolean;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
};

View File

@@ -0,0 +1,60 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper
*/
export type PaginatedResponse_WorkflowSummary = {
/**
* The data items
*/
data: Array<{
/**
* Creation timestamp
*/
created: string;
/**
* Workflow description
*/
description?: string | null;
/**
* Whether the workflow is enabled
*/
enabled: boolean;
/**
* Workflow ID
*/
id: number;
/**
* Human-readable label
*/
label: string;
/**
* Pack reference
*/
pack_ref: string;
/**
* Unique reference identifier
*/
ref: string;
/**
* Tags
*/
tags: Array<string>;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow version
*/
version: string;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
};

View File

@@ -0,0 +1,26 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Pagination metadata
*/
export type PaginationMeta = {
/**
* Current page number (1-based)
*/
page: number;
/**
* Number of items per page
*/
page_size: number;
/**
* Total number of items
*/
total_items: number;
/**
* Total number of pages
*/
total_pages: number;
};

View File

@@ -0,0 +1,46 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Response DTO for queue statistics
*/
export type QueueStatsResponse = {
/**
* Action ID
*/
action_id: number;
/**
* Action reference
*/
action_ref: string;
/**
* Number of currently running executions
*/
active_count: number;
/**
* Timestamp of last statistics update
*/
last_updated: string;
/**
* Maximum concurrent executions allowed
*/
max_concurrent: number;
/**
* Timestamp of oldest queued execution (if any)
*/
oldest_enqueued_at?: string | null;
/**
* Number of executions waiting in queue
*/
queue_length: number;
/**
* Total executions completed since queue creation
*/
total_completed: number;
/**
* Total executions enqueued since queue creation
*/
total_enqueued: number;
};

View File

@@ -0,0 +1,14 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Refresh token request
*/
export type RefreshTokenRequest = {
/**
* Refresh token
*/
refresh_token: string;
};

View File

@@ -0,0 +1,22 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for registering a pack from local filesystem
*/
export type RegisterPackRequest = {
/**
* Force registration even if tests fail
*/
force?: boolean;
/**
* Local filesystem path to the pack directory
*/
path: string;
/**
* Skip running pack tests during registration
*/
skip_tests?: boolean;
};

View File

@@ -0,0 +1,22 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Register request
*/
export type RegisterRequest = {
/**
* Display name (optional)
*/
display_name?: string | null;
/**
* Identity login (username)
*/
login: string;
/**
* Password
*/
password: string;
};

View File

@@ -0,0 +1,78 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Response DTO for rule information
*/
export type RuleResponse = {
/**
* Action ID
*/
action: number;
/**
* Parameters to pass to the action when rule is triggered
*/
action_params: Record<string, any>;
/**
* Action reference
*/
action_ref: string;
/**
* Conditions for rule evaluation
*/
conditions: Record<string, any>;
/**
* Creation timestamp
*/
created: string;
/**
* Rule description
*/
description: string;
/**
* Whether the rule is enabled
*/
enabled: boolean;
/**
* Rule ID
*/
id: number;
/**
* Whether this is an ad-hoc rule (not from pack installation)
*/
is_adhoc: boolean;
/**
* Human-readable label
*/
label: string;
/**
* Pack ID
*/
pack: number;
/**
* Pack reference
*/
pack_ref: string;
/**
* Unique reference identifier
*/
ref: string;
/**
* Trigger ID
*/
trigger: number;
/**
* Parameters for trigger configuration and event filtering
*/
trigger_params: Record<string, any>;
/**
* Trigger reference
*/
trigger_ref: string;
/**
* Last update timestamp
*/
updated: string;
};

View File

@@ -0,0 +1,58 @@
/* 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;
/**
* 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;
};

View File

@@ -0,0 +1,70 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Response DTO for sensor information
*/
export type SensorResponse = {
/**
* Creation timestamp
*/
created: string;
/**
* Sensor description
*/
description: string;
/**
* Whether the sensor is enabled
*/
enabled: boolean;
/**
* Entry point
*/
entrypoint: string;
/**
* Sensor ID
*/
id: number;
/**
* Human-readable label
*/
label: string;
/**
* Pack ID (optional)
*/
pack?: number | null;
/**
* Pack reference (optional)
*/
pack_ref?: string | null;
/**
* Parameter schema
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime: number;
/**
* Runtime reference
*/
runtime_ref: string;
/**
* Trigger ID
*/
trigger: number;
/**
* Trigger reference
*/
trigger_ref: string;
/**
* Last update timestamp
*/
updated: string;
};

View File

@@ -0,0 +1,46 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Simplified sensor response (for list endpoints)
*/
export type SensorSummary = {
/**
* Creation timestamp
*/
created: string;
/**
* Sensor description
*/
description: string;
/**
* Whether the sensor is enabled
*/
enabled: boolean;
/**
* Sensor ID
*/
id: number;
/**
* Human-readable label
*/
label: string;
/**
* Pack reference (optional)
*/
pack_ref?: string | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Trigger reference
*/
trigger_ref: string;
/**
* Last update timestamp
*/
updated: string;
};

View File

@@ -0,0 +1,18 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Success message response (for operations that don't return data)
*/
export type SuccessResponse = {
/**
* Message describing the operation
*/
message: string;
/**
* Success indicator
*/
success: boolean;
};

View File

@@ -0,0 +1,17 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { TestStatus } from './TestStatus';
/**
* Individual test case result
*/
export type TestCaseResult = {
durationMs: number;
errorMessage?: string | null;
name: string;
status: TestStatus;
stderr?: string | null;
stdout?: string | null;
};

View File

@@ -0,0 +1,13 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Test status enum
*/
export enum TestStatus {
PASSED = 'passed',
FAILED = 'failed',
SKIPPED = 'skipped',
ERROR = 'error',
}

View File

@@ -0,0 +1,19 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { TestCaseResult } from './TestCaseResult';
/**
* Test suite result (collection of test cases)
*/
export type TestSuiteResult = {
durationMs: number;
failed: number;
name: string;
passed: number;
runnerType: string;
skipped: number;
testCases: Array<TestCaseResult>;
total: number;
};

View File

@@ -0,0 +1,28 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { UserInfo } from './UserInfo';
/**
* Token response
*/
export type TokenResponse = {
/**
* Access token (JWT)
*/
access_token: string;
/**
* Access token expiration in seconds
*/
expires_in: number;
/**
* Refresh token
*/
refresh_token: string;
/**
* Token type (always "Bearer")
*/
token_type: string;
user?: (null | UserInfo);
};

View File

@@ -0,0 +1,66 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Response DTO for trigger information
*/
export type TriggerResponse = {
/**
* Creation timestamp
*/
created: string;
/**
* Trigger description
*/
description?: string | null;
/**
* Whether the trigger is enabled
*/
enabled: boolean;
/**
* Trigger ID
*/
id: number;
/**
* Whether this is an ad-hoc trigger (not from pack installation)
*/
is_adhoc: boolean;
/**
* Human-readable label
*/
label: string;
/**
* Output schema
*/
out_schema: any | null;
/**
* Pack ID (optional)
*/
pack?: number | null;
/**
* Pack reference (optional)
*/
pack_ref?: string | null;
/**
* Parameter schema
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Last update timestamp
*/
updated: string;
/**
* Whether webhooks are enabled for this trigger
*/
webhook_enabled: boolean;
/**
* Webhook key (only present if webhooks are enabled)
*/
webhook_key?: string | null;
};

View File

@@ -0,0 +1,46 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Simplified trigger response (for list endpoints)
*/
export type TriggerSummary = {
/**
* Creation timestamp
*/
created: string;
/**
* Trigger description
*/
description?: string | null;
/**
* Whether the trigger is enabled
*/
enabled: boolean;
/**
* Trigger ID
*/
id: number;
/**
* Human-readable label
*/
label: string;
/**
* Pack reference (optional)
*/
pack_ref?: string | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Last update timestamp
*/
updated: string;
/**
* Whether webhooks are enabled for this trigger
*/
webhook_enabled: boolean;
};

View File

@@ -0,0 +1,34 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for updating an action
*/
export type UpdateActionRequest = {
/**
* Action description
*/
description?: string | null;
/**
* Entry point for action execution
*/
entrypoint?: string | null;
/**
* Human-readable label
*/
label?: string | null;
/**
* Output schema
*/
out_schema: any | null;
/**
* Parameter schema
*/
param_schema: any | null;
/**
* Runtime ID
*/
runtime?: number | null;
};

View File

@@ -0,0 +1,18 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
import type { InquiryStatus } from './InquiryStatus';
/**
* Request to update an inquiry
*/
export type UpdateInquiryRequest = {
assigned_to?: (null | i64);
/**
* Update the response data
*/
response: any | null;
status?: (null | InquiryStatus);
};

View File

@@ -0,0 +1,22 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request to update an existing key/secret
*/
export type UpdateKeyRequest = {
/**
* Update encryption status (re-encrypts if changing from false to true)
*/
encrypted?: boolean | null;
/**
* Update the human-readable name
*/
name?: string | null;
/**
* Update the secret value
*/
value?: string | null;
};

View File

@@ -0,0 +1,46 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for updating a pack
*/
export type UpdatePackRequest = {
/**
* Configuration schema
*/
conf_schema: any | null;
/**
* Pack configuration values
*/
config: any | null;
/**
* Pack description
*/
description?: string | null;
/**
* Whether this is a standard pack
*/
is_standard?: boolean | null;
/**
* Human-readable label
*/
label?: string | null;
/**
* Pack metadata
*/
meta: any | null;
/**
* Runtime dependencies
*/
runtime_deps?: any[] | null;
/**
* Tags for categorization
*/
tags?: any[] | null;
/**
* Pack version
*/
version?: string | null;
};

View File

@@ -0,0 +1,34 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for updating a rule
*/
export type UpdateRuleRequest = {
/**
* Parameters to pass to the action when rule is triggered
*/
action_params: any | null;
/**
* Conditions for rule evaluation
*/
conditions: any | null;
/**
* Rule description
*/
description?: string | null;
/**
* Whether the rule is enabled
*/
enabled?: boolean | null;
/**
* Human-readable label
*/
label?: string | null;
/**
* Parameters for trigger configuration and event filtering
*/
trigger_params: any | null;
};

View File

@@ -0,0 +1,30 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for updating a sensor
*/
export type UpdateSensorRequest = {
/**
* Sensor description
*/
description?: string | null;
/**
* Whether the sensor is enabled
*/
enabled?: boolean | null;
/**
* Entry point for sensor execution
*/
entrypoint?: string | null;
/**
* Human-readable label
*/
label?: string | null;
/**
* Parameter schema
*/
param_schema: any | null;
};

View File

@@ -0,0 +1,30 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for updating a trigger
*/
export type UpdateTriggerRequest = {
/**
* Trigger description
*/
description?: string | null;
/**
* Whether the trigger is enabled
*/
enabled?: boolean | null;
/**
* Human-readable label
*/
label?: string | null;
/**
* Output schema
*/
out_schema: any | null;
/**
* Parameter schema
*/
param_schema: any | null;
};

View File

@@ -0,0 +1,42 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for updating a workflow
*/
export type UpdateWorkflowRequest = {
/**
* Workflow definition
*/
definition: any | null;
/**
* Workflow description
*/
description?: string | null;
/**
* Whether the workflow is enabled
*/
enabled?: boolean | null;
/**
* Human-readable label
*/
label?: string | null;
/**
* Output schema
*/
out_schema: any | null;
/**
* Parameter schema
*/
param_schema: any | null;
/**
* Tags
*/
tags?: any[] | null;
/**
* Workflow version
*/
version?: string | null;
};

View File

@@ -0,0 +1,22 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* User information included in token response
*/
export type UserInfo = {
/**
* Display name
*/
display_name?: string | null;
/**
* Identity ID
*/
id: number;
/**
* Identity login
*/
login: string;
};

View File

@@ -0,0 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type Value = {
};

View File

@@ -0,0 +1,24 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { Value } from './Value';
/**
* Request body for webhook receiver endpoint
*/
export type WebhookReceiverRequest = {
headers?: (null | Value);
/**
* Webhook payload (arbitrary JSON)
*/
payload: Value;
/**
* Optional source IP address
*/
source_ip?: string | null;
/**
* Optional user agent
*/
user_agent?: string | null;
};

View File

@@ -0,0 +1,26 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Response from webhook receiver endpoint
*/
export type WebhookReceiverResponse = {
/**
* ID of the event created from this webhook
*/
event_id: number;
/**
* Success message
*/
message: string;
/**
* Timestamp when the webhook was received
*/
received_at: string;
/**
* Reference of the trigger that received this webhook
*/
trigger_ref: string;
};

View File

@@ -0,0 +1,66 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Response DTO for workflow information
*/
export type WorkflowResponse = {
/**
* Creation timestamp
*/
created: string;
/**
* Workflow definition
*/
definition: Record<string, any>;
/**
* Workflow description
*/
description?: string | null;
/**
* Whether the workflow is enabled
*/
enabled: boolean;
/**
* Workflow ID
*/
id: number;
/**
* Human-readable label
*/
label: string;
/**
* Output schema
*/
out_schema: any | null;
/**
* Pack ID
*/
pack: number;
/**
* Pack reference
*/
pack_ref: string;
/**
* Parameter schema
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Tags
*/
tags: Array<string>;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow version
*/
version: string;
};

View File

@@ -0,0 +1,50 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Simplified workflow response (for list endpoints)
*/
export type WorkflowSummary = {
/**
* Creation timestamp
*/
created: string;
/**
* Workflow description
*/
description?: string | null;
/**
* Whether the workflow is enabled
*/
enabled: boolean;
/**
* Workflow ID
*/
id: number;
/**
* Human-readable label
*/
label: string;
/**
* Pack reference
*/
pack_ref: string;
/**
* Unique reference identifier
*/
ref: string;
/**
* Tags
*/
tags: Array<string>;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow version
*/
version: string;
};

View File

@@ -0,0 +1,26 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Individual workflow sync result
*/
export type WorkflowSyncResult = {
/**
* Whether the workflow was created (false = updated)
*/
created: boolean;
/**
* Workflow reference name
*/
ref_name: string;
/**
* Any warnings during registration
*/
warnings: Array<string>;
/**
* Workflow definition ID
*/
workflow_def_id: number;
};

View File

@@ -0,0 +1,5 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type i64 = number;