@trinsic/api 1.2.0 → 2.0.0-alpha3

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 (359) hide show
  1. package/.openapi-generator/FILES +33 -11
  2. package/dist/apis/AttachmentsApi.d.ts +1 -1
  3. package/dist/apis/AttachmentsApi.js +1 -1
  4. package/dist/apis/NetworkApi.d.ts +6 -33
  5. package/dist/apis/NetworkApi.js +3 -40
  6. package/dist/apis/SessionsApi.d.ts +100 -17
  7. package/dist/apis/SessionsApi.js +123 -12
  8. package/dist/esm/apis/AttachmentsApi.d.ts +1 -1
  9. package/dist/esm/apis/AttachmentsApi.js +1 -1
  10. package/dist/esm/apis/NetworkApi.d.ts +6 -33
  11. package/dist/esm/apis/NetworkApi.js +4 -41
  12. package/dist/esm/apis/SessionsApi.d.ts +100 -17
  13. package/dist/esm/apis/SessionsApi.js +124 -13
  14. package/dist/esm/models/AadhaarInput.d.ts +37 -0
  15. package/dist/esm/models/AadhaarInput.js +40 -0
  16. package/dist/esm/models/Address.d.ts +11 -11
  17. package/dist/esm/models/Address.js +3 -3
  18. package/dist/esm/models/AttachmentAccessKeys.d.ts +16 -11
  19. package/dist/esm/models/AttachmentAccessKeys.js +6 -1
  20. package/dist/esm/models/BangladeshNationalIdInput.d.ts +49 -0
  21. package/dist/esm/models/BangladeshNationalIdInput.js +44 -0
  22. package/dist/esm/models/BrazilCpfCheckInput.d.ts +31 -0
  23. package/dist/esm/models/BrazilCpfCheckInput.js +40 -0
  24. package/dist/esm/models/BrazilDigitalCnhInput.d.ts +57 -0
  25. package/dist/esm/models/BrazilDigitalCnhInput.js +46 -0
  26. package/dist/esm/models/CancelSessionResponse.d.ts +1 -1
  27. package/dist/esm/models/CancelSessionResponse.js +1 -1
  28. package/dist/esm/models/CreateAdvancedProviderSessionRequest.d.ts +83 -0
  29. package/dist/esm/models/CreateAdvancedProviderSessionRequest.js +52 -0
  30. package/dist/esm/models/CreateAdvancedProviderSessionResponse.d.ts +45 -0
  31. package/dist/esm/models/CreateAdvancedProviderSessionResponse.js +50 -0
  32. package/dist/esm/models/CreateHostedProviderSessionRequest.d.ts +44 -0
  33. package/dist/esm/models/CreateHostedProviderSessionRequest.js +47 -0
  34. package/dist/esm/models/CreateHostedProviderSessionResponse.d.ts +43 -0
  35. package/dist/esm/models/CreateHostedProviderSessionResponse.js +42 -0
  36. package/dist/esm/models/CreateWidgetSessionRequest.d.ts +49 -0
  37. package/dist/esm/models/CreateWidgetSessionRequest.js +43 -0
  38. package/dist/esm/models/CreateWidgetSessionResponse.d.ts +41 -0
  39. package/dist/esm/models/{CreateSessionResponse.js → CreateWidgetSessionResponse.js} +10 -11
  40. package/dist/esm/models/DocumentData.d.ts +11 -10
  41. package/dist/esm/models/DocumentData.js +8 -7
  42. package/dist/esm/models/DocumentScanAttachments.d.ts +31 -0
  43. package/dist/esm/models/DocumentScanAttachments.js +38 -0
  44. package/dist/esm/models/DocumentType.d.ts +26 -0
  45. package/dist/esm/models/DocumentType.js +42 -0
  46. package/dist/esm/models/GetAttachmentRequest.d.ts +1 -1
  47. package/dist/esm/models/GetAttachmentRequest.js +1 -1
  48. package/dist/esm/models/GetAttachmentResponse.d.ts +1 -1
  49. package/dist/esm/models/GetAttachmentResponse.js +1 -1
  50. package/dist/esm/models/GetSessionResponse.d.ts +1 -1
  51. package/dist/esm/models/GetSessionResponse.js +1 -1
  52. package/dist/esm/models/GetSessionResultRequest.d.ts +1 -1
  53. package/dist/esm/models/GetSessionResultRequest.js +1 -1
  54. package/dist/esm/models/GetSessionResultResponse.d.ts +2 -2
  55. package/dist/esm/models/GetSessionResultResponse.js +1 -1
  56. package/dist/esm/models/HttpValidationProblemDetails.d.ts +63 -0
  57. package/dist/esm/models/HttpValidationProblemDetails.js +48 -0
  58. package/dist/esm/models/IdentityData.d.ts +9 -9
  59. package/dist/esm/models/IdentityData.js +1 -1
  60. package/dist/esm/models/IndonesiaNikInput.d.ts +43 -0
  61. package/dist/esm/models/IndonesiaNikInput.js +48 -0
  62. package/dist/esm/models/IntegrationCapability.d.ts +28 -0
  63. package/dist/esm/models/IntegrationCapability.js +44 -0
  64. package/dist/esm/models/IntegrationLaunchMethod.d.ts +26 -0
  65. package/dist/esm/models/IntegrationLaunchMethod.js +42 -0
  66. package/dist/esm/models/IntegrationStep.d.ts +45 -0
  67. package/dist/esm/models/IntegrationStep.js +50 -0
  68. package/dist/esm/models/KenyaNidInput.d.ts +61 -0
  69. package/dist/esm/models/KenyaNidInput.js +58 -0
  70. package/dist/esm/models/KnownAddress.d.ts +15 -8
  71. package/dist/esm/models/KnownAddress.js +3 -1
  72. package/dist/esm/models/KnownIdentityData.d.ts +2 -2
  73. package/dist/esm/models/KnownIdentityData.js +1 -1
  74. package/dist/esm/models/KnownPersonData.d.ts +19 -7
  75. package/dist/esm/models/KnownPersonData.js +5 -1
  76. package/dist/esm/models/ListProvidersResponse.d.ts +1 -1
  77. package/dist/esm/models/ListProvidersResponse.js +1 -1
  78. package/dist/esm/models/ListSessionsResponse.d.ts +1 -1
  79. package/dist/esm/models/ListSessionsResponse.js +1 -1
  80. package/dist/esm/models/MexicoCurpInput.d.ts +31 -0
  81. package/dist/esm/models/{FailureMessage.js → MexicoCurpInput.js} +10 -10
  82. package/dist/esm/models/NigeriaNinInput.d.ts +67 -0
  83. package/dist/esm/models/NigeriaNinInput.js +58 -0
  84. package/dist/esm/models/OrderDirection.d.ts +1 -1
  85. package/dist/esm/models/OrderDirection.js +1 -1
  86. package/dist/esm/models/PersonData.d.ts +23 -18
  87. package/dist/esm/models/PersonData.js +8 -5
  88. package/dist/esm/models/PhilippineMatchInput.d.ts +55 -0
  89. package/dist/esm/models/PhilippineMatchInput.js +46 -0
  90. package/dist/esm/models/PhilippineQRInput.d.ts +37 -0
  91. package/dist/esm/models/PhilippineQRInput.js +40 -0
  92. package/dist/esm/models/ProblemDetails.d.ts +56 -0
  93. package/dist/esm/models/ProblemDetails.js +34 -0
  94. package/dist/esm/models/ProviderAttachments.d.ts +32 -0
  95. package/dist/esm/models/ProviderAttachments.js +39 -0
  96. package/dist/esm/models/ProviderInfo.d.ts +7 -1
  97. package/dist/esm/models/ProviderInfo.js +3 -1
  98. package/dist/esm/models/ProviderInformation.d.ts +1 -1
  99. package/dist/esm/models/ProviderInformation.js +1 -1
  100. package/dist/esm/models/ProviderInput.d.ts +102 -0
  101. package/dist/esm/models/ProviderInput.js +69 -0
  102. package/dist/esm/models/RecommendRequest.d.ts +18 -6
  103. package/dist/esm/models/RecommendRequest.js +8 -6
  104. package/dist/esm/models/RecommendResponse.d.ts +1 -1
  105. package/dist/esm/models/RecommendResponse.js +1 -1
  106. package/dist/esm/models/RefreshStepContentRequest.d.ts +31 -0
  107. package/dist/esm/models/RefreshStepContentRequest.js +38 -0
  108. package/dist/esm/models/RefreshStepContentResponse.d.ts +32 -0
  109. package/dist/esm/models/RefreshStepContentResponse.js +41 -0
  110. package/dist/esm/models/ResultCollection.d.ts +38 -0
  111. package/dist/esm/models/ResultCollection.js +43 -0
  112. package/dist/esm/models/ResultCollectionMethod.d.ts +24 -0
  113. package/dist/esm/models/ResultCollectionMethod.js +40 -0
  114. package/dist/esm/models/Session.d.ts +18 -20
  115. package/dist/esm/models/Session.js +10 -17
  116. package/dist/esm/models/SessionErrorCode.d.ts +32 -0
  117. package/dist/esm/models/SessionErrorCode.js +48 -0
  118. package/dist/esm/models/SessionOrdering.d.ts +1 -1
  119. package/dist/esm/models/SessionOrdering.js +1 -1
  120. package/dist/esm/models/Sex.d.ts +26 -0
  121. package/dist/esm/models/Sex.js +42 -0
  122. package/dist/esm/models/SouthAfricaNidInput.d.ts +49 -0
  123. package/dist/esm/models/SouthAfricaNidInput.js +52 -0
  124. package/dist/esm/models/StepRefreshInfo.d.ts +45 -0
  125. package/dist/esm/models/StepRefreshInfo.js +48 -0
  126. package/dist/esm/models/index.d.ts +33 -11
  127. package/dist/esm/models/index.js +33 -11
  128. package/dist/esm/runtime.d.ts +1 -1
  129. package/dist/esm/runtime.js +1 -1
  130. package/dist/models/AadhaarInput.d.ts +37 -0
  131. package/dist/models/AadhaarInput.js +46 -0
  132. package/dist/models/Address.d.ts +11 -11
  133. package/dist/models/Address.js +3 -3
  134. package/dist/models/AttachmentAccessKeys.d.ts +16 -11
  135. package/dist/models/AttachmentAccessKeys.js +6 -1
  136. package/dist/models/BangladeshNationalIdInput.d.ts +49 -0
  137. package/dist/models/BangladeshNationalIdInput.js +50 -0
  138. package/dist/models/BrazilCpfCheckInput.d.ts +31 -0
  139. package/dist/models/BrazilCpfCheckInput.js +46 -0
  140. package/dist/models/BrazilDigitalCnhInput.d.ts +57 -0
  141. package/dist/models/BrazilDigitalCnhInput.js +52 -0
  142. package/dist/models/CancelSessionResponse.d.ts +1 -1
  143. package/dist/models/CancelSessionResponse.js +1 -1
  144. package/dist/models/CreateAdvancedProviderSessionRequest.d.ts +83 -0
  145. package/dist/models/CreateAdvancedProviderSessionRequest.js +58 -0
  146. package/dist/models/CreateAdvancedProviderSessionResponse.d.ts +45 -0
  147. package/dist/models/CreateAdvancedProviderSessionResponse.js +56 -0
  148. package/dist/models/CreateHostedProviderSessionRequest.d.ts +44 -0
  149. package/dist/models/CreateHostedProviderSessionRequest.js +53 -0
  150. package/dist/models/CreateHostedProviderSessionResponse.d.ts +43 -0
  151. package/dist/models/CreateHostedProviderSessionResponse.js +48 -0
  152. package/dist/models/CreateWidgetSessionRequest.d.ts +49 -0
  153. package/dist/models/CreateWidgetSessionRequest.js +49 -0
  154. package/dist/models/CreateWidgetSessionResponse.d.ts +41 -0
  155. package/dist/models/CreateWidgetSessionResponse.js +48 -0
  156. package/dist/models/DocumentData.d.ts +11 -10
  157. package/dist/models/DocumentData.js +8 -7
  158. package/dist/models/DocumentScanAttachments.d.ts +31 -0
  159. package/dist/models/DocumentScanAttachments.js +44 -0
  160. package/dist/models/DocumentType.d.ts +26 -0
  161. package/dist/models/DocumentType.js +49 -0
  162. package/dist/models/GetAttachmentRequest.d.ts +1 -1
  163. package/dist/models/GetAttachmentRequest.js +1 -1
  164. package/dist/models/GetAttachmentResponse.d.ts +1 -1
  165. package/dist/models/GetAttachmentResponse.js +1 -1
  166. package/dist/models/GetSessionResponse.d.ts +1 -1
  167. package/dist/models/GetSessionResponse.js +1 -1
  168. package/dist/models/GetSessionResultRequest.d.ts +1 -1
  169. package/dist/models/GetSessionResultRequest.js +1 -1
  170. package/dist/models/GetSessionResultResponse.d.ts +2 -2
  171. package/dist/models/GetSessionResultResponse.js +1 -1
  172. package/dist/models/HttpValidationProblemDetails.d.ts +63 -0
  173. package/dist/models/HttpValidationProblemDetails.js +54 -0
  174. package/dist/models/IdentityData.d.ts +9 -9
  175. package/dist/models/IdentityData.js +1 -1
  176. package/dist/models/IndonesiaNikInput.d.ts +43 -0
  177. package/dist/models/IndonesiaNikInput.js +54 -0
  178. package/dist/models/IntegrationCapability.d.ts +28 -0
  179. package/dist/models/IntegrationCapability.js +51 -0
  180. package/dist/models/IntegrationLaunchMethod.d.ts +26 -0
  181. package/dist/models/IntegrationLaunchMethod.js +49 -0
  182. package/dist/models/IntegrationStep.d.ts +45 -0
  183. package/dist/models/IntegrationStep.js +56 -0
  184. package/dist/models/KenyaNidInput.d.ts +61 -0
  185. package/dist/models/KenyaNidInput.js +64 -0
  186. package/dist/models/KnownAddress.d.ts +15 -8
  187. package/dist/models/KnownAddress.js +3 -1
  188. package/dist/models/KnownIdentityData.d.ts +2 -2
  189. package/dist/models/KnownIdentityData.js +1 -1
  190. package/dist/models/KnownPersonData.d.ts +19 -7
  191. package/dist/models/KnownPersonData.js +5 -1
  192. package/dist/models/ListProvidersResponse.d.ts +1 -1
  193. package/dist/models/ListProvidersResponse.js +1 -1
  194. package/dist/models/ListSessionsResponse.d.ts +1 -1
  195. package/dist/models/ListSessionsResponse.js +1 -1
  196. package/dist/models/MexicoCurpInput.d.ts +31 -0
  197. package/dist/models/MexicoCurpInput.js +46 -0
  198. package/dist/models/NigeriaNinInput.d.ts +67 -0
  199. package/dist/models/NigeriaNinInput.js +64 -0
  200. package/dist/models/OrderDirection.d.ts +1 -1
  201. package/dist/models/OrderDirection.js +1 -1
  202. package/dist/models/PersonData.d.ts +23 -18
  203. package/dist/models/PersonData.js +8 -5
  204. package/dist/models/PhilippineMatchInput.d.ts +55 -0
  205. package/dist/models/PhilippineMatchInput.js +52 -0
  206. package/dist/models/PhilippineQRInput.d.ts +37 -0
  207. package/dist/models/PhilippineQRInput.js +46 -0
  208. package/dist/models/ProblemDetails.d.ts +56 -0
  209. package/dist/models/ProblemDetails.js +40 -0
  210. package/dist/models/ProviderAttachments.d.ts +32 -0
  211. package/dist/models/ProviderAttachments.js +45 -0
  212. package/dist/models/ProviderInfo.d.ts +7 -1
  213. package/dist/models/ProviderInfo.js +3 -1
  214. package/dist/models/ProviderInformation.d.ts +1 -1
  215. package/dist/models/ProviderInformation.js +1 -1
  216. package/dist/models/ProviderInput.d.ts +102 -0
  217. package/dist/models/ProviderInput.js +75 -0
  218. package/dist/models/RecommendRequest.d.ts +18 -6
  219. package/dist/models/RecommendRequest.js +8 -6
  220. package/dist/models/RecommendResponse.d.ts +1 -1
  221. package/dist/models/RecommendResponse.js +1 -1
  222. package/dist/models/RefreshStepContentRequest.d.ts +31 -0
  223. package/dist/models/RefreshStepContentRequest.js +44 -0
  224. package/dist/models/RefreshStepContentResponse.d.ts +32 -0
  225. package/dist/models/RefreshStepContentResponse.js +47 -0
  226. package/dist/models/ResultCollection.d.ts +38 -0
  227. package/dist/models/ResultCollection.js +49 -0
  228. package/dist/models/ResultCollectionMethod.d.ts +24 -0
  229. package/dist/models/ResultCollectionMethod.js +47 -0
  230. package/dist/models/Session.d.ts +18 -20
  231. package/dist/models/Session.js +10 -17
  232. package/dist/models/SessionErrorCode.d.ts +32 -0
  233. package/dist/models/SessionErrorCode.js +55 -0
  234. package/dist/models/SessionOrdering.d.ts +1 -1
  235. package/dist/models/SessionOrdering.js +1 -1
  236. package/dist/models/Sex.d.ts +26 -0
  237. package/dist/models/Sex.js +49 -0
  238. package/dist/models/SouthAfricaNidInput.d.ts +49 -0
  239. package/dist/models/SouthAfricaNidInput.js +58 -0
  240. package/dist/models/StepRefreshInfo.d.ts +45 -0
  241. package/dist/models/StepRefreshInfo.js +54 -0
  242. package/dist/models/index.d.ts +33 -11
  243. package/dist/models/index.js +33 -11
  244. package/dist/runtime.d.ts +1 -1
  245. package/dist/runtime.js +1 -1
  246. package/package.json +1 -1
  247. package/src/apis/AttachmentsApi.ts +4 -7
  248. package/src/apis/NetworkApi.ts +8 -77
  249. package/src/apis/SessionsApi.ts +234 -33
  250. package/src/models/AadhaarInput.ts +68 -0
  251. package/src/models/Address.ts +13 -13
  252. package/src/models/AttachmentAccessKeys.ts +26 -12
  253. package/src/models/BangladeshNationalIdInput.ts +84 -0
  254. package/src/models/BrazilCpfCheckInput.ts +61 -0
  255. package/src/models/BrazilDigitalCnhInput.ts +93 -0
  256. package/src/models/CancelSessionResponse.ts +1 -1
  257. package/src/models/CreateAdvancedProviderSessionRequest.ts +133 -0
  258. package/src/models/CreateAdvancedProviderSessionResponse.ts +92 -0
  259. package/src/models/CreateHostedProviderSessionRequest.ts +85 -0
  260. package/src/models/CreateHostedProviderSessionResponse.ts +75 -0
  261. package/src/models/CreateWidgetSessionRequest.ts +88 -0
  262. package/src/models/{CreateSessionResponse.ts → CreateWidgetSessionResponse.ts} +18 -26
  263. package/src/models/DocumentData.ts +25 -16
  264. package/src/models/DocumentScanAttachments.ts +60 -0
  265. package/src/models/DocumentType.ts +51 -0
  266. package/src/models/GetAttachmentRequest.ts +1 -1
  267. package/src/models/GetAttachmentResponse.ts +1 -1
  268. package/src/models/GetSessionResponse.ts +1 -1
  269. package/src/models/GetSessionResultRequest.ts +1 -1
  270. package/src/models/GetSessionResultResponse.ts +2 -2
  271. package/src/models/HttpValidationProblemDetails.ts +100 -0
  272. package/src/models/IdentityData.ts +9 -9
  273. package/src/models/IndonesiaNikInput.ts +79 -0
  274. package/src/models/IntegrationCapability.ts +53 -0
  275. package/src/models/IntegrationLaunchMethod.ts +51 -0
  276. package/src/models/IntegrationStep.ts +94 -0
  277. package/src/models/KenyaNidInput.ts +105 -0
  278. package/src/models/KnownAddress.ts +17 -8
  279. package/src/models/KnownIdentityData.ts +2 -2
  280. package/src/models/KnownPersonData.ts +23 -7
  281. package/src/models/ListProvidersResponse.ts +1 -1
  282. package/src/models/ListSessionsResponse.ts +1 -1
  283. package/src/models/MexicoCurpInput.ts +61 -0
  284. package/src/models/NigeriaNinInput.ts +112 -0
  285. package/src/models/OrderDirection.ts +1 -1
  286. package/src/models/PersonData.ts +37 -23
  287. package/src/models/PhilippineMatchInput.ts +92 -0
  288. package/src/models/PhilippineQRInput.ts +68 -0
  289. package/src/models/ProblemDetails.ts +95 -0
  290. package/src/models/ProviderAttachments.ts +67 -0
  291. package/src/models/ProviderInfo.ts +9 -1
  292. package/src/models/ProviderInformation.ts +1 -1
  293. package/src/models/ProviderInput.ts +207 -0
  294. package/src/models/RecommendRequest.ts +25 -10
  295. package/src/models/RecommendResponse.ts +1 -1
  296. package/src/models/RefreshStepContentRequest.ts +60 -0
  297. package/src/models/RefreshStepContentResponse.ts +68 -0
  298. package/src/models/ResultCollection.ts +78 -0
  299. package/src/models/ResultCollectionMethod.ts +49 -0
  300. package/src/models/Session.ts +30 -50
  301. package/src/models/SessionErrorCode.ts +57 -0
  302. package/src/models/SessionOrdering.ts +1 -1
  303. package/src/models/Sex.ts +51 -0
  304. package/src/models/SouthAfricaNidInput.ts +88 -0
  305. package/src/models/StepRefreshInfo.ts +81 -0
  306. package/src/models/index.ts +33 -11
  307. package/src/runtime.ts +1 -1
  308. package/dist/esm/models/CreateSessionRequest.d.ts +0 -82
  309. package/dist/esm/models/CreateSessionRequest.js +0 -48
  310. package/dist/esm/models/CreateSessionResponse.d.ts +0 -43
  311. package/dist/esm/models/DisclosedFields.d.ts +0 -97
  312. package/dist/esm/models/DisclosedFields.js +0 -84
  313. package/dist/esm/models/DisclosedFieldsRequest.d.ts +0 -97
  314. package/dist/esm/models/DisclosedFieldsRequest.js +0 -60
  315. package/dist/esm/models/FailureMessage.d.ts +0 -31
  316. package/dist/esm/models/IdentityLookupResponse.d.ts +0 -31
  317. package/dist/esm/models/IdentityLookupResponse.js +0 -40
  318. package/dist/esm/models/SessionFailCode.d.ts +0 -29
  319. package/dist/esm/models/SessionFailCode.js +0 -45
  320. package/dist/esm/models/SessionState.d.ts +0 -28
  321. package/dist/esm/models/SessionState.js +0 -44
  322. package/dist/esm/models/ValidationResult.d.ts +0 -37
  323. package/dist/esm/models/ValidationResult.js +0 -41
  324. package/dist/esm/models/Verification.d.ts +0 -38
  325. package/dist/esm/models/Verification.js +0 -41
  326. package/dist/esm/models/VerificationFailCode.d.ts +0 -28
  327. package/dist/esm/models/VerificationFailCode.js +0 -44
  328. package/dist/models/CreateSessionRequest.d.ts +0 -82
  329. package/dist/models/CreateSessionRequest.js +0 -54
  330. package/dist/models/CreateSessionResponse.d.ts +0 -43
  331. package/dist/models/CreateSessionResponse.js +0 -49
  332. package/dist/models/DisclosedFields.d.ts +0 -97
  333. package/dist/models/DisclosedFields.js +0 -90
  334. package/dist/models/DisclosedFieldsRequest.d.ts +0 -97
  335. package/dist/models/DisclosedFieldsRequest.js +0 -66
  336. package/dist/models/FailureMessage.d.ts +0 -31
  337. package/dist/models/FailureMessage.js +0 -46
  338. package/dist/models/IdentityLookupResponse.d.ts +0 -31
  339. package/dist/models/IdentityLookupResponse.js +0 -46
  340. package/dist/models/SessionFailCode.d.ts +0 -29
  341. package/dist/models/SessionFailCode.js +0 -52
  342. package/dist/models/SessionState.d.ts +0 -28
  343. package/dist/models/SessionState.js +0 -51
  344. package/dist/models/ValidationResult.d.ts +0 -37
  345. package/dist/models/ValidationResult.js +0 -47
  346. package/dist/models/Verification.d.ts +0 -38
  347. package/dist/models/Verification.js +0 -47
  348. package/dist/models/VerificationFailCode.d.ts +0 -28
  349. package/dist/models/VerificationFailCode.js +0 -51
  350. package/src/models/CreateSessionRequest.ts +0 -130
  351. package/src/models/DisclosedFields.ts +0 -160
  352. package/src/models/DisclosedFieldsRequest.ts +0 -148
  353. package/src/models/FailureMessage.ts +0 -61
  354. package/src/models/IdentityLookupResponse.ts +0 -61
  355. package/src/models/SessionFailCode.ts +0 -54
  356. package/src/models/SessionState.ts +0 -53
  357. package/src/models/ValidationResult.ts +0 -68
  358. package/src/models/Verification.ts +0 -77
  359. package/src/models/VerificationFailCode.ts +0 -53
@@ -0,0 +1,55 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface PhilippineMatchInput
16
+ */
17
+ export interface PhilippineMatchInput {
18
+ /**
19
+ * The user's given / first name
20
+ * @type {string}
21
+ * @memberof PhilippineMatchInput
22
+ */
23
+ givenName?: string | null;
24
+ /**
25
+ * The user's middle name
26
+ * @type {string}
27
+ * @memberof PhilippineMatchInput
28
+ */
29
+ middleName?: string | null;
30
+ /**
31
+ * The user's family / last name
32
+ * @type {string}
33
+ * @memberof PhilippineMatchInput
34
+ */
35
+ familyName?: string | null;
36
+ /**
37
+ * The user's name suffix
38
+ * @type {string}
39
+ * @memberof PhilippineMatchInput
40
+ */
41
+ suffix?: string | null;
42
+ /**
43
+ * The user's date of birth, in `YYYY-MM-DD` format
44
+ * @type {Date}
45
+ * @memberof PhilippineMatchInput
46
+ */
47
+ dateOfBirth?: Date | null;
48
+ }
49
+ /**
50
+ * Check if a given object implements the PhilippineMatchInput interface.
51
+ */
52
+ export declare function instanceOfPhilippineMatchInput(value: object): value is PhilippineMatchInput;
53
+ export declare function PhilippineMatchInputFromJSON(json: any): PhilippineMatchInput;
54
+ export declare function PhilippineMatchInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhilippineMatchInput;
55
+ export declare function PhilippineMatchInputToJSON(value?: PhilippineMatchInput | null): any;
@@ -0,0 +1,46 @@
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
+ * Check if a given object implements the PhilippineMatchInput interface.
16
+ */
17
+ export function instanceOfPhilippineMatchInput(value) {
18
+ return true;
19
+ }
20
+ export function PhilippineMatchInputFromJSON(json) {
21
+ return PhilippineMatchInputFromJSONTyped(json, false);
22
+ }
23
+ export function PhilippineMatchInputFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
29
+ 'middleName': json['middleName'] == null ? undefined : json['middleName'],
30
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
31
+ 'suffix': json['suffix'] == null ? undefined : json['suffix'],
32
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
33
+ };
34
+ }
35
+ export function PhilippineMatchInputToJSON(value) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'givenName': value['givenName'],
41
+ 'middleName': value['middleName'],
42
+ 'familyName': value['familyName'],
43
+ 'suffix': value['suffix'],
44
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
45
+ };
46
+ }
@@ -0,0 +1,37 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface PhilippineQRInput
16
+ */
17
+ export interface PhilippineQRInput {
18
+ /**
19
+ * The raw text of the user's QR code after decoding it.
20
+ * @type {string}
21
+ * @memberof PhilippineQRInput
22
+ */
23
+ qrCodeText?: string | null;
24
+ /**
25
+ * The raw bytes of the image containing the user's QR code.
26
+ * @type {string}
27
+ * @memberof PhilippineQRInput
28
+ */
29
+ qrCodeImage?: string | null;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PhilippineQRInput interface.
33
+ */
34
+ export declare function instanceOfPhilippineQRInput(value: object): value is PhilippineQRInput;
35
+ export declare function PhilippineQRInputFromJSON(json: any): PhilippineQRInput;
36
+ export declare function PhilippineQRInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhilippineQRInput;
37
+ export declare function PhilippineQRInputToJSON(value?: PhilippineQRInput | null): any;
@@ -0,0 +1,40 @@
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
+ * Check if a given object implements the PhilippineQRInput interface.
16
+ */
17
+ export function instanceOfPhilippineQRInput(value) {
18
+ return true;
19
+ }
20
+ export function PhilippineQRInputFromJSON(json) {
21
+ return PhilippineQRInputFromJSONTyped(json, false);
22
+ }
23
+ export function PhilippineQRInputFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'qrCodeText': json['qrCodeText'] == null ? undefined : json['qrCodeText'],
29
+ 'qrCodeImage': json['qrCodeImage'] == null ? undefined : json['qrCodeImage'],
30
+ };
31
+ }
32
+ export function PhilippineQRInputToJSON(value) {
33
+ if (value == null) {
34
+ return value;
35
+ }
36
+ return {
37
+ 'qrCodeText': value['qrCodeText'],
38
+ 'qrCodeImage': value['qrCodeImage'],
39
+ };
40
+ }
@@ -0,0 +1,56 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ProblemDetails
16
+ */
17
+ export interface ProblemDetails {
18
+ [key: string]: any | any;
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ProblemDetails
23
+ */
24
+ type?: string | null;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ProblemDetails
29
+ */
30
+ title?: string | null;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof ProblemDetails
35
+ */
36
+ status?: number | null;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ProblemDetails
41
+ */
42
+ detail?: string | null;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof ProblemDetails
47
+ */
48
+ instance?: string | null;
49
+ }
50
+ /**
51
+ * Check if a given object implements the ProblemDetails interface.
52
+ */
53
+ export declare function instanceOfProblemDetails(value: object): value is ProblemDetails;
54
+ export declare function ProblemDetailsFromJSON(json: any): ProblemDetails;
55
+ export declare function ProblemDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProblemDetails;
56
+ export declare function ProblemDetailsToJSON(value?: ProblemDetails | null): any;
@@ -0,0 +1,34 @@
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
+ * Check if a given object implements the ProblemDetails interface.
16
+ */
17
+ export function instanceOfProblemDetails(value) {
18
+ return true;
19
+ }
20
+ export function ProblemDetailsFromJSON(json) {
21
+ return ProblemDetailsFromJSONTyped(json, false);
22
+ }
23
+ export function ProblemDetailsFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ 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'] });
28
+ }
29
+ export function ProblemDetailsToJSON(value) {
30
+ if (value == null) {
31
+ return value;
32
+ }
33
+ return Object.assign(Object.assign({}, value), { 'type': value['type'], 'title': value['title'], 'status': value['status'], 'detail': value['detail'], 'instance': value['instance'] });
34
+ }
@@ -0,0 +1,32 @@
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 { DocumentScanAttachments } from './DocumentScanAttachments';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProviderAttachments
17
+ */
18
+ export interface ProviderAttachments {
19
+ /**
20
+ *
21
+ * @type {DocumentScanAttachments}
22
+ * @memberof ProviderAttachments
23
+ */
24
+ documentScan?: DocumentScanAttachments | null;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ProviderAttachments interface.
28
+ */
29
+ export declare function instanceOfProviderAttachments(value: object): value is ProviderAttachments;
30
+ export declare function ProviderAttachmentsFromJSON(json: any): ProviderAttachments;
31
+ export declare function ProviderAttachmentsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderAttachments;
32
+ export declare function ProviderAttachmentsToJSON(value?: ProviderAttachments | null): any;
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { DocumentScanAttachmentsFromJSON, DocumentScanAttachmentsToJSON, } from './DocumentScanAttachments';
15
+ /**
16
+ * Check if a given object implements the ProviderAttachments interface.
17
+ */
18
+ export function instanceOfProviderAttachments(value) {
19
+ return true;
20
+ }
21
+ export function ProviderAttachmentsFromJSON(json) {
22
+ return ProviderAttachmentsFromJSONTyped(json, false);
23
+ }
24
+ export function ProviderAttachmentsFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'documentScan': json['document-scan'] == null ? undefined : DocumentScanAttachmentsFromJSON(json['document-scan']),
30
+ };
31
+ }
32
+ export function ProviderAttachmentsToJSON(value) {
33
+ if (value == null) {
34
+ return value;
35
+ }
36
+ return {
37
+ 'document-scan': DocumentScanAttachmentsToJSON(value['documentScan']),
38
+ };
39
+ }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Connect API
2
+ * Trinsic API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: v1
@@ -33,6 +33,12 @@ export interface ProviderInfo {
33
33
  * @memberof ProviderInfo
34
34
  */
35
35
  logoUrl: string;
36
+ /**
37
+ * List of child provider id's where the provider allows deep-launching of a specific provider.
38
+ * @type {Array<string>}
39
+ * @memberof ProviderInfo
40
+ */
41
+ childProviderIds?: Array<string> | null;
36
42
  }
37
43
  /**
38
44
  * Check if a given object implements the ProviderInfo interface.
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Connect API
4
+ * Trinsic API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: v1
@@ -34,6 +34,7 @@ export function ProviderInfoFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'id': json['id'],
35
35
  'name': json['name'],
36
36
  'logoUrl': json['logoUrl'],
37
+ 'childProviderIds': json['childProviderIds'] == null ? undefined : json['childProviderIds'],
37
38
  };
38
39
  }
39
40
  export function ProviderInfoToJSON(value) {
@@ -44,5 +45,6 @@ export function ProviderInfoToJSON(value) {
44
45
  'id': value['id'],
45
46
  'name': value['name'],
46
47
  'logoUrl': value['logoUrl'],
48
+ 'childProviderIds': value['childProviderIds'],
47
49
  };
48
50
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Connect API
2
+ * Trinsic API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: v1
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Connect API
4
+ * Trinsic API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: v1
@@ -0,0 +1,102 @@
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 { PhilippineQRInput } from './PhilippineQRInput';
13
+ import type { BangladeshNationalIdInput } from './BangladeshNationalIdInput';
14
+ import type { AadhaarInput } from './AadhaarInput';
15
+ import type { KenyaNidInput } from './KenyaNidInput';
16
+ import type { NigeriaNinInput } from './NigeriaNinInput';
17
+ import type { BrazilCpfCheckInput } from './BrazilCpfCheckInput';
18
+ import type { MexicoCurpInput } from './MexicoCurpInput';
19
+ import type { BrazilDigitalCnhInput } from './BrazilDigitalCnhInput';
20
+ import type { IndonesiaNikInput } from './IndonesiaNikInput';
21
+ import type { SouthAfricaNidInput } from './SouthAfricaNidInput';
22
+ import type { PhilippineMatchInput } from './PhilippineMatchInput';
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface ProviderInput
27
+ */
28
+ export interface ProviderInput {
29
+ /**
30
+ * Input for the `f-indonesia-nik` integration
31
+ * @type {IndonesiaNikInput}
32
+ * @memberof ProviderInput
33
+ */
34
+ indonesiaNik?: IndonesiaNikInput | null;
35
+ /**
36
+ * Input for the `f-mexico-curp` integration
37
+ * @type {MexicoCurpInput}
38
+ * @memberof ProviderInput
39
+ */
40
+ mexicoCurp?: MexicoCurpInput | null;
41
+ /**
42
+ * Input for the `f-south-africa-nid` integration
43
+ * @type {SouthAfricaNidInput}
44
+ * @memberof ProviderInput
45
+ */
46
+ southAfricaNid?: SouthAfricaNidInput | null;
47
+ /**
48
+ * Input for the `f-kenya-nid` integration
49
+ * @type {KenyaNidInput}
50
+ * @memberof ProviderInput
51
+ */
52
+ kenyaNid?: KenyaNidInput | null;
53
+ /**
54
+ * Input for the `f-nigeria-nin` integration
55
+ * @type {NigeriaNinInput}
56
+ * @memberof ProviderInput
57
+ */
58
+ nigeriaNin?: NigeriaNinInput | null;
59
+ /**
60
+ * Input for the `f-india-aadhaar-match` integration
61
+ * @type {AadhaarInput}
62
+ * @memberof ProviderInput
63
+ */
64
+ aadhaar?: AadhaarInput | null;
65
+ /**
66
+ * Input for the `bangladesh-nid` integration
67
+ * @type {BangladeshNationalIdInput}
68
+ * @memberof ProviderInput
69
+ */
70
+ bangladeshNationalId?: BangladeshNationalIdInput | null;
71
+ /**
72
+ * Input for the `g-brazil-cpf` integration
73
+ * @type {BrazilCpfCheckInput}
74
+ * @memberof ProviderInput
75
+ */
76
+ brazilCpfCheck?: BrazilCpfCheckInput | null;
77
+ /**
78
+ * Input for the `g-brazil-digital-cnh` integration
79
+ * @type {BrazilDigitalCnhInput}
80
+ * @memberof ProviderInput
81
+ */
82
+ brazilDigitalCnh?: BrazilDigitalCnhInput | null;
83
+ /**
84
+ * Input for the `b-philsys-biometric` integration
85
+ * @type {PhilippineMatchInput}
86
+ * @memberof ProviderInput
87
+ */
88
+ philippineMatch?: PhilippineMatchInput | null;
89
+ /**
90
+ * Input for the `b-philippine-qr-digital-national-id` and `b-philippine-qr-ephill-id` integrations
91
+ * @type {PhilippineQRInput}
92
+ * @memberof ProviderInput
93
+ */
94
+ philippineQR?: PhilippineQRInput | null;
95
+ }
96
+ /**
97
+ * Check if a given object implements the ProviderInput interface.
98
+ */
99
+ export declare function instanceOfProviderInput(value: object): value is ProviderInput;
100
+ export declare function ProviderInputFromJSON(json: any): ProviderInput;
101
+ export declare function ProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderInput;
102
+ export declare function ProviderInputToJSON(value?: ProviderInput | null): any;
@@ -0,0 +1,69 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { PhilippineQRInputFromJSON, PhilippineQRInputToJSON, } from './PhilippineQRInput';
15
+ import { BangladeshNationalIdInputFromJSON, BangladeshNationalIdInputToJSON, } from './BangladeshNationalIdInput';
16
+ import { AadhaarInputFromJSON, AadhaarInputToJSON, } from './AadhaarInput';
17
+ import { KenyaNidInputFromJSON, KenyaNidInputToJSON, } from './KenyaNidInput';
18
+ import { NigeriaNinInputFromJSON, NigeriaNinInputToJSON, } from './NigeriaNinInput';
19
+ import { BrazilCpfCheckInputFromJSON, BrazilCpfCheckInputToJSON, } from './BrazilCpfCheckInput';
20
+ import { MexicoCurpInputFromJSON, MexicoCurpInputToJSON, } from './MexicoCurpInput';
21
+ import { BrazilDigitalCnhInputFromJSON, BrazilDigitalCnhInputToJSON, } from './BrazilDigitalCnhInput';
22
+ import { IndonesiaNikInputFromJSON, IndonesiaNikInputToJSON, } from './IndonesiaNikInput';
23
+ import { SouthAfricaNidInputFromJSON, SouthAfricaNidInputToJSON, } from './SouthAfricaNidInput';
24
+ import { PhilippineMatchInputFromJSON, PhilippineMatchInputToJSON, } from './PhilippineMatchInput';
25
+ /**
26
+ * Check if a given object implements the ProviderInput interface.
27
+ */
28
+ export function instanceOfProviderInput(value) {
29
+ return true;
30
+ }
31
+ export function ProviderInputFromJSON(json) {
32
+ return ProviderInputFromJSONTyped(json, false);
33
+ }
34
+ export function ProviderInputFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'indonesiaNik': json['indonesiaNik'] == null ? undefined : IndonesiaNikInputFromJSON(json['indonesiaNik']),
40
+ 'mexicoCurp': json['mexicoCurp'] == null ? undefined : MexicoCurpInputFromJSON(json['mexicoCurp']),
41
+ 'southAfricaNid': json['southAfricaNid'] == null ? undefined : SouthAfricaNidInputFromJSON(json['southAfricaNid']),
42
+ 'kenyaNid': json['kenyaNid'] == null ? undefined : KenyaNidInputFromJSON(json['kenyaNid']),
43
+ 'nigeriaNin': json['nigeriaNin'] == null ? undefined : NigeriaNinInputFromJSON(json['nigeriaNin']),
44
+ 'aadhaar': json['aadhaar'] == null ? undefined : AadhaarInputFromJSON(json['aadhaar']),
45
+ 'bangladeshNationalId': json['bangladeshNationalId'] == null ? undefined : BangladeshNationalIdInputFromJSON(json['bangladeshNationalId']),
46
+ 'brazilCpfCheck': json['brazilCpfCheck'] == null ? undefined : BrazilCpfCheckInputFromJSON(json['brazilCpfCheck']),
47
+ 'brazilDigitalCnh': json['brazilDigitalCnh'] == null ? undefined : BrazilDigitalCnhInputFromJSON(json['brazilDigitalCnh']),
48
+ 'philippineMatch': json['philippineMatch'] == null ? undefined : PhilippineMatchInputFromJSON(json['philippineMatch']),
49
+ 'philippineQR': json['philippineQR'] == null ? undefined : PhilippineQRInputFromJSON(json['philippineQR']),
50
+ };
51
+ }
52
+ export function ProviderInputToJSON(value) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'indonesiaNik': IndonesiaNikInputToJSON(value['indonesiaNik']),
58
+ 'mexicoCurp': MexicoCurpInputToJSON(value['mexicoCurp']),
59
+ 'southAfricaNid': SouthAfricaNidInputToJSON(value['southAfricaNid']),
60
+ 'kenyaNid': KenyaNidInputToJSON(value['kenyaNid']),
61
+ 'nigeriaNin': NigeriaNinInputToJSON(value['nigeriaNin']),
62
+ 'aadhaar': AadhaarInputToJSON(value['aadhaar']),
63
+ 'bangladeshNationalId': BangladeshNationalIdInputToJSON(value['bangladeshNationalId']),
64
+ 'brazilCpfCheck': BrazilCpfCheckInputToJSON(value['brazilCpfCheck']),
65
+ 'brazilDigitalCnh': BrazilDigitalCnhInputToJSON(value['brazilDigitalCnh']),
66
+ 'philippineMatch': PhilippineMatchInputToJSON(value['philippineMatch']),
67
+ 'philippineQR': PhilippineQRInputToJSON(value['philippineQR']),
68
+ };
69
+ }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Connect API
2
+ * Trinsic API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
5
  * The version of the OpenAPI document: v1
@@ -16,23 +16,35 @@
16
16
  */
17
17
  export interface RecommendRequest {
18
18
  /**
19
- * The phone number of the user you whish to generate a recommendation for. Will be used to lookup the user's identity in the network
19
+ * The phone number of the user you wish to generate a recommendation for. Will be used to look up the user's identity in the network
20
20
  * @type {string}
21
21
  * @memberof RecommendRequest
22
22
  */
23
- phoneNumber: string;
23
+ phoneNumber?: string | null;
24
24
  /**
25
25
  * A list of countries, in alpha-2 ISO 3166 format, you wish to specify for the recommendation, this can include the user's country of residence, nationality, etc.
26
26
  * @type {Array<string>}
27
27
  * @memberof RecommendRequest
28
28
  */
29
- countries?: Array<string>;
29
+ countries?: Array<string> | null;
30
30
  /**
31
- * If one of the countries is US, you can specify a list of US states to further refine the recommendation (e.g., CA, UT, NY)
31
+ * If one of the countries has subdivisions, for example the US states, you can specify a list of these to further refine the recommendation (e.g., CA, UT, NY)
32
32
  * @type {Array<string>}
33
33
  * @memberof RecommendRequest
34
34
  */
35
- states?: Array<string>;
35
+ subdivisions?: Array<string> | null;
36
+ /**
37
+ * Provide the IP addresses of the user you wish to generate a recommendation for. Will be used to look up the user's geographic location.
38
+ * @type {Array<string>}
39
+ * @memberof RecommendRequest
40
+ */
41
+ ipAddresses?: Array<string> | null;
42
+ /**
43
+ * If true, the recommendation will include providers that are disabled for the app
44
+ * @type {boolean}
45
+ * @memberof RecommendRequest
46
+ */
47
+ includeDisabledProviders?: boolean | null;
36
48
  }
37
49
  /**
38
50
  * Check if a given object implements the RecommendRequest interface.
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Connect API
4
+ * Trinsic API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: v1
@@ -15,8 +15,6 @@
15
15
  * Check if a given object implements the RecommendRequest interface.
16
16
  */
17
17
  export function instanceOfRecommendRequest(value) {
18
- if (!('phoneNumber' in value) || value['phoneNumber'] === undefined)
19
- return false;
20
18
  return true;
21
19
  }
22
20
  export function RecommendRequestFromJSON(json) {
@@ -27,9 +25,11 @@ export function RecommendRequestFromJSONTyped(json, ignoreDiscriminator) {
27
25
  return json;
28
26
  }
29
27
  return {
30
- 'phoneNumber': json['phoneNumber'],
28
+ 'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
31
29
  'countries': json['countries'] == null ? undefined : json['countries'],
32
- 'states': json['states'] == null ? undefined : json['states'],
30
+ 'subdivisions': json['subdivisions'] == null ? undefined : json['subdivisions'],
31
+ 'ipAddresses': json['ipAddresses'] == null ? undefined : json['ipAddresses'],
32
+ 'includeDisabledProviders': json['includeDisabledProviders'] == null ? undefined : json['includeDisabledProviders'],
33
33
  };
34
34
  }
35
35
  export function RecommendRequestToJSON(value) {
@@ -39,6 +39,8 @@ export function RecommendRequestToJSON(value) {
39
39
  return {
40
40
  'phoneNumber': value['phoneNumber'],
41
41
  'countries': value['countries'],
42
- 'states': value['states'],
42
+ 'subdivisions': value['subdivisions'],
43
+ 'ipAddresses': value['ipAddresses'],
44
+ 'includeDisabledProviders': value['includeDisabledProviders'],
43
45
  };
44
46
  }