@alpic-ai/api 0.0.0-staging.a2e3bbd → 0.0.0-staging.a2fe7c0

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 CHANGED
@@ -1,4 +1,4 @@
1
- import * as _orpc_contract0 from "@orpc/contract";
1
+ import * as _$_orpc_contract0 from "@orpc/contract";
2
2
  import { InferContractRouterInputs, InferContractRouterOutputs } from "@orpc/contract";
3
3
  import { z } from "zod";
4
4
 
@@ -6,9 +6,17 @@ import { z } from "zod";
6
6
  type ApiContext = {
7
7
  request: Request & {
8
8
  teamIds: string[];
9
+ defaultTeamId: string | undefined;
10
+ awsCognitoUserSub: string | undefined;
9
11
  };
10
12
  };
11
- declare const createEnvironmentContractV1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
13
+ declare const deploymentStatusSchema: z.ZodEnum<{
14
+ failed: "failed";
15
+ ongoing: "ongoing";
16
+ deployed: "deployed";
17
+ canceled: "canceled";
18
+ }>;
19
+ declare const createEnvironmentContractV1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
12
20
  projectId: z.ZodString;
13
21
  name: z.ZodString;
14
22
  sourceBranch: z.ZodString;
@@ -24,14 +32,24 @@ declare const createEnvironmentContractV1: _orpc_contract0.ContractProcedureBuil
24
32
  urls: z.ZodArray<z.ZodString>;
25
33
  createdAt: z.ZodCoercedDate<unknown>;
26
34
  projectId: z.ZodString;
27
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
35
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
28
36
  NOT_FOUND: {};
29
37
  BAD_REQUEST: {};
30
38
  }>, Record<never, never>>;
31
39
  declare const contract: {
40
+ teams: {
41
+ list: {
42
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithOutput<_$_orpc_contract0.Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
43
+ id: z.ZodString;
44
+ name: z.ZodString;
45
+ createdAt: z.ZodCoercedDate<unknown>;
46
+ hasStripeAccount: z.ZodBoolean;
47
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
48
+ };
49
+ };
32
50
  analytics: {
33
51
  get: {
34
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
52
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
35
53
  projectId: z.ZodString;
36
54
  startTimestamp: z.ZodCoercedNumber<unknown>;
37
55
  endTimestamp: z.ZodCoercedNumber<unknown>;
@@ -74,7 +92,7 @@ declare const contract: {
74
92
  categories: z.ZodRecord<z.ZodString, z.ZodUnknown>;
75
93
  }, z.core.$strip>>;
76
94
  }, z.core.$strip>;
77
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
95
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
78
96
  NOT_FOUND: {};
79
97
  BAD_REQUEST: {};
80
98
  }>, Record<never, never>>;
@@ -82,14 +100,21 @@ declare const contract: {
82
100
  };
83
101
  deployments: {
84
102
  list: {
85
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
103
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
86
104
  projectId: z.ZodString;
105
+ status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
106
+ failed: "failed";
107
+ ongoing: "ongoing";
108
+ deployed: "deployed";
109
+ canceled: "canceled";
110
+ }>>>;
111
+ environmentId: z.ZodOptional<z.ZodString>;
87
112
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
88
113
  id: z.ZodString;
89
114
  status: z.ZodEnum<{
115
+ failed: "failed";
90
116
  ongoing: "ongoing";
91
117
  deployed: "deployed";
92
- failed: "failed";
93
118
  canceled: "canceled";
94
119
  }>;
95
120
  sourceRef: z.ZodNullable<z.ZodString>;
@@ -99,21 +124,23 @@ declare const contract: {
99
124
  authorAvatarUrl: z.ZodNullable<z.ZodString>;
100
125
  startedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
101
126
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
102
- isCurrent: z.ZodBoolean;
103
127
  environmentId: z.ZodString;
104
- }, z.core.$strip>>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
128
+ environmentName: z.ZodString;
129
+ isCurrent: z.ZodBoolean;
130
+ deploymentPageUrl: z.ZodNullable<z.ZodURL>;
131
+ }, z.core.$strip>>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
105
132
  NOT_FOUND: {};
106
133
  }>, Record<never, never>>;
107
134
  };
108
135
  get: {
109
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
136
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
110
137
  deploymentId: z.ZodString;
111
138
  }, z.core.$strip>, z.ZodObject<{
112
139
  id: z.ZodString;
113
140
  status: z.ZodEnum<{
141
+ failed: "failed";
114
142
  ongoing: "ongoing";
115
143
  deployed: "deployed";
116
- failed: "failed";
117
144
  canceled: "canceled";
118
145
  }>;
119
146
  sourceRef: z.ZodNullable<z.ZodString>;
@@ -123,21 +150,25 @@ declare const contract: {
123
150
  authorAvatarUrl: z.ZodNullable<z.ZodString>;
124
151
  startedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
125
152
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
126
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
153
+ environmentId: z.ZodString;
154
+ environmentName: z.ZodString;
155
+ isCurrent: z.ZodBoolean;
156
+ deploymentPageUrl: z.ZodNullable<z.ZodURL>;
157
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
127
158
  NOT_FOUND: {};
128
159
  }>, Record<never, never>>;
129
160
  };
130
161
  uploadArtifact: {
131
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
162
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
132
163
  teamId: z.ZodOptional<z.ZodString>;
133
164
  }, z.core.$strip>>, z.ZodObject<{
134
- uploadUrl: z.ZodString;
165
+ uploadUrl: z.ZodURL;
135
166
  token: z.ZodString;
136
167
  expiresAt: z.ZodCoercedDate<unknown>;
137
168
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
138
169
  };
139
170
  getLogs: {
140
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
171
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
141
172
  deploymentId: z.ZodString;
142
173
  }, z.core.$strip>, z.ZodObject<{
143
174
  logs: z.ZodArray<z.ZodObject<{
@@ -145,14 +176,14 @@ declare const contract: {
145
176
  content: z.ZodOptional<z.ZodString>;
146
177
  }, z.core.$strip>>;
147
178
  hasMoreLogs: z.ZodBoolean;
148
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
179
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
149
180
  NOT_FOUND: {};
150
181
  }>, Record<never, never>>;
151
182
  };
152
183
  };
153
184
  environments: {
154
185
  create: {
155
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
186
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
156
187
  projectId: z.ZodString;
157
188
  name: z.ZodString;
158
189
  sourceBranch: z.ZodString;
@@ -168,13 +199,13 @@ declare const contract: {
168
199
  urls: z.ZodArray<z.ZodString>;
169
200
  createdAt: z.ZodCoercedDate<unknown>;
170
201
  projectId: z.ZodString;
171
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
202
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
172
203
  NOT_FOUND: {};
173
204
  BAD_REQUEST: {};
174
205
  }>, Record<never, never>>;
175
206
  };
176
207
  get: {
177
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
208
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
178
209
  environmentId: z.ZodString;
179
210
  }, z.core.$strip>, z.ZodObject<{
180
211
  id: z.ZodString;
@@ -184,20 +215,20 @@ declare const contract: {
184
215
  domains: z.ZodArray<z.ZodURL>;
185
216
  createdAt: z.ZodCoercedDate<unknown>;
186
217
  projectId: z.ZodString;
187
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
218
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
188
219
  NOT_FOUND: {};
189
220
  }>, Record<never, never>>;
190
221
  };
191
222
  deploy: {
192
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
223
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
193
224
  environmentId: z.ZodString;
194
225
  token: z.ZodOptional<z.ZodString>;
195
226
  }, z.core.$strip>, z.ZodObject<{
196
227
  id: z.ZodString;
197
228
  status: z.ZodEnum<{
229
+ failed: "failed";
198
230
  ongoing: "ongoing";
199
231
  deployed: "deployed";
200
- failed: "failed";
201
232
  canceled: "canceled";
202
233
  }>;
203
234
  sourceRef: z.ZodNullable<z.ZodString>;
@@ -207,16 +238,110 @@ declare const contract: {
207
238
  authorAvatarUrl: z.ZodNullable<z.ZodString>;
208
239
  startedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
209
240
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
210
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
241
+ environmentId: z.ZodString;
242
+ environmentName: z.ZodString;
243
+ isCurrent: z.ZodBoolean;
244
+ deploymentPageUrl: z.ZodNullable<z.ZodURL>;
245
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
246
+ NOT_FOUND: {};
247
+ BAD_REQUEST: {};
248
+ }>, Record<never, never>>;
249
+ };
250
+ getLogs: {
251
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
252
+ environmentId: z.ZodString;
253
+ since: z.ZodOptional<z.ZodString>;
254
+ until: z.ZodOptional<z.ZodString>;
255
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
256
+ level: z.ZodOptional<z.ZodArray<z.ZodEnum<{
257
+ INFO: "INFO";
258
+ ERROR: "ERROR";
259
+ WARNING: "WARNING";
260
+ DEBUG: "DEBUG";
261
+ }>>>;
262
+ search: z.ZodOptional<z.ZodString>;
263
+ nextToken: z.ZodOptional<z.ZodString>;
264
+ }, z.core.$strip>, z.ZodObject<{
265
+ logs: z.ZodArray<z.ZodObject<{
266
+ timestamp: z.ZodCoercedDate<unknown>;
267
+ type: z.ZodEnum<{
268
+ INFO: "INFO";
269
+ ERROR: "ERROR";
270
+ WARNING: "WARNING";
271
+ DEBUG: "DEBUG";
272
+ START: "START";
273
+ END: "END";
274
+ }>;
275
+ requestId: z.ZodString;
276
+ content: z.ZodOptional<z.ZodString>;
277
+ method: z.ZodOptional<z.ZodString>;
278
+ durationInMs: z.ZodOptional<z.ZodNumber>;
279
+ }, z.core.$strip>>;
280
+ nextToken: z.ZodNullable<z.ZodString>;
281
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
211
282
  NOT_FOUND: {};
212
283
  BAD_REQUEST: {};
213
284
  }>, Record<never, never>>;
214
285
  };
215
286
  };
287
+ environmentVariables: {
288
+ list: {
289
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
290
+ environmentId: z.ZodString;
291
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
292
+ id: z.ZodString;
293
+ key: z.ZodString;
294
+ value: z.ZodString;
295
+ isSecret: z.ZodBoolean;
296
+ createdAt: z.ZodCoercedDate<unknown>;
297
+ }, z.core.$strip>>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
298
+ NOT_FOUND: {};
299
+ }>, Record<never, never>>;
300
+ };
301
+ create: {
302
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
303
+ environmentId: z.ZodString;
304
+ environmentVariables: z.ZodArray<z.ZodObject<{
305
+ key: z.ZodString;
306
+ value: z.ZodString;
307
+ isSecret: z.ZodDefault<z.ZodBoolean>;
308
+ }, z.core.$strip>>;
309
+ }, z.core.$strip>, z.ZodObject<{
310
+ success: z.ZodLiteral<true>;
311
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
312
+ NOT_FOUND: {};
313
+ BAD_REQUEST: {};
314
+ }>, Record<never, never>>;
315
+ };
316
+ update: {
317
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
318
+ environmentVariableId: z.ZodString;
319
+ key: z.ZodString;
320
+ value: z.ZodOptional<z.ZodString>;
321
+ isSecret: z.ZodDefault<z.ZodBoolean>;
322
+ }, z.core.$strip>, z.ZodObject<{
323
+ success: z.ZodLiteral<true>;
324
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
325
+ NOT_FOUND: {};
326
+ BAD_REQUEST: {};
327
+ }>, Record<never, never>>;
328
+ };
329
+ delete: {
330
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
331
+ environmentVariableId: z.ZodString;
332
+ }, z.core.$strip>, z.ZodObject<{
333
+ success: z.ZodLiteral<true>;
334
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
335
+ NOT_FOUND: {};
336
+ }>, Record<never, never>>;
337
+ };
338
+ };
216
339
  projects: {
217
- get: {
218
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
340
+ update: {
341
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
219
342
  projectId: z.ZodString;
343
+ name: z.ZodOptional<z.ZodString>;
344
+ sourceRepository: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
345
  }, z.core.$strip>, z.ZodObject<{
221
346
  id: z.ZodString;
222
347
  name: z.ZodString;
@@ -243,12 +368,21 @@ declare const contract: {
243
368
  id: z.ZodString;
244
369
  name: z.ZodString;
245
370
  mcpServerUrl: z.ZodString;
371
+ domains: z.ZodArray<z.ZodObject<{
372
+ domain: z.ZodString;
373
+ status: z.ZodEnum<{
374
+ failed: "failed";
375
+ ongoing: "ongoing";
376
+ deployed: "deployed";
377
+ }>;
378
+ createdAt: z.ZodCoercedDate<unknown>;
379
+ }, z.core.$strip>>;
246
380
  latestDeployment: z.ZodNullable<z.ZodObject<{
247
381
  id: z.ZodString;
248
382
  status: z.ZodEnum<{
383
+ failed: "failed";
249
384
  ongoing: "ongoing";
250
385
  deployed: "deployed";
251
- failed: "failed";
252
386
  canceled: "canceled";
253
387
  }>;
254
388
  sourceCommitId: z.ZodNullable<z.ZodString>;
@@ -266,9 +400,65 @@ declare const contract: {
266
400
  latestDeployment: z.ZodNullable<z.ZodObject<{
267
401
  id: z.ZodString;
268
402
  status: z.ZodEnum<{
403
+ failed: "failed";
269
404
  ongoing: "ongoing";
270
405
  deployed: "deployed";
406
+ canceled: "canceled";
407
+ }>;
408
+ sourceCommitId: z.ZodNullable<z.ZodString>;
409
+ sourceCommitMessage: z.ZodNullable<z.ZodString>;
410
+ completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
411
+ }, z.core.$strip>>;
412
+ }, z.core.$strip>>;
413
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
414
+ NOT_FOUND: {};
415
+ BAD_REQUEST: {};
416
+ }>, Record<never, never>>;
417
+ };
418
+ get: {
419
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
420
+ projectId: z.ZodString;
421
+ }, z.core.$strip>, z.ZodObject<{
422
+ id: z.ZodString;
423
+ name: z.ZodString;
424
+ teamId: z.ZodString;
425
+ sourceRepository: z.ZodNullable<z.ZodString>;
426
+ runtime: z.ZodEnum<{
427
+ "python3.13": "python3.13";
428
+ "python3.14": "python3.14";
429
+ node22: "node22";
430
+ node24: "node24";
431
+ }>;
432
+ transport: z.ZodNullable<z.ZodEnum<{
433
+ stdio: "stdio";
434
+ sse: "sse";
435
+ streamablehttp: "streamablehttp";
436
+ }>>;
437
+ rootDirectory: z.ZodNullable<z.ZodString>;
438
+ buildCommand: z.ZodNullable<z.ZodString>;
439
+ buildOutputDir: z.ZodNullable<z.ZodString>;
440
+ installCommand: z.ZodNullable<z.ZodString>;
441
+ startCommand: z.ZodNullable<z.ZodString>;
442
+ createdAt: z.ZodCoercedDate<unknown>;
443
+ productionEnvironment: z.ZodNullable<z.ZodObject<{
444
+ id: z.ZodString;
445
+ name: z.ZodString;
446
+ mcpServerUrl: z.ZodString;
447
+ domains: z.ZodArray<z.ZodObject<{
448
+ domain: z.ZodString;
449
+ status: z.ZodEnum<{
450
+ failed: "failed";
451
+ ongoing: "ongoing";
452
+ deployed: "deployed";
453
+ }>;
454
+ createdAt: z.ZodCoercedDate<unknown>;
455
+ }, z.core.$strip>>;
456
+ latestDeployment: z.ZodNullable<z.ZodObject<{
457
+ id: z.ZodString;
458
+ status: z.ZodEnum<{
271
459
  failed: "failed";
460
+ ongoing: "ongoing";
461
+ deployed: "deployed";
272
462
  canceled: "canceled";
273
463
  }>;
274
464
  sourceCommitId: z.ZodNullable<z.ZodString>;
@@ -276,12 +466,34 @@ declare const contract: {
276
466
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
277
467
  }, z.core.$strip>>;
278
468
  }, z.core.$strip>>;
279
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
469
+ environments: z.ZodArray<z.ZodObject<{
470
+ id: z.ZodString;
471
+ name: z.ZodString;
472
+ sourceBranch: z.ZodNullable<z.ZodString>;
473
+ mcpServerUrl: z.ZodString;
474
+ createdAt: z.ZodCoercedDate<unknown>;
475
+ projectId: z.ZodString;
476
+ latestDeployment: z.ZodNullable<z.ZodObject<{
477
+ id: z.ZodString;
478
+ status: z.ZodEnum<{
479
+ failed: "failed";
480
+ ongoing: "ongoing";
481
+ deployed: "deployed";
482
+ canceled: "canceled";
483
+ }>;
484
+ sourceCommitId: z.ZodNullable<z.ZodString>;
485
+ sourceCommitMessage: z.ZodNullable<z.ZodString>;
486
+ completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
487
+ }, z.core.$strip>>;
488
+ }, z.core.$strip>>;
489
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
280
490
  NOT_FOUND: {};
281
491
  }>, Record<never, never>>;
282
492
  };
283
493
  list: {
284
- v1: _orpc_contract0.ContractProcedureBuilderWithOutput<_orpc_contract0.Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
494
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
495
+ teamId: z.ZodOptional<z.ZodString>;
496
+ }, z.core.$strip>>, z.ZodArray<z.ZodObject<{
285
497
  id: z.ZodString;
286
498
  name: z.ZodString;
287
499
  teamId: z.ZodString;
@@ -307,12 +519,21 @@ declare const contract: {
307
519
  id: z.ZodString;
308
520
  name: z.ZodString;
309
521
  mcpServerUrl: z.ZodString;
522
+ domains: z.ZodArray<z.ZodObject<{
523
+ domain: z.ZodString;
524
+ status: z.ZodEnum<{
525
+ failed: "failed";
526
+ ongoing: "ongoing";
527
+ deployed: "deployed";
528
+ }>;
529
+ createdAt: z.ZodCoercedDate<unknown>;
530
+ }, z.core.$strip>>;
310
531
  latestDeployment: z.ZodNullable<z.ZodObject<{
311
532
  id: z.ZodString;
312
533
  status: z.ZodEnum<{
534
+ failed: "failed";
313
535
  ongoing: "ongoing";
314
536
  deployed: "deployed";
315
- failed: "failed";
316
537
  canceled: "canceled";
317
538
  }>;
318
539
  sourceCommitId: z.ZodNullable<z.ZodString>;
@@ -330,9 +551,9 @@ declare const contract: {
330
551
  latestDeployment: z.ZodNullable<z.ZodObject<{
331
552
  id: z.ZodString;
332
553
  status: z.ZodEnum<{
554
+ failed: "failed";
333
555
  ongoing: "ongoing";
334
556
  deployed: "deployed";
335
- failed: "failed";
336
557
  canceled: "canceled";
337
558
  }>;
338
559
  sourceCommitId: z.ZodNullable<z.ZodString>;
@@ -343,7 +564,7 @@ declare const contract: {
343
564
  }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
344
565
  };
345
566
  create: {
346
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
567
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
347
568
  teamId: z.ZodOptional<z.ZodString>;
348
569
  name: z.ZodString;
349
570
  sourceRepository: z.ZodOptional<z.ZodString>;
@@ -401,12 +622,204 @@ declare const contract: {
401
622
  installCommand: z.ZodNullable<z.ZodString>;
402
623
  startCommand: z.ZodNullable<z.ZodString>;
403
624
  createdAt: z.ZodCoercedDate<unknown>;
404
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
625
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
626
+ NOT_FOUND: {};
627
+ BAD_REQUEST: {};
628
+ }>, Record<never, never>>;
629
+ };
630
+ delete: {
631
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
632
+ projectId: z.ZodString;
633
+ }, z.core.$strip>, z.ZodObject<{
634
+ success: z.ZodLiteral<true>;
635
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
636
+ NOT_FOUND: {};
637
+ }>, Record<never, never>>;
638
+ };
639
+ };
640
+ tunnels: {
641
+ getTicket: {
642
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithOutput<_$_orpc_contract0.Schema<unknown, unknown>, z.ZodObject<{
643
+ subdomain: z.ZodString;
644
+ ticket: z.ZodString;
645
+ tunnelHost: z.ZodString;
646
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
647
+ };
648
+ };
649
+ distribution: {
650
+ publish: {
651
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
652
+ projectId: z.ZodString;
653
+ domain: z.ZodString;
654
+ title: z.ZodString;
655
+ description: z.ZodString;
656
+ websiteUrl: z.ZodOptional<z.ZodURL>;
657
+ iconSrc: z.ZodOptional<z.ZodURL>;
658
+ dryRun: z.ZodOptional<z.ZodBoolean>;
659
+ }, z.core.$strip>, z.ZodObject<{
660
+ serverFields: z.ZodObject<{
661
+ $schema: z.ZodString;
662
+ name: z.ZodString;
663
+ description: z.ZodString;
664
+ version: z.ZodOptional<z.ZodString>;
665
+ title: z.ZodOptional<z.ZodString>;
666
+ websiteUrl: z.ZodOptional<z.ZodURL>;
667
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
668
+ src: z.ZodURL;
669
+ mimeType: z.ZodOptional<z.ZodString>;
670
+ sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
671
+ }, z.core.$strip>>>;
672
+ remotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
673
+ type: z.ZodString;
674
+ url: z.ZodOptional<z.ZodURL>;
675
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
676
+ name: z.ZodString;
677
+ description: z.ZodString;
678
+ isRequired: z.ZodOptional<z.ZodBoolean>;
679
+ isSecret: z.ZodOptional<z.ZodBoolean>;
680
+ }, z.core.$strip>>>;
681
+ }, z.core.$strip>>>;
682
+ }, z.core.$strip>;
683
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
684
+ NOT_FOUND: {};
685
+ BAD_REQUEST: {};
686
+ }>, Record<never, never>>;
687
+ };
688
+ get: {
689
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
690
+ projectId: z.ZodString;
691
+ domain: z.ZodString;
692
+ }, z.core.$strip>, z.ZodObject<{
693
+ serverFields: z.ZodObject<{
694
+ $schema: z.ZodString;
695
+ name: z.ZodString;
696
+ description: z.ZodString;
697
+ version: z.ZodOptional<z.ZodString>;
698
+ title: z.ZodOptional<z.ZodString>;
699
+ websiteUrl: z.ZodOptional<z.ZodURL>;
700
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
701
+ src: z.ZodURL;
702
+ mimeType: z.ZodOptional<z.ZodString>;
703
+ sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
704
+ }, z.core.$strip>>>;
705
+ remotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
706
+ type: z.ZodString;
707
+ url: z.ZodOptional<z.ZodURL>;
708
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
709
+ name: z.ZodString;
710
+ description: z.ZodString;
711
+ isRequired: z.ZodOptional<z.ZodBoolean>;
712
+ isSecret: z.ZodOptional<z.ZodBoolean>;
713
+ }, z.core.$strip>>>;
714
+ }, z.core.$strip>>>;
715
+ }, z.core.$strip>;
716
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
405
717
  NOT_FOUND: {};
406
718
  BAD_REQUEST: {};
407
719
  }>, Record<never, never>>;
408
720
  };
409
721
  };
722
+ beacon: {
723
+ create: {
724
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
725
+ targetUrl: z.ZodString;
726
+ teamId: z.ZodOptional<z.ZodString>;
727
+ projectId: z.ZodOptional<z.ZodString>;
728
+ }, z.core.$strip>, z.ZodObject<{
729
+ id: z.ZodString;
730
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
731
+ NOT_FOUND: {};
732
+ BAD_REQUEST: {};
733
+ }>, Record<never, never>>;
734
+ };
735
+ get: {
736
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
737
+ analysisId: z.ZodString;
738
+ }, z.core.$strip>, z.ZodObject<{
739
+ id: z.ZodString;
740
+ targetUrl: z.ZodString;
741
+ status: z.ZodEnum<{
742
+ pending: "pending";
743
+ partial: "partial";
744
+ completed: "completed";
745
+ failed: "failed";
746
+ }>;
747
+ durationMs: z.ZodNullable<z.ZodNumber>;
748
+ createdAt: z.ZodCoercedDate<unknown>;
749
+ report: z.ZodNullable<z.ZodObject<{
750
+ schemaVersion: z.ZodString;
751
+ auditId: z.ZodString;
752
+ targetUrl: z.ZodString;
753
+ startedAt: z.ZodString;
754
+ completedAt: z.ZodString;
755
+ durationMs: z.ZodNumber;
756
+ results: z.ZodArray<z.ZodObject<{
757
+ checkId: z.ZodString;
758
+ status: z.ZodEnum<{
759
+ pending: "pending";
760
+ pass: "pass";
761
+ fail: "fail";
762
+ skip: "skip";
763
+ }>;
764
+ message: z.ZodString;
765
+ skipReason: z.ZodOptional<z.ZodString>;
766
+ severity: z.ZodEnum<{
767
+ error: "error";
768
+ warning: "warning";
769
+ info: "info";
770
+ }>;
771
+ category: z.ZodEnum<{
772
+ connectivity: "connectivity";
773
+ "tool-metadata": "tool-metadata";
774
+ "resource-metadata": "resource-metadata";
775
+ performance: "performance";
776
+ e2e: "e2e";
777
+ }>;
778
+ scope: z.ZodEnum<{
779
+ server: "server";
780
+ view: "view";
781
+ }>;
782
+ platforms: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
783
+ chatgpt: "chatgpt";
784
+ claudeai: "claudeai";
785
+ }>>>>;
786
+ durationMs: z.ZodNumber;
787
+ details: z.ZodOptional<z.ZodArray<z.ZodObject<{
788
+ label: z.ZodString;
789
+ value: z.ZodOptional<z.ZodString>;
790
+ }, z.core.$strip>>>;
791
+ hint: z.ZodOptional<z.ZodObject<{
792
+ text: z.ZodString;
793
+ }, z.core.$strip>>;
794
+ }, z.core.$strip>>;
795
+ requiresAuth: z.ZodBoolean;
796
+ hasViewSupport: z.ZodBoolean;
797
+ viewPlatforms: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
798
+ chatgpt: "chatgpt";
799
+ claudeai: "claudeai";
800
+ }>>>>;
801
+ isReadyForPlatform: z.ZodRecord<z.ZodEnum<{
802
+ chatgpt: "chatgpt";
803
+ claudeai: "claudeai";
804
+ }>, z.ZodBoolean>;
805
+ widgetScreenshotKeys: z.ZodOptional<z.ZodObject<{
806
+ chatgpt: z.ZodOptional<z.ZodString>;
807
+ claudeai: z.ZodOptional<z.ZodString>;
808
+ }, z.core.$strip>>;
809
+ widgetScreenshots: z.ZodOptional<z.ZodObject<{
810
+ chatgpt: z.ZodOptional<z.ZodObject<{
811
+ url: z.ZodString;
812
+ }, z.core.$strip>>;
813
+ claudeai: z.ZodOptional<z.ZodObject<{
814
+ url: z.ZodString;
815
+ }, z.core.$strip>>;
816
+ }, z.core.$strip>>;
817
+ }, z.core.$strip>>;
818
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
819
+ NOT_FOUND: {};
820
+ }>, Record<never, never>>;
821
+ };
822
+ };
410
823
  };
411
824
  type RouterInput = InferContractRouterInputs<typeof contract>;
412
825
  type RouterOutput = InferContractRouterOutputs<typeof contract>;
@@ -441,5 +854,173 @@ declare const transportSchema: z.ZodEnum<{
441
854
  streamablehttp: "streamablehttp";
442
855
  }>;
443
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>>;
930
+ }, z.core.$strip>;
931
+ type CheckResult = z.infer<typeof checkResultSchema>;
932
+ declare const auditReportSchema: z.ZodObject<{
933
+ schemaVersion: z.ZodString;
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>>;
1000
+ }, z.core.$strip>;
1001
+ type AuditReport = z.infer<typeof auditReportSchema>;
1002
+ declare const serverFieldsSchema: z.ZodObject<{
1003
+ $schema: z.ZodString;
1004
+ name: z.ZodString;
1005
+ description: z.ZodString;
1006
+ version: z.ZodOptional<z.ZodString>;
1007
+ title: z.ZodOptional<z.ZodString>;
1008
+ websiteUrl: z.ZodOptional<z.ZodURL>;
1009
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
1010
+ src: z.ZodURL;
1011
+ mimeType: z.ZodOptional<z.ZodString>;
1012
+ sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1013
+ }, z.core.$strip>>>;
1014
+ remotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1015
+ type: z.ZodString;
1016
+ url: z.ZodOptional<z.ZodURL>;
1017
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1018
+ name: z.ZodString;
1019
+ description: z.ZodString;
1020
+ isRequired: z.ZodOptional<z.ZodBoolean>;
1021
+ isSecret: z.ZodOptional<z.ZodBoolean>;
1022
+ }, z.core.$strip>>>;
1023
+ }, z.core.$strip>>>;
1024
+ }, z.core.$strip>;
444
1025
  //#endregion
445
- export { ApiContext, RouterInput, RouterOutput, Runtime, Transport, buildSettingsSchema, contract, createEnvironmentContractV1, environmentVariableSchema, environmentVariablesSchema, runtimeSchema, transportSchema };
1026
+ export { ApiContext, AuditReport, CheckCategory, CheckDetail, CheckResult, CheckScope, CheckSeverity, Platform, RouterInput, RouterOutput, Runtime, Transport, analysisStatusSchema, auditReportSchema, buildSettingsSchema, checkDetailSchema, checkResultSchema, contract, createEnvironmentContractV1, deploymentStatusSchema, environmentVariableSchema, environmentVariablesSchema, platformSchema, runtimeSchema, serverFieldsSchema, transportSchema };