@bodhiapp/ts-client 0.1.28 → 0.1.30

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.
@@ -246,13 +246,6 @@ export interface components {
246
246
  /** @enum {string} */
247
247
  type: "file_path";
248
248
  });
249
- /** @description OpenAI API returns error object on failure */
250
- ApiError: {
251
- message: string;
252
- type?: string | null;
253
- param?: string | null;
254
- code?: string | null;
255
- };
256
249
  /**
257
250
  * @description Outcome values reported for apply_patch tool call outputs.
258
251
  * @enum {string}
@@ -1596,6 +1589,13 @@ export interface components {
1596
1589
  };
1597
1590
  /** @enum {string} */
1598
1591
  EncodingFormat: "float" | "base64";
1592
+ /** @description OpenAI API returns error object on failure */
1593
+ Error: {
1594
+ message: string;
1595
+ type?: string | null;
1596
+ param?: string | null;
1597
+ code?: string | null;
1598
+ };
1599
1599
  /** @description An error that occurred while generating the response. */
1600
1600
  ErrorObject: {
1601
1601
  /** @description A machine-readable error code that was returned. */
@@ -1603,6 +1603,10 @@ export interface components {
1603
1603
  /** @description A human-readable description of the error that was returned. */
1604
1604
  message: string;
1605
1605
  };
1606
+ /** @description Wrapper to deserialize the error object nested in "error" JSON key */
1607
+ ErrorResponse: {
1608
+ error: components["schemas"]["Error"];
1609
+ };
1606
1610
  FileCitationBody: {
1607
1611
  /** @description The ID of the file. */
1608
1612
  file_id: string;
@@ -3404,10 +3408,6 @@ export interface components {
3404
3408
  };
3405
3409
  /** @enum {string} */
3406
3410
  WebSearchUserLocationType: "approximate";
3407
- /** @description Wrapper to deserialize the error object nested in "error" JSON key */
3408
- WrappedError: {
3409
- error: components["schemas"]["ApiError"];
3410
- };
3411
3411
  };
3412
3412
  responses: never;
3413
3413
  parameters: never;
@@ -3481,7 +3481,7 @@ export interface operations {
3481
3481
  [name: string]: unknown;
3482
3482
  };
3483
3483
  content: {
3484
- "application/json": components["schemas"]["WrappedError"];
3484
+ "application/json": components["schemas"]["ErrorResponse"];
3485
3485
  };
3486
3486
  };
3487
3487
  /** @description Not authenticated */
@@ -3490,7 +3490,7 @@ export interface operations {
3490
3490
  [name: string]: unknown;
3491
3491
  };
3492
3492
  content: {
3493
- "application/json": components["schemas"]["WrappedError"];
3493
+ "application/json": components["schemas"]["ErrorResponse"];
3494
3494
  };
3495
3495
  };
3496
3496
  /** @description Insufficient permissions */
@@ -3499,7 +3499,7 @@ export interface operations {
3499
3499
  [name: string]: unknown;
3500
3500
  };
3501
3501
  content: {
3502
- "application/json": components["schemas"]["WrappedError"];
3502
+ "application/json": components["schemas"]["ErrorResponse"];
3503
3503
  };
3504
3504
  };
3505
3505
  /** @description Model not found */
@@ -3520,7 +3520,7 @@ export interface operations {
3520
3520
  [name: string]: unknown;
3521
3521
  };
3522
3522
  content: {
3523
- "application/json": components["schemas"]["WrappedError"];
3523
+ "application/json": components["schemas"]["ErrorResponse"];
3524
3524
  };
3525
3525
  };
3526
3526
  };
@@ -3573,7 +3573,7 @@ export interface operations {
3573
3573
  [name: string]: unknown;
3574
3574
  };
3575
3575
  content: {
3576
- "application/json": components["schemas"]["WrappedError"];
3576
+ "application/json": components["schemas"]["ErrorResponse"];
3577
3577
  };
3578
3578
  };
3579
3579
  /** @description Not authenticated */
@@ -3582,7 +3582,7 @@ export interface operations {
3582
3582
  [name: string]: unknown;
3583
3583
  };
3584
3584
  content: {
3585
- "application/json": components["schemas"]["WrappedError"];
3585
+ "application/json": components["schemas"]["ErrorResponse"];
3586
3586
  };
3587
3587
  };
3588
3588
  /** @description Insufficient permissions */
@@ -3591,7 +3591,7 @@ export interface operations {
3591
3591
  [name: string]: unknown;
3592
3592
  };
3593
3593
  content: {
3594
- "application/json": components["schemas"]["WrappedError"];
3594
+ "application/json": components["schemas"]["ErrorResponse"];
3595
3595
  };
3596
3596
  };
3597
3597
  /** @description Model not found */
@@ -3612,7 +3612,7 @@ export interface operations {
3612
3612
  [name: string]: unknown;
3613
3613
  };
3614
3614
  content: {
3615
- "application/json": components["schemas"]["WrappedError"];
3615
+ "application/json": components["schemas"]["ErrorResponse"];
3616
3616
  };
3617
3617
  };
3618
3618
  };
@@ -3659,7 +3659,7 @@ export interface operations {
3659
3659
  [name: string]: unknown;
3660
3660
  };
3661
3661
  content: {
3662
- "application/json": components["schemas"]["WrappedError"];
3662
+ "application/json": components["schemas"]["ErrorResponse"];
3663
3663
  };
3664
3664
  };
3665
3665
  /** @description Not authenticated */
@@ -3668,7 +3668,7 @@ export interface operations {
3668
3668
  [name: string]: unknown;
3669
3669
  };
3670
3670
  content: {
3671
- "application/json": components["schemas"]["WrappedError"];
3671
+ "application/json": components["schemas"]["ErrorResponse"];
3672
3672
  };
3673
3673
  };
3674
3674
  /** @description Insufficient permissions */
@@ -3677,7 +3677,7 @@ export interface operations {
3677
3677
  [name: string]: unknown;
3678
3678
  };
3679
3679
  content: {
3680
- "application/json": components["schemas"]["WrappedError"];
3680
+ "application/json": components["schemas"]["ErrorResponse"];
3681
3681
  };
3682
3682
  };
3683
3683
  /** @description Internal server error */
@@ -3686,7 +3686,7 @@ export interface operations {
3686
3686
  [name: string]: unknown;
3687
3687
  };
3688
3688
  content: {
3689
- "application/json": components["schemas"]["WrappedError"];
3689
+ "application/json": components["schemas"]["ErrorResponse"];
3690
3690
  };
3691
3691
  };
3692
3692
  };
@@ -3782,7 +3782,7 @@ export interface operations {
3782
3782
  [name: string]: unknown;
3783
3783
  };
3784
3784
  content: {
3785
- "application/json": components["schemas"]["WrappedError"];
3785
+ "application/json": components["schemas"]["ErrorResponse"];
3786
3786
  };
3787
3787
  };
3788
3788
  /** @description Not authenticated */
@@ -3791,7 +3791,7 @@ export interface operations {
3791
3791
  [name: string]: unknown;
3792
3792
  };
3793
3793
  content: {
3794
- "application/json": components["schemas"]["WrappedError"];
3794
+ "application/json": components["schemas"]["ErrorResponse"];
3795
3795
  };
3796
3796
  };
3797
3797
  /** @description Insufficient permissions */
@@ -3800,7 +3800,7 @@ export interface operations {
3800
3800
  [name: string]: unknown;
3801
3801
  };
3802
3802
  content: {
3803
- "application/json": components["schemas"]["WrappedError"];
3803
+ "application/json": components["schemas"]["ErrorResponse"];
3804
3804
  };
3805
3805
  };
3806
3806
  /** @description Internal server error */
@@ -3809,7 +3809,7 @@ export interface operations {
3809
3809
  [name: string]: unknown;
3810
3810
  };
3811
3811
  content: {
3812
- "application/json": components["schemas"]["WrappedError"];
3812
+ "application/json": components["schemas"]["ErrorResponse"];
3813
3813
  };
3814
3814
  };
3815
3815
  };
@@ -3865,7 +3865,7 @@ export interface operations {
3865
3865
  [name: string]: unknown;
3866
3866
  };
3867
3867
  content: {
3868
- "application/json": components["schemas"]["WrappedError"];
3868
+ "application/json": components["schemas"]["ErrorResponse"];
3869
3869
  };
3870
3870
  };
3871
3871
  /** @description Not authenticated */
@@ -3874,7 +3874,7 @@ export interface operations {
3874
3874
  [name: string]: unknown;
3875
3875
  };
3876
3876
  content: {
3877
- "application/json": components["schemas"]["WrappedError"];
3877
+ "application/json": components["schemas"]["ErrorResponse"];
3878
3878
  };
3879
3879
  };
3880
3880
  /** @description Insufficient permissions */
@@ -3883,7 +3883,7 @@ export interface operations {
3883
3883
  [name: string]: unknown;
3884
3884
  };
3885
3885
  content: {
3886
- "application/json": components["schemas"]["WrappedError"];
3886
+ "application/json": components["schemas"]["ErrorResponse"];
3887
3887
  };
3888
3888
  };
3889
3889
  /** @description Internal server error */
@@ -3892,7 +3892,7 @@ export interface operations {
3892
3892
  [name: string]: unknown;
3893
3893
  };
3894
3894
  content: {
3895
- "application/json": components["schemas"]["WrappedError"];
3895
+ "application/json": components["schemas"]["ErrorResponse"];
3896
3896
  };
3897
3897
  };
3898
3898
  };
@@ -3938,7 +3938,7 @@ export interface operations {
3938
3938
  [name: string]: unknown;
3939
3939
  };
3940
3940
  content: {
3941
- "application/json": components["schemas"]["WrappedError"];
3941
+ "application/json": components["schemas"]["ErrorResponse"];
3942
3942
  };
3943
3943
  };
3944
3944
  /** @description Not authenticated */
@@ -3947,7 +3947,7 @@ export interface operations {
3947
3947
  [name: string]: unknown;
3948
3948
  };
3949
3949
  content: {
3950
- "application/json": components["schemas"]["WrappedError"];
3950
+ "application/json": components["schemas"]["ErrorResponse"];
3951
3951
  };
3952
3952
  };
3953
3953
  /** @description Insufficient permissions */
@@ -3956,7 +3956,7 @@ export interface operations {
3956
3956
  [name: string]: unknown;
3957
3957
  };
3958
3958
  content: {
3959
- "application/json": components["schemas"]["WrappedError"];
3959
+ "application/json": components["schemas"]["ErrorResponse"];
3960
3960
  };
3961
3961
  };
3962
3962
  /** @description Internal server error */
@@ -3965,7 +3965,7 @@ export interface operations {
3965
3965
  [name: string]: unknown;
3966
3966
  };
3967
3967
  content: {
3968
- "application/json": components["schemas"]["WrappedError"];
3968
+ "application/json": components["schemas"]["ErrorResponse"];
3969
3969
  };
3970
3970
  };
3971
3971
  };
@@ -4006,7 +4006,7 @@ export interface operations {
4006
4006
  [name: string]: unknown;
4007
4007
  };
4008
4008
  content: {
4009
- "application/json": components["schemas"]["WrappedError"];
4009
+ "application/json": components["schemas"]["ErrorResponse"];
4010
4010
  };
4011
4011
  };
4012
4012
  /** @description Not authenticated */
@@ -4015,7 +4015,7 @@ export interface operations {
4015
4015
  [name: string]: unknown;
4016
4016
  };
4017
4017
  content: {
4018
- "application/json": components["schemas"]["WrappedError"];
4018
+ "application/json": components["schemas"]["ErrorResponse"];
4019
4019
  };
4020
4020
  };
4021
4021
  /** @description Insufficient permissions */
@@ -4024,7 +4024,7 @@ export interface operations {
4024
4024
  [name: string]: unknown;
4025
4025
  };
4026
4026
  content: {
4027
- "application/json": components["schemas"]["WrappedError"];
4027
+ "application/json": components["schemas"]["ErrorResponse"];
4028
4028
  };
4029
4029
  };
4030
4030
  /** @description Model not found */
@@ -4040,7 +4040,7 @@ export interface operations {
4040
4040
  * "type": "not_found_error"
4041
4041
  * }
4042
4042
  * } */
4043
- "application/json": components["schemas"]["WrappedError"];
4043
+ "application/json": components["schemas"]["ErrorResponse"];
4044
4044
  };
4045
4045
  };
4046
4046
  /** @description Internal server error */
@@ -4049,7 +4049,7 @@ export interface operations {
4049
4049
  [name: string]: unknown;
4050
4050
  };
4051
4051
  content: {
4052
- "application/json": components["schemas"]["WrappedError"];
4052
+ "application/json": components["schemas"]["ErrorResponse"];
4053
4053
  };
4054
4054
  };
4055
4055
  };
@@ -4091,7 +4091,7 @@ export interface operations {
4091
4091
  [name: string]: unknown;
4092
4092
  };
4093
4093
  content: {
4094
- "application/json": components["schemas"]["WrappedError"];
4094
+ "application/json": components["schemas"]["ErrorResponse"];
4095
4095
  };
4096
4096
  };
4097
4097
  /** @description Not authenticated */
@@ -4100,7 +4100,7 @@ export interface operations {
4100
4100
  [name: string]: unknown;
4101
4101
  };
4102
4102
  content: {
4103
- "application/json": components["schemas"]["WrappedError"];
4103
+ "application/json": components["schemas"]["ErrorResponse"];
4104
4104
  };
4105
4105
  };
4106
4106
  /** @description Insufficient permissions */
@@ -4109,7 +4109,7 @@ export interface operations {
4109
4109
  [name: string]: unknown;
4110
4110
  };
4111
4111
  content: {
4112
- "application/json": components["schemas"]["WrappedError"];
4112
+ "application/json": components["schemas"]["ErrorResponse"];
4113
4113
  };
4114
4114
  };
4115
4115
  /** @description Internal server error */
@@ -4118,7 +4118,7 @@ export interface operations {
4118
4118
  [name: string]: unknown;
4119
4119
  };
4120
4120
  content: {
4121
- "application/json": components["schemas"]["WrappedError"];
4121
+ "application/json": components["schemas"]["ErrorResponse"];
4122
4122
  };
4123
4123
  };
4124
4124
  };
@@ -4153,7 +4153,7 @@ export interface operations {
4153
4153
  [name: string]: unknown;
4154
4154
  };
4155
4155
  content: {
4156
- "application/json": components["schemas"]["WrappedError"];
4156
+ "application/json": components["schemas"]["ErrorResponse"];
4157
4157
  };
4158
4158
  };
4159
4159
  /** @description Not authenticated */
@@ -4162,7 +4162,7 @@ export interface operations {
4162
4162
  [name: string]: unknown;
4163
4163
  };
4164
4164
  content: {
4165
- "application/json": components["schemas"]["WrappedError"];
4165
+ "application/json": components["schemas"]["ErrorResponse"];
4166
4166
  };
4167
4167
  };
4168
4168
  /** @description Insufficient permissions */
@@ -4171,7 +4171,7 @@ export interface operations {
4171
4171
  [name: string]: unknown;
4172
4172
  };
4173
4173
  content: {
4174
- "application/json": components["schemas"]["WrappedError"];
4174
+ "application/json": components["schemas"]["ErrorResponse"];
4175
4175
  };
4176
4176
  };
4177
4177
  /** @description Internal server error */
@@ -4180,7 +4180,7 @@ export interface operations {
4180
4180
  [name: string]: unknown;
4181
4181
  };
4182
4182
  content: {
4183
- "application/json": components["schemas"]["WrappedError"];
4183
+ "application/json": components["schemas"]["ErrorResponse"];
4184
4184
  };
4185
4185
  };
4186
4186
  };
@@ -4215,7 +4215,7 @@ export interface operations {
4215
4215
  [name: string]: unknown;
4216
4216
  };
4217
4217
  content: {
4218
- "application/json": components["schemas"]["WrappedError"];
4218
+ "application/json": components["schemas"]["ErrorResponse"];
4219
4219
  };
4220
4220
  };
4221
4221
  /** @description Not authenticated */
@@ -4224,7 +4224,7 @@ export interface operations {
4224
4224
  [name: string]: unknown;
4225
4225
  };
4226
4226
  content: {
4227
- "application/json": components["schemas"]["WrappedError"];
4227
+ "application/json": components["schemas"]["ErrorResponse"];
4228
4228
  };
4229
4229
  };
4230
4230
  /** @description Insufficient permissions */
@@ -4233,7 +4233,7 @@ export interface operations {
4233
4233
  [name: string]: unknown;
4234
4234
  };
4235
4235
  content: {
4236
- "application/json": components["schemas"]["WrappedError"];
4236
+ "application/json": components["schemas"]["ErrorResponse"];
4237
4237
  };
4238
4238
  };
4239
4239
  /** @description Internal server error */
@@ -4242,7 +4242,7 @@ export interface operations {
4242
4242
  [name: string]: unknown;
4243
4243
  };
4244
4244
  content: {
4245
- "application/json": components["schemas"]["WrappedError"];
4245
+ "application/json": components["schemas"]["ErrorResponse"];
4246
4246
  };
4247
4247
  };
4248
4248
  };
@@ -4277,7 +4277,7 @@ export interface operations {
4277
4277
  [name: string]: unknown;
4278
4278
  };
4279
4279
  content: {
4280
- "application/json": components["schemas"]["WrappedError"];
4280
+ "application/json": components["schemas"]["ErrorResponse"];
4281
4281
  };
4282
4282
  };
4283
4283
  /** @description Not authenticated */
@@ -4286,7 +4286,7 @@ export interface operations {
4286
4286
  [name: string]: unknown;
4287
4287
  };
4288
4288
  content: {
4289
- "application/json": components["schemas"]["WrappedError"];
4289
+ "application/json": components["schemas"]["ErrorResponse"];
4290
4290
  };
4291
4291
  };
4292
4292
  /** @description Insufficient permissions */
@@ -4295,7 +4295,7 @@ export interface operations {
4295
4295
  [name: string]: unknown;
4296
4296
  };
4297
4297
  content: {
4298
- "application/json": components["schemas"]["WrappedError"];
4298
+ "application/json": components["schemas"]["ErrorResponse"];
4299
4299
  };
4300
4300
  };
4301
4301
  /** @description Internal server error */
@@ -4304,7 +4304,7 @@ export interface operations {
4304
4304
  [name: string]: unknown;
4305
4305
  };
4306
4306
  content: {
4307
- "application/json": components["schemas"]["WrappedError"];
4307
+ "application/json": components["schemas"]["ErrorResponse"];
4308
4308
  };
4309
4309
  };
4310
4310
  };
@@ -4337,7 +4337,7 @@ export interface operations {
4337
4337
  [name: string]: unknown;
4338
4338
  };
4339
4339
  content: {
4340
- "application/json": components["schemas"]["WrappedError"];
4340
+ "application/json": components["schemas"]["ErrorResponse"];
4341
4341
  };
4342
4342
  };
4343
4343
  /** @description Not authenticated */
@@ -4346,7 +4346,7 @@ export interface operations {
4346
4346
  [name: string]: unknown;
4347
4347
  };
4348
4348
  content: {
4349
- "application/json": components["schemas"]["WrappedError"];
4349
+ "application/json": components["schemas"]["ErrorResponse"];
4350
4350
  };
4351
4351
  };
4352
4352
  /** @description Insufficient permissions */
@@ -4355,7 +4355,7 @@ export interface operations {
4355
4355
  [name: string]: unknown;
4356
4356
  };
4357
4357
  content: {
4358
- "application/json": components["schemas"]["WrappedError"];
4358
+ "application/json": components["schemas"]["ErrorResponse"];
4359
4359
  };
4360
4360
  };
4361
4361
  /** @description Internal server error */
@@ -4364,7 +4364,7 @@ export interface operations {
4364
4364
  [name: string]: unknown;
4365
4365
  };
4366
4366
  content: {
4367
- "application/json": components["schemas"]["WrappedError"];
4367
+ "application/json": components["schemas"]["ErrorResponse"];
4368
4368
  };
4369
4369
  };
4370
4370
  };