Skip to content

Commit

Permalink
Merge pull request #284 from bakaphp/fix/people-interface
Browse files Browse the repository at this point in the history
fix: Update version to 0.7.4 and fix type definitions
  • Loading branch information
jerlyrosa authored Aug 28, 2024
2 parents b35b562 + 2c69fe9 commit 0939e96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.7.3",
"version": "0.7.4",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
6 changes: 4 additions & 2 deletions src/types/people.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface PeopleInputInterface {
address?: [AddressInputInterface];
custom_fields?: [CustomFieldInput];
tags?: [TagInput];
created_at: string;
created_at?: string;
updated_at?:string
}

Expand All @@ -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
}


Expand Down

0 comments on commit 0939e96

Please sign in to comment.