chore: regen sdk
This commit is contained in:
parent
f9b5ce180a
commit
7396d495ee
3 changed files with 4 additions and 4 deletions
|
|
@ -32,7 +32,7 @@ export namespace MessageV2 {
|
||||||
isRetryable: z.boolean(),
|
isRetryable: z.boolean(),
|
||||||
responseHeaders: z.record(z.string(), z.string()).optional(),
|
responseHeaders: z.record(z.string(), z.string()).optional(),
|
||||||
responseBody: 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>
|
export type APIError = z.infer<typeof APIError.Schema>
|
||||||
|
|
@ -617,7 +617,7 @@ export namespace MessageV2 {
|
||||||
{
|
{
|
||||||
message: "Connection reset by server",
|
message: "Connection reset by server",
|
||||||
isRetryable: true,
|
isRetryable: true,
|
||||||
details: {
|
metadata: {
|
||||||
code: (e as SystemError).code ?? "",
|
code: (e as SystemError).code ?? "",
|
||||||
syscall: (e as SystemError).syscall ?? "",
|
syscall: (e as SystemError).syscall ?? "",
|
||||||
message: (e as SystemError).message ?? "",
|
message: (e as SystemError).message ?? "",
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,7 @@ export type ApiError = {
|
||||||
[key: string]: string
|
[key: string]: string
|
||||||
}
|
}
|
||||||
responseBody?: string
|
responseBody?: string
|
||||||
details?: {
|
metadata?: {
|
||||||
[key: string]: string
|
[key: string]: string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5337,7 +5337,7 @@
|
||||||
"responseBody": {
|
"responseBody": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"details": {
|
"metadata": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": {
|
"propertyNames": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue