chore: regen sdk
parent
f9b5ce180a
commit
7396d495ee
|
|
@ -32,7 +32,7 @@ export namespace MessageV2 {
|
|||
isRetryable: z.boolean(),
|
||||
responseHeaders: z.record(z.string(), z.string()).optional(),
|
||||
responseBody: z.string().optional(),
|
||||
details: z.record(z.string(), z.string()).optional(),
|
||||
metadata: z.record(z.string(), z.string()).optional(),
|
||||
}),
|
||||
)
|
||||
export type APIError = z.infer<typeof APIError.Schema>
|
||||
|
|
@ -617,7 +617,7 @@ export namespace MessageV2 {
|
|||
{
|
||||
message: "Connection reset by server",
|
||||
isRetryable: true,
|
||||
details: {
|
||||
metadata: {
|
||||
code: (e as SystemError).code ?? "",
|
||||
syscall: (e as SystemError).syscall ?? "",
|
||||
message: (e as SystemError).message ?? "",
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ export type ApiError = {
|
|||
[key: string]: string
|
||||
}
|
||||
responseBody?: string
|
||||
details?: {
|
||||
metadata?: {
|
||||
[key: string]: string
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5337,7 +5337,7 @@
|
|||
"responseBody": {
|
||||
"type": "string"
|
||||
},
|
||||
"details": {
|
||||
"metadata": {
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"type": "string"
|
||||
|
|
|
|||
Loading…
Reference in New Issue