@perstack/api-client 0.0.47 → 0.0.48
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 → bundle.d.mts} +1004 -374
- package/dist/bundle.d.mts.map +1 -0
- package/dist/{index.mjs → bundle.mjs} +692 -442
- package/dist/bundle.mjs.map +1 -0
- package/package.json +5 -4
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs.map +0 -1
|
@@ -1,17 +1,287 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { Activity, ActivityOrGroup, ActivityType, CheckpointStatus } from "@perstack/core";
|
|
3
3
|
|
|
4
|
-
//#region ../models/src/api/
|
|
4
|
+
//#region ../models/src/api/api-keys/create.d.ts
|
|
5
|
+
declare const request$42: {
|
|
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.ZodCUID2>>;
|
|
12
|
+
expiresIn: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
};
|
|
15
|
+
declare const response$47: z.ZodObject<{
|
|
16
|
+
data: z.ZodObject<{
|
|
17
|
+
apiKey: z.ZodObject<{
|
|
18
|
+
type: z.ZodLiteral<"apiKey">;
|
|
19
|
+
id: z.ZodCUID2;
|
|
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.ZodCUID2;
|
|
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.ZodCUID2;
|
|
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.ZodCUID2>;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
key: z.ZodString;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
type RequestBody$16 = z.infer<typeof request$42.body>;
|
|
76
|
+
type Response$48 = z.infer<typeof response$47>;
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region ../models/src/api/api-keys/get.d.ts
|
|
79
|
+
declare const response$46: z.ZodObject<{
|
|
80
|
+
data: z.ZodObject<{
|
|
81
|
+
apiKey: z.ZodObject<{
|
|
82
|
+
type: z.ZodLiteral<"apiKey">;
|
|
83
|
+
id: z.ZodCUID2;
|
|
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.ZodCUID2;
|
|
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.ZodCUID2;
|
|
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.ZodCUID2>;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
}, z.core.$strip>;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
type Response$47 = z.infer<typeof response$46>;
|
|
139
|
+
//#endregion
|
|
140
|
+
//#region ../models/src/api/api-keys/getAll.d.ts
|
|
141
|
+
declare const request$41: {
|
|
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$45: z.ZodObject<{
|
|
148
|
+
data: z.ZodObject<{
|
|
149
|
+
apiKeys: z.ZodArray<z.ZodObject<{
|
|
150
|
+
type: z.ZodLiteral<"apiKey">;
|
|
151
|
+
id: z.ZodCUID2;
|
|
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.ZodCUID2;
|
|
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.ZodCUID2;
|
|
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.ZodCUID2>;
|
|
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$11 = z.infer<typeof request$41.query>;
|
|
212
|
+
type Response$46 = z.infer<typeof response$45>;
|
|
213
|
+
//#endregion
|
|
214
|
+
//#region ../models/src/api/api-keys/revoke.d.ts
|
|
215
|
+
declare const response$44: z.ZodObject<{
|
|
216
|
+
data: z.ZodObject<{
|
|
217
|
+
apiKey: z.ZodObject<{
|
|
218
|
+
type: z.ZodLiteral<"apiKey">;
|
|
219
|
+
id: z.ZodCUID2;
|
|
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.ZodCUID2;
|
|
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.ZodCUID2;
|
|
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.ZodCUID2>;
|
|
271
|
+
}, z.core.$strip>;
|
|
272
|
+
}, z.core.$strip>;
|
|
273
|
+
}, z.core.$strip>;
|
|
274
|
+
type Response$45 = z.infer<typeof response$44>;
|
|
5
275
|
declare namespace create_d_exports$5 {
|
|
6
|
-
export { RequestBody$
|
|
276
|
+
export { RequestBody$15 as RequestBody, Response$44 as Response, request$40 as request, response$43 as response };
|
|
7
277
|
}
|
|
8
|
-
declare const request$
|
|
278
|
+
declare const request$40: {
|
|
9
279
|
body: z.ZodObject<{
|
|
10
280
|
name: z.ZodString;
|
|
11
281
|
applicationGroupId: z.ZodOptional<z.ZodCUID2>;
|
|
12
282
|
}, z.core.$strip>;
|
|
13
283
|
};
|
|
14
|
-
declare const response$
|
|
284
|
+
declare const response$43: z.ZodObject<{
|
|
15
285
|
data: z.ZodObject<{
|
|
16
286
|
application: z.ZodObject<{
|
|
17
287
|
type: z.ZodLiteral<"application">;
|
|
@@ -47,20 +317,31 @@ declare const response$39: z.ZodObject<{
|
|
|
47
317
|
inactive: "inactive";
|
|
48
318
|
deleted: "deleted";
|
|
49
319
|
}>;
|
|
320
|
+
expertCount: z.ZodOptional<z.ZodNumber>;
|
|
321
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
322
|
+
anthropic: "anthropic";
|
|
323
|
+
google: "google";
|
|
324
|
+
openai: "openai";
|
|
325
|
+
ollama: "ollama";
|
|
326
|
+
deepseek: "deepseek";
|
|
327
|
+
"azure-openai": "azure-openai";
|
|
328
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
329
|
+
"google-vertex": "google-vertex";
|
|
330
|
+
}>>>;
|
|
50
331
|
}, z.core.$strip>;
|
|
51
332
|
}, z.core.$strip>;
|
|
52
333
|
}, z.core.$strip>;
|
|
53
|
-
type RequestBody$
|
|
54
|
-
type Response$
|
|
334
|
+
type RequestBody$15 = z.infer<typeof request$40.body>;
|
|
335
|
+
type Response$44 = z.infer<typeof response$43>;
|
|
55
336
|
declare namespace delete_d_exports$4 {
|
|
56
|
-
export { RequestParams$
|
|
337
|
+
export { RequestParams$27 as RequestParams, Response$43 as Response, request$39 as request, response$42 as response };
|
|
57
338
|
}
|
|
58
|
-
declare const request$
|
|
339
|
+
declare const request$39: {
|
|
59
340
|
params: z.ZodObject<{
|
|
60
341
|
applicationId: z.ZodCUID2;
|
|
61
342
|
}, z.core.$strip>;
|
|
62
343
|
};
|
|
63
|
-
declare const response$
|
|
344
|
+
declare const response$42: z.ZodObject<{
|
|
64
345
|
data: z.ZodObject<{
|
|
65
346
|
application: z.ZodObject<{
|
|
66
347
|
type: z.ZodLiteral<"application">;
|
|
@@ -96,20 +377,31 @@ declare const response$38: z.ZodObject<{
|
|
|
96
377
|
inactive: "inactive";
|
|
97
378
|
deleted: "deleted";
|
|
98
379
|
}>;
|
|
380
|
+
expertCount: z.ZodOptional<z.ZodNumber>;
|
|
381
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
382
|
+
anthropic: "anthropic";
|
|
383
|
+
google: "google";
|
|
384
|
+
openai: "openai";
|
|
385
|
+
ollama: "ollama";
|
|
386
|
+
deepseek: "deepseek";
|
|
387
|
+
"azure-openai": "azure-openai";
|
|
388
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
389
|
+
"google-vertex": "google-vertex";
|
|
390
|
+
}>>>;
|
|
99
391
|
}, z.core.$strip>;
|
|
100
392
|
}, z.core.$strip>;
|
|
101
393
|
}, z.core.$strip>;
|
|
102
|
-
type RequestParams$
|
|
103
|
-
type Response$
|
|
104
|
-
declare namespace get_d_exports$
|
|
105
|
-
export { RequestParams$
|
|
394
|
+
type RequestParams$27 = z.infer<typeof request$39.params>;
|
|
395
|
+
type Response$43 = z.infer<typeof response$42>;
|
|
396
|
+
declare namespace get_d_exports$6 {
|
|
397
|
+
export { RequestParams$26 as RequestParams, Response$42 as Response, request$38 as request, response$41 as response };
|
|
106
398
|
}
|
|
107
|
-
declare const request$
|
|
399
|
+
declare const request$38: {
|
|
108
400
|
params: z.ZodObject<{
|
|
109
401
|
applicationId: z.ZodCUID2;
|
|
110
402
|
}, z.core.$strip>;
|
|
111
403
|
};
|
|
112
|
-
declare const response$
|
|
404
|
+
declare const response$41: z.ZodObject<{
|
|
113
405
|
data: z.ZodObject<{
|
|
114
406
|
application: z.ZodObject<{
|
|
115
407
|
type: z.ZodLiteral<"application">;
|
|
@@ -145,15 +437,26 @@ declare const response$37: z.ZodObject<{
|
|
|
145
437
|
inactive: "inactive";
|
|
146
438
|
deleted: "deleted";
|
|
147
439
|
}>;
|
|
440
|
+
expertCount: z.ZodOptional<z.ZodNumber>;
|
|
441
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
442
|
+
anthropic: "anthropic";
|
|
443
|
+
google: "google";
|
|
444
|
+
openai: "openai";
|
|
445
|
+
ollama: "ollama";
|
|
446
|
+
deepseek: "deepseek";
|
|
447
|
+
"azure-openai": "azure-openai";
|
|
448
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
449
|
+
"google-vertex": "google-vertex";
|
|
450
|
+
}>>>;
|
|
148
451
|
}, z.core.$strip>;
|
|
149
452
|
}, z.core.$strip>;
|
|
150
453
|
}, z.core.$strip>;
|
|
151
|
-
type RequestParams$
|
|
152
|
-
type Response$
|
|
454
|
+
type RequestParams$26 = z.infer<typeof request$38.params>;
|
|
455
|
+
type Response$42 = z.infer<typeof response$41>;
|
|
153
456
|
declare namespace getAll_d_exports$6 {
|
|
154
|
-
export { RequestQuery$
|
|
457
|
+
export { RequestQuery$10 as RequestQuery, Response$41 as Response, request$37 as request, response$40 as response };
|
|
155
458
|
}
|
|
156
|
-
declare const request$
|
|
459
|
+
declare const request$37: {
|
|
157
460
|
query: z.ZodObject<{
|
|
158
461
|
name: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>, z.ZodTransform<string | undefined, string | string[] | undefined>>;
|
|
159
462
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
@@ -169,7 +472,7 @@ declare const request$36: {
|
|
|
169
472
|
skip: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
170
473
|
}, z.core.$strip>;
|
|
171
474
|
};
|
|
172
|
-
declare const response$
|
|
475
|
+
declare const response$40: z.ZodObject<{
|
|
173
476
|
data: z.ZodObject<{
|
|
174
477
|
applications: z.ZodArray<z.ZodObject<{
|
|
175
478
|
type: z.ZodLiteral<"application">;
|
|
@@ -205,6 +508,17 @@ declare const response$36: z.ZodObject<{
|
|
|
205
508
|
inactive: "inactive";
|
|
206
509
|
deleted: "deleted";
|
|
207
510
|
}>;
|
|
511
|
+
expertCount: z.ZodOptional<z.ZodNumber>;
|
|
512
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
513
|
+
anthropic: "anthropic";
|
|
514
|
+
google: "google";
|
|
515
|
+
openai: "openai";
|
|
516
|
+
ollama: "ollama";
|
|
517
|
+
deepseek: "deepseek";
|
|
518
|
+
"azure-openai": "azure-openai";
|
|
519
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
520
|
+
"google-vertex": "google-vertex";
|
|
521
|
+
}>>>;
|
|
208
522
|
}, z.core.$strip>>;
|
|
209
523
|
}, z.core.$strip>;
|
|
210
524
|
meta: z.ZodObject<{
|
|
@@ -213,12 +527,12 @@ declare const response$36: z.ZodObject<{
|
|
|
213
527
|
skip: z.ZodNumber;
|
|
214
528
|
}, z.core.$strip>;
|
|
215
529
|
}, z.core.$strip>;
|
|
216
|
-
type RequestQuery$
|
|
217
|
-
type Response$
|
|
530
|
+
type RequestQuery$10 = z.infer<typeof request$37.query>;
|
|
531
|
+
type Response$41 = z.infer<typeof response$40>;
|
|
218
532
|
declare namespace update_d_exports$4 {
|
|
219
|
-
export { RequestBody$
|
|
533
|
+
export { RequestBody$14 as RequestBody, RequestParams$25 as RequestParams, Response$40 as Response, request$36 as request, response$39 as response };
|
|
220
534
|
}
|
|
221
|
-
declare const request$
|
|
535
|
+
declare const request$36: {
|
|
222
536
|
params: z.ZodObject<{
|
|
223
537
|
applicationId: z.ZodCUID2;
|
|
224
538
|
}, z.core.$strip>;
|
|
@@ -230,7 +544,7 @@ declare const request$35: {
|
|
|
230
544
|
}>>;
|
|
231
545
|
}, z.core.$strip>;
|
|
232
546
|
};
|
|
233
|
-
declare const response$
|
|
547
|
+
declare const response$39: z.ZodObject<{
|
|
234
548
|
data: z.ZodObject<{
|
|
235
549
|
application: z.ZodObject<{
|
|
236
550
|
type: z.ZodLiteral<"application">;
|
|
@@ -266,26 +580,37 @@ declare const response$35: z.ZodObject<{
|
|
|
266
580
|
inactive: "inactive";
|
|
267
581
|
deleted: "deleted";
|
|
268
582
|
}>;
|
|
583
|
+
expertCount: z.ZodOptional<z.ZodNumber>;
|
|
584
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
585
|
+
anthropic: "anthropic";
|
|
586
|
+
google: "google";
|
|
587
|
+
openai: "openai";
|
|
588
|
+
ollama: "ollama";
|
|
589
|
+
deepseek: "deepseek";
|
|
590
|
+
"azure-openai": "azure-openai";
|
|
591
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
592
|
+
"google-vertex": "google-vertex";
|
|
593
|
+
}>>>;
|
|
269
594
|
}, z.core.$strip>;
|
|
270
595
|
}, z.core.$strip>;
|
|
271
596
|
}, z.core.$strip>;
|
|
272
|
-
type RequestParams$
|
|
273
|
-
type RequestBody$
|
|
274
|
-
type Response$
|
|
597
|
+
type RequestParams$25 = z.infer<typeof request$36.params>;
|
|
598
|
+
type RequestBody$14 = z.infer<typeof request$36.body>;
|
|
599
|
+
type Response$40 = z.infer<typeof response$39>;
|
|
275
600
|
declare namespace index_d_exports {
|
|
276
|
-
export { create_d_exports$5 as Create, delete_d_exports$4 as Delete, get_d_exports$
|
|
601
|
+
export { create_d_exports$5 as Create, delete_d_exports$4 as Delete, get_d_exports$6 as Get, getAll_d_exports$6 as GetAll, update_d_exports$4 as Update };
|
|
277
602
|
}
|
|
278
603
|
declare namespace create_d_exports$4 {
|
|
279
|
-
export { RequestBody$
|
|
604
|
+
export { RequestBody$13 as RequestBody, Response$39 as Response, request$35 as request, response$38 as response };
|
|
280
605
|
}
|
|
281
|
-
declare const request$
|
|
606
|
+
declare const request$35: {
|
|
282
607
|
body: z.ZodObject<{
|
|
283
608
|
applicationId: z.ZodCUID2;
|
|
284
609
|
name: z.ZodString;
|
|
285
610
|
value: z.ZodString;
|
|
286
611
|
}, z.core.$strip>;
|
|
287
612
|
};
|
|
288
|
-
declare const response$
|
|
613
|
+
declare const response$38: z.ZodObject<{
|
|
289
614
|
data: z.ZodObject<{
|
|
290
615
|
secret: z.ZodObject<{
|
|
291
616
|
name: z.ZodString;
|
|
@@ -294,12 +619,12 @@ declare const response$34: z.ZodObject<{
|
|
|
294
619
|
}, z.core.$strip>;
|
|
295
620
|
}, z.core.$strip>;
|
|
296
621
|
}, z.core.$strip>;
|
|
297
|
-
type RequestBody$
|
|
298
|
-
type Response$
|
|
622
|
+
type RequestBody$13 = z.infer<typeof request$35.body>;
|
|
623
|
+
type Response$39 = z.infer<typeof response$38>;
|
|
299
624
|
declare namespace delete_d_exports$3 {
|
|
300
|
-
export { RequestParams$
|
|
625
|
+
export { RequestParams$24 as RequestParams, RequestQuery$9 as RequestQuery, Response$38 as Response, request$34 as request, response$37 as response };
|
|
301
626
|
}
|
|
302
|
-
declare const request$
|
|
627
|
+
declare const request$34: {
|
|
303
628
|
params: z.ZodObject<{
|
|
304
629
|
name: z.ZodString;
|
|
305
630
|
}, z.core.$strip>;
|
|
@@ -307,14 +632,14 @@ declare const request$33: {
|
|
|
307
632
|
applicationId: z.ZodCUID2;
|
|
308
633
|
}, z.core.$strip>;
|
|
309
634
|
};
|
|
310
|
-
declare const response$
|
|
311
|
-
type RequestParams$
|
|
312
|
-
type RequestQuery$
|
|
313
|
-
type Response$
|
|
314
|
-
declare namespace get_d_exports$
|
|
315
|
-
export { RequestParams$
|
|
635
|
+
declare const response$37: z.ZodNull;
|
|
636
|
+
type RequestParams$24 = z.infer<typeof request$34.params>;
|
|
637
|
+
type RequestQuery$9 = z.infer<typeof request$34.query>;
|
|
638
|
+
type Response$38 = z.infer<typeof response$37>;
|
|
639
|
+
declare namespace get_d_exports$5 {
|
|
640
|
+
export { RequestParams$23 as RequestParams, RequestQuery$8 as RequestQuery, Response$37 as Response, request$33 as request, response$36 as response };
|
|
316
641
|
}
|
|
317
|
-
declare const request$
|
|
642
|
+
declare const request$33: {
|
|
318
643
|
params: z.ZodObject<{
|
|
319
644
|
name: z.ZodString;
|
|
320
645
|
}, z.core.$strip>;
|
|
@@ -322,7 +647,7 @@ declare const request$32: {
|
|
|
322
647
|
applicationId: z.ZodCUID2;
|
|
323
648
|
}, z.core.$strip>;
|
|
324
649
|
};
|
|
325
|
-
declare const response$
|
|
650
|
+
declare const response$36: z.ZodObject<{
|
|
326
651
|
data: z.ZodObject<{
|
|
327
652
|
secret: z.ZodObject<{
|
|
328
653
|
name: z.ZodString;
|
|
@@ -331,18 +656,18 @@ declare const response$32: z.ZodObject<{
|
|
|
331
656
|
}, z.core.$strip>;
|
|
332
657
|
}, z.core.$strip>;
|
|
333
658
|
}, z.core.$strip>;
|
|
334
|
-
type RequestParams$
|
|
335
|
-
type RequestQuery$
|
|
336
|
-
type Response$
|
|
659
|
+
type RequestParams$23 = z.infer<typeof request$33.params>;
|
|
660
|
+
type RequestQuery$8 = z.infer<typeof request$33.query>;
|
|
661
|
+
type Response$37 = z.infer<typeof response$36>;
|
|
337
662
|
declare namespace getAll_d_exports$5 {
|
|
338
|
-
export { RequestQuery$
|
|
663
|
+
export { RequestQuery$7 as RequestQuery, Response$36 as Response, request$32 as request, response$35 as response };
|
|
339
664
|
}
|
|
340
|
-
declare const request$
|
|
665
|
+
declare const request$32: {
|
|
341
666
|
query: z.ZodObject<{
|
|
342
667
|
applicationId: z.ZodOptional<z.ZodCUID2>;
|
|
343
668
|
}, z.core.$strip>;
|
|
344
669
|
};
|
|
345
|
-
declare const response$
|
|
670
|
+
declare const response$35: z.ZodObject<{
|
|
346
671
|
data: z.ZodObject<{
|
|
347
672
|
secrets: z.ZodArray<z.ZodObject<{
|
|
348
673
|
name: z.ZodString;
|
|
@@ -351,12 +676,12 @@ declare const response$31: z.ZodObject<{
|
|
|
351
676
|
}, z.core.$strip>>;
|
|
352
677
|
}, z.core.$strip>;
|
|
353
678
|
}, z.core.$strip>;
|
|
354
|
-
type RequestQuery$
|
|
355
|
-
type Response$
|
|
679
|
+
type RequestQuery$7 = z.infer<typeof request$32.query>;
|
|
680
|
+
type Response$36 = z.infer<typeof response$35>;
|
|
356
681
|
declare namespace update_d_exports$3 {
|
|
357
|
-
export { RequestBody$
|
|
682
|
+
export { RequestBody$12 as RequestBody, RequestParams$22 as RequestParams, Response$35 as Response, request$31 as request, response$34 as response };
|
|
358
683
|
}
|
|
359
|
-
declare const request$
|
|
684
|
+
declare const request$31: {
|
|
360
685
|
params: z.ZodObject<{
|
|
361
686
|
name: z.ZodString;
|
|
362
687
|
}, z.core.$strip>;
|
|
@@ -365,7 +690,7 @@ declare const request$30: {
|
|
|
365
690
|
value: z.ZodString;
|
|
366
691
|
}, z.core.$strip>;
|
|
367
692
|
};
|
|
368
|
-
declare const response$
|
|
693
|
+
declare const response$34: z.ZodObject<{
|
|
369
694
|
data: z.ZodObject<{
|
|
370
695
|
secret: z.ZodObject<{
|
|
371
696
|
name: z.ZodString;
|
|
@@ -374,23 +699,23 @@ declare const response$30: z.ZodObject<{
|
|
|
374
699
|
}, z.core.$strip>;
|
|
375
700
|
}, z.core.$strip>;
|
|
376
701
|
}, z.core.$strip>;
|
|
377
|
-
type RequestParams$
|
|
378
|
-
type RequestBody$
|
|
379
|
-
type Response$
|
|
380
|
-
declare namespace index_d_exports$
|
|
381
|
-
export { create_d_exports$4 as Create, delete_d_exports$3 as Delete, get_d_exports$
|
|
702
|
+
type RequestParams$22 = z.infer<typeof request$31.params>;
|
|
703
|
+
type RequestBody$12 = z.infer<typeof request$31.body>;
|
|
704
|
+
type Response$35 = z.infer<typeof response$34>;
|
|
705
|
+
declare namespace index_d_exports$7 {
|
|
706
|
+
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 };
|
|
382
707
|
}
|
|
383
708
|
declare namespace create_d_exports$3 {
|
|
384
|
-
export { RequestBody$
|
|
709
|
+
export { RequestBody$11 as RequestBody, Response$34 as Response, request$30 as request, response$33 as response };
|
|
385
710
|
}
|
|
386
|
-
declare const request$
|
|
711
|
+
declare const request$30: {
|
|
387
712
|
body: z.ZodObject<{
|
|
388
713
|
applicationId: z.ZodCUID2;
|
|
389
714
|
name: z.ZodString;
|
|
390
715
|
value: z.ZodString;
|
|
391
716
|
}, z.core.$strip>;
|
|
392
717
|
};
|
|
393
|
-
declare const response$
|
|
718
|
+
declare const response$33: z.ZodObject<{
|
|
394
719
|
data: z.ZodObject<{
|
|
395
720
|
variable: z.ZodObject<{
|
|
396
721
|
name: z.ZodString;
|
|
@@ -400,12 +725,12 @@ declare const response$29: z.ZodObject<{
|
|
|
400
725
|
}, z.core.$strip>;
|
|
401
726
|
}, z.core.$strip>;
|
|
402
727
|
}, z.core.$strip>;
|
|
403
|
-
type RequestBody$
|
|
404
|
-
type Response$
|
|
728
|
+
type RequestBody$11 = z.infer<typeof request$30.body>;
|
|
729
|
+
type Response$34 = z.infer<typeof response$33>;
|
|
405
730
|
declare namespace delete_d_exports$2 {
|
|
406
|
-
export { RequestParams$
|
|
731
|
+
export { RequestParams$21 as RequestParams, RequestQuery$6 as RequestQuery, Response$33 as Response, request$29 as request, response$32 as response };
|
|
407
732
|
}
|
|
408
|
-
declare const request$
|
|
733
|
+
declare const request$29: {
|
|
409
734
|
params: z.ZodObject<{
|
|
410
735
|
name: z.ZodString;
|
|
411
736
|
}, z.core.$strip>;
|
|
@@ -413,14 +738,14 @@ declare const request$28: {
|
|
|
413
738
|
applicationId: z.ZodCUID2;
|
|
414
739
|
}, z.core.$strip>;
|
|
415
740
|
};
|
|
416
|
-
declare const response$
|
|
417
|
-
type RequestParams$
|
|
418
|
-
type RequestQuery$
|
|
419
|
-
type Response$
|
|
420
|
-
declare namespace get_d_exports$
|
|
421
|
-
export { RequestParams$
|
|
741
|
+
declare const response$32: z.ZodNull;
|
|
742
|
+
type RequestParams$21 = z.infer<typeof request$29.params>;
|
|
743
|
+
type RequestQuery$6 = z.infer<typeof request$29.query>;
|
|
744
|
+
type Response$33 = z.infer<typeof response$32>;
|
|
745
|
+
declare namespace get_d_exports$4 {
|
|
746
|
+
export { RequestParams$20 as RequestParams, RequestQuery$5 as RequestQuery, Response$32 as Response, request$28 as request, response$31 as response };
|
|
422
747
|
}
|
|
423
|
-
declare const request$
|
|
748
|
+
declare const request$28: {
|
|
424
749
|
params: z.ZodObject<{
|
|
425
750
|
name: z.ZodString;
|
|
426
751
|
}, z.core.$strip>;
|
|
@@ -428,7 +753,7 @@ declare const request$27: {
|
|
|
428
753
|
applicationId: z.ZodCUID2;
|
|
429
754
|
}, z.core.$strip>;
|
|
430
755
|
};
|
|
431
|
-
declare const response$
|
|
756
|
+
declare const response$31: z.ZodObject<{
|
|
432
757
|
data: z.ZodObject<{
|
|
433
758
|
variable: z.ZodObject<{
|
|
434
759
|
name: z.ZodString;
|
|
@@ -438,18 +763,18 @@ declare const response$27: z.ZodObject<{
|
|
|
438
763
|
}, z.core.$strip>;
|
|
439
764
|
}, z.core.$strip>;
|
|
440
765
|
}, z.core.$strip>;
|
|
441
|
-
type RequestParams$
|
|
442
|
-
type RequestQuery$
|
|
443
|
-
type Response$
|
|
766
|
+
type RequestParams$20 = z.infer<typeof request$28.params>;
|
|
767
|
+
type RequestQuery$5 = z.infer<typeof request$28.query>;
|
|
768
|
+
type Response$32 = z.infer<typeof response$31>;
|
|
444
769
|
declare namespace getAll_d_exports$4 {
|
|
445
|
-
export { RequestQuery$
|
|
770
|
+
export { RequestQuery$4 as RequestQuery, Response$31 as Response, request$27 as request, response$30 as response };
|
|
446
771
|
}
|
|
447
|
-
declare const request$
|
|
772
|
+
declare const request$27: {
|
|
448
773
|
query: z.ZodObject<{
|
|
449
774
|
applicationId: z.ZodCUID2;
|
|
450
775
|
}, z.core.$strip>;
|
|
451
776
|
};
|
|
452
|
-
declare const response$
|
|
777
|
+
declare const response$30: z.ZodObject<{
|
|
453
778
|
data: z.ZodObject<{
|
|
454
779
|
variables: z.ZodArray<z.ZodObject<{
|
|
455
780
|
name: z.ZodString;
|
|
@@ -459,12 +784,12 @@ declare const response$26: z.ZodObject<{
|
|
|
459
784
|
}, z.core.$strip>>;
|
|
460
785
|
}, z.core.$strip>;
|
|
461
786
|
}, z.core.$strip>;
|
|
462
|
-
type RequestQuery$
|
|
463
|
-
type Response$
|
|
787
|
+
type RequestQuery$4 = z.infer<typeof request$27.query>;
|
|
788
|
+
type Response$31 = z.infer<typeof response$30>;
|
|
464
789
|
declare namespace update_d_exports$2 {
|
|
465
|
-
export { RequestBody$
|
|
790
|
+
export { RequestBody$10 as RequestBody, RequestParams$19 as RequestParams, Response$30 as Response, request$26 as request, response$29 as response };
|
|
466
791
|
}
|
|
467
|
-
declare const request$
|
|
792
|
+
declare const request$26: {
|
|
468
793
|
params: z.ZodObject<{
|
|
469
794
|
name: z.ZodString;
|
|
470
795
|
}, z.core.$strip>;
|
|
@@ -473,7 +798,7 @@ declare const request$25: {
|
|
|
473
798
|
value: z.ZodString;
|
|
474
799
|
}, z.core.$strip>;
|
|
475
800
|
};
|
|
476
|
-
declare const response$
|
|
801
|
+
declare const response$29: z.ZodObject<{
|
|
477
802
|
data: z.ZodObject<{
|
|
478
803
|
variable: z.ZodObject<{
|
|
479
804
|
name: z.ZodString;
|
|
@@ -483,14 +808,14 @@ declare const response$25: z.ZodObject<{
|
|
|
483
808
|
}, z.core.$strip>;
|
|
484
809
|
}, z.core.$strip>;
|
|
485
810
|
}, z.core.$strip>;
|
|
486
|
-
type RequestParams$
|
|
487
|
-
type RequestBody$
|
|
488
|
-
type Response$
|
|
489
|
-
declare namespace index_d_exports$
|
|
490
|
-
export { create_d_exports$3 as Create, delete_d_exports$2 as Delete, get_d_exports$
|
|
811
|
+
type RequestParams$19 = z.infer<typeof request$26.params>;
|
|
812
|
+
type RequestBody$10 = z.infer<typeof request$26.body>;
|
|
813
|
+
type Response$30 = z.infer<typeof response$29>;
|
|
814
|
+
declare namespace index_d_exports$6 {
|
|
815
|
+
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 };
|
|
491
816
|
}
|
|
492
817
|
declare namespace index_d_exports$1 {
|
|
493
|
-
export { index_d_exports$
|
|
818
|
+
export { index_d_exports$7 as Secrets, index_d_exports$6 as Variables };
|
|
494
819
|
}
|
|
495
820
|
declare namespace definition_d_exports$1 {
|
|
496
821
|
export { ExpertDefinition, expertDefinitionSchema };
|
|
@@ -546,14 +871,14 @@ declare const expertDefinitionSchema: z.ZodObject<{
|
|
|
546
871
|
/** Immutable expert definition. Passed to perstack runtime. */
|
|
547
872
|
type ExpertDefinition = z.infer<typeof expertDefinitionSchema>;
|
|
548
873
|
declare namespace delete_d_exports$1 {
|
|
549
|
-
export { RequestParams$
|
|
874
|
+
export { RequestParams$18 as RequestParams, Response$29 as Response, request$25 as request, response$28 as response };
|
|
550
875
|
}
|
|
551
|
-
declare const request$
|
|
876
|
+
declare const request$25: {
|
|
552
877
|
params: z.ZodObject<{
|
|
553
878
|
scopeName: z.ZodString;
|
|
554
879
|
}, z.core.$strip>;
|
|
555
880
|
};
|
|
556
|
-
declare const response$
|
|
881
|
+
declare const response$28: z.ZodObject<{
|
|
557
882
|
data: z.ZodObject<{
|
|
558
883
|
scope: z.ZodObject<{
|
|
559
884
|
id: z.ZodCUID2;
|
|
@@ -595,12 +920,12 @@ declare const response$24: z.ZodObject<{
|
|
|
595
920
|
latestTagUpdated: z.ZodBoolean;
|
|
596
921
|
}, z.core.$strip>;
|
|
597
922
|
}, z.core.$strip>;
|
|
598
|
-
type RequestParams$
|
|
599
|
-
type Response$
|
|
923
|
+
type RequestParams$18 = z.infer<typeof request$25.params>;
|
|
924
|
+
type Response$29 = z.infer<typeof response$28>;
|
|
600
925
|
declare namespace create_d_exports$2 {
|
|
601
|
-
export { RequestBody$
|
|
926
|
+
export { RequestBody$9 as RequestBody, RequestParams$17 as RequestParams, Response$28 as Response, request$24 as request, response$27 as response };
|
|
602
927
|
}
|
|
603
|
-
declare const request$
|
|
928
|
+
declare const request$24: {
|
|
604
929
|
params: z.ZodObject<{
|
|
605
930
|
scopeName: z.ZodString;
|
|
606
931
|
}, z.core.$strip>;
|
|
@@ -648,7 +973,7 @@ declare const request$23: {
|
|
|
648
973
|
}, z.core.$strip>>;
|
|
649
974
|
}, z.core.$strip>;
|
|
650
975
|
};
|
|
651
|
-
declare const response$
|
|
976
|
+
declare const response$27: z.ZodObject<{
|
|
652
977
|
data: z.ZodObject<{
|
|
653
978
|
scope: z.ZodObject<{
|
|
654
979
|
id: z.ZodCUID2;
|
|
@@ -722,9 +1047,9 @@ declare const response$23: z.ZodObject<{
|
|
|
722
1047
|
}, z.core.$strip>;
|
|
723
1048
|
}, z.core.$strip>;
|
|
724
1049
|
}, z.core.$strip>;
|
|
725
|
-
type RequestParams$
|
|
726
|
-
type RequestBody$
|
|
727
|
-
type Response$
|
|
1050
|
+
type RequestParams$17 = z.infer<typeof request$24.params>;
|
|
1051
|
+
type RequestBody$9 = z.infer<typeof request$24.body>;
|
|
1052
|
+
type Response$28 = z.infer<typeof response$27>;
|
|
728
1053
|
declare namespace definition_d_exports {
|
|
729
1054
|
export { ExpertDefinitionContent, expertDefinitionContentSchema };
|
|
730
1055
|
}
|
|
@@ -779,32 +1104,32 @@ declare const expertDefinitionContentSchema: z.ZodObject<{
|
|
|
779
1104
|
/** Immutable expert definition. Passed to perstack runtime. */
|
|
780
1105
|
type ExpertDefinitionContent = z.infer<typeof expertDefinitionContentSchema>;
|
|
781
1106
|
declare namespace delete_d_exports {
|
|
782
|
-
export { RequestParams$
|
|
1107
|
+
export { RequestParams$16 as RequestParams, Response$27 as Response, request$23 as request, response$26 as response };
|
|
783
1108
|
}
|
|
784
|
-
declare const request$
|
|
1109
|
+
declare const request$23: {
|
|
785
1110
|
params: z.ZodObject<{
|
|
786
1111
|
scopeName: z.ZodString;
|
|
787
1112
|
draftRef: z.ZodCUID2;
|
|
788
1113
|
}, z.core.$strip>;
|
|
789
1114
|
};
|
|
790
|
-
declare const response$
|
|
1115
|
+
declare const response$26: z.ZodObject<{
|
|
791
1116
|
data: z.ZodObject<{
|
|
792
1117
|
deleted: z.ZodBoolean;
|
|
793
1118
|
draftRef: z.ZodString;
|
|
794
1119
|
}, z.core.$strip>;
|
|
795
1120
|
}, z.core.$strip>;
|
|
796
|
-
type RequestParams$
|
|
797
|
-
type Response$
|
|
798
|
-
declare namespace get_d_exports$
|
|
799
|
-
export { RequestParams$
|
|
1121
|
+
type RequestParams$16 = z.infer<typeof request$23.params>;
|
|
1122
|
+
type Response$27 = z.infer<typeof response$26>;
|
|
1123
|
+
declare namespace get_d_exports$3 {
|
|
1124
|
+
export { RequestParams$15 as RequestParams, Response$26 as Response, request$22 as request, response$25 as response };
|
|
800
1125
|
}
|
|
801
|
-
declare const request$
|
|
1126
|
+
declare const request$22: {
|
|
802
1127
|
params: z.ZodObject<{
|
|
803
1128
|
scopeName: z.ZodString;
|
|
804
1129
|
draftRef: z.ZodCUID2;
|
|
805
1130
|
}, z.core.$strip>;
|
|
806
1131
|
};
|
|
807
|
-
declare const response$
|
|
1132
|
+
declare const response$25: z.ZodObject<{
|
|
808
1133
|
data: z.ZodObject<{
|
|
809
1134
|
scope: z.ZodObject<{
|
|
810
1135
|
id: z.ZodCUID2;
|
|
@@ -878,21 +1203,21 @@ declare const response$21: z.ZodObject<{
|
|
|
878
1203
|
}, z.core.$strip>;
|
|
879
1204
|
}, z.core.$strip>;
|
|
880
1205
|
}, z.core.$strip>;
|
|
881
|
-
type RequestParams$
|
|
882
|
-
type Response$
|
|
1206
|
+
type RequestParams$15 = z.infer<typeof request$22.params>;
|
|
1207
|
+
type Response$26 = z.infer<typeof response$25>;
|
|
883
1208
|
declare namespace getAll_d_exports$3 {
|
|
884
|
-
export { RequestParams$
|
|
1209
|
+
export { RequestParams$14 as RequestParams, RequestQuery$3 as RequestQuery, Response$25 as Response, request$21 as request, response$24 as response };
|
|
885
1210
|
}
|
|
886
|
-
declare const request$
|
|
1211
|
+
declare const request$21: {
|
|
887
1212
|
params: z.ZodObject<{
|
|
888
1213
|
scopeName: z.ZodString;
|
|
889
1214
|
}, z.core.$strip>;
|
|
890
1215
|
query: z.ZodObject<{
|
|
891
|
-
|
|
892
|
-
|
|
1216
|
+
take: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1217
|
+
skip: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
893
1218
|
}, z.core.$strip>;
|
|
894
1219
|
};
|
|
895
|
-
declare const response$
|
|
1220
|
+
declare const response$24: z.ZodObject<{
|
|
896
1221
|
data: z.ZodObject<{
|
|
897
1222
|
draftRefs: z.ZodArray<z.ZodObject<{
|
|
898
1223
|
id: z.ZodCUID2;
|
|
@@ -904,16 +1229,20 @@ declare const response$20: z.ZodObject<{
|
|
|
904
1229
|
createdBy: z.ZodCUID2;
|
|
905
1230
|
updatedBy: z.ZodCUID2;
|
|
906
1231
|
}, z.core.$strip>>;
|
|
1232
|
+
}, z.core.$strip>;
|
|
1233
|
+
meta: z.ZodObject<{
|
|
907
1234
|
total: z.ZodNumber;
|
|
1235
|
+
take: z.ZodNumber;
|
|
1236
|
+
skip: z.ZodNumber;
|
|
908
1237
|
}, z.core.$strip>;
|
|
909
1238
|
}, z.core.$strip>;
|
|
910
|
-
type RequestParams$
|
|
911
|
-
type RequestQuery$
|
|
912
|
-
type Response$
|
|
1239
|
+
type RequestParams$14 = z.infer<typeof request$21.params>;
|
|
1240
|
+
type RequestQuery$3 = z.infer<typeof request$21.query>;
|
|
1241
|
+
type Response$25 = z.infer<typeof response$24>;
|
|
913
1242
|
declare namespace update_d_exports$1 {
|
|
914
|
-
export { RequestBody$
|
|
1243
|
+
export { RequestBody$8 as RequestBody, RequestParams$13 as RequestParams, Response$24 as Response, request$20 as request, response$23 as response };
|
|
915
1244
|
}
|
|
916
|
-
declare const request$
|
|
1245
|
+
declare const request$20: {
|
|
917
1246
|
params: z.ZodObject<{
|
|
918
1247
|
scopeName: z.ZodString;
|
|
919
1248
|
draftRef: z.ZodCUID2;
|
|
@@ -961,7 +1290,7 @@ declare const request$19: {
|
|
|
961
1290
|
}, z.core.$strip>>;
|
|
962
1291
|
}, z.core.$strip>;
|
|
963
1292
|
};
|
|
964
|
-
declare const response$
|
|
1293
|
+
declare const response$23: z.ZodObject<{
|
|
965
1294
|
data: z.ZodObject<{
|
|
966
1295
|
scope: z.ZodObject<{
|
|
967
1296
|
id: z.ZodCUID2;
|
|
@@ -1035,13 +1364,13 @@ declare const response$19: z.ZodObject<{
|
|
|
1035
1364
|
}, z.core.$strip>;
|
|
1036
1365
|
}, z.core.$strip>;
|
|
1037
1366
|
}, z.core.$strip>;
|
|
1038
|
-
type RequestParams$
|
|
1039
|
-
type RequestBody$
|
|
1040
|
-
type Response$
|
|
1367
|
+
type RequestParams$13 = z.infer<typeof request$20.params>;
|
|
1368
|
+
type RequestBody$8 = z.infer<typeof request$20.body>;
|
|
1369
|
+
type Response$24 = z.infer<typeof response$23>;
|
|
1041
1370
|
declare namespace version_d_exports {
|
|
1042
|
-
export { RequestBody$
|
|
1371
|
+
export { RequestBody$7 as RequestBody, RequestParams$12 as RequestParams, Response$23 as Response, request$19 as request, response$22 as response };
|
|
1043
1372
|
}
|
|
1044
|
-
declare const request$
|
|
1373
|
+
declare const request$19: {
|
|
1045
1374
|
params: z.ZodObject<{
|
|
1046
1375
|
scopeName: z.ZodString;
|
|
1047
1376
|
draftRef: z.ZodString;
|
|
@@ -1051,7 +1380,7 @@ declare const request$18: {
|
|
|
1051
1380
|
tag: z.ZodOptional<z.ZodString>;
|
|
1052
1381
|
}, z.core.$strip>;
|
|
1053
1382
|
};
|
|
1054
|
-
declare const response$
|
|
1383
|
+
declare const response$22: z.ZodObject<{
|
|
1055
1384
|
data: z.ZodObject<{
|
|
1056
1385
|
scope: z.ZodObject<{
|
|
1057
1386
|
id: z.ZodCUID2;
|
|
@@ -1092,17 +1421,17 @@ declare const response$18: z.ZodObject<{
|
|
|
1092
1421
|
definitionUrl: z.ZodString;
|
|
1093
1422
|
}, z.core.$strip>;
|
|
1094
1423
|
}, z.core.$strip>;
|
|
1095
|
-
type RequestParams$
|
|
1096
|
-
type RequestBody$
|
|
1097
|
-
type Response$
|
|
1098
|
-
declare namespace index_d_exports$
|
|
1099
|
-
export { create_d_exports$2 as Create, definition_d_exports as Definition, delete_d_exports as Delete, get_d_exports$
|
|
1424
|
+
type RequestParams$12 = z.infer<typeof request$19.params>;
|
|
1425
|
+
type RequestBody$7 = z.infer<typeof request$19.body>;
|
|
1426
|
+
type Response$23 = z.infer<typeof response$22>;
|
|
1427
|
+
declare namespace index_d_exports$5 {
|
|
1428
|
+
export { create_d_exports$2 as Create, definition_d_exports as Definition, delete_d_exports as Delete, get_d_exports$3 as Get, getAll_d_exports$3 as GetAll, update_d_exports$1 as Update, version_d_exports as Version };
|
|
1100
1429
|
}
|
|
1101
1430
|
declare namespace featured_d_exports {
|
|
1102
|
-
export { Response$
|
|
1431
|
+
export { Response$22 as Response, request$18 as request, response$21 as response };
|
|
1103
1432
|
}
|
|
1104
|
-
declare const request$
|
|
1105
|
-
declare const response$
|
|
1433
|
+
declare const request$18: {};
|
|
1434
|
+
declare const response$21: z.ZodObject<{
|
|
1106
1435
|
data: z.ZodObject<{
|
|
1107
1436
|
featuredExperts: z.ZodArray<z.ZodObject<{
|
|
1108
1437
|
scope: z.ZodObject<{
|
|
@@ -1146,16 +1475,16 @@ declare const response$17: z.ZodObject<{
|
|
|
1146
1475
|
}, z.core.$strip>>;
|
|
1147
1476
|
}, z.core.$strip>;
|
|
1148
1477
|
}, z.core.$strip>;
|
|
1149
|
-
type Response$
|
|
1150
|
-
declare namespace get_d_exports$
|
|
1151
|
-
export { RequestParams$
|
|
1478
|
+
type Response$22 = z.infer<typeof response$21>;
|
|
1479
|
+
declare namespace get_d_exports$2 {
|
|
1480
|
+
export { RequestParams$11 as RequestParams, Response$21 as Response, request$17 as request, response$20 as response };
|
|
1152
1481
|
}
|
|
1153
|
-
declare const request$
|
|
1482
|
+
declare const request$17: {
|
|
1154
1483
|
params: z.ZodObject<{
|
|
1155
1484
|
scopeName: z.ZodString;
|
|
1156
1485
|
}, z.core.$strip>;
|
|
1157
1486
|
};
|
|
1158
|
-
declare const response$
|
|
1487
|
+
declare const response$20: z.ZodObject<{
|
|
1159
1488
|
data: z.ZodObject<{
|
|
1160
1489
|
definition: z.ZodObject<{
|
|
1161
1490
|
name: z.ZodString;
|
|
@@ -1208,12 +1537,12 @@ declare const response$16: z.ZodObject<{
|
|
|
1208
1537
|
yanked: z.ZodOptional<z.ZodBoolean>;
|
|
1209
1538
|
}, z.core.$strip>;
|
|
1210
1539
|
}, z.core.$strip>;
|
|
1211
|
-
type RequestParams$
|
|
1212
|
-
type Response$
|
|
1540
|
+
type RequestParams$11 = z.infer<typeof request$17.params>;
|
|
1541
|
+
type Response$21 = z.infer<typeof response$20>;
|
|
1213
1542
|
declare namespace getAll_d_exports$2 {
|
|
1214
|
-
export { RequestQuery$
|
|
1543
|
+
export { RequestQuery$2 as RequestQuery, Response$20 as Response, request$16 as request, response$19 as response };
|
|
1215
1544
|
}
|
|
1216
|
-
declare const request$
|
|
1545
|
+
declare const request$16: {
|
|
1217
1546
|
query: z.ZodObject<{
|
|
1218
1547
|
filter: z.ZodOptional<z.ZodString>;
|
|
1219
1548
|
category: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1225,11 +1554,11 @@ declare const request$15: {
|
|
|
1225
1554
|
automation: "automation";
|
|
1226
1555
|
}>>;
|
|
1227
1556
|
includeDrafts: z.ZodOptional<z.ZodDefault<z.ZodCoercedBoolean<unknown>>>;
|
|
1228
|
-
|
|
1229
|
-
|
|
1557
|
+
take: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1558
|
+
skip: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1230
1559
|
}, z.core.$strip>;
|
|
1231
1560
|
};
|
|
1232
|
-
declare const response$
|
|
1561
|
+
declare const response$19: z.ZodObject<{
|
|
1233
1562
|
data: z.ZodObject<{
|
|
1234
1563
|
experts: z.ZodArray<z.ZodObject<{
|
|
1235
1564
|
id: z.ZodCUID2;
|
|
@@ -1267,15 +1596,19 @@ declare const response$15: z.ZodObject<{
|
|
|
1267
1596
|
tags: z.ZodArray<z.ZodString>;
|
|
1268
1597
|
}, z.core.$strip>;
|
|
1269
1598
|
}, z.core.$strip>>;
|
|
1599
|
+
}, z.core.$strip>;
|
|
1600
|
+
meta: z.ZodObject<{
|
|
1270
1601
|
total: z.ZodNumber;
|
|
1602
|
+
take: z.ZodNumber;
|
|
1603
|
+
skip: z.ZodNumber;
|
|
1271
1604
|
}, z.core.$strip>;
|
|
1272
1605
|
}, z.core.$strip>;
|
|
1273
|
-
type RequestQuery$
|
|
1274
|
-
type Response$
|
|
1606
|
+
type RequestQuery$2 = z.infer<typeof request$16.query>;
|
|
1607
|
+
type Response$20 = z.infer<typeof response$19>;
|
|
1275
1608
|
declare namespace meta_d_exports {
|
|
1276
|
-
export { RequestParams$
|
|
1609
|
+
export { RequestParams$10 as RequestParams, Response$19 as Response, request$15 as request, response$18 as response };
|
|
1277
1610
|
}
|
|
1278
|
-
declare const request$
|
|
1611
|
+
declare const request$15: {
|
|
1279
1612
|
params: z.ZodObject<{
|
|
1280
1613
|
scopeName: z.ZodString;
|
|
1281
1614
|
}, z.core.$strip>;
|
|
@@ -1286,7 +1619,7 @@ declare const request$14: {
|
|
|
1286
1619
|
}>, z.ZodTransform<boolean, "true" | "false">>>>;
|
|
1287
1620
|
}, z.core.$strip>;
|
|
1288
1621
|
};
|
|
1289
|
-
declare const response$
|
|
1622
|
+
declare const response$18: z.ZodObject<{
|
|
1290
1623
|
data: z.ZodObject<{
|
|
1291
1624
|
scope: z.ZodObject<{
|
|
1292
1625
|
id: z.ZodCUID2;
|
|
@@ -1327,17 +1660,17 @@ declare const response$14: z.ZodObject<{
|
|
|
1327
1660
|
definitionUrl: z.ZodString;
|
|
1328
1661
|
}, z.core.$strip>;
|
|
1329
1662
|
}, z.core.$strip>;
|
|
1330
|
-
type RequestParams$
|
|
1331
|
-
type Response$
|
|
1663
|
+
type RequestParams$10 = z.infer<typeof request$15.params>;
|
|
1664
|
+
type Response$19 = z.infer<typeof response$18>;
|
|
1332
1665
|
declare namespace publish_d_exports {
|
|
1333
|
-
export { RequestParams$
|
|
1666
|
+
export { RequestParams$9 as RequestParams, Response$18 as Response, request$14 as request, response$17 as response };
|
|
1334
1667
|
}
|
|
1335
|
-
declare const request$
|
|
1668
|
+
declare const request$14: {
|
|
1336
1669
|
params: z.ZodObject<{
|
|
1337
1670
|
scopeName: z.ZodString;
|
|
1338
1671
|
}, z.core.$strip>;
|
|
1339
1672
|
};
|
|
1340
|
-
declare const response$
|
|
1673
|
+
declare const response$17: z.ZodObject<{
|
|
1341
1674
|
data: z.ZodObject<{
|
|
1342
1675
|
scope: z.ZodObject<{
|
|
1343
1676
|
id: z.ZodCUID2;
|
|
@@ -1363,17 +1696,17 @@ declare const response$13: z.ZodObject<{
|
|
|
1363
1696
|
}, z.core.$strip>;
|
|
1364
1697
|
}, z.core.$strip>;
|
|
1365
1698
|
}, z.core.$strip>;
|
|
1366
|
-
type RequestParams$
|
|
1367
|
-
type Response$
|
|
1699
|
+
type RequestParams$9 = z.infer<typeof request$14.params>;
|
|
1700
|
+
type Response$18 = z.infer<typeof response$17>;
|
|
1368
1701
|
declare namespace unpublish_d_exports {
|
|
1369
|
-
export { RequestParams$
|
|
1702
|
+
export { RequestParams$8 as RequestParams, Response$17 as Response, request$13 as request, response$16 as response };
|
|
1370
1703
|
}
|
|
1371
|
-
declare const request$
|
|
1704
|
+
declare const request$13: {
|
|
1372
1705
|
params: z.ZodObject<{
|
|
1373
1706
|
scopeName: z.ZodString;
|
|
1374
1707
|
}, z.core.$strip>;
|
|
1375
1708
|
};
|
|
1376
|
-
declare const response$
|
|
1709
|
+
declare const response$16: z.ZodObject<{
|
|
1377
1710
|
data: z.ZodObject<{
|
|
1378
1711
|
scope: z.ZodObject<{
|
|
1379
1712
|
id: z.ZodCUID2;
|
|
@@ -1399,17 +1732,17 @@ declare const response$12: z.ZodObject<{
|
|
|
1399
1732
|
}, z.core.$strip>;
|
|
1400
1733
|
}, z.core.$strip>;
|
|
1401
1734
|
}, z.core.$strip>;
|
|
1402
|
-
type RequestParams$
|
|
1403
|
-
type Response$
|
|
1735
|
+
type RequestParams$8 = z.infer<typeof request$13.params>;
|
|
1736
|
+
type Response$17 = z.infer<typeof response$16>;
|
|
1404
1737
|
declare namespace versions_d_exports {
|
|
1405
|
-
export { RequestParams$
|
|
1738
|
+
export { RequestParams$7 as RequestParams, Response$16 as Response, request$12 as request, response$15 as response };
|
|
1406
1739
|
}
|
|
1407
|
-
declare const request$
|
|
1740
|
+
declare const request$12: {
|
|
1408
1741
|
params: z.ZodObject<{
|
|
1409
1742
|
scopeName: z.ZodString;
|
|
1410
1743
|
}, z.core.$strip>;
|
|
1411
1744
|
};
|
|
1412
|
-
declare const response$
|
|
1745
|
+
declare const response$15: z.ZodObject<{
|
|
1413
1746
|
data: z.ZodObject<{
|
|
1414
1747
|
versions: z.ZodArray<z.ZodObject<{
|
|
1415
1748
|
id: z.ZodCUID2;
|
|
@@ -1427,13 +1760,13 @@ declare const response$11: z.ZodObject<{
|
|
|
1427
1760
|
}, z.core.$strip>>;
|
|
1428
1761
|
}, z.core.$strip>;
|
|
1429
1762
|
}, z.core.$strip>;
|
|
1430
|
-
type RequestParams$
|
|
1431
|
-
type Response$
|
|
1763
|
+
type RequestParams$7 = z.infer<typeof request$12.params>;
|
|
1764
|
+
type Response$16 = z.infer<typeof response$15>;
|
|
1432
1765
|
declare namespace index_d_exports$2 {
|
|
1433
|
-
export { definition_d_exports$1 as Definition, delete_d_exports$1 as Delete, index_d_exports$
|
|
1766
|
+
export { definition_d_exports$1 as Definition, delete_d_exports$1 as Delete, index_d_exports$5 as Drafts, 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
1767
|
}
|
|
1435
1768
|
declare namespace create_d_exports$1 {
|
|
1436
|
-
export { RequestBody$
|
|
1769
|
+
export { RequestBody$6 as RequestBody, RequestCheckpoint, RequestParams$6 as RequestParams, Response$15 as Response, request$11 as request, requestCheckpointSchema, response$14 as response };
|
|
1437
1770
|
}
|
|
1438
1771
|
/**
|
|
1439
1772
|
* Request checkpoint schema - `id` and `runId` are omitted because:
|
|
@@ -1679,7 +2012,7 @@ declare const requestCheckpointSchema: z.ZodObject<{
|
|
|
1679
2012
|
runId: z.ZodOptional<z.ZodString>;
|
|
1680
2013
|
}, z.core.$strip>;
|
|
1681
2014
|
type RequestCheckpoint = z.infer<typeof requestCheckpointSchema>;
|
|
1682
|
-
declare const request$
|
|
2015
|
+
declare const request$11: {
|
|
1683
2016
|
params: z.ZodObject<{
|
|
1684
2017
|
jobId: z.ZodCUID2;
|
|
1685
2018
|
}, z.core.$strip>;
|
|
@@ -2262,7 +2595,7 @@ declare const request$10: {
|
|
|
2262
2595
|
}, z.core.$strip>;
|
|
2263
2596
|
}, z.core.$strip>;
|
|
2264
2597
|
};
|
|
2265
|
-
declare const response$
|
|
2598
|
+
declare const response$14: z.ZodObject<{
|
|
2266
2599
|
data: z.ZodObject<{
|
|
2267
2600
|
checkpoint: z.ZodObject<{
|
|
2268
2601
|
type: z.ZodLiteral<"checkpoint">;
|
|
@@ -3726,19 +4059,19 @@ declare const response$10: z.ZodObject<{
|
|
|
3726
4059
|
}, z.core.$strip>;
|
|
3727
4060
|
}, z.core.$strip>;
|
|
3728
4061
|
}, z.core.$strip>;
|
|
3729
|
-
type RequestParams$
|
|
3730
|
-
type RequestBody$
|
|
3731
|
-
type Response$
|
|
3732
|
-
declare namespace get_d_exports$
|
|
3733
|
-
export { RequestParams$
|
|
4062
|
+
type RequestParams$6 = z.infer<typeof request$11.params>;
|
|
4063
|
+
type RequestBody$6 = z.infer<typeof request$11.body>;
|
|
4064
|
+
type Response$15 = z.infer<typeof response$14>;
|
|
4065
|
+
declare namespace get_d_exports$1 {
|
|
4066
|
+
export { RequestParams$5 as RequestParams, Response$14 as Response, request$10 as request, response$13 as response };
|
|
3734
4067
|
}
|
|
3735
|
-
declare const request$
|
|
4068
|
+
declare const request$10: {
|
|
3736
4069
|
params: z.ZodObject<{
|
|
3737
4070
|
jobId: z.ZodCUID2;
|
|
3738
4071
|
checkpointId: z.ZodCUID2;
|
|
3739
4072
|
}, z.core.$strip>;
|
|
3740
4073
|
};
|
|
3741
|
-
declare const response$
|
|
4074
|
+
declare const response$13: z.ZodObject<{
|
|
3742
4075
|
data: z.ZodObject<{
|
|
3743
4076
|
checkpoint: z.ZodObject<{
|
|
3744
4077
|
type: z.ZodLiteral<"checkpoint">;
|
|
@@ -5202,12 +5535,12 @@ declare const response$9: z.ZodObject<{
|
|
|
5202
5535
|
}, z.core.$strip>;
|
|
5203
5536
|
}, z.core.$strip>;
|
|
5204
5537
|
}, z.core.$strip>;
|
|
5205
|
-
type RequestParams$
|
|
5206
|
-
type Response$
|
|
5538
|
+
type RequestParams$5 = z.infer<typeof request$10.params>;
|
|
5539
|
+
type Response$14 = z.infer<typeof response$13>;
|
|
5207
5540
|
declare namespace getAll_d_exports$1 {
|
|
5208
|
-
export { RequestParams$
|
|
5541
|
+
export { RequestParams$4 as RequestParams, RequestQuery$1 as RequestQuery, Response$13 as Response, request$9 as request, response$12 as response };
|
|
5209
5542
|
}
|
|
5210
|
-
declare const request$
|
|
5543
|
+
declare const request$9: {
|
|
5211
5544
|
params: z.ZodObject<{
|
|
5212
5545
|
jobId: z.ZodCUID2;
|
|
5213
5546
|
}, z.core.$strip>;
|
|
@@ -5225,7 +5558,7 @@ declare const request$8: {
|
|
|
5225
5558
|
skip: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
5226
5559
|
}, z.core.$strip>;
|
|
5227
5560
|
};
|
|
5228
|
-
declare const response$
|
|
5561
|
+
declare const response$12: z.ZodObject<{
|
|
5229
5562
|
data: z.ZodObject<{
|
|
5230
5563
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
5231
5564
|
type: z.ZodLiteral<"checkpoint">;
|
|
@@ -6694,18 +7027,18 @@ declare const response$8: z.ZodObject<{
|
|
|
6694
7027
|
skip: z.ZodNumber;
|
|
6695
7028
|
}, z.core.$strip>;
|
|
6696
7029
|
}, z.core.$strip>;
|
|
6697
|
-
type RequestParams$
|
|
6698
|
-
type RequestQuery$
|
|
6699
|
-
type Response$
|
|
7030
|
+
type RequestParams$4 = z.infer<typeof request$9.params>;
|
|
7031
|
+
type RequestQuery$1 = z.infer<typeof request$9.query>;
|
|
7032
|
+
type Response$13 = z.infer<typeof response$12>;
|
|
6700
7033
|
declare namespace stream_d_exports {
|
|
6701
|
-
export { RequestParams$
|
|
7034
|
+
export { RequestParams$3 as RequestParams, Response$12 as Response, request$8 as request, response$11 as response };
|
|
6702
7035
|
}
|
|
6703
|
-
declare const request$
|
|
7036
|
+
declare const request$8: {
|
|
6704
7037
|
params: z.ZodObject<{
|
|
6705
7038
|
jobId: z.ZodCUID2;
|
|
6706
7039
|
}, z.core.$strip>;
|
|
6707
7040
|
};
|
|
6708
|
-
declare const response$
|
|
7041
|
+
declare const response$11: z.ZodObject<{
|
|
6709
7042
|
data: z.ZodObject<{
|
|
6710
7043
|
type: z.ZodLiteral<"checkpoint">;
|
|
6711
7044
|
id: z.ZodCUID2;
|
|
@@ -8167,15 +8500,15 @@ declare const response$7: z.ZodObject<{
|
|
|
8167
8500
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
8168
8501
|
}, z.core.$strip>;
|
|
8169
8502
|
}, 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$
|
|
8503
|
+
type RequestParams$3 = z.infer<typeof request$8.params>;
|
|
8504
|
+
type Response$12 = z.infer<typeof response$11>;
|
|
8505
|
+
declare namespace index_d_exports$4 {
|
|
8506
|
+
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
8507
|
}
|
|
8175
8508
|
declare namespace continue_d_exports {
|
|
8176
|
-
export { RequestBody$
|
|
8509
|
+
export { RequestBody$5 as RequestBody, RequestParams$2 as RequestParams, Response$11 as Response, request$7 as request, response$10 as response };
|
|
8177
8510
|
}
|
|
8178
|
-
declare const request$
|
|
8511
|
+
declare const request$7: {
|
|
8179
8512
|
params: z.ZodObject<{
|
|
8180
8513
|
jobId: z.ZodCUID2;
|
|
8181
8514
|
}, z.core.$strip>;
|
|
@@ -8207,7 +8540,7 @@ declare const request$6: {
|
|
|
8207
8540
|
maxRetries: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8208
8541
|
}, z.core.$strip>;
|
|
8209
8542
|
};
|
|
8210
|
-
declare const response$
|
|
8543
|
+
declare const response$10: z.ZodObject<{
|
|
8211
8544
|
data: z.ZodObject<{
|
|
8212
8545
|
job: z.ZodObject<{
|
|
8213
8546
|
type: z.ZodLiteral<"job">;
|
|
@@ -8341,13 +8674,13 @@ declare const response$6: z.ZodObject<{
|
|
|
8341
8674
|
}, z.core.$strip>;
|
|
8342
8675
|
}, z.core.$strip>;
|
|
8343
8676
|
}, z.core.$strip>;
|
|
8344
|
-
type RequestParams$
|
|
8345
|
-
type RequestBody$
|
|
8346
|
-
type Response$
|
|
8677
|
+
type RequestParams$2 = z.infer<typeof request$7.params>;
|
|
8678
|
+
type RequestBody$5 = z.infer<typeof request$7.body>;
|
|
8679
|
+
type Response$11 = z.infer<typeof response$10>;
|
|
8347
8680
|
declare namespace create_d_exports {
|
|
8348
|
-
export { RequestBody$
|
|
8681
|
+
export { RequestBody$4 as RequestBody, Response$10 as Response, request$6 as request, response$9 as response };
|
|
8349
8682
|
}
|
|
8350
|
-
declare const request$
|
|
8683
|
+
declare const request$6: {
|
|
8351
8684
|
body: z.ZodObject<{
|
|
8352
8685
|
applicationId: z.ZodCUID2;
|
|
8353
8686
|
expertKey: z.ZodString;
|
|
@@ -8377,7 +8710,7 @@ declare const request$5: {
|
|
|
8377
8710
|
maxRetries: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8378
8711
|
}, z.core.$strip>;
|
|
8379
8712
|
};
|
|
8380
|
-
declare const response$
|
|
8713
|
+
declare const response$9: z.ZodObject<{
|
|
8381
8714
|
data: z.ZodObject<{
|
|
8382
8715
|
job: z.ZodObject<{
|
|
8383
8716
|
type: z.ZodLiteral<"job">;
|
|
@@ -8511,17 +8844,17 @@ declare const response$5: z.ZodObject<{
|
|
|
8511
8844
|
}, z.core.$strip>;
|
|
8512
8845
|
}, z.core.$strip>;
|
|
8513
8846
|
}, z.core.$strip>;
|
|
8514
|
-
type RequestBody$
|
|
8515
|
-
type Response$
|
|
8516
|
-
declare namespace get_d_exports
|
|
8517
|
-
export { RequestParams$
|
|
8847
|
+
type RequestBody$4 = z.infer<typeof request$6.body>;
|
|
8848
|
+
type Response$10 = z.infer<typeof response$9>;
|
|
8849
|
+
declare namespace get_d_exports {
|
|
8850
|
+
export { RequestParams$1 as RequestParams, Response$9 as Response, request$5 as request, response$8 as response };
|
|
8518
8851
|
}
|
|
8519
|
-
declare const request$
|
|
8852
|
+
declare const request$5: {
|
|
8520
8853
|
params: z.ZodObject<{
|
|
8521
8854
|
jobId: z.ZodCUID2;
|
|
8522
8855
|
}, z.core.$strip>;
|
|
8523
8856
|
};
|
|
8524
|
-
declare const response$
|
|
8857
|
+
declare const response$8: z.ZodObject<{
|
|
8525
8858
|
data: z.ZodObject<{
|
|
8526
8859
|
job: z.ZodObject<{
|
|
8527
8860
|
type: z.ZodLiteral<"job">;
|
|
@@ -8655,12 +8988,12 @@ declare const response$4: z.ZodObject<{
|
|
|
8655
8988
|
}, z.core.$strip>;
|
|
8656
8989
|
}, z.core.$strip>;
|
|
8657
8990
|
}, z.core.$strip>;
|
|
8658
|
-
type RequestParams$
|
|
8659
|
-
type Response$
|
|
8991
|
+
type RequestParams$1 = z.infer<typeof request$5.params>;
|
|
8992
|
+
type Response$9 = z.infer<typeof response$8>;
|
|
8660
8993
|
declare namespace getAll_d_exports {
|
|
8661
|
-
export { RequestQuery
|
|
8994
|
+
export { RequestQuery, Response$8 as Response, request$4 as request, response$7 as response };
|
|
8662
8995
|
}
|
|
8663
|
-
declare const request$
|
|
8996
|
+
declare const request$4: {
|
|
8664
8997
|
query: z.ZodObject<{
|
|
8665
8998
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
8666
8999
|
createdAt: "createdAt";
|
|
@@ -8674,7 +9007,7 @@ declare const request$3: {
|
|
|
8674
9007
|
skip: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
8675
9008
|
}, z.core.$strip>;
|
|
8676
9009
|
};
|
|
8677
|
-
declare const response$
|
|
9010
|
+
declare const response$7: z.ZodObject<{
|
|
8678
9011
|
data: z.ZodObject<{
|
|
8679
9012
|
jobs: z.ZodArray<z.ZodObject<{
|
|
8680
9013
|
type: z.ZodLiteral<"job">;
|
|
@@ -8813,12 +9146,12 @@ declare const response$3: z.ZodObject<{
|
|
|
8813
9146
|
skip: z.ZodNumber;
|
|
8814
9147
|
}, z.core.$strip>;
|
|
8815
9148
|
}, z.core.$strip>;
|
|
8816
|
-
type RequestQuery
|
|
8817
|
-
type Response$
|
|
9149
|
+
type RequestQuery = z.infer<typeof request$4.query>;
|
|
9150
|
+
type Response$8 = z.infer<typeof response$7>;
|
|
8818
9151
|
declare namespace update_d_exports {
|
|
8819
|
-
export { RequestBody
|
|
9152
|
+
export { RequestBody$3 as RequestBody, RequestParams, Response$7 as Response, request$3 as request, response$6 as response };
|
|
8820
9153
|
}
|
|
8821
|
-
declare const request$
|
|
9154
|
+
declare const request$3: {
|
|
8822
9155
|
params: z.ZodObject<{
|
|
8823
9156
|
jobId: z.ZodCUID2;
|
|
8824
9157
|
}, z.core.$strip>;
|
|
@@ -8837,7 +9170,7 @@ declare const request$2: {
|
|
|
8837
9170
|
}>;
|
|
8838
9171
|
}, z.core.$strip>;
|
|
8839
9172
|
};
|
|
8840
|
-
declare const response$
|
|
9173
|
+
declare const response$6: z.ZodObject<{
|
|
8841
9174
|
data: z.ZodObject<{
|
|
8842
9175
|
job: z.ZodObject<{
|
|
8843
9176
|
type: z.ZodLiteral<"job">;
|
|
@@ -8971,117 +9304,372 @@ declare const response$2: z.ZodObject<{
|
|
|
8971
9304
|
}, z.core.$strip>;
|
|
8972
9305
|
}, z.core.$strip>;
|
|
8973
9306
|
}, z.core.$strip>;
|
|
8974
|
-
type RequestParams
|
|
8975
|
-
type RequestBody = z.infer<typeof request$
|
|
8976
|
-
type Response$
|
|
8977
|
-
declare namespace
|
|
8978
|
-
export {
|
|
9307
|
+
type RequestParams = z.infer<typeof request$3.params>;
|
|
9308
|
+
type RequestBody$3 = z.infer<typeof request$3.body>;
|
|
9309
|
+
type Response$7 = z.infer<typeof response$6>;
|
|
9310
|
+
declare namespace index_d_exports$3 {
|
|
9311
|
+
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 };
|
|
8979
9312
|
}
|
|
8980
|
-
|
|
8981
|
-
|
|
8982
|
-
|
|
8983
|
-
|
|
8984
|
-
|
|
8985
|
-
|
|
8986
|
-
|
|
8987
|
-
|
|
8988
|
-
|
|
8989
|
-
|
|
8990
|
-
|
|
9313
|
+
//#endregion
|
|
9314
|
+
//#region ../models/src/api/provider-settings/api-keys/create.d.ts
|
|
9315
|
+
declare const request$2: {
|
|
9316
|
+
params: z.ZodObject<{
|
|
9317
|
+
applicationId: z.ZodCUID2;
|
|
9318
|
+
provider: z.ZodEnum<{
|
|
9319
|
+
anthropic: "anthropic";
|
|
9320
|
+
google: "google";
|
|
9321
|
+
openai: "openai";
|
|
9322
|
+
ollama: "ollama";
|
|
9323
|
+
deepseek: "deepseek";
|
|
9324
|
+
"azure-openai": "azure-openai";
|
|
9325
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
9326
|
+
"google-vertex": "google-vertex";
|
|
9327
|
+
}>;
|
|
9328
|
+
}, z.core.$strip>;
|
|
9329
|
+
body: z.ZodObject<{
|
|
9330
|
+
name: z.ZodString;
|
|
9331
|
+
value: z.ZodString;
|
|
9332
|
+
}, z.core.$strip>;
|
|
9333
|
+
};
|
|
9334
|
+
declare const response$5: z.ZodObject<{
|
|
9335
|
+
data: z.ZodObject<{
|
|
9336
|
+
apiKey: z.ZodObject<{
|
|
9337
|
+
id: z.ZodCUID2;
|
|
9338
|
+
name: z.ZodString;
|
|
9339
|
+
createdAt: z.ZodString;
|
|
9340
|
+
updatedAt: z.ZodString;
|
|
9341
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
9342
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
9343
|
+
}, z.core.$strip>;
|
|
9344
|
+
}, z.core.$strip>;
|
|
8991
9345
|
}, z.core.$strip>;
|
|
8992
|
-
|
|
8993
|
-
|
|
8994
|
-
|
|
8995
|
-
|
|
8996
|
-
|
|
8997
|
-
|
|
8998
|
-
|
|
8999
|
-
|
|
9000
|
-
|
|
9001
|
-
|
|
9002
|
-
|
|
9003
|
-
|
|
9004
|
-
|
|
9005
|
-
|
|
9006
|
-
|
|
9007
|
-
}, z.core.$strip>>;
|
|
9346
|
+
type RequestBody$2 = z.infer<typeof request$2.body>;
|
|
9347
|
+
type Response$6 = z.infer<typeof response$5>;
|
|
9348
|
+
//#endregion
|
|
9349
|
+
//#region ../models/src/api/provider-settings/api-keys/getAll.d.ts
|
|
9350
|
+
declare const response$4: z.ZodObject<{
|
|
9351
|
+
data: z.ZodObject<{
|
|
9352
|
+
apiKeys: z.ZodArray<z.ZodObject<{
|
|
9353
|
+
id: z.ZodCUID2;
|
|
9354
|
+
name: z.ZodString;
|
|
9355
|
+
createdAt: z.ZodString;
|
|
9356
|
+
updatedAt: z.ZodString;
|
|
9357
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
9358
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
9359
|
+
}, z.core.$strip>>;
|
|
9360
|
+
}, z.core.$strip>;
|
|
9008
9361
|
}, z.core.$strip>;
|
|
9009
|
-
type
|
|
9010
|
-
|
|
9011
|
-
|
|
9362
|
+
type Response$5 = z.infer<typeof response$4>;
|
|
9363
|
+
//#endregion
|
|
9364
|
+
//#region ../models/src/api/provider-settings/create.d.ts
|
|
9012
9365
|
declare const request$1: {
|
|
9013
9366
|
params: z.ZodObject<{
|
|
9014
|
-
|
|
9367
|
+
applicationId: z.ZodCUID2;
|
|
9368
|
+
}, z.core.$strip>;
|
|
9369
|
+
body: z.ZodObject<{
|
|
9370
|
+
provider: z.ZodEnum<{
|
|
9371
|
+
anthropic: "anthropic";
|
|
9372
|
+
google: "google";
|
|
9373
|
+
openai: "openai";
|
|
9374
|
+
ollama: "ollama";
|
|
9375
|
+
deepseek: "deepseek";
|
|
9376
|
+
"azure-openai": "azure-openai";
|
|
9377
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
9378
|
+
"google-vertex": "google-vertex";
|
|
9379
|
+
}>;
|
|
9380
|
+
settings: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
9381
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9382
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9383
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9384
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9385
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9386
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9387
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9388
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9389
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
9390
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9391
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9392
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9393
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9394
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9395
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9396
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9397
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9398
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
9399
|
+
apiVersion: z.ZodOptional<z.ZodString>;
|
|
9400
|
+
useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
|
|
9401
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9402
|
+
region: z.ZodOptional<z.ZodString>;
|
|
9403
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9404
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9405
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9406
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9407
|
+
location: z.ZodOptional<z.ZodString>;
|
|
9408
|
+
}, z.core.$strip>]>>;
|
|
9015
9409
|
}, z.core.$strip>;
|
|
9016
9410
|
};
|
|
9017
|
-
declare const response$
|
|
9411
|
+
declare const response$3: z.ZodObject<{
|
|
9018
9412
|
data: z.ZodObject<{
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
|
|
9022
|
-
|
|
9023
|
-
|
|
9024
|
-
|
|
9025
|
-
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
|
|
9029
|
-
|
|
9030
|
-
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
|
|
9034
|
-
|
|
9413
|
+
providerSetting: z.ZodObject<{
|
|
9414
|
+
type: z.ZodLiteral<"providerSetting">;
|
|
9415
|
+
id: z.ZodCUID2;
|
|
9416
|
+
provider: z.ZodEnum<{
|
|
9417
|
+
anthropic: "anthropic";
|
|
9418
|
+
google: "google";
|
|
9419
|
+
openai: "openai";
|
|
9420
|
+
ollama: "ollama";
|
|
9421
|
+
deepseek: "deepseek";
|
|
9422
|
+
"azure-openai": "azure-openai";
|
|
9423
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
9424
|
+
"google-vertex": "google-vertex";
|
|
9425
|
+
}>;
|
|
9426
|
+
settings: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
9427
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9428
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9429
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9430
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9431
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9432
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9433
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9434
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9435
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
9436
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9437
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9438
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9439
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9440
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9441
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9442
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9443
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9444
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
9445
|
+
apiVersion: z.ZodOptional<z.ZodString>;
|
|
9446
|
+
useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
|
|
9447
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9448
|
+
region: z.ZodOptional<z.ZodString>;
|
|
9449
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9450
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9451
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9452
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9453
|
+
location: z.ZodOptional<z.ZodString>;
|
|
9454
|
+
}, z.core.$strip>]>>;
|
|
9455
|
+
createdAt: z.ZodString;
|
|
9456
|
+
updatedAt: z.ZodString;
|
|
9035
9457
|
}, z.core.$strip>;
|
|
9036
9458
|
}, z.core.$strip>;
|
|
9037
9459
|
}, z.core.$strip>;
|
|
9038
|
-
type
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
declare const
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
|
|
9460
|
+
type RequestBody$1 = z.infer<typeof request$1.body>;
|
|
9461
|
+
type Response$4 = z.infer<typeof response$3>;
|
|
9462
|
+
//#endregion
|
|
9463
|
+
//#region ../models/src/api/provider-settings/get.d.ts
|
|
9464
|
+
declare const response$2: z.ZodObject<{
|
|
9465
|
+
data: z.ZodObject<{
|
|
9466
|
+
providerSetting: z.ZodObject<{
|
|
9467
|
+
type: z.ZodLiteral<"providerSetting">;
|
|
9468
|
+
id: z.ZodCUID2;
|
|
9469
|
+
provider: z.ZodEnum<{
|
|
9470
|
+
anthropic: "anthropic";
|
|
9471
|
+
google: "google";
|
|
9472
|
+
openai: "openai";
|
|
9473
|
+
ollama: "ollama";
|
|
9474
|
+
deepseek: "deepseek";
|
|
9475
|
+
"azure-openai": "azure-openai";
|
|
9476
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
9477
|
+
"google-vertex": "google-vertex";
|
|
9478
|
+
}>;
|
|
9479
|
+
settings: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
9480
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9481
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9482
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9483
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9484
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9485
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9486
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9487
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9488
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
9489
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9490
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9491
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9492
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9493
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9494
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9495
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9496
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9497
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
9498
|
+
apiVersion: z.ZodOptional<z.ZodString>;
|
|
9499
|
+
useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
|
|
9500
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9501
|
+
region: z.ZodOptional<z.ZodString>;
|
|
9502
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9503
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9504
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9505
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9506
|
+
location: z.ZodOptional<z.ZodString>;
|
|
9507
|
+
}, z.core.$strip>]>>;
|
|
9508
|
+
createdAt: z.ZodString;
|
|
9509
|
+
updatedAt: z.ZodString;
|
|
9510
|
+
}, z.core.$strip>;
|
|
9511
|
+
apiKeys: z.ZodArray<z.ZodObject<{
|
|
9512
|
+
id: z.ZodCUID2;
|
|
9513
|
+
name: z.ZodString;
|
|
9514
|
+
createdAt: z.ZodString;
|
|
9515
|
+
updatedAt: z.ZodString;
|
|
9516
|
+
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
9517
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
9518
|
+
}, z.core.$strip>>;
|
|
9519
|
+
}, z.core.$strip>;
|
|
9520
|
+
}, z.core.$strip>;
|
|
9521
|
+
type Response$3 = z.infer<typeof response$2>;
|
|
9522
|
+
//#endregion
|
|
9523
|
+
//#region ../models/src/api/provider-settings/getAll.d.ts
|
|
9524
|
+
declare const response$1: z.ZodObject<{
|
|
9525
|
+
data: z.ZodObject<{
|
|
9526
|
+
providerSettings: z.ZodArray<z.ZodObject<{
|
|
9527
|
+
type: z.ZodLiteral<"providerSetting">;
|
|
9528
|
+
id: z.ZodCUID2;
|
|
9529
|
+
provider: z.ZodEnum<{
|
|
9530
|
+
anthropic: "anthropic";
|
|
9531
|
+
google: "google";
|
|
9532
|
+
openai: "openai";
|
|
9533
|
+
ollama: "ollama";
|
|
9534
|
+
deepseek: "deepseek";
|
|
9535
|
+
"azure-openai": "azure-openai";
|
|
9536
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
9537
|
+
"google-vertex": "google-vertex";
|
|
9538
|
+
}>;
|
|
9539
|
+
settings: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
9540
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9541
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9542
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9543
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9544
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9545
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9546
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9547
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9548
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
9549
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9550
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9551
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9552
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9553
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9554
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9555
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9556
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9557
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
9558
|
+
apiVersion: z.ZodOptional<z.ZodString>;
|
|
9559
|
+
useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
|
|
9560
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9561
|
+
region: z.ZodOptional<z.ZodString>;
|
|
9562
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9563
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9564
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9565
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9566
|
+
location: z.ZodOptional<z.ZodString>;
|
|
9567
|
+
}, z.core.$strip>]>>;
|
|
9568
|
+
createdAt: z.ZodString;
|
|
9569
|
+
updatedAt: z.ZodString;
|
|
9570
|
+
}, z.core.$strip>>;
|
|
9571
|
+
}, z.core.$strip>;
|
|
9051
9572
|
}, z.core.$strip>;
|
|
9052
|
-
type
|
|
9573
|
+
type Response$2 = z.infer<typeof response$1>;
|
|
9574
|
+
//#endregion
|
|
9575
|
+
//#region ../models/src/api/provider-settings/update.d.ts
|
|
9053
9576
|
declare const request: {
|
|
9054
9577
|
params: z.ZodObject<{
|
|
9055
|
-
|
|
9578
|
+
applicationId: z.ZodCUID2;
|
|
9579
|
+
provider: z.ZodEnum<{
|
|
9580
|
+
anthropic: "anthropic";
|
|
9581
|
+
google: "google";
|
|
9582
|
+
openai: "openai";
|
|
9583
|
+
ollama: "ollama";
|
|
9584
|
+
deepseek: "deepseek";
|
|
9585
|
+
"azure-openai": "azure-openai";
|
|
9586
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
9587
|
+
"google-vertex": "google-vertex";
|
|
9588
|
+
}>;
|
|
9056
9589
|
}, z.core.$strip>;
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
|
|
9590
|
+
body: z.ZodObject<{
|
|
9591
|
+
settings: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
9592
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9593
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9594
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9595
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9596
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9597
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9598
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9599
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9600
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
9601
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9602
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9603
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9604
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9605
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9606
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9607
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9608
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9609
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
9610
|
+
apiVersion: z.ZodOptional<z.ZodString>;
|
|
9611
|
+
useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
|
|
9612
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9613
|
+
region: z.ZodOptional<z.ZodString>;
|
|
9614
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9615
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9616
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9617
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9618
|
+
location: z.ZodOptional<z.ZodString>;
|
|
9619
|
+
}, z.core.$strip>]>>;
|
|
9060
9620
|
}, z.core.$strip>;
|
|
9061
9621
|
};
|
|
9062
9622
|
declare const response: z.ZodObject<{
|
|
9063
9623
|
data: z.ZodObject<{
|
|
9064
|
-
|
|
9065
|
-
type: z.
|
|
9066
|
-
|
|
9067
|
-
|
|
9624
|
+
providerSetting: z.ZodObject<{
|
|
9625
|
+
type: z.ZodLiteral<"providerSetting">;
|
|
9626
|
+
id: z.ZodCUID2;
|
|
9627
|
+
provider: z.ZodEnum<{
|
|
9628
|
+
anthropic: "anthropic";
|
|
9629
|
+
google: "google";
|
|
9630
|
+
openai: "openai";
|
|
9631
|
+
ollama: "ollama";
|
|
9632
|
+
deepseek: "deepseek";
|
|
9633
|
+
"azure-openai": "azure-openai";
|
|
9634
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
9635
|
+
"google-vertex": "google-vertex";
|
|
9068
9636
|
}>;
|
|
9069
|
-
|
|
9070
|
-
|
|
9071
|
-
|
|
9072
|
-
|
|
9073
|
-
|
|
9637
|
+
settings: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
9638
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9639
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9640
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9641
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9642
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9643
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9644
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9645
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9646
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
9647
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9648
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9649
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9650
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9651
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9652
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9653
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9654
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9655
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
9656
|
+
apiVersion: z.ZodOptional<z.ZodString>;
|
|
9657
|
+
useDeploymentBasedUrls: z.ZodOptional<z.ZodBoolean>;
|
|
9658
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9659
|
+
region: z.ZodOptional<z.ZodString>;
|
|
9660
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9661
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
9662
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9663
|
+
project: z.ZodOptional<z.ZodString>;
|
|
9664
|
+
location: z.ZodOptional<z.ZodString>;
|
|
9665
|
+
}, z.core.$strip>]>>;
|
|
9666
|
+
createdAt: z.ZodString;
|
|
9667
|
+
updatedAt: z.ZodString;
|
|
9668
|
+
}, z.core.$strip>;
|
|
9074
9669
|
}, z.core.$strip>;
|
|
9075
9670
|
}, 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
|
-
}
|
|
9671
|
+
type RequestBody = z.infer<typeof request.body>;
|
|
9672
|
+
type Response$1 = z.infer<typeof response>;
|
|
9085
9673
|
//#endregion
|
|
9086
9674
|
//#region ../models/src/domain/apiKey.d.ts
|
|
9087
9675
|
declare const apiKeyPermissionsSchema: z.ZodObject<{
|
|
@@ -9131,6 +9719,17 @@ declare const applicationSchema: z.ZodObject<{
|
|
|
9131
9719
|
inactive: "inactive";
|
|
9132
9720
|
deleted: "deleted";
|
|
9133
9721
|
}>;
|
|
9722
|
+
expertCount: z.ZodOptional<z.ZodNumber>;
|
|
9723
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9724
|
+
anthropic: "anthropic";
|
|
9725
|
+
google: "google";
|
|
9726
|
+
openai: "openai";
|
|
9727
|
+
ollama: "ollama";
|
|
9728
|
+
deepseek: "deepseek";
|
|
9729
|
+
"azure-openai": "azure-openai";
|
|
9730
|
+
"amazon-bedrock": "amazon-bedrock";
|
|
9731
|
+
"google-vertex": "google-vertex";
|
|
9732
|
+
}>>>;
|
|
9134
9733
|
}, z.core.$strip>;
|
|
9135
9734
|
type Application = z.infer<typeof applicationSchema>;
|
|
9136
9735
|
//#endregion
|
|
@@ -11053,11 +11652,14 @@ type ApiResult<T> = {
|
|
|
11053
11652
|
ok: false;
|
|
11054
11653
|
error: ApiError;
|
|
11055
11654
|
};
|
|
11655
|
+
type ApiErrorType = "http" | "network" | "timeout" | "validation" | "abort";
|
|
11056
11656
|
interface ApiError {
|
|
11657
|
+
errorType: ApiErrorType;
|
|
11057
11658
|
code: number;
|
|
11058
11659
|
message: string;
|
|
11059
11660
|
reason?: unknown;
|
|
11060
11661
|
aborted?: boolean;
|
|
11662
|
+
cause?: Error;
|
|
11061
11663
|
}
|
|
11062
11664
|
type ApiClientConfig = {
|
|
11063
11665
|
apiKey: string;
|
|
@@ -11071,42 +11673,61 @@ type ApiClientConfig = {
|
|
|
11071
11673
|
interface RequestOptions {
|
|
11072
11674
|
signal?: AbortSignal;
|
|
11073
11675
|
}
|
|
11676
|
+
interface StreamRequestOptions extends RequestOptions {
|
|
11677
|
+
/**
|
|
11678
|
+
* Timeout in milliseconds between stream data chunks.
|
|
11679
|
+
* If no data is received within this period, the stream will be aborted.
|
|
11680
|
+
* Defaults to the client's configured timeout.
|
|
11681
|
+
*/
|
|
11682
|
+
streamIdleTimeout?: number;
|
|
11683
|
+
}
|
|
11074
11684
|
interface Fetcher {
|
|
11075
11685
|
get<T>(path: string, options?: RequestOptions): Promise<ApiResult<T>>;
|
|
11076
11686
|
post<T>(path: string, body: unknown, options?: RequestOptions): Promise<ApiResult<T>>;
|
|
11077
11687
|
put<T>(path: string, body: unknown, options?: RequestOptions): Promise<ApiResult<T>>;
|
|
11078
11688
|
delete<T>(path: string, options?: RequestOptions): Promise<ApiResult<T>>;
|
|
11079
|
-
/** DELETE request expecting 204 No Content response */
|
|
11080
11689
|
deleteNoContent(path: string, options?: RequestOptions): Promise<ApiResult<void>>;
|
|
11081
11690
|
getBlob(path: string, options?: RequestOptions): Promise<ApiResult<Blob>>;
|
|
11082
|
-
getStream(path: string, options?:
|
|
11691
|
+
getStream(path: string, options?: StreamRequestOptions): Promise<ApiResult<ReadableStream<Uint8Array>>>;
|
|
11083
11692
|
}
|
|
11084
11693
|
declare function createFetcher(config: ApiClientConfig): Fetcher;
|
|
11085
11694
|
//#endregion
|
|
11695
|
+
//#region src/endpoints/api-keys.d.ts
|
|
11696
|
+
interface ApiKeysApi {
|
|
11697
|
+
create(input: RequestBody$16, options?: RequestOptions): Promise<ApiResult<Response$48>>;
|
|
11698
|
+
list(input?: RequestQuery$11, options?: RequestOptions): Promise<ApiResult<Response$46>>;
|
|
11699
|
+
get(id: string, options?: RequestOptions): Promise<ApiResult<Response$47>>;
|
|
11700
|
+
revoke(id: string, options?: RequestOptions): Promise<ApiResult<Response$45>>;
|
|
11701
|
+
}
|
|
11702
|
+
//#endregion
|
|
11086
11703
|
//#region src/endpoints/applications.d.ts
|
|
11087
11704
|
interface ApplicationsApi {
|
|
11088
|
-
list(params?: RequestQuery$
|
|
11089
|
-
get(id: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11090
|
-
create(input: RequestBody$
|
|
11091
|
-
update(id: string, input: RequestBody$
|
|
11092
|
-
delete(id: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11705
|
+
list(params?: RequestQuery$10, options?: RequestOptions): Promise<ApiResult<Response$41>>;
|
|
11706
|
+
get(id: string, options?: RequestOptions): Promise<ApiResult<Response$42>>;
|
|
11707
|
+
create(input: RequestBody$15, options?: RequestOptions): Promise<ApiResult<Response$42>>;
|
|
11708
|
+
update(id: string, input: RequestBody$14, options?: RequestOptions): Promise<ApiResult<Response$42>>;
|
|
11709
|
+
delete(id: string, options?: RequestOptions): Promise<ApiResult<Response$42>>;
|
|
11093
11710
|
}
|
|
11094
11711
|
//#endregion
|
|
11095
11712
|
//#region src/endpoints/env-secrets.d.ts
|
|
11096
11713
|
interface SecretsApi {
|
|
11097
|
-
list(
|
|
11098
|
-
|
|
11099
|
-
|
|
11100
|
-
|
|
11714
|
+
list(params?: {
|
|
11715
|
+
applicationId?: string;
|
|
11716
|
+
}, options?: RequestOptions): Promise<ApiResult<Response$36>>;
|
|
11717
|
+
get(name: string, options?: RequestOptions): Promise<ApiResult<Response$37>>;
|
|
11718
|
+
create(input: RequestBody$13, options?: RequestOptions): Promise<ApiResult<Response$37>>;
|
|
11719
|
+
update(name: string, input: RequestBody$12, options?: RequestOptions): Promise<ApiResult<Response$37>>;
|
|
11101
11720
|
delete(name: string, options?: RequestOptions): Promise<ApiResult<void>>;
|
|
11102
11721
|
}
|
|
11103
11722
|
//#endregion
|
|
11104
11723
|
//#region src/endpoints/env-variables.d.ts
|
|
11105
11724
|
interface VariablesApi {
|
|
11106
|
-
list(
|
|
11107
|
-
|
|
11108
|
-
|
|
11109
|
-
|
|
11725
|
+
list(params: {
|
|
11726
|
+
applicationId: string;
|
|
11727
|
+
}, options?: RequestOptions): Promise<ApiResult<Response$31>>;
|
|
11728
|
+
get(name: string, options?: RequestOptions): Promise<ApiResult<Response$32>>;
|
|
11729
|
+
create(input: RequestBody$11, options?: RequestOptions): Promise<ApiResult<Response$32>>;
|
|
11730
|
+
update(name: string, input: RequestBody$10, options?: RequestOptions): Promise<ApiResult<Response$32>>;
|
|
11110
11731
|
delete(name: string, options?: RequestOptions): Promise<ApiResult<void>>;
|
|
11111
11732
|
}
|
|
11112
11733
|
//#endregion
|
|
@@ -11118,65 +11739,71 @@ interface EnvApi {
|
|
|
11118
11739
|
//#endregion
|
|
11119
11740
|
//#region src/endpoints/experts-drafts.d.ts
|
|
11120
11741
|
interface DraftsApi {
|
|
11121
|
-
list(scopeName: string, params?: RequestQuery$
|
|
11122
|
-
get(scopeName: string, draftRef: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11123
|
-
create(scopeName: string, input: RequestBody$
|
|
11124
|
-
update(scopeName: string, draftRef: string, input: RequestBody$
|
|
11125
|
-
delete(scopeName: string, draftRef: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11126
|
-
assignVersion(scopeName: string, draftRef: string, input: RequestBody$
|
|
11742
|
+
list(scopeName: string, params?: RequestQuery$3, options?: RequestOptions): Promise<ApiResult<Response$25>>;
|
|
11743
|
+
get(scopeName: string, draftRef: string, options?: RequestOptions): Promise<ApiResult<Response$26>>;
|
|
11744
|
+
create(scopeName: string, input: RequestBody$9, options?: RequestOptions): Promise<ApiResult<Response$28>>;
|
|
11745
|
+
update(scopeName: string, draftRef: string, input: RequestBody$8, options?: RequestOptions): Promise<ApiResult<Response$24>>;
|
|
11746
|
+
delete(scopeName: string, draftRef: string, options?: RequestOptions): Promise<ApiResult<Response$27>>;
|
|
11747
|
+
assignVersion(scopeName: string, draftRef: string, input: RequestBody$7, options?: RequestOptions): Promise<ApiResult<Response$23>>;
|
|
11127
11748
|
}
|
|
11128
11749
|
//#endregion
|
|
11129
11750
|
//#region src/endpoints/experts-versions.d.ts
|
|
11130
11751
|
interface VersionsApi {
|
|
11131
|
-
list(scopeName: string, options?: RequestOptions): Promise<ApiResult<Response$
|
|
11752
|
+
list(scopeName: string, options?: RequestOptions): Promise<ApiResult<Response$16>>;
|
|
11132
11753
|
}
|
|
11133
11754
|
//#endregion
|
|
11134
11755
|
//#region src/endpoints/experts.d.ts
|
|
11135
11756
|
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$
|
|
11757
|
+
list(params?: RequestQuery$2, options?: RequestOptions): Promise<ApiResult<Response$20>>;
|
|
11758
|
+
get(key: string, options?: RequestOptions): Promise<ApiResult<Response$21>>;
|
|
11759
|
+
getFeatured(options?: RequestOptions): Promise<ApiResult<Response$22>>;
|
|
11760
|
+
getMeta(key: string, options?: RequestOptions): Promise<ApiResult<Response$19>>;
|
|
11761
|
+
publish(scopeName: string, options?: RequestOptions): Promise<ApiResult<Response$18>>;
|
|
11762
|
+
unpublish(scopeName: string, options?: RequestOptions): Promise<ApiResult<Response$17>>;
|
|
11763
|
+
yank(key: string, options?: RequestOptions): Promise<ApiResult<Response$29>>;
|
|
11143
11764
|
drafts: DraftsApi;
|
|
11144
11765
|
versions: VersionsApi;
|
|
11145
11766
|
}
|
|
11146
11767
|
//#endregion
|
|
11147
11768
|
//#region src/endpoints/jobs-checkpoints.d.ts
|
|
11148
11769
|
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>>;
|
|
11770
|
+
list(jobId: string, params?: RequestQuery$1, options?: RequestOptions): Promise<ApiResult<Response$13>>;
|
|
11771
|
+
get(jobId: string, checkpointId: string, options?: RequestOptions): Promise<ApiResult<Response$14>>;
|
|
11772
|
+
create(jobId: string, input: RequestBody$6, options?: RequestOptions): Promise<ApiResult<Response$14>>;
|
|
11773
|
+
stream(jobId: string, options?: StreamRequestOptions): AsyncGenerator<ApiResult<ApiCheckpoint>, void, unknown>;
|
|
11160
11774
|
}
|
|
11161
11775
|
//#endregion
|
|
11162
11776
|
//#region src/endpoints/jobs.d.ts
|
|
11163
11777
|
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$
|
|
11778
|
+
list(params?: RequestQuery, options?: RequestOptions): Promise<ApiResult<Response$8>>;
|
|
11779
|
+
get(id: string, options?: RequestOptions): Promise<ApiResult<Response$9>>;
|
|
11780
|
+
start(input: RequestBody$4, options?: RequestOptions): Promise<ApiResult<Response$9>>;
|
|
11781
|
+
update(id: string, input: RequestBody$3, options?: RequestOptions): Promise<ApiResult<Response$9>>;
|
|
11782
|
+
continue(id: string, input: RequestBody$5, options?: RequestOptions): Promise<ApiResult<Response$9>>;
|
|
11783
|
+
cancel(id: string, options?: RequestOptions): Promise<ApiResult<Response$9>>;
|
|
11170
11784
|
checkpoints: CheckpointsApi;
|
|
11171
|
-
workspace: WorkspaceApi;
|
|
11172
11785
|
}
|
|
11173
11786
|
//#endregion
|
|
11174
|
-
//#region src/
|
|
11787
|
+
//#region src/endpoints/provider-settings.d.ts
|
|
11788
|
+
interface ProviderSettingsApi {
|
|
11789
|
+
list(applicationId: string, options?: RequestOptions): Promise<ApiResult<Response$2>>;
|
|
11790
|
+
get(applicationId: string, provider: string, options?: RequestOptions): Promise<ApiResult<Response$3>>;
|
|
11791
|
+
create(applicationId: string, input: RequestBody$1, options?: RequestOptions): Promise<ApiResult<Response$4>>;
|
|
11792
|
+
update(applicationId: string, provider: string, input: RequestBody, options?: RequestOptions): Promise<ApiResult<Response$1>>;
|
|
11793
|
+
delete(applicationId: string, provider: string, options?: RequestOptions): Promise<ApiResult<void>>;
|
|
11794
|
+
listApiKeys(applicationId: string, provider: string, options?: RequestOptions): Promise<ApiResult<Response$5>>;
|
|
11795
|
+
createApiKey(applicationId: string, provider: string, input: RequestBody$2, options?: RequestOptions): Promise<ApiResult<Response$6>>;
|
|
11796
|
+
deleteApiKey(applicationId: string, provider: string, apiKeyId: string, options?: RequestOptions): Promise<ApiResult<void>>;
|
|
11797
|
+
}
|
|
11798
|
+
//#endregion
|
|
11799
|
+
//#region src/client-public.d.ts
|
|
11175
11800
|
interface ApiClient {
|
|
11801
|
+
apiKeys: ApiKeysApi;
|
|
11176
11802
|
applications: ApplicationsApi;
|
|
11177
11803
|
env: EnvApi;
|
|
11178
11804
|
jobs: JobsApi;
|
|
11179
11805
|
experts: ExpertsApi;
|
|
11806
|
+
providerSettings: ProviderSettingsApi;
|
|
11180
11807
|
}
|
|
11181
11808
|
declare function createApiClient(config: ApiClientConfig): ApiClient;
|
|
11182
11809
|
//#endregion
|
|
@@ -11188,13 +11815,6 @@ declare function parseApiKeyPermissions(permissionsJson: string | null): ApiKeyP
|
|
|
11188
11815
|
declare function stringifyApiKeyPermissions(permissions: ApiKeyPermissions): string;
|
|
11189
11816
|
//#endregion
|
|
11190
11817
|
//#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
11818
|
type AuthOptions = {
|
|
11199
11819
|
type: "apiKey";
|
|
11200
11820
|
apiKey: string;
|
|
@@ -11202,13 +11822,9 @@ type AuthOptions = {
|
|
|
11202
11822
|
type: "cookie";
|
|
11203
11823
|
cookie: string;
|
|
11204
11824
|
};
|
|
11205
|
-
/**
|
|
11206
|
-
* Build authentication headers from AuthOptions.
|
|
11207
|
-
*/
|
|
11208
11825
|
declare function buildAuthHeaders(auth: AuthOptions): Record<string, string>;
|
|
11209
11826
|
//#endregion
|
|
11210
11827
|
//#region src/lib/errors.d.ts
|
|
11211
|
-
/** Minimal interface for validation errors (compatible with Zod's error structure) */
|
|
11212
11828
|
interface ValidationError {
|
|
11213
11829
|
issues: ReadonlyArray<{
|
|
11214
11830
|
path: ReadonlyArray<PropertyKey>;
|
|
@@ -11217,8 +11833,22 @@ interface ValidationError {
|
|
|
11217
11833
|
}
|
|
11218
11834
|
declare function createValidationError(error: ValidationError): ApiError;
|
|
11219
11835
|
declare function createAbortError(): ApiError;
|
|
11836
|
+
declare function createTimeoutError(): ApiError;
|
|
11220
11837
|
declare function createNetworkError(error: unknown): ApiError;
|
|
11838
|
+
declare function handleHttpError(response: Response): Promise<{
|
|
11839
|
+
ok: false;
|
|
11840
|
+
error: ApiError;
|
|
11841
|
+
}>;
|
|
11221
11842
|
declare function createHttpError(status: number, statusText: string, body?: unknown): ApiError;
|
|
11843
|
+
declare function isHttpError(error: ApiError): boolean;
|
|
11844
|
+
declare function isNetworkError(error: ApiError): boolean;
|
|
11845
|
+
declare function isTimeoutError(error: ApiError): boolean;
|
|
11846
|
+
declare function isValidationError(error: ApiError): boolean;
|
|
11847
|
+
declare function isAbortError(error: ApiError): boolean;
|
|
11848
|
+
declare function isClientError(error: ApiError): boolean;
|
|
11849
|
+
//#endregion
|
|
11850
|
+
//#region src/lib/query-string.d.ts
|
|
11851
|
+
declare function buildQueryString<T extends Record<string, unknown>>(params?: T): string;
|
|
11222
11852
|
//#endregion
|
|
11223
11853
|
//#region src/lib/sse.d.ts
|
|
11224
11854
|
interface StreamReader {
|
|
@@ -11229,5 +11859,5 @@ interface StreamReader {
|
|
|
11229
11859
|
}
|
|
11230
11860
|
declare function parseSSE<T>(reader: StreamReader): AsyncGenerator<T>;
|
|
11231
11861
|
//#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 };
|
|
11233
|
-
//# sourceMappingURL=
|
|
11862
|
+
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 };
|
|
11863
|
+
//# sourceMappingURL=bundle.d.mts.map
|