chore: generate
This commit is contained in:
parent
799996db76
commit
fc46cef5fd
@ -414,6 +414,8 @@ describe("session.message-v2.fromError", () => {
|
|||||||
expect(MessageV2.APIError.isInstance(result)).toBe(true)
|
expect(MessageV2.APIError.isInstance(result)).toBe(true)
|
||||||
if (!MessageV2.APIError.isInstance(result)) throw new Error("expected APIError")
|
if (!MessageV2.APIError.isInstance(result)) throw new Error("expected APIError")
|
||||||
expect(result.data.isRetryable).toBe(true)
|
expect(result.data.isRetryable).toBe(true)
|
||||||
expect(SessionRetry.retryable(result, retryProvider)).toEqual({ message: "An error occurred while processing your request." })
|
expect(SessionRetry.retryable(result, retryProvider)).toEqual({
|
||||||
|
message: "An error occurred while processing your request.",
|
||||||
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
@ -9441,6 +9441,12 @@
|
|||||||
"action": {
|
"action": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"reason": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"provider": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
@ -9454,7 +9460,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["title", "message", "label"],
|
"required": ["reason", "provider", "title", "message", "label"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"next": {
|
"next": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user