Skip to content

Commit 063a950

Browse files
feat: Browser API endpoint grouping
1 parent 30dab93 commit 063a950

3 files changed

Lines changed: 25 additions & 25 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 108
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-f967d3024897a6125d5d18c4577dbb2cc22d742d487e6a43165198685f992379.yml
3-
openapi_spec_hash: e1c40ef0aee3a79168eb9cc854a9e403
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-848817f2b20afb49a652952c814b99e27a94090e0770465e9a87748d27e227a7.yml
3+
openapi_spec_hash: 91efb805e45cdd4c73cd8b0950bef019
44
config_hash: 3b1fbbb6bda0dac7e8b42e155cd7da56

src/resources/agents/auth/auth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ export interface AuthAgent {
277277
can_reauth_reason?: string;
278278

279279
/**
280-
* Reference to credentials for managed auth. Use one of:
280+
* Reference to credentials for the auth connection. Use one of:
281281
*
282282
* - { name } for Kernel credentials
283283
* - { provider, path } for external provider item
@@ -310,7 +310,7 @@ export interface AuthAgent {
310310

311311
export namespace AuthAgent {
312312
/**
313-
* Reference to credentials for managed auth. Use one of:
313+
* Reference to credentials for the auth connection. Use one of:
314314
*
315315
* - { name } for Kernel credentials
316316
* - { provider, path } for external provider item

src/resources/auth/connections.ts

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import { path } from '../../internal/utils/path';
1212

1313
export class Connections extends APIResource {
1414
/**
15-
* Creates managed authentication for a profile and domain combination. Returns 409
16-
* Conflict if managed auth already exists for the given profile and domain.
15+
* Creates an auth connection for a profile and domain combination. Returns 409
16+
* Conflict if an auth connection already exists for the given profile and domain.
1717
*
1818
* @example
1919
* ```ts
@@ -28,8 +28,8 @@ export class Connections extends APIResource {
2828
}
2929

3030
/**
31-
* Retrieve managed auth by its ID. Includes current flow state if a login is in
32-
* progress.
31+
* Retrieve an auth connection by its ID. Includes current flow state if a login is
32+
* in progress.
3333
*
3434
* @example
3535
* ```ts
@@ -43,7 +43,7 @@ export class Connections extends APIResource {
4343
}
4444

4545
/**
46-
* List managed auths with optional filters for profile_name and domain.
46+
* List auth connections with optional filters for profile_name and domain.
4747
*
4848
* @example
4949
* ```ts
@@ -61,9 +61,9 @@ export class Connections extends APIResource {
6161
}
6262

6363
/**
64-
* Deletes managed auth and terminates its workflow. This will:
64+
* Deletes an auth connection and terminates its workflow. This will:
6565
*
66-
* - Delete the managed auth record
66+
* - Delete the auth connection record
6767
* - Terminate the Temporal workflow
6868
* - Cancel any in-progress login flows
6969
*
@@ -98,8 +98,8 @@ export class Connections extends APIResource {
9898
}
9999

100100
/**
101-
* Starts a login flow for the managed auth. Returns immediately with a hosted URL
102-
* for the user to complete authentication, or triggers automatic re-auth if
101+
* Starts a login flow for the auth connection. Returns immediately with a hosted
102+
* URL for the user to complete authentication, or triggers automatic re-auth if
103103
* credentials are stored.
104104
*
105105
* @example
@@ -118,8 +118,8 @@ export class Connections extends APIResource {
118118
}
119119

120120
/**
121-
* Submits field values for the login form. Poll the managed auth to track progress
122-
* and get results.
121+
* Submits field values for the login form. Poll the auth connection to track
122+
* progress and get results.
123123
*
124124
* @example
125125
* ```ts
@@ -158,7 +158,7 @@ export interface LoginRequest {
158158
*/
159159
export interface LoginResponse {
160160
/**
161-
* Managed auth ID
161+
* Auth connection ID
162162
*/
163163
id: string;
164164

@@ -195,7 +195,7 @@ export interface LoginResponse {
195195
*/
196196
export interface ManagedAuth {
197197
/**
198-
* Unique identifier for the managed auth
198+
* Unique identifier for the auth connection
199199
*/
200200
id: string;
201201

@@ -205,7 +205,7 @@ export interface ManagedAuth {
205205
domain: string;
206206

207207
/**
208-
* Name of the profile associated with this managed auth
208+
* Name of the profile associated with this auth connection
209209
*/
210210
profile_name: string;
211211

@@ -247,7 +247,7 @@ export interface ManagedAuth {
247247
can_reauth_reason?: string;
248248

249249
/**
250-
* Reference to credentials for managed auth. Use one of:
250+
* Reference to credentials for the auth connection. Use one of:
251251
*
252252
* - { name } for Kernel credentials
253253
* - { provider, path } for external provider item
@@ -350,7 +350,7 @@ export interface ManagedAuth {
350350

351351
export namespace ManagedAuth {
352352
/**
353-
* Reference to credentials for managed auth. Use one of:
353+
* Reference to credentials for the auth connection. Use one of:
354354
*
355355
* - { name } for Kernel credentials
356356
* - { provider, path } for external provider item
@@ -425,7 +425,7 @@ export namespace ManagedAuth {
425425
}
426426

427427
/**
428-
* Request to create managed auth for a profile and domain
428+
* Request to create an auth connection for a profile and domain
429429
*/
430430
export interface ManagedAuthCreateRequest {
431431
/**
@@ -460,7 +460,7 @@ export interface ManagedAuthCreateRequest {
460460
allowed_domains?: Array<string>;
461461

462462
/**
463-
* Reference to credentials for managed auth. Use one of:
463+
* Reference to credentials for the auth connection. Use one of:
464464
*
465465
* - { name } for Kernel credentials
466466
* - { provider, path } for external provider item
@@ -489,7 +489,7 @@ export interface ManagedAuthCreateRequest {
489489

490490
export namespace ManagedAuthCreateRequest {
491491
/**
492-
* Reference to credentials for managed auth. Use one of:
492+
* Reference to credentials for the auth connection. Use one of:
493493
*
494494
* - { name } for Kernel credentials
495495
* - { provider, path } for external provider item
@@ -726,7 +726,7 @@ export interface ConnectionCreateParams {
726726
allowed_domains?: Array<string>;
727727

728728
/**
729-
* Reference to credentials for managed auth. Use one of:
729+
* Reference to credentials for the auth connection. Use one of:
730730
*
731731
* - { name } for Kernel credentials
732732
* - { provider, path } for external provider item
@@ -755,7 +755,7 @@ export interface ConnectionCreateParams {
755755

756756
export namespace ConnectionCreateParams {
757757
/**
758-
* Reference to credentials for managed auth. Use one of:
758+
* Reference to credentials for the auth connection. Use one of:
759759
*
760760
* - { name } for Kernel credentials
761761
* - { provider, path } for external provider item

0 commit comments

Comments
 (0)