@alpic-ai/api 0.0.0-staging.ffd67d5 → 0.0.0-staging.g0538916
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 +228 -233
- package/dist/index.mjs +1313 -87
- package/package.json +9 -6
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as _orpc_contract0 from "@orpc/contract";
|
|
2
|
-
import { InferContractRouterInputs, InferContractRouterOutputs } from "@orpc/contract";
|
|
3
1
|
import { z } from "zod";
|
|
2
|
+
import * as _$_orpc_contract0 from "@orpc/contract";
|
|
3
|
+
import { InferContractRouterInputs, InferContractRouterOutputs } from "@orpc/contract";
|
|
4
4
|
|
|
5
5
|
//#region src/api.contract.d.ts
|
|
6
6
|
type ApiContext = {
|
|
@@ -11,12 +11,12 @@ type ApiContext = {
|
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
declare const deploymentStatusSchema: z.ZodEnum<{
|
|
14
|
-
failed: "failed";
|
|
15
14
|
ongoing: "ongoing";
|
|
16
15
|
deployed: "deployed";
|
|
16
|
+
failed: "failed";
|
|
17
17
|
canceled: "canceled";
|
|
18
18
|
}>;
|
|
19
|
-
declare const createEnvironmentContractV1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
19
|
+
declare const createEnvironmentContractV1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
20
20
|
projectId: z.ZodString;
|
|
21
21
|
name: z.ZodString;
|
|
22
22
|
sourceBranch: z.ZodString;
|
|
@@ -29,17 +29,17 @@ declare const createEnvironmentContractV1: _orpc_contract0.ContractProcedureBuil
|
|
|
29
29
|
id: z.ZodString;
|
|
30
30
|
name: z.ZodString;
|
|
31
31
|
sourceBranch: z.ZodNullable<z.ZodString>;
|
|
32
|
-
urls: z.ZodArray<z.
|
|
32
|
+
urls: z.ZodArray<z.ZodURL>;
|
|
33
33
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
34
34
|
projectId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
35
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
36
36
|
NOT_FOUND: {};
|
|
37
37
|
BAD_REQUEST: {};
|
|
38
38
|
}>, Record<never, never>>;
|
|
39
39
|
declare const contract: {
|
|
40
40
|
teams: {
|
|
41
41
|
list: {
|
|
42
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithOutput<_orpc_contract0.Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
|
|
42
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithOutput<_$_orpc_contract0.Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
|
|
43
43
|
id: z.ZodString;
|
|
44
44
|
name: z.ZodString;
|
|
45
45
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -49,7 +49,7 @@ declare const contract: {
|
|
|
49
49
|
};
|
|
50
50
|
analytics: {
|
|
51
51
|
get: {
|
|
52
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
52
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
53
53
|
projectId: z.ZodString;
|
|
54
54
|
startTimestamp: z.ZodCoercedNumber<unknown>;
|
|
55
55
|
endTimestamp: z.ZodCoercedNumber<unknown>;
|
|
@@ -92,7 +92,7 @@ declare const contract: {
|
|
|
92
92
|
categories: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
93
93
|
}, z.core.$strip>>;
|
|
94
94
|
}, z.core.$strip>;
|
|
95
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
95
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
96
96
|
NOT_FOUND: {};
|
|
97
97
|
BAD_REQUEST: {};
|
|
98
98
|
}>, Record<never, never>>;
|
|
@@ -100,21 +100,21 @@ declare const contract: {
|
|
|
100
100
|
};
|
|
101
101
|
deployments: {
|
|
102
102
|
list: {
|
|
103
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
103
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
104
104
|
projectId: z.ZodString;
|
|
105
105
|
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
106
|
-
failed: "failed";
|
|
107
106
|
ongoing: "ongoing";
|
|
108
107
|
deployed: "deployed";
|
|
108
|
+
failed: "failed";
|
|
109
109
|
canceled: "canceled";
|
|
110
110
|
}>>>;
|
|
111
111
|
environmentId: z.ZodOptional<z.ZodString>;
|
|
112
112
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
113
113
|
id: z.ZodString;
|
|
114
114
|
status: z.ZodEnum<{
|
|
115
|
-
failed: "failed";
|
|
116
115
|
ongoing: "ongoing";
|
|
117
116
|
deployed: "deployed";
|
|
117
|
+
failed: "failed";
|
|
118
118
|
canceled: "canceled";
|
|
119
119
|
}>;
|
|
120
120
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -128,19 +128,19 @@ declare const contract: {
|
|
|
128
128
|
environmentName: z.ZodString;
|
|
129
129
|
isCurrent: z.ZodBoolean;
|
|
130
130
|
deploymentPageUrl: z.ZodNullable<z.ZodURL>;
|
|
131
|
-
}, z.core.$strip>>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
131
|
+
}, z.core.$strip>>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
132
132
|
NOT_FOUND: {};
|
|
133
133
|
}>, Record<never, never>>;
|
|
134
134
|
};
|
|
135
135
|
get: {
|
|
136
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
136
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
137
137
|
deploymentId: z.ZodString;
|
|
138
138
|
}, z.core.$strip>, z.ZodObject<{
|
|
139
139
|
id: z.ZodString;
|
|
140
140
|
status: z.ZodEnum<{
|
|
141
|
-
failed: "failed";
|
|
142
141
|
ongoing: "ongoing";
|
|
143
142
|
deployed: "deployed";
|
|
143
|
+
failed: "failed";
|
|
144
144
|
canceled: "canceled";
|
|
145
145
|
}>;
|
|
146
146
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -154,21 +154,24 @@ declare const contract: {
|
|
|
154
154
|
environmentName: z.ZodString;
|
|
155
155
|
isCurrent: z.ZodBoolean;
|
|
156
156
|
deploymentPageUrl: z.ZodNullable<z.ZodURL>;
|
|
157
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
157
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
158
158
|
NOT_FOUND: {};
|
|
159
159
|
}>, Record<never, never>>;
|
|
160
160
|
};
|
|
161
161
|
uploadArtifact: {
|
|
162
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
|
|
162
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
|
|
163
163
|
teamId: z.ZodOptional<z.ZodString>;
|
|
164
164
|
}, z.core.$strip>>, z.ZodObject<{
|
|
165
165
|
uploadUrl: z.ZodURL;
|
|
166
166
|
token: z.ZodString;
|
|
167
167
|
expiresAt: z.ZodCoercedDate<unknown>;
|
|
168
|
-
}, z.core.$strip>, Record<never, never>,
|
|
168
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
169
|
+
NOT_FOUND: {};
|
|
170
|
+
BAD_REQUEST: {};
|
|
171
|
+
}>, Record<never, never>>;
|
|
169
172
|
};
|
|
170
173
|
getLogs: {
|
|
171
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
174
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
172
175
|
deploymentId: z.ZodString;
|
|
173
176
|
}, z.core.$strip>, z.ZodObject<{
|
|
174
177
|
logs: z.ZodArray<z.ZodObject<{
|
|
@@ -176,14 +179,14 @@ declare const contract: {
|
|
|
176
179
|
content: z.ZodOptional<z.ZodString>;
|
|
177
180
|
}, z.core.$strip>>;
|
|
178
181
|
hasMoreLogs: z.ZodBoolean;
|
|
179
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
182
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
180
183
|
NOT_FOUND: {};
|
|
181
184
|
}>, Record<never, never>>;
|
|
182
185
|
};
|
|
183
186
|
};
|
|
184
187
|
environments: {
|
|
185
188
|
create: {
|
|
186
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
189
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
187
190
|
projectId: z.ZodString;
|
|
188
191
|
name: z.ZodString;
|
|
189
192
|
sourceBranch: z.ZodString;
|
|
@@ -196,39 +199,39 @@ declare const contract: {
|
|
|
196
199
|
id: z.ZodString;
|
|
197
200
|
name: z.ZodString;
|
|
198
201
|
sourceBranch: z.ZodNullable<z.ZodString>;
|
|
199
|
-
urls: z.ZodArray<z.
|
|
202
|
+
urls: z.ZodArray<z.ZodURL>;
|
|
200
203
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
201
204
|
projectId: z.ZodString;
|
|
202
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
205
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
203
206
|
NOT_FOUND: {};
|
|
204
207
|
BAD_REQUEST: {};
|
|
205
208
|
}>, Record<never, never>>;
|
|
206
209
|
};
|
|
207
210
|
get: {
|
|
208
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
211
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
209
212
|
environmentId: z.ZodString;
|
|
210
213
|
}, z.core.$strip>, z.ZodObject<{
|
|
211
214
|
id: z.ZodString;
|
|
212
215
|
name: z.ZodString;
|
|
213
216
|
sourceBranch: z.ZodNullable<z.ZodString>;
|
|
214
217
|
mcpServerUrl: z.ZodString;
|
|
215
|
-
domains: z.ZodArray<z.
|
|
218
|
+
domains: z.ZodArray<z.ZodCustomStringFormat<"hostname">>;
|
|
216
219
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
217
220
|
projectId: z.ZodString;
|
|
218
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
221
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
219
222
|
NOT_FOUND: {};
|
|
220
223
|
}>, Record<never, never>>;
|
|
221
224
|
};
|
|
222
225
|
deploy: {
|
|
223
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
226
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
224
227
|
environmentId: z.ZodString;
|
|
225
228
|
token: z.ZodOptional<z.ZodString>;
|
|
226
229
|
}, z.core.$strip>, z.ZodObject<{
|
|
227
230
|
id: z.ZodString;
|
|
228
231
|
status: z.ZodEnum<{
|
|
229
|
-
failed: "failed";
|
|
230
232
|
ongoing: "ongoing";
|
|
231
233
|
deployed: "deployed";
|
|
234
|
+
failed: "failed";
|
|
232
235
|
canceled: "canceled";
|
|
233
236
|
}>;
|
|
234
237
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -242,13 +245,13 @@ declare const contract: {
|
|
|
242
245
|
environmentName: z.ZodString;
|
|
243
246
|
isCurrent: z.ZodBoolean;
|
|
244
247
|
deploymentPageUrl: z.ZodNullable<z.ZodURL>;
|
|
245
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
248
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
246
249
|
NOT_FOUND: {};
|
|
247
250
|
BAD_REQUEST: {};
|
|
248
251
|
}>, Record<never, never>>;
|
|
249
252
|
};
|
|
250
253
|
getLogs: {
|
|
251
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
254
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
252
255
|
environmentId: z.ZodString;
|
|
253
256
|
since: z.ZodOptional<z.ZodString>;
|
|
254
257
|
until: z.ZodOptional<z.ZodString>;
|
|
@@ -278,7 +281,39 @@ declare const contract: {
|
|
|
278
281
|
durationInMs: z.ZodOptional<z.ZodNumber>;
|
|
279
282
|
}, z.core.$strip>>;
|
|
280
283
|
nextToken: z.ZodNullable<z.ZodString>;
|
|
281
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
284
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
285
|
+
NOT_FOUND: {};
|
|
286
|
+
BAD_REQUEST: {};
|
|
287
|
+
}>, Record<never, never>>;
|
|
288
|
+
};
|
|
289
|
+
getLatestLogs: {
|
|
290
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
291
|
+
environmentId: z.ZodString;
|
|
292
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
293
|
+
level: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
294
|
+
INFO: "INFO";
|
|
295
|
+
ERROR: "ERROR";
|
|
296
|
+
WARNING: "WARNING";
|
|
297
|
+
DEBUG: "DEBUG";
|
|
298
|
+
}>>>;
|
|
299
|
+
search: z.ZodOptional<z.ZodString>;
|
|
300
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
301
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
302
|
+
timestamp: z.ZodCoercedDate<unknown>;
|
|
303
|
+
type: z.ZodEnum<{
|
|
304
|
+
INFO: "INFO";
|
|
305
|
+
ERROR: "ERROR";
|
|
306
|
+
WARNING: "WARNING";
|
|
307
|
+
DEBUG: "DEBUG";
|
|
308
|
+
START: "START";
|
|
309
|
+
END: "END";
|
|
310
|
+
}>;
|
|
311
|
+
requestId: z.ZodString;
|
|
312
|
+
content: z.ZodOptional<z.ZodString>;
|
|
313
|
+
method: z.ZodOptional<z.ZodString>;
|
|
314
|
+
durationInMs: z.ZodOptional<z.ZodNumber>;
|
|
315
|
+
}, z.core.$strip>>;
|
|
316
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
282
317
|
NOT_FOUND: {};
|
|
283
318
|
BAD_REQUEST: {};
|
|
284
319
|
}>, Record<never, never>>;
|
|
@@ -286,7 +321,7 @@ declare const contract: {
|
|
|
286
321
|
};
|
|
287
322
|
environmentVariables: {
|
|
288
323
|
list: {
|
|
289
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
324
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
290
325
|
environmentId: z.ZodString;
|
|
291
326
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
292
327
|
id: z.ZodString;
|
|
@@ -294,12 +329,12 @@ declare const contract: {
|
|
|
294
329
|
value: z.ZodString;
|
|
295
330
|
isSecret: z.ZodBoolean;
|
|
296
331
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
297
|
-
}, z.core.$strip>>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
332
|
+
}, z.core.$strip>>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
298
333
|
NOT_FOUND: {};
|
|
299
334
|
}>, Record<never, never>>;
|
|
300
335
|
};
|
|
301
336
|
create: {
|
|
302
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
337
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
303
338
|
environmentId: z.ZodString;
|
|
304
339
|
environmentVariables: z.ZodArray<z.ZodObject<{
|
|
305
340
|
key: z.ZodString;
|
|
@@ -308,37 +343,38 @@ declare const contract: {
|
|
|
308
343
|
}, z.core.$strip>>;
|
|
309
344
|
}, z.core.$strip>, z.ZodObject<{
|
|
310
345
|
success: z.ZodLiteral<true>;
|
|
311
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
346
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
312
347
|
NOT_FOUND: {};
|
|
313
348
|
BAD_REQUEST: {};
|
|
314
349
|
}>, Record<never, never>>;
|
|
315
350
|
};
|
|
316
351
|
update: {
|
|
317
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
352
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
318
353
|
environmentVariableId: z.ZodString;
|
|
319
354
|
key: z.ZodString;
|
|
320
355
|
value: z.ZodOptional<z.ZodString>;
|
|
321
|
-
isSecret: z.ZodDefault<z.ZodBoolean
|
|
356
|
+
isSecret: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
322
357
|
}, z.core.$strip>, z.ZodObject<{
|
|
323
358
|
success: z.ZodLiteral<true>;
|
|
324
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
359
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
325
360
|
NOT_FOUND: {};
|
|
326
361
|
BAD_REQUEST: {};
|
|
327
362
|
}>, Record<never, never>>;
|
|
328
363
|
};
|
|
329
364
|
delete: {
|
|
330
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
365
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
331
366
|
environmentVariableId: z.ZodString;
|
|
332
367
|
}, z.core.$strip>, z.ZodObject<{
|
|
333
368
|
success: z.ZodLiteral<true>;
|
|
334
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
369
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
335
370
|
NOT_FOUND: {};
|
|
371
|
+
BAD_REQUEST: {};
|
|
336
372
|
}>, Record<never, never>>;
|
|
337
373
|
};
|
|
338
374
|
};
|
|
339
375
|
projects: {
|
|
340
376
|
update: {
|
|
341
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
377
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
342
378
|
projectId: z.ZodString;
|
|
343
379
|
name: z.ZodOptional<z.ZodString>;
|
|
344
380
|
sourceRepository: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -371,18 +407,18 @@ declare const contract: {
|
|
|
371
407
|
domains: z.ZodArray<z.ZodObject<{
|
|
372
408
|
domain: z.ZodString;
|
|
373
409
|
status: z.ZodEnum<{
|
|
374
|
-
failed: "failed";
|
|
375
410
|
ongoing: "ongoing";
|
|
376
411
|
deployed: "deployed";
|
|
412
|
+
failed: "failed";
|
|
377
413
|
}>;
|
|
378
414
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
379
415
|
}, z.core.$strip>>;
|
|
380
416
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
381
417
|
id: z.ZodString;
|
|
382
418
|
status: z.ZodEnum<{
|
|
383
|
-
failed: "failed";
|
|
384
419
|
ongoing: "ongoing";
|
|
385
420
|
deployed: "deployed";
|
|
421
|
+
failed: "failed";
|
|
386
422
|
canceled: "canceled";
|
|
387
423
|
}>;
|
|
388
424
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -400,9 +436,9 @@ declare const contract: {
|
|
|
400
436
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
401
437
|
id: z.ZodString;
|
|
402
438
|
status: z.ZodEnum<{
|
|
403
|
-
failed: "failed";
|
|
404
439
|
ongoing: "ongoing";
|
|
405
440
|
deployed: "deployed";
|
|
441
|
+
failed: "failed";
|
|
406
442
|
canceled: "canceled";
|
|
407
443
|
}>;
|
|
408
444
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -410,13 +446,13 @@ declare const contract: {
|
|
|
410
446
|
completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
411
447
|
}, z.core.$strip>>;
|
|
412
448
|
}, z.core.$strip>>;
|
|
413
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
449
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
414
450
|
NOT_FOUND: {};
|
|
415
451
|
BAD_REQUEST: {};
|
|
416
452
|
}>, Record<never, never>>;
|
|
417
453
|
};
|
|
418
454
|
get: {
|
|
419
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
455
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
420
456
|
projectId: z.ZodString;
|
|
421
457
|
}, z.core.$strip>, z.ZodObject<{
|
|
422
458
|
id: z.ZodString;
|
|
@@ -447,18 +483,18 @@ declare const contract: {
|
|
|
447
483
|
domains: z.ZodArray<z.ZodObject<{
|
|
448
484
|
domain: z.ZodString;
|
|
449
485
|
status: z.ZodEnum<{
|
|
450
|
-
failed: "failed";
|
|
451
486
|
ongoing: "ongoing";
|
|
452
487
|
deployed: "deployed";
|
|
488
|
+
failed: "failed";
|
|
453
489
|
}>;
|
|
454
490
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
455
491
|
}, z.core.$strip>>;
|
|
456
492
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
457
493
|
id: z.ZodString;
|
|
458
494
|
status: z.ZodEnum<{
|
|
459
|
-
failed: "failed";
|
|
460
495
|
ongoing: "ongoing";
|
|
461
496
|
deployed: "deployed";
|
|
497
|
+
failed: "failed";
|
|
462
498
|
canceled: "canceled";
|
|
463
499
|
}>;
|
|
464
500
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -476,9 +512,9 @@ declare const contract: {
|
|
|
476
512
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
477
513
|
id: z.ZodString;
|
|
478
514
|
status: z.ZodEnum<{
|
|
479
|
-
failed: "failed";
|
|
480
515
|
ongoing: "ongoing";
|
|
481
516
|
deployed: "deployed";
|
|
517
|
+
failed: "failed";
|
|
482
518
|
canceled: "canceled";
|
|
483
519
|
}>;
|
|
484
520
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -486,12 +522,12 @@ declare const contract: {
|
|
|
486
522
|
completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
487
523
|
}, z.core.$strip>>;
|
|
488
524
|
}, z.core.$strip>>;
|
|
489
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
525
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
490
526
|
NOT_FOUND: {};
|
|
491
527
|
}>, Record<never, never>>;
|
|
492
528
|
};
|
|
493
529
|
list: {
|
|
494
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
|
|
530
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
|
|
495
531
|
teamId: z.ZodOptional<z.ZodString>;
|
|
496
532
|
}, z.core.$strip>>, z.ZodArray<z.ZodObject<{
|
|
497
533
|
id: z.ZodString;
|
|
@@ -522,18 +558,18 @@ declare const contract: {
|
|
|
522
558
|
domains: z.ZodArray<z.ZodObject<{
|
|
523
559
|
domain: z.ZodString;
|
|
524
560
|
status: z.ZodEnum<{
|
|
525
|
-
failed: "failed";
|
|
526
561
|
ongoing: "ongoing";
|
|
527
562
|
deployed: "deployed";
|
|
563
|
+
failed: "failed";
|
|
528
564
|
}>;
|
|
529
565
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
530
566
|
}, z.core.$strip>>;
|
|
531
567
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
532
568
|
id: z.ZodString;
|
|
533
569
|
status: z.ZodEnum<{
|
|
534
|
-
failed: "failed";
|
|
535
570
|
ongoing: "ongoing";
|
|
536
571
|
deployed: "deployed";
|
|
572
|
+
failed: "failed";
|
|
537
573
|
canceled: "canceled";
|
|
538
574
|
}>;
|
|
539
575
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -551,9 +587,9 @@ declare const contract: {
|
|
|
551
587
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
552
588
|
id: z.ZodString;
|
|
553
589
|
status: z.ZodEnum<{
|
|
554
|
-
failed: "failed";
|
|
555
590
|
ongoing: "ongoing";
|
|
556
591
|
deployed: "deployed";
|
|
592
|
+
failed: "failed";
|
|
557
593
|
canceled: "canceled";
|
|
558
594
|
}>;
|
|
559
595
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -561,10 +597,13 @@ declare const contract: {
|
|
|
561
597
|
completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
562
598
|
}, z.core.$strip>>;
|
|
563
599
|
}, z.core.$strip>>;
|
|
564
|
-
}, z.core.$strip>>, Record<never, never>,
|
|
600
|
+
}, z.core.$strip>>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
601
|
+
NOT_FOUND: {};
|
|
602
|
+
BAD_REQUEST: {};
|
|
603
|
+
}>, Record<never, never>>;
|
|
565
604
|
};
|
|
566
605
|
create: {
|
|
567
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
606
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
568
607
|
teamId: z.ZodOptional<z.ZodString>;
|
|
569
608
|
name: z.ZodString;
|
|
570
609
|
sourceRepository: z.ZodOptional<z.ZodString>;
|
|
@@ -622,33 +661,97 @@ declare const contract: {
|
|
|
622
661
|
installCommand: z.ZodNullable<z.ZodString>;
|
|
623
662
|
startCommand: z.ZodNullable<z.ZodString>;
|
|
624
663
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
625
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
664
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
626
665
|
NOT_FOUND: {};
|
|
627
666
|
BAD_REQUEST: {};
|
|
628
667
|
}>, Record<never, never>>;
|
|
629
668
|
};
|
|
630
669
|
delete: {
|
|
631
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
670
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
632
671
|
projectId: z.ZodString;
|
|
633
672
|
}, z.core.$strip>, z.ZodObject<{
|
|
634
673
|
success: z.ZodLiteral<true>;
|
|
635
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
674
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
675
|
+
NOT_FOUND: {};
|
|
676
|
+
}>, Record<never, never>>;
|
|
677
|
+
};
|
|
678
|
+
};
|
|
679
|
+
playground: {
|
|
680
|
+
get: {
|
|
681
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
682
|
+
environmentId: z.ZodString;
|
|
683
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
684
|
+
isPlaygroundEnabled: z.ZodBoolean;
|
|
685
|
+
serverMetadata: z.ZodNullable<z.ZodObject<{
|
|
686
|
+
name: z.ZodString;
|
|
687
|
+
description: z.ZodString;
|
|
688
|
+
headers: z.ZodArray<z.ZodObject<{
|
|
689
|
+
name: z.ZodString;
|
|
690
|
+
description: z.ZodString;
|
|
691
|
+
isRequired: z.ZodBoolean;
|
|
692
|
+
isSecret: z.ZodBoolean;
|
|
693
|
+
}, z.core.$strip>>;
|
|
694
|
+
examplePrompts: z.ZodArray<z.ZodObject<{
|
|
695
|
+
title: z.ZodString;
|
|
696
|
+
prompt: z.ZodString;
|
|
697
|
+
}, z.core.$strip>>;
|
|
698
|
+
}, z.core.$strip>>;
|
|
699
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
700
|
+
NOT_FOUND: {};
|
|
701
|
+
}>, Record<never, never>>;
|
|
702
|
+
};
|
|
703
|
+
upsert: {
|
|
704
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
705
|
+
environmentId: z.ZodString;
|
|
706
|
+
isPlaygroundEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
707
|
+
name: z.ZodOptional<z.ZodString>;
|
|
708
|
+
description: z.ZodOptional<z.ZodString>;
|
|
709
|
+
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
710
|
+
name: z.ZodString;
|
|
711
|
+
description: z.ZodString;
|
|
712
|
+
isRequired: z.ZodDefault<z.ZodBoolean>;
|
|
713
|
+
isSecret: z.ZodDefault<z.ZodBoolean>;
|
|
714
|
+
}, z.core.$strip>>>;
|
|
715
|
+
examplePrompts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
716
|
+
title: z.ZodString;
|
|
717
|
+
prompt: z.ZodString;
|
|
718
|
+
}, z.core.$strip>>>;
|
|
719
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
720
|
+
isPlaygroundEnabled: z.ZodBoolean;
|
|
721
|
+
serverMetadata: z.ZodNullable<z.ZodObject<{
|
|
722
|
+
name: z.ZodString;
|
|
723
|
+
description: z.ZodString;
|
|
724
|
+
headers: z.ZodArray<z.ZodObject<{
|
|
725
|
+
name: z.ZodString;
|
|
726
|
+
description: z.ZodString;
|
|
727
|
+
isRequired: z.ZodBoolean;
|
|
728
|
+
isSecret: z.ZodBoolean;
|
|
729
|
+
}, z.core.$strip>>;
|
|
730
|
+
examplePrompts: z.ZodArray<z.ZodObject<{
|
|
731
|
+
title: z.ZodString;
|
|
732
|
+
prompt: z.ZodString;
|
|
733
|
+
}, z.core.$strip>>;
|
|
734
|
+
}, z.core.$strip>>;
|
|
735
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
636
736
|
NOT_FOUND: {};
|
|
737
|
+
BAD_REQUEST: {};
|
|
637
738
|
}>, Record<never, never>>;
|
|
638
739
|
};
|
|
639
740
|
};
|
|
640
741
|
tunnels: {
|
|
641
742
|
getTicket: {
|
|
642
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithOutput<_orpc_contract0.Schema<unknown, unknown>, z.ZodObject<{
|
|
743
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithOutput<_$_orpc_contract0.Schema<unknown, unknown>, z.ZodObject<{
|
|
643
744
|
subdomain: z.ZodString;
|
|
644
745
|
ticket: z.ZodString;
|
|
645
746
|
tunnelHost: z.ZodString;
|
|
646
|
-
}, z.core.$strip>, Record<never, never>,
|
|
747
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
748
|
+
FORBIDDEN: {};
|
|
749
|
+
}>, Record<never, never>>;
|
|
647
750
|
};
|
|
648
751
|
};
|
|
649
752
|
distribution: {
|
|
650
753
|
publish: {
|
|
651
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
754
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
652
755
|
projectId: z.ZodString;
|
|
653
756
|
domain: z.ZodString;
|
|
654
757
|
title: z.ZodString;
|
|
@@ -680,13 +783,13 @@ declare const contract: {
|
|
|
680
783
|
}, z.core.$strip>>>;
|
|
681
784
|
}, z.core.$strip>>>;
|
|
682
785
|
}, z.core.$strip>;
|
|
683
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
786
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
684
787
|
NOT_FOUND: {};
|
|
685
788
|
BAD_REQUEST: {};
|
|
686
789
|
}>, Record<never, never>>;
|
|
687
790
|
};
|
|
688
791
|
get: {
|
|
689
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
792
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
690
793
|
projectId: z.ZodString;
|
|
691
794
|
domain: z.ZodString;
|
|
692
795
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -713,7 +816,7 @@ declare const contract: {
|
|
|
713
816
|
}, z.core.$strip>>>;
|
|
714
817
|
}, z.core.$strip>>>;
|
|
715
818
|
}, z.core.$strip>;
|
|
716
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
819
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
717
820
|
NOT_FOUND: {};
|
|
718
821
|
BAD_REQUEST: {};
|
|
719
822
|
}>, Record<never, never>>;
|
|
@@ -721,28 +824,38 @@ declare const contract: {
|
|
|
721
824
|
};
|
|
722
825
|
beacon: {
|
|
723
826
|
create: {
|
|
724
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
725
|
-
targetUrl: z.
|
|
827
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
828
|
+
targetUrl: z.ZodURL;
|
|
726
829
|
teamId: z.ZodOptional<z.ZodString>;
|
|
727
830
|
projectId: z.ZodOptional<z.ZodString>;
|
|
831
|
+
excludeCategories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
832
|
+
connectivity: "connectivity";
|
|
833
|
+
"tool-metadata": "tool-metadata";
|
|
834
|
+
"resource-metadata": "resource-metadata";
|
|
835
|
+
performance: "performance";
|
|
836
|
+
e2e: "e2e";
|
|
837
|
+
}>>>;
|
|
728
838
|
}, z.core.$strip>, z.ZodObject<{
|
|
729
839
|
id: z.ZodString;
|
|
730
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
840
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
731
841
|
NOT_FOUND: {};
|
|
732
842
|
BAD_REQUEST: {};
|
|
843
|
+
DNS_RESOLUTION_FAILED: {
|
|
844
|
+
status: number;
|
|
845
|
+
};
|
|
733
846
|
}>, Record<never, never>>;
|
|
734
847
|
};
|
|
735
848
|
get: {
|
|
736
|
-
v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
737
|
-
|
|
849
|
+
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
850
|
+
auditId: z.ZodString;
|
|
738
851
|
}, z.core.$strip>, z.ZodObject<{
|
|
739
852
|
id: z.ZodString;
|
|
740
853
|
targetUrl: z.ZodString;
|
|
741
854
|
status: z.ZodEnum<{
|
|
855
|
+
failed: "failed";
|
|
742
856
|
pending: "pending";
|
|
743
857
|
partial: "partial";
|
|
744
858
|
completed: "completed";
|
|
745
|
-
failed: "failed";
|
|
746
859
|
}>;
|
|
747
860
|
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
748
861
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -755,6 +868,8 @@ declare const contract: {
|
|
|
755
868
|
durationMs: z.ZodNumber;
|
|
756
869
|
results: z.ZodArray<z.ZodObject<{
|
|
757
870
|
checkId: z.ZodString;
|
|
871
|
+
checkName: z.ZodString;
|
|
872
|
+
description: z.ZodString;
|
|
758
873
|
status: z.ZodEnum<{
|
|
759
874
|
pending: "pending";
|
|
760
875
|
pass: "pass";
|
|
@@ -802,20 +917,20 @@ declare const contract: {
|
|
|
802
917
|
chatgpt: "chatgpt";
|
|
803
918
|
claudeai: "claudeai";
|
|
804
919
|
}>, z.ZodBoolean>;
|
|
805
|
-
widgetScreenshotKeys: z.
|
|
920
|
+
widgetScreenshotKeys: z.ZodObject<{
|
|
806
921
|
chatgpt: z.ZodOptional<z.ZodString>;
|
|
807
922
|
claudeai: z.ZodOptional<z.ZodString>;
|
|
808
|
-
}, z.core.$strip
|
|
809
|
-
widgetScreenshots: z.
|
|
923
|
+
}, z.core.$strip>;
|
|
924
|
+
widgetScreenshots: z.ZodObject<{
|
|
810
925
|
chatgpt: z.ZodOptional<z.ZodObject<{
|
|
811
926
|
url: z.ZodString;
|
|
812
927
|
}, z.core.$strip>>;
|
|
813
928
|
claudeai: z.ZodOptional<z.ZodObject<{
|
|
814
929
|
url: z.ZodString;
|
|
815
930
|
}, z.core.$strip>>;
|
|
816
|
-
}, z.core.$strip
|
|
931
|
+
}, z.core.$strip>;
|
|
817
932
|
}, z.core.$strip>>;
|
|
818
|
-
}, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
933
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
819
934
|
NOT_FOUND: {};
|
|
820
935
|
}>, Record<never, never>>;
|
|
821
936
|
};
|
|
@@ -824,7 +939,30 @@ declare const contract: {
|
|
|
824
939
|
type RouterInput = InferContractRouterInputs<typeof contract>;
|
|
825
940
|
type RouterOutput = InferContractRouterOutputs<typeof contract>;
|
|
826
941
|
//#endregion
|
|
942
|
+
//#region ../domains/src/platforms/schemas.d.ts
|
|
943
|
+
declare const platformSchema: z.ZodEnum<{
|
|
944
|
+
chatgpt: "chatgpt";
|
|
945
|
+
claudeai: "claudeai";
|
|
946
|
+
}>;
|
|
947
|
+
type Platform = z.infer<typeof platformSchema>;
|
|
948
|
+
declare const PLATFORM_LABELS: Record<Platform, string>;
|
|
949
|
+
//#endregion
|
|
950
|
+
//#region ../domains/src/projects/schemas.d.ts
|
|
951
|
+
declare const runtimeSchema: z.ZodEnum<{
|
|
952
|
+
"python3.13": "python3.13";
|
|
953
|
+
"python3.14": "python3.14";
|
|
954
|
+
node22: "node22";
|
|
955
|
+
node24: "node24";
|
|
956
|
+
}>;
|
|
957
|
+
declare const transportSchema: z.ZodEnum<{
|
|
958
|
+
stdio: "stdio";
|
|
959
|
+
sse: "sse";
|
|
960
|
+
streamablehttp: "streamablehttp";
|
|
961
|
+
}>;
|
|
962
|
+
//#endregion
|
|
827
963
|
//#region src/schemas.d.ts
|
|
964
|
+
type Runtime = z.infer<typeof runtimeSchema>;
|
|
965
|
+
type Transport = z.infer<typeof transportSchema>;
|
|
828
966
|
declare const environmentVariableSchema: z.ZodObject<{
|
|
829
967
|
key: z.ZodString;
|
|
830
968
|
value: z.ZodString;
|
|
@@ -835,170 +973,27 @@ declare const environmentVariablesSchema: z.ZodArray<z.ZodObject<{
|
|
|
835
973
|
value: z.ZodString;
|
|
836
974
|
isSecret: z.ZodDefault<z.ZodBoolean>;
|
|
837
975
|
}, z.core.$strip>>;
|
|
976
|
+
declare const updateEnvironmentVariableSchema: z.ZodObject<{
|
|
977
|
+
key: z.ZodString;
|
|
978
|
+
value: z.ZodOptional<z.ZodString>;
|
|
979
|
+
isSecret: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
980
|
+
}, z.core.$strip>;
|
|
838
981
|
declare const buildSettingsSchema: z.ZodObject<{
|
|
839
982
|
installCommand: z.ZodOptional<z.ZodString>;
|
|
840
983
|
buildCommand: z.ZodOptional<z.ZodString>;
|
|
841
984
|
buildOutputDir: z.ZodOptional<z.ZodString>;
|
|
842
985
|
startCommand: z.ZodOptional<z.ZodString>;
|
|
843
986
|
}, 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>>;
|
|
987
|
+
declare const playgroundHeaderSchema: z.ZodObject<{
|
|
988
|
+
name: z.ZodString;
|
|
989
|
+
description: z.ZodString;
|
|
990
|
+
isRequired: z.ZodDefault<z.ZodBoolean>;
|
|
991
|
+
isSecret: z.ZodDefault<z.ZodBoolean>;
|
|
930
992
|
}, 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>>;
|
|
993
|
+
declare const playgroundExamplePromptSchema: z.ZodObject<{
|
|
994
|
+
title: z.ZodString;
|
|
995
|
+
prompt: z.ZodString;
|
|
1000
996
|
}, z.core.$strip>;
|
|
1001
|
-
type AuditReport = z.infer<typeof auditReportSchema>;
|
|
1002
997
|
declare const serverFieldsSchema: z.ZodObject<{
|
|
1003
998
|
$schema: z.ZodString;
|
|
1004
999
|
name: z.ZodString;
|
|
@@ -1023,4 +1018,4 @@ declare const serverFieldsSchema: z.ZodObject<{
|
|
|
1023
1018
|
}, z.core.$strip>>>;
|
|
1024
1019
|
}, z.core.$strip>;
|
|
1025
1020
|
//#endregion
|
|
1026
|
-
export { ApiContext,
|
|
1021
|
+
export { ApiContext, PLATFORM_LABELS, type Platform, RouterInput, RouterOutput, Runtime, Transport, buildSettingsSchema, contract, createEnvironmentContractV1, deploymentStatusSchema, environmentVariableSchema, environmentVariablesSchema, playgroundExamplePromptSchema, playgroundHeaderSchema, runtimeSchema, serverFieldsSchema, transportSchema, updateEnvironmentVariableSchema };
|