/* Options: Date: 2026-04-04 01:03:42 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: GetStaffForContact.* //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.Subtle.Canvara.WebAPIModel.ServiceModel; namespace Eros.Saguna.Common.WebAPIModel.Models { public partial class PagedModel { /// ///Page Number to retrieve /// [ApiMember(DataType="int", Description="Page Number to retrieve", Name="PageNumber")] public virtual int PageNumber { get; set; } /// ///Number of records to retrieve /// [ApiMember(DataType="int", Description="Number of records to retrieve", Name="PageSize")] public virtual int PageSize { get; set; } /// ///Index of field to sort results by /// [ApiMember(DataType="int", Description="Index of field to sort results by", Name="SortIndex")] public virtual int SortIndex { get; set; } /// ///Sort Order - Ascending or Descending /// [ApiMember(DataType="int", Description="Sort Order - Ascending or Descending", Name="SortOrder")] public virtual SortOrder SortOrder { get; set; } } public enum SortOrder { Ascending, Descending, } 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; } } } namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel { [ApiResponse(Description="Contacts connected to contact by criteria and response status")] public partial class GetContactsResponse { public virtual List Contacts { get; set; } public virtual int TotalContacts { get; set; } public virtual ResponseStatus ResponseStatus { get; set; } } /// ///Get staff for the specified contact /// [Route("/contacts/{ContactId}/staff")] [Route("/contacts/{ContactId}/staff/linkedtolicensee")] [Api(Description="Get staff for the specified contact")] public partial class GetStaffForContact : PagedModel, IReturn { /// ///Organisation contact Id to get staff for /// [ApiMember(DataType="Guid", Description="Organisation contact Id to get staff for", IsRequired=true, Name="ContactId")] public virtual Guid ContactId { get; set; } /// ///Organisation Contact Type Id - Real or Virtual Organisation /// [ApiMember(DataType="Guid", Description="Organisation Contact Type Id - Real or Virtual Organisation", IsRequired=true, Name="ContactTypeId")] public virtual Guid ContactTypeId { get; set; } /// ///Staff group id for the contact (if available) /// [ApiMember(DataType="Guid", Description="Staff group id for the contact (if available)", Name="ContactStaffGroupId")] public virtual Guid ContactStaffGroupId { get; set; } /// ///Return all connections or paged results? /// [ApiMember(Description="Return all connections or paged results?", Name="IsPagedMode")] public virtual bool IsPagedMode { get; set; } } } namespace ServiceStack { [DataContract] public partial class ResponseStatus : IMeta { [DataMember(Order=1)] public virtual string ErrorCode { get; set; } [DataMember(Order=2)] public virtual string Message { get; set; } [DataMember(Order=3)] public virtual string StackTrace { get; set; } [DataMember(Order=4)] public virtual List Errors { get; set; } [DataMember(Order=5)] public virtual Dictionary Meta { get; set; } } }