@anchrd/colab-sdk 0.1.29 → 0.1.31
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.
- package/dist/actions/actions.d.ts +28 -0
- package/dist/actions/actions.js +11 -0
- package/dist/boards/boards.d.ts +3 -0
- package/dist/connectors/connectors.d.ts +538 -0
- package/dist/connectors/connectors.js +230 -3
- package/dist/crawls/crawls.d.ts +3 -3
- package/dist/error/error.d.ts +2 -0
- package/dist/error/error.js +2 -0
- package/dist/gadgets/gadgets.d.ts +8 -8
- package/dist/gadgets/gadgets.js +3 -2
- package/dist/goals/goals.d.ts +3 -0
- package/dist/grammar/grammar.d.ts +3 -0
- package/dist/grammar/grammar.js +6 -0
- package/dist/mcps/mcps.d.ts +4 -4
- package/dist/nodes/nodes.d.ts +9 -3
- package/dist/nodes/nodes.js +2 -0
- package/dist/operators/operators.d.ts +4 -4
- package/dist/sdk.d.ts +3 -2
- package/dist/sdk.js +3 -2
- package/dist/skills/skills.d.ts +3 -3
- package/dist/sources/sources.d.ts +899 -0
- package/dist/sources/sources.js +442 -0
- package/dist/tree-order/tree-order.d.ts +1 -1
- package/dist/tree-order/tree-order.js +1 -0
- package/dist/validation/validation.d.ts +2 -0
- package/dist/versions/versions.d.ts +5 -5
- package/dist/written/written.d.ts +4 -0
- package/dist/written/written.js +3 -0
- package/package.json +1 -1
|
@@ -114,6 +114,13 @@ export declare const ActionGadget: z.ZodObject<{
|
|
|
114
114
|
hint: z.ZodBoolean;
|
|
115
115
|
}, z.core.$strip>;
|
|
116
116
|
export type ActionGadget = z.infer<typeof ActionGadget>;
|
|
117
|
+
export declare const ActionSource: z.ZodObject<{
|
|
118
|
+
problem: z.ZodLiteral<"access">;
|
|
119
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
120
|
+
message: z.ZodString;
|
|
121
|
+
hint: z.ZodBoolean;
|
|
122
|
+
}, z.core.$strip>;
|
|
123
|
+
export type ActionSource = z.infer<typeof ActionSource>;
|
|
117
124
|
export declare const ActionItem: z.ZodObject<{
|
|
118
125
|
node: z.ZodObject<{
|
|
119
126
|
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
@@ -127,6 +134,7 @@ export declare const ActionItem: z.ZodObject<{
|
|
|
127
134
|
gadget: "gadget";
|
|
128
135
|
goal: "goal";
|
|
129
136
|
skill: "skill";
|
|
137
|
+
source: "source";
|
|
130
138
|
}>;
|
|
131
139
|
name: z.ZodString;
|
|
132
140
|
path: z.ZodObject<{
|
|
@@ -235,6 +243,12 @@ export declare const ActionItem: z.ZodObject<{
|
|
|
235
243
|
}>;
|
|
236
244
|
hint: z.ZodBoolean;
|
|
237
245
|
}, z.core.$strip>>;
|
|
246
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
247
|
+
problem: z.ZodLiteral<"access">;
|
|
248
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
249
|
+
message: z.ZodString;
|
|
250
|
+
hint: z.ZodBoolean;
|
|
251
|
+
}, z.core.$strip>>>;
|
|
238
252
|
}, z.core.$strip>;
|
|
239
253
|
export type ActionItem = z.infer<typeof ActionItem>;
|
|
240
254
|
export declare const ActionAbortReason: z.ZodEnum<{
|
|
@@ -604,6 +618,7 @@ export declare const ActionRow: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
604
618
|
gadget: "gadget";
|
|
605
619
|
goal: "goal";
|
|
606
620
|
skill: "skill";
|
|
621
|
+
source: "source";
|
|
607
622
|
}>;
|
|
608
623
|
name: z.ZodString;
|
|
609
624
|
path: z.ZodObject<{
|
|
@@ -712,6 +727,12 @@ export declare const ActionRow: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
712
727
|
}>;
|
|
713
728
|
hint: z.ZodBoolean;
|
|
714
729
|
}, z.core.$strip>>;
|
|
730
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
731
|
+
problem: z.ZodLiteral<"access">;
|
|
732
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
733
|
+
message: z.ZodString;
|
|
734
|
+
hint: z.ZodBoolean;
|
|
735
|
+
}, z.core.$strip>>>;
|
|
715
736
|
}, z.core.$strip>, z.ZodObject<{
|
|
716
737
|
notice: z.ZodObject<{
|
|
717
738
|
package: z.ZodEnum<{
|
|
@@ -867,6 +888,7 @@ export declare const ActionList: z.ZodObject<{
|
|
|
867
888
|
gadget: "gadget";
|
|
868
889
|
goal: "goal";
|
|
869
890
|
skill: "skill";
|
|
891
|
+
source: "source";
|
|
870
892
|
}>;
|
|
871
893
|
name: z.ZodString;
|
|
872
894
|
path: z.ZodObject<{
|
|
@@ -975,6 +997,12 @@ export declare const ActionList: z.ZodObject<{
|
|
|
975
997
|
}>;
|
|
976
998
|
hint: z.ZodBoolean;
|
|
977
999
|
}, z.core.$strip>>;
|
|
1000
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1001
|
+
problem: z.ZodLiteral<"access">;
|
|
1002
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
1003
|
+
message: z.ZodString;
|
|
1004
|
+
hint: z.ZodBoolean;
|
|
1005
|
+
}, z.core.$strip>>>;
|
|
978
1006
|
}, z.core.$strip>, z.ZodObject<{
|
|
979
1007
|
notice: z.ZodObject<{
|
|
980
1008
|
package: z.ZodEnum<{
|
package/dist/actions/actions.js
CHANGED
|
@@ -82,6 +82,15 @@ export const ActionGadget = z.object({
|
|
|
82
82
|
// Nobody is responsible: the row reaches the publisher only to name one.
|
|
83
83
|
hint: z.boolean(),
|
|
84
84
|
});
|
|
85
|
+
// A source whose provider refused its key (#900, E151, Nodes › Quelle › Läufe): its queries pause,
|
|
86
|
+
// and its responsible (its publisher while nobody is) sets the key anew under Einstellungen › Zugang.
|
|
87
|
+
export const ActionSource = z.object({
|
|
88
|
+
problem: z.literal("access"),
|
|
89
|
+
// The provider's status, 401 or 403.
|
|
90
|
+
status: z.number().int().nullable(),
|
|
91
|
+
message: z.string(),
|
|
92
|
+
hint: z.boolean(),
|
|
93
|
+
});
|
|
85
94
|
// One row: the node, where it waits, since when, and what makes it wait. Exactly one of task and
|
|
86
95
|
// gadget, or none of them on a row that is a chat alone; chat beside either.
|
|
87
96
|
export const ActionItem = z.object({
|
|
@@ -106,6 +115,8 @@ export const ActionItem = z.object({
|
|
|
106
115
|
task: ActionTask.nullable(),
|
|
107
116
|
chat: ActionChat.nullable(),
|
|
108
117
|
gadget: ActionGadget.nullable(),
|
|
118
|
+
// Left out on every row that is no source's.
|
|
119
|
+
source: ActionSource.nullable().optional(),
|
|
109
120
|
});
|
|
110
121
|
// What another package puts into a person's Actions (#334, E81, E82): "access invalid" for every
|
|
111
122
|
// admin, "Operator paused" for its responsible person. Gathered when asked like every row, never
|
package/dist/boards/boards.d.ts
CHANGED
|
@@ -473,6 +473,7 @@ export declare const BoardTaskItem: z.ZodObject<{
|
|
|
473
473
|
gadget: "gadget";
|
|
474
474
|
goal: "goal";
|
|
475
475
|
skill: "skill";
|
|
476
|
+
source: "source";
|
|
476
477
|
}>;
|
|
477
478
|
path: z.ZodObject<{
|
|
478
479
|
section: z.ZodEnum<{
|
|
@@ -575,6 +576,7 @@ export declare const BoardTaskList: z.ZodObject<{
|
|
|
575
576
|
gadget: "gadget";
|
|
576
577
|
goal: "goal";
|
|
577
578
|
skill: "skill";
|
|
579
|
+
source: "source";
|
|
578
580
|
}>;
|
|
579
581
|
path: z.ZodObject<{
|
|
580
582
|
section: z.ZodEnum<{
|
|
@@ -903,6 +905,7 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
903
905
|
gadget: "gadget";
|
|
904
906
|
goal: "goal";
|
|
905
907
|
skill: "skill";
|
|
908
|
+
source: "source";
|
|
906
909
|
}>;
|
|
907
910
|
name: z.ZodString;
|
|
908
911
|
path: z.ZodObject<{
|
|
@@ -7,10 +7,221 @@ export declare const ConnectorListInput: z.ZodObject<{
|
|
|
7
7
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8
8
|
}, z.core.$strict>;
|
|
9
9
|
export type ConnectorListInput = z.infer<typeof ConnectorListInput>;
|
|
10
|
+
export declare const ConnectorVersionRef: z.ZodPreprocess<z.ZodUnion<readonly [z.ZodEnum<{
|
|
11
|
+
live: "live";
|
|
12
|
+
draft: "draft";
|
|
13
|
+
}>, z.ZodNumber]>, unknown>;
|
|
14
|
+
export type ConnectorVersionRef = z.infer<typeof ConnectorVersionRef>;
|
|
10
15
|
export declare const ConnectorGetInput: z.ZodObject<{
|
|
11
16
|
connectorId: z.ZodString;
|
|
17
|
+
version: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodEnum<{
|
|
18
|
+
live: "live";
|
|
19
|
+
draft: "draft";
|
|
20
|
+
}>, z.ZodNumber]>, unknown>>;
|
|
21
|
+
include: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodEnum<{
|
|
22
|
+
files: "files";
|
|
23
|
+
}>>, unknown>>;
|
|
12
24
|
}, z.core.$strict>;
|
|
13
25
|
export type ConnectorGetInput = z.infer<typeof ConnectorGetInput>;
|
|
26
|
+
export declare const ConnectorFieldName: z.ZodString;
|
|
27
|
+
export declare const ConnectorManifestField: z.ZodObject<{
|
|
28
|
+
label: z.ZodString;
|
|
29
|
+
help: z.ZodOptional<z.ZodString>;
|
|
30
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
31
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
+
default: z.ZodOptional<z.ZodString>;
|
|
33
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
34
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
export type ConnectorManifestField = z.infer<typeof ConnectorManifestField>;
|
|
37
|
+
export declare const ConnectorAccess: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
38
|
+
kind: z.ZodLiteral<"bearer">;
|
|
39
|
+
secret: z.ZodString;
|
|
40
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
41
|
+
kind: z.ZodLiteral<"header">;
|
|
42
|
+
name: z.ZodString;
|
|
43
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
44
|
+
secret: z.ZodString;
|
|
45
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
46
|
+
kind: z.ZodLiteral<"basic">;
|
|
47
|
+
username: z.ZodString;
|
|
48
|
+
password: z.ZodString;
|
|
49
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
50
|
+
kind: z.ZodLiteral<"query">;
|
|
51
|
+
name: z.ZodString;
|
|
52
|
+
secret: z.ZodString;
|
|
53
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
54
|
+
kind: z.ZodLiteral<"githubApp">;
|
|
55
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
56
|
+
kind: z.ZodLiteral<"none">;
|
|
57
|
+
}, z.core.$strict>], "kind">;
|
|
58
|
+
export type ConnectorAccess = z.infer<typeof ConnectorAccess>;
|
|
59
|
+
export type ConnectorAccessKind = ConnectorAccess["kind"];
|
|
60
|
+
export declare const connectorAccessKinds: readonly ["bearer", "header", "basic", "query", "githubApp", "none"];
|
|
61
|
+
export declare const ConnectorManifestTool: z.ZodObject<{
|
|
62
|
+
description: z.ZodString;
|
|
63
|
+
writes: z.ZodBoolean;
|
|
64
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
65
|
+
}, z.core.$strict>;
|
|
66
|
+
export type ConnectorManifestTool = z.infer<typeof ConnectorManifestTool>;
|
|
67
|
+
export declare const ConnectorManifest: z.ZodObject<{
|
|
68
|
+
id: z.ZodString;
|
|
69
|
+
name: z.ZodString;
|
|
70
|
+
category: z.ZodString;
|
|
71
|
+
description: z.ZodString;
|
|
72
|
+
base: z.ZodString;
|
|
73
|
+
hosts: z.ZodArray<z.ZodString>;
|
|
74
|
+
access: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
75
|
+
kind: z.ZodLiteral<"bearer">;
|
|
76
|
+
secret: z.ZodString;
|
|
77
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
78
|
+
kind: z.ZodLiteral<"header">;
|
|
79
|
+
name: z.ZodString;
|
|
80
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
81
|
+
secret: z.ZodString;
|
|
82
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
83
|
+
kind: z.ZodLiteral<"basic">;
|
|
84
|
+
username: z.ZodString;
|
|
85
|
+
password: z.ZodString;
|
|
86
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
87
|
+
kind: z.ZodLiteral<"query">;
|
|
88
|
+
name: z.ZodString;
|
|
89
|
+
secret: z.ZodString;
|
|
90
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
91
|
+
kind: z.ZodLiteral<"githubApp">;
|
|
92
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
93
|
+
kind: z.ZodLiteral<"none">;
|
|
94
|
+
}, z.core.$strict>], "kind">;
|
|
95
|
+
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
96
|
+
label: z.ZodString;
|
|
97
|
+
help: z.ZodOptional<z.ZodString>;
|
|
98
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
99
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
default: z.ZodOptional<z.ZodString>;
|
|
101
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
102
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
103
|
+
}, z.core.$strict>>>;
|
|
104
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
105
|
+
label: z.ZodString;
|
|
106
|
+
help: z.ZodOptional<z.ZodString>;
|
|
107
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
108
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
default: z.ZodOptional<z.ZodString>;
|
|
110
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
111
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
}, z.core.$strict>>>;
|
|
113
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
114
|
+
description: z.ZodString;
|
|
115
|
+
writes: z.ZodBoolean;
|
|
116
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
117
|
+
}, z.core.$strict>>>;
|
|
118
|
+
}, z.core.$strict>;
|
|
119
|
+
export type ConnectorManifest = z.infer<typeof ConnectorManifest>;
|
|
120
|
+
export declare const connectorManifestPath = "connector.json";
|
|
121
|
+
export declare const connectorCodePath = "connector.js";
|
|
122
|
+
export declare const ConnectorCreateInput: z.ZodObject<{
|
|
123
|
+
connectorId: z.ZodString;
|
|
124
|
+
name: z.ZodString;
|
|
125
|
+
description: z.ZodString;
|
|
126
|
+
category: z.ZodString;
|
|
127
|
+
base: z.ZodString;
|
|
128
|
+
access: z.ZodEnum<{
|
|
129
|
+
query: "query";
|
|
130
|
+
bearer: "bearer";
|
|
131
|
+
header: "header";
|
|
132
|
+
basic: "basic";
|
|
133
|
+
githubApp: "githubApp";
|
|
134
|
+
none: "none";
|
|
135
|
+
}>;
|
|
136
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
137
|
+
files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
138
|
+
}, z.core.$strict>;
|
|
139
|
+
export type ConnectorCreateInput = z.infer<typeof ConnectorCreateInput>;
|
|
140
|
+
export declare const ConnectorUpdateInput: z.ZodObject<{
|
|
141
|
+
connectorId: z.ZodString;
|
|
142
|
+
files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
|
|
143
|
+
fromVersion: z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
discard: z.ZodOptional<z.ZodLiteral<true>>;
|
|
145
|
+
rev: z.ZodNumber;
|
|
146
|
+
}, z.core.$strict>;
|
|
147
|
+
export type ConnectorUpdateInput = z.infer<typeof ConnectorUpdateInput>;
|
|
148
|
+
export declare const ConnectorTestInput: z.ZodObject<{
|
|
149
|
+
connectorId: z.ZodString;
|
|
150
|
+
version: z.ZodOptional<z.ZodEnum<{
|
|
151
|
+
live: "live";
|
|
152
|
+
draft: "draft";
|
|
153
|
+
}>>;
|
|
154
|
+
connection: z.ZodOptional<z.ZodLiteral<true>>;
|
|
155
|
+
function: z.ZodOptional<z.ZodString>;
|
|
156
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
157
|
+
}, z.core.$strict>;
|
|
158
|
+
export type ConnectorTestInput = z.infer<typeof ConnectorTestInput>;
|
|
159
|
+
export declare const ConnectorPublishInput: z.ZodObject<{
|
|
160
|
+
connectorId: z.ZodString;
|
|
161
|
+
force: z.ZodOptional<z.ZodLiteral<true>>;
|
|
162
|
+
rev: z.ZodNumber;
|
|
163
|
+
}, z.core.$strict>;
|
|
164
|
+
export type ConnectorPublishInput = z.infer<typeof ConnectorPublishInput>;
|
|
165
|
+
export declare const ConnectorArchiveInput: z.ZodObject<{
|
|
166
|
+
connectorId: z.ZodString;
|
|
167
|
+
rev: z.ZodNumber;
|
|
168
|
+
}, z.core.$strict>;
|
|
169
|
+
export type ConnectorArchiveInput = z.infer<typeof ConnectorArchiveInput>;
|
|
170
|
+
export declare const ConnectorRestoreInput: z.ZodObject<{
|
|
171
|
+
connectorId: z.ZodString;
|
|
172
|
+
rev: z.ZodNumber;
|
|
173
|
+
}, z.core.$strict>;
|
|
174
|
+
export type ConnectorRestoreInput = z.infer<typeof ConnectorRestoreInput>;
|
|
175
|
+
export declare const ConnectorChange: z.ZodObject<{
|
|
176
|
+
path: z.ZodString;
|
|
177
|
+
change: z.ZodEnum<{
|
|
178
|
+
added: "added";
|
|
179
|
+
changed: "changed";
|
|
180
|
+
removed: "removed";
|
|
181
|
+
}>;
|
|
182
|
+
}, z.core.$strip>;
|
|
183
|
+
export declare const ConnectorTestRun: z.ZodObject<{
|
|
184
|
+
version: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"draft">]>;
|
|
185
|
+
current: z.ZodBoolean;
|
|
186
|
+
status: z.ZodEnum<{
|
|
187
|
+
running: "running";
|
|
188
|
+
failed: "failed";
|
|
189
|
+
passed: "passed";
|
|
190
|
+
}>;
|
|
191
|
+
passed: z.ZodNumber;
|
|
192
|
+
failed: z.ZodNumber;
|
|
193
|
+
at: z.ZodISODateTime;
|
|
194
|
+
by: z.ZodObject<{
|
|
195
|
+
userId: z.ZodString;
|
|
196
|
+
name: z.ZodNullable<z.ZodString>;
|
|
197
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
198
|
+
machine: "machine";
|
|
199
|
+
human: "human";
|
|
200
|
+
}>>;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
durationMs: z.ZodNumber;
|
|
203
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
204
|
+
message: z.ZodString;
|
|
205
|
+
stack: z.ZodOptional<z.ZodString>;
|
|
206
|
+
}, z.core.$strip>>;
|
|
207
|
+
tests: z.ZodArray<z.ZodObject<{
|
|
208
|
+
file: z.ZodString;
|
|
209
|
+
path: z.ZodArray<z.ZodString>;
|
|
210
|
+
name: z.ZodString;
|
|
211
|
+
status: z.ZodEnum<{
|
|
212
|
+
failed: "failed";
|
|
213
|
+
passed: "passed";
|
|
214
|
+
}>;
|
|
215
|
+
durationMs: z.ZodNumber;
|
|
216
|
+
message: z.ZodNullable<z.ZodString>;
|
|
217
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
218
|
+
file: z.ZodString;
|
|
219
|
+
line: z.ZodNumber;
|
|
220
|
+
column: z.ZodNumber;
|
|
221
|
+
}, z.core.$strip>>;
|
|
222
|
+
}, z.core.$strip>>;
|
|
223
|
+
}, z.core.$strip>;
|
|
224
|
+
export type ConnectorTestRun = z.infer<typeof ConnectorTestRun>;
|
|
14
225
|
export declare const ConnectorField: z.ZodObject<{
|
|
15
226
|
name: z.ZodString;
|
|
16
227
|
label: z.ZodString;
|
|
@@ -52,8 +263,288 @@ export declare const Connector: z.ZodObject<{
|
|
|
52
263
|
setting: "setting";
|
|
53
264
|
}>;
|
|
54
265
|
}, z.core.$strip>>;
|
|
266
|
+
hosts: z.ZodArray<z.ZodString>;
|
|
267
|
+
access: z.ZodString;
|
|
268
|
+
live: z.ZodNullable<z.ZodObject<{
|
|
269
|
+
version: z.ZodNumber;
|
|
270
|
+
publishedAt: z.ZodISODateTime;
|
|
271
|
+
publishedBy: z.ZodNullable<z.ZodObject<{
|
|
272
|
+
userId: z.ZodString;
|
|
273
|
+
name: z.ZodNullable<z.ZodString>;
|
|
274
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
275
|
+
machine: "machine";
|
|
276
|
+
human: "human";
|
|
277
|
+
}>>;
|
|
278
|
+
}, z.core.$strip>>;
|
|
279
|
+
}, z.core.$strip>>;
|
|
280
|
+
draft: z.ZodNullable<z.ZodObject<{
|
|
281
|
+
version: z.ZodNumber;
|
|
282
|
+
updatedAt: z.ZodISODateTime;
|
|
283
|
+
updatedBy: z.ZodNullable<z.ZodObject<{
|
|
284
|
+
userId: z.ZodString;
|
|
285
|
+
name: z.ZodNullable<z.ZodString>;
|
|
286
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
287
|
+
machine: "machine";
|
|
288
|
+
human: "human";
|
|
289
|
+
}>>;
|
|
290
|
+
}, z.core.$strip>>;
|
|
291
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
292
|
+
path: z.ZodString;
|
|
293
|
+
change: z.ZodEnum<{
|
|
294
|
+
added: "added";
|
|
295
|
+
changed: "changed";
|
|
296
|
+
removed: "removed";
|
|
297
|
+
}>;
|
|
298
|
+
}, z.core.$strip>>;
|
|
299
|
+
newTools: z.ZodArray<z.ZodObject<{
|
|
300
|
+
function: z.ZodString;
|
|
301
|
+
description: z.ZodString;
|
|
302
|
+
writes: z.ZodBoolean;
|
|
303
|
+
}, z.core.$strip>>;
|
|
304
|
+
newHosts: z.ZodArray<z.ZodString>;
|
|
305
|
+
tools: z.ZodNumber;
|
|
306
|
+
}, z.core.$strip>>;
|
|
307
|
+
archivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
308
|
+
rev: z.ZodNumber;
|
|
55
309
|
}, z.core.$strip>;
|
|
56
310
|
export type Connector = z.infer<typeof Connector>;
|
|
311
|
+
export declare const ConnectorDetail: z.ZodObject<{
|
|
312
|
+
connectorId: z.ZodString;
|
|
313
|
+
name: z.ZodString;
|
|
314
|
+
category: z.ZodString;
|
|
315
|
+
description: z.ZodString;
|
|
316
|
+
icon: z.ZodString;
|
|
317
|
+
catalog: z.ZodBoolean;
|
|
318
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
319
|
+
function: z.ZodString;
|
|
320
|
+
description: z.ZodString;
|
|
321
|
+
writes: z.ZodBoolean;
|
|
322
|
+
}, z.core.$strip>>;
|
|
323
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
324
|
+
name: z.ZodString;
|
|
325
|
+
label: z.ZodString;
|
|
326
|
+
help: z.ZodOptional<z.ZodString>;
|
|
327
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
328
|
+
optional: z.ZodBoolean;
|
|
329
|
+
kind: z.ZodEnum<{
|
|
330
|
+
secret: "secret";
|
|
331
|
+
setting: "setting";
|
|
332
|
+
}>;
|
|
333
|
+
}, z.core.$strip>>;
|
|
334
|
+
hosts: z.ZodArray<z.ZodString>;
|
|
335
|
+
access: z.ZodString;
|
|
336
|
+
live: z.ZodNullable<z.ZodObject<{
|
|
337
|
+
version: z.ZodNumber;
|
|
338
|
+
publishedAt: z.ZodISODateTime;
|
|
339
|
+
publishedBy: z.ZodNullable<z.ZodObject<{
|
|
340
|
+
userId: z.ZodString;
|
|
341
|
+
name: z.ZodNullable<z.ZodString>;
|
|
342
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
343
|
+
machine: "machine";
|
|
344
|
+
human: "human";
|
|
345
|
+
}>>;
|
|
346
|
+
}, z.core.$strip>>;
|
|
347
|
+
}, z.core.$strip>>;
|
|
348
|
+
draft: z.ZodNullable<z.ZodObject<{
|
|
349
|
+
version: z.ZodNumber;
|
|
350
|
+
updatedAt: z.ZodISODateTime;
|
|
351
|
+
updatedBy: z.ZodNullable<z.ZodObject<{
|
|
352
|
+
userId: z.ZodString;
|
|
353
|
+
name: z.ZodNullable<z.ZodString>;
|
|
354
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
355
|
+
machine: "machine";
|
|
356
|
+
human: "human";
|
|
357
|
+
}>>;
|
|
358
|
+
}, z.core.$strip>>;
|
|
359
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
360
|
+
path: z.ZodString;
|
|
361
|
+
change: z.ZodEnum<{
|
|
362
|
+
added: "added";
|
|
363
|
+
changed: "changed";
|
|
364
|
+
removed: "removed";
|
|
365
|
+
}>;
|
|
366
|
+
}, z.core.$strip>>;
|
|
367
|
+
newTools: z.ZodArray<z.ZodObject<{
|
|
368
|
+
function: z.ZodString;
|
|
369
|
+
description: z.ZodString;
|
|
370
|
+
writes: z.ZodBoolean;
|
|
371
|
+
}, z.core.$strip>>;
|
|
372
|
+
newHosts: z.ZodArray<z.ZodString>;
|
|
373
|
+
tools: z.ZodNumber;
|
|
374
|
+
}, z.core.$strip>>;
|
|
375
|
+
archivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
376
|
+
rev: z.ZodNumber;
|
|
377
|
+
version: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"draft">]>>;
|
|
378
|
+
manifest: z.ZodNullable<z.ZodObject<{
|
|
379
|
+
id: z.ZodString;
|
|
380
|
+
name: z.ZodString;
|
|
381
|
+
category: z.ZodString;
|
|
382
|
+
description: z.ZodString;
|
|
383
|
+
base: z.ZodString;
|
|
384
|
+
hosts: z.ZodArray<z.ZodString>;
|
|
385
|
+
access: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
386
|
+
kind: z.ZodLiteral<"bearer">;
|
|
387
|
+
secret: z.ZodString;
|
|
388
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
389
|
+
kind: z.ZodLiteral<"header">;
|
|
390
|
+
name: z.ZodString;
|
|
391
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
392
|
+
secret: z.ZodString;
|
|
393
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
394
|
+
kind: z.ZodLiteral<"basic">;
|
|
395
|
+
username: z.ZodString;
|
|
396
|
+
password: z.ZodString;
|
|
397
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
398
|
+
kind: z.ZodLiteral<"query">;
|
|
399
|
+
name: z.ZodString;
|
|
400
|
+
secret: z.ZodString;
|
|
401
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
402
|
+
kind: z.ZodLiteral<"githubApp">;
|
|
403
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
404
|
+
kind: z.ZodLiteral<"none">;
|
|
405
|
+
}, z.core.$strict>], "kind">;
|
|
406
|
+
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
407
|
+
label: z.ZodString;
|
|
408
|
+
help: z.ZodOptional<z.ZodString>;
|
|
409
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
410
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
411
|
+
default: z.ZodOptional<z.ZodString>;
|
|
412
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
413
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
414
|
+
}, z.core.$strict>>>;
|
|
415
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
416
|
+
label: z.ZodString;
|
|
417
|
+
help: z.ZodOptional<z.ZodString>;
|
|
418
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
419
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
420
|
+
default: z.ZodOptional<z.ZodString>;
|
|
421
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
422
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
423
|
+
}, z.core.$strict>>>;
|
|
424
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
425
|
+
description: z.ZodString;
|
|
426
|
+
writes: z.ZodBoolean;
|
|
427
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
428
|
+
}, z.core.$strict>>>;
|
|
429
|
+
}, z.core.$strict>>;
|
|
430
|
+
files: z.ZodArray<z.ZodObject<{
|
|
431
|
+
path: z.ZodString;
|
|
432
|
+
size: z.ZodNumber;
|
|
433
|
+
content: z.ZodOptional<z.ZodString>;
|
|
434
|
+
}, z.core.$strip>>;
|
|
435
|
+
test: z.ZodNullable<z.ZodObject<{
|
|
436
|
+
version: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"draft">]>;
|
|
437
|
+
current: z.ZodBoolean;
|
|
438
|
+
status: z.ZodEnum<{
|
|
439
|
+
running: "running";
|
|
440
|
+
failed: "failed";
|
|
441
|
+
passed: "passed";
|
|
442
|
+
}>;
|
|
443
|
+
passed: z.ZodNumber;
|
|
444
|
+
failed: z.ZodNumber;
|
|
445
|
+
at: z.ZodISODateTime;
|
|
446
|
+
by: z.ZodObject<{
|
|
447
|
+
userId: z.ZodString;
|
|
448
|
+
name: z.ZodNullable<z.ZodString>;
|
|
449
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
450
|
+
machine: "machine";
|
|
451
|
+
human: "human";
|
|
452
|
+
}>>;
|
|
453
|
+
}, z.core.$strip>;
|
|
454
|
+
durationMs: z.ZodNumber;
|
|
455
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
456
|
+
message: z.ZodString;
|
|
457
|
+
stack: z.ZodOptional<z.ZodString>;
|
|
458
|
+
}, z.core.$strip>>;
|
|
459
|
+
tests: z.ZodArray<z.ZodObject<{
|
|
460
|
+
file: z.ZodString;
|
|
461
|
+
path: z.ZodArray<z.ZodString>;
|
|
462
|
+
name: z.ZodString;
|
|
463
|
+
status: z.ZodEnum<{
|
|
464
|
+
failed: "failed";
|
|
465
|
+
passed: "passed";
|
|
466
|
+
}>;
|
|
467
|
+
durationMs: z.ZodNumber;
|
|
468
|
+
message: z.ZodNullable<z.ZodString>;
|
|
469
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
470
|
+
file: z.ZodString;
|
|
471
|
+
line: z.ZodNumber;
|
|
472
|
+
column: z.ZodNumber;
|
|
473
|
+
}, z.core.$strip>>;
|
|
474
|
+
}, z.core.$strip>>;
|
|
475
|
+
}, z.core.$strip>>;
|
|
476
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
477
|
+
version: z.ZodNumber;
|
|
478
|
+
createdAt: z.ZodISODateTime;
|
|
479
|
+
createdBy: z.ZodNullable<z.ZodObject<{
|
|
480
|
+
userId: z.ZodString;
|
|
481
|
+
name: z.ZodNullable<z.ZodString>;
|
|
482
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
483
|
+
machine: "machine";
|
|
484
|
+
human: "human";
|
|
485
|
+
}>>;
|
|
486
|
+
}, z.core.$strip>>;
|
|
487
|
+
calls: z.ZodNumber;
|
|
488
|
+
errors: z.ZodNumber;
|
|
489
|
+
}, z.core.$strip>>;
|
|
490
|
+
rights: z.ZodObject<{
|
|
491
|
+
update: z.ZodBoolean;
|
|
492
|
+
publish: z.ZodBoolean;
|
|
493
|
+
}, z.core.$strip>;
|
|
494
|
+
}, z.core.$strip>;
|
|
495
|
+
export type ConnectorDetail = z.infer<typeof ConnectorDetail>;
|
|
496
|
+
export declare const ConnectorTestAnswer: z.ZodUnion<readonly [z.ZodObject<{
|
|
497
|
+
tests: z.ZodObject<{
|
|
498
|
+
version: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"draft">]>;
|
|
499
|
+
current: z.ZodBoolean;
|
|
500
|
+
status: z.ZodEnum<{
|
|
501
|
+
running: "running";
|
|
502
|
+
failed: "failed";
|
|
503
|
+
passed: "passed";
|
|
504
|
+
}>;
|
|
505
|
+
passed: z.ZodNumber;
|
|
506
|
+
failed: z.ZodNumber;
|
|
507
|
+
at: z.ZodISODateTime;
|
|
508
|
+
by: z.ZodObject<{
|
|
509
|
+
userId: z.ZodString;
|
|
510
|
+
name: z.ZodNullable<z.ZodString>;
|
|
511
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
512
|
+
machine: "machine";
|
|
513
|
+
human: "human";
|
|
514
|
+
}>>;
|
|
515
|
+
}, z.core.$strip>;
|
|
516
|
+
durationMs: z.ZodNumber;
|
|
517
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
518
|
+
message: z.ZodString;
|
|
519
|
+
stack: z.ZodOptional<z.ZodString>;
|
|
520
|
+
}, z.core.$strip>>;
|
|
521
|
+
tests: z.ZodArray<z.ZodObject<{
|
|
522
|
+
file: z.ZodString;
|
|
523
|
+
path: z.ZodArray<z.ZodString>;
|
|
524
|
+
name: z.ZodString;
|
|
525
|
+
status: z.ZodEnum<{
|
|
526
|
+
failed: "failed";
|
|
527
|
+
passed: "passed";
|
|
528
|
+
}>;
|
|
529
|
+
durationMs: z.ZodNumber;
|
|
530
|
+
message: z.ZodNullable<z.ZodString>;
|
|
531
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
532
|
+
file: z.ZodString;
|
|
533
|
+
line: z.ZodNumber;
|
|
534
|
+
column: z.ZodNumber;
|
|
535
|
+
}, z.core.$strip>>;
|
|
536
|
+
}, z.core.$strip>>;
|
|
537
|
+
}, z.core.$strip>;
|
|
538
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
539
|
+
connection: z.ZodObject<{
|
|
540
|
+
ok: z.ZodBoolean;
|
|
541
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
542
|
+
message: z.ZodNullable<z.ZodString>;
|
|
543
|
+
}, z.core.$strip>;
|
|
544
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
545
|
+
output: z.ZodUnknown;
|
|
546
|
+
}, z.core.$strip>]>;
|
|
547
|
+
export type ConnectorTestAnswer = z.infer<typeof ConnectorTestAnswer>;
|
|
57
548
|
export declare const ConnectorList: z.ZodObject<{
|
|
58
549
|
items: z.ZodArray<z.ZodObject<{
|
|
59
550
|
connectorId: z.ZodString;
|
|
@@ -78,6 +569,49 @@ export declare const ConnectorList: z.ZodObject<{
|
|
|
78
569
|
setting: "setting";
|
|
79
570
|
}>;
|
|
80
571
|
}, z.core.$strip>>;
|
|
572
|
+
hosts: z.ZodArray<z.ZodString>;
|
|
573
|
+
access: z.ZodString;
|
|
574
|
+
live: z.ZodNullable<z.ZodObject<{
|
|
575
|
+
version: z.ZodNumber;
|
|
576
|
+
publishedAt: z.ZodISODateTime;
|
|
577
|
+
publishedBy: z.ZodNullable<z.ZodObject<{
|
|
578
|
+
userId: z.ZodString;
|
|
579
|
+
name: z.ZodNullable<z.ZodString>;
|
|
580
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
581
|
+
machine: "machine";
|
|
582
|
+
human: "human";
|
|
583
|
+
}>>;
|
|
584
|
+
}, z.core.$strip>>;
|
|
585
|
+
}, z.core.$strip>>;
|
|
586
|
+
draft: z.ZodNullable<z.ZodObject<{
|
|
587
|
+
version: z.ZodNumber;
|
|
588
|
+
updatedAt: z.ZodISODateTime;
|
|
589
|
+
updatedBy: z.ZodNullable<z.ZodObject<{
|
|
590
|
+
userId: z.ZodString;
|
|
591
|
+
name: z.ZodNullable<z.ZodString>;
|
|
592
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
593
|
+
machine: "machine";
|
|
594
|
+
human: "human";
|
|
595
|
+
}>>;
|
|
596
|
+
}, z.core.$strip>>;
|
|
597
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
598
|
+
path: z.ZodString;
|
|
599
|
+
change: z.ZodEnum<{
|
|
600
|
+
added: "added";
|
|
601
|
+
changed: "changed";
|
|
602
|
+
removed: "removed";
|
|
603
|
+
}>;
|
|
604
|
+
}, z.core.$strip>>;
|
|
605
|
+
newTools: z.ZodArray<z.ZodObject<{
|
|
606
|
+
function: z.ZodString;
|
|
607
|
+
description: z.ZodString;
|
|
608
|
+
writes: z.ZodBoolean;
|
|
609
|
+
}, z.core.$strip>>;
|
|
610
|
+
newHosts: z.ZodArray<z.ZodString>;
|
|
611
|
+
tools: z.ZodNumber;
|
|
612
|
+
}, z.core.$strip>>;
|
|
613
|
+
archivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
614
|
+
rev: z.ZodNumber;
|
|
81
615
|
}, z.core.$strip>>;
|
|
82
616
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
83
617
|
}, z.core.$strip>;
|
|
@@ -106,6 +640,8 @@ export declare const Call: z.ZodObject<{
|
|
|
106
640
|
}>;
|
|
107
641
|
status: z.ZodNullable<z.ZodNumber>;
|
|
108
642
|
failed: z.ZodBoolean;
|
|
643
|
+
failure: z.ZodNullable<z.ZodString>;
|
|
644
|
+
version: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"draft">]>>;
|
|
109
645
|
durationMs: z.ZodNumber;
|
|
110
646
|
createdAt: z.ZodISODateTime;
|
|
111
647
|
actor: z.ZodNullable<z.ZodObject<{
|
|
@@ -131,6 +667,8 @@ export declare const CallList: z.ZodObject<{
|
|
|
131
667
|
}>;
|
|
132
668
|
status: z.ZodNullable<z.ZodNumber>;
|
|
133
669
|
failed: z.ZodBoolean;
|
|
670
|
+
failure: z.ZodNullable<z.ZodString>;
|
|
671
|
+
version: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"draft">]>>;
|
|
134
672
|
durationMs: z.ZodNumber;
|
|
135
673
|
createdAt: z.ZodISODateTime;
|
|
136
674
|
actor: z.ZodNullable<z.ZodObject<{
|