/* Options: Date: 2026-01-27 18:59:30 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://buildmax.org //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: True //ExportValueTypes: False IncludeTypes: PostConnections.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Collections.ObjectModel; using System.IO; using ScannerVision.Settings.Interfaces; using ScannerVision.Types; using ScannerVision.Settings; using ScannerVision.Types.Connections; using ScannerVision.WebService.ServiceModel; namespace ScannerVision.Settings { public enum PermissionType { Group, User, } } namespace ScannerVision.Settings.Interfaces { public partial interface IConnectionPermission : IInterface { bool Allow { get; set; } IConnectorConnection Connection { get; set; } PermissionType Type { get; set; } } public partial interface IConnectionPropertyDescription : IInterface { string Description { get; set; } string Name { get; set; } Guid PropertyId { get; set; } PropertyType PropertyType { get; set; } } public partial interface IConnectorConnection : IStatus { Guid ConnectorId { get; set; } string Description { get; set; } string Id { get; set; } int MaxConnections { get; set; } string Name { get; set; } ReadOnlyCollection Permissions { get; set; } ReadOnlyCollection PropertyDescriptions { get; set; } IUser SetupUser { get; set; } } public partial interface IGroup : IInterface { bool? UseGroupSettings { get; set; } } public partial interface IIdTemplatesItem : IStatus { string Id { get; set; } string Name { get; set; } string Description { get; set; } ReadOnlyCollection Templates { get; set; } } public partial interface IUser : IIdTemplatesItem { ReadOnlyCollection Groups { get; set; } string EmailAddress { get; set; } bool HasPassword { get; set; } string HomeFolder { get; set; } string Password { get; set; } bool? SbcUser { get; set; } } public partial interface IUserGroup : IIdTemplatesItem, IGroup { ReadOnlyCollection Users { get; set; } } } namespace ScannerVision.Types { public partial interface IInterface { } public partial interface IStatus : IInterface { bool? Status { get; set; } } } namespace ScannerVision.Types.Connections { public enum PropertyType { Binary = 1, Boolean = 2, ConnectionString = 3, Credential = 4, Integer = 5, Picklist = 6, String = 7, OAuth2 = 8, Certificate = 9, } } namespace ScannerVision.WebService.ServiceModel { public partial class GetConnectionsResponse { public virtual IEnumerable Connections { get; set; } public virtual bool IsAuthenticated { get; set; } } [Route("/connections", "POST")] public partial class PostConnections : IReturn { public virtual string LoginCommand { get; set; } public virtual string LogoutCommand { get; set; } public virtual string Password { get; set; } public virtual string SaveCommand { get; set; } public virtual string UserName { get; set; } } }