diff --git a/lib/resources/verifyCallerId.js b/lib/resources/verifyCallerId.js index eb21ece3..0f3fc075 100644 --- a/lib/resources/verifyCallerId.js +++ b/lib/resources/verifyCallerId.js @@ -79,7 +79,7 @@ export class Verify extends PlivoResource { } -export class VerifyInterface extends PlivoResourceInterface { +export class VerifyCallerIdInterface extends PlivoResourceInterface { constructor(client, data = {}) { super(action, Verify, client); diff --git a/lib/rest/client-test.js b/lib/rest/client-test.js index 909ebe2c..4199197c 100644 --- a/lib/rest/client-test.js +++ b/lib/rest/client-test.js @@ -72,7 +72,7 @@ import { HostedMessagingNumberInterface } from "../resources/hostedMessagingNumb import {SessionInterface} from "../resources/verify"; import { MaskingSessionInterface } from '../resources/maskingSession.js'; import { TollfreeVerificationInterface } from "../resources/tollfree_verification.js"; -import {VerifyInterface} from "../resources/verifyCallerId"; +import {VerifyCallerIdInterface} from "../resources/verifyCallerId"; export class Client { constructor(authId, authToken, proxy) { @@ -130,7 +130,7 @@ export class Client { this.verify_session = new SessionInterface(client); this.maskingSession = new MaskingSessionInterface(client); this.tollfreeVerification = new TollfreeVerificationInterface(client) - this.verify = new VerifyInterface(client); + this.verify = new VerifyCallerIdInterface(client); } } diff --git a/lib/rest/client.js b/lib/rest/client.js index 923c4217..9c816447 100644 --- a/lib/rest/client.js +++ b/lib/rest/client.js @@ -35,7 +35,7 @@ import { HostedMessagingNumberInterface } from "../resources/hostedMessagingNumb import { SessionInterface } from "../resources/verify"; import { MaskingSessionInterface } from "../resources/maskingSession.js"; import { TollfreeVerificationInterface } from "../resources/tollfree_verification.js"; -import {VerifyInterface} from "../resources/verifyCallerId"; +import {VerifyCallerIdInterface} from "../resources/verifyCallerId"; exports.Response = function() { @@ -118,7 +118,7 @@ export class Client { this.verify_session = new SessionInterface(client); this.maskingSession = new MaskingSessionInterface(client); this.tollfreeVerification = new TollfreeVerificationInterface(client); - this.verify = new VerifyInterface(client) + this.verify = new VerifyCallerIdInterface(client) } toJSON() { diff --git a/types/resources/verifyCallerId.d.ts b/types/resources/verifyCallerId.d.ts index e57f8341..f9c99b7e 100644 --- a/types/resources/verifyCallerId.d.ts +++ b/types/resources/verifyCallerId.d.ts @@ -41,7 +41,7 @@ export class Verify extends PlivoResource { } -export class VerifyInterface extends PlivoResourceInterface { +export class VerifyCallerIdInterface extends PlivoResourceInterface { constructor(client: Function, data ? : {}); initiate(phoneNumber: string,params ? : {}): Promise < InitiateVerifyResponse > ; diff --git a/types/rest/client-test.d.ts b/types/rest/client-test.d.ts index 2e1398bb..aa15f995 100644 --- a/types/rest/client-test.d.ts +++ b/types/rest/client-test.d.ts @@ -18,7 +18,7 @@ export class Client { hostedMessagingNumber: HostedMessagingNumberInterface; maskingSession: MaskingSessionInterface; tollfreeVerification: TollfreeVerificationInterface; - verifyCallerId: VerifyInterface; + verifyCallerId: VerifyCallerIdInterface; } /** * Plivo API client which can be used to access the Plivo APIs. @@ -48,5 +48,5 @@ import { LOAInterface } from "../resources/loa.js"; import { HostedMessagingNumberInterface } from "../resources/hostedMessagingNumber.js"; import { MaskingSessionInterface } from "../resources/maskingSession.js"; import { TollfreeVerificationInterface } from "../resources/tollfree_verification.js"; -import { VerifyInterface } from "../resources/verifyCallerId.js"; +import { VerifyCallerIdInterface } from "../resources/verifyCallerId.js"; diff --git a/types/rest/client.d.ts b/types/rest/client.d.ts index 4250dfc5..0b902b73 100644 --- a/types/rest/client.d.ts +++ b/types/rest/client.d.ts @@ -33,7 +33,7 @@ export class Client { hostedMessagingNumber: HostedMessagingNumberInterface; maskingSession:MaskingSessionInterface; tollfreeVerification: TollfreeVerificationInterface; - verifyCallerId:VerifyInterface; + verifyCallerId:VerifyCallerIdInterface; toJSON(...args: any[]): any; } /** @@ -70,5 +70,5 @@ import { LOAInterface } from "../resources/loa"; import { HostedMessagingNumberInterface } from "../resources/hostedMessagingNumber"; import { MaskingSessionInterface } from "../resources/maskingSession.js"; import { TollfreeVerificationInterface } from "../resources/tollfree_verification.js"; -import { VerifyInterface } from "../resources/verifyCallerId.js"; +import { VerifyCallerIdInterface } from "../resources/verifyCallerId.js";