From 2c69fe9e26d8f657edf661151da78848f484f78f Mon Sep 17 00:00:00 2001 From: jerlyrosa Date: Wed, 28 Aug 2024 16:02:17 -0400 Subject: [PATCH] fix: Update version to 0.7.4 and fix type definitions --- package.json | 2 +- src/types/people.ts | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4524eeb1..6edafb48 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "0.7.3", + "version": "0.7.4", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", diff --git a/src/types/people.ts b/src/types/people.ts index 06229cc7..5befde29 100644 --- a/src/types/people.ts +++ b/src/types/people.ts @@ -25,7 +25,7 @@ export interface PeopleInputInterface { address?: [AddressInputInterface]; custom_fields?: [CustomFieldInput]; tags?: [TagInput]; - created_at: string; + created_at?: string; updated_at?:string } @@ -52,9 +52,11 @@ export interface PeopleInterface { company?: CompanyInterface; contacts: ContactInterface[]; address?: AddressInterface[]; - custom_fields?: CustomFieldData[]; + custom_fields?: CustomFieldData tags?: CreatedTags; employment_history?:PeopleEmploymentHistory[]; + created_at: string; + updated_at?:string }