/* Options: Date: 2025-01-08 03:44:38 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateSignup.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface IPatchDb { } export enum SignupType { Updates = 'Updates', Beta = 'Beta', } export class StatBase { public refId: string; public appUserId?: number; public rawUrl: string; public remoteIp: string; public createdDate: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Signup extends StatBase { public id: number; public type: SignupType; public email: string; public name?: string; public cancelledDate?: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } // @ValidateRequest(Validator="HasRole(`Moderator`)") export class UpdateSignup implements IReturn, IPatchDb { public id: number; public type?: SignupType; // @Validate(Validator="Email") public email?: string; public name?: string; public cancelledDate?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'UpdateSignup'; } public getMethod() { return 'PATCH'; } public createResponse() { return new Signup(); } }