@trinsic/api 2.3.0-alpha2 → 3.0.1

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 (558) hide show
  1. package/.openapi-generator/FILES +65 -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/KenyaNidLookup2Address.d.ts +90 -0
  69. package/dist/esm/models/KenyaNidLookup2Address.js +49 -0
  70. package/dist/esm/models/KenyaNidLookup2ProviderOutput.d.ts +114 -0
  71. package/dist/esm/models/KenyaNidLookup2ProviderOutput.js +74 -0
  72. package/dist/esm/models/KenyaNidMatch2Input.d.ts +3 -3
  73. package/dist/esm/models/KenyaNidMatch2Input.js +3 -3
  74. package/dist/esm/models/KenyaNidMatch2InputSex.d.ts +25 -0
  75. package/dist/esm/models/KenyaNidMatch2InputSex.js +43 -0
  76. package/dist/esm/models/LaWalletProviderOutput.d.ts +148 -0
  77. package/dist/esm/models/LaWalletProviderOutput.js +109 -0
  78. package/dist/esm/models/LatviaEparakstsMobileProviderOutput.d.ts +60 -0
  79. package/dist/esm/models/LatviaEparakstsMobileProviderOutput.js +51 -0
  80. package/dist/esm/models/LatviaEparakstsProviderOutput.d.ts +60 -0
  81. package/dist/esm/models/LatviaEparakstsProviderOutput.js +51 -0
  82. package/dist/esm/models/ListProvidersResponse.d.ts +4 -4
  83. package/dist/esm/models/ListProvidersResponse.js +3 -3
  84. package/dist/esm/models/ListRedirectUrisResponse.d.ts +39 -0
  85. package/dist/esm/models/{ListEnvironmentRedirectUrisResponse.js → ListRedirectUrisResponse.js} +8 -8
  86. package/dist/esm/models/LithuaniaIdCardProviderOutput.d.ts +68 -0
  87. package/dist/esm/models/LithuaniaIdCardProviderOutput.js +55 -0
  88. package/dist/esm/models/LloydsSmartIdProviderOutput.d.ts +112 -0
  89. package/dist/esm/models/LloydsSmartIdProviderOutput.js +65 -0
  90. package/dist/esm/models/Match.d.ts +8 -0
  91. package/dist/esm/models/MatchData.d.ts +26 -3
  92. package/dist/esm/models/MatchData.js +2 -0
  93. package/dist/esm/models/MdlOutput.d.ts +60 -0
  94. package/dist/esm/models/MdlOutput.js +56 -0
  95. package/dist/esm/models/MdlOutputCertificateData.d.ts +60 -0
  96. package/dist/esm/models/{MdlCertificateData.js → MdlOutputCertificateData.js} +8 -8
  97. package/dist/esm/models/MdlOutputFieldData.d.ts +39 -0
  98. package/dist/esm/models/{ExternalMdlFieldData.js → MdlOutputFieldData.js} +11 -11
  99. package/dist/esm/models/MdlOutputFieldDataType.d.ts +29 -0
  100. package/dist/esm/models/MdlOutputFieldDataType.js +47 -0
  101. package/dist/esm/models/MexicoCurpProviderOutput.d.ts +1 -1
  102. package/dist/esm/models/MitIdProviderOutput.d.ts +137 -0
  103. package/dist/esm/models/MitIdProviderOutput.js +61 -0
  104. package/dist/esm/models/MobileIdInput.d.ts +3 -3
  105. package/dist/esm/models/MobileIdInput.js +3 -3
  106. package/dist/esm/models/MobileIdLanguage.d.ts +27 -0
  107. package/dist/esm/models/{Language.js → MobileIdLanguage.js} +10 -10
  108. package/dist/esm/models/MobileIdProviderOutput.d.ts +118 -0
  109. package/dist/esm/models/MobileIdProviderOutput.js +57 -0
  110. package/dist/esm/models/NigeriaNinBiometric2Input.d.ts +47 -0
  111. package/dist/esm/models/NigeriaNinBiometric2Input.js +45 -0
  112. package/dist/esm/models/NigeriaNinLookup2Input.d.ts +32 -0
  113. package/dist/esm/models/NigeriaNinLookup2Input.js +41 -0
  114. package/dist/esm/models/NigeriaNinMatch2Input.d.ts +70 -0
  115. package/dist/esm/models/NigeriaNinMatch2Input.js +54 -0
  116. package/dist/esm/models/NigeriaNinMatch2InputSex.d.ts +25 -0
  117. package/dist/esm/models/NigeriaNinMatch2InputSex.js +43 -0
  118. package/dist/esm/models/PersonData.d.ts +8 -6
  119. package/dist/esm/models/PeruDniAddress.d.ts +53 -0
  120. package/dist/esm/models/PeruDniAddress.js +51 -0
  121. package/dist/esm/models/PeruDniLookupInput.d.ts +37 -0
  122. package/dist/esm/models/PeruDniLookupInput.js +41 -0
  123. package/dist/esm/models/PeruDniProviderOutput.d.ts +213 -0
  124. package/dist/esm/models/PeruDniProviderOutput.js +88 -0
  125. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +3 -2
  126. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +3 -2
  127. package/dist/esm/models/PolandEdoAppProviderOutput.d.ts +62 -0
  128. package/dist/esm/models/PolandEdoAppProviderOutput.js +55 -0
  129. package/dist/esm/models/PolandMojeIdProviderOutput.d.ts +56 -0
  130. package/dist/esm/models/PolandMojeIdProviderOutput.js +51 -0
  131. package/dist/esm/models/PortugalIdCardProviderOutput.d.ts +50 -0
  132. package/dist/esm/models/PortugalIdCardProviderOutput.js +55 -0
  133. package/dist/esm/models/PostOfficeEasyIdProviderOutput.d.ts +112 -0
  134. package/dist/esm/models/PostOfficeEasyIdProviderOutput.js +65 -0
  135. package/dist/esm/models/{ProviderContract.d.ts → Provider.d.ts} +71 -68
  136. package/dist/esm/models/{ProviderContract.js → Provider.js} +37 -30
  137. package/dist/esm/models/ProviderInput.d.ts +90 -28
  138. package/dist/esm/models/ProviderInput.js +83 -57
  139. package/dist/esm/models/ProviderOutput.d.ts +207 -11
  140. package/dist/esm/models/ProviderOutput.js +90 -6
  141. package/dist/esm/models/RecommendProviderHealthOption.d.ts +26 -0
  142. package/dist/esm/models/RecommendProviderHealthOption.js +44 -0
  143. package/dist/esm/models/RecommendProviderInformation.d.ts +85 -0
  144. package/dist/esm/models/{ProviderInfo.js → RecommendProviderInformation.js} +17 -17
  145. package/dist/esm/models/RecommendProvidersRequest.d.ts +46 -0
  146. package/dist/esm/models/{RecommendRequest.js → RecommendProvidersRequest.js} +11 -10
  147. package/dist/esm/models/RecommendProvidersResponse.d.ts +33 -0
  148. package/dist/esm/models/RecommendProvidersResponse.js +44 -0
  149. package/dist/esm/models/SamsungWalletProviderOutput.d.ts +33 -0
  150. package/dist/esm/models/SamsungWalletProviderOutput.js +44 -0
  151. package/dist/esm/models/SerbiaIdCardProviderOutput.d.ts +63 -0
  152. package/dist/esm/models/SerbiaIdCardProviderOutput.js +55 -0
  153. package/dist/esm/models/SmartIdInput.d.ts +0 -7
  154. package/dist/esm/models/SmartIdInput.js +0 -2
  155. package/dist/esm/models/SmartIdProviderOutput.d.ts +175 -0
  156. package/dist/esm/models/SmartIdProviderOutput.js +65 -0
  157. package/dist/esm/models/SouthAfricaNidBiometric2Input.d.ts +47 -0
  158. package/dist/esm/models/SouthAfricaNidBiometric2Input.js +45 -0
  159. package/dist/esm/models/SouthAfricaNidMatch2Input.d.ts +70 -0
  160. package/dist/esm/models/SouthAfricaNidMatch2Input.js +54 -0
  161. package/dist/esm/models/SouthAfricaNidMatch2InputSex.d.ts +25 -0
  162. package/dist/esm/models/SouthAfricaNidMatch2InputSex.js +43 -0
  163. package/dist/esm/models/SpidProviderOutput.d.ts +84 -16
  164. package/dist/esm/models/SpidProviderOutput.js +22 -2
  165. package/dist/esm/models/SubProviderMetadata.d.ts +0 -9
  166. package/dist/esm/models/SubProviderMetadata.js +0 -4
  167. package/dist/esm/models/SwedenBankIdProviderOutput.d.ts +110 -0
  168. package/dist/esm/models/SwedenBankIdProviderOutput.js +65 -0
  169. package/dist/esm/models/UgandaNidMatch2Input.d.ts +45 -0
  170. package/dist/esm/models/UgandaNidMatch2Input.js +45 -0
  171. package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
  172. package/dist/esm/models/VerificationProfileResponse.js +4 -0
  173. package/dist/esm/models/YotiDocumentDetails.d.ts +62 -0
  174. package/dist/esm/models/YotiDocumentDetails.js +49 -0
  175. package/dist/esm/models/YotiProviderOutput.d.ts +112 -0
  176. package/dist/esm/models/YotiProviderOutput.js +65 -0
  177. package/dist/esm/models/YotiStructuredPostalAddress.d.ts +152 -0
  178. package/dist/esm/models/YotiStructuredPostalAddress.js +79 -0
  179. package/dist/esm/models/ZimbabweNidLookup2Input.d.ts +32 -0
  180. package/dist/esm/models/ZimbabweNidLookup2Input.js +41 -0
  181. package/dist/esm/models/index.d.ts +63 -26
  182. package/dist/esm/models/index.js +63 -26
  183. package/dist/models/AddRedirectUriRequest.d.ts +32 -0
  184. package/dist/models/AddRedirectUriRequest.js +50 -0
  185. package/dist/models/Address.d.ts +5 -2
  186. package/dist/models/AppleWalletProviderOutput.d.ts +33 -0
  187. package/dist/models/AppleWalletProviderOutput.js +51 -0
  188. package/dist/models/AttachmentInfo.d.ts +62 -0
  189. package/dist/models/AttachmentInfo.js +62 -0
  190. package/dist/models/AttributeAvailability.d.ts +26 -0
  191. package/dist/models/AttributeAvailability.js +52 -0
  192. package/dist/models/AustriaHandySignaturProviderOutput.d.ts +38 -0
  193. package/dist/models/AustriaHandySignaturProviderOutput.js +54 -0
  194. package/dist/models/BelgiumIdCardProviderOutput.d.ts +57 -0
  195. package/dist/models/BelgiumIdCardProviderOutput.js +62 -0
  196. package/dist/models/ContractAttachment.d.ts +49 -0
  197. package/dist/models/ContractAttachment.js +55 -0
  198. package/dist/models/ContractAttribute.d.ts +39 -0
  199. package/dist/models/ContractAttribute.js +55 -0
  200. package/dist/models/CoteDIvoireNidLookup2Input.d.ts +32 -0
  201. package/dist/models/CoteDIvoireNidLookup2Input.js +48 -0
  202. package/dist/models/CzechiaMojeIdProviderOutput.d.ts +52 -0
  203. package/dist/models/CzechiaMojeIdProviderOutput.js +62 -0
  204. package/dist/models/DocumentData.d.ts +13 -5
  205. package/dist/models/DocumentData.js +2 -0
  206. package/dist/models/EstoniaIdCardProviderOutput.d.ts +64 -0
  207. package/dist/models/EstoniaIdCardProviderOutput.js +62 -0
  208. package/dist/models/FaydaProviderOutput.d.ts +1 -1
  209. package/dist/models/FinlandIdCardProviderOutput.d.ts +63 -0
  210. package/dist/models/FinlandIdCardProviderOutput.js +62 -0
  211. package/dist/models/FrejaProviderOutput.d.ts +53 -0
  212. package/dist/models/FrejaProviderOutput.js +62 -0
  213. package/dist/models/FrenchNumeriqueGivenName.d.ts +45 -0
  214. package/dist/models/FrenchNumeriqueGivenName.js +52 -0
  215. package/dist/models/FrenchNumeriqueNationality.d.ts +38 -0
  216. package/dist/models/FrenchNumeriqueNationality.js +50 -0
  217. package/dist/models/FrenchNumeriquePhone.d.ts +44 -0
  218. package/dist/models/FrenchNumeriquePhone.js +52 -0
  219. package/dist/models/FrenchNumeriqueProviderOutput.d.ts +205 -0
  220. package/dist/models/FrenchNumeriqueProviderOutput.js +99 -0
  221. package/dist/models/GetAttachmentRequest.d.ts +4 -8
  222. package/dist/models/GetAttachmentRequest.js +3 -7
  223. package/dist/models/GoogleWalletProviderOutput.d.ts +33 -0
  224. package/dist/models/GoogleWalletProviderOutput.js +51 -0
  225. package/dist/models/IdentityData.d.ts +15 -13
  226. package/dist/models/IdentityData.js +4 -7
  227. package/dist/models/ItsmeProviderOutput.d.ts +69 -0
  228. package/dist/models/ItsmeProviderOutput.js +62 -0
  229. package/dist/models/KenyaNidLookup2Address.d.ts +90 -0
  230. package/dist/models/KenyaNidLookup2Address.js +56 -0
  231. package/dist/models/KenyaNidLookup2ProviderOutput.d.ts +114 -0
  232. package/dist/models/KenyaNidLookup2ProviderOutput.js +81 -0
  233. package/dist/models/KenyaNidMatch2Input.d.ts +3 -3
  234. package/dist/models/KenyaNidMatch2Input.js +3 -3
  235. package/dist/models/KenyaNidMatch2InputSex.d.ts +25 -0
  236. package/dist/models/KenyaNidMatch2InputSex.js +51 -0
  237. package/dist/models/LaWalletProviderOutput.d.ts +148 -0
  238. package/dist/models/LaWalletProviderOutput.js +116 -0
  239. package/dist/models/LatviaEparakstsMobileProviderOutput.d.ts +60 -0
  240. package/dist/models/LatviaEparakstsMobileProviderOutput.js +58 -0
  241. package/dist/models/LatviaEparakstsProviderOutput.d.ts +60 -0
  242. package/dist/models/LatviaEparakstsProviderOutput.js +58 -0
  243. package/dist/models/ListProvidersResponse.d.ts +4 -4
  244. package/dist/models/ListProvidersResponse.js +3 -3
  245. package/dist/models/ListRedirectUrisResponse.d.ts +39 -0
  246. package/dist/models/ListRedirectUrisResponse.js +55 -0
  247. package/dist/models/LithuaniaIdCardProviderOutput.d.ts +68 -0
  248. package/dist/models/LithuaniaIdCardProviderOutput.js +62 -0
  249. package/dist/models/LloydsSmartIdProviderOutput.d.ts +112 -0
  250. package/dist/models/LloydsSmartIdProviderOutput.js +72 -0
  251. package/dist/models/Match.d.ts +8 -0
  252. package/dist/models/MatchData.d.ts +26 -3
  253. package/dist/models/MatchData.js +2 -0
  254. package/dist/models/MdlOutput.d.ts +60 -0
  255. package/dist/models/MdlOutput.js +63 -0
  256. package/dist/models/MdlOutputCertificateData.d.ts +60 -0
  257. package/dist/models/{MdlCertificateData.js → MdlOutputCertificateData.js} +13 -13
  258. package/dist/models/MdlOutputFieldData.d.ts +39 -0
  259. package/dist/models/MdlOutputFieldData.js +55 -0
  260. package/dist/models/MdlOutputFieldDataType.d.ts +29 -0
  261. package/dist/models/MdlOutputFieldDataType.js +55 -0
  262. package/dist/models/MexicoCurpProviderOutput.d.ts +1 -1
  263. package/dist/models/MitIdProviderOutput.d.ts +137 -0
  264. package/dist/models/MitIdProviderOutput.js +68 -0
  265. package/dist/models/MobileIdInput.d.ts +3 -3
  266. package/dist/models/MobileIdInput.js +3 -3
  267. package/dist/models/MobileIdLanguage.d.ts +27 -0
  268. package/dist/models/MobileIdLanguage.js +53 -0
  269. package/dist/models/MobileIdProviderOutput.d.ts +118 -0
  270. package/dist/models/MobileIdProviderOutput.js +64 -0
  271. package/dist/models/NigeriaNinBiometric2Input.d.ts +47 -0
  272. package/dist/models/NigeriaNinBiometric2Input.js +52 -0
  273. package/dist/models/NigeriaNinLookup2Input.d.ts +32 -0
  274. package/dist/models/NigeriaNinLookup2Input.js +48 -0
  275. package/dist/models/NigeriaNinMatch2Input.d.ts +70 -0
  276. package/dist/models/NigeriaNinMatch2Input.js +61 -0
  277. package/dist/models/NigeriaNinMatch2InputSex.d.ts +25 -0
  278. package/dist/models/NigeriaNinMatch2InputSex.js +51 -0
  279. package/dist/models/PersonData.d.ts +8 -6
  280. package/dist/models/PeruDniAddress.d.ts +53 -0
  281. package/dist/models/PeruDniAddress.js +58 -0
  282. package/dist/models/PeruDniLookupInput.d.ts +37 -0
  283. package/dist/models/PeruDniLookupInput.js +48 -0
  284. package/dist/models/PeruDniProviderOutput.d.ts +213 -0
  285. package/dist/models/PeruDniProviderOutput.js +95 -0
  286. package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +3 -2
  287. package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +3 -2
  288. package/dist/models/PolandEdoAppProviderOutput.d.ts +62 -0
  289. package/dist/models/PolandEdoAppProviderOutput.js +62 -0
  290. package/dist/models/PolandMojeIdProviderOutput.d.ts +56 -0
  291. package/dist/models/PolandMojeIdProviderOutput.js +58 -0
  292. package/dist/models/PortugalIdCardProviderOutput.d.ts +50 -0
  293. package/dist/models/PortugalIdCardProviderOutput.js +62 -0
  294. package/dist/models/PostOfficeEasyIdProviderOutput.d.ts +112 -0
  295. package/dist/models/PostOfficeEasyIdProviderOutput.js +72 -0
  296. package/dist/models/{ProviderContract.d.ts → Provider.d.ts} +71 -68
  297. package/dist/models/{ProviderContract.js → Provider.js} +42 -35
  298. package/dist/models/ProviderInput.d.ts +90 -28
  299. package/dist/models/ProviderInput.js +83 -57
  300. package/dist/models/ProviderOutput.d.ts +207 -11
  301. package/dist/models/ProviderOutput.js +90 -6
  302. package/dist/models/RecommendProviderHealthOption.d.ts +26 -0
  303. package/dist/models/RecommendProviderHealthOption.js +52 -0
  304. package/dist/models/RecommendProviderInformation.d.ts +85 -0
  305. package/dist/models/{ProviderInfo.js → RecommendProviderInformation.js} +22 -22
  306. package/dist/models/RecommendProvidersRequest.d.ts +46 -0
  307. package/dist/models/RecommendProvidersRequest.js +56 -0
  308. package/dist/models/RecommendProvidersResponse.d.ts +33 -0
  309. package/dist/models/RecommendProvidersResponse.js +51 -0
  310. package/dist/models/SamsungWalletProviderOutput.d.ts +33 -0
  311. package/dist/models/SamsungWalletProviderOutput.js +51 -0
  312. package/dist/models/SerbiaIdCardProviderOutput.d.ts +63 -0
  313. package/dist/models/SerbiaIdCardProviderOutput.js +62 -0
  314. package/dist/models/SmartIdInput.d.ts +0 -7
  315. package/dist/models/SmartIdInput.js +0 -2
  316. package/dist/models/SmartIdProviderOutput.d.ts +175 -0
  317. package/dist/models/SmartIdProviderOutput.js +72 -0
  318. package/dist/models/SouthAfricaNidBiometric2Input.d.ts +47 -0
  319. package/dist/models/SouthAfricaNidBiometric2Input.js +52 -0
  320. package/dist/models/SouthAfricaNidMatch2Input.d.ts +70 -0
  321. package/dist/models/SouthAfricaNidMatch2Input.js +61 -0
  322. package/dist/models/SouthAfricaNidMatch2InputSex.d.ts +25 -0
  323. package/dist/models/SouthAfricaNidMatch2InputSex.js +51 -0
  324. package/dist/models/SpidProviderOutput.d.ts +84 -16
  325. package/dist/models/SpidProviderOutput.js +22 -2
  326. package/dist/models/SubProviderMetadata.d.ts +0 -9
  327. package/dist/models/SubProviderMetadata.js +0 -4
  328. package/dist/models/SwedenBankIdProviderOutput.d.ts +110 -0
  329. package/dist/models/SwedenBankIdProviderOutput.js +72 -0
  330. package/dist/models/UgandaNidMatch2Input.d.ts +45 -0
  331. package/dist/models/UgandaNidMatch2Input.js +52 -0
  332. package/dist/models/VerificationProfileResponse.d.ts +6 -0
  333. package/dist/models/VerificationProfileResponse.js +4 -0
  334. package/dist/models/YotiDocumentDetails.d.ts +62 -0
  335. package/dist/models/YotiDocumentDetails.js +56 -0
  336. package/dist/models/YotiProviderOutput.d.ts +112 -0
  337. package/dist/models/YotiProviderOutput.js +72 -0
  338. package/dist/models/YotiStructuredPostalAddress.d.ts +152 -0
  339. package/dist/models/YotiStructuredPostalAddress.js +86 -0
  340. package/dist/models/ZimbabweNidLookup2Input.d.ts +32 -0
  341. package/dist/models/ZimbabweNidLookup2Input.js +48 -0
  342. package/dist/models/index.d.ts +63 -26
  343. package/dist/models/index.js +63 -26
  344. package/package.json +1 -1
  345. package/src/apis/ProvidersApi.ts +102 -0
  346. package/src/apis/{EnvironmentRedirectUrisApi.ts → RedirectUrisApi.ts} +35 -35
  347. package/src/apis/SessionsApi.ts +152 -4
  348. package/src/apis/VerificationProfilesApi.ts +9 -3
  349. package/src/apis/index.ts +2 -4
  350. package/src/models/AddRedirectUriRequest.ts +66 -0
  351. package/src/models/Address.ts +6 -3
  352. package/src/models/AppleWalletProviderOutput.ts +74 -0
  353. package/src/models/AttachmentInfo.ts +105 -0
  354. package/src/models/AttributeAvailability.ts +54 -0
  355. package/src/models/AustriaHandySignaturProviderOutput.ts +75 -0
  356. package/src/models/BelgiumIdCardProviderOutput.ts +100 -0
  357. package/src/models/ContractAttachment.ts +95 -0
  358. package/src/models/ContractAttribute.ts +85 -0
  359. package/src/models/CoteDIvoireNidLookup2Input.ts +65 -0
  360. package/src/models/CzechiaMojeIdProviderOutput.ts +95 -0
  361. package/src/models/DocumentData.ts +16 -6
  362. package/src/models/EstoniaIdCardProviderOutput.ts +107 -0
  363. package/src/models/FaydaProviderOutput.ts +1 -1
  364. package/src/models/FinlandIdCardProviderOutput.ts +106 -0
  365. package/src/models/FrejaProviderOutput.ts +96 -0
  366. package/src/models/FrenchNumeriqueGivenName.ts +82 -0
  367. package/src/models/FrenchNumeriqueNationality.ts +73 -0
  368. package/src/models/FrenchNumeriquePhone.ts +81 -0
  369. package/src/models/FrenchNumeriqueProviderOutput.ts +305 -0
  370. package/src/models/GetAttachmentRequest.ts +7 -14
  371. package/src/models/GoogleWalletProviderOutput.ts +74 -0
  372. package/src/models/IdentityData.ts +27 -33
  373. package/src/models/ItsmeProviderOutput.ts +113 -0
  374. package/src/models/KenyaNidLookup2Address.ts +131 -0
  375. package/src/models/KenyaNidLookup2ProviderOutput.ts +180 -0
  376. package/src/models/KenyaNidMatch2Input.ts +10 -10
  377. package/src/models/KenyaNidMatch2InputSex.ts +53 -0
  378. package/src/models/LaWalletProviderOutput.ts +232 -0
  379. package/src/models/LatviaEparakstsMobileProviderOutput.ts +100 -0
  380. package/src/models/LatviaEparakstsProviderOutput.ts +100 -0
  381. package/src/models/ListProvidersResponse.ts +11 -11
  382. package/src/models/{ListEnvironmentRedirectUrisResponse.ts → ListRedirectUrisResponse.ts} +12 -12
  383. package/src/models/LithuaniaIdCardProviderOutput.ts +111 -0
  384. package/src/models/LloydsSmartIdProviderOutput.ts +180 -0
  385. package/src/models/Match.ts +10 -2
  386. package/src/models/MatchData.ts +36 -11
  387. package/src/models/MdlOutput.ts +112 -0
  388. package/src/models/{MdlCertificateData.ts → MdlOutputCertificateData.ts} +18 -16
  389. package/src/models/MdlOutputFieldData.ts +85 -0
  390. package/src/models/MdlOutputFieldDataType.ts +57 -0
  391. package/src/models/MexicoCurpProviderOutput.ts +1 -1
  392. package/src/models/MitIdProviderOutput.ts +190 -0
  393. package/src/models/MobileIdInput.ts +10 -10
  394. package/src/models/MobileIdLanguage.ts +55 -0
  395. package/src/models/MobileIdProviderOutput.ts +167 -0
  396. package/src/models/NigeriaNinBiometric2Input.ts +84 -0
  397. package/src/models/NigeriaNinLookup2Input.ts +65 -0
  398. package/src/models/NigeriaNinMatch2Input.ts +124 -0
  399. package/src/models/NigeriaNinMatch2InputSex.ts +53 -0
  400. package/src/models/PersonData.ts +9 -7
  401. package/src/models/PeruDniAddress.ts +93 -0
  402. package/src/models/PeruDniLookupInput.ts +70 -0
  403. package/src/models/PeruDniProviderOutput.ts +291 -0
  404. package/src/models/PhilippinesDigitalNidProviderOutput.ts +3 -2
  405. package/src/models/PhilippinesPhysicalNidProviderOutput.ts +3 -2
  406. package/src/models/PolandEdoAppProviderOutput.ts +105 -0
  407. package/src/models/PolandMojeIdProviderOutput.ts +96 -0
  408. package/src/models/PortugalIdCardProviderOutput.ts +93 -0
  409. package/src/models/PostOfficeEasyIdProviderOutput.ts +180 -0
  410. package/src/models/{ProviderContract.ts → Provider.ts} +106 -98
  411. package/src/models/ProviderInput.ts +255 -127
  412. package/src/models/ProviderOutput.ts +445 -25
  413. package/src/models/RecommendProviderHealthOption.ts +54 -0
  414. package/src/models/{ProviderInformation.ts → RecommendProviderInformation.ts} +45 -56
  415. package/src/models/{RecommendRequest.ts → RecommendProvidersRequest.ts} +27 -18
  416. package/src/models/RecommendProvidersResponse.ts +74 -0
  417. package/src/models/SamsungWalletProviderOutput.ts +74 -0
  418. package/src/models/SerbiaIdCardProviderOutput.ts +106 -0
  419. package/src/models/SmartIdInput.ts +0 -9
  420. package/src/models/SmartIdProviderOutput.ts +232 -0
  421. package/src/models/SouthAfricaNidBiometric2Input.ts +84 -0
  422. package/src/models/SouthAfricaNidMatch2Input.ts +124 -0
  423. package/src/models/SouthAfricaNidMatch2InputSex.ts +53 -0
  424. package/src/models/SpidProviderOutput.ts +106 -18
  425. package/src/models/SubProviderMetadata.ts +0 -12
  426. package/src/models/SwedenBankIdProviderOutput.ts +167 -0
  427. package/src/models/UgandaNidMatch2Input.ts +82 -0
  428. package/src/models/VerificationProfileResponse.ts +9 -0
  429. package/src/models/YotiDocumentDetails.ts +103 -0
  430. package/src/models/YotiProviderOutput.ts +180 -0
  431. package/src/models/YotiStructuredPostalAddress.ts +223 -0
  432. package/src/models/ZimbabweNidLookup2Input.ts +65 -0
  433. package/src/models/index.ts +63 -26
  434. package/dist/apis/AttachmentsApi.d.ts +0 -53
  435. package/dist/apis/MdlApi.d.ts +0 -80
  436. package/dist/apis/MdlApi.js +0 -105
  437. package/dist/apis/NetworkApi.d.ts +0 -109
  438. package/dist/apis/NetworkApi.js +0 -146
  439. package/dist/esm/apis/AttachmentsApi.d.ts +0 -53
  440. package/dist/esm/apis/MdlApi.d.ts +0 -80
  441. package/dist/esm/apis/MdlApi.js +0 -101
  442. package/dist/esm/apis/NetworkApi.d.ts +0 -109
  443. package/dist/esm/apis/NetworkApi.js +0 -142
  444. package/dist/esm/models/AttachmentAccessKeys.d.ts +0 -63
  445. package/dist/esm/models/AttachmentAccessKeys.js +0 -54
  446. package/dist/esm/models/BangladeshNidInput.d.ts +0 -58
  447. package/dist/esm/models/BangladeshNidInput.js +0 -55
  448. package/dist/esm/models/ContractField.d.ts +0 -46
  449. package/dist/esm/models/ContractField.js +0 -52
  450. package/dist/esm/models/ContractIdentifierField.d.ts +0 -45
  451. package/dist/esm/models/ContractIdentifierField.js +0 -52
  452. package/dist/esm/models/CreateMdlExchangeRequest.d.ts +0 -102
  453. package/dist/esm/models/CreateMdlExchangeRequest.js +0 -66
  454. package/dist/esm/models/CreateMdlExchangeResponse.d.ts +0 -48
  455. package/dist/esm/models/CreateMdlExchangeResponse.js +0 -51
  456. package/dist/esm/models/DocumentScanAttachments.d.ts +0 -32
  457. package/dist/esm/models/DocumentScanAttachments.js +0 -41
  458. package/dist/esm/models/EnvironmentRedirectUrisAddRequest.d.ts +0 -32
  459. package/dist/esm/models/ExternalMdlFieldData.d.ts +0 -39
  460. package/dist/esm/models/FieldAvailability.d.ts +0 -26
  461. package/dist/esm/models/FieldAvailability.js +0 -44
  462. package/dist/esm/models/FinalizeMdlExchangeRequest.d.ts +0 -50
  463. package/dist/esm/models/FinalizeMdlExchangeRequest.js +0 -55
  464. package/dist/esm/models/FinalizeMdlExchangeResponse.d.ts +0 -55
  465. package/dist/esm/models/FinalizeMdlExchangeResponse.js +0 -54
  466. package/dist/esm/models/Identifier.d.ts +0 -44
  467. package/dist/esm/models/Identifier.js +0 -51
  468. package/dist/esm/models/Language.d.ts +0 -27
  469. package/dist/esm/models/ListEnvironmentRedirectUrisResponse.d.ts +0 -39
  470. package/dist/esm/models/ListProviderContractsResponse.d.ts +0 -33
  471. package/dist/esm/models/ListProviderContractsResponse.js +0 -44
  472. package/dist/esm/models/MdlCertificateData.d.ts +0 -58
  473. package/dist/esm/models/MdlFieldDataType.d.ts +0 -28
  474. package/dist/esm/models/MdlFieldDataType.js +0 -46
  475. package/dist/esm/models/MdlIdentityData.d.ts +0 -50
  476. package/dist/esm/models/MdlIdentityData.js +0 -52
  477. package/dist/esm/models/ProviderAttachments.d.ts +0 -33
  478. package/dist/esm/models/ProviderAttachments.js +0 -42
  479. package/dist/esm/models/ProviderInfo.d.ts +0 -76
  480. package/dist/esm/models/ProviderInformation.d.ts +0 -88
  481. package/dist/esm/models/ProviderInformation.js +0 -74
  482. package/dist/esm/models/RecommendRequest.d.ts +0 -45
  483. package/dist/esm/models/RecommendResponse.d.ts +0 -47
  484. package/dist/esm/models/RecommendResponse.js +0 -52
  485. package/dist/esm/models/SexV1.d.ts +0 -27
  486. package/dist/esm/models/SexV1.js +0 -45
  487. package/dist/models/AttachmentAccessKeys.d.ts +0 -63
  488. package/dist/models/AttachmentAccessKeys.js +0 -61
  489. package/dist/models/BangladeshNidInput.d.ts +0 -58
  490. package/dist/models/BangladeshNidInput.js +0 -62
  491. package/dist/models/ContractField.d.ts +0 -46
  492. package/dist/models/ContractField.js +0 -59
  493. package/dist/models/ContractIdentifierField.d.ts +0 -45
  494. package/dist/models/ContractIdentifierField.js +0 -59
  495. package/dist/models/CreateMdlExchangeRequest.d.ts +0 -102
  496. package/dist/models/CreateMdlExchangeRequest.js +0 -73
  497. package/dist/models/CreateMdlExchangeResponse.d.ts +0 -48
  498. package/dist/models/CreateMdlExchangeResponse.js +0 -58
  499. package/dist/models/DocumentScanAttachments.d.ts +0 -32
  500. package/dist/models/DocumentScanAttachments.js +0 -48
  501. package/dist/models/EnvironmentRedirectUrisAddRequest.d.ts +0 -32
  502. package/dist/models/EnvironmentRedirectUrisAddRequest.js +0 -50
  503. package/dist/models/ExternalMdlFieldData.d.ts +0 -39
  504. package/dist/models/ExternalMdlFieldData.js +0 -55
  505. package/dist/models/FieldAvailability.d.ts +0 -26
  506. package/dist/models/FieldAvailability.js +0 -52
  507. package/dist/models/FinalizeMdlExchangeRequest.d.ts +0 -50
  508. package/dist/models/FinalizeMdlExchangeRequest.js +0 -62
  509. package/dist/models/FinalizeMdlExchangeResponse.d.ts +0 -55
  510. package/dist/models/FinalizeMdlExchangeResponse.js +0 -61
  511. package/dist/models/Identifier.d.ts +0 -44
  512. package/dist/models/Identifier.js +0 -58
  513. package/dist/models/Language.d.ts +0 -27
  514. package/dist/models/Language.js +0 -53
  515. package/dist/models/ListEnvironmentRedirectUrisResponse.d.ts +0 -39
  516. package/dist/models/ListEnvironmentRedirectUrisResponse.js +0 -55
  517. package/dist/models/ListProviderContractsResponse.d.ts +0 -33
  518. package/dist/models/ListProviderContractsResponse.js +0 -51
  519. package/dist/models/MdlCertificateData.d.ts +0 -58
  520. package/dist/models/MdlFieldDataType.d.ts +0 -28
  521. package/dist/models/MdlFieldDataType.js +0 -54
  522. package/dist/models/MdlIdentityData.d.ts +0 -50
  523. package/dist/models/MdlIdentityData.js +0 -59
  524. package/dist/models/ProviderAttachments.d.ts +0 -33
  525. package/dist/models/ProviderAttachments.js +0 -49
  526. package/dist/models/ProviderInfo.d.ts +0 -76
  527. package/dist/models/ProviderInformation.d.ts +0 -88
  528. package/dist/models/ProviderInformation.js +0 -81
  529. package/dist/models/RecommendRequest.d.ts +0 -45
  530. package/dist/models/RecommendRequest.js +0 -55
  531. package/dist/models/RecommendResponse.d.ts +0 -47
  532. package/dist/models/RecommendResponse.js +0 -59
  533. package/dist/models/SexV1.d.ts +0 -27
  534. package/dist/models/SexV1.js +0 -53
  535. package/src/apis/AttachmentsApi.ts +0 -104
  536. package/src/apis/MdlApi.ts +0 -169
  537. package/src/apis/NetworkApi.ts +0 -242
  538. package/src/models/AttachmentAccessKeys.ts +0 -114
  539. package/src/models/BangladeshNidInput.ts +0 -102
  540. package/src/models/ContractField.ts +0 -95
  541. package/src/models/ContractIdentifierField.ts +0 -94
  542. package/src/models/CreateMdlExchangeRequest.ts +0 -159
  543. package/src/models/CreateMdlExchangeResponse.ts +0 -88
  544. package/src/models/DocumentScanAttachments.ts +0 -65
  545. package/src/models/EnvironmentRedirectUrisAddRequest.ts +0 -66
  546. package/src/models/ExternalMdlFieldData.ts +0 -85
  547. package/src/models/FieldAvailability.ts +0 -54
  548. package/src/models/FinalizeMdlExchangeRequest.ts +0 -93
  549. package/src/models/FinalizeMdlExchangeResponse.ts +0 -115
  550. package/src/models/Identifier.ts +0 -84
  551. package/src/models/Language.ts +0 -55
  552. package/src/models/ListProviderContractsResponse.ts +0 -74
  553. package/src/models/MdlFieldDataType.ts +0 -56
  554. package/src/models/MdlIdentityData.ts +0 -99
  555. package/src/models/ProviderAttachments.ts +0 -73
  556. package/src/models/ProviderInfo.ts +0 -134
  557. package/src/models/RecommendResponse.ts +0 -94
  558. package/src/models/SexV1.ts +0 -55
@@ -0,0 +1,112 @@
1
+ /**
2
+ * Trinsic API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { YotiStructuredPostalAddress } from './YotiStructuredPostalAddress';
13
+ import type { YotiDocumentDetails } from './YotiDocumentDetails';
14
+ /**
15
+ * Exposed properties for the `post-office-easyid` Provider which do not directly map to the normalized IdentityData model.
16
+ * @export
17
+ * @interface PostOfficeEasyIdProviderOutput
18
+ */
19
+ export interface PostOfficeEasyIdProviderOutput {
20
+ /**
21
+ * 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.
22
+ * @type {string}
23
+ * @memberof PostOfficeEasyIdProviderOutput
24
+ */
25
+ rememberMeId?: string | null;
26
+ /**
27
+ * The email address of the individual
28
+ * @type {string}
29
+ * @memberof PostOfficeEasyIdProviderOutput
30
+ */
31
+ email?: string | null;
32
+ /**
33
+ * The given name of the individual. This can correspond to first and middle names in English.
34
+ * @type {string}
35
+ * @memberof PostOfficeEasyIdProviderOutput
36
+ */
37
+ givenName?: string | null;
38
+ /**
39
+ * The family name of the individual
40
+ * @type {string}
41
+ * @memberof PostOfficeEasyIdProviderOutput
42
+ */
43
+ familyName?: string | null;
44
+ /**
45
+ * Full name of the individual which is composed of the given and family name.
46
+ * 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".
47
+ * @type {string}
48
+ * @memberof PostOfficeEasyIdProviderOutput
49
+ */
50
+ fullName?: string | null;
51
+ /**
52
+ * The date of birth of the individual.
53
+ * 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".
54
+ * @type {Date}
55
+ * @memberof PostOfficeEasyIdProviderOutput
56
+ */
57
+ dateOfBirth?: Date | null;
58
+ /**
59
+ * 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.
60
+ *
61
+ * 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".
62
+ * In some countries
63
+ * Possible values:
64
+ * - "MALE"
65
+ * - "FEMALE"
66
+ * - "TRANSGENDER"
67
+ * - "OTHER"
68
+ * @type {string}
69
+ * @memberof PostOfficeEasyIdProviderOutput
70
+ */
71
+ gender?: string | null;
72
+ /**
73
+ * The nationality of the individual as a ISO alpha-3 code
74
+ * @type {string}
75
+ * @memberof PostOfficeEasyIdProviderOutput
76
+ */
77
+ nationality?: string | null;
78
+ /**
79
+ * 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.
80
+ * @type {string}
81
+ * @memberof PostOfficeEasyIdProviderOutput
82
+ */
83
+ mobileNumber?: string | null;
84
+ /**
85
+ * 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".
86
+ * 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".
87
+ * @type {YotiStructuredPostalAddress}
88
+ * @memberof PostOfficeEasyIdProviderOutput
89
+ */
90
+ structuredPostalAddress?: YotiStructuredPostalAddress | null;
91
+ /**
92
+ * 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.
93
+ * Refer to `StructuredPostalAddress` for a detailed version of the address.
94
+ * @type {string}
95
+ * @memberof PostOfficeEasyIdProviderOutput
96
+ */
97
+ postalAddress?: string | null;
98
+ /**
99
+ * The details of the underlying document used to help create the Yoti credential
100
+ * @type {YotiDocumentDetails}
101
+ * @memberof PostOfficeEasyIdProviderOutput
102
+ */
103
+ documentDetails?: YotiDocumentDetails | null;
104
+ }
105
+ /**
106
+ * Check if a given object implements the PostOfficeEasyIdProviderOutput interface.
107
+ */
108
+ export declare function instanceOfPostOfficeEasyIdProviderOutput(value: object): value is PostOfficeEasyIdProviderOutput;
109
+ export declare function PostOfficeEasyIdProviderOutputFromJSON(json: any): PostOfficeEasyIdProviderOutput;
110
+ export declare function PostOfficeEasyIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostOfficeEasyIdProviderOutput;
111
+ export declare function PostOfficeEasyIdProviderOutputToJSON(json: any): PostOfficeEasyIdProviderOutput;
112
+ export declare function PostOfficeEasyIdProviderOutputToJSONTyped(value?: PostOfficeEasyIdProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,65 @@
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
+ import { YotiStructuredPostalAddressFromJSON, YotiStructuredPostalAddressToJSON, } from './YotiStructuredPostalAddress';
15
+ import { YotiDocumentDetailsFromJSON, YotiDocumentDetailsToJSON, } from './YotiDocumentDetails';
16
+ /**
17
+ * Check if a given object implements the PostOfficeEasyIdProviderOutput interface.
18
+ */
19
+ export function instanceOfPostOfficeEasyIdProviderOutput(value) {
20
+ return true;
21
+ }
22
+ export function PostOfficeEasyIdProviderOutputFromJSON(json) {
23
+ return PostOfficeEasyIdProviderOutputFromJSONTyped(json, false);
24
+ }
25
+ export function PostOfficeEasyIdProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'rememberMeId': json['rememberMeId'] == null ? undefined : json['rememberMeId'],
31
+ 'email': json['email'] == null ? undefined : json['email'],
32
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
33
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
34
+ 'fullName': json['fullName'] == null ? undefined : json['fullName'],
35
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
36
+ 'gender': json['gender'] == null ? undefined : json['gender'],
37
+ 'nationality': json['nationality'] == null ? undefined : json['nationality'],
38
+ 'mobileNumber': json['mobileNumber'] == null ? undefined : json['mobileNumber'],
39
+ 'structuredPostalAddress': json['structuredPostalAddress'] == null ? undefined : YotiStructuredPostalAddressFromJSON(json['structuredPostalAddress']),
40
+ 'postalAddress': json['postalAddress'] == null ? undefined : json['postalAddress'],
41
+ 'documentDetails': json['documentDetails'] == null ? undefined : YotiDocumentDetailsFromJSON(json['documentDetails']),
42
+ };
43
+ }
44
+ export function PostOfficeEasyIdProviderOutputToJSON(json) {
45
+ return PostOfficeEasyIdProviderOutputToJSONTyped(json, false);
46
+ }
47
+ export function PostOfficeEasyIdProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'rememberMeId': value['rememberMeId'],
53
+ 'email': value['email'],
54
+ 'givenName': value['givenName'],
55
+ 'familyName': value['familyName'],
56
+ 'fullName': value['fullName'],
57
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
58
+ 'gender': value['gender'],
59
+ 'nationality': value['nationality'],
60
+ 'mobileNumber': value['mobileNumber'],
61
+ 'structuredPostalAddress': YotiStructuredPostalAddressToJSON(value['structuredPostalAddress']),
62
+ 'postalAddress': value['postalAddress'],
63
+ 'documentDetails': YotiDocumentDetailsToJSON(value['documentDetails']),
64
+ };
65
+ }
@@ -9,81 +9,88 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ContractIdentifierField } from './ContractIdentifierField';
13
- import type { ContractField } from './ContractField';
12
+ import type { ContractAttachment } from './ContractAttachment';
14
13
  import type { ProviderHealth } from './ProviderHealth';
15
14
  import type { SubProviderMetadata } from './SubProviderMetadata';
16
15
  import type { ResultCollectionMethod } from './ResultCollectionMethod';
16
+ import type { ContractAttribute } from './ContractAttribute';
17
17
  import type { IntegrationLaunchMethod } from './IntegrationLaunchMethod';
18
18
  /**
19
19
  *
20
20
  * @export
21
- * @interface ProviderContract
21
+ * @interface Provider
22
22
  */
23
- export interface ProviderContract {
23
+ export interface Provider {
24
24
  /**
25
- * The ID of the Provider for this contract.
25
+ * The unique identifier of the provider
26
26
  * @type {string}
27
- * @memberof ProviderContract
27
+ * @memberof Provider
28
28
  */
29
29
  id: string;
30
30
  /**
31
- * The Provider's Name as it appears in Trinsic's Dashboard and Widget
31
+ * The display name of the provider
32
32
  * @type {string}
33
- * @memberof ProviderContract
33
+ * @memberof Provider
34
34
  */
35
35
  name: string;
36
+ /**
37
+ * The URL of the provider's logo
38
+ * @type {string}
39
+ * @memberof Provider
40
+ */
41
+ logoUrl: string;
36
42
  /**
37
43
  * The Provider's subtext recommended to be shown next to the name.
38
44
  *
39
45
  * This is flavor text, not a full, human-readable description of the provider.
40
46
  * @type {string}
41
- * @memberof ProviderContract
47
+ * @memberof Provider
42
48
  */
43
49
  subtext: string;
44
50
  /**
45
- * The Provider's description as it appears in Trinsic's Widget.
46
- *
47
- * This is flavor text, not a full, human-readable description of the provider.
51
+ * A description of the provider's capabilities
48
52
  * @type {string}
49
- * @memberof ProviderContract
53
+ * @memberof Provider
50
54
  * @deprecated
51
55
  */
52
- description: string;
56
+ readonly description: string;
53
57
  /**
54
- * A URL pointing to the Provider's logo on Trinsic's CDN.
55
- *
56
- * May be a PNG, JPG, or SVG image.
57
- * @type {string}
58
- * @memberof ProviderContract
58
+ * Geographic regions where this provider operates
59
+ * @type {Array<string>}
60
+ * @memberof Provider
61
+ * @deprecated
59
62
  */
60
- logoUrl: string;
63
+ geography: Array<string>;
61
64
  /**
62
- * Whether the Provider is available for use in your App.
63
- *
64
- * If `false`, you will need to contact Trinsic to enable this Provider for your App.
65
- * @type {boolean}
66
- * @memberof ProviderContract
65
+ * Specific regions supported by this provider
66
+ * @type {Array<string>}
67
+ * @memberof Provider
67
68
  */
68
- available: boolean;
69
+ regions: Array<string>;
69
70
  /**
70
- * The geographies within the Regions the Provider is available.
71
+ * The countries where this Provider is available (as alpha-2 ISO codes).
71
72
  * @type {Array<string>}
72
- * @memberof ProviderContract
73
+ * @memberof Provider
73
74
  */
74
- geography: Array<string>;
75
+ countries: Array<string>;
75
76
  /**
76
- * The regions within which the Provider is available.
77
+ * The subdivisions (states, provinces, etc.) where this Provider is available (as alpha-2 ISO codes).
77
78
  * @type {Array<string>}
78
- * @memberof ProviderContract
79
+ * @memberof Provider
79
80
  */
80
- regions: Array<string>;
81
+ subdivisions: Array<string>;
82
+ /**
83
+ * Whether this provider is licensed for use by your organization
84
+ * @type {boolean}
85
+ * @memberof Provider
86
+ */
87
+ licensed: boolean;
81
88
  /**
82
89
  * Relevant only to Direct Provider Sessions.
83
90
  *
84
91
  * The `LaunchMethod` which must be supported to launch the Provider Session in Direct Provider Sessions.
85
92
  * @type {IntegrationLaunchMethod}
86
- * @memberof ProviderContract
93
+ * @memberof Provider
87
94
  */
88
95
  launchMethod: IntegrationLaunchMethod;
89
96
  /**
@@ -91,7 +98,7 @@ export interface ProviderContract {
91
98
  *
92
99
  * The `CollectionMethod` which must be supported to launch the Provider Session in Direct Provider Sessions.
93
100
  * @type {ResultCollectionMethod}
94
- * @memberof ProviderContract
101
+ * @memberof Provider
95
102
  */
96
103
  collectionMethod: ResultCollectionMethod;
97
104
  /**
@@ -101,7 +108,7 @@ export interface ProviderContract {
101
108
  * This is an uncommon scenario, and only applies to Providers which cannot guarantee
102
109
  * the availability of results immediately after the user is redirected back to your application.
103
110
  * @type {boolean}
104
- * @memberof ProviderContract
111
+ * @memberof Provider
105
112
  */
106
113
  resultsMayBeDelayedAfterRedirect: boolean;
107
114
  /**
@@ -112,7 +119,7 @@ export interface ProviderContract {
112
119
  * For example, Samsung Wallet's deep links expire every 30 seconds, and must be refreshed periodically for a
113
120
  * resilient user flow.
114
121
  * @type {boolean}
115
- * @memberof ProviderContract
122
+ * @memberof Provider
116
123
  */
117
124
  hasRefreshableContent: boolean;
118
125
  /**
@@ -121,7 +128,7 @@ export interface ProviderContract {
121
128
  * If `true`, this Provider requires provider-specific input on Session creation.
122
129
  * If this input is not provided, Trinsic's Hosted UI will be invoked to collect the input from the user.
123
130
  * @type {boolean}
124
- * @memberof ProviderContract
131
+ * @memberof Provider
125
132
  */
126
133
  requiresInput: boolean;
127
134
  /**
@@ -129,7 +136,7 @@ export interface ProviderContract {
129
136
  *
130
137
  * This is `true` for any Provider which is not a simple, OIDC-like redirect flow.
131
138
  * @type {boolean}
132
- * @memberof ProviderContract
139
+ * @memberof Provider
133
140
  */
134
141
  hasTrinsicInterface: boolean;
135
142
  /**
@@ -138,51 +145,47 @@ export interface ProviderContract {
138
145
  * If `false`, the Provider may still be launched through Direct Provider Sessions;
139
146
  * however, it will necessarily require a Trinsic-hosted UI to function.
140
147
  * @type {boolean}
141
- * @memberof ProviderContract
142
- * @deprecated
143
- */
144
- supportsAdvancedProviderSessions: boolean;
145
- /**
146
- * Whether this Provider can be fully whitelabeled/OEMed through the Direct Provider Sessions API.
147
- *
148
- * If `false`, the Provider may still be launched through Direct Provider Sessions;
149
- * however, it will necessarily require a Trinsic-hosted UI to function.
150
- * @type {boolean}
151
- * @memberof ProviderContract
148
+ * @memberof Provider
152
149
  */
153
150
  supportsDirectProviderSessions: boolean;
154
151
  /**
155
- * Information about the fields that this Provider will return in verification results.
156
- * @type {Array<ContractField>}
157
- * @memberof ProviderContract
152
+ * Information about the user attributes that this Provider will return in verification results.
153
+ * @type {Array<ContractAttribute>}
154
+ * @memberof Provider
158
155
  */
159
- availableFields?: Array<ContractField> | null;
156
+ availableAttributes?: Array<ContractAttribute> | null;
160
157
  /**
161
- * Information about the identifiers this Provider returns in verification results.
162
- * @type {Array<ContractIdentifierField>}
163
- * @memberof ProviderContract
158
+ * Information about the attachments that this Provider will return in verification results.
159
+ * @type {Array<ContractAttachment>}
160
+ * @memberof Provider
164
161
  */
165
- availableIdentifiers?: Array<ContractIdentifierField> | null;
162
+ availableAttachments?: Array<ContractAttachment> | null;
166
163
  /**
167
- * Metadata about the sub-providers which are available for this Provider.
164
+ * Metadata about the sub-providers which are available for this Provider in the current Environment.
168
165
  *
169
166
  * For example, Italy's SPID is a Provider which aggregates access to multiple sub-providers.
170
167
  * @type {Array<SubProviderMetadata>}
171
- * @memberof ProviderContract
168
+ * @memberof Provider
172
169
  */
173
170
  subProviders?: Array<SubProviderMetadata> | null;
174
171
  /**
175
- * The health for an integration to be able to successfully perform a verification session.
172
+ * The health for a provider in the live environment
173
+ * @type {ProviderHealth}
174
+ * @memberof Provider
175
+ */
176
+ liveHealth: ProviderHealth;
177
+ /**
178
+ * The health for a provider in the test environment
176
179
  * @type {ProviderHealth}
177
- * @memberof ProviderContract
180
+ * @memberof Provider
178
181
  */
179
- health: ProviderHealth;
182
+ testHealth: ProviderHealth;
180
183
  }
181
184
  /**
182
- * Check if a given object implements the ProviderContract interface.
185
+ * Check if a given object implements the Provider interface.
183
186
  */
184
- export declare function instanceOfProviderContract(value: object): value is ProviderContract;
185
- export declare function ProviderContractFromJSON(json: any): ProviderContract;
186
- export declare function ProviderContractFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderContract;
187
- export declare function ProviderContractToJSON(json: any): ProviderContract;
188
- export declare function ProviderContractToJSONTyped(value?: ProviderContract | null, ignoreDiscriminator?: boolean): any;
187
+ export declare function instanceOfProvider(value: object): value is Provider;
188
+ export declare function ProviderFromJSON(json: any): Provider;
189
+ export declare function ProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Provider;
190
+ export declare function ProviderToJSON(json: any): Provider;
191
+ export declare function ProviderToJSONTyped(value?: Omit<Provider, 'description'> | null, ignoreDiscriminator?: boolean): any;
@@ -11,32 +11,36 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { ContractIdentifierFieldFromJSON, ContractIdentifierFieldToJSON, } from './ContractIdentifierField';
15
- import { ContractFieldFromJSON, ContractFieldToJSON, } from './ContractField';
14
+ import { ContractAttachmentFromJSON, ContractAttachmentToJSON, } from './ContractAttachment';
16
15
  import { ProviderHealthFromJSON, ProviderHealthToJSON, } from './ProviderHealth';
17
16
  import { SubProviderMetadataFromJSON, SubProviderMetadataToJSON, } from './SubProviderMetadata';
18
17
  import { ResultCollectionMethodFromJSON, ResultCollectionMethodToJSON, } from './ResultCollectionMethod';
18
+ import { ContractAttributeFromJSON, ContractAttributeToJSON, } from './ContractAttribute';
19
19
  import { IntegrationLaunchMethodFromJSON, IntegrationLaunchMethodToJSON, } from './IntegrationLaunchMethod';
20
20
  /**
21
- * Check if a given object implements the ProviderContract interface.
21
+ * Check if a given object implements the Provider interface.
22
22
  */
23
- export function instanceOfProviderContract(value) {
23
+ export function instanceOfProvider(value) {
24
24
  if (!('id' in value) || value['id'] === undefined)
25
25
  return false;
26
26
  if (!('name' in value) || value['name'] === undefined)
27
27
  return false;
28
+ if (!('logoUrl' in value) || value['logoUrl'] === undefined)
29
+ return false;
28
30
  if (!('subtext' in value) || value['subtext'] === undefined)
29
31
  return false;
30
32
  if (!('description' in value) || value['description'] === undefined)
31
33
  return false;
32
- if (!('logoUrl' in value) || value['logoUrl'] === undefined)
33
- return false;
34
- if (!('available' in value) || value['available'] === undefined)
35
- return false;
36
34
  if (!('geography' in value) || value['geography'] === undefined)
37
35
  return false;
38
36
  if (!('regions' in value) || value['regions'] === undefined)
39
37
  return false;
38
+ if (!('countries' in value) || value['countries'] === undefined)
39
+ return false;
40
+ if (!('subdivisions' in value) || value['subdivisions'] === undefined)
41
+ return false;
42
+ if (!('licensed' in value) || value['licensed'] === undefined)
43
+ return false;
40
44
  if (!('launchMethod' in value) || value['launchMethod'] === undefined)
41
45
  return false;
42
46
  if (!('collectionMethod' in value) || value['collectionMethod'] === undefined)
@@ -49,71 +53,74 @@ export function instanceOfProviderContract(value) {
49
53
  return false;
50
54
  if (!('hasTrinsicInterface' in value) || value['hasTrinsicInterface'] === undefined)
51
55
  return false;
52
- if (!('supportsAdvancedProviderSessions' in value) || value['supportsAdvancedProviderSessions'] === undefined)
53
- return false;
54
56
  if (!('supportsDirectProviderSessions' in value) || value['supportsDirectProviderSessions'] === undefined)
55
57
  return false;
56
- if (!('health' in value) || value['health'] === undefined)
58
+ if (!('liveHealth' in value) || value['liveHealth'] === undefined)
59
+ return false;
60
+ if (!('testHealth' in value) || value['testHealth'] === undefined)
57
61
  return false;
58
62
  return true;
59
63
  }
60
- export function ProviderContractFromJSON(json) {
61
- return ProviderContractFromJSONTyped(json, false);
64
+ export function ProviderFromJSON(json) {
65
+ return ProviderFromJSONTyped(json, false);
62
66
  }
63
- export function ProviderContractFromJSONTyped(json, ignoreDiscriminator) {
67
+ export function ProviderFromJSONTyped(json, ignoreDiscriminator) {
64
68
  if (json == null) {
65
69
  return json;
66
70
  }
67
71
  return {
68
72
  'id': json['id'],
69
73
  'name': json['name'],
74
+ 'logoUrl': json['logoUrl'],
70
75
  'subtext': json['subtext'],
71
76
  'description': json['description'],
72
- 'logoUrl': json['logoUrl'],
73
- 'available': json['available'],
74
77
  'geography': json['geography'],
75
78
  'regions': json['regions'],
79
+ 'countries': json['countries'],
80
+ 'subdivisions': json['subdivisions'],
81
+ 'licensed': json['licensed'],
76
82
  'launchMethod': IntegrationLaunchMethodFromJSON(json['launchMethod']),
77
83
  'collectionMethod': ResultCollectionMethodFromJSON(json['collectionMethod']),
78
84
  'resultsMayBeDelayedAfterRedirect': json['resultsMayBeDelayedAfterRedirect'],
79
85
  'hasRefreshableContent': json['hasRefreshableContent'],
80
86
  'requiresInput': json['requiresInput'],
81
87
  'hasTrinsicInterface': json['hasTrinsicInterface'],
82
- 'supportsAdvancedProviderSessions': json['supportsAdvancedProviderSessions'],
83
88
  'supportsDirectProviderSessions': json['supportsDirectProviderSessions'],
84
- 'availableFields': json['availableFields'] == null ? undefined : (json['availableFields'].map(ContractFieldFromJSON)),
85
- 'availableIdentifiers': json['availableIdentifiers'] == null ? undefined : (json['availableIdentifiers'].map(ContractIdentifierFieldFromJSON)),
89
+ 'availableAttributes': json['availableAttributes'] == null ? undefined : (json['availableAttributes'].map(ContractAttributeFromJSON)),
90
+ 'availableAttachments': json['availableAttachments'] == null ? undefined : (json['availableAttachments'].map(ContractAttachmentFromJSON)),
86
91
  'subProviders': json['subProviders'] == null ? undefined : (json['subProviders'].map(SubProviderMetadataFromJSON)),
87
- 'health': ProviderHealthFromJSON(json['health']),
92
+ 'liveHealth': ProviderHealthFromJSON(json['liveHealth']),
93
+ 'testHealth': ProviderHealthFromJSON(json['testHealth']),
88
94
  };
89
95
  }
90
- export function ProviderContractToJSON(json) {
91
- return ProviderContractToJSONTyped(json, false);
96
+ export function ProviderToJSON(json) {
97
+ return ProviderToJSONTyped(json, false);
92
98
  }
93
- export function ProviderContractToJSONTyped(value, ignoreDiscriminator = false) {
99
+ export function ProviderToJSONTyped(value, ignoreDiscriminator = false) {
94
100
  if (value == null) {
95
101
  return value;
96
102
  }
97
103
  return {
98
104
  'id': value['id'],
99
105
  'name': value['name'],
100
- 'subtext': value['subtext'],
101
- 'description': value['description'],
102
106
  'logoUrl': value['logoUrl'],
103
- 'available': value['available'],
107
+ 'subtext': value['subtext'],
104
108
  'geography': value['geography'],
105
109
  'regions': value['regions'],
110
+ 'countries': value['countries'],
111
+ 'subdivisions': value['subdivisions'],
112
+ 'licensed': value['licensed'],
106
113
  'launchMethod': IntegrationLaunchMethodToJSON(value['launchMethod']),
107
114
  'collectionMethod': ResultCollectionMethodToJSON(value['collectionMethod']),
108
115
  'resultsMayBeDelayedAfterRedirect': value['resultsMayBeDelayedAfterRedirect'],
109
116
  'hasRefreshableContent': value['hasRefreshableContent'],
110
117
  'requiresInput': value['requiresInput'],
111
118
  'hasTrinsicInterface': value['hasTrinsicInterface'],
112
- 'supportsAdvancedProviderSessions': value['supportsAdvancedProviderSessions'],
113
119
  'supportsDirectProviderSessions': value['supportsDirectProviderSessions'],
114
- 'availableFields': value['availableFields'] == null ? undefined : (value['availableFields'].map(ContractFieldToJSON)),
115
- 'availableIdentifiers': value['availableIdentifiers'] == null ? undefined : (value['availableIdentifiers'].map(ContractIdentifierFieldToJSON)),
120
+ 'availableAttributes': value['availableAttributes'] == null ? undefined : (value['availableAttributes'].map(ContractAttributeToJSON)),
121
+ 'availableAttachments': value['availableAttachments'] == null ? undefined : (value['availableAttachments'].map(ContractAttachmentToJSON)),
116
122
  'subProviders': value['subProviders'] == null ? undefined : (value['subProviders'].map(SubProviderMetadataToJSON)),
117
- 'health': ProviderHealthToJSON(value['health']),
123
+ 'liveHealth': ProviderHealthToJSON(value['liveHealth']),
124
+ 'testHealth': ProviderHealthToJSON(value['testHealth']),
118
125
  };
119
126
  }