@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,90 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ * The language used for the localized claims.
18
+ * @export
19
+ * @interface AadhaarLanguage
20
+ */
21
+ export interface AadhaarLanguage {
22
+ /**
23
+ * The language code for the localized claims.
24
+ * @type {string}
25
+ * @memberof AadhaarLanguage
26
+ */
27
+ languageCode?: string | null;
28
+ /**
29
+ * The language name for the localized claims.
30
+ *
31
+ * This is Trinsic attempting to map the language from the code. This is based on the spec, however, the language code may be inaccurate with the actual language used.
32
+ * Use this as a reference.
33
+ * Possible values:
34
+ * - Assamese (01)
35
+ * - Bengali (02)
36
+ * - Gujarati (05)
37
+ * - Hindi (06)
38
+ * - Kannada (07)
39
+ * - Malayalam (11)
40
+ * - Manipuri (12)
41
+ * - Marathi (13)
42
+ * - Oriya (15)
43
+ * - Punjabi (16)
44
+ * - Tamil (20)
45
+ * - Telugu (21)
46
+ * - Urdu (22)
47
+ * @type {string}
48
+ * @memberof AadhaarLanguage
49
+ */
50
+ readonly languageName: string;
51
+ }
52
+
53
+ /**
54
+ * Check if a given object implements the AadhaarLanguage interface.
55
+ */
56
+ export function instanceOfAadhaarLanguage(value: object): value is AadhaarLanguage {
57
+ if (!('languageName' in value) || value['languageName'] === undefined) return false;
58
+ return true;
59
+ }
60
+
61
+ export function AadhaarLanguageFromJSON(json: any): AadhaarLanguage {
62
+ return AadhaarLanguageFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function AadhaarLanguageFromJSONTyped(json: any, ignoreDiscriminator: boolean): AadhaarLanguage {
66
+ if (json == null) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'languageCode': json['languageCode'] == null ? undefined : json['languageCode'],
72
+ 'languageName': json['languageName'],
73
+ };
74
+ }
75
+
76
+ export function AadhaarLanguageToJSON(json: any): AadhaarLanguage {
77
+ return AadhaarLanguageToJSONTyped(json, false);
78
+ }
79
+
80
+ export function AadhaarLanguageToJSONTyped(value?: Omit<AadhaarLanguage, 'languageName'> | null, ignoreDiscriminator: boolean = false): any {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+
85
+ return {
86
+
87
+ 'languageCode': value['languageCode'],
88
+ };
89
+ }
90
+
@@ -0,0 +1,161 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { AadhaarLanguage } from './AadhaarLanguage';
17
+ import {
18
+ AadhaarLanguageFromJSON,
19
+ AadhaarLanguageFromJSONTyped,
20
+ AadhaarLanguageToJSON,
21
+ AadhaarLanguageToJSONTyped,
22
+ } from './AadhaarLanguage';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface AadhaarLocalizedClaims
28
+ */
29
+ export interface AadhaarLocalizedClaims {
30
+ /**
31
+ * The language code for the localized claims.
32
+ * @type {AadhaarLanguage}
33
+ * @memberof AadhaarLocalizedClaims
34
+ */
35
+ language?: AadhaarLanguage | null;
36
+ /**
37
+ * The full name.
38
+ * @type {string}
39
+ * @memberof AadhaarLocalizedClaims
40
+ */
41
+ name?: string | null;
42
+ /**
43
+ * The address's care-of field. This indicates that mail should be delivered to an individual through another person or entity who is a known resident at the address.
44
+ * @type {string}
45
+ * @memberof AadhaarLocalizedClaims
46
+ */
47
+ careOf?: string | null;
48
+ /**
49
+ * The address's country.
50
+ * @type {string}
51
+ * @memberof AadhaarLocalizedClaims
52
+ */
53
+ country?: string | null;
54
+ /**
55
+ * The address's district.
56
+ * @type {string}
57
+ * @memberof AadhaarLocalizedClaims
58
+ */
59
+ district?: string | null;
60
+ /**
61
+ * The identifier for the house address.
62
+ * @type {string}
63
+ * @memberof AadhaarLocalizedClaims
64
+ */
65
+ house?: string | null;
66
+ /**
67
+ * The location or locality that helps identify where the address is within a city.
68
+ * @type {string}
69
+ * @memberof AadhaarLocalizedClaims
70
+ */
71
+ location?: string | null;
72
+ /**
73
+ * A landmark near the address.
74
+ * @type {string}
75
+ * @memberof AadhaarLocalizedClaims
76
+ */
77
+ landmark?: string | null;
78
+ /**
79
+ * The address's postal code.
80
+ * @type {string}
81
+ * @memberof AadhaarLocalizedClaims
82
+ */
83
+ postalCode?: string | null;
84
+ /**
85
+ * The address's state or union territory.
86
+ * @type {string}
87
+ * @memberof AadhaarLocalizedClaims
88
+ */
89
+ state?: string | null;
90
+ /**
91
+ * The address's street name.
92
+ * @type {string}
93
+ * @memberof AadhaarLocalizedClaims
94
+ */
95
+ street?: string | null;
96
+ /**
97
+ * The address's village/town/city.
98
+ * @type {string}
99
+ * @memberof AadhaarLocalizedClaims
100
+ */
101
+ villageTownCity?: string | null;
102
+ }
103
+
104
+ /**
105
+ * Check if a given object implements the AadhaarLocalizedClaims interface.
106
+ */
107
+ export function instanceOfAadhaarLocalizedClaims(value: object): value is AadhaarLocalizedClaims {
108
+ return true;
109
+ }
110
+
111
+ export function AadhaarLocalizedClaimsFromJSON(json: any): AadhaarLocalizedClaims {
112
+ return AadhaarLocalizedClaimsFromJSONTyped(json, false);
113
+ }
114
+
115
+ export function AadhaarLocalizedClaimsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AadhaarLocalizedClaims {
116
+ if (json == null) {
117
+ return json;
118
+ }
119
+ return {
120
+
121
+ 'language': json['language'] == null ? undefined : AadhaarLanguageFromJSON(json['language']),
122
+ 'name': json['name'] == null ? undefined : json['name'],
123
+ 'careOf': json['careOf'] == null ? undefined : json['careOf'],
124
+ 'country': json['country'] == null ? undefined : json['country'],
125
+ 'district': json['district'] == null ? undefined : json['district'],
126
+ 'house': json['house'] == null ? undefined : json['house'],
127
+ 'location': json['location'] == null ? undefined : json['location'],
128
+ 'landmark': json['landmark'] == null ? undefined : json['landmark'],
129
+ 'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
130
+ 'state': json['state'] == null ? undefined : json['state'],
131
+ 'street': json['street'] == null ? undefined : json['street'],
132
+ 'villageTownCity': json['villageTownCity'] == null ? undefined : json['villageTownCity'],
133
+ };
134
+ }
135
+
136
+ export function AadhaarLocalizedClaimsToJSON(json: any): AadhaarLocalizedClaims {
137
+ return AadhaarLocalizedClaimsToJSONTyped(json, false);
138
+ }
139
+
140
+ export function AadhaarLocalizedClaimsToJSONTyped(value?: AadhaarLocalizedClaims | null, ignoreDiscriminator: boolean = false): any {
141
+ if (value == null) {
142
+ return value;
143
+ }
144
+
145
+ return {
146
+
147
+ 'language': AadhaarLanguageToJSON(value['language']),
148
+ 'name': value['name'],
149
+ 'careOf': value['careOf'],
150
+ 'country': value['country'],
151
+ 'district': value['district'],
152
+ 'house': value['house'],
153
+ 'location': value['location'],
154
+ 'landmark': value['landmark'],
155
+ 'postalCode': value['postalCode'],
156
+ 'state': value['state'],
157
+ 'street': value['street'],
158
+ 'villageTownCity': value['villageTownCity'],
159
+ };
160
+ }
161
+
@@ -20,6 +20,13 @@ import {
20
20
  MdlExchangeMechanismToJSON,
21
21
  MdlExchangeMechanismToJSONTyped,
22
22
  } from './MdlExchangeMechanism';
23
+ import type { Raw18013RequestInput } from './Raw18013RequestInput';
24
+ import {
25
+ Raw18013RequestInputFromJSON,
26
+ Raw18013RequestInputFromJSONTyped,
27
+ Raw18013RequestInputToJSON,
28
+ Raw18013RequestInputToJSONTyped,
29
+ } from './Raw18013RequestInput';
23
30
 
24
31
  /**
25
32
  *
@@ -35,6 +42,18 @@ export interface AppleWalletInput {
35
42
  * @memberof AppleWalletInput
36
43
  */
37
44
  exchangeMechanism?: MdlExchangeMechanism | null;
45
+ /**
46
+ * **Preview feature: not suitable for production use cases**
47
+ *
48
+ * The raw 18013-7 exchange request to use for this verification.
49
+ *
50
+ * If set, this overrides any default configuration on your Verification Profile.
51
+ *
52
+ * 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.
53
+ * @type {Raw18013RequestInput}
54
+ * @memberof AppleWalletInput
55
+ */
56
+ previewRaw18013Request?: Raw18013RequestInput | null;
38
57
  }
39
58
 
40
59
 
@@ -57,6 +76,7 @@ export function AppleWalletInputFromJSONTyped(json: any, ignoreDiscriminator: bo
57
76
  return {
58
77
 
59
78
  'exchangeMechanism': json['exchangeMechanism'] == null ? undefined : MdlExchangeMechanismFromJSON(json['exchangeMechanism']),
79
+ 'previewRaw18013Request': json['preview_raw18013Request'] == null ? undefined : Raw18013RequestInputFromJSON(json['preview_raw18013Request']),
60
80
  };
61
81
  }
62
82
 
@@ -72,6 +92,7 @@ export function AppleWalletInputToJSONTyped(value?: AppleWalletInput | null, ign
72
92
  return {
73
93
 
74
94
  'exchangeMechanism': MdlExchangeMechanismToJSON(value['exchangeMechanism']),
95
+ 'preview_raw18013Request': Raw18013RequestInputToJSON(value['previewRaw18013Request']),
75
96
  };
76
97
  }
77
98
 
@@ -0,0 +1,99 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ConnectIdAddress
20
+ */
21
+ export interface ConnectIdAddress {
22
+ /**
23
+ * The address' line or street.
24
+ * @type {string}
25
+ * @memberof ConnectIdAddress
26
+ */
27
+ streetAddress?: string | null;
28
+ /**
29
+ * The address' locality or city.
30
+ * @type {string}
31
+ * @memberof ConnectIdAddress
32
+ */
33
+ locality?: string | null;
34
+ /**
35
+ * The address' region, state, or territory.
36
+ * @type {string}
37
+ * @memberof ConnectIdAddress
38
+ */
39
+ region?: string | null;
40
+ /**
41
+ * The address' country.
42
+ *
43
+ * This value is not normalized and may be an alpha-3 code or full country name.
44
+ * @type {string}
45
+ * @memberof ConnectIdAddress
46
+ */
47
+ country?: string | null;
48
+ /**
49
+ * The address' postal code.
50
+ * @type {string}
51
+ * @memberof ConnectIdAddress
52
+ */
53
+ postalCode?: string | null;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ConnectIdAddress interface.
58
+ */
59
+ export function instanceOfConnectIdAddress(value: object): value is ConnectIdAddress {
60
+ return true;
61
+ }
62
+
63
+ export function ConnectIdAddressFromJSON(json: any): ConnectIdAddress {
64
+ return ConnectIdAddressFromJSONTyped(json, false);
65
+ }
66
+
67
+ export function ConnectIdAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectIdAddress {
68
+ if (json == null) {
69
+ return json;
70
+ }
71
+ return {
72
+
73
+ 'streetAddress': json['streetAddress'] == null ? undefined : json['streetAddress'],
74
+ 'locality': json['locality'] == null ? undefined : json['locality'],
75
+ 'region': json['region'] == null ? undefined : json['region'],
76
+ 'country': json['country'] == null ? undefined : json['country'],
77
+ 'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
78
+ };
79
+ }
80
+
81
+ export function ConnectIdAddressToJSON(json: any): ConnectIdAddress {
82
+ return ConnectIdAddressToJSONTyped(json, false);
83
+ }
84
+
85
+ export function ConnectIdAddressToJSONTyped(value?: ConnectIdAddress | null, ignoreDiscriminator: boolean = false): any {
86
+ if (value == null) {
87
+ return value;
88
+ }
89
+
90
+ return {
91
+
92
+ 'streetAddress': value['streetAddress'],
93
+ 'locality': value['locality'],
94
+ 'region': value['region'],
95
+ 'country': value['country'],
96
+ 'postalCode': value['postalCode'],
97
+ };
98
+ }
99
+
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ConnectIdAgeVerification
20
+ */
21
+ export interface ConnectIdAgeVerification {
22
+ /**
23
+ * If the individual is over 18 years old.
24
+ * @type {boolean}
25
+ * @memberof ConnectIdAgeVerification
26
+ */
27
+ over18?: boolean | null;
28
+ /**
29
+ * The authority that verified the claim.
30
+ * @type {string}
31
+ * @memberof ConnectIdAgeVerification
32
+ */
33
+ trustFramework?: string | null;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the ConnectIdAgeVerification interface.
38
+ */
39
+ export function instanceOfConnectIdAgeVerification(value: object): value is ConnectIdAgeVerification {
40
+ return true;
41
+ }
42
+
43
+ export function ConnectIdAgeVerificationFromJSON(json: any): ConnectIdAgeVerification {
44
+ return ConnectIdAgeVerificationFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function ConnectIdAgeVerificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectIdAgeVerification {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+
53
+ 'over18': json['over18'] == null ? undefined : json['over18'],
54
+ 'trustFramework': json['trustFramework'] == null ? undefined : json['trustFramework'],
55
+ };
56
+ }
57
+
58
+ export function ConnectIdAgeVerificationToJSON(json: any): ConnectIdAgeVerification {
59
+ return ConnectIdAgeVerificationToJSONTyped(json, false);
60
+ }
61
+
62
+ export function ConnectIdAgeVerificationToJSONTyped(value?: ConnectIdAgeVerification | null, ignoreDiscriminator: boolean = false): any {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+
67
+ return {
68
+
69
+ 'over18': value['over18'],
70
+ 'trustFramework': value['trustFramework'],
71
+ };
72
+ }
73
+
@@ -0,0 +1,91 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ConnectIdBeneficiaryAccount
20
+ */
21
+ export interface ConnectIdBeneficiaryAccount {
22
+ /**
23
+ * The beneficiary's name.
24
+ * @type {string}
25
+ * @memberof ConnectIdBeneficiaryAccount
26
+ */
27
+ beneficiaryName?: string | null;
28
+ /**
29
+ * The bank state branch (BSB) which the account belongs to.
30
+ *
31
+ * This will be a six-digit number.
32
+ * @type {string}
33
+ * @memberof ConnectIdBeneficiaryAccount
34
+ */
35
+ accountBankStateBranch?: string | null;
36
+ /**
37
+ * The account number.
38
+ * @type {string}
39
+ * @memberof ConnectIdBeneficiaryAccount
40
+ */
41
+ accountNumber?: string | null;
42
+ /**
43
+ * The authority that verified the claim.
44
+ * @type {string}
45
+ * @memberof ConnectIdBeneficiaryAccount
46
+ */
47
+ trustFramework?: string | null;
48
+ }
49
+
50
+ /**
51
+ * Check if a given object implements the ConnectIdBeneficiaryAccount interface.
52
+ */
53
+ export function instanceOfConnectIdBeneficiaryAccount(value: object): value is ConnectIdBeneficiaryAccount {
54
+ return true;
55
+ }
56
+
57
+ export function ConnectIdBeneficiaryAccountFromJSON(json: any): ConnectIdBeneficiaryAccount {
58
+ return ConnectIdBeneficiaryAccountFromJSONTyped(json, false);
59
+ }
60
+
61
+ export function ConnectIdBeneficiaryAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectIdBeneficiaryAccount {
62
+ if (json == null) {
63
+ return json;
64
+ }
65
+ return {
66
+
67
+ 'beneficiaryName': json['beneficiaryName'] == null ? undefined : json['beneficiaryName'],
68
+ 'accountBankStateBranch': json['accountBankStateBranch'] == null ? undefined : json['accountBankStateBranch'],
69
+ 'accountNumber': json['accountNumber'] == null ? undefined : json['accountNumber'],
70
+ 'trustFramework': json['trustFramework'] == null ? undefined : json['trustFramework'],
71
+ };
72
+ }
73
+
74
+ export function ConnectIdBeneficiaryAccountToJSON(json: any): ConnectIdBeneficiaryAccount {
75
+ return ConnectIdBeneficiaryAccountToJSONTyped(json, false);
76
+ }
77
+
78
+ export function ConnectIdBeneficiaryAccountToJSONTyped(value?: ConnectIdBeneficiaryAccount | null, ignoreDiscriminator: boolean = false): any {
79
+ if (value == null) {
80
+ return value;
81
+ }
82
+
83
+ return {
84
+
85
+ 'beneficiaryName': value['beneficiaryName'],
86
+ 'accountBankStateBranch': value['accountBankStateBranch'],
87
+ 'accountNumber': value['accountNumber'],
88
+ 'trustFramework': value['trustFramework'],
89
+ };
90
+ }
91
+