@trinsic/api 3.0.0 → 3.0.2-preview1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/.openapi-generator/FILES +29 -0
  2. package/dist/apis/ProvidersApi.d.ts +28 -1
  3. package/dist/apis/ProvidersApi.js +37 -0
  4. package/dist/apis/VerificationProfilesApi.d.ts +6 -2
  5. package/dist/apis/VerificationProfilesApi.js +8 -2
  6. package/dist/esm/apis/ProvidersApi.d.ts +28 -1
  7. package/dist/esm/apis/ProvidersApi.js +38 -1
  8. package/dist/esm/apis/VerificationProfilesApi.d.ts +6 -2
  9. package/dist/esm/apis/VerificationProfilesApi.js +8 -2
  10. package/dist/esm/models/AadhaarClaims.d.ts +125 -0
  11. package/dist/esm/models/AadhaarClaims.js +69 -0
  12. package/dist/esm/models/AadhaarLanguage.d.ts +55 -0
  13. package/dist/esm/models/AadhaarLanguage.js +44 -0
  14. package/dist/esm/models/AadhaarLocalizedClaims.d.ts +99 -0
  15. package/dist/esm/models/AadhaarLocalizedClaims.js +64 -0
  16. package/dist/esm/models/AppleWalletInput.d.ts +13 -0
  17. package/dist/esm/models/AppleWalletInput.js +3 -0
  18. package/dist/esm/models/ConnectIdAddress.d.ts +58 -0
  19. package/dist/esm/models/ConnectIdAddress.js +49 -0
  20. package/dist/esm/models/ConnectIdAgeVerification.d.ts +38 -0
  21. package/dist/esm/models/ConnectIdAgeVerification.js +43 -0
  22. package/dist/esm/models/ConnectIdBeneficiaryAccount.d.ts +52 -0
  23. package/dist/esm/models/ConnectIdBeneficiaryAccount.js +47 -0
  24. package/dist/esm/models/ConnectIdProviderOutput.d.ts +97 -0
  25. package/dist/esm/models/ConnectIdProviderOutput.js +64 -0
  26. package/dist/esm/models/CzechMojeIdAddressOutput.d.ts +62 -0
  27. package/dist/esm/models/CzechMojeIdAddressOutput.js +51 -0
  28. package/dist/esm/models/CzechMojeIdProviderOutput.d.ts +177 -0
  29. package/dist/esm/models/CzechMojeIdProviderOutput.js +86 -0
  30. package/dist/esm/models/DigilockerAadhaarProviderOutput.d.ts +82 -0
  31. package/dist/esm/models/DigilockerAadhaarProviderOutput.js +57 -0
  32. package/dist/esm/models/FaydaProviderOutput.d.ts +20 -0
  33. package/dist/esm/models/FaydaProviderOutput.js +6 -0
  34. package/dist/esm/models/FinnishTrustNetworkProviderOutput.d.ts +123 -0
  35. package/dist/esm/models/FinnishTrustNetworkProviderOutput.js +61 -0
  36. package/dist/esm/models/FranceIdentiteInput.d.ts +35 -0
  37. package/dist/esm/models/FranceIdentiteInput.js +42 -0
  38. package/dist/esm/models/FranceIdentiteProviderOutput.d.ts +33 -0
  39. package/dist/esm/models/FranceIdentiteProviderOutput.js +44 -0
  40. package/dist/esm/models/FrejaIndirectProviderOutput.d.ts +53 -0
  41. package/dist/esm/models/FrejaIndirectProviderOutput.js +55 -0
  42. package/dist/esm/models/FrejaProviderOutput.d.ts +103 -11
  43. package/dist/esm/models/FrejaProviderOutput.js +38 -16
  44. package/dist/esm/models/GetProviderResponse.d.ts +33 -0
  45. package/dist/esm/models/GetProviderResponse.js +44 -0
  46. package/dist/esm/models/GoogleWalletInput.d.ts +11 -0
  47. package/dist/esm/models/GoogleWalletInput.js +3 -0
  48. package/dist/esm/models/IntegrationStep.d.ts +1 -1
  49. package/dist/esm/models/KenyaNidLookup2Address.d.ts +90 -0
  50. package/dist/esm/models/KenyaNidLookup2Address.js +49 -0
  51. package/dist/esm/models/KenyaNidLookup2ProviderOutput.d.ts +114 -0
  52. package/dist/esm/models/KenyaNidLookup2ProviderOutput.js +74 -0
  53. package/dist/esm/models/NigeriaNinLookup2ProviderOutput.d.ts +112 -0
  54. package/dist/esm/models/NigeriaNinLookup2ProviderOutput.js +69 -0
  55. package/dist/esm/models/NorwegianBankIdProviderOutput.d.ts +97 -0
  56. package/dist/esm/models/NorwegianBankIdProviderOutput.js +55 -0
  57. package/dist/esm/models/OneIdProviderAddress.d.ts +56 -0
  58. package/dist/esm/models/OneIdProviderAddress.js +49 -0
  59. package/dist/esm/models/OneIdProviderOutput.d.ts +63 -0
  60. package/dist/esm/models/OneIdProviderOutput.js +52 -0
  61. package/dist/esm/models/OutputFrejaAddress.d.ts +50 -0
  62. package/dist/esm/models/OutputFrejaAddress.js +47 -0
  63. package/dist/esm/models/OutputFrejaDocument.d.ts +56 -0
  64. package/dist/esm/models/OutputFrejaDocument.js +47 -0
  65. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +64 -0
  66. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +20 -0
  67. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +54 -1
  68. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +16 -0
  69. package/dist/esm/models/ProviderInput.d.ts +21 -0
  70. package/dist/esm/models/ProviderInput.js +9 -0
  71. package/dist/esm/models/ProviderOutput.d.ts +89 -3
  72. package/dist/esm/models/ProviderOutput.js +38 -2
  73. package/dist/esm/models/Raw18013DocumentRequest.d.ts +60 -0
  74. package/dist/esm/models/Raw18013DocumentRequest.js +47 -0
  75. package/dist/esm/models/Raw18013RequestInput.d.ts +38 -0
  76. package/dist/esm/models/Raw18013RequestInput.js +44 -0
  77. package/dist/esm/models/RecommendProvidersResponse.d.ts +6 -0
  78. package/dist/esm/models/RecommendProvidersResponse.js +4 -0
  79. package/dist/esm/models/SamsungWalletInput.d.ts +37 -0
  80. package/dist/esm/models/SamsungWalletInput.js +42 -0
  81. package/dist/esm/models/UkEvisaLookupInput.d.ts +38 -0
  82. package/dist/esm/models/UkEvisaLookupInput.js +47 -0
  83. package/dist/esm/models/UnitedKingdomEvisaProviderOutput.d.ts +106 -0
  84. package/dist/esm/models/UnitedKingdomEvisaProviderOutput.js +61 -0
  85. package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
  86. package/dist/esm/models/VerificationProfileResponse.js +4 -0
  87. package/dist/esm/models/YotiDeeplinkProviderOutput.d.ts +112 -0
  88. package/dist/esm/models/YotiDeeplinkProviderOutput.js +65 -0
  89. package/dist/esm/models/index.d.ts +29 -0
  90. package/dist/esm/models/index.js +29 -0
  91. package/dist/models/AadhaarClaims.d.ts +125 -0
  92. package/dist/models/AadhaarClaims.js +76 -0
  93. package/dist/models/AadhaarLanguage.d.ts +55 -0
  94. package/dist/models/AadhaarLanguage.js +51 -0
  95. package/dist/models/AadhaarLocalizedClaims.d.ts +99 -0
  96. package/dist/models/AadhaarLocalizedClaims.js +71 -0
  97. package/dist/models/AppleWalletInput.d.ts +13 -0
  98. package/dist/models/AppleWalletInput.js +3 -0
  99. package/dist/models/ConnectIdAddress.d.ts +58 -0
  100. package/dist/models/ConnectIdAddress.js +56 -0
  101. package/dist/models/ConnectIdAgeVerification.d.ts +38 -0
  102. package/dist/models/ConnectIdAgeVerification.js +50 -0
  103. package/dist/models/ConnectIdBeneficiaryAccount.d.ts +52 -0
  104. package/dist/models/ConnectIdBeneficiaryAccount.js +54 -0
  105. package/dist/models/ConnectIdProviderOutput.d.ts +97 -0
  106. package/dist/models/ConnectIdProviderOutput.js +71 -0
  107. package/dist/models/CzechMojeIdAddressOutput.d.ts +62 -0
  108. package/dist/models/CzechMojeIdAddressOutput.js +58 -0
  109. package/dist/models/CzechMojeIdProviderOutput.d.ts +177 -0
  110. package/dist/models/CzechMojeIdProviderOutput.js +93 -0
  111. package/dist/models/DigilockerAadhaarProviderOutput.d.ts +82 -0
  112. package/dist/models/DigilockerAadhaarProviderOutput.js +64 -0
  113. package/dist/models/FaydaProviderOutput.d.ts +20 -0
  114. package/dist/models/FaydaProviderOutput.js +6 -0
  115. package/dist/models/FinnishTrustNetworkProviderOutput.d.ts +123 -0
  116. package/dist/models/FinnishTrustNetworkProviderOutput.js +68 -0
  117. package/dist/models/FranceIdentiteInput.d.ts +35 -0
  118. package/dist/models/FranceIdentiteInput.js +49 -0
  119. package/dist/models/FranceIdentiteProviderOutput.d.ts +33 -0
  120. package/dist/models/FranceIdentiteProviderOutput.js +51 -0
  121. package/dist/models/FrejaIndirectProviderOutput.d.ts +53 -0
  122. package/dist/models/FrejaIndirectProviderOutput.js +62 -0
  123. package/dist/models/FrejaProviderOutput.d.ts +103 -11
  124. package/dist/models/FrejaProviderOutput.js +38 -16
  125. package/dist/models/GetProviderResponse.d.ts +33 -0
  126. package/dist/models/GetProviderResponse.js +51 -0
  127. package/dist/models/GoogleWalletInput.d.ts +11 -0
  128. package/dist/models/GoogleWalletInput.js +3 -0
  129. package/dist/models/IntegrationStep.d.ts +1 -1
  130. package/dist/models/KenyaNidLookup2Address.d.ts +90 -0
  131. package/dist/models/KenyaNidLookup2Address.js +56 -0
  132. package/dist/models/KenyaNidLookup2ProviderOutput.d.ts +114 -0
  133. package/dist/models/KenyaNidLookup2ProviderOutput.js +81 -0
  134. package/dist/models/NigeriaNinLookup2ProviderOutput.d.ts +112 -0
  135. package/dist/models/NigeriaNinLookup2ProviderOutput.js +76 -0
  136. package/dist/models/NorwegianBankIdProviderOutput.d.ts +97 -0
  137. package/dist/models/NorwegianBankIdProviderOutput.js +62 -0
  138. package/dist/models/OneIdProviderAddress.d.ts +56 -0
  139. package/dist/models/OneIdProviderAddress.js +56 -0
  140. package/dist/models/OneIdProviderOutput.d.ts +63 -0
  141. package/dist/models/OneIdProviderOutput.js +59 -0
  142. package/dist/models/OutputFrejaAddress.d.ts +50 -0
  143. package/dist/models/OutputFrejaAddress.js +54 -0
  144. package/dist/models/OutputFrejaDocument.d.ts +56 -0
  145. package/dist/models/OutputFrejaDocument.js +54 -0
  146. package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +64 -0
  147. package/dist/models/PhilippinesDigitalNidProviderOutput.js +20 -0
  148. package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +54 -1
  149. package/dist/models/PhilippinesPhysicalNidProviderOutput.js +16 -0
  150. package/dist/models/ProviderInput.d.ts +21 -0
  151. package/dist/models/ProviderInput.js +9 -0
  152. package/dist/models/ProviderOutput.d.ts +89 -3
  153. package/dist/models/ProviderOutput.js +38 -2
  154. package/dist/models/Raw18013DocumentRequest.d.ts +60 -0
  155. package/dist/models/Raw18013DocumentRequest.js +54 -0
  156. package/dist/models/Raw18013RequestInput.d.ts +38 -0
  157. package/dist/models/Raw18013RequestInput.js +51 -0
  158. package/dist/models/RecommendProvidersResponse.d.ts +6 -0
  159. package/dist/models/RecommendProvidersResponse.js +4 -0
  160. package/dist/models/SamsungWalletInput.d.ts +37 -0
  161. package/dist/models/SamsungWalletInput.js +49 -0
  162. package/dist/models/UkEvisaLookupInput.d.ts +38 -0
  163. package/dist/models/UkEvisaLookupInput.js +54 -0
  164. package/dist/models/UnitedKingdomEvisaProviderOutput.d.ts +106 -0
  165. package/dist/models/UnitedKingdomEvisaProviderOutput.js +68 -0
  166. package/dist/models/VerificationProfileResponse.d.ts +6 -0
  167. package/dist/models/VerificationProfileResponse.js +4 -0
  168. package/dist/models/YotiDeeplinkProviderOutput.d.ts +112 -0
  169. package/dist/models/YotiDeeplinkProviderOutput.js +72 -0
  170. package/dist/models/index.d.ts +29 -0
  171. package/dist/models/index.js +29 -0
  172. package/package.json +1 -1
  173. package/src/apis/ProvidersApi.ts +66 -0
  174. package/src/apis/VerificationProfilesApi.ts +15 -3
  175. package/src/models/AadhaarClaims.ts +186 -0
  176. package/src/models/AadhaarLanguage.ts +90 -0
  177. package/src/models/AadhaarLocalizedClaims.ts +161 -0
  178. package/src/models/AppleWalletInput.ts +21 -0
  179. package/src/models/ConnectIdAddress.ts +99 -0
  180. package/src/models/ConnectIdAgeVerification.ts +73 -0
  181. package/src/models/ConnectIdBeneficiaryAccount.ts +91 -0
  182. package/src/models/ConnectIdProviderOutput.ts +169 -0
  183. package/src/models/CzechMojeIdAddressOutput.ts +105 -0
  184. package/src/models/CzechMojeIdProviderOutput.ts +261 -0
  185. package/src/models/DigilockerAadhaarProviderOutput.ts +141 -0
  186. package/src/models/FaydaProviderOutput.ts +26 -0
  187. package/src/models/FinnishTrustNetworkProviderOutput.ts +176 -0
  188. package/src/models/FranceIdentiteInput.ts +75 -0
  189. package/src/models/FranceIdentiteProviderOutput.ts +74 -0
  190. package/src/models/FrejaIndirectProviderOutput.ts +96 -0
  191. package/src/models/FrejaProviderOutput.ts +152 -23
  192. package/src/models/GetProviderResponse.ts +74 -0
  193. package/src/models/GoogleWalletInput.ts +19 -0
  194. package/src/models/IntegrationStep.ts +1 -1
  195. package/src/models/KenyaNidLookup2Address.ts +131 -0
  196. package/src/models/KenyaNidLookup2ProviderOutput.ts +180 -0
  197. package/src/models/NigeriaNinLookup2ProviderOutput.ts +170 -0
  198. package/src/models/NorwegianBankIdProviderOutput.ts +144 -0
  199. package/src/models/OneIdProviderAddress.ts +97 -0
  200. package/src/models/OneIdProviderOutput.ts +113 -0
  201. package/src/models/OutputFrejaAddress.ts +89 -0
  202. package/src/models/OutputFrejaDocument.ts +95 -0
  203. package/src/models/PhilippinesDigitalNidProviderOutput.ts +84 -0
  204. package/src/models/PhilippinesPhysicalNidProviderOutput.ts +70 -1
  205. package/src/models/ProviderInput.ts +45 -0
  206. package/src/models/ProviderOutput.ts +187 -5
  207. package/src/models/Raw18013DocumentRequest.ts +93 -0
  208. package/src/models/Raw18013RequestInput.ts +79 -0
  209. package/src/models/RecommendProvidersResponse.ts +9 -0
  210. package/src/models/SamsungWalletInput.ts +77 -0
  211. package/src/models/UkEvisaLookupInput.ts +75 -0
  212. package/src/models/UnitedKingdomEvisaProviderOutput.ts +159 -0
  213. package/src/models/VerificationProfileResponse.ts +9 -0
  214. package/src/models/YotiDeeplinkProviderOutput.ts +180 -0
  215. package/src/models/index.ts +29 -0
@@ -0,0 +1,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
+ }
@@ -0,0 +1,53 @@
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 `a-freja-eid-login` Provider which do not directly map to the normalized IdentityData model.
14
+ * @export
15
+ * @interface FrejaIndirectProviderOutput
16
+ */
17
+ export interface FrejaIndirectProviderOutput {
18
+ /**
19
+ * The first name of the verified individual
20
+ * @type {string}
21
+ * @memberof FrejaIndirectProviderOutput
22
+ */
23
+ firstName: string;
24
+ /**
25
+ * The last name of the verified individual
26
+ * @type {string}
27
+ * @memberof FrejaIndirectProviderOutput
28
+ */
29
+ lastName: string;
30
+ /**
31
+ * The value returned by Freja in the "ssn" field.
32
+ *
33
+ * The actual value of this field depends on the country of origin used to create the Freja credential. It is typically
34
+ * a Social Security Number, National Identification Number, or equivalent personal identifier.
35
+ * @type {string}
36
+ * @memberof FrejaIndirectProviderOutput
37
+ */
38
+ personalNumber: string;
39
+ /**
40
+ * The 2-digit ISO country code of the country which issued the personal number.
41
+ * @type {string}
42
+ * @memberof FrejaIndirectProviderOutput
43
+ */
44
+ personalNumberCountry: string;
45
+ }
46
+ /**
47
+ * Check if a given object implements the FrejaIndirectProviderOutput interface.
48
+ */
49
+ export declare function instanceOfFrejaIndirectProviderOutput(value: object): value is FrejaIndirectProviderOutput;
50
+ export declare function FrejaIndirectProviderOutputFromJSON(json: any): FrejaIndirectProviderOutput;
51
+ export declare function FrejaIndirectProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FrejaIndirectProviderOutput;
52
+ export declare function FrejaIndirectProviderOutputToJSON(json: any): FrejaIndirectProviderOutput;
53
+ export declare function FrejaIndirectProviderOutputToJSONTyped(value?: FrejaIndirectProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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.instanceOfFrejaIndirectProviderOutput = instanceOfFrejaIndirectProviderOutput;
17
+ exports.FrejaIndirectProviderOutputFromJSON = FrejaIndirectProviderOutputFromJSON;
18
+ exports.FrejaIndirectProviderOutputFromJSONTyped = FrejaIndirectProviderOutputFromJSONTyped;
19
+ exports.FrejaIndirectProviderOutputToJSON = FrejaIndirectProviderOutputToJSON;
20
+ exports.FrejaIndirectProviderOutputToJSONTyped = FrejaIndirectProviderOutputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the FrejaIndirectProviderOutput interface.
23
+ */
24
+ function instanceOfFrejaIndirectProviderOutput(value) {
25
+ if (!('firstName' in value) || value['firstName'] === undefined)
26
+ return false;
27
+ if (!('lastName' in value) || value['lastName'] === undefined)
28
+ return false;
29
+ if (!('personalNumber' in value) || value['personalNumber'] === undefined)
30
+ return false;
31
+ if (!('personalNumberCountry' in value) || value['personalNumberCountry'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function FrejaIndirectProviderOutputFromJSON(json) {
36
+ return FrejaIndirectProviderOutputFromJSONTyped(json, false);
37
+ }
38
+ function FrejaIndirectProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'firstName': json['firstName'],
44
+ 'lastName': json['lastName'],
45
+ 'personalNumber': json['personalNumber'],
46
+ 'personalNumberCountry': json['personalNumberCountry'],
47
+ };
48
+ }
49
+ function FrejaIndirectProviderOutputToJSON(json) {
50
+ return FrejaIndirectProviderOutputToJSONTyped(json, false);
51
+ }
52
+ function FrejaIndirectProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'firstName': value['firstName'],
58
+ 'lastName': value['lastName'],
59
+ 'personalNumber': value['personalNumber'],
60
+ 'personalNumberCountry': value['personalNumberCountry'],
61
+ };
62
+ }
@@ -9,39 +9,131 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { OutputFrejaAddress } from './OutputFrejaAddress';
13
+ import type { OutputFrejaDocument } from './OutputFrejaDocument';
12
14
  /**
13
- * Exposed properties for the `a-freja-eid-login` Provider which do not directly map to the normalized IdentityData model.
15
+ * Exposed properties for the `freja` Provider which do not directly map to the normalized IdentityData model.
14
16
  * @export
15
17
  * @interface FrejaProviderOutput
16
18
  */
17
19
  export interface FrejaProviderOutput {
18
20
  /**
19
- * The first name of the verified individual
21
+ * The individual's full name.
20
22
  * @type {string}
21
23
  * @memberof FrejaProviderOutput
22
24
  */
23
- firstName: string;
25
+ name?: string | null;
24
26
  /**
25
- * The last name of the verified individual
27
+ * The individual's first name.
26
28
  * @type {string}
27
29
  * @memberof FrejaProviderOutput
28
30
  */
29
- lastName: string;
31
+ givenName?: string | null;
30
32
  /**
31
- * The value returned by Freja in the "ssn" field.
33
+ * The individual's last name.
34
+ * @type {string}
35
+ * @memberof FrejaProviderOutput
36
+ */
37
+ familyName?: string | null;
38
+ /**
39
+ * The date of birth of the individual.
32
40
  *
33
- * The actual value of this field depends on the country of origin used to create the Freja credential. It is typically
34
- * a Social Security Number, National Identification Number, or equivalent personal identifier.
41
+ * Formatted as an ISO 8601 Date.
42
+ * @type {Date}
43
+ * @memberof FrejaProviderOutput
44
+ */
45
+ dateOfBirth?: Date | null;
46
+ /**
47
+ * The individual's primary email address within Freja.
48
+ * @type {string}
49
+ * @memberof FrejaProviderOutput
50
+ */
51
+ email?: string | null;
52
+ /**
53
+ * A boolean which indicates whether the individual's primary email address has been verified by Freja.
54
+ * @type {boolean}
55
+ * @memberof FrejaProviderOutput
56
+ */
57
+ emailVerified?: boolean | null;
58
+ /**
59
+ * An array of all associated email addresses of the individual.
60
+ * @type {Array<string>}
61
+ * @memberof FrejaProviderOutput
62
+ */
63
+ allEmailAddresses?: Array<string> | null;
64
+ /**
65
+ * The individual's primary address on file.
66
+ * @type {OutputFrejaAddress}
67
+ * @memberof FrejaProviderOutput
68
+ */
69
+ primaryPhysicalAddress?: OutputFrejaAddress | null;
70
+ /**
71
+ * A list of all associated addresses of the individual.
72
+ * @type {Array<OutputFrejaAddress>}
73
+ * @memberof FrejaProviderOutput
74
+ */
75
+ allPhysicalAddresses?: Array<OutputFrejaAddress> | null;
76
+ /**
77
+ * The individual's age in years.
78
+ * @type {number}
79
+ * @memberof FrejaProviderOutput
80
+ */
81
+ age?: number | null;
82
+ /**
83
+ * The individual's phone number in the E.164 format.
84
+ * @type {string}
85
+ * @memberof FrejaProviderOutput
86
+ */
87
+ phoneNumber?: string | null;
88
+ /**
89
+ * Whether the individual's phone number has been verified by Freja.
90
+ * @type {boolean}
91
+ * @memberof FrejaProviderOutput
92
+ */
93
+ phoneNumberVerified?: boolean | null;
94
+ /**
95
+ * The individual's personal identity number. The actual value of this field depends on the country of origin used to
96
+ * create the Freja credential. It is typically a Social Security Number, National Identification Number, or equivalent
97
+ * personal identifier.
98
+ * @type {string}
99
+ * @memberof FrejaProviderOutput
100
+ */
101
+ personalIdentityNumber?: string | null;
102
+ /**
103
+ * The ISO 3166-1 alpha-2 country code associated with the individual's country of origin.
104
+ * @type {string}
105
+ * @memberof FrejaProviderOutput
106
+ */
107
+ country?: string | null;
108
+ /**
109
+ * The underlying document, such as a passport, used to create the Freja credential.
110
+ * @type {OutputFrejaDocument}
111
+ * @memberof FrejaProviderOutput
112
+ */
113
+ document?: OutputFrejaDocument | null;
114
+ /**
115
+ * The Freja registration level associated with this individual. This can be BASIC, EXTENDED, or PLUS.
116
+ * * BASIC: Individual has a registered account with Freja.
117
+ * * EXTENDED: Individual has an official identity document verified by Freja.
118
+ * * PLUS: Individual has undergone in-person verification with Freja.
119
+ * @type {string}
120
+ * @memberof FrejaProviderOutput
121
+ */
122
+ registrationLevel?: string | null;
123
+ /**
124
+ * The relying party user identifier for this individual. This is an identifier specific to the individual and the
125
+ * relying party (your service).
35
126
  * @type {string}
36
127
  * @memberof FrejaProviderOutput
37
128
  */
38
- personalNumber: string;
129
+ relyingPartyUserId?: string | null;
39
130
  /**
40
- * The 2-digit ISO country code of the country which issued the personal number.
131
+ * The Freja transaction reference for this verification. This is an identifier specific to the verification
132
+ * transaction.
41
133
  * @type {string}
42
134
  * @memberof FrejaProviderOutput
43
135
  */
44
- personalNumberCountry: string;
136
+ transactionReference?: string | null;
45
137
  }
46
138
  /**
47
139
  * Check if a given object implements the FrejaProviderOutput interface.
@@ -18,18 +18,12 @@ exports.FrejaProviderOutputFromJSON = FrejaProviderOutputFromJSON;
18
18
  exports.FrejaProviderOutputFromJSONTyped = FrejaProviderOutputFromJSONTyped;
19
19
  exports.FrejaProviderOutputToJSON = FrejaProviderOutputToJSON;
20
20
  exports.FrejaProviderOutputToJSONTyped = FrejaProviderOutputToJSONTyped;
21
+ const OutputFrejaAddress_1 = require("./OutputFrejaAddress");
22
+ const OutputFrejaDocument_1 = require("./OutputFrejaDocument");
21
23
  /**
22
24
  * Check if a given object implements the FrejaProviderOutput interface.
23
25
  */
24
26
  function instanceOfFrejaProviderOutput(value) {
25
- if (!('firstName' in value) || value['firstName'] === undefined)
26
- return false;
27
- if (!('lastName' in value) || value['lastName'] === undefined)
28
- return false;
29
- if (!('personalNumber' in value) || value['personalNumber'] === undefined)
30
- return false;
31
- if (!('personalNumberCountry' in value) || value['personalNumberCountry'] === undefined)
32
- return false;
33
27
  return true;
34
28
  }
35
29
  function FrejaProviderOutputFromJSON(json) {
@@ -40,10 +34,24 @@ function FrejaProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
40
34
  return json;
41
35
  }
42
36
  return {
43
- 'firstName': json['firstName'],
44
- 'lastName': json['lastName'],
45
- 'personalNumber': json['personalNumber'],
46
- 'personalNumberCountry': json['personalNumberCountry'],
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
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
41
+ 'email': json['email'] == null ? undefined : json['email'],
42
+ 'emailVerified': json['emailVerified'] == null ? undefined : json['emailVerified'],
43
+ 'allEmailAddresses': json['allEmailAddresses'] == null ? undefined : json['allEmailAddresses'],
44
+ 'primaryPhysicalAddress': json['primaryPhysicalAddress'] == null ? undefined : (0, OutputFrejaAddress_1.OutputFrejaAddressFromJSON)(json['primaryPhysicalAddress']),
45
+ 'allPhysicalAddresses': json['allPhysicalAddresses'] == null ? undefined : (json['allPhysicalAddresses'].map(OutputFrejaAddress_1.OutputFrejaAddressFromJSON)),
46
+ 'age': json['age'] == null ? undefined : json['age'],
47
+ 'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
48
+ 'phoneNumberVerified': json['phoneNumberVerified'] == null ? undefined : json['phoneNumberVerified'],
49
+ 'personalIdentityNumber': json['personalIdentityNumber'] == null ? undefined : json['personalIdentityNumber'],
50
+ 'country': json['country'] == null ? undefined : json['country'],
51
+ 'document': json['document'] == null ? undefined : (0, OutputFrejaDocument_1.OutputFrejaDocumentFromJSON)(json['document']),
52
+ 'registrationLevel': json['registrationLevel'] == null ? undefined : json['registrationLevel'],
53
+ 'relyingPartyUserId': json['relyingPartyUserId'] == null ? undefined : json['relyingPartyUserId'],
54
+ 'transactionReference': json['transactionReference'] == null ? undefined : json['transactionReference'],
47
55
  };
48
56
  }
49
57
  function FrejaProviderOutputToJSON(json) {
@@ -54,9 +62,23 @@ function FrejaProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
54
62
  return value;
55
63
  }
56
64
  return {
57
- 'firstName': value['firstName'],
58
- 'lastName': value['lastName'],
59
- 'personalNumber': value['personalNumber'],
60
- 'personalNumberCountry': value['personalNumberCountry'],
65
+ 'name': value['name'],
66
+ 'givenName': value['givenName'],
67
+ 'familyName': value['familyName'],
68
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
69
+ 'email': value['email'],
70
+ 'emailVerified': value['emailVerified'],
71
+ 'allEmailAddresses': value['allEmailAddresses'],
72
+ 'primaryPhysicalAddress': (0, OutputFrejaAddress_1.OutputFrejaAddressToJSON)(value['primaryPhysicalAddress']),
73
+ 'allPhysicalAddresses': value['allPhysicalAddresses'] == null ? undefined : (value['allPhysicalAddresses'].map(OutputFrejaAddress_1.OutputFrejaAddressToJSON)),
74
+ 'age': value['age'],
75
+ 'phoneNumber': value['phoneNumber'],
76
+ 'phoneNumberVerified': value['phoneNumberVerified'],
77
+ 'personalIdentityNumber': value['personalIdentityNumber'],
78
+ 'country': value['country'],
79
+ 'document': (0, OutputFrejaDocument_1.OutputFrejaDocumentToJSON)(value['document']),
80
+ 'registrationLevel': value['registrationLevel'],
81
+ 'relyingPartyUserId': value['relyingPartyUserId'],
82
+ 'transactionReference': value['transactionReference'],
61
83
  };
62
84
  }
@@ -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 { Provider } from './Provider';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetProviderResponse
17
+ */
18
+ export interface GetProviderResponse {
19
+ /**
20
+ * The provider available to this organization
21
+ * @type {Provider}
22
+ * @memberof GetProviderResponse
23
+ */
24
+ provider: Provider;
25
+ }
26
+ /**
27
+ * Check if a given object implements the GetProviderResponse interface.
28
+ */
29
+ export declare function instanceOfGetProviderResponse(value: object): value is GetProviderResponse;
30
+ export declare function GetProviderResponseFromJSON(json: any): GetProviderResponse;
31
+ export declare function GetProviderResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetProviderResponse;
32
+ export declare function GetProviderResponseToJSON(json: any): GetProviderResponse;
33
+ export declare function GetProviderResponseToJSONTyped(value?: GetProviderResponse | 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.instanceOfGetProviderResponse = instanceOfGetProviderResponse;
17
+ exports.GetProviderResponseFromJSON = GetProviderResponseFromJSON;
18
+ exports.GetProviderResponseFromJSONTyped = GetProviderResponseFromJSONTyped;
19
+ exports.GetProviderResponseToJSON = GetProviderResponseToJSON;
20
+ exports.GetProviderResponseToJSONTyped = GetProviderResponseToJSONTyped;
21
+ const Provider_1 = require("./Provider");
22
+ /**
23
+ * Check if a given object implements the GetProviderResponse interface.
24
+ */
25
+ function instanceOfGetProviderResponse(value) {
26
+ if (!('provider' in value) || value['provider'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function GetProviderResponseFromJSON(json) {
31
+ return GetProviderResponseFromJSONTyped(json, false);
32
+ }
33
+ function GetProviderResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'provider': (0, Provider_1.ProviderFromJSON)(json['provider']),
39
+ };
40
+ }
41
+ function GetProviderResponseToJSON(json) {
42
+ return GetProviderResponseToJSONTyped(json, false);
43
+ }
44
+ function GetProviderResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'provider': (0, Provider_1.ProviderToJSON)(value['provider']),
50
+ };
51
+ }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { MdlExchangeMechanism } from './MdlExchangeMechanism';
13
+ import type { Raw18013RequestInput } from './Raw18013RequestInput';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -24,6 +25,16 @@ export interface GoogleWalletInput {
24
25
  * @memberof GoogleWalletInput
25
26
  */
26
27
  exchangeMechanism?: MdlExchangeMechanism | null;
28
+ /**
29
+ * **Preview feature: not suitable for production use cases**
30
+ *
31
+ * The raw 18013-7 exchange request to use for this verification.
32
+ *
33
+ * If set, this overrides any default configuration on your Verification Profile.
34
+ * @type {Raw18013RequestInput}
35
+ * @memberof GoogleWalletInput
36
+ */
37
+ previewRaw18013Request?: Raw18013RequestInput | null;
27
38
  }
28
39
  /**
29
40
  * Check if a given object implements the GoogleWalletInput interface.
@@ -19,6 +19,7 @@ exports.GoogleWalletInputFromJSONTyped = GoogleWalletInputFromJSONTyped;
19
19
  exports.GoogleWalletInputToJSON = GoogleWalletInputToJSON;
20
20
  exports.GoogleWalletInputToJSONTyped = GoogleWalletInputToJSONTyped;
21
21
  const MdlExchangeMechanism_1 = require("./MdlExchangeMechanism");
22
+ const Raw18013RequestInput_1 = require("./Raw18013RequestInput");
22
23
  /**
23
24
  * Check if a given object implements the GoogleWalletInput interface.
24
25
  */
@@ -34,6 +35,7 @@ function GoogleWalletInputFromJSONTyped(json, ignoreDiscriminator) {
34
35
  }
35
36
  return {
36
37
  'exchangeMechanism': json['exchangeMechanism'] == null ? undefined : (0, MdlExchangeMechanism_1.MdlExchangeMechanismFromJSON)(json['exchangeMechanism']),
38
+ 'previewRaw18013Request': json['preview_raw18013Request'] == null ? undefined : (0, Raw18013RequestInput_1.Raw18013RequestInputFromJSON)(json['preview_raw18013Request']),
37
39
  };
38
40
  }
39
41
  function GoogleWalletInputToJSON(json) {
@@ -45,5 +47,6 @@ function GoogleWalletInputToJSONTyped(value, ignoreDiscriminator = false) {
45
47
  }
46
48
  return {
47
49
  'exchangeMechanism': (0, MdlExchangeMechanism_1.MdlExchangeMechanismToJSON)(value['exchangeMechanism']),
50
+ 'preview_raw18013Request': (0, Raw18013RequestInput_1.Raw18013RequestInputToJSON)(value['previewRaw18013Request']),
48
51
  };
49
52
  }
@@ -12,7 +12,7 @@
12
12
  import type { StepRefreshInfo } from './StepRefreshInfo';
13
13
  import type { IntegrationLaunchMethod } from './IntegrationLaunchMethod';
14
14
  /**
15
- * A step to perform in the process of executing an Direct Provider Session
15
+ * A step to perform in the process of executing a Direct Provider Session
16
16
  * @export
17
17
  * @interface IntegrationStep
18
18
  */