@trinsic/api 2.3.0-alpha2 → 3.0.0

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 (548) hide show
  1. package/.openapi-generator/FILES +63 -30
  2. package/dist/apis/ProvidersApi.d.ts +53 -0
  3. package/dist/apis/{AttachmentsApi.js → ProvidersApi.js} +16 -15
  4. package/dist/{esm/apis/EnvironmentRedirectUrisApi.d.ts → apis/RedirectUrisApi.d.ts} +24 -24
  5. package/dist/apis/{EnvironmentRedirectUrisApi.js → RedirectUrisApi.js} +14 -14
  6. package/dist/apis/SessionsApi.d.ts +63 -5
  7. package/dist/apis/SessionsApi.js +80 -2
  8. package/dist/apis/VerificationProfilesApi.d.ts +4 -2
  9. package/dist/apis/VerificationProfilesApi.js +5 -2
  10. package/dist/apis/index.d.ts +2 -4
  11. package/dist/apis/index.js +2 -4
  12. package/dist/esm/apis/ProvidersApi.d.ts +53 -0
  13. package/dist/esm/apis/{AttachmentsApi.js → ProvidersApi.js} +15 -14
  14. package/dist/{apis/EnvironmentRedirectUrisApi.d.ts → esm/apis/RedirectUrisApi.d.ts} +24 -24
  15. package/dist/esm/apis/{EnvironmentRedirectUrisApi.js → RedirectUrisApi.js} +13 -13
  16. package/dist/esm/apis/SessionsApi.d.ts +63 -5
  17. package/dist/esm/apis/SessionsApi.js +81 -3
  18. package/dist/esm/apis/VerificationProfilesApi.d.ts +4 -2
  19. package/dist/esm/apis/VerificationProfilesApi.js +5 -2
  20. package/dist/esm/apis/index.d.ts +2 -4
  21. package/dist/esm/apis/index.js +2 -4
  22. package/dist/esm/models/AddRedirectUriRequest.d.ts +32 -0
  23. package/dist/esm/models/{EnvironmentRedirectUrisAddRequest.js → AddRedirectUriRequest.js} +8 -8
  24. package/dist/esm/models/Address.d.ts +5 -2
  25. package/dist/esm/models/AppleWalletProviderOutput.d.ts +33 -0
  26. package/dist/esm/models/AppleWalletProviderOutput.js +44 -0
  27. package/dist/esm/models/AttachmentInfo.d.ts +62 -0
  28. package/dist/esm/models/AttachmentInfo.js +55 -0
  29. package/dist/esm/models/AttributeAvailability.d.ts +26 -0
  30. package/dist/esm/models/AttributeAvailability.js +44 -0
  31. package/dist/esm/models/AustriaHandySignaturProviderOutput.d.ts +38 -0
  32. package/dist/esm/models/AustriaHandySignaturProviderOutput.js +47 -0
  33. package/dist/esm/models/BelgiumIdCardProviderOutput.d.ts +57 -0
  34. package/dist/esm/models/BelgiumIdCardProviderOutput.js +55 -0
  35. package/dist/esm/models/ContractAttachment.d.ts +49 -0
  36. package/dist/esm/models/ContractAttachment.js +48 -0
  37. package/dist/esm/models/ContractAttribute.d.ts +39 -0
  38. package/dist/esm/models/ContractAttribute.js +48 -0
  39. package/dist/esm/models/CoteDIvoireNidLookup2Input.d.ts +32 -0
  40. package/dist/esm/models/CoteDIvoireNidLookup2Input.js +41 -0
  41. package/dist/esm/models/CzechiaMojeIdProviderOutput.d.ts +52 -0
  42. package/dist/esm/models/CzechiaMojeIdProviderOutput.js +55 -0
  43. package/dist/esm/models/DocumentData.d.ts +13 -5
  44. package/dist/esm/models/DocumentData.js +2 -0
  45. package/dist/esm/models/EstoniaIdCardProviderOutput.d.ts +64 -0
  46. package/dist/esm/models/EstoniaIdCardProviderOutput.js +55 -0
  47. package/dist/esm/models/FaydaProviderOutput.d.ts +1 -1
  48. package/dist/esm/models/FinlandIdCardProviderOutput.d.ts +63 -0
  49. package/dist/esm/models/FinlandIdCardProviderOutput.js +55 -0
  50. package/dist/esm/models/FrejaProviderOutput.d.ts +53 -0
  51. package/dist/esm/models/FrejaProviderOutput.js +55 -0
  52. package/dist/esm/models/FrenchNumeriqueGivenName.d.ts +45 -0
  53. package/dist/esm/models/FrenchNumeriqueGivenName.js +45 -0
  54. package/dist/esm/models/FrenchNumeriqueNationality.d.ts +38 -0
  55. package/dist/esm/models/FrenchNumeriqueNationality.js +43 -0
  56. package/dist/esm/models/FrenchNumeriquePhone.d.ts +44 -0
  57. package/dist/esm/models/FrenchNumeriquePhone.js +45 -0
  58. package/dist/esm/models/FrenchNumeriqueProviderOutput.d.ts +205 -0
  59. package/dist/esm/models/FrenchNumeriqueProviderOutput.js +92 -0
  60. package/dist/esm/models/GetAttachmentRequest.d.ts +4 -8
  61. package/dist/esm/models/GetAttachmentRequest.js +3 -7
  62. package/dist/esm/models/GoogleWalletProviderOutput.d.ts +33 -0
  63. package/dist/esm/models/GoogleWalletProviderOutput.js +44 -0
  64. package/dist/esm/models/IdentityData.d.ts +15 -13
  65. package/dist/esm/models/IdentityData.js +4 -7
  66. package/dist/esm/models/ItsmeProviderOutput.d.ts +69 -0
  67. package/dist/esm/models/ItsmeProviderOutput.js +55 -0
  68. package/dist/esm/models/KenyaNidMatch2Input.d.ts +3 -3
  69. package/dist/esm/models/KenyaNidMatch2Input.js +3 -3
  70. package/dist/esm/models/KenyaNidMatch2InputSex.d.ts +25 -0
  71. package/dist/esm/models/KenyaNidMatch2InputSex.js +43 -0
  72. package/dist/esm/models/LaWalletProviderOutput.d.ts +148 -0
  73. package/dist/esm/models/LaWalletProviderOutput.js +109 -0
  74. package/dist/esm/models/LatviaEparakstsMobileProviderOutput.d.ts +60 -0
  75. package/dist/esm/models/LatviaEparakstsMobileProviderOutput.js +51 -0
  76. package/dist/esm/models/LatviaEparakstsProviderOutput.d.ts +60 -0
  77. package/dist/esm/models/LatviaEparakstsProviderOutput.js +51 -0
  78. package/dist/esm/models/ListProvidersResponse.d.ts +4 -4
  79. package/dist/esm/models/ListProvidersResponse.js +3 -3
  80. package/dist/esm/models/ListRedirectUrisResponse.d.ts +39 -0
  81. package/dist/esm/models/{ListEnvironmentRedirectUrisResponse.js → ListRedirectUrisResponse.js} +8 -8
  82. package/dist/esm/models/LithuaniaIdCardProviderOutput.d.ts +68 -0
  83. package/dist/esm/models/LithuaniaIdCardProviderOutput.js +55 -0
  84. package/dist/esm/models/LloydsSmartIdProviderOutput.d.ts +112 -0
  85. package/dist/esm/models/LloydsSmartIdProviderOutput.js +65 -0
  86. package/dist/esm/models/Match.d.ts +8 -0
  87. package/dist/esm/models/MatchData.d.ts +26 -3
  88. package/dist/esm/models/MatchData.js +2 -0
  89. package/dist/esm/models/MdlOutput.d.ts +60 -0
  90. package/dist/esm/models/MdlOutput.js +56 -0
  91. package/dist/esm/models/MdlOutputCertificateData.d.ts +60 -0
  92. package/dist/esm/models/{MdlCertificateData.js → MdlOutputCertificateData.js} +8 -8
  93. package/dist/esm/models/MdlOutputFieldData.d.ts +39 -0
  94. package/dist/esm/models/{ExternalMdlFieldData.js → MdlOutputFieldData.js} +11 -11
  95. package/dist/esm/models/MdlOutputFieldDataType.d.ts +29 -0
  96. package/dist/esm/models/MdlOutputFieldDataType.js +47 -0
  97. package/dist/esm/models/MexicoCurpProviderOutput.d.ts +1 -1
  98. package/dist/esm/models/MitIdProviderOutput.d.ts +137 -0
  99. package/dist/esm/models/MitIdProviderOutput.js +61 -0
  100. package/dist/esm/models/MobileIdInput.d.ts +3 -3
  101. package/dist/esm/models/MobileIdInput.js +3 -3
  102. package/dist/esm/models/MobileIdLanguage.d.ts +27 -0
  103. package/dist/esm/models/{Language.js → MobileIdLanguage.js} +10 -10
  104. package/dist/esm/models/MobileIdProviderOutput.d.ts +118 -0
  105. package/dist/esm/models/MobileIdProviderOutput.js +57 -0
  106. package/dist/esm/models/NigeriaNinBiometric2Input.d.ts +47 -0
  107. package/dist/esm/models/NigeriaNinBiometric2Input.js +45 -0
  108. package/dist/esm/models/NigeriaNinLookup2Input.d.ts +32 -0
  109. package/dist/esm/models/NigeriaNinLookup2Input.js +41 -0
  110. package/dist/esm/models/NigeriaNinMatch2Input.d.ts +70 -0
  111. package/dist/esm/models/NigeriaNinMatch2Input.js +54 -0
  112. package/dist/esm/models/NigeriaNinMatch2InputSex.d.ts +25 -0
  113. package/dist/esm/models/NigeriaNinMatch2InputSex.js +43 -0
  114. package/dist/esm/models/PersonData.d.ts +8 -6
  115. package/dist/esm/models/PeruDniAddress.d.ts +53 -0
  116. package/dist/esm/models/PeruDniAddress.js +51 -0
  117. package/dist/esm/models/PeruDniLookupInput.d.ts +37 -0
  118. package/dist/esm/models/PeruDniLookupInput.js +41 -0
  119. package/dist/esm/models/PeruDniProviderOutput.d.ts +213 -0
  120. package/dist/esm/models/PeruDniProviderOutput.js +88 -0
  121. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +3 -2
  122. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +3 -2
  123. package/dist/esm/models/PolandEdoAppProviderOutput.d.ts +62 -0
  124. package/dist/esm/models/PolandEdoAppProviderOutput.js +55 -0
  125. package/dist/esm/models/PolandMojeIdProviderOutput.d.ts +56 -0
  126. package/dist/esm/models/PolandMojeIdProviderOutput.js +51 -0
  127. package/dist/esm/models/PortugalIdCardProviderOutput.d.ts +50 -0
  128. package/dist/esm/models/PortugalIdCardProviderOutput.js +55 -0
  129. package/dist/esm/models/PostOfficeEasyIdProviderOutput.d.ts +112 -0
  130. package/dist/esm/models/PostOfficeEasyIdProviderOutput.js +65 -0
  131. package/dist/esm/models/{ProviderContract.d.ts → Provider.d.ts} +71 -68
  132. package/dist/esm/models/{ProviderContract.js → Provider.js} +37 -30
  133. package/dist/esm/models/ProviderInput.d.ts +90 -28
  134. package/dist/esm/models/ProviderInput.js +83 -57
  135. package/dist/esm/models/ProviderOutput.d.ts +200 -11
  136. package/dist/esm/models/ProviderOutput.js +87 -6
  137. package/dist/esm/models/RecommendProviderHealthOption.d.ts +26 -0
  138. package/dist/esm/models/RecommendProviderHealthOption.js +44 -0
  139. package/dist/esm/models/RecommendProviderInformation.d.ts +85 -0
  140. package/dist/esm/models/{ProviderInfo.js → RecommendProviderInformation.js} +17 -17
  141. package/dist/esm/models/RecommendProvidersRequest.d.ts +46 -0
  142. package/dist/esm/models/{RecommendRequest.js → RecommendProvidersRequest.js} +11 -10
  143. package/dist/esm/models/RecommendProvidersResponse.d.ts +33 -0
  144. package/dist/esm/models/RecommendProvidersResponse.js +44 -0
  145. package/dist/esm/models/SamsungWalletProviderOutput.d.ts +33 -0
  146. package/dist/esm/models/SamsungWalletProviderOutput.js +44 -0
  147. package/dist/esm/models/SerbiaIdCardProviderOutput.d.ts +63 -0
  148. package/dist/esm/models/SerbiaIdCardProviderOutput.js +55 -0
  149. package/dist/esm/models/SmartIdInput.d.ts +0 -7
  150. package/dist/esm/models/SmartIdInput.js +0 -2
  151. package/dist/esm/models/SmartIdProviderOutput.d.ts +175 -0
  152. package/dist/esm/models/SmartIdProviderOutput.js +65 -0
  153. package/dist/esm/models/SouthAfricaNidBiometric2Input.d.ts +47 -0
  154. package/dist/esm/models/SouthAfricaNidBiometric2Input.js +45 -0
  155. package/dist/esm/models/SouthAfricaNidMatch2Input.d.ts +70 -0
  156. package/dist/esm/models/SouthAfricaNidMatch2Input.js +54 -0
  157. package/dist/esm/models/SouthAfricaNidMatch2InputSex.d.ts +25 -0
  158. package/dist/esm/models/SouthAfricaNidMatch2InputSex.js +43 -0
  159. package/dist/esm/models/SpidProviderOutput.d.ts +84 -16
  160. package/dist/esm/models/SpidProviderOutput.js +22 -2
  161. package/dist/esm/models/SubProviderMetadata.d.ts +0 -9
  162. package/dist/esm/models/SubProviderMetadata.js +0 -4
  163. package/dist/esm/models/SwedenBankIdProviderOutput.d.ts +110 -0
  164. package/dist/esm/models/SwedenBankIdProviderOutput.js +65 -0
  165. package/dist/esm/models/UgandaNidMatch2Input.d.ts +45 -0
  166. package/dist/esm/models/UgandaNidMatch2Input.js +45 -0
  167. package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
  168. package/dist/esm/models/VerificationProfileResponse.js +4 -0
  169. package/dist/esm/models/YotiDocumentDetails.d.ts +62 -0
  170. package/dist/esm/models/YotiDocumentDetails.js +49 -0
  171. package/dist/esm/models/YotiProviderOutput.d.ts +112 -0
  172. package/dist/esm/models/YotiProviderOutput.js +65 -0
  173. package/dist/esm/models/YotiStructuredPostalAddress.d.ts +152 -0
  174. package/dist/esm/models/YotiStructuredPostalAddress.js +79 -0
  175. package/dist/esm/models/ZimbabweNidLookup2Input.d.ts +32 -0
  176. package/dist/esm/models/ZimbabweNidLookup2Input.js +41 -0
  177. package/dist/esm/models/index.d.ts +61 -26
  178. package/dist/esm/models/index.js +61 -26
  179. package/dist/models/AddRedirectUriRequest.d.ts +32 -0
  180. package/dist/models/AddRedirectUriRequest.js +50 -0
  181. package/dist/models/Address.d.ts +5 -2
  182. package/dist/models/AppleWalletProviderOutput.d.ts +33 -0
  183. package/dist/models/AppleWalletProviderOutput.js +51 -0
  184. package/dist/models/AttachmentInfo.d.ts +62 -0
  185. package/dist/models/AttachmentInfo.js +62 -0
  186. package/dist/models/AttributeAvailability.d.ts +26 -0
  187. package/dist/models/AttributeAvailability.js +52 -0
  188. package/dist/models/AustriaHandySignaturProviderOutput.d.ts +38 -0
  189. package/dist/models/AustriaHandySignaturProviderOutput.js +54 -0
  190. package/dist/models/BelgiumIdCardProviderOutput.d.ts +57 -0
  191. package/dist/models/BelgiumIdCardProviderOutput.js +62 -0
  192. package/dist/models/ContractAttachment.d.ts +49 -0
  193. package/dist/models/ContractAttachment.js +55 -0
  194. package/dist/models/ContractAttribute.d.ts +39 -0
  195. package/dist/models/ContractAttribute.js +55 -0
  196. package/dist/models/CoteDIvoireNidLookup2Input.d.ts +32 -0
  197. package/dist/models/CoteDIvoireNidLookup2Input.js +48 -0
  198. package/dist/models/CzechiaMojeIdProviderOutput.d.ts +52 -0
  199. package/dist/models/CzechiaMojeIdProviderOutput.js +62 -0
  200. package/dist/models/DocumentData.d.ts +13 -5
  201. package/dist/models/DocumentData.js +2 -0
  202. package/dist/models/EstoniaIdCardProviderOutput.d.ts +64 -0
  203. package/dist/models/EstoniaIdCardProviderOutput.js +62 -0
  204. package/dist/models/FaydaProviderOutput.d.ts +1 -1
  205. package/dist/models/FinlandIdCardProviderOutput.d.ts +63 -0
  206. package/dist/models/FinlandIdCardProviderOutput.js +62 -0
  207. package/dist/models/FrejaProviderOutput.d.ts +53 -0
  208. package/dist/models/FrejaProviderOutput.js +62 -0
  209. package/dist/models/FrenchNumeriqueGivenName.d.ts +45 -0
  210. package/dist/models/FrenchNumeriqueGivenName.js +52 -0
  211. package/dist/models/FrenchNumeriqueNationality.d.ts +38 -0
  212. package/dist/models/FrenchNumeriqueNationality.js +50 -0
  213. package/dist/models/FrenchNumeriquePhone.d.ts +44 -0
  214. package/dist/models/FrenchNumeriquePhone.js +52 -0
  215. package/dist/models/FrenchNumeriqueProviderOutput.d.ts +205 -0
  216. package/dist/models/FrenchNumeriqueProviderOutput.js +99 -0
  217. package/dist/models/GetAttachmentRequest.d.ts +4 -8
  218. package/dist/models/GetAttachmentRequest.js +3 -7
  219. package/dist/models/GoogleWalletProviderOutput.d.ts +33 -0
  220. package/dist/models/GoogleWalletProviderOutput.js +51 -0
  221. package/dist/models/IdentityData.d.ts +15 -13
  222. package/dist/models/IdentityData.js +4 -7
  223. package/dist/models/ItsmeProviderOutput.d.ts +69 -0
  224. package/dist/models/ItsmeProviderOutput.js +62 -0
  225. package/dist/models/KenyaNidMatch2Input.d.ts +3 -3
  226. package/dist/models/KenyaNidMatch2Input.js +3 -3
  227. package/dist/models/KenyaNidMatch2InputSex.d.ts +25 -0
  228. package/dist/models/KenyaNidMatch2InputSex.js +51 -0
  229. package/dist/models/LaWalletProviderOutput.d.ts +148 -0
  230. package/dist/models/LaWalletProviderOutput.js +116 -0
  231. package/dist/models/LatviaEparakstsMobileProviderOutput.d.ts +60 -0
  232. package/dist/models/LatviaEparakstsMobileProviderOutput.js +58 -0
  233. package/dist/models/LatviaEparakstsProviderOutput.d.ts +60 -0
  234. package/dist/models/LatviaEparakstsProviderOutput.js +58 -0
  235. package/dist/models/ListProvidersResponse.d.ts +4 -4
  236. package/dist/models/ListProvidersResponse.js +3 -3
  237. package/dist/models/ListRedirectUrisResponse.d.ts +39 -0
  238. package/dist/models/ListRedirectUrisResponse.js +55 -0
  239. package/dist/models/LithuaniaIdCardProviderOutput.d.ts +68 -0
  240. package/dist/models/LithuaniaIdCardProviderOutput.js +62 -0
  241. package/dist/models/LloydsSmartIdProviderOutput.d.ts +112 -0
  242. package/dist/models/LloydsSmartIdProviderOutput.js +72 -0
  243. package/dist/models/Match.d.ts +8 -0
  244. package/dist/models/MatchData.d.ts +26 -3
  245. package/dist/models/MatchData.js +2 -0
  246. package/dist/models/MdlOutput.d.ts +60 -0
  247. package/dist/models/MdlOutput.js +63 -0
  248. package/dist/models/MdlOutputCertificateData.d.ts +60 -0
  249. package/dist/models/{MdlCertificateData.js → MdlOutputCertificateData.js} +13 -13
  250. package/dist/models/MdlOutputFieldData.d.ts +39 -0
  251. package/dist/models/MdlOutputFieldData.js +55 -0
  252. package/dist/models/MdlOutputFieldDataType.d.ts +29 -0
  253. package/dist/models/MdlOutputFieldDataType.js +55 -0
  254. package/dist/models/MexicoCurpProviderOutput.d.ts +1 -1
  255. package/dist/models/MitIdProviderOutput.d.ts +137 -0
  256. package/dist/models/MitIdProviderOutput.js +68 -0
  257. package/dist/models/MobileIdInput.d.ts +3 -3
  258. package/dist/models/MobileIdInput.js +3 -3
  259. package/dist/models/MobileIdLanguage.d.ts +27 -0
  260. package/dist/models/MobileIdLanguage.js +53 -0
  261. package/dist/models/MobileIdProviderOutput.d.ts +118 -0
  262. package/dist/models/MobileIdProviderOutput.js +64 -0
  263. package/dist/models/NigeriaNinBiometric2Input.d.ts +47 -0
  264. package/dist/models/NigeriaNinBiometric2Input.js +52 -0
  265. package/dist/models/NigeriaNinLookup2Input.d.ts +32 -0
  266. package/dist/models/NigeriaNinLookup2Input.js +48 -0
  267. package/dist/models/NigeriaNinMatch2Input.d.ts +70 -0
  268. package/dist/models/NigeriaNinMatch2Input.js +61 -0
  269. package/dist/models/NigeriaNinMatch2InputSex.d.ts +25 -0
  270. package/dist/models/NigeriaNinMatch2InputSex.js +51 -0
  271. package/dist/models/PersonData.d.ts +8 -6
  272. package/dist/models/PeruDniAddress.d.ts +53 -0
  273. package/dist/models/PeruDniAddress.js +58 -0
  274. package/dist/models/PeruDniLookupInput.d.ts +37 -0
  275. package/dist/models/PeruDniLookupInput.js +48 -0
  276. package/dist/models/PeruDniProviderOutput.d.ts +213 -0
  277. package/dist/models/PeruDniProviderOutput.js +95 -0
  278. package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +3 -2
  279. package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +3 -2
  280. package/dist/models/PolandEdoAppProviderOutput.d.ts +62 -0
  281. package/dist/models/PolandEdoAppProviderOutput.js +62 -0
  282. package/dist/models/PolandMojeIdProviderOutput.d.ts +56 -0
  283. package/dist/models/PolandMojeIdProviderOutput.js +58 -0
  284. package/dist/models/PortugalIdCardProviderOutput.d.ts +50 -0
  285. package/dist/models/PortugalIdCardProviderOutput.js +62 -0
  286. package/dist/models/PostOfficeEasyIdProviderOutput.d.ts +112 -0
  287. package/dist/models/PostOfficeEasyIdProviderOutput.js +72 -0
  288. package/dist/models/{ProviderContract.d.ts → Provider.d.ts} +71 -68
  289. package/dist/models/{ProviderContract.js → Provider.js} +42 -35
  290. package/dist/models/ProviderInput.d.ts +90 -28
  291. package/dist/models/ProviderInput.js +83 -57
  292. package/dist/models/ProviderOutput.d.ts +200 -11
  293. package/dist/models/ProviderOutput.js +87 -6
  294. package/dist/models/RecommendProviderHealthOption.d.ts +26 -0
  295. package/dist/models/RecommendProviderHealthOption.js +52 -0
  296. package/dist/models/RecommendProviderInformation.d.ts +85 -0
  297. package/dist/models/{ProviderInfo.js → RecommendProviderInformation.js} +22 -22
  298. package/dist/models/RecommendProvidersRequest.d.ts +46 -0
  299. package/dist/models/RecommendProvidersRequest.js +56 -0
  300. package/dist/models/RecommendProvidersResponse.d.ts +33 -0
  301. package/dist/models/RecommendProvidersResponse.js +51 -0
  302. package/dist/models/SamsungWalletProviderOutput.d.ts +33 -0
  303. package/dist/models/SamsungWalletProviderOutput.js +51 -0
  304. package/dist/models/SerbiaIdCardProviderOutput.d.ts +63 -0
  305. package/dist/models/SerbiaIdCardProviderOutput.js +62 -0
  306. package/dist/models/SmartIdInput.d.ts +0 -7
  307. package/dist/models/SmartIdInput.js +0 -2
  308. package/dist/models/SmartIdProviderOutput.d.ts +175 -0
  309. package/dist/models/SmartIdProviderOutput.js +72 -0
  310. package/dist/models/SouthAfricaNidBiometric2Input.d.ts +47 -0
  311. package/dist/models/SouthAfricaNidBiometric2Input.js +52 -0
  312. package/dist/models/SouthAfricaNidMatch2Input.d.ts +70 -0
  313. package/dist/models/SouthAfricaNidMatch2Input.js +61 -0
  314. package/dist/models/SouthAfricaNidMatch2InputSex.d.ts +25 -0
  315. package/dist/models/SouthAfricaNidMatch2InputSex.js +51 -0
  316. package/dist/models/SpidProviderOutput.d.ts +84 -16
  317. package/dist/models/SpidProviderOutput.js +22 -2
  318. package/dist/models/SubProviderMetadata.d.ts +0 -9
  319. package/dist/models/SubProviderMetadata.js +0 -4
  320. package/dist/models/SwedenBankIdProviderOutput.d.ts +110 -0
  321. package/dist/models/SwedenBankIdProviderOutput.js +72 -0
  322. package/dist/models/UgandaNidMatch2Input.d.ts +45 -0
  323. package/dist/models/UgandaNidMatch2Input.js +52 -0
  324. package/dist/models/VerificationProfileResponse.d.ts +6 -0
  325. package/dist/models/VerificationProfileResponse.js +4 -0
  326. package/dist/models/YotiDocumentDetails.d.ts +62 -0
  327. package/dist/models/YotiDocumentDetails.js +56 -0
  328. package/dist/models/YotiProviderOutput.d.ts +112 -0
  329. package/dist/models/YotiProviderOutput.js +72 -0
  330. package/dist/models/YotiStructuredPostalAddress.d.ts +152 -0
  331. package/dist/models/YotiStructuredPostalAddress.js +86 -0
  332. package/dist/models/ZimbabweNidLookup2Input.d.ts +32 -0
  333. package/dist/models/ZimbabweNidLookup2Input.js +48 -0
  334. package/dist/models/index.d.ts +61 -26
  335. package/dist/models/index.js +61 -26
  336. package/package.json +1 -1
  337. package/src/apis/ProvidersApi.ts +102 -0
  338. package/src/apis/{EnvironmentRedirectUrisApi.ts → RedirectUrisApi.ts} +35 -35
  339. package/src/apis/SessionsApi.ts +152 -4
  340. package/src/apis/VerificationProfilesApi.ts +9 -3
  341. package/src/apis/index.ts +2 -4
  342. package/src/models/AddRedirectUriRequest.ts +66 -0
  343. package/src/models/Address.ts +6 -3
  344. package/src/models/AppleWalletProviderOutput.ts +74 -0
  345. package/src/models/AttachmentInfo.ts +105 -0
  346. package/src/models/AttributeAvailability.ts +54 -0
  347. package/src/models/AustriaHandySignaturProviderOutput.ts +75 -0
  348. package/src/models/BelgiumIdCardProviderOutput.ts +100 -0
  349. package/src/models/ContractAttachment.ts +95 -0
  350. package/src/models/ContractAttribute.ts +85 -0
  351. package/src/models/CoteDIvoireNidLookup2Input.ts +65 -0
  352. package/src/models/CzechiaMojeIdProviderOutput.ts +95 -0
  353. package/src/models/DocumentData.ts +16 -6
  354. package/src/models/EstoniaIdCardProviderOutput.ts +107 -0
  355. package/src/models/FaydaProviderOutput.ts +1 -1
  356. package/src/models/FinlandIdCardProviderOutput.ts +106 -0
  357. package/src/models/FrejaProviderOutput.ts +96 -0
  358. package/src/models/FrenchNumeriqueGivenName.ts +82 -0
  359. package/src/models/FrenchNumeriqueNationality.ts +73 -0
  360. package/src/models/FrenchNumeriquePhone.ts +81 -0
  361. package/src/models/FrenchNumeriqueProviderOutput.ts +305 -0
  362. package/src/models/GetAttachmentRequest.ts +7 -14
  363. package/src/models/GoogleWalletProviderOutput.ts +74 -0
  364. package/src/models/IdentityData.ts +27 -33
  365. package/src/models/ItsmeProviderOutput.ts +113 -0
  366. package/src/models/KenyaNidMatch2Input.ts +10 -10
  367. package/src/models/KenyaNidMatch2InputSex.ts +53 -0
  368. package/src/models/LaWalletProviderOutput.ts +232 -0
  369. package/src/models/LatviaEparakstsMobileProviderOutput.ts +100 -0
  370. package/src/models/LatviaEparakstsProviderOutput.ts +100 -0
  371. package/src/models/ListProvidersResponse.ts +11 -11
  372. package/src/models/{ListEnvironmentRedirectUrisResponse.ts → ListRedirectUrisResponse.ts} +12 -12
  373. package/src/models/LithuaniaIdCardProviderOutput.ts +111 -0
  374. package/src/models/LloydsSmartIdProviderOutput.ts +180 -0
  375. package/src/models/Match.ts +10 -2
  376. package/src/models/MatchData.ts +36 -11
  377. package/src/models/MdlOutput.ts +112 -0
  378. package/src/models/{MdlCertificateData.ts → MdlOutputCertificateData.ts} +18 -16
  379. package/src/models/MdlOutputFieldData.ts +85 -0
  380. package/src/models/MdlOutputFieldDataType.ts +57 -0
  381. package/src/models/MexicoCurpProviderOutput.ts +1 -1
  382. package/src/models/MitIdProviderOutput.ts +190 -0
  383. package/src/models/MobileIdInput.ts +10 -10
  384. package/src/models/MobileIdLanguage.ts +55 -0
  385. package/src/models/MobileIdProviderOutput.ts +167 -0
  386. package/src/models/NigeriaNinBiometric2Input.ts +84 -0
  387. package/src/models/NigeriaNinLookup2Input.ts +65 -0
  388. package/src/models/NigeriaNinMatch2Input.ts +124 -0
  389. package/src/models/NigeriaNinMatch2InputSex.ts +53 -0
  390. package/src/models/PersonData.ts +9 -7
  391. package/src/models/PeruDniAddress.ts +93 -0
  392. package/src/models/PeruDniLookupInput.ts +70 -0
  393. package/src/models/PeruDniProviderOutput.ts +291 -0
  394. package/src/models/PhilippinesDigitalNidProviderOutput.ts +3 -2
  395. package/src/models/PhilippinesPhysicalNidProviderOutput.ts +3 -2
  396. package/src/models/PolandEdoAppProviderOutput.ts +105 -0
  397. package/src/models/PolandMojeIdProviderOutput.ts +96 -0
  398. package/src/models/PortugalIdCardProviderOutput.ts +93 -0
  399. package/src/models/PostOfficeEasyIdProviderOutput.ts +180 -0
  400. package/src/models/{ProviderContract.ts → Provider.ts} +106 -98
  401. package/src/models/ProviderInput.ts +255 -127
  402. package/src/models/ProviderOutput.ts +430 -25
  403. package/src/models/RecommendProviderHealthOption.ts +54 -0
  404. package/src/models/{ProviderInformation.ts → RecommendProviderInformation.ts} +45 -56
  405. package/src/models/{RecommendRequest.ts → RecommendProvidersRequest.ts} +27 -18
  406. package/src/models/RecommendProvidersResponse.ts +74 -0
  407. package/src/models/SamsungWalletProviderOutput.ts +74 -0
  408. package/src/models/SerbiaIdCardProviderOutput.ts +106 -0
  409. package/src/models/SmartIdInput.ts +0 -9
  410. package/src/models/SmartIdProviderOutput.ts +232 -0
  411. package/src/models/SouthAfricaNidBiometric2Input.ts +84 -0
  412. package/src/models/SouthAfricaNidMatch2Input.ts +124 -0
  413. package/src/models/SouthAfricaNidMatch2InputSex.ts +53 -0
  414. package/src/models/SpidProviderOutput.ts +106 -18
  415. package/src/models/SubProviderMetadata.ts +0 -12
  416. package/src/models/SwedenBankIdProviderOutput.ts +167 -0
  417. package/src/models/UgandaNidMatch2Input.ts +82 -0
  418. package/src/models/VerificationProfileResponse.ts +9 -0
  419. package/src/models/YotiDocumentDetails.ts +103 -0
  420. package/src/models/YotiProviderOutput.ts +180 -0
  421. package/src/models/YotiStructuredPostalAddress.ts +223 -0
  422. package/src/models/ZimbabweNidLookup2Input.ts +65 -0
  423. package/src/models/index.ts +61 -26
  424. package/dist/apis/AttachmentsApi.d.ts +0 -53
  425. package/dist/apis/MdlApi.d.ts +0 -80
  426. package/dist/apis/MdlApi.js +0 -105
  427. package/dist/apis/NetworkApi.d.ts +0 -109
  428. package/dist/apis/NetworkApi.js +0 -146
  429. package/dist/esm/apis/AttachmentsApi.d.ts +0 -53
  430. package/dist/esm/apis/MdlApi.d.ts +0 -80
  431. package/dist/esm/apis/MdlApi.js +0 -101
  432. package/dist/esm/apis/NetworkApi.d.ts +0 -109
  433. package/dist/esm/apis/NetworkApi.js +0 -142
  434. package/dist/esm/models/AttachmentAccessKeys.d.ts +0 -63
  435. package/dist/esm/models/AttachmentAccessKeys.js +0 -54
  436. package/dist/esm/models/BangladeshNidInput.d.ts +0 -58
  437. package/dist/esm/models/BangladeshNidInput.js +0 -55
  438. package/dist/esm/models/ContractField.d.ts +0 -46
  439. package/dist/esm/models/ContractField.js +0 -52
  440. package/dist/esm/models/ContractIdentifierField.d.ts +0 -45
  441. package/dist/esm/models/ContractIdentifierField.js +0 -52
  442. package/dist/esm/models/CreateMdlExchangeRequest.d.ts +0 -102
  443. package/dist/esm/models/CreateMdlExchangeRequest.js +0 -66
  444. package/dist/esm/models/CreateMdlExchangeResponse.d.ts +0 -48
  445. package/dist/esm/models/CreateMdlExchangeResponse.js +0 -51
  446. package/dist/esm/models/DocumentScanAttachments.d.ts +0 -32
  447. package/dist/esm/models/DocumentScanAttachments.js +0 -41
  448. package/dist/esm/models/EnvironmentRedirectUrisAddRequest.d.ts +0 -32
  449. package/dist/esm/models/ExternalMdlFieldData.d.ts +0 -39
  450. package/dist/esm/models/FieldAvailability.d.ts +0 -26
  451. package/dist/esm/models/FieldAvailability.js +0 -44
  452. package/dist/esm/models/FinalizeMdlExchangeRequest.d.ts +0 -50
  453. package/dist/esm/models/FinalizeMdlExchangeRequest.js +0 -55
  454. package/dist/esm/models/FinalizeMdlExchangeResponse.d.ts +0 -55
  455. package/dist/esm/models/FinalizeMdlExchangeResponse.js +0 -54
  456. package/dist/esm/models/Identifier.d.ts +0 -44
  457. package/dist/esm/models/Identifier.js +0 -51
  458. package/dist/esm/models/Language.d.ts +0 -27
  459. package/dist/esm/models/ListEnvironmentRedirectUrisResponse.d.ts +0 -39
  460. package/dist/esm/models/ListProviderContractsResponse.d.ts +0 -33
  461. package/dist/esm/models/ListProviderContractsResponse.js +0 -44
  462. package/dist/esm/models/MdlCertificateData.d.ts +0 -58
  463. package/dist/esm/models/MdlFieldDataType.d.ts +0 -28
  464. package/dist/esm/models/MdlFieldDataType.js +0 -46
  465. package/dist/esm/models/MdlIdentityData.d.ts +0 -50
  466. package/dist/esm/models/MdlIdentityData.js +0 -52
  467. package/dist/esm/models/ProviderAttachments.d.ts +0 -33
  468. package/dist/esm/models/ProviderAttachments.js +0 -42
  469. package/dist/esm/models/ProviderInfo.d.ts +0 -76
  470. package/dist/esm/models/ProviderInformation.d.ts +0 -88
  471. package/dist/esm/models/ProviderInformation.js +0 -74
  472. package/dist/esm/models/RecommendRequest.d.ts +0 -45
  473. package/dist/esm/models/RecommendResponse.d.ts +0 -47
  474. package/dist/esm/models/RecommendResponse.js +0 -52
  475. package/dist/esm/models/SexV1.d.ts +0 -27
  476. package/dist/esm/models/SexV1.js +0 -45
  477. package/dist/models/AttachmentAccessKeys.d.ts +0 -63
  478. package/dist/models/AttachmentAccessKeys.js +0 -61
  479. package/dist/models/BangladeshNidInput.d.ts +0 -58
  480. package/dist/models/BangladeshNidInput.js +0 -62
  481. package/dist/models/ContractField.d.ts +0 -46
  482. package/dist/models/ContractField.js +0 -59
  483. package/dist/models/ContractIdentifierField.d.ts +0 -45
  484. package/dist/models/ContractIdentifierField.js +0 -59
  485. package/dist/models/CreateMdlExchangeRequest.d.ts +0 -102
  486. package/dist/models/CreateMdlExchangeRequest.js +0 -73
  487. package/dist/models/CreateMdlExchangeResponse.d.ts +0 -48
  488. package/dist/models/CreateMdlExchangeResponse.js +0 -58
  489. package/dist/models/DocumentScanAttachments.d.ts +0 -32
  490. package/dist/models/DocumentScanAttachments.js +0 -48
  491. package/dist/models/EnvironmentRedirectUrisAddRequest.d.ts +0 -32
  492. package/dist/models/EnvironmentRedirectUrisAddRequest.js +0 -50
  493. package/dist/models/ExternalMdlFieldData.d.ts +0 -39
  494. package/dist/models/ExternalMdlFieldData.js +0 -55
  495. package/dist/models/FieldAvailability.d.ts +0 -26
  496. package/dist/models/FieldAvailability.js +0 -52
  497. package/dist/models/FinalizeMdlExchangeRequest.d.ts +0 -50
  498. package/dist/models/FinalizeMdlExchangeRequest.js +0 -62
  499. package/dist/models/FinalizeMdlExchangeResponse.d.ts +0 -55
  500. package/dist/models/FinalizeMdlExchangeResponse.js +0 -61
  501. package/dist/models/Identifier.d.ts +0 -44
  502. package/dist/models/Identifier.js +0 -58
  503. package/dist/models/Language.d.ts +0 -27
  504. package/dist/models/Language.js +0 -53
  505. package/dist/models/ListEnvironmentRedirectUrisResponse.d.ts +0 -39
  506. package/dist/models/ListEnvironmentRedirectUrisResponse.js +0 -55
  507. package/dist/models/ListProviderContractsResponse.d.ts +0 -33
  508. package/dist/models/ListProviderContractsResponse.js +0 -51
  509. package/dist/models/MdlCertificateData.d.ts +0 -58
  510. package/dist/models/MdlFieldDataType.d.ts +0 -28
  511. package/dist/models/MdlFieldDataType.js +0 -54
  512. package/dist/models/MdlIdentityData.d.ts +0 -50
  513. package/dist/models/MdlIdentityData.js +0 -59
  514. package/dist/models/ProviderAttachments.d.ts +0 -33
  515. package/dist/models/ProviderAttachments.js +0 -49
  516. package/dist/models/ProviderInfo.d.ts +0 -76
  517. package/dist/models/ProviderInformation.d.ts +0 -88
  518. package/dist/models/ProviderInformation.js +0 -81
  519. package/dist/models/RecommendRequest.d.ts +0 -45
  520. package/dist/models/RecommendRequest.js +0 -55
  521. package/dist/models/RecommendResponse.d.ts +0 -47
  522. package/dist/models/RecommendResponse.js +0 -59
  523. package/dist/models/SexV1.d.ts +0 -27
  524. package/dist/models/SexV1.js +0 -53
  525. package/src/apis/AttachmentsApi.ts +0 -104
  526. package/src/apis/MdlApi.ts +0 -169
  527. package/src/apis/NetworkApi.ts +0 -242
  528. package/src/models/AttachmentAccessKeys.ts +0 -114
  529. package/src/models/BangladeshNidInput.ts +0 -102
  530. package/src/models/ContractField.ts +0 -95
  531. package/src/models/ContractIdentifierField.ts +0 -94
  532. package/src/models/CreateMdlExchangeRequest.ts +0 -159
  533. package/src/models/CreateMdlExchangeResponse.ts +0 -88
  534. package/src/models/DocumentScanAttachments.ts +0 -65
  535. package/src/models/EnvironmentRedirectUrisAddRequest.ts +0 -66
  536. package/src/models/ExternalMdlFieldData.ts +0 -85
  537. package/src/models/FieldAvailability.ts +0 -54
  538. package/src/models/FinalizeMdlExchangeRequest.ts +0 -93
  539. package/src/models/FinalizeMdlExchangeResponse.ts +0 -115
  540. package/src/models/Identifier.ts +0 -84
  541. package/src/models/Language.ts +0 -55
  542. package/src/models/ListProviderContractsResponse.ts +0 -74
  543. package/src/models/MdlFieldDataType.ts +0 -56
  544. package/src/models/MdlIdentityData.ts +0 -99
  545. package/src/models/ProviderAttachments.ts +0 -73
  546. package/src/models/ProviderInfo.ts +0 -134
  547. package/src/models/RecommendResponse.ts +0 -94
  548. package/src/models/SexV1.ts +0 -55
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { ProviderInfo } from './ProviderInfo';
16
+ import type { Provider } from './Provider';
17
17
  import {
18
- ProviderInfoFromJSON,
19
- ProviderInfoFromJSONTyped,
20
- ProviderInfoToJSON,
21
- ProviderInfoToJSONTyped,
22
- } from './ProviderInfo';
18
+ ProviderFromJSON,
19
+ ProviderFromJSONTyped,
20
+ ProviderToJSON,
21
+ ProviderToJSONTyped,
22
+ } from './Provider';
23
23
 
24
24
  /**
25
25
  *
@@ -28,11 +28,11 @@ import {
28
28
  */
29
29
  export interface ListProvidersResponse {
30
30
  /**
31
- * The list of identity providers available to your account
32
- * @type {Array<ProviderInfo>}
31
+ * The list of providers available to this organization
32
+ * @type {Array<Provider>}
33
33
  * @memberof ListProvidersResponse
34
34
  */
35
- providers: Array<ProviderInfo>;
35
+ providers: Array<Provider>;
36
36
  }
37
37
 
38
38
  /**
@@ -53,7 +53,7 @@ export function ListProvidersResponseFromJSONTyped(json: any, ignoreDiscriminato
53
53
  }
54
54
  return {
55
55
 
56
- 'providers': ((json['providers'] as Array<any>).map(ProviderInfoFromJSON)),
56
+ 'providers': ((json['providers'] as Array<any>).map(ProviderFromJSON)),
57
57
  };
58
58
  }
59
59
 
@@ -68,7 +68,7 @@ export function ListProvidersResponseToJSONTyped(value?: ListProvidersResponse |
68
68
 
69
69
  return {
70
70
 
71
- 'providers': ((value['providers'] as Array<any>).map(ProviderInfoToJSON)),
71
+ 'providers': ((value['providers'] as Array<any>).map(ProviderToJSON)),
72
72
  };
73
73
  }
74
74
 
@@ -24,37 +24,37 @@ import {
24
24
  /**
25
25
  * Response from listing redirect URIs within an environment.
26
26
  * @export
27
- * @interface ListEnvironmentRedirectUrisResponse
27
+ * @interface ListRedirectUrisResponse
28
28
  */
29
- export interface ListEnvironmentRedirectUrisResponse {
29
+ export interface ListRedirectUrisResponse {
30
30
  /**
31
31
  * List of redirect uris within the environment.
32
32
  * @type {Array<RedirectUriResponse>}
33
- * @memberof ListEnvironmentRedirectUrisResponse
33
+ * @memberof ListRedirectUrisResponse
34
34
  */
35
35
  uris: Array<RedirectUriResponse>;
36
36
  /**
37
37
  * Whether there are additional pages of uris to retrieve
38
38
  * @type {boolean}
39
- * @memberof ListEnvironmentRedirectUrisResponse
39
+ * @memberof ListRedirectUrisResponse
40
40
  */
41
41
  more: boolean;
42
42
  }
43
43
 
44
44
  /**
45
- * Check if a given object implements the ListEnvironmentRedirectUrisResponse interface.
45
+ * Check if a given object implements the ListRedirectUrisResponse interface.
46
46
  */
47
- export function instanceOfListEnvironmentRedirectUrisResponse(value: object): value is ListEnvironmentRedirectUrisResponse {
47
+ export function instanceOfListRedirectUrisResponse(value: object): value is ListRedirectUrisResponse {
48
48
  if (!('uris' in value) || value['uris'] === undefined) return false;
49
49
  if (!('more' in value) || value['more'] === undefined) return false;
50
50
  return true;
51
51
  }
52
52
 
53
- export function ListEnvironmentRedirectUrisResponseFromJSON(json: any): ListEnvironmentRedirectUrisResponse {
54
- return ListEnvironmentRedirectUrisResponseFromJSONTyped(json, false);
53
+ export function ListRedirectUrisResponseFromJSON(json: any): ListRedirectUrisResponse {
54
+ return ListRedirectUrisResponseFromJSONTyped(json, false);
55
55
  }
56
56
 
57
- export function ListEnvironmentRedirectUrisResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListEnvironmentRedirectUrisResponse {
57
+ export function ListRedirectUrisResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListRedirectUrisResponse {
58
58
  if (json == null) {
59
59
  return json;
60
60
  }
@@ -65,11 +65,11 @@ export function ListEnvironmentRedirectUrisResponseFromJSONTyped(json: any, igno
65
65
  };
66
66
  }
67
67
 
68
- export function ListEnvironmentRedirectUrisResponseToJSON(json: any): ListEnvironmentRedirectUrisResponse {
69
- return ListEnvironmentRedirectUrisResponseToJSONTyped(json, false);
68
+ export function ListRedirectUrisResponseToJSON(json: any): ListRedirectUrisResponse {
69
+ return ListRedirectUrisResponseToJSONTyped(json, false);
70
70
  }
71
71
 
72
- export function ListEnvironmentRedirectUrisResponseToJSONTyped(value?: ListEnvironmentRedirectUrisResponse | null, ignoreDiscriminator: boolean = false): any {
72
+ export function ListRedirectUrisResponseToJSONTyped(value?: ListRedirectUrisResponse | null, ignoreDiscriminator: boolean = false): any {
73
73
  if (value == null) {
74
74
  return value;
75
75
  }
@@ -0,0 +1,111 @@
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
+ * Exposed properties for the `a-lt-id-login` Provider which do not directly map to the normalized IdentityData model.
18
+ * @export
19
+ * @interface LithuaniaIdCardProviderOutput
20
+ */
21
+ export interface LithuaniaIdCardProviderOutput {
22
+ /**
23
+ * The first name of the verified individual
24
+ * @type {string}
25
+ * @memberof LithuaniaIdCardProviderOutput
26
+ */
27
+ firstName: string;
28
+ /**
29
+ * The last name of the verified individual
30
+ * @type {string}
31
+ * @memberof LithuaniaIdCardProviderOutput
32
+ */
33
+ lastName: string;
34
+ /**
35
+ * The date of birth of the verified individual
36
+ * @type {Date}
37
+ * @memberof LithuaniaIdCardProviderOutput
38
+ */
39
+ dateOfBirth: Date;
40
+ /**
41
+ * The 11-digit Lithuanian Personal Code (asmens kodas) of the verified individual.
42
+ *
43
+ * If the first digit is "9" (rare), the rest of the identifier is random and has no structure.
44
+ *
45
+ * Otherwise, this is in the format GYYMMDDSSSC, where:
46
+ *
47
+ * - G is both gender and century of birth
48
+ * - YYMMDD is the date of birth
49
+ * - SSS is a sequential serial number
50
+ * - C is a checksum digit
51
+ *
52
+ * If G is odd, the gender is male.
53
+ * If G is even, the gender is female.
54
+ *
55
+ * If G is 1 or 2, the individual was born in the 19th century (1800-1899).
56
+ * If G is 3 or 4, the individual was born in the 20th century (1900-1999).
57
+ * If G is 5 or 6, the individual was born in the 21st century (2000-2099).
58
+ *
59
+ * Rarely, the date of birth may be encoded as 000000 if it is not known.
60
+ * @type {string}
61
+ * @memberof LithuaniaIdCardProviderOutput
62
+ */
63
+ personalCode: string;
64
+ }
65
+
66
+ /**
67
+ * Check if a given object implements the LithuaniaIdCardProviderOutput interface.
68
+ */
69
+ export function instanceOfLithuaniaIdCardProviderOutput(value: object): value is LithuaniaIdCardProviderOutput {
70
+ if (!('firstName' in value) || value['firstName'] === undefined) return false;
71
+ if (!('lastName' in value) || value['lastName'] === undefined) return false;
72
+ if (!('dateOfBirth' in value) || value['dateOfBirth'] === undefined) return false;
73
+ if (!('personalCode' in value) || value['personalCode'] === undefined) return false;
74
+ return true;
75
+ }
76
+
77
+ export function LithuaniaIdCardProviderOutputFromJSON(json: any): LithuaniaIdCardProviderOutput {
78
+ return LithuaniaIdCardProviderOutputFromJSONTyped(json, false);
79
+ }
80
+
81
+ export function LithuaniaIdCardProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LithuaniaIdCardProviderOutput {
82
+ if (json == null) {
83
+ return json;
84
+ }
85
+ return {
86
+
87
+ 'firstName': json['firstName'],
88
+ 'lastName': json['lastName'],
89
+ 'dateOfBirth': (new Date(json['dateOfBirth'])),
90
+ 'personalCode': json['personalCode'],
91
+ };
92
+ }
93
+
94
+ export function LithuaniaIdCardProviderOutputToJSON(json: any): LithuaniaIdCardProviderOutput {
95
+ return LithuaniaIdCardProviderOutputToJSONTyped(json, false);
96
+ }
97
+
98
+ export function LithuaniaIdCardProviderOutputToJSONTyped(value?: LithuaniaIdCardProviderOutput | null, ignoreDiscriminator: boolean = false): any {
99
+ if (value == null) {
100
+ return value;
101
+ }
102
+
103
+ return {
104
+
105
+ 'firstName': value['firstName'],
106
+ 'lastName': value['lastName'],
107
+ 'dateOfBirth': ((value['dateOfBirth']).toISOString().substring(0,10)),
108
+ 'personalCode': value['personalCode'],
109
+ };
110
+ }
111
+
@@ -0,0 +1,180 @@
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
+ import type { YotiStructuredPostalAddress } from './YotiStructuredPostalAddress';
17
+ import {
18
+ YotiStructuredPostalAddressFromJSON,
19
+ YotiStructuredPostalAddressFromJSONTyped,
20
+ YotiStructuredPostalAddressToJSON,
21
+ YotiStructuredPostalAddressToJSONTyped,
22
+ } from './YotiStructuredPostalAddress';
23
+ import type { YotiDocumentDetails } from './YotiDocumentDetails';
24
+ import {
25
+ YotiDocumentDetailsFromJSON,
26
+ YotiDocumentDetailsFromJSONTyped,
27
+ YotiDocumentDetailsToJSON,
28
+ YotiDocumentDetailsToJSONTyped,
29
+ } from './YotiDocumentDetails';
30
+
31
+ /**
32
+ * Exposed properties for the `lloyds-smart-id` Provider which do not directly map to the normalized IdentityData model.
33
+ * @export
34
+ * @interface LloydsSmartIdProviderOutput
35
+ */
36
+ export interface LloydsSmartIdProviderOutput {
37
+ /**
38
+ * The unique id for your service of the individual. This is not shared between different services so if the user logs into a different service, the user will have a new id for the other service.
39
+ * @type {string}
40
+ * @memberof LloydsSmartIdProviderOutput
41
+ */
42
+ rememberMeId?: string | null;
43
+ /**
44
+ * The email address of the individual
45
+ * @type {string}
46
+ * @memberof LloydsSmartIdProviderOutput
47
+ */
48
+ email?: string | null;
49
+ /**
50
+ * The given name of the individual. This can correspond to first and middle names in English.
51
+ * @type {string}
52
+ * @memberof LloydsSmartIdProviderOutput
53
+ */
54
+ givenName?: string | null;
55
+ /**
56
+ * The family name of the individual
57
+ * @type {string}
58
+ * @memberof LloydsSmartIdProviderOutput
59
+ */
60
+ familyName?: string | null;
61
+ /**
62
+ * Full name of the individual which is composed of the given and family name.
63
+ * Unverified full name may be safe to use. For example, Aadhaar card provides full name, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
64
+ * @type {string}
65
+ * @memberof LloydsSmartIdProviderOutput
66
+ */
67
+ fullName?: string | null;
68
+ /**
69
+ * The date of birth of the individual.
70
+ * Unverified date of birth may be safe to use. For example, Aadhaar card provides date of birth, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
71
+ * @type {Date}
72
+ * @memberof LloydsSmartIdProviderOutput
73
+ */
74
+ dateOfBirth?: Date | null;
75
+ /**
76
+ * The gender of the individual. Depending on the source or country, gender may not be verified. This is a setting that can be configured while setting up scopes.
77
+ *
78
+ * Unverified gender may be safe to use. For example, Aadhaar card provides gender, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
79
+ * In some countries
80
+ * Possible values:
81
+ * - "MALE"
82
+ * - "FEMALE"
83
+ * - "TRANSGENDER"
84
+ * - "OTHER"
85
+ * @type {string}
86
+ * @memberof LloydsSmartIdProviderOutput
87
+ */
88
+ gender?: string | null;
89
+ /**
90
+ * The nationality of the individual as a ISO alpha-3 code
91
+ * @type {string}
92
+ * @memberof LloydsSmartIdProviderOutput
93
+ */
94
+ nationality?: string | null;
95
+ /**
96
+ * The mobile phone number of the individual. This number was verified with a one time password (OTP) during the user's registration with Yoti. In some cases, Yoti may do additional checks against its sources to confirm the user's identity.
97
+ * @type {string}
98
+ * @memberof LloydsSmartIdProviderOutput
99
+ */
100
+ mobileNumber?: string | null;
101
+ /**
102
+ * A structured postal address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered "unverified".
103
+ * Unverified addresses may be safe to use. For example, Aadhaar card provides an address, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
104
+ * @type {YotiStructuredPostalAddress}
105
+ * @memberof LloydsSmartIdProviderOutput
106
+ */
107
+ structuredPostalAddress?: YotiStructuredPostalAddress | null;
108
+ /**
109
+ * The whole address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered "unverified". The format of this will be different for each country.
110
+ * Refer to `StructuredPostalAddress` for a detailed version of the address.
111
+ * @type {string}
112
+ * @memberof LloydsSmartIdProviderOutput
113
+ */
114
+ postalAddress?: string | null;
115
+ /**
116
+ * The details of the underlying document used to help create the Yoti credential
117
+ * @type {YotiDocumentDetails}
118
+ * @memberof LloydsSmartIdProviderOutput
119
+ */
120
+ documentDetails?: YotiDocumentDetails | null;
121
+ }
122
+
123
+ /**
124
+ * Check if a given object implements the LloydsSmartIdProviderOutput interface.
125
+ */
126
+ export function instanceOfLloydsSmartIdProviderOutput(value: object): value is LloydsSmartIdProviderOutput {
127
+ return true;
128
+ }
129
+
130
+ export function LloydsSmartIdProviderOutputFromJSON(json: any): LloydsSmartIdProviderOutput {
131
+ return LloydsSmartIdProviderOutputFromJSONTyped(json, false);
132
+ }
133
+
134
+ export function LloydsSmartIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LloydsSmartIdProviderOutput {
135
+ if (json == null) {
136
+ return json;
137
+ }
138
+ return {
139
+
140
+ 'rememberMeId': json['rememberMeId'] == null ? undefined : json['rememberMeId'],
141
+ 'email': json['email'] == null ? undefined : json['email'],
142
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
143
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
144
+ 'fullName': json['fullName'] == null ? undefined : json['fullName'],
145
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
146
+ 'gender': json['gender'] == null ? undefined : json['gender'],
147
+ 'nationality': json['nationality'] == null ? undefined : json['nationality'],
148
+ 'mobileNumber': json['mobileNumber'] == null ? undefined : json['mobileNumber'],
149
+ 'structuredPostalAddress': json['structuredPostalAddress'] == null ? undefined : YotiStructuredPostalAddressFromJSON(json['structuredPostalAddress']),
150
+ 'postalAddress': json['postalAddress'] == null ? undefined : json['postalAddress'],
151
+ 'documentDetails': json['documentDetails'] == null ? undefined : YotiDocumentDetailsFromJSON(json['documentDetails']),
152
+ };
153
+ }
154
+
155
+ export function LloydsSmartIdProviderOutputToJSON(json: any): LloydsSmartIdProviderOutput {
156
+ return LloydsSmartIdProviderOutputToJSONTyped(json, false);
157
+ }
158
+
159
+ export function LloydsSmartIdProviderOutputToJSONTyped(value?: LloydsSmartIdProviderOutput | null, ignoreDiscriminator: boolean = false): any {
160
+ if (value == null) {
161
+ return value;
162
+ }
163
+
164
+ return {
165
+
166
+ 'rememberMeId': value['rememberMeId'],
167
+ 'email': value['email'],
168
+ 'givenName': value['givenName'],
169
+ 'familyName': value['familyName'],
170
+ 'fullName': value['fullName'],
171
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
172
+ 'gender': value['gender'],
173
+ 'nationality': value['nationality'],
174
+ 'mobileNumber': value['mobileNumber'],
175
+ 'structuredPostalAddress': YotiStructuredPostalAddressToJSON(value['structuredPostalAddress']),
176
+ 'postalAddress': value['postalAddress'],
177
+ 'documentDetails': YotiDocumentDetailsToJSON(value['documentDetails']),
178
+ };
179
+ }
180
+
@@ -20,13 +20,21 @@ import { mapValues } from '../runtime';
20
20
  */
21
21
  export interface Match {
22
22
  /**
23
- *
23
+ * The probability value of the match.
24
+ *
25
+ * This is a value between 0 and 1, where 1 indicates a perfect match and 0 indicates no match.
26
+ *
27
+ * This field is non-null when the underlying Provider's match output is in the form of a probability score.
24
28
  * @type {number}
25
29
  * @memberof Match
26
30
  */
27
31
  probabilityValue?: number | null;
28
32
  /**
29
- *
33
+ * The boolean value of the match.
34
+ *
35
+ * This is a value of true or false, where true indicates a match and false indicates no match.
36
+ *
37
+ * This field is non-null when the underlying Provider's match output is in the form of a boolean value.
30
38
  * @type {boolean}
31
39
  * @memberof Match
32
40
  */
@@ -22,67 +22,90 @@ import {
22
22
  } from './Match';
23
23
 
24
24
  /**
25
- *
25
+ * Match results for the data being matched against.
26
+ *
27
+ * This applies to Providers which operate based on matching data / biometrics against a government database,
28
+ * returning match scores or results as opposed to the data itself.
26
29
  * @export
27
30
  * @interface MatchData
28
31
  */
29
32
  export interface MatchData {
30
33
  /**
31
- *
34
+ * Whether the provided National ID Number matched the information on file for the individual
32
35
  * @type {Match}
33
36
  * @memberof MatchData
34
37
  */
35
38
  nationalIdNumber?: Match | null;
36
39
  /**
37
- *
40
+ * The match score for the full name of the individual.
41
+ *
42
+ * Higher values indicate a closer match.
38
43
  * @type {Match}
39
44
  * @memberof MatchData
40
45
  */
41
46
  fullName?: Match | null;
42
47
  /**
43
- *
48
+ * The match score for the given (first) name of the individual.
49
+ *
50
+ * Higher values indicate a closer match.
44
51
  * @type {Match}
45
52
  * @memberof MatchData
46
53
  */
47
54
  givenName?: Match | null;
48
55
  /**
49
- *
56
+ * The match score for the middle name(s) of the individual.
57
+ *
58
+ * Higher values indicate a closer match.
50
59
  * @type {Match}
51
60
  * @memberof MatchData
52
61
  */
53
62
  middleName?: Match | null;
54
63
  /**
55
- *
64
+ * The match score for the family (last) name of the individual.
65
+ *
66
+ * Higher values indicate a closer match.
56
67
  * @type {Match}
57
68
  * @memberof MatchData
58
69
  */
59
70
  familyName?: Match | null;
60
71
  /**
61
- *
72
+ * Whether the provided sex of the individual matched the information on file for the individual
62
73
  * @type {Match}
63
74
  * @memberof MatchData
64
75
  */
65
76
  sex?: Match | null;
66
77
  /**
67
- *
78
+ * Whether the provided date of birth matched the information on file for the individual
68
79
  * @type {Match}
69
80
  * @memberof MatchData
70
81
  */
71
82
  dateOfBirth?: Match | null;
72
83
  /**
73
- *
84
+ * Whether the provided phone number matched the information on file for the individual
85
+ * @type {Match}
86
+ * @memberof MatchData
87
+ */
88
+ phoneNumber?: Match | null;
89
+ /**
90
+ * The match score for the face match between the provided selfie image and the biometrics on file for the individual.
91
+ *
92
+ * Higher values indicate greater match confidence.
74
93
  * @type {Match}
75
94
  * @memberof MatchData
76
95
  */
77
96
  faceMatch?: Match | null;
78
97
  /**
79
- *
98
+ * The confidence score for the liveness check performed against the selfie image of the individual.
99
+ *
100
+ * Higher values indicate lower suspicion.
80
101
  * @type {Match}
81
102
  * @memberof MatchData
82
103
  */
83
104
  liveness?: Match | null;
84
105
  /**
85
- *
106
+ * The confidence score for the image manipulation check performed against the selfie image of the individual.
107
+ *
108
+ * Higher values indicate lower suspicion of image manipulation.
86
109
  * @type {Match}
87
110
  * @memberof MatchData
88
111
  */
@@ -113,6 +136,7 @@ export function MatchDataFromJSONTyped(json: any, ignoreDiscriminator: boolean):
113
136
  'familyName': json['familyName'] == null ? undefined : MatchFromJSON(json['familyName']),
114
137
  'sex': json['sex'] == null ? undefined : MatchFromJSON(json['sex']),
115
138
  'dateOfBirth': json['dateOfBirth'] == null ? undefined : MatchFromJSON(json['dateOfBirth']),
139
+ 'phoneNumber': json['phoneNumber'] == null ? undefined : MatchFromJSON(json['phoneNumber']),
116
140
  'faceMatch': json['faceMatch'] == null ? undefined : MatchFromJSON(json['faceMatch']),
117
141
  'liveness': json['liveness'] == null ? undefined : MatchFromJSON(json['liveness']),
118
142
  'imageAuthenticity': json['imageAuthenticity'] == null ? undefined : MatchFromJSON(json['imageAuthenticity']),
@@ -137,6 +161,7 @@ export function MatchDataToJSONTyped(value?: MatchData | null, ignoreDiscriminat
137
161
  'familyName': MatchToJSON(value['familyName']),
138
162
  'sex': MatchToJSON(value['sex']),
139
163
  'dateOfBirth': MatchToJSON(value['dateOfBirth']),
164
+ 'phoneNumber': MatchToJSON(value['phoneNumber']),
140
165
  'faceMatch': MatchToJSON(value['faceMatch']),
141
166
  'liveness': MatchToJSON(value['liveness']),
142
167
  'imageAuthenticity': MatchToJSON(value['imageAuthenticity']),
@@ -0,0 +1,112 @@
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
+ import type { MdlOutputCertificateData } from './MdlOutputCertificateData';
17
+ import {
18
+ MdlOutputCertificateDataFromJSON,
19
+ MdlOutputCertificateDataFromJSONTyped,
20
+ MdlOutputCertificateDataToJSON,
21
+ MdlOutputCertificateDataToJSONTyped,
22
+ } from './MdlOutputCertificateData';
23
+ import type { MdlOutputFieldData } from './MdlOutputFieldData';
24
+ import {
25
+ MdlOutputFieldDataFromJSON,
26
+ MdlOutputFieldDataFromJSONTyped,
27
+ MdlOutputFieldDataToJSON,
28
+ MdlOutputFieldDataToJSONTyped,
29
+ } from './MdlOutputFieldData';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface MdlOutput
35
+ */
36
+ export interface MdlOutput {
37
+ /**
38
+ * Information about the IACA Root Certificate which signed (directly or indirectly) the Document Signer Certificate for this mDL.
39
+ * @type {MdlOutputCertificateData}
40
+ * @memberof MdlOutput
41
+ */
42
+ iacaRootCertificate: MdlOutputCertificateData;
43
+ /**
44
+ * Information about the Document Signer Certificate which signed the mDL presented by the user.
45
+ * @type {MdlOutputCertificateData}
46
+ * @memberof MdlOutput
47
+ */
48
+ documentSignerCertificate: MdlOutputCertificateData;
49
+ /**
50
+ * The document type of the mDL presented by the user.
51
+ *
52
+ * Common values:
53
+ * - "org.iso.18013.5.1.mDL" for ISO 18013-5 mDLs
54
+ * - "com.google.wallet.idcard.1" for Google Wallet ID Cards
55
+ * @type {string}
56
+ * @memberof MdlOutput
57
+ */
58
+ documentType: string;
59
+ /**
60
+ * The namespaces, and fields within those namespaces, which were present in the processed mDL.
61
+ * @type {{ [key: string]: { [key: string]: MdlOutputFieldData; }; }}
62
+ * @memberof MdlOutput
63
+ */
64
+ nameSpaces: { [key: string]: { [key: string]: MdlOutputFieldData; }; };
65
+ }
66
+
67
+ /**
68
+ * Check if a given object implements the MdlOutput interface.
69
+ */
70
+ export function instanceOfMdlOutput(value: object): value is MdlOutput {
71
+ if (!('iacaRootCertificate' in value) || value['iacaRootCertificate'] === undefined) return false;
72
+ if (!('documentSignerCertificate' in value) || value['documentSignerCertificate'] === undefined) return false;
73
+ if (!('documentType' in value) || value['documentType'] === undefined) return false;
74
+ if (!('nameSpaces' in value) || value['nameSpaces'] === undefined) return false;
75
+ return true;
76
+ }
77
+
78
+ export function MdlOutputFromJSON(json: any): MdlOutput {
79
+ return MdlOutputFromJSONTyped(json, false);
80
+ }
81
+
82
+ export function MdlOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MdlOutput {
83
+ if (json == null) {
84
+ return json;
85
+ }
86
+ return {
87
+
88
+ 'iacaRootCertificate': MdlOutputCertificateDataFromJSON(json['iacaRootCertificate']),
89
+ 'documentSignerCertificate': MdlOutputCertificateDataFromJSON(json['documentSignerCertificate']),
90
+ 'documentType': json['documentType'],
91
+ 'nameSpaces': json['nameSpaces'],
92
+ };
93
+ }
94
+
95
+ export function MdlOutputToJSON(json: any): MdlOutput {
96
+ return MdlOutputToJSONTyped(json, false);
97
+ }
98
+
99
+ export function MdlOutputToJSONTyped(value?: MdlOutput | null, ignoreDiscriminator: boolean = false): any {
100
+ if (value == null) {
101
+ return value;
102
+ }
103
+
104
+ return {
105
+
106
+ 'iacaRootCertificate': MdlOutputCertificateDataToJSON(value['iacaRootCertificate']),
107
+ 'documentSignerCertificate': MdlOutputCertificateDataToJSON(value['documentSignerCertificate']),
108
+ 'documentType': value['documentType'],
109
+ 'nameSpaces': value['nameSpaces'],
110
+ };
111
+ }
112
+