@repome/sdk 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 CHANGED
@@ -2178,7 +2178,13 @@ declare const contract: {
2178
2178
  readonly FORBIDDEN: {
2179
2179
  readonly status: 403;
2180
2180
  readonly message: "You do not have access to this resource";
2181
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
2181
+ readonly data: ZodOptional<ZodObject<{
2182
+ reason: ZodOptional<ZodEnum<{
2183
+ not_a_member: "not_a_member";
2184
+ insufficient_role: "insufficient_role";
2185
+ scope_missing: "scope_missing";
2186
+ }>>;
2187
+ }, $strip>>;
2182
2188
  };
2183
2189
  readonly INVITATION_NOT_FOUND: {
2184
2190
  readonly status: 404;
@@ -2330,7 +2336,13 @@ declare const contract: {
2330
2336
  readonly FORBIDDEN: {
2331
2337
  readonly status: 403;
2332
2338
  readonly message: "You do not have access to this resource";
2333
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
2339
+ readonly data: ZodOptional<ZodObject<{
2340
+ reason: ZodOptional<ZodEnum<{
2341
+ not_a_member: "not_a_member";
2342
+ insufficient_role: "insufficient_role";
2343
+ scope_missing: "scope_missing";
2344
+ }>>;
2345
+ }, $strip>>;
2334
2346
  };
2335
2347
  readonly INVITATION_NOT_FOUND: {
2336
2348
  readonly status: 404;
@@ -2486,7 +2498,13 @@ declare const contract: {
2486
2498
  readonly FORBIDDEN: {
2487
2499
  readonly status: 403;
2488
2500
  readonly message: "You do not have access to this resource";
2489
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
2501
+ readonly data: ZodOptional<ZodObject<{
2502
+ reason: ZodOptional<ZodEnum<{
2503
+ not_a_member: "not_a_member";
2504
+ insufficient_role: "insufficient_role";
2505
+ scope_missing: "scope_missing";
2506
+ }>>;
2507
+ }, $strip>>;
2490
2508
  };
2491
2509
  readonly INVITATION_NOT_FOUND: {
2492
2510
  readonly status: 404;
@@ -2624,7 +2642,13 @@ declare const contract: {
2624
2642
  readonly FORBIDDEN: {
2625
2643
  readonly status: 403;
2626
2644
  readonly message: "You do not have access to this resource";
2627
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
2645
+ readonly data: ZodOptional<ZodObject<{
2646
+ reason: ZodOptional<ZodEnum<{
2647
+ not_a_member: "not_a_member";
2648
+ insufficient_role: "insufficient_role";
2649
+ scope_missing: "scope_missing";
2650
+ }>>;
2651
+ }, $strip>>;
2628
2652
  };
2629
2653
  readonly INVITATION_NOT_FOUND: {
2630
2654
  readonly status: 404;
@@ -2781,7 +2805,13 @@ declare const contract: {
2781
2805
  readonly FORBIDDEN: {
2782
2806
  readonly status: 403;
2783
2807
  readonly message: "You do not have access to this resource";
2784
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
2808
+ readonly data: ZodOptional<ZodObject<{
2809
+ reason: ZodOptional<ZodEnum<{
2810
+ not_a_member: "not_a_member";
2811
+ insufficient_role: "insufficient_role";
2812
+ scope_missing: "scope_missing";
2813
+ }>>;
2814
+ }, $strip>>;
2785
2815
  };
2786
2816
  readonly INVITATION_NOT_FOUND: {
2787
2817
  readonly status: 404;
@@ -2934,7 +2964,13 @@ declare const contract: {
2934
2964
  readonly FORBIDDEN: {
2935
2965
  readonly status: 403;
2936
2966
  readonly message: "You do not have access to this resource";
2937
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
2967
+ readonly data: ZodOptional<ZodObject<{
2968
+ reason: ZodOptional<ZodEnum<{
2969
+ not_a_member: "not_a_member";
2970
+ insufficient_role: "insufficient_role";
2971
+ scope_missing: "scope_missing";
2972
+ }>>;
2973
+ }, $strip>>;
2938
2974
  };
2939
2975
  readonly INVITATION_NOT_FOUND: {
2940
2976
  readonly status: 404;
@@ -3079,7 +3115,13 @@ declare const contract: {
3079
3115
  readonly FORBIDDEN: {
3080
3116
  readonly status: 403;
3081
3117
  readonly message: "You do not have access to this resource";
3082
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
3118
+ readonly data: ZodOptional<ZodObject<{
3119
+ reason: ZodOptional<ZodEnum<{
3120
+ not_a_member: "not_a_member";
3121
+ insufficient_role: "insufficient_role";
3122
+ scope_missing: "scope_missing";
3123
+ }>>;
3124
+ }, $strip>>;
3083
3125
  };
3084
3126
  readonly INVITATION_NOT_FOUND: {
3085
3127
  readonly status: 404;
@@ -3230,7 +3272,13 @@ declare const contract: {
3230
3272
  readonly FORBIDDEN: {
3231
3273
  readonly status: 403;
3232
3274
  readonly message: "You do not have access to this resource";
3233
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
3275
+ readonly data: ZodOptional<ZodObject<{
3276
+ reason: ZodOptional<ZodEnum<{
3277
+ not_a_member: "not_a_member";
3278
+ insufficient_role: "insufficient_role";
3279
+ scope_missing: "scope_missing";
3280
+ }>>;
3281
+ }, $strip>>;
3234
3282
  };
3235
3283
  readonly INVITATION_NOT_FOUND: {
3236
3284
  readonly status: 404;
@@ -3385,7 +3433,13 @@ declare const contract: {
3385
3433
  readonly FORBIDDEN: {
3386
3434
  readonly status: 403;
3387
3435
  readonly message: "You do not have access to this resource";
3388
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
3436
+ readonly data: ZodOptional<ZodObject<{
3437
+ reason: ZodOptional<ZodEnum<{
3438
+ not_a_member: "not_a_member";
3439
+ insufficient_role: "insufficient_role";
3440
+ scope_missing: "scope_missing";
3441
+ }>>;
3442
+ }, $strip>>;
3389
3443
  };
3390
3444
  readonly INVITATION_NOT_FOUND: {
3391
3445
  readonly status: 404;
@@ -3533,7 +3587,13 @@ declare const contract: {
3533
3587
  readonly FORBIDDEN: {
3534
3588
  readonly status: 403;
3535
3589
  readonly message: "You do not have access to this resource";
3536
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
3590
+ readonly data: ZodOptional<ZodObject<{
3591
+ reason: ZodOptional<ZodEnum<{
3592
+ not_a_member: "not_a_member";
3593
+ insufficient_role: "insufficient_role";
3594
+ scope_missing: "scope_missing";
3595
+ }>>;
3596
+ }, $strip>>;
3537
3597
  };
3538
3598
  readonly INVITATION_NOT_FOUND: {
3539
3599
  readonly status: 404;
@@ -3709,7 +3769,13 @@ declare const contract: {
3709
3769
  readonly FORBIDDEN: {
3710
3770
  readonly status: 403;
3711
3771
  readonly message: "You do not have access to this resource";
3712
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
3772
+ readonly data: ZodOptional<ZodObject<{
3773
+ reason: ZodOptional<ZodEnum<{
3774
+ not_a_member: "not_a_member";
3775
+ insufficient_role: "insufficient_role";
3776
+ scope_missing: "scope_missing";
3777
+ }>>;
3778
+ }, $strip>>;
3713
3779
  };
3714
3780
  readonly INVITATION_NOT_FOUND: {
3715
3781
  readonly status: 404;
@@ -3850,7 +3916,13 @@ declare const contract: {
3850
3916
  readonly FORBIDDEN: {
3851
3917
  readonly status: 403;
3852
3918
  readonly message: "You do not have access to this resource";
3853
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
3919
+ readonly data: ZodOptional<ZodObject<{
3920
+ reason: ZodOptional<ZodEnum<{
3921
+ not_a_member: "not_a_member";
3922
+ insufficient_role: "insufficient_role";
3923
+ scope_missing: "scope_missing";
3924
+ }>>;
3925
+ }, $strip>>;
3854
3926
  };
3855
3927
  readonly INVITATION_NOT_FOUND: {
3856
3928
  readonly status: 404;
@@ -4004,7 +4076,13 @@ declare const contract: {
4004
4076
  readonly FORBIDDEN: {
4005
4077
  readonly status: 403;
4006
4078
  readonly message: "You do not have access to this resource";
4007
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
4079
+ readonly data: ZodOptional<ZodObject<{
4080
+ reason: ZodOptional<ZodEnum<{
4081
+ not_a_member: "not_a_member";
4082
+ insufficient_role: "insufficient_role";
4083
+ scope_missing: "scope_missing";
4084
+ }>>;
4085
+ }, $strip>>;
4008
4086
  };
4009
4087
  readonly INVITATION_NOT_FOUND: {
4010
4088
  readonly status: 404;
@@ -4150,7 +4228,13 @@ declare const contract: {
4150
4228
  readonly FORBIDDEN: {
4151
4229
  readonly status: 403;
4152
4230
  readonly message: "You do not have access to this resource";
4153
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
4231
+ readonly data: ZodOptional<ZodObject<{
4232
+ reason: ZodOptional<ZodEnum<{
4233
+ not_a_member: "not_a_member";
4234
+ insufficient_role: "insufficient_role";
4235
+ scope_missing: "scope_missing";
4236
+ }>>;
4237
+ }, $strip>>;
4154
4238
  };
4155
4239
  readonly INVITATION_NOT_FOUND: {
4156
4240
  readonly status: 404;
@@ -4303,7 +4387,13 @@ declare const contract: {
4303
4387
  readonly FORBIDDEN: {
4304
4388
  readonly status: 403;
4305
4389
  readonly message: "You do not have access to this resource";
4306
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
4390
+ readonly data: ZodOptional<ZodObject<{
4391
+ reason: ZodOptional<ZodEnum<{
4392
+ not_a_member: "not_a_member";
4393
+ insufficient_role: "insufficient_role";
4394
+ scope_missing: "scope_missing";
4395
+ }>>;
4396
+ }, $strip>>;
4307
4397
  };
4308
4398
  readonly INVITATION_NOT_FOUND: {
4309
4399
  readonly status: 404;
@@ -4449,7 +4539,13 @@ declare const contract: {
4449
4539
  readonly FORBIDDEN: {
4450
4540
  readonly status: 403;
4451
4541
  readonly message: "You do not have access to this resource";
4452
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
4542
+ readonly data: ZodOptional<ZodObject<{
4543
+ reason: ZodOptional<ZodEnum<{
4544
+ not_a_member: "not_a_member";
4545
+ insufficient_role: "insufficient_role";
4546
+ scope_missing: "scope_missing";
4547
+ }>>;
4548
+ }, $strip>>;
4453
4549
  };
4454
4550
  readonly INVITATION_NOT_FOUND: {
4455
4551
  readonly status: 404;
@@ -4596,7 +4692,13 @@ declare const contract: {
4596
4692
  readonly FORBIDDEN: {
4597
4693
  readonly status: 403;
4598
4694
  readonly message: "You do not have access to this resource";
4599
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
4695
+ readonly data: ZodOptional<ZodObject<{
4696
+ reason: ZodOptional<ZodEnum<{
4697
+ not_a_member: "not_a_member";
4698
+ insufficient_role: "insufficient_role";
4699
+ scope_missing: "scope_missing";
4700
+ }>>;
4701
+ }, $strip>>;
4600
4702
  };
4601
4703
  readonly INVITATION_NOT_FOUND: {
4602
4704
  readonly status: 404;
@@ -4746,7 +4848,13 @@ declare const contract: {
4746
4848
  readonly FORBIDDEN: {
4747
4849
  readonly status: 403;
4748
4850
  readonly message: "You do not have access to this resource";
4749
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
4851
+ readonly data: ZodOptional<ZodObject<{
4852
+ reason: ZodOptional<ZodEnum<{
4853
+ not_a_member: "not_a_member";
4854
+ insufficient_role: "insufficient_role";
4855
+ scope_missing: "scope_missing";
4856
+ }>>;
4857
+ }, $strip>>;
4750
4858
  };
4751
4859
  readonly INVITATION_NOT_FOUND: {
4752
4860
  readonly status: 404;
@@ -4887,7 +4995,13 @@ declare const contract: {
4887
4995
  readonly FORBIDDEN: {
4888
4996
  readonly status: 403;
4889
4997
  readonly message: "You do not have access to this resource";
4890
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
4998
+ readonly data: ZodOptional<ZodObject<{
4999
+ reason: ZodOptional<ZodEnum<{
5000
+ not_a_member: "not_a_member";
5001
+ insufficient_role: "insufficient_role";
5002
+ scope_missing: "scope_missing";
5003
+ }>>;
5004
+ }, $strip>>;
4891
5005
  };
4892
5006
  readonly INVITATION_NOT_FOUND: {
4893
5007
  readonly status: 404;
@@ -5040,7 +5154,13 @@ declare const contract: {
5040
5154
  readonly FORBIDDEN: {
5041
5155
  readonly status: 403;
5042
5156
  readonly message: "You do not have access to this resource";
5043
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
5157
+ readonly data: ZodOptional<ZodObject<{
5158
+ reason: ZodOptional<ZodEnum<{
5159
+ not_a_member: "not_a_member";
5160
+ insufficient_role: "insufficient_role";
5161
+ scope_missing: "scope_missing";
5162
+ }>>;
5163
+ }, $strip>>;
5044
5164
  };
5045
5165
  readonly INVITATION_NOT_FOUND: {
5046
5166
  readonly status: 404;
@@ -5186,7 +5306,13 @@ declare const contract: {
5186
5306
  readonly FORBIDDEN: {
5187
5307
  readonly status: 403;
5188
5308
  readonly message: "You do not have access to this resource";
5189
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
5309
+ readonly data: ZodOptional<ZodObject<{
5310
+ reason: ZodOptional<ZodEnum<{
5311
+ not_a_member: "not_a_member";
5312
+ insufficient_role: "insufficient_role";
5313
+ scope_missing: "scope_missing";
5314
+ }>>;
5315
+ }, $strip>>;
5190
5316
  };
5191
5317
  readonly INVITATION_NOT_FOUND: {
5192
5318
  readonly status: 404;
@@ -5340,7 +5466,13 @@ declare const contract: {
5340
5466
  readonly FORBIDDEN: {
5341
5467
  readonly status: 403;
5342
5468
  readonly message: "You do not have access to this resource";
5343
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
5469
+ readonly data: ZodOptional<ZodObject<{
5470
+ reason: ZodOptional<ZodEnum<{
5471
+ not_a_member: "not_a_member";
5472
+ insufficient_role: "insufficient_role";
5473
+ scope_missing: "scope_missing";
5474
+ }>>;
5475
+ }, $strip>>;
5344
5476
  };
5345
5477
  readonly INVITATION_NOT_FOUND: {
5346
5478
  readonly status: 404;
@@ -5480,7 +5612,13 @@ declare const contract: {
5480
5612
  readonly FORBIDDEN: {
5481
5613
  readonly status: 403;
5482
5614
  readonly message: "You do not have access to this resource";
5483
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
5615
+ readonly data: ZodOptional<ZodObject<{
5616
+ reason: ZodOptional<ZodEnum<{
5617
+ not_a_member: "not_a_member";
5618
+ insufficient_role: "insufficient_role";
5619
+ scope_missing: "scope_missing";
5620
+ }>>;
5621
+ }, $strip>>;
5484
5622
  };
5485
5623
  readonly INVITATION_NOT_FOUND: {
5486
5624
  readonly status: 404;
@@ -5632,7 +5770,13 @@ declare const contract: {
5632
5770
  readonly FORBIDDEN: {
5633
5771
  readonly status: 403;
5634
5772
  readonly message: "You do not have access to this resource";
5635
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
5773
+ readonly data: ZodOptional<ZodObject<{
5774
+ reason: ZodOptional<ZodEnum<{
5775
+ not_a_member: "not_a_member";
5776
+ insufficient_role: "insufficient_role";
5777
+ scope_missing: "scope_missing";
5778
+ }>>;
5779
+ }, $strip>>;
5636
5780
  };
5637
5781
  readonly INVITATION_NOT_FOUND: {
5638
5782
  readonly status: 404;
@@ -5776,7 +5920,13 @@ declare const contract: {
5776
5920
  readonly FORBIDDEN: {
5777
5921
  readonly status: 403;
5778
5922
  readonly message: "You do not have access to this resource";
5779
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
5923
+ readonly data: ZodOptional<ZodObject<{
5924
+ reason: ZodOptional<ZodEnum<{
5925
+ not_a_member: "not_a_member";
5926
+ insufficient_role: "insufficient_role";
5927
+ scope_missing: "scope_missing";
5928
+ }>>;
5929
+ }, $strip>>;
5780
5930
  };
5781
5931
  readonly INVITATION_NOT_FOUND: {
5782
5932
  readonly status: 404;
@@ -5947,7 +6097,13 @@ declare const contract: {
5947
6097
  readonly FORBIDDEN: {
5948
6098
  readonly status: 403;
5949
6099
  readonly message: "You do not have access to this resource";
5950
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
6100
+ readonly data: ZodOptional<ZodObject<{
6101
+ reason: ZodOptional<ZodEnum<{
6102
+ not_a_member: "not_a_member";
6103
+ insufficient_role: "insufficient_role";
6104
+ scope_missing: "scope_missing";
6105
+ }>>;
6106
+ }, $strip>>;
5951
6107
  };
5952
6108
  readonly INVITATION_NOT_FOUND: {
5953
6109
  readonly status: 404;
@@ -6103,7 +6259,13 @@ declare const contract: {
6103
6259
  readonly FORBIDDEN: {
6104
6260
  readonly status: 403;
6105
6261
  readonly message: "You do not have access to this resource";
6106
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
6262
+ readonly data: ZodOptional<ZodObject<{
6263
+ reason: ZodOptional<ZodEnum<{
6264
+ not_a_member: "not_a_member";
6265
+ insufficient_role: "insufficient_role";
6266
+ scope_missing: "scope_missing";
6267
+ }>>;
6268
+ }, $strip>>;
6107
6269
  };
6108
6270
  readonly INVITATION_NOT_FOUND: {
6109
6271
  readonly status: 404;
@@ -6252,7 +6414,13 @@ declare const contract: {
6252
6414
  readonly FORBIDDEN: {
6253
6415
  readonly status: 403;
6254
6416
  readonly message: "You do not have access to this resource";
6255
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
6417
+ readonly data: ZodOptional<ZodObject<{
6418
+ reason: ZodOptional<ZodEnum<{
6419
+ not_a_member: "not_a_member";
6420
+ insufficient_role: "insufficient_role";
6421
+ scope_missing: "scope_missing";
6422
+ }>>;
6423
+ }, $strip>>;
6256
6424
  };
6257
6425
  readonly INVITATION_NOT_FOUND: {
6258
6426
  readonly status: 404;
@@ -6429,7 +6597,13 @@ declare const contract: {
6429
6597
  readonly FORBIDDEN: {
6430
6598
  readonly status: 403;
6431
6599
  readonly message: "You do not have access to this resource";
6432
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
6600
+ readonly data: ZodOptional<ZodObject<{
6601
+ reason: ZodOptional<ZodEnum<{
6602
+ not_a_member: "not_a_member";
6603
+ insufficient_role: "insufficient_role";
6604
+ scope_missing: "scope_missing";
6605
+ }>>;
6606
+ }, $strip>>;
6433
6607
  };
6434
6608
  readonly INVITATION_NOT_FOUND: {
6435
6609
  readonly status: 404;
@@ -6596,7 +6770,13 @@ declare const contract: {
6596
6770
  readonly FORBIDDEN: {
6597
6771
  readonly status: 403;
6598
6772
  readonly message: "You do not have access to this resource";
6599
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
6773
+ readonly data: ZodOptional<ZodObject<{
6774
+ reason: ZodOptional<ZodEnum<{
6775
+ not_a_member: "not_a_member";
6776
+ insufficient_role: "insufficient_role";
6777
+ scope_missing: "scope_missing";
6778
+ }>>;
6779
+ }, $strip>>;
6600
6780
  };
6601
6781
  readonly INVITATION_NOT_FOUND: {
6602
6782
  readonly status: 404;
@@ -6765,7 +6945,13 @@ declare const contract: {
6765
6945
  readonly FORBIDDEN: {
6766
6946
  readonly status: 403;
6767
6947
  readonly message: "You do not have access to this resource";
6768
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
6948
+ readonly data: ZodOptional<ZodObject<{
6949
+ reason: ZodOptional<ZodEnum<{
6950
+ not_a_member: "not_a_member";
6951
+ insufficient_role: "insufficient_role";
6952
+ scope_missing: "scope_missing";
6953
+ }>>;
6954
+ }, $strip>>;
6769
6955
  };
6770
6956
  readonly INVITATION_NOT_FOUND: {
6771
6957
  readonly status: 404;
@@ -6943,7 +7129,13 @@ declare const contract: {
6943
7129
  readonly FORBIDDEN: {
6944
7130
  readonly status: 403;
6945
7131
  readonly message: "You do not have access to this resource";
6946
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
7132
+ readonly data: ZodOptional<ZodObject<{
7133
+ reason: ZodOptional<ZodEnum<{
7134
+ not_a_member: "not_a_member";
7135
+ insufficient_role: "insufficient_role";
7136
+ scope_missing: "scope_missing";
7137
+ }>>;
7138
+ }, $strip>>;
6947
7139
  };
6948
7140
  readonly INVITATION_NOT_FOUND: {
6949
7141
  readonly status: 404;
@@ -7101,7 +7293,13 @@ declare const contract: {
7101
7293
  readonly FORBIDDEN: {
7102
7294
  readonly status: 403;
7103
7295
  readonly message: "You do not have access to this resource";
7104
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
7296
+ readonly data: ZodOptional<ZodObject<{
7297
+ reason: ZodOptional<ZodEnum<{
7298
+ not_a_member: "not_a_member";
7299
+ insufficient_role: "insufficient_role";
7300
+ scope_missing: "scope_missing";
7301
+ }>>;
7302
+ }, $strip>>;
7105
7303
  };
7106
7304
  readonly INVITATION_NOT_FOUND: {
7107
7305
  readonly status: 404;
@@ -7239,7 +7437,13 @@ declare const contract: {
7239
7437
  readonly FORBIDDEN: {
7240
7438
  readonly status: 403;
7241
7439
  readonly message: "You do not have access to this resource";
7242
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
7440
+ readonly data: ZodOptional<ZodObject<{
7441
+ reason: ZodOptional<ZodEnum<{
7442
+ not_a_member: "not_a_member";
7443
+ insufficient_role: "insufficient_role";
7444
+ scope_missing: "scope_missing";
7445
+ }>>;
7446
+ }, $strip>>;
7243
7447
  };
7244
7448
  readonly INVITATION_NOT_FOUND: {
7245
7449
  readonly status: 404;
@@ -7409,7 +7613,13 @@ declare const contract: {
7409
7613
  readonly FORBIDDEN: {
7410
7614
  readonly status: 403;
7411
7615
  readonly message: "You do not have access to this resource";
7412
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
7616
+ readonly data: ZodOptional<ZodObject<{
7617
+ reason: ZodOptional<ZodEnum<{
7618
+ not_a_member: "not_a_member";
7619
+ insufficient_role: "insufficient_role";
7620
+ scope_missing: "scope_missing";
7621
+ }>>;
7622
+ }, $strip>>;
7413
7623
  };
7414
7624
  readonly INVITATION_NOT_FOUND: {
7415
7625
  readonly status: 404;
@@ -7555,7 +7765,13 @@ declare const contract: {
7555
7765
  readonly FORBIDDEN: {
7556
7766
  readonly status: 403;
7557
7767
  readonly message: "You do not have access to this resource";
7558
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
7768
+ readonly data: ZodOptional<ZodObject<{
7769
+ reason: ZodOptional<ZodEnum<{
7770
+ not_a_member: "not_a_member";
7771
+ insufficient_role: "insufficient_role";
7772
+ scope_missing: "scope_missing";
7773
+ }>>;
7774
+ }, $strip>>;
7559
7775
  };
7560
7776
  readonly INVITATION_NOT_FOUND: {
7561
7777
  readonly status: 404;
@@ -7698,7 +7914,13 @@ declare const contract: {
7698
7914
  readonly FORBIDDEN: {
7699
7915
  readonly status: 403;
7700
7916
  readonly message: "You do not have access to this resource";
7701
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
7917
+ readonly data: ZodOptional<ZodObject<{
7918
+ reason: ZodOptional<ZodEnum<{
7919
+ not_a_member: "not_a_member";
7920
+ insufficient_role: "insufficient_role";
7921
+ scope_missing: "scope_missing";
7922
+ }>>;
7923
+ }, $strip>>;
7702
7924
  };
7703
7925
  readonly INVITATION_NOT_FOUND: {
7704
7926
  readonly status: 404;
@@ -7841,7 +8063,13 @@ declare const contract: {
7841
8063
  readonly FORBIDDEN: {
7842
8064
  readonly status: 403;
7843
8065
  readonly message: "You do not have access to this resource";
7844
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
8066
+ readonly data: ZodOptional<ZodObject<{
8067
+ reason: ZodOptional<ZodEnum<{
8068
+ not_a_member: "not_a_member";
8069
+ insufficient_role: "insufficient_role";
8070
+ scope_missing: "scope_missing";
8071
+ }>>;
8072
+ }, $strip>>;
7845
8073
  };
7846
8074
  readonly INVITATION_NOT_FOUND: {
7847
8075
  readonly status: 404;
@@ -7979,7 +8207,13 @@ declare const contract: {
7979
8207
  readonly FORBIDDEN: {
7980
8208
  readonly status: 403;
7981
8209
  readonly message: "You do not have access to this resource";
7982
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
8210
+ readonly data: ZodOptional<ZodObject<{
8211
+ reason: ZodOptional<ZodEnum<{
8212
+ not_a_member: "not_a_member";
8213
+ insufficient_role: "insufficient_role";
8214
+ scope_missing: "scope_missing";
8215
+ }>>;
8216
+ }, $strip>>;
7983
8217
  };
7984
8218
  readonly INVITATION_NOT_FOUND: {
7985
8219
  readonly status: 404;
@@ -8131,7 +8365,13 @@ declare const contract: {
8131
8365
  readonly FORBIDDEN: {
8132
8366
  readonly status: 403;
8133
8367
  readonly message: "You do not have access to this resource";
8134
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
8368
+ readonly data: ZodOptional<ZodObject<{
8369
+ reason: ZodOptional<ZodEnum<{
8370
+ not_a_member: "not_a_member";
8371
+ insufficient_role: "insufficient_role";
8372
+ scope_missing: "scope_missing";
8373
+ }>>;
8374
+ }, $strip>>;
8135
8375
  };
8136
8376
  readonly INVITATION_NOT_FOUND: {
8137
8377
  readonly status: 404;
@@ -8283,7 +8523,13 @@ declare const contract: {
8283
8523
  readonly FORBIDDEN: {
8284
8524
  readonly status: 403;
8285
8525
  readonly message: "You do not have access to this resource";
8286
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
8526
+ readonly data: ZodOptional<ZodObject<{
8527
+ reason: ZodOptional<ZodEnum<{
8528
+ not_a_member: "not_a_member";
8529
+ insufficient_role: "insufficient_role";
8530
+ scope_missing: "scope_missing";
8531
+ }>>;
8532
+ }, $strip>>;
8287
8533
  };
8288
8534
  readonly INVITATION_NOT_FOUND: {
8289
8535
  readonly status: 404;
@@ -8422,7 +8668,13 @@ declare const contract: {
8422
8668
  readonly FORBIDDEN: {
8423
8669
  readonly status: 403;
8424
8670
  readonly message: "You do not have access to this resource";
8425
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
8671
+ readonly data: ZodOptional<ZodObject<{
8672
+ reason: ZodOptional<ZodEnum<{
8673
+ not_a_member: "not_a_member";
8674
+ insufficient_role: "insufficient_role";
8675
+ scope_missing: "scope_missing";
8676
+ }>>;
8677
+ }, $strip>>;
8426
8678
  };
8427
8679
  readonly INVITATION_NOT_FOUND: {
8428
8680
  readonly status: 404;
@@ -8575,7 +8827,13 @@ declare const contract: {
8575
8827
  readonly FORBIDDEN: {
8576
8828
  readonly status: 403;
8577
8829
  readonly message: "You do not have access to this resource";
8578
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
8830
+ readonly data: ZodOptional<ZodObject<{
8831
+ reason: ZodOptional<ZodEnum<{
8832
+ not_a_member: "not_a_member";
8833
+ insufficient_role: "insufficient_role";
8834
+ scope_missing: "scope_missing";
8835
+ }>>;
8836
+ }, $strip>>;
8579
8837
  };
8580
8838
  readonly INVITATION_NOT_FOUND: {
8581
8839
  readonly status: 404;
@@ -8713,8 +8971,159 @@ declare const contract: {
8713
8971
  readonly FORBIDDEN: {
8714
8972
  readonly status: 403;
8715
8973
  readonly message: "You do not have access to this resource";
8974
+ readonly data: ZodOptional<ZodObject<{
8975
+ reason: ZodOptional<ZodEnum<{
8976
+ not_a_member: "not_a_member";
8977
+ insufficient_role: "insufficient_role";
8978
+ scope_missing: "scope_missing";
8979
+ }>>;
8980
+ }, $strip>>;
8981
+ };
8982
+ readonly INVITATION_NOT_FOUND: {
8983
+ readonly status: 404;
8984
+ readonly message: "Invitation not found";
8985
+ readonly data: ZodObject<{
8986
+ invitationId: ZodString;
8987
+ }, $strip>;
8988
+ };
8989
+ readonly REPO_NOT_FOUND: {
8990
+ readonly status: 404;
8991
+ readonly message: "Repo not found";
8992
+ readonly data: ZodObject<{
8993
+ name: ZodString;
8994
+ }, $strip>;
8995
+ };
8996
+ readonly GIT_OBJECT_NOT_FOUND: {
8997
+ readonly status: 404;
8998
+ readonly message: "Git object not found";
8999
+ readonly data: ZodObject<{
9000
+ name: ZodString;
9001
+ object: ZodString;
9002
+ }, $strip>;
9003
+ };
9004
+ readonly REF_ALREADY_EXISTS: {
9005
+ readonly status: 409;
9006
+ readonly message: "Git ref already exists";
9007
+ readonly data: ZodObject<{
9008
+ name: ZodString;
9009
+ ref: ZodString;
9010
+ }, $strip>;
9011
+ };
9012
+ readonly STALE_REF: {
9013
+ readonly status: 409;
9014
+ readonly message: "Git ref is stale";
9015
+ readonly data: ZodObject<{
9016
+ name: ZodString;
9017
+ ref: ZodString;
9018
+ }, $strip>;
9019
+ };
9020
+ readonly NON_FAST_FORWARD: {
9021
+ readonly status: 422;
9022
+ readonly message: "Git ref update is not a fast-forward";
9023
+ readonly data: ZodObject<{
9024
+ name: ZodString;
9025
+ ref: ZodString;
9026
+ }, $strip>;
9027
+ };
9028
+ readonly INVALID_TREE: {
9029
+ readonly status: 422;
9030
+ readonly message: "Invalid git tree";
9031
+ readonly data: ZodObject<{
9032
+ name: ZodString;
9033
+ object: ZodString;
9034
+ }, $strip>;
9035
+ };
9036
+ readonly INVALID_PARENT: {
9037
+ readonly status: 422;
9038
+ readonly message: "Invalid git parent";
9039
+ readonly data: ZodObject<{
9040
+ name: ZodString;
9041
+ object: ZodString;
9042
+ }, $strip>;
9043
+ };
9044
+ readonly INVARIANT_WORKSPACE_REQUIRED: {
9045
+ readonly status: 503;
9046
+ readonly message: "Repo workspace is required for this git operation";
9047
+ readonly data: ZodObject<{
9048
+ name: ZodString;
9049
+ }, $strip>;
9050
+ };
9051
+ readonly GIT_REMOTE_WRITE_FAILED: {
9052
+ readonly status: 502;
9053
+ readonly message: "Git remote write failed";
9054
+ readonly data: ZodObject<{
9055
+ name: ZodString;
9056
+ ref: ZodString;
9057
+ }, $strip>;
9058
+ };
9059
+ readonly REPO_ALREADY_EXISTS: {
9060
+ readonly status: 409;
9061
+ readonly message: "Repo already exists";
9062
+ readonly data: ZodObject<{
9063
+ name: ZodString;
9064
+ }, $strip>;
9065
+ };
9066
+ readonly QUOTA_EXCEEDED: {
9067
+ readonly status: 429;
9068
+ readonly message: "Quota exceeded";
9069
+ readonly data: ZodObject<{
9070
+ scope: ZodEnum<{
9071
+ anon: "anon";
9072
+ org: "org";
9073
+ size: "size";
9074
+ }>;
9075
+ limit: ZodNumber;
9076
+ observed: ZodOptional<ZodNumber>;
9077
+ projected: ZodOptional<ZodNumber>;
9078
+ }, $strip>;
9079
+ };
9080
+ readonly PAYLOAD_TOO_LARGE: {
9081
+ readonly status: 413;
9082
+ readonly message: "Request payload exceeds the supported limit";
9083
+ readonly data: ZodObject<{
9084
+ scope: ZodEnum<{
9085
+ workspace_commit: "workspace_commit";
9086
+ git_workspace_memory: "git_workspace_memory";
9087
+ }>;
9088
+ limit: ZodNumber;
9089
+ observed: ZodOptional<ZodNumber>;
9090
+ }, $strip>;
9091
+ };
9092
+ readonly IMPORT_FAILED: {
9093
+ readonly status: 502;
9094
+ readonly message: "Repo import failed";
9095
+ readonly data: ZodObject<{
9096
+ name: ZodString;
9097
+ }, $strip>;
9098
+ };
9099
+ }>, Record<never, never>>;
9100
+ cancelInvite: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
9101
+ orgSlug: ZodString;
9102
+ invitationId: ZodString;
9103
+ }, $strip>, ZodObject<{
9104
+ cancelled: ZodBoolean;
9105
+ }, $strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
9106
+ readonly BAD_REQUEST: {
9107
+ readonly status: 400;
9108
+ readonly message: "Bad request";
8716
9109
  readonly data: ZodOptional<ZodObject<{}, $strip>>;
8717
9110
  };
9111
+ readonly UNAUTHENTICATED: {
9112
+ readonly status: 401;
9113
+ readonly message: "Sign in required";
9114
+ readonly data: ZodOptional<ZodObject<{}, $strip>>;
9115
+ };
9116
+ readonly FORBIDDEN: {
9117
+ readonly status: 403;
9118
+ readonly message: "You do not have access to this resource";
9119
+ readonly data: ZodOptional<ZodObject<{
9120
+ reason: ZodOptional<ZodEnum<{
9121
+ not_a_member: "not_a_member";
9122
+ insufficient_role: "insufficient_role";
9123
+ scope_missing: "scope_missing";
9124
+ }>>;
9125
+ }, $strip>>;
9126
+ };
8718
9127
  readonly INVITATION_NOT_FOUND: {
8719
9128
  readonly status: 404;
8720
9129
  readonly message: "Invitation not found";
@@ -8851,7 +9260,13 @@ declare const contract: {
8851
9260
  readonly FORBIDDEN: {
8852
9261
  readonly status: 403;
8853
9262
  readonly message: "You do not have access to this resource";
8854
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
9263
+ readonly data: ZodOptional<ZodObject<{
9264
+ reason: ZodOptional<ZodEnum<{
9265
+ not_a_member: "not_a_member";
9266
+ insufficient_role: "insufficient_role";
9267
+ scope_missing: "scope_missing";
9268
+ }>>;
9269
+ }, $strip>>;
8855
9270
  };
8856
9271
  readonly INVITATION_NOT_FOUND: {
8857
9272
  readonly status: 404;
@@ -9008,7 +9423,13 @@ declare const contract: {
9008
9423
  readonly FORBIDDEN: {
9009
9424
  readonly status: 403;
9010
9425
  readonly message: "You do not have access to this resource";
9011
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
9426
+ readonly data: ZodOptional<ZodObject<{
9427
+ reason: ZodOptional<ZodEnum<{
9428
+ not_a_member: "not_a_member";
9429
+ insufficient_role: "insufficient_role";
9430
+ scope_missing: "scope_missing";
9431
+ }>>;
9432
+ }, $strip>>;
9012
9433
  };
9013
9434
  readonly INVITATION_NOT_FOUND: {
9014
9435
  readonly status: 404;
@@ -9164,7 +9585,13 @@ declare const contract: {
9164
9585
  readonly FORBIDDEN: {
9165
9586
  readonly status: 403;
9166
9587
  readonly message: "You do not have access to this resource";
9167
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
9588
+ readonly data: ZodOptional<ZodObject<{
9589
+ reason: ZodOptional<ZodEnum<{
9590
+ not_a_member: "not_a_member";
9591
+ insufficient_role: "insufficient_role";
9592
+ scope_missing: "scope_missing";
9593
+ }>>;
9594
+ }, $strip>>;
9168
9595
  };
9169
9596
  readonly INVITATION_NOT_FOUND: {
9170
9597
  readonly status: 404;
@@ -9320,7 +9747,13 @@ declare const contract: {
9320
9747
  readonly FORBIDDEN: {
9321
9748
  readonly status: 403;
9322
9749
  readonly message: "You do not have access to this resource";
9323
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
9750
+ readonly data: ZodOptional<ZodObject<{
9751
+ reason: ZodOptional<ZodEnum<{
9752
+ not_a_member: "not_a_member";
9753
+ insufficient_role: "insufficient_role";
9754
+ scope_missing: "scope_missing";
9755
+ }>>;
9756
+ }, $strip>>;
9324
9757
  };
9325
9758
  readonly INVITATION_NOT_FOUND: {
9326
9759
  readonly status: 404;
@@ -9471,7 +9904,13 @@ declare const contract: {
9471
9904
  readonly FORBIDDEN: {
9472
9905
  readonly status: 403;
9473
9906
  readonly message: "You do not have access to this resource";
9474
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
9907
+ readonly data: ZodOptional<ZodObject<{
9908
+ reason: ZodOptional<ZodEnum<{
9909
+ not_a_member: "not_a_member";
9910
+ insufficient_role: "insufficient_role";
9911
+ scope_missing: "scope_missing";
9912
+ }>>;
9913
+ }, $strip>>;
9475
9914
  };
9476
9915
  readonly INVITATION_NOT_FOUND: {
9477
9916
  readonly status: 404;
@@ -9626,7 +10065,13 @@ declare const contract: {
9626
10065
  readonly FORBIDDEN: {
9627
10066
  readonly status: 403;
9628
10067
  readonly message: "You do not have access to this resource";
9629
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
10068
+ readonly data: ZodOptional<ZodObject<{
10069
+ reason: ZodOptional<ZodEnum<{
10070
+ not_a_member: "not_a_member";
10071
+ insufficient_role: "insufficient_role";
10072
+ scope_missing: "scope_missing";
10073
+ }>>;
10074
+ }, $strip>>;
9630
10075
  };
9631
10076
  readonly INVITATION_NOT_FOUND: {
9632
10077
  readonly status: 404;
@@ -9779,7 +10224,13 @@ declare const contract: {
9779
10224
  readonly FORBIDDEN: {
9780
10225
  readonly status: 403;
9781
10226
  readonly message: "You do not have access to this resource";
9782
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
10227
+ readonly data: ZodOptional<ZodObject<{
10228
+ reason: ZodOptional<ZodEnum<{
10229
+ not_a_member: "not_a_member";
10230
+ insufficient_role: "insufficient_role";
10231
+ scope_missing: "scope_missing";
10232
+ }>>;
10233
+ }, $strip>>;
9783
10234
  };
9784
10235
  readonly INVITATION_NOT_FOUND: {
9785
10236
  readonly status: 404;
@@ -9918,7 +10369,13 @@ declare const contract: {
9918
10369
  readonly FORBIDDEN: {
9919
10370
  readonly status: 403;
9920
10371
  readonly message: "You do not have access to this resource";
9921
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
10372
+ readonly data: ZodOptional<ZodObject<{
10373
+ reason: ZodOptional<ZodEnum<{
10374
+ not_a_member: "not_a_member";
10375
+ insufficient_role: "insufficient_role";
10376
+ scope_missing: "scope_missing";
10377
+ }>>;
10378
+ }, $strip>>;
9922
10379
  };
9923
10380
  readonly INVITATION_NOT_FOUND: {
9924
10381
  readonly status: 404;
@@ -10078,7 +10535,13 @@ declare const contract: {
10078
10535
  readonly FORBIDDEN: {
10079
10536
  readonly status: 403;
10080
10537
  readonly message: "You do not have access to this resource";
10081
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
10538
+ readonly data: ZodOptional<ZodObject<{
10539
+ reason: ZodOptional<ZodEnum<{
10540
+ not_a_member: "not_a_member";
10541
+ insufficient_role: "insufficient_role";
10542
+ scope_missing: "scope_missing";
10543
+ }>>;
10544
+ }, $strip>>;
10082
10545
  };
10083
10546
  readonly INVITATION_NOT_FOUND: {
10084
10547
  readonly status: 404;
@@ -10233,7 +10696,13 @@ declare const contract: {
10233
10696
  readonly FORBIDDEN: {
10234
10697
  readonly status: 403;
10235
10698
  readonly message: "You do not have access to this resource";
10236
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
10699
+ readonly data: ZodOptional<ZodObject<{
10700
+ reason: ZodOptional<ZodEnum<{
10701
+ not_a_member: "not_a_member";
10702
+ insufficient_role: "insufficient_role";
10703
+ scope_missing: "scope_missing";
10704
+ }>>;
10705
+ }, $strip>>;
10237
10706
  };
10238
10707
  readonly INVITATION_NOT_FOUND: {
10239
10708
  readonly status: 404;
@@ -10386,7 +10855,13 @@ declare const contract: {
10386
10855
  readonly FORBIDDEN: {
10387
10856
  readonly status: 403;
10388
10857
  readonly message: "You do not have access to this resource";
10389
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
10858
+ readonly data: ZodOptional<ZodObject<{
10859
+ reason: ZodOptional<ZodEnum<{
10860
+ not_a_member: "not_a_member";
10861
+ insufficient_role: "insufficient_role";
10862
+ scope_missing: "scope_missing";
10863
+ }>>;
10864
+ }, $strip>>;
10390
10865
  };
10391
10866
  readonly INVITATION_NOT_FOUND: {
10392
10867
  readonly status: 404;
@@ -10526,7 +11001,13 @@ declare const contract: {
10526
11001
  readonly FORBIDDEN: {
10527
11002
  readonly status: 403;
10528
11003
  readonly message: "You do not have access to this resource";
10529
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
11004
+ readonly data: ZodOptional<ZodObject<{
11005
+ reason: ZodOptional<ZodEnum<{
11006
+ not_a_member: "not_a_member";
11007
+ insufficient_role: "insufficient_role";
11008
+ scope_missing: "scope_missing";
11009
+ }>>;
11010
+ }, $strip>>;
10530
11011
  };
10531
11012
  readonly INVITATION_NOT_FOUND: {
10532
11013
  readonly status: 404;
@@ -10674,7 +11155,13 @@ declare const contract: {
10674
11155
  readonly FORBIDDEN: {
10675
11156
  readonly status: 403;
10676
11157
  readonly message: "You do not have access to this resource";
10677
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
11158
+ readonly data: ZodOptional<ZodObject<{
11159
+ reason: ZodOptional<ZodEnum<{
11160
+ not_a_member: "not_a_member";
11161
+ insufficient_role: "insufficient_role";
11162
+ scope_missing: "scope_missing";
11163
+ }>>;
11164
+ }, $strip>>;
10678
11165
  };
10679
11166
  readonly INVITATION_NOT_FOUND: {
10680
11167
  readonly status: 404;