""" Options: Date: 2024-12-29 04:08:39 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: RegistrationInProgressSummaryRequest.* #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 RegistrationDocumentResponse: uuid: Optional[str] = None regent_id: int = 0 first_name: Optional[str] = None last_name: Optional[str] = None gender: Optional[str] = None email: Optional[str] = None program: Optional[str] = None concentration: Optional[str] = None section_uuid: Optional[str] = None course_name: Optional[str] = None course_title: Optional[str] = None reporting_term: Optional[str] = None document_code: Optional[str] = None document_json: Optional[str] = None document_name: Optional[str] = None document_description: Optional[str] = None added_date: Optional[datetime.datetime] = None changed_date: Optional[datetime.datetime] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class RegistrationInProgressSummaryResponse: response_status: Optional[ResponseStatus] = None transaction_uuid: Optional[str] = None regent_id: int = 0 uuid: Optional[str] = None reporting_term: Optional[str] = None number_of_student_sections: int = 0 amount_owing: Decimal = decimal.Decimal(0) must_pay_before_registering: bool = False required_documents: Optional[List[RegistrationDocumentResponse]] = None completed_documents: Optional[List[RegistrationDocumentResponse]] = None is_late: bool = False # @Route("/Registration/InProgressSummary/{uuid}/Term/{reporting_term}/{transaction_uuid}", "POST") # @Route("/Registration/InProgressSummary/{uuid}/Term/{reporting_term}", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class RegistrationInProgressSummaryRequest(IReturn[RegistrationInProgressSummaryResponse]): uuid: Optional[str] = None transaction_uuid: Optional[str] = None reporting_term: Optional[str] = None online_only: bool = False