/* Options: Date: 2024-06-16 17:47:40 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: SuperAdminAddSupportCaseAttachment.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export interface ISupportCase extends ICompany { Id: number; } export class SupportCaseAttachmentResponse { /** @description The attachment id */ // @ApiMember(Description="The attachment id") public Id: number; /** @description The attachment file url */ // @ApiMember(Description="The attachment file url") public FileUrl: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/superadmin/support/cases/{Id}/attachments", "POST") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403) // @ValidateRequest(Validator="IsAuthenticated") export class SuperAdminAddSupportCaseAttachment implements IReturn, ISupportCase { /** @description Enter the company id, if blank company id and you are an admin, your company id will be used. */ // @ApiMember(Description="Enter the company id, if blank company id and you are an admin, your company id will be used.", IsRequired=true) public CompanyId: string; /** @description The support case id */ // @ApiMember(Description="The support case id", ParameterType="path") public Id: number; /** @description The case attachment url. Only images are allowed to attach. */ // @ApiMember(Description="The case attachment url. Only images are allowed to attach.") public FileUrl: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'SuperAdminAddSupportCaseAttachment'; } public getMethod() { return 'POST'; } public createResponse() { return new SupportCaseAttachmentResponse(); } }