/* Options: Date: 2024-07-03 14:02:09 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CompanyTrialsQuery.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class TrialQueryResponse { public Id: number; public Name: string; public TrialDays: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class CompanyTrialQueryResponse { public TrialTypeId: number; public TrialType: TrialQueryResponse; public Started?: string; public Created: string; public ValidTo?: string; public Active: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/trials/company/", "GET") // @ValidateRequest(Validator="IsAuthenticated") export class CompanyTrialsQuery implements IReturn, ICompany { /** @description Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown */ // @ApiMember(Description="Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ", IsRequired=true, ParameterType="query") public CompanyId: string; /** @description Trial Id */ // @ApiMember(Description="Trial Id", IsRequired=true, ParameterType="query") public Id: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CompanyTrialsQuery'; } public getMethod() { return 'GET'; } public createResponse() { return new CompanyTrialQueryResponse(); } }