1.0.4 • Published 4 years ago

@evokegroup/phreesia v1.0.4

Weekly downloads
29
License
ISC
Repository
bitbucket
Last release
4 years ago

@evokegroup/phreesia

Class: Phreesia

Class: Phreesia.Api

constructor({organizationId, authorizer, clientId, clientSecret, authorizationDomain, apiDomain, logger, timeout})

ParameterTypeDefaultDescription
organizationIdstring
authorizer@evokegroup/oauth2.Authorizer
clientIdstring
clientSecretstring
authorizationDomainstring
apiDomainstring
logger@evokegroup/logger
timeoutnumber30000Timeout for requests

authenticate() => Promise<OAuth2.AccessToken>

Authenticates. Called automatically.

campaignOptIns({dateFrom, dateTo}) => Promise<Phreesia.Entities.OptIn[]>

Retrieves campaign opt ins.

Class: Api.TokenAuthorizer extends OAuth2.WebTokenAuthorizer

constructor({ host, clientId, clientSecret, logger })

Class: Phreesia.Entities.OptIn

PropertyType
CampaignIdnumber
OrganizationIdnumber
EmailAddressstring
FirstNamestring
LastNamestring
PhoneNumberstring
OptedInAtstring
Dataobject
1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago