@repome/api 0.1.7 → 0.1.9

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
@@ -23,6 +23,13 @@ declare const commonErrors: {
23
23
  readonly message: "Sign in required";
24
24
  readonly data: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
25
25
  };
26
+ readonly TOO_MANY_REQUESTS: {
27
+ readonly status: 429;
28
+ readonly message: "Too many requests";
29
+ readonly data: z.ZodOptional<z.ZodObject<{
30
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
31
+ }, z.core.$strip>>;
32
+ };
26
33
  readonly FORBIDDEN: {
27
34
  readonly status: 403;
28
35
  readonly message: "You do not have access to this resource";
@@ -41,6 +48,13 @@ declare const commonErrors: {
41
48
  invitationId: z.ZodString;
42
49
  }, z.core.$strip>;
43
50
  };
51
+ readonly KEY_NOT_FOUND: {
52
+ readonly status: 404;
53
+ readonly message: "API key not found";
54
+ readonly data: z.ZodObject<{
55
+ id: z.ZodString;
56
+ }, z.core.$strip>;
57
+ };
44
58
  readonly REPO_NOT_FOUND: {
45
59
  readonly status: 404;
46
60
  readonly message: "Repo not found";
@@ -378,6 +392,9 @@ declare const meViewSchema: z.ZodObject<{
378
392
  }, z.core.$strip>;
379
393
  type MeView = z.infer<typeof meViewSchema>;
380
394
  //#endregion
395
+ //#region src/pagination.d.ts
396
+ declare const cursorSchema: z.ZodOptional<z.ZodString>;
397
+ //#endregion
381
398
  //#region src/scopes.d.ts
382
399
  declare const scopeSchema: z.ZodEnum<{
383
400
  "repos:read": "repos:read";
@@ -549,13 +566,28 @@ declare const invitationViewSchema: z.ZodObject<{
549
566
  inviterId: z.ZodString;
550
567
  expiresAt: z.ZodNumber;
551
568
  }, z.core.$strip>;
569
+ declare const invitationListItemSchema: z.ZodObject<{
570
+ id: z.ZodString;
571
+ organizationId: z.ZodString;
572
+ email: z.ZodString;
573
+ role: z.ZodUnion<[z.ZodEnum<{
574
+ admin: "admin";
575
+ member: "member";
576
+ }>, z.ZodLiteral<"owner">]>;
577
+ status: z.ZodString;
578
+ inviterId: z.ZodString;
579
+ expiresAt: z.ZodNumber;
580
+ createdAt: z.ZodNumber;
581
+ }, z.core.$strip>;
552
582
  type MemberRole = z.output<typeof memberRoleSchema>;
553
583
  type MemberView = z.output<typeof memberViewSchema>;
554
584
  type InvitationView = z.output<typeof invitationViewSchema>;
585
+ type InvitationListItem = z.output<typeof invitationListItemSchema>;
555
586
  //#endregion
556
587
  //#region src/orgs.d.ts
557
588
  declare const orgSlugHint = "Lowercase, alphanumeric, - only.";
558
589
  declare const orgSlugSchema: z.ZodString;
590
+ declare const PERSONAL_ORG_SLUG = "~";
559
591
  declare const orgCreateInputSchema: z.ZodObject<{
560
592
  slug: z.ZodString;
561
593
  name: z.ZodString;
@@ -584,35 +616,36 @@ type OrgListOutput = z.output<typeof orgListOutputSchema>;
584
616
  //#endregion
585
617
  //#region src/repos.d.ts
586
618
  declare const repoNameHint = "Lowercase, alphanumeric, ._- only.";
619
+ declare const CLONE_TOKEN_SCOPE: "read";
587
620
  declare const repoNameSchema: z.ZodString;
588
621
  declare function parseRepoName(value: unknown): string;
589
622
  declare const repoCreateInputSchema: z.ZodObject<{
590
- orgSlug: z.ZodOptional<z.ZodString>;
623
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
591
624
  name: z.ZodString;
592
625
  description: z.ZodOptional<z.ZodString>;
593
626
  defaultBranch: z.ZodDefault<z.ZodString>;
594
627
  }, z.core.$strip>;
595
628
  declare const repoEnsureInputSchema: z.ZodObject<{
596
- orgSlug: z.ZodOptional<z.ZodString>;
629
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
597
630
  name: z.ZodString;
598
631
  description: z.ZodOptional<z.ZodString>;
599
632
  defaultBranch: z.ZodDefault<z.ZodString>;
600
633
  }, z.core.$strip>;
601
634
  declare const repoImportInputSchema: z.ZodObject<{
602
- orgSlug: z.ZodOptional<z.ZodString>;
635
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
603
636
  name: z.ZodString;
604
637
  description: z.ZodOptional<z.ZodString>;
605
638
  defaultBranch: z.ZodDefault<z.ZodString>;
606
639
  remote: z.ZodURL;
607
640
  }, z.core.$strip>;
608
641
  declare const repoUpdateInputSchema: z.ZodObject<{
609
- orgSlug: z.ZodOptional<z.ZodString>;
642
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
610
643
  name: z.ZodString;
611
644
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
612
645
  defaultBranch: z.ZodOptional<z.ZodString>;
613
646
  }, z.core.$strip>;
614
647
  declare const repoListInputSchema: z.ZodObject<{
615
- orgSlug: z.ZodOptional<z.ZodString>;
648
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
616
649
  cursor: z.ZodOptional<z.ZodString>;
617
650
  limit: z.ZodDefault<z.ZodNumber>;
618
651
  }, z.core.$strip>;
@@ -646,6 +679,7 @@ declare const repoCreateOutputSchema: z.ZodObject<{
646
679
  createdAt: z.ZodNumber;
647
680
  updatedAt: z.ZodNumber;
648
681
  token: z.ZodString;
682
+ tokenScope: z.ZodLiteral<"read">;
649
683
  tokenExpiresAt: z.ZodString;
650
684
  }, z.core.$strip>;
651
685
  declare const repoListOutputSchema: z.ZodObject<{
@@ -704,7 +738,7 @@ declare const tokenScopeSchema: z.ZodEnum<{
704
738
  write: "write";
705
739
  }>;
706
740
  declare const tokenMintInputSchema: z.ZodObject<{
707
- orgSlug: z.ZodOptional<z.ZodString>;
741
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
708
742
  name: z.ZodString;
709
743
  scope: z.ZodEnum<{
710
744
  read: "read";
@@ -714,7 +748,7 @@ declare const tokenMintInputSchema: z.ZodObject<{
714
748
  op: z.ZodOptional<z.ZodString>;
715
749
  }, z.core.$strip>;
716
750
  declare const tokenIdentInputSchema: z.ZodObject<{
717
- orgSlug: z.ZodOptional<z.ZodString>;
751
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
718
752
  name: z.ZodString;
719
753
  id: z.ZodString;
720
754
  }, z.core.$strip>;
@@ -760,7 +794,7 @@ declare const tokenMintOutputSchema: z.ZodObject<{
760
794
  token: z.ZodString;
761
795
  }, z.core.$strip>;
762
796
  declare const tokenListInputSchema: z.ZodObject<{
763
- orgSlug: z.ZodOptional<z.ZodString>;
797
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
764
798
  name: z.ZodString;
765
799
  }, z.core.$strip>;
766
800
  declare const tokenListOutputSchema: z.ZodObject<{
@@ -844,6 +878,13 @@ declare const contract: {
844
878
  readonly message: "Sign in required";
845
879
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
846
880
  };
881
+ readonly TOO_MANY_REQUESTS: {
882
+ readonly status: 429;
883
+ readonly message: "Too many requests";
884
+ readonly data: z.ZodOptional<z.ZodObject<{
885
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
886
+ }, _$zod_v4_core0.$strip>>;
887
+ };
847
888
  readonly FORBIDDEN: {
848
889
  readonly status: 403;
849
890
  readonly message: "You do not have access to this resource";
@@ -862,6 +903,13 @@ declare const contract: {
862
903
  invitationId: z.ZodString;
863
904
  }, _$zod_v4_core0.$strip>;
864
905
  };
906
+ readonly KEY_NOT_FOUND: {
907
+ readonly status: 404;
908
+ readonly message: "API key not found";
909
+ readonly data: z.ZodObject<{
910
+ id: z.ZodString;
911
+ }, _$zod_v4_core0.$strip>;
912
+ };
865
913
  readonly REPO_NOT_FOUND: {
866
914
  readonly status: 404;
867
915
  readonly message: "Repo not found";
@@ -1002,6 +1050,13 @@ declare const contract: {
1002
1050
  readonly message: "Sign in required";
1003
1051
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
1004
1052
  };
1053
+ readonly TOO_MANY_REQUESTS: {
1054
+ readonly status: 429;
1055
+ readonly message: "Too many requests";
1056
+ readonly data: z.ZodOptional<z.ZodObject<{
1057
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
1058
+ }, _$zod_v4_core0.$strip>>;
1059
+ };
1005
1060
  readonly FORBIDDEN: {
1006
1061
  readonly status: 403;
1007
1062
  readonly message: "You do not have access to this resource";
@@ -1020,6 +1075,13 @@ declare const contract: {
1020
1075
  invitationId: z.ZodString;
1021
1076
  }, _$zod_v4_core0.$strip>;
1022
1077
  };
1078
+ readonly KEY_NOT_FOUND: {
1079
+ readonly status: 404;
1080
+ readonly message: "API key not found";
1081
+ readonly data: z.ZodObject<{
1082
+ id: z.ZodString;
1083
+ }, _$zod_v4_core0.$strip>;
1084
+ };
1023
1085
  readonly REPO_NOT_FOUND: {
1024
1086
  readonly status: 404;
1025
1087
  readonly message: "Repo not found";
@@ -1164,6 +1226,13 @@ declare const contract: {
1164
1226
  readonly message: "Sign in required";
1165
1227
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
1166
1228
  };
1229
+ readonly TOO_MANY_REQUESTS: {
1230
+ readonly status: 429;
1231
+ readonly message: "Too many requests";
1232
+ readonly data: z.ZodOptional<z.ZodObject<{
1233
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
1234
+ }, _$zod_v4_core0.$strip>>;
1235
+ };
1167
1236
  readonly FORBIDDEN: {
1168
1237
  readonly status: 403;
1169
1238
  readonly message: "You do not have access to this resource";
@@ -1182,6 +1251,13 @@ declare const contract: {
1182
1251
  invitationId: z.ZodString;
1183
1252
  }, _$zod_v4_core0.$strip>;
1184
1253
  };
1254
+ readonly KEY_NOT_FOUND: {
1255
+ readonly status: 404;
1256
+ readonly message: "API key not found";
1257
+ readonly data: z.ZodObject<{
1258
+ id: z.ZodString;
1259
+ }, _$zod_v4_core0.$strip>;
1260
+ };
1185
1261
  readonly REPO_NOT_FOUND: {
1186
1262
  readonly status: 404;
1187
1263
  readonly message: "Repo not found";
@@ -1308,6 +1384,13 @@ declare const contract: {
1308
1384
  readonly message: "Sign in required";
1309
1385
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
1310
1386
  };
1387
+ readonly TOO_MANY_REQUESTS: {
1388
+ readonly status: 429;
1389
+ readonly message: "Too many requests";
1390
+ readonly data: z.ZodOptional<z.ZodObject<{
1391
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
1392
+ }, _$zod_v4_core0.$strip>>;
1393
+ };
1311
1394
  readonly FORBIDDEN: {
1312
1395
  readonly status: 403;
1313
1396
  readonly message: "You do not have access to this resource";
@@ -1326,6 +1409,13 @@ declare const contract: {
1326
1409
  invitationId: z.ZodString;
1327
1410
  }, _$zod_v4_core0.$strip>;
1328
1411
  };
1412
+ readonly KEY_NOT_FOUND: {
1413
+ readonly status: 404;
1414
+ readonly message: "API key not found";
1415
+ readonly data: z.ZodObject<{
1416
+ id: z.ZodString;
1417
+ }, _$zod_v4_core0.$strip>;
1418
+ };
1329
1419
  readonly REPO_NOT_FOUND: {
1330
1420
  readonly status: 404;
1331
1421
  readonly message: "Repo not found";
@@ -1471,6 +1561,13 @@ declare const contract: {
1471
1561
  readonly message: "Sign in required";
1472
1562
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
1473
1563
  };
1564
+ readonly TOO_MANY_REQUESTS: {
1565
+ readonly status: 429;
1566
+ readonly message: "Too many requests";
1567
+ readonly data: z.ZodOptional<z.ZodObject<{
1568
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
1569
+ }, _$zod_v4_core0.$strip>>;
1570
+ };
1474
1571
  readonly FORBIDDEN: {
1475
1572
  readonly status: 403;
1476
1573
  readonly message: "You do not have access to this resource";
@@ -1489,6 +1586,13 @@ declare const contract: {
1489
1586
  invitationId: z.ZodString;
1490
1587
  }, _$zod_v4_core0.$strip>;
1491
1588
  };
1589
+ readonly KEY_NOT_FOUND: {
1590
+ readonly status: 404;
1591
+ readonly message: "API key not found";
1592
+ readonly data: z.ZodObject<{
1593
+ id: z.ZodString;
1594
+ }, _$zod_v4_core0.$strip>;
1595
+ };
1492
1596
  readonly REPO_NOT_FOUND: {
1493
1597
  readonly status: 404;
1494
1598
  readonly message: "Repo not found";
@@ -1630,6 +1734,13 @@ declare const contract: {
1630
1734
  readonly message: "Sign in required";
1631
1735
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
1632
1736
  };
1737
+ readonly TOO_MANY_REQUESTS: {
1738
+ readonly status: 429;
1739
+ readonly message: "Too many requests";
1740
+ readonly data: z.ZodOptional<z.ZodObject<{
1741
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
1742
+ }, _$zod_v4_core0.$strip>>;
1743
+ };
1633
1744
  readonly FORBIDDEN: {
1634
1745
  readonly status: 403;
1635
1746
  readonly message: "You do not have access to this resource";
@@ -1648,6 +1759,13 @@ declare const contract: {
1648
1759
  invitationId: z.ZodString;
1649
1760
  }, _$zod_v4_core0.$strip>;
1650
1761
  };
1762
+ readonly KEY_NOT_FOUND: {
1763
+ readonly status: 404;
1764
+ readonly message: "API key not found";
1765
+ readonly data: z.ZodObject<{
1766
+ id: z.ZodString;
1767
+ }, _$zod_v4_core0.$strip>;
1768
+ };
1651
1769
  readonly REPO_NOT_FOUND: {
1652
1770
  readonly status: 404;
1653
1771
  readonly message: "Repo not found";
@@ -1781,6 +1899,13 @@ declare const contract: {
1781
1899
  readonly message: "Sign in required";
1782
1900
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
1783
1901
  };
1902
+ readonly TOO_MANY_REQUESTS: {
1903
+ readonly status: 429;
1904
+ readonly message: "Too many requests";
1905
+ readonly data: z.ZodOptional<z.ZodObject<{
1906
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
1907
+ }, _$zod_v4_core0.$strip>>;
1908
+ };
1784
1909
  readonly FORBIDDEN: {
1785
1910
  readonly status: 403;
1786
1911
  readonly message: "You do not have access to this resource";
@@ -1799,6 +1924,13 @@ declare const contract: {
1799
1924
  invitationId: z.ZodString;
1800
1925
  }, _$zod_v4_core0.$strip>;
1801
1926
  };
1927
+ readonly KEY_NOT_FOUND: {
1928
+ readonly status: 404;
1929
+ readonly message: "API key not found";
1930
+ readonly data: z.ZodObject<{
1931
+ id: z.ZodString;
1932
+ }, _$zod_v4_core0.$strip>;
1933
+ };
1802
1934
  readonly REPO_NOT_FOUND: {
1803
1935
  readonly status: 404;
1804
1936
  readonly message: "Repo not found";
@@ -1938,6 +2070,13 @@ declare const contract: {
1938
2070
  readonly message: "Sign in required";
1939
2071
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
1940
2072
  };
2073
+ readonly TOO_MANY_REQUESTS: {
2074
+ readonly status: 429;
2075
+ readonly message: "Too many requests";
2076
+ readonly data: z.ZodOptional<z.ZodObject<{
2077
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
2078
+ }, _$zod_v4_core0.$strip>>;
2079
+ };
1941
2080
  readonly FORBIDDEN: {
1942
2081
  readonly status: 403;
1943
2082
  readonly message: "You do not have access to this resource";
@@ -1956,6 +2095,13 @@ declare const contract: {
1956
2095
  invitationId: z.ZodString;
1957
2096
  }, _$zod_v4_core0.$strip>;
1958
2097
  };
2098
+ readonly KEY_NOT_FOUND: {
2099
+ readonly status: 404;
2100
+ readonly message: "API key not found";
2101
+ readonly data: z.ZodObject<{
2102
+ id: z.ZodString;
2103
+ }, _$zod_v4_core0.$strip>;
2104
+ };
1959
2105
  readonly REPO_NOT_FOUND: {
1960
2106
  readonly status: 404;
1961
2107
  readonly message: "Repo not found";
@@ -2099,6 +2245,13 @@ declare const contract: {
2099
2245
  readonly message: "Sign in required";
2100
2246
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
2101
2247
  };
2248
+ readonly TOO_MANY_REQUESTS: {
2249
+ readonly status: 429;
2250
+ readonly message: "Too many requests";
2251
+ readonly data: z.ZodOptional<z.ZodObject<{
2252
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
2253
+ }, _$zod_v4_core0.$strip>>;
2254
+ };
2102
2255
  readonly FORBIDDEN: {
2103
2256
  readonly status: 403;
2104
2257
  readonly message: "You do not have access to this resource";
@@ -2117,6 +2270,13 @@ declare const contract: {
2117
2270
  invitationId: z.ZodString;
2118
2271
  }, _$zod_v4_core0.$strip>;
2119
2272
  };
2273
+ readonly KEY_NOT_FOUND: {
2274
+ readonly status: 404;
2275
+ readonly message: "API key not found";
2276
+ readonly data: z.ZodObject<{
2277
+ id: z.ZodString;
2278
+ }, _$zod_v4_core0.$strip>;
2279
+ };
2120
2280
  readonly REPO_NOT_FOUND: {
2121
2281
  readonly status: 404;
2122
2282
  readonly message: "Repo not found";
@@ -2253,6 +2413,13 @@ declare const contract: {
2253
2413
  readonly message: "Sign in required";
2254
2414
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
2255
2415
  };
2416
+ readonly TOO_MANY_REQUESTS: {
2417
+ readonly status: 429;
2418
+ readonly message: "Too many requests";
2419
+ readonly data: z.ZodOptional<z.ZodObject<{
2420
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
2421
+ }, _$zod_v4_core0.$strip>>;
2422
+ };
2256
2423
  readonly FORBIDDEN: {
2257
2424
  readonly status: 403;
2258
2425
  readonly message: "You do not have access to this resource";
@@ -2271,6 +2438,13 @@ declare const contract: {
2271
2438
  invitationId: z.ZodString;
2272
2439
  }, _$zod_v4_core0.$strip>;
2273
2440
  };
2441
+ readonly KEY_NOT_FOUND: {
2442
+ readonly status: 404;
2443
+ readonly message: "API key not found";
2444
+ readonly data: z.ZodObject<{
2445
+ id: z.ZodString;
2446
+ }, _$zod_v4_core0.$strip>;
2447
+ };
2274
2448
  readonly REPO_NOT_FOUND: {
2275
2449
  readonly status: 404;
2276
2450
  readonly message: "Repo not found";
@@ -2435,6 +2609,13 @@ declare const contract: {
2435
2609
  readonly message: "Sign in required";
2436
2610
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
2437
2611
  };
2612
+ readonly TOO_MANY_REQUESTS: {
2613
+ readonly status: 429;
2614
+ readonly message: "Too many requests";
2615
+ readonly data: z.ZodOptional<z.ZodObject<{
2616
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
2617
+ }, _$zod_v4_core0.$strip>>;
2618
+ };
2438
2619
  readonly FORBIDDEN: {
2439
2620
  readonly status: 403;
2440
2621
  readonly message: "You do not have access to this resource";
@@ -2453,6 +2634,13 @@ declare const contract: {
2453
2634
  invitationId: z.ZodString;
2454
2635
  }, _$zod_v4_core0.$strip>;
2455
2636
  };
2637
+ readonly KEY_NOT_FOUND: {
2638
+ readonly status: 404;
2639
+ readonly message: "API key not found";
2640
+ readonly data: z.ZodObject<{
2641
+ id: z.ZodString;
2642
+ }, _$zod_v4_core0.$strip>;
2643
+ };
2456
2644
  readonly REPO_NOT_FOUND: {
2457
2645
  readonly status: 404;
2458
2646
  readonly message: "Repo not found";
@@ -2582,6 +2770,13 @@ declare const contract: {
2582
2770
  readonly message: "Sign in required";
2583
2771
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
2584
2772
  };
2773
+ readonly TOO_MANY_REQUESTS: {
2774
+ readonly status: 429;
2775
+ readonly message: "Too many requests";
2776
+ readonly data: z.ZodOptional<z.ZodObject<{
2777
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
2778
+ }, _$zod_v4_core0.$strip>>;
2779
+ };
2585
2780
  readonly FORBIDDEN: {
2586
2781
  readonly status: 403;
2587
2782
  readonly message: "You do not have access to this resource";
@@ -2600,6 +2795,13 @@ declare const contract: {
2600
2795
  invitationId: z.ZodString;
2601
2796
  }, _$zod_v4_core0.$strip>;
2602
2797
  };
2798
+ readonly KEY_NOT_FOUND: {
2799
+ readonly status: 404;
2800
+ readonly message: "API key not found";
2801
+ readonly data: z.ZodObject<{
2802
+ id: z.ZodString;
2803
+ }, _$zod_v4_core0.$strip>;
2804
+ };
2603
2805
  readonly REPO_NOT_FOUND: {
2604
2806
  readonly status: 404;
2605
2807
  readonly message: "Repo not found";
@@ -2715,7 +2917,7 @@ declare const contract: {
2715
2917
  git: {
2716
2918
  refs: {
2717
2919
  list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2718
- orgSlug: z.ZodOptional<z.ZodString>;
2920
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
2719
2921
  name: z.ZodString;
2720
2922
  cursor: z.ZodOptional<z.ZodString>;
2721
2923
  limit: z.ZodDefault<z.ZodNumber>;
@@ -2742,6 +2944,13 @@ declare const contract: {
2742
2944
  readonly message: "Sign in required";
2743
2945
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
2744
2946
  };
2947
+ readonly TOO_MANY_REQUESTS: {
2948
+ readonly status: 429;
2949
+ readonly message: "Too many requests";
2950
+ readonly data: z.ZodOptional<z.ZodObject<{
2951
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
2952
+ }, _$zod_v4_core0.$strip>>;
2953
+ };
2745
2954
  readonly FORBIDDEN: {
2746
2955
  readonly status: 403;
2747
2956
  readonly message: "You do not have access to this resource";
@@ -2760,6 +2969,13 @@ declare const contract: {
2760
2969
  invitationId: z.ZodString;
2761
2970
  }, _$zod_v4_core0.$strip>;
2762
2971
  };
2972
+ readonly KEY_NOT_FOUND: {
2973
+ readonly status: 404;
2974
+ readonly message: "API key not found";
2975
+ readonly data: z.ZodObject<{
2976
+ id: z.ZodString;
2977
+ }, _$zod_v4_core0.$strip>;
2978
+ };
2763
2979
  readonly REPO_NOT_FOUND: {
2764
2980
  readonly status: 404;
2765
2981
  readonly message: "Repo not found";
@@ -2872,7 +3088,7 @@ declare const contract: {
2872
3088
  };
2873
3089
  }>, Record<never, never>>;
2874
3090
  get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2875
- orgSlug: z.ZodOptional<z.ZodString>;
3091
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
2876
3092
  name: z.ZodString;
2877
3093
  ref: z.ZodString;
2878
3094
  }, _$zod_v4_core0.$strip>, z.ZodObject<{
@@ -2894,6 +3110,13 @@ declare const contract: {
2894
3110
  readonly message: "Sign in required";
2895
3111
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
2896
3112
  };
3113
+ readonly TOO_MANY_REQUESTS: {
3114
+ readonly status: 429;
3115
+ readonly message: "Too many requests";
3116
+ readonly data: z.ZodOptional<z.ZodObject<{
3117
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
3118
+ }, _$zod_v4_core0.$strip>>;
3119
+ };
2897
3120
  readonly FORBIDDEN: {
2898
3121
  readonly status: 403;
2899
3122
  readonly message: "You do not have access to this resource";
@@ -2912,6 +3135,13 @@ declare const contract: {
2912
3135
  invitationId: z.ZodString;
2913
3136
  }, _$zod_v4_core0.$strip>;
2914
3137
  };
3138
+ readonly KEY_NOT_FOUND: {
3139
+ readonly status: 404;
3140
+ readonly message: "API key not found";
3141
+ readonly data: z.ZodObject<{
3142
+ id: z.ZodString;
3143
+ }, _$zod_v4_core0.$strip>;
3144
+ };
2915
3145
  readonly REPO_NOT_FOUND: {
2916
3146
  readonly status: 404;
2917
3147
  readonly message: "Repo not found";
@@ -3026,7 +3256,7 @@ declare const contract: {
3026
3256
  };
3027
3257
  branches: {
3028
3258
  list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3029
- orgSlug: z.ZodOptional<z.ZodString>;
3259
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
3030
3260
  name: z.ZodString;
3031
3261
  cursor: z.ZodOptional<z.ZodString>;
3032
3262
  limit: z.ZodDefault<z.ZodNumber>;
@@ -3053,6 +3283,13 @@ declare const contract: {
3053
3283
  readonly message: "Sign in required";
3054
3284
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
3055
3285
  };
3286
+ readonly TOO_MANY_REQUESTS: {
3287
+ readonly status: 429;
3288
+ readonly message: "Too many requests";
3289
+ readonly data: z.ZodOptional<z.ZodObject<{
3290
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
3291
+ }, _$zod_v4_core0.$strip>>;
3292
+ };
3056
3293
  readonly FORBIDDEN: {
3057
3294
  readonly status: 403;
3058
3295
  readonly message: "You do not have access to this resource";
@@ -3071,6 +3308,13 @@ declare const contract: {
3071
3308
  invitationId: z.ZodString;
3072
3309
  }, _$zod_v4_core0.$strip>;
3073
3310
  };
3311
+ readonly KEY_NOT_FOUND: {
3312
+ readonly status: 404;
3313
+ readonly message: "API key not found";
3314
+ readonly data: z.ZodObject<{
3315
+ id: z.ZodString;
3316
+ }, _$zod_v4_core0.$strip>;
3317
+ };
3074
3318
  readonly REPO_NOT_FOUND: {
3075
3319
  readonly status: 404;
3076
3320
  readonly message: "Repo not found";
@@ -3183,7 +3427,7 @@ declare const contract: {
3183
3427
  };
3184
3428
  }>, Record<never, never>>;
3185
3429
  get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3186
- orgSlug: z.ZodOptional<z.ZodString>;
3430
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
3187
3431
  name: z.ZodString;
3188
3432
  ref: z.ZodString;
3189
3433
  }, _$zod_v4_core0.$strip>, z.ZodObject<{
@@ -3205,6 +3449,13 @@ declare const contract: {
3205
3449
  readonly message: "Sign in required";
3206
3450
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
3207
3451
  };
3452
+ readonly TOO_MANY_REQUESTS: {
3453
+ readonly status: 429;
3454
+ readonly message: "Too many requests";
3455
+ readonly data: z.ZodOptional<z.ZodObject<{
3456
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
3457
+ }, _$zod_v4_core0.$strip>>;
3458
+ };
3208
3459
  readonly FORBIDDEN: {
3209
3460
  readonly status: 403;
3210
3461
  readonly message: "You do not have access to this resource";
@@ -3223,6 +3474,13 @@ declare const contract: {
3223
3474
  invitationId: z.ZodString;
3224
3475
  }, _$zod_v4_core0.$strip>;
3225
3476
  };
3477
+ readonly KEY_NOT_FOUND: {
3478
+ readonly status: 404;
3479
+ readonly message: "API key not found";
3480
+ readonly data: z.ZodObject<{
3481
+ id: z.ZodString;
3482
+ }, _$zod_v4_core0.$strip>;
3483
+ };
3226
3484
  readonly REPO_NOT_FOUND: {
3227
3485
  readonly status: 404;
3228
3486
  readonly message: "Repo not found";
@@ -3335,7 +3593,7 @@ declare const contract: {
3335
3593
  };
3336
3594
  }>, Record<never, never>>;
3337
3595
  create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3338
- orgSlug: z.ZodOptional<z.ZodString>;
3596
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
3339
3597
  name: z.ZodString;
3340
3598
  branch: z.ZodString;
3341
3599
  fromRef: z.ZodString;
@@ -3358,6 +3616,13 @@ declare const contract: {
3358
3616
  readonly message: "Sign in required";
3359
3617
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
3360
3618
  };
3619
+ readonly TOO_MANY_REQUESTS: {
3620
+ readonly status: 429;
3621
+ readonly message: "Too many requests";
3622
+ readonly data: z.ZodOptional<z.ZodObject<{
3623
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
3624
+ }, _$zod_v4_core0.$strip>>;
3625
+ };
3361
3626
  readonly FORBIDDEN: {
3362
3627
  readonly status: 403;
3363
3628
  readonly message: "You do not have access to this resource";
@@ -3376,6 +3641,13 @@ declare const contract: {
3376
3641
  invitationId: z.ZodString;
3377
3642
  }, _$zod_v4_core0.$strip>;
3378
3643
  };
3644
+ readonly KEY_NOT_FOUND: {
3645
+ readonly status: 404;
3646
+ readonly message: "API key not found";
3647
+ readonly data: z.ZodObject<{
3648
+ id: z.ZodString;
3649
+ }, _$zod_v4_core0.$strip>;
3650
+ };
3379
3651
  readonly REPO_NOT_FOUND: {
3380
3652
  readonly status: 404;
3381
3653
  readonly message: "Repo not found";
@@ -3488,7 +3760,7 @@ declare const contract: {
3488
3760
  };
3489
3761
  }>, Record<never, never>>;
3490
3762
  update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3491
- orgSlug: z.ZodOptional<z.ZodString>;
3763
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
3492
3764
  name: z.ZodString;
3493
3765
  ref: z.ZodString;
3494
3766
  oid: z.ZodString;
@@ -3514,6 +3786,13 @@ declare const contract: {
3514
3786
  readonly message: "Sign in required";
3515
3787
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
3516
3788
  };
3789
+ readonly TOO_MANY_REQUESTS: {
3790
+ readonly status: 429;
3791
+ readonly message: "Too many requests";
3792
+ readonly data: z.ZodOptional<z.ZodObject<{
3793
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
3794
+ }, _$zod_v4_core0.$strip>>;
3795
+ };
3517
3796
  readonly FORBIDDEN: {
3518
3797
  readonly status: 403;
3519
3798
  readonly message: "You do not have access to this resource";
@@ -3532,6 +3811,13 @@ declare const contract: {
3532
3811
  invitationId: z.ZodString;
3533
3812
  }, _$zod_v4_core0.$strip>;
3534
3813
  };
3814
+ readonly KEY_NOT_FOUND: {
3815
+ readonly status: 404;
3816
+ readonly message: "API key not found";
3817
+ readonly data: z.ZodObject<{
3818
+ id: z.ZodString;
3819
+ }, _$zod_v4_core0.$strip>;
3820
+ };
3535
3821
  readonly REPO_NOT_FOUND: {
3536
3822
  readonly status: 404;
3537
3823
  readonly message: "Repo not found";
@@ -3644,7 +3930,7 @@ declare const contract: {
3644
3930
  };
3645
3931
  }>, Record<never, never>>;
3646
3932
  delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3647
- orgSlug: z.ZodOptional<z.ZodString>;
3933
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
3648
3934
  name: z.ZodString;
3649
3935
  ref: z.ZodString;
3650
3936
  expectedOid: z.ZodOptional<z.ZodString>;
@@ -3661,6 +3947,13 @@ declare const contract: {
3661
3947
  readonly message: "Sign in required";
3662
3948
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
3663
3949
  };
3950
+ readonly TOO_MANY_REQUESTS: {
3951
+ readonly status: 429;
3952
+ readonly message: "Too many requests";
3953
+ readonly data: z.ZodOptional<z.ZodObject<{
3954
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
3955
+ }, _$zod_v4_core0.$strip>>;
3956
+ };
3664
3957
  readonly FORBIDDEN: {
3665
3958
  readonly status: 403;
3666
3959
  readonly message: "You do not have access to this resource";
@@ -3679,6 +3972,13 @@ declare const contract: {
3679
3972
  invitationId: z.ZodString;
3680
3973
  }, _$zod_v4_core0.$strip>;
3681
3974
  };
3975
+ readonly KEY_NOT_FOUND: {
3976
+ readonly status: 404;
3977
+ readonly message: "API key not found";
3978
+ readonly data: z.ZodObject<{
3979
+ id: z.ZodString;
3980
+ }, _$zod_v4_core0.$strip>;
3981
+ };
3682
3982
  readonly REPO_NOT_FOUND: {
3683
3983
  readonly status: 404;
3684
3984
  readonly message: "Repo not found";
@@ -3793,7 +4093,7 @@ declare const contract: {
3793
4093
  };
3794
4094
  tags: {
3795
4095
  list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3796
- orgSlug: z.ZodOptional<z.ZodString>;
4096
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
3797
4097
  name: z.ZodString;
3798
4098
  cursor: z.ZodOptional<z.ZodString>;
3799
4099
  limit: z.ZodDefault<z.ZodNumber>;
@@ -3820,6 +4120,13 @@ declare const contract: {
3820
4120
  readonly message: "Sign in required";
3821
4121
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
3822
4122
  };
4123
+ readonly TOO_MANY_REQUESTS: {
4124
+ readonly status: 429;
4125
+ readonly message: "Too many requests";
4126
+ readonly data: z.ZodOptional<z.ZodObject<{
4127
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
4128
+ }, _$zod_v4_core0.$strip>>;
4129
+ };
3823
4130
  readonly FORBIDDEN: {
3824
4131
  readonly status: 403;
3825
4132
  readonly message: "You do not have access to this resource";
@@ -3838,6 +4145,13 @@ declare const contract: {
3838
4145
  invitationId: z.ZodString;
3839
4146
  }, _$zod_v4_core0.$strip>;
3840
4147
  };
4148
+ readonly KEY_NOT_FOUND: {
4149
+ readonly status: 404;
4150
+ readonly message: "API key not found";
4151
+ readonly data: z.ZodObject<{
4152
+ id: z.ZodString;
4153
+ }, _$zod_v4_core0.$strip>;
4154
+ };
3841
4155
  readonly REPO_NOT_FOUND: {
3842
4156
  readonly status: 404;
3843
4157
  readonly message: "Repo not found";
@@ -3950,7 +4264,7 @@ declare const contract: {
3950
4264
  };
3951
4265
  }>, Record<never, never>>;
3952
4266
  get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3953
- orgSlug: z.ZodOptional<z.ZodString>;
4267
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
3954
4268
  name: z.ZodString;
3955
4269
  ref: z.ZodString;
3956
4270
  }, _$zod_v4_core0.$strip>, z.ZodObject<{
@@ -3972,6 +4286,13 @@ declare const contract: {
3972
4286
  readonly message: "Sign in required";
3973
4287
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
3974
4288
  };
4289
+ readonly TOO_MANY_REQUESTS: {
4290
+ readonly status: 429;
4291
+ readonly message: "Too many requests";
4292
+ readonly data: z.ZodOptional<z.ZodObject<{
4293
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
4294
+ }, _$zod_v4_core0.$strip>>;
4295
+ };
3975
4296
  readonly FORBIDDEN: {
3976
4297
  readonly status: 403;
3977
4298
  readonly message: "You do not have access to this resource";
@@ -3990,6 +4311,13 @@ declare const contract: {
3990
4311
  invitationId: z.ZodString;
3991
4312
  }, _$zod_v4_core0.$strip>;
3992
4313
  };
4314
+ readonly KEY_NOT_FOUND: {
4315
+ readonly status: 404;
4316
+ readonly message: "API key not found";
4317
+ readonly data: z.ZodObject<{
4318
+ id: z.ZodString;
4319
+ }, _$zod_v4_core0.$strip>;
4320
+ };
3993
4321
  readonly REPO_NOT_FOUND: {
3994
4322
  readonly status: 404;
3995
4323
  readonly message: "Repo not found";
@@ -4102,7 +4430,7 @@ declare const contract: {
4102
4430
  };
4103
4431
  }>, Record<never, never>>;
4104
4432
  create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4105
- orgSlug: z.ZodOptional<z.ZodString>;
4433
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
4106
4434
  name: z.ZodString;
4107
4435
  tag: z.ZodString;
4108
4436
  oid: z.ZodString;
@@ -4132,6 +4460,13 @@ declare const contract: {
4132
4460
  readonly message: "Sign in required";
4133
4461
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
4134
4462
  };
4463
+ readonly TOO_MANY_REQUESTS: {
4464
+ readonly status: 429;
4465
+ readonly message: "Too many requests";
4466
+ readonly data: z.ZodOptional<z.ZodObject<{
4467
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
4468
+ }, _$zod_v4_core0.$strip>>;
4469
+ };
4135
4470
  readonly FORBIDDEN: {
4136
4471
  readonly status: 403;
4137
4472
  readonly message: "You do not have access to this resource";
@@ -4150,6 +4485,13 @@ declare const contract: {
4150
4485
  invitationId: z.ZodString;
4151
4486
  }, _$zod_v4_core0.$strip>;
4152
4487
  };
4488
+ readonly KEY_NOT_FOUND: {
4489
+ readonly status: 404;
4490
+ readonly message: "API key not found";
4491
+ readonly data: z.ZodObject<{
4492
+ id: z.ZodString;
4493
+ }, _$zod_v4_core0.$strip>;
4494
+ };
4153
4495
  readonly REPO_NOT_FOUND: {
4154
4496
  readonly status: 404;
4155
4497
  readonly message: "Repo not found";
@@ -4262,7 +4604,7 @@ declare const contract: {
4262
4604
  };
4263
4605
  }>, Record<never, never>>;
4264
4606
  delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4265
- orgSlug: z.ZodOptional<z.ZodString>;
4607
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
4266
4608
  name: z.ZodString;
4267
4609
  ref: z.ZodString;
4268
4610
  }, _$zod_v4_core0.$strip>, z.ZodObject<{
@@ -4278,6 +4620,13 @@ declare const contract: {
4278
4620
  readonly message: "Sign in required";
4279
4621
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
4280
4622
  };
4623
+ readonly TOO_MANY_REQUESTS: {
4624
+ readonly status: 429;
4625
+ readonly message: "Too many requests";
4626
+ readonly data: z.ZodOptional<z.ZodObject<{
4627
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
4628
+ }, _$zod_v4_core0.$strip>>;
4629
+ };
4281
4630
  readonly FORBIDDEN: {
4282
4631
  readonly status: 403;
4283
4632
  readonly message: "You do not have access to this resource";
@@ -4296,6 +4645,13 @@ declare const contract: {
4296
4645
  invitationId: z.ZodString;
4297
4646
  }, _$zod_v4_core0.$strip>;
4298
4647
  };
4648
+ readonly KEY_NOT_FOUND: {
4649
+ readonly status: 404;
4650
+ readonly message: "API key not found";
4651
+ readonly data: z.ZodObject<{
4652
+ id: z.ZodString;
4653
+ }, _$zod_v4_core0.$strip>;
4654
+ };
4299
4655
  readonly REPO_NOT_FOUND: {
4300
4656
  readonly status: 404;
4301
4657
  readonly message: "Repo not found";
@@ -4410,7 +4766,7 @@ declare const contract: {
4410
4766
  };
4411
4767
  commits: {
4412
4768
  list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4413
- orgSlug: z.ZodOptional<z.ZodString>;
4769
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
4414
4770
  name: z.ZodString;
4415
4771
  cursor: z.ZodOptional<z.ZodString>;
4416
4772
  limit: z.ZodDefault<z.ZodNumber>;
@@ -4436,6 +4792,13 @@ declare const contract: {
4436
4792
  readonly message: "Sign in required";
4437
4793
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
4438
4794
  };
4795
+ readonly TOO_MANY_REQUESTS: {
4796
+ readonly status: 429;
4797
+ readonly message: "Too many requests";
4798
+ readonly data: z.ZodOptional<z.ZodObject<{
4799
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
4800
+ }, _$zod_v4_core0.$strip>>;
4801
+ };
4439
4802
  readonly FORBIDDEN: {
4440
4803
  readonly status: 403;
4441
4804
  readonly message: "You do not have access to this resource";
@@ -4454,6 +4817,13 @@ declare const contract: {
4454
4817
  invitationId: z.ZodString;
4455
4818
  }, _$zod_v4_core0.$strip>;
4456
4819
  };
4820
+ readonly KEY_NOT_FOUND: {
4821
+ readonly status: 404;
4822
+ readonly message: "API key not found";
4823
+ readonly data: z.ZodObject<{
4824
+ id: z.ZodString;
4825
+ }, _$zod_v4_core0.$strip>;
4826
+ };
4457
4827
  readonly REPO_NOT_FOUND: {
4458
4828
  readonly status: 404;
4459
4829
  readonly message: "Repo not found";
@@ -4566,7 +4936,7 @@ declare const contract: {
4566
4936
  };
4567
4937
  }>, Record<never, never>>;
4568
4938
  get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4569
- orgSlug: z.ZodOptional<z.ZodString>;
4939
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
4570
4940
  name: z.ZodString;
4571
4941
  oid: z.ZodString;
4572
4942
  }, _$zod_v4_core0.$strip>, z.ZodObject<{
@@ -4586,6 +4956,13 @@ declare const contract: {
4586
4956
  readonly message: "Sign in required";
4587
4957
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
4588
4958
  };
4959
+ readonly TOO_MANY_REQUESTS: {
4960
+ readonly status: 429;
4961
+ readonly message: "Too many requests";
4962
+ readonly data: z.ZodOptional<z.ZodObject<{
4963
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
4964
+ }, _$zod_v4_core0.$strip>>;
4965
+ };
4589
4966
  readonly FORBIDDEN: {
4590
4967
  readonly status: 403;
4591
4968
  readonly message: "You do not have access to this resource";
@@ -4604,6 +4981,13 @@ declare const contract: {
4604
4981
  invitationId: z.ZodString;
4605
4982
  }, _$zod_v4_core0.$strip>;
4606
4983
  };
4984
+ readonly KEY_NOT_FOUND: {
4985
+ readonly status: 404;
4986
+ readonly message: "API key not found";
4987
+ readonly data: z.ZodObject<{
4988
+ id: z.ZodString;
4989
+ }, _$zod_v4_core0.$strip>;
4990
+ };
4607
4991
  readonly REPO_NOT_FOUND: {
4608
4992
  readonly status: 404;
4609
4993
  readonly message: "Repo not found";
@@ -4716,7 +5100,7 @@ declare const contract: {
4716
5100
  };
4717
5101
  }>, Record<never, never>>;
4718
5102
  create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4719
- orgSlug: z.ZodOptional<z.ZodString>;
5103
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
4720
5104
  name: z.ZodString;
4721
5105
  ref: z.ZodString;
4722
5106
  message: z.ZodString;
@@ -4763,6 +5147,13 @@ declare const contract: {
4763
5147
  readonly message: "Sign in required";
4764
5148
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
4765
5149
  };
5150
+ readonly TOO_MANY_REQUESTS: {
5151
+ readonly status: 429;
5152
+ readonly message: "Too many requests";
5153
+ readonly data: z.ZodOptional<z.ZodObject<{
5154
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
5155
+ }, _$zod_v4_core0.$strip>>;
5156
+ };
4766
5157
  readonly FORBIDDEN: {
4767
5158
  readonly status: 403;
4768
5159
  readonly message: "You do not have access to this resource";
@@ -4781,6 +5172,13 @@ declare const contract: {
4781
5172
  invitationId: z.ZodString;
4782
5173
  }, _$zod_v4_core0.$strip>;
4783
5174
  };
5175
+ readonly KEY_NOT_FOUND: {
5176
+ readonly status: 404;
5177
+ readonly message: "API key not found";
5178
+ readonly data: z.ZodObject<{
5179
+ id: z.ZodString;
5180
+ }, _$zod_v4_core0.$strip>;
5181
+ };
4784
5182
  readonly REPO_NOT_FOUND: {
4785
5183
  readonly status: 404;
4786
5184
  readonly message: "Repo not found";
@@ -4895,7 +5293,7 @@ declare const contract: {
4895
5293
  };
4896
5294
  tree: {
4897
5295
  get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4898
- orgSlug: z.ZodOptional<z.ZodString>;
5296
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
4899
5297
  name: z.ZodString;
4900
5298
  ref: z.ZodDefault<z.ZodString>;
4901
5299
  path: z.ZodOptional<z.ZodString>;
@@ -4925,6 +5323,13 @@ declare const contract: {
4925
5323
  readonly message: "Sign in required";
4926
5324
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
4927
5325
  };
5326
+ readonly TOO_MANY_REQUESTS: {
5327
+ readonly status: 429;
5328
+ readonly message: "Too many requests";
5329
+ readonly data: z.ZodOptional<z.ZodObject<{
5330
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
5331
+ }, _$zod_v4_core0.$strip>>;
5332
+ };
4928
5333
  readonly FORBIDDEN: {
4929
5334
  readonly status: 403;
4930
5335
  readonly message: "You do not have access to this resource";
@@ -4943,6 +5348,13 @@ declare const contract: {
4943
5348
  invitationId: z.ZodString;
4944
5349
  }, _$zod_v4_core0.$strip>;
4945
5350
  };
5351
+ readonly KEY_NOT_FOUND: {
5352
+ readonly status: 404;
5353
+ readonly message: "API key not found";
5354
+ readonly data: z.ZodObject<{
5355
+ id: z.ZodString;
5356
+ }, _$zod_v4_core0.$strip>;
5357
+ };
4946
5358
  readonly REPO_NOT_FOUND: {
4947
5359
  readonly status: 404;
4948
5360
  readonly message: "Repo not found";
@@ -5057,7 +5469,7 @@ declare const contract: {
5057
5469
  };
5058
5470
  blob: {
5059
5471
  get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
5060
- orgSlug: z.ZodOptional<z.ZodString>;
5472
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
5061
5473
  name: z.ZodString;
5062
5474
  oid: z.ZodString;
5063
5475
  }, _$zod_v4_core0.$strip>, z.ZodUnion<readonly [z.ZodObject<{
@@ -5080,6 +5492,13 @@ declare const contract: {
5080
5492
  readonly message: "Sign in required";
5081
5493
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
5082
5494
  };
5495
+ readonly TOO_MANY_REQUESTS: {
5496
+ readonly status: 429;
5497
+ readonly message: "Too many requests";
5498
+ readonly data: z.ZodOptional<z.ZodObject<{
5499
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
5500
+ }, _$zod_v4_core0.$strip>>;
5501
+ };
5083
5502
  readonly FORBIDDEN: {
5084
5503
  readonly status: 403;
5085
5504
  readonly message: "You do not have access to this resource";
@@ -5098,6 +5517,13 @@ declare const contract: {
5098
5517
  invitationId: z.ZodString;
5099
5518
  }, _$zod_v4_core0.$strip>;
5100
5519
  };
5520
+ readonly KEY_NOT_FOUND: {
5521
+ readonly status: 404;
5522
+ readonly message: "API key not found";
5523
+ readonly data: z.ZodObject<{
5524
+ id: z.ZodString;
5525
+ }, _$zod_v4_core0.$strip>;
5526
+ };
5101
5527
  readonly REPO_NOT_FOUND: {
5102
5528
  readonly status: 404;
5103
5529
  readonly message: "Repo not found";
@@ -5212,7 +5638,7 @@ declare const contract: {
5212
5638
  };
5213
5639
  workspace: {
5214
5640
  commit: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
5215
- orgSlug: z.ZodOptional<z.ZodString>;
5641
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
5216
5642
  name: z.ZodString;
5217
5643
  ref: z.ZodDefault<z.ZodString>;
5218
5644
  message: z.ZodString;
@@ -5263,6 +5689,13 @@ declare const contract: {
5263
5689
  readonly message: "Sign in required";
5264
5690
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
5265
5691
  };
5692
+ readonly TOO_MANY_REQUESTS: {
5693
+ readonly status: 429;
5694
+ readonly message: "Too many requests";
5695
+ readonly data: z.ZodOptional<z.ZodObject<{
5696
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
5697
+ }, _$zod_v4_core0.$strip>>;
5698
+ };
5266
5699
  readonly FORBIDDEN: {
5267
5700
  readonly status: 403;
5268
5701
  readonly message: "You do not have access to this resource";
@@ -5281,6 +5714,13 @@ declare const contract: {
5281
5714
  invitationId: z.ZodString;
5282
5715
  }, _$zod_v4_core0.$strip>;
5283
5716
  };
5717
+ readonly KEY_NOT_FOUND: {
5718
+ readonly status: 404;
5719
+ readonly message: "API key not found";
5720
+ readonly data: z.ZodObject<{
5721
+ id: z.ZodString;
5722
+ }, _$zod_v4_core0.$strip>;
5723
+ };
5284
5724
  readonly REPO_NOT_FOUND: {
5285
5725
  readonly status: 404;
5286
5726
  readonly message: "Repo not found";
@@ -5394,7 +5834,7 @@ declare const contract: {
5394
5834
  }>, Record<never, never>>;
5395
5835
  };
5396
5836
  compare: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
5397
- orgSlug: z.ZodOptional<z.ZodString>;
5837
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
5398
5838
  name: z.ZodString;
5399
5839
  base: z.ZodString;
5400
5840
  head: z.ZodString;
@@ -5436,8 +5876,15 @@ declare const contract: {
5436
5876
  readonly message: "Sign in required";
5437
5877
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
5438
5878
  };
5439
- readonly FORBIDDEN: {
5440
- readonly status: 403;
5879
+ readonly TOO_MANY_REQUESTS: {
5880
+ readonly status: 429;
5881
+ readonly message: "Too many requests";
5882
+ readonly data: z.ZodOptional<z.ZodObject<{
5883
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
5884
+ }, _$zod_v4_core0.$strip>>;
5885
+ };
5886
+ readonly FORBIDDEN: {
5887
+ readonly status: 403;
5441
5888
  readonly message: "You do not have access to this resource";
5442
5889
  readonly data: z.ZodOptional<z.ZodObject<{
5443
5890
  reason: z.ZodOptional<z.ZodEnum<{
@@ -5454,6 +5901,13 @@ declare const contract: {
5454
5901
  invitationId: z.ZodString;
5455
5902
  }, _$zod_v4_core0.$strip>;
5456
5903
  };
5904
+ readonly KEY_NOT_FOUND: {
5905
+ readonly status: 404;
5906
+ readonly message: "API key not found";
5907
+ readonly data: z.ZodObject<{
5908
+ id: z.ZodString;
5909
+ }, _$zod_v4_core0.$strip>;
5910
+ };
5457
5911
  readonly REPO_NOT_FOUND: {
5458
5912
  readonly status: 404;
5459
5913
  readonly message: "Repo not found";
@@ -5566,7 +6020,7 @@ declare const contract: {
5566
6020
  };
5567
6021
  }>, Record<never, never>>;
5568
6022
  diff: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
5569
- orgSlug: z.ZodOptional<z.ZodString>;
6023
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
5570
6024
  name: z.ZodString;
5571
6025
  base: z.ZodString;
5572
6026
  head: z.ZodString;
@@ -5611,6 +6065,13 @@ declare const contract: {
5611
6065
  readonly message: "Sign in required";
5612
6066
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
5613
6067
  };
6068
+ readonly TOO_MANY_REQUESTS: {
6069
+ readonly status: 429;
6070
+ readonly message: "Too many requests";
6071
+ readonly data: z.ZodOptional<z.ZodObject<{
6072
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
6073
+ }, _$zod_v4_core0.$strip>>;
6074
+ };
5614
6075
  readonly FORBIDDEN: {
5615
6076
  readonly status: 403;
5616
6077
  readonly message: "You do not have access to this resource";
@@ -5629,6 +6090,13 @@ declare const contract: {
5629
6090
  invitationId: z.ZodString;
5630
6091
  }, _$zod_v4_core0.$strip>;
5631
6092
  };
6093
+ readonly KEY_NOT_FOUND: {
6094
+ readonly status: 404;
6095
+ readonly message: "API key not found";
6096
+ readonly data: z.ZodObject<{
6097
+ id: z.ZodString;
6098
+ }, _$zod_v4_core0.$strip>;
6099
+ };
5632
6100
  readonly REPO_NOT_FOUND: {
5633
6101
  readonly status: 404;
5634
6102
  readonly message: "Repo not found";
@@ -5795,6 +6263,13 @@ declare const contract: {
5795
6263
  readonly message: "Sign in required";
5796
6264
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
5797
6265
  };
6266
+ readonly TOO_MANY_REQUESTS: {
6267
+ readonly status: 429;
6268
+ readonly message: "Too many requests";
6269
+ readonly data: z.ZodOptional<z.ZodObject<{
6270
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
6271
+ }, _$zod_v4_core0.$strip>>;
6272
+ };
5798
6273
  readonly FORBIDDEN: {
5799
6274
  readonly status: 403;
5800
6275
  readonly message: "You do not have access to this resource";
@@ -5813,6 +6288,13 @@ declare const contract: {
5813
6288
  invitationId: z.ZodString;
5814
6289
  }, _$zod_v4_core0.$strip>;
5815
6290
  };
6291
+ readonly KEY_NOT_FOUND: {
6292
+ readonly status: 404;
6293
+ readonly message: "API key not found";
6294
+ readonly data: z.ZodObject<{
6295
+ id: z.ZodString;
6296
+ }, _$zod_v4_core0.$strip>;
6297
+ };
5816
6298
  readonly REPO_NOT_FOUND: {
5817
6299
  readonly status: 404;
5818
6300
  readonly message: "Repo not found";
@@ -5959,6 +6441,13 @@ declare const contract: {
5959
6441
  readonly message: "Sign in required";
5960
6442
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
5961
6443
  };
6444
+ readonly TOO_MANY_REQUESTS: {
6445
+ readonly status: 429;
6446
+ readonly message: "Too many requests";
6447
+ readonly data: z.ZodOptional<z.ZodObject<{
6448
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
6449
+ }, _$zod_v4_core0.$strip>>;
6450
+ };
5962
6451
  readonly FORBIDDEN: {
5963
6452
  readonly status: 403;
5964
6453
  readonly message: "You do not have access to this resource";
@@ -5977,6 +6466,13 @@ declare const contract: {
5977
6466
  invitationId: z.ZodString;
5978
6467
  }, _$zod_v4_core0.$strip>;
5979
6468
  };
6469
+ readonly KEY_NOT_FOUND: {
6470
+ readonly status: 404;
6471
+ readonly message: "API key not found";
6472
+ readonly data: z.ZodObject<{
6473
+ id: z.ZodString;
6474
+ }, _$zod_v4_core0.$strip>;
6475
+ };
5980
6476
  readonly REPO_NOT_FOUND: {
5981
6477
  readonly status: 404;
5982
6478
  readonly message: "Repo not found";
@@ -6103,6 +6599,13 @@ declare const contract: {
6103
6599
  readonly message: "Sign in required";
6104
6600
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
6105
6601
  };
6602
+ readonly TOO_MANY_REQUESTS: {
6603
+ readonly status: 429;
6604
+ readonly message: "Too many requests";
6605
+ readonly data: z.ZodOptional<z.ZodObject<{
6606
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
6607
+ }, _$zod_v4_core0.$strip>>;
6608
+ };
6106
6609
  readonly FORBIDDEN: {
6107
6610
  readonly status: 403;
6108
6611
  readonly message: "You do not have access to this resource";
@@ -6121,6 +6624,13 @@ declare const contract: {
6121
6624
  invitationId: z.ZodString;
6122
6625
  }, _$zod_v4_core0.$strip>;
6123
6626
  };
6627
+ readonly KEY_NOT_FOUND: {
6628
+ readonly status: 404;
6629
+ readonly message: "API key not found";
6630
+ readonly data: z.ZodObject<{
6631
+ id: z.ZodString;
6632
+ }, _$zod_v4_core0.$strip>;
6633
+ };
6124
6634
  readonly REPO_NOT_FOUND: {
6125
6635
  readonly status: 404;
6126
6636
  readonly message: "Repo not found";
@@ -6279,6 +6789,13 @@ declare const contract: {
6279
6789
  readonly message: "Sign in required";
6280
6790
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
6281
6791
  };
6792
+ readonly TOO_MANY_REQUESTS: {
6793
+ readonly status: 429;
6794
+ readonly message: "Too many requests";
6795
+ readonly data: z.ZodOptional<z.ZodObject<{
6796
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
6797
+ }, _$zod_v4_core0.$strip>>;
6798
+ };
6282
6799
  readonly FORBIDDEN: {
6283
6800
  readonly status: 403;
6284
6801
  readonly message: "You do not have access to this resource";
@@ -6297,6 +6814,13 @@ declare const contract: {
6297
6814
  invitationId: z.ZodString;
6298
6815
  }, _$zod_v4_core0.$strip>;
6299
6816
  };
6817
+ readonly KEY_NOT_FOUND: {
6818
+ readonly status: 404;
6819
+ readonly message: "API key not found";
6820
+ readonly data: z.ZodObject<{
6821
+ id: z.ZodString;
6822
+ }, _$zod_v4_core0.$strip>;
6823
+ };
6300
6824
  readonly REPO_NOT_FOUND: {
6301
6825
  readonly status: 404;
6302
6826
  readonly message: "Repo not found";
@@ -6431,6 +6955,13 @@ declare const contract: {
6431
6955
  readonly message: "Sign in required";
6432
6956
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
6433
6957
  };
6958
+ readonly TOO_MANY_REQUESTS: {
6959
+ readonly status: 429;
6960
+ readonly message: "Too many requests";
6961
+ readonly data: z.ZodOptional<z.ZodObject<{
6962
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
6963
+ }, _$zod_v4_core0.$strip>>;
6964
+ };
6434
6965
  readonly FORBIDDEN: {
6435
6966
  readonly status: 403;
6436
6967
  readonly message: "You do not have access to this resource";
@@ -6449,6 +6980,13 @@ declare const contract: {
6449
6980
  invitationId: z.ZodString;
6450
6981
  }, _$zod_v4_core0.$strip>;
6451
6982
  };
6983
+ readonly KEY_NOT_FOUND: {
6984
+ readonly status: 404;
6985
+ readonly message: "API key not found";
6986
+ readonly data: z.ZodObject<{
6987
+ id: z.ZodString;
6988
+ }, _$zod_v4_core0.$strip>;
6989
+ };
6452
6990
  readonly REPO_NOT_FOUND: {
6453
6991
  readonly status: 404;
6454
6992
  readonly message: "Repo not found";
@@ -6580,6 +7118,13 @@ declare const contract: {
6580
7118
  readonly message: "Sign in required";
6581
7119
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
6582
7120
  };
7121
+ readonly TOO_MANY_REQUESTS: {
7122
+ readonly status: 429;
7123
+ readonly message: "Too many requests";
7124
+ readonly data: z.ZodOptional<z.ZodObject<{
7125
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
7126
+ }, _$zod_v4_core0.$strip>>;
7127
+ };
6583
7128
  readonly FORBIDDEN: {
6584
7129
  readonly status: 403;
6585
7130
  readonly message: "You do not have access to this resource";
@@ -6598,6 +7143,13 @@ declare const contract: {
6598
7143
  invitationId: z.ZodString;
6599
7144
  }, _$zod_v4_core0.$strip>;
6600
7145
  };
7146
+ readonly KEY_NOT_FOUND: {
7147
+ readonly status: 404;
7148
+ readonly message: "API key not found";
7149
+ readonly data: z.ZodObject<{
7150
+ id: z.ZodString;
7151
+ }, _$zod_v4_core0.$strip>;
7152
+ };
6601
7153
  readonly REPO_NOT_FOUND: {
6602
7154
  readonly status: 404;
6603
7155
  readonly message: "Repo not found";
@@ -6729,6 +7281,13 @@ declare const contract: {
6729
7281
  readonly message: "Sign in required";
6730
7282
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
6731
7283
  };
7284
+ readonly TOO_MANY_REQUESTS: {
7285
+ readonly status: 429;
7286
+ readonly message: "Too many requests";
7287
+ readonly data: z.ZodOptional<z.ZodObject<{
7288
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
7289
+ }, _$zod_v4_core0.$strip>>;
7290
+ };
6732
7291
  readonly FORBIDDEN: {
6733
7292
  readonly status: 403;
6734
7293
  readonly message: "You do not have access to this resource";
@@ -6747,6 +7306,13 @@ declare const contract: {
6747
7306
  invitationId: z.ZodString;
6748
7307
  }, _$zod_v4_core0.$strip>;
6749
7308
  };
7309
+ readonly KEY_NOT_FOUND: {
7310
+ readonly status: 404;
7311
+ readonly message: "API key not found";
7312
+ readonly data: z.ZodObject<{
7313
+ id: z.ZodString;
7314
+ }, _$zod_v4_core0.$strip>;
7315
+ };
6750
7316
  readonly REPO_NOT_FOUND: {
6751
7317
  readonly status: 404;
6752
7318
  readonly message: "Repo not found";
@@ -6873,6 +7439,13 @@ declare const contract: {
6873
7439
  readonly message: "Sign in required";
6874
7440
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
6875
7441
  };
7442
+ readonly TOO_MANY_REQUESTS: {
7443
+ readonly status: 429;
7444
+ readonly message: "Too many requests";
7445
+ readonly data: z.ZodOptional<z.ZodObject<{
7446
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
7447
+ }, _$zod_v4_core0.$strip>>;
7448
+ };
6876
7449
  readonly FORBIDDEN: {
6877
7450
  readonly status: 403;
6878
7451
  readonly message: "You do not have access to this resource";
@@ -6891,6 +7464,13 @@ declare const contract: {
6891
7464
  invitationId: z.ZodString;
6892
7465
  }, _$zod_v4_core0.$strip>;
6893
7466
  };
7467
+ readonly KEY_NOT_FOUND: {
7468
+ readonly status: 404;
7469
+ readonly message: "API key not found";
7470
+ readonly data: z.ZodObject<{
7471
+ id: z.ZodString;
7472
+ }, _$zod_v4_core0.$strip>;
7473
+ };
6894
7474
  readonly REPO_NOT_FOUND: {
6895
7475
  readonly status: 404;
6896
7476
  readonly message: "Repo not found";
@@ -7031,6 +7611,13 @@ declare const contract: {
7031
7611
  readonly message: "Sign in required";
7032
7612
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
7033
7613
  };
7614
+ readonly TOO_MANY_REQUESTS: {
7615
+ readonly status: 429;
7616
+ readonly message: "Too many requests";
7617
+ readonly data: z.ZodOptional<z.ZodObject<{
7618
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
7619
+ }, _$zod_v4_core0.$strip>>;
7620
+ };
7034
7621
  readonly FORBIDDEN: {
7035
7622
  readonly status: 403;
7036
7623
  readonly message: "You do not have access to this resource";
@@ -7049,6 +7636,183 @@ declare const contract: {
7049
7636
  invitationId: z.ZodString;
7050
7637
  }, _$zod_v4_core0.$strip>;
7051
7638
  };
7639
+ readonly KEY_NOT_FOUND: {
7640
+ readonly status: 404;
7641
+ readonly message: "API key not found";
7642
+ readonly data: z.ZodObject<{
7643
+ id: z.ZodString;
7644
+ }, _$zod_v4_core0.$strip>;
7645
+ };
7646
+ readonly REPO_NOT_FOUND: {
7647
+ readonly status: 404;
7648
+ readonly message: "Repo not found";
7649
+ readonly data: z.ZodObject<{
7650
+ name: z.ZodString;
7651
+ }, _$zod_v4_core0.$strip>;
7652
+ };
7653
+ readonly GIT_OBJECT_NOT_FOUND: {
7654
+ readonly status: 404;
7655
+ readonly message: "Git object not found";
7656
+ readonly data: z.ZodObject<{
7657
+ name: z.ZodString;
7658
+ object: z.ZodString;
7659
+ }, _$zod_v4_core0.$strip>;
7660
+ };
7661
+ readonly REF_ALREADY_EXISTS: {
7662
+ readonly status: 409;
7663
+ readonly message: "Git ref already exists";
7664
+ readonly data: z.ZodObject<{
7665
+ name: z.ZodString;
7666
+ ref: z.ZodString;
7667
+ }, _$zod_v4_core0.$strip>;
7668
+ };
7669
+ readonly STALE_REF: {
7670
+ readonly status: 409;
7671
+ readonly message: "Git ref is stale";
7672
+ readonly data: z.ZodObject<{
7673
+ name: z.ZodString;
7674
+ ref: z.ZodString;
7675
+ }, _$zod_v4_core0.$strip>;
7676
+ };
7677
+ readonly NON_FAST_FORWARD: {
7678
+ readonly status: 422;
7679
+ readonly message: "Git ref update is not a fast-forward";
7680
+ readonly data: z.ZodObject<{
7681
+ name: z.ZodString;
7682
+ ref: z.ZodString;
7683
+ }, _$zod_v4_core0.$strip>;
7684
+ };
7685
+ readonly INVALID_TREE: {
7686
+ readonly status: 422;
7687
+ readonly message: "Invalid git tree";
7688
+ readonly data: z.ZodObject<{
7689
+ name: z.ZodString;
7690
+ object: z.ZodString;
7691
+ }, _$zod_v4_core0.$strip>;
7692
+ };
7693
+ readonly INVALID_PARENT: {
7694
+ readonly status: 422;
7695
+ readonly message: "Invalid git parent";
7696
+ readonly data: z.ZodObject<{
7697
+ name: z.ZodString;
7698
+ object: z.ZodString;
7699
+ }, _$zod_v4_core0.$strip>;
7700
+ };
7701
+ readonly INVARIANT_WORKSPACE_REQUIRED: {
7702
+ readonly status: 503;
7703
+ readonly message: "Repo workspace is required for this git operation";
7704
+ readonly data: z.ZodObject<{
7705
+ name: z.ZodString;
7706
+ }, _$zod_v4_core0.$strip>;
7707
+ };
7708
+ readonly GIT_REMOTE_WRITE_FAILED: {
7709
+ readonly status: 502;
7710
+ readonly message: "Git remote write failed";
7711
+ readonly data: z.ZodObject<{
7712
+ name: z.ZodString;
7713
+ ref: z.ZodString;
7714
+ }, _$zod_v4_core0.$strip>;
7715
+ };
7716
+ readonly REPO_ALREADY_EXISTS: {
7717
+ readonly status: 409;
7718
+ readonly message: "Repo already exists";
7719
+ readonly data: z.ZodObject<{
7720
+ name: z.ZodString;
7721
+ }, _$zod_v4_core0.$strip>;
7722
+ };
7723
+ readonly QUOTA_EXCEEDED: {
7724
+ readonly status: 429;
7725
+ readonly message: "Quota exceeded";
7726
+ readonly data: z.ZodObject<{
7727
+ scope: z.ZodEnum<{
7728
+ anon: "anon";
7729
+ org: "org";
7730
+ size: "size";
7731
+ }>;
7732
+ limit: z.ZodNumber;
7733
+ observed: z.ZodOptional<z.ZodNumber>;
7734
+ projected: z.ZodOptional<z.ZodNumber>;
7735
+ }, _$zod_v4_core0.$strip>;
7736
+ };
7737
+ readonly PAYLOAD_TOO_LARGE: {
7738
+ readonly status: 413;
7739
+ readonly message: "Request payload exceeds the supported limit";
7740
+ readonly data: z.ZodObject<{
7741
+ scope: z.ZodEnum<{
7742
+ workspace_commit: "workspace_commit";
7743
+ git_workspace_memory: "git_workspace_memory";
7744
+ }>;
7745
+ limit: z.ZodNumber;
7746
+ observed: z.ZodOptional<z.ZodNumber>;
7747
+ }, _$zod_v4_core0.$strip>;
7748
+ };
7749
+ readonly IMPORT_FAILED: {
7750
+ readonly status: 502;
7751
+ readonly message: "Repo import failed";
7752
+ readonly data: z.ZodObject<{
7753
+ name: z.ZodString;
7754
+ }, _$zod_v4_core0.$strip>;
7755
+ };
7756
+ }>, Record<never, never>>;
7757
+ listInvitations: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
7758
+ orgSlug: z.ZodString;
7759
+ }, _$zod_v4_core0.$strip>, z.ZodObject<{
7760
+ items: z.ZodArray<z.ZodObject<{
7761
+ id: z.ZodString;
7762
+ organizationId: z.ZodString;
7763
+ email: z.ZodString;
7764
+ role: z.ZodUnion<[z.ZodEnum<{
7765
+ admin: "admin";
7766
+ member: "member";
7767
+ }>, z.ZodLiteral<"owner">]>;
7768
+ status: z.ZodString;
7769
+ inviterId: z.ZodString;
7770
+ expiresAt: z.ZodNumber;
7771
+ createdAt: z.ZodNumber;
7772
+ }, _$zod_v4_core0.$strip>>;
7773
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
7774
+ readonly BAD_REQUEST: {
7775
+ readonly status: 400;
7776
+ readonly message: "Bad request";
7777
+ readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
7778
+ };
7779
+ readonly UNAUTHENTICATED: {
7780
+ readonly status: 401;
7781
+ readonly message: "Sign in required";
7782
+ readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
7783
+ };
7784
+ readonly TOO_MANY_REQUESTS: {
7785
+ readonly status: 429;
7786
+ readonly message: "Too many requests";
7787
+ readonly data: z.ZodOptional<z.ZodObject<{
7788
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
7789
+ }, _$zod_v4_core0.$strip>>;
7790
+ };
7791
+ readonly FORBIDDEN: {
7792
+ readonly status: 403;
7793
+ readonly message: "You do not have access to this resource";
7794
+ readonly data: z.ZodOptional<z.ZodObject<{
7795
+ reason: z.ZodOptional<z.ZodEnum<{
7796
+ not_a_member: "not_a_member";
7797
+ insufficient_role: "insufficient_role";
7798
+ scope_missing: "scope_missing";
7799
+ }>>;
7800
+ }, _$zod_v4_core0.$strip>>;
7801
+ };
7802
+ readonly INVITATION_NOT_FOUND: {
7803
+ readonly status: 404;
7804
+ readonly message: "Invitation not found";
7805
+ readonly data: z.ZodObject<{
7806
+ invitationId: z.ZodString;
7807
+ }, _$zod_v4_core0.$strip>;
7808
+ };
7809
+ readonly KEY_NOT_FOUND: {
7810
+ readonly status: 404;
7811
+ readonly message: "API key not found";
7812
+ readonly data: z.ZodObject<{
7813
+ id: z.ZodString;
7814
+ }, _$zod_v4_core0.$strip>;
7815
+ };
7052
7816
  readonly REPO_NOT_FOUND: {
7053
7817
  readonly status: 404;
7054
7818
  readonly message: "Repo not found";
@@ -7189,6 +7953,13 @@ declare const contract: {
7189
7953
  readonly message: "Sign in required";
7190
7954
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
7191
7955
  };
7956
+ readonly TOO_MANY_REQUESTS: {
7957
+ readonly status: 429;
7958
+ readonly message: "Too many requests";
7959
+ readonly data: z.ZodOptional<z.ZodObject<{
7960
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
7961
+ }, _$zod_v4_core0.$strip>>;
7962
+ };
7192
7963
  readonly FORBIDDEN: {
7193
7964
  readonly status: 403;
7194
7965
  readonly message: "You do not have access to this resource";
@@ -7207,6 +7978,13 @@ declare const contract: {
7207
7978
  invitationId: z.ZodString;
7208
7979
  }, _$zod_v4_core0.$strip>;
7209
7980
  };
7981
+ readonly KEY_NOT_FOUND: {
7982
+ readonly status: 404;
7983
+ readonly message: "API key not found";
7984
+ readonly data: z.ZodObject<{
7985
+ id: z.ZodString;
7986
+ }, _$zod_v4_core0.$strip>;
7987
+ };
7210
7988
  readonly REPO_NOT_FOUND: {
7211
7989
  readonly status: 404;
7212
7990
  readonly message: "Repo not found";
@@ -7334,6 +8112,13 @@ declare const contract: {
7334
8112
  readonly message: "Sign in required";
7335
8113
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
7336
8114
  };
8115
+ readonly TOO_MANY_REQUESTS: {
8116
+ readonly status: 429;
8117
+ readonly message: "Too many requests";
8118
+ readonly data: z.ZodOptional<z.ZodObject<{
8119
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
8120
+ }, _$zod_v4_core0.$strip>>;
8121
+ };
7337
8122
  readonly FORBIDDEN: {
7338
8123
  readonly status: 403;
7339
8124
  readonly message: "You do not have access to this resource";
@@ -7352,6 +8137,13 @@ declare const contract: {
7352
8137
  invitationId: z.ZodString;
7353
8138
  }, _$zod_v4_core0.$strip>;
7354
8139
  };
8140
+ readonly KEY_NOT_FOUND: {
8141
+ readonly status: 404;
8142
+ readonly message: "API key not found";
8143
+ readonly data: z.ZodObject<{
8144
+ id: z.ZodString;
8145
+ }, _$zod_v4_core0.$strip>;
8146
+ };
7355
8147
  readonly REPO_NOT_FOUND: {
7356
8148
  readonly status: 404;
7357
8149
  readonly message: "Repo not found";
@@ -7493,6 +8285,13 @@ declare const contract: {
7493
8285
  readonly message: "Sign in required";
7494
8286
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
7495
8287
  };
8288
+ readonly TOO_MANY_REQUESTS: {
8289
+ readonly status: 429;
8290
+ readonly message: "Too many requests";
8291
+ readonly data: z.ZodOptional<z.ZodObject<{
8292
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
8293
+ }, _$zod_v4_core0.$strip>>;
8294
+ };
7496
8295
  readonly FORBIDDEN: {
7497
8296
  readonly status: 403;
7498
8297
  readonly message: "You do not have access to this resource";
@@ -7511,6 +8310,13 @@ declare const contract: {
7511
8310
  invitationId: z.ZodString;
7512
8311
  }, _$zod_v4_core0.$strip>;
7513
8312
  };
8313
+ readonly KEY_NOT_FOUND: {
8314
+ readonly status: 404;
8315
+ readonly message: "API key not found";
8316
+ readonly data: z.ZodObject<{
8317
+ id: z.ZodString;
8318
+ }, _$zod_v4_core0.$strip>;
8319
+ };
7514
8320
  readonly REPO_NOT_FOUND: {
7515
8321
  readonly status: 404;
7516
8322
  readonly message: "Repo not found";
@@ -7637,6 +8443,13 @@ declare const contract: {
7637
8443
  readonly message: "Sign in required";
7638
8444
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
7639
8445
  };
8446
+ readonly TOO_MANY_REQUESTS: {
8447
+ readonly status: 429;
8448
+ readonly message: "Too many requests";
8449
+ readonly data: z.ZodOptional<z.ZodObject<{
8450
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
8451
+ }, _$zod_v4_core0.$strip>>;
8452
+ };
7640
8453
  readonly FORBIDDEN: {
7641
8454
  readonly status: 403;
7642
8455
  readonly message: "You do not have access to this resource";
@@ -7655,6 +8468,13 @@ declare const contract: {
7655
8468
  invitationId: z.ZodString;
7656
8469
  }, _$zod_v4_core0.$strip>;
7657
8470
  };
8471
+ readonly KEY_NOT_FOUND: {
8472
+ readonly status: 404;
8473
+ readonly message: "API key not found";
8474
+ readonly data: z.ZodObject<{
8475
+ id: z.ZodString;
8476
+ }, _$zod_v4_core0.$strip>;
8477
+ };
7658
8478
  readonly REPO_NOT_FOUND: {
7659
8479
  readonly status: 404;
7660
8480
  readonly message: "Repo not found";
@@ -7782,6 +8602,13 @@ declare const contract: {
7782
8602
  readonly message: "Sign in required";
7783
8603
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
7784
8604
  };
8605
+ readonly TOO_MANY_REQUESTS: {
8606
+ readonly status: 429;
8607
+ readonly message: "Too many requests";
8608
+ readonly data: z.ZodOptional<z.ZodObject<{
8609
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
8610
+ }, _$zod_v4_core0.$strip>>;
8611
+ };
7785
8612
  readonly FORBIDDEN: {
7786
8613
  readonly status: 403;
7787
8614
  readonly message: "You do not have access to this resource";
@@ -7800,6 +8627,13 @@ declare const contract: {
7800
8627
  invitationId: z.ZodString;
7801
8628
  }, _$zod_v4_core0.$strip>;
7802
8629
  };
8630
+ readonly KEY_NOT_FOUND: {
8631
+ readonly status: 404;
8632
+ readonly message: "API key not found";
8633
+ readonly data: z.ZodObject<{
8634
+ id: z.ZodString;
8635
+ }, _$zod_v4_core0.$strip>;
8636
+ };
7803
8637
  readonly REPO_NOT_FOUND: {
7804
8638
  readonly status: 404;
7805
8639
  readonly message: "Repo not found";
@@ -7926,6 +8760,13 @@ declare const contract: {
7926
8760
  readonly message: "Sign in required";
7927
8761
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
7928
8762
  };
8763
+ readonly TOO_MANY_REQUESTS: {
8764
+ readonly status: 429;
8765
+ readonly message: "Too many requests";
8766
+ readonly data: z.ZodOptional<z.ZodObject<{
8767
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
8768
+ }, _$zod_v4_core0.$strip>>;
8769
+ };
7929
8770
  readonly FORBIDDEN: {
7930
8771
  readonly status: 403;
7931
8772
  readonly message: "You do not have access to this resource";
@@ -7944,6 +8785,13 @@ declare const contract: {
7944
8785
  invitationId: z.ZodString;
7945
8786
  }, _$zod_v4_core0.$strip>;
7946
8787
  };
8788
+ readonly KEY_NOT_FOUND: {
8789
+ readonly status: 404;
8790
+ readonly message: "API key not found";
8791
+ readonly data: z.ZodObject<{
8792
+ id: z.ZodString;
8793
+ }, _$zod_v4_core0.$strip>;
8794
+ };
7947
8795
  readonly REPO_NOT_FOUND: {
7948
8796
  readonly status: 404;
7949
8797
  readonly message: "Repo not found";
@@ -8058,7 +8906,7 @@ declare const contract: {
8058
8906
  };
8059
8907
  repos: {
8060
8908
  create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8061
- orgSlug: z.ZodOptional<z.ZodString>;
8909
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
8062
8910
  name: z.ZodString;
8063
8911
  description: z.ZodOptional<z.ZodString>;
8064
8912
  defaultBranch: z.ZodDefault<z.ZodString>;
@@ -8077,6 +8925,7 @@ declare const contract: {
8077
8925
  createdAt: z.ZodNumber;
8078
8926
  updatedAt: z.ZodNumber;
8079
8927
  token: z.ZodString;
8928
+ tokenScope: z.ZodLiteral<"read">;
8080
8929
  tokenExpiresAt: z.ZodString;
8081
8930
  }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
8082
8931
  readonly BAD_REQUEST: {
@@ -8089,6 +8938,13 @@ declare const contract: {
8089
8938
  readonly message: "Sign in required";
8090
8939
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
8091
8940
  };
8941
+ readonly TOO_MANY_REQUESTS: {
8942
+ readonly status: 429;
8943
+ readonly message: "Too many requests";
8944
+ readonly data: z.ZodOptional<z.ZodObject<{
8945
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
8946
+ }, _$zod_v4_core0.$strip>>;
8947
+ };
8092
8948
  readonly FORBIDDEN: {
8093
8949
  readonly status: 403;
8094
8950
  readonly message: "You do not have access to this resource";
@@ -8107,6 +8963,13 @@ declare const contract: {
8107
8963
  invitationId: z.ZodString;
8108
8964
  }, _$zod_v4_core0.$strip>;
8109
8965
  };
8966
+ readonly KEY_NOT_FOUND: {
8967
+ readonly status: 404;
8968
+ readonly message: "API key not found";
8969
+ readonly data: z.ZodObject<{
8970
+ id: z.ZodString;
8971
+ }, _$zod_v4_core0.$strip>;
8972
+ };
8110
8973
  readonly REPO_NOT_FOUND: {
8111
8974
  readonly status: 404;
8112
8975
  readonly message: "Repo not found";
@@ -8219,7 +9082,7 @@ declare const contract: {
8219
9082
  };
8220
9083
  }>, Record<never, never>>;
8221
9084
  importFromGitHub: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8222
- orgSlug: z.ZodOptional<z.ZodString>;
9085
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
8223
9086
  name: z.ZodString;
8224
9087
  description: z.ZodOptional<z.ZodString>;
8225
9088
  defaultBranch: z.ZodDefault<z.ZodString>;
@@ -8239,6 +9102,7 @@ declare const contract: {
8239
9102
  createdAt: z.ZodNumber;
8240
9103
  updatedAt: z.ZodNumber;
8241
9104
  token: z.ZodString;
9105
+ tokenScope: z.ZodLiteral<"read">;
8242
9106
  tokenExpiresAt: z.ZodString;
8243
9107
  }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
8244
9108
  readonly BAD_REQUEST: {
@@ -8251,6 +9115,13 @@ declare const contract: {
8251
9115
  readonly message: "Sign in required";
8252
9116
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
8253
9117
  };
9118
+ readonly TOO_MANY_REQUESTS: {
9119
+ readonly status: 429;
9120
+ readonly message: "Too many requests";
9121
+ readonly data: z.ZodOptional<z.ZodObject<{
9122
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
9123
+ }, _$zod_v4_core0.$strip>>;
9124
+ };
8254
9125
  readonly FORBIDDEN: {
8255
9126
  readonly status: 403;
8256
9127
  readonly message: "You do not have access to this resource";
@@ -8269,6 +9140,13 @@ declare const contract: {
8269
9140
  invitationId: z.ZodString;
8270
9141
  }, _$zod_v4_core0.$strip>;
8271
9142
  };
9143
+ readonly KEY_NOT_FOUND: {
9144
+ readonly status: 404;
9145
+ readonly message: "API key not found";
9146
+ readonly data: z.ZodObject<{
9147
+ id: z.ZodString;
9148
+ }, _$zod_v4_core0.$strip>;
9149
+ };
8272
9150
  readonly REPO_NOT_FOUND: {
8273
9151
  readonly status: 404;
8274
9152
  readonly message: "Repo not found";
@@ -8381,7 +9259,7 @@ declare const contract: {
8381
9259
  };
8382
9260
  }>, Record<never, never>>;
8383
9261
  ensure: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8384
- orgSlug: z.ZodOptional<z.ZodString>;
9262
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
8385
9263
  name: z.ZodString;
8386
9264
  description: z.ZodOptional<z.ZodString>;
8387
9265
  defaultBranch: z.ZodDefault<z.ZodString>;
@@ -8413,6 +9291,13 @@ declare const contract: {
8413
9291
  readonly message: "Sign in required";
8414
9292
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
8415
9293
  };
9294
+ readonly TOO_MANY_REQUESTS: {
9295
+ readonly status: 429;
9296
+ readonly message: "Too many requests";
9297
+ readonly data: z.ZodOptional<z.ZodObject<{
9298
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
9299
+ }, _$zod_v4_core0.$strip>>;
9300
+ };
8416
9301
  readonly FORBIDDEN: {
8417
9302
  readonly status: 403;
8418
9303
  readonly message: "You do not have access to this resource";
@@ -8431,6 +9316,13 @@ declare const contract: {
8431
9316
  invitationId: z.ZodString;
8432
9317
  }, _$zod_v4_core0.$strip>;
8433
9318
  };
9319
+ readonly KEY_NOT_FOUND: {
9320
+ readonly status: 404;
9321
+ readonly message: "API key not found";
9322
+ readonly data: z.ZodObject<{
9323
+ id: z.ZodString;
9324
+ }, _$zod_v4_core0.$strip>;
9325
+ };
8434
9326
  readonly REPO_NOT_FOUND: {
8435
9327
  readonly status: 404;
8436
9328
  readonly message: "Repo not found";
@@ -8543,7 +9435,7 @@ declare const contract: {
8543
9435
  };
8544
9436
  }>, Record<never, never>>;
8545
9437
  get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8546
- orgSlug: z.ZodOptional<z.ZodString>;
9438
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
8547
9439
  name: z.ZodString;
8548
9440
  }, _$zod_v4_core0.$strip>, z.ZodObject<{
8549
9441
  orgId: z.ZodString;
@@ -8570,6 +9462,13 @@ declare const contract: {
8570
9462
  readonly message: "Sign in required";
8571
9463
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
8572
9464
  };
9465
+ readonly TOO_MANY_REQUESTS: {
9466
+ readonly status: 429;
9467
+ readonly message: "Too many requests";
9468
+ readonly data: z.ZodOptional<z.ZodObject<{
9469
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
9470
+ }, _$zod_v4_core0.$strip>>;
9471
+ };
8573
9472
  readonly FORBIDDEN: {
8574
9473
  readonly status: 403;
8575
9474
  readonly message: "You do not have access to this resource";
@@ -8588,6 +9487,13 @@ declare const contract: {
8588
9487
  invitationId: z.ZodString;
8589
9488
  }, _$zod_v4_core0.$strip>;
8590
9489
  };
9490
+ readonly KEY_NOT_FOUND: {
9491
+ readonly status: 404;
9492
+ readonly message: "API key not found";
9493
+ readonly data: z.ZodObject<{
9494
+ id: z.ZodString;
9495
+ }, _$zod_v4_core0.$strip>;
9496
+ };
8591
9497
  readonly REPO_NOT_FOUND: {
8592
9498
  readonly status: 404;
8593
9499
  readonly message: "Repo not found";
@@ -8700,7 +9606,7 @@ declare const contract: {
8700
9606
  };
8701
9607
  }>, Record<never, never>>;
8702
9608
  list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8703
- orgSlug: z.ZodOptional<z.ZodString>;
9609
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
8704
9610
  cursor: z.ZodOptional<z.ZodString>;
8705
9611
  limit: z.ZodDefault<z.ZodNumber>;
8706
9612
  }, _$zod_v4_core0.$strip>, z.ZodObject<{
@@ -8731,6 +9637,13 @@ declare const contract: {
8731
9637
  readonly message: "Sign in required";
8732
9638
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
8733
9639
  };
9640
+ readonly TOO_MANY_REQUESTS: {
9641
+ readonly status: 429;
9642
+ readonly message: "Too many requests";
9643
+ readonly data: z.ZodOptional<z.ZodObject<{
9644
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
9645
+ }, _$zod_v4_core0.$strip>>;
9646
+ };
8734
9647
  readonly FORBIDDEN: {
8735
9648
  readonly status: 403;
8736
9649
  readonly message: "You do not have access to this resource";
@@ -8749,6 +9662,13 @@ declare const contract: {
8749
9662
  invitationId: z.ZodString;
8750
9663
  }, _$zod_v4_core0.$strip>;
8751
9664
  };
9665
+ readonly KEY_NOT_FOUND: {
9666
+ readonly status: 404;
9667
+ readonly message: "API key not found";
9668
+ readonly data: z.ZodObject<{
9669
+ id: z.ZodString;
9670
+ }, _$zod_v4_core0.$strip>;
9671
+ };
8752
9672
  readonly REPO_NOT_FOUND: {
8753
9673
  readonly status: 404;
8754
9674
  readonly message: "Repo not found";
@@ -8861,7 +9781,7 @@ declare const contract: {
8861
9781
  };
8862
9782
  }>, Record<never, never>>;
8863
9783
  update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8864
- orgSlug: z.ZodOptional<z.ZodString>;
9784
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
8865
9785
  name: z.ZodString;
8866
9786
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8867
9787
  defaultBranch: z.ZodOptional<z.ZodString>;
@@ -8890,6 +9810,13 @@ declare const contract: {
8890
9810
  readonly message: "Sign in required";
8891
9811
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
8892
9812
  };
9813
+ readonly TOO_MANY_REQUESTS: {
9814
+ readonly status: 429;
9815
+ readonly message: "Too many requests";
9816
+ readonly data: z.ZodOptional<z.ZodObject<{
9817
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
9818
+ }, _$zod_v4_core0.$strip>>;
9819
+ };
8893
9820
  readonly FORBIDDEN: {
8894
9821
  readonly status: 403;
8895
9822
  readonly message: "You do not have access to this resource";
@@ -8908,6 +9835,13 @@ declare const contract: {
8908
9835
  invitationId: z.ZodString;
8909
9836
  }, _$zod_v4_core0.$strip>;
8910
9837
  };
9838
+ readonly KEY_NOT_FOUND: {
9839
+ readonly status: 404;
9840
+ readonly message: "API key not found";
9841
+ readonly data: z.ZodObject<{
9842
+ id: z.ZodString;
9843
+ }, _$zod_v4_core0.$strip>;
9844
+ };
8911
9845
  readonly REPO_NOT_FOUND: {
8912
9846
  readonly status: 404;
8913
9847
  readonly message: "Repo not found";
@@ -9020,7 +9954,7 @@ declare const contract: {
9020
9954
  };
9021
9955
  }>, Record<never, never>>;
9022
9956
  delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
9023
- orgSlug: z.ZodOptional<z.ZodString>;
9957
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
9024
9958
  name: z.ZodString;
9025
9959
  }, _$zod_v4_core0.$strip>, z.ZodObject<{
9026
9960
  deleted: z.ZodLiteral<true>;
@@ -9035,6 +9969,13 @@ declare const contract: {
9035
9969
  readonly message: "Sign in required";
9036
9970
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
9037
9971
  };
9972
+ readonly TOO_MANY_REQUESTS: {
9973
+ readonly status: 429;
9974
+ readonly message: "Too many requests";
9975
+ readonly data: z.ZodOptional<z.ZodObject<{
9976
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
9977
+ }, _$zod_v4_core0.$strip>>;
9978
+ };
9038
9979
  readonly FORBIDDEN: {
9039
9980
  readonly status: 403;
9040
9981
  readonly message: "You do not have access to this resource";
@@ -9053,6 +9994,13 @@ declare const contract: {
9053
9994
  invitationId: z.ZodString;
9054
9995
  }, _$zod_v4_core0.$strip>;
9055
9996
  };
9997
+ readonly KEY_NOT_FOUND: {
9998
+ readonly status: 404;
9999
+ readonly message: "API key not found";
10000
+ readonly data: z.ZodObject<{
10001
+ id: z.ZodString;
10002
+ }, _$zod_v4_core0.$strip>;
10003
+ };
9056
10004
  readonly REPO_NOT_FOUND: {
9057
10005
  readonly status: 404;
9058
10006
  readonly message: "Repo not found";
@@ -9167,7 +10115,7 @@ declare const contract: {
9167
10115
  };
9168
10116
  tokens: {
9169
10117
  mint: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
9170
- orgSlug: z.ZodOptional<z.ZodString>;
10118
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
9171
10119
  name: z.ZodString;
9172
10120
  scope: z.ZodEnum<{
9173
10121
  read: "read";
@@ -9201,6 +10149,13 @@ declare const contract: {
9201
10149
  readonly message: "Sign in required";
9202
10150
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
9203
10151
  };
10152
+ readonly TOO_MANY_REQUESTS: {
10153
+ readonly status: 429;
10154
+ readonly message: "Too many requests";
10155
+ readonly data: z.ZodOptional<z.ZodObject<{
10156
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
10157
+ }, _$zod_v4_core0.$strip>>;
10158
+ };
9204
10159
  readonly FORBIDDEN: {
9205
10160
  readonly status: 403;
9206
10161
  readonly message: "You do not have access to this resource";
@@ -9219,6 +10174,13 @@ declare const contract: {
9219
10174
  invitationId: z.ZodString;
9220
10175
  }, _$zod_v4_core0.$strip>;
9221
10176
  };
10177
+ readonly KEY_NOT_FOUND: {
10178
+ readonly status: 404;
10179
+ readonly message: "API key not found";
10180
+ readonly data: z.ZodObject<{
10181
+ id: z.ZodString;
10182
+ }, _$zod_v4_core0.$strip>;
10183
+ };
9222
10184
  readonly REPO_NOT_FOUND: {
9223
10185
  readonly status: 404;
9224
10186
  readonly message: "Repo not found";
@@ -9362,6 +10324,13 @@ declare const contract: {
9362
10324
  readonly message: "Sign in required";
9363
10325
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
9364
10326
  };
10327
+ readonly TOO_MANY_REQUESTS: {
10328
+ readonly status: 429;
10329
+ readonly message: "Too many requests";
10330
+ readonly data: z.ZodOptional<z.ZodObject<{
10331
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
10332
+ }, _$zod_v4_core0.$strip>>;
10333
+ };
9365
10334
  readonly FORBIDDEN: {
9366
10335
  readonly status: 403;
9367
10336
  readonly message: "You do not have access to this resource";
@@ -9380,6 +10349,13 @@ declare const contract: {
9380
10349
  invitationId: z.ZodString;
9381
10350
  }, _$zod_v4_core0.$strip>;
9382
10351
  };
10352
+ readonly KEY_NOT_FOUND: {
10353
+ readonly status: 404;
10354
+ readonly message: "API key not found";
10355
+ readonly data: z.ZodObject<{
10356
+ id: z.ZodString;
10357
+ }, _$zod_v4_core0.$strip>;
10358
+ };
9383
10359
  readonly REPO_NOT_FOUND: {
9384
10360
  readonly status: 404;
9385
10361
  readonly message: "Repo not found";
@@ -9492,7 +10468,7 @@ declare const contract: {
9492
10468
  };
9493
10469
  }>, Record<never, never>>;
9494
10470
  list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
9495
- orgSlug: z.ZodOptional<z.ZodString>;
10471
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
9496
10472
  name: z.ZodString;
9497
10473
  }, _$zod_v4_core0.$strip>, z.ZodObject<{
9498
10474
  items: z.ZodArray<z.ZodObject<{
@@ -9521,6 +10497,13 @@ declare const contract: {
9521
10497
  readonly message: "Sign in required";
9522
10498
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
9523
10499
  };
10500
+ readonly TOO_MANY_REQUESTS: {
10501
+ readonly status: 429;
10502
+ readonly message: "Too many requests";
10503
+ readonly data: z.ZodOptional<z.ZodObject<{
10504
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
10505
+ }, _$zod_v4_core0.$strip>>;
10506
+ };
9524
10507
  readonly FORBIDDEN: {
9525
10508
  readonly status: 403;
9526
10509
  readonly message: "You do not have access to this resource";
@@ -9539,6 +10522,13 @@ declare const contract: {
9539
10522
  invitationId: z.ZodString;
9540
10523
  }, _$zod_v4_core0.$strip>;
9541
10524
  };
10525
+ readonly KEY_NOT_FOUND: {
10526
+ readonly status: 404;
10527
+ readonly message: "API key not found";
10528
+ readonly data: z.ZodObject<{
10529
+ id: z.ZodString;
10530
+ }, _$zod_v4_core0.$strip>;
10531
+ };
9542
10532
  readonly REPO_NOT_FOUND: {
9543
10533
  readonly status: 404;
9544
10534
  readonly message: "Repo not found";
@@ -9651,7 +10641,7 @@ declare const contract: {
9651
10641
  };
9652
10642
  }>, Record<never, never>>;
9653
10643
  revoke: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
9654
- orgSlug: z.ZodOptional<z.ZodString>;
10644
+ orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
9655
10645
  name: z.ZodString;
9656
10646
  id: z.ZodString;
9657
10647
  }, _$zod_v4_core0.$strip>, z.ZodObject<{
@@ -9667,6 +10657,13 @@ declare const contract: {
9667
10657
  readonly message: "Sign in required";
9668
10658
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
9669
10659
  };
10660
+ readonly TOO_MANY_REQUESTS: {
10661
+ readonly status: 429;
10662
+ readonly message: "Too many requests";
10663
+ readonly data: z.ZodOptional<z.ZodObject<{
10664
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
10665
+ }, _$zod_v4_core0.$strip>>;
10666
+ };
9670
10667
  readonly FORBIDDEN: {
9671
10668
  readonly status: 403;
9672
10669
  readonly message: "You do not have access to this resource";
@@ -9685,6 +10682,13 @@ declare const contract: {
9685
10682
  invitationId: z.ZodString;
9686
10683
  }, _$zod_v4_core0.$strip>;
9687
10684
  };
10685
+ readonly KEY_NOT_FOUND: {
10686
+ readonly status: 404;
10687
+ readonly message: "API key not found";
10688
+ readonly data: z.ZodObject<{
10689
+ id: z.ZodString;
10690
+ }, _$zod_v4_core0.$strip>;
10691
+ };
9688
10692
  readonly REPO_NOT_FOUND: {
9689
10693
  readonly status: 404;
9690
10694
  readonly message: "Repo not found";
@@ -9821,6 +10825,13 @@ declare const contract: {
9821
10825
  readonly message: "Sign in required";
9822
10826
  readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
9823
10827
  };
10828
+ readonly TOO_MANY_REQUESTS: {
10829
+ readonly status: 429;
10830
+ readonly message: "Too many requests";
10831
+ readonly data: z.ZodOptional<z.ZodObject<{
10832
+ retryAfterMs: z.ZodOptional<z.ZodNumber>;
10833
+ }, _$zod_v4_core0.$strip>>;
10834
+ };
9824
10835
  readonly FORBIDDEN: {
9825
10836
  readonly status: 403;
9826
10837
  readonly message: "You do not have access to this resource";
@@ -9839,6 +10850,13 @@ declare const contract: {
9839
10850
  invitationId: z.ZodString;
9840
10851
  }, _$zod_v4_core0.$strip>;
9841
10852
  };
10853
+ readonly KEY_NOT_FOUND: {
10854
+ readonly status: 404;
10855
+ readonly message: "API key not found";
10856
+ readonly data: z.ZodObject<{
10857
+ id: z.ZodString;
10858
+ }, _$zod_v4_core0.$strip>;
10859
+ };
9842
10860
  readonly REPO_NOT_FOUND: {
9843
10861
  readonly status: 404;
9844
10862
  readonly message: "Repo not found";
@@ -9954,4 +10972,4 @@ declare const contract: {
9954
10972
  };
9955
10973
  type Contract = typeof contract;
9956
10974
  //#endregion
9957
- export { ANON_ID_STORE_VERSION, type AnonIdRecord, type AnonRepoCreateInput, type AnonRepoCreateOutput, type AnonRepoListInput, type AnonRepoListOutput, type AnonRepoView, type AnonTokenMintForGitRemoteInput, type ApiKeyCreateInput, type ApiKeyCreateOutput, type ApiKeyDeleteInput, type ApiKeyDeleteOutput, type ApiKeyListOutput, type ApiKeyView, type CommonErrorMap, type CompareView, Contract, type DiffFile, type DiffView, type GitBlob, type GitCommit, type GitRef, type GitTreeEntry, type InvitationView, type MeView, type MemberRole, type MemberView, type OrgCreateInput, type OrgListOutput, type OrgView, type RepoCreateInput, type RepoCreateOutput, type RepoDeleteOutput, type RepoEnsureInput, type RepoEnsureOutput, type RepoImportInput, type RepoListInput, type RepoListOutput, type RepoUpdateInput, type RepoView, type Scope, type Signature, type TokenListInput, type TokenListOutput, type TokenMintForGitRemoteInput, type TokenMintInput, type TokenMintOutput, type TokenRevokeInput, type TokenRevokeOutput, type TokenValidateInput, type TokenValidateOutput, type TokenView, anonRepoSchema, apiKeyViewSchema, commonErrors, compareViewSchema, contract, diffFileSchema, diffViewSchema, gitBlobSchema, gitCommitSchema, gitRefSchema, gitTreeEntrySchema, invitationViewSchema, meViewSchema, memberRoleSchema, memberViewSchema, mutableMemberRoleSchema, orgSlugHint, orgSlugSchema, orgViewSchema, parseAnonIdFile, parseRepoName, repoNameHint, repoNameSchema, repoSchema, scopeSchema, serializeAnonIdRecord, tokenScopeSchema, tokenViewSchema };
10975
+ export { ANON_ID_STORE_VERSION, type AnonIdRecord, type AnonRepoCreateInput, type AnonRepoCreateOutput, type AnonRepoListInput, type AnonRepoListOutput, type AnonRepoView, type AnonTokenMintForGitRemoteInput, type ApiKeyCreateInput, type ApiKeyCreateOutput, type ApiKeyDeleteInput, type ApiKeyDeleteOutput, type ApiKeyListOutput, type ApiKeyView, CLONE_TOKEN_SCOPE, type CommonErrorMap, type CompareView, Contract, type DiffFile, type DiffView, type GitBlob, type GitCommit, type GitRef, type GitTreeEntry, type InvitationListItem, type InvitationView, type MeView, type MemberRole, type MemberView, type OrgCreateInput, type OrgListOutput, type OrgView, PERSONAL_ORG_SLUG, type RepoCreateInput, type RepoCreateOutput, type RepoDeleteOutput, type RepoEnsureInput, type RepoEnsureOutput, type RepoImportInput, type RepoListInput, type RepoListOutput, type RepoUpdateInput, type RepoView, type Scope, type Signature, type TokenListInput, type TokenListOutput, type TokenMintForGitRemoteInput, type TokenMintInput, type TokenMintOutput, type TokenRevokeInput, type TokenRevokeOutput, type TokenValidateInput, type TokenValidateOutput, type TokenView, anonRepoSchema, apiKeyViewSchema, commonErrors, compareViewSchema, contract, cursorSchema, diffFileSchema, diffViewSchema, gitBlobSchema, gitCommitSchema, gitRefSchema, gitTreeEntrySchema, invitationListItemSchema, invitationViewSchema, meViewSchema, memberRoleSchema, memberViewSchema, mutableMemberRoleSchema, orgSlugHint, orgSlugSchema, orgViewSchema, parseAnonIdFile, parseRepoName, repoNameHint, repoNameSchema, repoSchema, scopeSchema, serializeAnonIdRecord, tokenScopeSchema, tokenViewSchema };