/* Options: Date: 2025-05-04 21:56:47 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetSystemSettings.* //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 IGet { } export class Struct { public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Value { public boolValue?: boolean; public stringValue: string; public numberValue?: number; public listValue: Struct[]; public structValue: Struct; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum TwilioSipRegions { NorthAmericaVirginia = 'NorthAmericaVirginia', NorthAmericaOregon = 'NorthAmericaOregon', EuropeIreland = 'EuropeIreland', EuropeFrankfurt = 'EuropeFrankfurt', AsiaPacificSingapore = 'AsiaPacificSingapore', AsiaPacificTokyo = 'AsiaPacificTokyo', AsiaPacificSydney = 'AsiaPacificSydney', SouthAmericaSanPaolo = 'SouthAmericaSanPaolo', } export enum UserDataFieldModes { Hidden = 'Hidden', ReadOnly = 'ReadOnly', ReadWrite = 'ReadWrite', } export enum EndpointTypes { PhoneNumber = 'PhoneNumber', User = 'User', FaxNumber = 'FaxNumber', EmailAddress = 'EmailAddress', Unused_1 = 'Unused_1', Unused_2 = 'Unused_2', Unused_3 = 'Unused_3', Unused_4 = 'Unused_4', Unused_5 = 'Unused_5', Team = 'Team', Assistant = 'Assistant', } export enum ValueTypes { NotSpecified = 'NotSpecified', String = 'String', Boolean = 'Boolean', Number = 'Number', List = 'List', Struct = 'Struct', Transition = 'Transition', Custom = 'Custom', Date = 'Date', AudioFile = 'AudioFile', TimeZoneId = 'TimeZoneId', PhoneNumber = 'PhoneNumber', User = 'User', Endpoint = 'Endpoint', Time = 'Time', File = 'File', FaxNumber = 'FaxNumber', EmailAccount = 'EmailAccount', Customer = 'Customer', Flow = 'Flow', Team = 'Team', FlowReference = 'FlowReference', Integration = 'Integration', Assistant = 'Assistant', } export class EmailAccount { public id: string; public server: string; public userName: string; public port: number; public emailAddress: string; public displayName: string; public password: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum UIHints { None = 'None', LargeText = 'LargeText', InlineForm = 'InlineForm', Password = 'Password', InlineStruct = 'InlineStruct', } export enum DataFieldUniqueness { NotUnique = 'NotUnique', Unique = 'Unique', UniqueToCustomer = 'UniqueToCustomer', } export class DataField { public id: string; public name: string; public type: ValueTypes; public uiHint: UIHints; public uiTab: string; public isAsync: boolean; public disableBinding: boolean; public structType: DataType; public listType: DataType; public description: string; public possibleValues: string[]; public isOutput: boolean; public customFieldValuesUrl: string; public defaultValue: Value; public transitionNameFormat: string; public uniqueness: DataFieldUniqueness; public voiceOnly: boolean; public conditionalVisibilityField: string; public conditionalVisibilityValue: string; public noEvalTemplate: boolean; public userMode: UserDataFieldModes; public anyValueType: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class DataType { public typeName: string; public fields: DataField[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class SystemSettingsField extends DataField { public value: Value; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class CustomerDataField extends DataField { public showInSearch: boolean; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class EndpointDataField extends DataField { public showInSearch: boolean; public showInLists: boolean; public endpointType?: EndpointTypes; public isCallerId: boolean; public isKnob: boolean; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export enum TagColors { Magenta = 'Magenta', Red = 'Red', Volcano = 'Volcano', Orange = 'Orange', Gold = 'Gold', Lime = 'Lime', Green = 'Green', Cyan = 'Cyan', Blue = 'Blue', GeekBlue = 'GeekBlue', Purple = 'Purple', } export class Tag { public id: string; public name: string; public color: TagColors; public constructor(init?: Partial) { (Object as any).assign(this, init); } } 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 SystemSettingsInfo extends EntityInfo { /** @description Use to override the system time for testing */ // @ApiMember(Description="Use to override the system time for testing") public overrideSystemTime: boolean; /** @description The system override time zone */ // @ApiMember(Description="The system override time zone") public overrideSystemTimeZoneId: string; /** @description The system override date/time */ // @ApiMember(Description="The system override date/time") public overrideSystemDateTime: string; /** @description The list of system settings fields */ // @ApiMember(Description="The list of system settings fields") public systemFields: SystemSettingsField[]; /** @description The list of customer metadata fields */ // @ApiMember(Description="The list of customer metadata fields") public customerFields: CustomerDataField[]; /** @description The list of endpoint metadata fields */ // @ApiMember(Description="The list of endpoint metadata fields") public endpointFields: EndpointDataField[]; /** @description The list of email accounts */ // @ApiMember(Description="The list of email accounts") public emailAccounts: EmailAccount[]; /** @description The list of tags in the system */ // @ApiMember(Description="The list of tags in the system") public tags: Tag[]; /** @description Documentation for the account */ // @ApiMember(Description="Documentation for the account") public documentation: string; /** @description The number of days recordings are retained */ // @ApiMember(Description="The number of days recordings are retained") public recordingRetentionDays: number; /** @description Enable the SIP refer beta */ // @ApiMember(Description="Enable the SIP refer beta") public enableSipRefer: boolean; /** @description The number of seconds after which we automatically logoff a not ready agent */ // @ApiMember(Description="The number of seconds after which we automatically logoff a not ready agent") public autoAgentLogoffSeconds: number; /** @description The default SIP region for new devices */ // @ApiMember(Description="The default SIP region for new devices") public defaultSipRegion?: TwilioSipRegions; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } /** @description Gets the system settings */ // @Route("/system/settings", "GET") // @Api(Description="Gets the system settings") export class GetSystemSettings implements IReturn, IGet { /** @description The account ID whose system settings you want */ // @ApiMember(Description="The account ID whose system settings you want") public accountId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetSystemSettings'; } public getMethod() { return 'GET'; } public createResponse() { return new SystemSettingsInfo(); } }