import type * as Samsara from "../../../../index.js"; /** * @example * { * actions: [{ * actionTypeId: 1 * }], * isEnabled: true, * name: "My Harsh Event Alert", * scope: { * all: true * }, * triggers: [{ * triggerTypeId: 1000 * }] * } */ export interface AlertsPostConfigurationsRequestBody { /** An array of actions. */ actions: Samsara.ActionObjectRequestBody[]; /** A map of external ids */ externalIds?: Record; /** Whether the alert is enabled or not. */ isEnabled: boolean; /** The custom name of the configuration. */ name: string; operationalSettings?: Samsara.OperationalSettingsObjectRequestBody; scope: Samsara.ScopeObjectRequestBody; /** An array of triggers. */ triggers: Samsara.WorkflowTriggerObjectRequestBody[]; }