chore: regen sdk
parent
e8bce0aaf2
commit
fe91899428
|
|
@ -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>
|
||||
|
|
@ -621,7 +621,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 ?? "",
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ export type ApiError = {
|
|||
[key: string]: string
|
||||
}
|
||||
responseBody?: string
|
||||
details?: {
|
||||
metadata?: {
|
||||
[key: string]: string
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5347,7 +5347,7 @@
|
|||
"responseBody": {
|
||||
"type": "string"
|
||||
},
|
||||
"details": {
|
||||
"metadata": {
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"type": "string"
|
||||
|
|
|
|||
Loading…
Reference in New Issue