@planet-a/affinity-node
Advanced tools
Comparing version 0.0.1-test.14 to 0.0.1-test.15
{ | ||
"name": "@planet-a/affinity-node", | ||
"version": "0.0.1-test.14", | ||
"version": "0.0.1-test.15", | ||
"description": "API wrapper for the affinity.co API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -33,4 +33,2 @@ import type { AxiosInstance } from 'axios'; | ||
primary_email: string; | ||
/** An array of unique identifiers of organizations that the person is associated with. */ | ||
organization_ids: number[]; | ||
}; | ||
@@ -72,5 +70,7 @@ /** | ||
export type SinglePersonResponseRaw = { | ||
/** An array of unique identifiers of organizations that the person is associated with. */ | ||
organization_ids: number[]; | ||
list_entries: ListEntryReferenceRaw[]; | ||
} & PersonResponseRaw; | ||
export type SinglePersonResponse = { | ||
export type SinglePersonResponse = Replace<SinglePersonResponseRaw, { | ||
/** | ||
@@ -80,3 +80,3 @@ * An array of list entry resources associated with the person, only returned as part of the {@link Persons.get} a specific person endpoint. | ||
list_entries: ListEntryReference[]; | ||
} & PersonResponse; | ||
} & PersonResponse>; | ||
export type GetPersonRequest = PersonReference & OpportunitiesQueryParams & InteractionDatesQueryParams & WithCurrentOrganizatonParams; | ||
@@ -133,3 +133,3 @@ export type PersonReference = { | ||
} & PersonReference; | ||
export type SimplePersonResponse = Person & Pick<PersonResponse, 'organization_ids'>; | ||
export type SimplePersonResponse = Omit<SinglePersonResponse, 'list_entries'>; | ||
/** | ||
@@ -136,0 +136,0 @@ * @module |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
245456