@trinsic/api 2.3.0-alpha1 → 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 (571) hide show
  1. package/.openapi-generator/FILES +69 -29
  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/KenyaNidBiometric2Input.d.ts +47 -0
  69. package/dist/esm/models/KenyaNidBiometric2Input.js +45 -0
  70. package/dist/esm/models/KenyaNidInput.d.ts +1 -1
  71. package/dist/esm/models/KenyaNidLookup2Input.d.ts +32 -0
  72. package/dist/esm/models/KenyaNidLookup2Input.js +41 -0
  73. package/dist/esm/models/KenyaNidMatch2Input.d.ts +63 -0
  74. package/dist/esm/models/KenyaNidMatch2Input.js +52 -0
  75. package/dist/esm/models/KenyaNidMatch2InputSex.d.ts +25 -0
  76. package/dist/esm/models/KenyaNidMatch2InputSex.js +43 -0
  77. package/dist/esm/models/LaWalletProviderOutput.d.ts +148 -0
  78. package/dist/esm/models/LaWalletProviderOutput.js +109 -0
  79. package/dist/esm/models/LatviaEparakstsMobileProviderOutput.d.ts +60 -0
  80. package/dist/esm/models/LatviaEparakstsMobileProviderOutput.js +51 -0
  81. package/dist/esm/models/LatviaEparakstsProviderOutput.d.ts +60 -0
  82. package/dist/esm/models/LatviaEparakstsProviderOutput.js +51 -0
  83. package/dist/esm/models/ListProvidersResponse.d.ts +4 -4
  84. package/dist/esm/models/ListProvidersResponse.js +3 -3
  85. package/dist/esm/models/ListRedirectUrisResponse.d.ts +39 -0
  86. package/dist/esm/models/{ListEnvironmentRedirectUrisResponse.js → ListRedirectUrisResponse.js} +8 -8
  87. package/dist/esm/models/LithuaniaIdCardProviderOutput.d.ts +68 -0
  88. package/dist/esm/models/LithuaniaIdCardProviderOutput.js +55 -0
  89. package/dist/esm/models/LloydsSmartIdProviderOutput.d.ts +112 -0
  90. package/dist/esm/models/LloydsSmartIdProviderOutput.js +65 -0
  91. package/dist/esm/models/Match.d.ts +8 -0
  92. package/dist/esm/models/MatchData.d.ts +26 -3
  93. package/dist/esm/models/MatchData.js +2 -0
  94. package/dist/esm/models/MdlOutput.d.ts +60 -0
  95. package/dist/esm/models/MdlOutput.js +56 -0
  96. package/dist/esm/models/MdlOutputCertificateData.d.ts +60 -0
  97. package/dist/esm/models/{MdlCertificateData.js → MdlOutputCertificateData.js} +8 -8
  98. package/dist/esm/models/MdlOutputFieldData.d.ts +39 -0
  99. package/dist/esm/models/{ExternalMdlFieldData.js → MdlOutputFieldData.js} +11 -11
  100. package/dist/esm/models/MdlOutputFieldDataType.d.ts +29 -0
  101. package/dist/esm/models/MdlOutputFieldDataType.js +47 -0
  102. package/dist/esm/models/MexicoCurpProviderOutput.d.ts +1 -1
  103. package/dist/esm/models/MitIdProviderOutput.d.ts +137 -0
  104. package/dist/esm/models/MitIdProviderOutput.js +61 -0
  105. package/dist/esm/models/MobileIdInput.d.ts +3 -3
  106. package/dist/esm/models/MobileIdInput.js +3 -3
  107. package/dist/esm/models/MobileIdLanguage.d.ts +27 -0
  108. package/dist/esm/models/{Language.js → MobileIdLanguage.js} +10 -10
  109. package/dist/esm/models/MobileIdProviderOutput.d.ts +118 -0
  110. package/dist/esm/models/MobileIdProviderOutput.js +57 -0
  111. package/dist/esm/models/NigeriaNinBiometric2Input.d.ts +47 -0
  112. package/dist/esm/models/NigeriaNinBiometric2Input.js +45 -0
  113. package/dist/esm/models/NigeriaNinInput.d.ts +1 -1
  114. package/dist/esm/models/NigeriaNinLookup2Input.d.ts +32 -0
  115. package/dist/esm/models/NigeriaNinLookup2Input.js +41 -0
  116. package/dist/esm/models/NigeriaNinMatch2Input.d.ts +70 -0
  117. package/dist/esm/models/NigeriaNinMatch2Input.js +54 -0
  118. package/dist/esm/models/NigeriaNinMatch2InputSex.d.ts +25 -0
  119. package/dist/esm/models/NigeriaNinMatch2InputSex.js +43 -0
  120. package/dist/esm/models/PersonData.d.ts +8 -6
  121. package/dist/esm/models/PeruDniAddress.d.ts +53 -0
  122. package/dist/esm/models/PeruDniAddress.js +51 -0
  123. package/dist/esm/models/PeruDniLookupInput.d.ts +37 -0
  124. package/dist/esm/models/PeruDniLookupInput.js +41 -0
  125. package/dist/esm/models/PeruDniProviderOutput.d.ts +213 -0
  126. package/dist/esm/models/PeruDniProviderOutput.js +88 -0
  127. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +33 -0
  128. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +43 -0
  129. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +33 -0
  130. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +43 -0
  131. package/dist/esm/models/PolandEdoAppProviderOutput.d.ts +62 -0
  132. package/dist/esm/models/PolandEdoAppProviderOutput.js +55 -0
  133. package/dist/esm/models/PolandMojeIdProviderOutput.d.ts +56 -0
  134. package/dist/esm/models/PolandMojeIdProviderOutput.js +51 -0
  135. package/dist/esm/models/PortugalIdCardProviderOutput.d.ts +50 -0
  136. package/dist/esm/models/PortugalIdCardProviderOutput.js +55 -0
  137. package/dist/esm/models/PostOfficeEasyIdProviderOutput.d.ts +112 -0
  138. package/dist/esm/models/PostOfficeEasyIdProviderOutput.js +65 -0
  139. package/dist/esm/models/{ProviderContract.d.ts → Provider.d.ts} +71 -68
  140. package/dist/esm/models/{ProviderContract.js → Provider.js} +37 -30
  141. package/dist/esm/models/ProviderInput.d.ts +117 -27
  142. package/dist/esm/models/ProviderInput.js +87 -49
  143. package/dist/esm/models/ProviderOutput.d.ts +208 -5
  144. package/dist/esm/models/ProviderOutput.js +89 -2
  145. package/dist/esm/models/RecommendProviderHealthOption.d.ts +26 -0
  146. package/dist/esm/models/RecommendProviderHealthOption.js +44 -0
  147. package/dist/esm/models/RecommendProviderInformation.d.ts +85 -0
  148. package/dist/esm/models/{ProviderInfo.js → RecommendProviderInformation.js} +17 -17
  149. package/dist/esm/models/RecommendProvidersRequest.d.ts +46 -0
  150. package/dist/esm/models/{RecommendRequest.js → RecommendProvidersRequest.js} +11 -10
  151. package/dist/esm/models/RecommendProvidersResponse.d.ts +33 -0
  152. package/dist/esm/models/RecommendProvidersResponse.js +44 -0
  153. package/dist/esm/models/SamsungWalletProviderOutput.d.ts +33 -0
  154. package/dist/esm/models/SamsungWalletProviderOutput.js +44 -0
  155. package/dist/esm/models/SerbiaIdCardProviderOutput.d.ts +63 -0
  156. package/dist/esm/models/SerbiaIdCardProviderOutput.js +55 -0
  157. package/dist/esm/models/SmartIdInput.d.ts +0 -7
  158. package/dist/esm/models/SmartIdInput.js +0 -2
  159. package/dist/esm/models/SmartIdProviderOutput.d.ts +175 -0
  160. package/dist/esm/models/SmartIdProviderOutput.js +65 -0
  161. package/dist/esm/models/SouthAfricaNidBiometric2Input.d.ts +47 -0
  162. package/dist/esm/models/SouthAfricaNidBiometric2Input.js +45 -0
  163. package/dist/esm/models/SouthAfricaNidInput.d.ts +1 -1
  164. package/dist/esm/models/SouthAfricaNidLookup2Input.d.ts +32 -0
  165. package/dist/esm/models/SouthAfricaNidLookup2Input.js +41 -0
  166. package/dist/esm/models/SouthAfricaNidMatch2Input.d.ts +70 -0
  167. package/dist/esm/models/SouthAfricaNidMatch2Input.js +54 -0
  168. package/dist/esm/models/SouthAfricaNidMatch2InputSex.d.ts +25 -0
  169. package/dist/esm/models/SouthAfricaNidMatch2InputSex.js +43 -0
  170. package/dist/esm/models/SpidProviderOutput.d.ts +142 -12
  171. package/dist/esm/models/SpidProviderOutput.js +46 -4
  172. package/dist/esm/models/SubProviderMetadata.d.ts +0 -9
  173. package/dist/esm/models/SubProviderMetadata.js +0 -4
  174. package/dist/esm/models/SwedenBankIdProviderOutput.d.ts +110 -0
  175. package/dist/esm/models/SwedenBankIdProviderOutput.js +65 -0
  176. package/dist/esm/models/UgandaNidMatch2Input.d.ts +45 -0
  177. package/dist/esm/models/UgandaNidMatch2Input.js +45 -0
  178. package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
  179. package/dist/esm/models/VerificationProfileResponse.js +4 -0
  180. package/dist/esm/models/YotiDocumentDetails.d.ts +62 -0
  181. package/dist/esm/models/YotiDocumentDetails.js +49 -0
  182. package/dist/esm/models/YotiProviderOutput.d.ts +112 -0
  183. package/dist/esm/models/YotiProviderOutput.js +65 -0
  184. package/dist/esm/models/YotiStructuredPostalAddress.d.ts +152 -0
  185. package/dist/esm/models/YotiStructuredPostalAddress.js +79 -0
  186. package/dist/esm/models/ZimbabweNidLookup2Input.d.ts +32 -0
  187. package/dist/esm/models/ZimbabweNidLookup2Input.js +41 -0
  188. package/dist/esm/models/index.d.ts +67 -25
  189. package/dist/esm/models/index.js +67 -25
  190. package/dist/models/AddRedirectUriRequest.d.ts +32 -0
  191. package/dist/models/AddRedirectUriRequest.js +50 -0
  192. package/dist/models/Address.d.ts +5 -2
  193. package/dist/models/AppleWalletProviderOutput.d.ts +33 -0
  194. package/dist/models/AppleWalletProviderOutput.js +51 -0
  195. package/dist/models/AttachmentInfo.d.ts +62 -0
  196. package/dist/models/AttachmentInfo.js +62 -0
  197. package/dist/models/AttributeAvailability.d.ts +26 -0
  198. package/dist/models/AttributeAvailability.js +52 -0
  199. package/dist/models/AustriaHandySignaturProviderOutput.d.ts +38 -0
  200. package/dist/models/AustriaHandySignaturProviderOutput.js +54 -0
  201. package/dist/models/BelgiumIdCardProviderOutput.d.ts +57 -0
  202. package/dist/models/BelgiumIdCardProviderOutput.js +62 -0
  203. package/dist/models/ContractAttachment.d.ts +49 -0
  204. package/dist/models/ContractAttachment.js +55 -0
  205. package/dist/models/ContractAttribute.d.ts +39 -0
  206. package/dist/models/ContractAttribute.js +55 -0
  207. package/dist/models/CoteDIvoireNidLookup2Input.d.ts +32 -0
  208. package/dist/models/CoteDIvoireNidLookup2Input.js +48 -0
  209. package/dist/models/CzechiaMojeIdProviderOutput.d.ts +52 -0
  210. package/dist/models/CzechiaMojeIdProviderOutput.js +62 -0
  211. package/dist/models/DocumentData.d.ts +13 -5
  212. package/dist/models/DocumentData.js +2 -0
  213. package/dist/models/EstoniaIdCardProviderOutput.d.ts +64 -0
  214. package/dist/models/EstoniaIdCardProviderOutput.js +62 -0
  215. package/dist/models/FaydaProviderOutput.d.ts +1 -1
  216. package/dist/models/FinlandIdCardProviderOutput.d.ts +63 -0
  217. package/dist/models/FinlandIdCardProviderOutput.js +62 -0
  218. package/dist/models/FrejaProviderOutput.d.ts +53 -0
  219. package/dist/models/FrejaProviderOutput.js +62 -0
  220. package/dist/models/FrenchNumeriqueGivenName.d.ts +45 -0
  221. package/dist/models/FrenchNumeriqueGivenName.js +52 -0
  222. package/dist/models/FrenchNumeriqueNationality.d.ts +38 -0
  223. package/dist/models/FrenchNumeriqueNationality.js +50 -0
  224. package/dist/models/FrenchNumeriquePhone.d.ts +44 -0
  225. package/dist/models/FrenchNumeriquePhone.js +52 -0
  226. package/dist/models/FrenchNumeriqueProviderOutput.d.ts +205 -0
  227. package/dist/models/FrenchNumeriqueProviderOutput.js +99 -0
  228. package/dist/models/GetAttachmentRequest.d.ts +4 -8
  229. package/dist/models/GetAttachmentRequest.js +3 -7
  230. package/dist/models/GoogleWalletProviderOutput.d.ts +33 -0
  231. package/dist/models/GoogleWalletProviderOutput.js +51 -0
  232. package/dist/models/IdentityData.d.ts +15 -13
  233. package/dist/models/IdentityData.js +4 -7
  234. package/dist/models/ItsmeProviderOutput.d.ts +69 -0
  235. package/dist/models/ItsmeProviderOutput.js +62 -0
  236. package/dist/models/KenyaNidBiometric2Input.d.ts +47 -0
  237. package/dist/models/KenyaNidBiometric2Input.js +52 -0
  238. package/dist/models/KenyaNidInput.d.ts +1 -1
  239. package/dist/models/KenyaNidLookup2Input.d.ts +32 -0
  240. package/dist/models/KenyaNidLookup2Input.js +48 -0
  241. package/dist/models/KenyaNidMatch2Input.d.ts +63 -0
  242. package/dist/models/KenyaNidMatch2Input.js +59 -0
  243. package/dist/models/KenyaNidMatch2InputSex.d.ts +25 -0
  244. package/dist/models/KenyaNidMatch2InputSex.js +51 -0
  245. package/dist/models/LaWalletProviderOutput.d.ts +148 -0
  246. package/dist/models/LaWalletProviderOutput.js +116 -0
  247. package/dist/models/LatviaEparakstsMobileProviderOutput.d.ts +60 -0
  248. package/dist/models/LatviaEparakstsMobileProviderOutput.js +58 -0
  249. package/dist/models/LatviaEparakstsProviderOutput.d.ts +60 -0
  250. package/dist/models/LatviaEparakstsProviderOutput.js +58 -0
  251. package/dist/models/ListProvidersResponse.d.ts +4 -4
  252. package/dist/models/ListProvidersResponse.js +3 -3
  253. package/dist/models/ListRedirectUrisResponse.d.ts +39 -0
  254. package/dist/models/ListRedirectUrisResponse.js +55 -0
  255. package/dist/models/LithuaniaIdCardProviderOutput.d.ts +68 -0
  256. package/dist/models/LithuaniaIdCardProviderOutput.js +62 -0
  257. package/dist/models/LloydsSmartIdProviderOutput.d.ts +112 -0
  258. package/dist/models/LloydsSmartIdProviderOutput.js +72 -0
  259. package/dist/models/Match.d.ts +8 -0
  260. package/dist/models/MatchData.d.ts +26 -3
  261. package/dist/models/MatchData.js +2 -0
  262. package/dist/models/MdlOutput.d.ts +60 -0
  263. package/dist/models/MdlOutput.js +63 -0
  264. package/dist/models/MdlOutputCertificateData.d.ts +60 -0
  265. package/dist/models/{MdlCertificateData.js → MdlOutputCertificateData.js} +13 -13
  266. package/dist/models/MdlOutputFieldData.d.ts +39 -0
  267. package/dist/models/MdlOutputFieldData.js +55 -0
  268. package/dist/models/MdlOutputFieldDataType.d.ts +29 -0
  269. package/dist/models/MdlOutputFieldDataType.js +55 -0
  270. package/dist/models/MexicoCurpProviderOutput.d.ts +1 -1
  271. package/dist/models/MitIdProviderOutput.d.ts +137 -0
  272. package/dist/models/MitIdProviderOutput.js +68 -0
  273. package/dist/models/MobileIdInput.d.ts +3 -3
  274. package/dist/models/MobileIdInput.js +3 -3
  275. package/dist/models/MobileIdLanguage.d.ts +27 -0
  276. package/dist/models/MobileIdLanguage.js +53 -0
  277. package/dist/models/MobileIdProviderOutput.d.ts +118 -0
  278. package/dist/models/MobileIdProviderOutput.js +64 -0
  279. package/dist/models/NigeriaNinBiometric2Input.d.ts +47 -0
  280. package/dist/models/NigeriaNinBiometric2Input.js +52 -0
  281. package/dist/models/NigeriaNinInput.d.ts +1 -1
  282. package/dist/models/NigeriaNinLookup2Input.d.ts +32 -0
  283. package/dist/models/NigeriaNinLookup2Input.js +48 -0
  284. package/dist/models/NigeriaNinMatch2Input.d.ts +70 -0
  285. package/dist/models/NigeriaNinMatch2Input.js +61 -0
  286. package/dist/models/NigeriaNinMatch2InputSex.d.ts +25 -0
  287. package/dist/models/NigeriaNinMatch2InputSex.js +51 -0
  288. package/dist/models/PersonData.d.ts +8 -6
  289. package/dist/models/PeruDniAddress.d.ts +53 -0
  290. package/dist/models/PeruDniAddress.js +58 -0
  291. package/dist/models/PeruDniLookupInput.d.ts +37 -0
  292. package/dist/models/PeruDniLookupInput.js +48 -0
  293. package/dist/models/PeruDniProviderOutput.d.ts +213 -0
  294. package/dist/models/PeruDniProviderOutput.js +95 -0
  295. package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +33 -0
  296. package/dist/models/PhilippinesDigitalNidProviderOutput.js +50 -0
  297. package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +33 -0
  298. package/dist/models/PhilippinesPhysicalNidProviderOutput.js +50 -0
  299. package/dist/models/PolandEdoAppProviderOutput.d.ts +62 -0
  300. package/dist/models/PolandEdoAppProviderOutput.js +62 -0
  301. package/dist/models/PolandMojeIdProviderOutput.d.ts +56 -0
  302. package/dist/models/PolandMojeIdProviderOutput.js +58 -0
  303. package/dist/models/PortugalIdCardProviderOutput.d.ts +50 -0
  304. package/dist/models/PortugalIdCardProviderOutput.js +62 -0
  305. package/dist/models/PostOfficeEasyIdProviderOutput.d.ts +112 -0
  306. package/dist/models/PostOfficeEasyIdProviderOutput.js +72 -0
  307. package/dist/models/{ProviderContract.d.ts → Provider.d.ts} +71 -68
  308. package/dist/models/{ProviderContract.js → Provider.js} +42 -35
  309. package/dist/models/ProviderInput.d.ts +117 -27
  310. package/dist/models/ProviderInput.js +87 -49
  311. package/dist/models/ProviderOutput.d.ts +208 -5
  312. package/dist/models/ProviderOutput.js +89 -2
  313. package/dist/models/RecommendProviderHealthOption.d.ts +26 -0
  314. package/dist/models/RecommendProviderHealthOption.js +52 -0
  315. package/dist/models/RecommendProviderInformation.d.ts +85 -0
  316. package/dist/models/{ProviderInfo.js → RecommendProviderInformation.js} +22 -22
  317. package/dist/models/RecommendProvidersRequest.d.ts +46 -0
  318. package/dist/models/RecommendProvidersRequest.js +56 -0
  319. package/dist/models/RecommendProvidersResponse.d.ts +33 -0
  320. package/dist/models/RecommendProvidersResponse.js +51 -0
  321. package/dist/models/SamsungWalletProviderOutput.d.ts +33 -0
  322. package/dist/models/SamsungWalletProviderOutput.js +51 -0
  323. package/dist/models/SerbiaIdCardProviderOutput.d.ts +63 -0
  324. package/dist/models/SerbiaIdCardProviderOutput.js +62 -0
  325. package/dist/models/SmartIdInput.d.ts +0 -7
  326. package/dist/models/SmartIdInput.js +0 -2
  327. package/dist/models/SmartIdProviderOutput.d.ts +175 -0
  328. package/dist/models/SmartIdProviderOutput.js +72 -0
  329. package/dist/models/SouthAfricaNidBiometric2Input.d.ts +47 -0
  330. package/dist/models/SouthAfricaNidBiometric2Input.js +52 -0
  331. package/dist/models/SouthAfricaNidInput.d.ts +1 -1
  332. package/dist/models/SouthAfricaNidLookup2Input.d.ts +32 -0
  333. package/dist/models/SouthAfricaNidLookup2Input.js +48 -0
  334. package/dist/models/SouthAfricaNidMatch2Input.d.ts +70 -0
  335. package/dist/models/SouthAfricaNidMatch2Input.js +61 -0
  336. package/dist/models/SouthAfricaNidMatch2InputSex.d.ts +25 -0
  337. package/dist/models/SouthAfricaNidMatch2InputSex.js +51 -0
  338. package/dist/models/SpidProviderOutput.d.ts +142 -12
  339. package/dist/models/SpidProviderOutput.js +46 -4
  340. package/dist/models/SubProviderMetadata.d.ts +0 -9
  341. package/dist/models/SubProviderMetadata.js +0 -4
  342. package/dist/models/SwedenBankIdProviderOutput.d.ts +110 -0
  343. package/dist/models/SwedenBankIdProviderOutput.js +72 -0
  344. package/dist/models/UgandaNidMatch2Input.d.ts +45 -0
  345. package/dist/models/UgandaNidMatch2Input.js +52 -0
  346. package/dist/models/VerificationProfileResponse.d.ts +6 -0
  347. package/dist/models/VerificationProfileResponse.js +4 -0
  348. package/dist/models/YotiDocumentDetails.d.ts +62 -0
  349. package/dist/models/YotiDocumentDetails.js +56 -0
  350. package/dist/models/YotiProviderOutput.d.ts +112 -0
  351. package/dist/models/YotiProviderOutput.js +72 -0
  352. package/dist/models/YotiStructuredPostalAddress.d.ts +152 -0
  353. package/dist/models/YotiStructuredPostalAddress.js +86 -0
  354. package/dist/models/ZimbabweNidLookup2Input.d.ts +32 -0
  355. package/dist/models/ZimbabweNidLookup2Input.js +48 -0
  356. package/dist/models/index.d.ts +67 -25
  357. package/dist/models/index.js +67 -25
  358. package/package.json +1 -1
  359. package/src/apis/ProvidersApi.ts +102 -0
  360. package/src/apis/{EnvironmentRedirectUrisApi.ts → RedirectUrisApi.ts} +35 -35
  361. package/src/apis/SessionsApi.ts +152 -4
  362. package/src/apis/VerificationProfilesApi.ts +9 -3
  363. package/src/apis/index.ts +2 -4
  364. package/src/models/AddRedirectUriRequest.ts +66 -0
  365. package/src/models/Address.ts +6 -3
  366. package/src/models/AppleWalletProviderOutput.ts +74 -0
  367. package/src/models/AttachmentInfo.ts +105 -0
  368. package/src/models/AttributeAvailability.ts +54 -0
  369. package/src/models/AustriaHandySignaturProviderOutput.ts +75 -0
  370. package/src/models/BelgiumIdCardProviderOutput.ts +100 -0
  371. package/src/models/ContractAttachment.ts +95 -0
  372. package/src/models/ContractAttribute.ts +85 -0
  373. package/src/models/CoteDIvoireNidLookup2Input.ts +65 -0
  374. package/src/models/CzechiaMojeIdProviderOutput.ts +95 -0
  375. package/src/models/DocumentData.ts +16 -6
  376. package/src/models/EstoniaIdCardProviderOutput.ts +107 -0
  377. package/src/models/FaydaProviderOutput.ts +1 -1
  378. package/src/models/FinlandIdCardProviderOutput.ts +106 -0
  379. package/src/models/FrejaProviderOutput.ts +96 -0
  380. package/src/models/FrenchNumeriqueGivenName.ts +82 -0
  381. package/src/models/FrenchNumeriqueNationality.ts +73 -0
  382. package/src/models/FrenchNumeriquePhone.ts +81 -0
  383. package/src/models/FrenchNumeriqueProviderOutput.ts +305 -0
  384. package/src/models/GetAttachmentRequest.ts +7 -14
  385. package/src/models/GoogleWalletProviderOutput.ts +74 -0
  386. package/src/models/IdentityData.ts +27 -33
  387. package/src/models/ItsmeProviderOutput.ts +113 -0
  388. package/src/models/KenyaNidBiometric2Input.ts +84 -0
  389. package/src/models/KenyaNidInput.ts +1 -1
  390. package/src/models/KenyaNidLookup2Input.ts +65 -0
  391. package/src/models/KenyaNidMatch2Input.ts +115 -0
  392. package/src/models/KenyaNidMatch2InputSex.ts +53 -0
  393. package/src/models/LaWalletProviderOutput.ts +232 -0
  394. package/src/models/LatviaEparakstsMobileProviderOutput.ts +100 -0
  395. package/src/models/LatviaEparakstsProviderOutput.ts +100 -0
  396. package/src/models/ListProvidersResponse.ts +11 -11
  397. package/src/models/{ListEnvironmentRedirectUrisResponse.ts → ListRedirectUrisResponse.ts} +12 -12
  398. package/src/models/LithuaniaIdCardProviderOutput.ts +111 -0
  399. package/src/models/LloydsSmartIdProviderOutput.ts +180 -0
  400. package/src/models/Match.ts +10 -2
  401. package/src/models/MatchData.ts +36 -11
  402. package/src/models/MdlOutput.ts +112 -0
  403. package/src/models/{MdlCertificateData.ts → MdlOutputCertificateData.ts} +18 -16
  404. package/src/models/MdlOutputFieldData.ts +85 -0
  405. package/src/models/MdlOutputFieldDataType.ts +57 -0
  406. package/src/models/MexicoCurpProviderOutput.ts +1 -1
  407. package/src/models/MitIdProviderOutput.ts +190 -0
  408. package/src/models/MobileIdInput.ts +10 -10
  409. package/src/models/MobileIdLanguage.ts +55 -0
  410. package/src/models/MobileIdProviderOutput.ts +167 -0
  411. package/src/models/NigeriaNinBiometric2Input.ts +84 -0
  412. package/src/models/NigeriaNinInput.ts +1 -1
  413. package/src/models/NigeriaNinLookup2Input.ts +65 -0
  414. package/src/models/NigeriaNinMatch2Input.ts +124 -0
  415. package/src/models/NigeriaNinMatch2InputSex.ts +53 -0
  416. package/src/models/PersonData.ts +9 -7
  417. package/src/models/PeruDniAddress.ts +93 -0
  418. package/src/models/PeruDniLookupInput.ts +70 -0
  419. package/src/models/PeruDniProviderOutput.ts +291 -0
  420. package/src/models/PhilippinesDigitalNidProviderOutput.ts +67 -0
  421. package/src/models/PhilippinesPhysicalNidProviderOutput.ts +67 -0
  422. package/src/models/PolandEdoAppProviderOutput.ts +105 -0
  423. package/src/models/PolandMojeIdProviderOutput.ts +96 -0
  424. package/src/models/PortugalIdCardProviderOutput.ts +93 -0
  425. package/src/models/PostOfficeEasyIdProviderOutput.ts +180 -0
  426. package/src/models/{ProviderContract.ts → Provider.ts} +106 -98
  427. package/src/models/ProviderInput.ts +304 -116
  428. package/src/models/ProviderOutput.ts +442 -7
  429. package/src/models/RecommendProviderHealthOption.ts +54 -0
  430. package/src/models/{ProviderInformation.ts → RecommendProviderInformation.ts} +45 -56
  431. package/src/models/{RecommendRequest.ts → RecommendProvidersRequest.ts} +27 -18
  432. package/src/models/RecommendProvidersResponse.ts +74 -0
  433. package/src/models/SamsungWalletProviderOutput.ts +74 -0
  434. package/src/models/SerbiaIdCardProviderOutput.ts +106 -0
  435. package/src/models/SmartIdInput.ts +0 -9
  436. package/src/models/SmartIdProviderOutput.ts +232 -0
  437. package/src/models/SouthAfricaNidBiometric2Input.ts +84 -0
  438. package/src/models/SouthAfricaNidInput.ts +1 -1
  439. package/src/models/SouthAfricaNidLookup2Input.ts +65 -0
  440. package/src/models/SouthAfricaNidMatch2Input.ts +124 -0
  441. package/src/models/SouthAfricaNidMatch2InputSex.ts +53 -0
  442. package/src/models/SpidProviderOutput.ts +186 -16
  443. package/src/models/SubProviderMetadata.ts +0 -12
  444. package/src/models/SwedenBankIdProviderOutput.ts +167 -0
  445. package/src/models/UgandaNidMatch2Input.ts +82 -0
  446. package/src/models/VerificationProfileResponse.ts +9 -0
  447. package/src/models/YotiDocumentDetails.ts +103 -0
  448. package/src/models/YotiProviderOutput.ts +180 -0
  449. package/src/models/YotiStructuredPostalAddress.ts +223 -0
  450. package/src/models/ZimbabweNidLookup2Input.ts +65 -0
  451. package/src/models/index.ts +67 -25
  452. package/dist/apis/AttachmentsApi.d.ts +0 -53
  453. package/dist/apis/MdlApi.d.ts +0 -80
  454. package/dist/apis/MdlApi.js +0 -105
  455. package/dist/apis/NetworkApi.d.ts +0 -109
  456. package/dist/apis/NetworkApi.js +0 -146
  457. package/dist/esm/apis/AttachmentsApi.d.ts +0 -53
  458. package/dist/esm/apis/MdlApi.d.ts +0 -80
  459. package/dist/esm/apis/MdlApi.js +0 -101
  460. package/dist/esm/apis/NetworkApi.d.ts +0 -109
  461. package/dist/esm/apis/NetworkApi.js +0 -142
  462. package/dist/esm/models/AttachmentAccessKeys.d.ts +0 -57
  463. package/dist/esm/models/AttachmentAccessKeys.js +0 -52
  464. package/dist/esm/models/BangladeshNidInput.d.ts +0 -58
  465. package/dist/esm/models/BangladeshNidInput.js +0 -55
  466. package/dist/esm/models/ContractField.d.ts +0 -46
  467. package/dist/esm/models/ContractField.js +0 -52
  468. package/dist/esm/models/ContractIdentifierField.d.ts +0 -45
  469. package/dist/esm/models/ContractIdentifierField.js +0 -52
  470. package/dist/esm/models/CreateMdlExchangeRequest.d.ts +0 -102
  471. package/dist/esm/models/CreateMdlExchangeRequest.js +0 -66
  472. package/dist/esm/models/CreateMdlExchangeResponse.d.ts +0 -48
  473. package/dist/esm/models/CreateMdlExchangeResponse.js +0 -51
  474. package/dist/esm/models/DocumentScanAttachments.d.ts +0 -32
  475. package/dist/esm/models/DocumentScanAttachments.js +0 -41
  476. package/dist/esm/models/EnvironmentRedirectUrisAddRequest.d.ts +0 -32
  477. package/dist/esm/models/ExternalMdlFieldData.d.ts +0 -39
  478. package/dist/esm/models/FieldAvailability.d.ts +0 -26
  479. package/dist/esm/models/FieldAvailability.js +0 -44
  480. package/dist/esm/models/FinalizeMdlExchangeRequest.d.ts +0 -50
  481. package/dist/esm/models/FinalizeMdlExchangeRequest.js +0 -55
  482. package/dist/esm/models/FinalizeMdlExchangeResponse.d.ts +0 -55
  483. package/dist/esm/models/FinalizeMdlExchangeResponse.js +0 -54
  484. package/dist/esm/models/Identifier.d.ts +0 -44
  485. package/dist/esm/models/Identifier.js +0 -51
  486. package/dist/esm/models/Language.d.ts +0 -27
  487. package/dist/esm/models/ListEnvironmentRedirectUrisResponse.d.ts +0 -39
  488. package/dist/esm/models/ListProviderContractsResponse.d.ts +0 -33
  489. package/dist/esm/models/ListProviderContractsResponse.js +0 -44
  490. package/dist/esm/models/MdlCertificateData.d.ts +0 -58
  491. package/dist/esm/models/MdlFieldDataType.d.ts +0 -28
  492. package/dist/esm/models/MdlFieldDataType.js +0 -46
  493. package/dist/esm/models/MdlIdentityData.d.ts +0 -50
  494. package/dist/esm/models/MdlIdentityData.js +0 -52
  495. package/dist/esm/models/ProviderAttachments.d.ts +0 -33
  496. package/dist/esm/models/ProviderAttachments.js +0 -42
  497. package/dist/esm/models/ProviderInfo.d.ts +0 -76
  498. package/dist/esm/models/ProviderInformation.d.ts +0 -88
  499. package/dist/esm/models/ProviderInformation.js +0 -74
  500. package/dist/esm/models/RecommendRequest.d.ts +0 -45
  501. package/dist/esm/models/RecommendResponse.d.ts +0 -47
  502. package/dist/esm/models/RecommendResponse.js +0 -52
  503. package/dist/models/AttachmentAccessKeys.d.ts +0 -57
  504. package/dist/models/AttachmentAccessKeys.js +0 -59
  505. package/dist/models/BangladeshNidInput.d.ts +0 -58
  506. package/dist/models/BangladeshNidInput.js +0 -62
  507. package/dist/models/ContractField.d.ts +0 -46
  508. package/dist/models/ContractField.js +0 -59
  509. package/dist/models/ContractIdentifierField.d.ts +0 -45
  510. package/dist/models/ContractIdentifierField.js +0 -59
  511. package/dist/models/CreateMdlExchangeRequest.d.ts +0 -102
  512. package/dist/models/CreateMdlExchangeRequest.js +0 -73
  513. package/dist/models/CreateMdlExchangeResponse.d.ts +0 -48
  514. package/dist/models/CreateMdlExchangeResponse.js +0 -58
  515. package/dist/models/DocumentScanAttachments.d.ts +0 -32
  516. package/dist/models/DocumentScanAttachments.js +0 -48
  517. package/dist/models/EnvironmentRedirectUrisAddRequest.d.ts +0 -32
  518. package/dist/models/EnvironmentRedirectUrisAddRequest.js +0 -50
  519. package/dist/models/ExternalMdlFieldData.d.ts +0 -39
  520. package/dist/models/ExternalMdlFieldData.js +0 -55
  521. package/dist/models/FieldAvailability.d.ts +0 -26
  522. package/dist/models/FieldAvailability.js +0 -52
  523. package/dist/models/FinalizeMdlExchangeRequest.d.ts +0 -50
  524. package/dist/models/FinalizeMdlExchangeRequest.js +0 -62
  525. package/dist/models/FinalizeMdlExchangeResponse.d.ts +0 -55
  526. package/dist/models/FinalizeMdlExchangeResponse.js +0 -61
  527. package/dist/models/Identifier.d.ts +0 -44
  528. package/dist/models/Identifier.js +0 -58
  529. package/dist/models/Language.d.ts +0 -27
  530. package/dist/models/Language.js +0 -53
  531. package/dist/models/ListEnvironmentRedirectUrisResponse.d.ts +0 -39
  532. package/dist/models/ListEnvironmentRedirectUrisResponse.js +0 -55
  533. package/dist/models/ListProviderContractsResponse.d.ts +0 -33
  534. package/dist/models/ListProviderContractsResponse.js +0 -51
  535. package/dist/models/MdlCertificateData.d.ts +0 -58
  536. package/dist/models/MdlFieldDataType.d.ts +0 -28
  537. package/dist/models/MdlFieldDataType.js +0 -54
  538. package/dist/models/MdlIdentityData.d.ts +0 -50
  539. package/dist/models/MdlIdentityData.js +0 -59
  540. package/dist/models/ProviderAttachments.d.ts +0 -33
  541. package/dist/models/ProviderAttachments.js +0 -49
  542. package/dist/models/ProviderInfo.d.ts +0 -76
  543. package/dist/models/ProviderInformation.d.ts +0 -88
  544. package/dist/models/ProviderInformation.js +0 -81
  545. package/dist/models/RecommendRequest.d.ts +0 -45
  546. package/dist/models/RecommendRequest.js +0 -55
  547. package/dist/models/RecommendResponse.d.ts +0 -47
  548. package/dist/models/RecommendResponse.js +0 -59
  549. package/src/apis/AttachmentsApi.ts +0 -104
  550. package/src/apis/MdlApi.ts +0 -169
  551. package/src/apis/NetworkApi.ts +0 -242
  552. package/src/models/AttachmentAccessKeys.ts +0 -106
  553. package/src/models/BangladeshNidInput.ts +0 -102
  554. package/src/models/ContractField.ts +0 -95
  555. package/src/models/ContractIdentifierField.ts +0 -94
  556. package/src/models/CreateMdlExchangeRequest.ts +0 -159
  557. package/src/models/CreateMdlExchangeResponse.ts +0 -88
  558. package/src/models/DocumentScanAttachments.ts +0 -65
  559. package/src/models/EnvironmentRedirectUrisAddRequest.ts +0 -66
  560. package/src/models/ExternalMdlFieldData.ts +0 -85
  561. package/src/models/FieldAvailability.ts +0 -54
  562. package/src/models/FinalizeMdlExchangeRequest.ts +0 -93
  563. package/src/models/FinalizeMdlExchangeResponse.ts +0 -115
  564. package/src/models/Identifier.ts +0 -84
  565. package/src/models/Language.ts +0 -55
  566. package/src/models/ListProviderContractsResponse.ts +0 -74
  567. package/src/models/MdlFieldDataType.ts +0 -56
  568. package/src/models/MdlIdentityData.ts +0 -99
  569. package/src/models/ProviderAttachments.ts +0 -73
  570. package/src/models/ProviderInfo.ts +0 -134
  571. package/src/models/RecommendResponse.ts +0 -94
@@ -1,242 +0,0 @@
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
-
16
- import * as runtime from '../runtime';
17
- import type {
18
- ListProviderContractsResponse,
19
- ListProvidersResponse,
20
- ProblemDetails,
21
- RecommendRequest,
22
- RecommendResponse,
23
- } from '../models/index';
24
- import {
25
- ListProviderContractsResponseFromJSON,
26
- ListProviderContractsResponseToJSON,
27
- ListProvidersResponseFromJSON,
28
- ListProvidersResponseToJSON,
29
- ProblemDetailsFromJSON,
30
- ProblemDetailsToJSON,
31
- RecommendRequestFromJSON,
32
- RecommendRequestToJSON,
33
- RecommendResponseFromJSON,
34
- RecommendResponseToJSON,
35
- } from '../models/index';
36
-
37
- export interface ListProviderContractsRequest {
38
- verificationProfileId: string;
39
- }
40
-
41
- export interface ListProvidersRequest {
42
- verificationProfileId: string;
43
- health?: string;
44
- }
45
-
46
- export interface RecommendProvidersRequest {
47
- recommendRequest?: RecommendRequest;
48
- }
49
-
50
- /**
51
- * NetworkApi - interface
52
- *
53
- * @export
54
- * @interface NetworkApiInterface
55
- */
56
- export interface NetworkApiInterface {
57
- /**
58
- * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
59
- * @summary List Provider Contracts
60
- * @param {string} verificationProfileId
61
- * @param {*} [options] Override http request option.
62
- * @throws {RequiredError}
63
- * @memberof NetworkApiInterface
64
- */
65
- listProviderContractsRaw(requestParameters: ListProviderContractsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProviderContractsResponse>>;
66
-
67
- /**
68
- * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
69
- * List Provider Contracts
70
- */
71
- listProviderContracts(verificationProfileId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProviderContractsResponse>;
72
-
73
- /**
74
- * List all identity providers available for use
75
- * @summary List Providers
76
- * @param {string} verificationProfileId
77
- * @param {string} [health] Filter providers by health status. Valid values: \&quot;online\&quot;, \&quot;offline\&quot;, \&quot;all\&quot;. Defaults to \&quot;all\&quot;.
78
- * @param {*} [options] Override http request option.
79
- * @throws {RequiredError}
80
- * @memberof NetworkApiInterface
81
- */
82
- listProvidersRaw(requestParameters: ListProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProvidersResponse>>;
83
-
84
- /**
85
- * List all identity providers available for use
86
- * List Providers
87
- */
88
- listProviders(verificationProfileId: string, health?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProvidersResponse>;
89
-
90
- /**
91
- * Generate provider recommendations based on signals about the user\'s location (phone number, countries, states).
92
- * @summary Recommend Providers
93
- * @param {RecommendRequest} [recommendRequest]
94
- * @param {*} [options] Override http request option.
95
- * @throws {RequiredError}
96
- * @memberof NetworkApiInterface
97
- */
98
- recommendProvidersRaw(requestParameters: RecommendProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecommendResponse>>;
99
-
100
- /**
101
- * Generate provider recommendations based on signals about the user\'s location (phone number, countries, states).
102
- * Recommend Providers
103
- */
104
- recommendProviders(recommendRequest?: RecommendRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecommendResponse>;
105
-
106
- }
107
-
108
- /**
109
- *
110
- */
111
- export class NetworkApi extends runtime.BaseAPI implements NetworkApiInterface {
112
-
113
- /**
114
- * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
115
- * List Provider Contracts
116
- */
117
- async listProviderContractsRaw(requestParameters: ListProviderContractsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProviderContractsResponse>> {
118
- if (requestParameters['verificationProfileId'] == null) {
119
- throw new runtime.RequiredError(
120
- 'verificationProfileId',
121
- 'Required parameter "verificationProfileId" was null or undefined when calling listProviderContracts().'
122
- );
123
- }
124
-
125
- const queryParameters: any = {};
126
-
127
- const headerParameters: runtime.HTTPHeaders = {};
128
-
129
- if (this.configuration && this.configuration.accessToken) {
130
- const token = this.configuration.accessToken;
131
- const tokenString = await token("Bearer", []);
132
-
133
- if (tokenString) {
134
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
135
- }
136
- }
137
- const response = await this.request({
138
- path: `/api/v1/network/{verificationProfileId}/providers/contracts`.replace(`{${"verificationProfileId"}}`, encodeURIComponent(String(requestParameters['verificationProfileId']))),
139
- method: 'GET',
140
- headers: headerParameters,
141
- query: queryParameters,
142
- }, initOverrides);
143
-
144
- return new runtime.JSONApiResponse(response, (jsonValue) => ListProviderContractsResponseFromJSON(jsonValue));
145
- }
146
-
147
- /**
148
- * List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
149
- * List Provider Contracts
150
- */
151
- async listProviderContracts(verificationProfileId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProviderContractsResponse> {
152
- const response = await this.listProviderContractsRaw({ verificationProfileId: verificationProfileId }, initOverrides);
153
- return await response.value();
154
- }
155
-
156
- /**
157
- * List all identity providers available for use
158
- * List Providers
159
- */
160
- async listProvidersRaw(requestParameters: ListProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProvidersResponse>> {
161
- if (requestParameters['verificationProfileId'] == null) {
162
- throw new runtime.RequiredError(
163
- 'verificationProfileId',
164
- 'Required parameter "verificationProfileId" was null or undefined when calling listProviders().'
165
- );
166
- }
167
-
168
- const queryParameters: any = {};
169
-
170
- if (requestParameters['health'] != null) {
171
- queryParameters['health'] = requestParameters['health'];
172
- }
173
-
174
- const headerParameters: runtime.HTTPHeaders = {};
175
-
176
- if (this.configuration && this.configuration.accessToken) {
177
- const token = this.configuration.accessToken;
178
- const tokenString = await token("Bearer", []);
179
-
180
- if (tokenString) {
181
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
182
- }
183
- }
184
- const response = await this.request({
185
- path: `/api/v1/network/{verificationProfileId}/providers`.replace(`{${"verificationProfileId"}}`, encodeURIComponent(String(requestParameters['verificationProfileId']))),
186
- method: 'GET',
187
- headers: headerParameters,
188
- query: queryParameters,
189
- }, initOverrides);
190
-
191
- return new runtime.JSONApiResponse(response, (jsonValue) => ListProvidersResponseFromJSON(jsonValue));
192
- }
193
-
194
- /**
195
- * List all identity providers available for use
196
- * List Providers
197
- */
198
- async listProviders(verificationProfileId: string, health?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProvidersResponse> {
199
- const response = await this.listProvidersRaw({ verificationProfileId: verificationProfileId, health: health }, initOverrides);
200
- return await response.value();
201
- }
202
-
203
- /**
204
- * Generate provider recommendations based on signals about the user\'s location (phone number, countries, states).
205
- * Recommend Providers
206
- */
207
- async recommendProvidersRaw(requestParameters: RecommendProvidersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecommendResponse>> {
208
- const queryParameters: any = {};
209
-
210
- const headerParameters: runtime.HTTPHeaders = {};
211
-
212
- headerParameters['Content-Type'] = 'application/json';
213
-
214
- if (this.configuration && this.configuration.accessToken) {
215
- const token = this.configuration.accessToken;
216
- const tokenString = await token("Bearer", []);
217
-
218
- if (tokenString) {
219
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
220
- }
221
- }
222
- const response = await this.request({
223
- path: `/api/v1/network/recommend`,
224
- method: 'POST',
225
- headers: headerParameters,
226
- query: queryParameters,
227
- body: RecommendRequestToJSON(requestParameters['recommendRequest']),
228
- }, initOverrides);
229
-
230
- return new runtime.JSONApiResponse(response, (jsonValue) => RecommendResponseFromJSON(jsonValue));
231
- }
232
-
233
- /**
234
- * Generate provider recommendations based on signals about the user\'s location (phone number, countries, states).
235
- * Recommend Providers
236
- */
237
- async recommendProviders(recommendRequest?: RecommendRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecommendResponse> {
238
- const response = await this.recommendProvidersRaw({ recommendRequest: recommendRequest }, initOverrides);
239
- return await response.value();
240
- }
241
-
242
- }
@@ -1,106 +0,0 @@
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 { ProviderAttachments } from './ProviderAttachments';
17
- import {
18
- ProviderAttachmentsFromJSON,
19
- ProviderAttachmentsFromJSONTyped,
20
- ProviderAttachmentsToJSON,
21
- ProviderAttachmentsToJSONTyped,
22
- } from './ProviderAttachments';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface AttachmentAccessKeys
28
- */
29
- export interface AttachmentAccessKeys {
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof AttachmentAccessKeys
34
- */
35
- selfie?: string | null;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof AttachmentAccessKeys
40
- */
41
- documentFront?: string | null;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof AttachmentAccessKeys
46
- */
47
- documentBack?: string | null;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof AttachmentAccessKeys
52
- */
53
- documentPortrait?: string | null;
54
- /**
55
- *
56
- * @type {ProviderAttachments}
57
- * @memberof AttachmentAccessKeys
58
- */
59
- provider: ProviderAttachments;
60
- }
61
-
62
- /**
63
- * Check if a given object implements the AttachmentAccessKeys interface.
64
- */
65
- export function instanceOfAttachmentAccessKeys(value: object): value is AttachmentAccessKeys {
66
- if (!('provider' in value) || value['provider'] === undefined) return false;
67
- return true;
68
- }
69
-
70
- export function AttachmentAccessKeysFromJSON(json: any): AttachmentAccessKeys {
71
- return AttachmentAccessKeysFromJSONTyped(json, false);
72
- }
73
-
74
- export function AttachmentAccessKeysFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachmentAccessKeys {
75
- if (json == null) {
76
- return json;
77
- }
78
- return {
79
-
80
- 'selfie': json['selfie'] == null ? undefined : json['selfie'],
81
- 'documentFront': json['documentFront'] == null ? undefined : json['documentFront'],
82
- 'documentBack': json['documentBack'] == null ? undefined : json['documentBack'],
83
- 'documentPortrait': json['documentPortrait'] == null ? undefined : json['documentPortrait'],
84
- 'provider': ProviderAttachmentsFromJSON(json['provider']),
85
- };
86
- }
87
-
88
- export function AttachmentAccessKeysToJSON(json: any): AttachmentAccessKeys {
89
- return AttachmentAccessKeysToJSONTyped(json, false);
90
- }
91
-
92
- export function AttachmentAccessKeysToJSONTyped(value?: AttachmentAccessKeys | null, ignoreDiscriminator: boolean = false): any {
93
- if (value == null) {
94
- return value;
95
- }
96
-
97
- return {
98
-
99
- 'selfie': value['selfie'],
100
- 'documentFront': value['documentFront'],
101
- 'documentBack': value['documentBack'],
102
- 'documentPortrait': value['documentPortrait'],
103
- 'provider': ProviderAttachmentsToJSON(value['provider']),
104
- };
105
- }
106
-
@@ -1,102 +0,0 @@
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
- *
18
- * @export
19
- * @interface BangladeshNidInput
20
- */
21
- export interface BangladeshNidInput {
22
- /**
23
- * The user's Bangladesh National ID number.
24
- * @type {string}
25
- * @memberof BangladeshNidInput
26
- */
27
- nationalIdNumber: string;
28
- /**
29
- * The user's date of birth, in `YYYY-MM-DD` format
30
- * @type {Date}
31
- * @memberof BangladeshNidInput
32
- */
33
- dateOfBirth: Date;
34
- /**
35
- * The user's full name
36
- * @type {string}
37
- * @memberof BangladeshNidInput
38
- */
39
- name: string;
40
- /**
41
- * The raw bytes of the photo file collected from the user.
42
- * @type {string}
43
- * @memberof BangladeshNidInput
44
- */
45
- photoByes?: string | null;
46
- /**
47
- * The MIME Type of the file contained in `PhotoByes`.
48
- *
49
- * Must be one of `image/jpeg`, or `image/png`.
50
- * @type {string}
51
- * @memberof BangladeshNidInput
52
- */
53
- photoImageMimeType?: string | null;
54
- }
55
-
56
- /**
57
- * Check if a given object implements the BangladeshNidInput interface.
58
- */
59
- export function instanceOfBangladeshNidInput(value: object): value is BangladeshNidInput {
60
- if (!('nationalIdNumber' in value) || value['nationalIdNumber'] === undefined) return false;
61
- if (!('dateOfBirth' in value) || value['dateOfBirth'] === undefined) return false;
62
- if (!('name' in value) || value['name'] === undefined) return false;
63
- return true;
64
- }
65
-
66
- export function BangladeshNidInputFromJSON(json: any): BangladeshNidInput {
67
- return BangladeshNidInputFromJSONTyped(json, false);
68
- }
69
-
70
- export function BangladeshNidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BangladeshNidInput {
71
- if (json == null) {
72
- return json;
73
- }
74
- return {
75
-
76
- 'nationalIdNumber': json['nationalIdNumber'],
77
- 'dateOfBirth': (new Date(json['dateOfBirth'])),
78
- 'name': json['name'],
79
- 'photoByes': json['photoByes'] == null ? undefined : json['photoByes'],
80
- 'photoImageMimeType': json['photoImageMimeType'] == null ? undefined : json['photoImageMimeType'],
81
- };
82
- }
83
-
84
- export function BangladeshNidInputToJSON(json: any): BangladeshNidInput {
85
- return BangladeshNidInputToJSONTyped(json, false);
86
- }
87
-
88
- export function BangladeshNidInputToJSONTyped(value?: BangladeshNidInput | null, ignoreDiscriminator: boolean = false): any {
89
- if (value == null) {
90
- return value;
91
- }
92
-
93
- return {
94
-
95
- 'nationalIdNumber': value['nationalIdNumber'],
96
- 'dateOfBirth': ((value['dateOfBirth']).toISOString().substring(0,10)),
97
- 'name': value['name'],
98
- 'photoByes': value['photoByes'],
99
- 'photoImageMimeType': value['photoImageMimeType'],
100
- };
101
- }
102
-
@@ -1,95 +0,0 @@
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 { FieldAvailability } from './FieldAvailability';
17
- import {
18
- FieldAvailabilityFromJSON,
19
- FieldAvailabilityFromJSONTyped,
20
- FieldAvailabilityToJSON,
21
- FieldAvailabilityToJSONTyped,
22
- } from './FieldAvailability';
23
-
24
- /**
25
- * Information about a field that a Provider will return in verification results.
26
- * @export
27
- * @interface ContractField
28
- */
29
- export interface ContractField {
30
- /**
31
- * The name of the field as it appears in verification results.
32
- * @type {string}
33
- * @memberof ContractField
34
- * @deprecated
35
- */
36
- name: string;
37
- /**
38
- * The scope of the field as it appears in verification results.
39
- * @type {string}
40
- * @memberof ContractField
41
- */
42
- scope: string;
43
- /**
44
- * Indicates when this field will be present in verification results.
45
- * @type {FieldAvailability}
46
- * @memberof ContractField
47
- */
48
- outputted: FieldAvailability;
49
- }
50
-
51
-
52
-
53
- /**
54
- * Check if a given object implements the ContractField interface.
55
- */
56
- export function instanceOfContractField(value: object): value is ContractField {
57
- if (!('name' in value) || value['name'] === undefined) return false;
58
- if (!('scope' in value) || value['scope'] === undefined) return false;
59
- if (!('outputted' in value) || value['outputted'] === undefined) return false;
60
- return true;
61
- }
62
-
63
- export function ContractFieldFromJSON(json: any): ContractField {
64
- return ContractFieldFromJSONTyped(json, false);
65
- }
66
-
67
- export function ContractFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractField {
68
- if (json == null) {
69
- return json;
70
- }
71
- return {
72
-
73
- 'name': json['name'],
74
- 'scope': json['scope'],
75
- 'outputted': FieldAvailabilityFromJSON(json['outputted']),
76
- };
77
- }
78
-
79
- export function ContractFieldToJSON(json: any): ContractField {
80
- return ContractFieldToJSONTyped(json, false);
81
- }
82
-
83
- export function ContractFieldToJSONTyped(value?: ContractField | null, ignoreDiscriminator: boolean = false): any {
84
- if (value == null) {
85
- return value;
86
- }
87
-
88
- return {
89
-
90
- 'name': value['name'],
91
- 'scope': value['scope'],
92
- 'outputted': FieldAvailabilityToJSON(value['outputted']),
93
- };
94
- }
95
-
@@ -1,94 +0,0 @@
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 { FieldAvailability } from './FieldAvailability';
17
- import {
18
- FieldAvailabilityFromJSON,
19
- FieldAvailabilityFromJSONTyped,
20
- FieldAvailabilityToJSON,
21
- FieldAvailabilityToJSONTyped,
22
- } from './FieldAvailability';
23
-
24
- /**
25
- * Information about an identifier a Provider returns in verification results.
26
- * @export
27
- * @interface ContractIdentifierField
28
- */
29
- export interface ContractIdentifierField {
30
- /**
31
- * The scope of the identifier as it appears in verification results.
32
- * @type {string}
33
- * @memberof ContractIdentifierField
34
- */
35
- scope: string;
36
- /**
37
- * Indicates when this field will be present in verification results.
38
- * @type {FieldAvailability}
39
- * @memberof ContractIdentifierField
40
- */
41
- outputted: FieldAvailability;
42
- /**
43
- * A human-readable description of the identifier, written by Trinsic.
44
- * @type {string}
45
- * @memberof ContractIdentifierField
46
- */
47
- description: string;
48
- }
49
-
50
-
51
-
52
- /**
53
- * Check if a given object implements the ContractIdentifierField interface.
54
- */
55
- export function instanceOfContractIdentifierField(value: object): value is ContractIdentifierField {
56
- if (!('scope' in value) || value['scope'] === undefined) return false;
57
- if (!('outputted' in value) || value['outputted'] === undefined) return false;
58
- if (!('description' in value) || value['description'] === undefined) return false;
59
- return true;
60
- }
61
-
62
- export function ContractIdentifierFieldFromJSON(json: any): ContractIdentifierField {
63
- return ContractIdentifierFieldFromJSONTyped(json, false);
64
- }
65
-
66
- export function ContractIdentifierFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractIdentifierField {
67
- if (json == null) {
68
- return json;
69
- }
70
- return {
71
-
72
- 'scope': json['scope'],
73
- 'outputted': FieldAvailabilityFromJSON(json['outputted']),
74
- 'description': json['description'],
75
- };
76
- }
77
-
78
- export function ContractIdentifierFieldToJSON(json: any): ContractIdentifierField {
79
- return ContractIdentifierFieldToJSONTyped(json, false);
80
- }
81
-
82
- export function ContractIdentifierFieldToJSONTyped(value?: ContractIdentifierField | null, ignoreDiscriminator: boolean = false): any {
83
- if (value == null) {
84
- return value;
85
- }
86
-
87
- return {
88
-
89
- 'scope': value['scope'],
90
- 'outputted': FieldAvailabilityToJSON(value['outputted']),
91
- 'description': value['description'],
92
- };
93
- }
94
-