""" Options: Date: 2024-12-29 02:55:00 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: UnauthenticatedRegistrationsRequest.* #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 UnauthenticatedStudentSectionRegistrationResponse: section_uuid: Optional[str] = None student_section_uuid: Optional[str] = None course_name: Optional[str] = None section_code: Optional[str] = None course_title: Optional[str] = None amount: Decimal = decimal.Decimal(0) is_oncampus: bool = False is_audit: bool = False is_provisional: bool = False is_missing_requisites: bool = False is_other_restriction: bool = False added_date: Optional[datetime.datetime] = None added_by_person_id: Optional[int] = None changed_date: Optional[datetime.datetime] = None changed_by_person_id: Optional[int] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class UnauthenticatedPersonResponse: response_status: Optional[ResponseStatus] = None regent_id: Optional[int] = None reporting_term: Optional[str] = None survey: Optional[str] = None friend_referral: Optional[str] = None other_referral: Optional[str] = None is_returning: bool = False is_applying: bool = False is_landlord: bool = False postsecondary_education_level: int = 0 uuid: Optional[str] = None regent_login: Optional[str] = None first_name: Optional[str] = None middle_name: Optional[str] = None last_name: Optional[str] = None preferred_name: Optional[str] = None birth_name: Optional[str] = None spouse_name: Optional[str] = None addr1: Optional[str] = None addr2: Optional[str] = None country: Optional[str] = None state: Optional[str] = None city: Optional[str] = None code: Optional[str] = None phone_home: Optional[str] = None phone_cell: Optional[str] = None phone_bus: Optional[str] = None email: Optional[str] = None prefix: Optional[str] = None dob: Optional[datetime.datetime] = None citizenship: Optional[str] = None citizenship_other: Optional[str] = None permanent_resident: Optional[str] = None denomination: Optional[str] = None occupation: Optional[str] = None ethnicity: Optional[str] = None gender: Optional[str] = None marital_status: Optional[str] = None deceased_date: Optional[datetime.datetime] = None added_by: Optional[str] = None added_date: Optional[datetime.datetime] = None last_changed_by: Optional[str] = None last_changed_date: Optional[datetime.datetime] = None addr_last_changed_by: Optional[str] = None addr_last_changed_date: Optional[datetime.datetime] = None timestamp: datetime.datetime = datetime.datetime(1, 1, 1) submitted_datetime: Optional[datetime.datetime] = None submitted_by_unauthenticated_person_id: Optional[int] = None authorized_datetime: Optional[datetime.datetime] = None authorized_by_person_id: Optional[int] = None archived_datetime: Optional[datetime.datetime] = None archived_by_person_id: Optional[int] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class UnauthenticatedRegistrationTransactionResponse: response_status: Optional[ResponseStatus] = None transaction_uuid: Optional[str] = None notes_json: Optional[str] = None credit_hours: Decimal = decimal.Decimal(0) audit_hours: Decimal = decimal.Decimal(0) started_datetime: datetime.datetime = datetime.datetime(1, 1, 1) archived_datetime: Optional[datetime.datetime] = None submitted_datetime: Optional[datetime.datetime] = None authorized_datetime: Optional[datetime.datetime] = None person: Optional[UnauthenticatedPersonResponse] = None registrations: Optional[List[UnauthenticatedStudentSectionRegistrationResponse]] = None # @Route("/Registration/Unauthenticated/{reporting_term}", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class UnauthenticatedRegistrationsRequest(IReturn[List[UnauthenticatedRegistrationTransactionResponse]]): reporting_term: Optional[str] = None is_submitted: bool = False is_authorized: bool = False is_archived: bool = False