Documentation ¶
Index ¶
- type BanksRef
- type Client
- type Companies
- type CompaniesQueryParams
- type CompaniesService
- type CompanyBanks
- type CompanyBanksQueryParams
- type CompanyBanksRef
- type CompanyBanksService
- type CompanyRef
- type DepartmentQueryParams
- type Departments
- type DepartmentsRef
- type DepartmentsService
- type EmployeeBanks
- type EmployeeBanksQueryParams
- type EmployeeBanksService
- type EmploymentQueryParams
- type Employments
- type EmploymentsRef
- type EmploymentsService
- type LocationQueryParams
- type Locations
- type LocationsRef
- type LocationsService
- type Me
- type MeQueryParams
- type MeService
- type MetaList
- type MetaRef
- type MetaResponse
- type Pagination
- type People
- type PeopleQueryParams
- type PeopleService
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BanksRef ¶
type BanksRef struct { Data []EmployeeBanks `json:"data"` MetaRef }
type Client ¶
type Client struct { BaseURL *url.URL UserAgent string People *PeopleService Companies *CompaniesService Departments *DepartmentsService Employments *EmploymentsService EmployeeBanks *EmployeeBanksService CompanyBanks *CompanyBanksService Locations *LocationsService Me *MeService // contains filtered or unexported fields }
type Companies ¶
type Companies struct { CompanyBanks CompanyBanksRef `json:"company_banks"` Departments DepartmentsRef `json:"departments"` Ein string `json:"ein"` Id string `json:"id"` LegalCity string `json:"legal_city"` LegalName string `json:"legal_name"` LegalState string `json:"legal_state"` LegalStreet1 string `json:"legal_street1"` LegalStreet2 string `json:"legal_street2"` LegalZip string `json:"legal_zip"` Locations LocationsRef `json:"locations"` LogoUrl string `json:"logo_url"` Name string `json:"name"` Object string `json:"object"` People MetaRef `json:"people"` RefObject string `json:"ref_object"` Url string `json:"url"` }
type CompaniesQueryParams ¶
type CompaniesService ¶
type CompaniesService service
func (*CompaniesService) List ¶
func (s *CompaniesService) List(ctx context.Context, opt *CompaniesQueryParams) ([]*Companies, *Response, error)
type CompanyBanks ¶
type CompanyBanksQueryParams ¶
type CompanyBanksRef ¶
type CompanyBanksRef struct { Data []CompanyBanks `json:"data"` MetaRef }
type CompanyBanksService ¶
type CompanyBanksService service
func (*CompanyBanksService) List ¶
func (s *CompanyBanksService) List(ctx context.Context, companyId int, opt *CompanyBanksQueryParams) ([]*CompanyBanks, *Response, error)
type CompanyRef ¶
type DepartmentQueryParams ¶
type Departments ¶
type DepartmentsRef ¶
type DepartmentsService ¶
type DepartmentsService service
func (*DepartmentsService) List ¶
func (s *DepartmentsService) List(ctx context.Context, companyId int, opt *DepartmentQueryParams) ([]*Departments, *Response, error)
type EmployeeBanks ¶
type EmployeeBanks struct { AccountNumber string `json:"account_number"` AccountType string `json:"account_type"` BankName string `json:"bank_name"` Id string `json:"id"` IsVerified bool `json:"is_verified"` Object string `json:"object"` Person People `json:"person"` RefObject string `json:"ref_object"` RoutingNumber string `json:"routing_number"` Url string `json:"url"` }
type EmployeeBanksService ¶
type EmployeeBanksService service
func (*EmployeeBanksService) List ¶
func (s *EmployeeBanksService) List(ctx context.Context, personId int, opt *EmployeeBanksQueryParams) ([]*EmployeeBanks, *Response, error)
type EmploymentQueryParams ¶
type Employments ¶
type Employments struct { AnnualSalary string `json:"annual_salary"` CompType string `json:"comp_type"` EmploymentType string `json:"employment_type"` HireDate string `json:"hire_date"` Id string `json:"id"` Object string `json:"object"` PayRate string `json:"pay_rate"` Person People `json:"person"` RefObject string `json:"ref_object"` TerminationDate string `json:"termination_date"` TerminationType string `json:"termination_type"` Url string `json:"url"` WorkingHoursPerWeek string `json:"working_hours_per_week"` }
type EmploymentsRef ¶
type EmploymentsRef struct { Data []Employments `json:"data"` MetaRef }
type EmploymentsService ¶
type EmploymentsService service
func (*EmploymentsService) List ¶
func (s *EmploymentsService) List(ctx context.Context, personId int, opt *EmploymentQueryParams) ([]*Employments, *Response, error)
type LocationQueryParams ¶
type Locations ¶
type Locations struct { City string `json:"city"` Company Companies `json:"company"` Country string `json:"country"` Id string `json:"id"` Name string `json:"name"` Object string `json:"object"` People MetaRef `json:"people"` Phone string `json:"phone"` RefObject string `json:"ref_object"` State string `json:"state"` Street1 string `json:"street1"` Street2 string `json:"street2"` Url string `json:"url"` }
type LocationsRef ¶
type LocationsRef struct { Data []Departments `json:"data"` MetaRef }
type LocationsService ¶
type LocationsService service
func (*LocationsService) List ¶
func (s *LocationsService) List(ctx context.Context, companyId int, opt *LocationQueryParams) ([]*Locations, *Response, error)
type MeQueryParams ¶
type MetaResponse ¶
type Pagination ¶
type People ¶
type People struct { Object string `json:"object"` RefObject string `json:"ref_object"` Lastname string `json:"last_name"` PreferredName string `json:"preferred_name"` Manager *People `json:"manager"` PostalCode string `json:"postal_code"` Id string `json:"id"` City string `json:"city"` FirstName string `json:"first_name"` MiddleName string `json:"middle_name"` Title string `json:"title"` WorkPhone string `json:"work_phone"` PersonalEmail string `json:"personal_email"` State string `json:"state"` DateOfBirth string `json:"date_of_birth"` Location Locations `json:"location"` Subordinates MetaRef `json:"subordinates"` Department Departments `json:"department"` Employments EmploymentsRef `json:"employments"` Type string `json:"type"` Company Companies `json:"company"` Status string `json:"status"` Street1 string `json:"street1"` Street2 string `json:"street2"` PersonalPhone string `json:"personal_phone"` SocialSecurityNumber string `json:"social_security_number"` FederalFilingStatus string `json:"federal_filing_status"` WorkEmail string `json:"work_email"` Url string `json:"url"` Country string `json:"country"` Gender string `json:"gender"` Banks BanksRef `json:"banks"` }
type PeopleQueryParams ¶
type PeopleQueryParams struct { Company int `url:"company,omitempty"` Department int `url:"department,omitempty"` EndingBefore int `url:"ending_before,omitempty"` FirstName string `url:"first_name,omitempty"` Includes []string `url:"includes,space,omitempty"` LastName string `url:"lastname,omitempty"` Limit int `url:"limit,omitempty"` Location int `url:"location,omitempty"` Manager int `url:"manager,omitempty"` StartingAfter int `url:"starting_after,omitempty"` Status string `url:"status,omitempty"` }
type PeopleService ¶
type PeopleService service
func (*PeopleService) List ¶
func (s *PeopleService) List(ctx context.Context, companyId int, opt *PeopleQueryParams) ([]*People, *Response, error)
func (*PeopleService) ListAll ¶
func (s *PeopleService) ListAll(ctx context.Context, opt *PeopleQueryParams) ([]*People, *Response, error)
Click to show internal directories.
Click to hide internal directories.