Comparing version 4.30.0 to 4.31.0
# Change Log | ||
## [v4.31.0](https://github.com/plivo/plivo-node/tree/v4.30.1) (2022-04-27) | ||
**Feature - 10DLC API callback** | ||
- Added callback support for campaign, brand, link number request. | ||
## [v4.30.0](https://github.com/plivo/plivo-node/tree/v4.30.0) (2022-04-14) | ||
@@ -4,0 +8,0 @@ **Features - Profile Api** |
@@ -136,3 +136,4 @@ 'use strict'; | ||
value: function create(brand_alias, profile_uuid, brand_type, secondary_vetting) { | ||
var params = {}; | ||
var params = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {}; | ||
params.brand_alias = brand_alias; | ||
@@ -139,0 +140,0 @@ params.profile_uuid = profile_uuid; |
@@ -166,3 +166,4 @@ 'use strict'; | ||
value: function create(brand_id, campaign_alias, vertical, usecase, sub_usecases, description, embedded_link, embedded_phone, age_gated, direct_lending, subscriber_optin, subscriber_optout, subscriber_help, sample1, sample2) { | ||
var params = {}; | ||
var params = arguments.length > 15 && arguments[15] !== undefined ? arguments[15] : {}; | ||
params.brand_id = brand_id; | ||
@@ -236,3 +237,4 @@ params.campaign_alias = campaign_alias; | ||
value: function linkNumber(campaignID, numbers) { | ||
var params = {}; | ||
var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; | ||
params.numbers = numbers; | ||
@@ -261,3 +263,4 @@ var client = this[clientKey]; | ||
value: function unlinkNumber(campaignID, number) { | ||
var params = {}; | ||
var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; | ||
var client = this[clientKey]; | ||
@@ -264,0 +267,0 @@ return new Promise(function (resolve, reject) { |
{ | ||
"name": "plivo", | ||
"version": "4.30.0", | ||
"version": "4.31.0", | ||
"description": "A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/plivo/plivo-node", |
Sorry, the diff of this file is too big to display
723683
16093