properly handling patch updates
Some checks failed
CI / Clippy (push) Failing after 3m6s
CI / Rustfmt (push) Failing after 3m9s
CI / Cargo Audit & Deny (push) Successful in 5m2s
CI / Tests (push) Successful in 8m15s
CI / Security Blocking Checks (push) Successful in 10s
CI / Web Advisory Checks (push) Successful in 1m4s
CI / Web Blocking Checks (push) Failing after 4m52s
Publish Images And Chart / Resolve Publish Metadata (push) Successful in 2s
CI / Security Advisory Checks (push) Successful in 1m31s
Publish Images And Chart / Publish init-user (push) Failing after 30s
Publish Images And Chart / Publish init-packs (push) Failing after 1m41s
Publish Images And Chart / Publish migrations (push) Failing after 10s
Publish Images And Chart / Publish web (push) Failing after 11s
Publish Images And Chart / Publish sensor (push) Failing after 32s
Publish Images And Chart / Publish worker (push) Failing after 11s
Publish Images And Chart / Publish executor (push) Failing after 11s
Publish Images And Chart / Publish notifier (push) Failing after 9s
Publish Images And Chart / Publish api (push) Failing after 31s
Publish Images And Chart / Publish Helm Chart (push) Has been skipped

This commit is contained in:
2026-03-17 12:17:58 -05:00
parent 643023b6d5
commit f96861d417
136 changed files with 3782 additions and 1553 deletions

View File

@@ -16,6 +16,7 @@ const PackRegisterPage = lazy(() => import("@/pages/packs/PackRegisterPage"));
const PackInstallPage = lazy(() => import("@/pages/packs/PackInstallPage"));
const PackEditPage = lazy(() => import("@/pages/packs/PackEditPage"));
const ActionsPage = lazy(() => import("@/pages/actions/ActionsPage"));
const RuntimesPage = lazy(() => import("@/pages/runtimes/RuntimesPage"));
const WorkflowBuilderPage = lazy(
() => import("@/pages/actions/WorkflowBuilderPage"),
);
@@ -85,6 +86,9 @@ function App() {
<Route path="packs/:ref" element={<PacksPage />} />
<Route path="packs/:ref/edit" element={<PackEditPage />} />
<Route path="actions" element={<ActionsPage />} />
<Route path="runtimes" element={<RuntimesPage />} />
<Route path="runtimes/new" element={<RuntimesPage />} />
<Route path="runtimes/:ref" element={<RuntimesPage />} />
<Route
path="actions/workflows/new"
element={<WorkflowBuilderPage />}

View File

@@ -1,32 +1,32 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
import type { ApiRequestOptions } from "./ApiRequestOptions";
/* eslint-disable */
import type { ApiRequestOptions } from './ApiRequestOptions';
type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
type Headers = Record<string, string>;
export type OpenAPIConfig = {
BASE: string;
VERSION: string;
WITH_CREDENTIALS: boolean;
CREDENTIALS: "include" | "omit" | "same-origin";
TOKEN?: string | Resolver<string> | undefined;
USERNAME?: string | Resolver<string> | undefined;
PASSWORD?: string | Resolver<string> | undefined;
HEADERS?: Headers | Resolver<Headers> | undefined;
ENCODE_PATH?: ((path: string) => string) | undefined;
BASE: string;
VERSION: string;
WITH_CREDENTIALS: boolean;
CREDENTIALS: 'include' | 'omit' | 'same-origin';
TOKEN?: string | Resolver<string> | undefined;
USERNAME?: string | Resolver<string> | undefined;
PASSWORD?: string | Resolver<string> | undefined;
HEADERS?: Headers | Resolver<Headers> | undefined;
ENCODE_PATH?: ((path: string) => string) | undefined;
};
export const OpenAPI: OpenAPIConfig = {
BASE: "http://localhost:8080",
VERSION: "0.1.0",
WITH_CREDENTIALS: false,
CREDENTIALS: "include",
TOKEN: undefined,
USERNAME: undefined,
PASSWORD: undefined,
HEADERS: undefined,
ENCODE_PATH: undefined,
BASE: 'http://localhost:8080',
VERSION: '0.1.0',
WITH_CREDENTIALS: false,
CREDENTIALS: 'include',
TOKEN: undefined,
USERNAME: undefined,
PASSWORD: undefined,
HEADERS: undefined,
ENCODE_PATH: undefined,
};

View File

@@ -1,124 +1,143 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export { ApiError } from './core/ApiError';
export { CancelablePromise, CancelError } from './core/CancelablePromise';
export { OpenAPI } from './core/OpenAPI';
export type { OpenAPIConfig } from './core/OpenAPI';
export { ApiError } from "./core/ApiError";
export { CancelablePromise, CancelError } from "./core/CancelablePromise";
export { OpenAPI } from "./core/OpenAPI";
export type { OpenAPIConfig } from "./core/OpenAPI";
export type { ActionResponse } from './models/ActionResponse';
export type { ActionSummary } from './models/ActionSummary';
export type { ApiResponse_ActionResponse } from './models/ApiResponse_ActionResponse';
export type { ApiResponse_CurrentUserResponse } from './models/ApiResponse_CurrentUserResponse';
export type { ApiResponse_EnforcementResponse } from './models/ApiResponse_EnforcementResponse';
export type { ApiResponse_EventResponse } from './models/ApiResponse_EventResponse';
export type { ApiResponse_ExecutionResponse } from './models/ApiResponse_ExecutionResponse';
export type { ApiResponse_IdentitySummary } from './models/ApiResponse_IdentitySummary';
export type { ApiResponse_InquiryResponse } from './models/ApiResponse_InquiryResponse';
export type { ApiResponse_KeyResponse } from './models/ApiResponse_KeyResponse';
export type { ApiResponse_PackInstallResponse } from './models/ApiResponse_PackInstallResponse';
export type { ApiResponse_PackResponse } from './models/ApiResponse_PackResponse';
export type { ApiResponse_PermissionAssignmentResponse } from './models/ApiResponse_PermissionAssignmentResponse';
export type { ApiResponse_QueueStatsResponse } from './models/ApiResponse_QueueStatsResponse';
export type { ApiResponse_RuleResponse } from './models/ApiResponse_RuleResponse';
export type { ApiResponse_RuntimeResponse } from './models/ApiResponse_RuntimeResponse';
export type { ApiResponse_SensorResponse } from './models/ApiResponse_SensorResponse';
export type { ApiResponse_String } from './models/ApiResponse_String';
export type { ApiResponse_TokenResponse } from './models/ApiResponse_TokenResponse';
export type { ApiResponse_TriggerResponse } from './models/ApiResponse_TriggerResponse';
export type { ApiResponse_WebhookReceiverResponse } from './models/ApiResponse_WebhookReceiverResponse';
export type { ApiResponse_WorkflowResponse } from './models/ApiResponse_WorkflowResponse';
export type { ChangePasswordRequest } from './models/ChangePasswordRequest';
export type { CreateActionRequest } from './models/CreateActionRequest';
export type { CreateIdentityRequest } from './models/CreateIdentityRequest';
export type { CreateInquiryRequest } from './models/CreateInquiryRequest';
export type { CreateKeyRequest } from './models/CreateKeyRequest';
export type { CreatePackRequest } from './models/CreatePackRequest';
export type { CreatePermissionAssignmentRequest } from './models/CreatePermissionAssignmentRequest';
export type { CreateRuleRequest } from './models/CreateRuleRequest';
export type { CreateRuntimeRequest } from './models/CreateRuntimeRequest';
export type { CreateSensorRequest } from './models/CreateSensorRequest';
export type { CreateTriggerRequest } from './models/CreateTriggerRequest';
export type { CreateWorkflowRequest } from './models/CreateWorkflowRequest';
export type { CurrentUserResponse } from './models/CurrentUserResponse';
export { EnforcementCondition } from './models/EnforcementCondition';
export type { EnforcementResponse } from './models/EnforcementResponse';
export { EnforcementStatus } from './models/EnforcementStatus';
export type { EnforcementSummary } from './models/EnforcementSummary';
export type { EventResponse } from './models/EventResponse';
export type { EventSummary } from './models/EventSummary';
export type { ExecutionResponse } from './models/ExecutionResponse';
export { ExecutionStatus } from './models/ExecutionStatus';
export type { ExecutionSummary } from './models/ExecutionSummary';
export type { HealthResponse } from './models/HealthResponse';
export type { i64 } from './models/i64';
export type { IdentitySummary } from './models/IdentitySummary';
export type { InquiryRespondRequest } from './models/InquiryRespondRequest';
export type { InquiryResponse } from './models/InquiryResponse';
export { InquiryStatus } from './models/InquiryStatus';
export type { InquirySummary } from './models/InquirySummary';
export type { InstallPackRequest } from './models/InstallPackRequest';
export type { KeyResponse } from './models/KeyResponse';
export type { KeySummary } from './models/KeySummary';
export type { LoginRequest } from './models/LoginRequest';
export { NullableJsonPatch } from './models/NullableJsonPatch';
export { NullableStringPatch } from './models/NullableStringPatch';
export { OwnerType } from './models/OwnerType';
export type { PackInstallResponse } from './models/PackInstallResponse';
export type { PackResponse } from './models/PackResponse';
export type { PackSummary } from './models/PackSummary';
export type { PackTestExecution } from './models/PackTestExecution';
export type { PackTestResult } from './models/PackTestResult';
export type { PackTestSummary } from './models/PackTestSummary';
export type { PackWorkflowSyncResponse } from './models/PackWorkflowSyncResponse';
export type { PackWorkflowValidationResponse } from './models/PackWorkflowValidationResponse';
export type { PaginatedResponse_ActionSummary } from './models/PaginatedResponse_ActionSummary';
export type { PaginatedResponse_EnforcementSummary } from './models/PaginatedResponse_EnforcementSummary';
export type { PaginatedResponse_EventSummary } from './models/PaginatedResponse_EventSummary';
export type { PaginatedResponse_ExecutionSummary } from './models/PaginatedResponse_ExecutionSummary';
export type { PaginatedResponse_IdentitySummary } from './models/PaginatedResponse_IdentitySummary';
export type { PaginatedResponse_InquirySummary } from './models/PaginatedResponse_InquirySummary';
export type { PaginatedResponse_KeySummary } from './models/PaginatedResponse_KeySummary';
export type { PaginatedResponse_PackSummary } from './models/PaginatedResponse_PackSummary';
export type { PaginatedResponse_PackTestSummary } from './models/PaginatedResponse_PackTestSummary';
export type { PaginatedResponse_RuleSummary } from './models/PaginatedResponse_RuleSummary';
export type { PaginatedResponse_RuntimeSummary } from './models/PaginatedResponse_RuntimeSummary';
export type { PaginatedResponse_SensorSummary } from './models/PaginatedResponse_SensorSummary';
export type { PaginatedResponse_TriggerSummary } from './models/PaginatedResponse_TriggerSummary';
export type { PaginatedResponse_WorkflowSummary } from './models/PaginatedResponse_WorkflowSummary';
export type { PaginationMeta } from './models/PaginationMeta';
export type { PermissionAssignmentResponse } from './models/PermissionAssignmentResponse';
export type { PermissionSetSummary } from './models/PermissionSetSummary';
export type { QueueStatsResponse } from './models/QueueStatsResponse';
export type { RefreshTokenRequest } from './models/RefreshTokenRequest';
export type { RegisterPackRequest } from './models/RegisterPackRequest';
export type { RegisterRequest } from './models/RegisterRequest';
export type { RuleResponse } from './models/RuleResponse';
export type { RuleSummary } from './models/RuleSummary';
export type { RuntimeResponse } from './models/RuntimeResponse';
export type { RuntimeSummary } from './models/RuntimeSummary';
export type { SensorResponse } from './models/SensorResponse';
export type { SensorSummary } from './models/SensorSummary';
export type { SuccessResponse } from './models/SuccessResponse';
export type { TestCaseResult } from './models/TestCaseResult';
export { TestStatus } from './models/TestStatus';
export type { TestSuiteResult } from './models/TestSuiteResult';
export type { TokenResponse } from './models/TokenResponse';
export type { TriggerResponse } from './models/TriggerResponse';
export type { TriggerSummary } from './models/TriggerSummary';
export type { UpdateActionRequest } from './models/UpdateActionRequest';
export type { UpdateIdentityRequest } from './models/UpdateIdentityRequest';
export type { UpdateInquiryRequest } from './models/UpdateInquiryRequest';
export type { UpdateKeyRequest } from './models/UpdateKeyRequest';
export type { UpdatePackRequest } from './models/UpdatePackRequest';
export type { UpdateRuleRequest } from './models/UpdateRuleRequest';
export type { UpdateRuntimeRequest } from './models/UpdateRuntimeRequest';
export type { UpdateSensorRequest } from './models/UpdateSensorRequest';
export type { UpdateTriggerRequest } from './models/UpdateTriggerRequest';
export type { UpdateWorkflowRequest } from './models/UpdateWorkflowRequest';
export type { UserInfo } from './models/UserInfo';
export type { Value } from './models/Value';
export type { WebhookReceiverRequest } from './models/WebhookReceiverRequest';
export type { WebhookReceiverResponse } from './models/WebhookReceiverResponse';
export type { WorkflowResponse } from './models/WorkflowResponse';
export type { WorkflowSummary } from './models/WorkflowSummary';
export type { WorkflowSyncResult } from './models/WorkflowSyncResult';
export type { ActionResponse } from "./models/ActionResponse";
export type { ActionSummary } from "./models/ActionSummary";
export type { ApiResponse_ActionResponse } from "./models/ApiResponse_ActionResponse";
export type { ApiResponse_CurrentUserResponse } from "./models/ApiResponse_CurrentUserResponse";
export type { ApiResponse_EnforcementResponse } from "./models/ApiResponse_EnforcementResponse";
export type { ApiResponse_EventResponse } from "./models/ApiResponse_EventResponse";
export type { ApiResponse_ExecutionResponse } from "./models/ApiResponse_ExecutionResponse";
export type { ApiResponse_InquiryResponse } from "./models/ApiResponse_InquiryResponse";
export type { ApiResponse_KeyResponse } from "./models/ApiResponse_KeyResponse";
export type { ApiResponse_PackInstallResponse } from "./models/ApiResponse_PackInstallResponse";
export type { ApiResponse_PackResponse } from "./models/ApiResponse_PackResponse";
export type { ApiResponse_QueueStatsResponse } from "./models/ApiResponse_QueueStatsResponse";
export type { ApiResponse_RuleResponse } from "./models/ApiResponse_RuleResponse";
export type { ApiResponse_SensorResponse } from "./models/ApiResponse_SensorResponse";
export type { ApiResponse_String } from "./models/ApiResponse_String";
export type { ApiResponse_TokenResponse } from "./models/ApiResponse_TokenResponse";
export type { ApiResponse_TriggerResponse } from "./models/ApiResponse_TriggerResponse";
export type { ApiResponse_WebhookReceiverResponse } from "./models/ApiResponse_WebhookReceiverResponse";
export type { ApiResponse_WorkflowResponse } from "./models/ApiResponse_WorkflowResponse";
export type { ChangePasswordRequest } from "./models/ChangePasswordRequest";
export type { CreateActionRequest } from "./models/CreateActionRequest";
export type { CreateInquiryRequest } from "./models/CreateInquiryRequest";
export type { CreateKeyRequest } from "./models/CreateKeyRequest";
export type { CreatePackRequest } from "./models/CreatePackRequest";
export type { CreateRuleRequest } from "./models/CreateRuleRequest";
export type { CreateSensorRequest } from "./models/CreateSensorRequest";
export type { CreateTriggerRequest } from "./models/CreateTriggerRequest";
export type { CreateWorkflowRequest } from "./models/CreateWorkflowRequest";
export type { CurrentUserResponse } from "./models/CurrentUserResponse";
export { EnforcementCondition } from "./models/EnforcementCondition";
export type { EnforcementResponse } from "./models/EnforcementResponse";
export { EnforcementStatus } from "./models/EnforcementStatus";
export type { EnforcementSummary } from "./models/EnforcementSummary";
export type { EventResponse } from "./models/EventResponse";
export type { EventSummary } from "./models/EventSummary";
export type { ExecutionResponse } from "./models/ExecutionResponse";
export { ExecutionStatus } from "./models/ExecutionStatus";
export type { ExecutionSummary } from "./models/ExecutionSummary";
export type { HealthResponse } from "./models/HealthResponse";
export type { i64 } from "./models/i64";
export type { InquiryRespondRequest } from "./models/InquiryRespondRequest";
export type { InquiryResponse } from "./models/InquiryResponse";
export { InquiryStatus } from "./models/InquiryStatus";
export type { InquirySummary } from "./models/InquirySummary";
export type { InstallPackRequest } from "./models/InstallPackRequest";
export type { KeyResponse } from "./models/KeyResponse";
export type { KeySummary } from "./models/KeySummary";
export type { LoginRequest } from "./models/LoginRequest";
export { OwnerType } from "./models/OwnerType";
export type { PackInstallResponse } from "./models/PackInstallResponse";
export type { PackResponse } from "./models/PackResponse";
export type { PackSummary } from "./models/PackSummary";
export type { PackTestExecution } from "./models/PackTestExecution";
export type { PackTestResult } from "./models/PackTestResult";
export type { PackTestSummary } from "./models/PackTestSummary";
export type { PackWorkflowSyncResponse } from "./models/PackWorkflowSyncResponse";
export type { PackWorkflowValidationResponse } from "./models/PackWorkflowValidationResponse";
export type { PaginatedResponse_ActionSummary } from "./models/PaginatedResponse_ActionSummary";
export type { PaginatedResponse_EnforcementSummary } from "./models/PaginatedResponse_EnforcementSummary";
export type { PaginatedResponse_EventSummary } from "./models/PaginatedResponse_EventSummary";
export type { PaginatedResponse_ExecutionSummary } from "./models/PaginatedResponse_ExecutionSummary";
export type { PaginatedResponse_InquirySummary } from "./models/PaginatedResponse_InquirySummary";
export type { PaginatedResponse_KeySummary } from "./models/PaginatedResponse_KeySummary";
export type { PaginatedResponse_PackSummary } from "./models/PaginatedResponse_PackSummary";
export type { PaginatedResponse_PackTestSummary } from "./models/PaginatedResponse_PackTestSummary";
export type { PaginatedResponse_RuleSummary } from "./models/PaginatedResponse_RuleSummary";
export type { PaginatedResponse_SensorSummary } from "./models/PaginatedResponse_SensorSummary";
export type { PaginatedResponse_TriggerSummary } from "./models/PaginatedResponse_TriggerSummary";
export type { PaginatedResponse_WorkflowSummary } from "./models/PaginatedResponse_WorkflowSummary";
export type { PaginationMeta } from "./models/PaginationMeta";
export type { QueueStatsResponse } from "./models/QueueStatsResponse";
export type { RefreshTokenRequest } from "./models/RefreshTokenRequest";
export type { RegisterPackRequest } from "./models/RegisterPackRequest";
export type { RegisterRequest } from "./models/RegisterRequest";
export type { RuleResponse } from "./models/RuleResponse";
export type { RuleSummary } from "./models/RuleSummary";
export type { SensorResponse } from "./models/SensorResponse";
export type { SensorSummary } from "./models/SensorSummary";
export type { SuccessResponse } from "./models/SuccessResponse";
export type { TestCaseResult } from "./models/TestCaseResult";
export { TestStatus } from "./models/TestStatus";
export type { TestSuiteResult } from "./models/TestSuiteResult";
export type { TokenResponse } from "./models/TokenResponse";
export type { TriggerResponse } from "./models/TriggerResponse";
export type { TriggerSummary } from "./models/TriggerSummary";
export type { UpdateActionRequest } from "./models/UpdateActionRequest";
export type { UpdateInquiryRequest } from "./models/UpdateInquiryRequest";
export type { UpdateKeyRequest } from "./models/UpdateKeyRequest";
export type { UpdatePackRequest } from "./models/UpdatePackRequest";
export type { UpdateRuleRequest } from "./models/UpdateRuleRequest";
export type { UpdateSensorRequest } from "./models/UpdateSensorRequest";
export type { UpdateTriggerRequest } from "./models/UpdateTriggerRequest";
export type { UpdateWorkflowRequest } from "./models/UpdateWorkflowRequest";
export type { UserInfo } from "./models/UserInfo";
export type { Value } from "./models/Value";
export type { WebhookReceiverRequest } from "./models/WebhookReceiverRequest";
export type { WebhookReceiverResponse } from "./models/WebhookReceiverResponse";
export type { WorkflowResponse } from "./models/WorkflowResponse";
export type { WorkflowSummary } from "./models/WorkflowSummary";
export type { WorkflowSyncResult } from "./models/WorkflowSyncResult";
export { ActionsService } from "./services/ActionsService";
export { AuthService } from "./services/AuthService";
export { EnforcementsService } from "./services/EnforcementsService";
export { EventsService } from "./services/EventsService";
export { ExecutionsService } from "./services/ExecutionsService";
export { HealthService } from "./services/HealthService";
export { InquiriesService } from "./services/InquiriesService";
export { PacksService } from "./services/PacksService";
export { RulesService } from "./services/RulesService";
export { SecretsService } from "./services/SecretsService";
export { SensorsService } from "./services/SensorsService";
export { TriggersService } from "./services/TriggersService";
export { WebhooksService } from "./services/WebhooksService";
export { WorkflowsService } from "./services/WorkflowsService";
export { ActionsService } from './services/ActionsService';
export { AuthService } from './services/AuthService';
export { EnforcementsService } from './services/EnforcementsService';
export { EventsService } from './services/EventsService';
export { ExecutionsService } from './services/ExecutionsService';
export { HealthService } from './services/HealthService';
export { InquiriesService } from './services/InquiriesService';
export { PacksService } from './services/PacksService';
export { PermissionsService } from './services/PermissionsService';
export { RulesService } from './services/RulesService';
export { RuntimesService } from './services/RuntimesService';
export { SecretsService } from './services/SecretsService';
export { SensorsService } from './services/SensorsService';
export { TriggersService } from './services/TriggersService';
export { WebhooksService } from './services/WebhooksService';
export { WorkflowsService } from './services/WorkflowsService';

View File

@@ -6,64 +6,65 @@
* 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 (StackStorm-style with inline required/secret)
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime?: number | null;
/**
* Semver version constraint for the runtime (e.g., ">=3.12", ">=3.12,<4.0", "~18.0")
*/
runtime_version_constraint?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow definition ID (non-null if this action is a workflow)
*/
workflow_def?: number | null;
/**
* 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 (StackStorm-style with inline required/secret)
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime?: number | null;
/**
* Semver version constraint for the runtime (e.g., ">=3.12", ">=3.12,<4.0", "~18.0")
*/
runtime_version_constraint?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow definition ID (non-null if this action is a workflow)
*/
workflow_def?: number | null;
};

View File

@@ -1,53 +1,54 @@
/* 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;
/**
* Semver version constraint for the runtime
*/
runtime_version_constraint?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow definition ID (non-null if this action is a workflow)
*/
workflow_def?: number | null;
/**
* 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;
/**
* Semver version constraint for the runtime
*/
runtime_version_constraint?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow definition ID (non-null if this action is a workflow)
*/
workflow_def?: number | null;
};

View File

@@ -6,73 +6,74 @@
* Standard API response wrapper
*/
export type ApiResponse_ActionResponse = {
/**
* Response DTO for action information
*/
data: {
/**
* Creation timestamp
* Response DTO for action information
*/
created: string;
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 (StackStorm-style with inline required/secret)
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime?: number | null;
/**
* Semver version constraint for the runtime (e.g., ">=3.12", ">=3.12,<4.0", "~18.0")
*/
runtime_version_constraint?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow definition ID (non-null if this action is a workflow)
*/
workflow_def?: number | null;
};
/**
* Action description
* Optional message
*/
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 (StackStorm-style with inline required/secret)
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime?: number | null;
/**
* Semver version constraint for the runtime (e.g., ">=3.12", ">=3.12,<4.0", "~18.0")
*/
runtime_version_constraint?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow definition ID (non-null if this action is a workflow)
*/
workflow_def?: number | null;
};
/**
* Optional message
*/
message?: string | null;
message?: string | null;
};

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/

View File

@@ -2,88 +2,76 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ExecutionStatus } from "./ExecutionStatus";
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)
* Response DTO for execution information
*/
action?: number | null;
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;
/**
* Identity ID that initiated this execution
*/
executor?: number | null;
/**
* Execution ID
*/
id: number;
/**
* Parent execution ID (for nested/child executions)
*/
parent?: number | null;
/**
* Execution result/output
*/
result: Record<string, any>;
/**
* When the execution actually started running (worker picked it up).
* Null if the execution hasn't started running yet.
*/
started_at?: string | null;
/**
* Execution status
*/
status: ExecutionStatus;
/**
* Last update timestamp
*/
updated: string;
/**
* Worker ID currently assigned to this execution
*/
worker?: number | null;
/**
* Workflow task metadata (only populated for workflow task executions)
*/
workflow_task?: any | null;
};
/**
* Action reference
* Optional message
*/
action_ref: string;
/**
* Execution configuration/parameters
*/
config: Record<string, any>;
/**
* Creation timestamp
*/
created: string;
/**
* Enforcement ID (rule enforcement that triggered this)
*/
enforcement?: number | null;
/**
* Identity ID that initiated this execution
*/
executor?: number | null;
/**
* Execution ID
*/
id: number;
/**
* Parent execution ID (for nested/child executions)
*/
parent?: number | null;
/**
* Worker ID currently assigned to this execution
*/
worker?: number | null;
/**
* Execution result/output
*/
result: Record<string, any>;
/**
* When the execution actually started running (worker picked it up).
* Null if the execution hasn't started running yet.
*/
started_at?: string | null;
/**
* Execution status
*/
status: ExecutionStatus;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow task metadata (only populated for workflow task executions)
*/
workflow_task?: {
workflow_execution: number;
task_name: string;
task_index?: number | null;
task_batch?: number | null;
retry_count: number;
max_retries: number;
next_retry_at?: string | null;
timeout_seconds?: number | null;
timed_out: boolean;
duration_ms?: number | null;
started_at?: string | null;
completed_at?: string | null;
} | null;
};
/**
* Optional message
*/
message?: string | null;
message?: string | null;
};

View File

@@ -0,0 +1,21 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { Value } from './Value';
/**
* Standard API response wrapper
*/
export type ApiResponse_IdentitySummary = {
data: {
attributes: Value;
display_name?: string | null;
id: number;
login: string;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -1,7 +1,7 @@
/* 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';
/**
@@ -61,9 +61,9 @@ export type ApiResponse_KeyResponse = {
*/
updated: string;
/**
* The secret value (decrypted if encrypted)
* The secret value (decrypted if encrypted). Can be a string, object, array, number, or boolean.
*/
value: string;
value: any;
};
/**
* Optional message

View File

@@ -1,7 +1,7 @@
/* 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';
/**

View File

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

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/

View File

@@ -0,0 +1,30 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/
export type ApiResponse_RuntimeResponse = {
/**
* Full runtime response.
*/
data: {
created: string;
description?: string | null;
distributions: Record<string, any>;
execution_config: Record<string, any>;
id: number;
installation: any | null;
name: string;
pack?: number | null;
pack_ref?: string | null;
ref: string;
updated: string;
};
/**
* Optional message
*/
message?: string | null;
};

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { UserInfo } from './UserInfo';
/**
* Standard API response wrapper

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Standard API response wrapper
*/

View File

@@ -68,3 +68,4 @@ export type ApiResponse_WorkflowResponse = {
*/
message?: string | null;
};

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Change password request
*/

View File

@@ -0,0 +1,12 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { Value } from './Value';
export type CreateIdentityRequest = {
attributes?: Value;
display_name?: string | null;
login: string;
password?: string | null;
};

View File

@@ -1,7 +1,7 @@
/* 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';
/**
@@ -9,7 +9,7 @@ import type { OwnerType } from './OwnerType';
*/
export type CreateKeyRequest = {
/**
* Whether to encrypt the value (recommended: true)
* Whether to encrypt the value at rest (default: false; use --encrypt / -e from CLI)
*/
encrypted?: boolean;
/**
@@ -45,8 +45,8 @@ export type CreateKeyRequest = {
*/
ref: string;
/**
* The secret value to store
* The secret value to store. Can be a string, object, array, number, or boolean.
*/
value: string;
value: any;
};

View File

@@ -0,0 +1,10 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CreatePermissionAssignmentRequest = {
identity_id?: number | null;
identity_login?: string | null;
permission_set_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 runtime.
*/
export type CreateRuntimeRequest = {
/**
* Optional human-readable description
*/
description?: string | null;
/**
* Distribution metadata used for verification and platform support
*/
distributions?: Record<string, any>;
/**
* Runtime execution configuration
*/
execution_config?: Record<string, any>;
/**
* Optional installation metadata
*/
installation?: any | null;
/**
* Display name
*/
name: string;
/**
* Optional pack reference this runtime belongs to
*/
pack_ref?: string | null;
/**
* Unique reference identifier (e.g. "core.python", "core.nodejs")
*/
ref: string;
};

View File

@@ -43,3 +43,4 @@ export type CreateWorkflowRequest = {
*/
version: string;
};

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Current user response
*/

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
/* 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';

View File

@@ -1,7 +1,7 @@
/* 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

View File

@@ -2,80 +2,67 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ExecutionStatus } from "./ExecutionStatus";
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;
/**
* Identity ID that initiated this execution
*/
executor?: number | null;
/**
* Execution ID
*/
id: number;
/**
* Parent execution ID (for nested/child executions)
*/
parent?: number | null;
/**
* Worker ID currently assigned to this execution
*/
worker?: number | null;
/**
* Execution result/output
*/
result: Record<string, any>;
/**
* When the execution actually started running (worker picked it up).
* Null if the execution hasn't started running yet.
*/
started_at?: string | null;
/**
* Execution status
*/
status: ExecutionStatus;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow task metadata (only populated for workflow task executions)
*/
workflow_task?: {
workflow_execution: number;
task_name: string;
triggered_by?: string | null;
task_index?: number | null;
task_batch?: number | null;
retry_count: number;
max_retries: number;
next_retry_at?: string | null;
timeout_seconds?: number | null;
timed_out: boolean;
duration_ms?: number | null;
/**
* 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;
/**
* Identity ID that initiated this execution
*/
executor?: number | null;
/**
* Execution ID
*/
id: number;
/**
* Parent execution ID (for nested/child executions)
*/
parent?: number | null;
/**
* Execution result/output
*/
result: Record<string, any>;
/**
* When the execution actually started running (worker picked it up).
* Null if the execution hasn't started running yet.
*/
started_at?: string | null;
completed_at?: string | null;
} | null;
/**
* Execution status
*/
status: ExecutionStatus;
/**
* Last update timestamp
*/
updated: string;
/**
* Worker ID currently assigned to this execution
*/
worker?: number | null;
/**
* Workflow task metadata (only populated for workflow task executions)
*/
workflow_task?: any | null;
};

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export enum ExecutionStatus {
REQUESTED = 'requested',
SCHEDULING = 'scheduling',

View File

@@ -1,69 +1,56 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
import type { ExecutionStatus } from "./ExecutionStatus";
/* 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;
/**
* When the execution actually started running (worker picked it up).
* Null if the execution hasn't started running yet.
*/
started_at?: string | null;
/**
* Trigger reference (if triggered by a trigger)
*/
trigger_ref?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow task metadata (only populated for workflow task executions)
*/
workflow_task?: {
workflow_execution: number;
task_name: string;
triggered_by?: string | null;
task_index?: number | null;
task_batch?: number | null;
retry_count: number;
max_retries: number;
next_retry_at?: string | null;
timeout_seconds?: number | null;
timed_out: boolean;
duration_ms?: number | null;
/**
* 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;
/**
* When the execution actually started running (worker picked it up).
* Null if the execution hasn't started running yet.
*/
started_at?: string | null;
completed_at?: string | null;
} | null;
/**
* Execution status
*/
status: ExecutionStatus;
/**
* Trigger reference (if triggered by a trigger)
*/
trigger_ref?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow task metadata (only populated for workflow task executions)
*/
workflow_task?: any | null;
};

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Health check response
*/

View File

@@ -0,0 +1,12 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { Value } from './Value';
export type IdentitySummary = {
attributes: Value;
display_name?: string | null;
id: number;
login: string;
};

View File

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

View File

@@ -1,7 +1,7 @@
/* 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';
/**

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for installing a pack from remote source
*/

View File

@@ -1,7 +1,7 @@
/* 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';
/**
@@ -57,8 +57,8 @@ export type KeyResponse = {
*/
updated: string;
/**
* The secret value (decrypted if encrypted)
* The secret value (decrypted if encrypted). Can be a string, object, array, number, or boolean.
*/
value: string;
value: any;
};

View File

@@ -1,7 +1,7 @@
/* 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';
/**

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Login request
*/

View File

@@ -0,0 +1,20 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { Value } from './Value';
/**
* Explicit patch operation for nullable JSON fields.
*/
export type NullableJsonPatch = ({
op: NullableJsonPatch.op;
value: Value;
} | {
op: NullableJsonPatch.op;
});
export namespace NullableJsonPatch {
export enum op {
SET = 'set',
}
}

View File

@@ -0,0 +1,19 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Explicit patch operation for nullable string fields.
*/
export type NullableStringPatch = ({
op: NullableStringPatch.op;
value: string;
} | {
op: NullableStringPatch.op;
});
export namespace NullableStringPatch {
export enum op {
SET = 'set',
}
}

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export enum OwnerType {
SYSTEM = 'system',
IDENTITY = 'identity',

View File

@@ -1,7 +1,7 @@
/* 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';
/**

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Simplified pack response (for list endpoints)
*/

View File

@@ -1,7 +1,7 @@
/* 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';
/**

View File

@@ -1,7 +1,7 @@
/* 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)

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { i64 } from './i64';
/**
* Pack test summary view

View File

@@ -1,7 +1,7 @@
/* 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

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Response for pack workflow validation operation
*/

View File

@@ -1,63 +1,64 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
import type { PaginationMeta } from "./PaginationMeta";
/* eslint-disable */
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper
*/
export type PaginatedResponse_ActionSummary = {
/**
* The data items
*/
data: Array<{
/**
* Creation timestamp
* The data items
*/
created: string;
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;
/**
* Semver version constraint for the runtime
*/
runtime_version_constraint?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow definition ID (non-null if this action is a workflow)
*/
workflow_def?: number | null;
}>;
/**
* Action description
* Pagination metadata
*/
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;
/**
* Semver version constraint for the runtime
*/
runtime_version_constraint?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow definition ID (non-null if this action is a workflow)
*/
workflow_def?: number | null;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
pagination: PaginationMeta;
};

View File

@@ -1,7 +1,7 @@
/* 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';

View File

@@ -1,7 +1,7 @@
/* 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';
/**

View File

@@ -1,78 +1,66 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
import type { ExecutionStatus } from "./ExecutionStatus";
import type { PaginationMeta } from "./PaginationMeta";
/* 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
* The data items
*/
action_ref: string;
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;
/**
* When the execution actually started running (worker picked it up).
* Null if the execution hasn't started running yet.
*/
started_at?: string | null;
/**
* Execution status
*/
status: ExecutionStatus;
/**
* Trigger reference (if triggered by a trigger)
*/
trigger_ref?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow task metadata (only populated for workflow task executions)
*/
workflow_task?: any | null;
}>;
/**
* Creation timestamp
* Pagination metadata
*/
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;
/**
* When the execution actually started running (worker picked it up).
* Null if the execution hasn't started running yet.
*/
started_at?: string | null;
/**
* Trigger reference (if triggered by a trigger)
*/
trigger_ref?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow task metadata (only populated for workflow task executions)
*/
workflow_task?: {
workflow_execution: number;
task_name: string;
task_index?: number | null;
task_batch?: number | null;
retry_count: number;
max_retries: number;
next_retry_at?: string | null;
timeout_seconds?: number | null;
timed_out: boolean;
duration_ms?: number | null;
started_at?: string | null;
completed_at?: string | null;
} | null;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
pagination: PaginationMeta;
};

View File

@@ -0,0 +1,25 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PaginationMeta } from './PaginationMeta';
import type { Value } from './Value';
/**
* Paginated response wrapper
*/
export type PaginatedResponse_IdentitySummary = {
/**
* The data items
*/
data: Array<{
attributes: Value;
display_name?: string | null;
id: number;
login: string;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
};

View File

@@ -1,7 +1,7 @@
/* 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';

View File

@@ -1,7 +1,7 @@
/* 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';

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper

View File

@@ -1,7 +1,7 @@
/* 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';
/**

View File

@@ -0,0 +1,27 @@
/* 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_RuntimeSummary = {
/**
* The data items
*/
data: Array<{
created: string;
description?: string | null;
id: number;
name: string;
pack_ref?: string | null;
ref: string;
updated: string;
}>;
/**
* Pagination metadata
*/
pagination: PaginationMeta;
};

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PaginationMeta } from './PaginationMeta';
/**
* Paginated response wrapper
@@ -53,3 +53,4 @@ export type PaginatedResponse_WorkflowSummary = {
*/
pagination: PaginationMeta;
};

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Pagination metadata
*/

View File

@@ -0,0 +1,12 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type PermissionAssignmentResponse = {
created: string;
id: number;
identity_id: number;
permission_set_id: number;
permission_set_ref: string;
};

View File

@@ -0,0 +1,14 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { Value } from './Value';
export type PermissionSetSummary = {
description?: string | null;
grants: Value;
id: number;
label?: string | null;
pack_ref?: string | null;
ref: string;
};

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Response DTO for queue statistics
*/

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Refresh token request
*/

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request DTO for registering a pack from local filesystem
*/

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Register request
*/

View File

@@ -0,0 +1,21 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Full runtime response.
*/
export type RuntimeResponse = {
created: string;
description?: string | null;
distributions: Record<string, any>;
execution_config: Record<string, any>;
id: number;
installation: any | null;
name: string;
pack?: number | null;
pack_ref?: string | null;
ref: string;
updated: string;
};

View File

@@ -0,0 +1,17 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Runtime summary for list views.
*/
export type RuntimeSummary = {
created: string;
description?: string | null;
id: number;
name: string;
pack_ref?: string | null;
ref: string;
updated: string;
};

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Simplified sensor response (for list endpoints)
*/

View File

@@ -1,7 +1,7 @@
/* 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)
*/

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { TestStatus } from './TestStatus';
/**
* Individual test case result

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Test status enum
*/

View File

@@ -1,7 +1,7 @@
/* 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)

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { UserInfo } from './UserInfo';
/**
* Token response

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Simplified trigger response (for list endpoints)
*/

View File

@@ -0,0 +1,11 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { Value } from './Value';
export type UpdateIdentityRequest = {
attributes?: (null | Value);
display_name?: string | null;
password?: string | null;
};

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Request to update an existing key/secret
*/
@@ -15,8 +15,8 @@ export type UpdateKeyRequest = {
*/
name?: string | null;
/**
* Update the secret value
* Update the secret value. Can be a string, object, array, number, or boolean.
*/
value?: string | null;
value?: any;
};

View File

@@ -0,0 +1,26 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { NullableJsonPatch } from './NullableJsonPatch';
import type { NullableStringPatch } from './NullableStringPatch';
/**
* Request DTO for updating a runtime.
*/
export type UpdateRuntimeRequest = {
description?: (null | NullableStringPatch);
/**
* Distribution metadata used for verification and platform support
*/
distributions: any | null;
/**
* Runtime execution configuration
*/
execution_config: any | null;
installation?: (null | NullableJsonPatch);
/**
* Display name
*/
name?: string | null;
};

View File

@@ -35,3 +35,4 @@ export type UpdateWorkflowRequest = {
*/
version?: string | null;
};

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* User information included in token response
*/

View File

@@ -1,7 +1,7 @@
/* 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

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Response from webhook receiver endpoint
*/

View File

@@ -59,3 +59,4 @@ export type WorkflowResponse = {
*/
version: string;
};

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Simplified workflow response (for list endpoints)
*/
@@ -43,3 +43,4 @@ export type WorkflowSummary = {
*/
version: string;
};

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Individual workflow sync result
*/

View File

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

View File

@@ -2,456 +2,456 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CreateActionRequest } from "../models/CreateActionRequest";
import type { PaginatedResponse_ActionSummary } from "../models/PaginatedResponse_ActionSummary";
import type { SuccessResponse } from "../models/SuccessResponse";
import type { UpdateActionRequest } from "../models/UpdateActionRequest";
import type { CancelablePromise } from "../core/CancelablePromise";
import { OpenAPI } from "../core/OpenAPI";
import { request as __request } from "../core/request";
import type { CreateActionRequest } from '../models/CreateActionRequest';
import type { PaginatedResponse_ActionSummary } from '../models/PaginatedResponse_ActionSummary';
import type { SuccessResponse } from '../models/SuccessResponse';
import type { UpdateActionRequest } from '../models/UpdateActionRequest';
import type { CancelablePromise } from '../core/CancelablePromise';
import { OpenAPI } from '../core/OpenAPI';
import { request as __request } from '../core/request';
export class ActionsService {
/**
* List all actions with pagination
* @returns PaginatedResponse_ActionSummary List of actions
* @throws ApiError
*/
public static listActions({
page,
pageSize,
}: {
/**
* Page number (1-based)
* List all actions with pagination
* @returns PaginatedResponse_ActionSummary List of actions
* @throws ApiError
*/
page?: number;
public static listActions({
page,
pageSize,
}: {
/**
* Page number (1-based)
*/
page?: number,
/**
* Number of items per page
*/
pageSize?: number,
}): CancelablePromise<PaginatedResponse_ActionSummary> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/actions',
query: {
'page': page,
'page_size': pageSize,
},
});
}
/**
* Number of items per page
* Create a new action
* @returns any Action created successfully
* @throws ApiError
*/
pageSize?: number;
}): CancelablePromise<PaginatedResponse_ActionSummary> {
return __request(OpenAPI, {
method: "GET",
url: "/api/v1/actions",
query: {
page: page,
page_size: pageSize,
},
});
}
/**
* Create a new action
* @returns any Action created successfully
* @throws ApiError
*/
public static createAction({
requestBody,
}: {
requestBody: CreateActionRequest;
}): CancelablePromise<{
public static createAction({
requestBody,
}: {
requestBody: CreateActionRequest,
}): CancelablePromise<{
/**
* 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 (StackStorm-style with inline required/secret)
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime?: number | null;
/**
* Semver version constraint for the runtime (e.g., ">=3.12", ">=3.12,<4.0", "~18.0")
*/
runtime_version_constraint?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow definition ID (non-null if this action is a workflow)
*/
workflow_def?: number | null;
};
/**
* Optional message
*/
message?: string | null;
}> {
return __request(OpenAPI, {
method: 'POST',
url: '/api/v1/actions',
body: requestBody,
mediaType: 'application/json',
errors: {
400: `Validation error`,
404: `Pack not found`,
409: `Action with same ref already exists`,
},
});
}
/**
* Response DTO for action information
* Get a single action by reference
* @returns any Action details
* @throws ApiError
*/
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 (StackStorm-style with inline required/secret)
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime?: number | null;
/**
* Semver version constraint for the runtime (e.g., ">=3.12", ">=3.12,<4.0", "~18.0")
*/
runtime_version_constraint?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow definition ID (non-null if this action is a workflow)
*/
workflow_def?: number | null;
};
public static getAction({
ref,
}: {
/**
* Action reference identifier
*/
ref: string,
}): CancelablePromise<{
/**
* 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 (StackStorm-style with inline required/secret)
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime?: number | null;
/**
* Semver version constraint for the runtime (e.g., ">=3.12", ">=3.12,<4.0", "~18.0")
*/
runtime_version_constraint?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow definition ID (non-null if this action is a workflow)
*/
workflow_def?: number | null;
};
/**
* Optional message
*/
message?: string | null;
}> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/actions/{ref}',
path: {
'ref': ref,
},
errors: {
404: `Action not found`,
},
});
}
/**
* Optional message
* Update an existing action
* @returns any Action updated successfully
* @throws ApiError
*/
message?: string | null;
}> {
return __request(OpenAPI, {
method: "POST",
url: "/api/v1/actions",
body: requestBody,
mediaType: "application/json",
errors: {
400: `Validation error`,
404: `Pack not found`,
409: `Action with same ref already exists`,
},
});
}
/**
* Get a single action by reference
* @returns any Action details
* @throws ApiError
*/
public static getAction({
ref,
}: {
public static updateAction({
ref,
requestBody,
}: {
/**
* Action reference identifier
*/
ref: string,
requestBody: UpdateActionRequest,
}): CancelablePromise<{
/**
* 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 (StackStorm-style with inline required/secret)
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime?: number | null;
/**
* Semver version constraint for the runtime (e.g., ">=3.12", ">=3.12,<4.0", "~18.0")
*/
runtime_version_constraint?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow definition ID (non-null if this action is a workflow)
*/
workflow_def?: number | null;
};
/**
* Optional message
*/
message?: string | null;
}> {
return __request(OpenAPI, {
method: 'PUT',
url: '/api/v1/actions/{ref}',
path: {
'ref': ref,
},
body: requestBody,
mediaType: 'application/json',
errors: {
400: `Validation error`,
404: `Action not found`,
},
});
}
/**
* Action reference identifier
* Delete an action
* @returns SuccessResponse Action deleted successfully
* @throws ApiError
*/
ref: string;
}): CancelablePromise<{
public static deleteAction({
ref,
}: {
/**
* Action reference identifier
*/
ref: string,
}): CancelablePromise<SuccessResponse> {
return __request(OpenAPI, {
method: 'DELETE',
url: '/api/v1/actions/{ref}',
path: {
'ref': ref,
},
errors: {
404: `Action not found`,
},
});
}
/**
* Response DTO for action information
* Get queue statistics for an action
* @returns any Queue statistics
* @throws ApiError
*/
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 (StackStorm-style with inline required/secret)
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime?: number | null;
/**
* Semver version constraint for the runtime (e.g., ">=3.12", ">=3.12,<4.0", "~18.0")
*/
runtime_version_constraint?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow definition ID (non-null if this action is a workflow)
*/
workflow_def?: number | null;
};
public static getQueueStats({
ref,
}: {
/**
* Action reference identifier
*/
ref: string,
}): CancelablePromise<{
/**
* 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;
}> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/actions/{ref}/queue-stats',
path: {
'ref': ref,
},
errors: {
404: `Action not found or no queue statistics available`,
},
});
}
/**
* Optional message
* List actions by pack reference
* @returns PaginatedResponse_ActionSummary List of actions for pack
* @throws ApiError
*/
message?: string | null;
}> {
return __request(OpenAPI, {
method: "GET",
url: "/api/v1/actions/{ref}",
path: {
ref: ref,
},
errors: {
404: `Action not found`,
},
});
}
/**
* Update an existing action
* @returns any Action updated successfully
* @throws ApiError
*/
public static updateAction({
ref,
requestBody,
}: {
/**
* Action reference identifier
*/
ref: string;
requestBody: UpdateActionRequest;
}): CancelablePromise<{
/**
* 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 (StackStorm-style with inline required/secret)
*/
param_schema: any | null;
/**
* Unique reference identifier
*/
ref: string;
/**
* Runtime ID
*/
runtime?: number | null;
/**
* Semver version constraint for the runtime (e.g., ">=3.12", ">=3.12,<4.0", "~18.0")
*/
runtime_version_constraint?: string | null;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow definition ID (non-null if this action is a workflow)
*/
workflow_def?: number | null;
};
/**
* Optional message
*/
message?: string | null;
}> {
return __request(OpenAPI, {
method: "PUT",
url: "/api/v1/actions/{ref}",
path: {
ref: ref,
},
body: requestBody,
mediaType: "application/json",
errors: {
400: `Validation error`,
404: `Action not found`,
},
});
}
/**
* Delete an action
* @returns SuccessResponse Action deleted successfully
* @throws ApiError
*/
public static deleteAction({
ref,
}: {
/**
* Action reference identifier
*/
ref: string;
}): CancelablePromise<SuccessResponse> {
return __request(OpenAPI, {
method: "DELETE",
url: "/api/v1/actions/{ref}",
path: {
ref: ref,
},
errors: {
404: `Action not found`,
},
});
}
/**
* Get queue statistics for an action
* @returns any Queue statistics
* @throws ApiError
*/
public static getQueueStats({
ref,
}: {
/**
* Action reference identifier
*/
ref: string;
}): CancelablePromise<{
/**
* 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;
}> {
return __request(OpenAPI, {
method: "GET",
url: "/api/v1/actions/{ref}/queue-stats",
path: {
ref: ref,
},
errors: {
404: `Action not found or no queue statistics available`,
},
});
}
/**
* List actions by pack reference
* @returns PaginatedResponse_ActionSummary List of actions for pack
* @throws ApiError
*/
public static listActionsByPack({
packRef,
page,
pageSize,
}: {
/**
* Pack reference identifier
*/
packRef: string;
/**
* Page number (1-based)
*/
page?: number;
/**
* Number of items per page
*/
pageSize?: number;
}): CancelablePromise<PaginatedResponse_ActionSummary> {
return __request(OpenAPI, {
method: "GET",
url: "/api/v1/packs/{pack_ref}/actions",
path: {
pack_ref: packRef,
},
query: {
page: page,
page_size: pageSize,
},
errors: {
404: `Pack not found`,
},
});
}
public static listActionsByPack({
packRef,
page,
pageSize,
}: {
/**
* Pack reference identifier
*/
packRef: string,
/**
* Page number (1-based)
*/
page?: number,
/**
* Number of items per page
*/
pageSize?: number,
}): CancelablePromise<PaginatedResponse_ActionSummary> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/packs/{pack_ref}/actions',
path: {
'pack_ref': packRef,
},
query: {
'page': page,
'page_size': pageSize,
},
errors: {
404: `Pack not found`,
},
});
}
}

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ChangePasswordRequest } from '../models/ChangePasswordRequest';
import type { LoginRequest } from '../models/LoginRequest';
import type { RefreshTokenRequest } from '../models/RefreshTokenRequest';

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ApiResponse_EnforcementResponse } from '../models/ApiResponse_EnforcementResponse';
import type { EnforcementStatus } from '../models/EnforcementStatus';
import type { i64 } from '../models/i64';
@@ -20,6 +20,7 @@ export class EnforcementsService {
event,
status,
triggerRef,
ruleRef,
page,
perPage,
}: {
@@ -39,6 +40,10 @@ export class EnforcementsService {
* Filter by trigger reference
*/
triggerRef?: string | null,
/**
* Filter by rule reference
*/
ruleRef?: string | null,
/**
* Page number (1-indexed)
*/
@@ -56,6 +61,7 @@ export class EnforcementsService {
'event': event,
'status': status,
'trigger_ref': triggerRef,
'rule_ref': ruleRef,
'page': page,
'per_page': perPage,
},

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ApiResponse_EventResponse } from '../models/ApiResponse_EventResponse';
import type { i64 } from '../models/i64';
import type { PaginatedResponse_EventSummary } from '../models/PaginatedResponse_EventSummary';

View File

@@ -2,292 +2,280 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ExecutionStatus } from "../models/ExecutionStatus";
import type { PaginatedResponse_ExecutionSummary } from "../models/PaginatedResponse_ExecutionSummary";
import type { CancelablePromise } from "../core/CancelablePromise";
import { OpenAPI } from "../core/OpenAPI";
import { request as __request } from "../core/request";
import type { ExecutionStatus } from '../models/ExecutionStatus';
import type { PaginatedResponse_ExecutionSummary } from '../models/PaginatedResponse_ExecutionSummary';
import type { CancelablePromise } from '../core/CancelablePromise';
import { OpenAPI } from '../core/OpenAPI';
import { request as __request } from '../core/request';
export class ExecutionsService {
/**
* List all executions with pagination and optional filters
* @returns PaginatedResponse_ExecutionSummary List of executions
* @throws ApiError
*/
public static listExecutions({
status,
actionRef,
packName,
ruleRef,
triggerRef,
executor,
resultContains,
enforcement,
parent,
topLevelOnly,
page,
perPage,
}: {
/**
* Filter by execution status
* List all executions with pagination and optional filters
* @returns PaginatedResponse_ExecutionSummary List of executions
* @throws ApiError
*/
status?: null | ExecutionStatus;
public static listExecutions({
status,
actionRef,
packName,
ruleRef,
triggerRef,
executor,
resultContains,
enforcement,
parent,
topLevelOnly,
page,
perPage,
}: {
/**
* Filter by execution status
*/
status?: (null | ExecutionStatus),
/**
* Filter by action reference
*/
actionRef?: string | null,
/**
* Filter by pack name
*/
packName?: string | null,
/**
* Filter by rule reference
*/
ruleRef?: string | null,
/**
* Filter by trigger reference
*/
triggerRef?: string | null,
/**
* Filter by executor ID
*/
executor?: number | null,
/**
* Search in result JSON (case-insensitive substring match)
*/
resultContains?: string | null,
/**
* Filter by enforcement ID
*/
enforcement?: number | null,
/**
* Filter by parent execution ID
*/
parent?: number | null,
/**
* If true, only return top-level executions (those without a parent).
* Useful for the "By Workflow" view where child tasks are loaded separately.
*/
topLevelOnly?: boolean | null,
/**
* Page number (for pagination)
*/
page?: number,
/**
* Items per page (for pagination)
*/
perPage?: number,
}): CancelablePromise<PaginatedResponse_ExecutionSummary> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/executions',
query: {
'status': status,
'action_ref': actionRef,
'pack_name': packName,
'rule_ref': ruleRef,
'trigger_ref': triggerRef,
'executor': executor,
'result_contains': resultContains,
'enforcement': enforcement,
'parent': parent,
'top_level_only': topLevelOnly,
'page': page,
'per_page': perPage,
},
});
}
/**
* Filter by action reference
* List executions by enforcement ID
* @returns PaginatedResponse_ExecutionSummary List of executions for enforcement
* @throws ApiError
*/
actionRef?: string | null;
public static listExecutionsByEnforcement({
enforcementId,
page,
pageSize,
}: {
/**
* Enforcement ID
*/
enforcementId: number,
/**
* Page number (1-based)
*/
page?: number,
/**
* Number of items per page
*/
pageSize?: number,
}): CancelablePromise<PaginatedResponse_ExecutionSummary> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/executions/enforcement/{enforcement_id}',
path: {
'enforcement_id': enforcementId,
},
query: {
'page': page,
'page_size': pageSize,
},
errors: {
500: `Internal server error`,
},
});
}
/**
* Filter by pack name
* Get execution statistics
* @returns any Execution statistics
* @throws ApiError
*/
packName?: string | null;
public static getExecutionStats(): CancelablePromise<Record<string, any>> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/executions/stats',
errors: {
500: `Internal server error`,
},
});
}
/**
* Filter by rule reference
* List executions by status
* @returns PaginatedResponse_ExecutionSummary List of executions with specified status
* @throws ApiError
*/
ruleRef?: string | null;
public static listExecutionsByStatus({
status,
page,
pageSize,
}: {
/**
* Execution status (requested, scheduling, scheduled, running, completed, failed, canceling, cancelled, timeout, abandoned)
*/
status: string,
/**
* Page number (1-based)
*/
page?: number,
/**
* Number of items per page
*/
pageSize?: number,
}): CancelablePromise<PaginatedResponse_ExecutionSummary> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/executions/status/{status}',
path: {
'status': status,
},
query: {
'page': page,
'page_size': pageSize,
},
errors: {
400: `Invalid status`,
500: `Internal server error`,
},
});
}
/**
* Filter by trigger reference
* Get a single execution by ID
* @returns any Execution details
* @throws ApiError
*/
triggerRef?: string | null;
/**
* Filter by executor ID
*/
executor?: number | null;
/**
* Search in result JSON (case-insensitive substring match)
*/
resultContains?: string | null;
/**
* Filter by enforcement ID
*/
enforcement?: number | null;
/**
* Filter by parent execution ID
*/
parent?: number | null;
/**
* If true, only return top-level executions (those without a parent)
*/
topLevelOnly?: boolean | null;
/**
* Page number (for pagination)
*/
page?: number;
/**
* Items per page (for pagination)
*/
perPage?: number;
}): CancelablePromise<PaginatedResponse_ExecutionSummary> {
return __request(OpenAPI, {
method: "GET",
url: "/api/v1/executions",
query: {
status: status,
action_ref: actionRef,
pack_name: packName,
rule_ref: ruleRef,
trigger_ref: triggerRef,
executor: executor,
result_contains: resultContains,
enforcement: enforcement,
parent: parent,
top_level_only: topLevelOnly,
page: page,
per_page: perPage,
},
});
}
/**
* List executions by enforcement ID
* @returns PaginatedResponse_ExecutionSummary List of executions for enforcement
* @throws ApiError
*/
public static listExecutionsByEnforcement({
enforcementId,
page,
pageSize,
}: {
/**
* Enforcement ID
*/
enforcementId: number;
/**
* Page number (1-based)
*/
page?: number;
/**
* Number of items per page
*/
pageSize?: number;
}): CancelablePromise<PaginatedResponse_ExecutionSummary> {
return __request(OpenAPI, {
method: "GET",
url: "/api/v1/executions/enforcement/{enforcement_id}",
path: {
enforcement_id: enforcementId,
},
query: {
page: page,
page_size: pageSize,
},
errors: {
500: `Internal server error`,
},
});
}
/**
* Get execution statistics
* @returns any Execution statistics
* @throws ApiError
*/
public static getExecutionStats(): CancelablePromise<Record<string, any>> {
return __request(OpenAPI, {
method: "GET",
url: "/api/v1/executions/stats",
errors: {
500: `Internal server error`,
},
});
}
/**
* List executions by status
* @returns PaginatedResponse_ExecutionSummary List of executions with specified status
* @throws ApiError
*/
public static listExecutionsByStatus({
status,
page,
pageSize,
}: {
/**
* Execution status (requested, scheduling, scheduled, running, completed, failed, canceling, cancelled, timeout, abandoned)
*/
status: string;
/**
* Page number (1-based)
*/
page?: number;
/**
* Number of items per page
*/
pageSize?: number;
}): CancelablePromise<PaginatedResponse_ExecutionSummary> {
return __request(OpenAPI, {
method: "GET",
url: "/api/v1/executions/status/{status}",
path: {
status: status,
},
query: {
page: page,
page_size: pageSize,
},
errors: {
400: `Invalid status`,
500: `Internal server error`,
},
});
}
/**
* Get a single execution by ID
* @returns any Execution details
* @throws ApiError
*/
public static getExecution({
id,
}: {
/**
* Execution ID
*/
id: number;
}): CancelablePromise<{
/**
* 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;
/**
* Identity ID that initiated this execution
*/
executor?: number | null;
/**
* Execution ID
*/
id: number;
/**
* Parent execution ID (for nested/child executions)
*/
parent?: number | null;
/**
* Worker ID currently assigned to this execution
*/
worker?: number | null;
/**
* Execution result/output
*/
result: Record<string, any>;
/**
* When the execution actually started running (worker picked it up).
* Null if the execution hasn't started running yet.
*/
started_at?: string | null;
/**
* Execution status
*/
status: ExecutionStatus;
/**
* Last update timestamp
*/
updated: string;
/**
* Workflow task metadata (only populated for workflow task executions)
*/
workflow_task?: {
workflow_execution: number;
task_name: string;
task_index?: number | null;
task_batch?: number | null;
retry_count: number;
max_retries: number;
next_retry_at?: string | null;
timeout_seconds?: number | null;
timed_out: boolean;
duration_ms?: number | null;
started_at?: string | null;
completed_at?: string | null;
} | null;
};
/**
* Optional message
*/
message?: string | null;
}> {
return __request(OpenAPI, {
method: "GET",
url: "/api/v1/executions/{id}",
path: {
id: id,
},
errors: {
404: `Execution not found`,
},
});
}
public static getExecution({
id,
}: {
/**
* Execution ID
*/
id: number,
}): CancelablePromise<{
/**
* 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;
/**
* Identity ID that initiated this execution
*/
executor?: number | null;
/**
* Execution ID
*/
id: number;
/**
* Parent execution ID (for nested/child executions)
*/
parent?: number | null;
/**
* Execution result/output
*/
result: Record<string, any>;
/**
* When the execution actually started running (worker picked it up).
* Null if the execution hasn't started running yet.
*/
started_at?: string | null;
/**
* Execution status
*/
status: ExecutionStatus;
/**
* Last update timestamp
*/
updated: string;
/**
* Worker ID currently assigned to this execution
*/
worker?: number | null;
/**
* Workflow task metadata (only populated for workflow task executions)
*/
workflow_task?: any | null;
};
/**
* Optional message
*/
message?: string | null;
}> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/executions/{id}',
path: {
'id': id,
},
errors: {
404: `Execution not found`,
},
});
}
}

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ApiResponse_InquiryResponse } from '../models/ApiResponse_InquiryResponse';
import type { CreateInquiryRequest } from '../models/CreateInquiryRequest';
import type { i64 } from '../models/i64';

View File

@@ -0,0 +1,298 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CreateIdentityRequest } from '../models/CreateIdentityRequest';
import type { CreatePermissionAssignmentRequest } from '../models/CreatePermissionAssignmentRequest';
import type { PaginatedResponse_IdentitySummary } from '../models/PaginatedResponse_IdentitySummary';
import type { PermissionAssignmentResponse } from '../models/PermissionAssignmentResponse';
import type { PermissionSetSummary } from '../models/PermissionSetSummary';
import type { UpdateIdentityRequest } from '../models/UpdateIdentityRequest';
import type { Value } from '../models/Value';
import type { CancelablePromise } from '../core/CancelablePromise';
import { OpenAPI } from '../core/OpenAPI';
import { request as __request } from '../core/request';
export class PermissionsService {
/**
* @returns PaginatedResponse_IdentitySummary List identities
* @throws ApiError
*/
public static listIdentities({
page,
pageSize,
}: {
/**
* Page number (1-based)
*/
page?: number,
/**
* Number of items per page
*/
pageSize?: number,
}): CancelablePromise<PaginatedResponse_IdentitySummary> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/identities',
query: {
'page': page,
'page_size': pageSize,
},
});
}
/**
* @returns any Identity created
* @throws ApiError
*/
public static createIdentity({
requestBody,
}: {
requestBody: CreateIdentityRequest,
}): CancelablePromise<{
data: {
attributes: Value;
display_name?: string | null;
id: number;
login: string;
};
/**
* Optional message
*/
message?: string | null;
}> {
return __request(OpenAPI, {
method: 'POST',
url: '/api/v1/identities',
body: requestBody,
mediaType: 'application/json',
errors: {
409: `Identity already exists`,
},
});
}
/**
* @returns any Identity details
* @throws ApiError
*/
public static getIdentity({
id,
}: {
/**
* Identity ID
*/
id: number,
}): CancelablePromise<{
data: {
attributes: Value;
display_name?: string | null;
id: number;
login: string;
};
/**
* Optional message
*/
message?: string | null;
}> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/identities/{id}',
path: {
'id': id,
},
errors: {
404: `Identity not found`,
},
});
}
/**
* @returns any Identity updated
* @throws ApiError
*/
public static updateIdentity({
id,
requestBody,
}: {
/**
* Identity ID
*/
id: number,
requestBody: UpdateIdentityRequest,
}): CancelablePromise<{
data: {
attributes: Value;
display_name?: string | null;
id: number;
login: string;
};
/**
* Optional message
*/
message?: string | null;
}> {
return __request(OpenAPI, {
method: 'PUT',
url: '/api/v1/identities/{id}',
path: {
'id': id,
},
body: requestBody,
mediaType: 'application/json',
errors: {
404: `Identity not found`,
},
});
}
/**
* @returns any Identity deleted
* @throws ApiError
*/
public static deleteIdentity({
id,
}: {
/**
* Identity ID
*/
id: number,
}): CancelablePromise<{
/**
* Success message response (for operations that don't return data)
*/
data: {
/**
* Message describing the operation
*/
message: string;
/**
* Success indicator
*/
success: boolean;
};
/**
* Optional message
*/
message?: string | null;
}> {
return __request(OpenAPI, {
method: 'DELETE',
url: '/api/v1/identities/{id}',
path: {
'id': id,
},
errors: {
404: `Identity not found`,
},
});
}
/**
* @returns PermissionAssignmentResponse List permission assignments for an identity
* @throws ApiError
*/
public static listIdentityPermissions({
id,
}: {
/**
* Identity ID
*/
id: number,
}): CancelablePromise<Array<PermissionAssignmentResponse>> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/identities/{id}/permissions',
path: {
'id': id,
},
errors: {
404: `Identity not found`,
},
});
}
/**
* @returns any Permission assignment created
* @throws ApiError
*/
public static createPermissionAssignment({
requestBody,
}: {
requestBody: CreatePermissionAssignmentRequest,
}): CancelablePromise<{
data: {
created: string;
id: number;
identity_id: number;
permission_set_id: number;
permission_set_ref: string;
};
/**
* Optional message
*/
message?: string | null;
}> {
return __request(OpenAPI, {
method: 'POST',
url: '/api/v1/permissions/assignments',
body: requestBody,
mediaType: 'application/json',
errors: {
404: `Identity or permission set not found`,
409: `Assignment already exists`,
},
});
}
/**
* @returns any Permission assignment deleted
* @throws ApiError
*/
public static deletePermissionAssignment({
id,
}: {
/**
* Permission assignment ID
*/
id: number,
}): CancelablePromise<{
/**
* Success message response (for operations that don't return data)
*/
data: {
/**
* Message describing the operation
*/
message: string;
/**
* Success indicator
*/
success: boolean;
};
/**
* Optional message
*/
message?: string | null;
}> {
return __request(OpenAPI, {
method: 'DELETE',
url: '/api/v1/permissions/assignments/{id}',
path: {
'id': id,
},
errors: {
404: `Assignment not found`,
},
});
}
/**
* @returns PermissionSetSummary List permission sets
* @throws ApiError
*/
public static listPermissionSets({
packRef,
}: {
packRef?: string | null,
}): CancelablePromise<Array<PermissionSetSummary>> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/permissions/sets',
query: {
'pack_ref': packRef,
},
});
}
}

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ApiResponse_RuleResponse } from '../models/ApiResponse_RuleResponse';
import type { CreateRuleRequest } from '../models/CreateRuleRequest';
import type { PaginatedResponse_RuleSummary } from '../models/PaginatedResponse_RuleSummary';

View File

@@ -0,0 +1,172 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ApiResponse_RuntimeResponse } from '../models/ApiResponse_RuntimeResponse';
import type { CreateRuntimeRequest } from '../models/CreateRuntimeRequest';
import type { PaginatedResponse_RuntimeSummary } from '../models/PaginatedResponse_RuntimeSummary';
import type { SuccessResponse } from '../models/SuccessResponse';
import type { UpdateRuntimeRequest } from '../models/UpdateRuntimeRequest';
import type { CancelablePromise } from '../core/CancelablePromise';
import { OpenAPI } from '../core/OpenAPI';
import { request as __request } from '../core/request';
export class RuntimesService {
/**
* @returns PaginatedResponse_RuntimeSummary List of runtimes for a pack
* @throws ApiError
*/
public static listRuntimesByPack({
packRef,
page,
pageSize,
}: {
/**
* Pack reference identifier
*/
packRef: string,
/**
* Page number (1-based)
*/
page?: number,
/**
* Number of items per page
*/
pageSize?: number,
}): CancelablePromise<PaginatedResponse_RuntimeSummary> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/packs/{pack_ref}/runtimes',
path: {
'pack_ref': packRef,
},
query: {
'page': page,
'page_size': pageSize,
},
errors: {
404: `Pack not found`,
},
});
}
/**
* @returns PaginatedResponse_RuntimeSummary List of runtimes
* @throws ApiError
*/
public static listRuntimes({
page,
pageSize,
}: {
/**
* Page number (1-based)
*/
page?: number,
/**
* Number of items per page
*/
pageSize?: number,
}): CancelablePromise<PaginatedResponse_RuntimeSummary> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/runtimes',
query: {
'page': page,
'page_size': pageSize,
},
});
}
/**
* @returns ApiResponse_RuntimeResponse Runtime created successfully
* @throws ApiError
*/
public static createRuntime({
requestBody,
}: {
requestBody: CreateRuntimeRequest,
}): CancelablePromise<ApiResponse_RuntimeResponse> {
return __request(OpenAPI, {
method: 'POST',
url: '/api/v1/runtimes',
body: requestBody,
mediaType: 'application/json',
errors: {
400: `Validation error`,
404: `Pack not found`,
409: `Runtime with same ref already exists`,
},
});
}
/**
* @returns ApiResponse_RuntimeResponse Runtime details
* @throws ApiError
*/
public static getRuntime({
ref,
}: {
/**
* Runtime reference identifier
*/
ref: string,
}): CancelablePromise<ApiResponse_RuntimeResponse> {
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/runtimes/{ref}',
path: {
'ref': ref,
},
errors: {
404: `Runtime not found`,
},
});
}
/**
* @returns ApiResponse_RuntimeResponse Runtime updated successfully
* @throws ApiError
*/
public static updateRuntime({
ref,
requestBody,
}: {
/**
* Runtime reference identifier
*/
ref: string,
requestBody: UpdateRuntimeRequest,
}): CancelablePromise<ApiResponse_RuntimeResponse> {
return __request(OpenAPI, {
method: 'PUT',
url: '/api/v1/runtimes/{ref}',
path: {
'ref': ref,
},
body: requestBody,
mediaType: 'application/json',
errors: {
400: `Validation error`,
404: `Runtime not found`,
},
});
}
/**
* @returns SuccessResponse Runtime deleted successfully
* @throws ApiError
*/
public static deleteRuntime({
ref,
}: {
/**
* Runtime reference identifier
*/
ref: string,
}): CancelablePromise<SuccessResponse> {
return __request(OpenAPI, {
method: 'DELETE',
url: '/api/v1/runtimes/{ref}',
path: {
'ref': ref,
},
errors: {
404: `Runtime not found`,
},
});
}
}

View File

@@ -1,7 +1,7 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CreateKeyRequest } from '../models/CreateKeyRequest';
import type { i64 } from '../models/i64';
import type { OwnerType } from '../models/OwnerType';
@@ -114,9 +114,9 @@ export class SecretsService {
*/
updated: string;
/**
* The secret value (decrypted if encrypted)
* The secret value (decrypted if encrypted). Can be a string, object, array, number, or boolean.
*/
value: string;
value: any;
};
/**
* Optional message
@@ -200,9 +200,9 @@ export class SecretsService {
*/
updated: string;
/**
* The secret value (decrypted if encrypted)
* The secret value (decrypted if encrypted). Can be a string, object, array, number, or boolean.
*/
value: string;
value: any;
};
/**
* Optional message
@@ -288,9 +288,9 @@ export class SecretsService {
*/
updated: string;
/**
* The secret value (decrypted if encrypted)
* The secret value (decrypted if encrypted). Can be a string, object, array, number, or boolean.
*/
value: string;
value: any;
};
/**
* Optional message

Some files were not shown because too many files have changed in this diff Show More