/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { AnnouncementTemplateFieldV2 } from './AnnouncementTemplateFieldV2.js'; import type { AnnouncementTemplateActionV2 } from './AnnouncementTemplateActionV2.js'; /** * An announcement template controls which fields and actions appear on an announcement post. * @export * @interface AnnouncementTemplateV2 */ export interface AnnouncementTemplateV2 { /** * Actions shown on the announcement post, in rank order */ actions: Array; /** * Fields shown on the announcement post, in rank order */ fields: Array; /** * Unique identifier for this announcement template */ id: string; /** * Whether this is the organisation's default template, used by rules that don't choose one */ is_default: boolean; /** * Name of this announcement template */ name: string; /** * IDs of the teams that own this template */ owning_team_ids: Array; } /** * Check if a given object implements the AnnouncementTemplateV2 interface. */ export declare function instanceOfAnnouncementTemplateV2(value: object): value is AnnouncementTemplateV2; export declare function AnnouncementTemplateV2FromJSON(json: any): AnnouncementTemplateV2; export declare function AnnouncementTemplateV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AnnouncementTemplateV2; export declare function AnnouncementTemplateV2ToJSON(json: any): AnnouncementTemplateV2; export declare function AnnouncementTemplateV2ToJSONTyped(value?: AnnouncementTemplateV2 | null, ignoreDiscriminator?: boolean): any;