From 1115a3f8662d4457f7c9ed6adfe057b007971ba2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 26 Jan 2024 09:21:07 +0000 Subject: [PATCH] Update ts definitions (#10631) Co-authored-by: willmcvay Co-authored-by: Will McVay --- .../types/platform-schema.ts | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/packages/foundations-ts-definitions/types/platform-schema.ts b/packages/foundations-ts-definitions/types/platform-schema.ts index f64e24186b..da1bf20773 100644 --- a/packages/foundations-ts-definitions/types/platform-schema.ts +++ b/packages/foundations-ts-definitions/types/platform-schema.ts @@ -7978,6 +7978,37 @@ export interface CreatePropertyTenureModel { */ expiry?: string // date } +/** + * Create Referral Model + * example: + * [object Object] + */ +export interface CreateReferralModel { + /** + * The unique identifier of the referral type + */ + referralTypeId?: string + /** + * The unique identifier of the Negotiator + */ + negotiatorId?: string + /** + * The unique identifier of the Property + */ + propertyId?: string + /** + * The unique identifier of the Applicant + */ + applicantId?: string + /** + * The unique identifier of the Contact + */ + contactId?: string + /** + * The amount paid to the agent for the referral + */ + amount?: number // double +} /** * Payload to create a JSON schema for metadata validation * example: