Skip to content

Commit

Permalink
refactor: deprecated fraud detcetcion and real-time-insights
Browse files Browse the repository at this point in the history
  • Loading branch information
manchuck committed Jan 20, 2025
1 parent be51dae commit c725438
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/number-insight-v2/lib/numberInsightV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export class NumberInsightV2 extends Client {
/**
* Make a fraud check request with the provided parameters.
*
* @deprecated This service is deprecated and will be turned off.
* @param {FraudCheckParameters} params - The parameters for the fraud check request.
* @return {Promise<FraudScore>} - A Promise that resolves with the fraud score response.
* @example
Expand Down
2 changes: 2 additions & 0 deletions packages/number-insight-v2/lib/types/fraudCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { SimSwap } from './simSwap';

/**
* Represents the result of a fraud check request.
*
* @deprecated This service is deprecated and will be turned off.
*/
export type FraudCheck = {
/**
Expand Down
2 changes: 2 additions & 0 deletions packages/number-insight-v2/lib/types/fraudScore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { RiskRecommendation, Label, Status } from '../enums';

/**
* Represents the result of the fraud_score insight operation.
*
* @deprecated This service is deprecated and will be turned off.
*/
export type FraudScore = {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { Insight } from '../../enums/';

/**
* Represents the parameters for making a fraud check request.
*
* @deprecated This service is deprecated and will be turned off.
*/
export type FraudCheckParameters = {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/**
* Type representing real-time data related to a phone number.
*
* @deprecated This service will be removed
*
* @remarks
* Vonage API's will return information using `snake_case`. This represents the
* pure response before the client will transform the keys into `camelCase`.
Expand Down

0 comments on commit c725438

Please sign in to comment.