@trinsic/api 3.0.2-preview1 → 3.1.0-preview1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (707) hide show
  1. package/.openapi-generator/FILES +244 -4
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +0 -2
  4. package/dist/apis/ProvidersApi.d.ts +22 -0
  5. package/dist/apis/ProvidersApi.js +33 -12
  6. package/dist/apis/RedirectUrisApi.d.ts +34 -0
  7. package/dist/apis/RedirectUrisApi.js +49 -18
  8. package/dist/apis/SessionsApi.d.ts +125 -22
  9. package/dist/apis/SessionsApi.js +182 -99
  10. package/dist/apis/VerificationProfilesApi.d.ts +84 -2
  11. package/dist/apis/VerificationProfilesApi.js +102 -20
  12. package/dist/esm/apis/ProvidersApi.d.ts +22 -0
  13. package/dist/esm/apis/ProvidersApi.js +33 -12
  14. package/dist/esm/apis/RedirectUrisApi.d.ts +34 -0
  15. package/dist/esm/apis/RedirectUrisApi.js +49 -18
  16. package/dist/esm/apis/SessionsApi.d.ts +125 -22
  17. package/dist/esm/apis/SessionsApi.js +183 -100
  18. package/dist/esm/apis/VerificationProfilesApi.d.ts +84 -2
  19. package/dist/esm/apis/VerificationProfilesApi.js +102 -20
  20. package/dist/esm/models/AadhaarAddress.d.ts +100 -0
  21. package/dist/esm/models/AadhaarAddress.js +63 -0
  22. package/dist/esm/models/AadhaarClaims.d.ts +4 -71
  23. package/dist/esm/models/AadhaarClaims.js +4 -25
  24. package/dist/esm/models/AadhaarInput.js +1 -1
  25. package/dist/esm/models/AadhaarLanguage.d.ts +1 -1
  26. package/dist/esm/models/AadhaarLocalizedClaims.d.ts +4 -57
  27. package/dist/esm/models/AadhaarLocalizedClaims.js +3 -20
  28. package/dist/esm/models/AudkenniProviderOutput.d.ts +58 -0
  29. package/dist/esm/models/AudkenniProviderOutput.js +53 -0
  30. package/dist/esm/models/BelgiumIdCardProviderOutput.js +1 -1
  31. package/dist/esm/models/BoliviaCiLookupInput.d.ts +43 -0
  32. package/dist/esm/models/BoliviaCiLookupInput.js +43 -0
  33. package/dist/esm/models/BoliviaCiProviderOutput.d.ts +63 -0
  34. package/dist/esm/models/BoliviaCiProviderOutput.js +57 -0
  35. package/dist/esm/models/BrazilCpfCheckInput.d.ts +14 -0
  36. package/dist/esm/models/BrazilCpfCheckInput.js +4 -0
  37. package/dist/esm/models/ChinaResidentIdMatchInput.d.ts +50 -0
  38. package/dist/esm/models/ChinaResidentIdMatchInput.js +55 -0
  39. package/dist/esm/models/ChinaResidentIdMatchOutput.d.ts +50 -0
  40. package/dist/esm/models/ChinaResidentIdMatchOutput.js +45 -0
  41. package/dist/esm/models/ColombiaCcLookupInput.d.ts +44 -0
  42. package/dist/esm/models/ColombiaCcLookupInput.js +43 -0
  43. package/dist/esm/models/ColombiaCcProviderOutput.d.ts +109 -0
  44. package/dist/esm/models/ColombiaCcProviderOutput.js +80 -0
  45. package/dist/esm/models/ColombiaExpeditionPlace.d.ts +46 -0
  46. package/dist/esm/models/ColombiaExpeditionPlace.js +43 -0
  47. package/dist/esm/models/ConnectIdProviderOutput.d.ts +0 -7
  48. package/dist/esm/models/ConnectIdProviderOutput.js +1 -4
  49. package/dist/esm/models/CoteDIvoireNidLookup2ProviderOutput.d.ts +89 -0
  50. package/dist/esm/models/CoteDIvoireNidLookup2ProviderOutput.js +69 -0
  51. package/dist/esm/models/CreateDirectProviderSessionRequest.d.ts +9 -0
  52. package/dist/esm/models/CreateDirectProviderSessionRequest.js +2 -0
  53. package/dist/esm/models/CreateHostedProviderSessionRequest.d.ts +8 -0
  54. package/dist/esm/models/CreateHostedProviderSessionRequest.js +2 -0
  55. package/dist/esm/models/CzechMojeIdProviderOutput.d.ts +14 -1
  56. package/dist/esm/models/CzechMojeIdProviderOutput.js +5 -1
  57. package/dist/esm/models/CzechiaMojeIdProviderOutput.d.ts +1 -1
  58. package/dist/esm/models/CzechiaMojeIdProviderOutput.js +1 -1
  59. package/dist/esm/models/DigilockerAadhaarProviderOutput.d.ts +13 -19
  60. package/dist/esm/models/DigilockerAadhaarProviderOutput.js +4 -4
  61. package/dist/esm/models/DocumentData.js +2 -2
  62. package/dist/esm/models/ElSalvadorDuiLookupInput.d.ts +45 -0
  63. package/dist/esm/models/ElSalvadorDuiLookupInput.js +43 -0
  64. package/dist/esm/models/ElSalvadorDuiProviderOutput.d.ts +51 -0
  65. package/dist/esm/models/ElSalvadorDuiProviderOutput.js +51 -0
  66. package/dist/esm/models/EstoniaIdCardProviderOutput.js +1 -1
  67. package/dist/esm/models/FaydaProviderAddress.d.ts +50 -0
  68. package/dist/esm/models/FaydaProviderAddress.js +45 -0
  69. package/dist/esm/models/FaydaProviderOutput.d.ts +58 -3
  70. package/dist/esm/models/FaydaProviderOutput.js +13 -0
  71. package/dist/esm/models/FinlandIdCardProviderOutput.js +1 -1
  72. package/dist/esm/models/FinnishTrustNetworkProviderOutput.d.ts +4 -4
  73. package/dist/esm/models/FinnishTrustNetworkProviderOutput.js +1 -1
  74. package/dist/esm/models/FrejaProviderOutput.d.ts +1 -1
  75. package/dist/esm/models/FrejaProviderOutput.js +1 -1
  76. package/dist/esm/models/FrenchNumeriqueGivenName.d.ts +2 -2
  77. package/dist/esm/models/FrenchNumeriqueProviderOutput.d.ts +8 -8
  78. package/dist/esm/models/FrenchNumeriqueProviderOutput.js +4 -4
  79. package/dist/esm/models/GoogleWalletInput.d.ts +2 -0
  80. package/dist/esm/models/GuatemalaCuiLookupInput.d.ts +43 -0
  81. package/dist/esm/models/GuatemalaCuiLookupInput.js +41 -0
  82. package/dist/esm/models/GuatemalaCuiProviderOutput.d.ts +112 -0
  83. package/dist/esm/models/GuatemalaCuiProviderOutput.js +77 -0
  84. package/dist/esm/models/IndiaPanLookupInput.d.ts +33 -0
  85. package/dist/esm/models/IndiaPanLookupInput.js +43 -0
  86. package/dist/esm/models/IndiaPanLookupProviderOutput.d.ts +106 -0
  87. package/dist/esm/models/IndiaPanLookupProviderOutput.js +56 -0
  88. package/dist/esm/models/IndiaPanStructuredNumber.d.ts +128 -0
  89. package/dist/esm/models/IndiaPanStructuredNumber.js +61 -0
  90. package/dist/esm/models/IndonesiaDukcapilMatchInput.js +2 -2
  91. package/dist/esm/models/IndonesiaNikInput.js +1 -1
  92. package/dist/esm/models/ItsmeProviderOutput.js +1 -1
  93. package/dist/esm/models/KenyaNidBiometric2Input.d.ts +5 -1
  94. package/dist/esm/models/KenyaNidInput.js +1 -1
  95. package/dist/esm/models/KenyaNidLookup2Input.d.ts +5 -1
  96. package/dist/esm/models/KenyaNidLookup2ProviderOutput.d.ts +3 -4
  97. package/dist/esm/models/KenyaNidLookup2ProviderOutput.js +2 -2
  98. package/dist/esm/models/KenyaNidMatch2Input.d.ts +5 -1
  99. package/dist/esm/models/KenyaNidMatch2Input.js +1 -1
  100. package/dist/esm/models/KoreaTelcoMatchInput.d.ts +65 -0
  101. package/dist/esm/models/KoreaTelcoMatchInput.js +66 -0
  102. package/dist/esm/models/KoreaTelcoMatchProviderOutput.d.ts +56 -0
  103. package/dist/esm/models/KoreaTelcoMatchProviderOutput.js +51 -0
  104. package/dist/esm/models/KoreaTelcoMatchSex.d.ts +25 -0
  105. package/dist/esm/models/KoreaTelcoMatchSex.js +43 -0
  106. package/dist/esm/models/LaWalletProviderOutput.js +3 -3
  107. package/dist/esm/models/LithuaniaIdCardProviderOutput.js +1 -1
  108. package/dist/esm/models/LloydsSmartIdProviderOutput.d.ts +2 -2
  109. package/dist/esm/models/LloydsSmartIdProviderOutput.js +1 -1
  110. package/dist/esm/models/MdlOutput.d.ts +2 -2
  111. package/dist/esm/models/MdlOutputCertificateData.js +2 -2
  112. package/dist/esm/models/MitIdProviderOutput.d.ts +10 -10
  113. package/dist/esm/models/MitIdProviderOutput.js +1 -1
  114. package/dist/esm/models/MobileCarrier.d.ts +26 -0
  115. package/dist/esm/models/MobileCarrier.js +44 -0
  116. package/dist/esm/models/MobileIdProviderOutput.js +1 -1
  117. package/dist/esm/models/MobileOperatingSystem.d.ts +26 -0
  118. package/dist/esm/models/MobileOperatingSystem.js +44 -0
  119. package/dist/esm/models/NetherlandsIdinAddress.d.ts +58 -0
  120. package/dist/esm/models/NetherlandsIdinAddress.js +59 -0
  121. package/dist/esm/models/NetherlandsIdinProviderOutput.d.ts +97 -0
  122. package/dist/esm/models/NetherlandsIdinProviderOutput.js +76 -0
  123. package/dist/esm/models/NigeriaNinInput.js +1 -1
  124. package/dist/esm/models/NigeriaNinLookup2ProviderOutput.js +1 -1
  125. package/dist/esm/models/NigeriaNinMatch2Input.js +1 -1
  126. package/dist/esm/models/NorwegianBankIdProviderOutput.d.ts +4 -4
  127. package/dist/esm/models/NorwegianBankIdProviderOutput.js +1 -1
  128. package/dist/esm/models/OneIdProviderOutput.js +1 -1
  129. package/dist/esm/models/OutputFrejaDocument.js +1 -1
  130. package/dist/esm/models/PanamaCedulaLookupInput.d.ts +52 -0
  131. package/dist/esm/models/PanamaCedulaLookupInput.js +43 -0
  132. package/dist/esm/models/PanamaCedulaProviderOutput.d.ts +110 -0
  133. package/dist/esm/models/PanamaCedulaProviderOutput.js +65 -0
  134. package/dist/esm/models/PersonData.js +1 -1
  135. package/dist/esm/models/PeruDniProviderOutput.d.ts +1 -1
  136. package/dist/esm/models/PeruDniProviderOutput.js +3 -3
  137. package/dist/esm/models/PhilippineMatchInput.js +1 -1
  138. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +2 -2
  139. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +2 -2
  140. package/dist/esm/models/PolandEdoAppProviderOutput.js +1 -1
  141. package/dist/esm/models/PolandMobywatelMatchInput.d.ts +83 -0
  142. package/dist/esm/models/PolandMobywatelMatchInput.js +55 -0
  143. package/dist/esm/models/PolandMobywatelMatchProviderOutput.d.ts +153 -0
  144. package/dist/esm/models/PolandMobywatelMatchProviderOutput.js +79 -0
  145. package/dist/esm/models/PortugalIdCardProviderOutput.js +1 -1
  146. package/dist/esm/models/PostOfficeEasyIdProviderOutput.d.ts +2 -2
  147. package/dist/esm/models/PostOfficeEasyIdProviderOutput.js +1 -1
  148. package/dist/esm/models/Provider.d.ts +7 -0
  149. package/dist/esm/models/Provider.js +3 -0
  150. package/dist/esm/models/ProviderInput.d.ts +70 -0
  151. package/dist/esm/models/ProviderInput.js +30 -0
  152. package/dist/esm/models/ProviderOutput.d.ts +131 -26
  153. package/dist/esm/models/ProviderOutput.js +63 -18
  154. package/dist/esm/models/ProviderSupportedLanguage.d.ts +38 -0
  155. package/dist/esm/models/ProviderSupportedLanguage.js +45 -0
  156. package/dist/esm/models/SerbiaIdCardProviderOutput.js +1 -1
  157. package/dist/esm/models/SignzyIndiaAadhaarFetchProviderOutput.d.ts +113 -0
  158. package/dist/esm/models/SignzyIndiaAadhaarFetchProviderOutput.js +69 -0
  159. package/dist/esm/models/SingpassLoginProviderOutput.d.ts +87 -0
  160. package/dist/esm/models/SingpassLoginProviderOutput.js +53 -0
  161. package/dist/esm/models/SingpassMyInfoDescription.d.ts +38 -0
  162. package/dist/esm/models/SingpassMyInfoDescription.js +43 -0
  163. package/dist/esm/models/SingpassMyInfoProviderOutput.d.ts +39 -0
  164. package/dist/esm/models/SingpassMyInfoProviderOutput.js +44 -0
  165. package/dist/esm/models/SingpassMyInfoRegisteredAddressOutput.d.ts +111 -0
  166. package/dist/esm/models/SingpassMyInfoRegisteredAddressOutput.js +59 -0
  167. package/dist/esm/models/SingpassPersonalCatalog.d.ts +255 -0
  168. package/dist/esm/models/SingpassPersonalCatalog.js +90 -0
  169. package/dist/esm/models/SingpassPhoneNumber.d.ts +44 -0
  170. package/dist/esm/models/SingpassPhoneNumber.js +45 -0
  171. package/dist/esm/models/SmartIdProviderOutput.d.ts +1 -1
  172. package/dist/esm/models/SmartIdProviderOutput.js +1 -1
  173. package/dist/esm/models/SouthAfricaNidInput.js +1 -1
  174. package/dist/esm/models/SouthAfricaNidMatch2Input.js +1 -1
  175. package/dist/esm/models/SpidProviderOutput.js +2 -2
  176. package/dist/esm/models/StepRefreshInfo.js +2 -2
  177. package/dist/esm/models/SwedenBankIdProviderOutput.d.ts +3 -3
  178. package/dist/esm/models/SwedenBankIdProviderOutput.js +3 -3
  179. package/dist/esm/models/UgandaNidMatch2Input.js +1 -1
  180. package/dist/esm/models/UkEvisaLookupInput.js +1 -1
  181. package/dist/esm/models/UnitedKingdomEvisaProviderOutput.d.ts +3 -1
  182. package/dist/esm/models/UnitedKingdomEvisaProviderOutput.js +3 -3
  183. package/dist/esm/models/UsaCaliforniaDmvInput.d.ts +35 -0
  184. package/dist/esm/models/UsaCaliforniaDmvInput.js +42 -0
  185. package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
  186. package/dist/esm/models/VerificationProfileResponse.js +2 -0
  187. package/dist/esm/models/YotiDeeplinkProviderOutput.d.ts +2 -2
  188. package/dist/esm/models/YotiDeeplinkProviderOutput.js +1 -1
  189. package/dist/esm/models/YotiDocumentDetails.js +1 -1
  190. package/dist/esm/models/YotiProviderOutput.d.ts +2 -2
  191. package/dist/esm/models/YotiProviderOutput.js +1 -1
  192. package/dist/esm/models/index.d.ts +38 -4
  193. package/dist/esm/models/index.js +38 -4
  194. package/dist/esm/runtime.js +15 -0
  195. package/dist/models/AadhaarAddress.d.ts +100 -0
  196. package/dist/models/AadhaarAddress.js +70 -0
  197. package/dist/models/AadhaarClaims.d.ts +4 -71
  198. package/dist/models/AadhaarClaims.js +4 -25
  199. package/dist/models/AadhaarInput.js +1 -1
  200. package/dist/models/AadhaarLanguage.d.ts +1 -1
  201. package/dist/models/AadhaarLocalizedClaims.d.ts +4 -57
  202. package/dist/models/AadhaarLocalizedClaims.js +3 -20
  203. package/dist/models/AudkenniProviderOutput.d.ts +58 -0
  204. package/dist/models/AudkenniProviderOutput.js +60 -0
  205. package/dist/models/BelgiumIdCardProviderOutput.js +1 -1
  206. package/dist/models/BoliviaCiLookupInput.d.ts +43 -0
  207. package/dist/models/BoliviaCiLookupInput.js +50 -0
  208. package/dist/models/BoliviaCiProviderOutput.d.ts +63 -0
  209. package/dist/models/BoliviaCiProviderOutput.js +64 -0
  210. package/dist/models/BrazilCpfCheckInput.d.ts +14 -0
  211. package/dist/models/BrazilCpfCheckInput.js +4 -0
  212. package/dist/models/ChinaResidentIdMatchInput.d.ts +50 -0
  213. package/dist/models/ChinaResidentIdMatchInput.js +62 -0
  214. package/dist/models/ChinaResidentIdMatchOutput.d.ts +50 -0
  215. package/dist/models/ChinaResidentIdMatchOutput.js +52 -0
  216. package/dist/models/ColombiaCcLookupInput.d.ts +44 -0
  217. package/dist/models/ColombiaCcLookupInput.js +50 -0
  218. package/dist/models/ColombiaCcProviderOutput.d.ts +109 -0
  219. package/dist/models/ColombiaCcProviderOutput.js +87 -0
  220. package/dist/models/ColombiaExpeditionPlace.d.ts +46 -0
  221. package/dist/models/ColombiaExpeditionPlace.js +50 -0
  222. package/dist/models/ConnectIdProviderOutput.d.ts +0 -7
  223. package/dist/models/ConnectIdProviderOutput.js +1 -4
  224. package/dist/models/CoteDIvoireNidLookup2ProviderOutput.d.ts +89 -0
  225. package/dist/models/CoteDIvoireNidLookup2ProviderOutput.js +76 -0
  226. package/dist/models/CreateDirectProviderSessionRequest.d.ts +9 -0
  227. package/dist/models/CreateDirectProviderSessionRequest.js +2 -0
  228. package/dist/models/CreateHostedProviderSessionRequest.d.ts +8 -0
  229. package/dist/models/CreateHostedProviderSessionRequest.js +2 -0
  230. package/dist/models/CzechMojeIdProviderOutput.d.ts +14 -1
  231. package/dist/models/CzechMojeIdProviderOutput.js +5 -1
  232. package/dist/models/CzechiaMojeIdProviderOutput.d.ts +1 -1
  233. package/dist/models/CzechiaMojeIdProviderOutput.js +1 -1
  234. package/dist/models/DigilockerAadhaarProviderOutput.d.ts +13 -19
  235. package/dist/models/DigilockerAadhaarProviderOutput.js +4 -4
  236. package/dist/models/DocumentData.js +2 -2
  237. package/dist/models/ElSalvadorDuiLookupInput.d.ts +45 -0
  238. package/dist/models/ElSalvadorDuiLookupInput.js +50 -0
  239. package/dist/models/ElSalvadorDuiProviderOutput.d.ts +51 -0
  240. package/dist/models/ElSalvadorDuiProviderOutput.js +58 -0
  241. package/dist/models/EstoniaIdCardProviderOutput.js +1 -1
  242. package/dist/models/FaydaProviderAddress.d.ts +50 -0
  243. package/dist/models/FaydaProviderAddress.js +52 -0
  244. package/dist/models/FaydaProviderOutput.d.ts +58 -3
  245. package/dist/models/FaydaProviderOutput.js +13 -0
  246. package/dist/models/FinlandIdCardProviderOutput.js +1 -1
  247. package/dist/models/FinnishTrustNetworkProviderOutput.d.ts +4 -4
  248. package/dist/models/FinnishTrustNetworkProviderOutput.js +1 -1
  249. package/dist/models/FrejaProviderOutput.d.ts +1 -1
  250. package/dist/models/FrejaProviderOutput.js +1 -1
  251. package/dist/models/FrenchNumeriqueGivenName.d.ts +2 -2
  252. package/dist/models/FrenchNumeriqueProviderOutput.d.ts +8 -8
  253. package/dist/models/FrenchNumeriqueProviderOutput.js +4 -4
  254. package/dist/models/GoogleWalletInput.d.ts +2 -0
  255. package/dist/models/GuatemalaCuiLookupInput.d.ts +43 -0
  256. package/dist/models/GuatemalaCuiLookupInput.js +48 -0
  257. package/dist/models/GuatemalaCuiProviderOutput.d.ts +112 -0
  258. package/dist/models/GuatemalaCuiProviderOutput.js +84 -0
  259. package/dist/models/IndiaPanLookupInput.d.ts +33 -0
  260. package/dist/models/IndiaPanLookupInput.js +50 -0
  261. package/dist/models/IndiaPanLookupProviderOutput.d.ts +106 -0
  262. package/dist/models/IndiaPanLookupProviderOutput.js +63 -0
  263. package/dist/models/IndiaPanStructuredNumber.d.ts +128 -0
  264. package/dist/models/IndiaPanStructuredNumber.js +68 -0
  265. package/dist/models/IndonesiaDukcapilMatchInput.js +2 -2
  266. package/dist/models/IndonesiaNikInput.js +1 -1
  267. package/dist/models/ItsmeProviderOutput.js +1 -1
  268. package/dist/models/KenyaNidBiometric2Input.d.ts +5 -1
  269. package/dist/models/KenyaNidInput.js +1 -1
  270. package/dist/models/KenyaNidLookup2Input.d.ts +5 -1
  271. package/dist/models/KenyaNidLookup2ProviderOutput.d.ts +3 -4
  272. package/dist/models/KenyaNidLookup2ProviderOutput.js +2 -2
  273. package/dist/models/KenyaNidMatch2Input.d.ts +5 -1
  274. package/dist/models/KenyaNidMatch2Input.js +1 -1
  275. package/dist/models/KoreaTelcoMatchInput.d.ts +65 -0
  276. package/dist/models/KoreaTelcoMatchInput.js +73 -0
  277. package/dist/models/KoreaTelcoMatchProviderOutput.d.ts +56 -0
  278. package/dist/models/KoreaTelcoMatchProviderOutput.js +58 -0
  279. package/dist/models/KoreaTelcoMatchSex.d.ts +25 -0
  280. package/dist/models/KoreaTelcoMatchSex.js +51 -0
  281. package/dist/models/LaWalletProviderOutput.js +3 -3
  282. package/dist/models/LithuaniaIdCardProviderOutput.js +1 -1
  283. package/dist/models/LloydsSmartIdProviderOutput.d.ts +2 -2
  284. package/dist/models/LloydsSmartIdProviderOutput.js +1 -1
  285. package/dist/models/MdlOutput.d.ts +2 -2
  286. package/dist/models/MdlOutputCertificateData.js +2 -2
  287. package/dist/models/MitIdProviderOutput.d.ts +10 -10
  288. package/dist/models/MitIdProviderOutput.js +1 -1
  289. package/dist/models/MobileCarrier.d.ts +26 -0
  290. package/dist/models/MobileCarrier.js +52 -0
  291. package/dist/models/MobileIdProviderOutput.js +1 -1
  292. package/dist/models/MobileOperatingSystem.d.ts +26 -0
  293. package/dist/models/MobileOperatingSystem.js +52 -0
  294. package/dist/models/NetherlandsIdinAddress.d.ts +58 -0
  295. package/dist/models/NetherlandsIdinAddress.js +66 -0
  296. package/dist/models/NetherlandsIdinProviderOutput.d.ts +97 -0
  297. package/dist/models/NetherlandsIdinProviderOutput.js +83 -0
  298. package/dist/models/NigeriaNinInput.js +1 -1
  299. package/dist/models/NigeriaNinLookup2ProviderOutput.js +1 -1
  300. package/dist/models/NigeriaNinMatch2Input.js +1 -1
  301. package/dist/models/NorwegianBankIdProviderOutput.d.ts +4 -4
  302. package/dist/models/NorwegianBankIdProviderOutput.js +1 -1
  303. package/dist/models/OneIdProviderOutput.js +1 -1
  304. package/dist/models/OutputFrejaDocument.js +1 -1
  305. package/dist/models/PanamaCedulaLookupInput.d.ts +52 -0
  306. package/dist/models/PanamaCedulaLookupInput.js +50 -0
  307. package/dist/models/PanamaCedulaProviderOutput.d.ts +110 -0
  308. package/dist/models/PanamaCedulaProviderOutput.js +72 -0
  309. package/dist/models/PersonData.js +1 -1
  310. package/dist/models/PeruDniProviderOutput.d.ts +1 -1
  311. package/dist/models/PeruDniProviderOutput.js +3 -3
  312. package/dist/models/PhilippineMatchInput.js +1 -1
  313. package/dist/models/PhilippinesDigitalNidProviderOutput.js +2 -2
  314. package/dist/models/PhilippinesPhysicalNidProviderOutput.js +2 -2
  315. package/dist/models/PolandEdoAppProviderOutput.js +1 -1
  316. package/dist/models/PolandMobywatelMatchInput.d.ts +83 -0
  317. package/dist/models/PolandMobywatelMatchInput.js +62 -0
  318. package/dist/models/PolandMobywatelMatchProviderOutput.d.ts +153 -0
  319. package/dist/models/PolandMobywatelMatchProviderOutput.js +86 -0
  320. package/dist/models/PortugalIdCardProviderOutput.js +1 -1
  321. package/dist/models/PostOfficeEasyIdProviderOutput.d.ts +2 -2
  322. package/dist/models/PostOfficeEasyIdProviderOutput.js +1 -1
  323. package/dist/models/Provider.d.ts +7 -0
  324. package/dist/models/Provider.js +3 -0
  325. package/dist/models/ProviderInput.d.ts +70 -0
  326. package/dist/models/ProviderInput.js +30 -0
  327. package/dist/models/ProviderOutput.d.ts +131 -26
  328. package/dist/models/ProviderOutput.js +63 -18
  329. package/dist/models/ProviderSupportedLanguage.d.ts +38 -0
  330. package/dist/models/ProviderSupportedLanguage.js +52 -0
  331. package/dist/models/SerbiaIdCardProviderOutput.js +1 -1
  332. package/dist/models/SignzyIndiaAadhaarFetchProviderOutput.d.ts +113 -0
  333. package/dist/models/SignzyIndiaAadhaarFetchProviderOutput.js +76 -0
  334. package/dist/models/SingpassLoginProviderOutput.d.ts +87 -0
  335. package/dist/models/SingpassLoginProviderOutput.js +60 -0
  336. package/dist/models/SingpassMyInfoDescription.d.ts +38 -0
  337. package/dist/models/SingpassMyInfoDescription.js +50 -0
  338. package/dist/models/SingpassMyInfoProviderOutput.d.ts +39 -0
  339. package/dist/models/SingpassMyInfoProviderOutput.js +51 -0
  340. package/dist/models/SingpassMyInfoRegisteredAddressOutput.d.ts +111 -0
  341. package/dist/models/SingpassMyInfoRegisteredAddressOutput.js +66 -0
  342. package/dist/models/SingpassPersonalCatalog.d.ts +255 -0
  343. package/dist/models/SingpassPersonalCatalog.js +97 -0
  344. package/dist/models/SingpassPhoneNumber.d.ts +44 -0
  345. package/dist/models/SingpassPhoneNumber.js +52 -0
  346. package/dist/models/SmartIdProviderOutput.d.ts +1 -1
  347. package/dist/models/SmartIdProviderOutput.js +1 -1
  348. package/dist/models/SouthAfricaNidInput.js +1 -1
  349. package/dist/models/SouthAfricaNidMatch2Input.js +1 -1
  350. package/dist/models/SpidProviderOutput.js +2 -2
  351. package/dist/models/StepRefreshInfo.js +2 -2
  352. package/dist/models/SwedenBankIdProviderOutput.d.ts +3 -3
  353. package/dist/models/SwedenBankIdProviderOutput.js +3 -3
  354. package/dist/models/UgandaNidMatch2Input.js +1 -1
  355. package/dist/models/UkEvisaLookupInput.js +1 -1
  356. package/dist/models/UnitedKingdomEvisaProviderOutput.d.ts +3 -1
  357. package/dist/models/UnitedKingdomEvisaProviderOutput.js +3 -3
  358. package/dist/models/UsaCaliforniaDmvInput.d.ts +35 -0
  359. package/dist/models/UsaCaliforniaDmvInput.js +49 -0
  360. package/dist/models/VerificationProfileResponse.d.ts +6 -0
  361. package/dist/models/VerificationProfileResponse.js +2 -0
  362. package/dist/models/YotiDeeplinkProviderOutput.d.ts +2 -2
  363. package/dist/models/YotiDeeplinkProviderOutput.js +1 -1
  364. package/dist/models/YotiDocumentDetails.js +1 -1
  365. package/dist/models/YotiProviderOutput.d.ts +2 -2
  366. package/dist/models/YotiProviderOutput.js +1 -1
  367. package/dist/models/index.d.ts +38 -4
  368. package/dist/models/index.js +38 -4
  369. package/dist/runtime.js +15 -0
  370. package/docs/AadhaarAddress.md +57 -0
  371. package/docs/AadhaarClaims.md +40 -0
  372. package/docs/AadhaarInput.md +36 -0
  373. package/docs/AadhaarLanguage.md +37 -0
  374. package/docs/AadhaarLocalizedClaims.md +38 -0
  375. package/docs/AddRedirectUriRequest.md +34 -0
  376. package/docs/AddRedirectUriResponse.md +34 -0
  377. package/docs/Address.md +49 -0
  378. package/docs/AppleWalletInput.md +36 -0
  379. package/docs/AppleWalletProviderOutput.md +35 -0
  380. package/docs/AttachmentInfo.md +40 -0
  381. package/docs/AttributeAvailability.md +33 -0
  382. package/docs/AudkenniProviderOutput.md +41 -0
  383. package/docs/AustriaHandySignaturProviderOutput.md +37 -0
  384. package/docs/BelgiumIdCardProviderOutput.md +41 -0
  385. package/docs/BoliviaCiLookupInput.md +36 -0
  386. package/docs/BoliviaCiProviderOutput.md +43 -0
  387. package/docs/BrazilCpfCheckInput.md +38 -0
  388. package/docs/BrazilDigitalCnhInput.md +40 -0
  389. package/docs/CancelSessionResponse.md +34 -0
  390. package/docs/ChinaResidentIdMatchInput.md +40 -0
  391. package/docs/ChinaResidentIdMatchOutput.md +39 -0
  392. package/docs/ColombiaCcLookupInput.md +36 -0
  393. package/docs/ColombiaCcProviderOutput.md +53 -0
  394. package/docs/ColombiaExpeditionPlace.md +37 -0
  395. package/docs/ConnectIdAddress.md +42 -0
  396. package/docs/ConnectIdAgeVerification.md +36 -0
  397. package/docs/ConnectIdProviderOutput.md +53 -0
  398. package/docs/ContractAttachment.md +37 -0
  399. package/docs/ContractAttribute.md +37 -0
  400. package/docs/CoteDIvoireNidLookup2Input.md +34 -0
  401. package/docs/CoteDIvoireNidLookup2ProviderOutput.md +51 -0
  402. package/docs/CreateDirectProviderSessionRequest.md +46 -0
  403. package/docs/CreateDirectProviderSessionResponse.md +38 -0
  404. package/docs/CreateHostedProviderSessionRequest.md +42 -0
  405. package/docs/CreateHostedProviderSessionResponse.md +38 -0
  406. package/docs/CreateVerificationProfileResponse.md +34 -0
  407. package/docs/CzechMojeIdAddressOutput.md +44 -0
  408. package/docs/CzechMojeIdProviderOutput.md +83 -0
  409. package/docs/CzechiaMojeIdProviderOutput.md +41 -0
  410. package/docs/DigilockerAadhaarProviderOutput.md +47 -0
  411. package/docs/DocumentData.md +46 -0
  412. package/docs/DocumentType.md +32 -0
  413. package/docs/ElSalvadorDuiLookupInput.md +36 -0
  414. package/docs/ElSalvadorDuiProviderOutput.md +39 -0
  415. package/docs/EstoniaIdCardProviderOutput.md +41 -0
  416. package/docs/FaydaProviderAddress.md +38 -0
  417. package/docs/FaydaProviderOutput.md +53 -0
  418. package/docs/FinlandIdCardProviderOutput.md +41 -0
  419. package/docs/FinnishTrustNetworkProviderOutput.md +55 -0
  420. package/docs/FranceIdentiteInput.md +34 -0
  421. package/docs/FranceIdentiteProviderOutput.md +35 -0
  422. package/docs/FrejaIndirectProviderOutput.md +41 -0
  423. package/docs/FrejaProviderOutput.md +69 -0
  424. package/docs/FrenchNumeriqueGivenName.md +39 -0
  425. package/docs/FrenchNumeriqueNationality.md +37 -0
  426. package/docs/FrenchNumeriquePhone.md +39 -0
  427. package/docs/FrenchNumeriqueProviderOutput.md +83 -0
  428. package/docs/GetAttachmentRequest.md +34 -0
  429. package/docs/GetAttachmentResponse.md +36 -0
  430. package/docs/GetProviderResponse.md +34 -0
  431. package/docs/GetSessionResponse.md +34 -0
  432. package/docs/GetSessionResultRequest.md +34 -0
  433. package/docs/GetSessionResultResponse.md +36 -0
  434. package/docs/GoogleWalletInput.md +36 -0
  435. package/docs/GoogleWalletProviderOutput.md +35 -0
  436. package/docs/GuatemalaCuiLookupInput.md +34 -0
  437. package/docs/GuatemalaCuiProviderOutput.md +53 -0
  438. package/docs/IdentityData.md +46 -0
  439. package/docs/IdinInput.md +34 -0
  440. package/docs/IndiaPanLookupInput.md +34 -0
  441. package/docs/IndiaPanLookupProviderOutput.md +49 -0
  442. package/docs/IndiaPanStructuredNumber.md +44 -0
  443. package/docs/IndonesiaDukcapilMatchInput.md +48 -0
  444. package/docs/IndonesiaNikInput.md +38 -0
  445. package/docs/IntegrationCapability.md +32 -0
  446. package/docs/IntegrationLaunchMethod.md +32 -0
  447. package/docs/IntegrationStep.md +39 -0
  448. package/docs/ItsmeProviderOutput.md +43 -0
  449. package/docs/KenyaNidBiometric2Input.md +38 -0
  450. package/docs/KenyaNidInput.md +44 -0
  451. package/docs/KenyaNidLookup2Address.md +43 -0
  452. package/docs/KenyaNidLookup2Input.md +34 -0
  453. package/docs/KenyaNidLookup2ProviderOutput.md +55 -0
  454. package/docs/KenyaNidMatch2Input.md +44 -0
  455. package/docs/KenyaNidMatch2InputSex.md +32 -0
  456. package/docs/KoreaTelcoMatchInput.md +44 -0
  457. package/docs/KoreaTelcoMatchProviderOutput.md +39 -0
  458. package/docs/KoreaTelcoMatchSex.md +32 -0
  459. package/docs/LaWalletProviderOutput.md +69 -0
  460. package/docs/LatviaEparakstsMobileProviderOutput.md +39 -0
  461. package/docs/LatviaEparakstsProviderOutput.md +39 -0
  462. package/docs/ListProvidersResponse.md +34 -0
  463. package/docs/ListRedirectUrisResponse.md +37 -0
  464. package/docs/ListSessionsResponse.md +38 -0
  465. package/docs/ListVerificationProfilesResponse.md +36 -0
  466. package/docs/LithuaniaIdCardProviderOutput.md +41 -0
  467. package/docs/LloydsSmartIdProviderOutput.md +57 -0
  468. package/docs/Match.md +36 -0
  469. package/docs/MatchData.md +55 -0
  470. package/docs/MdlExchangeMechanism.md +32 -0
  471. package/docs/MdlOutput.md +40 -0
  472. package/docs/MdlOutputCertificateData.md +42 -0
  473. package/docs/MdlOutputFieldData.md +36 -0
  474. package/docs/MdlOutputFieldDataType.md +32 -0
  475. package/docs/MexicoCurpInput.md +34 -0
  476. package/docs/MexicoCurpProviderOutput.md +35 -0
  477. package/docs/MitIdProviderOutput.md +55 -0
  478. package/docs/MobileCarrier.md +32 -0
  479. package/docs/MobileIdInput.md +38 -0
  480. package/docs/MobileIdLanguage.md +32 -0
  481. package/docs/MobileIdProviderOutput.md +51 -0
  482. package/docs/MobileOperatingSystem.md +32 -0
  483. package/docs/NetherlandsIdinAddress.md +42 -0
  484. package/docs/NetherlandsIdinProviderOutput.md +53 -0
  485. package/docs/NigeriaNinBiometric2Input.md +38 -0
  486. package/docs/NigeriaNinInput.md +46 -0
  487. package/docs/NigeriaNinLookup2Input.md +34 -0
  488. package/docs/NigeriaNinLookup2ProviderOutput.md +57 -0
  489. package/docs/NigeriaNinMatch2Input.md +46 -0
  490. package/docs/NigeriaNinMatch2InputSex.md +32 -0
  491. package/docs/NorwegianBankIdProviderOutput.md +49 -0
  492. package/docs/OneIdProviderAddress.md +42 -0
  493. package/docs/OneIdProviderOutput.md +45 -0
  494. package/docs/OrderDirection.md +32 -0
  495. package/docs/OutputFrejaAddress.md +40 -0
  496. package/docs/OutputFrejaDocument.md +40 -0
  497. package/docs/PanamaCedulaLookupInput.md +36 -0
  498. package/docs/PanamaCedulaProviderOutput.md +49 -0
  499. package/docs/PersonData.md +53 -0
  500. package/docs/PeruDniAddress.md +39 -0
  501. package/docs/PeruDniLookupInput.md +34 -0
  502. package/docs/PeruDniProviderOutput.md +65 -0
  503. package/docs/PhilippineMatchInput.md +42 -0
  504. package/docs/PhilippineQRInput.md +36 -0
  505. package/docs/PhilippinesDigitalNidProviderOutput.md +55 -0
  506. package/docs/PhilippinesPhysicalNidProviderOutput.md +51 -0
  507. package/docs/PolandEdoAppProviderOutput.md +41 -0
  508. package/docs/PolandMobywatelMatchInput.md +48 -0
  509. package/docs/PolandMobywatelMatchProviderOutput.md +73 -0
  510. package/docs/PolandMojeIdProviderOutput.md +39 -0
  511. package/docs/PortugalIdCardProviderOutput.md +41 -0
  512. package/docs/PostOfficeEasyIdProviderOutput.md +57 -0
  513. package/docs/ProblemDetails.md +42 -0
  514. package/docs/Provider.md +78 -0
  515. package/docs/ProviderHealth.md +33 -0
  516. package/docs/ProviderInput.md +124 -0
  517. package/docs/ProviderOutput.md +150 -0
  518. package/docs/ProviderSupportedLanguage.md +36 -0
  519. package/docs/ProvidersApi.md +160 -0
  520. package/docs/Raw18013DocumentRequest.md +36 -0
  521. package/docs/Raw18013RequestInput.md +35 -0
  522. package/docs/RecommendProviderHealthOption.md +32 -0
  523. package/docs/RecommendProviderInformation.md +50 -0
  524. package/docs/RecommendProvidersRequest.md +38 -0
  525. package/docs/RecommendProvidersResponse.md +36 -0
  526. package/docs/RecommendationInfo.md +41 -0
  527. package/docs/RedirectUriResponse.md +36 -0
  528. package/docs/RedirectUrisApi.md +239 -0
  529. package/docs/RefreshStepContentRequest.md +34 -0
  530. package/docs/RefreshStepContentResponse.md +34 -0
  531. package/docs/ResultCollection.md +36 -0
  532. package/docs/ResultCollectionMethod.md +32 -0
  533. package/docs/SamsungWalletInput.md +34 -0
  534. package/docs/SamsungWalletProviderOutput.md +35 -0
  535. package/docs/SerbiaIdCardProviderOutput.md +41 -0
  536. package/docs/Session.md +44 -0
  537. package/docs/SessionErrorCode.md +32 -0
  538. package/docs/SessionOrdering.md +32 -0
  539. package/docs/SessionsApi.md +869 -0
  540. package/docs/Sex.md +32 -0
  541. package/docs/SignzyIndiaAadhaarFetchProviderOutput.md +57 -0
  542. package/docs/SingpassLoginProviderOutput.md +47 -0
  543. package/docs/SingpassMyInfoDescription.md +36 -0
  544. package/docs/SingpassMyInfoProviderOutput.md +37 -0
  545. package/docs/SingpassMyInfoRegisteredAddressOutput.md +53 -0
  546. package/docs/SingpassPersonalCatalog.md +81 -0
  547. package/docs/SingpassPhoneNumber.md +39 -0
  548. package/docs/SmartIdInput.md +34 -0
  549. package/docs/SmartIdProviderOutput.md +59 -0
  550. package/docs/SouthAfricaNidBiometric2Input.md +38 -0
  551. package/docs/SouthAfricaNidInput.md +40 -0
  552. package/docs/SouthAfricaNidLookup2Input.md +34 -0
  553. package/docs/SouthAfricaNidMatch2Input.md +46 -0
  554. package/docs/SouthAfricaNidMatch2InputSex.md +32 -0
  555. package/docs/SpidBillingInformation.md +39 -0
  556. package/docs/SpidInput.md +36 -0
  557. package/docs/SpidProviderOutput.md +81 -0
  558. package/docs/StepRefreshInfo.md +38 -0
  559. package/docs/SubProviderMetadata.md +41 -0
  560. package/docs/SubmitNativeChallengeResponseRequest.md +36 -0
  561. package/docs/SubmitNativeChallengeResponseResponse.md +34 -0
  562. package/docs/SwedenBankIdProviderOutput.md +59 -0
  563. package/docs/TrinsicTestDatabaseLookupInput.md +40 -0
  564. package/docs/TrinsicTestSubProvidersInput.md +34 -0
  565. package/docs/UgandaNidMatch2Input.md +38 -0
  566. package/docs/UkEvisaLookupInput.md +36 -0
  567. package/docs/UnitedKingdomEvisaProviderOutput.md +55 -0
  568. package/docs/UsaCaliforniaDmvInput.md +34 -0
  569. package/docs/VerificationProfileResponse.md +50 -0
  570. package/docs/VerificationProfilesApi.md +339 -0
  571. package/docs/YotiDeeplinkProviderOutput.md +57 -0
  572. package/docs/YotiDocumentDetails.md +42 -0
  573. package/docs/YotiProviderOutput.md +57 -0
  574. package/docs/YotiStructuredPostalAddress.md +72 -0
  575. package/docs/ZimbabweNidLookup2Input.md +34 -0
  576. package/package.json +2 -2
  577. package/src/apis/ProvidersApi.ts +51 -12
  578. package/src/apis/RedirectUrisApi.ts +77 -18
  579. package/src/apis/SessionsApi.ts +286 -124
  580. package/src/apis/VerificationProfilesApi.ts +177 -21
  581. package/src/models/AadhaarAddress.ts +155 -0
  582. package/src/models/AadhaarClaims.ts +14 -96
  583. package/src/models/AadhaarInput.ts +1 -1
  584. package/src/models/AadhaarLanguage.ts +1 -1
  585. package/src/models/AadhaarLocalizedClaims.ts +12 -77
  586. package/src/models/AudkenniProviderOutput.ts +100 -0
  587. package/src/models/BelgiumIdCardProviderOutput.ts +1 -1
  588. package/src/models/BoliviaCiLookupInput.ts +78 -0
  589. package/src/models/BoliviaCiProviderOutput.ts +108 -0
  590. package/src/models/BrazilCpfCheckInput.ts +18 -0
  591. package/src/models/ChinaResidentIdMatchInput.ts +93 -0
  592. package/src/models/ChinaResidentIdMatchOutput.ts +87 -0
  593. package/src/models/ColombiaCcLookupInput.ts +79 -0
  594. package/src/models/ColombiaCcProviderOutput.ts +177 -0
  595. package/src/models/ColombiaExpeditionPlace.ts +81 -0
  596. package/src/models/ConnectIdProviderOutput.ts +1 -16
  597. package/src/models/CoteDIvoireNidLookup2ProviderOutput.ts +144 -0
  598. package/src/models/CreateDirectProviderSessionRequest.ts +11 -0
  599. package/src/models/CreateHostedProviderSessionRequest.ts +10 -0
  600. package/src/models/CzechMojeIdProviderOutput.ts +19 -2
  601. package/src/models/CzechiaMojeIdProviderOutput.ts +2 -2
  602. package/src/models/DigilockerAadhaarProviderOutput.ts +17 -23
  603. package/src/models/DocumentData.ts +2 -2
  604. package/src/models/ElSalvadorDuiLookupInput.ts +80 -0
  605. package/src/models/ElSalvadorDuiProviderOutput.ts +91 -0
  606. package/src/models/EstoniaIdCardProviderOutput.ts +1 -1
  607. package/src/models/FaydaProviderAddress.ts +87 -0
  608. package/src/models/FaydaProviderOutput.ts +77 -3
  609. package/src/models/FinlandIdCardProviderOutput.ts +1 -1
  610. package/src/models/FinnishTrustNetworkProviderOutput.ts +5 -5
  611. package/src/models/FrejaProviderOutput.ts +2 -2
  612. package/src/models/FrenchNumeriqueGivenName.ts +2 -2
  613. package/src/models/FrenchNumeriqueProviderOutput.ts +12 -12
  614. package/src/models/GoogleWalletInput.ts +2 -0
  615. package/src/models/GuatemalaCuiLookupInput.ts +76 -0
  616. package/src/models/GuatemalaCuiProviderOutput.ts +172 -0
  617. package/src/models/IndiaPanLookupInput.ts +67 -0
  618. package/src/models/IndiaPanLookupProviderOutput.ts +160 -0
  619. package/src/models/IndiaPanStructuredNumber.ts +176 -0
  620. package/src/models/IndonesiaDukcapilMatchInput.ts +2 -2
  621. package/src/models/IndonesiaNikInput.ts +1 -1
  622. package/src/models/ItsmeProviderOutput.ts +1 -1
  623. package/src/models/KenyaNidBiometric2Input.ts +5 -1
  624. package/src/models/KenyaNidInput.ts +1 -1
  625. package/src/models/KenyaNidLookup2Input.ts +5 -1
  626. package/src/models/KenyaNidLookup2ProviderOutput.ts +5 -6
  627. package/src/models/KenyaNidMatch2Input.ts +6 -2
  628. package/src/models/KoreaTelcoMatchInput.ts +135 -0
  629. package/src/models/KoreaTelcoMatchProviderOutput.ts +96 -0
  630. package/src/models/KoreaTelcoMatchSex.ts +53 -0
  631. package/src/models/LaWalletProviderOutput.ts +3 -3
  632. package/src/models/LithuaniaIdCardProviderOutput.ts +1 -1
  633. package/src/models/LloydsSmartIdProviderOutput.ts +3 -3
  634. package/src/models/MdlOutput.ts +2 -2
  635. package/src/models/MdlOutputCertificateData.ts +2 -2
  636. package/src/models/MitIdProviderOutput.ts +11 -11
  637. package/src/models/MobileCarrier.ts +54 -0
  638. package/src/models/MobileIdProviderOutput.ts +1 -1
  639. package/src/models/MobileOperatingSystem.ts +54 -0
  640. package/src/models/NetherlandsIdinAddress.ts +104 -0
  641. package/src/models/NetherlandsIdinProviderOutput.ts +163 -0
  642. package/src/models/NigeriaNinInput.ts +1 -1
  643. package/src/models/NigeriaNinLookup2ProviderOutput.ts +1 -1
  644. package/src/models/NigeriaNinMatch2Input.ts +1 -1
  645. package/src/models/NorwegianBankIdProviderOutput.ts +5 -5
  646. package/src/models/OneIdProviderOutput.ts +1 -1
  647. package/src/models/OutputFrejaDocument.ts +1 -1
  648. package/src/models/PanamaCedulaLookupInput.ts +87 -0
  649. package/src/models/PanamaCedulaProviderOutput.ts +162 -0
  650. package/src/models/PersonData.ts +1 -1
  651. package/src/models/PeruDniProviderOutput.ts +4 -4
  652. package/src/models/PhilippineMatchInput.ts +1 -1
  653. package/src/models/PhilippinesDigitalNidProviderOutput.ts +2 -2
  654. package/src/models/PhilippinesPhysicalNidProviderOutput.ts +2 -2
  655. package/src/models/PolandEdoAppProviderOutput.ts +1 -1
  656. package/src/models/PolandMobywatelMatchInput.ts +130 -0
  657. package/src/models/PolandMobywatelMatchProviderOutput.ts +224 -0
  658. package/src/models/PortugalIdCardProviderOutput.ts +1 -1
  659. package/src/models/PostOfficeEasyIdProviderOutput.ts +3 -3
  660. package/src/models/Provider.ts +15 -0
  661. package/src/models/ProviderInput.ts +150 -0
  662. package/src/models/ProviderOutput.ts +337 -112
  663. package/src/models/ProviderSupportedLanguage.ts +74 -0
  664. package/src/models/SerbiaIdCardProviderOutput.ts +1 -1
  665. package/src/models/SignzyIndiaAadhaarFetchProviderOutput.ts +183 -0
  666. package/src/models/SingpassLoginProviderOutput.ts +132 -0
  667. package/src/models/SingpassMyInfoDescription.ts +73 -0
  668. package/src/models/SingpassMyInfoProviderOutput.ts +81 -0
  669. package/src/models/SingpassMyInfoRegisteredAddressOutput.ts +162 -0
  670. package/src/models/SingpassPersonalCatalog.ts +353 -0
  671. package/src/models/SingpassPhoneNumber.ts +81 -0
  672. package/src/models/SmartIdProviderOutput.ts +2 -2
  673. package/src/models/SouthAfricaNidInput.ts +1 -1
  674. package/src/models/SouthAfricaNidMatch2Input.ts +1 -1
  675. package/src/models/SpidProviderOutput.ts +2 -2
  676. package/src/models/StepRefreshInfo.ts +2 -2
  677. package/src/models/SwedenBankIdProviderOutput.ts +6 -6
  678. package/src/models/UgandaNidMatch2Input.ts +1 -1
  679. package/src/models/UkEvisaLookupInput.ts +1 -1
  680. package/src/models/UnitedKingdomEvisaProviderOutput.ts +6 -4
  681. package/src/models/UsaCaliforniaDmvInput.ts +75 -0
  682. package/src/models/VerificationProfileResponse.ts +8 -0
  683. package/src/models/YotiDeeplinkProviderOutput.ts +3 -3
  684. package/src/models/YotiDocumentDetails.ts +1 -1
  685. package/src/models/YotiProviderOutput.ts +3 -3
  686. package/src/models/index.ts +38 -4
  687. package/src/runtime.ts +18 -0
  688. package/dist/esm/models/ConnectIdBeneficiaryAccount.d.ts +0 -52
  689. package/dist/esm/models/ConnectIdBeneficiaryAccount.js +0 -47
  690. package/dist/esm/models/CreateWidgetSessionRequest.d.ts +0 -57
  691. package/dist/esm/models/CreateWidgetSessionRequest.js +0 -50
  692. package/dist/esm/models/CreateWidgetSessionResponse.d.ts +0 -54
  693. package/dist/esm/models/CreateWidgetSessionResponse.js +0 -51
  694. package/dist/esm/models/HttpValidationProblemDetails.d.ts +0 -64
  695. package/dist/esm/models/HttpValidationProblemDetails.js +0 -51
  696. package/dist/models/ConnectIdBeneficiaryAccount.d.ts +0 -52
  697. package/dist/models/ConnectIdBeneficiaryAccount.js +0 -54
  698. package/dist/models/CreateWidgetSessionRequest.d.ts +0 -57
  699. package/dist/models/CreateWidgetSessionRequest.js +0 -57
  700. package/dist/models/CreateWidgetSessionResponse.d.ts +0 -54
  701. package/dist/models/CreateWidgetSessionResponse.js +0 -58
  702. package/dist/models/HttpValidationProblemDetails.d.ts +0 -64
  703. package/dist/models/HttpValidationProblemDetails.js +0 -58
  704. package/src/models/ConnectIdBeneficiaryAccount.ts +0 -91
  705. package/src/models/CreateWidgetSessionRequest.ts +0 -104
  706. package/src/models/CreateWidgetSessionResponse.ts +0 -94
  707. package/src/models/HttpValidationProblemDetails.ts +0 -105
@@ -35,6 +35,7 @@ export interface CreateVerificationProfileRequest {
35
35
  alias: string;
36
36
  brandName: string;
37
37
  primaryColor?: string;
38
+ externalId?: string;
38
39
  providers?: Array<string>;
39
40
  logo?: Blob;
40
41
  redactionPeriod?: string;
@@ -42,6 +43,10 @@ export interface CreateVerificationProfileRequest {
42
43
  isProductionUsage?: boolean;
43
44
  }
44
45
 
46
+ export interface GetVerificationProfileByExternalIdRequest {
47
+ externalId: string;
48
+ }
49
+
45
50
  export interface GetVerificationProfileByIdRequest {
46
51
  id: string;
47
52
  }
@@ -58,12 +63,29 @@ export interface ListVerificationProfilesRequest {
58
63
  * @interface VerificationProfilesApiInterface
59
64
  */
60
65
  export interface VerificationProfilesApiInterface {
66
+ /**
67
+ * Creates request options for createVerificationProfile without sending the request
68
+ * @param {string} alias An alias of the verification profile shown to developers and administrators.
69
+ * @param {string} brandName The brand name of the verification profile shown to end-users.
70
+ * @param {string} [primaryColor] The primary color of the verification profile. Must be a 6-character hex string prefixed with a \\\&#39;#\\\&#39; character. Example: #000000
71
+ * @param {string} [externalId] A customer-defined external ID for this verification profile. Must be unique within your organization and be at most 255 characters long.
72
+ * @param {Array<string>} [providers] The list of providers you\\\&#39;d like to select for this profile. We will not currently enable any providers.
73
+ * @param {Blob} [logo] The logo of the verification profile.
74
+ * @param {string} [redactionPeriod] The redaction period for verification data. Must be between 0 and 31 days, and at least 15 minutes greater than the session expiration. If not specified, defaults to 31 days.
75
+ * @param {string} [sessionExpiration] The session expiration for verification sessions created with this profile. Must be between 15 minutes and 24 hours. Defaults to 1 hour if not specified.
76
+ * @param {boolean} [isProductionUsage] Whether this profile is for production usage. Only applicable for Live environment profiles. If not specified for Live profiles, defaults to false (Demo).
77
+ * @throws {RequiredError}
78
+ * @memberof VerificationProfilesApiInterface
79
+ */
80
+ createVerificationProfileRequestOpts(requestParameters: CreateVerificationProfileRequest): Promise<runtime.RequestOpts>;
81
+
61
82
  /**
62
83
  * Creates a new verification profile within your organization.
63
84
  * @summary Create Verification Profile
64
85
  * @param {string} alias An alias of the verification profile shown to developers and administrators.
65
86
  * @param {string} brandName The brand name of the verification profile shown to end-users.
66
87
  * @param {string} [primaryColor] The primary color of the verification profile. Must be a 6-character hex string prefixed with a \\\&#39;#\\\&#39; character. Example: #000000
88
+ * @param {string} [externalId] A customer-defined external ID for this verification profile. Must be unique within your organization and be at most 255 characters long.
67
89
  * @param {Array<string>} [providers] The list of providers you\\\&#39;d like to select for this profile. We will not currently enable any providers.
68
90
  * @param {Blob} [logo] The logo of the verification profile.
69
91
  * @param {string} [redactionPeriod] The redaction period for verification data. Must be between 0 and 31 days, and at least 15 minutes greater than the session expiration. If not specified, defaults to 31 days.
@@ -79,7 +101,39 @@ export interface VerificationProfilesApiInterface {
79
101
  * Creates a new verification profile within your organization.
80
102
  * Create Verification Profile
81
103
  */
82
- createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, redactionPeriod?: string, sessionExpiration?: string, isProductionUsage?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse>;
104
+ createVerificationProfile(alias: string, brandName: string, primaryColor?: string, externalId?: string, providers?: Array<string>, logo?: Blob, redactionPeriod?: string, sessionExpiration?: string, isProductionUsage?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse>;
105
+
106
+ /**
107
+ * Creates request options for getVerificationProfileByExternalId without sending the request
108
+ * @param {string} externalId Customer-defined external ID
109
+ * @throws {RequiredError}
110
+ * @memberof VerificationProfilesApiInterface
111
+ */
112
+ getVerificationProfileByExternalIdRequestOpts(requestParameters: GetVerificationProfileByExternalIdRequest): Promise<runtime.RequestOpts>;
113
+
114
+ /**
115
+ * Gets a specific verification profile by its customer-defined external ID.
116
+ * @summary Get Verification Profile by External ID
117
+ * @param {string} externalId Customer-defined external ID
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ * @memberof VerificationProfilesApiInterface
121
+ */
122
+ getVerificationProfileByExternalIdRaw(requestParameters: GetVerificationProfileByExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerificationProfileResponse>>;
123
+
124
+ /**
125
+ * Gets a specific verification profile by its customer-defined external ID.
126
+ * Get Verification Profile by External ID
127
+ */
128
+ getVerificationProfileByExternalId(externalId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerificationProfileResponse>;
129
+
130
+ /**
131
+ * Creates request options for getVerificationProfileById without sending the request
132
+ * @param {string} id
133
+ * @throws {RequiredError}
134
+ * @memberof VerificationProfilesApiInterface
135
+ */
136
+ getVerificationProfileByIdRequestOpts(requestParameters: GetVerificationProfileByIdRequest): Promise<runtime.RequestOpts>;
83
137
 
84
138
  /**
85
139
  * Gets a specific verification profile by ID.
@@ -97,6 +151,15 @@ export interface VerificationProfilesApiInterface {
97
151
  */
98
152
  getVerificationProfileById(id: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerificationProfileResponse>;
99
153
 
154
+ /**
155
+ * Creates request options for listVerificationProfiles without sending the request
156
+ * @param {number} [page]
157
+ * @param {number} [pageSize] Size of the list to be returned. Accepted range from 1 to 100
158
+ * @throws {RequiredError}
159
+ * @memberof VerificationProfilesApiInterface
160
+ */
161
+ listVerificationProfilesRequestOpts(requestParameters: ListVerificationProfilesRequest): Promise<runtime.RequestOpts>;
162
+
100
163
  /**
101
164
  * List the verification profiles for the current organization and environment.
102
165
  * @summary List Verification Profiles
@@ -122,10 +185,9 @@ export interface VerificationProfilesApiInterface {
122
185
  export class VerificationProfilesApi extends runtime.BaseAPI implements VerificationProfilesApiInterface {
123
186
 
124
187
  /**
125
- * Creates a new verification profile within your organization.
126
- * Create Verification Profile
188
+ * Creates request options for createVerificationProfile without sending the request
127
189
  */
128
- async createVerificationProfileRaw(requestParameters: CreateVerificationProfileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateVerificationProfileResponse>> {
190
+ async createVerificationProfileRequestOpts(requestParameters: CreateVerificationProfileRequest): Promise<runtime.RequestOpts> {
129
191
  if (requestParameters['alias'] == null) {
130
192
  throw new runtime.RequiredError(
131
193
  'alias',
@@ -180,6 +242,10 @@ export class VerificationProfilesApi extends runtime.BaseAPI implements Verifica
180
242
  formParams.append('PrimaryColor', requestParameters['primaryColor'] as any);
181
243
  }
182
244
 
245
+ if (requestParameters['externalId'] != null) {
246
+ formParams.append('ExternalId', requestParameters['externalId'] as any);
247
+ }
248
+
183
249
  if (requestParameters['providers'] != null) {
184
250
  requestParameters['providers'].forEach((element) => {
185
251
  formParams.append('Providers', element as any);
@@ -202,13 +268,25 @@ export class VerificationProfilesApi extends runtime.BaseAPI implements Verifica
202
268
  formParams.append('IsProductionUsage', requestParameters['isProductionUsage'] as any);
203
269
  }
204
270
 
205
- const response = await this.request({
206
- path: `/api/valpha/verification-profiles`,
271
+
272
+ let urlPath = `/api/valpha/verification-profiles`;
273
+
274
+ return {
275
+ path: urlPath,
207
276
  method: 'POST',
208
277
  headers: headerParameters,
209
278
  query: queryParameters,
210
279
  body: formParams,
211
- }, initOverrides);
280
+ };
281
+ }
282
+
283
+ /**
284
+ * Creates a new verification profile within your organization.
285
+ * Create Verification Profile
286
+ */
287
+ async createVerificationProfileRaw(requestParameters: CreateVerificationProfileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateVerificationProfileResponse>> {
288
+ const requestOptions = await this.createVerificationProfileRequestOpts(requestParameters);
289
+ const response = await this.request(requestOptions, initOverrides);
212
290
 
213
291
  return new runtime.JSONApiResponse(response, (jsonValue) => CreateVerificationProfileResponseFromJSON(jsonValue));
214
292
  }
@@ -217,16 +295,70 @@ export class VerificationProfilesApi extends runtime.BaseAPI implements Verifica
217
295
  * Creates a new verification profile within your organization.
218
296
  * Create Verification Profile
219
297
  */
220
- async createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, redactionPeriod?: string, sessionExpiration?: string, isProductionUsage?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse> {
221
- const response = await this.createVerificationProfileRaw({ alias: alias, brandName: brandName, primaryColor: primaryColor, providers: providers, logo: logo, redactionPeriod: redactionPeriod, sessionExpiration: sessionExpiration, isProductionUsage: isProductionUsage }, initOverrides);
298
+ async createVerificationProfile(alias: string, brandName: string, primaryColor?: string, externalId?: string, providers?: Array<string>, logo?: Blob, redactionPeriod?: string, sessionExpiration?: string, isProductionUsage?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse> {
299
+ const response = await this.createVerificationProfileRaw({ alias: alias, brandName: brandName, primaryColor: primaryColor, externalId: externalId, providers: providers, logo: logo, redactionPeriod: redactionPeriod, sessionExpiration: sessionExpiration, isProductionUsage: isProductionUsage }, initOverrides);
222
300
  return await response.value();
223
301
  }
224
302
 
225
303
  /**
226
- * Gets a specific verification profile by ID.
227
- * Get Verification Profile
304
+ * Creates request options for getVerificationProfileByExternalId without sending the request
228
305
  */
229
- async getVerificationProfileByIdRaw(requestParameters: GetVerificationProfileByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerificationProfileResponse>> {
306
+ async getVerificationProfileByExternalIdRequestOpts(requestParameters: GetVerificationProfileByExternalIdRequest): Promise<runtime.RequestOpts> {
307
+ if (requestParameters['externalId'] == null) {
308
+ throw new runtime.RequiredError(
309
+ 'externalId',
310
+ 'Required parameter "externalId" was null or undefined when calling getVerificationProfileByExternalId().'
311
+ );
312
+ }
313
+
314
+ const queryParameters: any = {};
315
+
316
+ const headerParameters: runtime.HTTPHeaders = {};
317
+
318
+ if (this.configuration && this.configuration.accessToken) {
319
+ const token = this.configuration.accessToken;
320
+ const tokenString = await token("Bearer", []);
321
+
322
+ if (tokenString) {
323
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
324
+ }
325
+ }
326
+
327
+ let urlPath = `/api/valpha/verification-profiles/external-ids/{externalId}`;
328
+ urlPath = urlPath.replace(`{${"externalId"}}`, encodeURIComponent(String(requestParameters['externalId'])));
329
+
330
+ return {
331
+ path: urlPath,
332
+ method: 'GET',
333
+ headers: headerParameters,
334
+ query: queryParameters,
335
+ };
336
+ }
337
+
338
+ /**
339
+ * Gets a specific verification profile by its customer-defined external ID.
340
+ * Get Verification Profile by External ID
341
+ */
342
+ async getVerificationProfileByExternalIdRaw(requestParameters: GetVerificationProfileByExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerificationProfileResponse>> {
343
+ const requestOptions = await this.getVerificationProfileByExternalIdRequestOpts(requestParameters);
344
+ const response = await this.request(requestOptions, initOverrides);
345
+
346
+ return new runtime.JSONApiResponse(response, (jsonValue) => VerificationProfileResponseFromJSON(jsonValue));
347
+ }
348
+
349
+ /**
350
+ * Gets a specific verification profile by its customer-defined external ID.
351
+ * Get Verification Profile by External ID
352
+ */
353
+ async getVerificationProfileByExternalId(externalId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerificationProfileResponse> {
354
+ const response = await this.getVerificationProfileByExternalIdRaw({ externalId: externalId }, initOverrides);
355
+ return await response.value();
356
+ }
357
+
358
+ /**
359
+ * Creates request options for getVerificationProfileById without sending the request
360
+ */
361
+ async getVerificationProfileByIdRequestOpts(requestParameters: GetVerificationProfileByIdRequest): Promise<runtime.RequestOpts> {
230
362
  if (requestParameters['id'] == null) {
231
363
  throw new runtime.RequiredError(
232
364
  'id',
@@ -246,12 +378,25 @@ export class VerificationProfilesApi extends runtime.BaseAPI implements Verifica
246
378
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
247
379
  }
248
380
  }
249
- const response = await this.request({
250
- path: `/api/valpha/verification-profiles/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
381
+
382
+ let urlPath = `/api/valpha/verification-profiles/{id}`;
383
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
384
+
385
+ return {
386
+ path: urlPath,
251
387
  method: 'GET',
252
388
  headers: headerParameters,
253
389
  query: queryParameters,
254
- }, initOverrides);
390
+ };
391
+ }
392
+
393
+ /**
394
+ * Gets a specific verification profile by ID.
395
+ * Get Verification Profile
396
+ */
397
+ async getVerificationProfileByIdRaw(requestParameters: GetVerificationProfileByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerificationProfileResponse>> {
398
+ const requestOptions = await this.getVerificationProfileByIdRequestOpts(requestParameters);
399
+ const response = await this.request(requestOptions, initOverrides);
255
400
 
256
401
  return new runtime.JSONApiResponse(response, (jsonValue) => VerificationProfileResponseFromJSON(jsonValue));
257
402
  }
@@ -266,10 +411,9 @@ export class VerificationProfilesApi extends runtime.BaseAPI implements Verifica
266
411
  }
267
412
 
268
413
  /**
269
- * List the verification profiles for the current organization and environment.
270
- * List Verification Profiles
414
+ * Creates request options for listVerificationProfiles without sending the request
271
415
  */
272
- async listVerificationProfilesRaw(requestParameters: ListVerificationProfilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListVerificationProfilesResponse>> {
416
+ async listVerificationProfilesRequestOpts(requestParameters: ListVerificationProfilesRequest): Promise<runtime.RequestOpts> {
273
417
  const queryParameters: any = {};
274
418
 
275
419
  if (requestParameters['page'] != null) {
@@ -290,12 +434,24 @@ export class VerificationProfilesApi extends runtime.BaseAPI implements Verifica
290
434
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
291
435
  }
292
436
  }
293
- const response = await this.request({
294
- path: `/api/valpha/verification-profiles`,
437
+
438
+ let urlPath = `/api/valpha/verification-profiles`;
439
+
440
+ return {
441
+ path: urlPath,
295
442
  method: 'GET',
296
443
  headers: headerParameters,
297
444
  query: queryParameters,
298
- }, initOverrides);
445
+ };
446
+ }
447
+
448
+ /**
449
+ * List the verification profiles for the current organization and environment.
450
+ * List Verification Profiles
451
+ */
452
+ async listVerificationProfilesRaw(requestParameters: ListVerificationProfilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListVerificationProfilesResponse>> {
453
+ const requestOptions = await this.listVerificationProfilesRequestOpts(requestParameters);
454
+ const response = await this.request(requestOptions, initOverrides);
299
455
 
300
456
  return new runtime.JSONApiResponse(response, (jsonValue) => ListVerificationProfilesResponseFromJSON(jsonValue));
301
457
  }
@@ -0,0 +1,155 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ * The structured Indian address.
18
+ * @export
19
+ * @interface AadhaarAddress
20
+ */
21
+ export interface AadhaarAddress {
22
+ /**
23
+ * The address's care-of field. This indicates that mail should be delivered to an individual through another person or entity who is a known resident at the address.
24
+ * @type {string}
25
+ * @memberof AadhaarAddress
26
+ */
27
+ careOf?: string | null;
28
+ /**
29
+ * The address's country.
30
+ *
31
+ * This is usually formatted as an alpha-2 country code, but localized output may instead contain the country name as written on the document.
32
+ * @type {string}
33
+ * @memberof AadhaarAddress
34
+ */
35
+ country?: string | null;
36
+ /**
37
+ * The address's district.
38
+ * @type {string}
39
+ * @memberof AadhaarAddress
40
+ */
41
+ district?: string | null;
42
+ /**
43
+ * The identifier for the house address.
44
+ * @type {string}
45
+ * @memberof AadhaarAddress
46
+ */
47
+ house?: string | null;
48
+ /**
49
+ * The location or locality that helps identify where the address is within a city.
50
+ * @type {string}
51
+ * @memberof AadhaarAddress
52
+ */
53
+ location?: string | null;
54
+ /**
55
+ * A landmark near the address.
56
+ * @type {string}
57
+ * @memberof AadhaarAddress
58
+ */
59
+ landmark?: string | null;
60
+ /**
61
+ * The address's postal code.
62
+ * @type {string}
63
+ * @memberof AadhaarAddress
64
+ */
65
+ postalCode?: string | null;
66
+ /**
67
+ * The address's post office.
68
+ * @type {string}
69
+ * @memberof AadhaarAddress
70
+ */
71
+ postOffice?: string | null;
72
+ /**
73
+ * The address's state or union territory.
74
+ * @type {string}
75
+ * @memberof AadhaarAddress
76
+ */
77
+ state?: string | null;
78
+ /**
79
+ * The address's street name.
80
+ * @type {string}
81
+ * @memberof AadhaarAddress
82
+ */
83
+ street?: string | null;
84
+ /**
85
+ * The address's subdistrict.
86
+ * @type {string}
87
+ * @memberof AadhaarAddress
88
+ */
89
+ subdistrict?: string | null;
90
+ /**
91
+ * The address's village/town/city.
92
+ * @type {string}
93
+ * @memberof AadhaarAddress
94
+ */
95
+ villageTownCity?: string | null;
96
+ }
97
+
98
+ /**
99
+ * Check if a given object implements the AadhaarAddress interface.
100
+ */
101
+ export function instanceOfAadhaarAddress(value: object): value is AadhaarAddress {
102
+ return true;
103
+ }
104
+
105
+ export function AadhaarAddressFromJSON(json: any): AadhaarAddress {
106
+ return AadhaarAddressFromJSONTyped(json, false);
107
+ }
108
+
109
+ export function AadhaarAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): AadhaarAddress {
110
+ if (json == null) {
111
+ return json;
112
+ }
113
+ return {
114
+
115
+ 'careOf': json['careOf'] == null ? undefined : json['careOf'],
116
+ 'country': json['country'] == null ? undefined : json['country'],
117
+ 'district': json['district'] == null ? undefined : json['district'],
118
+ 'house': json['house'] == null ? undefined : json['house'],
119
+ 'location': json['location'] == null ? undefined : json['location'],
120
+ 'landmark': json['landmark'] == null ? undefined : json['landmark'],
121
+ 'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
122
+ 'postOffice': json['postOffice'] == null ? undefined : json['postOffice'],
123
+ 'state': json['state'] == null ? undefined : json['state'],
124
+ 'street': json['street'] == null ? undefined : json['street'],
125
+ 'subdistrict': json['subdistrict'] == null ? undefined : json['subdistrict'],
126
+ 'villageTownCity': json['villageTownCity'] == null ? undefined : json['villageTownCity'],
127
+ };
128
+ }
129
+
130
+ export function AadhaarAddressToJSON(json: any): AadhaarAddress {
131
+ return AadhaarAddressToJSONTyped(json, false);
132
+ }
133
+
134
+ export function AadhaarAddressToJSONTyped(value?: AadhaarAddress | null, ignoreDiscriminator: boolean = false): any {
135
+ if (value == null) {
136
+ return value;
137
+ }
138
+
139
+ return {
140
+
141
+ 'careOf': value['careOf'],
142
+ 'country': value['country'],
143
+ 'district': value['district'],
144
+ 'house': value['house'],
145
+ 'location': value['location'],
146
+ 'landmark': value['landmark'],
147
+ 'postalCode': value['postalCode'],
148
+ 'postOffice': value['postOffice'],
149
+ 'state': value['state'],
150
+ 'street': value['street'],
151
+ 'subdistrict': value['subdistrict'],
152
+ 'villageTownCity': value['villageTownCity'],
153
+ };
154
+ }
155
+
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { AadhaarAddress } from './AadhaarAddress';
17
+ import {
18
+ AadhaarAddressFromJSON,
19
+ AadhaarAddressFromJSONTyped,
20
+ AadhaarAddressToJSON,
21
+ AadhaarAddressToJSONTyped,
22
+ } from './AadhaarAddress';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -45,79 +53,11 @@ export interface AadhaarClaims {
45
53
  */
46
54
  gender?: string | null;
47
55
  /**
48
- * The address's care-of field. This indicates that mail should be delivered to an individual through another person or entity who is a known resident at the address.
49
- * @type {string}
50
- * @memberof AadhaarClaims
51
- */
52
- careOf?: string | null;
53
- /**
54
- * The address's country.
55
- *
56
- * This is formatted as an alpha-2 country code.
57
- * @type {string}
58
- * @memberof AadhaarClaims
59
- */
60
- country?: string | null;
61
- /**
62
- * The address's district.
63
- * @type {string}
64
- * @memberof AadhaarClaims
65
- */
66
- district?: string | null;
67
- /**
68
- * The identifier for the house address.
69
- * @type {string}
70
- * @memberof AadhaarClaims
71
- */
72
- house?: string | null;
73
- /**
74
- * The location or locality that helps identify where the address is within a city.
75
- * @type {string}
76
- * @memberof AadhaarClaims
77
- */
78
- location?: string | null;
79
- /**
80
- * A landmark near the address.
81
- * @type {string}
82
- * @memberof AadhaarClaims
83
- */
84
- landmark?: string | null;
85
- /**
86
- * The address's postal code.
87
- * @type {string}
88
- * @memberof AadhaarClaims
89
- */
90
- postalCode?: string | null;
91
- /**
92
- * The address's post office.
93
- * @type {string}
94
- * @memberof AadhaarClaims
95
- */
96
- postOffice?: string | null;
97
- /**
98
- * The address's state or union territory.
99
- * @type {string}
100
- * @memberof AadhaarClaims
101
- */
102
- state?: string | null;
103
- /**
104
- * The address's street name.
105
- * @type {string}
106
- * @memberof AadhaarClaims
107
- */
108
- street?: string | null;
109
- /**
110
- * The address's subdistrict.
111
- * @type {string}
112
- * @memberof AadhaarClaims
113
- */
114
- subdistrict?: string | null;
115
- /**
116
- * The address's village/town/city.
117
- * @type {string}
56
+ * The structured Indian address.
57
+ * @type {AadhaarAddress}
118
58
  * @memberof AadhaarClaims
119
59
  */
120
- villageTownCity?: string | null;
60
+ address?: AadhaarAddress | null;
121
61
  }
122
62
 
123
63
  /**
@@ -140,18 +80,7 @@ export function AadhaarClaimsFromJSONTyped(json: any, ignoreDiscriminator: boole
140
80
  'name': json['name'] == null ? undefined : json['name'],
141
81
  'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
142
82
  'gender': json['gender'] == null ? undefined : json['gender'],
143
- 'careOf': json['careOf'] == null ? undefined : json['careOf'],
144
- 'country': json['country'] == null ? undefined : json['country'],
145
- 'district': json['district'] == null ? undefined : json['district'],
146
- 'house': json['house'] == null ? undefined : json['house'],
147
- 'location': json['location'] == null ? undefined : json['location'],
148
- 'landmark': json['landmark'] == null ? undefined : json['landmark'],
149
- 'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
150
- 'postOffice': json['postOffice'] == null ? undefined : json['postOffice'],
151
- 'state': json['state'] == null ? undefined : json['state'],
152
- 'street': json['street'] == null ? undefined : json['street'],
153
- 'subdistrict': json['subdistrict'] == null ? undefined : json['subdistrict'],
154
- 'villageTownCity': json['villageTownCity'] == null ? undefined : json['villageTownCity'],
83
+ 'address': json['address'] == null ? undefined : AadhaarAddressFromJSON(json['address']),
155
84
  };
156
85
  }
157
86
 
@@ -167,20 +96,9 @@ export function AadhaarClaimsToJSONTyped(value?: AadhaarClaims | null, ignoreDis
167
96
  return {
168
97
 
169
98
  'name': value['name'],
170
- 'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
99
+ 'dateOfBirth': value['dateOfBirth'] == null ? value['dateOfBirth'] : value['dateOfBirth'].toISOString().substring(0,10),
171
100
  'gender': value['gender'],
172
- 'careOf': value['careOf'],
173
- 'country': value['country'],
174
- 'district': value['district'],
175
- 'house': value['house'],
176
- 'location': value['location'],
177
- 'landmark': value['landmark'],
178
- 'postalCode': value['postalCode'],
179
- 'postOffice': value['postOffice'],
180
- 'state': value['state'],
181
- 'street': value['street'],
182
- 'subdistrict': value['subdistrict'],
183
- 'villageTownCity': value['villageTownCity'],
101
+ 'address': AadhaarAddressToJSON(value['address']),
184
102
  };
185
103
  }
186
104
 
@@ -67,7 +67,7 @@ export function AadhaarInputToJSONTyped(value?: AadhaarInput | null, ignoreDiscr
67
67
  return {
68
68
 
69
69
  'fullName': value['fullName'],
70
- 'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
70
+ 'dateOfBirth': value['dateOfBirth'] == null ? value['dateOfBirth'] : value['dateOfBirth'].toISOString().substring(0,10),
71
71
  };
72
72
  }
73
73
 
@@ -28,7 +28,7 @@ export interface AadhaarLanguage {
28
28
  /**
29
29
  * The language name for the localized claims.
30
30
  *
31
- * This is Trinsic attempting to map the language from the code. This is based on the spec, however, the language code may be inaccurate with the actual language used.
31
+ * This is Trinsic mapping the language from the code. The mapping comes from the spec, however, the code may not always reflect with the actual language used in the localized claims.
32
32
  * Use this as a reference.
33
33
  * Possible values:
34
34
  * - Assamese (01)