/* Options: Date: 2024-06-26 09:34:19 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddCompanyTrial.* //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/", "POST") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") export class AddCompanyTrial implements IReturn, ICompany { /** @description The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public CompanyId?: string; /** @description Id of the trial type */ // @ApiMember(Description="Id of the trial type", IsRequired=true) public TrialTypeId: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AddCompanyTrial'; } public getMethod() { return 'POST'; } public createResponse() { return new CompanyTrialQueryResponse(); } }