Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

intercom-client

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intercom-client - npm Package Compare versions

Comparing version 3.1.5 to 3.2.0

2

dist/package.json
{
"name": "intercom-client",
"version": "3.1.5",
"version": "3.2.0",
"description": "Official Node bindings to the Intercom API",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/intercom/intercom-node",

{
"name": "intercom-client",
"version": "3.1.5",
"version": "3.2.0",
"description": "Official Node bindings to the Intercom API",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/intercom/intercom-node",

@@ -5,3 +5,3 @@ # intercom-node

[![npm](https://img.shields.io/npm/v/intercom-client)](https://www.npmjs.com/package/intercom-client)
![Intercom API Version](https://img.shields.io/badge/Intercom%20API%20Version-2.4-blue)
![Intercom API Version](https://img.shields.io/badge/Intercom%20API%20Version-2.5-blue)
![Typescript Supported](https://img.shields.io/badge/Typescript-Supported-lightgrey)

@@ -15,3 +15,3 @@

The Node SDK has been updated to support latest API version (2.4). The update also contains requested features, such like Typescript support. You can find more information on how-to migrate and what has changed in the [migration guide](https://github.com/intercom/intercom-node/wiki/Migration-guide).
The Node SDK has been updated to support latest API version (2.5). The update also contains requested features, such like Typescript support. You can find more information on how-to migrate and what has changed in the [migration guide](https://github.com/intercom/intercom-node/wiki/Migration-guide).

@@ -87,4 +87,4 @@ ## Installation

client.useRequestOpts({
baseUrl: 'https://api.eu.intercom.io'
})
baseUrl: 'https://api.eu.intercom.io',
});
```

@@ -851,2 +851,25 @@

### Data Exports
#### [Create a export job](https://developers.intercom.com/intercom-api-reference/reference/creating-an-export-job)
```typescript
const response = await client.dataExport.create({
createdAtAfter: 1527811200,
createdAtBefore: 1530316800,
});
```
#### [Retrieve a job status](https://developers.intercom.com/intercom-api-reference/reference/retrieve-a-job-status)
```typescript
const response = await client.dataExport.find({id: export.id})
```
#### [Cancel a job](https://developers.intercom.com/intercom-api-reference/reference/the-export-job-model)
```typescript
const response = await client.dataExport.cancel({id: export.id})
```
### Events

@@ -1085,2 +1108,20 @@

### Subscriptions
#### [List all subscription types](https://developers.intercom.com/intercom-api-reference/reference/list-all-subscription-types)
```typescript
const response = await client.subscriptions.listTypes();
```
### PhoneCallRedirects
#### [Create a phone call redirect](https://developers.intercom.com/intercom-api-reference/reference/create-a-phone-switch)
```typescript
const response = await client.phoneCallRedirect.create({
phone: '+353871234567',
});
```
### Tags

@@ -1087,0 +1128,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc