/* Options: Date: 2026-04-04 02:59:12 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: AcceptTerms.* //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 the response status") export class TermsActionResponse { public ResponseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Accept the specified terms for the specified licensee and contact. */ // @Route("/safetycommitment/accept", "POST") // @Route("/terms/accept", "POST") // @Api(Description="Accept the specified terms for the specified licensee and contact.") export class AcceptTerms implements IReturn { /** @description Accept terms for the specified licensee contact id. */ // @ApiMember(DataType="Guid", Description="Accept terms for the specified licensee contact id.", IsRequired=true, Name="LicenseeContactId") public LicenseeContactId: string; /** @description Terms are being accepted by the specified contact id. */ // @ApiMember(DataType="Guid", Description="Terms are being accepted by the specified contact id.", IsRequired=true, Name="ContactId") public ContactId: string; /** @description Contact Type e.g Real Person or Real Organisation. Defaults to real person. */ // @ApiMember(DataType="Guid", Description="Contact Type e.g Real Person or Real Organisation. Defaults to real person.", IsRequired=true, Name="ContactTypeId") public ContactTypeId: string; /** @description Accept terms for the specified appliance id. This is not required for Safety Commitment. */ // @ApiMember(DataType="Guid", Description="Accept terms for the specified appliance id. This is not required for Safety Commitment.", Name="ApplianceId") public ApplianceId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AcceptTerms'; } public getMethod() { return 'POST'; } public createResponse() { return new TermsActionResponse(); } }