Methods
create(tag) → {Promise}
Create or update a tag on a company/user object, passes data through to intercom
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
tag |
Object |
Properties
|
Returns:
- Returns success if intercom is disabled, otherwise
returns results of create command in intercom
- Type
- Promise
delete(tag) → {Promise}
Delete a tag
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
tag |
Object |
Properties
|
Returns:
- Returns success if intercom is disabled, otherwise
returns results of delete command in intercom
- Type
- Promise
tag(tag) → {Promise}
Create or update a tag on a company/user object, passes data through to intercom
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
tag |
Object |
Properties
|
Returns:
- Returns success if intercom is disabled, otherwise
returns results of tag command in intercom
- Type
- Promise
untag(tag) → {Promise}
Remove a tag from a company/user object, passes data through to intercom
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
tag |
Object |
Properties
|
Returns:
- Returns success if intercom is disabled, otherwise
returns results of untag command in intercom
- Type
- Promise