/* Options:
Date: 2025-05-04 22:06:21
Version: 8.71
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://team.evovoice.io
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: False
//ExportValueTypes: False
IncludeTypes: GetSystemSettings.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Voice.Api.Flows.Data;
using Voice.Api.Endpoints;
using Voice.Api.Settings;
using Voice.Api;
namespace Voice.Api
{
public partial class EntityInfo
{
///
///The ID of the object
///
[ApiMember(Description="The ID of the object")]
public virtual string Id { get; set; }
///
///The date the object was created
///
[ApiMember(Description="The date the object was created")]
public virtual string DateCreated { get; set; }
///
///The date the object was last modified
///
[ApiMember(Description="The date the object was last modified")]
public virtual string DateLastModified { get; set; }
///
///The user that created this object
///
[ApiMember(Description="The user that created this object")]
public virtual string CreatedBy { get; set; }
///
///The user that last modified this object
///
[ApiMember(Description="The user that last modified this object")]
public virtual string LastModifiedBy { get; set; }
}
}
namespace Voice.Api.Endpoints
{
public enum EndpointTypes
{
PhoneNumber,
User,
FaxNumber,
EmailAddress,
Unused_1,
Unused_2,
Unused_3,
Unused_4,
Unused_5,
Team,
Assistant,
}
public enum TwilioSipRegions
{
NorthAmericaVirginia,
NorthAmericaOregon,
EuropeIreland,
EuropeFrankfurt,
AsiaPacificSingapore,
AsiaPacificTokyo,
AsiaPacificSydney,
SouthAmericaSanPaolo,
}
public enum UserDataFieldModes
{
Hidden,
ReadOnly,
ReadWrite,
}
}
namespace Voice.Api.Flows.Data
{
public partial class DataField
{
public virtual string Id { get; set; }
public virtual string Name { get; set; }
public virtual ValueTypes Type { get; set; }
public virtual UIHints UIHint { get; set; }
public virtual string UITab { get; set; }
public virtual bool IsAsync { get; set; }
public virtual bool DisableBinding { get; set; }
public virtual DataType StructType { get; set; }
public virtual DataType ListType { get; set; }
public virtual string Description { get; set; }
public virtual List PossibleValues { get; set; }
public virtual bool IsOutput { get; set; }
public virtual string CustomFieldValuesUrl { get; set; }
public virtual Value DefaultValue { get; set; }
public virtual string TransitionNameFormat { get; set; }
public virtual DataFieldUniqueness Uniqueness { get; set; }
public virtual bool VoiceOnly { get; set; }
public virtual string ConditionalVisibilityField { get; set; }
public virtual string ConditionalVisibilityValue { get; set; }
public virtual bool NoEvalTemplate { get; set; }
public virtual UserDataFieldModes UserMode { get; set; }
public virtual bool AnyValueType { get; set; }
}
public enum DataFieldUniqueness
{
NotUnique,
Unique,
UniqueToCustomer,
}
public partial class DataType
{
public virtual string TypeName { get; set; }
public virtual List Fields { get; set; }
}
public partial class Struct
: Dictionary
{
}
public enum UIHints
{
None,
LargeText,
InlineForm,
Password,
InlineStruct,
}
public partial class Value
{
public virtual bool? BoolValue { get; set; }
public virtual string StringValue { get; set; }
public virtual double? NumberValue { get; set; }
public virtual List ListValue { get; set; }
public virtual Struct StructValue { get; set; }
}
public enum ValueTypes
{
NotSpecified,
String,
Boolean,
Number,
List,
Struct,
Transition,
Custom,
Date,
AudioFile,
TimeZoneId,
PhoneNumber,
User,
Endpoint,
Time,
File,
FaxNumber,
EmailAccount,
Customer,
Flow,
Team,
FlowReference,
Integration,
Assistant,
}
}
namespace Voice.Api.Settings
{
public partial class CustomerDataField
: DataField
{
public virtual bool ShowInSearch { get; set; }
}
public partial class EmailAccount
{
public virtual string Id { get; set; }
public virtual string Server { get; set; }
public virtual string UserName { get; set; }
public virtual int Port { get; set; }
public virtual string EmailAddress { get; set; }
public virtual string DisplayName { get; set; }
public virtual string Password { get; set; }
}
public partial class EndpointDataField
: DataField
{
public virtual bool ShowInSearch { get; set; }
public virtual bool ShowInLists { get; set; }
public virtual EndpointTypes? EndpointType { get; set; }
public virtual bool IsCallerId { get; set; }
public virtual bool IsKnob { get; set; }
}
///
///Gets the system settings
///
[Route("/system/settings", "GET")]
[Api(Description="Gets the system settings")]
public partial class GetSystemSettings
: IReturn, IGet
{
///
///The account ID whose system settings you want
///
[ApiMember(Description="The account ID whose system settings you want")]
public virtual string AccountId { get; set; }
}
public partial class SystemSettingsField
: DataField
{
public virtual Value Value { get; set; }
}
public partial class SystemSettingsInfo
: EntityInfo
{
///
///Use to override the system time for testing
///
[ApiMember(Description="Use to override the system time for testing")]
public virtual bool OverrideSystemTime { get; set; }
///
///The system override time zone
///
[ApiMember(Description="The system override time zone")]
public virtual string OverrideSystemTimeZoneId { get; set; }
///
///The system override date/time
///
[ApiMember(Description="The system override date/time")]
public virtual string OverrideSystemDateTime { get; set; }
///
///The list of system settings fields
///
[ApiMember(Description="The list of system settings fields")]
public virtual List SystemFields { get; set; }
///
///The list of customer metadata fields
///
[ApiMember(Description="The list of customer metadata fields")]
public virtual List CustomerFields { get; set; }
///
///The list of endpoint metadata fields
///
[ApiMember(Description="The list of endpoint metadata fields")]
public virtual List EndpointFields { get; set; }
///
///The list of email accounts
///
[ApiMember(Description="The list of email accounts")]
public virtual List EmailAccounts { get; set; }
///
///The list of tags in the system
///
[ApiMember(Description="The list of tags in the system")]
public virtual List Tags { get; set; }
///
///Documentation for the account
///
[ApiMember(Description="Documentation for the account")]
public virtual string Documentation { get; set; }
///
///The number of days recordings are retained
///
[ApiMember(Description="The number of days recordings are retained")]
public virtual int RecordingRetentionDays { get; set; }
///
///Enable the SIP refer beta
///
[ApiMember(Description="Enable the SIP refer beta")]
public virtual bool EnableSipRefer { get; set; }
///
///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 virtual int AutoAgentLogoffSeconds { get; set; }
///
///The default SIP region for new devices
///
[ApiMember(Description="The default SIP region for new devices")]
public virtual TwilioSipRegions? DefaultSipRegion { get; set; }
}
public partial class Tag
{
public virtual string Id { get; set; }
public virtual string Name { get; set; }
public virtual TagColors Color { get; set; }
}
public enum TagColors
{
Magenta,
Red,
Volcano,
Orange,
Gold,
Lime,
Green,
Cyan,
Blue,
GeekBlue,
Purple,
}
}