Skip to content

Commit 443e52f

Browse files
VoloVolo
authored andcommitted
Update Contact, Conversation models
1 parent 05f5b82 commit 443e52f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

lib/contact/contact.types.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,21 @@ export interface ContactObject {
4545
tags: AddressableList;
4646
notes: AddressableList;
4747
companies: AddressableList;
48+
referrer: string;
49+
utm_campaign: string | null;
50+
utm_content: string | null;
51+
utm_medium: string | null;
52+
utm_source: string | null;
53+
utm_term: string | null;
4854
}
4955

5056
interface LocationObject {
5157
type: 'location';
5258
country: string;
5359
region: string;
5460
city: string;
61+
country_code: string;
62+
continent_code: string;
5563
}
5664

5765
interface SocialProfileObject {

lib/conversation/conversation.types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,5 @@ enum AuthorType {
158158
USER = 'user',
159159
ADMIN = 'admin',
160160
BOT = 'bot',
161+
TEAM = 'team',
161162
}

0 commit comments

Comments
 (0)