Skip to content

Commit 1adbca7

Browse files
feat: Add error_code field to ManagedAuthSession and related components
1 parent 8ca1d54 commit 1adbca7

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 100
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-82fd51be8dc9b6ad425425f9eb747dd337df494a030d03d37f101e2236c85548.yml
3-
openapi_spec_hash: ab396816e2b7da9938d42ec5a41cc8e1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-b7d469021adcd1493f74dad38746ffa3817dcf86a0a12561a88eb554824e3ffb.yml
3+
openapi_spec_hash: 4134c95bf3012dca38797ca56d62395b
44
config_hash: 27c0ea01aeb797a1767af139851c5b66

src/resources/auth/connections.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,11 @@ export interface ManagedAuth {
250250
*/
251251
discovered_fields?: Array<ManagedAuth.DiscoveredField> | null;
252252

253+
/**
254+
* Machine-readable error code (present when flow_status=failed)
255+
*/
256+
error_code?: string | null;
257+
253258
/**
254259
* Error message (present when flow_status=failed)
255260
*/
@@ -648,6 +653,11 @@ export namespace ConnectionFollowResponse {
648653
*/
649654
discovered_fields?: Array<ManagedAuthStateEvent.DiscoveredField>;
650655

656+
/**
657+
* Machine-readable error code (present when flow_status=FAILED).
658+
*/
659+
error_code?: string;
660+
651661
/**
652662
* Error message (present when flow_status=FAILED).
653663
*/

0 commit comments

Comments
 (0)