@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,93 @@
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.instanceOfCzechMojeIdProviderOutput = instanceOfCzechMojeIdProviderOutput;
17
+ exports.CzechMojeIdProviderOutputFromJSON = CzechMojeIdProviderOutputFromJSON;
18
+ exports.CzechMojeIdProviderOutputFromJSONTyped = CzechMojeIdProviderOutputFromJSONTyped;
19
+ exports.CzechMojeIdProviderOutputToJSON = CzechMojeIdProviderOutputToJSON;
20
+ exports.CzechMojeIdProviderOutputToJSONTyped = CzechMojeIdProviderOutputToJSONTyped;
21
+ const CzechMojeIdAddressOutput_1 = require("./CzechMojeIdAddressOutput");
22
+ /**
23
+ * Check if a given object implements the CzechMojeIdProviderOutput interface.
24
+ */
25
+ function instanceOfCzechMojeIdProviderOutput(value) {
26
+ return true;
27
+ }
28
+ function CzechMojeIdProviderOutputFromJSON(json) {
29
+ return CzechMojeIdProviderOutputFromJSONTyped(json, false);
30
+ }
31
+ function CzechMojeIdProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'subjectIdentifier': json['subjectIdentifier'] == null ? undefined : json['subjectIdentifier'],
37
+ 'name': json['name'] == null ? undefined : json['name'],
38
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
39
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
40
+ 'nickname': json['nickname'] == null ? undefined : json['nickname'],
41
+ 'email': json['email'] == null ? undefined : json['email'],
42
+ 'emailVerified': json['emailVerified'] == null ? undefined : json['emailVerified'],
43
+ 'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
44
+ 'phoneNumberVerified': json['phoneNumberVerified'] == null ? undefined : json['phoneNumberVerified'],
45
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
46
+ 'gender': json['gender'] == null ? undefined : json['gender'],
47
+ 'idCardNumber': json['idCardNumber'] == null ? undefined : json['idCardNumber'],
48
+ 'passportNumber': json['passportNumber'] == null ? undefined : json['passportNumber'],
49
+ 'socialSecurityNumber': json['socialSecurityNumber'] == null ? undefined : json['socialSecurityNumber'],
50
+ 'isAdult': json['isAdult'] == null ? undefined : json['isAdult'],
51
+ 'accountValidated': json['accountValidated'] == null ? undefined : json['accountValidated'],
52
+ 'companyRegistrationNumber': json['companyRegistrationNumber'] == null ? undefined : json['companyRegistrationNumber'],
53
+ 'taxIdentificationNumber': json['taxIdentificationNumber'] == null ? undefined : json['taxIdentificationNumber'],
54
+ 'niaVerified': json['niaVerified'] == null ? undefined : json['niaVerified'],
55
+ 'transactionId': json['transactionId'] == null ? undefined : json['transactionId'],
56
+ 'homeAddress': json['homeAddress'] == null ? undefined : (0, CzechMojeIdAddressOutput_1.CzechMojeIdAddressOutputFromJSON)(json['homeAddress']),
57
+ 'billingAddress': json['billingAddress'] == null ? undefined : (0, CzechMojeIdAddressOutput_1.CzechMojeIdAddressOutputFromJSON)(json['billingAddress']),
58
+ 'shippingAddress': json['shippingAddress'] == null ? undefined : (0, CzechMojeIdAddressOutput_1.CzechMojeIdAddressOutputFromJSON)(json['shippingAddress']),
59
+ };
60
+ }
61
+ function CzechMojeIdProviderOutputToJSON(json) {
62
+ return CzechMojeIdProviderOutputToJSONTyped(json, false);
63
+ }
64
+ function CzechMojeIdProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'subjectIdentifier': value['subjectIdentifier'],
70
+ 'name': value['name'],
71
+ 'givenName': value['givenName'],
72
+ 'familyName': value['familyName'],
73
+ 'nickname': value['nickname'],
74
+ 'email': value['email'],
75
+ 'emailVerified': value['emailVerified'],
76
+ 'phoneNumber': value['phoneNumber'],
77
+ 'phoneNumberVerified': value['phoneNumberVerified'],
78
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
79
+ 'gender': value['gender'],
80
+ 'idCardNumber': value['idCardNumber'],
81
+ 'passportNumber': value['passportNumber'],
82
+ 'socialSecurityNumber': value['socialSecurityNumber'],
83
+ 'isAdult': value['isAdult'],
84
+ 'accountValidated': value['accountValidated'],
85
+ 'companyRegistrationNumber': value['companyRegistrationNumber'],
86
+ 'taxIdentificationNumber': value['taxIdentificationNumber'],
87
+ 'niaVerified': value['niaVerified'],
88
+ 'transactionId': value['transactionId'],
89
+ 'homeAddress': (0, CzechMojeIdAddressOutput_1.CzechMojeIdAddressOutputToJSON)(value['homeAddress']),
90
+ 'billingAddress': (0, CzechMojeIdAddressOutput_1.CzechMojeIdAddressOutputToJSON)(value['billingAddress']),
91
+ 'shippingAddress': (0, CzechMojeIdAddressOutput_1.CzechMojeIdAddressOutputToJSON)(value['shippingAddress']),
92
+ };
93
+ }
@@ -0,0 +1,82 @@
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 { AadhaarLocalizedClaims } from './AadhaarLocalizedClaims';
13
+ import type { AadhaarClaims } from './AadhaarClaims';
14
+ /**
15
+ * Exposed properties for the `india-digilocker-aadhaar` Provider which do not directly map to the normalized IdentityData model.
16
+ * @export
17
+ * @interface DigilockerAadhaarProviderOutput
18
+ */
19
+ export interface DigilockerAadhaarProviderOutput {
20
+ /**
21
+ * The document type from which the identity data was retrieved from.
22
+ *
23
+ * Possible values:
24
+ * - ADHAR
25
+ * - PANCR
26
+ * @type {string}
27
+ * @memberof DigilockerAadhaarProviderOutput
28
+ */
29
+ documentType?: string | null;
30
+ /**
31
+ * Whether the downloaded Aadhaar document signature and certificate chain validation succeeded.
32
+ *
33
+ * In some cases, the document may not be returned, but the data is. When the document is received, a certificate validation is performed. When it is not, the signature can not be validated.
34
+ * @type {boolean}
35
+ * @memberof DigilockerAadhaarProviderOutput
36
+ */
37
+ documentSignatureValidated: boolean;
38
+ /**
39
+ * The timestamp when the signed document was generated and verified.
40
+ *
41
+ * This is parsed as a date-time value. Aadhaar may omit timezone information.
42
+ * @type {Date}
43
+ * @memberof DigilockerAadhaarProviderOutput
44
+ */
45
+ timestamp?: Date | null;
46
+ /**
47
+ * The validity expiration timestamp for the verification document.
48
+ *
49
+ * This is parsed as a date-time value. Aadhaar may omit timezone information.
50
+ * @type {Date}
51
+ * @memberof DigilockerAadhaarProviderOutput
52
+ */
53
+ timeToLive?: Date | null;
54
+ /**
55
+ * The Aadhaar number (UID) value for the individual.
56
+ *
57
+ * This is only the last four digits of the Aadhaar number.
58
+ * @type {string}
59
+ * @memberof DigilockerAadhaarProviderOutput
60
+ */
61
+ aadhaarNumberLastFour?: string | null;
62
+ /**
63
+ * The claims extracted from the signed Aadhaar document.
64
+ * @type {AadhaarClaims}
65
+ * @memberof DigilockerAadhaarProviderOutput
66
+ */
67
+ claims?: AadhaarClaims | null;
68
+ /**
69
+ * The localized claims extracted from the signed Aadhaar document.
70
+ * @type {AadhaarLocalizedClaims}
71
+ * @memberof DigilockerAadhaarProviderOutput
72
+ */
73
+ localizedClaims?: AadhaarLocalizedClaims | null;
74
+ }
75
+ /**
76
+ * Check if a given object implements the DigilockerAadhaarProviderOutput interface.
77
+ */
78
+ export declare function instanceOfDigilockerAadhaarProviderOutput(value: object): value is DigilockerAadhaarProviderOutput;
79
+ export declare function DigilockerAadhaarProviderOutputFromJSON(json: any): DigilockerAadhaarProviderOutput;
80
+ export declare function DigilockerAadhaarProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DigilockerAadhaarProviderOutput;
81
+ export declare function DigilockerAadhaarProviderOutputToJSON(json: any): DigilockerAadhaarProviderOutput;
82
+ export declare function DigilockerAadhaarProviderOutputToJSONTyped(value?: DigilockerAadhaarProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
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.instanceOfDigilockerAadhaarProviderOutput = instanceOfDigilockerAadhaarProviderOutput;
17
+ exports.DigilockerAadhaarProviderOutputFromJSON = DigilockerAadhaarProviderOutputFromJSON;
18
+ exports.DigilockerAadhaarProviderOutputFromJSONTyped = DigilockerAadhaarProviderOutputFromJSONTyped;
19
+ exports.DigilockerAadhaarProviderOutputToJSON = DigilockerAadhaarProviderOutputToJSON;
20
+ exports.DigilockerAadhaarProviderOutputToJSONTyped = DigilockerAadhaarProviderOutputToJSONTyped;
21
+ const AadhaarLocalizedClaims_1 = require("./AadhaarLocalizedClaims");
22
+ const AadhaarClaims_1 = require("./AadhaarClaims");
23
+ /**
24
+ * Check if a given object implements the DigilockerAadhaarProviderOutput interface.
25
+ */
26
+ function instanceOfDigilockerAadhaarProviderOutput(value) {
27
+ if (!('documentSignatureValidated' in value) || value['documentSignatureValidated'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function DigilockerAadhaarProviderOutputFromJSON(json) {
32
+ return DigilockerAadhaarProviderOutputFromJSONTyped(json, false);
33
+ }
34
+ function DigilockerAadhaarProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'documentType': json['documentType'] == null ? undefined : json['documentType'],
40
+ 'documentSignatureValidated': json['documentSignatureValidated'],
41
+ 'timestamp': json['timestamp'] == null ? undefined : (new Date(json['timestamp'])),
42
+ 'timeToLive': json['timeToLive'] == null ? undefined : (new Date(json['timeToLive'])),
43
+ 'aadhaarNumberLastFour': json['aadhaarNumberLastFour'] == null ? undefined : json['aadhaarNumberLastFour'],
44
+ 'claims': json['claims'] == null ? undefined : (0, AadhaarClaims_1.AadhaarClaimsFromJSON)(json['claims']),
45
+ 'localizedClaims': json['localizedClaims'] == null ? undefined : (0, AadhaarLocalizedClaims_1.AadhaarLocalizedClaimsFromJSON)(json['localizedClaims']),
46
+ };
47
+ }
48
+ function DigilockerAadhaarProviderOutputToJSON(json) {
49
+ return DigilockerAadhaarProviderOutputToJSONTyped(json, false);
50
+ }
51
+ function DigilockerAadhaarProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'documentType': value['documentType'],
57
+ 'documentSignatureValidated': value['documentSignatureValidated'],
58
+ 'timestamp': value['timestamp'] == null ? undefined : (value['timestamp'].toISOString()),
59
+ 'timeToLive': value['timeToLive'] == null ? undefined : (value['timeToLive'].toISOString()),
60
+ 'aadhaarNumberLastFour': value['aadhaarNumberLastFour'],
61
+ 'claims': (0, AadhaarClaims_1.AadhaarClaimsToJSON)(value['claims']),
62
+ 'localizedClaims': (0, AadhaarLocalizedClaims_1.AadhaarLocalizedClaimsToJSON)(value['localizedClaims']),
63
+ };
64
+ }
@@ -24,6 +24,26 @@ export interface FaydaProviderOutput {
24
24
  * @memberof FaydaProviderOutput
25
25
  */
26
26
  sub?: string | null;
27
+ /**
28
+ * The full name of the verified individual.
29
+ *
30
+ * This may be an English or Arabic name if the individual only has it one language, otherwise this will be null and the other names will be populated.
31
+ * @type {string}
32
+ * @memberof FaydaProviderOutput
33
+ */
34
+ name?: string | null;
35
+ /**
36
+ * The full English name of the verified individual.
37
+ * @type {string}
38
+ * @memberof FaydaProviderOutput
39
+ */
40
+ englishName?: string | null;
41
+ /**
42
+ * The full Arabic name of the verified individual.
43
+ * @type {string}
44
+ * @memberof FaydaProviderOutput
45
+ */
46
+ arabicName?: string | null;
27
47
  }
28
48
  /**
29
49
  * Check if a given object implements the FaydaProviderOutput interface.
@@ -33,6 +33,9 @@ function FaydaProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
33
33
  }
34
34
  return {
35
35
  'sub': json['sub'] == null ? undefined : json['sub'],
36
+ 'name': json['name'] == null ? undefined : json['name'],
37
+ 'englishName': json['englishName'] == null ? undefined : json['englishName'],
38
+ 'arabicName': json['arabicName'] == null ? undefined : json['arabicName'],
36
39
  };
37
40
  }
38
41
  function FaydaProviderOutputToJSON(json) {
@@ -44,5 +47,8 @@ function FaydaProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
44
47
  }
45
48
  return {
46
49
  'sub': value['sub'],
50
+ 'name': value['name'],
51
+ 'englishName': value['englishName'],
52
+ 'arabicName': value['arabicName'],
47
53
  };
48
54
  }
@@ -0,0 +1,123 @@
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 `finnish-trust-network` Provider which do not directly map to the normalized IdentityData model.
14
+ * @export
15
+ * @interface FinnishTrustNetworkProviderOutput
16
+ */
17
+ export interface FinnishTrustNetworkProviderOutput {
18
+ /**
19
+ * The full name of the individual.
20
+ * @type {string}
21
+ * @memberof FinnishTrustNetworkProviderOutput
22
+ */
23
+ fullName?: string | null;
24
+ /**
25
+ * The date of birth of the individual.
26
+ * @type {Date}
27
+ * @memberof FinnishTrustNetworkProviderOutput
28
+ */
29
+ dateOfBirth?: Date | null;
30
+ /**
31
+ * The 11-digit Finnish Personal Identification Code (Henkilötunnus) of the verified individual.
32
+ *
33
+ * This is in the format DDMMYYCZZZQ, where:
34
+ * - DDMMYY is the date of birth
35
+ * - C is a symbol which determines the century of birth
36
+ * - ZZZ is an individual number, indicating gender
37
+ * - Q is a checksum character
38
+ *
39
+ * If ZZZ is even, the individual is female.
40
+ * If ZZZ is odd, the individual is male.
41
+ *
42
+ * If C is '+', the individual was born in the 19th century (1800-1899).
43
+ * If C is '-', 'U', 'V', 'W', 'X', or 'Y', the individual was born in the 20th century (1900-1999).
44
+ * If C is 'A', 'B', 'C', 'D', 'E', or 'F', the individual was born in the 21st century (2000-2099).
45
+ * @type {string}
46
+ * @memberof FinnishTrustNetworkProviderOutput
47
+ */
48
+ personalIdentificationCode?: string | null;
49
+ /**
50
+ * The 9-digit Finnish Unique Identification Number (FINUID, or sähköinen asiointitunnus SATU) of the verified individual.
51
+ * This number is typically used for online transactions and unlike the Finnish Personal Identification Code, does not reveal personal information such as birthdate.
52
+ *
53
+ * The first 8 digits are randomly generated and the last character is a check control.
54
+ * @type {string}
55
+ * @memberof FinnishTrustNetworkProviderOutput
56
+ */
57
+ uniqueIdentificationNumber?: string | null;
58
+ /**
59
+ * The given name of the individual.
60
+ * @type {string}
61
+ * @memberof FinnishTrustNetworkProviderOutput
62
+ */
63
+ givenName?: string | null;
64
+ /**
65
+ * The family name of the individual.
66
+ * @type {string}
67
+ * @memberof FinnishTrustNetworkProviderOutput
68
+ */
69
+ familyName?: string | null;
70
+ /**
71
+ * The level of assurance (LOA) for the verification.
72
+ *
73
+ * The LOA refers to the degree of confidence in the claimed identity of a person.
74
+ * 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.
75
+ * To learn more, see: https://ec.europa.eu/digital-building-blocks/sites/spaces/DIGITAL/pages/467110081/eIDAS+Levels+of+Assurance
76
+ *
77
+ * Possible values:
78
+ * - Low: The user has self asserted their identity and multifactor authentication is not required.
79
+ * - Substantial: The user has performed either a remote or in-person identity verification and multifactor authentication is required.
80
+ * - 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.
81
+ * @type {string}
82
+ * @memberof FinnishTrustNetworkProviderOutput
83
+ */
84
+ levelOfAssurance?: string | null;
85
+ /**
86
+ * The bank used to perform the identification for the verified individual.
87
+ * @type {string}
88
+ * @memberof FinnishTrustNetworkProviderOutput
89
+ */
90
+ bank?: string | null;
91
+ /**
92
+ * The phone number of the verified individual.
93
+ *
94
+ * This is only returned if the user authenticated with MobileID (Mobiilivarmenne).
95
+ * @type {string}
96
+ * @memberof FinnishTrustNetworkProviderOutput
97
+ */
98
+ phoneNumber?: string | null;
99
+ /**
100
+ * The organization name that the individual is associated with.
101
+ *
102
+ * This is returned for requests that contain the organization scope.
103
+ * @type {string}
104
+ * @memberof FinnishTrustNetworkProviderOutput
105
+ */
106
+ organizationName?: string | null;
107
+ /**
108
+ * The VAT number of the organization that the individual is associated with.
109
+ *
110
+ * This is returned for requests that contain the organization scope.
111
+ * @type {string}
112
+ * @memberof FinnishTrustNetworkProviderOutput
113
+ */
114
+ vatNumber?: string | null;
115
+ }
116
+ /**
117
+ * Check if a given object implements the FinnishTrustNetworkProviderOutput interface.
118
+ */
119
+ export declare function instanceOfFinnishTrustNetworkProviderOutput(value: object): value is FinnishTrustNetworkProviderOutput;
120
+ export declare function FinnishTrustNetworkProviderOutputFromJSON(json: any): FinnishTrustNetworkProviderOutput;
121
+ export declare function FinnishTrustNetworkProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FinnishTrustNetworkProviderOutput;
122
+ export declare function FinnishTrustNetworkProviderOutputToJSON(json: any): FinnishTrustNetworkProviderOutput;
123
+ export declare function FinnishTrustNetworkProviderOutputToJSONTyped(value?: FinnishTrustNetworkProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,68 @@
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.instanceOfFinnishTrustNetworkProviderOutput = instanceOfFinnishTrustNetworkProviderOutput;
17
+ exports.FinnishTrustNetworkProviderOutputFromJSON = FinnishTrustNetworkProviderOutputFromJSON;
18
+ exports.FinnishTrustNetworkProviderOutputFromJSONTyped = FinnishTrustNetworkProviderOutputFromJSONTyped;
19
+ exports.FinnishTrustNetworkProviderOutputToJSON = FinnishTrustNetworkProviderOutputToJSON;
20
+ exports.FinnishTrustNetworkProviderOutputToJSONTyped = FinnishTrustNetworkProviderOutputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the FinnishTrustNetworkProviderOutput interface.
23
+ */
24
+ function instanceOfFinnishTrustNetworkProviderOutput(value) {
25
+ return true;
26
+ }
27
+ function FinnishTrustNetworkProviderOutputFromJSON(json) {
28
+ return FinnishTrustNetworkProviderOutputFromJSONTyped(json, false);
29
+ }
30
+ function FinnishTrustNetworkProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'fullName': json['fullName'] == null ? undefined : json['fullName'],
36
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
37
+ 'personalIdentificationCode': json['personalIdentificationCode'] == null ? undefined : json['personalIdentificationCode'],
38
+ 'uniqueIdentificationNumber': json['uniqueIdentificationNumber'] == null ? undefined : json['uniqueIdentificationNumber'],
39
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
40
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
41
+ 'levelOfAssurance': json['levelOfAssurance'] == null ? undefined : json['levelOfAssurance'],
42
+ 'bank': json['bank'] == null ? undefined : json['bank'],
43
+ 'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
44
+ 'organizationName': json['organizationName'] == null ? undefined : json['organizationName'],
45
+ 'vatNumber': json['vatNumber'] == null ? undefined : json['vatNumber'],
46
+ };
47
+ }
48
+ function FinnishTrustNetworkProviderOutputToJSON(json) {
49
+ return FinnishTrustNetworkProviderOutputToJSONTyped(json, false);
50
+ }
51
+ function FinnishTrustNetworkProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'fullName': value['fullName'],
57
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
58
+ 'personalIdentificationCode': value['personalIdentificationCode'],
59
+ 'uniqueIdentificationNumber': value['uniqueIdentificationNumber'],
60
+ 'givenName': value['givenName'],
61
+ 'familyName': value['familyName'],
62
+ 'levelOfAssurance': value['levelOfAssurance'],
63
+ 'bank': value['bank'],
64
+ 'phoneNumber': value['phoneNumber'],
65
+ 'organizationName': value['organizationName'],
66
+ 'vatNumber': value['vatNumber'],
67
+ };
68
+ }
@@ -0,0 +1,35 @@
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 { Raw18013RequestInput } from './Raw18013RequestInput';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface FranceIdentiteInput
17
+ */
18
+ export interface FranceIdentiteInput {
19
+ /**
20
+ * The raw 18013-7 exchange request to use for this verification.
21
+ *
22
+ * If set, this overrides any default configuration on your Verification Profile.
23
+ * @type {Raw18013RequestInput}
24
+ * @memberof FranceIdentiteInput
25
+ */
26
+ previewRaw18013Request?: Raw18013RequestInput | null;
27
+ }
28
+ /**
29
+ * Check if a given object implements the FranceIdentiteInput interface.
30
+ */
31
+ export declare function instanceOfFranceIdentiteInput(value: object): value is FranceIdentiteInput;
32
+ export declare function FranceIdentiteInputFromJSON(json: any): FranceIdentiteInput;
33
+ export declare function FranceIdentiteInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FranceIdentiteInput;
34
+ export declare function FranceIdentiteInputToJSON(json: any): FranceIdentiteInput;
35
+ export declare function FranceIdentiteInputToJSONTyped(value?: FranceIdentiteInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
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.instanceOfFranceIdentiteInput = instanceOfFranceIdentiteInput;
17
+ exports.FranceIdentiteInputFromJSON = FranceIdentiteInputFromJSON;
18
+ exports.FranceIdentiteInputFromJSONTyped = FranceIdentiteInputFromJSONTyped;
19
+ exports.FranceIdentiteInputToJSON = FranceIdentiteInputToJSON;
20
+ exports.FranceIdentiteInputToJSONTyped = FranceIdentiteInputToJSONTyped;
21
+ const Raw18013RequestInput_1 = require("./Raw18013RequestInput");
22
+ /**
23
+ * Check if a given object implements the FranceIdentiteInput interface.
24
+ */
25
+ function instanceOfFranceIdentiteInput(value) {
26
+ return true;
27
+ }
28
+ function FranceIdentiteInputFromJSON(json) {
29
+ return FranceIdentiteInputFromJSONTyped(json, false);
30
+ }
31
+ function FranceIdentiteInputFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'previewRaw18013Request': json['preview_raw18013Request'] == null ? undefined : (0, Raw18013RequestInput_1.Raw18013RequestInputFromJSON)(json['preview_raw18013Request']),
37
+ };
38
+ }
39
+ function FranceIdentiteInputToJSON(json) {
40
+ return FranceIdentiteInputToJSONTyped(json, false);
41
+ }
42
+ function FranceIdentiteInputToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'preview_raw18013Request': (0, Raw18013RequestInput_1.Raw18013RequestInputToJSON)(value['previewRaw18013Request']),
48
+ };
49
+ }
@@ -0,0 +1,33 @@
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 { MdlOutput } from './MdlOutput';
13
+ /**
14
+ * Exposed properties for the `france-identite` Provider which do not directly map to the normalized IdentityData model.
15
+ * @export
16
+ * @interface FranceIdentiteProviderOutput
17
+ */
18
+ export interface FranceIdentiteProviderOutput {
19
+ /**
20
+ * The raw output of the 18013-7 exchange performed through France Identité.
21
+ * @type {MdlOutput}
22
+ * @memberof FranceIdentiteProviderOutput
23
+ */
24
+ raw18013Output: MdlOutput;
25
+ }
26
+ /**
27
+ * Check if a given object implements the FranceIdentiteProviderOutput interface.
28
+ */
29
+ export declare function instanceOfFranceIdentiteProviderOutput(value: object): value is FranceIdentiteProviderOutput;
30
+ export declare function FranceIdentiteProviderOutputFromJSON(json: any): FranceIdentiteProviderOutput;
31
+ export declare function FranceIdentiteProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FranceIdentiteProviderOutput;
32
+ export declare function FranceIdentiteProviderOutputToJSON(json: any): FranceIdentiteProviderOutput;
33
+ export declare function FranceIdentiteProviderOutputToJSONTyped(value?: FranceIdentiteProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfFranceIdentiteProviderOutput = instanceOfFranceIdentiteProviderOutput;
17
+ exports.FranceIdentiteProviderOutputFromJSON = FranceIdentiteProviderOutputFromJSON;
18
+ exports.FranceIdentiteProviderOutputFromJSONTyped = FranceIdentiteProviderOutputFromJSONTyped;
19
+ exports.FranceIdentiteProviderOutputToJSON = FranceIdentiteProviderOutputToJSON;
20
+ exports.FranceIdentiteProviderOutputToJSONTyped = FranceIdentiteProviderOutputToJSONTyped;
21
+ const MdlOutput_1 = require("./MdlOutput");
22
+ /**
23
+ * Check if a given object implements the FranceIdentiteProviderOutput interface.
24
+ */
25
+ function instanceOfFranceIdentiteProviderOutput(value) {
26
+ if (!('raw18013Output' in value) || value['raw18013Output'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function FranceIdentiteProviderOutputFromJSON(json) {
31
+ return FranceIdentiteProviderOutputFromJSONTyped(json, false);
32
+ }
33
+ function FranceIdentiteProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'raw18013Output': (0, MdlOutput_1.MdlOutputFromJSON)(json['raw18013Output']),
39
+ };
40
+ }
41
+ function FranceIdentiteProviderOutputToJSON(json) {
42
+ return FranceIdentiteProviderOutputToJSONTyped(json, false);
43
+ }
44
+ function FranceIdentiteProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'raw18013Output': (0, MdlOutput_1.MdlOutputToJSON)(value['raw18013Output']),
50
+ };
51
+ }