File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
- import { IntegrationEntity } from "./integration-entity.model" ;
1
+ import {
2
+ IntegrationEntity ,
3
+ IntegrationEntityType ,
4
+ } from "./integration-entity.model" ;
2
5
3
6
export enum PhoneNumberLabel {
4
7
WORK = "WORK" ,
@@ -39,6 +42,7 @@ export type ContactResult = {
39
42
contactUrl : string | null ;
40
43
avatarUrl : string | null ;
41
44
readonly ?: boolean ;
45
+ type ?: IntegrationEntityType ;
42
46
relatesTo ?: IntegrationEntity [ ] ;
43
47
} ;
44
48
Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ export type LabeledIntegrationEntity = IntegrationEntity & {
9
9
} ;
10
10
11
11
export enum IntegrationEntityType {
12
+ CONTACTS = "contacts" ,
13
+ // hubspot specific
12
14
DEALS = "deals" ,
13
15
COMPANIES = "companies" ,
16
+ // salesforces specific
17
+ LEADS = "leads" ,
18
+ ACCOUNTS = "accounts" ,
19
+ OPPORTUNITIES = "opportunities" ,
14
20
}
You can’t perform that action at this time.
0 commit comments