@vrplatform/log 2.0.0-alpha.32 → 2.0.0-alpha.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/main/tracking/types.d.ts +0 -138
- package/build/module/tracking/types.d.ts +0 -138
- package/package.json +1 -1
- package/src/tracking/types.ts +1 -141
|
@@ -14,144 +14,6 @@ type ReportEvent = 'listings_reported';
|
|
|
14
14
|
type UserEvent = 'update_refresh_accepted' | 'owner_statement_opened';
|
|
15
15
|
type TestEvent = 'test_event' | 'test_error';
|
|
16
16
|
export type TrackingEvent = AuthEvent | TeamEvent | ConnectionEvent | OwnershipEvent | OwnerEvent | SetupEvent | AutomationEvent | TaxStatementEvent | GLOwnerStatementEvent | HyperlineEvent | UserEvent | ListingEvent | ReportEvent | TestEvent;
|
|
17
|
-
type IntercomContactCustomAttributes = {
|
|
18
|
-
article_id?: string;
|
|
19
|
-
workflowInstanceId?: number;
|
|
20
|
-
Onboarding_Support?: string;
|
|
21
|
-
Active_Listings?: string;
|
|
22
|
-
Accounting_Software?: string;
|
|
23
|
-
userType?: string;
|
|
24
|
-
};
|
|
25
|
-
export type IntercomContactAttributes = {
|
|
26
|
-
role?: string;
|
|
27
|
-
name?: string;
|
|
28
|
-
owner_id?: number;
|
|
29
|
-
email?: string;
|
|
30
|
-
email_domain?: string;
|
|
31
|
-
phone?: string;
|
|
32
|
-
external_id?: string;
|
|
33
|
-
created_at?: Date;
|
|
34
|
-
signed_up_at?: Date;
|
|
35
|
-
last_seen_at?: Date;
|
|
36
|
-
last_contacted_at?: Date;
|
|
37
|
-
last_replied_at?: Date;
|
|
38
|
-
last_email_opened_at?: Date;
|
|
39
|
-
last_email_clicked_at?: Date;
|
|
40
|
-
location?: {
|
|
41
|
-
country?: string;
|
|
42
|
-
region?: string;
|
|
43
|
-
city?: string;
|
|
44
|
-
};
|
|
45
|
-
browser_language?: string;
|
|
46
|
-
language_override?: string;
|
|
47
|
-
browser?: string;
|
|
48
|
-
browser_version?: string;
|
|
49
|
-
os?: string;
|
|
50
|
-
unsubscribed_from_emails?: boolean;
|
|
51
|
-
marked_email_as_spam?: boolean;
|
|
52
|
-
has_hard_bounced?: boolean;
|
|
53
|
-
whatsapp_number?: string;
|
|
54
|
-
phone_country?: string;
|
|
55
|
-
id?: string;
|
|
56
|
-
avatar?: string;
|
|
57
|
-
updated_at?: Date;
|
|
58
|
-
workspace_id?: string;
|
|
59
|
-
android_app_name?: string;
|
|
60
|
-
android_sdk_version?: string;
|
|
61
|
-
ios_app_name?: string;
|
|
62
|
-
ios_sdk_version?: string;
|
|
63
|
-
custom_attributes?: IntercomContactCustomAttributes;
|
|
64
|
-
};
|
|
65
|
-
type IntercomCompanyCustomAttributes = {
|
|
66
|
-
firstName?: string;
|
|
67
|
-
lastName?: string;
|
|
68
|
-
email?: string;
|
|
69
|
-
teamId?: string;
|
|
70
|
-
team?: string;
|
|
71
|
-
type?: string;
|
|
72
|
-
status?: string;
|
|
73
|
-
'SaaS User'?: boolean;
|
|
74
|
-
pms?: string;
|
|
75
|
-
accountingSoftware?: string;
|
|
76
|
-
creation_source?: string;
|
|
77
|
-
activeListings?: number;
|
|
78
|
-
partnerName?: string;
|
|
79
|
-
paymentMethodType?: string;
|
|
80
|
-
billingPortalUrl?: string;
|
|
81
|
-
billingStatus?: string;
|
|
82
|
-
billingPartner?: string;
|
|
83
|
-
accountingPartner?: string;
|
|
84
|
-
apps?: string;
|
|
85
|
-
};
|
|
86
|
-
export type IntercomCompanyAttributes = {
|
|
87
|
-
name?: string;
|
|
88
|
-
company_id?: string;
|
|
89
|
-
last_request_at?: Date;
|
|
90
|
-
remote_created_at?: Date;
|
|
91
|
-
user_count?: number;
|
|
92
|
-
session_count?: number;
|
|
93
|
-
monthly_spend?: number;
|
|
94
|
-
size?: number;
|
|
95
|
-
industry?: string;
|
|
96
|
-
website?: string;
|
|
97
|
-
id?: string;
|
|
98
|
-
created_at?: Date;
|
|
99
|
-
updated_at?: Date;
|
|
100
|
-
plan?: {
|
|
101
|
-
id?: string;
|
|
102
|
-
name?: string;
|
|
103
|
-
};
|
|
104
|
-
app_id?: string;
|
|
105
|
-
custom_attributes?: IntercomCompanyCustomAttributes;
|
|
106
|
-
};
|
|
107
|
-
declare module 'intercom-client' {
|
|
108
|
-
namespace Intercom {
|
|
109
|
-
interface UpdateContactRequest {
|
|
110
|
-
/** The role of the contact. */
|
|
111
|
-
role?: string;
|
|
112
|
-
/** A unique identifier for the contact which is given to Intercom */
|
|
113
|
-
external_id?: string;
|
|
114
|
-
/** The contacts email */
|
|
115
|
-
email?: string;
|
|
116
|
-
/** The contacts phone */
|
|
117
|
-
phone?: string;
|
|
118
|
-
/** The contacts name */
|
|
119
|
-
name?: string;
|
|
120
|
-
/** An image URL containing the avatar of a contact */
|
|
121
|
-
avatar?: string;
|
|
122
|
-
/** The time specified for when a contact signed up */
|
|
123
|
-
signed_up_at?: number;
|
|
124
|
-
/** The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually) */
|
|
125
|
-
last_seen_at?: number;
|
|
126
|
-
/** The id of an admin that has been assigned account ownership of the contact */
|
|
127
|
-
owner_id?: number;
|
|
128
|
-
/** Whether the contact is unsubscribed from emails */
|
|
129
|
-
unsubscribed_from_emails?: boolean;
|
|
130
|
-
/** The custom attributes which are set for the contact */
|
|
131
|
-
custom_attributes?: IntercomContactCustomAttributes;
|
|
132
|
-
}
|
|
133
|
-
interface CreateOrUpdateCompanyRequest {
|
|
134
|
-
/** The name of the Company */
|
|
135
|
-
name?: string;
|
|
136
|
-
/** The company id you have defined for the company. Can't be updated */
|
|
137
|
-
company_id?: string;
|
|
138
|
-
/** The name of the plan you have associated with the company. */
|
|
139
|
-
plan?: string;
|
|
140
|
-
/** The number of employees in this company. */
|
|
141
|
-
size?: number;
|
|
142
|
-
/** The URL for this company's website. Please note that the value specified here is not validated. Accepts any string. */
|
|
143
|
-
website?: string;
|
|
144
|
-
/** The industry that this company operates in. */
|
|
145
|
-
industry?: string;
|
|
146
|
-
/** A hash of key/value pairs containing any other data about the company you want Intercom to store. */
|
|
147
|
-
custom_attributes?: IntercomCompanyCustomAttributes;
|
|
148
|
-
/** The time the company was created by you. */
|
|
149
|
-
remote_created_at?: number;
|
|
150
|
-
/** How much revenue the company generates for your business. Note that this will truncate floats. i.e. it only allow for whole integers, 155.98 will be truncated to 155. Note that this has an upper limit of 2\*\*31-1 or 2147483647.. */
|
|
151
|
-
monthly_spend?: number;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
17
|
export type TrackingProps = {
|
|
156
18
|
name: string;
|
|
157
19
|
dataset: string;
|
|
@@ -14,144 +14,6 @@ type ReportEvent = 'listings_reported';
|
|
|
14
14
|
type UserEvent = 'update_refresh_accepted' | 'owner_statement_opened';
|
|
15
15
|
type TestEvent = 'test_event' | 'test_error';
|
|
16
16
|
export type TrackingEvent = AuthEvent | TeamEvent | ConnectionEvent | OwnershipEvent | OwnerEvent | SetupEvent | AutomationEvent | TaxStatementEvent | GLOwnerStatementEvent | HyperlineEvent | UserEvent | ListingEvent | ReportEvent | TestEvent;
|
|
17
|
-
type IntercomContactCustomAttributes = {
|
|
18
|
-
article_id?: string;
|
|
19
|
-
workflowInstanceId?: number;
|
|
20
|
-
Onboarding_Support?: string;
|
|
21
|
-
Active_Listings?: string;
|
|
22
|
-
Accounting_Software?: string;
|
|
23
|
-
userType?: string;
|
|
24
|
-
};
|
|
25
|
-
export type IntercomContactAttributes = {
|
|
26
|
-
role?: string;
|
|
27
|
-
name?: string;
|
|
28
|
-
owner_id?: number;
|
|
29
|
-
email?: string;
|
|
30
|
-
email_domain?: string;
|
|
31
|
-
phone?: string;
|
|
32
|
-
external_id?: string;
|
|
33
|
-
created_at?: Date;
|
|
34
|
-
signed_up_at?: Date;
|
|
35
|
-
last_seen_at?: Date;
|
|
36
|
-
last_contacted_at?: Date;
|
|
37
|
-
last_replied_at?: Date;
|
|
38
|
-
last_email_opened_at?: Date;
|
|
39
|
-
last_email_clicked_at?: Date;
|
|
40
|
-
location?: {
|
|
41
|
-
country?: string;
|
|
42
|
-
region?: string;
|
|
43
|
-
city?: string;
|
|
44
|
-
};
|
|
45
|
-
browser_language?: string;
|
|
46
|
-
language_override?: string;
|
|
47
|
-
browser?: string;
|
|
48
|
-
browser_version?: string;
|
|
49
|
-
os?: string;
|
|
50
|
-
unsubscribed_from_emails?: boolean;
|
|
51
|
-
marked_email_as_spam?: boolean;
|
|
52
|
-
has_hard_bounced?: boolean;
|
|
53
|
-
whatsapp_number?: string;
|
|
54
|
-
phone_country?: string;
|
|
55
|
-
id?: string;
|
|
56
|
-
avatar?: string;
|
|
57
|
-
updated_at?: Date;
|
|
58
|
-
workspace_id?: string;
|
|
59
|
-
android_app_name?: string;
|
|
60
|
-
android_sdk_version?: string;
|
|
61
|
-
ios_app_name?: string;
|
|
62
|
-
ios_sdk_version?: string;
|
|
63
|
-
custom_attributes?: IntercomContactCustomAttributes;
|
|
64
|
-
};
|
|
65
|
-
type IntercomCompanyCustomAttributes = {
|
|
66
|
-
firstName?: string;
|
|
67
|
-
lastName?: string;
|
|
68
|
-
email?: string;
|
|
69
|
-
teamId?: string;
|
|
70
|
-
team?: string;
|
|
71
|
-
type?: string;
|
|
72
|
-
status?: string;
|
|
73
|
-
'SaaS User'?: boolean;
|
|
74
|
-
pms?: string;
|
|
75
|
-
accountingSoftware?: string;
|
|
76
|
-
creation_source?: string;
|
|
77
|
-
activeListings?: number;
|
|
78
|
-
partnerName?: string;
|
|
79
|
-
paymentMethodType?: string;
|
|
80
|
-
billingPortalUrl?: string;
|
|
81
|
-
billingStatus?: string;
|
|
82
|
-
billingPartner?: string;
|
|
83
|
-
accountingPartner?: string;
|
|
84
|
-
apps?: string;
|
|
85
|
-
};
|
|
86
|
-
export type IntercomCompanyAttributes = {
|
|
87
|
-
name?: string;
|
|
88
|
-
company_id?: string;
|
|
89
|
-
last_request_at?: Date;
|
|
90
|
-
remote_created_at?: Date;
|
|
91
|
-
user_count?: number;
|
|
92
|
-
session_count?: number;
|
|
93
|
-
monthly_spend?: number;
|
|
94
|
-
size?: number;
|
|
95
|
-
industry?: string;
|
|
96
|
-
website?: string;
|
|
97
|
-
id?: string;
|
|
98
|
-
created_at?: Date;
|
|
99
|
-
updated_at?: Date;
|
|
100
|
-
plan?: {
|
|
101
|
-
id?: string;
|
|
102
|
-
name?: string;
|
|
103
|
-
};
|
|
104
|
-
app_id?: string;
|
|
105
|
-
custom_attributes?: IntercomCompanyCustomAttributes;
|
|
106
|
-
};
|
|
107
|
-
declare module 'intercom-client' {
|
|
108
|
-
namespace Intercom {
|
|
109
|
-
interface UpdateContactRequest {
|
|
110
|
-
/** The role of the contact. */
|
|
111
|
-
role?: string;
|
|
112
|
-
/** A unique identifier for the contact which is given to Intercom */
|
|
113
|
-
external_id?: string;
|
|
114
|
-
/** The contacts email */
|
|
115
|
-
email?: string;
|
|
116
|
-
/** The contacts phone */
|
|
117
|
-
phone?: string;
|
|
118
|
-
/** The contacts name */
|
|
119
|
-
name?: string;
|
|
120
|
-
/** An image URL containing the avatar of a contact */
|
|
121
|
-
avatar?: string;
|
|
122
|
-
/** The time specified for when a contact signed up */
|
|
123
|
-
signed_up_at?: number;
|
|
124
|
-
/** The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually) */
|
|
125
|
-
last_seen_at?: number;
|
|
126
|
-
/** The id of an admin that has been assigned account ownership of the contact */
|
|
127
|
-
owner_id?: number;
|
|
128
|
-
/** Whether the contact is unsubscribed from emails */
|
|
129
|
-
unsubscribed_from_emails?: boolean;
|
|
130
|
-
/** The custom attributes which are set for the contact */
|
|
131
|
-
custom_attributes?: IntercomContactCustomAttributes;
|
|
132
|
-
}
|
|
133
|
-
interface CreateOrUpdateCompanyRequest {
|
|
134
|
-
/** The name of the Company */
|
|
135
|
-
name?: string;
|
|
136
|
-
/** The company id you have defined for the company. Can't be updated */
|
|
137
|
-
company_id?: string;
|
|
138
|
-
/** The name of the plan you have associated with the company. */
|
|
139
|
-
plan?: string;
|
|
140
|
-
/** The number of employees in this company. */
|
|
141
|
-
size?: number;
|
|
142
|
-
/** The URL for this company's website. Please note that the value specified here is not validated. Accepts any string. */
|
|
143
|
-
website?: string;
|
|
144
|
-
/** The industry that this company operates in. */
|
|
145
|
-
industry?: string;
|
|
146
|
-
/** A hash of key/value pairs containing any other data about the company you want Intercom to store. */
|
|
147
|
-
custom_attributes?: IntercomCompanyCustomAttributes;
|
|
148
|
-
/** The time the company was created by you. */
|
|
149
|
-
remote_created_at?: number;
|
|
150
|
-
/** How much revenue the company generates for your business. Note that this will truncate floats. i.e. it only allow for whole integers, 155.98 will be truncated to 155. Note that this has an upper limit of 2\*\*31-1 or 2147483647.. */
|
|
151
|
-
monthly_spend?: number;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
17
|
export type TrackingProps = {
|
|
156
18
|
name: string;
|
|
157
19
|
dataset: string;
|
package/package.json
CHANGED
package/src/tracking/types.ts
CHANGED
|
@@ -98,147 +98,6 @@ export type TrackingEvent =
|
|
|
98
98
|
| ReportEvent
|
|
99
99
|
| TestEvent;
|
|
100
100
|
|
|
101
|
-
type IntercomContactCustomAttributes = {
|
|
102
|
-
article_id?: string; // undefined
|
|
103
|
-
workflowInstanceId?: number; // undefined
|
|
104
|
-
Onboarding_Support?: string; // The customer's preferred onboarding level
|
|
105
|
-
Active_Listings?: string; // The number of active listings a user has
|
|
106
|
-
Accounting_Software?: string; // The client's accounting software
|
|
107
|
-
userType?: string; // User Type (user or owner)
|
|
108
|
-
};
|
|
109
|
-
export type IntercomContactAttributes = {
|
|
110
|
-
role?: string; // A person's role in their company, such as the name of their department
|
|
111
|
-
name?: string; // A person's full name
|
|
112
|
-
owner_id?: number; // The teammate that owns a lead or user in Intercom
|
|
113
|
-
email?: string; // The email address assigned to a user or lead
|
|
114
|
-
email_domain?: string; // The email domain of a user or lead
|
|
115
|
-
phone?: string; // A person's phone number
|
|
116
|
-
external_id?: string; // A number identifying a person (applies to both users and leads)
|
|
117
|
-
created_at?: Date; // The first day a person visited your site or app
|
|
118
|
-
signed_up_at?: Date; // The day a person first signed up for your product
|
|
119
|
-
last_seen_at?: Date; // The last day a person visited your site or app
|
|
120
|
-
last_contacted_at?: Date; // The last day you or a teammate contacted a person
|
|
121
|
-
last_replied_at?: Date; // The last day a person contacted you via a message or email
|
|
122
|
-
last_email_opened_at?: Date; // The last day a person opened an email
|
|
123
|
-
last_email_clicked_at?: Date; // The last day a person clicked on a link in an email
|
|
124
|
-
location?: {
|
|
125
|
-
country?: string; // The country a person is in (or their IP address location)
|
|
126
|
-
region?: string; // A subdivision of a country, such as a state, province or territory
|
|
127
|
-
city?: string; // The city a person is in (or their IP address location)
|
|
128
|
-
};
|
|
129
|
-
browser_language?: string; // The language set by the browser a person is using
|
|
130
|
-
language_override?: string; // A preferred language setting for a person, used by the Intercom Messenger even if their browser settings change
|
|
131
|
-
browser?: string; // The browser a person is using
|
|
132
|
-
browser_version?: string; // The precise version of the browser a person is using
|
|
133
|
-
os?: string; // The operating system a person is using
|
|
134
|
-
unsubscribed_from_emails?: boolean; // Has a person unsubscribed from emails from your team?
|
|
135
|
-
marked_email_as_spam?: boolean; // Has a person marked an email from your team as spam?
|
|
136
|
-
has_hard_bounced?: boolean; // Has an email sent from your team to a person bounced?
|
|
137
|
-
whatsapp_number?: string; // A person's WhatsApp number
|
|
138
|
-
phone_country?: string; // The ISO country code of the person's phone number
|
|
139
|
-
id?: string; // The Intercom defined id representing the user
|
|
140
|
-
avatar?: string; // An avatar image URL
|
|
141
|
-
updated_at?: Date; // The last time the user was updated
|
|
142
|
-
workspace_id?: string; // The Intercom defined id representing the workspace
|
|
143
|
-
android_app_name?: string; // The name of Android app a person is using
|
|
144
|
-
android_sdk_version?: string; // The version of the Android SDK a person is using
|
|
145
|
-
ios_app_name?: string; // The name of iOS app a person is using
|
|
146
|
-
ios_sdk_version?: string; // The version of the iOS SDK a person is using
|
|
147
|
-
custom_attributes?: IntercomContactCustomAttributes;
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
type IntercomCompanyCustomAttributes = {
|
|
151
|
-
firstName?: string; // undefined
|
|
152
|
-
lastName?: string; // undefined
|
|
153
|
-
email?: string; // undefined
|
|
154
|
-
teamId?: string; // undefined
|
|
155
|
-
team?: string; // undefined
|
|
156
|
-
type?: string; // undefined
|
|
157
|
-
status?: string; // undefined
|
|
158
|
-
'SaaS User'?: boolean; // undefined
|
|
159
|
-
pms?: string; // undefined
|
|
160
|
-
accountingSoftware?: string; // Accounting software used by the team.
|
|
161
|
-
creation_source?: string; // undefined
|
|
162
|
-
activeListings?: number; // Active Listings
|
|
163
|
-
partnerName?: string; // Partner Name
|
|
164
|
-
paymentMethodType?: string; // Payment Method
|
|
165
|
-
billingPortalUrl?: string; // Billing Portal URL
|
|
166
|
-
billingStatus?: string; // undefined
|
|
167
|
-
billingPartner?: string; // Name of billing partner
|
|
168
|
-
accountingPartner?: string; // Name of accounting partner
|
|
169
|
-
apps?: string; // All active connections besides pms/accounting
|
|
170
|
-
};
|
|
171
|
-
export type IntercomCompanyAttributes = {
|
|
172
|
-
name?: string; // The name of a company
|
|
173
|
-
company_id?: string; // A number identifying a company
|
|
174
|
-
last_request_at?: Date; // The last day anyone from a company visited your site or app
|
|
175
|
-
remote_created_at?: Date; // The day a company was added to Intercom
|
|
176
|
-
user_count?: number; // The number of people in a company
|
|
177
|
-
session_count?: number; // All visits from anyone in a company to your product's site or app
|
|
178
|
-
monthly_spend?: number; // The monthly revenue you receive from a company
|
|
179
|
-
size?: number; // The number of people employed in this company, expressed as a single number
|
|
180
|
-
industry?: string; // The category or domain this company belongs to e.g. 'ecommerce' or 'SaaS'
|
|
181
|
-
website?: string; // The web address for the company's primary marketing site
|
|
182
|
-
id?: string; // The Intercom defined id representing the company
|
|
183
|
-
created_at?: Date; // The time the company was added to Intercom
|
|
184
|
-
updated_at?: Date; // The last time the company was updated
|
|
185
|
-
plan?: {
|
|
186
|
-
id?: string; // The Intercom defined id representing the plan
|
|
187
|
-
name?: string; // A specific plan or level within your product that companies have signed up to
|
|
188
|
-
};
|
|
189
|
-
app_id?: string; // The Intercom defined id representing the app
|
|
190
|
-
custom_attributes?: IntercomCompanyCustomAttributes;
|
|
191
|
-
};
|
|
192
|
-
|
|
193
|
-
declare module 'intercom-client' {
|
|
194
|
-
export namespace Intercom {
|
|
195
|
-
interface UpdateContactRequest {
|
|
196
|
-
/** The role of the contact. */
|
|
197
|
-
role?: string;
|
|
198
|
-
/** A unique identifier for the contact which is given to Intercom */
|
|
199
|
-
external_id?: string;
|
|
200
|
-
/** The contacts email */
|
|
201
|
-
email?: string;
|
|
202
|
-
/** The contacts phone */
|
|
203
|
-
phone?: string;
|
|
204
|
-
/** The contacts name */
|
|
205
|
-
name?: string;
|
|
206
|
-
/** An image URL containing the avatar of a contact */
|
|
207
|
-
avatar?: string;
|
|
208
|
-
/** The time specified for when a contact signed up */
|
|
209
|
-
signed_up_at?: number;
|
|
210
|
-
/** The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually) */
|
|
211
|
-
last_seen_at?: number;
|
|
212
|
-
/** The id of an admin that has been assigned account ownership of the contact */
|
|
213
|
-
owner_id?: number;
|
|
214
|
-
/** Whether the contact is unsubscribed from emails */
|
|
215
|
-
unsubscribed_from_emails?: boolean;
|
|
216
|
-
/** The custom attributes which are set for the contact */
|
|
217
|
-
custom_attributes?: IntercomContactCustomAttributes;
|
|
218
|
-
}
|
|
219
|
-
interface CreateOrUpdateCompanyRequest {
|
|
220
|
-
/** The name of the Company */
|
|
221
|
-
name?: string;
|
|
222
|
-
/** The company id you have defined for the company. Can't be updated */
|
|
223
|
-
company_id?: string;
|
|
224
|
-
/** The name of the plan you have associated with the company. */
|
|
225
|
-
plan?: string;
|
|
226
|
-
/** The number of employees in this company. */
|
|
227
|
-
size?: number;
|
|
228
|
-
/** The URL for this company's website. Please note that the value specified here is not validated. Accepts any string. */
|
|
229
|
-
website?: string;
|
|
230
|
-
/** The industry that this company operates in. */
|
|
231
|
-
industry?: string;
|
|
232
|
-
/** A hash of key/value pairs containing any other data about the company you want Intercom to store. */
|
|
233
|
-
custom_attributes?: IntercomCompanyCustomAttributes;
|
|
234
|
-
/** The time the company was created by you. */
|
|
235
|
-
remote_created_at?: number;
|
|
236
|
-
/** How much revenue the company generates for your business. Note that this will truncate floats. i.e. it only allow for whole integers, 155.98 will be truncated to 155. Note that this has an upper limit of 2\*\*31-1 or 2147483647.. */
|
|
237
|
-
monthly_spend?: number;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
101
|
export type TrackingProps = {
|
|
243
102
|
name: string;
|
|
244
103
|
dataset: string;
|
|
@@ -267,6 +126,7 @@ export type GroupProps = OptionalUser<{
|
|
|
267
126
|
traits?: Record<string, string | number | boolean | null | undefined>;
|
|
268
127
|
timestamp?: Date;
|
|
269
128
|
}>;
|
|
129
|
+
|
|
270
130
|
type OptionalUser<T> = T &
|
|
271
131
|
(
|
|
272
132
|
| { userId: string; anonymousId?: string }
|