@trinsic/api 1.1.2 → 2.0.0-alpha2

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 (334) hide show
  1. package/.openapi-generator/FILES +34 -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 +27 -27
  5. package/dist/apis/NetworkApi.js +22 -23
  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 +27 -27
  11. package/dist/esm/apis/NetworkApi.js +23 -24
  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 +4 -4
  17. package/dist/esm/models/Address.js +3 -3
  18. package/dist/esm/models/AttachmentAccessKeys.d.ts +12 -7
  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/{FailureMessage.js → BrazilCpfCheckInput.js} +10 -10
  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 +8 -7
  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 +1 -1
  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 +5 -5
  59. package/dist/esm/models/IdentityData.js +1 -1
  60. package/dist/esm/models/IntegrationCapability.d.ts +28 -0
  61. package/dist/esm/models/IntegrationCapability.js +44 -0
  62. package/dist/esm/models/IntegrationLaunchMethod.d.ts +26 -0
  63. package/dist/esm/models/IntegrationLaunchMethod.js +42 -0
  64. package/dist/esm/models/IntegrationStep.d.ts +45 -0
  65. package/dist/esm/models/IntegrationStep.js +50 -0
  66. package/dist/esm/models/KnownAddress.d.ts +74 -0
  67. package/dist/esm/models/KnownAddress.js +52 -0
  68. package/dist/esm/models/KnownIdentityData.d.ts +34 -0
  69. package/dist/esm/models/KnownIdentityData.js +39 -0
  70. package/dist/esm/models/KnownPersonData.d.ts +74 -0
  71. package/dist/esm/models/KnownPersonData.js +53 -0
  72. package/dist/esm/models/ListProvidersResponse.d.ts +1 -1
  73. package/dist/esm/models/ListProvidersResponse.js +1 -1
  74. package/dist/esm/models/ListSessionsResponse.d.ts +1 -1
  75. package/dist/esm/models/ListSessionsResponse.js +1 -1
  76. package/dist/esm/models/OrderDirection.d.ts +1 -1
  77. package/dist/esm/models/OrderDirection.js +1 -1
  78. package/dist/esm/models/PersonData.d.ts +17 -12
  79. package/dist/esm/models/PersonData.js +8 -5
  80. package/dist/esm/models/PhilippineMatchInput.d.ts +55 -0
  81. package/dist/esm/models/PhilippineMatchInput.js +46 -0
  82. package/dist/esm/models/PhilippineQRInput.d.ts +37 -0
  83. package/dist/esm/models/PhilippineQRInput.js +40 -0
  84. package/dist/esm/models/ProblemDetails.d.ts +56 -0
  85. package/dist/esm/models/ProblemDetails.js +34 -0
  86. package/dist/esm/models/ProviderAttachments.d.ts +32 -0
  87. package/dist/esm/models/ProviderAttachments.js +39 -0
  88. package/dist/esm/models/ProviderInfo.d.ts +7 -1
  89. package/dist/esm/models/ProviderInfo.js +3 -1
  90. package/dist/esm/models/ProviderInformation.d.ts +43 -0
  91. package/dist/esm/models/ProviderInformation.js +48 -0
  92. package/dist/esm/models/ProviderInput.d.ts +67 -0
  93. package/dist/esm/models/ProviderInput.js +54 -0
  94. package/dist/esm/models/RecommendRequest.d.ts +49 -0
  95. package/dist/esm/models/RecommendRequest.js +44 -0
  96. package/dist/esm/models/RecommendResponse.d.ts +44 -0
  97. package/dist/esm/models/RecommendResponse.js +49 -0
  98. package/dist/esm/models/RefreshStepContentRequest.d.ts +31 -0
  99. package/dist/esm/models/RefreshStepContentRequest.js +38 -0
  100. package/dist/esm/models/RefreshStepContentResponse.d.ts +32 -0
  101. package/dist/esm/models/RefreshStepContentResponse.js +41 -0
  102. package/dist/esm/models/ResultCollection.d.ts +38 -0
  103. package/dist/esm/models/ResultCollection.js +43 -0
  104. package/dist/esm/models/ResultCollectionMethod.d.ts +24 -0
  105. package/dist/esm/models/ResultCollectionMethod.js +40 -0
  106. package/dist/esm/models/Session.d.ts +18 -20
  107. package/dist/esm/models/Session.js +10 -17
  108. package/dist/esm/models/SessionErrorCode.d.ts +32 -0
  109. package/dist/esm/models/SessionErrorCode.js +48 -0
  110. package/dist/esm/models/SessionOrdering.d.ts +1 -1
  111. package/dist/esm/models/SessionOrdering.js +1 -1
  112. package/dist/esm/models/Sex.d.ts +26 -0
  113. package/dist/esm/models/Sex.js +42 -0
  114. package/dist/esm/models/StepRefreshInfo.d.ts +45 -0
  115. package/dist/esm/models/StepRefreshInfo.js +48 -0
  116. package/dist/esm/models/index.d.ts +34 -11
  117. package/dist/esm/models/index.js +34 -11
  118. package/dist/esm/runtime.d.ts +1 -1
  119. package/dist/esm/runtime.js +1 -1
  120. package/dist/models/AadhaarInput.d.ts +37 -0
  121. package/dist/models/AadhaarInput.js +46 -0
  122. package/dist/models/Address.d.ts +4 -4
  123. package/dist/models/Address.js +3 -3
  124. package/dist/models/AttachmentAccessKeys.d.ts +12 -7
  125. package/dist/models/AttachmentAccessKeys.js +6 -1
  126. package/dist/models/BangladeshNationalIdInput.d.ts +49 -0
  127. package/dist/models/BangladeshNationalIdInput.js +50 -0
  128. package/dist/models/BrazilCpfCheckInput.d.ts +31 -0
  129. package/dist/models/BrazilCpfCheckInput.js +46 -0
  130. package/dist/models/BrazilDigitalCnhInput.d.ts +57 -0
  131. package/dist/models/BrazilDigitalCnhInput.js +52 -0
  132. package/dist/models/CancelSessionResponse.d.ts +1 -1
  133. package/dist/models/CancelSessionResponse.js +1 -1
  134. package/dist/models/CreateAdvancedProviderSessionRequest.d.ts +83 -0
  135. package/dist/models/CreateAdvancedProviderSessionRequest.js +58 -0
  136. package/dist/models/CreateAdvancedProviderSessionResponse.d.ts +45 -0
  137. package/dist/models/CreateAdvancedProviderSessionResponse.js +56 -0
  138. package/dist/models/CreateHostedProviderSessionRequest.d.ts +44 -0
  139. package/dist/models/CreateHostedProviderSessionRequest.js +53 -0
  140. package/dist/models/CreateHostedProviderSessionResponse.d.ts +43 -0
  141. package/dist/models/CreateHostedProviderSessionResponse.js +48 -0
  142. package/dist/models/CreateWidgetSessionRequest.d.ts +49 -0
  143. package/dist/models/CreateWidgetSessionRequest.js +49 -0
  144. package/dist/models/CreateWidgetSessionResponse.d.ts +41 -0
  145. package/dist/models/CreateWidgetSessionResponse.js +48 -0
  146. package/dist/models/DocumentData.d.ts +8 -7
  147. package/dist/models/DocumentData.js +8 -7
  148. package/dist/models/DocumentScanAttachments.d.ts +31 -0
  149. package/dist/models/DocumentScanAttachments.js +44 -0
  150. package/dist/models/DocumentType.d.ts +26 -0
  151. package/dist/models/DocumentType.js +49 -0
  152. package/dist/models/GetAttachmentRequest.d.ts +1 -1
  153. package/dist/models/GetAttachmentRequest.js +1 -1
  154. package/dist/models/GetAttachmentResponse.d.ts +1 -1
  155. package/dist/models/GetAttachmentResponse.js +1 -1
  156. package/dist/models/GetSessionResponse.d.ts +1 -1
  157. package/dist/models/GetSessionResponse.js +1 -1
  158. package/dist/models/GetSessionResultRequest.d.ts +1 -1
  159. package/dist/models/GetSessionResultRequest.js +1 -1
  160. package/dist/models/GetSessionResultResponse.d.ts +1 -1
  161. package/dist/models/GetSessionResultResponse.js +1 -1
  162. package/dist/models/HttpValidationProblemDetails.d.ts +63 -0
  163. package/dist/models/HttpValidationProblemDetails.js +54 -0
  164. package/dist/models/IdentityData.d.ts +5 -5
  165. package/dist/models/IdentityData.js +1 -1
  166. package/dist/models/IntegrationCapability.d.ts +28 -0
  167. package/dist/models/IntegrationCapability.js +51 -0
  168. package/dist/models/IntegrationLaunchMethod.d.ts +26 -0
  169. package/dist/models/IntegrationLaunchMethod.js +49 -0
  170. package/dist/models/IntegrationStep.d.ts +45 -0
  171. package/dist/models/IntegrationStep.js +56 -0
  172. package/dist/models/KnownAddress.d.ts +74 -0
  173. package/dist/models/KnownAddress.js +58 -0
  174. package/dist/models/KnownIdentityData.d.ts +34 -0
  175. package/dist/models/KnownIdentityData.js +45 -0
  176. package/dist/models/KnownPersonData.d.ts +74 -0
  177. package/dist/models/KnownPersonData.js +59 -0
  178. package/dist/models/ListProvidersResponse.d.ts +1 -1
  179. package/dist/models/ListProvidersResponse.js +1 -1
  180. package/dist/models/ListSessionsResponse.d.ts +1 -1
  181. package/dist/models/ListSessionsResponse.js +1 -1
  182. package/dist/models/OrderDirection.d.ts +1 -1
  183. package/dist/models/OrderDirection.js +1 -1
  184. package/dist/models/PersonData.d.ts +17 -12
  185. package/dist/models/PersonData.js +8 -5
  186. package/dist/models/PhilippineMatchInput.d.ts +55 -0
  187. package/dist/models/PhilippineMatchInput.js +52 -0
  188. package/dist/models/PhilippineQRInput.d.ts +37 -0
  189. package/dist/models/PhilippineQRInput.js +46 -0
  190. package/dist/models/ProblemDetails.d.ts +56 -0
  191. package/dist/models/ProblemDetails.js +40 -0
  192. package/dist/models/ProviderAttachments.d.ts +32 -0
  193. package/dist/models/ProviderAttachments.js +45 -0
  194. package/dist/models/ProviderInfo.d.ts +7 -1
  195. package/dist/models/ProviderInfo.js +3 -1
  196. package/dist/models/ProviderInformation.d.ts +43 -0
  197. package/dist/models/ProviderInformation.js +54 -0
  198. package/dist/models/ProviderInput.d.ts +67 -0
  199. package/dist/models/ProviderInput.js +60 -0
  200. package/dist/models/RecommendRequest.d.ts +49 -0
  201. package/dist/models/RecommendRequest.js +50 -0
  202. package/dist/models/RecommendResponse.d.ts +44 -0
  203. package/dist/models/RecommendResponse.js +55 -0
  204. package/dist/models/RefreshStepContentRequest.d.ts +31 -0
  205. package/dist/models/RefreshStepContentRequest.js +44 -0
  206. package/dist/models/RefreshStepContentResponse.d.ts +32 -0
  207. package/dist/models/RefreshStepContentResponse.js +47 -0
  208. package/dist/models/ResultCollection.d.ts +38 -0
  209. package/dist/models/ResultCollection.js +49 -0
  210. package/dist/models/ResultCollectionMethod.d.ts +24 -0
  211. package/dist/models/ResultCollectionMethod.js +47 -0
  212. package/dist/models/Session.d.ts +18 -20
  213. package/dist/models/Session.js +10 -17
  214. package/dist/models/SessionErrorCode.d.ts +32 -0
  215. package/dist/models/SessionErrorCode.js +55 -0
  216. package/dist/models/SessionOrdering.d.ts +1 -1
  217. package/dist/models/SessionOrdering.js +1 -1
  218. package/dist/models/Sex.d.ts +26 -0
  219. package/dist/models/Sex.js +49 -0
  220. package/dist/models/StepRefreshInfo.d.ts +45 -0
  221. package/dist/models/StepRefreshInfo.js +54 -0
  222. package/dist/models/index.d.ts +34 -11
  223. package/dist/models/index.js +34 -11
  224. package/dist/runtime.d.ts +1 -1
  225. package/dist/runtime.js +1 -1
  226. package/package.json +1 -1
  227. package/src/apis/AttachmentsApi.ts +4 -7
  228. package/src/apis/NetworkApi.ts +47 -51
  229. package/src/apis/SessionsApi.ts +234 -33
  230. package/src/models/AadhaarInput.ts +68 -0
  231. package/src/models/Address.ts +6 -6
  232. package/src/models/AttachmentAccessKeys.ts +22 -8
  233. package/src/models/BangladeshNationalIdInput.ts +84 -0
  234. package/src/models/BrazilCpfCheckInput.ts +61 -0
  235. package/src/models/BrazilDigitalCnhInput.ts +93 -0
  236. package/src/models/CancelSessionResponse.ts +1 -1
  237. package/src/models/CreateAdvancedProviderSessionRequest.ts +133 -0
  238. package/src/models/CreateAdvancedProviderSessionResponse.ts +92 -0
  239. package/src/models/CreateHostedProviderSessionRequest.ts +85 -0
  240. package/src/models/CreateHostedProviderSessionResponse.ts +75 -0
  241. package/src/models/CreateWidgetSessionRequest.ts +88 -0
  242. package/src/models/{CreateSessionResponse.ts → CreateWidgetSessionResponse.ts} +17 -25
  243. package/src/models/DocumentData.ts +22 -13
  244. package/src/models/DocumentScanAttachments.ts +60 -0
  245. package/src/models/DocumentType.ts +51 -0
  246. package/src/models/GetAttachmentRequest.ts +1 -1
  247. package/src/models/GetAttachmentResponse.ts +1 -1
  248. package/src/models/GetSessionResponse.ts +1 -1
  249. package/src/models/GetSessionResultRequest.ts +1 -1
  250. package/src/models/GetSessionResultResponse.ts +1 -1
  251. package/src/models/HttpValidationProblemDetails.ts +100 -0
  252. package/src/models/IdentityData.ts +5 -5
  253. package/src/models/IntegrationCapability.ts +53 -0
  254. package/src/models/IntegrationLaunchMethod.ts +51 -0
  255. package/src/models/IntegrationStep.ts +94 -0
  256. package/src/models/KnownAddress.ts +117 -0
  257. package/src/models/KnownIdentityData.ts +69 -0
  258. package/src/models/KnownPersonData.ts +123 -0
  259. package/src/models/ListProvidersResponse.ts +1 -1
  260. package/src/models/ListSessionsResponse.ts +1 -1
  261. package/src/models/OrderDirection.ts +1 -1
  262. package/src/models/PersonData.ts +31 -17
  263. package/src/models/PhilippineMatchInput.ts +92 -0
  264. package/src/models/PhilippineQRInput.ts +68 -0
  265. package/src/models/ProblemDetails.ts +95 -0
  266. package/src/models/ProviderAttachments.ts +67 -0
  267. package/src/models/ProviderInfo.ts +9 -1
  268. package/src/models/ProviderInformation.ts +79 -0
  269. package/src/models/ProviderInput.ts +137 -0
  270. package/src/models/RecommendRequest.ts +84 -0
  271. package/src/models/RecommendResponse.ts +86 -0
  272. package/src/models/RefreshStepContentRequest.ts +60 -0
  273. package/src/models/RefreshStepContentResponse.ts +68 -0
  274. package/src/models/ResultCollection.ts +78 -0
  275. package/src/models/ResultCollectionMethod.ts +49 -0
  276. package/src/models/Session.ts +30 -50
  277. package/src/models/SessionErrorCode.ts +57 -0
  278. package/src/models/SessionOrdering.ts +1 -1
  279. package/src/models/Sex.ts +51 -0
  280. package/src/models/StepRefreshInfo.ts +81 -0
  281. package/src/models/index.ts +34 -11
  282. package/src/runtime.ts +1 -1
  283. package/dist/esm/models/CreateSessionRequest.d.ts +0 -73
  284. package/dist/esm/models/CreateSessionRequest.js +0 -45
  285. package/dist/esm/models/CreateSessionResponse.d.ts +0 -43
  286. package/dist/esm/models/DisclosedFields.d.ts +0 -97
  287. package/dist/esm/models/DisclosedFields.js +0 -84
  288. package/dist/esm/models/DisclosedFieldsRequest.d.ts +0 -97
  289. package/dist/esm/models/DisclosedFieldsRequest.js +0 -60
  290. package/dist/esm/models/FailureMessage.d.ts +0 -31
  291. package/dist/esm/models/IdentityLookupResponse.d.ts +0 -31
  292. package/dist/esm/models/IdentityLookupResponse.js +0 -40
  293. package/dist/esm/models/SessionFailCode.d.ts +0 -29
  294. package/dist/esm/models/SessionFailCode.js +0 -45
  295. package/dist/esm/models/SessionState.d.ts +0 -28
  296. package/dist/esm/models/SessionState.js +0 -44
  297. package/dist/esm/models/ValidationResult.d.ts +0 -37
  298. package/dist/esm/models/ValidationResult.js +0 -41
  299. package/dist/esm/models/Verification.d.ts +0 -38
  300. package/dist/esm/models/Verification.js +0 -41
  301. package/dist/esm/models/VerificationFailCode.d.ts +0 -27
  302. package/dist/esm/models/VerificationFailCode.js +0 -43
  303. package/dist/models/CreateSessionRequest.d.ts +0 -73
  304. package/dist/models/CreateSessionRequest.js +0 -51
  305. package/dist/models/CreateSessionResponse.d.ts +0 -43
  306. package/dist/models/CreateSessionResponse.js +0 -49
  307. package/dist/models/DisclosedFields.d.ts +0 -97
  308. package/dist/models/DisclosedFields.js +0 -90
  309. package/dist/models/DisclosedFieldsRequest.d.ts +0 -97
  310. package/dist/models/DisclosedFieldsRequest.js +0 -66
  311. package/dist/models/FailureMessage.d.ts +0 -31
  312. package/dist/models/FailureMessage.js +0 -46
  313. package/dist/models/IdentityLookupResponse.d.ts +0 -31
  314. package/dist/models/IdentityLookupResponse.js +0 -46
  315. package/dist/models/SessionFailCode.d.ts +0 -29
  316. package/dist/models/SessionFailCode.js +0 -52
  317. package/dist/models/SessionState.d.ts +0 -28
  318. package/dist/models/SessionState.js +0 -51
  319. package/dist/models/ValidationResult.d.ts +0 -37
  320. package/dist/models/ValidationResult.js +0 -47
  321. package/dist/models/Verification.d.ts +0 -38
  322. package/dist/models/Verification.js +0 -47
  323. package/dist/models/VerificationFailCode.d.ts +0 -27
  324. package/dist/models/VerificationFailCode.js +0 -50
  325. package/src/models/CreateSessionRequest.ts +0 -114
  326. package/src/models/DisclosedFields.ts +0 -160
  327. package/src/models/DisclosedFieldsRequest.ts +0 -148
  328. package/src/models/FailureMessage.ts +0 -61
  329. package/src/models/IdentityLookupResponse.ts +0 -61
  330. package/src/models/SessionFailCode.ts +0 -54
  331. package/src/models/SessionState.ts +0 -53
  332. package/src/models/ValidationResult.ts +0 -68
  333. package/src/models/Verification.ts +0 -77
  334. package/src/models/VerificationFailCode.ts +0 -52
@@ -0,0 +1,61 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface BrazilCpfCheckInput
20
+ */
21
+ export interface BrazilCpfCheckInput {
22
+ /**
23
+ * The user's 11-digit, numeric CPF Number
24
+ * @type {string}
25
+ * @memberof BrazilCpfCheckInput
26
+ */
27
+ cpfNumber: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the BrazilCpfCheckInput interface.
32
+ */
33
+ export function instanceOfBrazilCpfCheckInput(value: object): value is BrazilCpfCheckInput {
34
+ if (!('cpfNumber' in value) || value['cpfNumber'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function BrazilCpfCheckInputFromJSON(json: any): BrazilCpfCheckInput {
39
+ return BrazilCpfCheckInputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function BrazilCpfCheckInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrazilCpfCheckInput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'cpfNumber': json['cpfNumber'],
49
+ };
50
+ }
51
+
52
+ export function BrazilCpfCheckInputToJSON(value?: BrazilCpfCheckInput | null): any {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+
58
+ 'cpfNumber': value['cpfNumber'],
59
+ };
60
+ }
61
+
@@ -0,0 +1,93 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface BrazilDigitalCnhInput
20
+ */
21
+ export interface BrazilDigitalCnhInput {
22
+ /**
23
+ * The user's 11-digit, numeric CPF Number
24
+ * @type {string}
25
+ * @memberof BrazilDigitalCnhInput
26
+ */
27
+ cpfNumber: string;
28
+ /**
29
+ * The raw bytes of the digital CNH file collected from the user.
30
+ *
31
+ * TODO: Lucas or JP help me describe these below vvvvvvvv
32
+ * This can be:
33
+ * - An image containing a physical or digital QR code
34
+ * - A PDF file exported from the CNH app
35
+ * - Some scary third thing?
36
+ * @type {string}
37
+ * @memberof BrazilDigitalCnhInput
38
+ */
39
+ digitalCnhFile?: string;
40
+ /**
41
+ * The MIME Type of the file contained in `DigitalCnhFile`.
42
+ *
43
+ * Must be one of `application/pdf`, `image/jpeg`, or `image/png`.
44
+ * @type {string}
45
+ * @memberof BrazilDigitalCnhInput
46
+ */
47
+ digitalCnhFileContentType?: string;
48
+ /**
49
+ * The raw bytes of the image of the user's face, collected for biometric comparison.
50
+ * @type {string}
51
+ * @memberof BrazilDigitalCnhInput
52
+ */
53
+ facialBiometryPhoto?: string;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the BrazilDigitalCnhInput interface.
58
+ */
59
+ export function instanceOfBrazilDigitalCnhInput(value: object): value is BrazilDigitalCnhInput {
60
+ if (!('cpfNumber' in value) || value['cpfNumber'] === undefined) return false;
61
+ return true;
62
+ }
63
+
64
+ export function BrazilDigitalCnhInputFromJSON(json: any): BrazilDigitalCnhInput {
65
+ return BrazilDigitalCnhInputFromJSONTyped(json, false);
66
+ }
67
+
68
+ export function BrazilDigitalCnhInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrazilDigitalCnhInput {
69
+ if (json == null) {
70
+ return json;
71
+ }
72
+ return {
73
+
74
+ 'cpfNumber': json['cpfNumber'],
75
+ 'digitalCnhFile': json['digitalCnhFile'] == null ? undefined : json['digitalCnhFile'],
76
+ 'digitalCnhFileContentType': json['digitalCnhFileContentType'] == null ? undefined : json['digitalCnhFileContentType'],
77
+ 'facialBiometryPhoto': json['facialBiometryPhoto'] == null ? undefined : json['facialBiometryPhoto'],
78
+ };
79
+ }
80
+
81
+ export function BrazilDigitalCnhInputToJSON(value?: BrazilDigitalCnhInput | null): any {
82
+ if (value == null) {
83
+ return value;
84
+ }
85
+ return {
86
+
87
+ 'cpfNumber': value['cpfNumber'],
88
+ 'digitalCnhFile': value['digitalCnhFile'],
89
+ 'digitalCnhFileContentType': value['digitalCnhFileContentType'],
90
+ 'facialBiometryPhoto': value['facialBiometryPhoto'],
91
+ };
92
+ }
93
+
@@ -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,133 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { IntegrationCapability } from './IntegrationCapability';
17
+ import {
18
+ IntegrationCapabilityFromJSON,
19
+ IntegrationCapabilityFromJSONTyped,
20
+ IntegrationCapabilityToJSON,
21
+ } from './IntegrationCapability';
22
+ import type { ProviderInput } from './ProviderInput';
23
+ import {
24
+ ProviderInputFromJSON,
25
+ ProviderInputFromJSONTyped,
26
+ ProviderInputToJSON,
27
+ } from './ProviderInput';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface CreateAdvancedProviderSessionRequest
33
+ */
34
+ export interface CreateAdvancedProviderSessionRequest {
35
+ /**
36
+ * The ID of the provider to launch
37
+ * @type {string}
38
+ * @memberof CreateAdvancedProviderSessionRequest
39
+ */
40
+ provider: string;
41
+ /**
42
+ * Provider-specific input for those providers which require it.
43
+ * @type {ProviderInput}
44
+ * @memberof CreateAdvancedProviderSessionRequest
45
+ */
46
+ providerInput?: ProviderInput;
47
+ /**
48
+ * The Redirect URL to which the user should be sent after the session is complete.
49
+ *
50
+ * This field is required for providers which employ a redirect-based flow.
51
+ * @type {string}
52
+ * @memberof CreateAdvancedProviderSessionRequest
53
+ */
54
+ redirectUrl?: string;
55
+ /**
56
+ * The list of capabilities your integration supports. Capabilities are the core of Trinsic's whitelabel-with-optional-fallback offering.
57
+ *
58
+ * Most capabilities align with either an `IntegrationLaunchMethod` or an `IntegrationCollectionMethod`.
59
+ * The exception being refresh content to support updating the content of the launch method.
60
+ *
61
+ * For example, to support a basic redirect-based flow, you must include the `LaunchRedirect` and `CaptureRedirect` capabilities.
62
+ * To support a mobile deeplink / polling flow, you must include the `DeeplinkToMobile` and `PollForResults` capabilities.
63
+ *
64
+ * If `FallbackToHostedUi` is `true`, Trinsic will automatically fall back to a Trinsic-hosted UI to cover any gaps in your integration's capabilities.
65
+ * If `FallbackToHostedUi` is `false`, gaps in your integration's capabilities will result in an error during Session creation.
66
+ *
67
+ * Read more on how to integrate at <a href="https://docs.trinsic.id/docs/advanced-provider-sessions">the guide on Advanced Provider Sessions</a>
68
+ * @type {Array<IntegrationCapability>}
69
+ * @memberof CreateAdvancedProviderSessionRequest
70
+ */
71
+ capabilities: Array<IntegrationCapability>;
72
+ /**
73
+ * Whether the session should fall back to a Trinsic-hosted UI in certain instances.
74
+ *
75
+ * Specifically, fallback will occur if any of the following are true:
76
+ * - You attempted to launch a provider which requires a capability you did not express support for
77
+ * - In this case, Trinsic's hosted UI will perform the necessary capability
78
+ * - You attempted to launch a provider which requires input, and the input was either not provided or incomplete
79
+ * - In this case, Trinsic's hosted UI will collect the necessary input from the user
80
+ *
81
+ * If fallback occurs, the session's NextStep will always be LaunchBrowser,
82
+ * and the CollectionMethod will always be CaptureRedirect.
83
+ *
84
+ * If this field is set to `true`, you must also:
85
+ * 1. Set the `RedirectUrl` field to a non-empty value
86
+ * 2. Include the `LaunchBrowser` and `CaptureRedirect` capabilities in the `Capabilities` field
87
+ * @type {boolean}
88
+ * @memberof CreateAdvancedProviderSessionRequest
89
+ */
90
+ fallbackToHostedUI?: boolean;
91
+ }
92
+
93
+ /**
94
+ * Check if a given object implements the CreateAdvancedProviderSessionRequest interface.
95
+ */
96
+ export function instanceOfCreateAdvancedProviderSessionRequest(value: object): value is CreateAdvancedProviderSessionRequest {
97
+ if (!('provider' in value) || value['provider'] === undefined) return false;
98
+ if (!('capabilities' in value) || value['capabilities'] === undefined) return false;
99
+ return true;
100
+ }
101
+
102
+ export function CreateAdvancedProviderSessionRequestFromJSON(json: any): CreateAdvancedProviderSessionRequest {
103
+ return CreateAdvancedProviderSessionRequestFromJSONTyped(json, false);
104
+ }
105
+
106
+ export function CreateAdvancedProviderSessionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAdvancedProviderSessionRequest {
107
+ if (json == null) {
108
+ return json;
109
+ }
110
+ return {
111
+
112
+ 'provider': json['provider'],
113
+ 'providerInput': json['providerInput'] == null ? undefined : ProviderInputFromJSON(json['providerInput']),
114
+ 'redirectUrl': json['redirectUrl'] == null ? undefined : json['redirectUrl'],
115
+ 'capabilities': ((json['capabilities'] as Array<any>).map(IntegrationCapabilityFromJSON)),
116
+ 'fallbackToHostedUI': json['fallbackToHostedUI'] == null ? undefined : json['fallbackToHostedUI'],
117
+ };
118
+ }
119
+
120
+ export function CreateAdvancedProviderSessionRequestToJSON(value?: CreateAdvancedProviderSessionRequest | null): any {
121
+ if (value == null) {
122
+ return value;
123
+ }
124
+ return {
125
+
126
+ 'provider': value['provider'],
127
+ 'providerInput': ProviderInputToJSON(value['providerInput']),
128
+ 'redirectUrl': value['redirectUrl'],
129
+ 'capabilities': ((value['capabilities'] as Array<any>).map(IntegrationCapabilityToJSON)),
130
+ 'fallbackToHostedUI': value['fallbackToHostedUI'],
131
+ };
132
+ }
133
+
@@ -0,0 +1,92 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { ResultCollection } from './ResultCollection';
17
+ import {
18
+ ResultCollectionFromJSON,
19
+ ResultCollectionFromJSONTyped,
20
+ ResultCollectionToJSON,
21
+ } from './ResultCollection';
22
+ import type { IntegrationStep } from './IntegrationStep';
23
+ import {
24
+ IntegrationStepFromJSON,
25
+ IntegrationStepFromJSONTyped,
26
+ IntegrationStepToJSON,
27
+ } from './IntegrationStep';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface CreateAdvancedProviderSessionResponse
33
+ */
34
+ export interface CreateAdvancedProviderSessionResponse {
35
+ /**
36
+ * The ID of the newly-created Acceptance Session
37
+ * @type {string}
38
+ * @memberof CreateAdvancedProviderSessionResponse
39
+ */
40
+ sessionId: string;
41
+ /**
42
+ * The method by which you must collect the results of the Acceptance Session.
43
+ * @type {ResultCollection}
44
+ * @memberof CreateAdvancedProviderSessionResponse
45
+ */
46
+ resultCollection: ResultCollection;
47
+ /**
48
+ * The next step you must take to launch the user into the integration
49
+ * @type {IntegrationStep}
50
+ * @memberof CreateAdvancedProviderSessionResponse
51
+ */
52
+ nextStep: IntegrationStep;
53
+ }
54
+
55
+ /**
56
+ * Check if a given object implements the CreateAdvancedProviderSessionResponse interface.
57
+ */
58
+ export function instanceOfCreateAdvancedProviderSessionResponse(value: object): value is CreateAdvancedProviderSessionResponse {
59
+ if (!('sessionId' in value) || value['sessionId'] === undefined) return false;
60
+ if (!('resultCollection' in value) || value['resultCollection'] === undefined) return false;
61
+ if (!('nextStep' in value) || value['nextStep'] === undefined) return false;
62
+ return true;
63
+ }
64
+
65
+ export function CreateAdvancedProviderSessionResponseFromJSON(json: any): CreateAdvancedProviderSessionResponse {
66
+ return CreateAdvancedProviderSessionResponseFromJSONTyped(json, false);
67
+ }
68
+
69
+ export function CreateAdvancedProviderSessionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAdvancedProviderSessionResponse {
70
+ if (json == null) {
71
+ return json;
72
+ }
73
+ return {
74
+
75
+ 'sessionId': json['sessionId'],
76
+ 'resultCollection': ResultCollectionFromJSON(json['resultCollection']),
77
+ 'nextStep': IntegrationStepFromJSON(json['nextStep']),
78
+ };
79
+ }
80
+
81
+ export function CreateAdvancedProviderSessionResponseToJSON(value?: CreateAdvancedProviderSessionResponse | null): any {
82
+ if (value == null) {
83
+ return value;
84
+ }
85
+ return {
86
+
87
+ 'sessionId': value['sessionId'],
88
+ 'resultCollection': ResultCollectionToJSON(value['resultCollection']),
89
+ 'nextStep': IntegrationStepToJSON(value['nextStep']),
90
+ };
91
+ }
92
+
@@ -0,0 +1,85 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { ProviderInput } from './ProviderInput';
17
+ import {
18
+ ProviderInputFromJSON,
19
+ ProviderInputFromJSONTyped,
20
+ ProviderInputToJSON,
21
+ } from './ProviderInput';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface CreateHostedProviderSessionRequest
27
+ */
28
+ export interface CreateHostedProviderSessionRequest {
29
+ /**
30
+ * The ID of the provider to launch
31
+ * @type {string}
32
+ * @memberof CreateHostedProviderSessionRequest
33
+ */
34
+ provider: string;
35
+ /**
36
+ * The Redirect URL to which the user should be sent after the session is complete.
37
+ * @type {string}
38
+ * @memberof CreateHostedProviderSessionRequest
39
+ */
40
+ redirectUrl: string;
41
+ /**
42
+ * Provider-specific input for those providers which require it.
43
+ * @type {ProviderInput}
44
+ * @memberof CreateHostedProviderSessionRequest
45
+ */
46
+ providerInput?: ProviderInput;
47
+ }
48
+
49
+ /**
50
+ * Check if a given object implements the CreateHostedProviderSessionRequest interface.
51
+ */
52
+ export function instanceOfCreateHostedProviderSessionRequest(value: object): value is CreateHostedProviderSessionRequest {
53
+ if (!('provider' in value) || value['provider'] === undefined) return false;
54
+ if (!('redirectUrl' in value) || value['redirectUrl'] === undefined) return false;
55
+ return true;
56
+ }
57
+
58
+ export function CreateHostedProviderSessionRequestFromJSON(json: any): CreateHostedProviderSessionRequest {
59
+ return CreateHostedProviderSessionRequestFromJSONTyped(json, false);
60
+ }
61
+
62
+ export function CreateHostedProviderSessionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateHostedProviderSessionRequest {
63
+ if (json == null) {
64
+ return json;
65
+ }
66
+ return {
67
+
68
+ 'provider': json['provider'],
69
+ 'redirectUrl': json['redirectUrl'],
70
+ 'providerInput': json['providerInput'] == null ? undefined : ProviderInputFromJSON(json['providerInput']),
71
+ };
72
+ }
73
+
74
+ export function CreateHostedProviderSessionRequestToJSON(value?: CreateHostedProviderSessionRequest | null): any {
75
+ if (value == null) {
76
+ return value;
77
+ }
78
+ return {
79
+
80
+ 'provider': value['provider'],
81
+ 'redirectUrl': value['redirectUrl'],
82
+ 'providerInput': ProviderInputToJSON(value['providerInput']),
83
+ };
84
+ }
85
+
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface CreateHostedProviderSessionResponse
20
+ */
21
+ export interface CreateHostedProviderSessionResponse {
22
+ /**
23
+ * The ID of the newly-created Acceptance Session
24
+ * @type {string}
25
+ * @memberof CreateHostedProviderSessionResponse
26
+ */
27
+ sessionId: string;
28
+ /**
29
+ * The URL that should be used to launch the Hosted Provider Session on your user's device.
30
+ *
31
+ * There are two recommended ways to do so:
32
+ * - Redirect their browser to the `LaunchUrl` as a top-level navigation
33
+ * - Open a popup window and navigate it to the `LaunchUrl`
34
+ *
35
+ * This URL is sensitive and as such can only be obtained once. If you need to obtain it again, you will need to create a new Acceptance Session.
36
+ * @type {string}
37
+ * @memberof CreateHostedProviderSessionResponse
38
+ */
39
+ launchUrl?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the CreateHostedProviderSessionResponse interface.
44
+ */
45
+ export function instanceOfCreateHostedProviderSessionResponse(value: object): value is CreateHostedProviderSessionResponse {
46
+ if (!('sessionId' in value) || value['sessionId'] === undefined) return false;
47
+ return true;
48
+ }
49
+
50
+ export function CreateHostedProviderSessionResponseFromJSON(json: any): CreateHostedProviderSessionResponse {
51
+ return CreateHostedProviderSessionResponseFromJSONTyped(json, false);
52
+ }
53
+
54
+ export function CreateHostedProviderSessionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateHostedProviderSessionResponse {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+
60
+ 'sessionId': json['sessionId'],
61
+ 'launchUrl': json['launchUrl'] == null ? undefined : json['launchUrl'],
62
+ };
63
+ }
64
+
65
+ export function CreateHostedProviderSessionResponseToJSON(value?: CreateHostedProviderSessionResponse | null): any {
66
+ if (value == null) {
67
+ return value;
68
+ }
69
+ return {
70
+
71
+ 'sessionId': value['sessionId'],
72
+ 'launchUrl': value['launchUrl'],
73
+ };
74
+ }
75
+
@@ -0,0 +1,88 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { KnownIdentityData } from './KnownIdentityData';
17
+ import {
18
+ KnownIdentityDataFromJSON,
19
+ KnownIdentityDataFromJSONTyped,
20
+ KnownIdentityDataToJSON,
21
+ } from './KnownIdentityData';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface CreateWidgetSessionRequest
27
+ */
28
+ export interface CreateWidgetSessionRequest {
29
+ /**
30
+ * The URL to redirect the user to after the widget session is complete.
31
+ *
32
+ * *Note*: this should NOT be set if you intend to use Trinsic's Web UI SDK to launch the Widget
33
+ * as an embedded iFrame or popup; in that case, session resolution is handled by our SDK, not via redirect.
34
+ * @type {string}
35
+ * @memberof CreateWidgetSessionRequest
36
+ */
37
+ redirectUrl?: string;
38
+ /**
39
+ * The list of allowed identity providers. If not specified, all available providers will be allowed.
40
+ * @type {Array<string>}
41
+ * @memberof CreateWidgetSessionRequest
42
+ */
43
+ providers?: Array<string>;
44
+ /**
45
+ * Known identity data of an individual being verified.
46
+ *
47
+ * Provide this to Trinsic during Session creation to enable improved identity provider selection recommendations.
48
+ * @type {KnownIdentityData}
49
+ * @memberof CreateWidgetSessionRequest
50
+ */
51
+ knownIdentityData?: KnownIdentityData;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the CreateWidgetSessionRequest interface.
56
+ */
57
+ export function instanceOfCreateWidgetSessionRequest(value: object): value is CreateWidgetSessionRequest {
58
+ return true;
59
+ }
60
+
61
+ export function CreateWidgetSessionRequestFromJSON(json: any): CreateWidgetSessionRequest {
62
+ return CreateWidgetSessionRequestFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function CreateWidgetSessionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWidgetSessionRequest {
66
+ if (json == null) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'redirectUrl': json['redirectUrl'] == null ? undefined : json['redirectUrl'],
72
+ 'providers': json['providers'] == null ? undefined : json['providers'],
73
+ 'knownIdentityData': json['knownIdentityData'] == null ? undefined : KnownIdentityDataFromJSON(json['knownIdentityData']),
74
+ };
75
+ }
76
+
77
+ export function CreateWidgetSessionRequestToJSON(value?: CreateWidgetSessionRequest | null): any {
78
+ if (value == null) {
79
+ return value;
80
+ }
81
+ return {
82
+
83
+ 'redirectUrl': value['redirectUrl'],
84
+ 'providers': value['providers'],
85
+ 'knownIdentityData': KnownIdentityDataToJSON(value['knownIdentityData']),
86
+ };
87
+ }
88
+