""" Options: Date: 2025-04-05 01:24:10 Version: 8.23 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://testapi.bokamera.se #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: GetInactiveCompaniesReport.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum class InactivityAction(str, Enum): ACTIVITY_REMINDER = 'ActivityReminder' FINAL_WARNING = 'FinalWarning' DELETE = 'Delete' @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class InactiveCompanyResult: company_id: Optional[str] = None last_activity_date: datetime.datetime = datetime.datetime(1, 1, 1) last_activity_notification_date: datetime.datetime = datetime.datetime(1, 1, 1) deletion_time: datetime.datetime = datetime.datetime(1, 1, 1) action: Optional[InactivityAction] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class InactiveCompaniesResponse: processed_companies: Optional[List[InactiveCompanyResult]] = None # @Route("/superadmin/company/inactive/report", "GET") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class GetInactiveCompaniesReport(IReturn[InactiveCompaniesResponse]): skip: Optional[int] = None take: Optional[int] = None