""" Options: Date: 2024-12-29 04:14:54 Version: 8.22 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://data.regent-college.edu #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: AddressSyncRequest.* #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 PhoneEmailResponse: phone_home: Optional[str] = None phone_cell: Optional[str] = None phone_bus: Optional[str] = None email: Optional[str] = None start_date: Optional[datetime.datetime] = None end_date: Optional[datetime.datetime] = None added_by: Optional[str] = None added_date: Optional[datetime.datetime] = None changed_by: Optional[str] = None changed_date: Optional[datetime.datetime] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class AddressResponse: response_status: Optional[ResponseStatus] = None addr1: Optional[str] = None addr2: Optional[str] = None country: Optional[str] = None country_code: Optional[str] = None state: Optional[str] = None city: Optional[str] = None code: Optional[str] = None start_date: Optional[datetime.datetime] = None end_date: Optional[datetime.datetime] = None added_by: Optional[str] = None added_date: Optional[datetime.datetime] = None changed_by: Optional[str] = None changed_date: Optional[datetime.datetime] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class AddressSyncResponse: response_status: Optional[ResponseStatus] = None uuid: Optional[str] = None regent_id: int = 0 sugar_address: Optional[AddressResponse] = None sugar_phone_email: Optional[PhoneEmailResponse] = None regis_address: Optional[AddressResponse] = None regis_phone_email: Optional[PhoneEmailResponse] = None re_address: Optional[AddressResponse] = None re_phone_email: Optional[PhoneEmailResponse] = None exists_in_sugar: bool = False exists_in_re: bool = False are_equal: bool = False addr_are_equal: bool = False city_are_equal: bool = False state_are_equal: bool = False country_are_equal: bool = False code_are_equal: bool = False phone_home_are_equal: bool = False phone_cell_are_equal: bool = False phone_bus_are_equal: bool = False email_are_equal: bool = False # @Route("/admissions/{uuid}/address/sync", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class AddressSyncRequest(IReturn[AddressSyncResponse]): uuid: Optional[str] = None