From 138c6f87884ead71cfc4e48cbf1bf8980e340657 Mon Sep 17 00:00:00 2001 From: Joscha Feth Date: Tue, 30 Jul 2024 17:02:55 +0100 Subject: [PATCH] fix: persons/search does not return `organization_ids` --- src/v1/persons.ts | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/v1/persons.ts b/src/v1/persons.ts index f70ca92..c5d6703 100644 --- a/src/v1/persons.ts +++ b/src/v1/persons.ts @@ -47,8 +47,6 @@ export type Person = { emails: string[] /** The email (automatically computed) that is most likely to the current active email address of the person. */ primary_email: string - /** An array of unique identifiers of organizations that the person is associated with. */ - organization_ids: number[] } /** @@ -106,11 +104,14 @@ export type PagedPersonResponse = Replace export type GetPersonRequest = & PersonReference @@ -183,12 +185,7 @@ export type UpdatePersonRequest = } & PersonReference -export type SimplePersonResponse = - & Person - & Pick< - PersonResponse, - 'organization_ids' - > +export type SimplePersonResponse = Omit /** * @module