@repome/api 0.1.5 → 0.1.7
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 +552 -58
- package/dist/index.mjs +6 -1
- package/package.json +23 -1
package/dist/index.d.mts
CHANGED
|
@@ -26,7 +26,13 @@ declare const commonErrors: {
|
|
|
26
26
|
readonly FORBIDDEN: {
|
|
27
27
|
readonly status: 403;
|
|
28
28
|
readonly message: "You do not have access to this resource";
|
|
29
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
29
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
30
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
31
|
+
not_a_member: "not_a_member";
|
|
32
|
+
insufficient_role: "insufficient_role";
|
|
33
|
+
scope_missing: "scope_missing";
|
|
34
|
+
}>>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
30
36
|
};
|
|
31
37
|
readonly INVITATION_NOT_FOUND: {
|
|
32
38
|
readonly status: 404;
|
|
@@ -545,6 +551,7 @@ declare const invitationViewSchema: z.ZodObject<{
|
|
|
545
551
|
}, z.core.$strip>;
|
|
546
552
|
type MemberRole = z.output<typeof memberRoleSchema>;
|
|
547
553
|
type MemberView = z.output<typeof memberViewSchema>;
|
|
554
|
+
type InvitationView = z.output<typeof invitationViewSchema>;
|
|
548
555
|
//#endregion
|
|
549
556
|
//#region src/orgs.d.ts
|
|
550
557
|
declare const orgSlugHint = "Lowercase, alphanumeric, - only.";
|
|
@@ -840,7 +847,13 @@ declare const contract: {
|
|
|
840
847
|
readonly FORBIDDEN: {
|
|
841
848
|
readonly status: 403;
|
|
842
849
|
readonly message: "You do not have access to this resource";
|
|
843
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
850
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
851
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
852
|
+
not_a_member: "not_a_member";
|
|
853
|
+
insufficient_role: "insufficient_role";
|
|
854
|
+
scope_missing: "scope_missing";
|
|
855
|
+
}>>;
|
|
856
|
+
}, _$zod_v4_core0.$strip>>;
|
|
844
857
|
};
|
|
845
858
|
readonly INVITATION_NOT_FOUND: {
|
|
846
859
|
readonly status: 404;
|
|
@@ -992,7 +1005,13 @@ declare const contract: {
|
|
|
992
1005
|
readonly FORBIDDEN: {
|
|
993
1006
|
readonly status: 403;
|
|
994
1007
|
readonly message: "You do not have access to this resource";
|
|
995
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1008
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1009
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
1010
|
+
not_a_member: "not_a_member";
|
|
1011
|
+
insufficient_role: "insufficient_role";
|
|
1012
|
+
scope_missing: "scope_missing";
|
|
1013
|
+
}>>;
|
|
1014
|
+
}, _$zod_v4_core0.$strip>>;
|
|
996
1015
|
};
|
|
997
1016
|
readonly INVITATION_NOT_FOUND: {
|
|
998
1017
|
readonly status: 404;
|
|
@@ -1148,7 +1167,13 @@ declare const contract: {
|
|
|
1148
1167
|
readonly FORBIDDEN: {
|
|
1149
1168
|
readonly status: 403;
|
|
1150
1169
|
readonly message: "You do not have access to this resource";
|
|
1151
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1170
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1171
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
1172
|
+
not_a_member: "not_a_member";
|
|
1173
|
+
insufficient_role: "insufficient_role";
|
|
1174
|
+
scope_missing: "scope_missing";
|
|
1175
|
+
}>>;
|
|
1176
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1152
1177
|
};
|
|
1153
1178
|
readonly INVITATION_NOT_FOUND: {
|
|
1154
1179
|
readonly status: 404;
|
|
@@ -1286,7 +1311,13 @@ declare const contract: {
|
|
|
1286
1311
|
readonly FORBIDDEN: {
|
|
1287
1312
|
readonly status: 403;
|
|
1288
1313
|
readonly message: "You do not have access to this resource";
|
|
1289
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1314
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1315
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
1316
|
+
not_a_member: "not_a_member";
|
|
1317
|
+
insufficient_role: "insufficient_role";
|
|
1318
|
+
scope_missing: "scope_missing";
|
|
1319
|
+
}>>;
|
|
1320
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1290
1321
|
};
|
|
1291
1322
|
readonly INVITATION_NOT_FOUND: {
|
|
1292
1323
|
readonly status: 404;
|
|
@@ -1443,7 +1474,13 @@ declare const contract: {
|
|
|
1443
1474
|
readonly FORBIDDEN: {
|
|
1444
1475
|
readonly status: 403;
|
|
1445
1476
|
readonly message: "You do not have access to this resource";
|
|
1446
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1477
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1478
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
1479
|
+
not_a_member: "not_a_member";
|
|
1480
|
+
insufficient_role: "insufficient_role";
|
|
1481
|
+
scope_missing: "scope_missing";
|
|
1482
|
+
}>>;
|
|
1483
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1447
1484
|
};
|
|
1448
1485
|
readonly INVITATION_NOT_FOUND: {
|
|
1449
1486
|
readonly status: 404;
|
|
@@ -1596,7 +1633,13 @@ declare const contract: {
|
|
|
1596
1633
|
readonly FORBIDDEN: {
|
|
1597
1634
|
readonly status: 403;
|
|
1598
1635
|
readonly message: "You do not have access to this resource";
|
|
1599
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1636
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1637
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
1638
|
+
not_a_member: "not_a_member";
|
|
1639
|
+
insufficient_role: "insufficient_role";
|
|
1640
|
+
scope_missing: "scope_missing";
|
|
1641
|
+
}>>;
|
|
1642
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1600
1643
|
};
|
|
1601
1644
|
readonly INVITATION_NOT_FOUND: {
|
|
1602
1645
|
readonly status: 404;
|
|
@@ -1741,7 +1784,13 @@ declare const contract: {
|
|
|
1741
1784
|
readonly FORBIDDEN: {
|
|
1742
1785
|
readonly status: 403;
|
|
1743
1786
|
readonly message: "You do not have access to this resource";
|
|
1744
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1787
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1788
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
1789
|
+
not_a_member: "not_a_member";
|
|
1790
|
+
insufficient_role: "insufficient_role";
|
|
1791
|
+
scope_missing: "scope_missing";
|
|
1792
|
+
}>>;
|
|
1793
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1745
1794
|
};
|
|
1746
1795
|
readonly INVITATION_NOT_FOUND: {
|
|
1747
1796
|
readonly status: 404;
|
|
@@ -1892,7 +1941,13 @@ declare const contract: {
|
|
|
1892
1941
|
readonly FORBIDDEN: {
|
|
1893
1942
|
readonly status: 403;
|
|
1894
1943
|
readonly message: "You do not have access to this resource";
|
|
1895
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1944
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1945
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
1946
|
+
not_a_member: "not_a_member";
|
|
1947
|
+
insufficient_role: "insufficient_role";
|
|
1948
|
+
scope_missing: "scope_missing";
|
|
1949
|
+
}>>;
|
|
1950
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1896
1951
|
};
|
|
1897
1952
|
readonly INVITATION_NOT_FOUND: {
|
|
1898
1953
|
readonly status: 404;
|
|
@@ -2047,7 +2102,13 @@ declare const contract: {
|
|
|
2047
2102
|
readonly FORBIDDEN: {
|
|
2048
2103
|
readonly status: 403;
|
|
2049
2104
|
readonly message: "You do not have access to this resource";
|
|
2050
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2105
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2106
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
2107
|
+
not_a_member: "not_a_member";
|
|
2108
|
+
insufficient_role: "insufficient_role";
|
|
2109
|
+
scope_missing: "scope_missing";
|
|
2110
|
+
}>>;
|
|
2111
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2051
2112
|
};
|
|
2052
2113
|
readonly INVITATION_NOT_FOUND: {
|
|
2053
2114
|
readonly status: 404;
|
|
@@ -2195,7 +2256,13 @@ declare const contract: {
|
|
|
2195
2256
|
readonly FORBIDDEN: {
|
|
2196
2257
|
readonly status: 403;
|
|
2197
2258
|
readonly message: "You do not have access to this resource";
|
|
2198
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2259
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2260
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
2261
|
+
not_a_member: "not_a_member";
|
|
2262
|
+
insufficient_role: "insufficient_role";
|
|
2263
|
+
scope_missing: "scope_missing";
|
|
2264
|
+
}>>;
|
|
2265
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2199
2266
|
};
|
|
2200
2267
|
readonly INVITATION_NOT_FOUND: {
|
|
2201
2268
|
readonly status: 404;
|
|
@@ -2371,7 +2438,13 @@ declare const contract: {
|
|
|
2371
2438
|
readonly FORBIDDEN: {
|
|
2372
2439
|
readonly status: 403;
|
|
2373
2440
|
readonly message: "You do not have access to this resource";
|
|
2374
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2441
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2442
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
2443
|
+
not_a_member: "not_a_member";
|
|
2444
|
+
insufficient_role: "insufficient_role";
|
|
2445
|
+
scope_missing: "scope_missing";
|
|
2446
|
+
}>>;
|
|
2447
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2375
2448
|
};
|
|
2376
2449
|
readonly INVITATION_NOT_FOUND: {
|
|
2377
2450
|
readonly status: 404;
|
|
@@ -2512,7 +2585,13 @@ declare const contract: {
|
|
|
2512
2585
|
readonly FORBIDDEN: {
|
|
2513
2586
|
readonly status: 403;
|
|
2514
2587
|
readonly message: "You do not have access to this resource";
|
|
2515
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2588
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2589
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
2590
|
+
not_a_member: "not_a_member";
|
|
2591
|
+
insufficient_role: "insufficient_role";
|
|
2592
|
+
scope_missing: "scope_missing";
|
|
2593
|
+
}>>;
|
|
2594
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2516
2595
|
};
|
|
2517
2596
|
readonly INVITATION_NOT_FOUND: {
|
|
2518
2597
|
readonly status: 404;
|
|
@@ -2666,7 +2745,13 @@ declare const contract: {
|
|
|
2666
2745
|
readonly FORBIDDEN: {
|
|
2667
2746
|
readonly status: 403;
|
|
2668
2747
|
readonly message: "You do not have access to this resource";
|
|
2669
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2748
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2749
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
2750
|
+
not_a_member: "not_a_member";
|
|
2751
|
+
insufficient_role: "insufficient_role";
|
|
2752
|
+
scope_missing: "scope_missing";
|
|
2753
|
+
}>>;
|
|
2754
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2670
2755
|
};
|
|
2671
2756
|
readonly INVITATION_NOT_FOUND: {
|
|
2672
2757
|
readonly status: 404;
|
|
@@ -2812,7 +2897,13 @@ declare const contract: {
|
|
|
2812
2897
|
readonly FORBIDDEN: {
|
|
2813
2898
|
readonly status: 403;
|
|
2814
2899
|
readonly message: "You do not have access to this resource";
|
|
2815
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2900
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2901
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
2902
|
+
not_a_member: "not_a_member";
|
|
2903
|
+
insufficient_role: "insufficient_role";
|
|
2904
|
+
scope_missing: "scope_missing";
|
|
2905
|
+
}>>;
|
|
2906
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2816
2907
|
};
|
|
2817
2908
|
readonly INVITATION_NOT_FOUND: {
|
|
2818
2909
|
readonly status: 404;
|
|
@@ -2965,7 +3056,13 @@ declare const contract: {
|
|
|
2965
3056
|
readonly FORBIDDEN: {
|
|
2966
3057
|
readonly status: 403;
|
|
2967
3058
|
readonly message: "You do not have access to this resource";
|
|
2968
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3059
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3060
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
3061
|
+
not_a_member: "not_a_member";
|
|
3062
|
+
insufficient_role: "insufficient_role";
|
|
3063
|
+
scope_missing: "scope_missing";
|
|
3064
|
+
}>>;
|
|
3065
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2969
3066
|
};
|
|
2970
3067
|
readonly INVITATION_NOT_FOUND: {
|
|
2971
3068
|
readonly status: 404;
|
|
@@ -3111,7 +3208,13 @@ declare const contract: {
|
|
|
3111
3208
|
readonly FORBIDDEN: {
|
|
3112
3209
|
readonly status: 403;
|
|
3113
3210
|
readonly message: "You do not have access to this resource";
|
|
3114
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3211
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3212
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
3213
|
+
not_a_member: "not_a_member";
|
|
3214
|
+
insufficient_role: "insufficient_role";
|
|
3215
|
+
scope_missing: "scope_missing";
|
|
3216
|
+
}>>;
|
|
3217
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3115
3218
|
};
|
|
3116
3219
|
readonly INVITATION_NOT_FOUND: {
|
|
3117
3220
|
readonly status: 404;
|
|
@@ -3258,7 +3361,13 @@ declare const contract: {
|
|
|
3258
3361
|
readonly FORBIDDEN: {
|
|
3259
3362
|
readonly status: 403;
|
|
3260
3363
|
readonly message: "You do not have access to this resource";
|
|
3261
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3364
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3365
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
3366
|
+
not_a_member: "not_a_member";
|
|
3367
|
+
insufficient_role: "insufficient_role";
|
|
3368
|
+
scope_missing: "scope_missing";
|
|
3369
|
+
}>>;
|
|
3370
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3262
3371
|
};
|
|
3263
3372
|
readonly INVITATION_NOT_FOUND: {
|
|
3264
3373
|
readonly status: 404;
|
|
@@ -3408,7 +3517,13 @@ declare const contract: {
|
|
|
3408
3517
|
readonly FORBIDDEN: {
|
|
3409
3518
|
readonly status: 403;
|
|
3410
3519
|
readonly message: "You do not have access to this resource";
|
|
3411
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3520
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3521
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
3522
|
+
not_a_member: "not_a_member";
|
|
3523
|
+
insufficient_role: "insufficient_role";
|
|
3524
|
+
scope_missing: "scope_missing";
|
|
3525
|
+
}>>;
|
|
3526
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3412
3527
|
};
|
|
3413
3528
|
readonly INVITATION_NOT_FOUND: {
|
|
3414
3529
|
readonly status: 404;
|
|
@@ -3549,7 +3664,13 @@ declare const contract: {
|
|
|
3549
3664
|
readonly FORBIDDEN: {
|
|
3550
3665
|
readonly status: 403;
|
|
3551
3666
|
readonly message: "You do not have access to this resource";
|
|
3552
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3667
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3668
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
3669
|
+
not_a_member: "not_a_member";
|
|
3670
|
+
insufficient_role: "insufficient_role";
|
|
3671
|
+
scope_missing: "scope_missing";
|
|
3672
|
+
}>>;
|
|
3673
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3553
3674
|
};
|
|
3554
3675
|
readonly INVITATION_NOT_FOUND: {
|
|
3555
3676
|
readonly status: 404;
|
|
@@ -3702,7 +3823,13 @@ declare const contract: {
|
|
|
3702
3823
|
readonly FORBIDDEN: {
|
|
3703
3824
|
readonly status: 403;
|
|
3704
3825
|
readonly message: "You do not have access to this resource";
|
|
3705
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3826
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3827
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
3828
|
+
not_a_member: "not_a_member";
|
|
3829
|
+
insufficient_role: "insufficient_role";
|
|
3830
|
+
scope_missing: "scope_missing";
|
|
3831
|
+
}>>;
|
|
3832
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3706
3833
|
};
|
|
3707
3834
|
readonly INVITATION_NOT_FOUND: {
|
|
3708
3835
|
readonly status: 404;
|
|
@@ -3848,7 +3975,13 @@ declare const contract: {
|
|
|
3848
3975
|
readonly FORBIDDEN: {
|
|
3849
3976
|
readonly status: 403;
|
|
3850
3977
|
readonly message: "You do not have access to this resource";
|
|
3851
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3978
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3979
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
3980
|
+
not_a_member: "not_a_member";
|
|
3981
|
+
insufficient_role: "insufficient_role";
|
|
3982
|
+
scope_missing: "scope_missing";
|
|
3983
|
+
}>>;
|
|
3984
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3852
3985
|
};
|
|
3853
3986
|
readonly INVITATION_NOT_FOUND: {
|
|
3854
3987
|
readonly status: 404;
|
|
@@ -4002,7 +4135,13 @@ declare const contract: {
|
|
|
4002
4135
|
readonly FORBIDDEN: {
|
|
4003
4136
|
readonly status: 403;
|
|
4004
4137
|
readonly message: "You do not have access to this resource";
|
|
4005
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4138
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4139
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
4140
|
+
not_a_member: "not_a_member";
|
|
4141
|
+
insufficient_role: "insufficient_role";
|
|
4142
|
+
scope_missing: "scope_missing";
|
|
4143
|
+
}>>;
|
|
4144
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4006
4145
|
};
|
|
4007
4146
|
readonly INVITATION_NOT_FOUND: {
|
|
4008
4147
|
readonly status: 404;
|
|
@@ -4142,7 +4281,13 @@ declare const contract: {
|
|
|
4142
4281
|
readonly FORBIDDEN: {
|
|
4143
4282
|
readonly status: 403;
|
|
4144
4283
|
readonly message: "You do not have access to this resource";
|
|
4145
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4284
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4285
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
4286
|
+
not_a_member: "not_a_member";
|
|
4287
|
+
insufficient_role: "insufficient_role";
|
|
4288
|
+
scope_missing: "scope_missing";
|
|
4289
|
+
}>>;
|
|
4290
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4146
4291
|
};
|
|
4147
4292
|
readonly INVITATION_NOT_FOUND: {
|
|
4148
4293
|
readonly status: 404;
|
|
@@ -4294,7 +4439,13 @@ declare const contract: {
|
|
|
4294
4439
|
readonly FORBIDDEN: {
|
|
4295
4440
|
readonly status: 403;
|
|
4296
4441
|
readonly message: "You do not have access to this resource";
|
|
4297
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4442
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4443
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
4444
|
+
not_a_member: "not_a_member";
|
|
4445
|
+
insufficient_role: "insufficient_role";
|
|
4446
|
+
scope_missing: "scope_missing";
|
|
4447
|
+
}>>;
|
|
4448
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4298
4449
|
};
|
|
4299
4450
|
readonly INVITATION_NOT_FOUND: {
|
|
4300
4451
|
readonly status: 404;
|
|
@@ -4438,7 +4589,13 @@ declare const contract: {
|
|
|
4438
4589
|
readonly FORBIDDEN: {
|
|
4439
4590
|
readonly status: 403;
|
|
4440
4591
|
readonly message: "You do not have access to this resource";
|
|
4441
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4592
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4593
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
4594
|
+
not_a_member: "not_a_member";
|
|
4595
|
+
insufficient_role: "insufficient_role";
|
|
4596
|
+
scope_missing: "scope_missing";
|
|
4597
|
+
}>>;
|
|
4598
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4442
4599
|
};
|
|
4443
4600
|
readonly INVITATION_NOT_FOUND: {
|
|
4444
4601
|
readonly status: 404;
|
|
@@ -4609,7 +4766,13 @@ declare const contract: {
|
|
|
4609
4766
|
readonly FORBIDDEN: {
|
|
4610
4767
|
readonly status: 403;
|
|
4611
4768
|
readonly message: "You do not have access to this resource";
|
|
4612
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4769
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4770
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
4771
|
+
not_a_member: "not_a_member";
|
|
4772
|
+
insufficient_role: "insufficient_role";
|
|
4773
|
+
scope_missing: "scope_missing";
|
|
4774
|
+
}>>;
|
|
4775
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4613
4776
|
};
|
|
4614
4777
|
readonly INVITATION_NOT_FOUND: {
|
|
4615
4778
|
readonly status: 404;
|
|
@@ -4765,7 +4928,13 @@ declare const contract: {
|
|
|
4765
4928
|
readonly FORBIDDEN: {
|
|
4766
4929
|
readonly status: 403;
|
|
4767
4930
|
readonly message: "You do not have access to this resource";
|
|
4768
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4931
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4932
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
4933
|
+
not_a_member: "not_a_member";
|
|
4934
|
+
insufficient_role: "insufficient_role";
|
|
4935
|
+
scope_missing: "scope_missing";
|
|
4936
|
+
}>>;
|
|
4937
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4769
4938
|
};
|
|
4770
4939
|
readonly INVITATION_NOT_FOUND: {
|
|
4771
4940
|
readonly status: 404;
|
|
@@ -4914,7 +5083,13 @@ declare const contract: {
|
|
|
4914
5083
|
readonly FORBIDDEN: {
|
|
4915
5084
|
readonly status: 403;
|
|
4916
5085
|
readonly message: "You do not have access to this resource";
|
|
4917
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5086
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5087
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
5088
|
+
not_a_member: "not_a_member";
|
|
5089
|
+
insufficient_role: "insufficient_role";
|
|
5090
|
+
scope_missing: "scope_missing";
|
|
5091
|
+
}>>;
|
|
5092
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4918
5093
|
};
|
|
4919
5094
|
readonly INVITATION_NOT_FOUND: {
|
|
4920
5095
|
readonly status: 404;
|
|
@@ -5091,7 +5266,13 @@ declare const contract: {
|
|
|
5091
5266
|
readonly FORBIDDEN: {
|
|
5092
5267
|
readonly status: 403;
|
|
5093
5268
|
readonly message: "You do not have access to this resource";
|
|
5094
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5269
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5270
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
5271
|
+
not_a_member: "not_a_member";
|
|
5272
|
+
insufficient_role: "insufficient_role";
|
|
5273
|
+
scope_missing: "scope_missing";
|
|
5274
|
+
}>>;
|
|
5275
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5095
5276
|
};
|
|
5096
5277
|
readonly INVITATION_NOT_FOUND: {
|
|
5097
5278
|
readonly status: 404;
|
|
@@ -5258,7 +5439,13 @@ declare const contract: {
|
|
|
5258
5439
|
readonly FORBIDDEN: {
|
|
5259
5440
|
readonly status: 403;
|
|
5260
5441
|
readonly message: "You do not have access to this resource";
|
|
5261
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5442
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5443
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
5444
|
+
not_a_member: "not_a_member";
|
|
5445
|
+
insufficient_role: "insufficient_role";
|
|
5446
|
+
scope_missing: "scope_missing";
|
|
5447
|
+
}>>;
|
|
5448
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5262
5449
|
};
|
|
5263
5450
|
readonly INVITATION_NOT_FOUND: {
|
|
5264
5451
|
readonly status: 404;
|
|
@@ -5427,7 +5614,13 @@ declare const contract: {
|
|
|
5427
5614
|
readonly FORBIDDEN: {
|
|
5428
5615
|
readonly status: 403;
|
|
5429
5616
|
readonly message: "You do not have access to this resource";
|
|
5430
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5617
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5618
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
5619
|
+
not_a_member: "not_a_member";
|
|
5620
|
+
insufficient_role: "insufficient_role";
|
|
5621
|
+
scope_missing: "scope_missing";
|
|
5622
|
+
}>>;
|
|
5623
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5431
5624
|
};
|
|
5432
5625
|
readonly INVITATION_NOT_FOUND: {
|
|
5433
5626
|
readonly status: 404;
|
|
@@ -5605,7 +5798,13 @@ declare const contract: {
|
|
|
5605
5798
|
readonly FORBIDDEN: {
|
|
5606
5799
|
readonly status: 403;
|
|
5607
5800
|
readonly message: "You do not have access to this resource";
|
|
5608
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5801
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5802
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
5803
|
+
not_a_member: "not_a_member";
|
|
5804
|
+
insufficient_role: "insufficient_role";
|
|
5805
|
+
scope_missing: "scope_missing";
|
|
5806
|
+
}>>;
|
|
5807
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5609
5808
|
};
|
|
5610
5809
|
readonly INVITATION_NOT_FOUND: {
|
|
5611
5810
|
readonly status: 404;
|
|
@@ -5763,7 +5962,13 @@ declare const contract: {
|
|
|
5763
5962
|
readonly FORBIDDEN: {
|
|
5764
5963
|
readonly status: 403;
|
|
5765
5964
|
readonly message: "You do not have access to this resource";
|
|
5766
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5965
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5966
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
5967
|
+
not_a_member: "not_a_member";
|
|
5968
|
+
insufficient_role: "insufficient_role";
|
|
5969
|
+
scope_missing: "scope_missing";
|
|
5970
|
+
}>>;
|
|
5971
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5767
5972
|
};
|
|
5768
5973
|
readonly INVITATION_NOT_FOUND: {
|
|
5769
5974
|
readonly status: 404;
|
|
@@ -5901,7 +6106,13 @@ declare const contract: {
|
|
|
5901
6106
|
readonly FORBIDDEN: {
|
|
5902
6107
|
readonly status: 403;
|
|
5903
6108
|
readonly message: "You do not have access to this resource";
|
|
5904
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6109
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6110
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
6111
|
+
not_a_member: "not_a_member";
|
|
6112
|
+
insufficient_role: "insufficient_role";
|
|
6113
|
+
scope_missing: "scope_missing";
|
|
6114
|
+
}>>;
|
|
6115
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5905
6116
|
};
|
|
5906
6117
|
readonly INVITATION_NOT_FOUND: {
|
|
5907
6118
|
readonly status: 404;
|
|
@@ -6071,7 +6282,13 @@ declare const contract: {
|
|
|
6071
6282
|
readonly FORBIDDEN: {
|
|
6072
6283
|
readonly status: 403;
|
|
6073
6284
|
readonly message: "You do not have access to this resource";
|
|
6074
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6285
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6286
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
6287
|
+
not_a_member: "not_a_member";
|
|
6288
|
+
insufficient_role: "insufficient_role";
|
|
6289
|
+
scope_missing: "scope_missing";
|
|
6290
|
+
}>>;
|
|
6291
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6075
6292
|
};
|
|
6076
6293
|
readonly INVITATION_NOT_FOUND: {
|
|
6077
6294
|
readonly status: 404;
|
|
@@ -6217,7 +6434,13 @@ declare const contract: {
|
|
|
6217
6434
|
readonly FORBIDDEN: {
|
|
6218
6435
|
readonly status: 403;
|
|
6219
6436
|
readonly message: "You do not have access to this resource";
|
|
6220
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6437
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6438
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
6439
|
+
not_a_member: "not_a_member";
|
|
6440
|
+
insufficient_role: "insufficient_role";
|
|
6441
|
+
scope_missing: "scope_missing";
|
|
6442
|
+
}>>;
|
|
6443
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6221
6444
|
};
|
|
6222
6445
|
readonly INVITATION_NOT_FOUND: {
|
|
6223
6446
|
readonly status: 404;
|
|
@@ -6360,7 +6583,13 @@ declare const contract: {
|
|
|
6360
6583
|
readonly FORBIDDEN: {
|
|
6361
6584
|
readonly status: 403;
|
|
6362
6585
|
readonly message: "You do not have access to this resource";
|
|
6363
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6586
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6587
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
6588
|
+
not_a_member: "not_a_member";
|
|
6589
|
+
insufficient_role: "insufficient_role";
|
|
6590
|
+
scope_missing: "scope_missing";
|
|
6591
|
+
}>>;
|
|
6592
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6364
6593
|
};
|
|
6365
6594
|
readonly INVITATION_NOT_FOUND: {
|
|
6366
6595
|
readonly status: 404;
|
|
@@ -6503,7 +6732,13 @@ declare const contract: {
|
|
|
6503
6732
|
readonly FORBIDDEN: {
|
|
6504
6733
|
readonly status: 403;
|
|
6505
6734
|
readonly message: "You do not have access to this resource";
|
|
6506
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6735
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6736
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
6737
|
+
not_a_member: "not_a_member";
|
|
6738
|
+
insufficient_role: "insufficient_role";
|
|
6739
|
+
scope_missing: "scope_missing";
|
|
6740
|
+
}>>;
|
|
6741
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6507
6742
|
};
|
|
6508
6743
|
readonly INVITATION_NOT_FOUND: {
|
|
6509
6744
|
readonly status: 404;
|
|
@@ -6641,7 +6876,13 @@ declare const contract: {
|
|
|
6641
6876
|
readonly FORBIDDEN: {
|
|
6642
6877
|
readonly status: 403;
|
|
6643
6878
|
readonly message: "You do not have access to this resource";
|
|
6644
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6879
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6880
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
6881
|
+
not_a_member: "not_a_member";
|
|
6882
|
+
insufficient_role: "insufficient_role";
|
|
6883
|
+
scope_missing: "scope_missing";
|
|
6884
|
+
}>>;
|
|
6885
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6645
6886
|
};
|
|
6646
6887
|
readonly INVITATION_NOT_FOUND: {
|
|
6647
6888
|
readonly status: 404;
|
|
@@ -6793,7 +7034,13 @@ declare const contract: {
|
|
|
6793
7034
|
readonly FORBIDDEN: {
|
|
6794
7035
|
readonly status: 403;
|
|
6795
7036
|
readonly message: "You do not have access to this resource";
|
|
6796
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7037
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7038
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
7039
|
+
not_a_member: "not_a_member";
|
|
7040
|
+
insufficient_role: "insufficient_role";
|
|
7041
|
+
scope_missing: "scope_missing";
|
|
7042
|
+
}>>;
|
|
7043
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6797
7044
|
};
|
|
6798
7045
|
readonly INVITATION_NOT_FOUND: {
|
|
6799
7046
|
readonly status: 404;
|
|
@@ -6945,7 +7192,13 @@ declare const contract: {
|
|
|
6945
7192
|
readonly FORBIDDEN: {
|
|
6946
7193
|
readonly status: 403;
|
|
6947
7194
|
readonly message: "You do not have access to this resource";
|
|
6948
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7195
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7196
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
7197
|
+
not_a_member: "not_a_member";
|
|
7198
|
+
insufficient_role: "insufficient_role";
|
|
7199
|
+
scope_missing: "scope_missing";
|
|
7200
|
+
}>>;
|
|
7201
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6949
7202
|
};
|
|
6950
7203
|
readonly INVITATION_NOT_FOUND: {
|
|
6951
7204
|
readonly status: 404;
|
|
@@ -7084,7 +7337,13 @@ declare const contract: {
|
|
|
7084
7337
|
readonly FORBIDDEN: {
|
|
7085
7338
|
readonly status: 403;
|
|
7086
7339
|
readonly message: "You do not have access to this resource";
|
|
7087
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7340
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7341
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
7342
|
+
not_a_member: "not_a_member";
|
|
7343
|
+
insufficient_role: "insufficient_role";
|
|
7344
|
+
scope_missing: "scope_missing";
|
|
7345
|
+
}>>;
|
|
7346
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7088
7347
|
};
|
|
7089
7348
|
readonly INVITATION_NOT_FOUND: {
|
|
7090
7349
|
readonly status: 404;
|
|
@@ -7237,7 +7496,13 @@ declare const contract: {
|
|
|
7237
7496
|
readonly FORBIDDEN: {
|
|
7238
7497
|
readonly status: 403;
|
|
7239
7498
|
readonly message: "You do not have access to this resource";
|
|
7240
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7499
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7500
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
7501
|
+
not_a_member: "not_a_member";
|
|
7502
|
+
insufficient_role: "insufficient_role";
|
|
7503
|
+
scope_missing: "scope_missing";
|
|
7504
|
+
}>>;
|
|
7505
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7241
7506
|
};
|
|
7242
7507
|
readonly INVITATION_NOT_FOUND: {
|
|
7243
7508
|
readonly status: 404;
|
|
@@ -7375,8 +7640,159 @@ declare const contract: {
|
|
|
7375
7640
|
readonly FORBIDDEN: {
|
|
7376
7641
|
readonly status: 403;
|
|
7377
7642
|
readonly message: "You do not have access to this resource";
|
|
7643
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7644
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
7645
|
+
not_a_member: "not_a_member";
|
|
7646
|
+
insufficient_role: "insufficient_role";
|
|
7647
|
+
scope_missing: "scope_missing";
|
|
7648
|
+
}>>;
|
|
7649
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7650
|
+
};
|
|
7651
|
+
readonly INVITATION_NOT_FOUND: {
|
|
7652
|
+
readonly status: 404;
|
|
7653
|
+
readonly message: "Invitation not found";
|
|
7654
|
+
readonly data: z.ZodObject<{
|
|
7655
|
+
invitationId: z.ZodString;
|
|
7656
|
+
}, _$zod_v4_core0.$strip>;
|
|
7657
|
+
};
|
|
7658
|
+
readonly REPO_NOT_FOUND: {
|
|
7659
|
+
readonly status: 404;
|
|
7660
|
+
readonly message: "Repo not found";
|
|
7661
|
+
readonly data: z.ZodObject<{
|
|
7662
|
+
name: z.ZodString;
|
|
7663
|
+
}, _$zod_v4_core0.$strip>;
|
|
7664
|
+
};
|
|
7665
|
+
readonly GIT_OBJECT_NOT_FOUND: {
|
|
7666
|
+
readonly status: 404;
|
|
7667
|
+
readonly message: "Git object not found";
|
|
7668
|
+
readonly data: z.ZodObject<{
|
|
7669
|
+
name: z.ZodString;
|
|
7670
|
+
object: z.ZodString;
|
|
7671
|
+
}, _$zod_v4_core0.$strip>;
|
|
7672
|
+
};
|
|
7673
|
+
readonly REF_ALREADY_EXISTS: {
|
|
7674
|
+
readonly status: 409;
|
|
7675
|
+
readonly message: "Git ref already exists";
|
|
7676
|
+
readonly data: z.ZodObject<{
|
|
7677
|
+
name: z.ZodString;
|
|
7678
|
+
ref: z.ZodString;
|
|
7679
|
+
}, _$zod_v4_core0.$strip>;
|
|
7680
|
+
};
|
|
7681
|
+
readonly STALE_REF: {
|
|
7682
|
+
readonly status: 409;
|
|
7683
|
+
readonly message: "Git ref is stale";
|
|
7684
|
+
readonly data: z.ZodObject<{
|
|
7685
|
+
name: z.ZodString;
|
|
7686
|
+
ref: z.ZodString;
|
|
7687
|
+
}, _$zod_v4_core0.$strip>;
|
|
7688
|
+
};
|
|
7689
|
+
readonly NON_FAST_FORWARD: {
|
|
7690
|
+
readonly status: 422;
|
|
7691
|
+
readonly message: "Git ref update is not a fast-forward";
|
|
7692
|
+
readonly data: z.ZodObject<{
|
|
7693
|
+
name: z.ZodString;
|
|
7694
|
+
ref: z.ZodString;
|
|
7695
|
+
}, _$zod_v4_core0.$strip>;
|
|
7696
|
+
};
|
|
7697
|
+
readonly INVALID_TREE: {
|
|
7698
|
+
readonly status: 422;
|
|
7699
|
+
readonly message: "Invalid git tree";
|
|
7700
|
+
readonly data: z.ZodObject<{
|
|
7701
|
+
name: z.ZodString;
|
|
7702
|
+
object: z.ZodString;
|
|
7703
|
+
}, _$zod_v4_core0.$strip>;
|
|
7704
|
+
};
|
|
7705
|
+
readonly INVALID_PARENT: {
|
|
7706
|
+
readonly status: 422;
|
|
7707
|
+
readonly message: "Invalid git parent";
|
|
7708
|
+
readonly data: z.ZodObject<{
|
|
7709
|
+
name: z.ZodString;
|
|
7710
|
+
object: z.ZodString;
|
|
7711
|
+
}, _$zod_v4_core0.$strip>;
|
|
7712
|
+
};
|
|
7713
|
+
readonly INVARIANT_WORKSPACE_REQUIRED: {
|
|
7714
|
+
readonly status: 503;
|
|
7715
|
+
readonly message: "Repo workspace is required for this git operation";
|
|
7716
|
+
readonly data: z.ZodObject<{
|
|
7717
|
+
name: z.ZodString;
|
|
7718
|
+
}, _$zod_v4_core0.$strip>;
|
|
7719
|
+
};
|
|
7720
|
+
readonly GIT_REMOTE_WRITE_FAILED: {
|
|
7721
|
+
readonly status: 502;
|
|
7722
|
+
readonly message: "Git remote write failed";
|
|
7723
|
+
readonly data: z.ZodObject<{
|
|
7724
|
+
name: z.ZodString;
|
|
7725
|
+
ref: z.ZodString;
|
|
7726
|
+
}, _$zod_v4_core0.$strip>;
|
|
7727
|
+
};
|
|
7728
|
+
readonly REPO_ALREADY_EXISTS: {
|
|
7729
|
+
readonly status: 409;
|
|
7730
|
+
readonly message: "Repo already exists";
|
|
7731
|
+
readonly data: z.ZodObject<{
|
|
7732
|
+
name: z.ZodString;
|
|
7733
|
+
}, _$zod_v4_core0.$strip>;
|
|
7734
|
+
};
|
|
7735
|
+
readonly QUOTA_EXCEEDED: {
|
|
7736
|
+
readonly status: 429;
|
|
7737
|
+
readonly message: "Quota exceeded";
|
|
7738
|
+
readonly data: z.ZodObject<{
|
|
7739
|
+
scope: z.ZodEnum<{
|
|
7740
|
+
anon: "anon";
|
|
7741
|
+
org: "org";
|
|
7742
|
+
size: "size";
|
|
7743
|
+
}>;
|
|
7744
|
+
limit: z.ZodNumber;
|
|
7745
|
+
observed: z.ZodOptional<z.ZodNumber>;
|
|
7746
|
+
projected: z.ZodOptional<z.ZodNumber>;
|
|
7747
|
+
}, _$zod_v4_core0.$strip>;
|
|
7748
|
+
};
|
|
7749
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
7750
|
+
readonly status: 413;
|
|
7751
|
+
readonly message: "Request payload exceeds the supported limit";
|
|
7752
|
+
readonly data: z.ZodObject<{
|
|
7753
|
+
scope: z.ZodEnum<{
|
|
7754
|
+
workspace_commit: "workspace_commit";
|
|
7755
|
+
git_workspace_memory: "git_workspace_memory";
|
|
7756
|
+
}>;
|
|
7757
|
+
limit: z.ZodNumber;
|
|
7758
|
+
observed: z.ZodOptional<z.ZodNumber>;
|
|
7759
|
+
}, _$zod_v4_core0.$strip>;
|
|
7760
|
+
};
|
|
7761
|
+
readonly IMPORT_FAILED: {
|
|
7762
|
+
readonly status: 502;
|
|
7763
|
+
readonly message: "Repo import failed";
|
|
7764
|
+
readonly data: z.ZodObject<{
|
|
7765
|
+
name: z.ZodString;
|
|
7766
|
+
}, _$zod_v4_core0.$strip>;
|
|
7767
|
+
};
|
|
7768
|
+
}>, Record<never, never>>;
|
|
7769
|
+
cancelInvite: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7770
|
+
orgSlug: z.ZodString;
|
|
7771
|
+
invitationId: z.ZodString;
|
|
7772
|
+
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
7773
|
+
cancelled: z.ZodBoolean;
|
|
7774
|
+
}, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
7775
|
+
readonly BAD_REQUEST: {
|
|
7776
|
+
readonly status: 400;
|
|
7777
|
+
readonly message: "Bad request";
|
|
7378
7778
|
readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
|
|
7379
7779
|
};
|
|
7780
|
+
readonly UNAUTHENTICATED: {
|
|
7781
|
+
readonly status: 401;
|
|
7782
|
+
readonly message: "Sign in required";
|
|
7783
|
+
readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
|
|
7784
|
+
};
|
|
7785
|
+
readonly FORBIDDEN: {
|
|
7786
|
+
readonly status: 403;
|
|
7787
|
+
readonly message: "You do not have access to this resource";
|
|
7788
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7789
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
7790
|
+
not_a_member: "not_a_member";
|
|
7791
|
+
insufficient_role: "insufficient_role";
|
|
7792
|
+
scope_missing: "scope_missing";
|
|
7793
|
+
}>>;
|
|
7794
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7795
|
+
};
|
|
7380
7796
|
readonly INVITATION_NOT_FOUND: {
|
|
7381
7797
|
readonly status: 404;
|
|
7382
7798
|
readonly message: "Invitation not found";
|
|
@@ -7513,7 +7929,13 @@ declare const contract: {
|
|
|
7513
7929
|
readonly FORBIDDEN: {
|
|
7514
7930
|
readonly status: 403;
|
|
7515
7931
|
readonly message: "You do not have access to this resource";
|
|
7516
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7932
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7933
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
7934
|
+
not_a_member: "not_a_member";
|
|
7935
|
+
insufficient_role: "insufficient_role";
|
|
7936
|
+
scope_missing: "scope_missing";
|
|
7937
|
+
}>>;
|
|
7938
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7517
7939
|
};
|
|
7518
7940
|
readonly INVITATION_NOT_FOUND: {
|
|
7519
7941
|
readonly status: 404;
|
|
@@ -7670,7 +8092,13 @@ declare const contract: {
|
|
|
7670
8092
|
readonly FORBIDDEN: {
|
|
7671
8093
|
readonly status: 403;
|
|
7672
8094
|
readonly message: "You do not have access to this resource";
|
|
7673
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8095
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8096
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
8097
|
+
not_a_member: "not_a_member";
|
|
8098
|
+
insufficient_role: "insufficient_role";
|
|
8099
|
+
scope_missing: "scope_missing";
|
|
8100
|
+
}>>;
|
|
8101
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7674
8102
|
};
|
|
7675
8103
|
readonly INVITATION_NOT_FOUND: {
|
|
7676
8104
|
readonly status: 404;
|
|
@@ -7826,7 +8254,13 @@ declare const contract: {
|
|
|
7826
8254
|
readonly FORBIDDEN: {
|
|
7827
8255
|
readonly status: 403;
|
|
7828
8256
|
readonly message: "You do not have access to this resource";
|
|
7829
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8257
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8258
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
8259
|
+
not_a_member: "not_a_member";
|
|
8260
|
+
insufficient_role: "insufficient_role";
|
|
8261
|
+
scope_missing: "scope_missing";
|
|
8262
|
+
}>>;
|
|
8263
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7830
8264
|
};
|
|
7831
8265
|
readonly INVITATION_NOT_FOUND: {
|
|
7832
8266
|
readonly status: 404;
|
|
@@ -7982,7 +8416,13 @@ declare const contract: {
|
|
|
7982
8416
|
readonly FORBIDDEN: {
|
|
7983
8417
|
readonly status: 403;
|
|
7984
8418
|
readonly message: "You do not have access to this resource";
|
|
7985
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8419
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8420
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
8421
|
+
not_a_member: "not_a_member";
|
|
8422
|
+
insufficient_role: "insufficient_role";
|
|
8423
|
+
scope_missing: "scope_missing";
|
|
8424
|
+
}>>;
|
|
8425
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7986
8426
|
};
|
|
7987
8427
|
readonly INVITATION_NOT_FOUND: {
|
|
7988
8428
|
readonly status: 404;
|
|
@@ -8133,7 +8573,13 @@ declare const contract: {
|
|
|
8133
8573
|
readonly FORBIDDEN: {
|
|
8134
8574
|
readonly status: 403;
|
|
8135
8575
|
readonly message: "You do not have access to this resource";
|
|
8136
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8576
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8577
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
8578
|
+
not_a_member: "not_a_member";
|
|
8579
|
+
insufficient_role: "insufficient_role";
|
|
8580
|
+
scope_missing: "scope_missing";
|
|
8581
|
+
}>>;
|
|
8582
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8137
8583
|
};
|
|
8138
8584
|
readonly INVITATION_NOT_FOUND: {
|
|
8139
8585
|
readonly status: 404;
|
|
@@ -8288,7 +8734,13 @@ declare const contract: {
|
|
|
8288
8734
|
readonly FORBIDDEN: {
|
|
8289
8735
|
readonly status: 403;
|
|
8290
8736
|
readonly message: "You do not have access to this resource";
|
|
8291
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8737
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8738
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
8739
|
+
not_a_member: "not_a_member";
|
|
8740
|
+
insufficient_role: "insufficient_role";
|
|
8741
|
+
scope_missing: "scope_missing";
|
|
8742
|
+
}>>;
|
|
8743
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8292
8744
|
};
|
|
8293
8745
|
readonly INVITATION_NOT_FOUND: {
|
|
8294
8746
|
readonly status: 404;
|
|
@@ -8441,7 +8893,13 @@ declare const contract: {
|
|
|
8441
8893
|
readonly FORBIDDEN: {
|
|
8442
8894
|
readonly status: 403;
|
|
8443
8895
|
readonly message: "You do not have access to this resource";
|
|
8444
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8896
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8897
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
8898
|
+
not_a_member: "not_a_member";
|
|
8899
|
+
insufficient_role: "insufficient_role";
|
|
8900
|
+
scope_missing: "scope_missing";
|
|
8901
|
+
}>>;
|
|
8902
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8445
8903
|
};
|
|
8446
8904
|
readonly INVITATION_NOT_FOUND: {
|
|
8447
8905
|
readonly status: 404;
|
|
@@ -8580,7 +9038,13 @@ declare const contract: {
|
|
|
8580
9038
|
readonly FORBIDDEN: {
|
|
8581
9039
|
readonly status: 403;
|
|
8582
9040
|
readonly message: "You do not have access to this resource";
|
|
8583
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9041
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9042
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
9043
|
+
not_a_member: "not_a_member";
|
|
9044
|
+
insufficient_role: "insufficient_role";
|
|
9045
|
+
scope_missing: "scope_missing";
|
|
9046
|
+
}>>;
|
|
9047
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8584
9048
|
};
|
|
8585
9049
|
readonly INVITATION_NOT_FOUND: {
|
|
8586
9050
|
readonly status: 404;
|
|
@@ -8740,7 +9204,13 @@ declare const contract: {
|
|
|
8740
9204
|
readonly FORBIDDEN: {
|
|
8741
9205
|
readonly status: 403;
|
|
8742
9206
|
readonly message: "You do not have access to this resource";
|
|
8743
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9207
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9208
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
9209
|
+
not_a_member: "not_a_member";
|
|
9210
|
+
insufficient_role: "insufficient_role";
|
|
9211
|
+
scope_missing: "scope_missing";
|
|
9212
|
+
}>>;
|
|
9213
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8744
9214
|
};
|
|
8745
9215
|
readonly INVITATION_NOT_FOUND: {
|
|
8746
9216
|
readonly status: 404;
|
|
@@ -8895,7 +9365,13 @@ declare const contract: {
|
|
|
8895
9365
|
readonly FORBIDDEN: {
|
|
8896
9366
|
readonly status: 403;
|
|
8897
9367
|
readonly message: "You do not have access to this resource";
|
|
8898
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9368
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9369
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
9370
|
+
not_a_member: "not_a_member";
|
|
9371
|
+
insufficient_role: "insufficient_role";
|
|
9372
|
+
scope_missing: "scope_missing";
|
|
9373
|
+
}>>;
|
|
9374
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8899
9375
|
};
|
|
8900
9376
|
readonly INVITATION_NOT_FOUND: {
|
|
8901
9377
|
readonly status: 404;
|
|
@@ -9048,7 +9524,13 @@ declare const contract: {
|
|
|
9048
9524
|
readonly FORBIDDEN: {
|
|
9049
9525
|
readonly status: 403;
|
|
9050
9526
|
readonly message: "You do not have access to this resource";
|
|
9051
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9527
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9528
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
9529
|
+
not_a_member: "not_a_member";
|
|
9530
|
+
insufficient_role: "insufficient_role";
|
|
9531
|
+
scope_missing: "scope_missing";
|
|
9532
|
+
}>>;
|
|
9533
|
+
}, _$zod_v4_core0.$strip>>;
|
|
9052
9534
|
};
|
|
9053
9535
|
readonly INVITATION_NOT_FOUND: {
|
|
9054
9536
|
readonly status: 404;
|
|
@@ -9188,7 +9670,13 @@ declare const contract: {
|
|
|
9188
9670
|
readonly FORBIDDEN: {
|
|
9189
9671
|
readonly status: 403;
|
|
9190
9672
|
readonly message: "You do not have access to this resource";
|
|
9191
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9673
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9674
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
9675
|
+
not_a_member: "not_a_member";
|
|
9676
|
+
insufficient_role: "insufficient_role";
|
|
9677
|
+
scope_missing: "scope_missing";
|
|
9678
|
+
}>>;
|
|
9679
|
+
}, _$zod_v4_core0.$strip>>;
|
|
9192
9680
|
};
|
|
9193
9681
|
readonly INVITATION_NOT_FOUND: {
|
|
9194
9682
|
readonly status: 404;
|
|
@@ -9336,7 +9824,13 @@ declare const contract: {
|
|
|
9336
9824
|
readonly FORBIDDEN: {
|
|
9337
9825
|
readonly status: 403;
|
|
9338
9826
|
readonly message: "You do not have access to this resource";
|
|
9339
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9827
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9828
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
9829
|
+
not_a_member: "not_a_member";
|
|
9830
|
+
insufficient_role: "insufficient_role";
|
|
9831
|
+
scope_missing: "scope_missing";
|
|
9832
|
+
}>>;
|
|
9833
|
+
}, _$zod_v4_core0.$strip>>;
|
|
9340
9834
|
};
|
|
9341
9835
|
readonly INVITATION_NOT_FOUND: {
|
|
9342
9836
|
readonly status: 404;
|
|
@@ -9460,4 +9954,4 @@ declare const contract: {
|
|
|
9460
9954
|
};
|
|
9461
9955
|
type Contract = typeof contract;
|
|
9462
9956
|
//#endregion
|
|
9463
|
-
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 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 };
|
|
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 };
|
package/dist/index.mjs
CHANGED
|
@@ -15,7 +15,11 @@ const commonErrors = {
|
|
|
15
15
|
FORBIDDEN: {
|
|
16
16
|
status: 403,
|
|
17
17
|
message: "You do not have access to this resource",
|
|
18
|
-
data: z.object({
|
|
18
|
+
data: z.object({ reason: z.enum([
|
|
19
|
+
"not_a_member",
|
|
20
|
+
"insufficient_role",
|
|
21
|
+
"scope_missing"
|
|
22
|
+
]).optional() }).optional()
|
|
19
23
|
},
|
|
20
24
|
INVITATION_NOT_FOUND: {
|
|
21
25
|
status: 404,
|
|
@@ -667,6 +671,7 @@ const members = {
|
|
|
667
671
|
role: mutableMemberRoleSchema
|
|
668
672
|
})).output(memberViewSchema),
|
|
669
673
|
acceptInvite: ocBase.input(z.object({ invitationId: z.string().min(1) })).output(z.object({ accepted: z.boolean() })),
|
|
674
|
+
cancelInvite: ocBase.input(orgInputSchema.extend({ invitationId: z.string().min(1) })).output(z.object({ cancelled: z.boolean() })),
|
|
670
675
|
setActive: ocBase.input(orgInputSchema).output(z.object({ activeOrganizationId: z.string() }))
|
|
671
676
|
};
|
|
672
677
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,10 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@repome/api",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
|
+
"description": "Agent-native, GitHub-shaped forge — shared oRPC contract (zod schemas + procedure shapes).",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"agent",
|
|
7
|
+
"cloudflare",
|
|
8
|
+
"git",
|
|
9
|
+
"orpc",
|
|
10
|
+
"repome"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://repome.sh",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/grovemotorco/repome/issues"
|
|
15
|
+
},
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/grovemotorco/repome.git",
|
|
20
|
+
"directory": "packages/api"
|
|
21
|
+
},
|
|
4
22
|
"files": [
|
|
5
23
|
"dist"
|
|
6
24
|
],
|
|
7
25
|
"type": "module",
|
|
26
|
+
"sideEffects": false,
|
|
8
27
|
"exports": {
|
|
9
28
|
".": {
|
|
10
29
|
"types": "./dist/index.d.mts",
|
|
@@ -24,6 +43,9 @@
|
|
|
24
43
|
"@typescript/native-preview": "7.0.0-dev.20260507.1",
|
|
25
44
|
"vite-plus": "^0.1.20"
|
|
26
45
|
},
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=24"
|
|
48
|
+
},
|
|
27
49
|
"scripts": {
|
|
28
50
|
"build": "vp pack",
|
|
29
51
|
"dev": "vp pack --watch",
|