/* Options: Date: 2024-11-21 12:14:55 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: DeleteCustomerSuperAdminUser.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class BaseModel { public constructor(init?: Partial) { (Object as any).assign(this, init); } } export enum Currency { SEK = 1, EUR = 2, } export class Country extends BaseModel { // @References("typeof(BokaMera.API.ServiceModel.Db.Currency)") public CurrencyId: string; public CurrencyInfo: Currency; // @Required() public Name: string; public Culture: string; public TimeZone: string; public ModifiedDate?: string; // @Required() public Id: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class Currency extends BaseModel { // @Required() public Name: string; // @Required() public CurrencySign: string; // @Required() public Active: boolean; public ModifiedDate?: string; // @Required() public Id: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class LicenseTypeItem extends BaseModel { // @Ignore() public Name: string; // @Ignore() public LicenseType: LicenseType; // @Required() public LicenseTypesId: number; // @Required() public LicenseItemsId: number; // @Required() public NumberOfItems: number; public Id: number; public ModifiedDate?: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class LicensePrice extends BaseModel { // @Ignore() public Country: Country; // @Ignore() public MonthlyPayment: boolean; // @Required() public LicenseTypeId: number; // @Required() public CountryId: string; // @Required() public Price: number; public ModifiedDate?: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class LicenseType extends BaseModel { // @Ignore() public LicenseItems: IList; // @Ignore() public Prices: IList; // @Ignore() public PeriodOfNoticeDays: number; // @Ignore() public NextLicenseOption: LicenseType; // @Required() public Name: string; // @Required() public Description: string; // @Required() public ExtraLicenseOption: boolean; public ModifiedDate?: string; public Active: boolean; public Id: number; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class License extends BaseModel { public Type: LicenseType; // @Required() public CompanyId: string; public Id: number; // @Required() public TypeId: number; // @Required() public ValidFrom: string; // @Required() public ValidTo: string; // @Required() public Active: boolean; // @Required() public Updated: string; // @Required() public Created: string; public ModifiedDate?: string; public MetaData: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class DeletedCustomerInfoResponse { public CompanyId?: string; public ActiveLicenses: License[]; public Comment: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/superadmin/company/{Id}", "DELETE") // @ApiResponse(Description="", StatusCode=400) // @ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401) export class DeleteCustomerSuperAdminUser implements IReturn, ICompany { /** @description Enter the companyId for the customer */ // @ApiMember(Description="Enter the companyId for the customer", ParameterType="query") public CompanyId?: string; /** @description Id (guid) of company you wish to delete. */ // @ApiMember(Description="Id (guid) of company you wish to delete.", IsRequired=true) public Id: string; public GotApprovedByAdmin: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'DeleteCustomerSuperAdminUser'; } public getMethod() { return 'DELETE'; } public createResponse() { return new DeletedCustomerInfoResponse(); } }