@trinsic/api 2.0.0-alpha3 → 2.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 (379) hide show
  1. package/.openapi-generator/FILES +13 -3
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +1 -1
  4. package/dist/apis/AttachmentsApi.d.ts +4 -4
  5. package/dist/apis/AttachmentsApi.js +2 -2
  6. package/dist/apis/NetworkApi.d.ts +28 -5
  7. package/dist/apis/NetworkApi.js +36 -2
  8. package/dist/apis/SessionsApi.d.ts +8 -8
  9. package/dist/apis/SessionsApi.js +4 -4
  10. package/dist/apis/WellKnownApi.d.ts +41 -0
  11. package/dist/apis/WellKnownApi.js +61 -0
  12. package/dist/apis/index.d.ts +1 -0
  13. package/dist/apis/index.js +1 -0
  14. package/dist/esm/apis/AttachmentsApi.d.ts +4 -4
  15. package/dist/esm/apis/AttachmentsApi.js +2 -2
  16. package/dist/esm/apis/NetworkApi.d.ts +28 -5
  17. package/dist/esm/apis/NetworkApi.js +37 -3
  18. package/dist/esm/apis/SessionsApi.d.ts +8 -8
  19. package/dist/esm/apis/SessionsApi.js +4 -4
  20. package/dist/esm/apis/WellKnownApi.d.ts +41 -0
  21. package/dist/esm/apis/WellKnownApi.js +57 -0
  22. package/dist/esm/apis/index.d.ts +1 -0
  23. package/dist/esm/apis/index.js +1 -0
  24. package/dist/esm/models/AadhaarInput.d.ts +2 -1
  25. package/dist/esm/models/AadhaarInput.js +4 -1
  26. package/dist/esm/models/Address.d.ts +2 -1
  27. package/dist/esm/models/Address.js +4 -1
  28. package/dist/esm/models/AttachmentAccessKeys.d.ts +2 -1
  29. package/dist/esm/models/AttachmentAccessKeys.js +4 -1
  30. package/dist/esm/models/BangladeshNationalIdInput.d.ts +2 -1
  31. package/dist/esm/models/BangladeshNationalIdInput.js +4 -1
  32. package/dist/esm/models/BrazilCpfCheckInput.d.ts +2 -1
  33. package/dist/esm/models/BrazilCpfCheckInput.js +4 -1
  34. package/dist/esm/models/BrazilDigitalCnhInput.d.ts +2 -1
  35. package/dist/esm/models/BrazilDigitalCnhInput.js +4 -1
  36. package/dist/esm/models/CancelSessionResponse.d.ts +2 -1
  37. package/dist/esm/models/CancelSessionResponse.js +4 -1
  38. package/dist/esm/models/CreateAdvancedProviderSessionRequest.d.ts +2 -1
  39. package/dist/esm/models/CreateAdvancedProviderSessionRequest.js +4 -1
  40. package/dist/esm/models/CreateAdvancedProviderSessionResponse.d.ts +2 -1
  41. package/dist/esm/models/CreateAdvancedProviderSessionResponse.js +4 -1
  42. package/dist/esm/models/CreateHostedProviderSessionRequest.d.ts +2 -1
  43. package/dist/esm/models/CreateHostedProviderSessionRequest.js +4 -1
  44. package/dist/esm/models/CreateHostedProviderSessionResponse.d.ts +15 -2
  45. package/dist/esm/models/CreateHostedProviderSessionResponse.js +11 -2
  46. package/dist/esm/models/CreateWidgetSessionRequest.d.ts +8 -6
  47. package/dist/esm/models/CreateWidgetSessionRequest.js +7 -4
  48. package/dist/esm/models/CreateWidgetSessionResponse.d.ts +15 -2
  49. package/dist/esm/models/CreateWidgetSessionResponse.js +11 -2
  50. package/dist/esm/models/DocumentData.d.ts +2 -1
  51. package/dist/esm/models/DocumentData.js +4 -1
  52. package/dist/esm/models/DocumentScanAttachments.d.ts +2 -1
  53. package/dist/esm/models/DocumentScanAttachments.js +4 -1
  54. package/dist/esm/models/DocumentType.d.ts +1 -0
  55. package/dist/esm/models/DocumentType.js +3 -0
  56. package/dist/esm/models/GetAttachmentRequest.d.ts +2 -1
  57. package/dist/esm/models/GetAttachmentRequest.js +4 -1
  58. package/dist/esm/models/GetAttachmentResponse.d.ts +2 -1
  59. package/dist/esm/models/GetAttachmentResponse.js +4 -1
  60. package/dist/esm/models/GetSessionResponse.d.ts +2 -1
  61. package/dist/esm/models/GetSessionResponse.js +4 -1
  62. package/dist/esm/models/GetSessionResultRequest.d.ts +2 -1
  63. package/dist/esm/models/GetSessionResultRequest.js +4 -1
  64. package/dist/esm/models/GetSessionResultResponse.d.ts +2 -1
  65. package/dist/esm/models/GetSessionResultResponse.js +4 -1
  66. package/dist/esm/models/HttpValidationProblemDetails.d.ts +2 -1
  67. package/dist/esm/models/HttpValidationProblemDetails.js +4 -1
  68. package/dist/esm/models/IdentityData.d.ts +8 -1
  69. package/dist/esm/models/IdentityData.js +6 -1
  70. package/dist/esm/models/IdinInput.d.ts +34 -0
  71. package/dist/esm/models/IdinInput.js +41 -0
  72. package/dist/esm/models/IndonesiaNikInput.d.ts +2 -1
  73. package/dist/esm/models/IndonesiaNikInput.js +4 -1
  74. package/dist/esm/models/IntegrationCapability.d.ts +1 -0
  75. package/dist/esm/models/IntegrationCapability.js +3 -0
  76. package/dist/esm/models/IntegrationLaunchMethod.d.ts +2 -1
  77. package/dist/esm/models/IntegrationLaunchMethod.js +4 -1
  78. package/dist/esm/models/IntegrationStep.d.ts +3 -2
  79. package/dist/esm/models/IntegrationStep.js +5 -4
  80. package/dist/esm/models/KenyaNidInput.d.ts +2 -1
  81. package/dist/esm/models/KenyaNidInput.js +4 -1
  82. package/dist/esm/models/Language.d.ts +27 -0
  83. package/dist/esm/models/Language.js +45 -0
  84. package/dist/esm/models/ListProviderContractsResponse.d.ts +33 -0
  85. package/dist/esm/models/ListProviderContractsResponse.js +44 -0
  86. package/dist/esm/models/ListProvidersResponse.d.ts +2 -1
  87. package/dist/esm/models/ListProvidersResponse.js +4 -1
  88. package/dist/esm/models/ListSessionsResponse.d.ts +2 -1
  89. package/dist/esm/models/ListSessionsResponse.js +4 -1
  90. package/dist/esm/models/MexicoCurpInput.d.ts +2 -1
  91. package/dist/esm/models/MexicoCurpInput.js +4 -1
  92. package/dist/esm/models/MobileIdInput.d.ts +45 -0
  93. package/dist/esm/models/MobileIdInput.js +46 -0
  94. package/dist/esm/models/NigeriaNinInput.d.ts +2 -1
  95. package/dist/esm/models/NigeriaNinInput.js +4 -1
  96. package/dist/esm/models/OrderDirection.d.ts +1 -0
  97. package/dist/esm/models/OrderDirection.js +3 -0
  98. package/dist/esm/models/PersonData.d.ts +2 -1
  99. package/dist/esm/models/PersonData.js +4 -1
  100. package/dist/esm/models/PhilippineMatchInput.d.ts +2 -1
  101. package/dist/esm/models/PhilippineMatchInput.js +4 -1
  102. package/dist/esm/models/PhilippineQRInput.d.ts +2 -1
  103. package/dist/esm/models/PhilippineQRInput.js +4 -1
  104. package/dist/esm/models/ProblemDetails.d.ts +2 -1
  105. package/dist/esm/models/ProblemDetails.js +4 -1
  106. package/dist/esm/models/ProviderAttachments.d.ts +2 -1
  107. package/dist/esm/models/ProviderAttachments.js +4 -1
  108. package/dist/esm/models/ProviderContract.d.ts +155 -0
  109. package/dist/esm/models/ProviderContract.js +105 -0
  110. package/dist/esm/models/ProviderHealth.d.ts +25 -0
  111. package/dist/esm/models/ProviderHealth.js +43 -0
  112. package/dist/esm/models/ProviderInfo.d.ts +2 -7
  113. package/dist/esm/models/ProviderInfo.js +4 -3
  114. package/dist/esm/models/ProviderInformation.d.ts +5 -4
  115. package/dist/esm/models/ProviderInformation.js +5 -6
  116. package/dist/esm/models/ProviderInput.d.ts +64 -17
  117. package/dist/esm/models/ProviderInput.js +27 -6
  118. package/dist/esm/models/RecommendRequest.d.ts +6 -28
  119. package/dist/esm/models/RecommendRequest.js +7 -11
  120. package/dist/esm/models/RecommendResponse.d.ts +2 -1
  121. package/dist/esm/models/RecommendResponse.js +4 -1
  122. package/dist/esm/models/RecommendationInfo.d.ts +56 -0
  123. package/dist/esm/models/RecommendationInfo.js +47 -0
  124. package/dist/esm/models/RefreshStepContentRequest.d.ts +2 -1
  125. package/dist/esm/models/RefreshStepContentRequest.js +4 -1
  126. package/dist/esm/models/RefreshStepContentResponse.d.ts +2 -1
  127. package/dist/esm/models/RefreshStepContentResponse.js +4 -1
  128. package/dist/esm/models/ResultCollection.d.ts +10 -3
  129. package/dist/esm/models/ResultCollection.js +7 -2
  130. package/dist/esm/models/ResultCollectionMethod.d.ts +1 -0
  131. package/dist/esm/models/ResultCollectionMethod.js +3 -0
  132. package/dist/esm/models/Session.d.ts +2 -1
  133. package/dist/esm/models/Session.js +4 -1
  134. package/dist/esm/models/SessionErrorCode.d.ts +1 -0
  135. package/dist/esm/models/SessionErrorCode.js +3 -0
  136. package/dist/esm/models/SessionOrdering.d.ts +1 -0
  137. package/dist/esm/models/SessionOrdering.js +3 -0
  138. package/dist/esm/models/Sex.d.ts +1 -0
  139. package/dist/esm/models/Sex.js +3 -0
  140. package/dist/esm/models/SmartIdInput.d.ts +32 -0
  141. package/dist/esm/models/SmartIdInput.js +41 -0
  142. package/dist/esm/models/SouthAfricaNidInput.d.ts +2 -1
  143. package/dist/esm/models/SouthAfricaNidInput.js +4 -1
  144. package/dist/esm/models/SpidInput.d.ts +34 -0
  145. package/dist/esm/models/SpidInput.js +41 -0
  146. package/dist/esm/models/StepRefreshInfo.d.ts +2 -1
  147. package/dist/esm/models/StepRefreshInfo.js +4 -1
  148. package/dist/esm/models/SubProviderMetadata.d.ts +55 -0
  149. package/dist/esm/models/SubProviderMetadata.js +55 -0
  150. package/dist/esm/models/TrinsicTestDatabaseLookupInput.d.ts +67 -0
  151. package/dist/esm/models/TrinsicTestDatabaseLookupInput.js +47 -0
  152. package/dist/esm/models/TrinsicTestSubProvidersInput.d.ts +36 -0
  153. package/dist/esm/models/TrinsicTestSubProvidersInput.js +41 -0
  154. package/dist/esm/models/index.d.ts +12 -3
  155. package/dist/esm/models/index.js +12 -3
  156. package/dist/esm/runtime.d.ts +4 -1
  157. package/dist/esm/runtime.js +9 -1
  158. package/dist/models/AadhaarInput.d.ts +2 -1
  159. package/dist/models/AadhaarInput.js +5 -1
  160. package/dist/models/Address.d.ts +2 -1
  161. package/dist/models/Address.js +5 -1
  162. package/dist/models/AttachmentAccessKeys.d.ts +2 -1
  163. package/dist/models/AttachmentAccessKeys.js +5 -1
  164. package/dist/models/BangladeshNationalIdInput.d.ts +2 -1
  165. package/dist/models/BangladeshNationalIdInput.js +5 -1
  166. package/dist/models/BrazilCpfCheckInput.d.ts +2 -1
  167. package/dist/models/BrazilCpfCheckInput.js +5 -1
  168. package/dist/models/BrazilDigitalCnhInput.d.ts +2 -1
  169. package/dist/models/BrazilDigitalCnhInput.js +5 -1
  170. package/dist/models/CancelSessionResponse.d.ts +2 -1
  171. package/dist/models/CancelSessionResponse.js +5 -1
  172. package/dist/models/CreateAdvancedProviderSessionRequest.d.ts +2 -1
  173. package/dist/models/CreateAdvancedProviderSessionRequest.js +5 -1
  174. package/dist/models/CreateAdvancedProviderSessionResponse.d.ts +2 -1
  175. package/dist/models/CreateAdvancedProviderSessionResponse.js +5 -1
  176. package/dist/models/CreateHostedProviderSessionRequest.d.ts +2 -1
  177. package/dist/models/CreateHostedProviderSessionRequest.js +5 -1
  178. package/dist/models/CreateHostedProviderSessionResponse.d.ts +15 -2
  179. package/dist/models/CreateHostedProviderSessionResponse.js +12 -2
  180. package/dist/models/CreateWidgetSessionRequest.d.ts +8 -6
  181. package/dist/models/CreateWidgetSessionRequest.js +8 -4
  182. package/dist/models/CreateWidgetSessionResponse.d.ts +15 -2
  183. package/dist/models/CreateWidgetSessionResponse.js +12 -2
  184. package/dist/models/DocumentData.d.ts +2 -1
  185. package/dist/models/DocumentData.js +5 -1
  186. package/dist/models/DocumentScanAttachments.d.ts +2 -1
  187. package/dist/models/DocumentScanAttachments.js +5 -1
  188. package/dist/models/DocumentType.d.ts +1 -0
  189. package/dist/models/DocumentType.js +4 -0
  190. package/dist/models/GetAttachmentRequest.d.ts +2 -1
  191. package/dist/models/GetAttachmentRequest.js +5 -1
  192. package/dist/models/GetAttachmentResponse.d.ts +2 -1
  193. package/dist/models/GetAttachmentResponse.js +5 -1
  194. package/dist/models/GetSessionResponse.d.ts +2 -1
  195. package/dist/models/GetSessionResponse.js +5 -1
  196. package/dist/models/GetSessionResultRequest.d.ts +2 -1
  197. package/dist/models/GetSessionResultRequest.js +5 -1
  198. package/dist/models/GetSessionResultResponse.d.ts +2 -1
  199. package/dist/models/GetSessionResultResponse.js +5 -1
  200. package/dist/models/HttpValidationProblemDetails.d.ts +2 -1
  201. package/dist/models/HttpValidationProblemDetails.js +5 -1
  202. package/dist/models/IdentityData.d.ts +8 -1
  203. package/dist/models/IdentityData.js +7 -1
  204. package/dist/models/IdinInput.d.ts +34 -0
  205. package/dist/models/IdinInput.js +48 -0
  206. package/dist/models/IndonesiaNikInput.d.ts +2 -1
  207. package/dist/models/IndonesiaNikInput.js +5 -1
  208. package/dist/models/IntegrationCapability.d.ts +1 -0
  209. package/dist/models/IntegrationCapability.js +4 -0
  210. package/dist/models/IntegrationLaunchMethod.d.ts +2 -1
  211. package/dist/models/IntegrationLaunchMethod.js +5 -1
  212. package/dist/models/IntegrationStep.d.ts +3 -2
  213. package/dist/models/IntegrationStep.js +6 -4
  214. package/dist/models/KenyaNidInput.d.ts +2 -1
  215. package/dist/models/KenyaNidInput.js +5 -1
  216. package/dist/models/Language.d.ts +27 -0
  217. package/dist/models/Language.js +53 -0
  218. package/dist/models/ListProviderContractsResponse.d.ts +33 -0
  219. package/dist/models/ListProviderContractsResponse.js +51 -0
  220. package/dist/models/ListProvidersResponse.d.ts +2 -1
  221. package/dist/models/ListProvidersResponse.js +5 -1
  222. package/dist/models/ListSessionsResponse.d.ts +2 -1
  223. package/dist/models/ListSessionsResponse.js +5 -1
  224. package/dist/models/MexicoCurpInput.d.ts +2 -1
  225. package/dist/models/MexicoCurpInput.js +5 -1
  226. package/dist/models/MobileIdInput.d.ts +45 -0
  227. package/dist/models/MobileIdInput.js +53 -0
  228. package/dist/models/NigeriaNinInput.d.ts +2 -1
  229. package/dist/models/NigeriaNinInput.js +5 -1
  230. package/dist/models/OrderDirection.d.ts +1 -0
  231. package/dist/models/OrderDirection.js +4 -0
  232. package/dist/models/PersonData.d.ts +2 -1
  233. package/dist/models/PersonData.js +5 -1
  234. package/dist/models/PhilippineMatchInput.d.ts +2 -1
  235. package/dist/models/PhilippineMatchInput.js +5 -1
  236. package/dist/models/PhilippineQRInput.d.ts +2 -1
  237. package/dist/models/PhilippineQRInput.js +5 -1
  238. package/dist/models/ProblemDetails.d.ts +2 -1
  239. package/dist/models/ProblemDetails.js +5 -1
  240. package/dist/models/ProviderAttachments.d.ts +2 -1
  241. package/dist/models/ProviderAttachments.js +5 -1
  242. package/dist/models/ProviderContract.d.ts +155 -0
  243. package/dist/models/ProviderContract.js +112 -0
  244. package/dist/models/ProviderHealth.d.ts +25 -0
  245. package/dist/models/ProviderHealth.js +51 -0
  246. package/dist/models/ProviderInfo.d.ts +2 -7
  247. package/dist/models/ProviderInfo.js +5 -3
  248. package/dist/models/ProviderInformation.d.ts +5 -4
  249. package/dist/models/ProviderInformation.js +6 -6
  250. package/dist/models/ProviderInput.d.ts +64 -17
  251. package/dist/models/ProviderInput.js +28 -6
  252. package/dist/models/RecommendRequest.d.ts +6 -28
  253. package/dist/models/RecommendRequest.js +8 -11
  254. package/dist/models/RecommendResponse.d.ts +2 -1
  255. package/dist/models/RecommendResponse.js +5 -1
  256. package/dist/models/RecommendationInfo.d.ts +56 -0
  257. package/dist/models/RecommendationInfo.js +54 -0
  258. package/dist/models/RefreshStepContentRequest.d.ts +2 -1
  259. package/dist/models/RefreshStepContentRequest.js +5 -1
  260. package/dist/models/RefreshStepContentResponse.d.ts +2 -1
  261. package/dist/models/RefreshStepContentResponse.js +5 -1
  262. package/dist/models/ResultCollection.d.ts +10 -3
  263. package/dist/models/ResultCollection.js +8 -2
  264. package/dist/models/ResultCollectionMethod.d.ts +1 -0
  265. package/dist/models/ResultCollectionMethod.js +4 -0
  266. package/dist/models/Session.d.ts +2 -1
  267. package/dist/models/Session.js +5 -1
  268. package/dist/models/SessionErrorCode.d.ts +1 -0
  269. package/dist/models/SessionErrorCode.js +4 -0
  270. package/dist/models/SessionOrdering.d.ts +1 -0
  271. package/dist/models/SessionOrdering.js +4 -0
  272. package/dist/models/Sex.d.ts +1 -0
  273. package/dist/models/Sex.js +4 -0
  274. package/dist/models/SmartIdInput.d.ts +32 -0
  275. package/dist/models/SmartIdInput.js +48 -0
  276. package/dist/models/SouthAfricaNidInput.d.ts +2 -1
  277. package/dist/models/SouthAfricaNidInput.js +5 -1
  278. package/dist/models/SpidInput.d.ts +34 -0
  279. package/dist/models/SpidInput.js +48 -0
  280. package/dist/models/StepRefreshInfo.d.ts +2 -1
  281. package/dist/models/StepRefreshInfo.js +5 -1
  282. package/dist/models/SubProviderMetadata.d.ts +55 -0
  283. package/dist/models/SubProviderMetadata.js +62 -0
  284. package/dist/models/TrinsicTestDatabaseLookupInput.d.ts +67 -0
  285. package/dist/models/TrinsicTestDatabaseLookupInput.js +54 -0
  286. package/dist/models/TrinsicTestSubProvidersInput.d.ts +36 -0
  287. package/dist/models/TrinsicTestSubProvidersInput.js +48 -0
  288. package/dist/models/index.d.ts +12 -3
  289. package/dist/models/index.js +12 -3
  290. package/dist/runtime.d.ts +4 -1
  291. package/dist/runtime.js +10 -1
  292. package/package.json +1 -1
  293. package/src/apis/AttachmentsApi.ts +4 -4
  294. package/src/apis/NetworkApi.ts +58 -4
  295. package/src/apis/SessionsApi.ts +8 -8
  296. package/src/apis/WellKnownApi.ts +82 -0
  297. package/src/apis/index.ts +1 -0
  298. package/src/models/AadhaarInput.ts +6 -1
  299. package/src/models/Address.ts +6 -1
  300. package/src/models/AttachmentAccessKeys.ts +7 -1
  301. package/src/models/BangladeshNationalIdInput.ts +6 -1
  302. package/src/models/BrazilCpfCheckInput.ts +6 -1
  303. package/src/models/BrazilDigitalCnhInput.ts +14 -9
  304. package/src/models/CancelSessionResponse.ts +7 -1
  305. package/src/models/CreateAdvancedProviderSessionRequest.ts +34 -27
  306. package/src/models/CreateAdvancedProviderSessionResponse.ts +8 -1
  307. package/src/models/CreateHostedProviderSessionRequest.ts +7 -1
  308. package/src/models/CreateHostedProviderSessionResponse.ts +30 -9
  309. package/src/models/CreateWidgetSessionRequest.ts +23 -16
  310. package/src/models/CreateWidgetSessionResponse.ts +28 -7
  311. package/src/models/DocumentData.ts +7 -1
  312. package/src/models/DocumentScanAttachments.ts +6 -1
  313. package/src/models/DocumentType.ts +4 -0
  314. package/src/models/GetAttachmentRequest.ts +6 -1
  315. package/src/models/GetAttachmentResponse.ts +6 -1
  316. package/src/models/GetSessionResponse.ts +7 -1
  317. package/src/models/GetSessionResultRequest.ts +6 -1
  318. package/src/models/GetSessionResultResponse.ts +8 -1
  319. package/src/models/HttpValidationProblemDetails.ts +6 -1
  320. package/src/models/IdentityData.ts +17 -1
  321. package/src/models/IdinInput.ts +67 -0
  322. package/src/models/IndonesiaNikInput.ts +6 -1
  323. package/src/models/IntegrationCapability.ts +4 -0
  324. package/src/models/IntegrationLaunchMethod.ts +5 -1
  325. package/src/models/IntegrationStep.ts +10 -4
  326. package/src/models/KenyaNidInput.ts +6 -1
  327. package/src/models/Language.ts +55 -0
  328. package/src/models/ListProviderContractsResponse.ts +74 -0
  329. package/src/models/ListProvidersResponse.ts +7 -1
  330. package/src/models/ListSessionsResponse.ts +7 -1
  331. package/src/models/MexicoCurpInput.ts +6 -1
  332. package/src/models/MobileIdInput.ts +91 -0
  333. package/src/models/NigeriaNinInput.ts +6 -1
  334. package/src/models/OrderDirection.ts +4 -0
  335. package/src/models/PersonData.ts +8 -1
  336. package/src/models/PhilippineMatchInput.ts +6 -1
  337. package/src/models/PhilippineQRInput.ts +6 -1
  338. package/src/models/ProblemDetails.ts +6 -1
  339. package/src/models/ProviderAttachments.ts +7 -1
  340. package/src/models/ProviderContract.ts +260 -0
  341. package/src/models/ProviderHealth.ts +53 -0
  342. package/src/models/ProviderInfo.ts +6 -9
  343. package/src/models/ProviderInformation.ts +9 -7
  344. package/src/models/ProviderInput.ts +151 -41
  345. package/src/models/RecommendRequest.ts +19 -38
  346. package/src/models/RecommendResponse.ts +7 -1
  347. package/src/models/RecommendationInfo.ts +95 -0
  348. package/src/models/RefreshStepContentRequest.ts +6 -1
  349. package/src/models/RefreshStepContentResponse.ts +7 -1
  350. package/src/models/ResultCollection.ts +17 -4
  351. package/src/models/ResultCollectionMethod.ts +4 -0
  352. package/src/models/Session.ts +14 -8
  353. package/src/models/SessionErrorCode.ts +4 -0
  354. package/src/models/SessionOrdering.ts +4 -0
  355. package/src/models/Sex.ts +4 -0
  356. package/src/models/SmartIdInput.ts +65 -0
  357. package/src/models/SouthAfricaNidInput.ts +6 -1
  358. package/src/models/SpidInput.ts +67 -0
  359. package/src/models/StepRefreshInfo.ts +8 -3
  360. package/src/models/SubProviderMetadata.ts +98 -0
  361. package/src/models/TrinsicTestDatabaseLookupInput.ts +106 -0
  362. package/src/models/TrinsicTestSubProvidersInput.ts +69 -0
  363. package/src/models/index.ts +12 -3
  364. package/src/runtime.ts +10 -4
  365. package/dist/esm/models/KnownAddress.d.ts +0 -74
  366. package/dist/esm/models/KnownAddress.js +0 -52
  367. package/dist/esm/models/KnownIdentityData.d.ts +0 -34
  368. package/dist/esm/models/KnownIdentityData.js +0 -39
  369. package/dist/esm/models/KnownPersonData.d.ts +0 -74
  370. package/dist/esm/models/KnownPersonData.js +0 -53
  371. package/dist/models/KnownAddress.d.ts +0 -74
  372. package/dist/models/KnownAddress.js +0 -58
  373. package/dist/models/KnownIdentityData.d.ts +0 -34
  374. package/dist/models/KnownIdentityData.js +0 -45
  375. package/dist/models/KnownPersonData.d.ts +0 -74
  376. package/dist/models/KnownPersonData.js +0 -59
  377. package/src/models/KnownAddress.ts +0 -117
  378. package/src/models/KnownIdentityData.ts +0 -69
  379. package/src/models/KnownPersonData.ts +0 -123
@@ -0,0 +1,33 @@
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 { ProviderContract } from './ProviderContract';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListProviderContractsResponse
17
+ */
18
+ export interface ListProviderContractsResponse {
19
+ /**
20
+ * Contracts for all Providers available to your App, filtered by your App's current test mode setting.
21
+ * @type {Array<ProviderContract>}
22
+ * @memberof ListProviderContractsResponse
23
+ */
24
+ providerContracts: Array<ProviderContract>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ListProviderContractsResponse interface.
28
+ */
29
+ export declare function instanceOfListProviderContractsResponse(value: object): value is ListProviderContractsResponse;
30
+ export declare function ListProviderContractsResponseFromJSON(json: any): ListProviderContractsResponse;
31
+ export declare function ListProviderContractsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListProviderContractsResponse;
32
+ export declare function ListProviderContractsResponseToJSON(json: any): ListProviderContractsResponse;
33
+ export declare function ListProviderContractsResponseToJSONTyped(value?: ListProviderContractsResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Trinsic API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfListProviderContractsResponse = instanceOfListProviderContractsResponse;
17
+ exports.ListProviderContractsResponseFromJSON = ListProviderContractsResponseFromJSON;
18
+ exports.ListProviderContractsResponseFromJSONTyped = ListProviderContractsResponseFromJSONTyped;
19
+ exports.ListProviderContractsResponseToJSON = ListProviderContractsResponseToJSON;
20
+ exports.ListProviderContractsResponseToJSONTyped = ListProviderContractsResponseToJSONTyped;
21
+ const ProviderContract_1 = require("./ProviderContract");
22
+ /**
23
+ * Check if a given object implements the ListProviderContractsResponse interface.
24
+ */
25
+ function instanceOfListProviderContractsResponse(value) {
26
+ if (!('providerContracts' in value) || value['providerContracts'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function ListProviderContractsResponseFromJSON(json) {
31
+ return ListProviderContractsResponseFromJSONTyped(json, false);
32
+ }
33
+ function ListProviderContractsResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'providerContracts': (json['providerContracts'].map(ProviderContract_1.ProviderContractFromJSON)),
39
+ };
40
+ }
41
+ function ListProviderContractsResponseToJSON(json) {
42
+ return ListProviderContractsResponseToJSONTyped(json, false);
43
+ }
44
+ function ListProviderContractsResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'providerContracts': (value['providerContracts'].map(ProviderContract_1.ProviderContractToJSON)),
50
+ };
51
+ }
@@ -29,4 +29,5 @@ export interface ListProvidersResponse {
29
29
  export declare function instanceOfListProvidersResponse(value: object): value is ListProvidersResponse;
30
30
  export declare function ListProvidersResponseFromJSON(json: any): ListProvidersResponse;
31
31
  export declare function ListProvidersResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListProvidersResponse;
32
- export declare function ListProvidersResponseToJSON(value?: ListProvidersResponse | null): any;
32
+ export declare function ListProvidersResponseToJSON(json: any): ListProvidersResponse;
33
+ export declare function ListProvidersResponseToJSONTyped(value?: ListProvidersResponse | null, ignoreDiscriminator?: boolean): any;
@@ -17,6 +17,7 @@ exports.instanceOfListProvidersResponse = instanceOfListProvidersResponse;
17
17
  exports.ListProvidersResponseFromJSON = ListProvidersResponseFromJSON;
18
18
  exports.ListProvidersResponseFromJSONTyped = ListProvidersResponseFromJSONTyped;
19
19
  exports.ListProvidersResponseToJSON = ListProvidersResponseToJSON;
20
+ exports.ListProvidersResponseToJSONTyped = ListProvidersResponseToJSONTyped;
20
21
  const ProviderInfo_1 = require("./ProviderInfo");
21
22
  /**
22
23
  * Check if a given object implements the ListProvidersResponse interface.
@@ -37,7 +38,10 @@ function ListProvidersResponseFromJSONTyped(json, ignoreDiscriminator) {
37
38
  'providers': (json['providers'].map(ProviderInfo_1.ProviderInfoFromJSON)),
38
39
  };
39
40
  }
40
- function ListProvidersResponseToJSON(value) {
41
+ function ListProvidersResponseToJSON(json) {
42
+ return ListProvidersResponseToJSONTyped(json, false);
43
+ }
44
+ function ListProvidersResponseToJSONTyped(value, ignoreDiscriminator = false) {
41
45
  if (value == null) {
42
46
  return value;
43
47
  }
@@ -41,4 +41,5 @@ export interface ListSessionsResponse {
41
41
  export declare function instanceOfListSessionsResponse(value: object): value is ListSessionsResponse;
42
42
  export declare function ListSessionsResponseFromJSON(json: any): ListSessionsResponse;
43
43
  export declare function ListSessionsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListSessionsResponse;
44
- export declare function ListSessionsResponseToJSON(value?: ListSessionsResponse | null): any;
44
+ export declare function ListSessionsResponseToJSON(json: any): ListSessionsResponse;
45
+ export declare function ListSessionsResponseToJSONTyped(value?: ListSessionsResponse | null, ignoreDiscriminator?: boolean): any;
@@ -17,6 +17,7 @@ exports.instanceOfListSessionsResponse = instanceOfListSessionsResponse;
17
17
  exports.ListSessionsResponseFromJSON = ListSessionsResponseFromJSON;
18
18
  exports.ListSessionsResponseFromJSONTyped = ListSessionsResponseFromJSONTyped;
19
19
  exports.ListSessionsResponseToJSON = ListSessionsResponseToJSON;
20
+ exports.ListSessionsResponseToJSONTyped = ListSessionsResponseToJSONTyped;
20
21
  const Session_1 = require("./Session");
21
22
  /**
22
23
  * Check if a given object implements the ListSessionsResponse interface.
@@ -43,7 +44,10 @@ function ListSessionsResponseFromJSONTyped(json, ignoreDiscriminator) {
43
44
  'more': json['more'],
44
45
  };
45
46
  }
46
- function ListSessionsResponseToJSON(value) {
47
+ function ListSessionsResponseToJSON(json) {
48
+ return ListSessionsResponseToJSONTyped(json, false);
49
+ }
50
+ function ListSessionsResponseToJSONTyped(value, ignoreDiscriminator = false) {
47
51
  if (value == null) {
48
52
  return value;
49
53
  }
@@ -28,4 +28,5 @@ export interface MexicoCurpInput {
28
28
  export declare function instanceOfMexicoCurpInput(value: object): value is MexicoCurpInput;
29
29
  export declare function MexicoCurpInputFromJSON(json: any): MexicoCurpInput;
30
30
  export declare function MexicoCurpInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MexicoCurpInput;
31
- export declare function MexicoCurpInputToJSON(value?: MexicoCurpInput | null): any;
31
+ export declare function MexicoCurpInputToJSON(json: any): MexicoCurpInput;
32
+ export declare function MexicoCurpInputToJSONTyped(value?: MexicoCurpInput | null, ignoreDiscriminator?: boolean): any;
@@ -17,6 +17,7 @@ exports.instanceOfMexicoCurpInput = instanceOfMexicoCurpInput;
17
17
  exports.MexicoCurpInputFromJSON = MexicoCurpInputFromJSON;
18
18
  exports.MexicoCurpInputFromJSONTyped = MexicoCurpInputFromJSONTyped;
19
19
  exports.MexicoCurpInputToJSON = MexicoCurpInputToJSON;
20
+ exports.MexicoCurpInputToJSONTyped = MexicoCurpInputToJSONTyped;
20
21
  /**
21
22
  * Check if a given object implements the MexicoCurpInput interface.
22
23
  */
@@ -36,7 +37,10 @@ function MexicoCurpInputFromJSONTyped(json, ignoreDiscriminator) {
36
37
  'curp': json['curp'],
37
38
  };
38
39
  }
39
- function MexicoCurpInputToJSON(value) {
40
+ function MexicoCurpInputToJSON(json) {
41
+ return MexicoCurpInputToJSONTyped(json, false);
42
+ }
43
+ function MexicoCurpInputToJSONTyped(value, ignoreDiscriminator = false) {
40
44
  if (value == null) {
41
45
  return value;
42
46
  }
@@ -0,0 +1,45 @@
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 { Language } from './Language';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface MobileIdInput
17
+ */
18
+ export interface MobileIdInput {
19
+ /**
20
+ * The user's phone number in E.164 format
21
+ * @type {string}
22
+ * @memberof MobileIdInput
23
+ */
24
+ mobileIdPhoneNumber?: string | null;
25
+ /**
26
+ * The user's National ID number
27
+ * @type {string}
28
+ * @memberof MobileIdInput
29
+ */
30
+ mobileIdNationalIdentityNumber?: string | null;
31
+ /**
32
+ * The user's language -- LIT, EST, ENG, or RUS
33
+ * @type {Language}
34
+ * @memberof MobileIdInput
35
+ */
36
+ mobileIdLanguage?: Language | null;
37
+ }
38
+ /**
39
+ * Check if a given object implements the MobileIdInput interface.
40
+ */
41
+ export declare function instanceOfMobileIdInput(value: object): value is MobileIdInput;
42
+ export declare function MobileIdInputFromJSON(json: any): MobileIdInput;
43
+ export declare function MobileIdInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileIdInput;
44
+ export declare function MobileIdInputToJSON(json: any): MobileIdInput;
45
+ export declare function MobileIdInputToJSONTyped(value?: MobileIdInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Trinsic API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfMobileIdInput = instanceOfMobileIdInput;
17
+ exports.MobileIdInputFromJSON = MobileIdInputFromJSON;
18
+ exports.MobileIdInputFromJSONTyped = MobileIdInputFromJSONTyped;
19
+ exports.MobileIdInputToJSON = MobileIdInputToJSON;
20
+ exports.MobileIdInputToJSONTyped = MobileIdInputToJSONTyped;
21
+ const Language_1 = require("./Language");
22
+ /**
23
+ * Check if a given object implements the MobileIdInput interface.
24
+ */
25
+ function instanceOfMobileIdInput(value) {
26
+ return true;
27
+ }
28
+ function MobileIdInputFromJSON(json) {
29
+ return MobileIdInputFromJSONTyped(json, false);
30
+ }
31
+ function MobileIdInputFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'mobileIdPhoneNumber': json['mobileIdPhoneNumber'] == null ? undefined : json['mobileIdPhoneNumber'],
37
+ 'mobileIdNationalIdentityNumber': json['mobileIdNationalIdentityNumber'] == null ? undefined : json['mobileIdNationalIdentityNumber'],
38
+ 'mobileIdLanguage': json['mobileIdLanguage'] == null ? undefined : (0, Language_1.LanguageFromJSON)(json['mobileIdLanguage']),
39
+ };
40
+ }
41
+ function MobileIdInputToJSON(json) {
42
+ return MobileIdInputToJSONTyped(json, false);
43
+ }
44
+ function MobileIdInputToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'mobileIdPhoneNumber': value['mobileIdPhoneNumber'],
50
+ 'mobileIdNationalIdentityNumber': value['mobileIdNationalIdentityNumber'],
51
+ 'mobileIdLanguage': (0, Language_1.LanguageToJSON)(value['mobileIdLanguage']),
52
+ };
53
+ }
@@ -64,4 +64,5 @@ export interface NigeriaNinInput {
64
64
  export declare function instanceOfNigeriaNinInput(value: object): value is NigeriaNinInput;
65
65
  export declare function NigeriaNinInputFromJSON(json: any): NigeriaNinInput;
66
66
  export declare function NigeriaNinInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): NigeriaNinInput;
67
- export declare function NigeriaNinInputToJSON(value?: NigeriaNinInput | null): any;
67
+ export declare function NigeriaNinInputToJSON(json: any): NigeriaNinInput;
68
+ export declare function NigeriaNinInputToJSONTyped(value?: NigeriaNinInput | null, ignoreDiscriminator?: boolean): any;
@@ -17,6 +17,7 @@ exports.instanceOfNigeriaNinInput = instanceOfNigeriaNinInput;
17
17
  exports.NigeriaNinInputFromJSON = NigeriaNinInputFromJSON;
18
18
  exports.NigeriaNinInputFromJSONTyped = NigeriaNinInputFromJSONTyped;
19
19
  exports.NigeriaNinInputToJSON = NigeriaNinInputToJSON;
20
+ exports.NigeriaNinInputToJSONTyped = NigeriaNinInputToJSONTyped;
20
21
  /**
21
22
  * Check if a given object implements the NigeriaNinInput interface.
22
23
  */
@@ -48,7 +49,10 @@ function NigeriaNinInputFromJSONTyped(json, ignoreDiscriminator) {
48
49
  'nationalIdNumber': json['nationalIdNumber'],
49
50
  };
50
51
  }
51
- function NigeriaNinInputToJSON(value) {
52
+ function NigeriaNinInputToJSON(json) {
53
+ return NigeriaNinInputToJSONTyped(json, false);
54
+ }
55
+ function NigeriaNinInputToJSONTyped(value, ignoreDiscriminator = false) {
52
56
  if (value == null) {
53
57
  return value;
54
58
  }
@@ -22,3 +22,4 @@ export declare function instanceOfOrderDirection(value: any): boolean;
22
22
  export declare function OrderDirectionFromJSON(json: any): OrderDirection;
23
23
  export declare function OrderDirectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderDirection;
24
24
  export declare function OrderDirectionToJSON(value?: OrderDirection | null): any;
25
+ export declare function OrderDirectionToJSONTyped(value: any, ignoreDiscriminator: boolean): OrderDirection;
@@ -18,6 +18,7 @@ exports.instanceOfOrderDirection = instanceOfOrderDirection;
18
18
  exports.OrderDirectionFromJSON = OrderDirectionFromJSON;
19
19
  exports.OrderDirectionFromJSONTyped = OrderDirectionFromJSONTyped;
20
20
  exports.OrderDirectionToJSON = OrderDirectionToJSON;
21
+ exports.OrderDirectionToJSONTyped = OrderDirectionToJSONTyped;
21
22
  /**
22
23
  *
23
24
  * @export
@@ -45,3 +46,6 @@ function OrderDirectionFromJSONTyped(json, ignoreDiscriminator) {
45
46
  function OrderDirectionToJSON(value) {
46
47
  return value;
47
48
  }
49
+ function OrderDirectionToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
@@ -84,4 +84,5 @@ export interface PersonData {
84
84
  export declare function instanceOfPersonData(value: object): value is PersonData;
85
85
  export declare function PersonDataFromJSON(json: any): PersonData;
86
86
  export declare function PersonDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonData;
87
- export declare function PersonDataToJSON(value?: PersonData | null): any;
87
+ export declare function PersonDataToJSON(json: any): PersonData;
88
+ export declare function PersonDataToJSONTyped(value?: PersonData | null, ignoreDiscriminator?: boolean): any;
@@ -17,6 +17,7 @@ exports.instanceOfPersonData = instanceOfPersonData;
17
17
  exports.PersonDataFromJSON = PersonDataFromJSON;
18
18
  exports.PersonDataFromJSONTyped = PersonDataFromJSONTyped;
19
19
  exports.PersonDataToJSON = PersonDataToJSON;
20
+ exports.PersonDataToJSONTyped = PersonDataToJSONTyped;
20
21
  const Address_1 = require("./Address");
21
22
  const Sex_1 = require("./Sex");
22
23
  /**
@@ -45,7 +46,10 @@ function PersonDataFromJSONTyped(json, ignoreDiscriminator) {
45
46
  'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
46
47
  };
47
48
  }
48
- function PersonDataToJSON(value) {
49
+ function PersonDataToJSON(json) {
50
+ return PersonDataToJSONTyped(json, false);
51
+ }
52
+ function PersonDataToJSONTyped(value, ignoreDiscriminator = false) {
49
53
  if (value == null) {
50
54
  return value;
51
55
  }
@@ -52,4 +52,5 @@ export interface PhilippineMatchInput {
52
52
  export declare function instanceOfPhilippineMatchInput(value: object): value is PhilippineMatchInput;
53
53
  export declare function PhilippineMatchInputFromJSON(json: any): PhilippineMatchInput;
54
54
  export declare function PhilippineMatchInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhilippineMatchInput;
55
- export declare function PhilippineMatchInputToJSON(value?: PhilippineMatchInput | null): any;
55
+ export declare function PhilippineMatchInputToJSON(json: any): PhilippineMatchInput;
56
+ export declare function PhilippineMatchInputToJSONTyped(value?: PhilippineMatchInput | null, ignoreDiscriminator?: boolean): any;
@@ -17,6 +17,7 @@ exports.instanceOfPhilippineMatchInput = instanceOfPhilippineMatchInput;
17
17
  exports.PhilippineMatchInputFromJSON = PhilippineMatchInputFromJSON;
18
18
  exports.PhilippineMatchInputFromJSONTyped = PhilippineMatchInputFromJSONTyped;
19
19
  exports.PhilippineMatchInputToJSON = PhilippineMatchInputToJSON;
20
+ exports.PhilippineMatchInputToJSONTyped = PhilippineMatchInputToJSONTyped;
20
21
  /**
21
22
  * Check if a given object implements the PhilippineMatchInput interface.
22
23
  */
@@ -38,7 +39,10 @@ function PhilippineMatchInputFromJSONTyped(json, ignoreDiscriminator) {
38
39
  'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
39
40
  };
40
41
  }
41
- function PhilippineMatchInputToJSON(value) {
42
+ function PhilippineMatchInputToJSON(json) {
43
+ return PhilippineMatchInputToJSONTyped(json, false);
44
+ }
45
+ function PhilippineMatchInputToJSONTyped(value, ignoreDiscriminator = false) {
42
46
  if (value == null) {
43
47
  return value;
44
48
  }
@@ -34,4 +34,5 @@ export interface PhilippineQRInput {
34
34
  export declare function instanceOfPhilippineQRInput(value: object): value is PhilippineQRInput;
35
35
  export declare function PhilippineQRInputFromJSON(json: any): PhilippineQRInput;
36
36
  export declare function PhilippineQRInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhilippineQRInput;
37
- export declare function PhilippineQRInputToJSON(value?: PhilippineQRInput | null): any;
37
+ export declare function PhilippineQRInputToJSON(json: any): PhilippineQRInput;
38
+ export declare function PhilippineQRInputToJSONTyped(value?: PhilippineQRInput | null, ignoreDiscriminator?: boolean): any;
@@ -17,6 +17,7 @@ exports.instanceOfPhilippineQRInput = instanceOfPhilippineQRInput;
17
17
  exports.PhilippineQRInputFromJSON = PhilippineQRInputFromJSON;
18
18
  exports.PhilippineQRInputFromJSONTyped = PhilippineQRInputFromJSONTyped;
19
19
  exports.PhilippineQRInputToJSON = PhilippineQRInputToJSON;
20
+ exports.PhilippineQRInputToJSONTyped = PhilippineQRInputToJSONTyped;
20
21
  /**
21
22
  * Check if a given object implements the PhilippineQRInput interface.
22
23
  */
@@ -35,7 +36,10 @@ function PhilippineQRInputFromJSONTyped(json, ignoreDiscriminator) {
35
36
  'qrCodeImage': json['qrCodeImage'] == null ? undefined : json['qrCodeImage'],
36
37
  };
37
38
  }
38
- function PhilippineQRInputToJSON(value) {
39
+ function PhilippineQRInputToJSON(json) {
40
+ return PhilippineQRInputToJSONTyped(json, false);
41
+ }
42
+ function PhilippineQRInputToJSONTyped(value, ignoreDiscriminator = false) {
39
43
  if (value == null) {
40
44
  return value;
41
45
  }
@@ -53,4 +53,5 @@ export interface ProblemDetails {
53
53
  export declare function instanceOfProblemDetails(value: object): value is ProblemDetails;
54
54
  export declare function ProblemDetailsFromJSON(json: any): ProblemDetails;
55
55
  export declare function ProblemDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProblemDetails;
56
- export declare function ProblemDetailsToJSON(value?: ProblemDetails | null): any;
56
+ export declare function ProblemDetailsToJSON(json: any): ProblemDetails;
57
+ export declare function ProblemDetailsToJSONTyped(value?: ProblemDetails | null, ignoreDiscriminator?: boolean): any;
@@ -17,6 +17,7 @@ exports.instanceOfProblemDetails = instanceOfProblemDetails;
17
17
  exports.ProblemDetailsFromJSON = ProblemDetailsFromJSON;
18
18
  exports.ProblemDetailsFromJSONTyped = ProblemDetailsFromJSONTyped;
19
19
  exports.ProblemDetailsToJSON = ProblemDetailsToJSON;
20
+ exports.ProblemDetailsToJSONTyped = ProblemDetailsToJSONTyped;
20
21
  /**
21
22
  * Check if a given object implements the ProblemDetails interface.
22
23
  */
@@ -32,7 +33,10 @@ function ProblemDetailsFromJSONTyped(json, ignoreDiscriminator) {
32
33
  }
33
34
  return Object.assign(Object.assign({}, json), { 'type': json['type'] == null ? undefined : json['type'], 'title': json['title'] == null ? undefined : json['title'], 'status': json['status'] == null ? undefined : json['status'], 'detail': json['detail'] == null ? undefined : json['detail'], 'instance': json['instance'] == null ? undefined : json['instance'] });
34
35
  }
35
- function ProblemDetailsToJSON(value) {
36
+ function ProblemDetailsToJSON(json) {
37
+ return ProblemDetailsToJSONTyped(json, false);
38
+ }
39
+ function ProblemDetailsToJSONTyped(value, ignoreDiscriminator = false) {
36
40
  if (value == null) {
37
41
  return value;
38
42
  }
@@ -29,4 +29,5 @@ export interface ProviderAttachments {
29
29
  export declare function instanceOfProviderAttachments(value: object): value is ProviderAttachments;
30
30
  export declare function ProviderAttachmentsFromJSON(json: any): ProviderAttachments;
31
31
  export declare function ProviderAttachmentsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderAttachments;
32
- export declare function ProviderAttachmentsToJSON(value?: ProviderAttachments | null): any;
32
+ export declare function ProviderAttachmentsToJSON(json: any): ProviderAttachments;
33
+ export declare function ProviderAttachmentsToJSONTyped(value?: ProviderAttachments | null, ignoreDiscriminator?: boolean): any;
@@ -17,6 +17,7 @@ exports.instanceOfProviderAttachments = instanceOfProviderAttachments;
17
17
  exports.ProviderAttachmentsFromJSON = ProviderAttachmentsFromJSON;
18
18
  exports.ProviderAttachmentsFromJSONTyped = ProviderAttachmentsFromJSONTyped;
19
19
  exports.ProviderAttachmentsToJSON = ProviderAttachmentsToJSON;
20
+ exports.ProviderAttachmentsToJSONTyped = ProviderAttachmentsToJSONTyped;
20
21
  const DocumentScanAttachments_1 = require("./DocumentScanAttachments");
21
22
  /**
22
23
  * Check if a given object implements the ProviderAttachments interface.
@@ -35,7 +36,10 @@ function ProviderAttachmentsFromJSONTyped(json, ignoreDiscriminator) {
35
36
  'documentScan': json['document-scan'] == null ? undefined : (0, DocumentScanAttachments_1.DocumentScanAttachmentsFromJSON)(json['document-scan']),
36
37
  };
37
38
  }
38
- function ProviderAttachmentsToJSON(value) {
39
+ function ProviderAttachmentsToJSON(json) {
40
+ return ProviderAttachmentsToJSONTyped(json, false);
41
+ }
42
+ function ProviderAttachmentsToJSONTyped(value, ignoreDiscriminator = false) {
39
43
  if (value == null) {
40
44
  return value;
41
45
  }
@@ -0,0 +1,155 @@
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 { ProviderHealth } from './ProviderHealth';
13
+ import type { SubProviderMetadata } from './SubProviderMetadata';
14
+ import type { ResultCollectionMethod } from './ResultCollectionMethod';
15
+ import type { IntegrationLaunchMethod } from './IntegrationLaunchMethod';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ProviderContract
20
+ */
21
+ export interface ProviderContract {
22
+ /**
23
+ * The ID of the Provider for this contract.
24
+ * @type {string}
25
+ * @memberof ProviderContract
26
+ */
27
+ id: string;
28
+ /**
29
+ * The Provider's Name as it appears in Trinsic's Dashboard and Widget
30
+ * @type {string}
31
+ * @memberof ProviderContract
32
+ */
33
+ name: string;
34
+ /**
35
+ * The Provider's description as it appears in Trinsic's Widget.
36
+ *
37
+ * This is flavor text, not a full, human-readable description of the provider.
38
+ * @type {string}
39
+ * @memberof ProviderContract
40
+ */
41
+ description: string;
42
+ /**
43
+ * A URL pointing to the Provider's logo on Trinsic's CDN.
44
+ *
45
+ * May be a PNG, JPG, or SVG image.
46
+ * @type {string}
47
+ * @memberof ProviderContract
48
+ */
49
+ logoUrl: string;
50
+ /**
51
+ * Whether the Provider is available for use in your App.
52
+ *
53
+ * If `false`, you will need to contact Trinsic to enable this Provider for your App.
54
+ * @type {boolean}
55
+ * @memberof ProviderContract
56
+ */
57
+ available: boolean;
58
+ /**
59
+ * The geographies within the Regions the Provider is available.
60
+ * @type {Array<string>}
61
+ * @memberof ProviderContract
62
+ */
63
+ geography: Array<string>;
64
+ /**
65
+ * The regions within which the Provider is available.
66
+ * @type {Array<string>}
67
+ * @memberof ProviderContract
68
+ */
69
+ regions: Array<string>;
70
+ /**
71
+ * Relevant only to Advanced Provider Sessions.
72
+ *
73
+ * The `LaunchMethod` which must be supported to launch the Provider Session in Advanced Provider Sessions.
74
+ * @type {IntegrationLaunchMethod}
75
+ * @memberof ProviderContract
76
+ */
77
+ launchMethod: IntegrationLaunchMethod;
78
+ /**
79
+ * Relevant only to Advanced Provider Sessions.
80
+ *
81
+ * The `CollectionMethod` which must be supported to launch the Provider Session in Advanced Provider Sessions.
82
+ * @type {ResultCollectionMethod}
83
+ * @memberof ProviderContract
84
+ */
85
+ collectionMethod: ResultCollectionMethod;
86
+ /**
87
+ * If `true`, then the results for this Provider may not be available immediately after the user is redirected back
88
+ * to your application. In this case, the `GetSessionResults` API must be called until results are available.
89
+ *
90
+ * This is an uncommon scenario, and typically only applies to Providers which use a biometric check or traditional document scan.
91
+ * @type {boolean}
92
+ * @memberof ProviderContract
93
+ */
94
+ resultsMayBeDelayedAfterRedirect: boolean;
95
+ /**
96
+ * Relevant only to Advanced Provider Sessions.
97
+ *
98
+ * Whether the Provider requires the `RefreshStepContent` capability.
99
+ *
100
+ * For example, Samsung Wallet's deep links expire every 30 seconds, and must be refreshed periodically for a
101
+ * resilient user flow.
102
+ * @type {boolean}
103
+ * @memberof ProviderContract
104
+ */
105
+ hasRefreshableContent: boolean;
106
+ /**
107
+ * Relevant to Hosted Provider Sessions and Advanced Provider Sessions.
108
+ *
109
+ * If `true`, this Provider requires provider-specific input on Session creation.
110
+ * If this input is not provided, Trinsic's Hosted UI will be invoked to collect the input from the user.
111
+ * @type {boolean}
112
+ * @memberof ProviderContract
113
+ */
114
+ requiresInput: boolean;
115
+ /**
116
+ * Whether there exists a Trinsic-hosted UI for this Provider.
117
+ *
118
+ * This is `true` for any Provider which is not a simple, OIDC-like redirect flow.
119
+ * @type {boolean}
120
+ * @memberof ProviderContract
121
+ */
122
+ hasTrinsicInterface: boolean;
123
+ /**
124
+ * Whether this Provider can be fully whitelabeled/OEMed through the Advanced Provider Sessions API.
125
+ *
126
+ * If `false`, the Provider may still be launched through Advanced Provider Sessions;
127
+ * however, it will necessarily require a Trinsic-hosted UI to function.
128
+ * @type {boolean}
129
+ * @memberof ProviderContract
130
+ */
131
+ supportsAdvancedProviderSessions: boolean;
132
+ /**
133
+ * Metadata about the sub-providers which are available for this Provider.
134
+ *
135
+ * For example, Italy's SPID is a Provider which aggregates access to multiple sub-providers.
136
+ * @type {Array<SubProviderMetadata>}
137
+ * @memberof ProviderContract
138
+ */
139
+ subProviders?: Array<SubProviderMetadata> | null;
140
+ /**
141
+ * The current status of the provider and if it is available to launch.
142
+ * If the status is disabled, there is an issue that prevents a provider being able to launch a session.
143
+ * @type {ProviderHealth}
144
+ * @memberof ProviderContract
145
+ */
146
+ status: ProviderHealth;
147
+ }
148
+ /**
149
+ * Check if a given object implements the ProviderContract interface.
150
+ */
151
+ export declare function instanceOfProviderContract(value: object): value is ProviderContract;
152
+ export declare function ProviderContractFromJSON(json: any): ProviderContract;
153
+ export declare function ProviderContractFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderContract;
154
+ export declare function ProviderContractToJSON(json: any): ProviderContract;
155
+ export declare function ProviderContractToJSONTyped(value?: ProviderContract | null, ignoreDiscriminator?: boolean): any;