@alpic-ai/api 0.0.0-staging.255c28c → 0.0.0-staging.27f4b33

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,25 +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: {
32
40
  teams: {
33
41
  list: {
34
- 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<{
35
43
  id: z.ZodString;
36
44
  name: z.ZodString;
37
45
  createdAt: z.ZodCoercedDate<unknown>;
38
46
  hasStripeAccount: z.ZodBoolean;
39
- hasActiveSubscription: z.ZodBoolean;
40
47
  }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
41
48
  };
42
49
  };
43
50
  analytics: {
44
51
  get: {
45
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
52
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
46
53
  projectId: z.ZodString;
47
54
  startTimestamp: z.ZodCoercedNumber<unknown>;
48
55
  endTimestamp: z.ZodCoercedNumber<unknown>;
@@ -85,7 +92,7 @@ declare const contract: {
85
92
  categories: z.ZodRecord<z.ZodString, z.ZodUnknown>;
86
93
  }, z.core.$strip>>;
87
94
  }, z.core.$strip>;
88
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
95
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
89
96
  NOT_FOUND: {};
90
97
  BAD_REQUEST: {};
91
98
  }>, Record<never, never>>;
@@ -93,14 +100,21 @@ declare const contract: {
93
100
  };
94
101
  deployments: {
95
102
  list: {
96
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
103
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
97
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>;
98
112
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
99
113
  id: z.ZodString;
100
114
  status: z.ZodEnum<{
115
+ failed: "failed";
101
116
  ongoing: "ongoing";
102
117
  deployed: "deployed";
103
- failed: "failed";
104
118
  canceled: "canceled";
105
119
  }>;
106
120
  sourceRef: z.ZodNullable<z.ZodString>;
@@ -110,21 +124,23 @@ declare const contract: {
110
124
  authorAvatarUrl: z.ZodNullable<z.ZodString>;
111
125
  startedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
112
126
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
113
- isCurrent: z.ZodBoolean;
114
127
  environmentId: z.ZodString;
115
- }, 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>, {
116
132
  NOT_FOUND: {};
117
133
  }>, Record<never, never>>;
118
134
  };
119
135
  get: {
120
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
136
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
121
137
  deploymentId: z.ZodString;
122
138
  }, z.core.$strip>, z.ZodObject<{
123
139
  id: z.ZodString;
124
140
  status: z.ZodEnum<{
141
+ failed: "failed";
125
142
  ongoing: "ongoing";
126
143
  deployed: "deployed";
127
- failed: "failed";
128
144
  canceled: "canceled";
129
145
  }>;
130
146
  sourceRef: z.ZodNullable<z.ZodString>;
@@ -134,21 +150,25 @@ declare const contract: {
134
150
  authorAvatarUrl: z.ZodNullable<z.ZodString>;
135
151
  startedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
136
152
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
137
- }, 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>, {
138
158
  NOT_FOUND: {};
139
159
  }>, Record<never, never>>;
140
160
  };
141
161
  uploadArtifact: {
142
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
162
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
143
163
  teamId: z.ZodOptional<z.ZodString>;
144
164
  }, z.core.$strip>>, z.ZodObject<{
145
- uploadUrl: z.ZodString;
165
+ uploadUrl: z.ZodURL;
146
166
  token: z.ZodString;
147
167
  expiresAt: z.ZodCoercedDate<unknown>;
148
168
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
149
169
  };
150
170
  getLogs: {
151
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
171
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
152
172
  deploymentId: z.ZodString;
153
173
  }, z.core.$strip>, z.ZodObject<{
154
174
  logs: z.ZodArray<z.ZodObject<{
@@ -156,14 +176,14 @@ declare const contract: {
156
176
  content: z.ZodOptional<z.ZodString>;
157
177
  }, z.core.$strip>>;
158
178
  hasMoreLogs: z.ZodBoolean;
159
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
179
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
160
180
  NOT_FOUND: {};
161
181
  }>, Record<never, never>>;
162
182
  };
163
183
  };
164
184
  environments: {
165
185
  create: {
166
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
186
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
167
187
  projectId: z.ZodString;
168
188
  name: z.ZodString;
169
189
  sourceBranch: z.ZodString;
@@ -179,13 +199,13 @@ declare const contract: {
179
199
  urls: z.ZodArray<z.ZodString>;
180
200
  createdAt: z.ZodCoercedDate<unknown>;
181
201
  projectId: z.ZodString;
182
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
202
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
183
203
  NOT_FOUND: {};
184
204
  BAD_REQUEST: {};
185
205
  }>, Record<never, never>>;
186
206
  };
187
207
  get: {
188
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
208
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
189
209
  environmentId: z.ZodString;
190
210
  }, z.core.$strip>, z.ZodObject<{
191
211
  id: z.ZodString;
@@ -195,20 +215,20 @@ declare const contract: {
195
215
  domains: z.ZodArray<z.ZodURL>;
196
216
  createdAt: z.ZodCoercedDate<unknown>;
197
217
  projectId: z.ZodString;
198
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
218
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
199
219
  NOT_FOUND: {};
200
220
  }>, Record<never, never>>;
201
221
  };
202
222
  deploy: {
203
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
223
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
204
224
  environmentId: z.ZodString;
205
225
  token: z.ZodOptional<z.ZodString>;
206
226
  }, z.core.$strip>, z.ZodObject<{
207
227
  id: z.ZodString;
208
228
  status: z.ZodEnum<{
229
+ failed: "failed";
209
230
  ongoing: "ongoing";
210
231
  deployed: "deployed";
211
- failed: "failed";
212
232
  canceled: "canceled";
213
233
  }>;
214
234
  sourceRef: z.ZodNullable<z.ZodString>;
@@ -218,16 +238,110 @@ declare const contract: {
218
238
  authorAvatarUrl: z.ZodNullable<z.ZodString>;
219
239
  startedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
220
240
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
221
- }, 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>, {
222
282
  NOT_FOUND: {};
223
283
  BAD_REQUEST: {};
224
284
  }>, Record<never, never>>;
225
285
  };
226
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
+ };
227
339
  projects: {
228
- get: {
229
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
340
+ update: {
341
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
230
342
  projectId: z.ZodString;
343
+ name: z.ZodOptional<z.ZodString>;
344
+ sourceRepository: z.ZodOptional<z.ZodNullable<z.ZodString>>;
231
345
  }, z.core.$strip>, z.ZodObject<{
232
346
  id: z.ZodString;
233
347
  name: z.ZodString;
@@ -254,12 +368,21 @@ declare const contract: {
254
368
  id: z.ZodString;
255
369
  name: z.ZodString;
256
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>>;
257
380
  latestDeployment: z.ZodNullable<z.ZodObject<{
258
381
  id: z.ZodString;
259
382
  status: z.ZodEnum<{
383
+ failed: "failed";
260
384
  ongoing: "ongoing";
261
385
  deployed: "deployed";
262
- failed: "failed";
263
386
  canceled: "canceled";
264
387
  }>;
265
388
  sourceCommitId: z.ZodNullable<z.ZodString>;
@@ -277,9 +400,85 @@ declare const contract: {
277
400
  latestDeployment: z.ZodNullable<z.ZodObject<{
278
401
  id: z.ZodString;
279
402
  status: z.ZodEnum<{
403
+ failed: "failed";
404
+ ongoing: "ongoing";
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<{
459
+ failed: "failed";
280
460
  ongoing: "ongoing";
281
461
  deployed: "deployed";
462
+ canceled: "canceled";
463
+ }>;
464
+ sourceCommitId: z.ZodNullable<z.ZodString>;
465
+ sourceCommitMessage: z.ZodNullable<z.ZodString>;
466
+ completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
467
+ }, z.core.$strip>>;
468
+ }, z.core.$strip>>;
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<{
282
479
  failed: "failed";
480
+ ongoing: "ongoing";
481
+ deployed: "deployed";
283
482
  canceled: "canceled";
284
483
  }>;
285
484
  sourceCommitId: z.ZodNullable<z.ZodString>;
@@ -287,12 +486,14 @@ declare const contract: {
287
486
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
288
487
  }, z.core.$strip>>;
289
488
  }, z.core.$strip>>;
290
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
489
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
291
490
  NOT_FOUND: {};
292
491
  }>, Record<never, never>>;
293
492
  };
294
493
  list: {
295
- 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<{
296
497
  id: z.ZodString;
297
498
  name: z.ZodString;
298
499
  teamId: z.ZodString;
@@ -318,12 +519,21 @@ declare const contract: {
318
519
  id: z.ZodString;
319
520
  name: z.ZodString;
320
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>>;
321
531
  latestDeployment: z.ZodNullable<z.ZodObject<{
322
532
  id: z.ZodString;
323
533
  status: z.ZodEnum<{
534
+ failed: "failed";
324
535
  ongoing: "ongoing";
325
536
  deployed: "deployed";
326
- failed: "failed";
327
537
  canceled: "canceled";
328
538
  }>;
329
539
  sourceCommitId: z.ZodNullable<z.ZodString>;
@@ -341,9 +551,9 @@ declare const contract: {
341
551
  latestDeployment: z.ZodNullable<z.ZodObject<{
342
552
  id: z.ZodString;
343
553
  status: z.ZodEnum<{
554
+ failed: "failed";
344
555
  ongoing: "ongoing";
345
556
  deployed: "deployed";
346
- failed: "failed";
347
557
  canceled: "canceled";
348
558
  }>;
349
559
  sourceCommitId: z.ZodNullable<z.ZodString>;
@@ -354,7 +564,7 @@ declare const contract: {
354
564
  }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
355
565
  };
356
566
  create: {
357
- v1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
567
+ v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
358
568
  teamId: z.ZodOptional<z.ZodString>;
359
569
  name: z.ZodString;
360
570
  sourceRepository: z.ZodOptional<z.ZodString>;
@@ -412,11 +622,203 @@ declare const contract: {
412
622
  installCommand: z.ZodNullable<z.ZodString>;
413
623
  startCommand: z.ZodNullable<z.ZodString>;
414
624
  createdAt: z.ZodCoercedDate<unknown>;
415
- }, z.core.$strip>, _orpc_contract0.MergedErrorMap<Record<never, never>, {
625
+ }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
416
626
  NOT_FOUND: {};
417
627
  BAD_REQUEST: {};
418
628
  }>, Record<never, never>>;
419
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>, {
717
+ NOT_FOUND: {};
718
+ BAD_REQUEST: {};
719
+ }>, Record<never, never>>;
720
+ };
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
+ };
420
822
  };
421
823
  };
422
824
  type RouterInput = InferContractRouterInputs<typeof contract>;
@@ -452,5 +854,173 @@ declare const transportSchema: z.ZodEnum<{
452
854
  streamablehttp: "streamablehttp";
453
855
  }>;
454
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>;
455
1025
  //#endregion
456
- 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 };