import * as outputs from "../types/output"; export interface GetSentryDashboardWidget { displayType: string; id: string; interval: string; layouts: outputs.GetSentryDashboardWidgetLayout[]; limit: number; queries: outputs.GetSentryDashboardWidgetQuery[]; title: string; widgetType: string; } export interface GetSentryDashboardWidgetLayout { h: number; minH: number; w: number; x: number; y: number; } export interface GetSentryDashboardWidgetQuery { aggregates: string[]; columns: string[]; conditions: string; fieldAliases: string[]; fields: string[]; id: string; name: string; orderBy: string; } export interface GetSentryMetricAlertTrigger { actions: outputs.GetSentryMetricAlertTriggerAction[]; alertThreshold: number; id: string; label: string; resolveThreshold: number; thresholdType: number; } export interface GetSentryMetricAlertTriggerAction { id: string; integrationId: number; targetIdentifier: string; targetType: string; type: string; } export interface SentryDashboardWidget { displayType: string; /** * The ID of this resource. */ id: string; interval: string; layout: outputs.SentryDashboardWidgetLayout; limit: number; queries: outputs.SentryDashboardWidgetQuery[]; title: string; widgetType: string; } export interface SentryDashboardWidgetLayout { h: number; minH: number; w: number; x: number; y: number; } export interface SentryDashboardWidgetQuery { aggregates: string[]; columns: string[]; conditions: string; fieldAliases: string[]; fields: string[]; /** * The ID of this resource. */ id: string; name?: string; orderBy: string; } export interface SentryMetricAlertTrigger { actions?: outputs.SentryMetricAlertTriggerAction[]; alertThreshold: number; /** * The ID of this resource. */ id: string; label: string; resolveThreshold: number; thresholdType: number; } export interface SentryMetricAlertTriggerAction { /** * The ID of this resource. */ id: string; integrationId?: number; targetIdentifier?: string; targetType: string; type: string; }