Skip to content

Commit 68ff158

Browse files
feat: Expose Search rollout access in org entitlements
Stainless-Generated-From: 80d2d6eb34035a69b825f2bae03d2fae06aa2003
1 parent 0b0f348 commit 68ff158

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

‎src/resources/organization/entitlements.ts‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ export namespace OrgEntitlements {
5858

5959
proxy_bypass_hosts: Features.ProxyBypassHosts;
6060

61+
/**
62+
* Whether the Search API is enabled for the organization by its rollout feature
63+
* flag.
64+
*/
65+
search: Features.Search;
66+
6167
/**
6268
* Whether the organization can access vaults, using the same access check as vault
6369
* API routes.
@@ -183,6 +189,17 @@ export namespace OrgEntitlements {
183189
enabled: boolean;
184190
}
185191

192+
/**
193+
* Whether the Search API is enabled for the organization by its rollout feature
194+
* flag.
195+
*/
196+
export interface Search {
197+
/**
198+
* Whether the organization is entitled to use this feature.
199+
*/
200+
enabled: boolean;
201+
}
202+
186203
/**
187204
* Whether the organization can access vaults, using the same access check as vault
188205
* API routes.

0 commit comments

Comments
 (0)