@trinsic/api 2.0.0-alpha2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/.openapi-generator/FILES +16 -3
  2. package/dist/apis/AttachmentsApi.d.ts +4 -4
  3. package/dist/apis/AttachmentsApi.js +2 -2
  4. package/dist/apis/NetworkApi.d.ts +32 -9
  5. package/dist/apis/NetworkApi.js +38 -4
  6. package/dist/apis/SessionsApi.d.ts +8 -8
  7. package/dist/apis/SessionsApi.js +4 -4
  8. package/dist/esm/apis/AttachmentsApi.d.ts +4 -4
  9. package/dist/esm/apis/AttachmentsApi.js +2 -2
  10. package/dist/esm/apis/NetworkApi.d.ts +32 -9
  11. package/dist/esm/apis/NetworkApi.js +39 -5
  12. package/dist/esm/apis/SessionsApi.d.ts +8 -8
  13. package/dist/esm/apis/SessionsApi.js +4 -4
  14. package/dist/esm/models/AadhaarInput.d.ts +2 -2
  15. package/dist/esm/models/AadhaarInput.js +1 -1
  16. package/dist/esm/models/Address.d.ts +8 -8
  17. package/dist/esm/models/AttachmentAccessKeys.d.ts +4 -4
  18. package/dist/esm/models/BangladeshNationalIdInput.d.ts +4 -4
  19. package/dist/esm/models/BangladeshNationalIdInput.js +1 -1
  20. package/dist/esm/models/BrazilDigitalCnhInput.d.ts +3 -3
  21. package/dist/esm/models/CreateAdvancedProviderSessionRequest.d.ts +3 -3
  22. package/dist/esm/models/CreateHostedProviderSessionRequest.d.ts +1 -1
  23. package/dist/esm/models/CreateHostedProviderSessionResponse.d.ts +13 -1
  24. package/dist/esm/models/CreateHostedProviderSessionResponse.js +7 -1
  25. package/dist/esm/models/CreateWidgetSessionRequest.d.ts +8 -7
  26. package/dist/esm/models/CreateWidgetSessionRequest.js +3 -3
  27. package/dist/esm/models/CreateWidgetSessionResponse.d.ts +13 -1
  28. package/dist/esm/models/CreateWidgetSessionResponse.js +7 -1
  29. package/dist/esm/models/DocumentData.d.ts +6 -6
  30. package/dist/esm/models/DocumentData.js +2 -2
  31. package/dist/esm/models/DocumentScanAttachments.d.ts +1 -1
  32. package/dist/esm/models/GetSessionResultResponse.d.ts +1 -1
  33. package/dist/esm/models/HttpValidationProblemDetails.d.ts +5 -5
  34. package/dist/esm/models/IdentityData.d.ts +10 -4
  35. package/dist/esm/models/IdentityData.js +2 -0
  36. package/dist/esm/models/IdinInput.d.ts +33 -0
  37. package/dist/esm/models/IdinInput.js +38 -0
  38. package/dist/esm/models/IndonesiaNikInput.d.ts +43 -0
  39. package/dist/esm/models/IndonesiaNikInput.js +48 -0
  40. package/dist/esm/models/IntegrationLaunchMethod.d.ts +1 -1
  41. package/dist/esm/models/IntegrationLaunchMethod.js +1 -1
  42. package/dist/esm/models/IntegrationStep.d.ts +1 -1
  43. package/dist/esm/models/KenyaNidInput.d.ts +61 -0
  44. package/dist/esm/models/KenyaNidInput.js +58 -0
  45. package/dist/esm/models/Language.d.ts +26 -0
  46. package/dist/esm/models/Language.js +42 -0
  47. package/dist/esm/models/ListProviderContractsResponse.d.ts +32 -0
  48. package/dist/esm/models/ListProviderContractsResponse.js +41 -0
  49. package/dist/esm/models/MexicoCurpInput.d.ts +31 -0
  50. package/dist/esm/models/MexicoCurpInput.js +40 -0
  51. package/dist/esm/models/MobileIdInput.d.ts +44 -0
  52. package/dist/esm/models/MobileIdInput.js +43 -0
  53. package/dist/esm/models/NigeriaNinInput.d.ts +67 -0
  54. package/dist/esm/models/NigeriaNinInput.js +58 -0
  55. package/dist/esm/models/PersonData.d.ts +10 -10
  56. package/dist/esm/models/PersonData.js +1 -1
  57. package/dist/esm/models/PhilippineMatchInput.d.ts +5 -5
  58. package/dist/esm/models/PhilippineMatchInput.js +1 -1
  59. package/dist/esm/models/PhilippineQRInput.d.ts +2 -2
  60. package/dist/esm/models/ProblemDetails.d.ts +5 -5
  61. package/dist/esm/models/ProviderAttachments.d.ts +1 -1
  62. package/dist/esm/models/ProviderContract.d.ts +146 -0
  63. package/dist/esm/models/ProviderContract.js +97 -0
  64. package/dist/esm/models/ProviderInfo.d.ts +0 -6
  65. package/dist/esm/models/ProviderInfo.js +0 -2
  66. package/dist/esm/models/ProviderInformation.d.ts +4 -4
  67. package/dist/esm/models/ProviderInformation.js +1 -5
  68. package/dist/esm/models/ProviderInput.d.ts +95 -14
  69. package/dist/esm/models/ProviderInput.js +35 -2
  70. package/dist/esm/models/RecommendRequest.d.ts +4 -21
  71. package/dist/esm/models/RecommendRequest.js +3 -8
  72. package/dist/esm/models/RecommendationInfo.d.ts +55 -0
  73. package/dist/esm/models/RecommendationInfo.js +44 -0
  74. package/dist/esm/models/RefreshStepContentRequest.d.ts +1 -1
  75. package/dist/esm/models/ResultCollection.d.ts +8 -2
  76. package/dist/esm/models/ResultCollection.js +3 -1
  77. package/dist/esm/models/Session.d.ts +1 -1
  78. package/dist/esm/models/SmartIdInput.d.ts +31 -0
  79. package/dist/esm/models/SmartIdInput.js +38 -0
  80. package/dist/esm/models/SouthAfricaNidInput.d.ts +49 -0
  81. package/dist/esm/models/SouthAfricaNidInput.js +52 -0
  82. package/dist/esm/models/SpidInput.d.ts +33 -0
  83. package/dist/esm/models/SpidInput.js +38 -0
  84. package/dist/esm/models/SubProviderMetadata.d.ts +54 -0
  85. package/dist/esm/models/SubProviderMetadata.js +52 -0
  86. package/dist/esm/models/TrinsicTestDatabaseLookupInput.d.ts +66 -0
  87. package/dist/esm/models/TrinsicTestDatabaseLookupInput.js +44 -0
  88. package/dist/esm/models/TrinsicTestSubProvidersInput.d.ts +35 -0
  89. package/dist/esm/models/TrinsicTestSubProvidersInput.js +38 -0
  90. package/dist/esm/models/index.d.ts +16 -3
  91. package/dist/esm/models/index.js +16 -3
  92. package/dist/models/AadhaarInput.d.ts +2 -2
  93. package/dist/models/AadhaarInput.js +1 -1
  94. package/dist/models/Address.d.ts +8 -8
  95. package/dist/models/AttachmentAccessKeys.d.ts +4 -4
  96. package/dist/models/BangladeshNationalIdInput.d.ts +4 -4
  97. package/dist/models/BangladeshNationalIdInput.js +1 -1
  98. package/dist/models/BrazilDigitalCnhInput.d.ts +3 -3
  99. package/dist/models/CreateAdvancedProviderSessionRequest.d.ts +3 -3
  100. package/dist/models/CreateHostedProviderSessionRequest.d.ts +1 -1
  101. package/dist/models/CreateHostedProviderSessionResponse.d.ts +13 -1
  102. package/dist/models/CreateHostedProviderSessionResponse.js +7 -1
  103. package/dist/models/CreateWidgetSessionRequest.d.ts +8 -7
  104. package/dist/models/CreateWidgetSessionRequest.js +3 -3
  105. package/dist/models/CreateWidgetSessionResponse.d.ts +13 -1
  106. package/dist/models/CreateWidgetSessionResponse.js +7 -1
  107. package/dist/models/DocumentData.d.ts +6 -6
  108. package/dist/models/DocumentData.js +2 -2
  109. package/dist/models/DocumentScanAttachments.d.ts +1 -1
  110. package/dist/models/GetSessionResultResponse.d.ts +1 -1
  111. package/dist/models/HttpValidationProblemDetails.d.ts +5 -5
  112. package/dist/models/IdentityData.d.ts +10 -4
  113. package/dist/models/IdentityData.js +2 -0
  114. package/dist/models/IdinInput.d.ts +33 -0
  115. package/dist/models/IdinInput.js +44 -0
  116. package/dist/models/IndonesiaNikInput.d.ts +43 -0
  117. package/dist/models/IndonesiaNikInput.js +54 -0
  118. package/dist/models/IntegrationLaunchMethod.d.ts +1 -1
  119. package/dist/models/IntegrationLaunchMethod.js +1 -1
  120. package/dist/models/IntegrationStep.d.ts +1 -1
  121. package/dist/models/KenyaNidInput.d.ts +61 -0
  122. package/dist/models/KenyaNidInput.js +64 -0
  123. package/dist/models/Language.d.ts +26 -0
  124. package/dist/models/Language.js +49 -0
  125. package/dist/models/ListProviderContractsResponse.d.ts +32 -0
  126. package/dist/models/ListProviderContractsResponse.js +47 -0
  127. package/dist/models/MexicoCurpInput.d.ts +31 -0
  128. package/dist/models/MexicoCurpInput.js +46 -0
  129. package/dist/models/MobileIdInput.d.ts +44 -0
  130. package/dist/models/MobileIdInput.js +49 -0
  131. package/dist/models/NigeriaNinInput.d.ts +67 -0
  132. package/dist/models/NigeriaNinInput.js +64 -0
  133. package/dist/models/PersonData.d.ts +10 -10
  134. package/dist/models/PersonData.js +1 -1
  135. package/dist/models/PhilippineMatchInput.d.ts +5 -5
  136. package/dist/models/PhilippineMatchInput.js +1 -1
  137. package/dist/models/PhilippineQRInput.d.ts +2 -2
  138. package/dist/models/ProblemDetails.d.ts +5 -5
  139. package/dist/models/ProviderAttachments.d.ts +1 -1
  140. package/dist/models/ProviderContract.d.ts +146 -0
  141. package/dist/models/ProviderContract.js +103 -0
  142. package/dist/models/ProviderInfo.d.ts +0 -6
  143. package/dist/models/ProviderInfo.js +0 -2
  144. package/dist/models/ProviderInformation.d.ts +4 -4
  145. package/dist/models/ProviderInformation.js +1 -5
  146. package/dist/models/ProviderInput.d.ts +95 -14
  147. package/dist/models/ProviderInput.js +35 -2
  148. package/dist/models/RecommendRequest.d.ts +4 -21
  149. package/dist/models/RecommendRequest.js +3 -8
  150. package/dist/models/RecommendationInfo.d.ts +55 -0
  151. package/dist/models/RecommendationInfo.js +50 -0
  152. package/dist/models/RefreshStepContentRequest.d.ts +1 -1
  153. package/dist/models/ResultCollection.d.ts +8 -2
  154. package/dist/models/ResultCollection.js +3 -1
  155. package/dist/models/Session.d.ts +1 -1
  156. package/dist/models/SmartIdInput.d.ts +31 -0
  157. package/dist/models/SmartIdInput.js +44 -0
  158. package/dist/models/SouthAfricaNidInput.d.ts +49 -0
  159. package/dist/models/SouthAfricaNidInput.js +58 -0
  160. package/dist/models/SpidInput.d.ts +33 -0
  161. package/dist/models/SpidInput.js +44 -0
  162. package/dist/models/SubProviderMetadata.d.ts +54 -0
  163. package/dist/models/SubProviderMetadata.js +58 -0
  164. package/dist/models/TrinsicTestDatabaseLookupInput.d.ts +66 -0
  165. package/dist/models/TrinsicTestDatabaseLookupInput.js +50 -0
  166. package/dist/models/TrinsicTestSubProvidersInput.d.ts +35 -0
  167. package/dist/models/TrinsicTestSubProvidersInput.js +44 -0
  168. package/dist/models/index.d.ts +16 -3
  169. package/dist/models/index.js +16 -3
  170. package/package.json +1 -1
  171. package/src/apis/AttachmentsApi.ts +4 -4
  172. package/src/apis/NetworkApi.ts +62 -8
  173. package/src/apis/SessionsApi.ts +8 -8
  174. package/src/models/AadhaarInput.ts +3 -3
  175. package/src/models/Address.ts +8 -8
  176. package/src/models/AttachmentAccessKeys.ts +4 -4
  177. package/src/models/BangladeshNationalIdInput.ts +5 -5
  178. package/src/models/BrazilDigitalCnhInput.ts +11 -11
  179. package/src/models/CreateAdvancedProviderSessionRequest.ts +29 -29
  180. package/src/models/CreateHostedProviderSessionRequest.ts +1 -1
  181. package/src/models/CreateHostedProviderSessionResponse.ts +24 -8
  182. package/src/models/CreateWidgetSessionRequest.ts +18 -17
  183. package/src/models/CreateWidgetSessionResponse.ts +22 -6
  184. package/src/models/DocumentData.ts +8 -8
  185. package/src/models/DocumentScanAttachments.ts +1 -1
  186. package/src/models/GetSessionResultResponse.ts +1 -1
  187. package/src/models/HttpValidationProblemDetails.ts +5 -5
  188. package/src/models/IdentityData.ts +12 -4
  189. package/src/models/IdinInput.ts +62 -0
  190. package/src/models/IndonesiaNikInput.ts +79 -0
  191. package/src/models/IntegrationLaunchMethod.ts +1 -1
  192. package/src/models/IntegrationStep.ts +1 -1
  193. package/src/models/KenyaNidInput.ts +105 -0
  194. package/src/models/Language.ts +51 -0
  195. package/src/models/ListProviderContractsResponse.ts +68 -0
  196. package/src/models/MexicoCurpInput.ts +61 -0
  197. package/src/models/MobileIdInput.ts +85 -0
  198. package/src/models/NigeriaNinInput.ts +112 -0
  199. package/src/models/PersonData.ts +11 -11
  200. package/src/models/PhilippineMatchInput.ts +6 -6
  201. package/src/models/PhilippineQRInput.ts +2 -2
  202. package/src/models/ProblemDetails.ts +5 -5
  203. package/src/models/ProviderAttachments.ts +1 -1
  204. package/src/models/ProviderContract.ts +235 -0
  205. package/src/models/ProviderInfo.ts +0 -8
  206. package/src/models/ProviderInformation.ts +4 -7
  207. package/src/models/ProviderInput.ts +182 -24
  208. package/src/models/RecommendRequest.ts +12 -29
  209. package/src/models/RecommendationInfo.ts +90 -0
  210. package/src/models/RefreshStepContentRequest.ts +1 -1
  211. package/src/models/ResultCollection.ts +10 -3
  212. package/src/models/Session.ts +8 -8
  213. package/src/models/SmartIdInput.ts +60 -0
  214. package/src/models/SouthAfricaNidInput.ts +88 -0
  215. package/src/models/SpidInput.ts +62 -0
  216. package/src/models/StepRefreshInfo.ts +2 -2
  217. package/src/models/SubProviderMetadata.ts +93 -0
  218. package/src/models/TrinsicTestDatabaseLookupInput.ts +101 -0
  219. package/src/models/TrinsicTestSubProvidersInput.ts +64 -0
  220. package/src/models/index.ts +16 -3
  221. package/dist/esm/models/KnownAddress.d.ts +0 -74
  222. package/dist/esm/models/KnownAddress.js +0 -52
  223. package/dist/esm/models/KnownIdentityData.d.ts +0 -34
  224. package/dist/esm/models/KnownIdentityData.js +0 -39
  225. package/dist/esm/models/KnownPersonData.d.ts +0 -74
  226. package/dist/esm/models/KnownPersonData.js +0 -53
  227. package/dist/models/KnownAddress.d.ts +0 -74
  228. package/dist/models/KnownAddress.js +0 -58
  229. package/dist/models/KnownIdentityData.d.ts +0 -34
  230. package/dist/models/KnownIdentityData.js +0 -45
  231. package/dist/models/KnownPersonData.d.ts +0 -74
  232. package/dist/models/KnownPersonData.js +0 -59
  233. package/src/models/KnownAddress.ts +0 -117
  234. package/src/models/KnownIdentityData.ts +0 -69
  235. package/src/models/KnownPersonData.ts +0 -123
@@ -65,7 +65,7 @@ export interface SessionsApiInterface {
65
65
  */
66
66
  cancelSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CancelSessionResponse>;
67
67
  /**
68
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
68
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
69
69
  * @summary Create Advanced Provider Session
70
70
  * @param {CreateAdvancedProviderSessionRequest} [createAdvancedProviderSessionRequest]
71
71
  * @param {*} [options] Override http request option.
@@ -74,7 +74,7 @@ export interface SessionsApiInterface {
74
74
  */
75
75
  createAdvancedProviderSessionRaw(requestParameters: CreateAdvancedProviderSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateAdvancedProviderSessionResponse>>;
76
76
  /**
77
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
77
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
78
78
  * Create Advanced Provider Session
79
79
  */
80
80
  createAdvancedProviderSession(createAdvancedProviderSessionRequest?: CreateAdvancedProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateAdvancedProviderSessionResponse>;
@@ -152,7 +152,7 @@ export interface SessionsApiInterface {
152
152
  */
153
153
  listSessions(orderBy?: SessionOrdering, orderDirection?: OrderDirection, pageSize?: number, page?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
154
154
  /**
155
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
155
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
156
156
  * @summary Redact Session
157
157
  * @param {string} sessionId
158
158
  * @param {*} [options] Override http request option.
@@ -161,7 +161,7 @@ export interface SessionsApiInterface {
161
161
  */
162
162
  redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
163
163
  /**
164
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
164
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
165
165
  * Redact Session
166
166
  */
167
167
  redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
@@ -196,12 +196,12 @@ export declare class SessionsApi extends runtime.BaseAPI implements SessionsApiI
196
196
  */
197
197
  cancelSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CancelSessionResponse>;
198
198
  /**
199
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
199
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
200
200
  * Create Advanced Provider Session
201
201
  */
202
202
  createAdvancedProviderSessionRaw(requestParameters: CreateAdvancedProviderSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateAdvancedProviderSessionResponse>>;
203
203
  /**
204
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
204
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
205
205
  * Create Advanced Provider Session
206
206
  */
207
207
  createAdvancedProviderSession(createAdvancedProviderSessionRequest?: CreateAdvancedProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateAdvancedProviderSessionResponse>;
@@ -254,12 +254,12 @@ export declare class SessionsApi extends runtime.BaseAPI implements SessionsApiI
254
254
  */
255
255
  listSessions(orderBy?: SessionOrdering, orderDirection?: OrderDirection, pageSize?: number, page?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
256
256
  /**
257
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
257
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
258
258
  * Redact Session
259
259
  */
260
260
  redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
261
261
  /**
262
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
262
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
263
263
  * Redact Session
264
264
  */
265
265
  redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
@@ -64,7 +64,7 @@ export class SessionsApi extends runtime.BaseAPI {
64
64
  });
65
65
  }
66
66
  /**
67
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
67
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
68
68
  * Create Advanced Provider Session
69
69
  */
70
70
  createAdvancedProviderSessionRaw(requestParameters, initOverrides) {
@@ -90,7 +90,7 @@ export class SessionsApi extends runtime.BaseAPI {
90
90
  });
91
91
  }
92
92
  /**
93
- * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
93
+ * Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
94
94
  * Create Advanced Provider Session
95
95
  */
96
96
  createAdvancedProviderSession(createAdvancedProviderSessionRequest, initOverrides) {
@@ -292,7 +292,7 @@ export class SessionsApi extends runtime.BaseAPI {
292
292
  });
293
293
  }
294
294
  /**
295
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
295
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
296
296
  * Redact Session
297
297
  */
298
298
  redactSessionRaw(requestParameters, initOverrides) {
@@ -319,7 +319,7 @@ export class SessionsApi extends runtime.BaseAPI {
319
319
  });
320
320
  }
321
321
  /**
322
- * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
322
+ * Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
323
323
  * Redact Session
324
324
  */
325
325
  redactSession(sessionId, initOverrides) {
@@ -20,13 +20,13 @@ export interface AadhaarInput {
20
20
  * @type {string}
21
21
  * @memberof AadhaarInput
22
22
  */
23
- fullName?: string;
23
+ fullName?: string | null;
24
24
  /**
25
25
  * The user's date of birth, in `YYYY-MM-DD` format
26
26
  * @type {Date}
27
27
  * @memberof AadhaarInput
28
28
  */
29
- dateOfBirth?: Date;
29
+ dateOfBirth?: Date | null;
30
30
  }
31
31
  /**
32
32
  * Check if a given object implements the AadhaarInput interface.
@@ -35,6 +35,6 @@ export function AadhaarInputToJSON(value) {
35
35
  }
36
36
  return {
37
37
  'fullName': value['fullName'],
38
- 'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth']).toISOString().substring(0, 10)),
38
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
39
39
  };
40
40
  }
@@ -20,49 +20,49 @@ export interface Address {
20
20
  * @type {string}
21
21
  * @memberof Address
22
22
  */
23
- line1?: string;
23
+ line1?: string | null;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof Address
28
28
  */
29
- line2?: string;
29
+ line2?: string | null;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof Address
34
34
  */
35
- line3?: string;
35
+ line3?: string | null;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
39
  * @memberof Address
40
40
  */
41
- city?: string;
41
+ city?: string | null;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
45
  * @memberof Address
46
46
  */
47
- subdivision?: string;
47
+ subdivision?: string | null;
48
48
  /**
49
49
  *
50
50
  * @type {string}
51
51
  * @memberof Address
52
52
  */
53
- postalCode?: string;
53
+ postalCode?: string | null;
54
54
  /**
55
55
  *
56
56
  * @type {string}
57
57
  * @memberof Address
58
58
  */
59
- country?: string;
59
+ country?: string | null;
60
60
  /**
61
61
  *
62
62
  * @type {string}
63
63
  * @memberof Address
64
64
  */
65
- fullAddress?: string;
65
+ fullAddress?: string | null;
66
66
  }
67
67
  /**
68
68
  * Check if a given object implements the Address interface.
@@ -21,25 +21,25 @@ export interface AttachmentAccessKeys {
21
21
  * @type {string}
22
22
  * @memberof AttachmentAccessKeys
23
23
  */
24
- selfie?: string;
24
+ selfie?: string | null;
25
25
  /**
26
26
  *
27
27
  * @type {string}
28
28
  * @memberof AttachmentAccessKeys
29
29
  */
30
- documentFront?: string;
30
+ documentFront?: string | null;
31
31
  /**
32
32
  *
33
33
  * @type {string}
34
34
  * @memberof AttachmentAccessKeys
35
35
  */
36
- documentBack?: string;
36
+ documentBack?: string | null;
37
37
  /**
38
38
  *
39
39
  * @type {string}
40
40
  * @memberof AttachmentAccessKeys
41
41
  */
42
- documentPortrait?: string;
42
+ documentPortrait?: string | null;
43
43
  /**
44
44
  *
45
45
  * @type {ProviderAttachments}
@@ -20,25 +20,25 @@ export interface BangladeshNationalIdInput {
20
20
  * @type {string}
21
21
  * @memberof BangladeshNationalIdInput
22
22
  */
23
- nationalIdNumber?: string;
23
+ nationalIdNumber?: string | null;
24
24
  /**
25
25
  * The user's date of birth, in `YYYY-MM-DD` format
26
26
  * @type {Date}
27
27
  * @memberof BangladeshNationalIdInput
28
28
  */
29
- dateOfBirth?: Date;
29
+ dateOfBirth?: Date | null;
30
30
  /**
31
31
  * The user's full name
32
32
  * @type {string}
33
33
  * @memberof BangladeshNationalIdInput
34
34
  */
35
- name?: string;
35
+ name?: string | null;
36
36
  /**
37
37
  * The base64-encoded bytes of the photo collected from the user
38
38
  * @type {string}
39
39
  * @memberof BangladeshNationalIdInput
40
40
  */
41
- photoBase64?: string;
41
+ photoBase64?: string | null;
42
42
  }
43
43
  /**
44
44
  * Check if a given object implements the BangladeshNationalIdInput interface.
@@ -37,7 +37,7 @@ export function BangladeshNationalIdInputToJSON(value) {
37
37
  }
38
38
  return {
39
39
  'nationalIdNumber': value['nationalIdNumber'],
40
- 'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth']).toISOString().substring(0, 10)),
40
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
41
41
  'name': value['name'],
42
42
  'photoBase64': value['photoBase64'],
43
43
  };
@@ -32,7 +32,7 @@ export interface BrazilDigitalCnhInput {
32
32
  * @type {string}
33
33
  * @memberof BrazilDigitalCnhInput
34
34
  */
35
- digitalCnhFile?: string;
35
+ digitalCnhFile?: string | null;
36
36
  /**
37
37
  * The MIME Type of the file contained in `DigitalCnhFile`.
38
38
  *
@@ -40,13 +40,13 @@ export interface BrazilDigitalCnhInput {
40
40
  * @type {string}
41
41
  * @memberof BrazilDigitalCnhInput
42
42
  */
43
- digitalCnhFileContentType?: string;
43
+ digitalCnhFileContentType?: string | null;
44
44
  /**
45
45
  * The raw bytes of the image of the user's face, collected for biometric comparison.
46
46
  * @type {string}
47
47
  * @memberof BrazilDigitalCnhInput
48
48
  */
49
- facialBiometryPhoto?: string;
49
+ facialBiometryPhoto?: string | null;
50
50
  }
51
51
  /**
52
52
  * Check if a given object implements the BrazilDigitalCnhInput interface.
@@ -28,7 +28,7 @@ export interface CreateAdvancedProviderSessionRequest {
28
28
  * @type {ProviderInput}
29
29
  * @memberof CreateAdvancedProviderSessionRequest
30
30
  */
31
- providerInput?: ProviderInput;
31
+ providerInput?: ProviderInput | null;
32
32
  /**
33
33
  * The Redirect URL to which the user should be sent after the session is complete.
34
34
  *
@@ -36,7 +36,7 @@ export interface CreateAdvancedProviderSessionRequest {
36
36
  * @type {string}
37
37
  * @memberof CreateAdvancedProviderSessionRequest
38
38
  */
39
- redirectUrl?: string;
39
+ redirectUrl?: string | null;
40
40
  /**
41
41
  * The list of capabilities your integration supports. Capabilities are the core of Trinsic's whitelabel-with-optional-fallback offering.
42
42
  *
@@ -72,7 +72,7 @@ export interface CreateAdvancedProviderSessionRequest {
72
72
  * @type {boolean}
73
73
  * @memberof CreateAdvancedProviderSessionRequest
74
74
  */
75
- fallbackToHostedUI?: boolean;
75
+ fallbackToHostedUI?: boolean | null;
76
76
  }
77
77
  /**
78
78
  * Check if a given object implements the CreateAdvancedProviderSessionRequest interface.
@@ -33,7 +33,7 @@ export interface CreateHostedProviderSessionRequest {
33
33
  * @type {ProviderInput}
34
34
  * @memberof CreateHostedProviderSessionRequest
35
35
  */
36
- providerInput?: ProviderInput;
36
+ providerInput?: ProviderInput | null;
37
37
  }
38
38
  /**
39
39
  * Check if a given object implements the CreateHostedProviderSessionRequest interface.
@@ -32,7 +32,19 @@ export interface CreateHostedProviderSessionResponse {
32
32
  * @type {string}
33
33
  * @memberof CreateHostedProviderSessionResponse
34
34
  */
35
- launchUrl?: string;
35
+ launchUrl: string;
36
+ /**
37
+ * The `resultsAccessKey` for the Acceptance Session.
38
+ *
39
+ * This is an encrypted payload which contains the decryption key necessary to access the Session's Data Vault.
40
+ *
41
+ * Save this securely in your systems; it must be passed back with any API call which requires access to the Session's Data Vault.
42
+ *
43
+ * Trinsic cannot access a Session's Data Vault without this key.
44
+ * @type {string}
45
+ * @memberof CreateHostedProviderSessionResponse
46
+ */
47
+ resultsAccessKey: string;
36
48
  }
37
49
  /**
38
50
  * Check if a given object implements the CreateHostedProviderSessionResponse interface.
@@ -17,6 +17,10 @@
17
17
  export function instanceOfCreateHostedProviderSessionResponse(value) {
18
18
  if (!('sessionId' in value) || value['sessionId'] === undefined)
19
19
  return false;
20
+ if (!('launchUrl' in value) || value['launchUrl'] === undefined)
21
+ return false;
22
+ if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
23
+ return false;
20
24
  return true;
21
25
  }
22
26
  export function CreateHostedProviderSessionResponseFromJSON(json) {
@@ -28,7 +32,8 @@ export function CreateHostedProviderSessionResponseFromJSONTyped(json, ignoreDis
28
32
  }
29
33
  return {
30
34
  'sessionId': json['sessionId'],
31
- 'launchUrl': json['launchUrl'] == null ? undefined : json['launchUrl'],
35
+ 'launchUrl': json['launchUrl'],
36
+ 'resultsAccessKey': json['resultsAccessKey'],
32
37
  };
33
38
  }
34
39
  export function CreateHostedProviderSessionResponseToJSON(value) {
@@ -38,5 +43,6 @@ export function CreateHostedProviderSessionResponseToJSON(value) {
38
43
  return {
39
44
  'sessionId': value['sessionId'],
40
45
  'launchUrl': value['launchUrl'],
46
+ 'resultsAccessKey': value['resultsAccessKey'],
41
47
  };
42
48
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { KnownIdentityData } from './KnownIdentityData';
12
+ import type { RecommendationInfo } from './RecommendationInfo';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -24,21 +24,22 @@ export interface CreateWidgetSessionRequest {
24
24
  * @type {string}
25
25
  * @memberof CreateWidgetSessionRequest
26
26
  */
27
- redirectUrl?: string;
27
+ redirectUrl?: string | null;
28
28
  /**
29
29
  * The list of allowed identity providers. If not specified, all available providers will be allowed.
30
30
  * @type {Array<string>}
31
31
  * @memberof CreateWidgetSessionRequest
32
32
  */
33
- providers?: Array<string>;
33
+ providers?: Array<string> | null;
34
34
  /**
35
- * Known identity data of an individual being verified.
35
+ * Data that you already know about the user being verified.
36
36
  *
37
- * Provide this to Trinsic during Session creation to enable improved identity provider selection recommendations.
38
- * @type {KnownIdentityData}
37
+ *
38
+ * This data is used to improve the user experience during provider selection, by surfacing the most relevant providers first.
39
+ * @type {RecommendationInfo}
39
40
  * @memberof CreateWidgetSessionRequest
40
41
  */
41
- knownIdentityData?: KnownIdentityData;
42
+ recommendationInfo?: RecommendationInfo | null;
42
43
  }
43
44
  /**
44
45
  * Check if a given object implements the CreateWidgetSessionRequest interface.
@@ -11,7 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { KnownIdentityDataFromJSON, KnownIdentityDataToJSON, } from './KnownIdentityData';
14
+ import { RecommendationInfoFromJSON, RecommendationInfoToJSON, } from './RecommendationInfo';
15
15
  /**
16
16
  * Check if a given object implements the CreateWidgetSessionRequest interface.
17
17
  */
@@ -28,7 +28,7 @@ export function CreateWidgetSessionRequestFromJSONTyped(json, ignoreDiscriminato
28
28
  return {
29
29
  'redirectUrl': json['redirectUrl'] == null ? undefined : json['redirectUrl'],
30
30
  'providers': json['providers'] == null ? undefined : json['providers'],
31
- 'knownIdentityData': json['knownIdentityData'] == null ? undefined : KnownIdentityDataFromJSON(json['knownIdentityData']),
31
+ 'recommendationInfo': json['recommendationInfo'] == null ? undefined : RecommendationInfoFromJSON(json['recommendationInfo']),
32
32
  };
33
33
  }
34
34
  export function CreateWidgetSessionRequestToJSON(value) {
@@ -38,6 +38,6 @@ export function CreateWidgetSessionRequestToJSON(value) {
38
38
  return {
39
39
  'redirectUrl': value['redirectUrl'],
40
40
  'providers': value['providers'],
41
- 'knownIdentityData': KnownIdentityDataToJSON(value['knownIdentityData']),
41
+ 'recommendationInfo': RecommendationInfoToJSON(value['recommendationInfo']),
42
42
  };
43
43
  }
@@ -30,7 +30,19 @@ export interface CreateWidgetSessionResponse {
30
30
  * @type {string}
31
31
  * @memberof CreateWidgetSessionResponse
32
32
  */
33
- launchUrl?: string;
33
+ launchUrl: string;
34
+ /**
35
+ * The `resultsAccessKey` for the Acceptance Session.
36
+ *
37
+ * This is an encrypted payload which contains the decryption key necessary to access the Session's Data Vault.
38
+ *
39
+ * Save this securely in your systems; it must be passed back with any API call which requires access to the Session's Data Vault.
40
+ *
41
+ * Trinsic cannot access a Session's Data Vault without this key.
42
+ * @type {string}
43
+ * @memberof CreateWidgetSessionResponse
44
+ */
45
+ resultsAccessKey: string;
34
46
  }
35
47
  /**
36
48
  * Check if a given object implements the CreateWidgetSessionResponse interface.
@@ -17,6 +17,10 @@
17
17
  export function instanceOfCreateWidgetSessionResponse(value) {
18
18
  if (!('sessionId' in value) || value['sessionId'] === undefined)
19
19
  return false;
20
+ if (!('launchUrl' in value) || value['launchUrl'] === undefined)
21
+ return false;
22
+ if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
23
+ return false;
20
24
  return true;
21
25
  }
22
26
  export function CreateWidgetSessionResponseFromJSON(json) {
@@ -28,7 +32,8 @@ export function CreateWidgetSessionResponseFromJSONTyped(json, ignoreDiscriminat
28
32
  }
29
33
  return {
30
34
  'sessionId': json['sessionId'],
31
- 'launchUrl': json['launchUrl'] == null ? undefined : json['launchUrl'],
35
+ 'launchUrl': json['launchUrl'],
36
+ 'resultsAccessKey': json['resultsAccessKey'],
32
37
  };
33
38
  }
34
39
  export function CreateWidgetSessionResponseToJSON(value) {
@@ -38,5 +43,6 @@ export function CreateWidgetSessionResponseToJSON(value) {
38
43
  return {
39
44
  'sessionId': value['sessionId'],
40
45
  'launchUrl': value['launchUrl'],
46
+ 'resultsAccessKey': value['resultsAccessKey'],
41
47
  };
42
48
  }
@@ -21,37 +21,37 @@ export interface DocumentData {
21
21
  * @type {DocumentType}
22
22
  * @memberof DocumentData
23
23
  */
24
- type?: DocumentType;
24
+ type?: DocumentType | null;
25
25
  /**
26
26
  *
27
27
  * @type {string}
28
28
  * @memberof DocumentData
29
29
  */
30
- number?: string;
30
+ number?: string | null;
31
31
  /**
32
32
  *
33
33
  * @type {Date}
34
34
  * @memberof DocumentData
35
35
  */
36
- issueDate?: Date;
36
+ issueDate?: Date | null;
37
37
  /**
38
38
  *
39
39
  * @type {Date}
40
40
  * @memberof DocumentData
41
41
  */
42
- expirationDate?: Date;
42
+ expirationDate?: Date | null;
43
43
  /**
44
44
  *
45
45
  * @type {string}
46
46
  * @memberof DocumentData
47
47
  */
48
- issuingCountry?: string;
48
+ issuingCountry?: string | null;
49
49
  /**
50
50
  *
51
51
  * @type {string}
52
52
  * @memberof DocumentData
53
53
  */
54
- issuingAuthority?: string;
54
+ issuingAuthority?: string | null;
55
55
  }
56
56
  /**
57
57
  * Check if a given object implements the DocumentData interface.
@@ -41,8 +41,8 @@ export function DocumentDataToJSON(value) {
41
41
  return {
42
42
  'type': DocumentTypeToJSON(value['type']),
43
43
  'number': value['number'],
44
- 'issueDate': value['issueDate'] == null ? undefined : ((value['issueDate']).toISOString().substring(0, 10)),
45
- 'expirationDate': value['expirationDate'] == null ? undefined : ((value['expirationDate']).toISOString().substring(0, 10)),
44
+ 'issueDate': value['issueDate'] == null ? undefined : (value['issueDate'].toISOString().substring(0, 10)),
45
+ 'expirationDate': value['expirationDate'] == null ? undefined : (value['expirationDate'].toISOString().substring(0, 10)),
46
46
  'issuingCountry': value['issuingCountry'],
47
47
  'issuingAuthority': value['issuingAuthority'],
48
48
  };
@@ -20,7 +20,7 @@ export interface DocumentScanAttachments {
20
20
  * @type {string}
21
21
  * @memberof DocumentScanAttachments
22
22
  */
23
- report?: string;
23
+ report?: string | null;
24
24
  }
25
25
  /**
26
26
  * Check if a given object implements the DocumentScanAttachments interface.
@@ -28,7 +28,7 @@ export interface GetSessionResultResponse {
28
28
  * @type {IdentityData}
29
29
  * @memberof GetSessionResultResponse
30
30
  */
31
- identityData?: IdentityData;
31
+ identityData?: IdentityData | null;
32
32
  }
33
33
  /**
34
34
  * Check if a given object implements the GetSessionResultResponse interface.
@@ -20,31 +20,31 @@ export interface HttpValidationProblemDetails {
20
20
  * @type {string}
21
21
  * @memberof HttpValidationProblemDetails
22
22
  */
23
- type?: string;
23
+ type?: string | null;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof HttpValidationProblemDetails
28
28
  */
29
- title?: string;
29
+ title?: string | null;
30
30
  /**
31
31
  *
32
32
  * @type {number}
33
33
  * @memberof HttpValidationProblemDetails
34
34
  */
35
- status?: number;
35
+ status?: number | null;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
39
  * @memberof HttpValidationProblemDetails
40
40
  */
41
- detail?: string;
41
+ detail?: string | null;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
45
  * @memberof HttpValidationProblemDetails
46
46
  */
47
- instance?: string;
47
+ instance?: string | null;
48
48
  /**
49
49
  *
50
50
  * @type {{ [key: string]: Array<string>; }}
@@ -23,25 +23,31 @@ export interface IdentityData {
23
23
  * @type {string}
24
24
  * @memberof IdentityData
25
25
  */
26
- originatingProviderId?: string;
26
+ originatingProviderId?: string | null;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof IdentityData
31
+ */
32
+ originatingSubProviderId?: string | null;
27
33
  /**
28
34
  *
29
35
  * @type {PersonData}
30
36
  * @memberof IdentityData
31
37
  */
32
- person?: PersonData;
38
+ person?: PersonData | null;
33
39
  /**
34
40
  *
35
41
  * @type {DocumentData}
36
42
  * @memberof IdentityData
37
43
  */
38
- document?: DocumentData;
44
+ document?: DocumentData | null;
39
45
  /**
40
46
  *
41
47
  * @type {AttachmentAccessKeys}
42
48
  * @memberof IdentityData
43
49
  */
44
- attachmentAccessKeys?: AttachmentAccessKeys;
50
+ attachmentAccessKeys?: AttachmentAccessKeys | null;
45
51
  }
46
52
  /**
47
53
  * Check if a given object implements the IdentityData interface.