mirror of
https://github.com/donl/plivo-node.git
synced 2026-06-30 06:12:08 -06:00
Merge pull request #235 from plivo/make-appId-non-mandatory
Make appId non mandatory for Typescript
This commit is contained in:
commit
c557dccb58
3 changed files with 9 additions and 5 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# Change Log
|
||||
|
||||
## [v4.26.1](https://github.com/plivo/plivo-node/tree/v4.26.1) (2022-01-21)
|
||||
**Bug Fix**
|
||||
- Making AppId non mandatory for Buy number and update number APIs(https://github.com/plivo/plivo-node/pull/234)
|
||||
|
||||
## [v4.26.0](https://github.com/plivo/plivo-node/tree/v4.26.0) (2021-12-14)
|
||||
**Features - Voice**
|
||||
- Routing SDK traffic through Akamai endpoints for all the [Voice APIs](https://www.plivo.com/docs/voice/api/overview/)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "plivo",
|
||||
"version": "4.26.0",
|
||||
"version": "4.26.1",
|
||||
"description": "A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML",
|
||||
"homepage": "https://github.com/plivo/plivo-node",
|
||||
"files": [
|
||||
|
|
|
|||
8
types/resources/numbers.d.ts
vendored
8
types/resources/numbers.d.ts
vendored
|
|
@ -48,7 +48,7 @@ export class PhoneNumber extends PlivoResource {
|
|||
* @promise {@link PlivoGenericResponse} return PlivoGenericResponse Object if success
|
||||
* @fail {Error} return Error
|
||||
*/
|
||||
buy(appId: string): Promise < any > ;
|
||||
buy(appId?: string): Promise < any > ;
|
||||
[clientKey]: symbol;
|
||||
}
|
||||
/**
|
||||
|
|
@ -67,7 +67,7 @@ export class PhoneNumberInterface extends PlivoResourceInterface {
|
|||
* @promise {@link PlivoGenericResponse} return PlivoGenericResponse Object if success
|
||||
* @fail {Error} return Error
|
||||
*/
|
||||
buy(number: string, appId: string): Promise < any > ;
|
||||
buy(number: string, appId?: string): Promise < any > ;
|
||||
[clientKey]: symbol;
|
||||
}
|
||||
/**
|
||||
|
|
@ -104,7 +104,7 @@ export class NumberInterface extends PlivoResourceInterface {
|
|||
* @promise {@link PlivoGenericResponse} return PlivoGenericResponse Object if success
|
||||
* @fail {Error} return Error
|
||||
*/
|
||||
buy(number: string, appId: string): Promise < BuyNumberResponse > ;
|
||||
buy(number: string, appId?: string): Promise < BuyNumberResponse > ;
|
||||
/**
|
||||
* Add own number from carrier
|
||||
* @method
|
||||
|
|
@ -124,7 +124,7 @@ export class NumberInterface extends PlivoResourceInterface {
|
|||
* @promise {@link PhoneNumberInterface} return PhoneNumbers Object if success
|
||||
* @fail {Error} return Error
|
||||
*/
|
||||
search(countryISO: string, optionalParams: object): Promise < SearchNumberResponse > ;
|
||||
search(countryISO: string, optionalParams: object): Promise < SearchNumberResponse[] > ;
|
||||
/**
|
||||
* Update Number
|
||||
* @method
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue