@bodhiapp/ts-client 0.1.28 → 0.1.29

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