@@ -3,16 +3,22 @@ import {
33 IdentityInsightsResponse ,
44 IdentityInsightsParameters ,
55 IdentityInsightsType ,
6+ NetworkType ,
7+ Connectivity ,
68} from '../../lib' ;
79
810const params = {
911 phoneNumber : '14040000000' ,
1012 purpose : 'FraudPreventionAndDetection' ,
1113 insights : {
1214 format : { } ,
15+ originalCarrier : { } ,
16+ currentCarrier : { } ,
1317 simSwap : {
1418 period : 240
1519 } ,
20+ roaming : { } ,
21+ reachability : { } ,
1622 } ,
1723} as IdentityInsightsParameters ;
1824
@@ -33,6 +39,26 @@ const identityInsights = {
3339 message : 'Success'
3440 }
3541 } ,
42+ originalCarrier : {
43+ name : 'Orange Espana, S.A. Unipersonal' ,
44+ networkType : NetworkType . MOBILE ,
45+ countryCode : 'ES' ,
46+ networkCode : '21403' ,
47+ status : {
48+ code : Status . OK ,
49+ message : 'Success'
50+ }
51+ } ,
52+ currentCarrier : {
53+ name : 'Orange Espana, S.A. Unipersonal' ,
54+ networkType : NetworkType . MOBILE ,
55+ countryCode : 'ES' ,
56+ networkCode : '21403' ,
57+ status : {
58+ code : Status . OK ,
59+ message : 'Success'
60+ }
61+ } ,
3662 simSwap : {
3763 latestSimSwapAt : '2024-07-08T09:30:27.504Z' ,
3864 isSwapped : true ,
@@ -41,6 +67,24 @@ const identityInsights = {
4167 message : 'Success'
4268 }
4369 } ,
70+ roaming : {
71+ latestStatusAt : '2025-10-11T08:23:23.456' ,
72+ isRoaming : true ,
73+ countryCodes : [ "ES" ] ,
74+ status : {
75+ code : Status . OK ,
76+ message : 'Success'
77+ }
78+ } ,
79+ reachability : {
80+ latestStatusAt : '2025-10-11T08:23:23.456' ,
81+ isReachable : true ,
82+ connectivity : [ Connectivity . DATA ] ,
83+ status : {
84+ code : Status . OK ,
85+ message : 'Success'
86+ }
87+ } ,
4488 } ,
4589} as IdentityInsightsType ;
4690
@@ -69,6 +113,44 @@ const response = {
69113 message : 'Success'
70114 }
71115 } ,
116+ originalCarrier : {
117+ name : 'Orange Espana, S.A. Unipersonal' ,
118+ networkType : NetworkType . MOBILE ,
119+ countryCode : 'ES' ,
120+ networkCode : '21403' ,
121+ status : {
122+ code : Status . OK ,
123+ message : 'Success'
124+ }
125+ } ,
126+ currentCarrier : {
127+ name : 'Orange Espana, S.A. Unipersonal' ,
128+ networkType : NetworkType . MOBILE ,
129+ countryCode : 'ES' ,
130+ networkCode : '21403' ,
131+ status : {
132+ code : Status . OK ,
133+ message : 'Success'
134+ }
135+ } ,
136+ roaming : {
137+ latestStatusAt : '2025-10-11T08:23:23.456' ,
138+ isRoaming : true ,
139+ countryCodes : [ "ES" ] ,
140+ status : {
141+ code : Status . OK ,
142+ message : 'Success'
143+ }
144+ } ,
145+ reachability : {
146+ latestStatusAt : '2025-10-11T08:23:23.456' ,
147+ isReachable : true ,
148+ connectivity : [ Connectivity . DATA ] ,
149+ status : {
150+ code : Status . OK ,
151+ message : 'Success'
152+ }
153+ } ,
72154 } ,
73155} as IdentityInsightsResponse ;
74156
0 commit comments