Skip to content

Commit 31ffdc2

Browse files
feat(api): api update
1 parent 80134ba commit 31ffdc2

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-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: 29
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-b75dffb978bef36324c145a749091760738e0279993d012612135ca0cbee18f5.yml
3-
openapi_spec_hash: b4beb7b5837d4f8074832f0f42bff1b4
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-842222b234397c7c4e1d9f58b11a3321295d67d98a0dde5d5cea00240b99e042.yml
3+
openapi_spec_hash: ecc74c95d5c66e7e972cf83b3cae8c5a
44
config_hash: 3ff9aba9377f3c19253a0f87243f40d9

src/resources/admin/auth-providers.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ export interface AuthProviderCreateRequest {
5252

5353
description?: string;
5454

55+
/**
56+
* The unique external ID for the auth provider
57+
*/
58+
external_id?: string;
59+
5560
oauth2?: AuthProviderCreateRequest.Oauth2;
5661

5762
provider_id?: string;
@@ -227,6 +232,11 @@ export namespace AuthProviderResponse {
227232

228233
pkce?: Oauth2.Pkce;
229234

235+
/**
236+
* The redirect URI required for this provider.
237+
*/
238+
redirect_uri?: string;
239+
230240
refresh_request?: Oauth2.RefreshRequest;
231241

232242
scope_delimiter?: string;
@@ -504,6 +514,11 @@ export interface AuthProviderCreateParams {
504514

505515
description?: string;
506516

517+
/**
518+
* The unique external ID for the auth provider
519+
*/
520+
external_id?: string;
521+
507522
oauth2?: AuthProviderCreateParams.Oauth2;
508523

509524
provider_id?: string;

tests/api-resources/admin/auth-providers.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ describe('resource authProviders', () => {
2424
const response = await client.admin.authProviders.create({
2525
id: 'id',
2626
description: 'description',
27+
external_id: 'external_id',
2728
oauth2: {
2829
client_id: 'client_id',
2930
authorize_request: {

0 commit comments

Comments
 (0)