/* Options: Date: 2026-01-25 12:21:15 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://evovoice.io //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PatchAlert.* //ExcludeTypes: //DefaultImports: */ export class NodeParameterMap { [key:string] : NodeParameter; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IReturn { createResponse(): T; } export interface IPatch { } export enum AlertTriggers { CallSpend = 'CallSpend', } export class EntityInfo { /** @description The ID of the object */ // @ApiMember(Description="The ID of the object") public id: string; /** @description The date the object was created */ // @ApiMember(Description="The date the object was created") public dateCreated: string; /** @description The date the object was last modified */ // @ApiMember(Description="The date the object was last modified") public dateLastModified: string; /** @description The user that created this object */ // @ApiMember(Description="The user that created this object") public createdBy: string; /** @description The user that last modified this object */ // @ApiMember(Description="The user that last modified this object") public lastModifiedBy: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class AlertInfo extends EntityInfo { /** @description The ID of the account associated with this alert */ // @ApiMember(Description="The ID of the account associated with this alert") public accountId: string; /** @description The name of the alert */ // @ApiMember(Description="The name of the alert") public name: string; /** @description The trigger alert */ // @ApiMember(Description="The trigger alert") public trigger: AlertTriggers; /** @description The number of hours for the window over which the alert will trigger */ // @ApiMember(Description="The number of hours for the window over which the alert will trigger") public windowHours: number; /** @description The value at which the alert will trigger */ // @ApiMember(Description="The value at which the alert will trigger") public threshold: number; /** @description The email addresses (one per line) to notify */ // @ApiMember(Description="The email addresses (one per line) to notify") public notificationEmailAddresses: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } /** @description Update a specific alert */ // @Route("/alerts/{alertId}", "PATCH") // @Api(Description="Update a specific alert") export class PatchAlert implements IReturn, IPatch { /** @description The ID of the alert you want to update */ // @ApiMember(Description="The ID of the alert you want to update") public alertId: string; /** @description The name for the alert */ // @ApiMember(Description="The name for the alert") public name: string; /** @description The trigger alert */ // @ApiMember(Description="The trigger alert") public trigger?: AlertTriggers; /** @description The number of hours for the window over which the alert will trigger */ // @ApiMember(Description="The number of hours for the window over which the alert will trigger") public windowHours?: number; /** @description The value at which the alert will trigger */ // @ApiMember(Description="The value at which the alert will trigger") public threshold?: number; /** @description The email addresses (one per line) to notify */ // @ApiMember(Description="The email addresses (one per line) to notify") public notificationEmailAddresses: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'PatchAlert'; } public getMethod() { return 'PATCH'; } public createResponse() { return new AlertInfo(); } }