/** * X-Glean custom options for configuring deprecation and experimental headers. * * These properties allow configuring X-Glean headers through the SDK constructor. * Since SDKOptions in lib/config.ts is generated by Speakeasy and gets overwritten * during regeneration, we define these as a separate type that can be used with * intersection types. */ /** * Custom SDK options for X-Glean header configuration. * Use these options when constructing the SDK client to configure * experimental features and deprecation testing. */ export interface XGleanOptions { /** * Exclude API endpoints that will be deprecated after this date. * Use this to test your integration against upcoming deprecations. * Format: YYYY-MM-DD (e.g., '2026-10-15') * * More information: https://developers.glean.com/deprecations/overview */ excludeDeprecatedAfter?: string; /** * When true, enables experimental API features that are not yet generally available. * Use this to preview and test new functionality. */ includeExperimental?: boolean; }