""" Options: Date: 2024-12-29 02:11:45 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: CRMActivityCreateRequest.* #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 # @Route("/DynamicsCRM/Activity/Create", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class CRMActivityCreateRequest(IReturn[ResponseStatus]): regent_id: int = 0 lead_guid: Optional[str] = None import_id: Optional[int] = None subject: Optional[str] = None description: Optional[str] = None phone_email: Optional[str] = None email_cc: Optional[List[str]] = None gmail_thread_index: Optional[str] = None related_username: Optional[str] = None scheduled_start: Optional[datetime.datetime] = None scheduled_end: Optional[datetime.datetime] = None event_location: Optional[str] = None event_type: Optional[str] = None event_participation: Optional[str] = None is_completed: bool = False is_contact: bool = False is_lead: bool = False is_account: bool = False is_email: bool = False is_letter: bool = False is_phonecall: bool = False is_task: bool = False is_meeting: bool = False is_event: bool = False date_of_occurrence: Optional[datetime.datetime] = None added_date: Optional[datetime.datetime] = None