Organization
Members
All the memberships that this organization has.
The OrganizationAPI
that this object was created with.
created : Date
created : Date
The date that the organization was created at.
id : number
id : number
The ID of this organization.
name : string
name : string
The name of this organization.
website : string
website : string
The website URL of this organization.
address : string
address : string
The address of this organization.
uniqueId : string
uniqueId : string
The unique ID of this organization.
taxNumber : string
taxNumber : string
The tax number of this organization.
city : string
city : string
The city where this organization is based.
state : string
state : string
The state where this organization is based.
verified : boolean
verified : boolean
The verification status of this organization.
zipCode : string
zipCode : string
The zip code where this organization is located.
counry : string
counry : string
The country where this organization is based.
Methods
constructor(api, organization)
constructor(api, organization)
Create a new Organization object using the Organization API.
api
must be an instance ofOrganizationApi
;organization
must implement theOrganizationInfo
interface.
async update(details)
async update(details)
Update this organization's details.
The details
object must implement the interface OrganizationUpdateDetails
.
The result is a boolean that indicates success.
async invite(email)
async invite(email)
Invite a user to this organization by email.
The result is a boolean that indicates success.
async remove()
async remove()
Delete this organization.
The result is a boolean that indicates success.
Last updated