""" Options: Date: 2026-04-04 02:55:36 Version: 8.52 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: InviteContact.* #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 # @ApiResponse(Description="Contact Id of the newly invited/ created contact") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class AddContactResponse: contact_id: Optional[str] = None response_status: Optional[ResponseStatus] = None # @Route("/contacts/{ContactId}/invite/contact") # @Route("/contacts/{ContactId}/invite/{ToContactId}") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class InviteContact(IReturn[AddContactResponse]): # @ApiMember(DataType="Guid", Description="Contact Id inviting the contact", IsRequired=true, Name="ContactId") contact_id: Optional[str] = None """ Contact Id inviting the contact """ # @ApiMember(DataType="Guid", Description="Contact Id of the virtual contact invited to be real.", Name="ToContactId") to_contact_id: Optional[str] = None """ Contact Id of the virtual contact invited to be real. """ # @ApiMember(DataType="string", Description="Email Address of the real/ virtual contact to be invited.", IsRequired=true, Name="EmailAddress") email_address: Optional[str] = None """ Email Address of the real/ virtual contact to be invited. """ # @ApiMember(DataType="List", Description="List of roles to invite the contact", IsRequired=true, Name="Roles") roles: List[str] = field(default_factory=list) """ List of roles to invite the contact """