@thinkai/tai-api-contract 2.236.0 → 2.237.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11261,9 +11261,23 @@ export interface components {
11261
11261
  * @description When set, the banner is hidden after this instant (UTC).
11262
11262
  */
11263
11263
  endsAt?: string;
11264
+ /** @description Optional calls to action rendered next to the notice (for example "Add execution key"). Clients that do not know an action simply omit it. */
11265
+ actions?: components["schemas"]["PlatformBannerActionDto"][];
11266
+ /** @description Optional longer explanation shown when the notice is expanded. */
11267
+ details?: string;
11268
+ };
11269
+ PlatformBannerActionDto: {
11270
+ label: string;
11271
+ /** @description In-app path (starts with `/`) or an absolute https URL. */
11272
+ href: string;
11273
+ /** @description True when `href` leaves the app and should open in a new tab. */
11274
+ external?: boolean;
11264
11275
  };
11265
11276
  PlatformBannerViewDto: {
11277
+ /** @description Most urgent active notice, equal to `banners[0]`. Kept for older clients. */
11266
11278
  banner: components["schemas"]["PlatformBannerDto"] | null;
11279
+ /** @description Every notice active right now, most urgent first (global outage, global maintenance, workspace AI execution blocker, then other notices). A notice disappears from this list as soon as its condition ends. */
11280
+ banners: components["schemas"]["PlatformBannerDto"][];
11267
11281
  };
11268
11282
  PlatformBannerUpsertDto: {
11269
11283
  /** @description Pass null to clear the active database-managed banner. */
@@ -15670,6 +15684,7 @@ export type RulesSkillsCreateResponseDto = components['schemas']['RulesSkillsCre
15670
15684
  export type RulesSkillsOpenPullRequestRequestDto = components['schemas']['RulesSkillsOpenPullRequestRequestDto'];
15671
15685
  export type RulesSkillsOpenPullRequestResponseDto = components['schemas']['RulesSkillsOpenPullRequestResponseDto'];
15672
15686
  export type PlatformBannerDto = components['schemas']['PlatformBannerDto'];
15687
+ export type PlatformBannerActionDto = components['schemas']['PlatformBannerActionDto'];
15673
15688
  export type PlatformBannerViewDto = components['schemas']['PlatformBannerViewDto'];
15674
15689
  export type PlatformBannerUpsertDto = components['schemas']['PlatformBannerUpsertDto'];
15675
15690
  export type PlatformAdminBannerDto = components['schemas']['PlatformAdminBannerDto'];