/* Options: Date: 2026-04-04 01:03:35 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: IsConnectedInRole.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public Message: string; // @DataMember(Order=3) public StackTrace: string; // @DataMember(Order=4) public Errors: ResponseError[]; // @DataMember(Order=5) public Meta: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @ApiResponse(Description="Returns whether or not a contact with a specific role is connected to a licensee.") export class IsConnectedInRoleResponse { /** @description True or false depending on if the contact is connected to the licensee in the role. */ // @ApiMember(DataType="bool", Description="True or false depending on if the contact is connected to the licensee in the role.", Name="IsConnected") public IsConnected: boolean; public ResponseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Return true/false if a contact is connected to a licensee in a specific role. */ // @Route("/connections/is-connected/{ContactId}/to/{LicenseeId}/role/{RoleId}") // @Api(Description="Return true/false if a contact is connected to a licensee in a specific role.") export class IsConnectedInRole implements IReturn { /** @description Contact Id of the contact to determine if they have the role with the licensee. */ // @ApiMember(DataType="Guid", Description="Contact Id of the contact to determine if they have the role with the licensee.", IsRequired=true, Name="ContactId") public ContactId: string; /** @description Role to check for. */ // @ApiMember(DataType="Guid", Description="Role to check for.", IsRequired=true, Name="RoleId") public RoleId: string; /** @description Licensee Contact Id we are checking if we're connected to. */ // @ApiMember(DataType="Guid", Description="Licensee Contact Id we are checking if we're connected to.", IsRequired=true, Name="LicenseeId") public LicenseeId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'IsConnectedInRole'; } public getMethod() { return 'GET'; } public createResponse() { return new IsConnectedInRoleResponse(); } }