-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): pull release/v1.55.0 into main (#3057)
- Loading branch information
Showing
204 changed files
with
59,598 additions
and
61,679 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
const BASE_ENDPOINT = 'https://api.intercom.io'; | ||
const BASE_EU_ENDPOINT = 'https://api.eu.intercom.io'; | ||
const BASE_AU_ENDPOINT = 'https://api.au.intercom.io'; | ||
|
||
const SEARCH_CONTACT_ENDPOINT = 'contacts/search'; | ||
const CREATE_OR_UPDATE_COMPANY_ENDPOINT = 'companies'; | ||
|
||
const ReservedAttributes = { | ||
v1UserAttributes: [ | ||
'userId', | ||
'email', | ||
'phone', | ||
'name', | ||
'createdAt', | ||
'firstName', | ||
'lastName', | ||
'firstname', | ||
'lastname', | ||
'company', | ||
], | ||
v2UserAttributes: [ | ||
'userId', | ||
'role', | ||
'email', | ||
'phone', | ||
'name', | ||
'avatar', | ||
'company', | ||
'ownerId', | ||
'lastName', | ||
'lastname', | ||
'firstName', | ||
'firstname', | ||
'createdAt', | ||
'timestamp', | ||
'lastSeenAt', | ||
'originalTimestamp', | ||
'unsubscribedFromEmails', | ||
], | ||
v1CompanyAttributes: [ | ||
'remoteCreatedAt', | ||
'monthlySpend', | ||
'industry', | ||
'website', | ||
'size', | ||
'plan', | ||
'name', | ||
'userId', | ||
], | ||
v2CompanyAttributes: [ | ||
'tags', | ||
'size', | ||
'plan', | ||
'name', | ||
'email', | ||
'userId', | ||
'website', | ||
'industry', | ||
'segments', | ||
'userCount', | ||
'createdAt', | ||
'sessionCount', | ||
'monthlySpend', | ||
'remoteCreatedAt', | ||
], | ||
}; | ||
|
||
const ReservedCompanyProperties = ['id', 'name', 'industry']; | ||
|
||
const MetadataTypes = { richLink: ['url', 'value'], monetaryAmount: ['amount', 'currency'] }; | ||
|
||
module.exports = { | ||
BASE_ENDPOINT, | ||
MetadataTypes, | ||
BASE_EU_ENDPOINT, | ||
BASE_AU_ENDPOINT, | ||
ReservedAttributes, | ||
SEARCH_CONTACT_ENDPOINT, | ||
ReservedCompanyProperties, | ||
CREATE_OR_UPDATE_COMPANY_ENDPOINT, | ||
}; |
Oops, something went wrong.