@perstack/api-client 0.0.47 → 0.0.50
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/README.md +38 -51
- package/dist/index.d.mts +1352 -1171
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +845 -985
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -5
package/dist/index.d.mts
CHANGED
|
@@ -1,25 +1,367 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { Activity, ActivityOrGroup, ActivityType, CheckpointStatus } from "@perstack/core";
|
|
3
3
|
|
|
4
|
-
//#region ../models/src/api/
|
|
5
|
-
declare
|
|
6
|
-
|
|
4
|
+
//#region ../models/src/api/api-keys/create.d.ts
|
|
5
|
+
declare const request$37: {
|
|
6
|
+
body: z.ZodObject<{
|
|
7
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
operations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
experts: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>;
|
|
10
|
+
wildcardApplicationAccess: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
applicationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
+
expiresIn: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
};
|
|
15
|
+
declare const response$42: z.ZodObject<{
|
|
16
|
+
data: z.ZodObject<{
|
|
17
|
+
apiKey: z.ZodObject<{
|
|
18
|
+
type: z.ZodLiteral<"apiKey">;
|
|
19
|
+
id: z.ZodString;
|
|
20
|
+
name: z.ZodOptional<z.ZodString>;
|
|
21
|
+
start: z.ZodOptional<z.ZodString>;
|
|
22
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
23
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
type: z.ZodLiteral<"user">;
|
|
25
|
+
id: z.ZodString;
|
|
26
|
+
email: z.ZodString;
|
|
27
|
+
emailVerified: z.ZodBoolean;
|
|
28
|
+
name: z.ZodOptional<z.ZodString>;
|
|
29
|
+
image: z.ZodOptional<z.ZodString>;
|
|
30
|
+
status: z.ZodEnum<{
|
|
31
|
+
active: "active";
|
|
32
|
+
inactive: "inactive";
|
|
33
|
+
deleted: "deleted";
|
|
34
|
+
}>;
|
|
35
|
+
organizations: z.ZodArray<z.ZodObject<{
|
|
36
|
+
type: z.ZodLiteral<"organization">;
|
|
37
|
+
id: z.ZodString;
|
|
38
|
+
createdAt: z.ZodString;
|
|
39
|
+
updatedAt: z.ZodString;
|
|
40
|
+
name: z.ZodOptional<z.ZodString>;
|
|
41
|
+
nameChangedAt: z.ZodOptional<z.ZodString>;
|
|
42
|
+
status: z.ZodEnum<{
|
|
43
|
+
active: "active";
|
|
44
|
+
inactive: "inactive";
|
|
45
|
+
deleted: "deleted";
|
|
46
|
+
}>;
|
|
47
|
+
organizationType: z.ZodEnum<{
|
|
48
|
+
personal: "personal";
|
|
49
|
+
personalPlus: "personalPlus";
|
|
50
|
+
team: "team";
|
|
51
|
+
serviceAdmin: "serviceAdmin";
|
|
52
|
+
}>;
|
|
53
|
+
maxApplications: z.ZodNumber;
|
|
54
|
+
maxApiKeys: z.ZodNumber;
|
|
55
|
+
maxExperts: z.ZodNumber;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
createdAt: z.ZodString;
|
|
58
|
+
updatedAt: z.ZodString;
|
|
59
|
+
}, z.core.$strip>>;
|
|
60
|
+
enabled: z.ZodBoolean;
|
|
61
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
62
|
+
lastRequest: z.ZodOptional<z.ZodString>;
|
|
63
|
+
createdAt: z.ZodString;
|
|
64
|
+
updatedAt: z.ZodString;
|
|
65
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
66
|
+
operations: z.ZodArray<z.ZodString>;
|
|
67
|
+
experts: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>;
|
|
68
|
+
}, z.core.$strip>>;
|
|
69
|
+
wildcardApplicationAccess: z.ZodBoolean;
|
|
70
|
+
applicationIds: z.ZodArray<z.ZodString>;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
key: z.ZodString;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
type RequestBody$14 = z.infer<typeof request$37.body>;
|
|
76
|
+
type Response$43 = z.infer<typeof response$42>;
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region ../models/src/api/api-keys/get.d.ts
|
|
79
|
+
declare const response$41: z.ZodObject<{
|
|
80
|
+
data: z.ZodObject<{
|
|
81
|
+
apiKey: z.ZodObject<{
|
|
82
|
+
type: z.ZodLiteral<"apiKey">;
|
|
83
|
+
id: z.ZodString;
|
|
84
|
+
name: z.ZodOptional<z.ZodString>;
|
|
85
|
+
start: z.ZodOptional<z.ZodString>;
|
|
86
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
87
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
88
|
+
type: z.ZodLiteral<"user">;
|
|
89
|
+
id: z.ZodString;
|
|
90
|
+
email: z.ZodString;
|
|
91
|
+
emailVerified: z.ZodBoolean;
|
|
92
|
+
name: z.ZodOptional<z.ZodString>;
|
|
93
|
+
image: z.ZodOptional<z.ZodString>;
|
|
94
|
+
status: z.ZodEnum<{
|
|
95
|
+
active: "active";
|
|
96
|
+
inactive: "inactive";
|
|
97
|
+
deleted: "deleted";
|
|
98
|
+
}>;
|
|
99
|
+
organizations: z.ZodArray<z.ZodObject<{
|
|
100
|
+
type: z.ZodLiteral<"organization">;
|
|
101
|
+
id: z.ZodString;
|
|
102
|
+
createdAt: z.ZodString;
|
|
103
|
+
updatedAt: z.ZodString;
|
|
104
|
+
name: z.ZodOptional<z.ZodString>;
|
|
105
|
+
nameChangedAt: z.ZodOptional<z.ZodString>;
|
|
106
|
+
status: z.ZodEnum<{
|
|
107
|
+
active: "active";
|
|
108
|
+
inactive: "inactive";
|
|
109
|
+
deleted: "deleted";
|
|
110
|
+
}>;
|
|
111
|
+
organizationType: z.ZodEnum<{
|
|
112
|
+
personal: "personal";
|
|
113
|
+
personalPlus: "personalPlus";
|
|
114
|
+
team: "team";
|
|
115
|
+
serviceAdmin: "serviceAdmin";
|
|
116
|
+
}>;
|
|
117
|
+
maxApplications: z.ZodNumber;
|
|
118
|
+
maxApiKeys: z.ZodNumber;
|
|
119
|
+
maxExperts: z.ZodNumber;
|
|
120
|
+
}, z.core.$strip>>;
|
|
121
|
+
createdAt: z.ZodString;
|
|
122
|
+
updatedAt: z.ZodString;
|
|
123
|
+
}, z.core.$strip>>;
|
|
124
|
+
enabled: z.ZodBoolean;
|
|
125
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
126
|
+
lastRequest: z.ZodOptional<z.ZodString>;
|
|
127
|
+
createdAt: z.ZodString;
|
|
128
|
+
updatedAt: z.ZodString;
|
|
129
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
130
|
+
operations: z.ZodArray<z.ZodString>;
|
|
131
|
+
experts: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>;
|
|
132
|
+
}, z.core.$strip>>;
|
|
133
|
+
wildcardApplicationAccess: z.ZodBoolean;
|
|
134
|
+
applicationIds: z.ZodArray<z.ZodString>;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
}, z.core.$strip>;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
type Response$42 = z.infer<typeof response$41>;
|
|
139
|
+
//#endregion
|
|
140
|
+
//#region ../models/src/api/api-keys/getAll.d.ts
|
|
141
|
+
declare const request$36: {
|
|
142
|
+
query: z.ZodObject<{
|
|
143
|
+
take: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
144
|
+
skip: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
145
|
+
}, z.core.$strip>;
|
|
146
|
+
};
|
|
147
|
+
declare const response$40: z.ZodObject<{
|
|
148
|
+
data: z.ZodObject<{
|
|
149
|
+
apiKeys: z.ZodArray<z.ZodObject<{
|
|
150
|
+
type: z.ZodLiteral<"apiKey">;
|
|
151
|
+
id: z.ZodString;
|
|
152
|
+
name: z.ZodOptional<z.ZodString>;
|
|
153
|
+
start: z.ZodOptional<z.ZodString>;
|
|
154
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
155
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
156
|
+
type: z.ZodLiteral<"user">;
|
|
157
|
+
id: z.ZodString;
|
|
158
|
+
email: z.ZodString;
|
|
159
|
+
emailVerified: z.ZodBoolean;
|
|
160
|
+
name: z.ZodOptional<z.ZodString>;
|
|
161
|
+
image: z.ZodOptional<z.ZodString>;
|
|
162
|
+
status: z.ZodEnum<{
|
|
163
|
+
active: "active";
|
|
164
|
+
inactive: "inactive";
|
|
165
|
+
deleted: "deleted";
|
|
166
|
+
}>;
|
|
167
|
+
organizations: z.ZodArray<z.ZodObject<{
|
|
168
|
+
type: z.ZodLiteral<"organization">;
|
|
169
|
+
id: z.ZodString;
|
|
170
|
+
createdAt: z.ZodString;
|
|
171
|
+
updatedAt: z.ZodString;
|
|
172
|
+
name: z.ZodOptional<z.ZodString>;
|
|
173
|
+
nameChangedAt: z.ZodOptional<z.ZodString>;
|
|
174
|
+
status: z.ZodEnum<{
|
|
175
|
+
active: "active";
|
|
176
|
+
inactive: "inactive";
|
|
177
|
+
deleted: "deleted";
|
|
178
|
+
}>;
|
|
179
|
+
organizationType: z.ZodEnum<{
|
|
180
|
+
personal: "personal";
|
|
181
|
+
personalPlus: "personalPlus";
|
|
182
|
+
team: "team";
|
|
183
|
+
serviceAdmin: "serviceAdmin";
|
|
184
|
+
}>;
|
|
185
|
+
maxApplications: z.ZodNumber;
|
|
186
|
+
maxApiKeys: z.ZodNumber;
|
|
187
|
+
maxExperts: z.ZodNumber;
|
|
188
|
+
}, z.core.$strip>>;
|
|
189
|
+
createdAt: z.ZodString;
|
|
190
|
+
updatedAt: z.ZodString;
|
|
191
|
+
}, z.core.$strip>>;
|
|
192
|
+
enabled: z.ZodBoolean;
|
|
193
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
194
|
+
lastRequest: z.ZodOptional<z.ZodString>;
|
|
195
|
+
createdAt: z.ZodString;
|
|
196
|
+
updatedAt: z.ZodString;
|
|
197
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
198
|
+
operations: z.ZodArray<z.ZodString>;
|
|
199
|
+
experts: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>;
|
|
200
|
+
}, z.core.$strip>>;
|
|
201
|
+
wildcardApplicationAccess: z.ZodBoolean;
|
|
202
|
+
applicationIds: z.ZodArray<z.ZodString>;
|
|
203
|
+
}, z.core.$strip>>;
|
|
204
|
+
}, z.core.$strip>;
|
|
205
|
+
meta: z.ZodObject<{
|
|
206
|
+
total: z.ZodNumber;
|
|
207
|
+
take: z.ZodNumber;
|
|
208
|
+
skip: z.ZodNumber;
|
|
209
|
+
}, z.core.$strip>;
|
|
210
|
+
}, z.core.$strip>;
|
|
211
|
+
type RequestQuery$10 = z.infer<typeof request$36.query>;
|
|
212
|
+
type Response$41 = z.infer<typeof response$40>;
|
|
213
|
+
//#endregion
|
|
214
|
+
//#region ../models/src/api/api-keys/revoke.d.ts
|
|
215
|
+
declare const response$39: z.ZodObject<{
|
|
216
|
+
data: z.ZodObject<{
|
|
217
|
+
apiKey: z.ZodObject<{
|
|
218
|
+
type: z.ZodLiteral<"apiKey">;
|
|
219
|
+
id: z.ZodString;
|
|
220
|
+
name: z.ZodOptional<z.ZodString>;
|
|
221
|
+
start: z.ZodOptional<z.ZodString>;
|
|
222
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
223
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
224
|
+
type: z.ZodLiteral<"user">;
|
|
225
|
+
id: z.ZodString;
|
|
226
|
+
email: z.ZodString;
|
|
227
|
+
emailVerified: z.ZodBoolean;
|
|
228
|
+
name: z.ZodOptional<z.ZodString>;
|
|
229
|
+
image: z.ZodOptional<z.ZodString>;
|
|
230
|
+
status: z.ZodEnum<{
|
|
231
|
+
active: "active";
|
|
232
|
+
inactive: "inactive";
|
|
233
|
+
deleted: "deleted";
|
|
234
|
+
}>;
|
|
235
|
+
organizations: z.ZodArray<z.ZodObject<{
|
|
236
|
+
type: z.ZodLiteral<"organization">;
|
|
237
|
+
id: z.ZodString;
|
|
238
|
+
createdAt: z.ZodString;
|
|
239
|
+
updatedAt: z.ZodString;
|
|
240
|
+
name: z.ZodOptional<z.ZodString>;
|
|
241
|
+
nameChangedAt: z.ZodOptional<z.ZodString>;
|
|
242
|
+
status: z.ZodEnum<{
|
|
243
|
+
active: "active";
|
|
244
|
+
inactive: "inactive";
|
|
245
|
+
deleted: "deleted";
|
|
246
|
+
}>;
|
|
247
|
+
organizationType: z.ZodEnum<{
|
|
248
|
+
personal: "personal";
|
|
249
|
+
personalPlus: "personalPlus";
|
|
250
|
+
team: "team";
|
|
251
|
+
serviceAdmin: "serviceAdmin";
|
|
252
|
+
}>;
|
|
253
|
+
maxApplications: z.ZodNumber;
|
|
254
|
+
maxApiKeys: z.ZodNumber;
|
|
255
|
+
maxExperts: z.ZodNumber;
|
|
256
|
+
}, z.core.$strip>>;
|
|
257
|
+
createdAt: z.ZodString;
|
|
258
|
+
updatedAt: z.ZodString;
|
|
259
|
+
}, z.core.$strip>>;
|
|
260
|
+
enabled: z.ZodBoolean;
|
|
261
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
262
|
+
lastRequest: z.ZodOptional<z.ZodString>;
|
|
263
|
+
createdAt: z.ZodString;
|
|
264
|
+
updatedAt: z.ZodString;
|
|
265
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
266
|
+
operations: z.ZodArray<z.ZodString>;
|
|
267
|
+
experts: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>;
|
|
268
|
+
}, z.core.$strip>>;
|
|
269
|
+
wildcardApplicationAccess: z.ZodBoolean;
|
|
270
|
+
applicationIds: z.ZodArray<z.ZodString>;
|
|
271
|
+
}, z.core.$strip>;
|
|
272
|
+
}, z.core.$strip>;
|
|
273
|
+
}, z.core.$strip>;
|
|
274
|
+
type Response$40 = z.infer<typeof response$39>;
|
|
275
|
+
//#endregion
|
|
276
|
+
//#region ../models/src/api/api-keys/update.d.ts
|
|
277
|
+
declare const request$35: {
|
|
278
|
+
params: z.ZodObject<{
|
|
279
|
+
apiKeyId: z.ZodString;
|
|
280
|
+
}, z.core.$strip>;
|
|
281
|
+
body: z.ZodObject<{
|
|
282
|
+
applicationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
283
|
+
wildcardApplicationAccess: z.ZodOptional<z.ZodBoolean>;
|
|
284
|
+
}, z.core.$strip>;
|
|
285
|
+
};
|
|
286
|
+
declare const response$38: z.ZodObject<{
|
|
287
|
+
data: z.ZodObject<{
|
|
288
|
+
apiKey: z.ZodObject<{
|
|
289
|
+
type: z.ZodLiteral<"apiKey">;
|
|
290
|
+
id: z.ZodString;
|
|
291
|
+
name: z.ZodOptional<z.ZodString>;
|
|
292
|
+
start: z.ZodOptional<z.ZodString>;
|
|
293
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
294
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
295
|
+
type: z.ZodLiteral<"user">;
|
|
296
|
+
id: z.ZodString;
|
|
297
|
+
email: z.ZodString;
|
|
298
|
+
emailVerified: z.ZodBoolean;
|
|
299
|
+
name: z.ZodOptional<z.ZodString>;
|
|
300
|
+
image: z.ZodOptional<z.ZodString>;
|
|
301
|
+
status: z.ZodEnum<{
|
|
302
|
+
active: "active";
|
|
303
|
+
inactive: "inactive";
|
|
304
|
+
deleted: "deleted";
|
|
305
|
+
}>;
|
|
306
|
+
organizations: z.ZodArray<z.ZodObject<{
|
|
307
|
+
type: z.ZodLiteral<"organization">;
|
|
308
|
+
id: z.ZodString;
|
|
309
|
+
createdAt: z.ZodString;
|
|
310
|
+
updatedAt: z.ZodString;
|
|
311
|
+
name: z.ZodOptional<z.ZodString>;
|
|
312
|
+
nameChangedAt: z.ZodOptional<z.ZodString>;
|
|
313
|
+
status: z.ZodEnum<{
|
|
314
|
+
active: "active";
|
|
315
|
+
inactive: "inactive";
|
|
316
|
+
deleted: "deleted";
|
|
317
|
+
}>;
|
|
318
|
+
organizationType: z.ZodEnum<{
|
|
319
|
+
personal: "personal";
|
|
320
|
+
personalPlus: "personalPlus";
|
|
321
|
+
team: "team";
|
|
322
|
+
serviceAdmin: "serviceAdmin";
|
|
323
|
+
}>;
|
|
324
|
+
maxApplications: z.ZodNumber;
|
|
325
|
+
maxApiKeys: z.ZodNumber;
|
|
326
|
+
maxExperts: z.ZodNumber;
|
|
327
|
+
}, z.core.$strip>>;
|
|
328
|
+
createdAt: z.ZodString;
|
|
329
|
+
updatedAt: z.ZodString;
|
|
330
|
+
}, z.core.$strip>>;
|
|
331
|
+
enabled: z.ZodBoolean;
|
|
332
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
333
|
+
lastRequest: z.ZodOptional<z.ZodString>;
|
|
334
|
+
createdAt: z.ZodString;
|
|
335
|
+
updatedAt: z.ZodString;
|
|
336
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
337
|
+
operations: z.ZodArray<z.ZodString>;
|
|
338
|
+
experts: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>;
|
|
339
|
+
}, z.core.$strip>>;
|
|
340
|
+
wildcardApplicationAccess: z.ZodBoolean;
|
|
341
|
+
applicationIds: z.ZodArray<z.ZodString>;
|
|
342
|
+
}, z.core.$strip>;
|
|
343
|
+
}, z.core.$strip>;
|
|
344
|
+
}, z.core.$strip>;
|
|
345
|
+
type RequestBody$13 = z.infer<typeof request$35.body>;
|
|
346
|
+
type Response$39 = z.infer<typeof response$38>;
|
|
347
|
+
declare namespace create_d_exports$4 {
|
|
348
|
+
export { RequestBody$12 as RequestBody, Response$38 as Response, request$34 as request, response$37 as response };
|
|
7
349
|
}
|
|
8
|
-
declare const request$
|
|
350
|
+
declare const request$34: {
|
|
9
351
|
body: z.ZodObject<{
|
|
10
352
|
name: z.ZodString;
|
|
11
|
-
applicationGroupId: z.ZodOptional<z.
|
|
353
|
+
applicationGroupId: z.ZodOptional<z.ZodString>;
|
|
12
354
|
}, z.core.$strip>;
|
|
13
355
|
};
|
|
14
|
-
declare const response$
|
|
356
|
+
declare const response$37: z.ZodObject<{
|
|
15
357
|
data: z.ZodObject<{
|
|
16
358
|
application: z.ZodObject<{
|
|
17
359
|
type: z.ZodLiteral<"application">;
|
|
18
|
-
id: z.
|
|
19
|
-
organizationId: z.
|
|
360
|
+
id: z.ZodString;
|
|
361
|
+
organizationId: z.ZodString;
|
|
20
362
|
organization: z.ZodObject<{
|
|
21
363
|
type: z.ZodLiteral<"organization">;
|
|
22
|
-
id: z.
|
|
364
|
+
id: z.ZodString;
|
|
23
365
|
createdAt: z.ZodString;
|
|
24
366
|
updatedAt: z.ZodString;
|
|
25
367
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -47,28 +389,38 @@ declare const response$39: z.ZodObject<{
|
|
|
47
389
|
inactive: "inactive";
|
|
48
390
|
deleted: "deleted";
|
|
49
391
|
}>;
|
|
392
|
+
expertCount: z.ZodOptional<z.ZodNumber>;
|
|
393
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
394
|
+
anthropic: "anthropic";
|
|
395
|
+
google: "google";
|
|
396
|
+
openai: "openai";
|
|
397
|
+
deepseek: "deepseek";
|
|
398
|
+
"azure-openai": "azure-openai";
|
|
399
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
400
|
+
"google-vertex": "google-vertex";
|
|
401
|
+
}>>>;
|
|
50
402
|
}, z.core.$strip>;
|
|
51
403
|
}, z.core.$strip>;
|
|
52
404
|
}, z.core.$strip>;
|
|
53
|
-
type RequestBody$12 = z.infer<typeof request$
|
|
54
|
-
type Response$
|
|
55
|
-
declare namespace delete_d_exports$
|
|
56
|
-
export { RequestParams$
|
|
405
|
+
type RequestBody$12 = z.infer<typeof request$34.body>;
|
|
406
|
+
type Response$38 = z.infer<typeof response$37>;
|
|
407
|
+
declare namespace delete_d_exports$3 {
|
|
408
|
+
export { RequestParams$21 as RequestParams, Response$37 as Response, request$33 as request, response$36 as response };
|
|
57
409
|
}
|
|
58
|
-
declare const request$
|
|
410
|
+
declare const request$33: {
|
|
59
411
|
params: z.ZodObject<{
|
|
60
|
-
applicationId: z.
|
|
412
|
+
applicationId: z.ZodString;
|
|
61
413
|
}, z.core.$strip>;
|
|
62
414
|
};
|
|
63
|
-
declare const response$
|
|
415
|
+
declare const response$36: z.ZodObject<{
|
|
64
416
|
data: z.ZodObject<{
|
|
65
417
|
application: z.ZodObject<{
|
|
66
418
|
type: z.ZodLiteral<"application">;
|
|
67
|
-
id: z.
|
|
68
|
-
organizationId: z.
|
|
419
|
+
id: z.ZodString;
|
|
420
|
+
organizationId: z.ZodString;
|
|
69
421
|
organization: z.ZodObject<{
|
|
70
422
|
type: z.ZodLiteral<"organization">;
|
|
71
|
-
id: z.
|
|
423
|
+
id: z.ZodString;
|
|
72
424
|
createdAt: z.ZodString;
|
|
73
425
|
updatedAt: z.ZodString;
|
|
74
426
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -96,28 +448,38 @@ declare const response$38: z.ZodObject<{
|
|
|
96
448
|
inactive: "inactive";
|
|
97
449
|
deleted: "deleted";
|
|
98
450
|
}>;
|
|
451
|
+
expertCount: z.ZodOptional<z.ZodNumber>;
|
|
452
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
453
|
+
anthropic: "anthropic";
|
|
454
|
+
google: "google";
|
|
455
|
+
openai: "openai";
|
|
456
|
+
deepseek: "deepseek";
|
|
457
|
+
"azure-openai": "azure-openai";
|
|
458
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
459
|
+
"google-vertex": "google-vertex";
|
|
460
|
+
}>>>;
|
|
99
461
|
}, z.core.$strip>;
|
|
100
462
|
}, z.core.$strip>;
|
|
101
463
|
}, z.core.$strip>;
|
|
102
|
-
type RequestParams$
|
|
103
|
-
type Response$
|
|
104
|
-
declare namespace get_d_exports$
|
|
105
|
-
export { RequestParams$
|
|
464
|
+
type RequestParams$21 = z.infer<typeof request$33.params>;
|
|
465
|
+
type Response$37 = z.infer<typeof response$36>;
|
|
466
|
+
declare namespace get_d_exports$5 {
|
|
467
|
+
export { RequestParams$20 as RequestParams, Response$36 as Response, request$32 as request, response$35 as response };
|
|
106
468
|
}
|
|
107
|
-
declare const request$
|
|
469
|
+
declare const request$32: {
|
|
108
470
|
params: z.ZodObject<{
|
|
109
|
-
applicationId: z.
|
|
471
|
+
applicationId: z.ZodString;
|
|
110
472
|
}, z.core.$strip>;
|
|
111
473
|
};
|
|
112
|
-
declare const response$
|
|
474
|
+
declare const response$35: z.ZodObject<{
|
|
113
475
|
data: z.ZodObject<{
|
|
114
476
|
application: z.ZodObject<{
|
|
115
477
|
type: z.ZodLiteral<"application">;
|
|
116
|
-
id: z.
|
|
117
|
-
organizationId: z.
|
|
478
|
+
id: z.ZodString;
|
|
479
|
+
organizationId: z.ZodString;
|
|
118
480
|
organization: z.ZodObject<{
|
|
119
481
|
type: z.ZodLiteral<"organization">;
|
|
120
|
-
id: z.
|
|
482
|
+
id: z.ZodString;
|
|
121
483
|
createdAt: z.ZodString;
|
|
122
484
|
updatedAt: z.ZodString;
|
|
123
485
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -145,15 +507,25 @@ declare const response$37: z.ZodObject<{
|
|
|
145
507
|
inactive: "inactive";
|
|
146
508
|
deleted: "deleted";
|
|
147
509
|
}>;
|
|
510
|
+
expertCount: z.ZodOptional<z.ZodNumber>;
|
|
511
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
512
|
+
anthropic: "anthropic";
|
|
513
|
+
google: "google";
|
|
514
|
+
openai: "openai";
|
|
515
|
+
deepseek: "deepseek";
|
|
516
|
+
"azure-openai": "azure-openai";
|
|
517
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
518
|
+
"google-vertex": "google-vertex";
|
|
519
|
+
}>>>;
|
|
148
520
|
}, z.core.$strip>;
|
|
149
521
|
}, z.core.$strip>;
|
|
150
522
|
}, z.core.$strip>;
|
|
151
|
-
type RequestParams$
|
|
152
|
-
type Response$
|
|
153
|
-
declare namespace getAll_d_exports$
|
|
154
|
-
export { RequestQuery$
|
|
523
|
+
type RequestParams$20 = z.infer<typeof request$32.params>;
|
|
524
|
+
type Response$36 = z.infer<typeof response$35>;
|
|
525
|
+
declare namespace getAll_d_exports$5 {
|
|
526
|
+
export { RequestQuery$9 as RequestQuery, Response$35 as Response, request$31 as request, response$34 as response };
|
|
155
527
|
}
|
|
156
|
-
declare const request$
|
|
528
|
+
declare const request$31: {
|
|
157
529
|
query: z.ZodObject<{
|
|
158
530
|
name: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>, z.ZodTransform<string | undefined, string | string[] | undefined>>;
|
|
159
531
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
@@ -169,15 +541,15 @@ declare const request$36: {
|
|
|
169
541
|
skip: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
170
542
|
}, z.core.$strip>;
|
|
171
543
|
};
|
|
172
|
-
declare const response$
|
|
544
|
+
declare const response$34: z.ZodObject<{
|
|
173
545
|
data: z.ZodObject<{
|
|
174
546
|
applications: z.ZodArray<z.ZodObject<{
|
|
175
547
|
type: z.ZodLiteral<"application">;
|
|
176
|
-
id: z.
|
|
177
|
-
organizationId: z.
|
|
548
|
+
id: z.ZodString;
|
|
549
|
+
organizationId: z.ZodString;
|
|
178
550
|
organization: z.ZodObject<{
|
|
179
551
|
type: z.ZodLiteral<"organization">;
|
|
180
|
-
id: z.
|
|
552
|
+
id: z.ZodString;
|
|
181
553
|
createdAt: z.ZodString;
|
|
182
554
|
updatedAt: z.ZodString;
|
|
183
555
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -205,6 +577,16 @@ declare const response$36: z.ZodObject<{
|
|
|
205
577
|
inactive: "inactive";
|
|
206
578
|
deleted: "deleted";
|
|
207
579
|
}>;
|
|
580
|
+
expertCount: z.ZodOptional<z.ZodNumber>;
|
|
581
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
582
|
+
anthropic: "anthropic";
|
|
583
|
+
google: "google";
|
|
584
|
+
openai: "openai";
|
|
585
|
+
deepseek: "deepseek";
|
|
586
|
+
"azure-openai": "azure-openai";
|
|
587
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
588
|
+
"google-vertex": "google-vertex";
|
|
589
|
+
}>>>;
|
|
208
590
|
}, z.core.$strip>>;
|
|
209
591
|
}, z.core.$strip>;
|
|
210
592
|
meta: z.ZodObject<{
|
|
@@ -213,14 +595,14 @@ declare const response$36: z.ZodObject<{
|
|
|
213
595
|
skip: z.ZodNumber;
|
|
214
596
|
}, z.core.$strip>;
|
|
215
597
|
}, z.core.$strip>;
|
|
216
|
-
type RequestQuery$
|
|
217
|
-
type Response$
|
|
218
|
-
declare namespace update_d_exports$
|
|
219
|
-
export { RequestBody$11 as RequestBody, RequestParams$
|
|
598
|
+
type RequestQuery$9 = z.infer<typeof request$31.query>;
|
|
599
|
+
type Response$35 = z.infer<typeof response$34>;
|
|
600
|
+
declare namespace update_d_exports$3 {
|
|
601
|
+
export { RequestBody$11 as RequestBody, RequestParams$19 as RequestParams, Response$34 as Response, request$30 as request, response$33 as response };
|
|
220
602
|
}
|
|
221
|
-
declare const request$
|
|
603
|
+
declare const request$30: {
|
|
222
604
|
params: z.ZodObject<{
|
|
223
|
-
applicationId: z.
|
|
605
|
+
applicationId: z.ZodString;
|
|
224
606
|
}, z.core.$strip>;
|
|
225
607
|
body: z.ZodObject<{
|
|
226
608
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -230,15 +612,15 @@ declare const request$35: {
|
|
|
230
612
|
}>>;
|
|
231
613
|
}, z.core.$strip>;
|
|
232
614
|
};
|
|
233
|
-
declare const response$
|
|
615
|
+
declare const response$33: z.ZodObject<{
|
|
234
616
|
data: z.ZodObject<{
|
|
235
617
|
application: z.ZodObject<{
|
|
236
618
|
type: z.ZodLiteral<"application">;
|
|
237
|
-
id: z.
|
|
238
|
-
organizationId: z.
|
|
619
|
+
id: z.ZodString;
|
|
620
|
+
organizationId: z.ZodString;
|
|
239
621
|
organization: z.ZodObject<{
|
|
240
622
|
type: z.ZodLiteral<"organization">;
|
|
241
|
-
id: z.
|
|
623
|
+
id: z.ZodString;
|
|
242
624
|
createdAt: z.ZodString;
|
|
243
625
|
updatedAt: z.ZodString;
|
|
244
626
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -266,26 +648,36 @@ declare const response$35: z.ZodObject<{
|
|
|
266
648
|
inactive: "inactive";
|
|
267
649
|
deleted: "deleted";
|
|
268
650
|
}>;
|
|
651
|
+
expertCount: z.ZodOptional<z.ZodNumber>;
|
|
652
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
653
|
+
anthropic: "anthropic";
|
|
654
|
+
google: "google";
|
|
655
|
+
openai: "openai";
|
|
656
|
+
deepseek: "deepseek";
|
|
657
|
+
"azure-openai": "azure-openai";
|
|
658
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
659
|
+
"google-vertex": "google-vertex";
|
|
660
|
+
}>>>;
|
|
269
661
|
}, z.core.$strip>;
|
|
270
662
|
}, z.core.$strip>;
|
|
271
663
|
}, z.core.$strip>;
|
|
272
|
-
type RequestParams$
|
|
273
|
-
type RequestBody$11 = z.infer<typeof request$
|
|
274
|
-
type Response$
|
|
664
|
+
type RequestParams$19 = z.infer<typeof request$30.params>;
|
|
665
|
+
type RequestBody$11 = z.infer<typeof request$30.body>;
|
|
666
|
+
type Response$34 = z.infer<typeof response$33>;
|
|
275
667
|
declare namespace index_d_exports {
|
|
276
|
-
export { create_d_exports$
|
|
668
|
+
export { create_d_exports$4 as Create, delete_d_exports$3 as Delete, get_d_exports$5 as Get, getAll_d_exports$5 as GetAll, update_d_exports$3 as Update };
|
|
277
669
|
}
|
|
278
|
-
declare namespace create_d_exports$
|
|
279
|
-
export { RequestBody$10 as RequestBody, Response$
|
|
670
|
+
declare namespace create_d_exports$3 {
|
|
671
|
+
export { RequestBody$10 as RequestBody, Response$33 as Response, request$29 as request, response$32 as response };
|
|
280
672
|
}
|
|
281
|
-
declare const request$
|
|
673
|
+
declare const request$29: {
|
|
282
674
|
body: z.ZodObject<{
|
|
283
|
-
applicationId: z.
|
|
675
|
+
applicationId: z.ZodString;
|
|
284
676
|
name: z.ZodString;
|
|
285
677
|
value: z.ZodString;
|
|
286
678
|
}, z.core.$strip>;
|
|
287
679
|
};
|
|
288
|
-
declare const response$
|
|
680
|
+
declare const response$32: z.ZodObject<{
|
|
289
681
|
data: z.ZodObject<{
|
|
290
682
|
secret: z.ZodObject<{
|
|
291
683
|
name: z.ZodString;
|
|
@@ -294,35 +686,35 @@ declare const response$34: z.ZodObject<{
|
|
|
294
686
|
}, z.core.$strip>;
|
|
295
687
|
}, z.core.$strip>;
|
|
296
688
|
}, z.core.$strip>;
|
|
297
|
-
type RequestBody$10 = z.infer<typeof request$
|
|
298
|
-
type Response$
|
|
299
|
-
declare namespace delete_d_exports$
|
|
300
|
-
export { RequestParams$
|
|
689
|
+
type RequestBody$10 = z.infer<typeof request$29.body>;
|
|
690
|
+
type Response$33 = z.infer<typeof response$32>;
|
|
691
|
+
declare namespace delete_d_exports$2 {
|
|
692
|
+
export { RequestParams$18 as RequestParams, RequestQuery$8 as RequestQuery, Response$32 as Response, request$28 as request, response$31 as response };
|
|
301
693
|
}
|
|
302
|
-
declare const request$
|
|
694
|
+
declare const request$28: {
|
|
303
695
|
params: z.ZodObject<{
|
|
304
696
|
name: z.ZodString;
|
|
305
697
|
}, z.core.$strip>;
|
|
306
698
|
query: z.ZodObject<{
|
|
307
|
-
applicationId: z.
|
|
699
|
+
applicationId: z.ZodString;
|
|
308
700
|
}, z.core.$strip>;
|
|
309
701
|
};
|
|
310
|
-
declare const response$
|
|
311
|
-
type RequestParams$
|
|
312
|
-
type RequestQuery$
|
|
313
|
-
type Response$
|
|
314
|
-
declare namespace get_d_exports$
|
|
315
|
-
export { RequestParams$
|
|
702
|
+
declare const response$31: z.ZodNull;
|
|
703
|
+
type RequestParams$18 = z.infer<typeof request$28.params>;
|
|
704
|
+
type RequestQuery$8 = z.infer<typeof request$28.query>;
|
|
705
|
+
type Response$32 = z.infer<typeof response$31>;
|
|
706
|
+
declare namespace get_d_exports$4 {
|
|
707
|
+
export { RequestParams$17 as RequestParams, RequestQuery$7 as RequestQuery, Response$31 as Response, request$27 as request, response$30 as response };
|
|
316
708
|
}
|
|
317
|
-
declare const request$
|
|
709
|
+
declare const request$27: {
|
|
318
710
|
params: z.ZodObject<{
|
|
319
711
|
name: z.ZodString;
|
|
320
712
|
}, z.core.$strip>;
|
|
321
713
|
query: z.ZodObject<{
|
|
322
|
-
applicationId: z.
|
|
714
|
+
applicationId: z.ZodString;
|
|
323
715
|
}, z.core.$strip>;
|
|
324
716
|
};
|
|
325
|
-
declare const response$
|
|
717
|
+
declare const response$30: z.ZodObject<{
|
|
326
718
|
data: z.ZodObject<{
|
|
327
719
|
secret: z.ZodObject<{
|
|
328
720
|
name: z.ZodString;
|
|
@@ -331,18 +723,18 @@ declare const response$32: z.ZodObject<{
|
|
|
331
723
|
}, z.core.$strip>;
|
|
332
724
|
}, z.core.$strip>;
|
|
333
725
|
}, z.core.$strip>;
|
|
334
|
-
type RequestParams$
|
|
335
|
-
type RequestQuery$
|
|
336
|
-
type Response$
|
|
337
|
-
declare namespace getAll_d_exports$
|
|
338
|
-
export { RequestQuery$
|
|
726
|
+
type RequestParams$17 = z.infer<typeof request$27.params>;
|
|
727
|
+
type RequestQuery$7 = z.infer<typeof request$27.query>;
|
|
728
|
+
type Response$31 = z.infer<typeof response$30>;
|
|
729
|
+
declare namespace getAll_d_exports$4 {
|
|
730
|
+
export { RequestQuery$6 as RequestQuery, Response$30 as Response, request$26 as request, response$29 as response };
|
|
339
731
|
}
|
|
340
|
-
declare const request$
|
|
732
|
+
declare const request$26: {
|
|
341
733
|
query: z.ZodObject<{
|
|
342
|
-
applicationId: z.ZodOptional<z.
|
|
734
|
+
applicationId: z.ZodOptional<z.ZodString>;
|
|
343
735
|
}, z.core.$strip>;
|
|
344
736
|
};
|
|
345
|
-
declare const response$
|
|
737
|
+
declare const response$29: z.ZodObject<{
|
|
346
738
|
data: z.ZodObject<{
|
|
347
739
|
secrets: z.ZodArray<z.ZodObject<{
|
|
348
740
|
name: z.ZodString;
|
|
@@ -351,21 +743,21 @@ declare const response$31: z.ZodObject<{
|
|
|
351
743
|
}, z.core.$strip>>;
|
|
352
744
|
}, z.core.$strip>;
|
|
353
745
|
}, z.core.$strip>;
|
|
354
|
-
type RequestQuery$
|
|
355
|
-
type Response$
|
|
356
|
-
declare namespace update_d_exports$
|
|
357
|
-
export { RequestBody$9 as RequestBody, RequestParams$
|
|
746
|
+
type RequestQuery$6 = z.infer<typeof request$26.query>;
|
|
747
|
+
type Response$30 = z.infer<typeof response$29>;
|
|
748
|
+
declare namespace update_d_exports$2 {
|
|
749
|
+
export { RequestBody$9 as RequestBody, RequestParams$16 as RequestParams, Response$29 as Response, request$25 as request, response$28 as response };
|
|
358
750
|
}
|
|
359
|
-
declare const request$
|
|
751
|
+
declare const request$25: {
|
|
360
752
|
params: z.ZodObject<{
|
|
361
753
|
name: z.ZodString;
|
|
362
754
|
}, z.core.$strip>;
|
|
363
755
|
body: z.ZodObject<{
|
|
364
|
-
applicationId: z.
|
|
756
|
+
applicationId: z.ZodString;
|
|
365
757
|
value: z.ZodString;
|
|
366
758
|
}, z.core.$strip>;
|
|
367
759
|
};
|
|
368
|
-
declare const response$
|
|
760
|
+
declare const response$28: z.ZodObject<{
|
|
369
761
|
data: z.ZodObject<{
|
|
370
762
|
secret: z.ZodObject<{
|
|
371
763
|
name: z.ZodString;
|
|
@@ -374,23 +766,23 @@ declare const response$30: z.ZodObject<{
|
|
|
374
766
|
}, z.core.$strip>;
|
|
375
767
|
}, z.core.$strip>;
|
|
376
768
|
}, z.core.$strip>;
|
|
377
|
-
type RequestParams$
|
|
378
|
-
type RequestBody$9 = z.infer<typeof request$
|
|
379
|
-
type Response$
|
|
380
|
-
declare namespace index_d_exports$
|
|
381
|
-
export { create_d_exports$
|
|
769
|
+
type RequestParams$16 = z.infer<typeof request$25.params>;
|
|
770
|
+
type RequestBody$9 = z.infer<typeof request$25.body>;
|
|
771
|
+
type Response$29 = z.infer<typeof response$28>;
|
|
772
|
+
declare namespace index_d_exports$6 {
|
|
773
|
+
export { create_d_exports$3 as Create, delete_d_exports$2 as Delete, get_d_exports$4 as Get, getAll_d_exports$4 as GetAll, update_d_exports$2 as Update };
|
|
382
774
|
}
|
|
383
|
-
declare namespace create_d_exports$
|
|
384
|
-
export { RequestBody$8 as RequestBody, Response$
|
|
775
|
+
declare namespace create_d_exports$2 {
|
|
776
|
+
export { RequestBody$8 as RequestBody, Response$28 as Response, request$24 as request, response$27 as response };
|
|
385
777
|
}
|
|
386
|
-
declare const request$
|
|
778
|
+
declare const request$24: {
|
|
387
779
|
body: z.ZodObject<{
|
|
388
|
-
applicationId: z.
|
|
780
|
+
applicationId: z.ZodString;
|
|
389
781
|
name: z.ZodString;
|
|
390
782
|
value: z.ZodString;
|
|
391
783
|
}, z.core.$strip>;
|
|
392
784
|
};
|
|
393
|
-
declare const response$
|
|
785
|
+
declare const response$27: z.ZodObject<{
|
|
394
786
|
data: z.ZodObject<{
|
|
395
787
|
variable: z.ZodObject<{
|
|
396
788
|
name: z.ZodString;
|
|
@@ -400,35 +792,35 @@ declare const response$29: z.ZodObject<{
|
|
|
400
792
|
}, z.core.$strip>;
|
|
401
793
|
}, z.core.$strip>;
|
|
402
794
|
}, z.core.$strip>;
|
|
403
|
-
type RequestBody$8 = z.infer<typeof request$
|
|
404
|
-
type Response$
|
|
405
|
-
declare namespace delete_d_exports$
|
|
406
|
-
export { RequestParams$
|
|
795
|
+
type RequestBody$8 = z.infer<typeof request$24.body>;
|
|
796
|
+
type Response$28 = z.infer<typeof response$27>;
|
|
797
|
+
declare namespace delete_d_exports$1 {
|
|
798
|
+
export { RequestParams$15 as RequestParams, RequestQuery$5 as RequestQuery, Response$27 as Response, request$23 as request, response$26 as response };
|
|
407
799
|
}
|
|
408
|
-
declare const request$
|
|
800
|
+
declare const request$23: {
|
|
409
801
|
params: z.ZodObject<{
|
|
410
802
|
name: z.ZodString;
|
|
411
803
|
}, z.core.$strip>;
|
|
412
804
|
query: z.ZodObject<{
|
|
413
|
-
applicationId: z.
|
|
805
|
+
applicationId: z.ZodString;
|
|
414
806
|
}, z.core.$strip>;
|
|
415
807
|
};
|
|
416
|
-
declare const response$
|
|
417
|
-
type RequestParams$
|
|
418
|
-
type RequestQuery$
|
|
419
|
-
type Response$
|
|
420
|
-
declare namespace get_d_exports$
|
|
421
|
-
export { RequestParams$
|
|
808
|
+
declare const response$26: z.ZodNull;
|
|
809
|
+
type RequestParams$15 = z.infer<typeof request$23.params>;
|
|
810
|
+
type RequestQuery$5 = z.infer<typeof request$23.query>;
|
|
811
|
+
type Response$27 = z.infer<typeof response$26>;
|
|
812
|
+
declare namespace get_d_exports$3 {
|
|
813
|
+
export { RequestParams$14 as RequestParams, RequestQuery$4 as RequestQuery, Response$26 as Response, request$22 as request, response$25 as response };
|
|
422
814
|
}
|
|
423
|
-
declare const request$
|
|
815
|
+
declare const request$22: {
|
|
424
816
|
params: z.ZodObject<{
|
|
425
817
|
name: z.ZodString;
|
|
426
818
|
}, z.core.$strip>;
|
|
427
819
|
query: z.ZodObject<{
|
|
428
|
-
applicationId: z.
|
|
820
|
+
applicationId: z.ZodString;
|
|
429
821
|
}, z.core.$strip>;
|
|
430
822
|
};
|
|
431
|
-
declare const response$
|
|
823
|
+
declare const response$25: z.ZodObject<{
|
|
432
824
|
data: z.ZodObject<{
|
|
433
825
|
variable: z.ZodObject<{
|
|
434
826
|
name: z.ZodString;
|
|
@@ -438,18 +830,18 @@ declare const response$27: z.ZodObject<{
|
|
|
438
830
|
}, z.core.$strip>;
|
|
439
831
|
}, z.core.$strip>;
|
|
440
832
|
}, z.core.$strip>;
|
|
441
|
-
type RequestParams$
|
|
442
|
-
type RequestQuery$
|
|
443
|
-
type Response$
|
|
444
|
-
declare namespace getAll_d_exports$
|
|
445
|
-
export { RequestQuery$
|
|
833
|
+
type RequestParams$14 = z.infer<typeof request$22.params>;
|
|
834
|
+
type RequestQuery$4 = z.infer<typeof request$22.query>;
|
|
835
|
+
type Response$26 = z.infer<typeof response$25>;
|
|
836
|
+
declare namespace getAll_d_exports$3 {
|
|
837
|
+
export { RequestQuery$3 as RequestQuery, Response$25 as Response, request$21 as request, response$24 as response };
|
|
446
838
|
}
|
|
447
|
-
declare const request$
|
|
839
|
+
declare const request$21: {
|
|
448
840
|
query: z.ZodObject<{
|
|
449
|
-
applicationId: z.
|
|
841
|
+
applicationId: z.ZodString;
|
|
450
842
|
}, z.core.$strip>;
|
|
451
843
|
};
|
|
452
|
-
declare const response$
|
|
844
|
+
declare const response$24: z.ZodObject<{
|
|
453
845
|
data: z.ZodObject<{
|
|
454
846
|
variables: z.ZodArray<z.ZodObject<{
|
|
455
847
|
name: z.ZodString;
|
|
@@ -459,21 +851,21 @@ declare const response$26: z.ZodObject<{
|
|
|
459
851
|
}, z.core.$strip>>;
|
|
460
852
|
}, z.core.$strip>;
|
|
461
853
|
}, z.core.$strip>;
|
|
462
|
-
type RequestQuery$
|
|
463
|
-
type Response$
|
|
464
|
-
declare namespace update_d_exports$
|
|
465
|
-
export { RequestBody$7 as RequestBody, RequestParams$
|
|
854
|
+
type RequestQuery$3 = z.infer<typeof request$21.query>;
|
|
855
|
+
type Response$25 = z.infer<typeof response$24>;
|
|
856
|
+
declare namespace update_d_exports$1 {
|
|
857
|
+
export { RequestBody$7 as RequestBody, RequestParams$13 as RequestParams, Response$24 as Response, request$20 as request, response$23 as response };
|
|
466
858
|
}
|
|
467
|
-
declare const request$
|
|
859
|
+
declare const request$20: {
|
|
468
860
|
params: z.ZodObject<{
|
|
469
861
|
name: z.ZodString;
|
|
470
862
|
}, z.core.$strip>;
|
|
471
863
|
body: z.ZodObject<{
|
|
472
|
-
applicationId: z.
|
|
864
|
+
applicationId: z.ZodString;
|
|
473
865
|
value: z.ZodString;
|
|
474
866
|
}, z.core.$strip>;
|
|
475
867
|
};
|
|
476
|
-
declare const response$
|
|
868
|
+
declare const response$23: z.ZodObject<{
|
|
477
869
|
data: z.ZodObject<{
|
|
478
870
|
variable: z.ZodObject<{
|
|
479
871
|
name: z.ZodString;
|
|
@@ -483,259 +875,26 @@ declare const response$25: z.ZodObject<{
|
|
|
483
875
|
}, z.core.$strip>;
|
|
484
876
|
}, z.core.$strip>;
|
|
485
877
|
}, z.core.$strip>;
|
|
486
|
-
type RequestParams$
|
|
487
|
-
type RequestBody$7 = z.infer<typeof request$
|
|
488
|
-
type Response$
|
|
489
|
-
declare namespace index_d_exports$
|
|
490
|
-
export { create_d_exports$
|
|
878
|
+
type RequestParams$13 = z.infer<typeof request$20.params>;
|
|
879
|
+
type RequestBody$7 = z.infer<typeof request$20.body>;
|
|
880
|
+
type Response$24 = z.infer<typeof response$23>;
|
|
881
|
+
declare namespace index_d_exports$5 {
|
|
882
|
+
export { create_d_exports$2 as Create, delete_d_exports$1 as Delete, get_d_exports$3 as Get, getAll_d_exports$3 as GetAll, update_d_exports$1 as Update };
|
|
491
883
|
}
|
|
492
884
|
declare namespace index_d_exports$1 {
|
|
493
|
-
export { index_d_exports$
|
|
885
|
+
export { index_d_exports$6 as Secrets, index_d_exports$5 as Variables };
|
|
494
886
|
}
|
|
495
|
-
declare namespace definition_d_exports
|
|
887
|
+
declare namespace definition_d_exports {
|
|
496
888
|
export { ExpertDefinition, expertDefinitionSchema };
|
|
497
889
|
}
|
|
498
890
|
declare const expertDefinitionSchema: z.ZodObject<{
|
|
499
891
|
name: z.ZodString;
|
|
500
892
|
version: z.ZodString;
|
|
501
|
-
organizationId: z.
|
|
502
|
-
createdAt: z.ZodString;
|
|
503
|
-
updatedAt: z.ZodString;
|
|
504
|
-
createdBy: z.ZodCUID2;
|
|
505
|
-
updatedBy: z.ZodCUID2;
|
|
506
|
-
experts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
507
|
-
name: z.ZodString;
|
|
508
|
-
version: z.ZodString;
|
|
509
|
-
description: z.ZodOptional<z.ZodString>;
|
|
510
|
-
instruction: z.ZodString;
|
|
511
|
-
skills: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
512
|
-
type: z.ZodLiteral<"mcpStdioSkill">;
|
|
513
|
-
name: z.ZodString;
|
|
514
|
-
description: z.ZodString;
|
|
515
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
516
|
-
pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
517
|
-
omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
518
|
-
command: z.ZodEnum<{
|
|
519
|
-
npx: "npx";
|
|
520
|
-
uvx: "uvx";
|
|
521
|
-
}>;
|
|
522
|
-
packageName: z.ZodString;
|
|
523
|
-
requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
524
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
525
|
-
type: z.ZodLiteral<"mcpSseSkill">;
|
|
526
|
-
name: z.ZodString;
|
|
527
|
-
description: z.ZodString;
|
|
528
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
529
|
-
pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
530
|
-
omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
531
|
-
endpoint: z.ZodString;
|
|
532
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
533
|
-
type: z.ZodLiteral<"interactiveSkill">;
|
|
534
|
-
name: z.ZodString;
|
|
535
|
-
description: z.ZodString;
|
|
536
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
537
|
-
tools: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
538
|
-
description: z.ZodString;
|
|
539
|
-
inputJsonSchema: z.ZodString;
|
|
540
|
-
}, z.core.$strip>>;
|
|
541
|
-
}, z.core.$strip>], "type">>>>;
|
|
542
|
-
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
543
|
-
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
544
|
-
}, z.core.$strip>>;
|
|
545
|
-
}, z.core.$strip>;
|
|
546
|
-
/** Immutable expert definition. Passed to perstack runtime. */
|
|
547
|
-
type ExpertDefinition = z.infer<typeof expertDefinitionSchema>;
|
|
548
|
-
declare namespace delete_d_exports$1 {
|
|
549
|
-
export { RequestParams$19 as RequestParams, Response$24 as Response, request$24 as request, response$24 as response };
|
|
550
|
-
}
|
|
551
|
-
declare const request$24: {
|
|
552
|
-
params: z.ZodObject<{
|
|
553
|
-
scopeName: z.ZodString;
|
|
554
|
-
}, z.core.$strip>;
|
|
555
|
-
};
|
|
556
|
-
declare const response$24: z.ZodObject<{
|
|
557
|
-
data: z.ZodObject<{
|
|
558
|
-
scope: z.ZodObject<{
|
|
559
|
-
id: z.ZodCUID2;
|
|
560
|
-
name: z.ZodString;
|
|
561
|
-
organizationId: z.ZodCUID2;
|
|
562
|
-
published: z.ZodBoolean;
|
|
563
|
-
publishedAt: z.ZodOptional<z.ZodString>;
|
|
564
|
-
category: z.ZodEnum<{
|
|
565
|
-
general: "general";
|
|
566
|
-
coding: "coding";
|
|
567
|
-
research: "research";
|
|
568
|
-
writing: "writing";
|
|
569
|
-
data: "data";
|
|
570
|
-
automation: "automation";
|
|
571
|
-
}>;
|
|
572
|
-
totalRuns: z.ZodNumber;
|
|
573
|
-
totalJobs: z.ZodNumber;
|
|
574
|
-
totalStars: z.ZodNumber;
|
|
575
|
-
createdAt: z.ZodString;
|
|
576
|
-
updatedAt: z.ZodString;
|
|
577
|
-
createdBy: z.ZodCUID2;
|
|
578
|
-
updatedBy: z.ZodCUID2;
|
|
579
|
-
}, z.core.$strip>;
|
|
580
|
-
version: z.ZodObject<{
|
|
581
|
-
id: z.ZodCUID2;
|
|
582
|
-
expertScopeId: z.ZodCUID2;
|
|
583
|
-
version: z.ZodString;
|
|
584
|
-
public: z.ZodBoolean;
|
|
585
|
-
yanked: z.ZodBoolean;
|
|
586
|
-
totalRuns: z.ZodNumber;
|
|
587
|
-
totalJobs: z.ZodNumber;
|
|
588
|
-
createdAt: z.ZodString;
|
|
589
|
-
updatedAt: z.ZodString;
|
|
590
|
-
createdBy: z.ZodCUID2;
|
|
591
|
-
updatedBy: z.ZodCUID2;
|
|
592
|
-
tags: z.ZodArray<z.ZodString>;
|
|
593
|
-
}, z.core.$strip>;
|
|
594
|
-
yanked: z.ZodLiteral<true>;
|
|
595
|
-
latestTagUpdated: z.ZodBoolean;
|
|
596
|
-
}, z.core.$strip>;
|
|
597
|
-
}, z.core.$strip>;
|
|
598
|
-
type RequestParams$19 = z.infer<typeof request$24.params>;
|
|
599
|
-
type Response$24 = z.infer<typeof response$24>;
|
|
600
|
-
declare namespace create_d_exports$2 {
|
|
601
|
-
export { RequestBody$6 as RequestBody, RequestParams$18 as RequestParams, Response$23 as Response, request$23 as request, response$23 as response };
|
|
602
|
-
}
|
|
603
|
-
declare const request$23: {
|
|
604
|
-
params: z.ZodObject<{
|
|
605
|
-
scopeName: z.ZodString;
|
|
606
|
-
}, z.core.$strip>;
|
|
607
|
-
body: z.ZodObject<{
|
|
608
|
-
applicationId: z.ZodCUID2;
|
|
609
|
-
experts: z.ZodArray<z.ZodObject<{
|
|
610
|
-
key: z.ZodString;
|
|
611
|
-
name: z.ZodString;
|
|
612
|
-
version: z.ZodString;
|
|
613
|
-
description: z.ZodOptional<z.ZodString>;
|
|
614
|
-
instruction: z.ZodString;
|
|
615
|
-
skills: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
616
|
-
type: z.ZodLiteral<"mcpStdioSkill">;
|
|
617
|
-
name: z.ZodString;
|
|
618
|
-
description: z.ZodString;
|
|
619
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
620
|
-
pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
621
|
-
omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
622
|
-
command: z.ZodEnum<{
|
|
623
|
-
npx: "npx";
|
|
624
|
-
uvx: "uvx";
|
|
625
|
-
}>;
|
|
626
|
-
packageName: z.ZodString;
|
|
627
|
-
requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
628
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
629
|
-
type: z.ZodLiteral<"mcpSseSkill">;
|
|
630
|
-
name: z.ZodString;
|
|
631
|
-
description: z.ZodString;
|
|
632
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
633
|
-
pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
634
|
-
omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
635
|
-
endpoint: z.ZodString;
|
|
636
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
637
|
-
type: z.ZodLiteral<"interactiveSkill">;
|
|
638
|
-
name: z.ZodString;
|
|
639
|
-
description: z.ZodString;
|
|
640
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
641
|
-
tools: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
642
|
-
description: z.ZodString;
|
|
643
|
-
inputJsonSchema: z.ZodString;
|
|
644
|
-
}, z.core.$strip>>;
|
|
645
|
-
}, z.core.$strip>], "type">>>>;
|
|
646
|
-
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
647
|
-
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
648
|
-
}, z.core.$strip>>;
|
|
649
|
-
}, z.core.$strip>;
|
|
650
|
-
};
|
|
651
|
-
declare const response$23: z.ZodObject<{
|
|
652
|
-
data: z.ZodObject<{
|
|
653
|
-
scope: z.ZodObject<{
|
|
654
|
-
id: z.ZodCUID2;
|
|
655
|
-
name: z.ZodString;
|
|
656
|
-
organizationId: z.ZodCUID2;
|
|
657
|
-
applicationId: z.ZodCUID2;
|
|
658
|
-
totalRuns: z.ZodNumber;
|
|
659
|
-
totalJobs: z.ZodNumber;
|
|
660
|
-
createdAt: z.ZodString;
|
|
661
|
-
updatedAt: z.ZodString;
|
|
662
|
-
createdBy: z.ZodCUID2;
|
|
663
|
-
updatedBy: z.ZodCUID2;
|
|
664
|
-
}, z.core.$strip>;
|
|
665
|
-
draftRef: z.ZodObject<{
|
|
666
|
-
id: z.ZodCUID2;
|
|
667
|
-
expertDraftScopeId: z.ZodCUID2;
|
|
668
|
-
totalRuns: z.ZodNumber;
|
|
669
|
-
totalJobs: z.ZodNumber;
|
|
670
|
-
createdAt: z.ZodString;
|
|
671
|
-
updatedAt: z.ZodString;
|
|
672
|
-
createdBy: z.ZodCUID2;
|
|
673
|
-
updatedBy: z.ZodCUID2;
|
|
674
|
-
}, z.core.$strip>;
|
|
675
|
-
definition: z.ZodObject<{
|
|
676
|
-
name: z.ZodString;
|
|
677
|
-
version: z.ZodLiteral<"0.0.0-draft">;
|
|
678
|
-
applicationId: z.ZodCUID2;
|
|
679
|
-
createdAt: z.ZodString;
|
|
680
|
-
updatedAt: z.ZodString;
|
|
681
|
-
createdBy: z.ZodCUID2;
|
|
682
|
-
updatedBy: z.ZodCUID2;
|
|
683
|
-
experts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
684
|
-
name: z.ZodString;
|
|
685
|
-
version: z.ZodString;
|
|
686
|
-
description: z.ZodOptional<z.ZodString>;
|
|
687
|
-
instruction: z.ZodString;
|
|
688
|
-
skills: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
689
|
-
type: z.ZodLiteral<"mcpStdioSkill">;
|
|
690
|
-
name: z.ZodString;
|
|
691
|
-
description: z.ZodString;
|
|
692
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
693
|
-
pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
694
|
-
omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
695
|
-
command: z.ZodEnum<{
|
|
696
|
-
npx: "npx";
|
|
697
|
-
uvx: "uvx";
|
|
698
|
-
}>;
|
|
699
|
-
packageName: z.ZodString;
|
|
700
|
-
requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
701
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
702
|
-
type: z.ZodLiteral<"mcpSseSkill">;
|
|
703
|
-
name: z.ZodString;
|
|
704
|
-
description: z.ZodString;
|
|
705
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
706
|
-
pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
707
|
-
omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
708
|
-
endpoint: z.ZodString;
|
|
709
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
710
|
-
type: z.ZodLiteral<"interactiveSkill">;
|
|
711
|
-
name: z.ZodString;
|
|
712
|
-
description: z.ZodString;
|
|
713
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
714
|
-
tools: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
715
|
-
description: z.ZodString;
|
|
716
|
-
inputJsonSchema: z.ZodString;
|
|
717
|
-
}, z.core.$strip>>;
|
|
718
|
-
}, z.core.$strip>], "type">>>>;
|
|
719
|
-
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
720
|
-
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
721
|
-
}, z.core.$strip>>;
|
|
722
|
-
}, z.core.$strip>;
|
|
723
|
-
}, z.core.$strip>;
|
|
724
|
-
}, z.core.$strip>;
|
|
725
|
-
type RequestParams$18 = z.infer<typeof request$23.params>;
|
|
726
|
-
type RequestBody$6 = z.infer<typeof request$23.body>;
|
|
727
|
-
type Response$23 = z.infer<typeof response$23>;
|
|
728
|
-
declare namespace definition_d_exports {
|
|
729
|
-
export { ExpertDefinitionContent, expertDefinitionContentSchema };
|
|
730
|
-
}
|
|
731
|
-
declare const expertDefinitionContentSchema: z.ZodObject<{
|
|
732
|
-
name: z.ZodString;
|
|
733
|
-
version: z.ZodLiteral<"0.0.0-draft">;
|
|
734
|
-
applicationId: z.ZodCUID2;
|
|
893
|
+
organizationId: z.ZodString;
|
|
735
894
|
createdAt: z.ZodString;
|
|
736
895
|
updatedAt: z.ZodString;
|
|
737
|
-
createdBy: z.
|
|
738
|
-
updatedBy: z.
|
|
896
|
+
createdBy: z.ZodString;
|
|
897
|
+
updatedBy: z.ZodString;
|
|
739
898
|
experts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
740
899
|
name: z.ZodString;
|
|
741
900
|
version: z.ZodString;
|
|
@@ -755,308 +914,44 @@ declare const expertDefinitionContentSchema: z.ZodObject<{
|
|
|
755
914
|
packageName: z.ZodString;
|
|
756
915
|
requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
757
916
|
}, z.core.$strip>, z.ZodObject<{
|
|
758
|
-
type: z.ZodLiteral<"mcpSseSkill">;
|
|
759
|
-
name: z.ZodString;
|
|
760
|
-
description: z.ZodString;
|
|
761
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
762
|
-
pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
763
|
-
omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
764
|
-
endpoint: z.ZodString;
|
|
765
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
766
|
-
type: z.ZodLiteral<"interactiveSkill">;
|
|
767
|
-
name: z.ZodString;
|
|
768
|
-
description: z.ZodString;
|
|
769
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
770
|
-
tools: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
771
|
-
description: z.ZodString;
|
|
772
|
-
inputJsonSchema: z.ZodString;
|
|
773
|
-
}, z.core.$strip>>;
|
|
774
|
-
}, z.core.$strip>], "type">>>>;
|
|
775
|
-
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
776
|
-
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
777
|
-
}, z.core.$strip>>;
|
|
778
|
-
}, z.core.$strip>;
|
|
779
|
-
/** Immutable expert definition. Passed to perstack runtime. */
|
|
780
|
-
type ExpertDefinitionContent = z.infer<typeof expertDefinitionContentSchema>;
|
|
781
|
-
declare namespace delete_d_exports {
|
|
782
|
-
export { RequestParams$17 as RequestParams, Response$22 as Response, request$22 as request, response$22 as response };
|
|
783
|
-
}
|
|
784
|
-
declare const request$22: {
|
|
785
|
-
params: z.ZodObject<{
|
|
786
|
-
scopeName: z.ZodString;
|
|
787
|
-
draftRef: z.ZodCUID2;
|
|
788
|
-
}, z.core.$strip>;
|
|
789
|
-
};
|
|
790
|
-
declare const response$22: z.ZodObject<{
|
|
791
|
-
data: z.ZodObject<{
|
|
792
|
-
deleted: z.ZodBoolean;
|
|
793
|
-
draftRef: z.ZodString;
|
|
794
|
-
}, z.core.$strip>;
|
|
795
|
-
}, z.core.$strip>;
|
|
796
|
-
type RequestParams$17 = z.infer<typeof request$22.params>;
|
|
797
|
-
type Response$22 = z.infer<typeof response$22>;
|
|
798
|
-
declare namespace get_d_exports$4 {
|
|
799
|
-
export { RequestParams$16 as RequestParams, Response$21 as Response, request$21 as request, response$21 as response };
|
|
800
|
-
}
|
|
801
|
-
declare const request$21: {
|
|
802
|
-
params: z.ZodObject<{
|
|
803
|
-
scopeName: z.ZodString;
|
|
804
|
-
draftRef: z.ZodCUID2;
|
|
805
|
-
}, z.core.$strip>;
|
|
806
|
-
};
|
|
807
|
-
declare const response$21: z.ZodObject<{
|
|
808
|
-
data: z.ZodObject<{
|
|
809
|
-
scope: z.ZodObject<{
|
|
810
|
-
id: z.ZodCUID2;
|
|
811
|
-
name: z.ZodString;
|
|
812
|
-
organizationId: z.ZodCUID2;
|
|
813
|
-
applicationId: z.ZodCUID2;
|
|
814
|
-
totalRuns: z.ZodNumber;
|
|
815
|
-
totalJobs: z.ZodNumber;
|
|
816
|
-
createdAt: z.ZodString;
|
|
817
|
-
updatedAt: z.ZodString;
|
|
818
|
-
createdBy: z.ZodCUID2;
|
|
819
|
-
updatedBy: z.ZodCUID2;
|
|
820
|
-
}, z.core.$strip>;
|
|
821
|
-
draftRef: z.ZodObject<{
|
|
822
|
-
id: z.ZodCUID2;
|
|
823
|
-
expertDraftScopeId: z.ZodCUID2;
|
|
824
|
-
totalRuns: z.ZodNumber;
|
|
825
|
-
totalJobs: z.ZodNumber;
|
|
826
|
-
createdAt: z.ZodString;
|
|
827
|
-
updatedAt: z.ZodString;
|
|
828
|
-
createdBy: z.ZodCUID2;
|
|
829
|
-
updatedBy: z.ZodCUID2;
|
|
830
|
-
}, z.core.$strip>;
|
|
831
|
-
definition: z.ZodObject<{
|
|
832
|
-
name: z.ZodString;
|
|
833
|
-
version: z.ZodLiteral<"0.0.0-draft">;
|
|
834
|
-
applicationId: z.ZodCUID2;
|
|
835
|
-
createdAt: z.ZodString;
|
|
836
|
-
updatedAt: z.ZodString;
|
|
837
|
-
createdBy: z.ZodCUID2;
|
|
838
|
-
updatedBy: z.ZodCUID2;
|
|
839
|
-
experts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
840
|
-
name: z.ZodString;
|
|
841
|
-
version: z.ZodString;
|
|
842
|
-
description: z.ZodOptional<z.ZodString>;
|
|
843
|
-
instruction: z.ZodString;
|
|
844
|
-
skills: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
845
|
-
type: z.ZodLiteral<"mcpStdioSkill">;
|
|
846
|
-
name: z.ZodString;
|
|
847
|
-
description: z.ZodString;
|
|
848
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
849
|
-
pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
850
|
-
omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
851
|
-
command: z.ZodEnum<{
|
|
852
|
-
npx: "npx";
|
|
853
|
-
uvx: "uvx";
|
|
854
|
-
}>;
|
|
855
|
-
packageName: z.ZodString;
|
|
856
|
-
requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
857
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
858
|
-
type: z.ZodLiteral<"mcpSseSkill">;
|
|
859
|
-
name: z.ZodString;
|
|
860
|
-
description: z.ZodString;
|
|
861
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
862
|
-
pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
863
|
-
omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
864
|
-
endpoint: z.ZodString;
|
|
865
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
866
|
-
type: z.ZodLiteral<"interactiveSkill">;
|
|
867
|
-
name: z.ZodString;
|
|
868
|
-
description: z.ZodString;
|
|
869
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
870
|
-
tools: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
871
|
-
description: z.ZodString;
|
|
872
|
-
inputJsonSchema: z.ZodString;
|
|
873
|
-
}, z.core.$strip>>;
|
|
874
|
-
}, z.core.$strip>], "type">>>>;
|
|
875
|
-
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
876
|
-
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
877
|
-
}, z.core.$strip>>;
|
|
878
|
-
}, z.core.$strip>;
|
|
879
|
-
}, z.core.$strip>;
|
|
880
|
-
}, z.core.$strip>;
|
|
881
|
-
type RequestParams$16 = z.infer<typeof request$21.params>;
|
|
882
|
-
type Response$21 = z.infer<typeof response$21>;
|
|
883
|
-
declare namespace getAll_d_exports$3 {
|
|
884
|
-
export { RequestParams$15 as RequestParams, RequestQuery$4 as RequestQuery, Response$20 as Response, request$20 as request, response$20 as response };
|
|
885
|
-
}
|
|
886
|
-
declare const request$20: {
|
|
887
|
-
params: z.ZodObject<{
|
|
888
|
-
scopeName: z.ZodString;
|
|
889
|
-
}, z.core.$strip>;
|
|
890
|
-
query: z.ZodObject<{
|
|
891
|
-
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
892
|
-
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
893
|
-
}, z.core.$strip>;
|
|
894
|
-
};
|
|
895
|
-
declare const response$20: z.ZodObject<{
|
|
896
|
-
data: z.ZodObject<{
|
|
897
|
-
draftRefs: z.ZodArray<z.ZodObject<{
|
|
898
|
-
id: z.ZodCUID2;
|
|
899
|
-
expertDraftScopeId: z.ZodCUID2;
|
|
900
|
-
totalRuns: z.ZodNumber;
|
|
901
|
-
totalJobs: z.ZodNumber;
|
|
902
|
-
createdAt: z.ZodString;
|
|
903
|
-
updatedAt: z.ZodString;
|
|
904
|
-
createdBy: z.ZodCUID2;
|
|
905
|
-
updatedBy: z.ZodCUID2;
|
|
906
|
-
}, z.core.$strip>>;
|
|
907
|
-
total: z.ZodNumber;
|
|
908
|
-
}, z.core.$strip>;
|
|
909
|
-
}, z.core.$strip>;
|
|
910
|
-
type RequestParams$15 = z.infer<typeof request$20.params>;
|
|
911
|
-
type RequestQuery$4 = z.infer<typeof request$20.query>;
|
|
912
|
-
type Response$20 = z.infer<typeof response$20>;
|
|
913
|
-
declare namespace update_d_exports$1 {
|
|
914
|
-
export { RequestBody$5 as RequestBody, RequestParams$14 as RequestParams, Response$19 as Response, request$19 as request, response$19 as response };
|
|
915
|
-
}
|
|
916
|
-
declare const request$19: {
|
|
917
|
-
params: z.ZodObject<{
|
|
918
|
-
scopeName: z.ZodString;
|
|
919
|
-
draftRef: z.ZodCUID2;
|
|
920
|
-
}, z.core.$strip>;
|
|
921
|
-
body: z.ZodObject<{
|
|
922
|
-
experts: z.ZodArray<z.ZodObject<{
|
|
923
|
-
key: z.ZodString;
|
|
924
|
-
name: z.ZodString;
|
|
925
|
-
version: z.ZodString;
|
|
926
|
-
description: z.ZodOptional<z.ZodString>;
|
|
927
|
-
instruction: z.ZodString;
|
|
928
|
-
skills: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
929
|
-
type: z.ZodLiteral<"mcpStdioSkill">;
|
|
930
|
-
name: z.ZodString;
|
|
931
|
-
description: z.ZodString;
|
|
932
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
933
|
-
pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
934
|
-
omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
935
|
-
command: z.ZodEnum<{
|
|
936
|
-
npx: "npx";
|
|
937
|
-
uvx: "uvx";
|
|
938
|
-
}>;
|
|
939
|
-
packageName: z.ZodString;
|
|
940
|
-
requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
941
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
942
|
-
type: z.ZodLiteral<"mcpSseSkill">;
|
|
943
|
-
name: z.ZodString;
|
|
944
|
-
description: z.ZodString;
|
|
945
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
946
|
-
pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
947
|
-
omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
948
|
-
endpoint: z.ZodString;
|
|
949
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
950
|
-
type: z.ZodLiteral<"interactiveSkill">;
|
|
951
|
-
name: z.ZodString;
|
|
952
|
-
description: z.ZodString;
|
|
953
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
954
|
-
tools: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
955
|
-
description: z.ZodString;
|
|
956
|
-
inputJsonSchema: z.ZodString;
|
|
957
|
-
}, z.core.$strip>>;
|
|
958
|
-
}, z.core.$strip>], "type">>>>;
|
|
959
|
-
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
960
|
-
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
961
|
-
}, z.core.$strip>>;
|
|
962
|
-
}, z.core.$strip>;
|
|
963
|
-
};
|
|
964
|
-
declare const response$19: z.ZodObject<{
|
|
965
|
-
data: z.ZodObject<{
|
|
966
|
-
scope: z.ZodObject<{
|
|
967
|
-
id: z.ZodCUID2;
|
|
968
|
-
name: z.ZodString;
|
|
969
|
-
organizationId: z.ZodCUID2;
|
|
970
|
-
applicationId: z.ZodCUID2;
|
|
971
|
-
totalRuns: z.ZodNumber;
|
|
972
|
-
totalJobs: z.ZodNumber;
|
|
973
|
-
createdAt: z.ZodString;
|
|
974
|
-
updatedAt: z.ZodString;
|
|
975
|
-
createdBy: z.ZodCUID2;
|
|
976
|
-
updatedBy: z.ZodCUID2;
|
|
977
|
-
}, z.core.$strip>;
|
|
978
|
-
draftRef: z.ZodObject<{
|
|
979
|
-
id: z.ZodCUID2;
|
|
980
|
-
expertDraftScopeId: z.ZodCUID2;
|
|
981
|
-
totalRuns: z.ZodNumber;
|
|
982
|
-
totalJobs: z.ZodNumber;
|
|
983
|
-
createdAt: z.ZodString;
|
|
984
|
-
updatedAt: z.ZodString;
|
|
985
|
-
createdBy: z.ZodCUID2;
|
|
986
|
-
updatedBy: z.ZodCUID2;
|
|
987
|
-
}, z.core.$strip>;
|
|
988
|
-
definition: z.ZodObject<{
|
|
989
|
-
name: z.ZodString;
|
|
990
|
-
version: z.ZodLiteral<"0.0.0-draft">;
|
|
991
|
-
applicationId: z.ZodCUID2;
|
|
992
|
-
createdAt: z.ZodString;
|
|
993
|
-
updatedAt: z.ZodString;
|
|
994
|
-
createdBy: z.ZodCUID2;
|
|
995
|
-
updatedBy: z.ZodCUID2;
|
|
996
|
-
experts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
997
|
-
name: z.ZodString;
|
|
998
|
-
version: z.ZodString;
|
|
999
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1000
|
-
instruction: z.ZodString;
|
|
1001
|
-
skills: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1002
|
-
type: z.ZodLiteral<"mcpStdioSkill">;
|
|
1003
|
-
name: z.ZodString;
|
|
1004
|
-
description: z.ZodString;
|
|
1005
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
1006
|
-
pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1007
|
-
omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1008
|
-
command: z.ZodEnum<{
|
|
1009
|
-
npx: "npx";
|
|
1010
|
-
uvx: "uvx";
|
|
1011
|
-
}>;
|
|
1012
|
-
packageName: z.ZodString;
|
|
1013
|
-
requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1014
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1015
|
-
type: z.ZodLiteral<"mcpSseSkill">;
|
|
1016
|
-
name: z.ZodString;
|
|
1017
|
-
description: z.ZodString;
|
|
1018
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
1019
|
-
pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1020
|
-
omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1021
|
-
endpoint: z.ZodString;
|
|
1022
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1023
|
-
type: z.ZodLiteral<"interactiveSkill">;
|
|
1024
|
-
name: z.ZodString;
|
|
1025
|
-
description: z.ZodString;
|
|
1026
|
-
rule: z.ZodOptional<z.ZodString>;
|
|
1027
|
-
tools: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1028
|
-
description: z.ZodString;
|
|
1029
|
-
inputJsonSchema: z.ZodString;
|
|
1030
|
-
}, z.core.$strip>>;
|
|
1031
|
-
}, z.core.$strip>], "type">>>>;
|
|
1032
|
-
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1033
|
-
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
917
|
+
type: z.ZodLiteral<"mcpSseSkill">;
|
|
918
|
+
name: z.ZodString;
|
|
919
|
+
description: z.ZodString;
|
|
920
|
+
rule: z.ZodOptional<z.ZodString>;
|
|
921
|
+
pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
922
|
+
omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
923
|
+
endpoint: z.ZodString;
|
|
924
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
925
|
+
type: z.ZodLiteral<"interactiveSkill">;
|
|
926
|
+
name: z.ZodString;
|
|
927
|
+
description: z.ZodString;
|
|
928
|
+
rule: z.ZodOptional<z.ZodString>;
|
|
929
|
+
tools: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
930
|
+
description: z.ZodString;
|
|
931
|
+
inputJsonSchema: z.ZodString;
|
|
1034
932
|
}, z.core.$strip>>;
|
|
1035
|
-
}, z.core.$strip
|
|
1036
|
-
|
|
933
|
+
}, z.core.$strip>], "type">>>>;
|
|
934
|
+
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
935
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
936
|
+
}, z.core.$strip>>;
|
|
1037
937
|
}, z.core.$strip>;
|
|
1038
|
-
|
|
1039
|
-
type
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
export { RequestBody$4 as RequestBody, RequestParams$13 as RequestParams, Response$18 as Response, request$18 as request, response$18 as response };
|
|
938
|
+
/** Immutable expert definition. Passed to perstack runtime. */
|
|
939
|
+
type ExpertDefinition = z.infer<typeof expertDefinitionSchema>;
|
|
940
|
+
declare namespace delete_d_exports {
|
|
941
|
+
export { RequestParams$12 as RequestParams, Response$23 as Response, request$19 as request, response$22 as response };
|
|
1043
942
|
}
|
|
1044
|
-
declare const request$
|
|
943
|
+
declare const request$19: {
|
|
1045
944
|
params: z.ZodObject<{
|
|
1046
945
|
scopeName: z.ZodString;
|
|
1047
|
-
draftRef: z.ZodString;
|
|
1048
|
-
}, z.core.$strip>;
|
|
1049
|
-
body: z.ZodObject<{
|
|
1050
|
-
version: z.ZodString;
|
|
1051
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
1052
946
|
}, z.core.$strip>;
|
|
1053
947
|
};
|
|
1054
|
-
declare const response$
|
|
948
|
+
declare const response$22: z.ZodObject<{
|
|
1055
949
|
data: z.ZodObject<{
|
|
1056
950
|
scope: z.ZodObject<{
|
|
1057
|
-
id: z.
|
|
951
|
+
id: z.ZodString;
|
|
1058
952
|
name: z.ZodString;
|
|
1059
|
-
organizationId: z.
|
|
953
|
+
organizationId: z.ZodString;
|
|
954
|
+
expertDraftScopeId: z.ZodString;
|
|
1060
955
|
published: z.ZodBoolean;
|
|
1061
956
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
1062
957
|
category: z.ZodEnum<{
|
|
@@ -1072,12 +967,12 @@ declare const response$18: z.ZodObject<{
|
|
|
1072
967
|
totalStars: z.ZodNumber;
|
|
1073
968
|
createdAt: z.ZodString;
|
|
1074
969
|
updatedAt: z.ZodString;
|
|
1075
|
-
createdBy: z.
|
|
1076
|
-
updatedBy: z.
|
|
970
|
+
createdBy: z.ZodString;
|
|
971
|
+
updatedBy: z.ZodString;
|
|
1077
972
|
}, z.core.$strip>;
|
|
1078
973
|
version: z.ZodObject<{
|
|
1079
|
-
id: z.
|
|
1080
|
-
expertScopeId: z.
|
|
974
|
+
id: z.ZodString;
|
|
975
|
+
expertScopeId: z.ZodString;
|
|
1081
976
|
version: z.ZodString;
|
|
1082
977
|
public: z.ZodBoolean;
|
|
1083
978
|
yanked: z.ZodBoolean;
|
|
@@ -1085,30 +980,28 @@ declare const response$18: z.ZodObject<{
|
|
|
1085
980
|
totalJobs: z.ZodNumber;
|
|
1086
981
|
createdAt: z.ZodString;
|
|
1087
982
|
updatedAt: z.ZodString;
|
|
1088
|
-
createdBy: z.
|
|
1089
|
-
updatedBy: z.
|
|
983
|
+
createdBy: z.ZodString;
|
|
984
|
+
updatedBy: z.ZodString;
|
|
1090
985
|
tags: z.ZodArray<z.ZodString>;
|
|
1091
986
|
}, z.core.$strip>;
|
|
1092
|
-
|
|
987
|
+
yanked: z.ZodLiteral<true>;
|
|
988
|
+
latestTagUpdated: z.ZodBoolean;
|
|
1093
989
|
}, z.core.$strip>;
|
|
1094
990
|
}, z.core.$strip>;
|
|
1095
|
-
type RequestParams$
|
|
1096
|
-
type
|
|
1097
|
-
type Response$18 = z.infer<typeof response$18>;
|
|
1098
|
-
declare namespace index_d_exports$6 {
|
|
1099
|
-
export { create_d_exports$2 as Create, definition_d_exports as Definition, delete_d_exports as Delete, get_d_exports$4 as Get, getAll_d_exports$3 as GetAll, update_d_exports$1 as Update, version_d_exports as Version };
|
|
1100
|
-
}
|
|
991
|
+
type RequestParams$12 = z.infer<typeof request$19.params>;
|
|
992
|
+
type Response$23 = z.infer<typeof response$22>;
|
|
1101
993
|
declare namespace featured_d_exports {
|
|
1102
|
-
export { Response$
|
|
994
|
+
export { Response$22 as Response, request$18 as request, response$21 as response };
|
|
1103
995
|
}
|
|
1104
|
-
declare const request$
|
|
1105
|
-
declare const response$
|
|
996
|
+
declare const request$18: {};
|
|
997
|
+
declare const response$21: z.ZodObject<{
|
|
1106
998
|
data: z.ZodObject<{
|
|
1107
999
|
featuredExperts: z.ZodArray<z.ZodObject<{
|
|
1108
1000
|
scope: z.ZodObject<{
|
|
1109
|
-
id: z.
|
|
1001
|
+
id: z.ZodString;
|
|
1110
1002
|
name: z.ZodString;
|
|
1111
|
-
organizationId: z.
|
|
1003
|
+
organizationId: z.ZodString;
|
|
1004
|
+
expertDraftScopeId: z.ZodString;
|
|
1112
1005
|
published: z.ZodBoolean;
|
|
1113
1006
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
1114
1007
|
category: z.ZodEnum<{
|
|
@@ -1124,12 +1017,12 @@ declare const response$17: z.ZodObject<{
|
|
|
1124
1017
|
totalStars: z.ZodNumber;
|
|
1125
1018
|
createdAt: z.ZodString;
|
|
1126
1019
|
updatedAt: z.ZodString;
|
|
1127
|
-
createdBy: z.
|
|
1128
|
-
updatedBy: z.
|
|
1020
|
+
createdBy: z.ZodString;
|
|
1021
|
+
updatedBy: z.ZodString;
|
|
1129
1022
|
}, z.core.$strip>;
|
|
1130
1023
|
currentVersion: z.ZodObject<{
|
|
1131
|
-
id: z.
|
|
1132
|
-
expertScopeId: z.
|
|
1024
|
+
id: z.ZodString;
|
|
1025
|
+
expertScopeId: z.ZodString;
|
|
1133
1026
|
version: z.ZodString;
|
|
1134
1027
|
public: z.ZodBoolean;
|
|
1135
1028
|
yanked: z.ZodBoolean;
|
|
@@ -1137,8 +1030,8 @@ declare const response$17: z.ZodObject<{
|
|
|
1137
1030
|
totalJobs: z.ZodNumber;
|
|
1138
1031
|
createdAt: z.ZodString;
|
|
1139
1032
|
updatedAt: z.ZodString;
|
|
1140
|
-
createdBy: z.
|
|
1141
|
-
updatedBy: z.
|
|
1033
|
+
createdBy: z.ZodString;
|
|
1034
|
+
updatedBy: z.ZodString;
|
|
1142
1035
|
tags: z.ZodArray<z.ZodString>;
|
|
1143
1036
|
}, z.core.$strip>;
|
|
1144
1037
|
displayOrder: z.ZodNumber;
|
|
@@ -1146,25 +1039,25 @@ declare const response$17: z.ZodObject<{
|
|
|
1146
1039
|
}, z.core.$strip>>;
|
|
1147
1040
|
}, z.core.$strip>;
|
|
1148
1041
|
}, z.core.$strip>;
|
|
1149
|
-
type Response$
|
|
1150
|
-
declare namespace get_d_exports$
|
|
1151
|
-
export { RequestParams$
|
|
1042
|
+
type Response$22 = z.infer<typeof response$21>;
|
|
1043
|
+
declare namespace get_d_exports$2 {
|
|
1044
|
+
export { RequestParams$11 as RequestParams, Response$21 as Response, request$17 as request, response$20 as response };
|
|
1152
1045
|
}
|
|
1153
|
-
declare const request$
|
|
1046
|
+
declare const request$17: {
|
|
1154
1047
|
params: z.ZodObject<{
|
|
1155
1048
|
scopeName: z.ZodString;
|
|
1156
1049
|
}, z.core.$strip>;
|
|
1157
1050
|
};
|
|
1158
|
-
declare const response$
|
|
1051
|
+
declare const response$20: z.ZodObject<{
|
|
1159
1052
|
data: z.ZodObject<{
|
|
1160
1053
|
definition: z.ZodObject<{
|
|
1161
1054
|
name: z.ZodString;
|
|
1162
1055
|
version: z.ZodString;
|
|
1163
|
-
organizationId: z.
|
|
1056
|
+
organizationId: z.ZodString;
|
|
1164
1057
|
createdAt: z.ZodString;
|
|
1165
1058
|
updatedAt: z.ZodString;
|
|
1166
|
-
createdBy: z.
|
|
1167
|
-
updatedBy: z.
|
|
1059
|
+
createdBy: z.ZodString;
|
|
1060
|
+
updatedBy: z.ZodString;
|
|
1168
1061
|
experts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1169
1062
|
name: z.ZodString;
|
|
1170
1063
|
version: z.ZodString;
|
|
@@ -1208,12 +1101,12 @@ declare const response$16: z.ZodObject<{
|
|
|
1208
1101
|
yanked: z.ZodOptional<z.ZodBoolean>;
|
|
1209
1102
|
}, z.core.$strip>;
|
|
1210
1103
|
}, z.core.$strip>;
|
|
1211
|
-
type RequestParams$
|
|
1212
|
-
type Response$
|
|
1104
|
+
type RequestParams$11 = z.infer<typeof request$17.params>;
|
|
1105
|
+
type Response$21 = z.infer<typeof response$20>;
|
|
1213
1106
|
declare namespace getAll_d_exports$2 {
|
|
1214
|
-
export { RequestQuery$
|
|
1107
|
+
export { RequestQuery$2 as RequestQuery, Response$20 as Response, request$16 as request, response$19 as response };
|
|
1215
1108
|
}
|
|
1216
|
-
declare const request$
|
|
1109
|
+
declare const request$16: {
|
|
1217
1110
|
query: z.ZodObject<{
|
|
1218
1111
|
filter: z.ZodOptional<z.ZodString>;
|
|
1219
1112
|
category: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1225,16 +1118,17 @@ declare const request$15: {
|
|
|
1225
1118
|
automation: "automation";
|
|
1226
1119
|
}>>;
|
|
1227
1120
|
includeDrafts: z.ZodOptional<z.ZodDefault<z.ZodCoercedBoolean<unknown>>>;
|
|
1228
|
-
|
|
1229
|
-
|
|
1121
|
+
take: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1122
|
+
skip: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1230
1123
|
}, z.core.$strip>;
|
|
1231
1124
|
};
|
|
1232
|
-
declare const response$
|
|
1125
|
+
declare const response$19: z.ZodObject<{
|
|
1233
1126
|
data: z.ZodObject<{
|
|
1234
1127
|
experts: z.ZodArray<z.ZodObject<{
|
|
1235
|
-
id: z.
|
|
1128
|
+
id: z.ZodString;
|
|
1236
1129
|
name: z.ZodString;
|
|
1237
|
-
organizationId: z.
|
|
1130
|
+
organizationId: z.ZodString;
|
|
1131
|
+
expertDraftScopeId: z.ZodString;
|
|
1238
1132
|
published: z.ZodBoolean;
|
|
1239
1133
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
1240
1134
|
category: z.ZodEnum<{
|
|
@@ -1250,11 +1144,11 @@ declare const response$15: z.ZodObject<{
|
|
|
1250
1144
|
totalStars: z.ZodNumber;
|
|
1251
1145
|
createdAt: z.ZodString;
|
|
1252
1146
|
updatedAt: z.ZodString;
|
|
1253
|
-
createdBy: z.
|
|
1254
|
-
updatedBy: z.
|
|
1255
|
-
currentVersion: z.ZodObject<{
|
|
1256
|
-
id: z.
|
|
1257
|
-
expertScopeId: z.
|
|
1147
|
+
createdBy: z.ZodString;
|
|
1148
|
+
updatedBy: z.ZodString;
|
|
1149
|
+
currentVersion: z.ZodNullable<z.ZodObject<{
|
|
1150
|
+
id: z.ZodString;
|
|
1151
|
+
expertScopeId: z.ZodString;
|
|
1258
1152
|
version: z.ZodString;
|
|
1259
1153
|
public: z.ZodBoolean;
|
|
1260
1154
|
yanked: z.ZodBoolean;
|
|
@@ -1262,20 +1156,24 @@ declare const response$15: z.ZodObject<{
|
|
|
1262
1156
|
totalJobs: z.ZodNumber;
|
|
1263
1157
|
createdAt: z.ZodString;
|
|
1264
1158
|
updatedAt: z.ZodString;
|
|
1265
|
-
createdBy: z.
|
|
1266
|
-
updatedBy: z.
|
|
1159
|
+
createdBy: z.ZodString;
|
|
1160
|
+
updatedBy: z.ZodString;
|
|
1267
1161
|
tags: z.ZodArray<z.ZodString>;
|
|
1268
|
-
}, z.core.$strip
|
|
1162
|
+
}, z.core.$strip>>;
|
|
1269
1163
|
}, z.core.$strip>>;
|
|
1164
|
+
}, z.core.$strip>;
|
|
1165
|
+
meta: z.ZodObject<{
|
|
1270
1166
|
total: z.ZodNumber;
|
|
1167
|
+
take: z.ZodNumber;
|
|
1168
|
+
skip: z.ZodNumber;
|
|
1271
1169
|
}, z.core.$strip>;
|
|
1272
1170
|
}, z.core.$strip>;
|
|
1273
|
-
type RequestQuery$
|
|
1274
|
-
type Response$
|
|
1171
|
+
type RequestQuery$2 = z.infer<typeof request$16.query>;
|
|
1172
|
+
type Response$20 = z.infer<typeof response$19>;
|
|
1275
1173
|
declare namespace meta_d_exports {
|
|
1276
|
-
export { RequestParams$
|
|
1174
|
+
export { RequestParams$10 as RequestParams, Response$19 as Response, request$15 as request, response$18 as response };
|
|
1277
1175
|
}
|
|
1278
|
-
declare const request$
|
|
1176
|
+
declare const request$15: {
|
|
1279
1177
|
params: z.ZodObject<{
|
|
1280
1178
|
scopeName: z.ZodString;
|
|
1281
1179
|
}, z.core.$strip>;
|
|
@@ -1286,12 +1184,13 @@ declare const request$14: {
|
|
|
1286
1184
|
}>, z.ZodTransform<boolean, "true" | "false">>>>;
|
|
1287
1185
|
}, z.core.$strip>;
|
|
1288
1186
|
};
|
|
1289
|
-
declare const response$
|
|
1187
|
+
declare const response$18: z.ZodObject<{
|
|
1290
1188
|
data: z.ZodObject<{
|
|
1291
1189
|
scope: z.ZodObject<{
|
|
1292
|
-
id: z.
|
|
1190
|
+
id: z.ZodString;
|
|
1293
1191
|
name: z.ZodString;
|
|
1294
|
-
organizationId: z.
|
|
1192
|
+
organizationId: z.ZodString;
|
|
1193
|
+
expertDraftScopeId: z.ZodString;
|
|
1295
1194
|
published: z.ZodBoolean;
|
|
1296
1195
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
1297
1196
|
category: z.ZodEnum<{
|
|
@@ -1307,12 +1206,12 @@ declare const response$14: z.ZodObject<{
|
|
|
1307
1206
|
totalStars: z.ZodNumber;
|
|
1308
1207
|
createdAt: z.ZodString;
|
|
1309
1208
|
updatedAt: z.ZodString;
|
|
1310
|
-
createdBy: z.
|
|
1311
|
-
updatedBy: z.
|
|
1209
|
+
createdBy: z.ZodString;
|
|
1210
|
+
updatedBy: z.ZodString;
|
|
1312
1211
|
}, z.core.$strip>;
|
|
1313
1212
|
version: z.ZodObject<{
|
|
1314
|
-
id: z.
|
|
1315
|
-
expertScopeId: z.
|
|
1213
|
+
id: z.ZodString;
|
|
1214
|
+
expertScopeId: z.ZodString;
|
|
1316
1215
|
version: z.ZodString;
|
|
1317
1216
|
public: z.ZodBoolean;
|
|
1318
1217
|
yanked: z.ZodBoolean;
|
|
@@ -1320,29 +1219,30 @@ declare const response$14: z.ZodObject<{
|
|
|
1320
1219
|
totalJobs: z.ZodNumber;
|
|
1321
1220
|
createdAt: z.ZodString;
|
|
1322
1221
|
updatedAt: z.ZodString;
|
|
1323
|
-
createdBy: z.
|
|
1324
|
-
updatedBy: z.
|
|
1222
|
+
createdBy: z.ZodString;
|
|
1223
|
+
updatedBy: z.ZodString;
|
|
1325
1224
|
tags: z.ZodArray<z.ZodString>;
|
|
1326
1225
|
}, z.core.$strip>;
|
|
1327
1226
|
definitionUrl: z.ZodString;
|
|
1328
1227
|
}, z.core.$strip>;
|
|
1329
1228
|
}, z.core.$strip>;
|
|
1330
|
-
type RequestParams$
|
|
1331
|
-
type Response$
|
|
1229
|
+
type RequestParams$10 = z.infer<typeof request$15.params>;
|
|
1230
|
+
type Response$19 = z.infer<typeof response$18>;
|
|
1332
1231
|
declare namespace publish_d_exports {
|
|
1333
|
-
export { RequestParams$
|
|
1232
|
+
export { RequestParams$9 as RequestParams, Response$18 as Response, request$14 as request, response$17 as response };
|
|
1334
1233
|
}
|
|
1335
|
-
declare const request$
|
|
1234
|
+
declare const request$14: {
|
|
1336
1235
|
params: z.ZodObject<{
|
|
1337
1236
|
scopeName: z.ZodString;
|
|
1338
1237
|
}, z.core.$strip>;
|
|
1339
1238
|
};
|
|
1340
|
-
declare const response$
|
|
1239
|
+
declare const response$17: z.ZodObject<{
|
|
1341
1240
|
data: z.ZodObject<{
|
|
1342
1241
|
scope: z.ZodObject<{
|
|
1343
|
-
id: z.
|
|
1242
|
+
id: z.ZodString;
|
|
1344
1243
|
name: z.ZodString;
|
|
1345
|
-
organizationId: z.
|
|
1244
|
+
organizationId: z.ZodString;
|
|
1245
|
+
expertDraftScopeId: z.ZodString;
|
|
1346
1246
|
published: z.ZodBoolean;
|
|
1347
1247
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
1348
1248
|
category: z.ZodEnum<{
|
|
@@ -1358,27 +1258,28 @@ declare const response$13: z.ZodObject<{
|
|
|
1358
1258
|
totalStars: z.ZodNumber;
|
|
1359
1259
|
createdAt: z.ZodString;
|
|
1360
1260
|
updatedAt: z.ZodString;
|
|
1361
|
-
createdBy: z.
|
|
1362
|
-
updatedBy: z.
|
|
1261
|
+
createdBy: z.ZodString;
|
|
1262
|
+
updatedBy: z.ZodString;
|
|
1363
1263
|
}, z.core.$strip>;
|
|
1364
1264
|
}, z.core.$strip>;
|
|
1365
1265
|
}, z.core.$strip>;
|
|
1366
|
-
type RequestParams$
|
|
1367
|
-
type Response$
|
|
1266
|
+
type RequestParams$9 = z.infer<typeof request$14.params>;
|
|
1267
|
+
type Response$18 = z.infer<typeof response$17>;
|
|
1368
1268
|
declare namespace unpublish_d_exports {
|
|
1369
|
-
export { RequestParams$
|
|
1269
|
+
export { RequestParams$8 as RequestParams, Response$17 as Response, request$13 as request, response$16 as response };
|
|
1370
1270
|
}
|
|
1371
|
-
declare const request$
|
|
1271
|
+
declare const request$13: {
|
|
1372
1272
|
params: z.ZodObject<{
|
|
1373
1273
|
scopeName: z.ZodString;
|
|
1374
1274
|
}, z.core.$strip>;
|
|
1375
1275
|
};
|
|
1376
|
-
declare const response$
|
|
1276
|
+
declare const response$16: z.ZodObject<{
|
|
1377
1277
|
data: z.ZodObject<{
|
|
1378
1278
|
scope: z.ZodObject<{
|
|
1379
|
-
id: z.
|
|
1279
|
+
id: z.ZodString;
|
|
1380
1280
|
name: z.ZodString;
|
|
1381
|
-
organizationId: z.
|
|
1281
|
+
organizationId: z.ZodString;
|
|
1282
|
+
expertDraftScopeId: z.ZodString;
|
|
1382
1283
|
published: z.ZodBoolean;
|
|
1383
1284
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
1384
1285
|
category: z.ZodEnum<{
|
|
@@ -1394,26 +1295,26 @@ declare const response$12: z.ZodObject<{
|
|
|
1394
1295
|
totalStars: z.ZodNumber;
|
|
1395
1296
|
createdAt: z.ZodString;
|
|
1396
1297
|
updatedAt: z.ZodString;
|
|
1397
|
-
createdBy: z.
|
|
1398
|
-
updatedBy: z.
|
|
1298
|
+
createdBy: z.ZodString;
|
|
1299
|
+
updatedBy: z.ZodString;
|
|
1399
1300
|
}, z.core.$strip>;
|
|
1400
1301
|
}, z.core.$strip>;
|
|
1401
1302
|
}, z.core.$strip>;
|
|
1402
|
-
type RequestParams$
|
|
1403
|
-
type Response$
|
|
1303
|
+
type RequestParams$8 = z.infer<typeof request$13.params>;
|
|
1304
|
+
type Response$17 = z.infer<typeof response$16>;
|
|
1404
1305
|
declare namespace versions_d_exports {
|
|
1405
|
-
export { RequestParams$
|
|
1306
|
+
export { RequestParams$7 as RequestParams, Response$16 as Response, request$12 as request, response$15 as response };
|
|
1406
1307
|
}
|
|
1407
|
-
declare const request$
|
|
1308
|
+
declare const request$12: {
|
|
1408
1309
|
params: z.ZodObject<{
|
|
1409
1310
|
scopeName: z.ZodString;
|
|
1410
1311
|
}, z.core.$strip>;
|
|
1411
1312
|
};
|
|
1412
|
-
declare const response$
|
|
1313
|
+
declare const response$15: z.ZodObject<{
|
|
1413
1314
|
data: z.ZodObject<{
|
|
1414
1315
|
versions: z.ZodArray<z.ZodObject<{
|
|
1415
|
-
id: z.
|
|
1416
|
-
expertScopeId: z.
|
|
1316
|
+
id: z.ZodString;
|
|
1317
|
+
expertScopeId: z.ZodString;
|
|
1417
1318
|
version: z.ZodString;
|
|
1418
1319
|
public: z.ZodBoolean;
|
|
1419
1320
|
yanked: z.ZodBoolean;
|
|
@@ -1421,19 +1322,19 @@ declare const response$11: z.ZodObject<{
|
|
|
1421
1322
|
totalJobs: z.ZodNumber;
|
|
1422
1323
|
createdAt: z.ZodString;
|
|
1423
1324
|
updatedAt: z.ZodString;
|
|
1424
|
-
createdBy: z.
|
|
1425
|
-
updatedBy: z.
|
|
1325
|
+
createdBy: z.ZodString;
|
|
1326
|
+
updatedBy: z.ZodString;
|
|
1426
1327
|
tags: z.ZodArray<z.ZodString>;
|
|
1427
1328
|
}, z.core.$strip>>;
|
|
1428
1329
|
}, z.core.$strip>;
|
|
1429
1330
|
}, z.core.$strip>;
|
|
1430
|
-
type RequestParams$
|
|
1431
|
-
type Response$
|
|
1331
|
+
type RequestParams$7 = z.infer<typeof request$12.params>;
|
|
1332
|
+
type Response$16 = z.infer<typeof response$15>;
|
|
1432
1333
|
declare namespace index_d_exports$2 {
|
|
1433
|
-
export { definition_d_exports
|
|
1334
|
+
export { definition_d_exports as Definition, delete_d_exports as Delete, featured_d_exports as Featured, get_d_exports$2 as Get, getAll_d_exports$2 as GetAll, meta_d_exports as Meta, publish_d_exports as Publish, unpublish_d_exports as Unpublish, versions_d_exports as Versions };
|
|
1434
1335
|
}
|
|
1435
1336
|
declare namespace create_d_exports$1 {
|
|
1436
|
-
export { RequestBody$
|
|
1337
|
+
export { RequestBody$6 as RequestBody, RequestCheckpoint, RequestParams$6 as RequestParams, Response$15 as Response, request$11 as request, requestCheckpointSchema, response$14 as response };
|
|
1437
1338
|
}
|
|
1438
1339
|
/**
|
|
1439
1340
|
* Request checkpoint schema - `id` and `runId` are omitted because:
|
|
@@ -1679,9 +1580,9 @@ declare const requestCheckpointSchema: z.ZodObject<{
|
|
|
1679
1580
|
runId: z.ZodOptional<z.ZodString>;
|
|
1680
1581
|
}, z.core.$strip>;
|
|
1681
1582
|
type RequestCheckpoint = z.infer<typeof requestCheckpointSchema>;
|
|
1682
|
-
declare const request$
|
|
1583
|
+
declare const request$11: {
|
|
1683
1584
|
params: z.ZodObject<{
|
|
1684
|
-
jobId: z.
|
|
1585
|
+
jobId: z.ZodString;
|
|
1685
1586
|
}, z.core.$strip>;
|
|
1686
1587
|
body: z.ZodObject<{
|
|
1687
1588
|
checkpoint: z.ZodObject<{
|
|
@@ -2262,13 +2163,13 @@ declare const request$10: {
|
|
|
2262
2163
|
}, z.core.$strip>;
|
|
2263
2164
|
}, z.core.$strip>;
|
|
2264
2165
|
};
|
|
2265
|
-
declare const response$
|
|
2166
|
+
declare const response$14: z.ZodObject<{
|
|
2266
2167
|
data: z.ZodObject<{
|
|
2267
2168
|
checkpoint: z.ZodObject<{
|
|
2268
2169
|
type: z.ZodLiteral<"checkpoint">;
|
|
2269
|
-
id: z.
|
|
2270
|
-
jobId: z.
|
|
2271
|
-
runId: z.
|
|
2170
|
+
id: z.ZodString;
|
|
2171
|
+
jobId: z.ZodString;
|
|
2172
|
+
runId: z.ZodString;
|
|
2272
2173
|
activities: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2273
2174
|
id: z.ZodString;
|
|
2274
2175
|
expertKey: z.ZodString;
|
|
@@ -3281,8 +3182,8 @@ declare const response$10: z.ZodObject<{
|
|
|
3281
3182
|
}, z.core.$strip>;
|
|
3282
3183
|
toolCallId: z.ZodString;
|
|
3283
3184
|
toolName: z.ZodString;
|
|
3284
|
-
checkpointId: z.
|
|
3285
|
-
runId: z.
|
|
3185
|
+
checkpointId: z.ZodString;
|
|
3186
|
+
runId: z.ZodString;
|
|
3286
3187
|
}, z.core.$strip>>;
|
|
3287
3188
|
inputMessages: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3288
3189
|
id: z.ZodString;
|
|
@@ -3726,25 +3627,25 @@ declare const response$10: z.ZodObject<{
|
|
|
3726
3627
|
}, z.core.$strip>;
|
|
3727
3628
|
}, z.core.$strip>;
|
|
3728
3629
|
}, z.core.$strip>;
|
|
3729
|
-
type RequestParams$
|
|
3730
|
-
type RequestBody$
|
|
3731
|
-
type Response$
|
|
3732
|
-
declare namespace get_d_exports$
|
|
3733
|
-
export { RequestParams$
|
|
3630
|
+
type RequestParams$6 = z.infer<typeof request$11.params>;
|
|
3631
|
+
type RequestBody$6 = z.infer<typeof request$11.body>;
|
|
3632
|
+
type Response$15 = z.infer<typeof response$14>;
|
|
3633
|
+
declare namespace get_d_exports$1 {
|
|
3634
|
+
export { RequestParams$5 as RequestParams, Response$14 as Response, request$10 as request, response$13 as response };
|
|
3734
3635
|
}
|
|
3735
|
-
declare const request$
|
|
3636
|
+
declare const request$10: {
|
|
3736
3637
|
params: z.ZodObject<{
|
|
3737
|
-
jobId: z.
|
|
3738
|
-
checkpointId: z.
|
|
3638
|
+
jobId: z.ZodString;
|
|
3639
|
+
checkpointId: z.ZodString;
|
|
3739
3640
|
}, z.core.$strip>;
|
|
3740
3641
|
};
|
|
3741
|
-
declare const response$
|
|
3642
|
+
declare const response$13: z.ZodObject<{
|
|
3742
3643
|
data: z.ZodObject<{
|
|
3743
3644
|
checkpoint: z.ZodObject<{
|
|
3744
3645
|
type: z.ZodLiteral<"checkpoint">;
|
|
3745
|
-
id: z.
|
|
3746
|
-
jobId: z.
|
|
3747
|
-
runId: z.
|
|
3646
|
+
id: z.ZodString;
|
|
3647
|
+
jobId: z.ZodString;
|
|
3648
|
+
runId: z.ZodString;
|
|
3748
3649
|
activities: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3749
3650
|
id: z.ZodString;
|
|
3750
3651
|
expertKey: z.ZodString;
|
|
@@ -4757,8 +4658,8 @@ declare const response$9: z.ZodObject<{
|
|
|
4757
4658
|
}, z.core.$strip>;
|
|
4758
4659
|
toolCallId: z.ZodString;
|
|
4759
4660
|
toolName: z.ZodString;
|
|
4760
|
-
checkpointId: z.
|
|
4761
|
-
runId: z.
|
|
4661
|
+
checkpointId: z.ZodString;
|
|
4662
|
+
runId: z.ZodString;
|
|
4762
4663
|
}, z.core.$strip>>;
|
|
4763
4664
|
inputMessages: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4764
4665
|
id: z.ZodString;
|
|
@@ -5202,14 +5103,14 @@ declare const response$9: z.ZodObject<{
|
|
|
5202
5103
|
}, z.core.$strip>;
|
|
5203
5104
|
}, z.core.$strip>;
|
|
5204
5105
|
}, z.core.$strip>;
|
|
5205
|
-
type RequestParams$
|
|
5206
|
-
type Response$
|
|
5106
|
+
type RequestParams$5 = z.infer<typeof request$10.params>;
|
|
5107
|
+
type Response$14 = z.infer<typeof response$13>;
|
|
5207
5108
|
declare namespace getAll_d_exports$1 {
|
|
5208
|
-
export { RequestParams$
|
|
5109
|
+
export { RequestParams$4 as RequestParams, RequestQuery$1 as RequestQuery, Response$13 as Response, request$9 as request, response$12 as response };
|
|
5209
5110
|
}
|
|
5210
|
-
declare const request$
|
|
5111
|
+
declare const request$9: {
|
|
5211
5112
|
params: z.ZodObject<{
|
|
5212
|
-
jobId: z.
|
|
5113
|
+
jobId: z.ZodString;
|
|
5213
5114
|
}, z.core.$strip>;
|
|
5214
5115
|
query: z.ZodObject<{
|
|
5215
5116
|
filter: z.ZodOptional<z.ZodString>;
|
|
@@ -5225,13 +5126,13 @@ declare const request$8: {
|
|
|
5225
5126
|
skip: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
5226
5127
|
}, z.core.$strip>;
|
|
5227
5128
|
};
|
|
5228
|
-
declare const response$
|
|
5129
|
+
declare const response$12: z.ZodObject<{
|
|
5229
5130
|
data: z.ZodObject<{
|
|
5230
5131
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
5231
5132
|
type: z.ZodLiteral<"checkpoint">;
|
|
5232
|
-
id: z.
|
|
5233
|
-
jobId: z.
|
|
5234
|
-
runId: z.
|
|
5133
|
+
id: z.ZodString;
|
|
5134
|
+
jobId: z.ZodString;
|
|
5135
|
+
runId: z.ZodString;
|
|
5235
5136
|
activities: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5236
5137
|
id: z.ZodString;
|
|
5237
5138
|
expertKey: z.ZodString;
|
|
@@ -6244,8 +6145,8 @@ declare const response$8: z.ZodObject<{
|
|
|
6244
6145
|
}, z.core.$strip>;
|
|
6245
6146
|
toolCallId: z.ZodString;
|
|
6246
6147
|
toolName: z.ZodString;
|
|
6247
|
-
checkpointId: z.
|
|
6248
|
-
runId: z.
|
|
6148
|
+
checkpointId: z.ZodString;
|
|
6149
|
+
runId: z.ZodString;
|
|
6249
6150
|
}, z.core.$strip>>;
|
|
6250
6151
|
inputMessages: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
6251
6152
|
id: z.ZodString;
|
|
@@ -6694,23 +6595,23 @@ declare const response$8: z.ZodObject<{
|
|
|
6694
6595
|
skip: z.ZodNumber;
|
|
6695
6596
|
}, z.core.$strip>;
|
|
6696
6597
|
}, z.core.$strip>;
|
|
6697
|
-
type RequestParams$
|
|
6698
|
-
type RequestQuery$
|
|
6699
|
-
type Response$
|
|
6598
|
+
type RequestParams$4 = z.infer<typeof request$9.params>;
|
|
6599
|
+
type RequestQuery$1 = z.infer<typeof request$9.query>;
|
|
6600
|
+
type Response$13 = z.infer<typeof response$12>;
|
|
6700
6601
|
declare namespace stream_d_exports {
|
|
6701
|
-
export { RequestParams$
|
|
6602
|
+
export { RequestParams$3 as RequestParams, Response$12 as Response, request$8 as request, response$11 as response };
|
|
6702
6603
|
}
|
|
6703
|
-
declare const request$
|
|
6604
|
+
declare const request$8: {
|
|
6704
6605
|
params: z.ZodObject<{
|
|
6705
|
-
jobId: z.
|
|
6606
|
+
jobId: z.ZodString;
|
|
6706
6607
|
}, z.core.$strip>;
|
|
6707
6608
|
};
|
|
6708
|
-
declare const response$
|
|
6609
|
+
declare const response$11: z.ZodObject<{
|
|
6709
6610
|
data: z.ZodObject<{
|
|
6710
6611
|
type: z.ZodLiteral<"checkpoint">;
|
|
6711
|
-
id: z.
|
|
6712
|
-
jobId: z.
|
|
6713
|
-
runId: z.
|
|
6612
|
+
id: z.ZodString;
|
|
6613
|
+
jobId: z.ZodString;
|
|
6614
|
+
runId: z.ZodString;
|
|
6714
6615
|
activities: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6715
6616
|
id: z.ZodString;
|
|
6716
6617
|
expertKey: z.ZodString;
|
|
@@ -7723,8 +7624,8 @@ declare const response$7: z.ZodObject<{
|
|
|
7723
7624
|
}, z.core.$strip>;
|
|
7724
7625
|
toolCallId: z.ZodString;
|
|
7725
7626
|
toolName: z.ZodString;
|
|
7726
|
-
checkpointId: z.
|
|
7727
|
-
runId: z.
|
|
7627
|
+
checkpointId: z.ZodString;
|
|
7628
|
+
runId: z.ZodString;
|
|
7728
7629
|
}, z.core.$strip>>;
|
|
7729
7630
|
inputMessages: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7730
7631
|
id: z.ZodString;
|
|
@@ -8167,17 +8068,17 @@ declare const response$7: z.ZodObject<{
|
|
|
8167
8068
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
8168
8069
|
}, z.core.$strip>;
|
|
8169
8070
|
}, z.core.$strip>;
|
|
8170
|
-
type RequestParams$
|
|
8171
|
-
type Response$
|
|
8172
|
-
declare namespace index_d_exports$
|
|
8173
|
-
export { create_d_exports$1 as Create, get_d_exports$
|
|
8071
|
+
type RequestParams$3 = z.infer<typeof request$8.params>;
|
|
8072
|
+
type Response$12 = z.infer<typeof response$11>;
|
|
8073
|
+
declare namespace index_d_exports$4 {
|
|
8074
|
+
export { create_d_exports$1 as Create, get_d_exports$1 as Get, getAll_d_exports$1 as GetAll, RequestCheckpoint, stream_d_exports as Stream, requestCheckpointSchema };
|
|
8174
8075
|
}
|
|
8175
8076
|
declare namespace continue_d_exports {
|
|
8176
|
-
export { RequestBody$
|
|
8077
|
+
export { RequestBody$5 as RequestBody, RequestParams$2 as RequestParams, Response$11 as Response, request$7 as request, response$10 as response };
|
|
8177
8078
|
}
|
|
8178
|
-
declare const request$
|
|
8079
|
+
declare const request$7: {
|
|
8179
8080
|
params: z.ZodObject<{
|
|
8180
|
-
jobId: z.
|
|
8081
|
+
jobId: z.ZodString;
|
|
8181
8082
|
}, z.core.$strip>;
|
|
8182
8083
|
body: z.ZodObject<{
|
|
8183
8084
|
query: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -8187,7 +8088,6 @@ declare const request$6: {
|
|
|
8187
8088
|
anthropic: "anthropic";
|
|
8188
8089
|
google: "google";
|
|
8189
8090
|
openai: "openai";
|
|
8190
|
-
ollama: "ollama";
|
|
8191
8091
|
deepseek: "deepseek";
|
|
8192
8092
|
"azure-openai": "azure-openai";
|
|
8193
8093
|
"amazon-bedrock": "amazon-bedrock";
|
|
@@ -8207,13 +8107,13 @@ declare const request$6: {
|
|
|
8207
8107
|
maxRetries: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8208
8108
|
}, z.core.$strip>;
|
|
8209
8109
|
};
|
|
8210
|
-
declare const response$
|
|
8110
|
+
declare const response$10: z.ZodObject<{
|
|
8211
8111
|
data: z.ZodObject<{
|
|
8212
8112
|
job: z.ZodObject<{
|
|
8213
8113
|
type: z.ZodLiteral<"job">;
|
|
8214
|
-
id: z.
|
|
8215
|
-
organizationId: z.
|
|
8216
|
-
applicationId: z.
|
|
8114
|
+
id: z.ZodString;
|
|
8115
|
+
organizationId: z.ZodString;
|
|
8116
|
+
applicationId: z.ZodString;
|
|
8217
8117
|
createdAt: z.ZodString;
|
|
8218
8118
|
updatedAt: z.ZodString;
|
|
8219
8119
|
status: z.ZodEnum<{
|
|
@@ -8270,9 +8170,10 @@ declare const response$6: z.ZodObject<{
|
|
|
8270
8170
|
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
8271
8171
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
8272
8172
|
scope: z.ZodObject<{
|
|
8273
|
-
id: z.
|
|
8173
|
+
id: z.ZodString;
|
|
8274
8174
|
name: z.ZodString;
|
|
8275
|
-
organizationId: z.
|
|
8175
|
+
organizationId: z.ZodString;
|
|
8176
|
+
expertDraftScopeId: z.ZodString;
|
|
8276
8177
|
published: z.ZodBoolean;
|
|
8277
8178
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
8278
8179
|
category: z.ZodEnum<{
|
|
@@ -8288,12 +8189,12 @@ declare const response$6: z.ZodObject<{
|
|
|
8288
8189
|
totalStars: z.ZodNumber;
|
|
8289
8190
|
createdAt: z.ZodString;
|
|
8290
8191
|
updatedAt: z.ZodString;
|
|
8291
|
-
createdBy: z.
|
|
8292
|
-
updatedBy: z.
|
|
8192
|
+
createdBy: z.ZodString;
|
|
8193
|
+
updatedBy: z.ZodString;
|
|
8293
8194
|
}, z.core.$strip>;
|
|
8294
8195
|
version: z.ZodObject<{
|
|
8295
|
-
id: z.
|
|
8296
|
-
expertScopeId: z.
|
|
8196
|
+
id: z.ZodString;
|
|
8197
|
+
expertScopeId: z.ZodString;
|
|
8297
8198
|
version: z.ZodString;
|
|
8298
8199
|
public: z.ZodBoolean;
|
|
8299
8200
|
yanked: z.ZodBoolean;
|
|
@@ -8301,8 +8202,8 @@ declare const response$6: z.ZodObject<{
|
|
|
8301
8202
|
totalJobs: z.ZodNumber;
|
|
8302
8203
|
createdAt: z.ZodString;
|
|
8303
8204
|
updatedAt: z.ZodString;
|
|
8304
|
-
createdBy: z.
|
|
8305
|
-
updatedBy: z.
|
|
8205
|
+
createdBy: z.ZodString;
|
|
8206
|
+
updatedBy: z.ZodString;
|
|
8306
8207
|
tags: z.ZodArray<z.ZodString>;
|
|
8307
8208
|
}, z.core.$strip>;
|
|
8308
8209
|
}, z.core.$strip>;
|
|
@@ -8310,7 +8211,6 @@ declare const response$6: z.ZodObject<{
|
|
|
8310
8211
|
anthropic: "anthropic";
|
|
8311
8212
|
google: "google";
|
|
8312
8213
|
openai: "openai";
|
|
8313
|
-
ollama: "ollama";
|
|
8314
8214
|
deepseek: "deepseek";
|
|
8315
8215
|
"azure-openai": "azure-openai";
|
|
8316
8216
|
"amazon-bedrock": "amazon-bedrock";
|
|
@@ -8341,15 +8241,15 @@ declare const response$6: z.ZodObject<{
|
|
|
8341
8241
|
}, z.core.$strip>;
|
|
8342
8242
|
}, z.core.$strip>;
|
|
8343
8243
|
}, z.core.$strip>;
|
|
8344
|
-
type RequestParams$
|
|
8345
|
-
type RequestBody$
|
|
8346
|
-
type Response$
|
|
8244
|
+
type RequestParams$2 = z.infer<typeof request$7.params>;
|
|
8245
|
+
type RequestBody$5 = z.infer<typeof request$7.body>;
|
|
8246
|
+
type Response$11 = z.infer<typeof response$10>;
|
|
8347
8247
|
declare namespace create_d_exports {
|
|
8348
|
-
export { RequestBody$
|
|
8248
|
+
export { RequestBody$4 as RequestBody, Response$10 as Response, request$6 as request, response$9 as response };
|
|
8349
8249
|
}
|
|
8350
|
-
declare const request$
|
|
8250
|
+
declare const request$6: {
|
|
8351
8251
|
body: z.ZodObject<{
|
|
8352
|
-
applicationId: z.
|
|
8252
|
+
applicationId: z.ZodString;
|
|
8353
8253
|
expertKey: z.ZodString;
|
|
8354
8254
|
query: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8355
8255
|
files: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<File, File>, z.ZodArray<z.ZodCustom<File, File>>]>>;
|
|
@@ -8357,7 +8257,6 @@ declare const request$5: {
|
|
|
8357
8257
|
anthropic: "anthropic";
|
|
8358
8258
|
google: "google";
|
|
8359
8259
|
openai: "openai";
|
|
8360
|
-
ollama: "ollama";
|
|
8361
8260
|
deepseek: "deepseek";
|
|
8362
8261
|
"azure-openai": "azure-openai";
|
|
8363
8262
|
"amazon-bedrock": "amazon-bedrock";
|
|
@@ -8377,13 +8276,13 @@ declare const request$5: {
|
|
|
8377
8276
|
maxRetries: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8378
8277
|
}, z.core.$strip>;
|
|
8379
8278
|
};
|
|
8380
|
-
declare const response$
|
|
8279
|
+
declare const response$9: z.ZodObject<{
|
|
8381
8280
|
data: z.ZodObject<{
|
|
8382
8281
|
job: z.ZodObject<{
|
|
8383
8282
|
type: z.ZodLiteral<"job">;
|
|
8384
|
-
id: z.
|
|
8385
|
-
organizationId: z.
|
|
8386
|
-
applicationId: z.
|
|
8283
|
+
id: z.ZodString;
|
|
8284
|
+
organizationId: z.ZodString;
|
|
8285
|
+
applicationId: z.ZodString;
|
|
8387
8286
|
createdAt: z.ZodString;
|
|
8388
8287
|
updatedAt: z.ZodString;
|
|
8389
8288
|
status: z.ZodEnum<{
|
|
@@ -8440,9 +8339,10 @@ declare const response$5: z.ZodObject<{
|
|
|
8440
8339
|
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
8441
8340
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
8442
8341
|
scope: z.ZodObject<{
|
|
8443
|
-
id: z.
|
|
8342
|
+
id: z.ZodString;
|
|
8444
8343
|
name: z.ZodString;
|
|
8445
|
-
organizationId: z.
|
|
8344
|
+
organizationId: z.ZodString;
|
|
8345
|
+
expertDraftScopeId: z.ZodString;
|
|
8446
8346
|
published: z.ZodBoolean;
|
|
8447
8347
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
8448
8348
|
category: z.ZodEnum<{
|
|
@@ -8458,12 +8358,12 @@ declare const response$5: z.ZodObject<{
|
|
|
8458
8358
|
totalStars: z.ZodNumber;
|
|
8459
8359
|
createdAt: z.ZodString;
|
|
8460
8360
|
updatedAt: z.ZodString;
|
|
8461
|
-
createdBy: z.
|
|
8462
|
-
updatedBy: z.
|
|
8361
|
+
createdBy: z.ZodString;
|
|
8362
|
+
updatedBy: z.ZodString;
|
|
8463
8363
|
}, z.core.$strip>;
|
|
8464
8364
|
version: z.ZodObject<{
|
|
8465
|
-
id: z.
|
|
8466
|
-
expertScopeId: z.
|
|
8365
|
+
id: z.ZodString;
|
|
8366
|
+
expertScopeId: z.ZodString;
|
|
8467
8367
|
version: z.ZodString;
|
|
8468
8368
|
public: z.ZodBoolean;
|
|
8469
8369
|
yanked: z.ZodBoolean;
|
|
@@ -8471,8 +8371,8 @@ declare const response$5: z.ZodObject<{
|
|
|
8471
8371
|
totalJobs: z.ZodNumber;
|
|
8472
8372
|
createdAt: z.ZodString;
|
|
8473
8373
|
updatedAt: z.ZodString;
|
|
8474
|
-
createdBy: z.
|
|
8475
|
-
updatedBy: z.
|
|
8374
|
+
createdBy: z.ZodString;
|
|
8375
|
+
updatedBy: z.ZodString;
|
|
8476
8376
|
tags: z.ZodArray<z.ZodString>;
|
|
8477
8377
|
}, z.core.$strip>;
|
|
8478
8378
|
}, z.core.$strip>;
|
|
@@ -8480,7 +8380,6 @@ declare const response$5: z.ZodObject<{
|
|
|
8480
8380
|
anthropic: "anthropic";
|
|
8481
8381
|
google: "google";
|
|
8482
8382
|
openai: "openai";
|
|
8483
|
-
ollama: "ollama";
|
|
8484
8383
|
deepseek: "deepseek";
|
|
8485
8384
|
"azure-openai": "azure-openai";
|
|
8486
8385
|
"amazon-bedrock": "amazon-bedrock";
|
|
@@ -8511,23 +8410,23 @@ declare const response$5: z.ZodObject<{
|
|
|
8511
8410
|
}, z.core.$strip>;
|
|
8512
8411
|
}, z.core.$strip>;
|
|
8513
8412
|
}, z.core.$strip>;
|
|
8514
|
-
type RequestBody$
|
|
8515
|
-
type Response$
|
|
8516
|
-
declare namespace get_d_exports
|
|
8517
|
-
export { RequestParams$
|
|
8413
|
+
type RequestBody$4 = z.infer<typeof request$6.body>;
|
|
8414
|
+
type Response$10 = z.infer<typeof response$9>;
|
|
8415
|
+
declare namespace get_d_exports {
|
|
8416
|
+
export { RequestParams$1 as RequestParams, Response$9 as Response, request$5 as request, response$8 as response };
|
|
8518
8417
|
}
|
|
8519
|
-
declare const request$
|
|
8418
|
+
declare const request$5: {
|
|
8520
8419
|
params: z.ZodObject<{
|
|
8521
|
-
jobId: z.
|
|
8420
|
+
jobId: z.ZodString;
|
|
8522
8421
|
}, z.core.$strip>;
|
|
8523
8422
|
};
|
|
8524
|
-
declare const response$
|
|
8423
|
+
declare const response$8: z.ZodObject<{
|
|
8525
8424
|
data: z.ZodObject<{
|
|
8526
8425
|
job: z.ZodObject<{
|
|
8527
8426
|
type: z.ZodLiteral<"job">;
|
|
8528
|
-
id: z.
|
|
8529
|
-
organizationId: z.
|
|
8530
|
-
applicationId: z.
|
|
8427
|
+
id: z.ZodString;
|
|
8428
|
+
organizationId: z.ZodString;
|
|
8429
|
+
applicationId: z.ZodString;
|
|
8531
8430
|
createdAt: z.ZodString;
|
|
8532
8431
|
updatedAt: z.ZodString;
|
|
8533
8432
|
status: z.ZodEnum<{
|
|
@@ -8584,9 +8483,10 @@ declare const response$4: z.ZodObject<{
|
|
|
8584
8483
|
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
8585
8484
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
8586
8485
|
scope: z.ZodObject<{
|
|
8587
|
-
id: z.
|
|
8486
|
+
id: z.ZodString;
|
|
8588
8487
|
name: z.ZodString;
|
|
8589
|
-
organizationId: z.
|
|
8488
|
+
organizationId: z.ZodString;
|
|
8489
|
+
expertDraftScopeId: z.ZodString;
|
|
8590
8490
|
published: z.ZodBoolean;
|
|
8591
8491
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
8592
8492
|
category: z.ZodEnum<{
|
|
@@ -8602,12 +8502,12 @@ declare const response$4: z.ZodObject<{
|
|
|
8602
8502
|
totalStars: z.ZodNumber;
|
|
8603
8503
|
createdAt: z.ZodString;
|
|
8604
8504
|
updatedAt: z.ZodString;
|
|
8605
|
-
createdBy: z.
|
|
8606
|
-
updatedBy: z.
|
|
8505
|
+
createdBy: z.ZodString;
|
|
8506
|
+
updatedBy: z.ZodString;
|
|
8607
8507
|
}, z.core.$strip>;
|
|
8608
8508
|
version: z.ZodObject<{
|
|
8609
|
-
id: z.
|
|
8610
|
-
expertScopeId: z.
|
|
8509
|
+
id: z.ZodString;
|
|
8510
|
+
expertScopeId: z.ZodString;
|
|
8611
8511
|
version: z.ZodString;
|
|
8612
8512
|
public: z.ZodBoolean;
|
|
8613
8513
|
yanked: z.ZodBoolean;
|
|
@@ -8615,8 +8515,8 @@ declare const response$4: z.ZodObject<{
|
|
|
8615
8515
|
totalJobs: z.ZodNumber;
|
|
8616
8516
|
createdAt: z.ZodString;
|
|
8617
8517
|
updatedAt: z.ZodString;
|
|
8618
|
-
createdBy: z.
|
|
8619
|
-
updatedBy: z.
|
|
8518
|
+
createdBy: z.ZodString;
|
|
8519
|
+
updatedBy: z.ZodString;
|
|
8620
8520
|
tags: z.ZodArray<z.ZodString>;
|
|
8621
8521
|
}, z.core.$strip>;
|
|
8622
8522
|
}, z.core.$strip>;
|
|
@@ -8624,7 +8524,6 @@ declare const response$4: z.ZodObject<{
|
|
|
8624
8524
|
anthropic: "anthropic";
|
|
8625
8525
|
google: "google";
|
|
8626
8526
|
openai: "openai";
|
|
8627
|
-
ollama: "ollama";
|
|
8628
8527
|
deepseek: "deepseek";
|
|
8629
8528
|
"azure-openai": "azure-openai";
|
|
8630
8529
|
"amazon-bedrock": "amazon-bedrock";
|
|
@@ -8655,12 +8554,12 @@ declare const response$4: z.ZodObject<{
|
|
|
8655
8554
|
}, z.core.$strip>;
|
|
8656
8555
|
}, z.core.$strip>;
|
|
8657
8556
|
}, z.core.$strip>;
|
|
8658
|
-
type RequestParams$
|
|
8659
|
-
type Response$
|
|
8557
|
+
type RequestParams$1 = z.infer<typeof request$5.params>;
|
|
8558
|
+
type Response$9 = z.infer<typeof response$8>;
|
|
8660
8559
|
declare namespace getAll_d_exports {
|
|
8661
|
-
export { RequestQuery
|
|
8560
|
+
export { RequestQuery, Response$8 as Response, request$4 as request, response$7 as response };
|
|
8662
8561
|
}
|
|
8663
|
-
declare const request$
|
|
8562
|
+
declare const request$4: {
|
|
8664
8563
|
query: z.ZodObject<{
|
|
8665
8564
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
8666
8565
|
createdAt: "createdAt";
|
|
@@ -8674,13 +8573,13 @@ declare const request$3: {
|
|
|
8674
8573
|
skip: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
8675
8574
|
}, z.core.$strip>;
|
|
8676
8575
|
};
|
|
8677
|
-
declare const response$
|
|
8576
|
+
declare const response$7: z.ZodObject<{
|
|
8678
8577
|
data: z.ZodObject<{
|
|
8679
8578
|
jobs: z.ZodArray<z.ZodObject<{
|
|
8680
8579
|
type: z.ZodLiteral<"job">;
|
|
8681
|
-
id: z.
|
|
8682
|
-
organizationId: z.
|
|
8683
|
-
applicationId: z.
|
|
8580
|
+
id: z.ZodString;
|
|
8581
|
+
organizationId: z.ZodString;
|
|
8582
|
+
applicationId: z.ZodString;
|
|
8684
8583
|
createdAt: z.ZodString;
|
|
8685
8584
|
updatedAt: z.ZodString;
|
|
8686
8585
|
status: z.ZodEnum<{
|
|
@@ -8737,9 +8636,10 @@ declare const response$3: z.ZodObject<{
|
|
|
8737
8636
|
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
8738
8637
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
8739
8638
|
scope: z.ZodObject<{
|
|
8740
|
-
id: z.
|
|
8639
|
+
id: z.ZodString;
|
|
8741
8640
|
name: z.ZodString;
|
|
8742
|
-
organizationId: z.
|
|
8641
|
+
organizationId: z.ZodString;
|
|
8642
|
+
expertDraftScopeId: z.ZodString;
|
|
8743
8643
|
published: z.ZodBoolean;
|
|
8744
8644
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
8745
8645
|
category: z.ZodEnum<{
|
|
@@ -8755,12 +8655,12 @@ declare const response$3: z.ZodObject<{
|
|
|
8755
8655
|
totalStars: z.ZodNumber;
|
|
8756
8656
|
createdAt: z.ZodString;
|
|
8757
8657
|
updatedAt: z.ZodString;
|
|
8758
|
-
createdBy: z.
|
|
8759
|
-
updatedBy: z.
|
|
8658
|
+
createdBy: z.ZodString;
|
|
8659
|
+
updatedBy: z.ZodString;
|
|
8760
8660
|
}, z.core.$strip>;
|
|
8761
8661
|
version: z.ZodObject<{
|
|
8762
|
-
id: z.
|
|
8763
|
-
expertScopeId: z.
|
|
8662
|
+
id: z.ZodString;
|
|
8663
|
+
expertScopeId: z.ZodString;
|
|
8764
8664
|
version: z.ZodString;
|
|
8765
8665
|
public: z.ZodBoolean;
|
|
8766
8666
|
yanked: z.ZodBoolean;
|
|
@@ -8768,8 +8668,8 @@ declare const response$3: z.ZodObject<{
|
|
|
8768
8668
|
totalJobs: z.ZodNumber;
|
|
8769
8669
|
createdAt: z.ZodString;
|
|
8770
8670
|
updatedAt: z.ZodString;
|
|
8771
|
-
createdBy: z.
|
|
8772
|
-
updatedBy: z.
|
|
8671
|
+
createdBy: z.ZodString;
|
|
8672
|
+
updatedBy: z.ZodString;
|
|
8773
8673
|
tags: z.ZodArray<z.ZodString>;
|
|
8774
8674
|
}, z.core.$strip>;
|
|
8775
8675
|
}, z.core.$strip>;
|
|
@@ -8777,7 +8677,6 @@ declare const response$3: z.ZodObject<{
|
|
|
8777
8677
|
anthropic: "anthropic";
|
|
8778
8678
|
google: "google";
|
|
8779
8679
|
openai: "openai";
|
|
8780
|
-
ollama: "ollama";
|
|
8781
8680
|
deepseek: "deepseek";
|
|
8782
8681
|
"azure-openai": "azure-openai";
|
|
8783
8682
|
"amazon-bedrock": "amazon-bedrock";
|
|
@@ -8813,14 +8712,14 @@ declare const response$3: z.ZodObject<{
|
|
|
8813
8712
|
skip: z.ZodNumber;
|
|
8814
8713
|
}, z.core.$strip>;
|
|
8815
8714
|
}, z.core.$strip>;
|
|
8816
|
-
type RequestQuery
|
|
8817
|
-
type Response$
|
|
8715
|
+
type RequestQuery = z.infer<typeof request$4.query>;
|
|
8716
|
+
type Response$8 = z.infer<typeof response$7>;
|
|
8818
8717
|
declare namespace update_d_exports {
|
|
8819
|
-
export { RequestBody
|
|
8718
|
+
export { RequestBody$3 as RequestBody, RequestParams, Response$7 as Response, request$3 as request, response$6 as response };
|
|
8820
8719
|
}
|
|
8821
|
-
declare const request$
|
|
8720
|
+
declare const request$3: {
|
|
8822
8721
|
params: z.ZodObject<{
|
|
8823
|
-
jobId: z.
|
|
8722
|
+
jobId: z.ZodString;
|
|
8824
8723
|
}, z.core.$strip>;
|
|
8825
8724
|
body: z.ZodObject<{
|
|
8826
8725
|
status: z.ZodEnum<{
|
|
@@ -8837,13 +8736,13 @@ declare const request$2: {
|
|
|
8837
8736
|
}>;
|
|
8838
8737
|
}, z.core.$strip>;
|
|
8839
8738
|
};
|
|
8840
|
-
declare const response$
|
|
8739
|
+
declare const response$6: z.ZodObject<{
|
|
8841
8740
|
data: z.ZodObject<{
|
|
8842
8741
|
job: z.ZodObject<{
|
|
8843
8742
|
type: z.ZodLiteral<"job">;
|
|
8844
|
-
id: z.
|
|
8845
|
-
organizationId: z.
|
|
8846
|
-
applicationId: z.
|
|
8743
|
+
id: z.ZodString;
|
|
8744
|
+
organizationId: z.ZodString;
|
|
8745
|
+
applicationId: z.ZodString;
|
|
8847
8746
|
createdAt: z.ZodString;
|
|
8848
8747
|
updatedAt: z.ZodString;
|
|
8849
8748
|
status: z.ZodEnum<{
|
|
@@ -8900,9 +8799,10 @@ declare const response$2: z.ZodObject<{
|
|
|
8900
8799
|
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
8901
8800
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
8902
8801
|
scope: z.ZodObject<{
|
|
8903
|
-
id: z.
|
|
8802
|
+
id: z.ZodString;
|
|
8904
8803
|
name: z.ZodString;
|
|
8905
|
-
organizationId: z.
|
|
8804
|
+
organizationId: z.ZodString;
|
|
8805
|
+
expertDraftScopeId: z.ZodString;
|
|
8906
8806
|
published: z.ZodBoolean;
|
|
8907
8807
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
8908
8808
|
category: z.ZodEnum<{
|
|
@@ -8918,12 +8818,12 @@ declare const response$2: z.ZodObject<{
|
|
|
8918
8818
|
totalStars: z.ZodNumber;
|
|
8919
8819
|
createdAt: z.ZodString;
|
|
8920
8820
|
updatedAt: z.ZodString;
|
|
8921
|
-
createdBy: z.
|
|
8922
|
-
updatedBy: z.
|
|
8821
|
+
createdBy: z.ZodString;
|
|
8822
|
+
updatedBy: z.ZodString;
|
|
8923
8823
|
}, z.core.$strip>;
|
|
8924
8824
|
version: z.ZodObject<{
|
|
8925
|
-
id: z.
|
|
8926
|
-
expertScopeId: z.
|
|
8825
|
+
id: z.ZodString;
|
|
8826
|
+
expertScopeId: z.ZodString;
|
|
8927
8827
|
version: z.ZodString;
|
|
8928
8828
|
public: z.ZodBoolean;
|
|
8929
8829
|
yanked: z.ZodBoolean;
|
|
@@ -8931,8 +8831,8 @@ declare const response$2: z.ZodObject<{
|
|
|
8931
8831
|
totalJobs: z.ZodNumber;
|
|
8932
8832
|
createdAt: z.ZodString;
|
|
8933
8833
|
updatedAt: z.ZodString;
|
|
8934
|
-
createdBy: z.
|
|
8935
|
-
updatedBy: z.
|
|
8834
|
+
createdBy: z.ZodString;
|
|
8835
|
+
updatedBy: z.ZodString;
|
|
8936
8836
|
tags: z.ZodArray<z.ZodString>;
|
|
8937
8837
|
}, z.core.$strip>;
|
|
8938
8838
|
}, z.core.$strip>;
|
|
@@ -8940,148 +8840,395 @@ declare const response$2: z.ZodObject<{
|
|
|
8940
8840
|
anthropic: "anthropic";
|
|
8941
8841
|
google: "google";
|
|
8942
8842
|
openai: "openai";
|
|
8943
|
-
ollama: "ollama";
|
|
8944
8843
|
deepseek: "deepseek";
|
|
8945
8844
|
"azure-openai": "azure-openai";
|
|
8946
8845
|
"amazon-bedrock": "amazon-bedrock";
|
|
8947
8846
|
"google-vertex": "google-vertex";
|
|
8948
8847
|
}>;
|
|
8949
|
-
model: z.ZodEnum<{
|
|
8950
|
-
[x: string]: string;
|
|
8951
|
-
}>;
|
|
8952
|
-
reasoningBudget: z.ZodUnion<readonly [z.ZodEnum<{
|
|
8953
|
-
none: "none";
|
|
8954
|
-
minimal: "minimal";
|
|
8955
|
-
low: "low";
|
|
8956
|
-
medium: "medium";
|
|
8957
|
-
high: "high";
|
|
8958
|
-
}>, z.ZodNumber]>;
|
|
8959
|
-
maxSteps: z.ZodNumber;
|
|
8960
|
-
maxRetries: z.ZodNumber;
|
|
8961
|
-
currentStep: z.ZodNumber;
|
|
8962
|
-
totalSteps: z.ZodNumber;
|
|
8963
|
-
totalDuration: z.ZodNumber;
|
|
8964
|
-
usage: z.ZodObject<{
|
|
8965
|
-
inputTokens: z.ZodNumber;
|
|
8966
|
-
outputTokens: z.ZodNumber;
|
|
8967
|
-
reasoningTokens: z.ZodNumber;
|
|
8968
|
-
totalTokens: z.ZodNumber;
|
|
8969
|
-
cachedInputTokens: z.ZodNumber;
|
|
8970
|
-
}, z.core.$strip>;
|
|
8848
|
+
model: z.ZodEnum<{
|
|
8849
|
+
[x: string]: string;
|
|
8850
|
+
}>;
|
|
8851
|
+
reasoningBudget: z.ZodUnion<readonly [z.ZodEnum<{
|
|
8852
|
+
none: "none";
|
|
8853
|
+
minimal: "minimal";
|
|
8854
|
+
low: "low";
|
|
8855
|
+
medium: "medium";
|
|
8856
|
+
high: "high";
|
|
8857
|
+
}>, z.ZodNumber]>;
|
|
8858
|
+
maxSteps: z.ZodNumber;
|
|
8859
|
+
maxRetries: z.ZodNumber;
|
|
8860
|
+
currentStep: z.ZodNumber;
|
|
8861
|
+
totalSteps: z.ZodNumber;
|
|
8862
|
+
totalDuration: z.ZodNumber;
|
|
8863
|
+
usage: z.ZodObject<{
|
|
8864
|
+
inputTokens: z.ZodNumber;
|
|
8865
|
+
outputTokens: z.ZodNumber;
|
|
8866
|
+
reasoningTokens: z.ZodNumber;
|
|
8867
|
+
totalTokens: z.ZodNumber;
|
|
8868
|
+
cachedInputTokens: z.ZodNumber;
|
|
8869
|
+
}, z.core.$strip>;
|
|
8870
|
+
}, z.core.$strip>;
|
|
8871
|
+
}, z.core.$strip>;
|
|
8872
|
+
}, z.core.$strip>;
|
|
8873
|
+
type RequestParams = z.infer<typeof request$3.params>;
|
|
8874
|
+
type RequestBody$3 = z.infer<typeof request$3.body>;
|
|
8875
|
+
type Response$7 = z.infer<typeof response$6>;
|
|
8876
|
+
declare namespace index_d_exports$3 {
|
|
8877
|
+
export { index_d_exports$4 as Checkpoints, continue_d_exports as Continue, create_d_exports as Create, get_d_exports as Get, getAll_d_exports as GetAll, update_d_exports as Update };
|
|
8878
|
+
}
|
|
8879
|
+
//#endregion
|
|
8880
|
+
//#region ../models/src/api/provider-settings/api-keys/create.d.ts
|
|
8881
|
+
declare const request$2: {
|
|
8882
|
+
params: z.ZodObject<{
|
|
8883
|
+
applicationId: z.ZodString;
|
|
8884
|
+
provider: z.ZodEnum<{
|
|
8885
|
+
anthropic: "anthropic";
|
|
8886
|
+
google: "google";
|
|
8887
|
+
openai: "openai";
|
|
8888
|
+
deepseek: "deepseek";
|
|
8889
|
+
"azure-openai": "azure-openai";
|
|
8890
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
8891
|
+
"google-vertex": "google-vertex";
|
|
8892
|
+
}>;
|
|
8893
|
+
}, z.core.$strip>;
|
|
8894
|
+
body: z.ZodObject<{
|
|
8895
|
+
name: z.ZodString;
|
|
8896
|
+
value: z.ZodString;
|
|
8897
|
+
}, z.core.$strip>;
|
|
8898
|
+
};
|
|
8899
|
+
declare const response$5: z.ZodObject<{
|
|
8900
|
+
data: z.ZodObject<{
|
|
8901
|
+
apiKey: z.ZodObject<{
|
|
8902
|
+
id: z.ZodString;
|
|
8903
|
+
name: z.ZodString;
|
|
8904
|
+
createdAt: z.ZodString;
|
|
8905
|
+
updatedAt: z.ZodString;
|
|
8906
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
8907
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
8908
|
+
}, z.core.$strip>;
|
|
8909
|
+
}, z.core.$strip>;
|
|
8910
|
+
}, z.core.$strip>;
|
|
8911
|
+
type RequestBody$2 = z.infer<typeof request$2.body>;
|
|
8912
|
+
type Response$6 = z.infer<typeof response$5>;
|
|
8913
|
+
//#endregion
|
|
8914
|
+
//#region ../models/src/api/provider-settings/api-keys/getAll.d.ts
|
|
8915
|
+
declare const response$4: z.ZodObject<{
|
|
8916
|
+
data: z.ZodObject<{
|
|
8917
|
+
apiKeys: z.ZodArray<z.ZodObject<{
|
|
8918
|
+
id: z.ZodString;
|
|
8919
|
+
name: z.ZodString;
|
|
8920
|
+
createdAt: z.ZodString;
|
|
8921
|
+
updatedAt: z.ZodString;
|
|
8922
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
8923
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
8924
|
+
}, z.core.$strip>>;
|
|
8925
|
+
}, z.core.$strip>;
|
|
8926
|
+
}, z.core.$strip>;
|
|
8927
|
+
type Response$5 = z.infer<typeof response$4>;
|
|
8928
|
+
//#endregion
|
|
8929
|
+
//#region ../models/src/api/provider-settings/create.d.ts
|
|
8930
|
+
declare const request$1: {
|
|
8931
|
+
params: z.ZodObject<{
|
|
8932
|
+
applicationId: z.ZodString;
|
|
8933
|
+
}, z.core.$strip>;
|
|
8934
|
+
body: z.ZodObject<{
|
|
8935
|
+
provider: z.ZodEnum<{
|
|
8936
|
+
anthropic: "anthropic";
|
|
8937
|
+
google: "google";
|
|
8938
|
+
openai: "openai";
|
|
8939
|
+
deepseek: "deepseek";
|
|
8940
|
+
"azure-openai": "azure-openai";
|
|
8941
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
8942
|
+
"google-vertex": "google-vertex";
|
|
8943
|
+
}>;
|
|
8944
|
+
settings: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
8945
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
8946
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8947
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8948
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
8949
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8950
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8951
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
8952
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8953
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
8954
|
+
project: z.ZodOptional<z.ZodString>;
|
|
8955
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8956
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8957
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
8958
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8959
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8960
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
8961
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8962
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
8963
|
+
apiVersion: z.ZodOptional<z.ZodString>;
|
|
8964
|
+
useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
|
|
8965
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8966
|
+
region: z.ZodOptional<z.ZodString>;
|
|
8967
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8968
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
8969
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8970
|
+
project: z.ZodOptional<z.ZodString>;
|
|
8971
|
+
location: z.ZodOptional<z.ZodString>;
|
|
8972
|
+
}, z.core.$strip>]>>;
|
|
8973
|
+
}, z.core.$strip>;
|
|
8974
|
+
};
|
|
8975
|
+
declare const response$3: z.ZodObject<{
|
|
8976
|
+
data: z.ZodObject<{
|
|
8977
|
+
providerSetting: z.ZodObject<{
|
|
8978
|
+
type: z.ZodLiteral<"providerSetting">;
|
|
8979
|
+
id: z.ZodString;
|
|
8980
|
+
provider: z.ZodEnum<{
|
|
8981
|
+
anthropic: "anthropic";
|
|
8982
|
+
google: "google";
|
|
8983
|
+
openai: "openai";
|
|
8984
|
+
deepseek: "deepseek";
|
|
8985
|
+
"azure-openai": "azure-openai";
|
|
8986
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
8987
|
+
"google-vertex": "google-vertex";
|
|
8988
|
+
}>;
|
|
8989
|
+
settings: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
8990
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
8991
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8992
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8993
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
8994
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8995
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8996
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
8997
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8998
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
8999
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9000
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9001
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9002
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9003
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9004
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9005
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9006
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9007
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
9008
|
+
apiVersion: z.ZodOptional<z.ZodString>;
|
|
9009
|
+
useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
|
|
9010
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9011
|
+
region: z.ZodOptional<z.ZodString>;
|
|
9012
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9013
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9014
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9015
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9016
|
+
location: z.ZodOptional<z.ZodString>;
|
|
9017
|
+
}, z.core.$strip>]>>;
|
|
9018
|
+
createdAt: z.ZodString;
|
|
9019
|
+
updatedAt: z.ZodString;
|
|
9020
|
+
}, z.core.$strip>;
|
|
9021
|
+
}, z.core.$strip>;
|
|
9022
|
+
}, z.core.$strip>;
|
|
9023
|
+
type RequestBody$1 = z.infer<typeof request$1.body>;
|
|
9024
|
+
type Response$4 = z.infer<typeof response$3>;
|
|
9025
|
+
//#endregion
|
|
9026
|
+
//#region ../models/src/api/provider-settings/get.d.ts
|
|
9027
|
+
declare const response$2: z.ZodObject<{
|
|
9028
|
+
data: z.ZodObject<{
|
|
9029
|
+
providerSetting: z.ZodObject<{
|
|
9030
|
+
type: z.ZodLiteral<"providerSetting">;
|
|
9031
|
+
id: z.ZodString;
|
|
9032
|
+
provider: z.ZodEnum<{
|
|
9033
|
+
anthropic: "anthropic";
|
|
9034
|
+
google: "google";
|
|
9035
|
+
openai: "openai";
|
|
9036
|
+
deepseek: "deepseek";
|
|
9037
|
+
"azure-openai": "azure-openai";
|
|
9038
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
9039
|
+
"google-vertex": "google-vertex";
|
|
9040
|
+
}>;
|
|
9041
|
+
settings: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
9042
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9043
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9044
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9045
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9046
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9047
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9048
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9049
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9050
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
9051
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9052
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9053
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9054
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9055
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9056
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9057
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9058
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9059
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
9060
|
+
apiVersion: z.ZodOptional<z.ZodString>;
|
|
9061
|
+
useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
|
|
9062
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9063
|
+
region: z.ZodOptional<z.ZodString>;
|
|
9064
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9065
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9066
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9067
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9068
|
+
location: z.ZodOptional<z.ZodString>;
|
|
9069
|
+
}, z.core.$strip>]>>;
|
|
9070
|
+
createdAt: z.ZodString;
|
|
9071
|
+
updatedAt: z.ZodString;
|
|
8971
9072
|
}, z.core.$strip>;
|
|
9073
|
+
apiKeys: z.ZodArray<z.ZodObject<{
|
|
9074
|
+
id: z.ZodString;
|
|
9075
|
+
name: z.ZodString;
|
|
9076
|
+
createdAt: z.ZodString;
|
|
9077
|
+
updatedAt: z.ZodString;
|
|
9078
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
9079
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
9080
|
+
}, z.core.$strip>>;
|
|
8972
9081
|
}, z.core.$strip>;
|
|
8973
9082
|
}, z.core.$strip>;
|
|
8974
|
-
type
|
|
8975
|
-
|
|
8976
|
-
|
|
8977
|
-
declare namespace get_d_exports {
|
|
8978
|
-
export { Response$1 as Response, Workspace, WorkspaceCommit, WorkspaceStats, request$1 as request, response$1 as response, workspaceSchema };
|
|
8979
|
-
}
|
|
8980
|
-
declare const workspaceCommitSchema: z.ZodObject<{
|
|
8981
|
-
sha: z.ZodString;
|
|
8982
|
-
message: z.ZodString;
|
|
8983
|
-
author: z.ZodString;
|
|
8984
|
-
timestamp: z.ZodString;
|
|
8985
|
-
}, z.core.$strip>;
|
|
8986
|
-
declare const workspaceStatsSchema: z.ZodObject<{
|
|
8987
|
-
commits: z.ZodNumber;
|
|
8988
|
-
filesChanged: z.ZodNumber;
|
|
8989
|
-
additions: z.ZodNumber;
|
|
8990
|
-
deletions: z.ZodNumber;
|
|
8991
|
-
}, z.core.$strip>;
|
|
8992
|
-
declare const workspaceSchema: z.ZodObject<{
|
|
8993
|
-
jobId: z.ZodString;
|
|
8994
|
-
branch: z.ZodString;
|
|
8995
|
-
baseBranch: z.ZodString;
|
|
8996
|
-
lastCommit: z.ZodOptional<z.ZodObject<{
|
|
8997
|
-
sha: z.ZodString;
|
|
8998
|
-
message: z.ZodString;
|
|
8999
|
-
author: z.ZodString;
|
|
9000
|
-
timestamp: z.ZodString;
|
|
9001
|
-
}, z.core.$strip>>;
|
|
9002
|
-
stats: z.ZodOptional<z.ZodObject<{
|
|
9003
|
-
commits: z.ZodNumber;
|
|
9004
|
-
filesChanged: z.ZodNumber;
|
|
9005
|
-
additions: z.ZodNumber;
|
|
9006
|
-
deletions: z.ZodNumber;
|
|
9007
|
-
}, z.core.$strip>>;
|
|
9008
|
-
}, z.core.$strip>;
|
|
9009
|
-
type WorkspaceCommit = z.infer<typeof workspaceCommitSchema>;
|
|
9010
|
-
type WorkspaceStats = z.infer<typeof workspaceStatsSchema>;
|
|
9011
|
-
type Workspace = z.infer<typeof workspaceSchema>;
|
|
9012
|
-
declare const request$1: {
|
|
9013
|
-
params: z.ZodObject<{
|
|
9014
|
-
jobId: z.ZodCUID2;
|
|
9015
|
-
}, z.core.$strip>;
|
|
9016
|
-
};
|
|
9083
|
+
type Response$3 = z.infer<typeof response$2>;
|
|
9084
|
+
//#endregion
|
|
9085
|
+
//#region ../models/src/api/provider-settings/getAll.d.ts
|
|
9017
9086
|
declare const response$1: z.ZodObject<{
|
|
9018
9087
|
data: z.ZodObject<{
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
|
|
9022
|
-
|
|
9023
|
-
|
|
9024
|
-
|
|
9025
|
-
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
|
|
9029
|
-
|
|
9030
|
-
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
|
|
9034
|
-
}, z.core.$strip
|
|
9035
|
-
|
|
9088
|
+
providerSettings: z.ZodArray<z.ZodObject<{
|
|
9089
|
+
type: z.ZodLiteral<"providerSetting">;
|
|
9090
|
+
id: z.ZodString;
|
|
9091
|
+
provider: z.ZodEnum<{
|
|
9092
|
+
anthropic: "anthropic";
|
|
9093
|
+
google: "google";
|
|
9094
|
+
openai: "openai";
|
|
9095
|
+
deepseek: "deepseek";
|
|
9096
|
+
"azure-openai": "azure-openai";
|
|
9097
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
9098
|
+
"google-vertex": "google-vertex";
|
|
9099
|
+
}>;
|
|
9100
|
+
settings: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
9101
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9102
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9103
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9104
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9105
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9106
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9107
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9108
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9109
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
9110
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9111
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9113
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9114
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9115
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9116
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9117
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9118
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
9119
|
+
apiVersion: z.ZodOptional<z.ZodString>;
|
|
9120
|
+
useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
|
|
9121
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9122
|
+
region: z.ZodOptional<z.ZodString>;
|
|
9123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9124
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9125
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9126
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9127
|
+
location: z.ZodOptional<z.ZodString>;
|
|
9128
|
+
}, z.core.$strip>]>>;
|
|
9129
|
+
createdAt: z.ZodString;
|
|
9130
|
+
updatedAt: z.ZodString;
|
|
9131
|
+
}, z.core.$strip>>;
|
|
9036
9132
|
}, z.core.$strip>;
|
|
9037
9133
|
}, z.core.$strip>;
|
|
9038
|
-
type Response$
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
}
|
|
9042
|
-
declare const workspaceItemSchema: z.ZodObject<{
|
|
9043
|
-
type: z.ZodEnum<{
|
|
9044
|
-
file: "file";
|
|
9045
|
-
directory: "directory";
|
|
9046
|
-
}>;
|
|
9047
|
-
path: z.ZodString;
|
|
9048
|
-
name: z.ZodString;
|
|
9049
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
9050
|
-
sha: z.ZodOptional<z.ZodString>;
|
|
9051
|
-
}, z.core.$strip>;
|
|
9052
|
-
type WorkspaceItem = z.infer<typeof workspaceItemSchema>;
|
|
9134
|
+
type Response$2 = z.infer<typeof response$1>;
|
|
9135
|
+
//#endregion
|
|
9136
|
+
//#region ../models/src/api/provider-settings/update.d.ts
|
|
9053
9137
|
declare const request: {
|
|
9054
9138
|
params: z.ZodObject<{
|
|
9055
|
-
|
|
9139
|
+
applicationId: z.ZodString;
|
|
9140
|
+
provider: z.ZodEnum<{
|
|
9141
|
+
anthropic: "anthropic";
|
|
9142
|
+
google: "google";
|
|
9143
|
+
openai: "openai";
|
|
9144
|
+
deepseek: "deepseek";
|
|
9145
|
+
"azure-openai": "azure-openai";
|
|
9146
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
9147
|
+
"google-vertex": "google-vertex";
|
|
9148
|
+
}>;
|
|
9056
9149
|
}, z.core.$strip>;
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
|
|
9150
|
+
body: z.ZodObject<{
|
|
9151
|
+
settings: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
9152
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9153
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9155
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9156
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9158
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9159
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9160
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
9161
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9162
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9164
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9165
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9166
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9167
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9168
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9169
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
9170
|
+
apiVersion: z.ZodOptional<z.ZodString>;
|
|
9171
|
+
useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
|
|
9172
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9173
|
+
region: z.ZodOptional<z.ZodString>;
|
|
9174
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9175
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9176
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9177
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9178
|
+
location: z.ZodOptional<z.ZodString>;
|
|
9179
|
+
}, z.core.$strip>]>>;
|
|
9060
9180
|
}, z.core.$strip>;
|
|
9061
9181
|
};
|
|
9062
9182
|
declare const response: z.ZodObject<{
|
|
9063
9183
|
data: z.ZodObject<{
|
|
9064
|
-
|
|
9065
|
-
type: z.
|
|
9066
|
-
|
|
9067
|
-
|
|
9184
|
+
providerSetting: z.ZodObject<{
|
|
9185
|
+
type: z.ZodLiteral<"providerSetting">;
|
|
9186
|
+
id: z.ZodString;
|
|
9187
|
+
provider: z.ZodEnum<{
|
|
9188
|
+
anthropic: "anthropic";
|
|
9189
|
+
google: "google";
|
|
9190
|
+
openai: "openai";
|
|
9191
|
+
deepseek: "deepseek";
|
|
9192
|
+
"azure-openai": "azure-openai";
|
|
9193
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
9194
|
+
"google-vertex": "google-vertex";
|
|
9068
9195
|
}>;
|
|
9069
|
-
|
|
9070
|
-
|
|
9071
|
-
|
|
9072
|
-
|
|
9073
|
-
|
|
9196
|
+
settings: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
9197
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9198
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9199
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9200
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9201
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9202
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9203
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9204
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9205
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
9206
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9207
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9209
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9210
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9211
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9212
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9213
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9214
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
9215
|
+
apiVersion: z.ZodOptional<z.ZodString>;
|
|
9216
|
+
useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
|
|
9217
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9218
|
+
region: z.ZodOptional<z.ZodString>;
|
|
9219
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9220
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9221
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9222
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9223
|
+
location: z.ZodOptional<z.ZodString>;
|
|
9224
|
+
}, z.core.$strip>]>>;
|
|
9225
|
+
createdAt: z.ZodString;
|
|
9226
|
+
updatedAt: z.ZodString;
|
|
9227
|
+
}, z.core.$strip>;
|
|
9074
9228
|
}, z.core.$strip>;
|
|
9075
9229
|
}, z.core.$strip>;
|
|
9076
|
-
type
|
|
9077
|
-
type
|
|
9078
|
-
type Response = z.infer<typeof response>;
|
|
9079
|
-
declare namespace index_d_exports$4 {
|
|
9080
|
-
export { get_d_exports as Get, tree_d_exports as Tree };
|
|
9081
|
-
}
|
|
9082
|
-
declare namespace index_d_exports$3 {
|
|
9083
|
-
export { index_d_exports$5 as Checkpoints, continue_d_exports as Continue, create_d_exports as Create, get_d_exports$1 as Get, getAll_d_exports as GetAll, update_d_exports as Update, index_d_exports$4 as Workspace };
|
|
9084
|
-
}
|
|
9230
|
+
type RequestBody = z.infer<typeof request.body>;
|
|
9231
|
+
type Response$1 = z.infer<typeof response>;
|
|
9085
9232
|
//#endregion
|
|
9086
9233
|
//#region ../models/src/domain/apiKey.d.ts
|
|
9087
9234
|
declare const apiKeyPermissionsSchema: z.ZodObject<{
|
|
@@ -9099,11 +9246,11 @@ declare const applicationStatusSchema: z.ZodEnum<{
|
|
|
9099
9246
|
type ApplicationStatus = z.infer<typeof applicationStatusSchema>;
|
|
9100
9247
|
declare const applicationSchema: z.ZodObject<{
|
|
9101
9248
|
type: z.ZodLiteral<"application">;
|
|
9102
|
-
id: z.
|
|
9103
|
-
organizationId: z.
|
|
9249
|
+
id: z.ZodString;
|
|
9250
|
+
organizationId: z.ZodString;
|
|
9104
9251
|
organization: z.ZodObject<{
|
|
9105
9252
|
type: z.ZodLiteral<"organization">;
|
|
9106
|
-
id: z.
|
|
9253
|
+
id: z.ZodString;
|
|
9107
9254
|
createdAt: z.ZodString;
|
|
9108
9255
|
updatedAt: z.ZodString;
|
|
9109
9256
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -9131,6 +9278,16 @@ declare const applicationSchema: z.ZodObject<{
|
|
|
9131
9278
|
inactive: "inactive";
|
|
9132
9279
|
deleted: "deleted";
|
|
9133
9280
|
}>;
|
|
9281
|
+
expertCount: z.ZodOptional<z.ZodNumber>;
|
|
9282
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9283
|
+
anthropic: "anthropic";
|
|
9284
|
+
google: "google";
|
|
9285
|
+
openai: "openai";
|
|
9286
|
+
deepseek: "deepseek";
|
|
9287
|
+
"azure-openai": "azure-openai";
|
|
9288
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
9289
|
+
"google-vertex": "google-vertex";
|
|
9290
|
+
}>>>;
|
|
9134
9291
|
}, z.core.$strip>;
|
|
9135
9292
|
type Application = z.infer<typeof applicationSchema>;
|
|
9136
9293
|
//#endregion
|
|
@@ -9145,9 +9302,9 @@ type Application = z.infer<typeof applicationSchema>;
|
|
|
9145
9302
|
*/
|
|
9146
9303
|
declare const apiCheckpointSchema: z.ZodObject<{
|
|
9147
9304
|
type: z.ZodLiteral<"checkpoint">;
|
|
9148
|
-
id: z.
|
|
9149
|
-
jobId: z.
|
|
9150
|
-
runId: z.
|
|
9305
|
+
id: z.ZodString;
|
|
9306
|
+
jobId: z.ZodString;
|
|
9307
|
+
runId: z.ZodString;
|
|
9151
9308
|
activities: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9152
9309
|
id: z.ZodString;
|
|
9153
9310
|
expertKey: z.ZodString;
|
|
@@ -10160,8 +10317,8 @@ declare const apiCheckpointSchema: z.ZodObject<{
|
|
|
10160
10317
|
}, z.core.$strip>;
|
|
10161
10318
|
toolCallId: z.ZodString;
|
|
10162
10319
|
toolName: z.ZodString;
|
|
10163
|
-
checkpointId: z.
|
|
10164
|
-
runId: z.
|
|
10320
|
+
checkpointId: z.ZodString;
|
|
10321
|
+
runId: z.ZodString;
|
|
10165
10322
|
}, z.core.$strip>>;
|
|
10166
10323
|
inputMessages: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
10167
10324
|
id: z.ZodString;
|
|
@@ -10650,9 +10807,10 @@ declare const expertSchema: z.ZodObject<{
|
|
|
10650
10807
|
type Expert = z.infer<typeof expertSchema>;
|
|
10651
10808
|
declare const expertMetadataSchema: z.ZodObject<{
|
|
10652
10809
|
scope: z.ZodObject<{
|
|
10653
|
-
id: z.
|
|
10810
|
+
id: z.ZodString;
|
|
10654
10811
|
name: z.ZodString;
|
|
10655
|
-
organizationId: z.
|
|
10812
|
+
organizationId: z.ZodString;
|
|
10813
|
+
expertDraftScopeId: z.ZodString;
|
|
10656
10814
|
published: z.ZodBoolean;
|
|
10657
10815
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
10658
10816
|
category: z.ZodEnum<{
|
|
@@ -10668,12 +10826,12 @@ declare const expertMetadataSchema: z.ZodObject<{
|
|
|
10668
10826
|
totalStars: z.ZodNumber;
|
|
10669
10827
|
createdAt: z.ZodString;
|
|
10670
10828
|
updatedAt: z.ZodString;
|
|
10671
|
-
createdBy: z.
|
|
10672
|
-
updatedBy: z.
|
|
10829
|
+
createdBy: z.ZodString;
|
|
10830
|
+
updatedBy: z.ZodString;
|
|
10673
10831
|
}, z.core.$strip>;
|
|
10674
10832
|
version: z.ZodObject<{
|
|
10675
|
-
id: z.
|
|
10676
|
-
expertScopeId: z.
|
|
10833
|
+
id: z.ZodString;
|
|
10834
|
+
expertScopeId: z.ZodString;
|
|
10677
10835
|
version: z.ZodString;
|
|
10678
10836
|
public: z.ZodBoolean;
|
|
10679
10837
|
yanked: z.ZodBoolean;
|
|
@@ -10681,8 +10839,8 @@ declare const expertMetadataSchema: z.ZodObject<{
|
|
|
10681
10839
|
totalJobs: z.ZodNumber;
|
|
10682
10840
|
createdAt: z.ZodString;
|
|
10683
10841
|
updatedAt: z.ZodString;
|
|
10684
|
-
createdBy: z.
|
|
10685
|
-
updatedBy: z.
|
|
10842
|
+
createdBy: z.ZodString;
|
|
10843
|
+
updatedBy: z.ZodString;
|
|
10686
10844
|
tags: z.ZodArray<z.ZodString>;
|
|
10687
10845
|
}, z.core.$strip>;
|
|
10688
10846
|
}, z.core.$strip>;
|
|
@@ -10727,9 +10885,10 @@ declare const expertWithMetadataSchema: z.ZodObject<{
|
|
|
10727
10885
|
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
10728
10886
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
10729
10887
|
scope: z.ZodObject<{
|
|
10730
|
-
id: z.
|
|
10888
|
+
id: z.ZodString;
|
|
10731
10889
|
name: z.ZodString;
|
|
10732
|
-
organizationId: z.
|
|
10890
|
+
organizationId: z.ZodString;
|
|
10891
|
+
expertDraftScopeId: z.ZodString;
|
|
10733
10892
|
published: z.ZodBoolean;
|
|
10734
10893
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
10735
10894
|
category: z.ZodEnum<{
|
|
@@ -10745,12 +10904,12 @@ declare const expertWithMetadataSchema: z.ZodObject<{
|
|
|
10745
10904
|
totalStars: z.ZodNumber;
|
|
10746
10905
|
createdAt: z.ZodString;
|
|
10747
10906
|
updatedAt: z.ZodString;
|
|
10748
|
-
createdBy: z.
|
|
10749
|
-
updatedBy: z.
|
|
10907
|
+
createdBy: z.ZodString;
|
|
10908
|
+
updatedBy: z.ZodString;
|
|
10750
10909
|
}, z.core.$strip>;
|
|
10751
10910
|
version: z.ZodObject<{
|
|
10752
|
-
id: z.
|
|
10753
|
-
expertScopeId: z.
|
|
10911
|
+
id: z.ZodString;
|
|
10912
|
+
expertScopeId: z.ZodString;
|
|
10754
10913
|
version: z.ZodString;
|
|
10755
10914
|
public: z.ZodBoolean;
|
|
10756
10915
|
yanked: z.ZodBoolean;
|
|
@@ -10758,8 +10917,8 @@ declare const expertWithMetadataSchema: z.ZodObject<{
|
|
|
10758
10917
|
totalJobs: z.ZodNumber;
|
|
10759
10918
|
createdAt: z.ZodString;
|
|
10760
10919
|
updatedAt: z.ZodString;
|
|
10761
|
-
createdBy: z.
|
|
10762
|
-
updatedBy: z.
|
|
10920
|
+
createdBy: z.ZodString;
|
|
10921
|
+
updatedBy: z.ZodString;
|
|
10763
10922
|
tags: z.ZodArray<z.ZodString>;
|
|
10764
10923
|
}, z.core.$strip>;
|
|
10765
10924
|
}, z.core.$strip>;
|
|
@@ -10768,37 +10927,38 @@ type ExpertWithMetadata = z.infer<typeof expertWithMetadataSchema>;
|
|
|
10768
10927
|
//#endregion
|
|
10769
10928
|
//#region ../models/src/domain/expertDraftScope.d.ts
|
|
10770
10929
|
declare const expertDraftScopeSchema: z.ZodObject<{
|
|
10771
|
-
id: z.
|
|
10930
|
+
id: z.ZodString;
|
|
10772
10931
|
name: z.ZodString;
|
|
10773
|
-
organizationId: z.
|
|
10774
|
-
applicationId: z.
|
|
10932
|
+
organizationId: z.ZodString;
|
|
10933
|
+
applicationId: z.ZodString;
|
|
10775
10934
|
totalRuns: z.ZodNumber;
|
|
10776
10935
|
totalJobs: z.ZodNumber;
|
|
10777
10936
|
createdAt: z.ZodString;
|
|
10778
10937
|
updatedAt: z.ZodString;
|
|
10779
|
-
createdBy: z.
|
|
10780
|
-
updatedBy: z.
|
|
10938
|
+
createdBy: z.ZodString;
|
|
10939
|
+
updatedBy: z.ZodString;
|
|
10781
10940
|
}, z.core.$strip>;
|
|
10782
10941
|
/** Mutable workspace for developing experts. Per-application until versioned. */
|
|
10783
10942
|
type ExpertDraftScope = z.infer<typeof expertDraftScopeSchema>;
|
|
10784
10943
|
declare const expertDraftRefSchema: z.ZodObject<{
|
|
10785
|
-
id: z.
|
|
10786
|
-
expertDraftScopeId: z.
|
|
10944
|
+
id: z.ZodString;
|
|
10945
|
+
expertDraftScopeId: z.ZodString;
|
|
10787
10946
|
totalRuns: z.ZodNumber;
|
|
10788
10947
|
totalJobs: z.ZodNumber;
|
|
10789
10948
|
createdAt: z.ZodString;
|
|
10790
10949
|
updatedAt: z.ZodString;
|
|
10791
|
-
createdBy: z.
|
|
10792
|
-
updatedBy: z.
|
|
10950
|
+
createdBy: z.ZodString;
|
|
10951
|
+
updatedBy: z.ZodString;
|
|
10793
10952
|
}, z.core.$strip>;
|
|
10794
10953
|
/** Snapshot of a draft scope. Each update creates a new ref. */
|
|
10795
10954
|
type ExpertDraftRef = z.infer<typeof expertDraftRefSchema>;
|
|
10796
10955
|
//#endregion
|
|
10797
10956
|
//#region ../models/src/domain/expertScope.d.ts
|
|
10798
10957
|
declare const expertScopeSchema: z.ZodObject<{
|
|
10799
|
-
id: z.
|
|
10958
|
+
id: z.ZodString;
|
|
10800
10959
|
name: z.ZodString;
|
|
10801
|
-
organizationId: z.
|
|
10960
|
+
organizationId: z.ZodString;
|
|
10961
|
+
expertDraftScopeId: z.ZodString;
|
|
10802
10962
|
published: z.ZodBoolean;
|
|
10803
10963
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
10804
10964
|
category: z.ZodEnum<{
|
|
@@ -10814,14 +10974,14 @@ declare const expertScopeSchema: z.ZodObject<{
|
|
|
10814
10974
|
totalStars: z.ZodNumber;
|
|
10815
10975
|
createdAt: z.ZodString;
|
|
10816
10976
|
updatedAt: z.ZodString;
|
|
10817
|
-
createdBy: z.
|
|
10818
|
-
updatedBy: z.
|
|
10977
|
+
createdBy: z.ZodString;
|
|
10978
|
+
updatedBy: z.ZodString;
|
|
10819
10979
|
}, z.core.$strip>;
|
|
10820
10980
|
/** Namespace for versioned experts. Globally unique name owned by an organization. */
|
|
10821
10981
|
type ExpertScope = z.infer<typeof expertScopeSchema>;
|
|
10822
10982
|
declare const expertVersionSchema: z.ZodObject<{
|
|
10823
|
-
id: z.
|
|
10824
|
-
expertScopeId: z.
|
|
10983
|
+
id: z.ZodString;
|
|
10984
|
+
expertScopeId: z.ZodString;
|
|
10825
10985
|
version: z.ZodString;
|
|
10826
10986
|
public: z.ZodBoolean;
|
|
10827
10987
|
yanked: z.ZodBoolean;
|
|
@@ -10829,8 +10989,8 @@ declare const expertVersionSchema: z.ZodObject<{
|
|
|
10829
10989
|
totalJobs: z.ZodNumber;
|
|
10830
10990
|
createdAt: z.ZodString;
|
|
10831
10991
|
updatedAt: z.ZodString;
|
|
10832
|
-
createdBy: z.
|
|
10833
|
-
updatedBy: z.
|
|
10992
|
+
createdBy: z.ZodString;
|
|
10993
|
+
updatedBy: z.ZodString;
|
|
10834
10994
|
tags: z.ZodArray<z.ZodString>;
|
|
10835
10995
|
}, z.core.$strip>;
|
|
10836
10996
|
/** Immutable version record in DB. Content stored in R2. See `expert.ts` for version string schema. */
|
|
@@ -10860,9 +11020,9 @@ declare const jobStatusSchema: z.ZodEnum<{
|
|
|
10860
11020
|
type JobStatus = z.infer<typeof jobStatusSchema>;
|
|
10861
11021
|
declare const jobSchema: z.ZodObject<{
|
|
10862
11022
|
type: z.ZodLiteral<"job">;
|
|
10863
|
-
id: z.
|
|
10864
|
-
organizationId: z.
|
|
10865
|
-
applicationId: z.
|
|
11023
|
+
id: z.ZodString;
|
|
11024
|
+
organizationId: z.ZodString;
|
|
11025
|
+
applicationId: z.ZodString;
|
|
10866
11026
|
createdAt: z.ZodString;
|
|
10867
11027
|
updatedAt: z.ZodString;
|
|
10868
11028
|
status: z.ZodEnum<{
|
|
@@ -10919,9 +11079,10 @@ declare const jobSchema: z.ZodObject<{
|
|
|
10919
11079
|
delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
10920
11080
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
10921
11081
|
scope: z.ZodObject<{
|
|
10922
|
-
id: z.
|
|
11082
|
+
id: z.ZodString;
|
|
10923
11083
|
name: z.ZodString;
|
|
10924
|
-
organizationId: z.
|
|
11084
|
+
organizationId: z.ZodString;
|
|
11085
|
+
expertDraftScopeId: z.ZodString;
|
|
10925
11086
|
published: z.ZodBoolean;
|
|
10926
11087
|
publishedAt: z.ZodOptional<z.ZodString>;
|
|
10927
11088
|
category: z.ZodEnum<{
|
|
@@ -10937,12 +11098,12 @@ declare const jobSchema: z.ZodObject<{
|
|
|
10937
11098
|
totalStars: z.ZodNumber;
|
|
10938
11099
|
createdAt: z.ZodString;
|
|
10939
11100
|
updatedAt: z.ZodString;
|
|
10940
|
-
createdBy: z.
|
|
10941
|
-
updatedBy: z.
|
|
11101
|
+
createdBy: z.ZodString;
|
|
11102
|
+
updatedBy: z.ZodString;
|
|
10942
11103
|
}, z.core.$strip>;
|
|
10943
11104
|
version: z.ZodObject<{
|
|
10944
|
-
id: z.
|
|
10945
|
-
expertScopeId: z.
|
|
11105
|
+
id: z.ZodString;
|
|
11106
|
+
expertScopeId: z.ZodString;
|
|
10946
11107
|
version: z.ZodString;
|
|
10947
11108
|
public: z.ZodBoolean;
|
|
10948
11109
|
yanked: z.ZodBoolean;
|
|
@@ -10950,8 +11111,8 @@ declare const jobSchema: z.ZodObject<{
|
|
|
10950
11111
|
totalJobs: z.ZodNumber;
|
|
10951
11112
|
createdAt: z.ZodString;
|
|
10952
11113
|
updatedAt: z.ZodString;
|
|
10953
|
-
createdBy: z.
|
|
10954
|
-
updatedBy: z.
|
|
11114
|
+
createdBy: z.ZodString;
|
|
11115
|
+
updatedBy: z.ZodString;
|
|
10955
11116
|
tags: z.ZodArray<z.ZodString>;
|
|
10956
11117
|
}, z.core.$strip>;
|
|
10957
11118
|
}, z.core.$strip>;
|
|
@@ -10959,7 +11120,6 @@ declare const jobSchema: z.ZodObject<{
|
|
|
10959
11120
|
anthropic: "anthropic";
|
|
10960
11121
|
google: "google";
|
|
10961
11122
|
openai: "openai";
|
|
10962
|
-
ollama: "ollama";
|
|
10963
11123
|
deepseek: "deepseek";
|
|
10964
11124
|
"azure-openai": "azure-openai";
|
|
10965
11125
|
"amazon-bedrock": "amazon-bedrock";
|
|
@@ -11006,7 +11166,7 @@ declare const organizationTypeSchema: z.ZodEnum<{
|
|
|
11006
11166
|
type OrganizationType = z.infer<typeof organizationTypeSchema>;
|
|
11007
11167
|
declare const organizationSchema: z.ZodObject<{
|
|
11008
11168
|
type: z.ZodLiteral<"organization">;
|
|
11009
|
-
id: z.
|
|
11169
|
+
id: z.ZodString;
|
|
11010
11170
|
createdAt: z.ZodString;
|
|
11011
11171
|
updatedAt: z.ZodString;
|
|
11012
11172
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -11045,6 +11205,23 @@ declare const variableResponseSchema: z.ZodObject<{
|
|
|
11045
11205
|
}, z.core.$strip>;
|
|
11046
11206
|
type VariableResponse = z.infer<typeof variableResponseSchema>;
|
|
11047
11207
|
//#endregion
|
|
11208
|
+
//#region src/lib/api-key.d.ts
|
|
11209
|
+
declare function matchWildcard(value: string, pattern: string): boolean;
|
|
11210
|
+
declare function matchOperations(operations: string[], requiredOperation: string): boolean;
|
|
11211
|
+
declare function matchExperts(experts: string[] | "*" | undefined, expertId: string): boolean;
|
|
11212
|
+
declare function parseApiKeyPermissions(permissionsJson: string | null): ApiKeyPermissions | null;
|
|
11213
|
+
declare function stringifyApiKeyPermissions(permissions: ApiKeyPermissions): string;
|
|
11214
|
+
//#endregion
|
|
11215
|
+
//#region src/lib/auth.d.ts
|
|
11216
|
+
type AuthOptions = {
|
|
11217
|
+
type: "apiKey";
|
|
11218
|
+
apiKey: string;
|
|
11219
|
+
} | {
|
|
11220
|
+
type: "cookie";
|
|
11221
|
+
cookie: string;
|
|
11222
|
+
};
|
|
11223
|
+
declare function buildAuthHeaders(auth: AuthOptions): Record<string, string>;
|
|
11224
|
+
//#endregion
|
|
11048
11225
|
//#region src/lib/fetcher.d.ts
|
|
11049
11226
|
type ApiResult<T> = {
|
|
11050
11227
|
ok: true;
|
|
@@ -11053,11 +11230,14 @@ type ApiResult<T> = {
|
|
|
11053
11230
|
ok: false;
|
|
11054
11231
|
error: ApiError;
|
|
11055
11232
|
};
|
|
11233
|
+
type ApiErrorType = "http" | "network" | "timeout" | "validation" | "abort";
|
|
11056
11234
|
interface ApiError {
|
|
11235
|
+
errorType: ApiErrorType;
|
|
11057
11236
|
code: number;
|
|
11058
11237
|
message: string;
|
|
11059
11238
|
reason?: unknown;
|
|
11060
11239
|
aborted?: boolean;
|
|
11240
|
+
cause?: Error;
|
|
11061
11241
|
}
|
|
11062
11242
|
type ApiClientConfig = {
|
|
11063
11243
|
apiKey: string;
|
|
@@ -11071,42 +11251,97 @@ type ApiClientConfig = {
|
|
|
11071
11251
|
interface RequestOptions {
|
|
11072
11252
|
signal?: AbortSignal;
|
|
11073
11253
|
}
|
|
11254
|
+
interface StreamRequestOptions extends RequestOptions {
|
|
11255
|
+
/**
|
|
11256
|
+
* Timeout in milliseconds between stream data chunks.
|
|
11257
|
+
* If no data is received within this period, the stream will be aborted.
|
|
11258
|
+
* Defaults to the client's configured timeout.
|
|
11259
|
+
*/
|
|
11260
|
+
streamIdleTimeout?: number;
|
|
11261
|
+
}
|
|
11074
11262
|
interface Fetcher {
|
|
11075
11263
|
get<T>(path: string, options?: RequestOptions): Promise<ApiResult<T>>;
|
|
11076
11264
|
post<T>(path: string, body: unknown, options?: RequestOptions): Promise<ApiResult<T>>;
|
|
11077
11265
|
put<T>(path: string, body: unknown, options?: RequestOptions): Promise<ApiResult<T>>;
|
|
11078
11266
|
delete<T>(path: string, options?: RequestOptions): Promise<ApiResult<T>>;
|
|
11079
|
-
/** DELETE request expecting 204 No Content response */
|
|
11080
11267
|
deleteNoContent(path: string, options?: RequestOptions): Promise<ApiResult<void>>;
|
|
11081
11268
|
getBlob(path: string, options?: RequestOptions): Promise<ApiResult<Blob>>;
|
|
11082
|
-
getStream(path: string, options?:
|
|
11269
|
+
getStream(path: string, options?: StreamRequestOptions): Promise<ApiResult<ReadableStream<Uint8Array>>>;
|
|
11083
11270
|
}
|
|
11084
11271
|
declare function createFetcher(config: ApiClientConfig): Fetcher;
|
|
11085
11272
|
//#endregion
|
|
11273
|
+
//#region src/lib/errors.d.ts
|
|
11274
|
+
interface ValidationError {
|
|
11275
|
+
issues: ReadonlyArray<{
|
|
11276
|
+
path: ReadonlyArray<PropertyKey>;
|
|
11277
|
+
message: string;
|
|
11278
|
+
}>;
|
|
11279
|
+
}
|
|
11280
|
+
declare function createValidationError(error: ValidationError): ApiError;
|
|
11281
|
+
declare function createAbortError(): ApiError;
|
|
11282
|
+
declare function createTimeoutError(): ApiError;
|
|
11283
|
+
declare function createNetworkError(error: unknown): ApiError;
|
|
11284
|
+
declare function handleHttpError(response: Response): Promise<{
|
|
11285
|
+
ok: false;
|
|
11286
|
+
error: ApiError;
|
|
11287
|
+
}>;
|
|
11288
|
+
declare function createHttpError(status: number, statusText: string, body?: unknown): ApiError;
|
|
11289
|
+
declare function isHttpError(error: ApiError): boolean;
|
|
11290
|
+
declare function isNetworkError(error: ApiError): boolean;
|
|
11291
|
+
declare function isTimeoutError(error: ApiError): boolean;
|
|
11292
|
+
declare function isValidationError(error: ApiError): boolean;
|
|
11293
|
+
declare function isAbortError(error: ApiError): boolean;
|
|
11294
|
+
declare function isClientError(error: ApiError): boolean;
|
|
11295
|
+
//#endregion
|
|
11296
|
+
//#region src/lib/query-string.d.ts
|
|
11297
|
+
declare function buildQueryString<T extends Record<string, unknown>>(params?: T): string;
|
|
11298
|
+
//#endregion
|
|
11299
|
+
//#region src/lib/sse.d.ts
|
|
11300
|
+
interface StreamReader {
|
|
11301
|
+
read(): Promise<{
|
|
11302
|
+
value: Uint8Array | undefined;
|
|
11303
|
+
done: boolean;
|
|
11304
|
+
}>;
|
|
11305
|
+
}
|
|
11306
|
+
declare function parseSSE<T>(reader: StreamReader): AsyncGenerator<T>;
|
|
11307
|
+
//#endregion
|
|
11308
|
+
//#region src/endpoints/api-keys.d.ts
|
|
11309
|
+
interface ApiKeysApi {
|
|
11310
|
+
create(input: RequestBody$14, options?: RequestOptions): Promise<ApiResult<Response$43>>;
|
|
11311
|
+
list(input?: RequestQuery$10, options?: RequestOptions): Promise<ApiResult<Response$41>>;
|
|
11312
|
+
get(id: string, options?: RequestOptions): Promise<ApiResult<Response$42>>;
|
|
11313
|
+
revoke(id: string, options?: RequestOptions): Promise<ApiResult<Response$40>>;
|
|
11314
|
+
update(id: string, input: RequestBody$13, options?: RequestOptions): Promise<ApiResult<Response$39>>;
|
|
11315
|
+
}
|
|
11316
|
+
//#endregion
|
|
11086
11317
|
//#region src/endpoints/applications.d.ts
|
|
11087
11318
|
interface ApplicationsApi {
|
|
11088
|
-
list(params?: RequestQuery$
|
|
11089
|
-
get(id: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11090
|
-
create(input: RequestBody$12, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11091
|
-
update(id: string, input: RequestBody$11, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11092
|
-
delete(id: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11319
|
+
list(params?: RequestQuery$9, options?: RequestOptions): Promise<ApiResult<Response$35>>;
|
|
11320
|
+
get(id: string, options?: RequestOptions): Promise<ApiResult<Response$36>>;
|
|
11321
|
+
create(input: RequestBody$12, options?: RequestOptions): Promise<ApiResult<Response$36>>;
|
|
11322
|
+
update(id: string, input: RequestBody$11, options?: RequestOptions): Promise<ApiResult<Response$36>>;
|
|
11323
|
+
delete(id: string, options?: RequestOptions): Promise<ApiResult<Response$36>>;
|
|
11093
11324
|
}
|
|
11094
11325
|
//#endregion
|
|
11095
11326
|
//#region src/endpoints/env-secrets.d.ts
|
|
11096
11327
|
interface SecretsApi {
|
|
11097
|
-
list(
|
|
11098
|
-
|
|
11099
|
-
|
|
11100
|
-
|
|
11328
|
+
list(params?: {
|
|
11329
|
+
applicationId?: string;
|
|
11330
|
+
}, options?: RequestOptions): Promise<ApiResult<Response$30>>;
|
|
11331
|
+
get(name: string, options?: RequestOptions): Promise<ApiResult<Response$31>>;
|
|
11332
|
+
create(input: RequestBody$10, options?: RequestOptions): Promise<ApiResult<Response$31>>;
|
|
11333
|
+
update(name: string, input: RequestBody$9, options?: RequestOptions): Promise<ApiResult<Response$31>>;
|
|
11101
11334
|
delete(name: string, options?: RequestOptions): Promise<ApiResult<void>>;
|
|
11102
11335
|
}
|
|
11103
11336
|
//#endregion
|
|
11104
11337
|
//#region src/endpoints/env-variables.d.ts
|
|
11105
11338
|
interface VariablesApi {
|
|
11106
|
-
list(
|
|
11107
|
-
|
|
11108
|
-
|
|
11109
|
-
|
|
11339
|
+
list(params: {
|
|
11340
|
+
applicationId: string;
|
|
11341
|
+
}, options?: RequestOptions): Promise<ApiResult<Response$25>>;
|
|
11342
|
+
get(name: string, options?: RequestOptions): Promise<ApiResult<Response$26>>;
|
|
11343
|
+
create(input: RequestBody$8, options?: RequestOptions): Promise<ApiResult<Response$26>>;
|
|
11344
|
+
update(name: string, input: RequestBody$7, options?: RequestOptions): Promise<ApiResult<Response$26>>;
|
|
11110
11345
|
delete(name: string, options?: RequestOptions): Promise<ApiResult<void>>;
|
|
11111
11346
|
}
|
|
11112
11347
|
//#endregion
|
|
@@ -11116,118 +11351,64 @@ interface EnvApi {
|
|
|
11116
11351
|
variables: VariablesApi;
|
|
11117
11352
|
}
|
|
11118
11353
|
//#endregion
|
|
11119
|
-
//#region src/endpoints/experts-drafts.d.ts
|
|
11120
|
-
interface DraftsApi {
|
|
11121
|
-
list(scopeName: string, params?: RequestQuery$4, options?: RequestOptions): Promise<ApiResult<Response$20>>;
|
|
11122
|
-
get(scopeName: string, draftRef: string, options?: RequestOptions): Promise<ApiResult<Response$21>>;
|
|
11123
|
-
create(scopeName: string, input: RequestBody$6, options?: RequestOptions): Promise<ApiResult<Response$23>>;
|
|
11124
|
-
update(scopeName: string, draftRef: string, input: RequestBody$5, options?: RequestOptions): Promise<ApiResult<Response$19>>;
|
|
11125
|
-
delete(scopeName: string, draftRef: string, options?: RequestOptions): Promise<ApiResult<Response$22>>;
|
|
11126
|
-
assignVersion(scopeName: string, draftRef: string, input: RequestBody$4, options?: RequestOptions): Promise<ApiResult<Response$18>>;
|
|
11127
|
-
}
|
|
11128
|
-
//#endregion
|
|
11129
11354
|
//#region src/endpoints/experts-versions.d.ts
|
|
11130
11355
|
interface VersionsApi {
|
|
11131
|
-
list(scopeName: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11356
|
+
list(scopeName: string, options?: RequestOptions): Promise<ApiResult<Response$16>>;
|
|
11132
11357
|
}
|
|
11133
11358
|
//#endregion
|
|
11134
11359
|
//#region src/endpoints/experts.d.ts
|
|
11135
11360
|
interface ExpertsApi {
|
|
11136
|
-
list(params?: RequestQuery$
|
|
11137
|
-
get(key: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11138
|
-
getFeatured(options?: RequestOptions): Promise<ApiResult<Response$
|
|
11139
|
-
getMeta(key: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11140
|
-
publish(scopeName: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11141
|
-
unpublish(scopeName: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11142
|
-
yank(key: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11143
|
-
drafts: DraftsApi;
|
|
11361
|
+
list(params?: RequestQuery$2, options?: RequestOptions): Promise<ApiResult<Response$20>>;
|
|
11362
|
+
get(key: string, options?: RequestOptions): Promise<ApiResult<Response$21>>;
|
|
11363
|
+
getFeatured(options?: RequestOptions): Promise<ApiResult<Response$22>>;
|
|
11364
|
+
getMeta(key: string, options?: RequestOptions): Promise<ApiResult<Response$19>>;
|
|
11365
|
+
publish(scopeName: string, options?: RequestOptions): Promise<ApiResult<Response$18>>;
|
|
11366
|
+
unpublish(scopeName: string, options?: RequestOptions): Promise<ApiResult<Response$17>>;
|
|
11367
|
+
yank(key: string, options?: RequestOptions): Promise<ApiResult<Response$23>>;
|
|
11144
11368
|
versions: VersionsApi;
|
|
11145
11369
|
}
|
|
11146
11370
|
//#endregion
|
|
11147
11371
|
//#region src/endpoints/jobs-checkpoints.d.ts
|
|
11148
11372
|
interface CheckpointsApi {
|
|
11149
|
-
list(jobId: string, params?: RequestQuery$
|
|
11150
|
-
get(jobId: string, checkpointId: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11151
|
-
create(jobId: string, input: RequestBody$
|
|
11152
|
-
stream(jobId: string, options?:
|
|
11153
|
-
}
|
|
11154
|
-
//#endregion
|
|
11155
|
-
//#region src/endpoints/jobs-workspace.d.ts
|
|
11156
|
-
interface WorkspaceApi {
|
|
11157
|
-
get(jobId: string, options?: RequestOptions): Promise<ApiResult<Response$1>>;
|
|
11158
|
-
tree(jobId: string, params?: RequestQuery, options?: RequestOptions): Promise<ApiResult<Response>>;
|
|
11159
|
-
blob(jobId: string, path: string, options?: RequestOptions): Promise<ApiResult<Blob>>;
|
|
11373
|
+
list(jobId: string, params?: RequestQuery$1, options?: RequestOptions): Promise<ApiResult<Response$13>>;
|
|
11374
|
+
get(jobId: string, checkpointId: string, options?: RequestOptions): Promise<ApiResult<Response$14>>;
|
|
11375
|
+
create(jobId: string, input: RequestBody$6, options?: RequestOptions): Promise<ApiResult<Response$14>>;
|
|
11376
|
+
stream(jobId: string, options?: StreamRequestOptions): AsyncGenerator<ApiResult<ApiCheckpoint>, void, unknown>;
|
|
11160
11377
|
}
|
|
11161
11378
|
//#endregion
|
|
11162
11379
|
//#region src/endpoints/jobs.d.ts
|
|
11163
11380
|
interface JobsApi {
|
|
11164
|
-
list(params?: RequestQuery
|
|
11165
|
-
get(id: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11166
|
-
start(input: RequestBody$
|
|
11167
|
-
update(id: string, input: RequestBody, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11168
|
-
continue(id: string, input: RequestBody$
|
|
11169
|
-
cancel(id: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11381
|
+
list(params?: RequestQuery, options?: RequestOptions): Promise<ApiResult<Response$8>>;
|
|
11382
|
+
get(id: string, options?: RequestOptions): Promise<ApiResult<Response$9>>;
|
|
11383
|
+
start(input: RequestBody$4, options?: RequestOptions): Promise<ApiResult<Response$9>>;
|
|
11384
|
+
update(id: string, input: RequestBody$3, options?: RequestOptions): Promise<ApiResult<Response$9>>;
|
|
11385
|
+
continue(id: string, input: RequestBody$5, options?: RequestOptions): Promise<ApiResult<Response$9>>;
|
|
11386
|
+
cancel(id: string, options?: RequestOptions): Promise<ApiResult<Response$9>>;
|
|
11170
11387
|
checkpoints: CheckpointsApi;
|
|
11171
|
-
workspace: WorkspaceApi;
|
|
11172
11388
|
}
|
|
11173
11389
|
//#endregion
|
|
11174
|
-
//#region src/
|
|
11390
|
+
//#region src/endpoints/provider-settings.d.ts
|
|
11391
|
+
interface ProviderSettingsApi {
|
|
11392
|
+
list(applicationId: string, options?: RequestOptions): Promise<ApiResult<Response$2>>;
|
|
11393
|
+
get(applicationId: string, provider: string, options?: RequestOptions): Promise<ApiResult<Response$3>>;
|
|
11394
|
+
create(applicationId: string, input: RequestBody$1, options?: RequestOptions): Promise<ApiResult<Response$4>>;
|
|
11395
|
+
update(applicationId: string, provider: string, input: RequestBody, options?: RequestOptions): Promise<ApiResult<Response$1>>;
|
|
11396
|
+
delete(applicationId: string, provider: string, options?: RequestOptions): Promise<ApiResult<void>>;
|
|
11397
|
+
listApiKeys(applicationId: string, provider: string, options?: RequestOptions): Promise<ApiResult<Response$5>>;
|
|
11398
|
+
createApiKey(applicationId: string, provider: string, input: RequestBody$2, options?: RequestOptions): Promise<ApiResult<Response$6>>;
|
|
11399
|
+
deleteApiKey(applicationId: string, provider: string, apiKeyId: string, options?: RequestOptions): Promise<ApiResult<void>>;
|
|
11400
|
+
}
|
|
11401
|
+
//#endregion
|
|
11402
|
+
//#region src/public/client.d.ts
|
|
11175
11403
|
interface ApiClient {
|
|
11404
|
+
apiKeys: ApiKeysApi;
|
|
11176
11405
|
applications: ApplicationsApi;
|
|
11177
11406
|
env: EnvApi;
|
|
11178
11407
|
jobs: JobsApi;
|
|
11179
11408
|
experts: ExpertsApi;
|
|
11409
|
+
providerSettings: ProviderSettingsApi;
|
|
11180
11410
|
}
|
|
11181
11411
|
declare function createApiClient(config: ApiClientConfig): ApiClient;
|
|
11182
11412
|
//#endregion
|
|
11183
|
-
|
|
11184
|
-
declare function matchWildcard(value: string, pattern: string): boolean;
|
|
11185
|
-
declare function matchOperations(operations: string[], requiredOperation: string): boolean;
|
|
11186
|
-
declare function matchExperts(experts: string[] | "*" | undefined, expertId: string): boolean;
|
|
11187
|
-
declare function parseApiKeyPermissions(permissionsJson: string | null): ApiKeyPermissions | null;
|
|
11188
|
-
declare function stringifyApiKeyPermissions(permissions: ApiKeyPermissions): string;
|
|
11189
|
-
//#endregion
|
|
11190
|
-
//#region src/lib/auth.d.ts
|
|
11191
|
-
/**
|
|
11192
|
-
* Authentication options for API client functions.
|
|
11193
|
-
*
|
|
11194
|
-
* Supports two authentication methods:
|
|
11195
|
-
* - API Key: Bearer token authentication
|
|
11196
|
-
* - Cookie: Session cookie for browser-based authentication
|
|
11197
|
-
*/
|
|
11198
|
-
type AuthOptions = {
|
|
11199
|
-
type: "apiKey";
|
|
11200
|
-
apiKey: string;
|
|
11201
|
-
} | {
|
|
11202
|
-
type: "cookie";
|
|
11203
|
-
cookie: string;
|
|
11204
|
-
};
|
|
11205
|
-
/**
|
|
11206
|
-
* Build authentication headers from AuthOptions.
|
|
11207
|
-
*/
|
|
11208
|
-
declare function buildAuthHeaders(auth: AuthOptions): Record<string, string>;
|
|
11209
|
-
//#endregion
|
|
11210
|
-
//#region src/lib/errors.d.ts
|
|
11211
|
-
/** Minimal interface for validation errors (compatible with Zod's error structure) */
|
|
11212
|
-
interface ValidationError {
|
|
11213
|
-
issues: ReadonlyArray<{
|
|
11214
|
-
path: ReadonlyArray<PropertyKey>;
|
|
11215
|
-
message: string;
|
|
11216
|
-
}>;
|
|
11217
|
-
}
|
|
11218
|
-
declare function createValidationError(error: ValidationError): ApiError;
|
|
11219
|
-
declare function createAbortError(): ApiError;
|
|
11220
|
-
declare function createNetworkError(error: unknown): ApiError;
|
|
11221
|
-
declare function createHttpError(status: number, statusText: string, body?: unknown): ApiError;
|
|
11222
|
-
//#endregion
|
|
11223
|
-
//#region src/lib/sse.d.ts
|
|
11224
|
-
interface StreamReader {
|
|
11225
|
-
read(): Promise<{
|
|
11226
|
-
value: Uint8Array | undefined;
|
|
11227
|
-
done: boolean;
|
|
11228
|
-
}>;
|
|
11229
|
-
}
|
|
11230
|
-
declare function parseSSE<T>(reader: StreamReader): AsyncGenerator<T>;
|
|
11231
|
-
//#endregion
|
|
11232
|
-
export { type Activity, type ActivityOrGroup, type ActivityType, type ApiClient, ApiClientConfig, ApiError, ApiResult, type Application, type ApplicationStatus, type index_d_exports as ApplicationsAPI, AuthOptions, type ApiCheckpoint as Checkpoint, type CheckpointStatus, type index_d_exports$1 as EnvAPI, type Expert, type ExpertDefinition, type ExpertDraftRef, type ExpertDraftScope, type ExpertMetadata, type ExpertScope, type ExpertVersion, type ExpertWithMetadata, type index_d_exports$2 as ExpertsAPI, Fetcher, type Job, type JobStatus, type index_d_exports$3 as JobsAPI, type Organization, type OrganizationStatus, type OrganizationType, type ReasoningBudget, RequestOptions, type SecretMetadata, type VariableResponse, buildAuthHeaders, createAbortError, createApiClient, createFetcher, createHttpError, createNetworkError, createValidationError, matchExperts, matchOperations, matchWildcard, parseApiKeyPermissions, parseSSE, stringifyApiKeyPermissions };
|
|
11413
|
+
export { type Activity, type ActivityOrGroup, type ActivityType, type ApiClient, ApiClientConfig, ApiError, ApiErrorType, ApiResult, type Application, type ApplicationStatus, type index_d_exports as ApplicationsAPI, AuthOptions, type ApiCheckpoint as Checkpoint, type CheckpointStatus, type index_d_exports$1 as EnvAPI, type Expert, type ExpertDefinition, type ExpertDraftRef, type ExpertDraftScope, type ExpertMetadata, type ExpertScope, type ExpertVersion, type ExpertWithMetadata, type index_d_exports$2 as ExpertsAPI, Fetcher, type Job, type JobStatus, type index_d_exports$3 as JobsAPI, type Organization, type OrganizationStatus, type OrganizationType, type ReasoningBudget, RequestOptions, type SecretMetadata, StreamRequestOptions, type VariableResponse, buildAuthHeaders, buildQueryString, createAbortError, createApiClient, createFetcher, createHttpError, createNetworkError, createTimeoutError, createValidationError, handleHttpError, isAbortError, isClientError, isHttpError, isNetworkError, isTimeoutError, isValidationError, matchExperts, matchOperations, matchWildcard, parseApiKeyPermissions, parseSSE, stringifyApiKeyPermissions };
|
|
11233
11414
|
//# sourceMappingURL=index.d.mts.map
|