' Options: 'Date: 2025-09-14 06:48:22 'Version: 8.52 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://production-eros-platform-apisubscription.azurewebsites.net/api ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: SaveContact.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports Eros.Saguna.Common.Library.ValidationEngine Imports Eros.Saguna.Common.WebAPI.ServiceModel Imports Eros.Subtle.Canvara.WebAPIModel.ServiceModelSubscription Namespace Global Namespace Eros.Saguna.Common.Library.ValidationEngine Public Partial Class RuleValidationResult Public Overridable Property RuleCode As String Public Overridable Property Message As String Public Overridable Property Key As String Public Overridable Property Tag As String Public Overridable Property ErrorCode As String End Class Public Partial Class ValidationErrorList Public Overridable Property ValidationErrors As List(Of RuleValidationResult) End Class End Namespace Namespace Eros.Saguna.Common.WebAPI.ServiceModel Public Partial Class AddressModel ''' '''The distance between this project and another specified set of gps coordinates. ''' Public Overridable Property DistanceAway As Double ''' '''The latitude of an address - geographic coordinates specifying the north-south position of a point on the Earth's surface. ''' Public Overridable Property Latitude As Double ''' '''The longitude of an address - geographic coordinates specifying the east-west position of a point on the Earth's surface. ''' Public Overridable Property Longitude As Double ''' '''Address Format Id Guid - this will be determined by the service. ''' Public Overridable Property AddressFormatId As Guid ''' '''Suburb Id Guid - this will attempt to be determined by the SuburbName, StateShortName and Postcode entered. ''' Public Overridable Property SuburbId As Guid ''' '''The suburb name. ''' Public Overridable Property SuburbName As String ''' '''The shortened State Name e.g Vic for Victoria. ''' Public Overridable Property StateShortName As String ''' '''The suburb postcode. ''' Public Overridable Property PostCode As String ''' '''Country Id Guid - this will be determined by the CountrName or ISOCountryCode entered. ''' Public Overridable Property CountryId As Guid ''' '''the name of the country the address is within. ''' Public Overridable Property CountryName As String ''' '''A 2 digit ISO Country Code representing the country. ''' Public Overridable Property ISOCountryCode As String ''' '''The address Lot number. ''' Public Overridable Property LotNumber As String ''' '''The address Sub Unit number. ''' Public Overridable Property SubUnit As String ''' '''The address building number. ''' Public Overridable Property BuildingNumber As String ''' '''The address street number. ''' Public Overridable Property StreetNumber As String ''' '''The address street name including street type. ''' Public Overridable Property StreetName As String ''' '''A formatted address Line 1. ''' Public Overridable Property AddressLineOne As String ''' '''A formatted address Line 2. ''' Public Overridable Property AddressLineTwo As String ''' '''The full address string. ''' Public Overridable Property AddressFull As String ''' '''True if the address is a physical location. ''' Public Overridable Property IsPhysical As Boolean? ''' '''Notes about the address. ''' Public Overridable Property Notes As String ''' '''If true, the address is eligible for having its coordinates calculated/updated. ''' Public Overridable Property AutoMapCoordinates As Boolean? ''' '''Location Coordinates for the address. ''' Public Overridable Property LocationCoordinates As LocationCoordinatesModel End Class Public Partial Class ContactAddressModel Public Overridable Property Address As AddressModel Public Overridable Property IsPostal As Boolean Public Overridable Property IsPrimaryLocation As Boolean Public Overridable Property IsRegisteredLocation As Boolean Public Overridable Property SuburbName As String Public Overridable Property StateName As String Public Overridable Property CountryName As String End Class Public Partial Class ContactDetailModel Public Overridable Property ContactMethodId As Guid Public Overridable Property ContactMethodName As String Public Overridable Property ContactAddress As ContactAddressModel Public Overridable Property ContactPhone As PhoneModel Public Overridable Property CountryId As Guid? Public Overridable Property ContactDetails As String Public Overridable Property Notes As String Public Overridable Property ContactDetailsCode As String Public Overridable Property OrderContactMethod As Integer Public Overridable Property IsPrimaryContactMethod As Boolean Public Overridable Property IsAddress As Boolean End Class Public Partial Class ContactRole ''' '''Guid of the Role List Item object within Eros. ''' Public Overridable Property RoleId As Guid ''' '''The unique key that represents the role type on the external system. ''' Public Overridable Property AlternateKey As String End Class Public Interface ISubscription Property SuiteDataSourceInstanceId As Guid Property ObjectId As Guid Property AlternateKey As String Property IgnoreValidation As Boolean End Interface Public Partial Class LocationCoordinatesModel ''' '''The latitude of an address - geographic coordinates specifying the north-south position of a point on the Earth's surface. ''' Public Overridable Property Latitude As Double ''' '''The longitude of an address - geographic coordinates specifying the east-west position of a point on the Earth's surface. ''' Public Overridable Property Longitude As Double ''' '''The altitude of an address - the altitude above sea level. ''' Public Overridable Property Altitude As Double? ''' '''Accuracy of the latitude and longitude. ''' Public Overridable Property Accuracy As Double? ''' '''Accurancy of the Altitude. ''' Public Overridable Property AltitudeAccuracy As Double? ''' '''Direction you are heading. ''' Public Overridable Property Heading As Double? ''' '''Speed you are going. ''' Public Overridable Property Speed As Double? ''' '''Speed your altitude is ascending/descending at. ''' Public Overridable Property VerticalSpeed As Double? End Class Public Partial Class PhoneModel Public Overridable Property CountryCode As String Public Overridable Property AreaCode As String Public Overridable Property LocalNumber As String End Class Public Partial Class SubscriptionContactModel ''' '''Guid of the contact object within Eros. ''' Public Overridable Property ContactId As Guid ''' '''Guid of the Contact Type List Item object within Eros. ''' Public Overridable Property ContactType As Guid ''' '''Guid of the Marital Status List Item object within Eros. ''' Public Overridable Property MaritalStatus As Guid? ''' '''Guid of the Gender List Item object within Eros. ''' Public Overridable Property Gender As Guid? ''' '''The first given name for the contact. Applies to a person contact type. ''' Public Overridable Property FirstName As String ''' '''The middle name(s) for the contact. Applies to a person contact type. ''' Public Overridable Property MiddleName As String ''' '''The surname for the contact. Applies to a person contact type. ''' Public Overridable Property Surname As String ''' '''The full name for the contact. ''' Public Overridable Property FullName As String ''' '''A short name for the contact. ''' Public Overridable Property ShortName As String ''' '''The birth date for the contact. Applies to a person contact type. ''' Public Overridable Property BirthDate As Date? ''' '''The title for the contact. Applies to a person contact type. ''' Public Overridable Property Title As String ''' '''A salutation for the contact. ''' Public Overridable Property Salutation As String ''' '''The A.B.N for the contact. ''' Public Overridable Property Abn As String ''' '''The A.C.N for the contact. ''' Public Overridable Property Acn As String ''' '''The A.R.B.N for the contact. ''' Public Overridable Property Arbn As String ''' '''A trading name for the contact. ''' Public Overridable Property TradingName As String ''' '''A legal name for the contact. ''' Public Overridable Property LegalName As String ''' '''Any notes/description for the contact. ''' Public Overridable Property Notes As String ''' '''Contact Employment Industry. ''' Public Overridable Property EmploymentIndustry As String ''' '''Contact Employment Role. ''' Public Overridable Property EmploymentRole As String ''' '''Contact Employment Geographic Area. ''' Public Overridable Property EmploymentGeographicArea As String ''' '''The Contacts Drivers Licence Number ''' Public Overridable Property DriversLicence As String ''' '''Indicates if the Contact is registered for GST ''' Public Overridable Property GstRegistered As Boolean ''' '''The status of the contact in EROS ''' Public Overridable Property RecordStatus As String ''' '''A list of roles this contact has. ''' ", Description:="A list of roles this contact has.", IsRequired:=true, Name:="ContactRoles", ParameterType:="query")> Public Overridable Property ContactRoles As List(Of ContactRole) = New List(Of ContactRole) ''' '''A list of the contact details for the contact. ''' ", Description:="A list of the contact details for the contact.", IsRequired:=true, Name:="ContactDetails", ParameterType:="query")> Public Overridable Property ContactDetails As List(Of ContactDetailModel) = New List(Of ContactDetailModel) ''' '''Custom Content XML for the contact. ''' Public Overridable Property CustomContentXML As String Public Overridable Property BlobImageURLPrimary As String Public Overridable Property BlobImageURLPrimaryThumbnail As String ''' '''The primary mobile for the contact. ''' Public Overridable Property PrimaryMobile As String ''' '''The primary email for the contact. ''' Public Overridable Property PrimaryEmail As String End Class End Namespace Namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModelSubscription ''' '''Inserts or Updates a contact and its details and roles. ''' Public Partial Class SaveContact Inherits ValidationErrorList Implements IReturn(Of ResponseStatus) Implements ISubscription ''' '''Guid representing the external systems datasource information. ''' Public Overridable Property SuiteDataSourceInstanceId As Guid Implements ISubscription.SuiteDataSourceInstanceId ''' '''The unique key that represents the contact on the external system. ''' Public Overridable Property AlternateKey As String Implements ISubscription.AlternateKey ''' '''Guid of the contact object within Eros. If ObjectId is known, the external system may pass this instead of the alternate key. ''' Public Overridable Property ObjectId As Guid Implements ISubscription.ObjectId ''' '''If set to true, the object will be updated/refreshed. If false, the hash representation of the Contact model and its data will be compared with the current Contact to determine if there are any changes to save. ''' Public Overridable Property IgnoreHash As Boolean Public Overridable Property IgnoreValidation As Boolean Implements ISubscription.IgnoreValidation ''' '''Set this to be true if the contact is to be deleted ''' Public Overridable Property MarkAsDeleted As Boolean ''' '''Object containing all details of the contact to be inserted or updated. ''' Public Overridable Property Contact As SubscriptionContactModel Public Overridable Property LicenseeId As Guid Public Overridable Property SessionId As Guid End Class End Namespace End Namespace