/* Options: Date: 2026-04-04 02:56:52 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: InviteContact.* //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.Subtle.Canvara.WebAPIModel.ServiceModel; namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel { [ApiResponse(Description="Contact Id of the newly invited/ created contact")] public partial class AddContactResponse { public virtual Guid ContactId { get; set; } public virtual ResponseStatus ResponseStatus { get; set; } } [Route("/contacts/{ContactId}/invite/contact")] [Route("/contacts/{ContactId}/invite/{ToContactId}")] public partial class InviteContact : IReturn { /// ///Contact Id inviting the contact /// [ApiMember(DataType="Guid", Description="Contact Id inviting the contact", IsRequired=true, Name="ContactId")] public virtual Guid ContactId { get; set; } /// ///Contact Id of the virtual contact invited to be real. /// [ApiMember(DataType="Guid", Description="Contact Id of the virtual contact invited to be real.", Name="ToContactId")] public virtual Guid ToContactId { get; set; } /// ///Email Address of the real/ virtual contact to be invited. /// [ApiMember(DataType="string", Description="Email Address of the real/ virtual contact to be invited.", IsRequired=true, Name="EmailAddress")] public virtual string EmailAddress { get; set; } /// ///List of roles to invite the contact /// [ApiMember(DataType="List", Description="List of roles to invite the contact", IsRequired=true, Name="Roles")] public virtual List Roles { 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; } } }