/* Options: Date: 2026-01-27 19:01:09 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://buildmax.org //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PostConnections.* //ExcludeTypes: //DefaultImports: */ export interface IUser extends IIdTemplatesItem { Groups: ReadOnlyCollection; EmailAddress: string; HasPassword: boolean; HomeFolder: string; Password: string; SbcUser?: boolean; } export interface IUserGroup extends IIdTemplatesItem, IGroup { Users: ReadOnlyCollection; } export enum PropertyType { Binary = 1, Boolean = 2, ConnectionString = 3, Credential = 4, Integer = 5, Picklist = 6, String = 7, OAuth2 = 8, Certificate = 9, } export interface IConnectionPropertyDescription extends IInterface { Description: string; Name: string; PropertyId: string; PropertyType: PropertyType; } export interface IConnectorConnection extends IStatus { ConnectorId: string; Description: string; Id: string; MaxConnections: number; Name: string; Permissions: ReadOnlyCollection; PropertyDescriptions: ReadOnlyCollection; SetupUser: IUser; } export enum PermissionType { Group = 'Group', User = 'User', } export interface IConnectionPermission extends IInterface { Allow: boolean; Connection: IConnectorConnection; Type: PermissionType; } export interface IStatus extends IInterface { Status?: boolean; } export interface IInterface { } export interface IIdTemplatesItem extends IStatus { Id: string; Name: string; Description: string; Templates: ReadOnlyCollection; } export interface IGroup extends IInterface { UseGroupSettings?: boolean; } export class GetConnectionsResponse { public Connections: IConnectorConnection[]; public IsAuthenticated: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/connections", "POST") export class PostConnections implements IReturn { public LoginCommand: string; public LogoutCommand: string; public Password: string; public SaveCommand: string; public UserName: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'PostConnections'; } public getMethod() { return 'POST'; } public createResponse() { return new GetConnectionsResponse(); } }