@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
@@ -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,18 @@ export interface AppleWalletInput {
24
25
  * @memberof AppleWalletInput
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
+ *
35
+ * NOTE: For Apple Wallet, this cannot (yet) be used with the `NativeApp` (in-app) exchange mechanism. Only the `DigitalCredentialsApi` (web) exchange mechanism supports this input.
36
+ * @type {Raw18013RequestInput}
37
+ * @memberof AppleWalletInput
38
+ */
39
+ previewRaw18013Request?: Raw18013RequestInput | null;
27
40
  }
28
41
  /**
29
42
  * Check if a given object implements the AppleWalletInput interface.
@@ -19,6 +19,7 @@ exports.AppleWalletInputFromJSONTyped = AppleWalletInputFromJSONTyped;
19
19
  exports.AppleWalletInputToJSON = AppleWalletInputToJSON;
20
20
  exports.AppleWalletInputToJSONTyped = AppleWalletInputToJSONTyped;
21
21
  const MdlExchangeMechanism_1 = require("./MdlExchangeMechanism");
22
+ const Raw18013RequestInput_1 = require("./Raw18013RequestInput");
22
23
  /**
23
24
  * Check if a given object implements the AppleWalletInput interface.
24
25
  */
@@ -34,6 +35,7 @@ function AppleWalletInputFromJSONTyped(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 AppleWalletInputToJSON(json) {
@@ -45,5 +47,6 @@ function AppleWalletInputToJSONTyped(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
  }
@@ -0,0 +1,58 @@
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 ConnectIdAddress
16
+ */
17
+ export interface ConnectIdAddress {
18
+ /**
19
+ * The address' line or street.
20
+ * @type {string}
21
+ * @memberof ConnectIdAddress
22
+ */
23
+ streetAddress?: string | null;
24
+ /**
25
+ * The address' locality or city.
26
+ * @type {string}
27
+ * @memberof ConnectIdAddress
28
+ */
29
+ locality?: string | null;
30
+ /**
31
+ * The address' region, state, or territory.
32
+ * @type {string}
33
+ * @memberof ConnectIdAddress
34
+ */
35
+ region?: string | null;
36
+ /**
37
+ * The address' country.
38
+ *
39
+ * This value is not normalized and may be an alpha-3 code or full country name.
40
+ * @type {string}
41
+ * @memberof ConnectIdAddress
42
+ */
43
+ country?: string | null;
44
+ /**
45
+ * The address' postal code.
46
+ * @type {string}
47
+ * @memberof ConnectIdAddress
48
+ */
49
+ postalCode?: string | null;
50
+ }
51
+ /**
52
+ * Check if a given object implements the ConnectIdAddress interface.
53
+ */
54
+ export declare function instanceOfConnectIdAddress(value: object): value is ConnectIdAddress;
55
+ export declare function ConnectIdAddressFromJSON(json: any): ConnectIdAddress;
56
+ export declare function ConnectIdAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectIdAddress;
57
+ export declare function ConnectIdAddressToJSON(json: any): ConnectIdAddress;
58
+ export declare function ConnectIdAddressToJSONTyped(value?: ConnectIdAddress | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Trinsic API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfConnectIdAddress = instanceOfConnectIdAddress;
17
+ exports.ConnectIdAddressFromJSON = ConnectIdAddressFromJSON;
18
+ exports.ConnectIdAddressFromJSONTyped = ConnectIdAddressFromJSONTyped;
19
+ exports.ConnectIdAddressToJSON = ConnectIdAddressToJSON;
20
+ exports.ConnectIdAddressToJSONTyped = ConnectIdAddressToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ConnectIdAddress interface.
23
+ */
24
+ function instanceOfConnectIdAddress(value) {
25
+ return true;
26
+ }
27
+ function ConnectIdAddressFromJSON(json) {
28
+ return ConnectIdAddressFromJSONTyped(json, false);
29
+ }
30
+ function ConnectIdAddressFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'streetAddress': json['streetAddress'] == null ? undefined : json['streetAddress'],
36
+ 'locality': json['locality'] == null ? undefined : json['locality'],
37
+ 'region': json['region'] == null ? undefined : json['region'],
38
+ 'country': json['country'] == null ? undefined : json['country'],
39
+ 'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
40
+ };
41
+ }
42
+ function ConnectIdAddressToJSON(json) {
43
+ return ConnectIdAddressToJSONTyped(json, false);
44
+ }
45
+ function ConnectIdAddressToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'streetAddress': value['streetAddress'],
51
+ 'locality': value['locality'],
52
+ 'region': value['region'],
53
+ 'country': value['country'],
54
+ 'postalCode': value['postalCode'],
55
+ };
56
+ }
@@ -0,0 +1,38 @@
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 ConnectIdAgeVerification
16
+ */
17
+ export interface ConnectIdAgeVerification {
18
+ /**
19
+ * If the individual is over 18 years old.
20
+ * @type {boolean}
21
+ * @memberof ConnectIdAgeVerification
22
+ */
23
+ over18?: boolean | null;
24
+ /**
25
+ * The authority that verified the claim.
26
+ * @type {string}
27
+ * @memberof ConnectIdAgeVerification
28
+ */
29
+ trustFramework?: string | null;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ConnectIdAgeVerification interface.
33
+ */
34
+ export declare function instanceOfConnectIdAgeVerification(value: object): value is ConnectIdAgeVerification;
35
+ export declare function ConnectIdAgeVerificationFromJSON(json: any): ConnectIdAgeVerification;
36
+ export declare function ConnectIdAgeVerificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectIdAgeVerification;
37
+ export declare function ConnectIdAgeVerificationToJSON(json: any): ConnectIdAgeVerification;
38
+ export declare function ConnectIdAgeVerificationToJSONTyped(value?: ConnectIdAgeVerification | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfConnectIdAgeVerification = instanceOfConnectIdAgeVerification;
17
+ exports.ConnectIdAgeVerificationFromJSON = ConnectIdAgeVerificationFromJSON;
18
+ exports.ConnectIdAgeVerificationFromJSONTyped = ConnectIdAgeVerificationFromJSONTyped;
19
+ exports.ConnectIdAgeVerificationToJSON = ConnectIdAgeVerificationToJSON;
20
+ exports.ConnectIdAgeVerificationToJSONTyped = ConnectIdAgeVerificationToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ConnectIdAgeVerification interface.
23
+ */
24
+ function instanceOfConnectIdAgeVerification(value) {
25
+ return true;
26
+ }
27
+ function ConnectIdAgeVerificationFromJSON(json) {
28
+ return ConnectIdAgeVerificationFromJSONTyped(json, false);
29
+ }
30
+ function ConnectIdAgeVerificationFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'over18': json['over18'] == null ? undefined : json['over18'],
36
+ 'trustFramework': json['trustFramework'] == null ? undefined : json['trustFramework'],
37
+ };
38
+ }
39
+ function ConnectIdAgeVerificationToJSON(json) {
40
+ return ConnectIdAgeVerificationToJSONTyped(json, false);
41
+ }
42
+ function ConnectIdAgeVerificationToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'over18': value['over18'],
48
+ 'trustFramework': value['trustFramework'],
49
+ };
50
+ }
@@ -0,0 +1,52 @@
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 ConnectIdBeneficiaryAccount
16
+ */
17
+ export interface ConnectIdBeneficiaryAccount {
18
+ /**
19
+ * The beneficiary's name.
20
+ * @type {string}
21
+ * @memberof ConnectIdBeneficiaryAccount
22
+ */
23
+ beneficiaryName?: string | null;
24
+ /**
25
+ * The bank state branch (BSB) which the account belongs to.
26
+ *
27
+ * This will be a six-digit number.
28
+ * @type {string}
29
+ * @memberof ConnectIdBeneficiaryAccount
30
+ */
31
+ accountBankStateBranch?: string | null;
32
+ /**
33
+ * The account number.
34
+ * @type {string}
35
+ * @memberof ConnectIdBeneficiaryAccount
36
+ */
37
+ accountNumber?: string | null;
38
+ /**
39
+ * The authority that verified the claim.
40
+ * @type {string}
41
+ * @memberof ConnectIdBeneficiaryAccount
42
+ */
43
+ trustFramework?: string | null;
44
+ }
45
+ /**
46
+ * Check if a given object implements the ConnectIdBeneficiaryAccount interface.
47
+ */
48
+ export declare function instanceOfConnectIdBeneficiaryAccount(value: object): value is ConnectIdBeneficiaryAccount;
49
+ export declare function ConnectIdBeneficiaryAccountFromJSON(json: any): ConnectIdBeneficiaryAccount;
50
+ export declare function ConnectIdBeneficiaryAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectIdBeneficiaryAccount;
51
+ export declare function ConnectIdBeneficiaryAccountToJSON(json: any): ConnectIdBeneficiaryAccount;
52
+ export declare function ConnectIdBeneficiaryAccountToJSONTyped(value?: ConnectIdBeneficiaryAccount | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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.instanceOfConnectIdBeneficiaryAccount = instanceOfConnectIdBeneficiaryAccount;
17
+ exports.ConnectIdBeneficiaryAccountFromJSON = ConnectIdBeneficiaryAccountFromJSON;
18
+ exports.ConnectIdBeneficiaryAccountFromJSONTyped = ConnectIdBeneficiaryAccountFromJSONTyped;
19
+ exports.ConnectIdBeneficiaryAccountToJSON = ConnectIdBeneficiaryAccountToJSON;
20
+ exports.ConnectIdBeneficiaryAccountToJSONTyped = ConnectIdBeneficiaryAccountToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ConnectIdBeneficiaryAccount interface.
23
+ */
24
+ function instanceOfConnectIdBeneficiaryAccount(value) {
25
+ return true;
26
+ }
27
+ function ConnectIdBeneficiaryAccountFromJSON(json) {
28
+ return ConnectIdBeneficiaryAccountFromJSONTyped(json, false);
29
+ }
30
+ function ConnectIdBeneficiaryAccountFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'beneficiaryName': json['beneficiaryName'] == null ? undefined : json['beneficiaryName'],
36
+ 'accountBankStateBranch': json['accountBankStateBranch'] == null ? undefined : json['accountBankStateBranch'],
37
+ 'accountNumber': json['accountNumber'] == null ? undefined : json['accountNumber'],
38
+ 'trustFramework': json['trustFramework'] == null ? undefined : json['trustFramework'],
39
+ };
40
+ }
41
+ function ConnectIdBeneficiaryAccountToJSON(json) {
42
+ return ConnectIdBeneficiaryAccountToJSONTyped(json, false);
43
+ }
44
+ function ConnectIdBeneficiaryAccountToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'beneficiaryName': value['beneficiaryName'],
50
+ 'accountBankStateBranch': value['accountBankStateBranch'],
51
+ 'accountNumber': value['accountNumber'],
52
+ 'trustFramework': value['trustFramework'],
53
+ };
54
+ }
@@ -0,0 +1,97 @@
1
+ /**
2
+ * Trinsic API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ConnectIdBeneficiaryAccount } from './ConnectIdBeneficiaryAccount';
13
+ import type { ConnectIdAgeVerification } from './ConnectIdAgeVerification';
14
+ import type { ConnectIdAddress } from './ConnectIdAddress';
15
+ /**
16
+ * Exposed properties for the `australia-connect-id` Provider which do not directly map to the normalized IdentityData model.
17
+ * @export
18
+ * @interface ConnectIdProviderOutput
19
+ */
20
+ export interface ConnectIdProviderOutput {
21
+ /**
22
+ * The date of birth of an individual in YYYY-MM-DD format.
23
+ * @type {Date}
24
+ * @memberof ConnectIdProviderOutput
25
+ */
26
+ birthdate?: Date | null;
27
+ /**
28
+ * The given name of an individual.
29
+ * @type {string}
30
+ * @memberof ConnectIdProviderOutput
31
+ */
32
+ givenName?: string | null;
33
+ /**
34
+ * The middle name of an individual.
35
+ * @type {string}
36
+ * @memberof ConnectIdProviderOutput
37
+ */
38
+ middleName?: string | null;
39
+ /**
40
+ * The family/last name of an individual.
41
+ * @type {string}
42
+ * @memberof ConnectIdProviderOutput
43
+ */
44
+ familyName?: string | null;
45
+ /**
46
+ * The phone number of an individual.
47
+ * @type {string}
48
+ * @memberof ConnectIdProviderOutput
49
+ */
50
+ phoneNumber?: string | null;
51
+ /**
52
+ * The email of an individual.
53
+ * @type {string}
54
+ * @memberof ConnectIdProviderOutput
55
+ */
56
+ email?: string | null;
57
+ /**
58
+ * The OpenID Connect (OIDC) subject identifier (sub).
59
+ * @type {string}
60
+ * @memberof ConnectIdProviderOutput
61
+ */
62
+ sub?: string | null;
63
+ /**
64
+ * The age verification claim and whether the individual meets the age requirement.
65
+ * @type {ConnectIdAgeVerification}
66
+ * @memberof ConnectIdProviderOutput
67
+ */
68
+ ageVerification?: ConnectIdAgeVerification | null;
69
+ /**
70
+ * The verification session's transaction number.
71
+ *
72
+ * This is a unique identifier assigned to a single ConnectID transaction flow. It can be used for audit purposes or to flag fraudulent activity.
73
+ * @type {string}
74
+ * @memberof ConnectIdProviderOutput
75
+ */
76
+ transaction?: string | null;
77
+ /**
78
+ * The beneficiary account that has been designated by the individual.
79
+ * @type {ConnectIdBeneficiaryAccount}
80
+ * @memberof ConnectIdProviderOutput
81
+ */
82
+ beneficiaryAccount?: ConnectIdBeneficiaryAccount | null;
83
+ /**
84
+ * The address.
85
+ * @type {ConnectIdAddress}
86
+ * @memberof ConnectIdProviderOutput
87
+ */
88
+ address?: ConnectIdAddress | null;
89
+ }
90
+ /**
91
+ * Check if a given object implements the ConnectIdProviderOutput interface.
92
+ */
93
+ export declare function instanceOfConnectIdProviderOutput(value: object): value is ConnectIdProviderOutput;
94
+ export declare function ConnectIdProviderOutputFromJSON(json: any): ConnectIdProviderOutput;
95
+ export declare function ConnectIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectIdProviderOutput;
96
+ export declare function ConnectIdProviderOutputToJSON(json: any): ConnectIdProviderOutput;
97
+ export declare function ConnectIdProviderOutputToJSONTyped(value?: ConnectIdProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,71 @@
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.instanceOfConnectIdProviderOutput = instanceOfConnectIdProviderOutput;
17
+ exports.ConnectIdProviderOutputFromJSON = ConnectIdProviderOutputFromJSON;
18
+ exports.ConnectIdProviderOutputFromJSONTyped = ConnectIdProviderOutputFromJSONTyped;
19
+ exports.ConnectIdProviderOutputToJSON = ConnectIdProviderOutputToJSON;
20
+ exports.ConnectIdProviderOutputToJSONTyped = ConnectIdProviderOutputToJSONTyped;
21
+ const ConnectIdBeneficiaryAccount_1 = require("./ConnectIdBeneficiaryAccount");
22
+ const ConnectIdAgeVerification_1 = require("./ConnectIdAgeVerification");
23
+ const ConnectIdAddress_1 = require("./ConnectIdAddress");
24
+ /**
25
+ * Check if a given object implements the ConnectIdProviderOutput interface.
26
+ */
27
+ function instanceOfConnectIdProviderOutput(value) {
28
+ return true;
29
+ }
30
+ function ConnectIdProviderOutputFromJSON(json) {
31
+ return ConnectIdProviderOutputFromJSONTyped(json, false);
32
+ }
33
+ function ConnectIdProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'birthdate': json['birthdate'] == null ? undefined : (new Date(json['birthdate'])),
39
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
40
+ 'middleName': json['middleName'] == null ? undefined : json['middleName'],
41
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
42
+ 'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
43
+ 'email': json['email'] == null ? undefined : json['email'],
44
+ 'sub': json['sub'] == null ? undefined : json['sub'],
45
+ 'ageVerification': json['ageVerification'] == null ? undefined : (0, ConnectIdAgeVerification_1.ConnectIdAgeVerificationFromJSON)(json['ageVerification']),
46
+ 'transaction': json['transaction'] == null ? undefined : json['transaction'],
47
+ 'beneficiaryAccount': json['beneficiaryAccount'] == null ? undefined : (0, ConnectIdBeneficiaryAccount_1.ConnectIdBeneficiaryAccountFromJSON)(json['beneficiaryAccount']),
48
+ 'address': json['address'] == null ? undefined : (0, ConnectIdAddress_1.ConnectIdAddressFromJSON)(json['address']),
49
+ };
50
+ }
51
+ function ConnectIdProviderOutputToJSON(json) {
52
+ return ConnectIdProviderOutputToJSONTyped(json, false);
53
+ }
54
+ function ConnectIdProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'birthdate': value['birthdate'] == null ? undefined : (value['birthdate'].toISOString().substring(0, 10)),
60
+ 'givenName': value['givenName'],
61
+ 'middleName': value['middleName'],
62
+ 'familyName': value['familyName'],
63
+ 'phoneNumber': value['phoneNumber'],
64
+ 'email': value['email'],
65
+ 'sub': value['sub'],
66
+ 'ageVerification': (0, ConnectIdAgeVerification_1.ConnectIdAgeVerificationToJSON)(value['ageVerification']),
67
+ 'transaction': value['transaction'],
68
+ 'beneficiaryAccount': (0, ConnectIdBeneficiaryAccount_1.ConnectIdBeneficiaryAccountToJSON)(value['beneficiaryAccount']),
69
+ 'address': (0, ConnectIdAddress_1.ConnectIdAddressToJSON)(value['address']),
70
+ };
71
+ }
@@ -0,0 +1,62 @@
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 CzechMojeIdAddressOutput
16
+ */
17
+ export interface CzechMojeIdAddressOutput {
18
+ /**
19
+ * The street address line, including house number.
20
+ * @type {string}
21
+ * @memberof CzechMojeIdAddressOutput
22
+ */
23
+ streetAddress?: string | null;
24
+ /**
25
+ * The city or locality.
26
+ * @type {string}
27
+ * @memberof CzechMojeIdAddressOutput
28
+ */
29
+ city?: string | null;
30
+ /**
31
+ * The region or state.
32
+ * @type {string}
33
+ * @memberof CzechMojeIdAddressOutput
34
+ */
35
+ region?: string | null;
36
+ /**
37
+ * The postal code.
38
+ * @type {string}
39
+ * @memberof CzechMojeIdAddressOutput
40
+ */
41
+ postalCode?: string | null;
42
+ /**
43
+ * The ISO 3166-1 alpha-2 country code.
44
+ * @type {string}
45
+ * @memberof CzechMojeIdAddressOutput
46
+ */
47
+ country?: string | null;
48
+ /**
49
+ * The full address as a formatted string, with components separated by newlines.
50
+ * @type {string}
51
+ * @memberof CzechMojeIdAddressOutput
52
+ */
53
+ formattedAddress?: string | null;
54
+ }
55
+ /**
56
+ * Check if a given object implements the CzechMojeIdAddressOutput interface.
57
+ */
58
+ export declare function instanceOfCzechMojeIdAddressOutput(value: object): value is CzechMojeIdAddressOutput;
59
+ export declare function CzechMojeIdAddressOutputFromJSON(json: any): CzechMojeIdAddressOutput;
60
+ export declare function CzechMojeIdAddressOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CzechMojeIdAddressOutput;
61
+ export declare function CzechMojeIdAddressOutputToJSON(json: any): CzechMojeIdAddressOutput;
62
+ export declare function CzechMojeIdAddressOutputToJSONTyped(value?: CzechMojeIdAddressOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
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.instanceOfCzechMojeIdAddressOutput = instanceOfCzechMojeIdAddressOutput;
17
+ exports.CzechMojeIdAddressOutputFromJSON = CzechMojeIdAddressOutputFromJSON;
18
+ exports.CzechMojeIdAddressOutputFromJSONTyped = CzechMojeIdAddressOutputFromJSONTyped;
19
+ exports.CzechMojeIdAddressOutputToJSON = CzechMojeIdAddressOutputToJSON;
20
+ exports.CzechMojeIdAddressOutputToJSONTyped = CzechMojeIdAddressOutputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CzechMojeIdAddressOutput interface.
23
+ */
24
+ function instanceOfCzechMojeIdAddressOutput(value) {
25
+ return true;
26
+ }
27
+ function CzechMojeIdAddressOutputFromJSON(json) {
28
+ return CzechMojeIdAddressOutputFromJSONTyped(json, false);
29
+ }
30
+ function CzechMojeIdAddressOutputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'streetAddress': json['streetAddress'] == null ? undefined : json['streetAddress'],
36
+ 'city': json['city'] == null ? undefined : json['city'],
37
+ 'region': json['region'] == null ? undefined : json['region'],
38
+ 'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
39
+ 'country': json['country'] == null ? undefined : json['country'],
40
+ 'formattedAddress': json['formattedAddress'] == null ? undefined : json['formattedAddress'],
41
+ };
42
+ }
43
+ function CzechMojeIdAddressOutputToJSON(json) {
44
+ return CzechMojeIdAddressOutputToJSONTyped(json, false);
45
+ }
46
+ function CzechMojeIdAddressOutputToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'streetAddress': value['streetAddress'],
52
+ 'city': value['city'],
53
+ 'region': value['region'],
54
+ 'postalCode': value['postalCode'],
55
+ 'country': value['country'],
56
+ 'formattedAddress': value['formattedAddress'],
57
+ };
58
+ }