@trinsic/api 3.0.1 → 3.0.2-preview1

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 (205) hide show
  1. package/.openapi-generator/FILES +27 -0
  2. package/dist/apis/ProvidersApi.d.ts +28 -1
  3. package/dist/apis/ProvidersApi.js +37 -0
  4. package/dist/apis/VerificationProfilesApi.d.ts +6 -2
  5. package/dist/apis/VerificationProfilesApi.js +8 -2
  6. package/dist/esm/apis/ProvidersApi.d.ts +28 -1
  7. package/dist/esm/apis/ProvidersApi.js +38 -1
  8. package/dist/esm/apis/VerificationProfilesApi.d.ts +6 -2
  9. package/dist/esm/apis/VerificationProfilesApi.js +8 -2
  10. package/dist/esm/models/AadhaarClaims.d.ts +125 -0
  11. package/dist/esm/models/AadhaarClaims.js +69 -0
  12. package/dist/esm/models/AadhaarLanguage.d.ts +55 -0
  13. package/dist/esm/models/AadhaarLanguage.js +44 -0
  14. package/dist/esm/models/AadhaarLocalizedClaims.d.ts +99 -0
  15. package/dist/esm/models/AadhaarLocalizedClaims.js +64 -0
  16. package/dist/esm/models/AppleWalletInput.d.ts +13 -0
  17. package/dist/esm/models/AppleWalletInput.js +3 -0
  18. package/dist/esm/models/ConnectIdAddress.d.ts +58 -0
  19. package/dist/esm/models/ConnectIdAddress.js +49 -0
  20. package/dist/esm/models/ConnectIdAgeVerification.d.ts +38 -0
  21. package/dist/esm/models/ConnectIdAgeVerification.js +43 -0
  22. package/dist/esm/models/ConnectIdBeneficiaryAccount.d.ts +52 -0
  23. package/dist/esm/models/ConnectIdBeneficiaryAccount.js +47 -0
  24. package/dist/esm/models/ConnectIdProviderOutput.d.ts +97 -0
  25. package/dist/esm/models/ConnectIdProviderOutput.js +64 -0
  26. package/dist/esm/models/CzechMojeIdAddressOutput.d.ts +62 -0
  27. package/dist/esm/models/CzechMojeIdAddressOutput.js +51 -0
  28. package/dist/esm/models/CzechMojeIdProviderOutput.d.ts +177 -0
  29. package/dist/esm/models/CzechMojeIdProviderOutput.js +86 -0
  30. package/dist/esm/models/DigilockerAadhaarProviderOutput.d.ts +82 -0
  31. package/dist/esm/models/DigilockerAadhaarProviderOutput.js +57 -0
  32. package/dist/esm/models/FaydaProviderOutput.d.ts +20 -0
  33. package/dist/esm/models/FaydaProviderOutput.js +6 -0
  34. package/dist/esm/models/FinnishTrustNetworkProviderOutput.d.ts +123 -0
  35. package/dist/esm/models/FinnishTrustNetworkProviderOutput.js +61 -0
  36. package/dist/esm/models/FranceIdentiteInput.d.ts +35 -0
  37. package/dist/esm/models/FranceIdentiteInput.js +42 -0
  38. package/dist/esm/models/FranceIdentiteProviderOutput.d.ts +33 -0
  39. package/dist/esm/models/FranceIdentiteProviderOutput.js +44 -0
  40. package/dist/esm/models/FrejaIndirectProviderOutput.d.ts +53 -0
  41. package/dist/esm/models/FrejaIndirectProviderOutput.js +55 -0
  42. package/dist/esm/models/FrejaProviderOutput.d.ts +103 -11
  43. package/dist/esm/models/FrejaProviderOutput.js +38 -16
  44. package/dist/esm/models/GetProviderResponse.d.ts +33 -0
  45. package/dist/esm/models/GetProviderResponse.js +44 -0
  46. package/dist/esm/models/GoogleWalletInput.d.ts +11 -0
  47. package/dist/esm/models/GoogleWalletInput.js +3 -0
  48. package/dist/esm/models/IntegrationStep.d.ts +1 -1
  49. package/dist/esm/models/NigeriaNinLookup2ProviderOutput.d.ts +112 -0
  50. package/dist/esm/models/NigeriaNinLookup2ProviderOutput.js +69 -0
  51. package/dist/esm/models/NorwegianBankIdProviderOutput.d.ts +97 -0
  52. package/dist/esm/models/NorwegianBankIdProviderOutput.js +55 -0
  53. package/dist/esm/models/OneIdProviderAddress.d.ts +56 -0
  54. package/dist/esm/models/OneIdProviderAddress.js +49 -0
  55. package/dist/esm/models/OneIdProviderOutput.d.ts +63 -0
  56. package/dist/esm/models/OneIdProviderOutput.js +52 -0
  57. package/dist/esm/models/OutputFrejaAddress.d.ts +50 -0
  58. package/dist/esm/models/OutputFrejaAddress.js +47 -0
  59. package/dist/esm/models/OutputFrejaDocument.d.ts +56 -0
  60. package/dist/esm/models/OutputFrejaDocument.js +47 -0
  61. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +64 -0
  62. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +20 -0
  63. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +54 -1
  64. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +16 -0
  65. package/dist/esm/models/ProviderInput.d.ts +21 -0
  66. package/dist/esm/models/ProviderInput.js +9 -0
  67. package/dist/esm/models/ProviderOutput.d.ts +82 -3
  68. package/dist/esm/models/ProviderOutput.js +35 -2
  69. package/dist/esm/models/Raw18013DocumentRequest.d.ts +60 -0
  70. package/dist/esm/models/Raw18013DocumentRequest.js +47 -0
  71. package/dist/esm/models/Raw18013RequestInput.d.ts +38 -0
  72. package/dist/esm/models/Raw18013RequestInput.js +44 -0
  73. package/dist/esm/models/RecommendProvidersResponse.d.ts +6 -0
  74. package/dist/esm/models/RecommendProvidersResponse.js +4 -0
  75. package/dist/esm/models/SamsungWalletInput.d.ts +37 -0
  76. package/dist/esm/models/SamsungWalletInput.js +42 -0
  77. package/dist/esm/models/UkEvisaLookupInput.d.ts +38 -0
  78. package/dist/esm/models/UkEvisaLookupInput.js +47 -0
  79. package/dist/esm/models/UnitedKingdomEvisaProviderOutput.d.ts +106 -0
  80. package/dist/esm/models/UnitedKingdomEvisaProviderOutput.js +61 -0
  81. package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
  82. package/dist/esm/models/VerificationProfileResponse.js +4 -0
  83. package/dist/esm/models/YotiDeeplinkProviderOutput.d.ts +112 -0
  84. package/dist/esm/models/YotiDeeplinkProviderOutput.js +65 -0
  85. package/dist/esm/models/index.d.ts +27 -0
  86. package/dist/esm/models/index.js +27 -0
  87. package/dist/models/AadhaarClaims.d.ts +125 -0
  88. package/dist/models/AadhaarClaims.js +76 -0
  89. package/dist/models/AadhaarLanguage.d.ts +55 -0
  90. package/dist/models/AadhaarLanguage.js +51 -0
  91. package/dist/models/AadhaarLocalizedClaims.d.ts +99 -0
  92. package/dist/models/AadhaarLocalizedClaims.js +71 -0
  93. package/dist/models/AppleWalletInput.d.ts +13 -0
  94. package/dist/models/AppleWalletInput.js +3 -0
  95. package/dist/models/ConnectIdAddress.d.ts +58 -0
  96. package/dist/models/ConnectIdAddress.js +56 -0
  97. package/dist/models/ConnectIdAgeVerification.d.ts +38 -0
  98. package/dist/models/ConnectIdAgeVerification.js +50 -0
  99. package/dist/models/ConnectIdBeneficiaryAccount.d.ts +52 -0
  100. package/dist/models/ConnectIdBeneficiaryAccount.js +54 -0
  101. package/dist/models/ConnectIdProviderOutput.d.ts +97 -0
  102. package/dist/models/ConnectIdProviderOutput.js +71 -0
  103. package/dist/models/CzechMojeIdAddressOutput.d.ts +62 -0
  104. package/dist/models/CzechMojeIdAddressOutput.js +58 -0
  105. package/dist/models/CzechMojeIdProviderOutput.d.ts +177 -0
  106. package/dist/models/CzechMojeIdProviderOutput.js +93 -0
  107. package/dist/models/DigilockerAadhaarProviderOutput.d.ts +82 -0
  108. package/dist/models/DigilockerAadhaarProviderOutput.js +64 -0
  109. package/dist/models/FaydaProviderOutput.d.ts +20 -0
  110. package/dist/models/FaydaProviderOutput.js +6 -0
  111. package/dist/models/FinnishTrustNetworkProviderOutput.d.ts +123 -0
  112. package/dist/models/FinnishTrustNetworkProviderOutput.js +68 -0
  113. package/dist/models/FranceIdentiteInput.d.ts +35 -0
  114. package/dist/models/FranceIdentiteInput.js +49 -0
  115. package/dist/models/FranceIdentiteProviderOutput.d.ts +33 -0
  116. package/dist/models/FranceIdentiteProviderOutput.js +51 -0
  117. package/dist/models/FrejaIndirectProviderOutput.d.ts +53 -0
  118. package/dist/models/FrejaIndirectProviderOutput.js +62 -0
  119. package/dist/models/FrejaProviderOutput.d.ts +103 -11
  120. package/dist/models/FrejaProviderOutput.js +38 -16
  121. package/dist/models/GetProviderResponse.d.ts +33 -0
  122. package/dist/models/GetProviderResponse.js +51 -0
  123. package/dist/models/GoogleWalletInput.d.ts +11 -0
  124. package/dist/models/GoogleWalletInput.js +3 -0
  125. package/dist/models/IntegrationStep.d.ts +1 -1
  126. package/dist/models/NigeriaNinLookup2ProviderOutput.d.ts +112 -0
  127. package/dist/models/NigeriaNinLookup2ProviderOutput.js +76 -0
  128. package/dist/models/NorwegianBankIdProviderOutput.d.ts +97 -0
  129. package/dist/models/NorwegianBankIdProviderOutput.js +62 -0
  130. package/dist/models/OneIdProviderAddress.d.ts +56 -0
  131. package/dist/models/OneIdProviderAddress.js +56 -0
  132. package/dist/models/OneIdProviderOutput.d.ts +63 -0
  133. package/dist/models/OneIdProviderOutput.js +59 -0
  134. package/dist/models/OutputFrejaAddress.d.ts +50 -0
  135. package/dist/models/OutputFrejaAddress.js +54 -0
  136. package/dist/models/OutputFrejaDocument.d.ts +56 -0
  137. package/dist/models/OutputFrejaDocument.js +54 -0
  138. package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +64 -0
  139. package/dist/models/PhilippinesDigitalNidProviderOutput.js +20 -0
  140. package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +54 -1
  141. package/dist/models/PhilippinesPhysicalNidProviderOutput.js +16 -0
  142. package/dist/models/ProviderInput.d.ts +21 -0
  143. package/dist/models/ProviderInput.js +9 -0
  144. package/dist/models/ProviderOutput.d.ts +82 -3
  145. package/dist/models/ProviderOutput.js +35 -2
  146. package/dist/models/Raw18013DocumentRequest.d.ts +60 -0
  147. package/dist/models/Raw18013DocumentRequest.js +54 -0
  148. package/dist/models/Raw18013RequestInput.d.ts +38 -0
  149. package/dist/models/Raw18013RequestInput.js +51 -0
  150. package/dist/models/RecommendProvidersResponse.d.ts +6 -0
  151. package/dist/models/RecommendProvidersResponse.js +4 -0
  152. package/dist/models/SamsungWalletInput.d.ts +37 -0
  153. package/dist/models/SamsungWalletInput.js +49 -0
  154. package/dist/models/UkEvisaLookupInput.d.ts +38 -0
  155. package/dist/models/UkEvisaLookupInput.js +54 -0
  156. package/dist/models/UnitedKingdomEvisaProviderOutput.d.ts +106 -0
  157. package/dist/models/UnitedKingdomEvisaProviderOutput.js +68 -0
  158. package/dist/models/VerificationProfileResponse.d.ts +6 -0
  159. package/dist/models/VerificationProfileResponse.js +4 -0
  160. package/dist/models/YotiDeeplinkProviderOutput.d.ts +112 -0
  161. package/dist/models/YotiDeeplinkProviderOutput.js +72 -0
  162. package/dist/models/index.d.ts +27 -0
  163. package/dist/models/index.js +27 -0
  164. package/package.json +1 -1
  165. package/src/apis/ProvidersApi.ts +66 -0
  166. package/src/apis/VerificationProfilesApi.ts +15 -3
  167. package/src/models/AadhaarClaims.ts +186 -0
  168. package/src/models/AadhaarLanguage.ts +90 -0
  169. package/src/models/AadhaarLocalizedClaims.ts +161 -0
  170. package/src/models/AppleWalletInput.ts +21 -0
  171. package/src/models/ConnectIdAddress.ts +99 -0
  172. package/src/models/ConnectIdAgeVerification.ts +73 -0
  173. package/src/models/ConnectIdBeneficiaryAccount.ts +91 -0
  174. package/src/models/ConnectIdProviderOutput.ts +169 -0
  175. package/src/models/CzechMojeIdAddressOutput.ts +105 -0
  176. package/src/models/CzechMojeIdProviderOutput.ts +261 -0
  177. package/src/models/DigilockerAadhaarProviderOutput.ts +141 -0
  178. package/src/models/FaydaProviderOutput.ts +26 -0
  179. package/src/models/FinnishTrustNetworkProviderOutput.ts +176 -0
  180. package/src/models/FranceIdentiteInput.ts +75 -0
  181. package/src/models/FranceIdentiteProviderOutput.ts +74 -0
  182. package/src/models/FrejaIndirectProviderOutput.ts +96 -0
  183. package/src/models/FrejaProviderOutput.ts +152 -23
  184. package/src/models/GetProviderResponse.ts +74 -0
  185. package/src/models/GoogleWalletInput.ts +19 -0
  186. package/src/models/IntegrationStep.ts +1 -1
  187. package/src/models/NigeriaNinLookup2ProviderOutput.ts +170 -0
  188. package/src/models/NorwegianBankIdProviderOutput.ts +144 -0
  189. package/src/models/OneIdProviderAddress.ts +97 -0
  190. package/src/models/OneIdProviderOutput.ts +113 -0
  191. package/src/models/OutputFrejaAddress.ts +89 -0
  192. package/src/models/OutputFrejaDocument.ts +95 -0
  193. package/src/models/PhilippinesDigitalNidProviderOutput.ts +84 -0
  194. package/src/models/PhilippinesPhysicalNidProviderOutput.ts +70 -1
  195. package/src/models/ProviderInput.ts +45 -0
  196. package/src/models/ProviderOutput.ts +172 -5
  197. package/src/models/Raw18013DocumentRequest.ts +93 -0
  198. package/src/models/Raw18013RequestInput.ts +79 -0
  199. package/src/models/RecommendProvidersResponse.ts +9 -0
  200. package/src/models/SamsungWalletInput.ts +77 -0
  201. package/src/models/UkEvisaLookupInput.ts +75 -0
  202. package/src/models/UnitedKingdomEvisaProviderOutput.ts +159 -0
  203. package/src/models/VerificationProfileResponse.ts +9 -0
  204. package/src/models/YotiDeeplinkProviderOutput.ts +180 -0
  205. package/src/models/index.ts +27 -0
@@ -0,0 +1,141 @@
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 { AadhaarLocalizedClaims } from './AadhaarLocalizedClaims';
17
+ import {
18
+ AadhaarLocalizedClaimsFromJSON,
19
+ AadhaarLocalizedClaimsFromJSONTyped,
20
+ AadhaarLocalizedClaimsToJSON,
21
+ AadhaarLocalizedClaimsToJSONTyped,
22
+ } from './AadhaarLocalizedClaims';
23
+ import type { AadhaarClaims } from './AadhaarClaims';
24
+ import {
25
+ AadhaarClaimsFromJSON,
26
+ AadhaarClaimsFromJSONTyped,
27
+ AadhaarClaimsToJSON,
28
+ AadhaarClaimsToJSONTyped,
29
+ } from './AadhaarClaims';
30
+
31
+ /**
32
+ * Exposed properties for the `india-digilocker-aadhaar` Provider which do not directly map to the normalized IdentityData model.
33
+ * @export
34
+ * @interface DigilockerAadhaarProviderOutput
35
+ */
36
+ export interface DigilockerAadhaarProviderOutput {
37
+ /**
38
+ * The document type from which the identity data was retrieved from.
39
+ *
40
+ * Possible values:
41
+ * - ADHAR
42
+ * - PANCR
43
+ * @type {string}
44
+ * @memberof DigilockerAadhaarProviderOutput
45
+ */
46
+ documentType?: string | null;
47
+ /**
48
+ * Whether the downloaded Aadhaar document signature and certificate chain validation succeeded.
49
+ *
50
+ * In some cases, the document may not be returned, but the data is. When the document is received, a certificate validation is performed. When it is not, the signature can not be validated.
51
+ * @type {boolean}
52
+ * @memberof DigilockerAadhaarProviderOutput
53
+ */
54
+ documentSignatureValidated: boolean;
55
+ /**
56
+ * The timestamp when the signed document was generated and verified.
57
+ *
58
+ * This is parsed as a date-time value. Aadhaar may omit timezone information.
59
+ * @type {Date}
60
+ * @memberof DigilockerAadhaarProviderOutput
61
+ */
62
+ timestamp?: Date | null;
63
+ /**
64
+ * The validity expiration timestamp for the verification document.
65
+ *
66
+ * This is parsed as a date-time value. Aadhaar may omit timezone information.
67
+ * @type {Date}
68
+ * @memberof DigilockerAadhaarProviderOutput
69
+ */
70
+ timeToLive?: Date | null;
71
+ /**
72
+ * The Aadhaar number (UID) value for the individual.
73
+ *
74
+ * This is only the last four digits of the Aadhaar number.
75
+ * @type {string}
76
+ * @memberof DigilockerAadhaarProviderOutput
77
+ */
78
+ aadhaarNumberLastFour?: string | null;
79
+ /**
80
+ * The claims extracted from the signed Aadhaar document.
81
+ * @type {AadhaarClaims}
82
+ * @memberof DigilockerAadhaarProviderOutput
83
+ */
84
+ claims?: AadhaarClaims | null;
85
+ /**
86
+ * The localized claims extracted from the signed Aadhaar document.
87
+ * @type {AadhaarLocalizedClaims}
88
+ * @memberof DigilockerAadhaarProviderOutput
89
+ */
90
+ localizedClaims?: AadhaarLocalizedClaims | null;
91
+ }
92
+
93
+ /**
94
+ * Check if a given object implements the DigilockerAadhaarProviderOutput interface.
95
+ */
96
+ export function instanceOfDigilockerAadhaarProviderOutput(value: object): value is DigilockerAadhaarProviderOutput {
97
+ if (!('documentSignatureValidated' in value) || value['documentSignatureValidated'] === undefined) return false;
98
+ return true;
99
+ }
100
+
101
+ export function DigilockerAadhaarProviderOutputFromJSON(json: any): DigilockerAadhaarProviderOutput {
102
+ return DigilockerAadhaarProviderOutputFromJSONTyped(json, false);
103
+ }
104
+
105
+ export function DigilockerAadhaarProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DigilockerAadhaarProviderOutput {
106
+ if (json == null) {
107
+ return json;
108
+ }
109
+ return {
110
+
111
+ 'documentType': json['documentType'] == null ? undefined : json['documentType'],
112
+ 'documentSignatureValidated': json['documentSignatureValidated'],
113
+ 'timestamp': json['timestamp'] == null ? undefined : (new Date(json['timestamp'])),
114
+ 'timeToLive': json['timeToLive'] == null ? undefined : (new Date(json['timeToLive'])),
115
+ 'aadhaarNumberLastFour': json['aadhaarNumberLastFour'] == null ? undefined : json['aadhaarNumberLastFour'],
116
+ 'claims': json['claims'] == null ? undefined : AadhaarClaimsFromJSON(json['claims']),
117
+ 'localizedClaims': json['localizedClaims'] == null ? undefined : AadhaarLocalizedClaimsFromJSON(json['localizedClaims']),
118
+ };
119
+ }
120
+
121
+ export function DigilockerAadhaarProviderOutputToJSON(json: any): DigilockerAadhaarProviderOutput {
122
+ return DigilockerAadhaarProviderOutputToJSONTyped(json, false);
123
+ }
124
+
125
+ export function DigilockerAadhaarProviderOutputToJSONTyped(value?: DigilockerAadhaarProviderOutput | null, ignoreDiscriminator: boolean = false): any {
126
+ if (value == null) {
127
+ return value;
128
+ }
129
+
130
+ return {
131
+
132
+ 'documentType': value['documentType'],
133
+ 'documentSignatureValidated': value['documentSignatureValidated'],
134
+ 'timestamp': value['timestamp'] == null ? undefined : ((value['timestamp'] as any).toISOString()),
135
+ 'timeToLive': value['timeToLive'] == null ? undefined : ((value['timeToLive'] as any).toISOString()),
136
+ 'aadhaarNumberLastFour': value['aadhaarNumberLastFour'],
137
+ 'claims': AadhaarClaimsToJSON(value['claims']),
138
+ 'localizedClaims': AadhaarLocalizedClaimsToJSON(value['localizedClaims']),
139
+ };
140
+ }
141
+
@@ -28,6 +28,26 @@ export interface FaydaProviderOutput {
28
28
  * @memberof FaydaProviderOutput
29
29
  */
30
30
  sub?: string | null;
31
+ /**
32
+ * The full name of the verified individual.
33
+ *
34
+ * This may be an English or Arabic name if the individual only has it one language, otherwise this will be null and the other names will be populated.
35
+ * @type {string}
36
+ * @memberof FaydaProviderOutput
37
+ */
38
+ name?: string | null;
39
+ /**
40
+ * The full English name of the verified individual.
41
+ * @type {string}
42
+ * @memberof FaydaProviderOutput
43
+ */
44
+ englishName?: string | null;
45
+ /**
46
+ * The full Arabic name of the verified individual.
47
+ * @type {string}
48
+ * @memberof FaydaProviderOutput
49
+ */
50
+ arabicName?: string | null;
31
51
  }
32
52
 
33
53
  /**
@@ -48,6 +68,9 @@ export function FaydaProviderOutputFromJSONTyped(json: any, ignoreDiscriminator:
48
68
  return {
49
69
 
50
70
  'sub': json['sub'] == null ? undefined : json['sub'],
71
+ 'name': json['name'] == null ? undefined : json['name'],
72
+ 'englishName': json['englishName'] == null ? undefined : json['englishName'],
73
+ 'arabicName': json['arabicName'] == null ? undefined : json['arabicName'],
51
74
  };
52
75
  }
53
76
 
@@ -63,6 +86,9 @@ export function FaydaProviderOutputToJSONTyped(value?: FaydaProviderOutput | nul
63
86
  return {
64
87
 
65
88
  'sub': value['sub'],
89
+ 'name': value['name'],
90
+ 'englishName': value['englishName'],
91
+ 'arabicName': value['arabicName'],
66
92
  };
67
93
  }
68
94
 
@@ -0,0 +1,176 @@
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
+ * Exposed properties for the `finnish-trust-network` Provider which do not directly map to the normalized IdentityData model.
18
+ * @export
19
+ * @interface FinnishTrustNetworkProviderOutput
20
+ */
21
+ export interface FinnishTrustNetworkProviderOutput {
22
+ /**
23
+ * The full name of the individual.
24
+ * @type {string}
25
+ * @memberof FinnishTrustNetworkProviderOutput
26
+ */
27
+ fullName?: string | null;
28
+ /**
29
+ * The date of birth of the individual.
30
+ * @type {Date}
31
+ * @memberof FinnishTrustNetworkProviderOutput
32
+ */
33
+ dateOfBirth?: Date | null;
34
+ /**
35
+ * The 11-digit Finnish Personal Identification Code (Henkilötunnus) of the verified individual.
36
+ *
37
+ * This is in the format DDMMYYCZZZQ, where:
38
+ * - DDMMYY is the date of birth
39
+ * - C is a symbol which determines the century of birth
40
+ * - ZZZ is an individual number, indicating gender
41
+ * - Q is a checksum character
42
+ *
43
+ * If ZZZ is even, the individual is female.
44
+ * If ZZZ is odd, the individual is male.
45
+ *
46
+ * If C is '+', the individual was born in the 19th century (1800-1899).
47
+ * If C is '-', 'U', 'V', 'W', 'X', or 'Y', the individual was born in the 20th century (1900-1999).
48
+ * If C is 'A', 'B', 'C', 'D', 'E', or 'F', the individual was born in the 21st century (2000-2099).
49
+ * @type {string}
50
+ * @memberof FinnishTrustNetworkProviderOutput
51
+ */
52
+ personalIdentificationCode?: string | null;
53
+ /**
54
+ * The 9-digit Finnish Unique Identification Number (FINUID, or sähköinen asiointitunnus SATU) of the verified individual.
55
+ * This number is typically used for online transactions and unlike the Finnish Personal Identification Code, does not reveal personal information such as birthdate.
56
+ *
57
+ * The first 8 digits are randomly generated and the last character is a check control.
58
+ * @type {string}
59
+ * @memberof FinnishTrustNetworkProviderOutput
60
+ */
61
+ uniqueIdentificationNumber?: string | null;
62
+ /**
63
+ * The given name of the individual.
64
+ * @type {string}
65
+ * @memberof FinnishTrustNetworkProviderOutput
66
+ */
67
+ givenName?: string | null;
68
+ /**
69
+ * The family name of the individual.
70
+ * @type {string}
71
+ * @memberof FinnishTrustNetworkProviderOutput
72
+ */
73
+ familyName?: string | null;
74
+ /**
75
+ * The level of assurance (LOA) for the verification.
76
+ *
77
+ * The LOA refers to the degree of confidence in the claimed identity of a person.
78
+ * The European Digital Identity Framework (EUDI) measures the confidence of the digital identity's verification and authentication strength by a set of requirements for different levels.
79
+ * To learn more, see: https://ec.europa.eu/digital-building-blocks/sites/spaces/DIGITAL/pages/467110081/eIDAS+Levels+of+Assurance
80
+ *
81
+ * Possible values:
82
+ * - Low: The user has self asserted their identity and multifactor authentication is not required.
83
+ * - Substantial: The user has performed either a remote or in-person identity verification and multifactor authentication is required.
84
+ * - High: The user has performed an in-person identity proofing with an authorized representative and has strong cryptographic authentication requirements such as using a smart card.
85
+ * @type {string}
86
+ * @memberof FinnishTrustNetworkProviderOutput
87
+ */
88
+ levelOfAssurance?: string | null;
89
+ /**
90
+ * The bank used to perform the identification for the verified individual.
91
+ * @type {string}
92
+ * @memberof FinnishTrustNetworkProviderOutput
93
+ */
94
+ bank?: string | null;
95
+ /**
96
+ * The phone number of the verified individual.
97
+ *
98
+ * This is only returned if the user authenticated with MobileID (Mobiilivarmenne).
99
+ * @type {string}
100
+ * @memberof FinnishTrustNetworkProviderOutput
101
+ */
102
+ phoneNumber?: string | null;
103
+ /**
104
+ * The organization name that the individual is associated with.
105
+ *
106
+ * This is returned for requests that contain the organization scope.
107
+ * @type {string}
108
+ * @memberof FinnishTrustNetworkProviderOutput
109
+ */
110
+ organizationName?: string | null;
111
+ /**
112
+ * The VAT number of the organization that the individual is associated with.
113
+ *
114
+ * This is returned for requests that contain the organization scope.
115
+ * @type {string}
116
+ * @memberof FinnishTrustNetworkProviderOutput
117
+ */
118
+ vatNumber?: string | null;
119
+ }
120
+
121
+ /**
122
+ * Check if a given object implements the FinnishTrustNetworkProviderOutput interface.
123
+ */
124
+ export function instanceOfFinnishTrustNetworkProviderOutput(value: object): value is FinnishTrustNetworkProviderOutput {
125
+ return true;
126
+ }
127
+
128
+ export function FinnishTrustNetworkProviderOutputFromJSON(json: any): FinnishTrustNetworkProviderOutput {
129
+ return FinnishTrustNetworkProviderOutputFromJSONTyped(json, false);
130
+ }
131
+
132
+ export function FinnishTrustNetworkProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FinnishTrustNetworkProviderOutput {
133
+ if (json == null) {
134
+ return json;
135
+ }
136
+ return {
137
+
138
+ 'fullName': json['fullName'] == null ? undefined : json['fullName'],
139
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
140
+ 'personalIdentificationCode': json['personalIdentificationCode'] == null ? undefined : json['personalIdentificationCode'],
141
+ 'uniqueIdentificationNumber': json['uniqueIdentificationNumber'] == null ? undefined : json['uniqueIdentificationNumber'],
142
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
143
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
144
+ 'levelOfAssurance': json['levelOfAssurance'] == null ? undefined : json['levelOfAssurance'],
145
+ 'bank': json['bank'] == null ? undefined : json['bank'],
146
+ 'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
147
+ 'organizationName': json['organizationName'] == null ? undefined : json['organizationName'],
148
+ 'vatNumber': json['vatNumber'] == null ? undefined : json['vatNumber'],
149
+ };
150
+ }
151
+
152
+ export function FinnishTrustNetworkProviderOutputToJSON(json: any): FinnishTrustNetworkProviderOutput {
153
+ return FinnishTrustNetworkProviderOutputToJSONTyped(json, false);
154
+ }
155
+
156
+ export function FinnishTrustNetworkProviderOutputToJSONTyped(value?: FinnishTrustNetworkProviderOutput | null, ignoreDiscriminator: boolean = false): any {
157
+ if (value == null) {
158
+ return value;
159
+ }
160
+
161
+ return {
162
+
163
+ 'fullName': value['fullName'],
164
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
165
+ 'personalIdentificationCode': value['personalIdentificationCode'],
166
+ 'uniqueIdentificationNumber': value['uniqueIdentificationNumber'],
167
+ 'givenName': value['givenName'],
168
+ 'familyName': value['familyName'],
169
+ 'levelOfAssurance': value['levelOfAssurance'],
170
+ 'bank': value['bank'],
171
+ 'phoneNumber': value['phoneNumber'],
172
+ 'organizationName': value['organizationName'],
173
+ 'vatNumber': value['vatNumber'],
174
+ };
175
+ }
176
+
@@ -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
+ import type { Raw18013RequestInput } from './Raw18013RequestInput';
17
+ import {
18
+ Raw18013RequestInputFromJSON,
19
+ Raw18013RequestInputFromJSONTyped,
20
+ Raw18013RequestInputToJSON,
21
+ Raw18013RequestInputToJSONTyped,
22
+ } from './Raw18013RequestInput';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface FranceIdentiteInput
28
+ */
29
+ export interface FranceIdentiteInput {
30
+ /**
31
+ * The raw 18013-7 exchange request to use for this verification.
32
+ *
33
+ * If set, this overrides any default configuration on your Verification Profile.
34
+ * @type {Raw18013RequestInput}
35
+ * @memberof FranceIdentiteInput
36
+ */
37
+ previewRaw18013Request?: Raw18013RequestInput | null;
38
+ }
39
+
40
+ /**
41
+ * Check if a given object implements the FranceIdentiteInput interface.
42
+ */
43
+ export function instanceOfFranceIdentiteInput(value: object): value is FranceIdentiteInput {
44
+ return true;
45
+ }
46
+
47
+ export function FranceIdentiteInputFromJSON(json: any): FranceIdentiteInput {
48
+ return FranceIdentiteInputFromJSONTyped(json, false);
49
+ }
50
+
51
+ export function FranceIdentiteInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FranceIdentiteInput {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+
57
+ 'previewRaw18013Request': json['preview_raw18013Request'] == null ? undefined : Raw18013RequestInputFromJSON(json['preview_raw18013Request']),
58
+ };
59
+ }
60
+
61
+ export function FranceIdentiteInputToJSON(json: any): FranceIdentiteInput {
62
+ return FranceIdentiteInputToJSONTyped(json, false);
63
+ }
64
+
65
+ export function FranceIdentiteInputToJSONTyped(value?: FranceIdentiteInput | null, ignoreDiscriminator: boolean = false): any {
66
+ if (value == null) {
67
+ return value;
68
+ }
69
+
70
+ return {
71
+
72
+ 'preview_raw18013Request': Raw18013RequestInputToJSON(value['previewRaw18013Request']),
73
+ };
74
+ }
75
+
@@ -0,0 +1,74 @@
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 { MdlOutput } from './MdlOutput';
17
+ import {
18
+ MdlOutputFromJSON,
19
+ MdlOutputFromJSONTyped,
20
+ MdlOutputToJSON,
21
+ MdlOutputToJSONTyped,
22
+ } from './MdlOutput';
23
+
24
+ /**
25
+ * Exposed properties for the `france-identite` Provider which do not directly map to the normalized IdentityData model.
26
+ * @export
27
+ * @interface FranceIdentiteProviderOutput
28
+ */
29
+ export interface FranceIdentiteProviderOutput {
30
+ /**
31
+ * The raw output of the 18013-7 exchange performed through France Identité.
32
+ * @type {MdlOutput}
33
+ * @memberof FranceIdentiteProviderOutput
34
+ */
35
+ raw18013Output: MdlOutput;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the FranceIdentiteProviderOutput interface.
40
+ */
41
+ export function instanceOfFranceIdentiteProviderOutput(value: object): value is FranceIdentiteProviderOutput {
42
+ if (!('raw18013Output' in value) || value['raw18013Output'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function FranceIdentiteProviderOutputFromJSON(json: any): FranceIdentiteProviderOutput {
47
+ return FranceIdentiteProviderOutputFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function FranceIdentiteProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FranceIdentiteProviderOutput {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'raw18013Output': MdlOutputFromJSON(json['raw18013Output']),
57
+ };
58
+ }
59
+
60
+ export function FranceIdentiteProviderOutputToJSON(json: any): FranceIdentiteProviderOutput {
61
+ return FranceIdentiteProviderOutputToJSONTyped(json, false);
62
+ }
63
+
64
+ export function FranceIdentiteProviderOutputToJSONTyped(value?: FranceIdentiteProviderOutput | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'raw18013Output': MdlOutputToJSON(value['raw18013Output']),
72
+ };
73
+ }
74
+
@@ -0,0 +1,96 @@
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
+ * Exposed properties for the `a-freja-eid-login` Provider which do not directly map to the normalized IdentityData model.
18
+ * @export
19
+ * @interface FrejaIndirectProviderOutput
20
+ */
21
+ export interface FrejaIndirectProviderOutput {
22
+ /**
23
+ * The first name of the verified individual
24
+ * @type {string}
25
+ * @memberof FrejaIndirectProviderOutput
26
+ */
27
+ firstName: string;
28
+ /**
29
+ * The last name of the verified individual
30
+ * @type {string}
31
+ * @memberof FrejaIndirectProviderOutput
32
+ */
33
+ lastName: string;
34
+ /**
35
+ * The value returned by Freja in the "ssn" field.
36
+ *
37
+ * The actual value of this field depends on the country of origin used to create the Freja credential. It is typically
38
+ * a Social Security Number, National Identification Number, or equivalent personal identifier.
39
+ * @type {string}
40
+ * @memberof FrejaIndirectProviderOutput
41
+ */
42
+ personalNumber: string;
43
+ /**
44
+ * The 2-digit ISO country code of the country which issued the personal number.
45
+ * @type {string}
46
+ * @memberof FrejaIndirectProviderOutput
47
+ */
48
+ personalNumberCountry: string;
49
+ }
50
+
51
+ /**
52
+ * Check if a given object implements the FrejaIndirectProviderOutput interface.
53
+ */
54
+ export function instanceOfFrejaIndirectProviderOutput(value: object): value is FrejaIndirectProviderOutput {
55
+ if (!('firstName' in value) || value['firstName'] === undefined) return false;
56
+ if (!('lastName' in value) || value['lastName'] === undefined) return false;
57
+ if (!('personalNumber' in value) || value['personalNumber'] === undefined) return false;
58
+ if (!('personalNumberCountry' in value) || value['personalNumberCountry'] === undefined) return false;
59
+ return true;
60
+ }
61
+
62
+ export function FrejaIndirectProviderOutputFromJSON(json: any): FrejaIndirectProviderOutput {
63
+ return FrejaIndirectProviderOutputFromJSONTyped(json, false);
64
+ }
65
+
66
+ export function FrejaIndirectProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FrejaIndirectProviderOutput {
67
+ if (json == null) {
68
+ return json;
69
+ }
70
+ return {
71
+
72
+ 'firstName': json['firstName'],
73
+ 'lastName': json['lastName'],
74
+ 'personalNumber': json['personalNumber'],
75
+ 'personalNumberCountry': json['personalNumberCountry'],
76
+ };
77
+ }
78
+
79
+ export function FrejaIndirectProviderOutputToJSON(json: any): FrejaIndirectProviderOutput {
80
+ return FrejaIndirectProviderOutputToJSONTyped(json, false);
81
+ }
82
+
83
+ export function FrejaIndirectProviderOutputToJSONTyped(value?: FrejaIndirectProviderOutput | null, ignoreDiscriminator: boolean = false): any {
84
+ if (value == null) {
85
+ return value;
86
+ }
87
+
88
+ return {
89
+
90
+ 'firstName': value['firstName'],
91
+ 'lastName': value['lastName'],
92
+ 'personalNumber': value['personalNumber'],
93
+ 'personalNumberCountry': value['personalNumberCountry'],
94
+ };
95
+ }
96
+