@octaviaflow/flow-rules 0.7.0 → 0.8.1

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.
@@ -24,6 +24,10 @@ export declare const ConsoleLogConfig: {
24
24
  * Configuration schema for validation
25
25
  */
26
26
  schema: {
27
+ includeInputData: {
28
+ type: string;
29
+ required: boolean;
30
+ };
27
31
  message: {
28
32
  type: string;
29
33
  required: boolean;
@@ -69,6 +69,66 @@ export declare const HTTPRequestConfig: {
69
69
  * Configuration schema for validation
70
70
  */
71
71
  schema: {
72
+ apiType: {
73
+ type: string;
74
+ required: boolean;
75
+ };
76
+ baseUrl: {
77
+ type: string;
78
+ required: boolean;
79
+ };
80
+ queryParams: {
81
+ type: string;
82
+ required: boolean;
83
+ };
84
+ bodyType: {
85
+ type: string;
86
+ required: boolean;
87
+ };
88
+ formData: {
89
+ type: string;
90
+ required: boolean;
91
+ };
92
+ graphqlQuery: {
93
+ type: string;
94
+ required: boolean;
95
+ };
96
+ graphqlVariables: {
97
+ type: string;
98
+ required: boolean;
99
+ };
100
+ auth: {
101
+ type: string;
102
+ required: boolean;
103
+ };
104
+ failOnError: {
105
+ type: string;
106
+ required: boolean;
107
+ };
108
+ followRedirects: {
109
+ type: string;
110
+ required: boolean;
111
+ };
112
+ retry: {
113
+ type: string;
114
+ required: boolean;
115
+ };
116
+ pagination: {
117
+ type: string;
118
+ required: boolean;
119
+ };
120
+ extract: {
121
+ type: string;
122
+ required: boolean;
123
+ };
124
+ responseType: {
125
+ type: string;
126
+ required: boolean;
127
+ };
128
+ expectedContentTypes: {
129
+ type: string;
130
+ required: boolean;
131
+ };
72
132
  method: {
73
133
  type: string;
74
134
  required: boolean;
@@ -13,6 +13,40 @@ export interface WhatsappSendConfigType {
13
13
  previewUrl?: boolean;
14
14
  }
15
15
  export declare const WhatsappSendConfig: {
16
+ schema: {
17
+ connection: {
18
+ type: string;
19
+ required: boolean;
20
+ };
21
+ to: {
22
+ type: string;
23
+ required: boolean;
24
+ };
25
+ mode: {
26
+ type: string;
27
+ required: boolean;
28
+ };
29
+ templateName: {
30
+ type: string;
31
+ required: boolean;
32
+ };
33
+ templateLanguage: {
34
+ type: string;
35
+ required: boolean;
36
+ };
37
+ templateVariables: {
38
+ type: string;
39
+ required: boolean;
40
+ };
41
+ text: {
42
+ type: string;
43
+ required: boolean;
44
+ };
45
+ previewUrl: {
46
+ type: string;
47
+ required: boolean;
48
+ };
49
+ };
16
50
  defaults: WhatsappSendConfigType;
17
51
  validate: (config: Partial<WhatsappSendConfigType>) => {
18
52
  valid: boolean;
@@ -34,3 +34,39 @@ export declare function isQueryableConnector(connector: {
34
34
  category?: string;
35
35
  isQueryable?: boolean;
36
36
  }): boolean;
37
+ /**
38
+ * The contract for `configContracts.ts`. Mirrors `BuildQueryConfig` in
39
+ * ./types — the two keys an agent most needs, `visualConfig` and `sqlConfig`,
40
+ * were absent from `inputSchema` entirely, so `describe_action_type` never
41
+ * mentioned them and the fence called them undeclared.
42
+ */
43
+ export declare const BuildQueryContractSchema: {
44
+ readonly connectorId: {
45
+ readonly type: "connection";
46
+ readonly required: true;
47
+ };
48
+ readonly mode: {
49
+ readonly type: "select";
50
+ readonly required: true;
51
+ };
52
+ readonly queryType: {
53
+ readonly type: "select";
54
+ readonly required: true;
55
+ };
56
+ readonly visualConfig: {
57
+ readonly type: "object";
58
+ readonly required: false;
59
+ };
60
+ readonly sqlConfig: {
61
+ readonly type: "object";
62
+ readonly required: false;
63
+ };
64
+ readonly timeout: {
65
+ readonly type: "number";
66
+ readonly required: false;
67
+ };
68
+ readonly maxRows: {
69
+ readonly type: "number";
70
+ readonly required: false;
71
+ };
72
+ };
@@ -75,6 +75,10 @@ export interface TransformConfigType {
75
75
  export declare const TransformConfig: {
76
76
  defaults: TransformConfigType;
77
77
  schema: {
78
+ name: {
79
+ type: string;
80
+ required: boolean;
81
+ };
78
82
  operation: {
79
83
  type: string;
80
84
  required: boolean;
@@ -51,6 +51,48 @@ export interface DebugConfigType {
51
51
  profile?: ProfileModeConfig;
52
52
  }
53
53
  export declare const DebugConfig: {
54
+ schema: {
55
+ mode: {
56
+ type: string;
57
+ required: boolean;
58
+ };
59
+ label: {
60
+ type: string;
61
+ required: boolean;
62
+ };
63
+ pinned: {
64
+ type: string;
65
+ required: boolean;
66
+ };
67
+ condition: {
68
+ type: string;
69
+ required: boolean;
70
+ };
71
+ sampling: {
72
+ type: string;
73
+ required: boolean;
74
+ };
75
+ log: {
76
+ type: string;
77
+ required: boolean;
78
+ };
79
+ snapshot: {
80
+ type: string;
81
+ required: boolean;
82
+ };
83
+ watch: {
84
+ type: string;
85
+ required: boolean;
86
+ };
87
+ assert: {
88
+ type: string;
89
+ required: boolean;
90
+ };
91
+ profile: {
92
+ type: string;
93
+ required: boolean;
94
+ };
95
+ };
54
96
  defaults: DebugConfigType;
55
97
  /**
56
98
  * Pre-flight validation. Surfaces mode-specific missing-field errors.
@@ -54,6 +54,12 @@ export interface VariablesConfigType {
54
54
  };
55
55
  }
56
56
  export declare const VariablesConfig: {
57
+ schema: {
58
+ fields: {
59
+ type: string;
60
+ required: boolean;
61
+ };
62
+ };
57
63
  defaults: VariablesConfigType;
58
64
  /**
59
65
  * Pre-flight validation — runs at config save in the panel. Returns