Skip to content

Commit 2d89c68

Browse files
feat: Enhance managed authentication with CUA support and new features
1 parent 762670e commit 2d89c68

File tree

6 files changed

+297
-10
lines changed

6 files changed

+297
-10
lines changed

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 103
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-17e50cf93d8052ff655c160fc0f156621d9029b041526d4e2e3317b13f80822f.yml
3-
openapi_spec_hash: f7dadc8d93e77983936eb18a8080ce15
4-
config_hash: cff4d43372b6fa66b64e2d4150f6aa76
1+
configured_endpoints: 104
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-bb2ac8e0d3a1c08e8afcbcbad7cb733d0f84bd22a8d233c1ec3100a01ee078ae.yml
3+
openapi_spec_hash: a83f7d1c422c85d6dc6158af7afe1d09
4+
config_hash: 16e4457a0bb26e98a335a1c2a572290a

api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ Types:
214214
- <code><a href="./src/resources/auth/connections.ts">LoginResponse</a></code>
215215
- <code><a href="./src/resources/auth/connections.ts">ManagedAuth</a></code>
216216
- <code><a href="./src/resources/auth/connections.ts">ManagedAuthCreateRequest</a></code>
217+
- <code><a href="./src/resources/auth/connections.ts">ManagedAuthUpdateRequest</a></code>
217218
- <code><a href="./src/resources/auth/connections.ts">SubmitFieldsRequest</a></code>
218219
- <code><a href="./src/resources/auth/connections.ts">SubmitFieldsResponse</a></code>
219220
- <code><a href="./src/resources/auth/connections.ts">ConnectionFollowResponse</a></code>
@@ -222,6 +223,7 @@ Methods:
222223

223224
- <code title="post /auth/connections">client.auth.connections.<a href="./src/resources/auth/connections.ts">create</a>({ ...params }) -> ManagedAuth</code>
224225
- <code title="get /auth/connections/{id}">client.auth.connections.<a href="./src/resources/auth/connections.ts">retrieve</a>(id) -> ManagedAuth</code>
226+
- <code title="patch /auth/connections/{id}">client.auth.connections.<a href="./src/resources/auth/connections.ts">update</a>(id, { ...params }) -> ManagedAuth</code>
225227
- <code title="get /auth/connections">client.auth.connections.<a href="./src/resources/auth/connections.ts">list</a>({ ...params }) -> ManagedAuthsOffsetPagination</code>
226228
- <code title="delete /auth/connections/{id}">client.auth.connections.<a href="./src/resources/auth/connections.ts">delete</a>(id) -> void</code>
227229
- <code title="get /auth/connections/{id}/events">client.auth.connections.<a href="./src/resources/auth/connections.ts">follow</a>(id) -> ConnectionFollowResponse</code>

src/resources/auth/auth.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ import {
88
ConnectionListParams,
99
ConnectionLoginParams,
1010
ConnectionSubmitParams,
11+
ConnectionUpdateParams,
1112
Connections,
1213
LoginResponse,
1314
ManagedAuth,
1415
ManagedAuthCreateRequest,
16+
ManagedAuthUpdateRequest,
1517
ManagedAuthsOffsetPagination,
1618
SubmitFieldsRequest,
1719
SubmitFieldsResponse,
@@ -29,11 +31,13 @@ export declare namespace Auth {
2931
type LoginResponse as LoginResponse,
3032
type ManagedAuth as ManagedAuth,
3133
type ManagedAuthCreateRequest as ManagedAuthCreateRequest,
34+
type ManagedAuthUpdateRequest as ManagedAuthUpdateRequest,
3235
type SubmitFieldsRequest as SubmitFieldsRequest,
3336
type SubmitFieldsResponse as SubmitFieldsResponse,
3437
type ConnectionFollowResponse as ConnectionFollowResponse,
3538
type ManagedAuthsOffsetPagination as ManagedAuthsOffsetPagination,
3639
type ConnectionCreateParams as ConnectionCreateParams,
40+
type ConnectionUpdateParams as ConnectionUpdateParams,
3741
type ConnectionListParams as ConnectionListParams,
3842
type ConnectionLoginParams as ConnectionLoginParams,
3943
type ConnectionSubmitParams as ConnectionSubmitParams,

0 commit comments

Comments
 (0)