cloudcruise 0.0.6 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,41 +0,0 @@
1
- /**
2
- * CloudCruise Workflows API Type Definitions
3
- */
4
- export interface Workflow {
5
- id: string;
6
- name: string;
7
- description?: string | null;
8
- created_at: string;
9
- updated_at: string;
10
- workspace_id: string;
11
- created_by: string;
12
- enable_popup_handling: boolean;
13
- enable_xpath_recovery: boolean;
14
- enable_error_code_generation: boolean;
15
- enable_service_unavailable_recovery: boolean;
16
- enable_action_timing_recovery: boolean;
17
- }
18
- export type WorkflowPropertySchema = string | string[] | {
19
- type?: string | string[];
20
- [key: string]: unknown;
21
- };
22
- export interface WorkflowInputSchema {
23
- type?: 'object';
24
- properties?: Record<string, WorkflowPropertySchema>;
25
- required?: string[];
26
- additionalProperties?: boolean;
27
- }
28
- export interface WorkflowMetadata {
29
- input_schema: WorkflowInputSchema;
30
- }
31
- export interface InvalidTypeDetail {
32
- field: string;
33
- expected_display: string;
34
- actual: string;
35
- }
36
- export declare class InputValidationError extends Error {
37
- readonly missingRequired: string[];
38
- readonly invalidTypes: InvalidTypeDetail[];
39
- readonly unknownKeys: string[];
40
- constructor(message?: string, missingRequired?: string[], invalidTypes?: InvalidTypeDetail[], unknownKeys?: string[]);
41
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * CloudCruise Workflows API Type Definitions
3
- */
4
- export class InputValidationError extends Error {
5
- missingRequired;
6
- invalidTypes;
7
- unknownKeys;
8
- constructor(message = 'Input validation failed', missingRequired = [], invalidTypes = [], unknownKeys = []) {
9
- super(message);
10
- this.name = 'InputValidationError';
11
- this.missingRequired = missingRequired;
12
- this.invalidTypes = invalidTypes;
13
- this.unknownKeys = unknownKeys;
14
- }
15
- }