/* Options:
Date: 2026-04-04 03:05:21
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: SaveUserProfile.*
//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.WebAPI.ServiceModel;
using Eros.Saguna.Common.WebAPIModel.Models;
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; }
}
}
namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel
{
///
///Updates a Users Profile information'
///
[Api(Description="Updates a Users Profile information'")]
public partial class SaveUserProfile
: IReturn
{
///
///The users profile Guid.
///
[ApiMember(DataType="Guid", Description="The users profile Guid.", IsRequired=true, Name="UserProfileId", ParameterType="query")]
public virtual Guid UserProfileId { get; set; }
///
///The users Guid. This is used for validation to ensure the user in the session is only changing his own user information.
///
[ApiMember(DataType="Guid", Description="The users Guid. This is used for validation to ensure the user in the session is only changing his own user information.", IsRequired=true, Name="UserId", ParameterType="query")]
public virtual Guid UserId { get; set; }
///
///The users contact Guid.
///
[ApiMember(DataType="Guid", Description="The users contact Guid.", IsRequired=true, Name="ContactId", ParameterType="query")]
public virtual Guid ContactId { get; set; }
///
///The users profile name.
///
[ApiMember(DataType="string", Description="The users profile name.", IsRequired=true, Name="ProfileName", ParameterType="query")]
public virtual string ProfileName { get; set; }
///
///The users (contact) title.
///
[ApiMember(DataType="string", Description="The users (contact) title.", Name="Title", ParameterType="query")]
public virtual string Title { get; set; }
///
///The users (contact) first name(s).
///
[ApiMember(DataType="string", Description="The users (contact) first name(s).", IsRequired=true, Name="FirstName", ParameterType="query")]
public virtual string FirstName { get; set; }
///
///The users (contact) surname.
///
[ApiMember(DataType="string", Description="The users (contact) surname.", IsRequired=true, Name="Surname", ParameterType="query")]
public virtual string Surname { get; set; }
///
///The contact profile description.
///
[ApiMember(DataType="string", Description="The contact profile description.", Name="Description", ParameterType="query")]
public virtual string Description { get; set; }
///
///The contacts profession/trade/industry details.
///
[ApiMember(DataType="string", Description="The contacts profession/trade/industry details.", Name="EmploymentIndustry", ParameterType="query")]
public virtual string EmploymentIndustry { get; set; }
///
///The contact details of who they work/subcontract for.
///
[ApiMember(DataType="string", Description="The contact details of who they work/subcontract for.", Name="EmploymentRole", ParameterType="query")]
public virtual string EmploymentRole { get; set; }
///
///The contacts work area/suburbs.
///
[ApiMember(DataType="string", Description="The contacts work area/suburbs.", Name="EmploymentGeographicArea", ParameterType="query")]
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; }
///
///A list of the contact details for the contact. Note: an email must always be set for a business.
///
[ApiMember(DataType="List", Description="A list of the contact details for the contact. Note: an email must always be set for a business.", IsRequired=true, Name="ContactDetails", ParameterType="query")]
public virtual List ContactDetails { 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="ContactType")]
public virtual Guid ContactType { 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; }
///
///Abn of contact linked to the profile
///
[ApiMember(DataType="string", Description="Abn of contact linked to the profile", Name="Abn")]
public virtual string Abn { get; set; }
///
///Acn of contact linked to the profile
///
[ApiMember(DataType="string", Description="Acn of contact linked to the profile", Name="Acn")]
public virtual string Acn { get; set; }
///
///Arbn of contact linked to the profile
///
[ApiMember(DataType="string", Description="Arbn of contact linked to the profile", Name="Arbn")]
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; }
///
///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; }
}
}