@repome/sdk 0.1.5 → 0.1.6

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,7 +8971,13 @@ declare const contract: {
8713
8971
  readonly FORBIDDEN: {
8714
8972
  readonly status: 403;
8715
8973
  readonly message: "You do not have access to this resource";
8716
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
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>>;
8717
8981
  };
8718
8982
  readonly INVITATION_NOT_FOUND: {
8719
8983
  readonly status: 404;
@@ -8851,7 +9115,13 @@ declare const contract: {
8851
9115
  readonly FORBIDDEN: {
8852
9116
  readonly status: 403;
8853
9117
  readonly message: "You do not have access to this resource";
8854
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
9118
+ readonly data: ZodOptional<ZodObject<{
9119
+ reason: ZodOptional<ZodEnum<{
9120
+ not_a_member: "not_a_member";
9121
+ insufficient_role: "insufficient_role";
9122
+ scope_missing: "scope_missing";
9123
+ }>>;
9124
+ }, $strip>>;
8855
9125
  };
8856
9126
  readonly INVITATION_NOT_FOUND: {
8857
9127
  readonly status: 404;
@@ -9008,7 +9278,13 @@ declare const contract: {
9008
9278
  readonly FORBIDDEN: {
9009
9279
  readonly status: 403;
9010
9280
  readonly message: "You do not have access to this resource";
9011
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
9281
+ readonly data: ZodOptional<ZodObject<{
9282
+ reason: ZodOptional<ZodEnum<{
9283
+ not_a_member: "not_a_member";
9284
+ insufficient_role: "insufficient_role";
9285
+ scope_missing: "scope_missing";
9286
+ }>>;
9287
+ }, $strip>>;
9012
9288
  };
9013
9289
  readonly INVITATION_NOT_FOUND: {
9014
9290
  readonly status: 404;
@@ -9164,7 +9440,13 @@ declare const contract: {
9164
9440
  readonly FORBIDDEN: {
9165
9441
  readonly status: 403;
9166
9442
  readonly message: "You do not have access to this resource";
9167
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
9443
+ readonly data: ZodOptional<ZodObject<{
9444
+ reason: ZodOptional<ZodEnum<{
9445
+ not_a_member: "not_a_member";
9446
+ insufficient_role: "insufficient_role";
9447
+ scope_missing: "scope_missing";
9448
+ }>>;
9449
+ }, $strip>>;
9168
9450
  };
9169
9451
  readonly INVITATION_NOT_FOUND: {
9170
9452
  readonly status: 404;
@@ -9320,7 +9602,13 @@ declare const contract: {
9320
9602
  readonly FORBIDDEN: {
9321
9603
  readonly status: 403;
9322
9604
  readonly message: "You do not have access to this resource";
9323
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
9605
+ readonly data: ZodOptional<ZodObject<{
9606
+ reason: ZodOptional<ZodEnum<{
9607
+ not_a_member: "not_a_member";
9608
+ insufficient_role: "insufficient_role";
9609
+ scope_missing: "scope_missing";
9610
+ }>>;
9611
+ }, $strip>>;
9324
9612
  };
9325
9613
  readonly INVITATION_NOT_FOUND: {
9326
9614
  readonly status: 404;
@@ -9471,7 +9759,13 @@ declare const contract: {
9471
9759
  readonly FORBIDDEN: {
9472
9760
  readonly status: 403;
9473
9761
  readonly message: "You do not have access to this resource";
9474
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
9762
+ readonly data: ZodOptional<ZodObject<{
9763
+ reason: ZodOptional<ZodEnum<{
9764
+ not_a_member: "not_a_member";
9765
+ insufficient_role: "insufficient_role";
9766
+ scope_missing: "scope_missing";
9767
+ }>>;
9768
+ }, $strip>>;
9475
9769
  };
9476
9770
  readonly INVITATION_NOT_FOUND: {
9477
9771
  readonly status: 404;
@@ -9626,7 +9920,13 @@ declare const contract: {
9626
9920
  readonly FORBIDDEN: {
9627
9921
  readonly status: 403;
9628
9922
  readonly message: "You do not have access to this resource";
9629
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
9923
+ readonly data: ZodOptional<ZodObject<{
9924
+ reason: ZodOptional<ZodEnum<{
9925
+ not_a_member: "not_a_member";
9926
+ insufficient_role: "insufficient_role";
9927
+ scope_missing: "scope_missing";
9928
+ }>>;
9929
+ }, $strip>>;
9630
9930
  };
9631
9931
  readonly INVITATION_NOT_FOUND: {
9632
9932
  readonly status: 404;
@@ -9779,7 +10079,13 @@ declare const contract: {
9779
10079
  readonly FORBIDDEN: {
9780
10080
  readonly status: 403;
9781
10081
  readonly message: "You do not have access to this resource";
9782
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
10082
+ readonly data: ZodOptional<ZodObject<{
10083
+ reason: ZodOptional<ZodEnum<{
10084
+ not_a_member: "not_a_member";
10085
+ insufficient_role: "insufficient_role";
10086
+ scope_missing: "scope_missing";
10087
+ }>>;
10088
+ }, $strip>>;
9783
10089
  };
9784
10090
  readonly INVITATION_NOT_FOUND: {
9785
10091
  readonly status: 404;
@@ -9918,7 +10224,13 @@ declare const contract: {
9918
10224
  readonly FORBIDDEN: {
9919
10225
  readonly status: 403;
9920
10226
  readonly message: "You do not have access to this resource";
9921
- 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>>;
9922
10234
  };
9923
10235
  readonly INVITATION_NOT_FOUND: {
9924
10236
  readonly status: 404;
@@ -10078,7 +10390,13 @@ declare const contract: {
10078
10390
  readonly FORBIDDEN: {
10079
10391
  readonly status: 403;
10080
10392
  readonly message: "You do not have access to this resource";
10081
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
10393
+ readonly data: ZodOptional<ZodObject<{
10394
+ reason: ZodOptional<ZodEnum<{
10395
+ not_a_member: "not_a_member";
10396
+ insufficient_role: "insufficient_role";
10397
+ scope_missing: "scope_missing";
10398
+ }>>;
10399
+ }, $strip>>;
10082
10400
  };
10083
10401
  readonly INVITATION_NOT_FOUND: {
10084
10402
  readonly status: 404;
@@ -10233,7 +10551,13 @@ declare const contract: {
10233
10551
  readonly FORBIDDEN: {
10234
10552
  readonly status: 403;
10235
10553
  readonly message: "You do not have access to this resource";
10236
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
10554
+ readonly data: ZodOptional<ZodObject<{
10555
+ reason: ZodOptional<ZodEnum<{
10556
+ not_a_member: "not_a_member";
10557
+ insufficient_role: "insufficient_role";
10558
+ scope_missing: "scope_missing";
10559
+ }>>;
10560
+ }, $strip>>;
10237
10561
  };
10238
10562
  readonly INVITATION_NOT_FOUND: {
10239
10563
  readonly status: 404;
@@ -10386,7 +10710,13 @@ declare const contract: {
10386
10710
  readonly FORBIDDEN: {
10387
10711
  readonly status: 403;
10388
10712
  readonly message: "You do not have access to this resource";
10389
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
10713
+ readonly data: ZodOptional<ZodObject<{
10714
+ reason: ZodOptional<ZodEnum<{
10715
+ not_a_member: "not_a_member";
10716
+ insufficient_role: "insufficient_role";
10717
+ scope_missing: "scope_missing";
10718
+ }>>;
10719
+ }, $strip>>;
10390
10720
  };
10391
10721
  readonly INVITATION_NOT_FOUND: {
10392
10722
  readonly status: 404;
@@ -10526,7 +10856,13 @@ declare const contract: {
10526
10856
  readonly FORBIDDEN: {
10527
10857
  readonly status: 403;
10528
10858
  readonly message: "You do not have access to this resource";
10529
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
10859
+ readonly data: ZodOptional<ZodObject<{
10860
+ reason: ZodOptional<ZodEnum<{
10861
+ not_a_member: "not_a_member";
10862
+ insufficient_role: "insufficient_role";
10863
+ scope_missing: "scope_missing";
10864
+ }>>;
10865
+ }, $strip>>;
10530
10866
  };
10531
10867
  readonly INVITATION_NOT_FOUND: {
10532
10868
  readonly status: 404;
@@ -10674,7 +11010,13 @@ declare const contract: {
10674
11010
  readonly FORBIDDEN: {
10675
11011
  readonly status: 403;
10676
11012
  readonly message: "You do not have access to this resource";
10677
- readonly data: ZodOptional<ZodObject<{}, $strip>>;
11013
+ readonly data: ZodOptional<ZodObject<{
11014
+ reason: ZodOptional<ZodEnum<{
11015
+ not_a_member: "not_a_member";
11016
+ insufficient_role: "insufficient_role";
11017
+ scope_missing: "scope_missing";
11018
+ }>>;
11019
+ }, $strip>>;
10678
11020
  };
10679
11021
  readonly INVITATION_NOT_FOUND: {
10680
11022
  readonly status: 404;