1.9.0 • Published 2 months ago

@vonage/proactive-connect v1.9.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

Vonage Proactive Connect SDK for Node.js

GitHub Workflow Status Codecov Latest Release Contributor Covenant License

This is the Vonage Proactive Connect SDK for Node.js for use with Vonage APIs. To use it you will need a Vonage account. Sign up for free at vonage.com.

For full API documentation refer to developer.vonage.com.

Installation

With NPM

npm install @vonage/proactive-connect

With Yarn

yarn add @vonage/proactive-connect

Usage

Unlike the other SDK's this package is not include in the Vonage Server SDK for Node.js

You only need to use the Proactive Connect APIs. All you need to do is require('@vonage/proactive-connect'), and use the returned object to create your own client.

const { Auth } = require('@vonage/auth');
const { ProactiveConnect } = require('@vonage/proactive-connect');

const credentials = new Auth({
  applicationId: APP_ID,
  privateKey: PRIVATE_KEY_PATH,
});
const options = {};
const proactiveConnectClient = new ProactiveConnect(credentials, options);

Where credentials is any option from @vonage/auth, and options is any option from @vonage/server-client

Promises

This SDK uses Promises to return data.

(async () =>{
  for await (const list of proactiveConnectClient.findAllLists()) {
    console.log(list);
  }
})();

Testing

Run:

npm test

Supported APIs

The following is a list of Vonage Proactive APIs and whether the SDK provides support for them:

APISupported?
Lists
Items
Action
Jobs
Runs
Events
1.9.0

2 months ago

1.8.1

3 months ago

1.8.0

3 months ago

1.7.2

4 months ago

1.7.1

4 months ago

1.7.0

4 months ago

1.5.3

8 months ago

1.5.2

8 months ago

1.6.0

7 months ago

1.5.1

9 months ago

1.4.0

9 months ago

1.3.0

9 months ago

1.2.0

11 months ago

1.1.0

1 year ago