@kya-os/contracts 1.7.31 → 1.7.32

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.
@@ -46,8 +46,8 @@ export declare const gitHubInstallationSchema: z.ZodObject<{
46
46
  createdAt: z.ZodString;
47
47
  updatedAt: z.ZodString;
48
48
  }, "strip", z.ZodTypeAny, {
49
- updatedAt: string;
50
49
  id: string;
50
+ createdAt: string;
51
51
  installationId: number;
52
52
  account: {
53
53
  type: "User" | "Organization";
@@ -56,11 +56,11 @@ export declare const gitHubInstallationSchema: z.ZodObject<{
56
56
  avatarUrl: string;
57
57
  };
58
58
  permissions: string[];
59
- createdAt: string;
59
+ updatedAt: string;
60
60
  suspendedAt?: string | null | undefined;
61
61
  }, {
62
- updatedAt: string;
63
62
  id: string;
63
+ createdAt: string;
64
64
  installationId: number;
65
65
  account: {
66
66
  type: "User" | "Organization";
@@ -69,7 +69,7 @@ export declare const gitHubInstallationSchema: z.ZodObject<{
69
69
  avatarUrl: string;
70
70
  };
71
71
  permissions: string[];
72
- createdAt: string;
72
+ updatedAt: string;
73
73
  suspendedAt?: string | null | undefined;
74
74
  }>;
75
75
  /**
@@ -83,15 +83,15 @@ export declare const gitHubRepositorySchema: z.ZodObject<{
83
83
  defaultBranch: z.ZodString;
84
84
  }, "strip", z.ZodTypeAny, {
85
85
  name: string;
86
+ url: string;
86
87
  fullName: string;
87
88
  private: boolean;
88
- url: string;
89
89
  defaultBranch: string;
90
90
  }, {
91
91
  name: string;
92
+ url: string;
92
93
  fullName: string;
93
94
  private: boolean;
94
- url: string;
95
95
  defaultBranch: string;
96
96
  }>;
97
97
  /**
@@ -152,8 +152,8 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
152
152
  createdAt: z.ZodString;
153
153
  updatedAt: z.ZodString;
154
154
  }, "strip", z.ZodTypeAny, {
155
- updatedAt: string;
156
155
  id: string;
156
+ createdAt: string;
157
157
  installationId: number;
158
158
  account: {
159
159
  type: "User" | "Organization";
@@ -162,11 +162,11 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
162
162
  avatarUrl: string;
163
163
  };
164
164
  permissions: string[];
165
- createdAt: string;
165
+ updatedAt: string;
166
166
  suspendedAt?: string | null | undefined;
167
167
  }, {
168
- updatedAt: string;
169
168
  id: string;
169
+ createdAt: string;
170
170
  installationId: number;
171
171
  account: {
172
172
  type: "User" | "Organization";
@@ -175,14 +175,14 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
175
175
  avatarUrl: string;
176
176
  };
177
177
  permissions: string[];
178
- createdAt: string;
178
+ updatedAt: string;
179
179
  suspendedAt?: string | null | undefined;
180
180
  }>;
181
181
  }, "strip", z.ZodTypeAny, {
182
182
  success: true;
183
183
  installation: {
184
- updatedAt: string;
185
184
  id: string;
185
+ createdAt: string;
186
186
  installationId: number;
187
187
  account: {
188
188
  type: "User" | "Organization";
@@ -191,14 +191,14 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
191
191
  avatarUrl: string;
192
192
  };
193
193
  permissions: string[];
194
- createdAt: string;
194
+ updatedAt: string;
195
195
  suspendedAt?: string | null | undefined;
196
196
  };
197
197
  }, {
198
198
  success: true;
199
199
  installation: {
200
- updatedAt: string;
201
200
  id: string;
201
+ createdAt: string;
202
202
  installationId: number;
203
203
  account: {
204
204
  type: "User" | "Organization";
@@ -207,7 +207,7 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
207
207
  avatarUrl: string;
208
208
  };
209
209
  permissions: string[];
210
- createdAt: string;
210
+ updatedAt: string;
211
211
  suspendedAt?: string | null | undefined;
212
212
  };
213
213
  }>;
@@ -242,8 +242,8 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
242
242
  createdAt: z.ZodString;
243
243
  updatedAt: z.ZodString;
244
244
  }, "strip", z.ZodTypeAny, {
245
- updatedAt: string;
246
245
  id: string;
246
+ createdAt: string;
247
247
  installationId: number;
248
248
  account: {
249
249
  type: "User" | "Organization";
@@ -252,11 +252,11 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
252
252
  avatarUrl: string;
253
253
  };
254
254
  permissions: string[];
255
- createdAt: string;
255
+ updatedAt: string;
256
256
  suspendedAt?: string | null | undefined;
257
257
  }, {
258
- updatedAt: string;
259
258
  id: string;
259
+ createdAt: string;
260
260
  installationId: number;
261
261
  account: {
262
262
  type: "User" | "Organization";
@@ -265,7 +265,7 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
265
265
  avatarUrl: string;
266
266
  };
267
267
  permissions: string[];
268
- createdAt: string;
268
+ updatedAt: string;
269
269
  suspendedAt?: string | null | undefined;
270
270
  }>>;
271
271
  repositories: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -276,22 +276,22 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
276
276
  defaultBranch: z.ZodString;
277
277
  }, "strip", z.ZodTypeAny, {
278
278
  name: string;
279
+ url: string;
279
280
  fullName: string;
280
281
  private: boolean;
281
- url: string;
282
282
  defaultBranch: string;
283
283
  }, {
284
284
  name: string;
285
+ url: string;
285
286
  fullName: string;
286
287
  private: boolean;
287
- url: string;
288
288
  defaultBranch: string;
289
289
  }>, "many">>;
290
290
  }, "strip", z.ZodTypeAny, {
291
291
  connected: boolean;
292
292
  installation?: {
293
- updatedAt: string;
294
293
  id: string;
294
+ createdAt: string;
295
295
  installationId: number;
296
296
  account: {
297
297
  type: "User" | "Organization";
@@ -300,21 +300,21 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
300
300
  avatarUrl: string;
301
301
  };
302
302
  permissions: string[];
303
- createdAt: string;
303
+ updatedAt: string;
304
304
  suspendedAt?: string | null | undefined;
305
305
  } | undefined;
306
306
  repositories?: {
307
307
  name: string;
308
+ url: string;
308
309
  fullName: string;
309
310
  private: boolean;
310
- url: string;
311
311
  defaultBranch: string;
312
312
  }[] | undefined;
313
313
  }, {
314
314
  connected: boolean;
315
315
  installation?: {
316
- updatedAt: string;
317
316
  id: string;
317
+ createdAt: string;
318
318
  installationId: number;
319
319
  account: {
320
320
  type: "User" | "Organization";
@@ -323,23 +323,24 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
323
323
  avatarUrl: string;
324
324
  };
325
325
  permissions: string[];
326
- createdAt: string;
326
+ updatedAt: string;
327
327
  suspendedAt?: string | null | undefined;
328
328
  } | undefined;
329
329
  repositories?: {
330
330
  name: string;
331
+ url: string;
331
332
  fullName: string;
332
333
  private: boolean;
333
- url: string;
334
334
  defaultBranch: string;
335
335
  }[] | undefined;
336
336
  }>;
337
337
  }, "strip", z.ZodTypeAny, {
338
+ success: true;
338
339
  data: {
339
340
  connected: boolean;
340
341
  installation?: {
341
- updatedAt: string;
342
342
  id: string;
343
+ createdAt: string;
343
344
  installationId: number;
344
345
  account: {
345
346
  type: "User" | "Organization";
@@ -348,24 +349,24 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
348
349
  avatarUrl: string;
349
350
  };
350
351
  permissions: string[];
351
- createdAt: string;
352
+ updatedAt: string;
352
353
  suspendedAt?: string | null | undefined;
353
354
  } | undefined;
354
355
  repositories?: {
355
356
  name: string;
357
+ url: string;
356
358
  fullName: string;
357
359
  private: boolean;
358
- url: string;
359
360
  defaultBranch: string;
360
361
  }[] | undefined;
361
362
  };
362
- success: true;
363
363
  }, {
364
+ success: true;
364
365
  data: {
365
366
  connected: boolean;
366
367
  installation?: {
367
- updatedAt: string;
368
368
  id: string;
369
+ createdAt: string;
369
370
  installationId: number;
370
371
  account: {
371
372
  type: "User" | "Organization";
@@ -374,18 +375,17 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
374
375
  avatarUrl: string;
375
376
  };
376
377
  permissions: string[];
377
- createdAt: string;
378
+ updatedAt: string;
378
379
  suspendedAt?: string | null | undefined;
379
380
  } | undefined;
380
381
  repositories?: {
381
382
  name: string;
383
+ url: string;
382
384
  fullName: string;
383
385
  private: boolean;
384
- url: string;
385
386
  defaultBranch: string;
386
387
  }[] | undefined;
387
388
  };
388
- success: true;
389
389
  }>;
390
390
  /**
391
391
  * GitHub disconnect response schema
@@ -421,17 +421,17 @@ export declare const deployToGitHubRequestSchema: z.ZodObject<{
421
421
  isPrivate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
422
422
  description: z.ZodOptional<z.ZodString>;
423
423
  }, "strip", z.ZodTypeAny, {
424
+ platform: "cloudflare" | "vercel";
424
425
  repoName: string;
425
426
  template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
426
- platform: "cloudflare" | "vercel";
427
427
  isPrivate: boolean;
428
428
  description?: string | undefined;
429
429
  }, {
430
+ platform: "cloudflare" | "vercel";
430
431
  repoName: string;
431
432
  template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
432
- platform: "cloudflare" | "vercel";
433
- isPrivate?: boolean | undefined;
434
433
  description?: string | undefined;
434
+ isPrivate?: boolean | undefined;
435
435
  }>;
436
436
  /**
437
437
  * Deployed project schema
@@ -441,13 +441,13 @@ export declare const deployedProjectSchema: z.ZodObject<{
441
441
  friendlyId: z.ZodString;
442
442
  apiKey: z.ZodString;
443
443
  }, "strip", z.ZodTypeAny, {
444
- apiKey: string;
445
444
  id: string;
446
445
  friendlyId: string;
447
- }, {
448
446
  apiKey: string;
447
+ }, {
449
448
  id: string;
450
449
  friendlyId: string;
450
+ apiKey: string;
451
451
  }>;
452
452
  /**
453
453
  * Deploy to GitHub data schema
@@ -460,13 +460,13 @@ export declare const deployToGitHubDataSchema: z.ZodObject<{
460
460
  friendlyId: z.ZodString;
461
461
  apiKey: z.ZodString;
462
462
  }, "strip", z.ZodTypeAny, {
463
- apiKey: string;
464
463
  id: string;
465
464
  friendlyId: string;
466
- }, {
467
465
  apiKey: string;
466
+ }, {
468
467
  id: string;
469
468
  friendlyId: string;
469
+ apiKey: string;
470
470
  }>;
471
471
  deployUrl: z.ZodString;
472
472
  nextSteps: z.ZodArray<z.ZodString, "many">;
@@ -474,9 +474,9 @@ export declare const deployToGitHubDataSchema: z.ZodObject<{
474
474
  repoUrl: string;
475
475
  repoFullName: string;
476
476
  project: {
477
- apiKey: string;
478
477
  id: string;
479
478
  friendlyId: string;
479
+ apiKey: string;
480
480
  };
481
481
  deployUrl: string;
482
482
  nextSteps: string[];
@@ -484,9 +484,9 @@ export declare const deployToGitHubDataSchema: z.ZodObject<{
484
484
  repoUrl: string;
485
485
  repoFullName: string;
486
486
  project: {
487
- apiKey: string;
488
487
  id: string;
489
488
  friendlyId: string;
489
+ apiKey: string;
490
490
  };
491
491
  deployUrl: string;
492
492
  nextSteps: string[];
@@ -504,13 +504,13 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
504
504
  friendlyId: z.ZodString;
505
505
  apiKey: z.ZodString;
506
506
  }, "strip", z.ZodTypeAny, {
507
- apiKey: string;
508
507
  id: string;
509
508
  friendlyId: string;
510
- }, {
511
509
  apiKey: string;
510
+ }, {
512
511
  id: string;
513
512
  friendlyId: string;
513
+ apiKey: string;
514
514
  }>;
515
515
  deployUrl: z.ZodString;
516
516
  nextSteps: z.ZodArray<z.ZodString, "many">;
@@ -518,9 +518,9 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
518
518
  repoUrl: string;
519
519
  repoFullName: string;
520
520
  project: {
521
- apiKey: string;
522
521
  id: string;
523
522
  friendlyId: string;
523
+ apiKey: string;
524
524
  };
525
525
  deployUrl: string;
526
526
  nextSteps: string[];
@@ -528,39 +528,39 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
528
528
  repoUrl: string;
529
529
  repoFullName: string;
530
530
  project: {
531
- apiKey: string;
532
531
  id: string;
533
532
  friendlyId: string;
533
+ apiKey: string;
534
534
  };
535
535
  deployUrl: string;
536
536
  nextSteps: string[];
537
537
  }>;
538
538
  }, "strip", z.ZodTypeAny, {
539
+ success: true;
539
540
  data: {
540
541
  repoUrl: string;
541
542
  repoFullName: string;
542
543
  project: {
543
- apiKey: string;
544
544
  id: string;
545
545
  friendlyId: string;
546
+ apiKey: string;
546
547
  };
547
548
  deployUrl: string;
548
549
  nextSteps: string[];
549
550
  };
550
- success: true;
551
551
  }, {
552
+ success: true;
552
553
  data: {
553
554
  repoUrl: string;
554
555
  repoFullName: string;
555
556
  project: {
556
- apiKey: string;
557
557
  id: string;
558
558
  friendlyId: string;
559
+ apiKey: string;
559
560
  };
560
561
  deployUrl: string;
561
562
  nextSteps: string[];
562
563
  };
563
- success: true;
564
564
  }>;
565
565
  /**
566
566
  * Deploy error response schema
@@ -572,24 +572,24 @@ export declare const deployErrorResponseSchema: z.ZodObject<{
572
572
  message: z.ZodString;
573
573
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
574
574
  }, "strip", z.ZodTypeAny, {
575
- code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "TEMPLATE_NOT_FOUND" | "GITHUB_API_ERROR" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "INTERNAL_ERROR";
575
+ code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
576
576
  message: string;
577
577
  details?: Record<string, unknown> | undefined;
578
578
  }, {
579
- code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "TEMPLATE_NOT_FOUND" | "GITHUB_API_ERROR" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "INTERNAL_ERROR";
579
+ code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
580
580
  message: string;
581
581
  details?: Record<string, unknown> | undefined;
582
582
  }>;
583
583
  }, "strip", z.ZodTypeAny, {
584
584
  error: {
585
- code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "TEMPLATE_NOT_FOUND" | "GITHUB_API_ERROR" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "INTERNAL_ERROR";
585
+ code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
586
586
  message: string;
587
587
  details?: Record<string, unknown> | undefined;
588
588
  };
589
589
  success: false;
590
590
  }, {
591
591
  error: {
592
- code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "TEMPLATE_NOT_FOUND" | "GITHUB_API_ERROR" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "INTERNAL_ERROR";
592
+ code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
593
593
  message: string;
594
594
  details?: Record<string, unknown> | undefined;
595
595
  };
@@ -608,13 +608,13 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
608
608
  friendlyId: z.ZodString;
609
609
  apiKey: z.ZodString;
610
610
  }, "strip", z.ZodTypeAny, {
611
- apiKey: string;
612
611
  id: string;
613
612
  friendlyId: string;
614
- }, {
615
613
  apiKey: string;
614
+ }, {
616
615
  id: string;
617
616
  friendlyId: string;
617
+ apiKey: string;
618
618
  }>;
619
619
  deployUrl: z.ZodString;
620
620
  nextSteps: z.ZodArray<z.ZodString, "many">;
@@ -622,9 +622,9 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
622
622
  repoUrl: string;
623
623
  repoFullName: string;
624
624
  project: {
625
- apiKey: string;
626
625
  id: string;
627
626
  friendlyId: string;
627
+ apiKey: string;
628
628
  };
629
629
  deployUrl: string;
630
630
  nextSteps: string[];
@@ -632,39 +632,39 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
632
632
  repoUrl: string;
633
633
  repoFullName: string;
634
634
  project: {
635
- apiKey: string;
636
635
  id: string;
637
636
  friendlyId: string;
637
+ apiKey: string;
638
638
  };
639
639
  deployUrl: string;
640
640
  nextSteps: string[];
641
641
  }>;
642
642
  }, "strip", z.ZodTypeAny, {
643
+ success: true;
643
644
  data: {
644
645
  repoUrl: string;
645
646
  repoFullName: string;
646
647
  project: {
647
- apiKey: string;
648
648
  id: string;
649
649
  friendlyId: string;
650
+ apiKey: string;
650
651
  };
651
652
  deployUrl: string;
652
653
  nextSteps: string[];
653
654
  };
654
- success: true;
655
655
  }, {
656
+ success: true;
656
657
  data: {
657
658
  repoUrl: string;
658
659
  repoFullName: string;
659
660
  project: {
660
- apiKey: string;
661
661
  id: string;
662
662
  friendlyId: string;
663
+ apiKey: string;
663
664
  };
664
665
  deployUrl: string;
665
666
  nextSteps: string[];
666
667
  };
667
- success: true;
668
668
  }>, z.ZodObject<{
669
669
  success: z.ZodLiteral<false>;
670
670
  error: z.ZodObject<{
@@ -672,24 +672,24 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
672
672
  message: z.ZodString;
673
673
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
674
674
  }, "strip", z.ZodTypeAny, {
675
- code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "TEMPLATE_NOT_FOUND" | "GITHUB_API_ERROR" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "INTERNAL_ERROR";
675
+ code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
676
676
  message: string;
677
677
  details?: Record<string, unknown> | undefined;
678
678
  }, {
679
- code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "TEMPLATE_NOT_FOUND" | "GITHUB_API_ERROR" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "INTERNAL_ERROR";
679
+ code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
680
680
  message: string;
681
681
  details?: Record<string, unknown> | undefined;
682
682
  }>;
683
683
  }, "strip", z.ZodTypeAny, {
684
684
  error: {
685
- code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "TEMPLATE_NOT_FOUND" | "GITHUB_API_ERROR" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "INTERNAL_ERROR";
685
+ code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
686
686
  message: string;
687
687
  details?: Record<string, unknown> | undefined;
688
688
  };
689
689
  success: false;
690
690
  }, {
691
691
  error: {
692
- code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "TEMPLATE_NOT_FOUND" | "GITHUB_API_ERROR" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "INTERNAL_ERROR";
692
+ code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
693
693
  message: string;
694
694
  details?: Record<string, unknown> | undefined;
695
695
  };
@@ -712,29 +712,29 @@ export declare const deployedRepositorySchema: z.ZodObject<{
712
712
  createdAt: z.ZodString;
713
713
  updatedAt: z.ZodString;
714
714
  }, "strip", z.ZodTypeAny, {
715
- updatedAt: string;
716
715
  id: string;
717
- installationId: string;
718
716
  createdAt: string;
719
- template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
720
- platform: "cloudflare" | "vercel";
721
717
  repoUrl: string;
722
718
  repoFullName: string;
723
- userId: string;
724
719
  projectId: string;
720
+ platform: "cloudflare" | "vercel";
721
+ userId: string;
722
+ installationId: string;
723
+ updatedAt: string;
724
+ template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
725
725
  cloudflareDeployed: boolean;
726
726
  cloudflareUrl?: string | null | undefined;
727
727
  }, {
728
- updatedAt: string;
729
728
  id: string;
730
- installationId: string;
731
729
  createdAt: string;
732
- template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
733
- platform: "cloudflare" | "vercel";
734
730
  repoUrl: string;
735
731
  repoFullName: string;
736
- userId: string;
737
732
  projectId: string;
733
+ platform: "cloudflare" | "vercel";
734
+ userId: string;
735
+ installationId: string;
736
+ updatedAt: string;
737
+ template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
738
738
  cloudflareDeployed: boolean;
739
739
  cloudflareUrl?: string | null | undefined;
740
740
  }>;
@@ -757,64 +757,64 @@ export declare const listDeployedRepositoriesResponseSchema: z.ZodObject<{
757
757
  createdAt: z.ZodString;
758
758
  updatedAt: z.ZodString;
759
759
  }, "strip", z.ZodTypeAny, {
760
- updatedAt: string;
761
760
  id: string;
762
- installationId: string;
763
761
  createdAt: string;
764
- template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
765
- platform: "cloudflare" | "vercel";
766
762
  repoUrl: string;
767
763
  repoFullName: string;
768
- userId: string;
769
764
  projectId: string;
765
+ platform: "cloudflare" | "vercel";
766
+ userId: string;
767
+ installationId: string;
768
+ updatedAt: string;
769
+ template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
770
770
  cloudflareDeployed: boolean;
771
771
  cloudflareUrl?: string | null | undefined;
772
772
  }, {
773
- updatedAt: string;
774
773
  id: string;
775
- installationId: string;
776
774
  createdAt: string;
777
- template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
778
- platform: "cloudflare" | "vercel";
779
775
  repoUrl: string;
780
776
  repoFullName: string;
781
- userId: string;
782
777
  projectId: string;
778
+ platform: "cloudflare" | "vercel";
779
+ userId: string;
780
+ installationId: string;
781
+ updatedAt: string;
782
+ template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
783
783
  cloudflareDeployed: boolean;
784
784
  cloudflareUrl?: string | null | undefined;
785
785
  }>, "many">;
786
786
  }, "strip", z.ZodTypeAny, {
787
+ success: true;
787
788
  data: {
788
- updatedAt: string;
789
789
  id: string;
790
- installationId: string;
791
790
  createdAt: string;
792
- template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
793
- platform: "cloudflare" | "vercel";
794
791
  repoUrl: string;
795
792
  repoFullName: string;
796
- userId: string;
797
793
  projectId: string;
794
+ platform: "cloudflare" | "vercel";
795
+ userId: string;
796
+ installationId: string;
797
+ updatedAt: string;
798
+ template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
798
799
  cloudflareDeployed: boolean;
799
800
  cloudflareUrl?: string | null | undefined;
800
801
  }[];
801
- success: true;
802
802
  }, {
803
+ success: true;
803
804
  data: {
804
- updatedAt: string;
805
805
  id: string;
806
- installationId: string;
807
806
  createdAt: string;
808
- template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
809
- platform: "cloudflare" | "vercel";
810
807
  repoUrl: string;
811
808
  repoFullName: string;
812
- userId: string;
813
809
  projectId: string;
810
+ platform: "cloudflare" | "vercel";
811
+ userId: string;
812
+ installationId: string;
813
+ updatedAt: string;
814
+ template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
814
815
  cloudflareDeployed: boolean;
815
816
  cloudflareUrl?: string | null | undefined;
816
817
  }[];
817
- success: true;
818
818
  }>;
819
819
  /**
820
820
  * Generated file schema
@@ -843,16 +843,16 @@ export declare const scaffolderOptionsSchema: z.ZodObject<{
843
843
  agentShieldApiKey: z.ZodOptional<z.ZodString>;
844
844
  skipIdentity: z.ZodOptional<z.ZodBoolean>;
845
845
  }, "strip", z.ZodTypeAny, {
846
- template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
847
- platform: "cloudflare" | "vercel";
848
846
  projectName: string;
847
+ platform: "cloudflare" | "vercel";
848
+ template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
849
849
  agentShieldProjectId?: string | undefined;
850
850
  agentShieldApiKey?: string | undefined;
851
851
  skipIdentity?: boolean | undefined;
852
852
  }, {
853
- template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
854
- platform: "cloudflare" | "vercel";
855
853
  projectName: string;
854
+ platform: "cloudflare" | "vercel";
855
+ template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
856
856
  agentShieldProjectId?: string | undefined;
857
857
  agentShieldApiKey?: string | undefined;
858
858
  skipIdentity?: boolean | undefined;
@@ -931,14 +931,14 @@ export declare const deployStepSchema: z.ZodObject<{
931
931
  startedAt: z.ZodOptional<z.ZodString>;
932
932
  completedAt: z.ZodOptional<z.ZodString>;
933
933
  }, "strip", z.ZodTypeAny, {
934
- status: "pending" | "in_progress" | "completed" | "failed";
934
+ status: "failed" | "pending" | "in_progress" | "completed";
935
935
  id: string;
936
936
  name: string;
937
937
  message?: string | undefined;
938
938
  startedAt?: string | undefined;
939
939
  completedAt?: string | undefined;
940
940
  }, {
941
- status: "pending" | "in_progress" | "completed" | "failed";
941
+ status: "failed" | "pending" | "in_progress" | "completed";
942
942
  id: string;
943
943
  name: string;
944
944
  message?: string | undefined;
@@ -957,14 +957,14 @@ export declare const deploymentProgressSchema: z.ZodObject<{
957
957
  startedAt: z.ZodOptional<z.ZodString>;
958
958
  completedAt: z.ZodOptional<z.ZodString>;
959
959
  }, "strip", z.ZodTypeAny, {
960
- status: "pending" | "in_progress" | "completed" | "failed";
960
+ status: "failed" | "pending" | "in_progress" | "completed";
961
961
  id: string;
962
962
  name: string;
963
963
  message?: string | undefined;
964
964
  startedAt?: string | undefined;
965
965
  completedAt?: string | undefined;
966
966
  }, {
967
- status: "pending" | "in_progress" | "completed" | "failed";
967
+ status: "failed" | "pending" | "in_progress" | "completed";
968
968
  id: string;
969
969
  name: string;
970
970
  message?: string | undefined;
@@ -976,7 +976,7 @@ export declare const deploymentProgressSchema: z.ZodObject<{
976
976
  overallStatus: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
977
977
  }, "strip", z.ZodTypeAny, {
978
978
  steps: {
979
- status: "pending" | "in_progress" | "completed" | "failed";
979
+ status: "failed" | "pending" | "in_progress" | "completed";
980
980
  id: string;
981
981
  name: string;
982
982
  message?: string | undefined;
@@ -985,10 +985,10 @@ export declare const deploymentProgressSchema: z.ZodObject<{
985
985
  }[];
986
986
  currentStep: number;
987
987
  totalSteps: number;
988
- overallStatus: "pending" | "in_progress" | "completed" | "failed";
988
+ overallStatus: "failed" | "pending" | "in_progress" | "completed";
989
989
  }, {
990
990
  steps: {
991
- status: "pending" | "in_progress" | "completed" | "failed";
991
+ status: "failed" | "pending" | "in_progress" | "completed";
992
992
  id: string;
993
993
  name: string;
994
994
  message?: string | undefined;
@@ -997,5 +997,5 @@ export declare const deploymentProgressSchema: z.ZodObject<{
997
997
  }[];
998
998
  currentStep: number;
999
999
  totalSteps: number;
1000
- overallStatus: "pending" | "in_progress" | "completed" | "failed";
1000
+ overallStatus: "failed" | "pending" | "in_progress" | "completed";
1001
1001
  }>;