@alpic-ai/api 0.0.0-staging.ffd67d5 → 0.0.0-staging.g01356a0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +252 -234
- package/dist/index.mjs +1367 -106
- package/package.json +26 -7
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import * as _orpc_contract0 from "@orpc/contract";
|
|
2
|
-
import { InferContractRouterInputs, InferContractRouterOutputs } from "@orpc/contract";
|
|
3
1
|
import { z } from "zod";
|
|
4
|
-
|
|
2
|
+
import { InferContractRouterInputs, InferContractRouterOutputs } from "@orpc/contract";
|
|
5
3
|
//#region src/api.contract.d.ts
|
|
6
4
|
type ApiContext = {
|
|
7
5
|
request: Request & {
|
|
@@ -11,12 +9,12 @@ type ApiContext = {
|
|
|
11
9
|
};
|
|
12
10
|
};
|
|
13
11
|
declare const deploymentStatusSchema: z.ZodEnum<{
|
|
14
|
-
failed: "failed";
|
|
15
12
|
ongoing: "ongoing";
|
|
16
13
|
deployed: "deployed";
|
|
14
|
+
failed: "failed";
|
|
17
15
|
canceled: "canceled";
|
|
18
16
|
}>;
|
|
19
|
-
declare const createEnvironmentContractV1:
|
|
17
|
+
declare const createEnvironmentContractV1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
20
18
|
projectId: z.ZodString;
|
|
21
19
|
name: z.ZodString;
|
|
22
20
|
sourceBranch: z.ZodString;
|
|
@@ -29,17 +27,17 @@ declare const createEnvironmentContractV1: _orpc_contract0.ContractProcedureBuil
|
|
|
29
27
|
id: z.ZodString;
|
|
30
28
|
name: z.ZodString;
|
|
31
29
|
sourceBranch: z.ZodNullable<z.ZodString>;
|
|
32
|
-
urls: z.ZodArray<z.
|
|
30
|
+
urls: z.ZodArray<z.ZodURL>;
|
|
33
31
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
34
32
|
projectId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>,
|
|
33
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
36
34
|
NOT_FOUND: {};
|
|
37
35
|
BAD_REQUEST: {};
|
|
38
36
|
}>, Record<never, never>>;
|
|
39
37
|
declare const contract: {
|
|
40
38
|
teams: {
|
|
41
39
|
list: {
|
|
42
|
-
v1:
|
|
40
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
|
|
43
41
|
id: z.ZodString;
|
|
44
42
|
name: z.ZodString;
|
|
45
43
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -49,7 +47,7 @@ declare const contract: {
|
|
|
49
47
|
};
|
|
50
48
|
analytics: {
|
|
51
49
|
get: {
|
|
52
|
-
v1:
|
|
50
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
53
51
|
projectId: z.ZodString;
|
|
54
52
|
startTimestamp: z.ZodCoercedNumber<unknown>;
|
|
55
53
|
endTimestamp: z.ZodCoercedNumber<unknown>;
|
|
@@ -92,7 +90,7 @@ declare const contract: {
|
|
|
92
90
|
categories: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
93
91
|
}, z.core.$strip>>;
|
|
94
92
|
}, z.core.$strip>;
|
|
95
|
-
}, z.core.$strip>,
|
|
93
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
96
94
|
NOT_FOUND: {};
|
|
97
95
|
BAD_REQUEST: {};
|
|
98
96
|
}>, Record<never, never>>;
|
|
@@ -100,21 +98,21 @@ declare const contract: {
|
|
|
100
98
|
};
|
|
101
99
|
deployments: {
|
|
102
100
|
list: {
|
|
103
|
-
v1:
|
|
101
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
104
102
|
projectId: z.ZodString;
|
|
105
103
|
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
106
|
-
failed: "failed";
|
|
107
104
|
ongoing: "ongoing";
|
|
108
105
|
deployed: "deployed";
|
|
106
|
+
failed: "failed";
|
|
109
107
|
canceled: "canceled";
|
|
110
108
|
}>>>;
|
|
111
109
|
environmentId: z.ZodOptional<z.ZodString>;
|
|
112
110
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
113
111
|
id: z.ZodString;
|
|
114
112
|
status: z.ZodEnum<{
|
|
115
|
-
failed: "failed";
|
|
116
113
|
ongoing: "ongoing";
|
|
117
114
|
deployed: "deployed";
|
|
115
|
+
failed: "failed";
|
|
118
116
|
canceled: "canceled";
|
|
119
117
|
}>;
|
|
120
118
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -128,19 +126,19 @@ declare const contract: {
|
|
|
128
126
|
environmentName: z.ZodString;
|
|
129
127
|
isCurrent: z.ZodBoolean;
|
|
130
128
|
deploymentPageUrl: z.ZodNullable<z.ZodURL>;
|
|
131
|
-
}, z.core.$strip>>,
|
|
129
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
132
130
|
NOT_FOUND: {};
|
|
133
131
|
}>, Record<never, never>>;
|
|
134
132
|
};
|
|
135
133
|
get: {
|
|
136
|
-
v1:
|
|
134
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
137
135
|
deploymentId: z.ZodString;
|
|
138
136
|
}, z.core.$strip>, z.ZodObject<{
|
|
139
137
|
id: z.ZodString;
|
|
140
138
|
status: z.ZodEnum<{
|
|
141
|
-
failed: "failed";
|
|
142
139
|
ongoing: "ongoing";
|
|
143
140
|
deployed: "deployed";
|
|
141
|
+
failed: "failed";
|
|
144
142
|
canceled: "canceled";
|
|
145
143
|
}>;
|
|
146
144
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -154,21 +152,24 @@ declare const contract: {
|
|
|
154
152
|
environmentName: z.ZodString;
|
|
155
153
|
isCurrent: z.ZodBoolean;
|
|
156
154
|
deploymentPageUrl: z.ZodNullable<z.ZodURL>;
|
|
157
|
-
}, z.core.$strip>,
|
|
155
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
158
156
|
NOT_FOUND: {};
|
|
159
157
|
}>, Record<never, never>>;
|
|
160
158
|
};
|
|
161
159
|
uploadArtifact: {
|
|
162
|
-
v1:
|
|
160
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
|
|
163
161
|
teamId: z.ZodOptional<z.ZodString>;
|
|
164
162
|
}, z.core.$strip>>, z.ZodObject<{
|
|
165
163
|
uploadUrl: z.ZodURL;
|
|
166
164
|
token: z.ZodString;
|
|
167
165
|
expiresAt: z.ZodCoercedDate<unknown>;
|
|
168
|
-
}, z.core.$strip>, Record<never, never>,
|
|
166
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
167
|
+
NOT_FOUND: {};
|
|
168
|
+
BAD_REQUEST: {};
|
|
169
|
+
}>, Record<never, never>>;
|
|
169
170
|
};
|
|
170
171
|
getLogs: {
|
|
171
|
-
v1:
|
|
172
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
172
173
|
deploymentId: z.ZodString;
|
|
173
174
|
}, z.core.$strip>, z.ZodObject<{
|
|
174
175
|
logs: z.ZodArray<z.ZodObject<{
|
|
@@ -176,14 +177,14 @@ declare const contract: {
|
|
|
176
177
|
content: z.ZodOptional<z.ZodString>;
|
|
177
178
|
}, z.core.$strip>>;
|
|
178
179
|
hasMoreLogs: z.ZodBoolean;
|
|
179
|
-
}, z.core.$strip>,
|
|
180
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
180
181
|
NOT_FOUND: {};
|
|
181
182
|
}>, Record<never, never>>;
|
|
182
183
|
};
|
|
183
184
|
};
|
|
184
185
|
environments: {
|
|
185
186
|
create: {
|
|
186
|
-
v1:
|
|
187
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
187
188
|
projectId: z.ZodString;
|
|
188
189
|
name: z.ZodString;
|
|
189
190
|
sourceBranch: z.ZodString;
|
|
@@ -196,39 +197,50 @@ declare const contract: {
|
|
|
196
197
|
id: z.ZodString;
|
|
197
198
|
name: z.ZodString;
|
|
198
199
|
sourceBranch: z.ZodNullable<z.ZodString>;
|
|
199
|
-
urls: z.ZodArray<z.
|
|
200
|
+
urls: z.ZodArray<z.ZodURL>;
|
|
200
201
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
201
202
|
projectId: z.ZodString;
|
|
202
|
-
}, z.core.$strip>,
|
|
203
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
203
204
|
NOT_FOUND: {};
|
|
204
205
|
BAD_REQUEST: {};
|
|
205
206
|
}>, Record<never, never>>;
|
|
206
207
|
};
|
|
207
208
|
get: {
|
|
208
|
-
v1:
|
|
209
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
209
210
|
environmentId: z.ZodString;
|
|
210
211
|
}, z.core.$strip>, z.ZodObject<{
|
|
211
212
|
id: z.ZodString;
|
|
212
213
|
name: z.ZodString;
|
|
213
214
|
sourceBranch: z.ZodNullable<z.ZodString>;
|
|
214
215
|
mcpServerUrl: z.ZodString;
|
|
215
|
-
domains: z.ZodArray<z.
|
|
216
|
+
domains: z.ZodArray<z.ZodCustomStringFormat<"hostname">>;
|
|
216
217
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
217
218
|
projectId: z.ZodString;
|
|
218
|
-
}, z.core.$strip>,
|
|
219
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
219
220
|
NOT_FOUND: {};
|
|
220
221
|
}>, Record<never, never>>;
|
|
221
222
|
};
|
|
222
223
|
deploy: {
|
|
223
|
-
v1:
|
|
224
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
224
225
|
environmentId: z.ZodString;
|
|
225
226
|
token: z.ZodOptional<z.ZodString>;
|
|
227
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
228
|
+
installCommand: z.ZodOptional<z.ZodString>;
|
|
229
|
+
buildCommand: z.ZodOptional<z.ZodString>;
|
|
230
|
+
buildOutputDir: z.ZodOptional<z.ZodString>;
|
|
231
|
+
startCommand: z.ZodOptional<z.ZodString>;
|
|
232
|
+
transport: z.ZodEnum<{
|
|
233
|
+
stdio: "stdio";
|
|
234
|
+
sse: "sse";
|
|
235
|
+
streamablehttp: "streamablehttp";
|
|
236
|
+
}>;
|
|
237
|
+
}, z.core.$strip>>;
|
|
226
238
|
}, z.core.$strip>, z.ZodObject<{
|
|
227
239
|
id: z.ZodString;
|
|
228
240
|
status: z.ZodEnum<{
|
|
229
|
-
failed: "failed";
|
|
230
241
|
ongoing: "ongoing";
|
|
231
242
|
deployed: "deployed";
|
|
243
|
+
failed: "failed";
|
|
232
244
|
canceled: "canceled";
|
|
233
245
|
}>;
|
|
234
246
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -242,13 +254,14 @@ declare const contract: {
|
|
|
242
254
|
environmentName: z.ZodString;
|
|
243
255
|
isCurrent: z.ZodBoolean;
|
|
244
256
|
deploymentPageUrl: z.ZodNullable<z.ZodURL>;
|
|
245
|
-
}, z.core.$strip>,
|
|
257
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
246
258
|
NOT_FOUND: {};
|
|
247
259
|
BAD_REQUEST: {};
|
|
260
|
+
CONFLICT: {};
|
|
248
261
|
}>, Record<never, never>>;
|
|
249
262
|
};
|
|
250
263
|
getLogs: {
|
|
251
|
-
v1:
|
|
264
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
252
265
|
environmentId: z.ZodString;
|
|
253
266
|
since: z.ZodOptional<z.ZodString>;
|
|
254
267
|
until: z.ZodOptional<z.ZodString>;
|
|
@@ -278,7 +291,39 @@ declare const contract: {
|
|
|
278
291
|
durationInMs: z.ZodOptional<z.ZodNumber>;
|
|
279
292
|
}, z.core.$strip>>;
|
|
280
293
|
nextToken: z.ZodNullable<z.ZodString>;
|
|
281
|
-
}, z.core.$strip>,
|
|
294
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
295
|
+
NOT_FOUND: {};
|
|
296
|
+
BAD_REQUEST: {};
|
|
297
|
+
}>, Record<never, never>>;
|
|
298
|
+
};
|
|
299
|
+
getLatestLogs: {
|
|
300
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
301
|
+
environmentId: z.ZodString;
|
|
302
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
303
|
+
level: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
304
|
+
INFO: "INFO";
|
|
305
|
+
ERROR: "ERROR";
|
|
306
|
+
WARNING: "WARNING";
|
|
307
|
+
DEBUG: "DEBUG";
|
|
308
|
+
}>>>;
|
|
309
|
+
search: z.ZodOptional<z.ZodString>;
|
|
310
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
311
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
312
|
+
timestamp: z.ZodCoercedDate<unknown>;
|
|
313
|
+
type: z.ZodEnum<{
|
|
314
|
+
INFO: "INFO";
|
|
315
|
+
ERROR: "ERROR";
|
|
316
|
+
WARNING: "WARNING";
|
|
317
|
+
DEBUG: "DEBUG";
|
|
318
|
+
START: "START";
|
|
319
|
+
END: "END";
|
|
320
|
+
}>;
|
|
321
|
+
requestId: z.ZodString;
|
|
322
|
+
content: z.ZodOptional<z.ZodString>;
|
|
323
|
+
method: z.ZodOptional<z.ZodString>;
|
|
324
|
+
durationInMs: z.ZodOptional<z.ZodNumber>;
|
|
325
|
+
}, z.core.$strip>>;
|
|
326
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
282
327
|
NOT_FOUND: {};
|
|
283
328
|
BAD_REQUEST: {};
|
|
284
329
|
}>, Record<never, never>>;
|
|
@@ -286,7 +331,7 @@ declare const contract: {
|
|
|
286
331
|
};
|
|
287
332
|
environmentVariables: {
|
|
288
333
|
list: {
|
|
289
|
-
v1:
|
|
334
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
290
335
|
environmentId: z.ZodString;
|
|
291
336
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
292
337
|
id: z.ZodString;
|
|
@@ -294,12 +339,12 @@ declare const contract: {
|
|
|
294
339
|
value: z.ZodString;
|
|
295
340
|
isSecret: z.ZodBoolean;
|
|
296
341
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
297
|
-
}, z.core.$strip>>,
|
|
342
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
298
343
|
NOT_FOUND: {};
|
|
299
344
|
}>, Record<never, never>>;
|
|
300
345
|
};
|
|
301
346
|
create: {
|
|
302
|
-
v1:
|
|
347
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
303
348
|
environmentId: z.ZodString;
|
|
304
349
|
environmentVariables: z.ZodArray<z.ZodObject<{
|
|
305
350
|
key: z.ZodString;
|
|
@@ -308,37 +353,38 @@ declare const contract: {
|
|
|
308
353
|
}, z.core.$strip>>;
|
|
309
354
|
}, z.core.$strip>, z.ZodObject<{
|
|
310
355
|
success: z.ZodLiteral<true>;
|
|
311
|
-
}, z.core.$strip>,
|
|
356
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
312
357
|
NOT_FOUND: {};
|
|
313
358
|
BAD_REQUEST: {};
|
|
314
359
|
}>, Record<never, never>>;
|
|
315
360
|
};
|
|
316
361
|
update: {
|
|
317
|
-
v1:
|
|
362
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
318
363
|
environmentVariableId: z.ZodString;
|
|
319
364
|
key: z.ZodString;
|
|
320
365
|
value: z.ZodOptional<z.ZodString>;
|
|
321
|
-
isSecret: z.ZodDefault<z.ZodBoolean
|
|
366
|
+
isSecret: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
322
367
|
}, z.core.$strip>, z.ZodObject<{
|
|
323
368
|
success: z.ZodLiteral<true>;
|
|
324
|
-
}, z.core.$strip>,
|
|
369
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
325
370
|
NOT_FOUND: {};
|
|
326
371
|
BAD_REQUEST: {};
|
|
327
372
|
}>, Record<never, never>>;
|
|
328
373
|
};
|
|
329
374
|
delete: {
|
|
330
|
-
v1:
|
|
375
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
331
376
|
environmentVariableId: z.ZodString;
|
|
332
377
|
}, z.core.$strip>, z.ZodObject<{
|
|
333
378
|
success: z.ZodLiteral<true>;
|
|
334
|
-
}, z.core.$strip>,
|
|
379
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
335
380
|
NOT_FOUND: {};
|
|
381
|
+
BAD_REQUEST: {};
|
|
336
382
|
}>, Record<never, never>>;
|
|
337
383
|
};
|
|
338
384
|
};
|
|
339
385
|
projects: {
|
|
340
386
|
update: {
|
|
341
|
-
v1:
|
|
387
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
342
388
|
projectId: z.ZodString;
|
|
343
389
|
name: z.ZodOptional<z.ZodString>;
|
|
344
390
|
sourceRepository: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -371,18 +417,18 @@ declare const contract: {
|
|
|
371
417
|
domains: z.ZodArray<z.ZodObject<{
|
|
372
418
|
domain: z.ZodString;
|
|
373
419
|
status: z.ZodEnum<{
|
|
374
|
-
failed: "failed";
|
|
375
420
|
ongoing: "ongoing";
|
|
376
421
|
deployed: "deployed";
|
|
422
|
+
failed: "failed";
|
|
377
423
|
}>;
|
|
378
424
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
379
425
|
}, z.core.$strip>>;
|
|
380
426
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
381
427
|
id: z.ZodString;
|
|
382
428
|
status: z.ZodEnum<{
|
|
383
|
-
failed: "failed";
|
|
384
429
|
ongoing: "ongoing";
|
|
385
430
|
deployed: "deployed";
|
|
431
|
+
failed: "failed";
|
|
386
432
|
canceled: "canceled";
|
|
387
433
|
}>;
|
|
388
434
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -400,9 +446,9 @@ declare const contract: {
|
|
|
400
446
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
401
447
|
id: z.ZodString;
|
|
402
448
|
status: z.ZodEnum<{
|
|
403
|
-
failed: "failed";
|
|
404
449
|
ongoing: "ongoing";
|
|
405
450
|
deployed: "deployed";
|
|
451
|
+
failed: "failed";
|
|
406
452
|
canceled: "canceled";
|
|
407
453
|
}>;
|
|
408
454
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -410,13 +456,14 @@ declare const contract: {
|
|
|
410
456
|
completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
411
457
|
}, z.core.$strip>>;
|
|
412
458
|
}, z.core.$strip>>;
|
|
413
|
-
}, z.core.$strip>,
|
|
459
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
414
460
|
NOT_FOUND: {};
|
|
415
461
|
BAD_REQUEST: {};
|
|
462
|
+
FORBIDDEN: {};
|
|
416
463
|
}>, Record<never, never>>;
|
|
417
464
|
};
|
|
418
465
|
get: {
|
|
419
|
-
v1:
|
|
466
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
420
467
|
projectId: z.ZodString;
|
|
421
468
|
}, z.core.$strip>, z.ZodObject<{
|
|
422
469
|
id: z.ZodString;
|
|
@@ -447,18 +494,18 @@ declare const contract: {
|
|
|
447
494
|
domains: z.ZodArray<z.ZodObject<{
|
|
448
495
|
domain: z.ZodString;
|
|
449
496
|
status: z.ZodEnum<{
|
|
450
|
-
failed: "failed";
|
|
451
497
|
ongoing: "ongoing";
|
|
452
498
|
deployed: "deployed";
|
|
499
|
+
failed: "failed";
|
|
453
500
|
}>;
|
|
454
501
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
455
502
|
}, z.core.$strip>>;
|
|
456
503
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
457
504
|
id: z.ZodString;
|
|
458
505
|
status: z.ZodEnum<{
|
|
459
|
-
failed: "failed";
|
|
460
506
|
ongoing: "ongoing";
|
|
461
507
|
deployed: "deployed";
|
|
508
|
+
failed: "failed";
|
|
462
509
|
canceled: "canceled";
|
|
463
510
|
}>;
|
|
464
511
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -476,9 +523,9 @@ declare const contract: {
|
|
|
476
523
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
477
524
|
id: z.ZodString;
|
|
478
525
|
status: z.ZodEnum<{
|
|
479
|
-
failed: "failed";
|
|
480
526
|
ongoing: "ongoing";
|
|
481
527
|
deployed: "deployed";
|
|
528
|
+
failed: "failed";
|
|
482
529
|
canceled: "canceled";
|
|
483
530
|
}>;
|
|
484
531
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -486,12 +533,12 @@ declare const contract: {
|
|
|
486
533
|
completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
487
534
|
}, z.core.$strip>>;
|
|
488
535
|
}, z.core.$strip>>;
|
|
489
|
-
}, z.core.$strip>,
|
|
536
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
490
537
|
NOT_FOUND: {};
|
|
491
538
|
}>, Record<never, never>>;
|
|
492
539
|
};
|
|
493
540
|
list: {
|
|
494
|
-
v1:
|
|
541
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
|
|
495
542
|
teamId: z.ZodOptional<z.ZodString>;
|
|
496
543
|
}, z.core.$strip>>, z.ZodArray<z.ZodObject<{
|
|
497
544
|
id: z.ZodString;
|
|
@@ -522,18 +569,18 @@ declare const contract: {
|
|
|
522
569
|
domains: z.ZodArray<z.ZodObject<{
|
|
523
570
|
domain: z.ZodString;
|
|
524
571
|
status: z.ZodEnum<{
|
|
525
|
-
failed: "failed";
|
|
526
572
|
ongoing: "ongoing";
|
|
527
573
|
deployed: "deployed";
|
|
574
|
+
failed: "failed";
|
|
528
575
|
}>;
|
|
529
576
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
530
577
|
}, z.core.$strip>>;
|
|
531
578
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
532
579
|
id: z.ZodString;
|
|
533
580
|
status: z.ZodEnum<{
|
|
534
|
-
failed: "failed";
|
|
535
581
|
ongoing: "ongoing";
|
|
536
582
|
deployed: "deployed";
|
|
583
|
+
failed: "failed";
|
|
537
584
|
canceled: "canceled";
|
|
538
585
|
}>;
|
|
539
586
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -551,9 +598,9 @@ declare const contract: {
|
|
|
551
598
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
552
599
|
id: z.ZodString;
|
|
553
600
|
status: z.ZodEnum<{
|
|
554
|
-
failed: "failed";
|
|
555
601
|
ongoing: "ongoing";
|
|
556
602
|
deployed: "deployed";
|
|
603
|
+
failed: "failed";
|
|
557
604
|
canceled: "canceled";
|
|
558
605
|
}>;
|
|
559
606
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -561,10 +608,13 @@ declare const contract: {
|
|
|
561
608
|
completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
562
609
|
}, z.core.$strip>>;
|
|
563
610
|
}, z.core.$strip>>;
|
|
564
|
-
}, z.core.$strip>>, Record<never, never>,
|
|
611
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
612
|
+
NOT_FOUND: {};
|
|
613
|
+
BAD_REQUEST: {};
|
|
614
|
+
}>, Record<never, never>>;
|
|
565
615
|
};
|
|
566
616
|
create: {
|
|
567
|
-
v1:
|
|
617
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
568
618
|
teamId: z.ZodOptional<z.ZodString>;
|
|
569
619
|
name: z.ZodString;
|
|
570
620
|
sourceRepository: z.ZodOptional<z.ZodString>;
|
|
@@ -622,33 +672,98 @@ declare const contract: {
|
|
|
622
672
|
installCommand: z.ZodNullable<z.ZodString>;
|
|
623
673
|
startCommand: z.ZodNullable<z.ZodString>;
|
|
624
674
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
625
|
-
}, z.core.$strip>,
|
|
675
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
626
676
|
NOT_FOUND: {};
|
|
627
677
|
BAD_REQUEST: {};
|
|
678
|
+
FORBIDDEN: {};
|
|
628
679
|
}>, Record<never, never>>;
|
|
629
680
|
};
|
|
630
681
|
delete: {
|
|
631
|
-
v1:
|
|
682
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
632
683
|
projectId: z.ZodString;
|
|
633
684
|
}, z.core.$strip>, z.ZodObject<{
|
|
634
685
|
success: z.ZodLiteral<true>;
|
|
635
|
-
}, z.core.$strip>,
|
|
686
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
687
|
+
NOT_FOUND: {};
|
|
688
|
+
}>, Record<never, never>>;
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
playground: {
|
|
692
|
+
get: {
|
|
693
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
694
|
+
environmentId: z.ZodString;
|
|
695
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
696
|
+
isPlaygroundEnabled: z.ZodBoolean;
|
|
697
|
+
serverMetadata: z.ZodNullable<z.ZodObject<{
|
|
698
|
+
name: z.ZodString;
|
|
699
|
+
description: z.ZodString;
|
|
700
|
+
headers: z.ZodArray<z.ZodObject<{
|
|
701
|
+
name: z.ZodString;
|
|
702
|
+
description: z.ZodString;
|
|
703
|
+
isRequired: z.ZodBoolean;
|
|
704
|
+
isSecret: z.ZodBoolean;
|
|
705
|
+
}, z.core.$strip>>;
|
|
706
|
+
examplePrompts: z.ZodArray<z.ZodObject<{
|
|
707
|
+
title: z.ZodString;
|
|
708
|
+
prompt: z.ZodString;
|
|
709
|
+
}, z.core.$strip>>;
|
|
710
|
+
}, z.core.$strip>>;
|
|
711
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
636
712
|
NOT_FOUND: {};
|
|
637
713
|
}>, Record<never, never>>;
|
|
638
714
|
};
|
|
715
|
+
upsert: {
|
|
716
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
717
|
+
environmentId: z.ZodString;
|
|
718
|
+
isPlaygroundEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
719
|
+
name: z.ZodOptional<z.ZodString>;
|
|
720
|
+
description: z.ZodOptional<z.ZodString>;
|
|
721
|
+
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
722
|
+
name: z.ZodString;
|
|
723
|
+
description: z.ZodString;
|
|
724
|
+
isRequired: z.ZodDefault<z.ZodBoolean>;
|
|
725
|
+
isSecret: z.ZodDefault<z.ZodBoolean>;
|
|
726
|
+
}, z.core.$strip>>>;
|
|
727
|
+
examplePrompts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
728
|
+
title: z.ZodString;
|
|
729
|
+
prompt: z.ZodString;
|
|
730
|
+
}, z.core.$strip>>>;
|
|
731
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
732
|
+
isPlaygroundEnabled: z.ZodBoolean;
|
|
733
|
+
serverMetadata: z.ZodNullable<z.ZodObject<{
|
|
734
|
+
name: z.ZodString;
|
|
735
|
+
description: z.ZodString;
|
|
736
|
+
headers: z.ZodArray<z.ZodObject<{
|
|
737
|
+
name: z.ZodString;
|
|
738
|
+
description: z.ZodString;
|
|
739
|
+
isRequired: z.ZodBoolean;
|
|
740
|
+
isSecret: z.ZodBoolean;
|
|
741
|
+
}, z.core.$strip>>;
|
|
742
|
+
examplePrompts: z.ZodArray<z.ZodObject<{
|
|
743
|
+
title: z.ZodString;
|
|
744
|
+
prompt: z.ZodString;
|
|
745
|
+
}, z.core.$strip>>;
|
|
746
|
+
}, z.core.$strip>>;
|
|
747
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
748
|
+
NOT_FOUND: {};
|
|
749
|
+
BAD_REQUEST: {};
|
|
750
|
+
}>, Record<never, never>>;
|
|
751
|
+
};
|
|
639
752
|
};
|
|
640
753
|
tunnels: {
|
|
641
754
|
getTicket: {
|
|
642
|
-
v1:
|
|
755
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
643
756
|
subdomain: z.ZodString;
|
|
644
757
|
ticket: z.ZodString;
|
|
645
758
|
tunnelHost: z.ZodString;
|
|
646
|
-
}, z.core.$strip>, Record<never, never>,
|
|
759
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
760
|
+
FORBIDDEN: {};
|
|
761
|
+
}>, Record<never, never>>;
|
|
647
762
|
};
|
|
648
763
|
};
|
|
649
764
|
distribution: {
|
|
650
765
|
publish: {
|
|
651
|
-
v1:
|
|
766
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
652
767
|
projectId: z.ZodString;
|
|
653
768
|
domain: z.ZodString;
|
|
654
769
|
title: z.ZodString;
|
|
@@ -680,13 +795,13 @@ declare const contract: {
|
|
|
680
795
|
}, z.core.$strip>>>;
|
|
681
796
|
}, z.core.$strip>>>;
|
|
682
797
|
}, z.core.$strip>;
|
|
683
|
-
}, z.core.$strip>,
|
|
798
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
684
799
|
NOT_FOUND: {};
|
|
685
800
|
BAD_REQUEST: {};
|
|
686
801
|
}>, Record<never, never>>;
|
|
687
802
|
};
|
|
688
803
|
get: {
|
|
689
|
-
v1:
|
|
804
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
690
805
|
projectId: z.ZodString;
|
|
691
806
|
domain: z.ZodString;
|
|
692
807
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -713,7 +828,7 @@ declare const contract: {
|
|
|
713
828
|
}, z.core.$strip>>>;
|
|
714
829
|
}, z.core.$strip>>>;
|
|
715
830
|
}, z.core.$strip>;
|
|
716
|
-
}, z.core.$strip>,
|
|
831
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
717
832
|
NOT_FOUND: {};
|
|
718
833
|
BAD_REQUEST: {};
|
|
719
834
|
}>, Record<never, never>>;
|
|
@@ -721,28 +836,38 @@ declare const contract: {
|
|
|
721
836
|
};
|
|
722
837
|
beacon: {
|
|
723
838
|
create: {
|
|
724
|
-
v1:
|
|
725
|
-
targetUrl: z.
|
|
839
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
840
|
+
targetUrl: z.ZodURL;
|
|
726
841
|
teamId: z.ZodOptional<z.ZodString>;
|
|
727
842
|
projectId: z.ZodOptional<z.ZodString>;
|
|
843
|
+
excludeCategories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
844
|
+
connectivity: "connectivity";
|
|
845
|
+
"tool-metadata": "tool-metadata";
|
|
846
|
+
"resource-metadata": "resource-metadata";
|
|
847
|
+
performance: "performance";
|
|
848
|
+
e2e: "e2e";
|
|
849
|
+
}>>>;
|
|
728
850
|
}, z.core.$strip>, z.ZodObject<{
|
|
729
851
|
id: z.ZodString;
|
|
730
|
-
}, z.core.$strip>,
|
|
852
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
731
853
|
NOT_FOUND: {};
|
|
732
854
|
BAD_REQUEST: {};
|
|
855
|
+
DNS_RESOLUTION_FAILED: {
|
|
856
|
+
status: number;
|
|
857
|
+
};
|
|
733
858
|
}>, Record<never, never>>;
|
|
734
859
|
};
|
|
735
860
|
get: {
|
|
736
|
-
v1:
|
|
737
|
-
|
|
861
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
862
|
+
auditId: z.ZodString;
|
|
738
863
|
}, z.core.$strip>, z.ZodObject<{
|
|
739
864
|
id: z.ZodString;
|
|
740
865
|
targetUrl: z.ZodString;
|
|
741
866
|
status: z.ZodEnum<{
|
|
867
|
+
failed: "failed";
|
|
742
868
|
pending: "pending";
|
|
743
869
|
partial: "partial";
|
|
744
870
|
completed: "completed";
|
|
745
|
-
failed: "failed";
|
|
746
871
|
}>;
|
|
747
872
|
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
748
873
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -755,6 +880,8 @@ declare const contract: {
|
|
|
755
880
|
durationMs: z.ZodNumber;
|
|
756
881
|
results: z.ZodArray<z.ZodObject<{
|
|
757
882
|
checkId: z.ZodString;
|
|
883
|
+
checkName: z.ZodString;
|
|
884
|
+
description: z.ZodString;
|
|
758
885
|
status: z.ZodEnum<{
|
|
759
886
|
pending: "pending";
|
|
760
887
|
pass: "pass";
|
|
@@ -802,20 +929,20 @@ declare const contract: {
|
|
|
802
929
|
chatgpt: "chatgpt";
|
|
803
930
|
claudeai: "claudeai";
|
|
804
931
|
}>, z.ZodBoolean>;
|
|
805
|
-
widgetScreenshotKeys: z.
|
|
932
|
+
widgetScreenshotKeys: z.ZodObject<{
|
|
806
933
|
chatgpt: z.ZodOptional<z.ZodString>;
|
|
807
934
|
claudeai: z.ZodOptional<z.ZodString>;
|
|
808
|
-
}, z.core.$strip
|
|
809
|
-
widgetScreenshots: z.
|
|
935
|
+
}, z.core.$strip>;
|
|
936
|
+
widgetScreenshots: z.ZodObject<{
|
|
810
937
|
chatgpt: z.ZodOptional<z.ZodObject<{
|
|
811
938
|
url: z.ZodString;
|
|
812
939
|
}, z.core.$strip>>;
|
|
813
940
|
claudeai: z.ZodOptional<z.ZodObject<{
|
|
814
941
|
url: z.ZodString;
|
|
815
942
|
}, z.core.$strip>>;
|
|
816
|
-
}, z.core.$strip
|
|
943
|
+
}, z.core.$strip>;
|
|
817
944
|
}, z.core.$strip>>;
|
|
818
|
-
}, z.core.$strip>,
|
|
945
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
819
946
|
NOT_FOUND: {};
|
|
820
947
|
}>, Record<never, never>>;
|
|
821
948
|
};
|
|
@@ -824,7 +951,41 @@ declare const contract: {
|
|
|
824
951
|
type RouterInput = InferContractRouterInputs<typeof contract>;
|
|
825
952
|
type RouterOutput = InferContractRouterOutputs<typeof contract>;
|
|
826
953
|
//#endregion
|
|
954
|
+
//#region src/auth-scope.d.ts
|
|
955
|
+
/** Credential scope required by an API route. */
|
|
956
|
+
type AuthScope = "any" | "user";
|
|
957
|
+
/** Accepts an API key or OAuth access token (default for most routes). */
|
|
958
|
+
declare const AUTH_SCOPE_ANY = "any";
|
|
959
|
+
/** Requires a user OAuth access token; API keys are not accepted. */
|
|
960
|
+
declare const AUTH_SCOPE_USER = "user";
|
|
961
|
+
type RouteAuthMeta = {
|
|
962
|
+
authScope?: AuthScope;
|
|
963
|
+
};
|
|
964
|
+
//#endregion
|
|
965
|
+
//#region ../domains/src/platforms/schemas.d.ts
|
|
966
|
+
declare const platformSchema: z.ZodEnum<{
|
|
967
|
+
chatgpt: "chatgpt";
|
|
968
|
+
claudeai: "claudeai";
|
|
969
|
+
}>;
|
|
970
|
+
type Platform = z.infer<typeof platformSchema>;
|
|
971
|
+
declare const PLATFORM_LABELS: Record<Platform, string>;
|
|
972
|
+
//#endregion
|
|
973
|
+
//#region ../domains/src/projects/schemas.d.ts
|
|
974
|
+
declare const runtimeSchema: z.ZodEnum<{
|
|
975
|
+
"python3.13": "python3.13";
|
|
976
|
+
"python3.14": "python3.14";
|
|
977
|
+
node22: "node22";
|
|
978
|
+
node24: "node24";
|
|
979
|
+
}>;
|
|
980
|
+
declare const transportSchema: z.ZodEnum<{
|
|
981
|
+
stdio: "stdio";
|
|
982
|
+
sse: "sse";
|
|
983
|
+
streamablehttp: "streamablehttp";
|
|
984
|
+
}>;
|
|
985
|
+
//#endregion
|
|
827
986
|
//#region src/schemas.d.ts
|
|
987
|
+
type Runtime = z.infer<typeof runtimeSchema>;
|
|
988
|
+
type Transport = z.infer<typeof transportSchema>;
|
|
828
989
|
declare const environmentVariableSchema: z.ZodObject<{
|
|
829
990
|
key: z.ZodString;
|
|
830
991
|
value: z.ZodString;
|
|
@@ -835,170 +996,27 @@ declare const environmentVariablesSchema: z.ZodArray<z.ZodObject<{
|
|
|
835
996
|
value: z.ZodString;
|
|
836
997
|
isSecret: z.ZodDefault<z.ZodBoolean>;
|
|
837
998
|
}, z.core.$strip>>;
|
|
999
|
+
declare const updateEnvironmentVariableSchema: z.ZodObject<{
|
|
1000
|
+
key: z.ZodString;
|
|
1001
|
+
value: z.ZodOptional<z.ZodString>;
|
|
1002
|
+
isSecret: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1003
|
+
}, z.core.$strip>;
|
|
838
1004
|
declare const buildSettingsSchema: z.ZodObject<{
|
|
839
1005
|
installCommand: z.ZodOptional<z.ZodString>;
|
|
840
1006
|
buildCommand: z.ZodOptional<z.ZodString>;
|
|
841
1007
|
buildOutputDir: z.ZodOptional<z.ZodString>;
|
|
842
1008
|
startCommand: z.ZodOptional<z.ZodString>;
|
|
843
1009
|
}, z.core.$strip>;
|
|
844
|
-
declare const
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
}>;
|
|
850
|
-
type Runtime = z.infer<typeof runtimeSchema>;
|
|
851
|
-
declare const transportSchema: z.ZodEnum<{
|
|
852
|
-
stdio: "stdio";
|
|
853
|
-
sse: "sse";
|
|
854
|
-
streamablehttp: "streamablehttp";
|
|
855
|
-
}>;
|
|
856
|
-
type Transport = z.infer<typeof transportSchema>;
|
|
857
|
-
declare const analysisStatusSchema: z.ZodEnum<{
|
|
858
|
-
pending: "pending";
|
|
859
|
-
partial: "partial";
|
|
860
|
-
completed: "completed";
|
|
861
|
-
failed: "failed";
|
|
862
|
-
}>;
|
|
863
|
-
declare const platformSchema: z.ZodEnum<{
|
|
864
|
-
chatgpt: "chatgpt";
|
|
865
|
-
claudeai: "claudeai";
|
|
866
|
-
}>;
|
|
867
|
-
type Platform = z.infer<typeof platformSchema>;
|
|
868
|
-
declare const checkSeveritySchema: z.ZodEnum<{
|
|
869
|
-
error: "error";
|
|
870
|
-
warning: "warning";
|
|
871
|
-
info: "info";
|
|
872
|
-
}>;
|
|
873
|
-
type CheckSeverity = z.infer<typeof checkSeveritySchema>;
|
|
874
|
-
declare const checkCategorySchema: z.ZodEnum<{
|
|
875
|
-
connectivity: "connectivity";
|
|
876
|
-
"tool-metadata": "tool-metadata";
|
|
877
|
-
"resource-metadata": "resource-metadata";
|
|
878
|
-
performance: "performance";
|
|
879
|
-
e2e: "e2e";
|
|
880
|
-
}>;
|
|
881
|
-
type CheckCategory = z.infer<typeof checkCategorySchema>;
|
|
882
|
-
declare const checkScopeSchema: z.ZodEnum<{
|
|
883
|
-
server: "server";
|
|
884
|
-
view: "view";
|
|
885
|
-
}>;
|
|
886
|
-
type CheckScope = z.infer<typeof checkScopeSchema>;
|
|
887
|
-
declare const checkDetailSchema: z.ZodObject<{
|
|
888
|
-
label: z.ZodString;
|
|
889
|
-
value: z.ZodOptional<z.ZodString>;
|
|
890
|
-
}, z.core.$strip>;
|
|
891
|
-
type CheckDetail = z.infer<typeof checkDetailSchema>;
|
|
892
|
-
declare const checkResultSchema: z.ZodObject<{
|
|
893
|
-
checkId: z.ZodString;
|
|
894
|
-
status: z.ZodEnum<{
|
|
895
|
-
pending: "pending";
|
|
896
|
-
pass: "pass";
|
|
897
|
-
fail: "fail";
|
|
898
|
-
skip: "skip";
|
|
899
|
-
}>;
|
|
900
|
-
message: z.ZodString;
|
|
901
|
-
skipReason: z.ZodOptional<z.ZodString>;
|
|
902
|
-
severity: z.ZodEnum<{
|
|
903
|
-
error: "error";
|
|
904
|
-
warning: "warning";
|
|
905
|
-
info: "info";
|
|
906
|
-
}>;
|
|
907
|
-
category: z.ZodEnum<{
|
|
908
|
-
connectivity: "connectivity";
|
|
909
|
-
"tool-metadata": "tool-metadata";
|
|
910
|
-
"resource-metadata": "resource-metadata";
|
|
911
|
-
performance: "performance";
|
|
912
|
-
e2e: "e2e";
|
|
913
|
-
}>;
|
|
914
|
-
scope: z.ZodEnum<{
|
|
915
|
-
server: "server";
|
|
916
|
-
view: "view";
|
|
917
|
-
}>;
|
|
918
|
-
platforms: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
919
|
-
chatgpt: "chatgpt";
|
|
920
|
-
claudeai: "claudeai";
|
|
921
|
-
}>>>>;
|
|
922
|
-
durationMs: z.ZodNumber;
|
|
923
|
-
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
924
|
-
label: z.ZodString;
|
|
925
|
-
value: z.ZodOptional<z.ZodString>;
|
|
926
|
-
}, z.core.$strip>>>;
|
|
927
|
-
hint: z.ZodOptional<z.ZodObject<{
|
|
928
|
-
text: z.ZodString;
|
|
929
|
-
}, z.core.$strip>>;
|
|
1010
|
+
declare const playgroundHeaderSchema: z.ZodObject<{
|
|
1011
|
+
name: z.ZodString;
|
|
1012
|
+
description: z.ZodString;
|
|
1013
|
+
isRequired: z.ZodDefault<z.ZodBoolean>;
|
|
1014
|
+
isSecret: z.ZodDefault<z.ZodBoolean>;
|
|
930
1015
|
}, z.core.$strip>;
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
auditId: z.ZodString;
|
|
935
|
-
targetUrl: z.ZodString;
|
|
936
|
-
startedAt: z.ZodString;
|
|
937
|
-
completedAt: z.ZodString;
|
|
938
|
-
durationMs: z.ZodNumber;
|
|
939
|
-
results: z.ZodArray<z.ZodObject<{
|
|
940
|
-
checkId: z.ZodString;
|
|
941
|
-
status: z.ZodEnum<{
|
|
942
|
-
pending: "pending";
|
|
943
|
-
pass: "pass";
|
|
944
|
-
fail: "fail";
|
|
945
|
-
skip: "skip";
|
|
946
|
-
}>;
|
|
947
|
-
message: z.ZodString;
|
|
948
|
-
skipReason: z.ZodOptional<z.ZodString>;
|
|
949
|
-
severity: z.ZodEnum<{
|
|
950
|
-
error: "error";
|
|
951
|
-
warning: "warning";
|
|
952
|
-
info: "info";
|
|
953
|
-
}>;
|
|
954
|
-
category: z.ZodEnum<{
|
|
955
|
-
connectivity: "connectivity";
|
|
956
|
-
"tool-metadata": "tool-metadata";
|
|
957
|
-
"resource-metadata": "resource-metadata";
|
|
958
|
-
performance: "performance";
|
|
959
|
-
e2e: "e2e";
|
|
960
|
-
}>;
|
|
961
|
-
scope: z.ZodEnum<{
|
|
962
|
-
server: "server";
|
|
963
|
-
view: "view";
|
|
964
|
-
}>;
|
|
965
|
-
platforms: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
966
|
-
chatgpt: "chatgpt";
|
|
967
|
-
claudeai: "claudeai";
|
|
968
|
-
}>>>>;
|
|
969
|
-
durationMs: z.ZodNumber;
|
|
970
|
-
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
971
|
-
label: z.ZodString;
|
|
972
|
-
value: z.ZodOptional<z.ZodString>;
|
|
973
|
-
}, z.core.$strip>>>;
|
|
974
|
-
hint: z.ZodOptional<z.ZodObject<{
|
|
975
|
-
text: z.ZodString;
|
|
976
|
-
}, z.core.$strip>>;
|
|
977
|
-
}, z.core.$strip>>;
|
|
978
|
-
requiresAuth: z.ZodBoolean;
|
|
979
|
-
hasViewSupport: z.ZodBoolean;
|
|
980
|
-
viewPlatforms: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
981
|
-
chatgpt: "chatgpt";
|
|
982
|
-
claudeai: "claudeai";
|
|
983
|
-
}>>>>;
|
|
984
|
-
isReadyForPlatform: z.ZodRecord<z.ZodEnum<{
|
|
985
|
-
chatgpt: "chatgpt";
|
|
986
|
-
claudeai: "claudeai";
|
|
987
|
-
}>, z.ZodBoolean>;
|
|
988
|
-
widgetScreenshotKeys: z.ZodOptional<z.ZodObject<{
|
|
989
|
-
chatgpt: z.ZodOptional<z.ZodString>;
|
|
990
|
-
claudeai: z.ZodOptional<z.ZodString>;
|
|
991
|
-
}, z.core.$strip>>;
|
|
992
|
-
widgetScreenshots: z.ZodOptional<z.ZodObject<{
|
|
993
|
-
chatgpt: z.ZodOptional<z.ZodObject<{
|
|
994
|
-
url: z.ZodString;
|
|
995
|
-
}, z.core.$strip>>;
|
|
996
|
-
claudeai: z.ZodOptional<z.ZodObject<{
|
|
997
|
-
url: z.ZodString;
|
|
998
|
-
}, z.core.$strip>>;
|
|
999
|
-
}, z.core.$strip>>;
|
|
1016
|
+
declare const playgroundExamplePromptSchema: z.ZodObject<{
|
|
1017
|
+
title: z.ZodString;
|
|
1018
|
+
prompt: z.ZodString;
|
|
1000
1019
|
}, z.core.$strip>;
|
|
1001
|
-
type AuditReport = z.infer<typeof auditReportSchema>;
|
|
1002
1020
|
declare const serverFieldsSchema: z.ZodObject<{
|
|
1003
1021
|
$schema: z.ZodString;
|
|
1004
1022
|
name: z.ZodString;
|
|
@@ -1023,4 +1041,4 @@ declare const serverFieldsSchema: z.ZodObject<{
|
|
|
1023
1041
|
}, z.core.$strip>>>;
|
|
1024
1042
|
}, z.core.$strip>;
|
|
1025
1043
|
//#endregion
|
|
1026
|
-
export {
|
|
1044
|
+
export { AUTH_SCOPE_ANY, AUTH_SCOPE_USER, ApiContext, AuthScope, PLATFORM_LABELS, type Platform, RouteAuthMeta, RouterInput, RouterOutput, Runtime, Transport, buildSettingsSchema, contract, createEnvironmentContractV1, deploymentStatusSchema, environmentVariableSchema, environmentVariablesSchema, playgroundExamplePromptSchema, playgroundHeaderSchema, runtimeSchema, serverFieldsSchema, transportSchema, updateEnvironmentVariableSchema };
|