""" Options: Date: 2024-12-03 17:35:31 Version: 6.40 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://cip-reporting-preview.chargeitpro.com #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: ReconTotalSummary.* #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 @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ReconSummary: biz_date: datetime.datetime = datetime.datetime(1, 1, 1) computer_name: Optional[str] = None serial_number: Optional[str] = None transaction_type: Optional[str] = None amount: Decimal = decimal.Decimal(0) debit: Decimal = decimal.Decimal(0) amex: Decimal = decimal.Decimal(0) no_amex: Decimal = decimal.Decimal(0) debit_count: Decimal = decimal.Decimal(0) amex_count: Decimal = decimal.Decimal(0) no_amex_count: Decimal = decimal.Decimal(0) location_id: Optional[str] = None location_name: Optional[str] = None recon_amt: Optional[Decimal] = None notes: Optional[str] = None _id: Optional[str] = None in_mongo: bool = False route: Optional[str] = None unique_trans_i_d: Optional[int] = None missing_transaction: bool = False total_count: Optional[int] = None max_unique_trans_i_d: Optional[int] = None computer_date_time: Optional[datetime.datetime] = None terminal_date_time: Optional[datetime.datetime] = None comp_term_min_diff: Optional[int] = None dep_date: Optional[datetime.datetime] = None cip_server_trans: Optional[str] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ReconSummaryDate: biz_date: datetime.datetime = datetime.datetime(1, 1, 1) sub_total: Decimal = decimal.Decimal(0) debit_total: Decimal = decimal.Decimal(0) amex_total: Decimal = decimal.Decimal(0) no_amex_total: Decimal = decimal.Decimal(0) debit_count: int = 0 amex_count: int = 0 no_amex_count: int = 0 recon_summary: Optional[List[ReconSummary]] = None dep_date: Optional[datetime.datetime] = None # @Route("/Recon") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ReconTotalSummary: recon_summary_date: Optional[List[ReconSummaryDate]] = None lid: Optional[str] = None location_name: Optional[str] = None