@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,97 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface OneIdProviderAddress
20
+ */
21
+ export interface OneIdProviderAddress {
22
+ /**
23
+ * The line or street portion of the address.
24
+ * @type {string}
25
+ * @memberof OneIdProviderAddress
26
+ */
27
+ streetAddress?: string | null;
28
+ /**
29
+ * The locality or city portion of the address.
30
+ * @type {string}
31
+ * @memberof OneIdProviderAddress
32
+ */
33
+ locality?: string | null;
34
+ /**
35
+ * The region or subdivision portion of the address.
36
+ * @type {string}
37
+ * @memberof OneIdProviderAddress
38
+ */
39
+ region?: string | null;
40
+ /**
41
+ * The postal code of the address.
42
+ * @type {string}
43
+ * @memberof OneIdProviderAddress
44
+ */
45
+ postalCode?: string | null;
46
+ /**
47
+ * The alpha-2 country code of the address.
48
+ * @type {string}
49
+ * @memberof OneIdProviderAddress
50
+ */
51
+ countryCode?: string | null;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the OneIdProviderAddress interface.
56
+ */
57
+ export function instanceOfOneIdProviderAddress(value: object): value is OneIdProviderAddress {
58
+ return true;
59
+ }
60
+
61
+ export function OneIdProviderAddressFromJSON(json: any): OneIdProviderAddress {
62
+ return OneIdProviderAddressFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function OneIdProviderAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): OneIdProviderAddress {
66
+ if (json == null) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'streetAddress': json['streetAddress'] == null ? undefined : json['streetAddress'],
72
+ 'locality': json['locality'] == null ? undefined : json['locality'],
73
+ 'region': json['region'] == null ? undefined : json['region'],
74
+ 'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
75
+ 'countryCode': json['countryCode'] == null ? undefined : json['countryCode'],
76
+ };
77
+ }
78
+
79
+ export function OneIdProviderAddressToJSON(json: any): OneIdProviderAddress {
80
+ return OneIdProviderAddressToJSONTyped(json, false);
81
+ }
82
+
83
+ export function OneIdProviderAddressToJSONTyped(value?: OneIdProviderAddress | null, ignoreDiscriminator: boolean = false): any {
84
+ if (value == null) {
85
+ return value;
86
+ }
87
+
88
+ return {
89
+
90
+ 'streetAddress': value['streetAddress'],
91
+ 'locality': value['locality'],
92
+ 'region': value['region'],
93
+ 'postalCode': value['postalCode'],
94
+ 'countryCode': value['countryCode'],
95
+ };
96
+ }
97
+
@@ -0,0 +1,113 @@
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 { OneIdProviderAddress } from './OneIdProviderAddress';
17
+ import {
18
+ OneIdProviderAddressFromJSON,
19
+ OneIdProviderAddressFromJSONTyped,
20
+ OneIdProviderAddressToJSON,
21
+ OneIdProviderAddressToJSONTyped,
22
+ } from './OneIdProviderAddress';
23
+
24
+ /**
25
+ * Exposed properties for the `oneid` Provider which do not directly map to the normalized IdentityData model.
26
+ * @export
27
+ * @interface OneIdProviderOutput
28
+ */
29
+ export interface OneIdProviderOutput {
30
+ /**
31
+ * The OpenID Connect (OIDC) subject identifier (sub).
32
+ * @type {string}
33
+ * @memberof OneIdProviderOutput
34
+ */
35
+ sub?: string | null;
36
+ /**
37
+ * The individual's full name.
38
+ * @type {string}
39
+ * @memberof OneIdProviderOutput
40
+ */
41
+ fullName?: string | null;
42
+ /**
43
+ * The individual's given name.
44
+ * @type {string}
45
+ * @memberof OneIdProviderOutput
46
+ */
47
+ givenName?: string | null;
48
+ /**
49
+ * The individual's family name.
50
+ * @type {string}
51
+ * @memberof OneIdProviderOutput
52
+ */
53
+ familyName?: string | null;
54
+ /**
55
+ * The date of birth of the individual.
56
+ * @type {Date}
57
+ * @memberof OneIdProviderOutput
58
+ */
59
+ birthdate?: Date | null;
60
+ /**
61
+ * The address of the individual.
62
+ * @type {OneIdProviderAddress}
63
+ * @memberof OneIdProviderOutput
64
+ */
65
+ address?: OneIdProviderAddress | null;
66
+ }
67
+
68
+ /**
69
+ * Check if a given object implements the OneIdProviderOutput interface.
70
+ */
71
+ export function instanceOfOneIdProviderOutput(value: object): value is OneIdProviderOutput {
72
+ return true;
73
+ }
74
+
75
+ export function OneIdProviderOutputFromJSON(json: any): OneIdProviderOutput {
76
+ return OneIdProviderOutputFromJSONTyped(json, false);
77
+ }
78
+
79
+ export function OneIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): OneIdProviderOutput {
80
+ if (json == null) {
81
+ return json;
82
+ }
83
+ return {
84
+
85
+ 'sub': json['sub'] == null ? undefined : json['sub'],
86
+ 'fullName': json['fullName'] == null ? undefined : json['fullName'],
87
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
88
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
89
+ 'birthdate': json['birthdate'] == null ? undefined : (new Date(json['birthdate'])),
90
+ 'address': json['address'] == null ? undefined : OneIdProviderAddressFromJSON(json['address']),
91
+ };
92
+ }
93
+
94
+ export function OneIdProviderOutputToJSON(json: any): OneIdProviderOutput {
95
+ return OneIdProviderOutputToJSONTyped(json, false);
96
+ }
97
+
98
+ export function OneIdProviderOutputToJSONTyped(value?: OneIdProviderOutput | null, ignoreDiscriminator: boolean = false): any {
99
+ if (value == null) {
100
+ return value;
101
+ }
102
+
103
+ return {
104
+
105
+ 'sub': value['sub'],
106
+ 'fullName': value['fullName'],
107
+ 'givenName': value['givenName'],
108
+ 'familyName': value['familyName'],
109
+ 'birthdate': value['birthdate'] == null ? undefined : ((value['birthdate'] as any).toISOString().substring(0,10)),
110
+ 'address': OneIdProviderAddressToJSON(value['address']),
111
+ };
112
+ }
113
+
@@ -0,0 +1,89 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface OutputFrejaAddress
20
+ */
21
+ export interface OutputFrejaAddress {
22
+ /**
23
+ * The line1 portion of the address. Incorporates all address details that are not included by city, postal code, and country.
24
+ * @type {string}
25
+ * @memberof OutputFrejaAddress
26
+ */
27
+ line1?: string | null;
28
+ /**
29
+ * The name of the city associated with the address.
30
+ * @type {string}
31
+ * @memberof OutputFrejaAddress
32
+ */
33
+ city?: string | null;
34
+ /**
35
+ * The postal code associated with the address.
36
+ * @type {string}
37
+ * @memberof OutputFrejaAddress
38
+ */
39
+ postalCode?: string | null;
40
+ /**
41
+ * The ISO 3166-1 alpha-2 country code associated with the address.
42
+ * @type {string}
43
+ * @memberof OutputFrejaAddress
44
+ */
45
+ country?: string | null;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the OutputFrejaAddress interface.
50
+ */
51
+ export function instanceOfOutputFrejaAddress(value: object): value is OutputFrejaAddress {
52
+ return true;
53
+ }
54
+
55
+ export function OutputFrejaAddressFromJSON(json: any): OutputFrejaAddress {
56
+ return OutputFrejaAddressFromJSONTyped(json, false);
57
+ }
58
+
59
+ export function OutputFrejaAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): OutputFrejaAddress {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+
65
+ 'line1': json['line1'] == null ? undefined : json['line1'],
66
+ 'city': json['city'] == null ? undefined : json['city'],
67
+ 'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
68
+ 'country': json['country'] == null ? undefined : json['country'],
69
+ };
70
+ }
71
+
72
+ export function OutputFrejaAddressToJSON(json: any): OutputFrejaAddress {
73
+ return OutputFrejaAddressToJSONTyped(json, false);
74
+ }
75
+
76
+ export function OutputFrejaAddressToJSONTyped(value?: OutputFrejaAddress | null, ignoreDiscriminator: boolean = false): any {
77
+ if (value == null) {
78
+ return value;
79
+ }
80
+
81
+ return {
82
+
83
+ 'line1': value['line1'],
84
+ 'city': value['city'],
85
+ 'postalCode': value['postalCode'],
86
+ 'country': value['country'],
87
+ };
88
+ }
89
+
@@ -0,0 +1,95 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface OutputFrejaDocument
20
+ */
21
+ export interface OutputFrejaDocument {
22
+ /**
23
+ * Type of document. Possible values are:
24
+ * * "PASS": Passport
25
+ * * "DRILIC": Driver's License
26
+ * * "NATID": National ID
27
+ * * "IDSIS": SiS certified ID document
28
+ * * "TAXID": Tax Agency ID card
29
+ * * "OTHERID": Other IDs
30
+ * @type {string}
31
+ * @memberof OutputFrejaDocument
32
+ */
33
+ type?: string | null;
34
+ /**
35
+ * The document serial number. The structure of this number depends on the type and nationality of the document.
36
+ * @type {string}
37
+ * @memberof OutputFrejaDocument
38
+ */
39
+ serialNumber?: string | null;
40
+ /**
41
+ * Expiration date of the document. Formatted as an ISO 8601 Date.
42
+ * @type {Date}
43
+ * @memberof OutputFrejaDocument
44
+ */
45
+ expirationDate?: Date | null;
46
+ /**
47
+ * The ISO 3166-1 alpha-2 country code associated with the document.
48
+ * @type {string}
49
+ * @memberof OutputFrejaDocument
50
+ */
51
+ country?: string | null;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the OutputFrejaDocument interface.
56
+ */
57
+ export function instanceOfOutputFrejaDocument(value: object): value is OutputFrejaDocument {
58
+ return true;
59
+ }
60
+
61
+ export function OutputFrejaDocumentFromJSON(json: any): OutputFrejaDocument {
62
+ return OutputFrejaDocumentFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function OutputFrejaDocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): OutputFrejaDocument {
66
+ if (json == null) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'type': json['type'] == null ? undefined : json['type'],
72
+ 'serialNumber': json['serialNumber'] == null ? undefined : json['serialNumber'],
73
+ 'expirationDate': json['expirationDate'] == null ? undefined : (new Date(json['expirationDate'])),
74
+ 'country': json['country'] == null ? undefined : json['country'],
75
+ };
76
+ }
77
+
78
+ export function OutputFrejaDocumentToJSON(json: any): OutputFrejaDocument {
79
+ return OutputFrejaDocumentToJSONTyped(json, false);
80
+ }
81
+
82
+ export function OutputFrejaDocumentToJSONTyped(value?: OutputFrejaDocument | null, ignoreDiscriminator: boolean = false): any {
83
+ if (value == null) {
84
+ return value;
85
+ }
86
+
87
+ return {
88
+
89
+ 'type': value['type'],
90
+ 'serialNumber': value['serialNumber'],
91
+ 'expirationDate': value['expirationDate'] == null ? undefined : ((value['expirationDate'] as any).toISOString().substring(0,10)),
92
+ 'country': value['country'],
93
+ };
94
+ }
95
+
@@ -26,6 +26,70 @@ export interface PhilippinesDigitalNidProviderOutput {
26
26
  * @memberof PhilippinesDigitalNidProviderOutput
27
27
  */
28
28
  philsysCardNumber: string;
29
+ /**
30
+ * The given (first) name of the individual.
31
+ * @type {string}
32
+ * @memberof PhilippinesDigitalNidProviderOutput
33
+ */
34
+ givenName?: string | null;
35
+ /**
36
+ * The middle name of the individual.
37
+ * @type {string}
38
+ * @memberof PhilippinesDigitalNidProviderOutput
39
+ */
40
+ middleName?: string | null;
41
+ /**
42
+ * The family (last) name of the individual.
43
+ * @type {string}
44
+ * @memberof PhilippinesDigitalNidProviderOutput
45
+ */
46
+ familyName?: string | null;
47
+ /**
48
+ * The date of birth of the individual.
49
+ * @type {Date}
50
+ * @memberof PhilippinesDigitalNidProviderOutput
51
+ */
52
+ dateOfBirth?: Date | null;
53
+ /**
54
+ * The name suffix of the individual (e.g. Jr., III).
55
+ * @type {string}
56
+ * @memberof PhilippinesDigitalNidProviderOutput
57
+ */
58
+ suffix?: string | null;
59
+ /**
60
+ * The sex of the individual.
61
+ *
62
+ * Possible values:
63
+ * - Male
64
+ * - Female
65
+ * @type {string}
66
+ * @memberof PhilippinesDigitalNidProviderOutput
67
+ */
68
+ sex?: string | null;
69
+ /**
70
+ * The place of birth of the individual as recorded on the PhilSys credential.
71
+ * @type {string}
72
+ * @memberof PhilippinesDigitalNidProviderOutput
73
+ */
74
+ placeOfBirth?: string | null;
75
+ /**
76
+ * The date the document was issued.
77
+ * @type {Date}
78
+ * @memberof PhilippinesDigitalNidProviderOutput
79
+ */
80
+ documentIssueDate?: Date | null;
81
+ /**
82
+ * The document number of the digital National ID.
83
+ * @type {string}
84
+ * @memberof PhilippinesDigitalNidProviderOutput
85
+ */
86
+ documentNumber?: string | null;
87
+ /**
88
+ * The issuing authority of the document.
89
+ * @type {string}
90
+ * @memberof PhilippinesDigitalNidProviderOutput
91
+ */
92
+ issuingAuthority?: string | null;
29
93
  }
30
94
 
31
95
  /**
@@ -47,6 +111,16 @@ export function PhilippinesDigitalNidProviderOutputFromJSONTyped(json: any, igno
47
111
  return {
48
112
 
49
113
  'philsysCardNumber': json['philsysCardNumber'],
114
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
115
+ 'middleName': json['middleName'] == null ? undefined : json['middleName'],
116
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
117
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
118
+ 'suffix': json['suffix'] == null ? undefined : json['suffix'],
119
+ 'sex': json['sex'] == null ? undefined : json['sex'],
120
+ 'placeOfBirth': json['placeOfBirth'] == null ? undefined : json['placeOfBirth'],
121
+ 'documentIssueDate': json['documentIssueDate'] == null ? undefined : (new Date(json['documentIssueDate'])),
122
+ 'documentNumber': json['documentNumber'] == null ? undefined : json['documentNumber'],
123
+ 'issuingAuthority': json['issuingAuthority'] == null ? undefined : json['issuingAuthority'],
50
124
  };
51
125
  }
52
126
 
@@ -62,6 +136,16 @@ export function PhilippinesDigitalNidProviderOutputToJSONTyped(value?: Philippin
62
136
  return {
63
137
 
64
138
  'philsysCardNumber': value['philsysCardNumber'],
139
+ 'givenName': value['givenName'],
140
+ 'middleName': value['middleName'],
141
+ 'familyName': value['familyName'],
142
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
143
+ 'suffix': value['suffix'],
144
+ 'sex': value['sex'],
145
+ 'placeOfBirth': value['placeOfBirth'],
146
+ 'documentIssueDate': value['documentIssueDate'] == null ? undefined : ((value['documentIssueDate'] as any).toISOString().substring(0,10)),
147
+ 'documentNumber': value['documentNumber'],
148
+ 'issuingAuthority': value['issuingAuthority'],
65
149
  };
66
150
  }
67
151
 
@@ -14,7 +14,8 @@
14
14
 
15
15
  import { mapValues } from '../runtime';
16
16
  /**
17
- * Exposed properties for the `philippines-physical-national-id-qr` Provider which do not directly map to the normalized IdentityData model.
17
+ * Exposed properties for the `philippines-physical-national-id-qr` Provider which do not directly map to the
18
+ * normalized IdentityData model.
18
19
  * @export
19
20
  * @interface PhilippinesPhysicalNidProviderOutput
20
21
  */
@@ -26,6 +27,58 @@ export interface PhilippinesPhysicalNidProviderOutput {
26
27
  * @memberof PhilippinesPhysicalNidProviderOutput
27
28
  */
28
29
  philsysCardNumber: string;
30
+ /**
31
+ * The given (first) name of the individual.
32
+ * @type {string}
33
+ * @memberof PhilippinesPhysicalNidProviderOutput
34
+ */
35
+ givenName?: string | null;
36
+ /**
37
+ * The middle name of the individual.
38
+ * @type {string}
39
+ * @memberof PhilippinesPhysicalNidProviderOutput
40
+ */
41
+ middleName?: string | null;
42
+ /**
43
+ * The family (last) name of the individual.
44
+ * @type {string}
45
+ * @memberof PhilippinesPhysicalNidProviderOutput
46
+ */
47
+ familyName?: string | null;
48
+ /**
49
+ * The date of birth of the individual.
50
+ * @type {Date}
51
+ * @memberof PhilippinesPhysicalNidProviderOutput
52
+ */
53
+ dateOfBirth?: Date | null;
54
+ /**
55
+ * The name suffix of the individual (e.g. Jr., III).
56
+ * @type {string}
57
+ * @memberof PhilippinesPhysicalNidProviderOutput
58
+ */
59
+ suffix?: string | null;
60
+ /**
61
+ * The sex of the individual.
62
+ *
63
+ * Possible values:
64
+ * - Male
65
+ * - Female
66
+ * @type {string}
67
+ * @memberof PhilippinesPhysicalNidProviderOutput
68
+ */
69
+ sex?: string | null;
70
+ /**
71
+ * The place of birth of the individual as recorded on the PhilSys credential.
72
+ * @type {string}
73
+ * @memberof PhilippinesPhysicalNidProviderOutput
74
+ */
75
+ placeOfBirth?: string | null;
76
+ /**
77
+ * The date the document was issued.
78
+ * @type {Date}
79
+ * @memberof PhilippinesPhysicalNidProviderOutput
80
+ */
81
+ documentIssueDate?: Date | null;
29
82
  }
30
83
 
31
84
  /**
@@ -47,6 +100,14 @@ export function PhilippinesPhysicalNidProviderOutputFromJSONTyped(json: any, ign
47
100
  return {
48
101
 
49
102
  'philsysCardNumber': json['philsysCardNumber'],
103
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
104
+ 'middleName': json['middleName'] == null ? undefined : json['middleName'],
105
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
106
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
107
+ 'suffix': json['suffix'] == null ? undefined : json['suffix'],
108
+ 'sex': json['sex'] == null ? undefined : json['sex'],
109
+ 'placeOfBirth': json['placeOfBirth'] == null ? undefined : json['placeOfBirth'],
110
+ 'documentIssueDate': json['documentIssueDate'] == null ? undefined : (new Date(json['documentIssueDate'])),
50
111
  };
51
112
  }
52
113
 
@@ -62,6 +123,14 @@ export function PhilippinesPhysicalNidProviderOutputToJSONTyped(value?: Philippi
62
123
  return {
63
124
 
64
125
  'philsysCardNumber': value['philsysCardNumber'],
126
+ 'givenName': value['givenName'],
127
+ 'middleName': value['middleName'],
128
+ 'familyName': value['familyName'],
129
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
130
+ 'suffix': value['suffix'],
131
+ 'sex': value['sex'],
132
+ 'placeOfBirth': value['placeOfBirth'],
133
+ 'documentIssueDate': value['documentIssueDate'] == null ? undefined : ((value['documentIssueDate'] as any).toISOString().substring(0,10)),
65
134
  };
66
135
  }
67
136
 
@@ -153,6 +153,13 @@ import {
153
153
  IdinInputToJSON,
154
154
  IdinInputToJSONTyped,
155
155
  } from './IdinInput';
156
+ import type { UkEvisaLookupInput } from './UkEvisaLookupInput';
157
+ import {
158
+ UkEvisaLookupInputFromJSON,
159
+ UkEvisaLookupInputFromJSONTyped,
160
+ UkEvisaLookupInputToJSON,
161
+ UkEvisaLookupInputToJSONTyped,
162
+ } from './UkEvisaLookupInput';
156
163
  import type { AppleWalletInput } from './AppleWalletInput';
157
164
  import {
158
165
  AppleWalletInputFromJSON,
@@ -202,6 +209,13 @@ import {
202
209
  NigeriaNinInputToJSON,
203
210
  NigeriaNinInputToJSONTyped,
204
211
  } from './NigeriaNinInput';
212
+ import type { SamsungWalletInput } from './SamsungWalletInput';
213
+ import {
214
+ SamsungWalletInputFromJSON,
215
+ SamsungWalletInputFromJSONTyped,
216
+ SamsungWalletInputToJSON,
217
+ SamsungWalletInputToJSONTyped,
218
+ } from './SamsungWalletInput';
205
219
  import type { SouthAfricaNidMatch2Input } from './SouthAfricaNidMatch2Input';
206
220
  import {
207
221
  SouthAfricaNidMatch2InputFromJSON,
@@ -209,6 +223,13 @@ import {
209
223
  SouthAfricaNidMatch2InputToJSON,
210
224
  SouthAfricaNidMatch2InputToJSONTyped,
211
225
  } from './SouthAfricaNidMatch2Input';
226
+ import type { FranceIdentiteInput } from './FranceIdentiteInput';
227
+ import {
228
+ FranceIdentiteInputFromJSON,
229
+ FranceIdentiteInputFromJSONTyped,
230
+ FranceIdentiteInputToJSON,
231
+ FranceIdentiteInputToJSONTyped,
232
+ } from './FranceIdentiteInput';
212
233
  import type { GoogleWalletInput } from './GoogleWalletInput';
213
234
  import {
214
235
  GoogleWalletInputFromJSON,
@@ -424,12 +445,30 @@ export interface ProviderInput {
424
445
  * @memberof ProviderInput
425
446
  */
426
447
  appleWallet?: AppleWalletInput | null;
448
+ /**
449
+ * Input for the `samsung-wallet` provider
450
+ * @type {SamsungWalletInput}
451
+ * @memberof ProviderInput
452
+ */
453
+ samsungWallet?: SamsungWalletInput | null;
454
+ /**
455
+ * Input for the `france-identite` provider
456
+ * @type {FranceIdentiteInput}
457
+ * @memberof ProviderInput
458
+ */
459
+ franceIdentite?: FranceIdentiteInput | null;
427
460
  /**
428
461
  * Input for the `peru-dni-lookup` provider
429
462
  * @type {PeruDniLookupInput}
430
463
  * @memberof ProviderInput
431
464
  */
432
465
  peruDniLookup?: PeruDniLookupInput | null;
466
+ /**
467
+ * Input for the `uk-evisa-lookup` provider
468
+ * @type {UkEvisaLookupInput}
469
+ * @memberof ProviderInput
470
+ */
471
+ ukEvisaLookup?: UkEvisaLookupInput | null;
433
472
  /**
434
473
  * *TEST MODE ONLY.*
435
474
  *
@@ -495,7 +534,10 @@ export function ProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boole
495
534
  'italySpid': json['italy-spid'] == null ? undefined : SpidInputFromJSON(json['italy-spid']),
496
535
  'googleWallet': json['google-wallet'] == null ? undefined : GoogleWalletInputFromJSON(json['google-wallet']),
497
536
  'appleWallet': json['apple-wallet'] == null ? undefined : AppleWalletInputFromJSON(json['apple-wallet']),
537
+ 'samsungWallet': json['samsung-wallet'] == null ? undefined : SamsungWalletInputFromJSON(json['samsung-wallet']),
538
+ 'franceIdentite': json['france-identite'] == null ? undefined : FranceIdentiteInputFromJSON(json['france-identite']),
498
539
  'peruDniLookup': json['peru-dni-lookup'] == null ? undefined : PeruDniLookupInputFromJSON(json['peru-dni-lookup']),
540
+ 'ukEvisaLookup': json['uk-evisa-lookup'] == null ? undefined : UkEvisaLookupInputFromJSON(json['uk-evisa-lookup']),
499
541
  'trinsicTestDatabaseLookup': json['trinsic-test-database-lookup'] == null ? undefined : TrinsicTestDatabaseLookupInputFromJSON(json['trinsic-test-database-lookup']),
500
542
  'trinsicTestSubProviders': json['trinsic-test-sub-providers'] == null ? undefined : TrinsicTestSubProvidersInputFromJSON(json['trinsic-test-sub-providers']),
501
543
  };
@@ -542,7 +584,10 @@ export function ProviderInputToJSONTyped(value?: ProviderInput | null, ignoreDis
542
584
  'italy-spid': SpidInputToJSON(value['italySpid']),
543
585
  'google-wallet': GoogleWalletInputToJSON(value['googleWallet']),
544
586
  'apple-wallet': AppleWalletInputToJSON(value['appleWallet']),
587
+ 'samsung-wallet': SamsungWalletInputToJSON(value['samsungWallet']),
588
+ 'france-identite': FranceIdentiteInputToJSON(value['franceIdentite']),
545
589
  'peru-dni-lookup': PeruDniLookupInputToJSON(value['peruDniLookup']),
590
+ 'uk-evisa-lookup': UkEvisaLookupInputToJSON(value['ukEvisaLookup']),
546
591
  'trinsic-test-database-lookup': TrinsicTestDatabaseLookupInputToJSON(value['trinsicTestDatabaseLookup']),
547
592
  'trinsic-test-sub-providers': TrinsicTestSubProvidersInputToJSON(value['trinsicTestSubProviders']),
548
593
  };