@repome/sdk 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.
Files changed (2) hide show
  1. package/dist/index.d.mts +1013 -29
  2. package/package.json +2 -2
package/dist/index.d.mts CHANGED
@@ -2175,6 +2175,13 @@ declare const contract: {
2175
2175
  readonly message: "Sign in required";
2176
2176
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
2177
2177
  };
2178
+ readonly TOO_MANY_REQUESTS: {
2179
+ readonly status: 429;
2180
+ readonly message: "Too many requests";
2181
+ readonly data: ZodOptional<ZodObject<{
2182
+ retryAfterMs: ZodOptional<ZodNumber>;
2183
+ }, $strip>>;
2184
+ };
2178
2185
  readonly FORBIDDEN: {
2179
2186
  readonly status: 403;
2180
2187
  readonly message: "You do not have access to this resource";
@@ -2193,6 +2200,13 @@ declare const contract: {
2193
2200
  invitationId: ZodString;
2194
2201
  }, $strip>;
2195
2202
  };
2203
+ readonly KEY_NOT_FOUND: {
2204
+ readonly status: 404;
2205
+ readonly message: "API key not found";
2206
+ readonly data: ZodObject<{
2207
+ id: ZodString;
2208
+ }, $strip>;
2209
+ };
2196
2210
  readonly REPO_NOT_FOUND: {
2197
2211
  readonly status: 404;
2198
2212
  readonly message: "Repo not found";
@@ -2333,6 +2347,13 @@ declare const contract: {
2333
2347
  readonly message: "Sign in required";
2334
2348
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
2335
2349
  };
2350
+ readonly TOO_MANY_REQUESTS: {
2351
+ readonly status: 429;
2352
+ readonly message: "Too many requests";
2353
+ readonly data: ZodOptional<ZodObject<{
2354
+ retryAfterMs: ZodOptional<ZodNumber>;
2355
+ }, $strip>>;
2356
+ };
2336
2357
  readonly FORBIDDEN: {
2337
2358
  readonly status: 403;
2338
2359
  readonly message: "You do not have access to this resource";
@@ -2351,6 +2372,13 @@ declare const contract: {
2351
2372
  invitationId: ZodString;
2352
2373
  }, $strip>;
2353
2374
  };
2375
+ readonly KEY_NOT_FOUND: {
2376
+ readonly status: 404;
2377
+ readonly message: "API key not found";
2378
+ readonly data: ZodObject<{
2379
+ id: ZodString;
2380
+ }, $strip>;
2381
+ };
2354
2382
  readonly REPO_NOT_FOUND: {
2355
2383
  readonly status: 404;
2356
2384
  readonly message: "Repo not found";
@@ -2495,6 +2523,13 @@ declare const contract: {
2495
2523
  readonly message: "Sign in required";
2496
2524
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
2497
2525
  };
2526
+ readonly TOO_MANY_REQUESTS: {
2527
+ readonly status: 429;
2528
+ readonly message: "Too many requests";
2529
+ readonly data: ZodOptional<ZodObject<{
2530
+ retryAfterMs: ZodOptional<ZodNumber>;
2531
+ }, $strip>>;
2532
+ };
2498
2533
  readonly FORBIDDEN: {
2499
2534
  readonly status: 403;
2500
2535
  readonly message: "You do not have access to this resource";
@@ -2513,6 +2548,13 @@ declare const contract: {
2513
2548
  invitationId: ZodString;
2514
2549
  }, $strip>;
2515
2550
  };
2551
+ readonly KEY_NOT_FOUND: {
2552
+ readonly status: 404;
2553
+ readonly message: "API key not found";
2554
+ readonly data: ZodObject<{
2555
+ id: ZodString;
2556
+ }, $strip>;
2557
+ };
2516
2558
  readonly REPO_NOT_FOUND: {
2517
2559
  readonly status: 404;
2518
2560
  readonly message: "Repo not found";
@@ -2639,6 +2681,13 @@ declare const contract: {
2639
2681
  readonly message: "Sign in required";
2640
2682
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
2641
2683
  };
2684
+ readonly TOO_MANY_REQUESTS: {
2685
+ readonly status: 429;
2686
+ readonly message: "Too many requests";
2687
+ readonly data: ZodOptional<ZodObject<{
2688
+ retryAfterMs: ZodOptional<ZodNumber>;
2689
+ }, $strip>>;
2690
+ };
2642
2691
  readonly FORBIDDEN: {
2643
2692
  readonly status: 403;
2644
2693
  readonly message: "You do not have access to this resource";
@@ -2657,6 +2706,13 @@ declare const contract: {
2657
2706
  invitationId: ZodString;
2658
2707
  }, $strip>;
2659
2708
  };
2709
+ readonly KEY_NOT_FOUND: {
2710
+ readonly status: 404;
2711
+ readonly message: "API key not found";
2712
+ readonly data: ZodObject<{
2713
+ id: ZodString;
2714
+ }, $strip>;
2715
+ };
2660
2716
  readonly REPO_NOT_FOUND: {
2661
2717
  readonly status: 404;
2662
2718
  readonly message: "Repo not found";
@@ -2802,6 +2858,13 @@ declare const contract: {
2802
2858
  readonly message: "Sign in required";
2803
2859
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
2804
2860
  };
2861
+ readonly TOO_MANY_REQUESTS: {
2862
+ readonly status: 429;
2863
+ readonly message: "Too many requests";
2864
+ readonly data: ZodOptional<ZodObject<{
2865
+ retryAfterMs: ZodOptional<ZodNumber>;
2866
+ }, $strip>>;
2867
+ };
2805
2868
  readonly FORBIDDEN: {
2806
2869
  readonly status: 403;
2807
2870
  readonly message: "You do not have access to this resource";
@@ -2820,6 +2883,13 @@ declare const contract: {
2820
2883
  invitationId: ZodString;
2821
2884
  }, $strip>;
2822
2885
  };
2886
+ readonly KEY_NOT_FOUND: {
2887
+ readonly status: 404;
2888
+ readonly message: "API key not found";
2889
+ readonly data: ZodObject<{
2890
+ id: ZodString;
2891
+ }, $strip>;
2892
+ };
2823
2893
  readonly REPO_NOT_FOUND: {
2824
2894
  readonly status: 404;
2825
2895
  readonly message: "Repo not found";
@@ -2961,6 +3031,13 @@ declare const contract: {
2961
3031
  readonly message: "Sign in required";
2962
3032
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
2963
3033
  };
3034
+ readonly TOO_MANY_REQUESTS: {
3035
+ readonly status: 429;
3036
+ readonly message: "Too many requests";
3037
+ readonly data: ZodOptional<ZodObject<{
3038
+ retryAfterMs: ZodOptional<ZodNumber>;
3039
+ }, $strip>>;
3040
+ };
2964
3041
  readonly FORBIDDEN: {
2965
3042
  readonly status: 403;
2966
3043
  readonly message: "You do not have access to this resource";
@@ -2979,6 +3056,13 @@ declare const contract: {
2979
3056
  invitationId: ZodString;
2980
3057
  }, $strip>;
2981
3058
  };
3059
+ readonly KEY_NOT_FOUND: {
3060
+ readonly status: 404;
3061
+ readonly message: "API key not found";
3062
+ readonly data: ZodObject<{
3063
+ id: ZodString;
3064
+ }, $strip>;
3065
+ };
2982
3066
  readonly REPO_NOT_FOUND: {
2983
3067
  readonly status: 404;
2984
3068
  readonly message: "Repo not found";
@@ -3112,6 +3196,13 @@ declare const contract: {
3112
3196
  readonly message: "Sign in required";
3113
3197
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
3114
3198
  };
3199
+ readonly TOO_MANY_REQUESTS: {
3200
+ readonly status: 429;
3201
+ readonly message: "Too many requests";
3202
+ readonly data: ZodOptional<ZodObject<{
3203
+ retryAfterMs: ZodOptional<ZodNumber>;
3204
+ }, $strip>>;
3205
+ };
3115
3206
  readonly FORBIDDEN: {
3116
3207
  readonly status: 403;
3117
3208
  readonly message: "You do not have access to this resource";
@@ -3130,6 +3221,13 @@ declare const contract: {
3130
3221
  invitationId: ZodString;
3131
3222
  }, $strip>;
3132
3223
  };
3224
+ readonly KEY_NOT_FOUND: {
3225
+ readonly status: 404;
3226
+ readonly message: "API key not found";
3227
+ readonly data: ZodObject<{
3228
+ id: ZodString;
3229
+ }, $strip>;
3230
+ };
3133
3231
  readonly REPO_NOT_FOUND: {
3134
3232
  readonly status: 404;
3135
3233
  readonly message: "Repo not found";
@@ -3269,6 +3367,13 @@ declare const contract: {
3269
3367
  readonly message: "Sign in required";
3270
3368
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
3271
3369
  };
3370
+ readonly TOO_MANY_REQUESTS: {
3371
+ readonly status: 429;
3372
+ readonly message: "Too many requests";
3373
+ readonly data: ZodOptional<ZodObject<{
3374
+ retryAfterMs: ZodOptional<ZodNumber>;
3375
+ }, $strip>>;
3376
+ };
3272
3377
  readonly FORBIDDEN: {
3273
3378
  readonly status: 403;
3274
3379
  readonly message: "You do not have access to this resource";
@@ -3287,6 +3392,13 @@ declare const contract: {
3287
3392
  invitationId: ZodString;
3288
3393
  }, $strip>;
3289
3394
  };
3395
+ readonly KEY_NOT_FOUND: {
3396
+ readonly status: 404;
3397
+ readonly message: "API key not found";
3398
+ readonly data: ZodObject<{
3399
+ id: ZodString;
3400
+ }, $strip>;
3401
+ };
3290
3402
  readonly REPO_NOT_FOUND: {
3291
3403
  readonly status: 404;
3292
3404
  readonly message: "Repo not found";
@@ -3430,6 +3542,13 @@ declare const contract: {
3430
3542
  readonly message: "Sign in required";
3431
3543
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
3432
3544
  };
3545
+ readonly TOO_MANY_REQUESTS: {
3546
+ readonly status: 429;
3547
+ readonly message: "Too many requests";
3548
+ readonly data: ZodOptional<ZodObject<{
3549
+ retryAfterMs: ZodOptional<ZodNumber>;
3550
+ }, $strip>>;
3551
+ };
3433
3552
  readonly FORBIDDEN: {
3434
3553
  readonly status: 403;
3435
3554
  readonly message: "You do not have access to this resource";
@@ -3448,6 +3567,13 @@ declare const contract: {
3448
3567
  invitationId: ZodString;
3449
3568
  }, $strip>;
3450
3569
  };
3570
+ readonly KEY_NOT_FOUND: {
3571
+ readonly status: 404;
3572
+ readonly message: "API key not found";
3573
+ readonly data: ZodObject<{
3574
+ id: ZodString;
3575
+ }, $strip>;
3576
+ };
3451
3577
  readonly REPO_NOT_FOUND: {
3452
3578
  readonly status: 404;
3453
3579
  readonly message: "Repo not found";
@@ -3584,6 +3710,13 @@ declare const contract: {
3584
3710
  readonly message: "Sign in required";
3585
3711
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
3586
3712
  };
3713
+ readonly TOO_MANY_REQUESTS: {
3714
+ readonly status: 429;
3715
+ readonly message: "Too many requests";
3716
+ readonly data: ZodOptional<ZodObject<{
3717
+ retryAfterMs: ZodOptional<ZodNumber>;
3718
+ }, $strip>>;
3719
+ };
3587
3720
  readonly FORBIDDEN: {
3588
3721
  readonly status: 403;
3589
3722
  readonly message: "You do not have access to this resource";
@@ -3602,6 +3735,13 @@ declare const contract: {
3602
3735
  invitationId: ZodString;
3603
3736
  }, $strip>;
3604
3737
  };
3738
+ readonly KEY_NOT_FOUND: {
3739
+ readonly status: 404;
3740
+ readonly message: "API key not found";
3741
+ readonly data: ZodObject<{
3742
+ id: ZodString;
3743
+ }, $strip>;
3744
+ };
3605
3745
  readonly REPO_NOT_FOUND: {
3606
3746
  readonly status: 404;
3607
3747
  readonly message: "Repo not found";
@@ -3766,6 +3906,13 @@ declare const contract: {
3766
3906
  readonly message: "Sign in required";
3767
3907
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
3768
3908
  };
3909
+ readonly TOO_MANY_REQUESTS: {
3910
+ readonly status: 429;
3911
+ readonly message: "Too many requests";
3912
+ readonly data: ZodOptional<ZodObject<{
3913
+ retryAfterMs: ZodOptional<ZodNumber>;
3914
+ }, $strip>>;
3915
+ };
3769
3916
  readonly FORBIDDEN: {
3770
3917
  readonly status: 403;
3771
3918
  readonly message: "You do not have access to this resource";
@@ -3784,6 +3931,13 @@ declare const contract: {
3784
3931
  invitationId: ZodString;
3785
3932
  }, $strip>;
3786
3933
  };
3934
+ readonly KEY_NOT_FOUND: {
3935
+ readonly status: 404;
3936
+ readonly message: "API key not found";
3937
+ readonly data: ZodObject<{
3938
+ id: ZodString;
3939
+ }, $strip>;
3940
+ };
3787
3941
  readonly REPO_NOT_FOUND: {
3788
3942
  readonly status: 404;
3789
3943
  readonly message: "Repo not found";
@@ -3913,6 +4067,13 @@ declare const contract: {
3913
4067
  readonly message: "Sign in required";
3914
4068
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
3915
4069
  };
4070
+ readonly TOO_MANY_REQUESTS: {
4071
+ readonly status: 429;
4072
+ readonly message: "Too many requests";
4073
+ readonly data: ZodOptional<ZodObject<{
4074
+ retryAfterMs: ZodOptional<ZodNumber>;
4075
+ }, $strip>>;
4076
+ };
3916
4077
  readonly FORBIDDEN: {
3917
4078
  readonly status: 403;
3918
4079
  readonly message: "You do not have access to this resource";
@@ -3931,6 +4092,13 @@ declare const contract: {
3931
4092
  invitationId: ZodString;
3932
4093
  }, $strip>;
3933
4094
  };
4095
+ readonly KEY_NOT_FOUND: {
4096
+ readonly status: 404;
4097
+ readonly message: "API key not found";
4098
+ readonly data: ZodObject<{
4099
+ id: ZodString;
4100
+ }, $strip>;
4101
+ };
3934
4102
  readonly REPO_NOT_FOUND: {
3935
4103
  readonly status: 404;
3936
4104
  readonly message: "Repo not found";
@@ -4046,7 +4214,7 @@ declare const contract: {
4046
4214
  git: {
4047
4215
  refs: {
4048
4216
  list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
4049
- orgSlug: ZodOptional<ZodString>;
4217
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
4050
4218
  name: ZodString;
4051
4219
  cursor: ZodOptional<ZodString>;
4052
4220
  limit: ZodDefault<ZodNumber>;
@@ -4073,6 +4241,13 @@ declare const contract: {
4073
4241
  readonly message: "Sign in required";
4074
4242
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
4075
4243
  };
4244
+ readonly TOO_MANY_REQUESTS: {
4245
+ readonly status: 429;
4246
+ readonly message: "Too many requests";
4247
+ readonly data: ZodOptional<ZodObject<{
4248
+ retryAfterMs: ZodOptional<ZodNumber>;
4249
+ }, $strip>>;
4250
+ };
4076
4251
  readonly FORBIDDEN: {
4077
4252
  readonly status: 403;
4078
4253
  readonly message: "You do not have access to this resource";
@@ -4091,6 +4266,13 @@ declare const contract: {
4091
4266
  invitationId: ZodString;
4092
4267
  }, $strip>;
4093
4268
  };
4269
+ readonly KEY_NOT_FOUND: {
4270
+ readonly status: 404;
4271
+ readonly message: "API key not found";
4272
+ readonly data: ZodObject<{
4273
+ id: ZodString;
4274
+ }, $strip>;
4275
+ };
4094
4276
  readonly REPO_NOT_FOUND: {
4095
4277
  readonly status: 404;
4096
4278
  readonly message: "Repo not found";
@@ -4203,7 +4385,7 @@ declare const contract: {
4203
4385
  };
4204
4386
  }>, Record<never, never>>;
4205
4387
  get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
4206
- orgSlug: ZodOptional<ZodString>;
4388
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
4207
4389
  name: ZodString;
4208
4390
  ref: ZodString;
4209
4391
  }, $strip>, ZodObject<{
@@ -4225,6 +4407,13 @@ declare const contract: {
4225
4407
  readonly message: "Sign in required";
4226
4408
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
4227
4409
  };
4410
+ readonly TOO_MANY_REQUESTS: {
4411
+ readonly status: 429;
4412
+ readonly message: "Too many requests";
4413
+ readonly data: ZodOptional<ZodObject<{
4414
+ retryAfterMs: ZodOptional<ZodNumber>;
4415
+ }, $strip>>;
4416
+ };
4228
4417
  readonly FORBIDDEN: {
4229
4418
  readonly status: 403;
4230
4419
  readonly message: "You do not have access to this resource";
@@ -4243,6 +4432,13 @@ declare const contract: {
4243
4432
  invitationId: ZodString;
4244
4433
  }, $strip>;
4245
4434
  };
4435
+ readonly KEY_NOT_FOUND: {
4436
+ readonly status: 404;
4437
+ readonly message: "API key not found";
4438
+ readonly data: ZodObject<{
4439
+ id: ZodString;
4440
+ }, $strip>;
4441
+ };
4246
4442
  readonly REPO_NOT_FOUND: {
4247
4443
  readonly status: 404;
4248
4444
  readonly message: "Repo not found";
@@ -4357,7 +4553,7 @@ declare const contract: {
4357
4553
  };
4358
4554
  branches: {
4359
4555
  list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
4360
- orgSlug: ZodOptional<ZodString>;
4556
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
4361
4557
  name: ZodString;
4362
4558
  cursor: ZodOptional<ZodString>;
4363
4559
  limit: ZodDefault<ZodNumber>;
@@ -4384,6 +4580,13 @@ declare const contract: {
4384
4580
  readonly message: "Sign in required";
4385
4581
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
4386
4582
  };
4583
+ readonly TOO_MANY_REQUESTS: {
4584
+ readonly status: 429;
4585
+ readonly message: "Too many requests";
4586
+ readonly data: ZodOptional<ZodObject<{
4587
+ retryAfterMs: ZodOptional<ZodNumber>;
4588
+ }, $strip>>;
4589
+ };
4387
4590
  readonly FORBIDDEN: {
4388
4591
  readonly status: 403;
4389
4592
  readonly message: "You do not have access to this resource";
@@ -4402,6 +4605,13 @@ declare const contract: {
4402
4605
  invitationId: ZodString;
4403
4606
  }, $strip>;
4404
4607
  };
4608
+ readonly KEY_NOT_FOUND: {
4609
+ readonly status: 404;
4610
+ readonly message: "API key not found";
4611
+ readonly data: ZodObject<{
4612
+ id: ZodString;
4613
+ }, $strip>;
4614
+ };
4405
4615
  readonly REPO_NOT_FOUND: {
4406
4616
  readonly status: 404;
4407
4617
  readonly message: "Repo not found";
@@ -4514,7 +4724,7 @@ declare const contract: {
4514
4724
  };
4515
4725
  }>, Record<never, never>>;
4516
4726
  get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
4517
- orgSlug: ZodOptional<ZodString>;
4727
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
4518
4728
  name: ZodString;
4519
4729
  ref: ZodString;
4520
4730
  }, $strip>, ZodObject<{
@@ -4536,6 +4746,13 @@ declare const contract: {
4536
4746
  readonly message: "Sign in required";
4537
4747
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
4538
4748
  };
4749
+ readonly TOO_MANY_REQUESTS: {
4750
+ readonly status: 429;
4751
+ readonly message: "Too many requests";
4752
+ readonly data: ZodOptional<ZodObject<{
4753
+ retryAfterMs: ZodOptional<ZodNumber>;
4754
+ }, $strip>>;
4755
+ };
4539
4756
  readonly FORBIDDEN: {
4540
4757
  readonly status: 403;
4541
4758
  readonly message: "You do not have access to this resource";
@@ -4554,6 +4771,13 @@ declare const contract: {
4554
4771
  invitationId: ZodString;
4555
4772
  }, $strip>;
4556
4773
  };
4774
+ readonly KEY_NOT_FOUND: {
4775
+ readonly status: 404;
4776
+ readonly message: "API key not found";
4777
+ readonly data: ZodObject<{
4778
+ id: ZodString;
4779
+ }, $strip>;
4780
+ };
4557
4781
  readonly REPO_NOT_FOUND: {
4558
4782
  readonly status: 404;
4559
4783
  readonly message: "Repo not found";
@@ -4666,7 +4890,7 @@ declare const contract: {
4666
4890
  };
4667
4891
  }>, Record<never, never>>;
4668
4892
  create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
4669
- orgSlug: ZodOptional<ZodString>;
4893
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
4670
4894
  name: ZodString;
4671
4895
  branch: ZodString;
4672
4896
  fromRef: ZodString;
@@ -4689,6 +4913,13 @@ declare const contract: {
4689
4913
  readonly message: "Sign in required";
4690
4914
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
4691
4915
  };
4916
+ readonly TOO_MANY_REQUESTS: {
4917
+ readonly status: 429;
4918
+ readonly message: "Too many requests";
4919
+ readonly data: ZodOptional<ZodObject<{
4920
+ retryAfterMs: ZodOptional<ZodNumber>;
4921
+ }, $strip>>;
4922
+ };
4692
4923
  readonly FORBIDDEN: {
4693
4924
  readonly status: 403;
4694
4925
  readonly message: "You do not have access to this resource";
@@ -4707,6 +4938,13 @@ declare const contract: {
4707
4938
  invitationId: ZodString;
4708
4939
  }, $strip>;
4709
4940
  };
4941
+ readonly KEY_NOT_FOUND: {
4942
+ readonly status: 404;
4943
+ readonly message: "API key not found";
4944
+ readonly data: ZodObject<{
4945
+ id: ZodString;
4946
+ }, $strip>;
4947
+ };
4710
4948
  readonly REPO_NOT_FOUND: {
4711
4949
  readonly status: 404;
4712
4950
  readonly message: "Repo not found";
@@ -4819,7 +5057,7 @@ declare const contract: {
4819
5057
  };
4820
5058
  }>, Record<never, never>>;
4821
5059
  update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
4822
- orgSlug: ZodOptional<ZodString>;
5060
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
4823
5061
  name: ZodString;
4824
5062
  ref: ZodString;
4825
5063
  oid: ZodString;
@@ -4845,6 +5083,13 @@ declare const contract: {
4845
5083
  readonly message: "Sign in required";
4846
5084
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
4847
5085
  };
5086
+ readonly TOO_MANY_REQUESTS: {
5087
+ readonly status: 429;
5088
+ readonly message: "Too many requests";
5089
+ readonly data: ZodOptional<ZodObject<{
5090
+ retryAfterMs: ZodOptional<ZodNumber>;
5091
+ }, $strip>>;
5092
+ };
4848
5093
  readonly FORBIDDEN: {
4849
5094
  readonly status: 403;
4850
5095
  readonly message: "You do not have access to this resource";
@@ -4863,6 +5108,13 @@ declare const contract: {
4863
5108
  invitationId: ZodString;
4864
5109
  }, $strip>;
4865
5110
  };
5111
+ readonly KEY_NOT_FOUND: {
5112
+ readonly status: 404;
5113
+ readonly message: "API key not found";
5114
+ readonly data: ZodObject<{
5115
+ id: ZodString;
5116
+ }, $strip>;
5117
+ };
4866
5118
  readonly REPO_NOT_FOUND: {
4867
5119
  readonly status: 404;
4868
5120
  readonly message: "Repo not found";
@@ -4975,7 +5227,7 @@ declare const contract: {
4975
5227
  };
4976
5228
  }>, Record<never, never>>;
4977
5229
  delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
4978
- orgSlug: ZodOptional<ZodString>;
5230
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
4979
5231
  name: ZodString;
4980
5232
  ref: ZodString;
4981
5233
  expectedOid: ZodOptional<ZodString>;
@@ -4992,6 +5244,13 @@ declare const contract: {
4992
5244
  readonly message: "Sign in required";
4993
5245
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
4994
5246
  };
5247
+ readonly TOO_MANY_REQUESTS: {
5248
+ readonly status: 429;
5249
+ readonly message: "Too many requests";
5250
+ readonly data: ZodOptional<ZodObject<{
5251
+ retryAfterMs: ZodOptional<ZodNumber>;
5252
+ }, $strip>>;
5253
+ };
4995
5254
  readonly FORBIDDEN: {
4996
5255
  readonly status: 403;
4997
5256
  readonly message: "You do not have access to this resource";
@@ -5010,6 +5269,13 @@ declare const contract: {
5010
5269
  invitationId: ZodString;
5011
5270
  }, $strip>;
5012
5271
  };
5272
+ readonly KEY_NOT_FOUND: {
5273
+ readonly status: 404;
5274
+ readonly message: "API key not found";
5275
+ readonly data: ZodObject<{
5276
+ id: ZodString;
5277
+ }, $strip>;
5278
+ };
5013
5279
  readonly REPO_NOT_FOUND: {
5014
5280
  readonly status: 404;
5015
5281
  readonly message: "Repo not found";
@@ -5124,7 +5390,7 @@ declare const contract: {
5124
5390
  };
5125
5391
  tags: {
5126
5392
  list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
5127
- orgSlug: ZodOptional<ZodString>;
5393
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
5128
5394
  name: ZodString;
5129
5395
  cursor: ZodOptional<ZodString>;
5130
5396
  limit: ZodDefault<ZodNumber>;
@@ -5151,6 +5417,13 @@ declare const contract: {
5151
5417
  readonly message: "Sign in required";
5152
5418
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
5153
5419
  };
5420
+ readonly TOO_MANY_REQUESTS: {
5421
+ readonly status: 429;
5422
+ readonly message: "Too many requests";
5423
+ readonly data: ZodOptional<ZodObject<{
5424
+ retryAfterMs: ZodOptional<ZodNumber>;
5425
+ }, $strip>>;
5426
+ };
5154
5427
  readonly FORBIDDEN: {
5155
5428
  readonly status: 403;
5156
5429
  readonly message: "You do not have access to this resource";
@@ -5169,6 +5442,13 @@ declare const contract: {
5169
5442
  invitationId: ZodString;
5170
5443
  }, $strip>;
5171
5444
  };
5445
+ readonly KEY_NOT_FOUND: {
5446
+ readonly status: 404;
5447
+ readonly message: "API key not found";
5448
+ readonly data: ZodObject<{
5449
+ id: ZodString;
5450
+ }, $strip>;
5451
+ };
5172
5452
  readonly REPO_NOT_FOUND: {
5173
5453
  readonly status: 404;
5174
5454
  readonly message: "Repo not found";
@@ -5281,7 +5561,7 @@ declare const contract: {
5281
5561
  };
5282
5562
  }>, Record<never, never>>;
5283
5563
  get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
5284
- orgSlug: ZodOptional<ZodString>;
5564
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
5285
5565
  name: ZodString;
5286
5566
  ref: ZodString;
5287
5567
  }, $strip>, ZodObject<{
@@ -5303,6 +5583,13 @@ declare const contract: {
5303
5583
  readonly message: "Sign in required";
5304
5584
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
5305
5585
  };
5586
+ readonly TOO_MANY_REQUESTS: {
5587
+ readonly status: 429;
5588
+ readonly message: "Too many requests";
5589
+ readonly data: ZodOptional<ZodObject<{
5590
+ retryAfterMs: ZodOptional<ZodNumber>;
5591
+ }, $strip>>;
5592
+ };
5306
5593
  readonly FORBIDDEN: {
5307
5594
  readonly status: 403;
5308
5595
  readonly message: "You do not have access to this resource";
@@ -5321,6 +5608,13 @@ declare const contract: {
5321
5608
  invitationId: ZodString;
5322
5609
  }, $strip>;
5323
5610
  };
5611
+ readonly KEY_NOT_FOUND: {
5612
+ readonly status: 404;
5613
+ readonly message: "API key not found";
5614
+ readonly data: ZodObject<{
5615
+ id: ZodString;
5616
+ }, $strip>;
5617
+ };
5324
5618
  readonly REPO_NOT_FOUND: {
5325
5619
  readonly status: 404;
5326
5620
  readonly message: "Repo not found";
@@ -5433,7 +5727,7 @@ declare const contract: {
5433
5727
  };
5434
5728
  }>, Record<never, never>>;
5435
5729
  create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
5436
- orgSlug: ZodOptional<ZodString>;
5730
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
5437
5731
  name: ZodString;
5438
5732
  tag: ZodString;
5439
5733
  oid: ZodString;
@@ -5463,6 +5757,13 @@ declare const contract: {
5463
5757
  readonly message: "Sign in required";
5464
5758
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
5465
5759
  };
5760
+ readonly TOO_MANY_REQUESTS: {
5761
+ readonly status: 429;
5762
+ readonly message: "Too many requests";
5763
+ readonly data: ZodOptional<ZodObject<{
5764
+ retryAfterMs: ZodOptional<ZodNumber>;
5765
+ }, $strip>>;
5766
+ };
5466
5767
  readonly FORBIDDEN: {
5467
5768
  readonly status: 403;
5468
5769
  readonly message: "You do not have access to this resource";
@@ -5481,6 +5782,13 @@ declare const contract: {
5481
5782
  invitationId: ZodString;
5482
5783
  }, $strip>;
5483
5784
  };
5785
+ readonly KEY_NOT_FOUND: {
5786
+ readonly status: 404;
5787
+ readonly message: "API key not found";
5788
+ readonly data: ZodObject<{
5789
+ id: ZodString;
5790
+ }, $strip>;
5791
+ };
5484
5792
  readonly REPO_NOT_FOUND: {
5485
5793
  readonly status: 404;
5486
5794
  readonly message: "Repo not found";
@@ -5593,7 +5901,7 @@ declare const contract: {
5593
5901
  };
5594
5902
  }>, Record<never, never>>;
5595
5903
  delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
5596
- orgSlug: ZodOptional<ZodString>;
5904
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
5597
5905
  name: ZodString;
5598
5906
  ref: ZodString;
5599
5907
  }, $strip>, ZodObject<{
@@ -5609,6 +5917,13 @@ declare const contract: {
5609
5917
  readonly message: "Sign in required";
5610
5918
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
5611
5919
  };
5920
+ readonly TOO_MANY_REQUESTS: {
5921
+ readonly status: 429;
5922
+ readonly message: "Too many requests";
5923
+ readonly data: ZodOptional<ZodObject<{
5924
+ retryAfterMs: ZodOptional<ZodNumber>;
5925
+ }, $strip>>;
5926
+ };
5612
5927
  readonly FORBIDDEN: {
5613
5928
  readonly status: 403;
5614
5929
  readonly message: "You do not have access to this resource";
@@ -5627,6 +5942,13 @@ declare const contract: {
5627
5942
  invitationId: ZodString;
5628
5943
  }, $strip>;
5629
5944
  };
5945
+ readonly KEY_NOT_FOUND: {
5946
+ readonly status: 404;
5947
+ readonly message: "API key not found";
5948
+ readonly data: ZodObject<{
5949
+ id: ZodString;
5950
+ }, $strip>;
5951
+ };
5630
5952
  readonly REPO_NOT_FOUND: {
5631
5953
  readonly status: 404;
5632
5954
  readonly message: "Repo not found";
@@ -5741,7 +6063,7 @@ declare const contract: {
5741
6063
  };
5742
6064
  commits: {
5743
6065
  list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
5744
- orgSlug: ZodOptional<ZodString>;
6066
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
5745
6067
  name: ZodString;
5746
6068
  cursor: ZodOptional<ZodString>;
5747
6069
  limit: ZodDefault<ZodNumber>;
@@ -5767,6 +6089,13 @@ declare const contract: {
5767
6089
  readonly message: "Sign in required";
5768
6090
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
5769
6091
  };
6092
+ readonly TOO_MANY_REQUESTS: {
6093
+ readonly status: 429;
6094
+ readonly message: "Too many requests";
6095
+ readonly data: ZodOptional<ZodObject<{
6096
+ retryAfterMs: ZodOptional<ZodNumber>;
6097
+ }, $strip>>;
6098
+ };
5770
6099
  readonly FORBIDDEN: {
5771
6100
  readonly status: 403;
5772
6101
  readonly message: "You do not have access to this resource";
@@ -5785,6 +6114,13 @@ declare const contract: {
5785
6114
  invitationId: ZodString;
5786
6115
  }, $strip>;
5787
6116
  };
6117
+ readonly KEY_NOT_FOUND: {
6118
+ readonly status: 404;
6119
+ readonly message: "API key not found";
6120
+ readonly data: ZodObject<{
6121
+ id: ZodString;
6122
+ }, $strip>;
6123
+ };
5788
6124
  readonly REPO_NOT_FOUND: {
5789
6125
  readonly status: 404;
5790
6126
  readonly message: "Repo not found";
@@ -5897,7 +6233,7 @@ declare const contract: {
5897
6233
  };
5898
6234
  }>, Record<never, never>>;
5899
6235
  get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
5900
- orgSlug: ZodOptional<ZodString>;
6236
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
5901
6237
  name: ZodString;
5902
6238
  oid: ZodString;
5903
6239
  }, $strip>, ZodObject<{
@@ -5917,6 +6253,13 @@ declare const contract: {
5917
6253
  readonly message: "Sign in required";
5918
6254
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
5919
6255
  };
6256
+ readonly TOO_MANY_REQUESTS: {
6257
+ readonly status: 429;
6258
+ readonly message: "Too many requests";
6259
+ readonly data: ZodOptional<ZodObject<{
6260
+ retryAfterMs: ZodOptional<ZodNumber>;
6261
+ }, $strip>>;
6262
+ };
5920
6263
  readonly FORBIDDEN: {
5921
6264
  readonly status: 403;
5922
6265
  readonly message: "You do not have access to this resource";
@@ -5935,6 +6278,13 @@ declare const contract: {
5935
6278
  invitationId: ZodString;
5936
6279
  }, $strip>;
5937
6280
  };
6281
+ readonly KEY_NOT_FOUND: {
6282
+ readonly status: 404;
6283
+ readonly message: "API key not found";
6284
+ readonly data: ZodObject<{
6285
+ id: ZodString;
6286
+ }, $strip>;
6287
+ };
5938
6288
  readonly REPO_NOT_FOUND: {
5939
6289
  readonly status: 404;
5940
6290
  readonly message: "Repo not found";
@@ -6047,7 +6397,7 @@ declare const contract: {
6047
6397
  };
6048
6398
  }>, Record<never, never>>;
6049
6399
  create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
6050
- orgSlug: ZodOptional<ZodString>;
6400
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
6051
6401
  name: ZodString;
6052
6402
  ref: ZodString;
6053
6403
  message: ZodString;
@@ -6094,6 +6444,13 @@ declare const contract: {
6094
6444
  readonly message: "Sign in required";
6095
6445
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
6096
6446
  };
6447
+ readonly TOO_MANY_REQUESTS: {
6448
+ readonly status: 429;
6449
+ readonly message: "Too many requests";
6450
+ readonly data: ZodOptional<ZodObject<{
6451
+ retryAfterMs: ZodOptional<ZodNumber>;
6452
+ }, $strip>>;
6453
+ };
6097
6454
  readonly FORBIDDEN: {
6098
6455
  readonly status: 403;
6099
6456
  readonly message: "You do not have access to this resource";
@@ -6112,6 +6469,13 @@ declare const contract: {
6112
6469
  invitationId: ZodString;
6113
6470
  }, $strip>;
6114
6471
  };
6472
+ readonly KEY_NOT_FOUND: {
6473
+ readonly status: 404;
6474
+ readonly message: "API key not found";
6475
+ readonly data: ZodObject<{
6476
+ id: ZodString;
6477
+ }, $strip>;
6478
+ };
6115
6479
  readonly REPO_NOT_FOUND: {
6116
6480
  readonly status: 404;
6117
6481
  readonly message: "Repo not found";
@@ -6226,7 +6590,7 @@ declare const contract: {
6226
6590
  };
6227
6591
  tree: {
6228
6592
  get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
6229
- orgSlug: ZodOptional<ZodString>;
6593
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
6230
6594
  name: ZodString;
6231
6595
  ref: ZodDefault<ZodString>;
6232
6596
  path: ZodOptional<ZodString>;
@@ -6256,6 +6620,13 @@ declare const contract: {
6256
6620
  readonly message: "Sign in required";
6257
6621
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
6258
6622
  };
6623
+ readonly TOO_MANY_REQUESTS: {
6624
+ readonly status: 429;
6625
+ readonly message: "Too many requests";
6626
+ readonly data: ZodOptional<ZodObject<{
6627
+ retryAfterMs: ZodOptional<ZodNumber>;
6628
+ }, $strip>>;
6629
+ };
6259
6630
  readonly FORBIDDEN: {
6260
6631
  readonly status: 403;
6261
6632
  readonly message: "You do not have access to this resource";
@@ -6274,6 +6645,13 @@ declare const contract: {
6274
6645
  invitationId: ZodString;
6275
6646
  }, $strip>;
6276
6647
  };
6648
+ readonly KEY_NOT_FOUND: {
6649
+ readonly status: 404;
6650
+ readonly message: "API key not found";
6651
+ readonly data: ZodObject<{
6652
+ id: ZodString;
6653
+ }, $strip>;
6654
+ };
6277
6655
  readonly REPO_NOT_FOUND: {
6278
6656
  readonly status: 404;
6279
6657
  readonly message: "Repo not found";
@@ -6388,7 +6766,7 @@ declare const contract: {
6388
6766
  };
6389
6767
  blob: {
6390
6768
  get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
6391
- orgSlug: ZodOptional<ZodString>;
6769
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
6392
6770
  name: ZodString;
6393
6771
  oid: ZodString;
6394
6772
  }, $strip>, ZodUnion<readonly [ZodObject<{
@@ -6411,6 +6789,13 @@ declare const contract: {
6411
6789
  readonly message: "Sign in required";
6412
6790
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
6413
6791
  };
6792
+ readonly TOO_MANY_REQUESTS: {
6793
+ readonly status: 429;
6794
+ readonly message: "Too many requests";
6795
+ readonly data: ZodOptional<ZodObject<{
6796
+ retryAfterMs: ZodOptional<ZodNumber>;
6797
+ }, $strip>>;
6798
+ };
6414
6799
  readonly FORBIDDEN: {
6415
6800
  readonly status: 403;
6416
6801
  readonly message: "You do not have access to this resource";
@@ -6429,6 +6814,13 @@ declare const contract: {
6429
6814
  invitationId: ZodString;
6430
6815
  }, $strip>;
6431
6816
  };
6817
+ readonly KEY_NOT_FOUND: {
6818
+ readonly status: 404;
6819
+ readonly message: "API key not found";
6820
+ readonly data: ZodObject<{
6821
+ id: ZodString;
6822
+ }, $strip>;
6823
+ };
6432
6824
  readonly REPO_NOT_FOUND: {
6433
6825
  readonly status: 404;
6434
6826
  readonly message: "Repo not found";
@@ -6543,7 +6935,7 @@ declare const contract: {
6543
6935
  };
6544
6936
  workspace: {
6545
6937
  commit: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
6546
- orgSlug: ZodOptional<ZodString>;
6938
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
6547
6939
  name: ZodString;
6548
6940
  ref: ZodDefault<ZodString>;
6549
6941
  message: ZodString;
@@ -6594,6 +6986,13 @@ declare const contract: {
6594
6986
  readonly message: "Sign in required";
6595
6987
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
6596
6988
  };
6989
+ readonly TOO_MANY_REQUESTS: {
6990
+ readonly status: 429;
6991
+ readonly message: "Too many requests";
6992
+ readonly data: ZodOptional<ZodObject<{
6993
+ retryAfterMs: ZodOptional<ZodNumber>;
6994
+ }, $strip>>;
6995
+ };
6597
6996
  readonly FORBIDDEN: {
6598
6997
  readonly status: 403;
6599
6998
  readonly message: "You do not have access to this resource";
@@ -6612,6 +7011,13 @@ declare const contract: {
6612
7011
  invitationId: ZodString;
6613
7012
  }, $strip>;
6614
7013
  };
7014
+ readonly KEY_NOT_FOUND: {
7015
+ readonly status: 404;
7016
+ readonly message: "API key not found";
7017
+ readonly data: ZodObject<{
7018
+ id: ZodString;
7019
+ }, $strip>;
7020
+ };
6615
7021
  readonly REPO_NOT_FOUND: {
6616
7022
  readonly status: 404;
6617
7023
  readonly message: "Repo not found";
@@ -6725,7 +7131,7 @@ declare const contract: {
6725
7131
  }>, Record<never, never>>;
6726
7132
  };
6727
7133
  compare: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
6728
- orgSlug: ZodOptional<ZodString>;
7134
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
6729
7135
  name: ZodString;
6730
7136
  base: ZodString;
6731
7137
  head: ZodString;
@@ -6767,6 +7173,13 @@ declare const contract: {
6767
7173
  readonly message: "Sign in required";
6768
7174
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
6769
7175
  };
7176
+ readonly TOO_MANY_REQUESTS: {
7177
+ readonly status: 429;
7178
+ readonly message: "Too many requests";
7179
+ readonly data: ZodOptional<ZodObject<{
7180
+ retryAfterMs: ZodOptional<ZodNumber>;
7181
+ }, $strip>>;
7182
+ };
6770
7183
  readonly FORBIDDEN: {
6771
7184
  readonly status: 403;
6772
7185
  readonly message: "You do not have access to this resource";
@@ -6785,6 +7198,13 @@ declare const contract: {
6785
7198
  invitationId: ZodString;
6786
7199
  }, $strip>;
6787
7200
  };
7201
+ readonly KEY_NOT_FOUND: {
7202
+ readonly status: 404;
7203
+ readonly message: "API key not found";
7204
+ readonly data: ZodObject<{
7205
+ id: ZodString;
7206
+ }, $strip>;
7207
+ };
6788
7208
  readonly REPO_NOT_FOUND: {
6789
7209
  readonly status: 404;
6790
7210
  readonly message: "Repo not found";
@@ -6897,7 +7317,7 @@ declare const contract: {
6897
7317
  };
6898
7318
  }>, Record<never, never>>;
6899
7319
  diff: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
6900
- orgSlug: ZodOptional<ZodString>;
7320
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
6901
7321
  name: ZodString;
6902
7322
  base: ZodString;
6903
7323
  head: ZodString;
@@ -6942,6 +7362,13 @@ declare const contract: {
6942
7362
  readonly message: "Sign in required";
6943
7363
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
6944
7364
  };
7365
+ readonly TOO_MANY_REQUESTS: {
7366
+ readonly status: 429;
7367
+ readonly message: "Too many requests";
7368
+ readonly data: ZodOptional<ZodObject<{
7369
+ retryAfterMs: ZodOptional<ZodNumber>;
7370
+ }, $strip>>;
7371
+ };
6945
7372
  readonly FORBIDDEN: {
6946
7373
  readonly status: 403;
6947
7374
  readonly message: "You do not have access to this resource";
@@ -6960,6 +7387,13 @@ declare const contract: {
6960
7387
  invitationId: ZodString;
6961
7388
  }, $strip>;
6962
7389
  };
7390
+ readonly KEY_NOT_FOUND: {
7391
+ readonly status: 404;
7392
+ readonly message: "API key not found";
7393
+ readonly data: ZodObject<{
7394
+ id: ZodString;
7395
+ }, $strip>;
7396
+ };
6963
7397
  readonly REPO_NOT_FOUND: {
6964
7398
  readonly status: 404;
6965
7399
  readonly message: "Repo not found";
@@ -7126,6 +7560,13 @@ declare const contract: {
7126
7560
  readonly message: "Sign in required";
7127
7561
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
7128
7562
  };
7563
+ readonly TOO_MANY_REQUESTS: {
7564
+ readonly status: 429;
7565
+ readonly message: "Too many requests";
7566
+ readonly data: ZodOptional<ZodObject<{
7567
+ retryAfterMs: ZodOptional<ZodNumber>;
7568
+ }, $strip>>;
7569
+ };
7129
7570
  readonly FORBIDDEN: {
7130
7571
  readonly status: 403;
7131
7572
  readonly message: "You do not have access to this resource";
@@ -7144,6 +7585,13 @@ declare const contract: {
7144
7585
  invitationId: ZodString;
7145
7586
  }, $strip>;
7146
7587
  };
7588
+ readonly KEY_NOT_FOUND: {
7589
+ readonly status: 404;
7590
+ readonly message: "API key not found";
7591
+ readonly data: ZodObject<{
7592
+ id: ZodString;
7593
+ }, $strip>;
7594
+ };
7147
7595
  readonly REPO_NOT_FOUND: {
7148
7596
  readonly status: 404;
7149
7597
  readonly message: "Repo not found";
@@ -7290,6 +7738,13 @@ declare const contract: {
7290
7738
  readonly message: "Sign in required";
7291
7739
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
7292
7740
  };
7741
+ readonly TOO_MANY_REQUESTS: {
7742
+ readonly status: 429;
7743
+ readonly message: "Too many requests";
7744
+ readonly data: ZodOptional<ZodObject<{
7745
+ retryAfterMs: ZodOptional<ZodNumber>;
7746
+ }, $strip>>;
7747
+ };
7293
7748
  readonly FORBIDDEN: {
7294
7749
  readonly status: 403;
7295
7750
  readonly message: "You do not have access to this resource";
@@ -7308,6 +7763,13 @@ declare const contract: {
7308
7763
  invitationId: ZodString;
7309
7764
  }, $strip>;
7310
7765
  };
7766
+ readonly KEY_NOT_FOUND: {
7767
+ readonly status: 404;
7768
+ readonly message: "API key not found";
7769
+ readonly data: ZodObject<{
7770
+ id: ZodString;
7771
+ }, $strip>;
7772
+ };
7311
7773
  readonly REPO_NOT_FOUND: {
7312
7774
  readonly status: 404;
7313
7775
  readonly message: "Repo not found";
@@ -7434,6 +7896,13 @@ declare const contract: {
7434
7896
  readonly message: "Sign in required";
7435
7897
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
7436
7898
  };
7899
+ readonly TOO_MANY_REQUESTS: {
7900
+ readonly status: 429;
7901
+ readonly message: "Too many requests";
7902
+ readonly data: ZodOptional<ZodObject<{
7903
+ retryAfterMs: ZodOptional<ZodNumber>;
7904
+ }, $strip>>;
7905
+ };
7437
7906
  readonly FORBIDDEN: {
7438
7907
  readonly status: 403;
7439
7908
  readonly message: "You do not have access to this resource";
@@ -7452,6 +7921,13 @@ declare const contract: {
7452
7921
  invitationId: ZodString;
7453
7922
  }, $strip>;
7454
7923
  };
7924
+ readonly KEY_NOT_FOUND: {
7925
+ readonly status: 404;
7926
+ readonly message: "API key not found";
7927
+ readonly data: ZodObject<{
7928
+ id: ZodString;
7929
+ }, $strip>;
7930
+ };
7455
7931
  readonly REPO_NOT_FOUND: {
7456
7932
  readonly status: 404;
7457
7933
  readonly message: "Repo not found";
@@ -7610,6 +8086,13 @@ declare const contract: {
7610
8086
  readonly message: "Sign in required";
7611
8087
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
7612
8088
  };
8089
+ readonly TOO_MANY_REQUESTS: {
8090
+ readonly status: 429;
8091
+ readonly message: "Too many requests";
8092
+ readonly data: ZodOptional<ZodObject<{
8093
+ retryAfterMs: ZodOptional<ZodNumber>;
8094
+ }, $strip>>;
8095
+ };
7613
8096
  readonly FORBIDDEN: {
7614
8097
  readonly status: 403;
7615
8098
  readonly message: "You do not have access to this resource";
@@ -7628,6 +8111,13 @@ declare const contract: {
7628
8111
  invitationId: ZodString;
7629
8112
  }, $strip>;
7630
8113
  };
8114
+ readonly KEY_NOT_FOUND: {
8115
+ readonly status: 404;
8116
+ readonly message: "API key not found";
8117
+ readonly data: ZodObject<{
8118
+ id: ZodString;
8119
+ }, $strip>;
8120
+ };
7631
8121
  readonly REPO_NOT_FOUND: {
7632
8122
  readonly status: 404;
7633
8123
  readonly message: "Repo not found";
@@ -7762,6 +8252,13 @@ declare const contract: {
7762
8252
  readonly message: "Sign in required";
7763
8253
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
7764
8254
  };
8255
+ readonly TOO_MANY_REQUESTS: {
8256
+ readonly status: 429;
8257
+ readonly message: "Too many requests";
8258
+ readonly data: ZodOptional<ZodObject<{
8259
+ retryAfterMs: ZodOptional<ZodNumber>;
8260
+ }, $strip>>;
8261
+ };
7765
8262
  readonly FORBIDDEN: {
7766
8263
  readonly status: 403;
7767
8264
  readonly message: "You do not have access to this resource";
@@ -7780,6 +8277,13 @@ declare const contract: {
7780
8277
  invitationId: ZodString;
7781
8278
  }, $strip>;
7782
8279
  };
8280
+ readonly KEY_NOT_FOUND: {
8281
+ readonly status: 404;
8282
+ readonly message: "API key not found";
8283
+ readonly data: ZodObject<{
8284
+ id: ZodString;
8285
+ }, $strip>;
8286
+ };
7783
8287
  readonly REPO_NOT_FOUND: {
7784
8288
  readonly status: 404;
7785
8289
  readonly message: "Repo not found";
@@ -7911,6 +8415,13 @@ declare const contract: {
7911
8415
  readonly message: "Sign in required";
7912
8416
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
7913
8417
  };
8418
+ readonly TOO_MANY_REQUESTS: {
8419
+ readonly status: 429;
8420
+ readonly message: "Too many requests";
8421
+ readonly data: ZodOptional<ZodObject<{
8422
+ retryAfterMs: ZodOptional<ZodNumber>;
8423
+ }, $strip>>;
8424
+ };
7914
8425
  readonly FORBIDDEN: {
7915
8426
  readonly status: 403;
7916
8427
  readonly message: "You do not have access to this resource";
@@ -7929,6 +8440,13 @@ declare const contract: {
7929
8440
  invitationId: ZodString;
7930
8441
  }, $strip>;
7931
8442
  };
8443
+ readonly KEY_NOT_FOUND: {
8444
+ readonly status: 404;
8445
+ readonly message: "API key not found";
8446
+ readonly data: ZodObject<{
8447
+ id: ZodString;
8448
+ }, $strip>;
8449
+ };
7932
8450
  readonly REPO_NOT_FOUND: {
7933
8451
  readonly status: 404;
7934
8452
  readonly message: "Repo not found";
@@ -8060,6 +8578,13 @@ declare const contract: {
8060
8578
  readonly message: "Sign in required";
8061
8579
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
8062
8580
  };
8581
+ readonly TOO_MANY_REQUESTS: {
8582
+ readonly status: 429;
8583
+ readonly message: "Too many requests";
8584
+ readonly data: ZodOptional<ZodObject<{
8585
+ retryAfterMs: ZodOptional<ZodNumber>;
8586
+ }, $strip>>;
8587
+ };
8063
8588
  readonly FORBIDDEN: {
8064
8589
  readonly status: 403;
8065
8590
  readonly message: "You do not have access to this resource";
@@ -8078,6 +8603,13 @@ declare const contract: {
8078
8603
  invitationId: ZodString;
8079
8604
  }, $strip>;
8080
8605
  };
8606
+ readonly KEY_NOT_FOUND: {
8607
+ readonly status: 404;
8608
+ readonly message: "API key not found";
8609
+ readonly data: ZodObject<{
8610
+ id: ZodString;
8611
+ }, $strip>;
8612
+ };
8081
8613
  readonly REPO_NOT_FOUND: {
8082
8614
  readonly status: 404;
8083
8615
  readonly message: "Repo not found";
@@ -8204,6 +8736,13 @@ declare const contract: {
8204
8736
  readonly message: "Sign in required";
8205
8737
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
8206
8738
  };
8739
+ readonly TOO_MANY_REQUESTS: {
8740
+ readonly status: 429;
8741
+ readonly message: "Too many requests";
8742
+ readonly data: ZodOptional<ZodObject<{
8743
+ retryAfterMs: ZodOptional<ZodNumber>;
8744
+ }, $strip>>;
8745
+ };
8207
8746
  readonly FORBIDDEN: {
8208
8747
  readonly status: 403;
8209
8748
  readonly message: "You do not have access to this resource";
@@ -8222,6 +8761,13 @@ declare const contract: {
8222
8761
  invitationId: ZodString;
8223
8762
  }, $strip>;
8224
8763
  };
8764
+ readonly KEY_NOT_FOUND: {
8765
+ readonly status: 404;
8766
+ readonly message: "API key not found";
8767
+ readonly data: ZodObject<{
8768
+ id: ZodString;
8769
+ }, $strip>;
8770
+ };
8225
8771
  readonly REPO_NOT_FOUND: {
8226
8772
  readonly status: 404;
8227
8773
  readonly message: "Repo not found";
@@ -8362,6 +8908,13 @@ declare const contract: {
8362
8908
  readonly message: "Sign in required";
8363
8909
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
8364
8910
  };
8911
+ readonly TOO_MANY_REQUESTS: {
8912
+ readonly status: 429;
8913
+ readonly message: "Too many requests";
8914
+ readonly data: ZodOptional<ZodObject<{
8915
+ retryAfterMs: ZodOptional<ZodNumber>;
8916
+ }, $strip>>;
8917
+ };
8365
8918
  readonly FORBIDDEN: {
8366
8919
  readonly status: 403;
8367
8920
  readonly message: "You do not have access to this resource";
@@ -8380,6 +8933,183 @@ declare const contract: {
8380
8933
  invitationId: ZodString;
8381
8934
  }, $strip>;
8382
8935
  };
8936
+ readonly KEY_NOT_FOUND: {
8937
+ readonly status: 404;
8938
+ readonly message: "API key not found";
8939
+ readonly data: ZodObject<{
8940
+ id: ZodString;
8941
+ }, $strip>;
8942
+ };
8943
+ readonly REPO_NOT_FOUND: {
8944
+ readonly status: 404;
8945
+ readonly message: "Repo not found";
8946
+ readonly data: ZodObject<{
8947
+ name: ZodString;
8948
+ }, $strip>;
8949
+ };
8950
+ readonly GIT_OBJECT_NOT_FOUND: {
8951
+ readonly status: 404;
8952
+ readonly message: "Git object not found";
8953
+ readonly data: ZodObject<{
8954
+ name: ZodString;
8955
+ object: ZodString;
8956
+ }, $strip>;
8957
+ };
8958
+ readonly REF_ALREADY_EXISTS: {
8959
+ readonly status: 409;
8960
+ readonly message: "Git ref already exists";
8961
+ readonly data: ZodObject<{
8962
+ name: ZodString;
8963
+ ref: ZodString;
8964
+ }, $strip>;
8965
+ };
8966
+ readonly STALE_REF: {
8967
+ readonly status: 409;
8968
+ readonly message: "Git ref is stale";
8969
+ readonly data: ZodObject<{
8970
+ name: ZodString;
8971
+ ref: ZodString;
8972
+ }, $strip>;
8973
+ };
8974
+ readonly NON_FAST_FORWARD: {
8975
+ readonly status: 422;
8976
+ readonly message: "Git ref update is not a fast-forward";
8977
+ readonly data: ZodObject<{
8978
+ name: ZodString;
8979
+ ref: ZodString;
8980
+ }, $strip>;
8981
+ };
8982
+ readonly INVALID_TREE: {
8983
+ readonly status: 422;
8984
+ readonly message: "Invalid git tree";
8985
+ readonly data: ZodObject<{
8986
+ name: ZodString;
8987
+ object: ZodString;
8988
+ }, $strip>;
8989
+ };
8990
+ readonly INVALID_PARENT: {
8991
+ readonly status: 422;
8992
+ readonly message: "Invalid git parent";
8993
+ readonly data: ZodObject<{
8994
+ name: ZodString;
8995
+ object: ZodString;
8996
+ }, $strip>;
8997
+ };
8998
+ readonly INVARIANT_WORKSPACE_REQUIRED: {
8999
+ readonly status: 503;
9000
+ readonly message: "Repo workspace is required for this git operation";
9001
+ readonly data: ZodObject<{
9002
+ name: ZodString;
9003
+ }, $strip>;
9004
+ };
9005
+ readonly GIT_REMOTE_WRITE_FAILED: {
9006
+ readonly status: 502;
9007
+ readonly message: "Git remote write failed";
9008
+ readonly data: ZodObject<{
9009
+ name: ZodString;
9010
+ ref: ZodString;
9011
+ }, $strip>;
9012
+ };
9013
+ readonly REPO_ALREADY_EXISTS: {
9014
+ readonly status: 409;
9015
+ readonly message: "Repo already exists";
9016
+ readonly data: ZodObject<{
9017
+ name: ZodString;
9018
+ }, $strip>;
9019
+ };
9020
+ readonly QUOTA_EXCEEDED: {
9021
+ readonly status: 429;
9022
+ readonly message: "Quota exceeded";
9023
+ readonly data: ZodObject<{
9024
+ scope: ZodEnum<{
9025
+ anon: "anon";
9026
+ org: "org";
9027
+ size: "size";
9028
+ }>;
9029
+ limit: ZodNumber;
9030
+ observed: ZodOptional<ZodNumber>;
9031
+ projected: ZodOptional<ZodNumber>;
9032
+ }, $strip>;
9033
+ };
9034
+ readonly PAYLOAD_TOO_LARGE: {
9035
+ readonly status: 413;
9036
+ readonly message: "Request payload exceeds the supported limit";
9037
+ readonly data: ZodObject<{
9038
+ scope: ZodEnum<{
9039
+ workspace_commit: "workspace_commit";
9040
+ git_workspace_memory: "git_workspace_memory";
9041
+ }>;
9042
+ limit: ZodNumber;
9043
+ observed: ZodOptional<ZodNumber>;
9044
+ }, $strip>;
9045
+ };
9046
+ readonly IMPORT_FAILED: {
9047
+ readonly status: 502;
9048
+ readonly message: "Repo import failed";
9049
+ readonly data: ZodObject<{
9050
+ name: ZodString;
9051
+ }, $strip>;
9052
+ };
9053
+ }>, Record<never, never>>;
9054
+ listInvitations: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
9055
+ orgSlug: ZodString;
9056
+ }, $strip>, ZodObject<{
9057
+ items: ZodArray<ZodObject<{
9058
+ id: ZodString;
9059
+ organizationId: ZodString;
9060
+ email: ZodString;
9061
+ role: ZodUnion<[ZodEnum<{
9062
+ admin: "admin";
9063
+ member: "member";
9064
+ }>, ZodLiteral<"owner">]>;
9065
+ status: ZodString;
9066
+ inviterId: ZodString;
9067
+ expiresAt: ZodNumber;
9068
+ createdAt: ZodNumber;
9069
+ }, $strip>>;
9070
+ }, $strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
9071
+ readonly BAD_REQUEST: {
9072
+ readonly status: 400;
9073
+ readonly message: "Bad request";
9074
+ readonly data: ZodOptional<ZodObject<{}, $strip>>;
9075
+ };
9076
+ readonly UNAUTHENTICATED: {
9077
+ readonly status: 401;
9078
+ readonly message: "Sign in required";
9079
+ readonly data: ZodOptional<ZodObject<{}, $strip>>;
9080
+ };
9081
+ readonly TOO_MANY_REQUESTS: {
9082
+ readonly status: 429;
9083
+ readonly message: "Too many requests";
9084
+ readonly data: ZodOptional<ZodObject<{
9085
+ retryAfterMs: ZodOptional<ZodNumber>;
9086
+ }, $strip>>;
9087
+ };
9088
+ readonly FORBIDDEN: {
9089
+ readonly status: 403;
9090
+ readonly message: "You do not have access to this resource";
9091
+ readonly data: ZodOptional<ZodObject<{
9092
+ reason: ZodOptional<ZodEnum<{
9093
+ not_a_member: "not_a_member";
9094
+ insufficient_role: "insufficient_role";
9095
+ scope_missing: "scope_missing";
9096
+ }>>;
9097
+ }, $strip>>;
9098
+ };
9099
+ readonly INVITATION_NOT_FOUND: {
9100
+ readonly status: 404;
9101
+ readonly message: "Invitation not found";
9102
+ readonly data: ZodObject<{
9103
+ invitationId: ZodString;
9104
+ }, $strip>;
9105
+ };
9106
+ readonly KEY_NOT_FOUND: {
9107
+ readonly status: 404;
9108
+ readonly message: "API key not found";
9109
+ readonly data: ZodObject<{
9110
+ id: ZodString;
9111
+ }, $strip>;
9112
+ };
8383
9113
  readonly REPO_NOT_FOUND: {
8384
9114
  readonly status: 404;
8385
9115
  readonly message: "Repo not found";
@@ -8520,6 +9250,13 @@ declare const contract: {
8520
9250
  readonly message: "Sign in required";
8521
9251
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
8522
9252
  };
9253
+ readonly TOO_MANY_REQUESTS: {
9254
+ readonly status: 429;
9255
+ readonly message: "Too many requests";
9256
+ readonly data: ZodOptional<ZodObject<{
9257
+ retryAfterMs: ZodOptional<ZodNumber>;
9258
+ }, $strip>>;
9259
+ };
8523
9260
  readonly FORBIDDEN: {
8524
9261
  readonly status: 403;
8525
9262
  readonly message: "You do not have access to this resource";
@@ -8538,6 +9275,13 @@ declare const contract: {
8538
9275
  invitationId: ZodString;
8539
9276
  }, $strip>;
8540
9277
  };
9278
+ readonly KEY_NOT_FOUND: {
9279
+ readonly status: 404;
9280
+ readonly message: "API key not found";
9281
+ readonly data: ZodObject<{
9282
+ id: ZodString;
9283
+ }, $strip>;
9284
+ };
8541
9285
  readonly REPO_NOT_FOUND: {
8542
9286
  readonly status: 404;
8543
9287
  readonly message: "Repo not found";
@@ -8665,6 +9409,13 @@ declare const contract: {
8665
9409
  readonly message: "Sign in required";
8666
9410
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
8667
9411
  };
9412
+ readonly TOO_MANY_REQUESTS: {
9413
+ readonly status: 429;
9414
+ readonly message: "Too many requests";
9415
+ readonly data: ZodOptional<ZodObject<{
9416
+ retryAfterMs: ZodOptional<ZodNumber>;
9417
+ }, $strip>>;
9418
+ };
8668
9419
  readonly FORBIDDEN: {
8669
9420
  readonly status: 403;
8670
9421
  readonly message: "You do not have access to this resource";
@@ -8683,6 +9434,13 @@ declare const contract: {
8683
9434
  invitationId: ZodString;
8684
9435
  }, $strip>;
8685
9436
  };
9437
+ readonly KEY_NOT_FOUND: {
9438
+ readonly status: 404;
9439
+ readonly message: "API key not found";
9440
+ readonly data: ZodObject<{
9441
+ id: ZodString;
9442
+ }, $strip>;
9443
+ };
8686
9444
  readonly REPO_NOT_FOUND: {
8687
9445
  readonly status: 404;
8688
9446
  readonly message: "Repo not found";
@@ -8824,6 +9582,13 @@ declare const contract: {
8824
9582
  readonly message: "Sign in required";
8825
9583
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
8826
9584
  };
9585
+ readonly TOO_MANY_REQUESTS: {
9586
+ readonly status: 429;
9587
+ readonly message: "Too many requests";
9588
+ readonly data: ZodOptional<ZodObject<{
9589
+ retryAfterMs: ZodOptional<ZodNumber>;
9590
+ }, $strip>>;
9591
+ };
8827
9592
  readonly FORBIDDEN: {
8828
9593
  readonly status: 403;
8829
9594
  readonly message: "You do not have access to this resource";
@@ -8842,6 +9607,13 @@ declare const contract: {
8842
9607
  invitationId: ZodString;
8843
9608
  }, $strip>;
8844
9609
  };
9610
+ readonly KEY_NOT_FOUND: {
9611
+ readonly status: 404;
9612
+ readonly message: "API key not found";
9613
+ readonly data: ZodObject<{
9614
+ id: ZodString;
9615
+ }, $strip>;
9616
+ };
8845
9617
  readonly REPO_NOT_FOUND: {
8846
9618
  readonly status: 404;
8847
9619
  readonly message: "Repo not found";
@@ -8968,6 +9740,13 @@ declare const contract: {
8968
9740
  readonly message: "Sign in required";
8969
9741
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
8970
9742
  };
9743
+ readonly TOO_MANY_REQUESTS: {
9744
+ readonly status: 429;
9745
+ readonly message: "Too many requests";
9746
+ readonly data: ZodOptional<ZodObject<{
9747
+ retryAfterMs: ZodOptional<ZodNumber>;
9748
+ }, $strip>>;
9749
+ };
8971
9750
  readonly FORBIDDEN: {
8972
9751
  readonly status: 403;
8973
9752
  readonly message: "You do not have access to this resource";
@@ -8986,6 +9765,13 @@ declare const contract: {
8986
9765
  invitationId: ZodString;
8987
9766
  }, $strip>;
8988
9767
  };
9768
+ readonly KEY_NOT_FOUND: {
9769
+ readonly status: 404;
9770
+ readonly message: "API key not found";
9771
+ readonly data: ZodObject<{
9772
+ id: ZodString;
9773
+ }, $strip>;
9774
+ };
8989
9775
  readonly REPO_NOT_FOUND: {
8990
9776
  readonly status: 404;
8991
9777
  readonly message: "Repo not found";
@@ -9113,6 +9899,13 @@ declare const contract: {
9113
9899
  readonly message: "Sign in required";
9114
9900
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
9115
9901
  };
9902
+ readonly TOO_MANY_REQUESTS: {
9903
+ readonly status: 429;
9904
+ readonly message: "Too many requests";
9905
+ readonly data: ZodOptional<ZodObject<{
9906
+ retryAfterMs: ZodOptional<ZodNumber>;
9907
+ }, $strip>>;
9908
+ };
9116
9909
  readonly FORBIDDEN: {
9117
9910
  readonly status: 403;
9118
9911
  readonly message: "You do not have access to this resource";
@@ -9131,6 +9924,13 @@ declare const contract: {
9131
9924
  invitationId: ZodString;
9132
9925
  }, $strip>;
9133
9926
  };
9927
+ readonly KEY_NOT_FOUND: {
9928
+ readonly status: 404;
9929
+ readonly message: "API key not found";
9930
+ readonly data: ZodObject<{
9931
+ id: ZodString;
9932
+ }, $strip>;
9933
+ };
9134
9934
  readonly REPO_NOT_FOUND: {
9135
9935
  readonly status: 404;
9136
9936
  readonly message: "Repo not found";
@@ -9257,6 +10057,13 @@ declare const contract: {
9257
10057
  readonly message: "Sign in required";
9258
10058
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
9259
10059
  };
10060
+ readonly TOO_MANY_REQUESTS: {
10061
+ readonly status: 429;
10062
+ readonly message: "Too many requests";
10063
+ readonly data: ZodOptional<ZodObject<{
10064
+ retryAfterMs: ZodOptional<ZodNumber>;
10065
+ }, $strip>>;
10066
+ };
9260
10067
  readonly FORBIDDEN: {
9261
10068
  readonly status: 403;
9262
10069
  readonly message: "You do not have access to this resource";
@@ -9275,6 +10082,13 @@ declare const contract: {
9275
10082
  invitationId: ZodString;
9276
10083
  }, $strip>;
9277
10084
  };
10085
+ readonly KEY_NOT_FOUND: {
10086
+ readonly status: 404;
10087
+ readonly message: "API key not found";
10088
+ readonly data: ZodObject<{
10089
+ id: ZodString;
10090
+ }, $strip>;
10091
+ };
9278
10092
  readonly REPO_NOT_FOUND: {
9279
10093
  readonly status: 404;
9280
10094
  readonly message: "Repo not found";
@@ -9389,7 +10203,7 @@ declare const contract: {
9389
10203
  };
9390
10204
  repos: {
9391
10205
  create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
9392
- orgSlug: ZodOptional<ZodString>;
10206
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
9393
10207
  name: ZodString;
9394
10208
  description: ZodOptional<ZodString>;
9395
10209
  defaultBranch: ZodDefault<ZodString>;
@@ -9408,6 +10222,7 @@ declare const contract: {
9408
10222
  createdAt: ZodNumber;
9409
10223
  updatedAt: ZodNumber;
9410
10224
  token: ZodString;
10225
+ tokenScope: ZodLiteral<"read">;
9411
10226
  tokenExpiresAt: ZodString;
9412
10227
  }, $strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
9413
10228
  readonly BAD_REQUEST: {
@@ -9420,6 +10235,13 @@ declare const contract: {
9420
10235
  readonly message: "Sign in required";
9421
10236
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
9422
10237
  };
10238
+ readonly TOO_MANY_REQUESTS: {
10239
+ readonly status: 429;
10240
+ readonly message: "Too many requests";
10241
+ readonly data: ZodOptional<ZodObject<{
10242
+ retryAfterMs: ZodOptional<ZodNumber>;
10243
+ }, $strip>>;
10244
+ };
9423
10245
  readonly FORBIDDEN: {
9424
10246
  readonly status: 403;
9425
10247
  readonly message: "You do not have access to this resource";
@@ -9438,6 +10260,13 @@ declare const contract: {
9438
10260
  invitationId: ZodString;
9439
10261
  }, $strip>;
9440
10262
  };
10263
+ readonly KEY_NOT_FOUND: {
10264
+ readonly status: 404;
10265
+ readonly message: "API key not found";
10266
+ readonly data: ZodObject<{
10267
+ id: ZodString;
10268
+ }, $strip>;
10269
+ };
9441
10270
  readonly REPO_NOT_FOUND: {
9442
10271
  readonly status: 404;
9443
10272
  readonly message: "Repo not found";
@@ -9550,7 +10379,7 @@ declare const contract: {
9550
10379
  };
9551
10380
  }>, Record<never, never>>;
9552
10381
  importFromGitHub: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
9553
- orgSlug: ZodOptional<ZodString>;
10382
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
9554
10383
  name: ZodString;
9555
10384
  description: ZodOptional<ZodString>;
9556
10385
  defaultBranch: ZodDefault<ZodString>;
@@ -9570,6 +10399,7 @@ declare const contract: {
9570
10399
  createdAt: ZodNumber;
9571
10400
  updatedAt: ZodNumber;
9572
10401
  token: ZodString;
10402
+ tokenScope: ZodLiteral<"read">;
9573
10403
  tokenExpiresAt: ZodString;
9574
10404
  }, $strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
9575
10405
  readonly BAD_REQUEST: {
@@ -9582,6 +10412,13 @@ declare const contract: {
9582
10412
  readonly message: "Sign in required";
9583
10413
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
9584
10414
  };
10415
+ readonly TOO_MANY_REQUESTS: {
10416
+ readonly status: 429;
10417
+ readonly message: "Too many requests";
10418
+ readonly data: ZodOptional<ZodObject<{
10419
+ retryAfterMs: ZodOptional<ZodNumber>;
10420
+ }, $strip>>;
10421
+ };
9585
10422
  readonly FORBIDDEN: {
9586
10423
  readonly status: 403;
9587
10424
  readonly message: "You do not have access to this resource";
@@ -9600,6 +10437,13 @@ declare const contract: {
9600
10437
  invitationId: ZodString;
9601
10438
  }, $strip>;
9602
10439
  };
10440
+ readonly KEY_NOT_FOUND: {
10441
+ readonly status: 404;
10442
+ readonly message: "API key not found";
10443
+ readonly data: ZodObject<{
10444
+ id: ZodString;
10445
+ }, $strip>;
10446
+ };
9603
10447
  readonly REPO_NOT_FOUND: {
9604
10448
  readonly status: 404;
9605
10449
  readonly message: "Repo not found";
@@ -9712,7 +10556,7 @@ declare const contract: {
9712
10556
  };
9713
10557
  }>, Record<never, never>>;
9714
10558
  ensure: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
9715
- orgSlug: ZodOptional<ZodString>;
10559
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
9716
10560
  name: ZodString;
9717
10561
  description: ZodOptional<ZodString>;
9718
10562
  defaultBranch: ZodDefault<ZodString>;
@@ -9744,6 +10588,13 @@ declare const contract: {
9744
10588
  readonly message: "Sign in required";
9745
10589
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
9746
10590
  };
10591
+ readonly TOO_MANY_REQUESTS: {
10592
+ readonly status: 429;
10593
+ readonly message: "Too many requests";
10594
+ readonly data: ZodOptional<ZodObject<{
10595
+ retryAfterMs: ZodOptional<ZodNumber>;
10596
+ }, $strip>>;
10597
+ };
9747
10598
  readonly FORBIDDEN: {
9748
10599
  readonly status: 403;
9749
10600
  readonly message: "You do not have access to this resource";
@@ -9762,6 +10613,13 @@ declare const contract: {
9762
10613
  invitationId: ZodString;
9763
10614
  }, $strip>;
9764
10615
  };
10616
+ readonly KEY_NOT_FOUND: {
10617
+ readonly status: 404;
10618
+ readonly message: "API key not found";
10619
+ readonly data: ZodObject<{
10620
+ id: ZodString;
10621
+ }, $strip>;
10622
+ };
9765
10623
  readonly REPO_NOT_FOUND: {
9766
10624
  readonly status: 404;
9767
10625
  readonly message: "Repo not found";
@@ -9874,7 +10732,7 @@ declare const contract: {
9874
10732
  };
9875
10733
  }>, Record<never, never>>;
9876
10734
  get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
9877
- orgSlug: ZodOptional<ZodString>;
10735
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
9878
10736
  name: ZodString;
9879
10737
  }, $strip>, ZodObject<{
9880
10738
  orgId: ZodString;
@@ -9901,6 +10759,13 @@ declare const contract: {
9901
10759
  readonly message: "Sign in required";
9902
10760
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
9903
10761
  };
10762
+ readonly TOO_MANY_REQUESTS: {
10763
+ readonly status: 429;
10764
+ readonly message: "Too many requests";
10765
+ readonly data: ZodOptional<ZodObject<{
10766
+ retryAfterMs: ZodOptional<ZodNumber>;
10767
+ }, $strip>>;
10768
+ };
9904
10769
  readonly FORBIDDEN: {
9905
10770
  readonly status: 403;
9906
10771
  readonly message: "You do not have access to this resource";
@@ -9919,6 +10784,13 @@ declare const contract: {
9919
10784
  invitationId: ZodString;
9920
10785
  }, $strip>;
9921
10786
  };
10787
+ readonly KEY_NOT_FOUND: {
10788
+ readonly status: 404;
10789
+ readonly message: "API key not found";
10790
+ readonly data: ZodObject<{
10791
+ id: ZodString;
10792
+ }, $strip>;
10793
+ };
9922
10794
  readonly REPO_NOT_FOUND: {
9923
10795
  readonly status: 404;
9924
10796
  readonly message: "Repo not found";
@@ -10031,7 +10903,7 @@ declare const contract: {
10031
10903
  };
10032
10904
  }>, Record<never, never>>;
10033
10905
  list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
10034
- orgSlug: ZodOptional<ZodString>;
10906
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
10035
10907
  cursor: ZodOptional<ZodString>;
10036
10908
  limit: ZodDefault<ZodNumber>;
10037
10909
  }, $strip>, ZodObject<{
@@ -10062,6 +10934,13 @@ declare const contract: {
10062
10934
  readonly message: "Sign in required";
10063
10935
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
10064
10936
  };
10937
+ readonly TOO_MANY_REQUESTS: {
10938
+ readonly status: 429;
10939
+ readonly message: "Too many requests";
10940
+ readonly data: ZodOptional<ZodObject<{
10941
+ retryAfterMs: ZodOptional<ZodNumber>;
10942
+ }, $strip>>;
10943
+ };
10065
10944
  readonly FORBIDDEN: {
10066
10945
  readonly status: 403;
10067
10946
  readonly message: "You do not have access to this resource";
@@ -10080,6 +10959,13 @@ declare const contract: {
10080
10959
  invitationId: ZodString;
10081
10960
  }, $strip>;
10082
10961
  };
10962
+ readonly KEY_NOT_FOUND: {
10963
+ readonly status: 404;
10964
+ readonly message: "API key not found";
10965
+ readonly data: ZodObject<{
10966
+ id: ZodString;
10967
+ }, $strip>;
10968
+ };
10083
10969
  readonly REPO_NOT_FOUND: {
10084
10970
  readonly status: 404;
10085
10971
  readonly message: "Repo not found";
@@ -10192,7 +11078,7 @@ declare const contract: {
10192
11078
  };
10193
11079
  }>, Record<never, never>>;
10194
11080
  update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
10195
- orgSlug: ZodOptional<ZodString>;
11081
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
10196
11082
  name: ZodString;
10197
11083
  description: ZodOptional<ZodNullable<ZodString>>;
10198
11084
  defaultBranch: ZodOptional<ZodString>;
@@ -10221,6 +11107,13 @@ declare const contract: {
10221
11107
  readonly message: "Sign in required";
10222
11108
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
10223
11109
  };
11110
+ readonly TOO_MANY_REQUESTS: {
11111
+ readonly status: 429;
11112
+ readonly message: "Too many requests";
11113
+ readonly data: ZodOptional<ZodObject<{
11114
+ retryAfterMs: ZodOptional<ZodNumber>;
11115
+ }, $strip>>;
11116
+ };
10224
11117
  readonly FORBIDDEN: {
10225
11118
  readonly status: 403;
10226
11119
  readonly message: "You do not have access to this resource";
@@ -10239,6 +11132,13 @@ declare const contract: {
10239
11132
  invitationId: ZodString;
10240
11133
  }, $strip>;
10241
11134
  };
11135
+ readonly KEY_NOT_FOUND: {
11136
+ readonly status: 404;
11137
+ readonly message: "API key not found";
11138
+ readonly data: ZodObject<{
11139
+ id: ZodString;
11140
+ }, $strip>;
11141
+ };
10242
11142
  readonly REPO_NOT_FOUND: {
10243
11143
  readonly status: 404;
10244
11144
  readonly message: "Repo not found";
@@ -10351,7 +11251,7 @@ declare const contract: {
10351
11251
  };
10352
11252
  }>, Record<never, never>>;
10353
11253
  delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
10354
- orgSlug: ZodOptional<ZodString>;
11254
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
10355
11255
  name: ZodString;
10356
11256
  }, $strip>, ZodObject<{
10357
11257
  deleted: ZodLiteral<true>;
@@ -10366,6 +11266,13 @@ declare const contract: {
10366
11266
  readonly message: "Sign in required";
10367
11267
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
10368
11268
  };
11269
+ readonly TOO_MANY_REQUESTS: {
11270
+ readonly status: 429;
11271
+ readonly message: "Too many requests";
11272
+ readonly data: ZodOptional<ZodObject<{
11273
+ retryAfterMs: ZodOptional<ZodNumber>;
11274
+ }, $strip>>;
11275
+ };
10369
11276
  readonly FORBIDDEN: {
10370
11277
  readonly status: 403;
10371
11278
  readonly message: "You do not have access to this resource";
@@ -10384,6 +11291,13 @@ declare const contract: {
10384
11291
  invitationId: ZodString;
10385
11292
  }, $strip>;
10386
11293
  };
11294
+ readonly KEY_NOT_FOUND: {
11295
+ readonly status: 404;
11296
+ readonly message: "API key not found";
11297
+ readonly data: ZodObject<{
11298
+ id: ZodString;
11299
+ }, $strip>;
11300
+ };
10387
11301
  readonly REPO_NOT_FOUND: {
10388
11302
  readonly status: 404;
10389
11303
  readonly message: "Repo not found";
@@ -10498,7 +11412,7 @@ declare const contract: {
10498
11412
  };
10499
11413
  tokens: {
10500
11414
  mint: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
10501
- orgSlug: ZodOptional<ZodString>;
11415
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
10502
11416
  name: ZodString;
10503
11417
  scope: ZodEnum<{
10504
11418
  read: "read";
@@ -10532,6 +11446,13 @@ declare const contract: {
10532
11446
  readonly message: "Sign in required";
10533
11447
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
10534
11448
  };
11449
+ readonly TOO_MANY_REQUESTS: {
11450
+ readonly status: 429;
11451
+ readonly message: "Too many requests";
11452
+ readonly data: ZodOptional<ZodObject<{
11453
+ retryAfterMs: ZodOptional<ZodNumber>;
11454
+ }, $strip>>;
11455
+ };
10535
11456
  readonly FORBIDDEN: {
10536
11457
  readonly status: 403;
10537
11458
  readonly message: "You do not have access to this resource";
@@ -10550,6 +11471,13 @@ declare const contract: {
10550
11471
  invitationId: ZodString;
10551
11472
  }, $strip>;
10552
11473
  };
11474
+ readonly KEY_NOT_FOUND: {
11475
+ readonly status: 404;
11476
+ readonly message: "API key not found";
11477
+ readonly data: ZodObject<{
11478
+ id: ZodString;
11479
+ }, $strip>;
11480
+ };
10553
11481
  readonly REPO_NOT_FOUND: {
10554
11482
  readonly status: 404;
10555
11483
  readonly message: "Repo not found";
@@ -10693,6 +11621,13 @@ declare const contract: {
10693
11621
  readonly message: "Sign in required";
10694
11622
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
10695
11623
  };
11624
+ readonly TOO_MANY_REQUESTS: {
11625
+ readonly status: 429;
11626
+ readonly message: "Too many requests";
11627
+ readonly data: ZodOptional<ZodObject<{
11628
+ retryAfterMs: ZodOptional<ZodNumber>;
11629
+ }, $strip>>;
11630
+ };
10696
11631
  readonly FORBIDDEN: {
10697
11632
  readonly status: 403;
10698
11633
  readonly message: "You do not have access to this resource";
@@ -10711,6 +11646,13 @@ declare const contract: {
10711
11646
  invitationId: ZodString;
10712
11647
  }, $strip>;
10713
11648
  };
11649
+ readonly KEY_NOT_FOUND: {
11650
+ readonly status: 404;
11651
+ readonly message: "API key not found";
11652
+ readonly data: ZodObject<{
11653
+ id: ZodString;
11654
+ }, $strip>;
11655
+ };
10714
11656
  readonly REPO_NOT_FOUND: {
10715
11657
  readonly status: 404;
10716
11658
  readonly message: "Repo not found";
@@ -10823,7 +11765,7 @@ declare const contract: {
10823
11765
  };
10824
11766
  }>, Record<never, never>>;
10825
11767
  list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
10826
- orgSlug: ZodOptional<ZodString>;
11768
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
10827
11769
  name: ZodString;
10828
11770
  }, $strip>, ZodObject<{
10829
11771
  items: ZodArray<ZodObject<{
@@ -10852,6 +11794,13 @@ declare const contract: {
10852
11794
  readonly message: "Sign in required";
10853
11795
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
10854
11796
  };
11797
+ readonly TOO_MANY_REQUESTS: {
11798
+ readonly status: 429;
11799
+ readonly message: "Too many requests";
11800
+ readonly data: ZodOptional<ZodObject<{
11801
+ retryAfterMs: ZodOptional<ZodNumber>;
11802
+ }, $strip>>;
11803
+ };
10855
11804
  readonly FORBIDDEN: {
10856
11805
  readonly status: 403;
10857
11806
  readonly message: "You do not have access to this resource";
@@ -10870,6 +11819,13 @@ declare const contract: {
10870
11819
  invitationId: ZodString;
10871
11820
  }, $strip>;
10872
11821
  };
11822
+ readonly KEY_NOT_FOUND: {
11823
+ readonly status: 404;
11824
+ readonly message: "API key not found";
11825
+ readonly data: ZodObject<{
11826
+ id: ZodString;
11827
+ }, $strip>;
11828
+ };
10873
11829
  readonly REPO_NOT_FOUND: {
10874
11830
  readonly status: 404;
10875
11831
  readonly message: "Repo not found";
@@ -10982,7 +11938,7 @@ declare const contract: {
10982
11938
  };
10983
11939
  }>, Record<never, never>>;
10984
11940
  revoke: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
10985
- orgSlug: ZodOptional<ZodString>;
11941
+ orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
10986
11942
  name: ZodString;
10987
11943
  id: ZodString;
10988
11944
  }, $strip>, ZodObject<{
@@ -10998,6 +11954,13 @@ declare const contract: {
10998
11954
  readonly message: "Sign in required";
10999
11955
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
11000
11956
  };
11957
+ readonly TOO_MANY_REQUESTS: {
11958
+ readonly status: 429;
11959
+ readonly message: "Too many requests";
11960
+ readonly data: ZodOptional<ZodObject<{
11961
+ retryAfterMs: ZodOptional<ZodNumber>;
11962
+ }, $strip>>;
11963
+ };
11001
11964
  readonly FORBIDDEN: {
11002
11965
  readonly status: 403;
11003
11966
  readonly message: "You do not have access to this resource";
@@ -11016,6 +11979,13 @@ declare const contract: {
11016
11979
  invitationId: ZodString;
11017
11980
  }, $strip>;
11018
11981
  };
11982
+ readonly KEY_NOT_FOUND: {
11983
+ readonly status: 404;
11984
+ readonly message: "API key not found";
11985
+ readonly data: ZodObject<{
11986
+ id: ZodString;
11987
+ }, $strip>;
11988
+ };
11019
11989
  readonly REPO_NOT_FOUND: {
11020
11990
  readonly status: 404;
11021
11991
  readonly message: "Repo not found";
@@ -11152,6 +12122,13 @@ declare const contract: {
11152
12122
  readonly message: "Sign in required";
11153
12123
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
11154
12124
  };
12125
+ readonly TOO_MANY_REQUESTS: {
12126
+ readonly status: 429;
12127
+ readonly message: "Too many requests";
12128
+ readonly data: ZodOptional<ZodObject<{
12129
+ retryAfterMs: ZodOptional<ZodNumber>;
12130
+ }, $strip>>;
12131
+ };
11155
12132
  readonly FORBIDDEN: {
11156
12133
  readonly status: 403;
11157
12134
  readonly message: "You do not have access to this resource";
@@ -11170,6 +12147,13 @@ declare const contract: {
11170
12147
  invitationId: ZodString;
11171
12148
  }, $strip>;
11172
12149
  };
12150
+ readonly KEY_NOT_FOUND: {
12151
+ readonly status: 404;
12152
+ readonly message: "API key not found";
12153
+ readonly data: ZodObject<{
12154
+ id: ZodString;
12155
+ }, $strip>;
12156
+ };
11173
12157
  readonly REPO_NOT_FOUND: {
11174
12158
  readonly status: 404;
11175
12159
  readonly message: "Repo not found";