@trinsic/api 3.0.0 → 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 (215) hide show
  1. package/.openapi-generator/FILES +29 -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/KenyaNidLookup2Address.d.ts +90 -0
  50. package/dist/esm/models/KenyaNidLookup2Address.js +49 -0
  51. package/dist/esm/models/KenyaNidLookup2ProviderOutput.d.ts +114 -0
  52. package/dist/esm/models/KenyaNidLookup2ProviderOutput.js +74 -0
  53. package/dist/esm/models/NigeriaNinLookup2ProviderOutput.d.ts +112 -0
  54. package/dist/esm/models/NigeriaNinLookup2ProviderOutput.js +69 -0
  55. package/dist/esm/models/NorwegianBankIdProviderOutput.d.ts +97 -0
  56. package/dist/esm/models/NorwegianBankIdProviderOutput.js +55 -0
  57. package/dist/esm/models/OneIdProviderAddress.d.ts +56 -0
  58. package/dist/esm/models/OneIdProviderAddress.js +49 -0
  59. package/dist/esm/models/OneIdProviderOutput.d.ts +63 -0
  60. package/dist/esm/models/OneIdProviderOutput.js +52 -0
  61. package/dist/esm/models/OutputFrejaAddress.d.ts +50 -0
  62. package/dist/esm/models/OutputFrejaAddress.js +47 -0
  63. package/dist/esm/models/OutputFrejaDocument.d.ts +56 -0
  64. package/dist/esm/models/OutputFrejaDocument.js +47 -0
  65. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +64 -0
  66. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +20 -0
  67. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +54 -1
  68. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +16 -0
  69. package/dist/esm/models/ProviderInput.d.ts +21 -0
  70. package/dist/esm/models/ProviderInput.js +9 -0
  71. package/dist/esm/models/ProviderOutput.d.ts +89 -3
  72. package/dist/esm/models/ProviderOutput.js +38 -2
  73. package/dist/esm/models/Raw18013DocumentRequest.d.ts +60 -0
  74. package/dist/esm/models/Raw18013DocumentRequest.js +47 -0
  75. package/dist/esm/models/Raw18013RequestInput.d.ts +38 -0
  76. package/dist/esm/models/Raw18013RequestInput.js +44 -0
  77. package/dist/esm/models/RecommendProvidersResponse.d.ts +6 -0
  78. package/dist/esm/models/RecommendProvidersResponse.js +4 -0
  79. package/dist/esm/models/SamsungWalletInput.d.ts +37 -0
  80. package/dist/esm/models/SamsungWalletInput.js +42 -0
  81. package/dist/esm/models/UkEvisaLookupInput.d.ts +38 -0
  82. package/dist/esm/models/UkEvisaLookupInput.js +47 -0
  83. package/dist/esm/models/UnitedKingdomEvisaProviderOutput.d.ts +106 -0
  84. package/dist/esm/models/UnitedKingdomEvisaProviderOutput.js +61 -0
  85. package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
  86. package/dist/esm/models/VerificationProfileResponse.js +4 -0
  87. package/dist/esm/models/YotiDeeplinkProviderOutput.d.ts +112 -0
  88. package/dist/esm/models/YotiDeeplinkProviderOutput.js +65 -0
  89. package/dist/esm/models/index.d.ts +29 -0
  90. package/dist/esm/models/index.js +29 -0
  91. package/dist/models/AadhaarClaims.d.ts +125 -0
  92. package/dist/models/AadhaarClaims.js +76 -0
  93. package/dist/models/AadhaarLanguage.d.ts +55 -0
  94. package/dist/models/AadhaarLanguage.js +51 -0
  95. package/dist/models/AadhaarLocalizedClaims.d.ts +99 -0
  96. package/dist/models/AadhaarLocalizedClaims.js +71 -0
  97. package/dist/models/AppleWalletInput.d.ts +13 -0
  98. package/dist/models/AppleWalletInput.js +3 -0
  99. package/dist/models/ConnectIdAddress.d.ts +58 -0
  100. package/dist/models/ConnectIdAddress.js +56 -0
  101. package/dist/models/ConnectIdAgeVerification.d.ts +38 -0
  102. package/dist/models/ConnectIdAgeVerification.js +50 -0
  103. package/dist/models/ConnectIdBeneficiaryAccount.d.ts +52 -0
  104. package/dist/models/ConnectIdBeneficiaryAccount.js +54 -0
  105. package/dist/models/ConnectIdProviderOutput.d.ts +97 -0
  106. package/dist/models/ConnectIdProviderOutput.js +71 -0
  107. package/dist/models/CzechMojeIdAddressOutput.d.ts +62 -0
  108. package/dist/models/CzechMojeIdAddressOutput.js +58 -0
  109. package/dist/models/CzechMojeIdProviderOutput.d.ts +177 -0
  110. package/dist/models/CzechMojeIdProviderOutput.js +93 -0
  111. package/dist/models/DigilockerAadhaarProviderOutput.d.ts +82 -0
  112. package/dist/models/DigilockerAadhaarProviderOutput.js +64 -0
  113. package/dist/models/FaydaProviderOutput.d.ts +20 -0
  114. package/dist/models/FaydaProviderOutput.js +6 -0
  115. package/dist/models/FinnishTrustNetworkProviderOutput.d.ts +123 -0
  116. package/dist/models/FinnishTrustNetworkProviderOutput.js +68 -0
  117. package/dist/models/FranceIdentiteInput.d.ts +35 -0
  118. package/dist/models/FranceIdentiteInput.js +49 -0
  119. package/dist/models/FranceIdentiteProviderOutput.d.ts +33 -0
  120. package/dist/models/FranceIdentiteProviderOutput.js +51 -0
  121. package/dist/models/FrejaIndirectProviderOutput.d.ts +53 -0
  122. package/dist/models/FrejaIndirectProviderOutput.js +62 -0
  123. package/dist/models/FrejaProviderOutput.d.ts +103 -11
  124. package/dist/models/FrejaProviderOutput.js +38 -16
  125. package/dist/models/GetProviderResponse.d.ts +33 -0
  126. package/dist/models/GetProviderResponse.js +51 -0
  127. package/dist/models/GoogleWalletInput.d.ts +11 -0
  128. package/dist/models/GoogleWalletInput.js +3 -0
  129. package/dist/models/IntegrationStep.d.ts +1 -1
  130. package/dist/models/KenyaNidLookup2Address.d.ts +90 -0
  131. package/dist/models/KenyaNidLookup2Address.js +56 -0
  132. package/dist/models/KenyaNidLookup2ProviderOutput.d.ts +114 -0
  133. package/dist/models/KenyaNidLookup2ProviderOutput.js +81 -0
  134. package/dist/models/NigeriaNinLookup2ProviderOutput.d.ts +112 -0
  135. package/dist/models/NigeriaNinLookup2ProviderOutput.js +76 -0
  136. package/dist/models/NorwegianBankIdProviderOutput.d.ts +97 -0
  137. package/dist/models/NorwegianBankIdProviderOutput.js +62 -0
  138. package/dist/models/OneIdProviderAddress.d.ts +56 -0
  139. package/dist/models/OneIdProviderAddress.js +56 -0
  140. package/dist/models/OneIdProviderOutput.d.ts +63 -0
  141. package/dist/models/OneIdProviderOutput.js +59 -0
  142. package/dist/models/OutputFrejaAddress.d.ts +50 -0
  143. package/dist/models/OutputFrejaAddress.js +54 -0
  144. package/dist/models/OutputFrejaDocument.d.ts +56 -0
  145. package/dist/models/OutputFrejaDocument.js +54 -0
  146. package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +64 -0
  147. package/dist/models/PhilippinesDigitalNidProviderOutput.js +20 -0
  148. package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +54 -1
  149. package/dist/models/PhilippinesPhysicalNidProviderOutput.js +16 -0
  150. package/dist/models/ProviderInput.d.ts +21 -0
  151. package/dist/models/ProviderInput.js +9 -0
  152. package/dist/models/ProviderOutput.d.ts +89 -3
  153. package/dist/models/ProviderOutput.js +38 -2
  154. package/dist/models/Raw18013DocumentRequest.d.ts +60 -0
  155. package/dist/models/Raw18013DocumentRequest.js +54 -0
  156. package/dist/models/Raw18013RequestInput.d.ts +38 -0
  157. package/dist/models/Raw18013RequestInput.js +51 -0
  158. package/dist/models/RecommendProvidersResponse.d.ts +6 -0
  159. package/dist/models/RecommendProvidersResponse.js +4 -0
  160. package/dist/models/SamsungWalletInput.d.ts +37 -0
  161. package/dist/models/SamsungWalletInput.js +49 -0
  162. package/dist/models/UkEvisaLookupInput.d.ts +38 -0
  163. package/dist/models/UkEvisaLookupInput.js +54 -0
  164. package/dist/models/UnitedKingdomEvisaProviderOutput.d.ts +106 -0
  165. package/dist/models/UnitedKingdomEvisaProviderOutput.js +68 -0
  166. package/dist/models/VerificationProfileResponse.d.ts +6 -0
  167. package/dist/models/VerificationProfileResponse.js +4 -0
  168. package/dist/models/YotiDeeplinkProviderOutput.d.ts +112 -0
  169. package/dist/models/YotiDeeplinkProviderOutput.js +72 -0
  170. package/dist/models/index.d.ts +29 -0
  171. package/dist/models/index.js +29 -0
  172. package/package.json +1 -1
  173. package/src/apis/ProvidersApi.ts +66 -0
  174. package/src/apis/VerificationProfilesApi.ts +15 -3
  175. package/src/models/AadhaarClaims.ts +186 -0
  176. package/src/models/AadhaarLanguage.ts +90 -0
  177. package/src/models/AadhaarLocalizedClaims.ts +161 -0
  178. package/src/models/AppleWalletInput.ts +21 -0
  179. package/src/models/ConnectIdAddress.ts +99 -0
  180. package/src/models/ConnectIdAgeVerification.ts +73 -0
  181. package/src/models/ConnectIdBeneficiaryAccount.ts +91 -0
  182. package/src/models/ConnectIdProviderOutput.ts +169 -0
  183. package/src/models/CzechMojeIdAddressOutput.ts +105 -0
  184. package/src/models/CzechMojeIdProviderOutput.ts +261 -0
  185. package/src/models/DigilockerAadhaarProviderOutput.ts +141 -0
  186. package/src/models/FaydaProviderOutput.ts +26 -0
  187. package/src/models/FinnishTrustNetworkProviderOutput.ts +176 -0
  188. package/src/models/FranceIdentiteInput.ts +75 -0
  189. package/src/models/FranceIdentiteProviderOutput.ts +74 -0
  190. package/src/models/FrejaIndirectProviderOutput.ts +96 -0
  191. package/src/models/FrejaProviderOutput.ts +152 -23
  192. package/src/models/GetProviderResponse.ts +74 -0
  193. package/src/models/GoogleWalletInput.ts +19 -0
  194. package/src/models/IntegrationStep.ts +1 -1
  195. package/src/models/KenyaNidLookup2Address.ts +131 -0
  196. package/src/models/KenyaNidLookup2ProviderOutput.ts +180 -0
  197. package/src/models/NigeriaNinLookup2ProviderOutput.ts +170 -0
  198. package/src/models/NorwegianBankIdProviderOutput.ts +144 -0
  199. package/src/models/OneIdProviderAddress.ts +97 -0
  200. package/src/models/OneIdProviderOutput.ts +113 -0
  201. package/src/models/OutputFrejaAddress.ts +89 -0
  202. package/src/models/OutputFrejaDocument.ts +95 -0
  203. package/src/models/PhilippinesDigitalNidProviderOutput.ts +84 -0
  204. package/src/models/PhilippinesPhysicalNidProviderOutput.ts +70 -1
  205. package/src/models/ProviderInput.ts +45 -0
  206. package/src/models/ProviderOutput.ts +187 -5
  207. package/src/models/Raw18013DocumentRequest.ts +93 -0
  208. package/src/models/Raw18013RequestInput.ts +79 -0
  209. package/src/models/RecommendProvidersResponse.ts +9 -0
  210. package/src/models/SamsungWalletInput.ts +77 -0
  211. package/src/models/UkEvisaLookupInput.ts +75 -0
  212. package/src/models/UnitedKingdomEvisaProviderOutput.ts +159 -0
  213. package/src/models/VerificationProfileResponse.ts +9 -0
  214. package/src/models/YotiDeeplinkProviderOutput.ts +180 -0
  215. package/src/models/index.ts +29 -0
@@ -0,0 +1,90 @@
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
+ * Represents a Kenya address as stored in the IPRS (Integrated Population Registration System) database.
14
+ *
15
+ * The structure reflects the pre-2010 provincial administration system: District > Division > Location.
16
+ * Since the 2010 constitutional change to counties, these legacy administrative divisions are still
17
+ * maintained in IPRS records for historical continuity.
18
+ *
19
+ * The raw address from IPRS is a newline-separated string with labeled administrative components.
20
+ * Example format:
21
+ *
22
+ * ```
23
+ * P O BOX 41842 NAIROBI
24
+ * PARLIAMENT BUILDINGS
25
+ * LOCATION - CITY SQUARE
26
+ * DIVISION - CENTRAL
27
+ * DISTRICT - NAIROBI
28
+ * ```
29
+ *
30
+ * The first lines contain informal address details (village, P.O. Box) while the suffixed lines
31
+ * contain official administrative designations prefixed with labels like "LOCATION -", "DIVISION -", "DISTRICT -".
32
+ * @export
33
+ * @interface KenyaNidLookup2Address
34
+ */
35
+ export interface KenyaNidLookup2Address {
36
+ /**
37
+ * The district where the person resides.
38
+ *
39
+ * This is the highest level of the pre-2010 administrative hierarchy stored in IPRS. Districts were
40
+ * the primary administrative units under Kenya's provincial system before the change to counties in 2010.
41
+ * Districts roughly correspond to sub-counties in the current administrative structure.
42
+ * @type {string}
43
+ * @memberof KenyaNidLookup2Address
44
+ */
45
+ district?: string | null;
46
+ /**
47
+ * The division within the district.
48
+ *
49
+ * This is the second level of the pre-2010 administrative hierarchy. Divisions were administrative
50
+ * units between districts and locations.
51
+ * @type {string}
52
+ * @memberof KenyaNidLookup2Address
53
+ */
54
+ division?: string | null;
55
+ /**
56
+ * The location within the division.
57
+ *
58
+ * This is the third level of the pre-2010 administrative hierarchy. Locations were the smallest
59
+ * administrative units.
60
+ * @type {string}
61
+ * @memberof KenyaNidLookup2Address
62
+ */
63
+ location?: string | null;
64
+ /**
65
+ * Additional address lines that appear before the structured administrative parts.
66
+ *
67
+ * May include P.O. Box (format: "P O BOX [number] [location]"), village names, estate names,
68
+ * or other informal locality information.
69
+ * @type {Array<string>}
70
+ * @memberof KenyaNidLookup2Address
71
+ */
72
+ additionalLines?: Array<string> | null;
73
+ /**
74
+ * The raw, unparsed address string as returned from IPRS (Integrated Population Registration System).
75
+ *
76
+ * This preserves the original newline-separated format containing both informal address components
77
+ * (village, P.O. Box) and labeled administrative divisions (LOCATION, DIVISION, DISTRICT).
78
+ * @type {string}
79
+ * @memberof KenyaNidLookup2Address
80
+ */
81
+ raw?: string | null;
82
+ }
83
+ /**
84
+ * Check if a given object implements the KenyaNidLookup2Address interface.
85
+ */
86
+ export declare function instanceOfKenyaNidLookup2Address(value: object): value is KenyaNidLookup2Address;
87
+ export declare function KenyaNidLookup2AddressFromJSON(json: any): KenyaNidLookup2Address;
88
+ export declare function KenyaNidLookup2AddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): KenyaNidLookup2Address;
89
+ export declare function KenyaNidLookup2AddressToJSON(json: any): KenyaNidLookup2Address;
90
+ export declare function KenyaNidLookup2AddressToJSONTyped(value?: KenyaNidLookup2Address | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Trinsic API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfKenyaNidLookup2Address = instanceOfKenyaNidLookup2Address;
17
+ exports.KenyaNidLookup2AddressFromJSON = KenyaNidLookup2AddressFromJSON;
18
+ exports.KenyaNidLookup2AddressFromJSONTyped = KenyaNidLookup2AddressFromJSONTyped;
19
+ exports.KenyaNidLookup2AddressToJSON = KenyaNidLookup2AddressToJSON;
20
+ exports.KenyaNidLookup2AddressToJSONTyped = KenyaNidLookup2AddressToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the KenyaNidLookup2Address interface.
23
+ */
24
+ function instanceOfKenyaNidLookup2Address(value) {
25
+ return true;
26
+ }
27
+ function KenyaNidLookup2AddressFromJSON(json) {
28
+ return KenyaNidLookup2AddressFromJSONTyped(json, false);
29
+ }
30
+ function KenyaNidLookup2AddressFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'district': json['district'] == null ? undefined : json['district'],
36
+ 'division': json['division'] == null ? undefined : json['division'],
37
+ 'location': json['location'] == null ? undefined : json['location'],
38
+ 'additionalLines': json['additionalLines'] == null ? undefined : json['additionalLines'],
39
+ 'raw': json['raw'] == null ? undefined : json['raw'],
40
+ };
41
+ }
42
+ function KenyaNidLookup2AddressToJSON(json) {
43
+ return KenyaNidLookup2AddressToJSONTyped(json, false);
44
+ }
45
+ function KenyaNidLookup2AddressToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'district': value['district'],
51
+ 'division': value['division'],
52
+ 'location': value['location'],
53
+ 'additionalLines': value['additionalLines'],
54
+ 'raw': value['raw'],
55
+ };
56
+ }
@@ -0,0 +1,114 @@
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 { KenyaNidLookup2Address } from './KenyaNidLookup2Address';
13
+ /**
14
+ * Exposed properties for the `kenya-nid-lookup-2` Provider which do not directly map to the normalized IdentityData model.
15
+ * @export
16
+ * @interface KenyaNidLookup2ProviderOutput
17
+ */
18
+ export interface KenyaNidLookup2ProviderOutput {
19
+ /**
20
+ * The first name (given name) of the ID holder as recorded in IPRS.
21
+ * @type {string}
22
+ * @memberof KenyaNidLookup2ProviderOutput
23
+ */
24
+ firstName: string;
25
+ /**
26
+ * The surname (family name) of the ID holder as recorded in IPRS.
27
+ * @type {string}
28
+ * @memberof KenyaNidLookup2ProviderOutput
29
+ */
30
+ surname: string;
31
+ /**
32
+ * The other name (middle name) of the ID holder as recorded in IPRS.
33
+ * @type {string}
34
+ * @memberof KenyaNidLookup2ProviderOutput
35
+ */
36
+ otherName?: string | null;
37
+ /**
38
+ * The sex of the ID holder as recorded on the National ID.
39
+ *
40
+ * Possible values:
41
+ * - Male
42
+ * - Female
43
+ * @type {string}
44
+ * @memberof KenyaNidLookup2ProviderOutput
45
+ */
46
+ sex: string;
47
+ /**
48
+ * The date of birth of the ID holder as recorded in IPRS.
49
+ * @type {Date}
50
+ * @memberof KenyaNidLookup2ProviderOutput
51
+ */
52
+ dateOfBirth?: Date | null;
53
+ /**
54
+ * Citizenship status as recorded in the IPRS civil registry database.
55
+ *
56
+ * For the Kenya National ID lookup, this value will always be "Kenyan" as the National ID is only
57
+ * issued to Kenyan citizens. Non-citizens residing in Kenya are issued different identification
58
+ * documents (Alien ID cards, refugee documentation, etc.) which are not supported by this provider.
59
+ * @type {string}
60
+ * @memberof KenyaNidLookup2ProviderOutput
61
+ */
62
+ citizenship: string;
63
+ /**
64
+ * The Kenya National ID Number (Nambari ya Kitambulisho).
65
+ *
66
+ * This is the primary unique identifier for Kenyan citizens in all government systems, issued by
67
+ * the National Registration Bureau (NRB). The format is 1 to 9 numeric digits (regex: /^[0-9]{1,9}$/).
68
+ * This number is assigned upon first registration at age 18 (or upon naturalization for new citizens)
69
+ * and remains constant for life.
70
+ * @type {string}
71
+ * @memberof KenyaNidLookup2ProviderOutput
72
+ */
73
+ idNumber: string;
74
+ /**
75
+ * The physical card serial number printed on the Kenya National ID card.
76
+ *
77
+ * This is distinct from the ID Number and serves as a card issuance tracking identifier maintained
78
+ * by IPRS. This value changes each time a new physical card is issued (loss, damage, renewal).
79
+ * @type {string}
80
+ * @memberof KenyaNidLookup2ProviderOutput
81
+ */
82
+ serialNumber: string;
83
+ /**
84
+ * The date the National ID was issued by the National Registration Bureau (NRB).
85
+ * @type {Date}
86
+ * @memberof KenyaNidLookup2ProviderOutput
87
+ */
88
+ dateOfIssue?: Date | null;
89
+ /**
90
+ * Place of birth as recorded in Kenya's civil registry (IPRS).
91
+ *
92
+ * This is structured according to Kenya's pre-2010 administrative hierarchy (District > Division > Location).
93
+ * @type {KenyaNidLookup2Address}
94
+ * @memberof KenyaNidLookup2ProviderOutput
95
+ */
96
+ placeOfBirth?: KenyaNidLookup2Address | null;
97
+ /**
98
+ * Current residence address as registered in IPRS.
99
+ *
100
+ * This represents the address on file at the time of ID registration or last update, structured
101
+ * according to Kenya's pre-2010 administrative hierarchy (District > Division > Location).
102
+ * @type {KenyaNidLookup2Address}
103
+ * @memberof KenyaNidLookup2ProviderOutput
104
+ */
105
+ placeOfResidence?: KenyaNidLookup2Address | null;
106
+ }
107
+ /**
108
+ * Check if a given object implements the KenyaNidLookup2ProviderOutput interface.
109
+ */
110
+ export declare function instanceOfKenyaNidLookup2ProviderOutput(value: object): value is KenyaNidLookup2ProviderOutput;
111
+ export declare function KenyaNidLookup2ProviderOutputFromJSON(json: any): KenyaNidLookup2ProviderOutput;
112
+ export declare function KenyaNidLookup2ProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): KenyaNidLookup2ProviderOutput;
113
+ export declare function KenyaNidLookup2ProviderOutputToJSON(json: any): KenyaNidLookup2ProviderOutput;
114
+ export declare function KenyaNidLookup2ProviderOutputToJSONTyped(value?: KenyaNidLookup2ProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Trinsic API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfKenyaNidLookup2ProviderOutput = instanceOfKenyaNidLookup2ProviderOutput;
17
+ exports.KenyaNidLookup2ProviderOutputFromJSON = KenyaNidLookup2ProviderOutputFromJSON;
18
+ exports.KenyaNidLookup2ProviderOutputFromJSONTyped = KenyaNidLookup2ProviderOutputFromJSONTyped;
19
+ exports.KenyaNidLookup2ProviderOutputToJSON = KenyaNidLookup2ProviderOutputToJSON;
20
+ exports.KenyaNidLookup2ProviderOutputToJSONTyped = KenyaNidLookup2ProviderOutputToJSONTyped;
21
+ const KenyaNidLookup2Address_1 = require("./KenyaNidLookup2Address");
22
+ /**
23
+ * Check if a given object implements the KenyaNidLookup2ProviderOutput interface.
24
+ */
25
+ function instanceOfKenyaNidLookup2ProviderOutput(value) {
26
+ if (!('firstName' in value) || value['firstName'] === undefined)
27
+ return false;
28
+ if (!('surname' in value) || value['surname'] === undefined)
29
+ return false;
30
+ if (!('sex' in value) || value['sex'] === undefined)
31
+ return false;
32
+ if (!('citizenship' in value) || value['citizenship'] === undefined)
33
+ return false;
34
+ if (!('idNumber' in value) || value['idNumber'] === undefined)
35
+ return false;
36
+ if (!('serialNumber' in value) || value['serialNumber'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function KenyaNidLookup2ProviderOutputFromJSON(json) {
41
+ return KenyaNidLookup2ProviderOutputFromJSONTyped(json, false);
42
+ }
43
+ function KenyaNidLookup2ProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'firstName': json['firstName'],
49
+ 'surname': json['surname'],
50
+ 'otherName': json['otherName'] == null ? undefined : json['otherName'],
51
+ 'sex': json['sex'],
52
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
53
+ 'citizenship': json['citizenship'],
54
+ 'idNumber': json['idNumber'],
55
+ 'serialNumber': json['serialNumber'],
56
+ 'dateOfIssue': json['dateOfIssue'] == null ? undefined : (new Date(json['dateOfIssue'])),
57
+ 'placeOfBirth': json['placeOfBirth'] == null ? undefined : (0, KenyaNidLookup2Address_1.KenyaNidLookup2AddressFromJSON)(json['placeOfBirth']),
58
+ 'placeOfResidence': json['placeOfResidence'] == null ? undefined : (0, KenyaNidLookup2Address_1.KenyaNidLookup2AddressFromJSON)(json['placeOfResidence']),
59
+ };
60
+ }
61
+ function KenyaNidLookup2ProviderOutputToJSON(json) {
62
+ return KenyaNidLookup2ProviderOutputToJSONTyped(json, false);
63
+ }
64
+ function KenyaNidLookup2ProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'firstName': value['firstName'],
70
+ 'surname': value['surname'],
71
+ 'otherName': value['otherName'],
72
+ 'sex': value['sex'],
73
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
74
+ 'citizenship': value['citizenship'],
75
+ 'idNumber': value['idNumber'],
76
+ 'serialNumber': value['serialNumber'],
77
+ 'dateOfIssue': value['dateOfIssue'] == null ? undefined : (value['dateOfIssue'].toISOString().substring(0, 10)),
78
+ 'placeOfBirth': (0, KenyaNidLookup2Address_1.KenyaNidLookup2AddressToJSON)(value['placeOfBirth']),
79
+ 'placeOfResidence': (0, KenyaNidLookup2Address_1.KenyaNidLookup2AddressToJSON)(value['placeOfResidence']),
80
+ };
81
+ }
@@ -0,0 +1,112 @@
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
+ * Exposed properties for the `nigeria-nin-lookup-2` Provider which do not directly map to the normalized IdentityData model.
14
+ * @export
15
+ * @interface NigeriaNinLookup2ProviderOutput
16
+ */
17
+ export interface NigeriaNinLookup2ProviderOutput {
18
+ /**
19
+ * The first name (given name) of the ID holder.
20
+ * @type {string}
21
+ * @memberof NigeriaNinLookup2ProviderOutput
22
+ */
23
+ firstName: string;
24
+ /**
25
+ * The middle name of the ID holder.
26
+ * @type {string}
27
+ * @memberof NigeriaNinLookup2ProviderOutput
28
+ */
29
+ middleName?: string | null;
30
+ /**
31
+ * The surname (family name) of the ID holder.
32
+ * @type {string}
33
+ * @memberof NigeriaNinLookup2ProviderOutput
34
+ */
35
+ surname: string;
36
+ /**
37
+ * The sex of the ID holder.
38
+ *
39
+ * Possible values:
40
+ * - Male
41
+ * - Female
42
+ * @type {string}
43
+ * @memberof NigeriaNinLookup2ProviderOutput
44
+ */
45
+ sex?: string | null;
46
+ /**
47
+ * The date of birth of the ID holder.
48
+ * @type {Date}
49
+ * @memberof NigeriaNinLookup2ProviderOutput
50
+ */
51
+ dateOfBirth?: Date | null;
52
+ /**
53
+ * Country of birth as an ISO 3166-1 alpha-2 code.
54
+ * @type {string}
55
+ * @memberof NigeriaNinLookup2ProviderOutput
56
+ */
57
+ birthCountry?: string | null;
58
+ /**
59
+ * National Identification Number (NIN).
60
+ *
61
+ * This is a unique, permanent identifier assigned by the National Identity Management Commission
62
+ * upon enrollment.
63
+ *
64
+ * Format: 11 numeric digits (regex: /^[0-9]{11}$/). The digits are validated using the Verhoeff
65
+ * algorithm, meaning the last digit serves as a check digit.
66
+ * @type {string}
67
+ * @memberof NigeriaNinLookup2ProviderOutput
68
+ */
69
+ nationalIdentityNumber: string;
70
+ /**
71
+ * Phone number registered with the National Identity Management Commission.
72
+ * @type {string}
73
+ * @memberof NigeriaNinLookup2ProviderOutput
74
+ */
75
+ phoneNumber?: string | null;
76
+ /**
77
+ * Email address registered with the National Identity Management Commission.
78
+ * @type {string}
79
+ * @memberof NigeriaNinLookup2ProviderOutput
80
+ */
81
+ email?: string | null;
82
+ /**
83
+ * Full residential address as a single string, normalized to lowercase without delimiters.
84
+ * @type {string}
85
+ * @memberof NigeriaNinLookup2ProviderOutput
86
+ */
87
+ address?: string | null;
88
+ /**
89
+ * Local Government Area of residence.
90
+ *
91
+ * Nigeria is divided into 774 Local Government Areas (LGAs), which are the third-tier
92
+ * administrative divisions below states and the Federal Capital Territory. LGAs are roughly
93
+ * equivalent to counties or municipalities in other countries.
94
+ * @type {string}
95
+ * @memberof NigeriaNinLookup2ProviderOutput
96
+ */
97
+ localGovernmentArea?: string | null;
98
+ /**
99
+ * State of residence.
100
+ * @type {string}
101
+ * @memberof NigeriaNinLookup2ProviderOutput
102
+ */
103
+ state?: string | null;
104
+ }
105
+ /**
106
+ * Check if a given object implements the NigeriaNinLookup2ProviderOutput interface.
107
+ */
108
+ export declare function instanceOfNigeriaNinLookup2ProviderOutput(value: object): value is NigeriaNinLookup2ProviderOutput;
109
+ export declare function NigeriaNinLookup2ProviderOutputFromJSON(json: any): NigeriaNinLookup2ProviderOutput;
110
+ export declare function NigeriaNinLookup2ProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): NigeriaNinLookup2ProviderOutput;
111
+ export declare function NigeriaNinLookup2ProviderOutputToJSON(json: any): NigeriaNinLookup2ProviderOutput;
112
+ export declare function NigeriaNinLookup2ProviderOutputToJSONTyped(value?: NigeriaNinLookup2ProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Trinsic API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfNigeriaNinLookup2ProviderOutput = instanceOfNigeriaNinLookup2ProviderOutput;
17
+ exports.NigeriaNinLookup2ProviderOutputFromJSON = NigeriaNinLookup2ProviderOutputFromJSON;
18
+ exports.NigeriaNinLookup2ProviderOutputFromJSONTyped = NigeriaNinLookup2ProviderOutputFromJSONTyped;
19
+ exports.NigeriaNinLookup2ProviderOutputToJSON = NigeriaNinLookup2ProviderOutputToJSON;
20
+ exports.NigeriaNinLookup2ProviderOutputToJSONTyped = NigeriaNinLookup2ProviderOutputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NigeriaNinLookup2ProviderOutput interface.
23
+ */
24
+ function instanceOfNigeriaNinLookup2ProviderOutput(value) {
25
+ if (!('firstName' in value) || value['firstName'] === undefined)
26
+ return false;
27
+ if (!('surname' in value) || value['surname'] === undefined)
28
+ return false;
29
+ if (!('nationalIdentityNumber' in value) || value['nationalIdentityNumber'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function NigeriaNinLookup2ProviderOutputFromJSON(json) {
34
+ return NigeriaNinLookup2ProviderOutputFromJSONTyped(json, false);
35
+ }
36
+ function NigeriaNinLookup2ProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'firstName': json['firstName'],
42
+ 'middleName': json['middleName'] == null ? undefined : json['middleName'],
43
+ 'surname': json['surname'],
44
+ 'sex': json['sex'] == null ? undefined : json['sex'],
45
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
46
+ 'birthCountry': json['birthCountry'] == null ? undefined : json['birthCountry'],
47
+ 'nationalIdentityNumber': json['nationalIdentityNumber'],
48
+ 'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
49
+ 'email': json['email'] == null ? undefined : json['email'],
50
+ 'address': json['address'] == null ? undefined : json['address'],
51
+ 'localGovernmentArea': json['localGovernmentArea'] == null ? undefined : json['localGovernmentArea'],
52
+ 'state': json['state'] == null ? undefined : json['state'],
53
+ };
54
+ }
55
+ function NigeriaNinLookup2ProviderOutputToJSON(json) {
56
+ return NigeriaNinLookup2ProviderOutputToJSONTyped(json, false);
57
+ }
58
+ function NigeriaNinLookup2ProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'firstName': value['firstName'],
64
+ 'middleName': value['middleName'],
65
+ 'surname': value['surname'],
66
+ 'sex': value['sex'],
67
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
68
+ 'birthCountry': value['birthCountry'],
69
+ 'nationalIdentityNumber': value['nationalIdentityNumber'],
70
+ 'phoneNumber': value['phoneNumber'],
71
+ 'email': value['email'],
72
+ 'address': value['address'],
73
+ 'localGovernmentArea': value['localGovernmentArea'],
74
+ 'state': value['state'],
75
+ };
76
+ }
@@ -0,0 +1,97 @@
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
+ * Exposed properties for the `norway-bankid` Provider which do not directly map to the normalized IdentityData model.
14
+ * @export
15
+ * @interface NorwegianBankIdProviderOutput
16
+ */
17
+ export interface NorwegianBankIdProviderOutput {
18
+ /**
19
+ * The full name of the individual.
20
+ * @type {string}
21
+ * @memberof NorwegianBankIdProviderOutput
22
+ */
23
+ fullName?: string | null;
24
+ /**
25
+ * The date of birth of the individual.
26
+ * @type {Date}
27
+ * @memberof NorwegianBankIdProviderOutput
28
+ */
29
+ dateOfBirth?: Date | null;
30
+ /**
31
+ * The personal identifier for Norwegian BankID.
32
+ *
33
+ * This uniquely identifies the user in the Norwegian BankID system and is considered a stable identifier to use.
34
+ * @type {string}
35
+ * @memberof NorwegianBankIdProviderOutput
36
+ */
37
+ personalIdentifier?: string | null;
38
+ /**
39
+ * The 11-digit Norwegian National Identity Number (fødselsnummer) of the verified individual.
40
+ *
41
+ * This is in the format DDMMYYZZZCC, where:
42
+ * - DDMMYY is the date of birth (In some cases, this is not the date of birth due to no available identity numbers for some dates
43
+ * - ZZZ is an individual number, indicating gender
44
+ * - CC is a checksum character
45
+ *
46
+ * If ZZZ is even, the individual is female.
47
+ * If ZZZ is odd, the individual is male.
48
+ * @type {string}
49
+ * @memberof NorwegianBankIdProviderOutput
50
+ */
51
+ nationalIdentityNumber?: string | null;
52
+ /**
53
+ * The given name of the individual.
54
+ * @type {string}
55
+ * @memberof NorwegianBankIdProviderOutput
56
+ */
57
+ givenName?: string | null;
58
+ /**
59
+ * The family name of the individual.
60
+ * @type {string}
61
+ * @memberof NorwegianBankIdProviderOutput
62
+ */
63
+ familyName?: string | null;
64
+ /**
65
+ * The level of assurance (LOA) for the verification.
66
+ *
67
+ * The LOA refers to the degree of confidence in the claimed identity of a person.
68
+ * 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.
69
+ * To learn more, see: https://ec.europa.eu/digital-building-blocks/sites/spaces/DIGITAL/pages/467110081/eIDAS+Levels+of+Assurance
70
+ *
71
+ * Possible values:
72
+ * - Low: The user has self asserted their identity and multifactor authentication is not required.
73
+ * - Substantial: The user has performed either a remote or in-person identity verification and multifactor authentication is required.
74
+ * - 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.
75
+ * @type {string}
76
+ * @memberof NorwegianBankIdProviderOutput
77
+ */
78
+ levelOfAssurance?: string | null;
79
+ /**
80
+ * The authentication method used by the individual.
81
+ *
82
+ * Possible values:
83
+ * - urn:bankid:bis - BankID with Biometrics
84
+ * - urn:bankid:bid - Standard BankID with High Assurance
85
+ * @type {string}
86
+ * @memberof NorwegianBankIdProviderOutput
87
+ */
88
+ authenticationMethod?: string | null;
89
+ }
90
+ /**
91
+ * Check if a given object implements the NorwegianBankIdProviderOutput interface.
92
+ */
93
+ export declare function instanceOfNorwegianBankIdProviderOutput(value: object): value is NorwegianBankIdProviderOutput;
94
+ export declare function NorwegianBankIdProviderOutputFromJSON(json: any): NorwegianBankIdProviderOutput;
95
+ export declare function NorwegianBankIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): NorwegianBankIdProviderOutput;
96
+ export declare function NorwegianBankIdProviderOutputToJSON(json: any): NorwegianBankIdProviderOutput;
97
+ export declare function NorwegianBankIdProviderOutputToJSONTyped(value?: NorwegianBankIdProviderOutput | null, ignoreDiscriminator?: boolean): any;