-
Notifications
You must be signed in to change notification settings - Fork 741
/
Copy pathorganization.data.ts
82 lines (78 loc) · 2.27 KB
/
organization.data.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
import { IOrganizationIdentity } from '@crowd/types'
export interface IDbOrganizationSyncData {
// organization data
organizationId: string
segmentId: string
tenantId: string
address: unknown | null
attributes: unknown
createdAt: string
manuallyCreated: boolean
description: string | null
displayName: string
emails: string[]
employeeCountByCountry: unknown | null
employees: number | null
founded: number | null
geoLocation: string | null
headline: string | null
importHash: string | null
industry: string | null
isTeamOrganization: boolean
lastEnrichedAt: string | null
location: string | null
logo: string | null
naics: unknown[] | null
name: string
phoneNumbers: string[] | null
profiles: string[] | null
revenueRange: { min?: number; max?: number } | null
size: string | null
type: string | null
url: string | null
website: string | null
linkedin: unknown | null
github: unknown | null
crunchbase: unknown | null
twitter: unknown | null
immediateParent: string | null
ultimateParent: string | null
affiliatedProfiles: string[] | null
allSubsidiaries: string[] | null
alternativeDomains: string[] | null
alternativeNames: string[] | null
averageEmployeeTenure: number | null
averageTenureByLevel: unknown | null
averageTenureByRole: unknown | null
directSubsidiaries: string[] | null
employeeChurnRate: unknown | null
employeeCountByMonth: unknown | null
employeeGrowthRate: unknown | null
employeeCountByMonthByLevel: unknown | null
employeeCountByMonthByRole: unknown | null
gicsSector: string | null
grossAdditionsByMonth: unknown | null
grossDeparturesByMonth: unknown | null
weakIdentities: IOrganizationIdentity[]
employeeChurnRate12Month: number | null
employeeGrowthRate12Month: number | null
tags: string[] | null
ticker: string | null
manuallyChangedFields: string[] | null
// aggregate data
joinedAt: string
lastActive: string
activeOn: string[]
activityCount: number
memberCount: number
identities: IOrganizationIdentity[]
memberIds?: string[]
}
export interface IOrganizationSegmentMatrixItem {
segmentId: string
processed: boolean
data: IDbOrganizationSyncData
}
export interface IOrganizationSegmentMatrix {
[key: string]: IOrganizationSegmentMatrixItem[]
}