/* Options: Date: 2026-04-04 06:49:23 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: SearchContact.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using Eros.Saguna.Common.WebAPIModel.Models; using Eros.Saguna.Common.WebAPI.ServiceModel; using Eros.Subtle.Canvara.WebAPIModel.ServiceModel; namespace Eros.Saguna.Common.WebAPI.ServiceModel { public partial class ContactDetailModel { /// ///Id of the Contact Method /// [ApiMember(DataType="Guid", Description="Id of the Contact Method", Name="ContactMethodId", ParameterType="body")] public virtual Guid ContactMethodId { get; set; } /// ///Contact Method Name /// [ApiMember(DataType="string", Description="Contact Method Name", Name="ContactMethodName", ParameterType="body")] public virtual string ContactMethodName { get; set; } /// ///If the contact method is an address, this will contain the address details. /// [ApiMember(DataType="ContactAddressModel", Description="If the contact method is an address, this will contain the address details.", Name="ContactAddress", ParameterType="body")] public virtual ContactAddressModel ContactAddress { get; set; } /// ///If the contact method is a phone, this will contain the phone details /// [ApiMember(DataType="PhoneModel", Description="If the contact method is a phone, this will contain the phone details", Name="ContactPhone", ParameterType="body")] public virtual PhoneModel ContactPhone { get; set; } /// ///Id of the country /// [ApiMember(DataType="Guid?", Description="Id of the country", Name="CountryId", ParameterType="body")] public virtual Guid? CountryId { get; set; } /// ///A summary string representing the contact details /// [ApiMember(DataType="string", Description="A summary string representing the contact details", Name="ContactDetails", ParameterType="body")] public virtual string ContactDetails { get; set; } /// ///Notes about the contact details /// [ApiMember(DataType="string", Description="Notes about the contact details", Name="Notes", ParameterType="body")] public virtual string Notes { get; set; } /// ///Area Code if contact details are a phone number /// [ApiMember(DataType="string", Description="Area Code if contact details are a phone number", Name="ContactDetailsCode", ParameterType="body")] public virtual string ContactDetailsCode { get; set; } /// ///Order number of the contact method /// [ApiMember(DataType="int", Description="Order number of the contact method", Name="OrderContactMethod", ParameterType="body")] public virtual int OrderContactMethod { get; set; } /// ///True if this is the primary contact method /// [ApiMember(DataType="bool", Description="True if this is the primary contact method", Name="IsPrimaryContactMethod", ParameterType="body")] public virtual bool IsPrimaryContactMethod { get; set; } /// ///True if this contact method is an address /// [ApiMember(DataType="bool", Description="True if this contact method is an address", Name="IsAddress", ParameterType="body")] public virtual bool IsAddress { get; set; } } } namespace Eros.Saguna.Common.WebAPIModel.Models { public partial class ContactDetailModel { /// ///Contact Method Id /// [ApiMember(DataType="Guid", Description="Contact Method Id", Name="ContactMethodId", ParameterType="query")] public virtual Guid ContactMethodId { get; set; } /// ///Contact Method Name /// [ApiMember(DataType="string", Description="Contact Method Name", Name="ContactMethodName", ParameterType="query")] public virtual string ContactMethodName { get; set; } /// ///Contact Address Details /// [ApiMember(DataType="ContactAddressModel", Description="Contact Address Details", Name="ContactAddress", ParameterType="query")] public virtual ContactAddressModel ContactAddress { get; set; } /// ///Contact Phone Details /// [ApiMember(DataType="PhoneModel", Description="Contact Phone Details", Name="ContactPhone", ParameterType="query")] public virtual PhoneModel ContactPhone { get; set; } /// ///Country id /// [ApiMember(DataType="Guid", Description="Country id", Name="CountryId", ParameterType="query")] public virtual Guid? CountryId { get; set; } /// ///Contact Details /// [ApiMember(DataType="string", Description="Contact Details", Name="ContactDetails", ParameterType="query")] public virtual string ContactDetails { get; set; } /// ///Notes /// [ApiMember(DataType="string", Description="Notes", Name="Notes", ParameterType="query")] public virtual string Notes { get; set; } /// ///Contact Details Code /// [ApiMember(DataType="string", Description="Contact Details Code", Name="ContactDetailsCode", ParameterType="query")] public virtual string ContactDetailsCode { get; set; } /// ///Order of Contact Method Id /// [ApiMember(DataType="int", Description="Order of Contact Method Id", Name="OrderContactMethod", ParameterType="query")] public virtual int OrderContactMethod { get; set; } /// ///Contact Method Id /// [ApiMember(DataType="bool", Description="Contact Method Id", Name="IsPrimaryContactMethod", ParameterType="query")] public virtual bool IsPrimaryContactMethod { get; set; } /// ///Is contact details an address /// [ApiMember(DataType="bool", Description="Is contact details an address", Name="IsAddress", ParameterType="query")] public virtual bool IsAddress { get; set; } /// ///Contact Contact Detail Id /// [ApiMember(DataType="Guid", Description="Contact Contact Detail Id", Name="ContactContactDetailId", ParameterType="query")] public virtual Guid ContactContactDetailId { get; set; } /// ///Contact Id /// [ApiMember(DataType="Guid", Description="Contact Id", Name="ContactId", ParameterType="query")] public virtual Guid ContactId { get; set; } /// ///Contact Details Id /// [ApiMember(DataType="Guid", Description="Contact Details Id", Name="ContactDetailId", ParameterType="query")] public virtual Guid ContactDetailId { get; set; } /// ///Is contact details a primary location /// [ApiMember(DataType="bool", Description="Is contact details a primary location", Name="IsPrimaryLocation", ParameterType="query")] public virtual bool IsPrimaryLocation { get; set; } /// ///Is contact details a registered location /// [ApiMember(DataType="bool", Description="Is contact details a registered location", Name="IsRegisteredLocation", ParameterType="query")] public virtual bool IsRegisteredLocation { get; set; } /// ///Is contact details a postal address /// [ApiMember(DataType="bool", Description="Is contact details a postal address", Name="IsPostal", ParameterType="query")] public virtual bool IsPostal { get; set; } /// ///Is contact details a phone number /// [ApiMember(DataType="bool", Description="Is contact details a phone number", Name="IsPhone", ParameterType="query")] public virtual bool IsPhone { get; set; } /// ///Email Signature Id /// [ApiMember(DataType="Guid", Description="Email Signature Id", Name="EmailSignatureId", ParameterType="query")] public virtual Guid EmailSignatureId { get; set; } /// ///Email Signature HTML /// [ApiMember(DataType="string", Description="Email Signature HTML", Name="EmailSignatureHTML", ParameterType="query")] public virtual string EmailSignatureHTML { get; set; } /// ///Email Signature Text /// [ApiMember(DataType="string", Description="Email Signature Text", Name="EmailSignatureText", ParameterType="query")] public virtual string EmailSignatureText { get; set; } /// ///API Key from Framework /// [ApiMember(DataType="string", Description="API Key from Framework", Name="ApiFrameworkAlternateKey", ParameterType="query")] public virtual string ApiFrameworkAlternateKey { get; set; } } public partial class UserProfileModel : UserProfileSummaryModel { /// ///Contact Date of Birth (when person type) /// [ApiMember(DataType="DateTime?", Description="Contact Date of Birth (when person type)", Name="BirthDate", ParameterType="query")] public virtual DateTime? BirthDate { get; set; } /// ///Contact marital status (when person type) /// [ApiMember(DataType="string", Description="Contact marital status (when person type)", Name="MaritalStatusName", ParameterType="query")] public virtual string MaritalStatusName { get; set; } /// ///Contact gender (when person type) /// [ApiMember(DataType="string", Description="Contact gender (when person type)", Name="GenderName", ParameterType="query")] public virtual string GenderName { get; set; } /// ///The Gender Guid of the contact. /// [ApiMember(DataType="Guid", Description="The Gender Guid of the contact.", Name="GenderId", ParameterType="query")] public virtual Guid? GenderId { get; set; } /// ///All contact details of the contact /// [ApiMember(DataType="List", Description="All contact details of the contact", Name="ContactDetails", ParameterType="query")] public virtual List ContactDetails { get; set; } /// ///Primary Street Address /// [ApiMember(DataType="ContactDetail", Description="Primary Street Address", Name="PrimaryStreetAddress ")] public virtual ContactDetailModel PrimaryStreetAddress { get; set; } /// ///Primary Postal Address /// [ApiMember(DataType="ContactDetail", Description="Primary Postal Address", Name="PrimaryPostalAddress ")] public virtual ContactDetailModel PrimaryPostalAddress { get; set; } /// ///Primary Registered Address /// [ApiMember(DataType="ContactDetail", Description="Primary Registered Address", Name="PrimaryRegisteredAddress ")] public virtual ContactDetailModel PrimaryRegisteredAddress { get; set; } /// ///Primary Email Address /// [ApiMember(DataType="ContactDetail", Description="Primary Email Address", Name="PrimaryEmail ")] public virtual ContactDetailModel PrimaryEmail { get; set; } /// ///Primary Mobile Number /// [ApiMember(DataType="ContactDetail", Description="Primary Mobile Number", Name="PrimaryMobile")] public virtual ContactDetailModel PrimaryMobile { get; set; } /// ///Primary Non-Mobile Number /// [ApiMember(DataType="ContactDetail", Description="Primary Non-Mobile Number", Name="PrimaryPhone")] public virtual ContactDetailModel PrimaryPhone { get; set; } /// ///Primary Fax Number /// [ApiMember(DataType="ContactDetail", Description="Primary Fax Number", Name="PrimaryFax")] public virtual ContactDetailModel PrimaryFax { get; set; } /// ///Primary Web Address /// [ApiMember(DataType="ContactDetail", Description="Primary Web Address", Name="PrimaryWeb")] public virtual ContactDetailModel PrimaryWeb { get; set; } /// ///Social Media Twitter /// [ApiMember(DataType="ContactDetail", Description="Social Media Twitter", Name="SocialMediaTwitter")] public virtual ContactDetailModel SocialMediaTwitter { get; set; } /// ///Social Media Facebook /// [ApiMember(DataType="ContactDetail", Description="Social Media Facebook", Name="SocialMediaFacebook")] public virtual ContactDetailModel SocialMediaFacebook { get; set; } /// ///Social Media Instagram /// [ApiMember(DataType="ContactDetail", Description="Social Media Instagram", Name="SocialMediaInstagram")] public virtual ContactDetailModel SocialMediaInstagram { get; set; } /// ///Have all connections to the contact been removed? /// [ApiMember(DataType="bool", Description="Have all connections to the contact been removed?", Name="IsRemovedContact")] public virtual bool IsRemovedContact { get; set; } /// ///True if this is the users default profile. /// [ApiMember(DataType="bool", Description="True if this is the users default profile.", Name="IsDefault", ParameterType="query")] public virtual bool IsDefault { get; set; } /// ///True if the users email on this profile can be edited. /// [ApiMember(DataType="bool", Description="True if the users email on this profile can be edited.", Name="IsEmailEditable", ParameterType="query")] public virtual bool IsEmailEditable { get; set; } /// ///Primary image Content sent as a file stream contents (if not attached to the request) /// [ApiMember(DataType="string", Description="Primary image Content sent as a file stream contents (if not attached to the request)", Name="PrimaryImageContent")] public virtual string PrimaryImageContent { get; set; } /// ///Primary image Content type sent as a file stream contents (if not attached to the request) /// [ApiMember(DataType="string", Description="Primary image Content type sent as a file stream contents (if not attached to the request)", Name="PrimaryImageContentType")] public virtual string PrimaryImageContentType { get; set; } /// ///Primary image file name /// [ApiMember(DataType="string", Description="Primary image file name", Name="PrimaryImageFileName")] public virtual string PrimaryImageFileName { get; set; } } public partial class UserProfileSummaryModel { /// ///User Profile Id /// [ApiMember(DataType="Guid", Description="User Profile Id", Name="UserProfileId")] public virtual Guid UserProfileId { get; set; } /// ///User linked to the profile /// [ApiMember(DataType="Guid", Description="User linked to the profile", Name="UserId")] public virtual Guid UserId { get; set; } /// ///Contact linked to the profile /// [ApiMember(DataType="Guid", Description="Contact linked to the profile", Name="ContactId")] public virtual Guid ContactId { get; set; } /// ///User linked to the profile /// [ApiMember(DataType="string", Description="User linked to the profile", Name="UserName")] public virtual string UserName { get; set; } /// ///User Profile Name /// [ApiMember(DataType="string", Description="User Profile Name", Name="ProfileName")] public virtual string ProfileName { get; set; } /// ///Full name of the contact linked to the profile /// [ApiMember(DataType="string", Description="Full name of the contact linked to the profile", Name="ContactFullName")] public virtual string ContactFullName { get; set; } /// ///Email Address of the contact linked to the profile /// [ApiMember(DataType="string", Description="Email Address of the contact linked to the profile", Name="EmailAddress")] public virtual string EmailAddress { get; set; } /// ///Email signature of the contact linked to the profile /// [ApiMember(DataType="string", Description="Email signature of the contact linked to the profile", Name="EmailSignature")] public virtual string EmailSignature { get; set; } /// ///Mobile number of the contact linked to the profile /// [ApiMember(DataType="string", Description="Mobile number of the contact linked to the profile", Name="MobileNumber")] public virtual string MobileNumber { get; set; } /// ///Phone number of the contact linked to the profile /// [ApiMember(DataType="string", Description="Phone number of the contact linked to the profile", Name="PhoneNumber")] public virtual string PhoneNumber { get; set; } /// ///Type of contact (person, organisation etc.) linked to the profile /// [ApiMember(DataType="string", Description="Type of contact (person, organisation etc.) linked to the profile", Name="ContactTypeId")] public virtual Guid ContactTypeId { get; set; } /// ///Type of contact (person, organisation etc.) linked to the profile /// [ApiMember(DataType="string", Description="Type of contact (person, organisation etc.) linked to the profile", Name="ContactTypeName")] public virtual string ContactTypeName { get; set; } /// ///First name of the contact linked to the profile /// [ApiMember(DataType="string", Description="First name of the contact linked to the profile", Name="FirstName")] public virtual string FirstName { get; set; } /// ///Surname of the contact linked to the profile /// [ApiMember(DataType="string", Description="Surname of the contact linked to the profile", Name="Surname")] public virtual string Surname { get; set; } /// ///Title of contact linked to the profile /// [ApiMember(DataType="string", Description="Title of contact linked to the profile", Name="Title")] public virtual string Title { get; set; } /// ///Legal name of contact linked to the profile /// [ApiMember(DataType="string", Description="Legal name of contact linked to the profile", Name="LegalName")] public virtual string LegalName { get; set; } /// ///Trading name of contact linked to the profile /// [ApiMember(DataType="string", Description="Trading name of contact linked to the profile", Name="TradingName")] public virtual string TradingName { get; set; } /// ///Australian Business Number /// [ApiMember(DataType="string", Description="Australian Business Number", Name="Abn", ParameterType="query")] public virtual string Abn { get; set; } /// ///Australian Company Number /// [ApiMember(DataType="string", Description="Australian Company Number", Name="Acn", ParameterType="query")] public virtual string Acn { get; set; } /// ///Australian Registered Body Number /// [ApiMember(DataType="string", Description="Australian Registered Body Number", Name="Arbn", ParameterType="query")] public virtual string Arbn { get; set; } /// ///Indicates if the Contact is registered for GST. /// [ApiMember(DataType="bool", Description="Indicates if the Contact is registered for GST.", Name="GstRegistered", ParameterType="query")] public virtual bool GstRegistered { get; set; } /// ///True if english is a secondary language for the contact. /// [ApiMember(DataType="bool", Description="True if english is a secondary language for the contact.", Name="ESL", ParameterType="query")] public virtual bool ESL { get; set; } /// ///Language that is the primary language for the contact. /// [ApiMember(DataType="string", Description="Language that is the primary language for the contact.", Name="Language", ParameterType="query")] public virtual string Language { get; set; } /// ///True if an interpreter is required. /// [ApiMember(DataType="bool", Description="True if an interpreter is required.", Name="InterpreterRequired", ParameterType="query")] public virtual bool InterpreterRequired { get; set; } /// ///Licensee specific notes about the contact. /// [ApiMember(DataType="string", Description="Licensee specific notes about the contact.", Name="LicenseeNotes", ParameterType="query")] public virtual string LicenseeNotes { get; set; } /// ///Profile photo of contact linked to the profile /// [ApiMember(DataType="string", Description="Profile photo of contact linked to the profile", Name="ProfilePhotoUrl")] public virtual string ProfilePhotoUrl { get; set; } /// ///Thumbnail photo of contact linked to the profile /// [ApiMember(DataType="string", Description="Thumbnail photo of contact linked to the profile", Name="ProfilePhotoThumbnailUrl")] public virtual string ProfilePhotoThumbnailUrl { get; set; } /// ///Profile photo id of contact linked to the profile /// [ApiMember(DataType="Guid", Description="Profile photo id of contact linked to the profile", Name="ProfileImageId")] public virtual Guid ProfileImageId { get; set; } /// ///Profile description /// [ApiMember(DataType="string", Description="Profile description", Name="Description")] public virtual string Description { get; set; } /// ///Employment Industry /// [ApiMember(DataType="string", Description="Employment Industry", Name="EmploymentIndustry")] public virtual string EmploymentIndustry { get; set; } /// ///Employment Role /// [ApiMember(DataType="string", Description="Employment Role", Name="EmploymentRole")] public virtual string EmploymentRole { get; set; } /// ///Areas of Work /// [ApiMember(DataType="string", Description="Areas of Work", Name="EmploymentGeographicArea")] public virtual string EmploymentGeographicArea { get; set; } /// ///The contacts timezone. /// [ApiMember(DataType="Guid", Description="The contacts timezone.", Name="Timezone", ParameterType="query")] public virtual Guid Timezone { get; set; } /// ///Timezone Name /// [ApiMember(DataType="string", Description="Timezone Name", Name="TimezoneName", ParameterType="query")] public virtual string TimezoneName { get; set; } /// ///The primary address of the contact /// [ApiMember(DataType="string", Description="The primary address of the contact", Name="PrimaryAddress", ParameterType="query")] public virtual string PrimaryAddress { get; set; } /// ///Is this an active contact? Or an inactive contact (deleted account)? /// [ApiMember(DataType="bool", Description="Is this an active contact? Or an inactive contact (deleted account)?", Name="IsActiveContact")] public virtual bool IsActiveContact { get; set; } } } namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel { /// ///Returns a list of Contact Profiles matching the search criteria provided. /// [Api(Description="Returns a list of Contact Profiles matching the search criteria provided.")] public partial class SearchContact : IReturn> { /// ///Email Address to search for the contact on. /// [ApiMember(DataType="string", Description="Email Address to search for the contact on.", IsRequired=true, Name="EmailAddress", ParameterType="query")] public virtual string EmailAddress { get; set; } } }