@trinsic/api 1.2.0 → 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 +28 -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 +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 +8 -1
  67. package/dist/esm/models/KnownAddress.js +3 -1
  68. package/dist/esm/models/KnownIdentityData.d.ts +1 -1
  69. package/dist/esm/models/KnownIdentityData.js +1 -1
  70. package/dist/esm/models/KnownPersonData.d.ts +13 -1
  71. package/dist/esm/models/KnownPersonData.js +5 -1
  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 +1 -1
  91. package/dist/esm/models/ProviderInformation.js +1 -1
  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 +11 -5
  95. package/dist/esm/models/RecommendRequest.js +6 -6
  96. package/dist/esm/models/RecommendResponse.d.ts +1 -1
  97. package/dist/esm/models/RecommendResponse.js +1 -1
  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 +28 -11
  117. package/dist/esm/models/index.js +28 -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 +8 -1
  173. package/dist/models/KnownAddress.js +3 -1
  174. package/dist/models/KnownIdentityData.d.ts +1 -1
  175. package/dist/models/KnownIdentityData.js +1 -1
  176. package/dist/models/KnownPersonData.d.ts +13 -1
  177. package/dist/models/KnownPersonData.js +5 -1
  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 +1 -1
  197. package/dist/models/ProviderInformation.js +1 -1
  198. package/dist/models/ProviderInput.d.ts +67 -0
  199. package/dist/models/ProviderInput.js +60 -0
  200. package/dist/models/RecommendRequest.d.ts +11 -5
  201. package/dist/models/RecommendRequest.js +6 -6
  202. package/dist/models/RecommendResponse.d.ts +1 -1
  203. package/dist/models/RecommendResponse.js +1 -1
  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 +28 -11
  223. package/dist/models/index.js +28 -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 +8 -77
  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 +10 -1
  257. package/src/models/KnownIdentityData.ts +1 -1
  258. package/src/models/KnownPersonData.ts +17 -1
  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 +1 -1
  269. package/src/models/ProviderInput.ts +137 -0
  270. package/src/models/RecommendRequest.ts +16 -9
  271. package/src/models/RecommendResponse.ts +1 -1
  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 +28 -11
  282. package/src/runtime.ts +1 -1
  283. package/dist/esm/models/CreateSessionRequest.d.ts +0 -82
  284. package/dist/esm/models/CreateSessionRequest.js +0 -48
  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 -28
  302. package/dist/esm/models/VerificationFailCode.js +0 -44
  303. package/dist/models/CreateSessionRequest.d.ts +0 -82
  304. package/dist/models/CreateSessionRequest.js +0 -54
  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 -28
  324. package/dist/models/VerificationFailCode.js +0 -51
  325. package/src/models/CreateSessionRequest.ts +0 -130
  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 -53
@@ -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,11 +16,11 @@
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;
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>}
@@ -28,11 +28,17 @@ export interface RecommendRequest {
28
28
  */
29
29
  countries?: Array<string>;
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>;
36
+ /**
37
+ * If true, the recommendation will include providers that are disabled for the app
38
+ * @type {boolean}
39
+ * @memberof RecommendRequest
40
+ */
41
+ includeDisabledProviders?: boolean;
36
42
  }
37
43
  /**
38
44
  * 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,10 @@ 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
+ 'includeDisabledProviders': json['includeDisabledProviders'] == null ? undefined : json['includeDisabledProviders'],
33
32
  };
34
33
  }
35
34
  export function RecommendRequestToJSON(value) {
@@ -39,6 +38,7 @@ export function RecommendRequestToJSON(value) {
39
38
  return {
40
39
  'phoneNumber': value['phoneNumber'],
41
40
  'countries': value['countries'],
42
- 'states': value['states'],
41
+ 'subdivisions': value['subdivisions'],
42
+ 'includeDisabledProviders': value['includeDisabledProviders'],
43
43
  };
44
44
  }
@@ -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,31 @@
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 RefreshStepContentRequest
16
+ */
17
+ export interface RefreshStepContentRequest {
18
+ /**
19
+ * The `ResultsAccessKey` returned when the Session was created
20
+ * @type {string}
21
+ * @memberof RefreshStepContentRequest
22
+ */
23
+ resultsAccessKey?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the RefreshStepContentRequest interface.
27
+ */
28
+ export declare function instanceOfRefreshStepContentRequest(value: object): value is RefreshStepContentRequest;
29
+ export declare function RefreshStepContentRequestFromJSON(json: any): RefreshStepContentRequest;
30
+ export declare function RefreshStepContentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshStepContentRequest;
31
+ export declare function RefreshStepContentRequestToJSON(value?: RefreshStepContentRequest | null): any;
@@ -0,0 +1,38 @@
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 RefreshStepContentRequest interface.
16
+ */
17
+ export function instanceOfRefreshStepContentRequest(value) {
18
+ return true;
19
+ }
20
+ export function RefreshStepContentRequestFromJSON(json) {
21
+ return RefreshStepContentRequestFromJSONTyped(json, false);
22
+ }
23
+ export function RefreshStepContentRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'resultsAccessKey': json['resultsAccessKey'] == null ? undefined : json['resultsAccessKey'],
29
+ };
30
+ }
31
+ export function RefreshStepContentRequestToJSON(value) {
32
+ if (value == null) {
33
+ return value;
34
+ }
35
+ return {
36
+ 'resultsAccessKey': value['resultsAccessKey'],
37
+ };
38
+ }
@@ -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 { IntegrationStep } from './IntegrationStep';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RefreshStepContentResponse
17
+ */
18
+ export interface RefreshStepContentResponse {
19
+ /**
20
+ * The integration's next step with refreshed content
21
+ * @type {IntegrationStep}
22
+ * @memberof RefreshStepContentResponse
23
+ */
24
+ nextStep: IntegrationStep;
25
+ }
26
+ /**
27
+ * Check if a given object implements the RefreshStepContentResponse interface.
28
+ */
29
+ export declare function instanceOfRefreshStepContentResponse(value: object): value is RefreshStepContentResponse;
30
+ export declare function RefreshStepContentResponseFromJSON(json: any): RefreshStepContentResponse;
31
+ export declare function RefreshStepContentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshStepContentResponse;
32
+ export declare function RefreshStepContentResponseToJSON(value?: RefreshStepContentResponse | null): any;
@@ -0,0 +1,41 @@
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 { IntegrationStepFromJSON, IntegrationStepToJSON, } from './IntegrationStep';
15
+ /**
16
+ * Check if a given object implements the RefreshStepContentResponse interface.
17
+ */
18
+ export function instanceOfRefreshStepContentResponse(value) {
19
+ if (!('nextStep' in value) || value['nextStep'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function RefreshStepContentResponseFromJSON(json) {
24
+ return RefreshStepContentResponseFromJSONTyped(json, false);
25
+ }
26
+ export function RefreshStepContentResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'nextStep': IntegrationStepFromJSON(json['nextStep']),
32
+ };
33
+ }
34
+ export function RefreshStepContentResponseToJSON(value) {
35
+ if (value == null) {
36
+ return value;
37
+ }
38
+ return {
39
+ 'nextStep': IntegrationStepToJSON(value['nextStep']),
40
+ };
41
+ }
@@ -0,0 +1,38 @@
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 { ResultCollectionMethod } from './ResultCollectionMethod';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ResultCollection
17
+ */
18
+ export interface ResultCollection {
19
+ /**
20
+ * The method by which the results of the Acceptance Session should be collected.
21
+ * @type {ResultCollectionMethod}
22
+ * @memberof ResultCollection
23
+ */
24
+ method: ResultCollectionMethod;
25
+ /**
26
+ * If the method is `PollResult`, this is the key that should be used to poll for the results.
27
+ * @type {string}
28
+ * @memberof ResultCollection
29
+ */
30
+ resultsAccessKey?: string;
31
+ }
32
+ /**
33
+ * Check if a given object implements the ResultCollection interface.
34
+ */
35
+ export declare function instanceOfResultCollection(value: object): value is ResultCollection;
36
+ export declare function ResultCollectionFromJSON(json: any): ResultCollection;
37
+ export declare function ResultCollectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultCollection;
38
+ export declare function ResultCollectionToJSON(value?: ResultCollection | null): any;
@@ -0,0 +1,43 @@
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 { ResultCollectionMethodFromJSON, ResultCollectionMethodToJSON, } from './ResultCollectionMethod';
15
+ /**
16
+ * Check if a given object implements the ResultCollection interface.
17
+ */
18
+ export function instanceOfResultCollection(value) {
19
+ if (!('method' in value) || value['method'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function ResultCollectionFromJSON(json) {
24
+ return ResultCollectionFromJSONTyped(json, false);
25
+ }
26
+ export function ResultCollectionFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'method': ResultCollectionMethodFromJSON(json['method']),
32
+ 'resultsAccessKey': json['resultsAccessKey'] == null ? undefined : json['resultsAccessKey'],
33
+ };
34
+ }
35
+ export function ResultCollectionToJSON(value) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'method': ResultCollectionMethodToJSON(value['method']),
41
+ 'resultsAccessKey': value['resultsAccessKey'],
42
+ };
43
+ }
@@ -0,0 +1,24 @@
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
+ */
16
+ export declare const ResultCollectionMethod: {
17
+ readonly PollResult: "PollResult";
18
+ readonly CaptureRedirect: "CaptureRedirect";
19
+ };
20
+ export type ResultCollectionMethod = typeof ResultCollectionMethod[keyof typeof ResultCollectionMethod];
21
+ export declare function instanceOfResultCollectionMethod(value: any): boolean;
22
+ export declare function ResultCollectionMethodFromJSON(json: any): ResultCollectionMethod;
23
+ export declare function ResultCollectionMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultCollectionMethod;
24
+ export declare function ResultCollectionMethodToJSON(value?: ResultCollectionMethod | 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
+ *
16
+ * @export
17
+ */
18
+ export const ResultCollectionMethod = {
19
+ PollResult: 'PollResult',
20
+ CaptureRedirect: 'CaptureRedirect'
21
+ };
22
+ export function instanceOfResultCollectionMethod(value) {
23
+ for (const key in ResultCollectionMethod) {
24
+ if (Object.prototype.hasOwnProperty.call(ResultCollectionMethod, key)) {
25
+ if (ResultCollectionMethod[key] === value) {
26
+ return true;
27
+ }
28
+ }
29
+ }
30
+ return false;
31
+ }
32
+ export function ResultCollectionMethodFromJSON(json) {
33
+ return ResultCollectionMethodFromJSONTyped(json, false);
34
+ }
35
+ export function ResultCollectionMethodFromJSONTyped(json, ignoreDiscriminator) {
36
+ return json;
37
+ }
38
+ export function ResultCollectionMethodToJSON(value) {
39
+ return value;
40
+ }
@@ -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
@@ -9,10 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { SessionState } from './SessionState';
13
- import type { DisclosedFields } from './DisclosedFields';
14
- import type { SessionFailCode } from './SessionFailCode';
15
- import type { Verification } from './Verification';
12
+ import type { SessionErrorCode } from './SessionErrorCode';
16
13
  /**
17
14
  *
18
15
  * @export
@@ -26,29 +23,30 @@ export interface Session {
26
23
  */
27
24
  id: string;
28
25
  /**
29
- * The state of the session
30
- * @type {SessionState}
31
- * @memberof Session
32
- */
33
- state: SessionState;
34
- /**
35
- * If the session is in state `IdvFailed`, this field contains the reason for failure.
36
- * @type {SessionFailCode}
26
+ * Whether the Session is in a terminal / final state.
27
+ *
28
+ * If this is `true`, inspect the value of `Success` to determine whether the Session was successful.
29
+ * @type {boolean}
37
30
  * @memberof Session
38
31
  */
39
- failCode?: SessionFailCode;
32
+ done: boolean;
40
33
  /**
41
- * The underlying verification for this Session
42
- * @type {Verification}
34
+ * Whether the Session has completed successfully.
35
+ *
36
+ * If this is `false`, the Session is either not yet done, or has failed. Inspect `Done` and `ErrorCode` for more information.
37
+ * If this is `true`, the Session has completed successfully.
38
+ * @type {boolean}
43
39
  * @memberof Session
44
40
  */
45
- verification: Verification;
41
+ success: boolean;
46
42
  /**
47
- * The fields that were requested to be disclosed when the Session was created
48
- * @type {DisclosedFields}
43
+ * The reason for the Session's failure.
44
+ *
45
+ * Only present if `Success` is `false`.
46
+ * @type {SessionErrorCode}
49
47
  * @memberof Session
50
48
  */
51
- disclosedFields: DisclosedFields;
49
+ errorCode?: SessionErrorCode;
52
50
  /**
53
51
  * The unix timestamp, in seconds, when this session was created
54
52
  * @type {number}
@@ -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
@@ -11,21 +11,16 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { SessionStateFromJSON, SessionStateToJSON, } from './SessionState';
15
- import { DisclosedFieldsFromJSON, DisclosedFieldsToJSON, } from './DisclosedFields';
16
- import { SessionFailCodeFromJSON, SessionFailCodeToJSON, } from './SessionFailCode';
17
- import { VerificationFromJSON, VerificationToJSON, } from './Verification';
14
+ import { SessionErrorCodeFromJSON, SessionErrorCodeToJSON, } from './SessionErrorCode';
18
15
  /**
19
16
  * Check if a given object implements the Session interface.
20
17
  */
21
18
  export function instanceOfSession(value) {
22
19
  if (!('id' in value) || value['id'] === undefined)
23
20
  return false;
24
- if (!('state' in value) || value['state'] === undefined)
21
+ if (!('done' in value) || value['done'] === undefined)
25
22
  return false;
26
- if (!('verification' in value) || value['verification'] === undefined)
27
- return false;
28
- if (!('disclosedFields' in value) || value['disclosedFields'] === undefined)
23
+ if (!('success' in value) || value['success'] === undefined)
29
24
  return false;
30
25
  if (!('created' in value) || value['created'] === undefined)
31
26
  return false;
@@ -42,10 +37,9 @@ export function SessionFromJSONTyped(json, ignoreDiscriminator) {
42
37
  }
43
38
  return {
44
39
  'id': json['id'],
45
- 'state': SessionStateFromJSON(json['state']),
46
- 'failCode': json['failCode'] == null ? undefined : SessionFailCodeFromJSON(json['failCode']),
47
- 'verification': VerificationFromJSON(json['verification']),
48
- 'disclosedFields': DisclosedFieldsFromJSON(json['disclosedFields']),
40
+ 'done': json['done'],
41
+ 'success': json['success'],
42
+ 'errorCode': json['errorCode'] == null ? undefined : SessionErrorCodeFromJSON(json['errorCode']),
49
43
  'created': json['created'],
50
44
  'updated': json['updated'],
51
45
  };
@@ -56,10 +50,9 @@ export function SessionToJSON(value) {
56
50
  }
57
51
  return {
58
52
  'id': value['id'],
59
- 'state': SessionStateToJSON(value['state']),
60
- 'failCode': SessionFailCodeToJSON(value['failCode']),
61
- 'verification': VerificationToJSON(value['verification']),
62
- 'disclosedFields': DisclosedFieldsToJSON(value['disclosedFields']),
53
+ 'done': value['done'],
54
+ 'success': value['success'],
55
+ 'errorCode': SessionErrorCodeToJSON(value['errorCode']),
63
56
  'created': value['created'],
64
57
  'updated': value['updated'],
65
58
  };
@@ -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
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const SessionErrorCode: {
17
+ readonly Internal: "Internal";
18
+ readonly Other: "Other";
19
+ readonly Canceled: "Canceled";
20
+ readonly UserAbandoned: "UserAbandoned";
21
+ readonly UserTimedOut: "UserTimedOut";
22
+ readonly Expired: "Expired";
23
+ readonly InvalidImage: "InvalidImage";
24
+ readonly Inauthentic: "Inauthentic";
25
+ readonly UnsupportedDocument: "UnsupportedDocument";
26
+ readonly AssuranceLevelNotMet: "AssuranceLevelNotMet";
27
+ };
28
+ export type SessionErrorCode = typeof SessionErrorCode[keyof typeof SessionErrorCode];
29
+ export declare function instanceOfSessionErrorCode(value: any): boolean;
30
+ export declare function SessionErrorCodeFromJSON(json: any): SessionErrorCode;
31
+ export declare function SessionErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionErrorCode;
32
+ export declare function SessionErrorCodeToJSON(value?: SessionErrorCode | null): any;
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ *
16
+ * @export
17
+ */
18
+ export const SessionErrorCode = {
19
+ Internal: 'Internal',
20
+ Other: 'Other',
21
+ Canceled: 'Canceled',
22
+ UserAbandoned: 'UserAbandoned',
23
+ UserTimedOut: 'UserTimedOut',
24
+ Expired: 'Expired',
25
+ InvalidImage: 'InvalidImage',
26
+ Inauthentic: 'Inauthentic',
27
+ UnsupportedDocument: 'UnsupportedDocument',
28
+ AssuranceLevelNotMet: 'AssuranceLevelNotMet'
29
+ };
30
+ export function instanceOfSessionErrorCode(value) {
31
+ for (const key in SessionErrorCode) {
32
+ if (Object.prototype.hasOwnProperty.call(SessionErrorCode, key)) {
33
+ if (SessionErrorCode[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ export function SessionErrorCodeFromJSON(json) {
41
+ return SessionErrorCodeFromJSONTyped(json, false);
42
+ }
43
+ export function SessionErrorCodeFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ export function SessionErrorCodeToJSON(value) {
47
+ return value;
48
+ }
@@ -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,26 @@
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
+ */
16
+ export declare const Sex: {
17
+ readonly Unknown: "Unknown";
18
+ readonly NotApplicable: "NotApplicable";
19
+ readonly Male: "Male";
20
+ readonly Female: "Female";
21
+ };
22
+ export type Sex = typeof Sex[keyof typeof Sex];
23
+ export declare function instanceOfSex(value: any): boolean;
24
+ export declare function SexFromJSON(json: any): Sex;
25
+ export declare function SexFromJSONTyped(json: any, ignoreDiscriminator: boolean): Sex;
26
+ export declare function SexToJSON(value?: Sex | null): any;