@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,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { OneIdProviderAddressFromJSON, OneIdProviderAddressToJSON, } from './OneIdProviderAddress';
15
+ /**
16
+ * Check if a given object implements the OneIdProviderOutput interface.
17
+ */
18
+ export function instanceOfOneIdProviderOutput(value) {
19
+ return true;
20
+ }
21
+ export function OneIdProviderOutputFromJSON(json) {
22
+ return OneIdProviderOutputFromJSONTyped(json, false);
23
+ }
24
+ export function OneIdProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'sub': json['sub'] == null ? undefined : json['sub'],
30
+ 'fullName': json['fullName'] == null ? undefined : json['fullName'],
31
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
32
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
33
+ 'birthdate': json['birthdate'] == null ? undefined : (new Date(json['birthdate'])),
34
+ 'address': json['address'] == null ? undefined : OneIdProviderAddressFromJSON(json['address']),
35
+ };
36
+ }
37
+ export function OneIdProviderOutputToJSON(json) {
38
+ return OneIdProviderOutputToJSONTyped(json, false);
39
+ }
40
+ export function OneIdProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'sub': value['sub'],
46
+ 'fullName': value['fullName'],
47
+ 'givenName': value['givenName'],
48
+ 'familyName': value['familyName'],
49
+ 'birthdate': value['birthdate'] == null ? undefined : (value['birthdate'].toISOString().substring(0, 10)),
50
+ 'address': OneIdProviderAddressToJSON(value['address']),
51
+ };
52
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Trinsic API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface OutputFrejaAddress
16
+ */
17
+ export interface OutputFrejaAddress {
18
+ /**
19
+ * The line1 portion of the address. Incorporates all address details that are not included by city, postal code, and country.
20
+ * @type {string}
21
+ * @memberof OutputFrejaAddress
22
+ */
23
+ line1?: string | null;
24
+ /**
25
+ * The name of the city associated with the address.
26
+ * @type {string}
27
+ * @memberof OutputFrejaAddress
28
+ */
29
+ city?: string | null;
30
+ /**
31
+ * The postal code associated with the address.
32
+ * @type {string}
33
+ * @memberof OutputFrejaAddress
34
+ */
35
+ postalCode?: string | null;
36
+ /**
37
+ * The ISO 3166-1 alpha-2 country code associated with the address.
38
+ * @type {string}
39
+ * @memberof OutputFrejaAddress
40
+ */
41
+ country?: string | null;
42
+ }
43
+ /**
44
+ * Check if a given object implements the OutputFrejaAddress interface.
45
+ */
46
+ export declare function instanceOfOutputFrejaAddress(value: object): value is OutputFrejaAddress;
47
+ export declare function OutputFrejaAddressFromJSON(json: any): OutputFrejaAddress;
48
+ export declare function OutputFrejaAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): OutputFrejaAddress;
49
+ export declare function OutputFrejaAddressToJSON(json: any): OutputFrejaAddress;
50
+ export declare function OutputFrejaAddressToJSONTyped(value?: OutputFrejaAddress | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the OutputFrejaAddress interface.
16
+ */
17
+ export function instanceOfOutputFrejaAddress(value) {
18
+ return true;
19
+ }
20
+ export function OutputFrejaAddressFromJSON(json) {
21
+ return OutputFrejaAddressFromJSONTyped(json, false);
22
+ }
23
+ export function OutputFrejaAddressFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'line1': json['line1'] == null ? undefined : json['line1'],
29
+ 'city': json['city'] == null ? undefined : json['city'],
30
+ 'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
31
+ 'country': json['country'] == null ? undefined : json['country'],
32
+ };
33
+ }
34
+ export function OutputFrejaAddressToJSON(json) {
35
+ return OutputFrejaAddressToJSONTyped(json, false);
36
+ }
37
+ export function OutputFrejaAddressToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'line1': value['line1'],
43
+ 'city': value['city'],
44
+ 'postalCode': value['postalCode'],
45
+ 'country': value['country'],
46
+ };
47
+ }
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Trinsic API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface OutputFrejaDocument
16
+ */
17
+ export interface OutputFrejaDocument {
18
+ /**
19
+ * Type of document. Possible values are:
20
+ * * "PASS": Passport
21
+ * * "DRILIC": Driver's License
22
+ * * "NATID": National ID
23
+ * * "IDSIS": SiS certified ID document
24
+ * * "TAXID": Tax Agency ID card
25
+ * * "OTHERID": Other IDs
26
+ * @type {string}
27
+ * @memberof OutputFrejaDocument
28
+ */
29
+ type?: string | null;
30
+ /**
31
+ * The document serial number. The structure of this number depends on the type and nationality of the document.
32
+ * @type {string}
33
+ * @memberof OutputFrejaDocument
34
+ */
35
+ serialNumber?: string | null;
36
+ /**
37
+ * Expiration date of the document. Formatted as an ISO 8601 Date.
38
+ * @type {Date}
39
+ * @memberof OutputFrejaDocument
40
+ */
41
+ expirationDate?: Date | null;
42
+ /**
43
+ * The ISO 3166-1 alpha-2 country code associated with the document.
44
+ * @type {string}
45
+ * @memberof OutputFrejaDocument
46
+ */
47
+ country?: string | null;
48
+ }
49
+ /**
50
+ * Check if a given object implements the OutputFrejaDocument interface.
51
+ */
52
+ export declare function instanceOfOutputFrejaDocument(value: object): value is OutputFrejaDocument;
53
+ export declare function OutputFrejaDocumentFromJSON(json: any): OutputFrejaDocument;
54
+ export declare function OutputFrejaDocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): OutputFrejaDocument;
55
+ export declare function OutputFrejaDocumentToJSON(json: any): OutputFrejaDocument;
56
+ export declare function OutputFrejaDocumentToJSONTyped(value?: OutputFrejaDocument | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the OutputFrejaDocument interface.
16
+ */
17
+ export function instanceOfOutputFrejaDocument(value) {
18
+ return true;
19
+ }
20
+ export function OutputFrejaDocumentFromJSON(json) {
21
+ return OutputFrejaDocumentFromJSONTyped(json, false);
22
+ }
23
+ export function OutputFrejaDocumentFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'type': json['type'] == null ? undefined : json['type'],
29
+ 'serialNumber': json['serialNumber'] == null ? undefined : json['serialNumber'],
30
+ 'expirationDate': json['expirationDate'] == null ? undefined : (new Date(json['expirationDate'])),
31
+ 'country': json['country'] == null ? undefined : json['country'],
32
+ };
33
+ }
34
+ export function OutputFrejaDocumentToJSON(json) {
35
+ return OutputFrejaDocumentToJSONTyped(json, false);
36
+ }
37
+ export function OutputFrejaDocumentToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'type': value['type'],
43
+ 'serialNumber': value['serialNumber'],
44
+ 'expirationDate': value['expirationDate'] == null ? undefined : (value['expirationDate'].toISOString().substring(0, 10)),
45
+ 'country': value['country'],
46
+ };
47
+ }
@@ -22,6 +22,70 @@ export interface PhilippinesDigitalNidProviderOutput {
22
22
  * @memberof PhilippinesDigitalNidProviderOutput
23
23
  */
24
24
  philsysCardNumber: string;
25
+ /**
26
+ * The given (first) name of the individual.
27
+ * @type {string}
28
+ * @memberof PhilippinesDigitalNidProviderOutput
29
+ */
30
+ givenName?: string | null;
31
+ /**
32
+ * The middle name of the individual.
33
+ * @type {string}
34
+ * @memberof PhilippinesDigitalNidProviderOutput
35
+ */
36
+ middleName?: string | null;
37
+ /**
38
+ * The family (last) name of the individual.
39
+ * @type {string}
40
+ * @memberof PhilippinesDigitalNidProviderOutput
41
+ */
42
+ familyName?: string | null;
43
+ /**
44
+ * The date of birth of the individual.
45
+ * @type {Date}
46
+ * @memberof PhilippinesDigitalNidProviderOutput
47
+ */
48
+ dateOfBirth?: Date | null;
49
+ /**
50
+ * The name suffix of the individual (e.g. Jr., III).
51
+ * @type {string}
52
+ * @memberof PhilippinesDigitalNidProviderOutput
53
+ */
54
+ suffix?: string | null;
55
+ /**
56
+ * The sex of the individual.
57
+ *
58
+ * Possible values:
59
+ * - Male
60
+ * - Female
61
+ * @type {string}
62
+ * @memberof PhilippinesDigitalNidProviderOutput
63
+ */
64
+ sex?: string | null;
65
+ /**
66
+ * The place of birth of the individual as recorded on the PhilSys credential.
67
+ * @type {string}
68
+ * @memberof PhilippinesDigitalNidProviderOutput
69
+ */
70
+ placeOfBirth?: string | null;
71
+ /**
72
+ * The date the document was issued.
73
+ * @type {Date}
74
+ * @memberof PhilippinesDigitalNidProviderOutput
75
+ */
76
+ documentIssueDate?: Date | null;
77
+ /**
78
+ * The document number of the digital National ID.
79
+ * @type {string}
80
+ * @memberof PhilippinesDigitalNidProviderOutput
81
+ */
82
+ documentNumber?: string | null;
83
+ /**
84
+ * The issuing authority of the document.
85
+ * @type {string}
86
+ * @memberof PhilippinesDigitalNidProviderOutput
87
+ */
88
+ issuingAuthority?: string | null;
25
89
  }
26
90
  /**
27
91
  * Check if a given object implements the PhilippinesDigitalNidProviderOutput interface.
@@ -28,6 +28,16 @@ export function PhilippinesDigitalNidProviderOutputFromJSONTyped(json, ignoreDis
28
28
  }
29
29
  return {
30
30
  'philsysCardNumber': json['philsysCardNumber'],
31
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
32
+ 'middleName': json['middleName'] == null ? undefined : json['middleName'],
33
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
34
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
35
+ 'suffix': json['suffix'] == null ? undefined : json['suffix'],
36
+ 'sex': json['sex'] == null ? undefined : json['sex'],
37
+ 'placeOfBirth': json['placeOfBirth'] == null ? undefined : json['placeOfBirth'],
38
+ 'documentIssueDate': json['documentIssueDate'] == null ? undefined : (new Date(json['documentIssueDate'])),
39
+ 'documentNumber': json['documentNumber'] == null ? undefined : json['documentNumber'],
40
+ 'issuingAuthority': json['issuingAuthority'] == null ? undefined : json['issuingAuthority'],
31
41
  };
32
42
  }
33
43
  export function PhilippinesDigitalNidProviderOutputToJSON(json) {
@@ -39,5 +49,15 @@ export function PhilippinesDigitalNidProviderOutputToJSONTyped(value, ignoreDisc
39
49
  }
40
50
  return {
41
51
  'philsysCardNumber': value['philsysCardNumber'],
52
+ 'givenName': value['givenName'],
53
+ 'middleName': value['middleName'],
54
+ 'familyName': value['familyName'],
55
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
56
+ 'suffix': value['suffix'],
57
+ 'sex': value['sex'],
58
+ 'placeOfBirth': value['placeOfBirth'],
59
+ 'documentIssueDate': value['documentIssueDate'] == null ? undefined : (value['documentIssueDate'].toISOString().substring(0, 10)),
60
+ 'documentNumber': value['documentNumber'],
61
+ 'issuingAuthority': value['issuingAuthority'],
42
62
  };
43
63
  }
@@ -10,7 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Exposed properties for the `philippines-physical-national-id-qr` Provider which do not directly map to the normalized IdentityData model.
13
+ * Exposed properties for the `philippines-physical-national-id-qr` Provider which do not directly map to the
14
+ * normalized IdentityData model.
14
15
  * @export
15
16
  * @interface PhilippinesPhysicalNidProviderOutput
16
17
  */
@@ -22,6 +23,58 @@ export interface PhilippinesPhysicalNidProviderOutput {
22
23
  * @memberof PhilippinesPhysicalNidProviderOutput
23
24
  */
24
25
  philsysCardNumber: string;
26
+ /**
27
+ * The given (first) name of the individual.
28
+ * @type {string}
29
+ * @memberof PhilippinesPhysicalNidProviderOutput
30
+ */
31
+ givenName?: string | null;
32
+ /**
33
+ * The middle name of the individual.
34
+ * @type {string}
35
+ * @memberof PhilippinesPhysicalNidProviderOutput
36
+ */
37
+ middleName?: string | null;
38
+ /**
39
+ * The family (last) name of the individual.
40
+ * @type {string}
41
+ * @memberof PhilippinesPhysicalNidProviderOutput
42
+ */
43
+ familyName?: string | null;
44
+ /**
45
+ * The date of birth of the individual.
46
+ * @type {Date}
47
+ * @memberof PhilippinesPhysicalNidProviderOutput
48
+ */
49
+ dateOfBirth?: Date | null;
50
+ /**
51
+ * The name suffix of the individual (e.g. Jr., III).
52
+ * @type {string}
53
+ * @memberof PhilippinesPhysicalNidProviderOutput
54
+ */
55
+ suffix?: string | null;
56
+ /**
57
+ * The sex of the individual.
58
+ *
59
+ * Possible values:
60
+ * - Male
61
+ * - Female
62
+ * @type {string}
63
+ * @memberof PhilippinesPhysicalNidProviderOutput
64
+ */
65
+ sex?: string | null;
66
+ /**
67
+ * The place of birth of the individual as recorded on the PhilSys credential.
68
+ * @type {string}
69
+ * @memberof PhilippinesPhysicalNidProviderOutput
70
+ */
71
+ placeOfBirth?: string | null;
72
+ /**
73
+ * The date the document was issued.
74
+ * @type {Date}
75
+ * @memberof PhilippinesPhysicalNidProviderOutput
76
+ */
77
+ documentIssueDate?: Date | null;
25
78
  }
26
79
  /**
27
80
  * Check if a given object implements the PhilippinesPhysicalNidProviderOutput interface.
@@ -28,6 +28,14 @@ export function PhilippinesPhysicalNidProviderOutputFromJSONTyped(json, ignoreDi
28
28
  }
29
29
  return {
30
30
  'philsysCardNumber': json['philsysCardNumber'],
31
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
32
+ 'middleName': json['middleName'] == null ? undefined : json['middleName'],
33
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
34
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
35
+ 'suffix': json['suffix'] == null ? undefined : json['suffix'],
36
+ 'sex': json['sex'] == null ? undefined : json['sex'],
37
+ 'placeOfBirth': json['placeOfBirth'] == null ? undefined : json['placeOfBirth'],
38
+ 'documentIssueDate': json['documentIssueDate'] == null ? undefined : (new Date(json['documentIssueDate'])),
31
39
  };
32
40
  }
33
41
  export function PhilippinesPhysicalNidProviderOutputToJSON(json) {
@@ -39,5 +47,13 @@ export function PhilippinesPhysicalNidProviderOutputToJSONTyped(value, ignoreDis
39
47
  }
40
48
  return {
41
49
  'philsysCardNumber': value['philsysCardNumber'],
50
+ 'givenName': value['givenName'],
51
+ 'middleName': value['middleName'],
52
+ 'familyName': value['familyName'],
53
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
54
+ 'suffix': value['suffix'],
55
+ 'sex': value['sex'],
56
+ 'placeOfBirth': value['placeOfBirth'],
57
+ 'documentIssueDate': value['documentIssueDate'] == null ? undefined : (value['documentIssueDate'].toISOString().substring(0, 10)),
42
58
  };
43
59
  }
@@ -29,6 +29,7 @@ import type { NigeriaNinMatch2Input } from './NigeriaNinMatch2Input';
29
29
  import type { IndonesiaNikInput } from './IndonesiaNikInput';
30
30
  import type { CoteDIvoireNidLookup2Input } from './CoteDIvoireNidLookup2Input';
31
31
  import type { IdinInput } from './IdinInput';
32
+ import type { UkEvisaLookupInput } from './UkEvisaLookupInput';
32
33
  import type { AppleWalletInput } from './AppleWalletInput';
33
34
  import type { MexicoCurpInput } from './MexicoCurpInput';
34
35
  import type { NigeriaNinLookup2Input } from './NigeriaNinLookup2Input';
@@ -36,7 +37,9 @@ import type { TrinsicTestSubProvidersInput } from './TrinsicTestSubProvidersInpu
36
37
  import type { SpidInput } from './SpidInput';
37
38
  import type { SouthAfricaNidInput } from './SouthAfricaNidInput';
38
39
  import type { NigeriaNinInput } from './NigeriaNinInput';
40
+ import type { SamsungWalletInput } from './SamsungWalletInput';
39
41
  import type { SouthAfricaNidMatch2Input } from './SouthAfricaNidMatch2Input';
42
+ import type { FranceIdentiteInput } from './FranceIdentiteInput';
40
43
  import type { GoogleWalletInput } from './GoogleWalletInput';
41
44
  import type { TrinsicTestDatabaseLookupInput } from './TrinsicTestDatabaseLookupInput';
42
45
  import type { SouthAfricaNidLookup2Input } from './SouthAfricaNidLookup2Input';
@@ -227,12 +230,30 @@ export interface ProviderInput {
227
230
  * @memberof ProviderInput
228
231
  */
229
232
  appleWallet?: AppleWalletInput | null;
233
+ /**
234
+ * Input for the `samsung-wallet` provider
235
+ * @type {SamsungWalletInput}
236
+ * @memberof ProviderInput
237
+ */
238
+ samsungWallet?: SamsungWalletInput | null;
239
+ /**
240
+ * Input for the `france-identite` provider
241
+ * @type {FranceIdentiteInput}
242
+ * @memberof ProviderInput
243
+ */
244
+ franceIdentite?: FranceIdentiteInput | null;
230
245
  /**
231
246
  * Input for the `peru-dni-lookup` provider
232
247
  * @type {PeruDniLookupInput}
233
248
  * @memberof ProviderInput
234
249
  */
235
250
  peruDniLookup?: PeruDniLookupInput | null;
251
+ /**
252
+ * Input for the `uk-evisa-lookup` provider
253
+ * @type {UkEvisaLookupInput}
254
+ * @memberof ProviderInput
255
+ */
256
+ ukEvisaLookup?: UkEvisaLookupInput | null;
236
257
  /**
237
258
  * *TEST MODE ONLY.*
238
259
  *
@@ -31,6 +31,7 @@ import { NigeriaNinMatch2InputFromJSON, NigeriaNinMatch2InputToJSON, } from './N
31
31
  import { IndonesiaNikInputFromJSON, IndonesiaNikInputToJSON, } from './IndonesiaNikInput';
32
32
  import { CoteDIvoireNidLookup2InputFromJSON, CoteDIvoireNidLookup2InputToJSON, } from './CoteDIvoireNidLookup2Input';
33
33
  import { IdinInputFromJSON, IdinInputToJSON, } from './IdinInput';
34
+ import { UkEvisaLookupInputFromJSON, UkEvisaLookupInputToJSON, } from './UkEvisaLookupInput';
34
35
  import { AppleWalletInputFromJSON, AppleWalletInputToJSON, } from './AppleWalletInput';
35
36
  import { MexicoCurpInputFromJSON, MexicoCurpInputToJSON, } from './MexicoCurpInput';
36
37
  import { NigeriaNinLookup2InputFromJSON, NigeriaNinLookup2InputToJSON, } from './NigeriaNinLookup2Input';
@@ -38,7 +39,9 @@ import { TrinsicTestSubProvidersInputFromJSON, TrinsicTestSubProvidersInputToJSO
38
39
  import { SpidInputFromJSON, SpidInputToJSON, } from './SpidInput';
39
40
  import { SouthAfricaNidInputFromJSON, SouthAfricaNidInputToJSON, } from './SouthAfricaNidInput';
40
41
  import { NigeriaNinInputFromJSON, NigeriaNinInputToJSON, } from './NigeriaNinInput';
42
+ import { SamsungWalletInputFromJSON, SamsungWalletInputToJSON, } from './SamsungWalletInput';
41
43
  import { SouthAfricaNidMatch2InputFromJSON, SouthAfricaNidMatch2InputToJSON, } from './SouthAfricaNidMatch2Input';
44
+ import { FranceIdentiteInputFromJSON, FranceIdentiteInputToJSON, } from './FranceIdentiteInput';
42
45
  import { GoogleWalletInputFromJSON, GoogleWalletInputToJSON, } from './GoogleWalletInput';
43
46
  import { TrinsicTestDatabaseLookupInputFromJSON, TrinsicTestDatabaseLookupInputToJSON, } from './TrinsicTestDatabaseLookupInput';
44
47
  import { SouthAfricaNidLookup2InputFromJSON, SouthAfricaNidLookup2InputToJSON, } from './SouthAfricaNidLookup2Input';
@@ -87,7 +90,10 @@ export function ProviderInputFromJSONTyped(json, ignoreDiscriminator) {
87
90
  'italySpid': json['italy-spid'] == null ? undefined : SpidInputFromJSON(json['italy-spid']),
88
91
  'googleWallet': json['google-wallet'] == null ? undefined : GoogleWalletInputFromJSON(json['google-wallet']),
89
92
  'appleWallet': json['apple-wallet'] == null ? undefined : AppleWalletInputFromJSON(json['apple-wallet']),
93
+ 'samsungWallet': json['samsung-wallet'] == null ? undefined : SamsungWalletInputFromJSON(json['samsung-wallet']),
94
+ 'franceIdentite': json['france-identite'] == null ? undefined : FranceIdentiteInputFromJSON(json['france-identite']),
90
95
  'peruDniLookup': json['peru-dni-lookup'] == null ? undefined : PeruDniLookupInputFromJSON(json['peru-dni-lookup']),
96
+ 'ukEvisaLookup': json['uk-evisa-lookup'] == null ? undefined : UkEvisaLookupInputFromJSON(json['uk-evisa-lookup']),
91
97
  'trinsicTestDatabaseLookup': json['trinsic-test-database-lookup'] == null ? undefined : TrinsicTestDatabaseLookupInputFromJSON(json['trinsic-test-database-lookup']),
92
98
  'trinsicTestSubProviders': json['trinsic-test-sub-providers'] == null ? undefined : TrinsicTestSubProvidersInputFromJSON(json['trinsic-test-sub-providers']),
93
99
  };
@@ -130,7 +136,10 @@ export function ProviderInputToJSONTyped(value, ignoreDiscriminator = false) {
130
136
  'italy-spid': SpidInputToJSON(value['italySpid']),
131
137
  'google-wallet': GoogleWalletInputToJSON(value['googleWallet']),
132
138
  'apple-wallet': AppleWalletInputToJSON(value['appleWallet']),
139
+ 'samsung-wallet': SamsungWalletInputToJSON(value['samsungWallet']),
140
+ 'france-identite': FranceIdentiteInputToJSON(value['franceIdentite']),
133
141
  'peru-dni-lookup': PeruDniLookupInputToJSON(value['peruDniLookup']),
142
+ 'uk-evisa-lookup': UkEvisaLookupInputToJSON(value['ukEvisaLookup']),
134
143
  'trinsic-test-database-lookup': TrinsicTestDatabaseLookupInputToJSON(value['trinsicTestDatabaseLookup']),
135
144
  'trinsic-test-sub-providers': TrinsicTestSubProvidersInputToJSON(value['trinsicTestSubProviders']),
136
145
  };