@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,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
+ import type { Raw18013DocumentRequest } from './Raw18013DocumentRequest';
13
+ /**
14
+ * A raw 18013-7 exchange request.
15
+ *
16
+ * Use this to specify a raw 18013-7 exchange against an arbitrary document type, namespace, and set of fields.
17
+ * @export
18
+ * @interface Raw18013RequestInput
19
+ */
20
+ export interface Raw18013RequestInput {
21
+ /**
22
+ * A collection of requests for specific document(s), any of which may be used to satisfy the verification.
23
+ *
24
+ * At least one request must be provided.
25
+ * No more than 10 requests may be provided.
26
+ * @type {Array<Raw18013DocumentRequest>}
27
+ * @memberof Raw18013RequestInput
28
+ */
29
+ documentRequests: Array<Raw18013DocumentRequest>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the Raw18013RequestInput interface.
33
+ */
34
+ export declare function instanceOfRaw18013RequestInput(value: object): value is Raw18013RequestInput;
35
+ export declare function Raw18013RequestInputFromJSON(json: any): Raw18013RequestInput;
36
+ export declare function Raw18013RequestInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): Raw18013RequestInput;
37
+ export declare function Raw18013RequestInputToJSON(json: any): Raw18013RequestInput;
38
+ export declare function Raw18013RequestInputToJSONTyped(value?: Raw18013RequestInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { Raw18013DocumentRequestFromJSON, Raw18013DocumentRequestToJSON, } from './Raw18013DocumentRequest';
15
+ /**
16
+ * Check if a given object implements the Raw18013RequestInput interface.
17
+ */
18
+ export function instanceOfRaw18013RequestInput(value) {
19
+ if (!('documentRequests' in value) || value['documentRequests'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function Raw18013RequestInputFromJSON(json) {
24
+ return Raw18013RequestInputFromJSONTyped(json, false);
25
+ }
26
+ export function Raw18013RequestInputFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'documentRequests': (json['documentRequests'].map(Raw18013DocumentRequestFromJSON)),
32
+ };
33
+ }
34
+ export function Raw18013RequestInputToJSON(json) {
35
+ return Raw18013RequestInputToJSONTyped(json, false);
36
+ }
37
+ export function Raw18013RequestInputToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'documentRequests': (value['documentRequests'].map(Raw18013DocumentRequestToJSON)),
43
+ };
44
+ }
@@ -22,6 +22,12 @@ export interface RecommendProvidersResponse {
22
22
  * @memberof RecommendProvidersResponse
23
23
  */
24
24
  recommendedProviders: Array<RecommendProviderInformation>;
25
+ /**
26
+ * All Providers available to your Verification Profile which are not in `recommendedProviders`
27
+ * @type {Array<RecommendProviderInformation>}
28
+ * @memberof RecommendProvidersResponse
29
+ */
30
+ remainder: Array<RecommendProviderInformation>;
25
31
  }
26
32
  /**
27
33
  * Check if a given object implements the RecommendProvidersResponse interface.
@@ -18,6 +18,8 @@ import { RecommendProviderInformationFromJSON, RecommendProviderInformationToJSO
18
18
  export function instanceOfRecommendProvidersResponse(value) {
19
19
  if (!('recommendedProviders' in value) || value['recommendedProviders'] === undefined)
20
20
  return false;
21
+ if (!('remainder' in value) || value['remainder'] === undefined)
22
+ return false;
21
23
  return true;
22
24
  }
23
25
  export function RecommendProvidersResponseFromJSON(json) {
@@ -29,6 +31,7 @@ export function RecommendProvidersResponseFromJSONTyped(json, ignoreDiscriminato
29
31
  }
30
32
  return {
31
33
  'recommendedProviders': (json['recommendedProviders'].map(RecommendProviderInformationFromJSON)),
34
+ 'remainder': (json['remainder'].map(RecommendProviderInformationFromJSON)),
32
35
  };
33
36
  }
34
37
  export function RecommendProvidersResponseToJSON(json) {
@@ -40,5 +43,6 @@ export function RecommendProvidersResponseToJSONTyped(value, ignoreDiscriminator
40
43
  }
41
44
  return {
42
45
  'recommendedProviders': (value['recommendedProviders'].map(RecommendProviderInformationToJSON)),
46
+ 'remainder': (value['remainder'].map(RecommendProviderInformationToJSON)),
43
47
  };
44
48
  }
@@ -0,0 +1,37 @@
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 SamsungWalletInput
17
+ */
18
+ export interface SamsungWalletInput {
19
+ /**
20
+ * **Preview feature: not suitable for production use cases**
21
+ *
22
+ * The raw 18013-7 exchange request to use for this verification.
23
+ *
24
+ * If set, this overrides any default configuration on your Verification Profile.
25
+ * @type {Raw18013RequestInput}
26
+ * @memberof SamsungWalletInput
27
+ */
28
+ previewRaw18013Request?: Raw18013RequestInput | null;
29
+ }
30
+ /**
31
+ * Check if a given object implements the SamsungWalletInput interface.
32
+ */
33
+ export declare function instanceOfSamsungWalletInput(value: object): value is SamsungWalletInput;
34
+ export declare function SamsungWalletInputFromJSON(json: any): SamsungWalletInput;
35
+ export declare function SamsungWalletInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SamsungWalletInput;
36
+ export declare function SamsungWalletInputToJSON(json: any): SamsungWalletInput;
37
+ export declare function SamsungWalletInputToJSONTyped(value?: SamsungWalletInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { Raw18013RequestInputFromJSON, Raw18013RequestInputToJSON, } from './Raw18013RequestInput';
15
+ /**
16
+ * Check if a given object implements the SamsungWalletInput interface.
17
+ */
18
+ export function instanceOfSamsungWalletInput(value) {
19
+ return true;
20
+ }
21
+ export function SamsungWalletInputFromJSON(json) {
22
+ return SamsungWalletInputFromJSONTyped(json, false);
23
+ }
24
+ export function SamsungWalletInputFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'previewRaw18013Request': json['preview_raw18013Request'] == null ? undefined : Raw18013RequestInputFromJSON(json['preview_raw18013Request']),
30
+ };
31
+ }
32
+ export function SamsungWalletInputToJSON(json) {
33
+ return SamsungWalletInputToJSONTyped(json, false);
34
+ }
35
+ export function SamsungWalletInputToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'preview_raw18013Request': Raw18013RequestInputToJSON(value['previewRaw18013Request']),
41
+ };
42
+ }
@@ -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 UkEvisaLookupInput
16
+ */
17
+ export interface UkEvisaLookupInput {
18
+ /**
19
+ * The 9-character share code.
20
+ * @type {string}
21
+ * @memberof UkEvisaLookupInput
22
+ */
23
+ shareCode: string;
24
+ /**
25
+ * The user's date of birth, in `YYYY-MM-DD` format.
26
+ * @type {Date}
27
+ * @memberof UkEvisaLookupInput
28
+ */
29
+ dateOfBirth: Date;
30
+ }
31
+ /**
32
+ * Check if a given object implements the UkEvisaLookupInput interface.
33
+ */
34
+ export declare function instanceOfUkEvisaLookupInput(value: object): value is UkEvisaLookupInput;
35
+ export declare function UkEvisaLookupInputFromJSON(json: any): UkEvisaLookupInput;
36
+ export declare function UkEvisaLookupInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UkEvisaLookupInput;
37
+ export declare function UkEvisaLookupInputToJSON(json: any): UkEvisaLookupInput;
38
+ export declare function UkEvisaLookupInputToJSONTyped(value?: UkEvisaLookupInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the UkEvisaLookupInput interface.
16
+ */
17
+ export function instanceOfUkEvisaLookupInput(value) {
18
+ if (!('shareCode' in value) || value['shareCode'] === undefined)
19
+ return false;
20
+ if (!('dateOfBirth' in value) || value['dateOfBirth'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function UkEvisaLookupInputFromJSON(json) {
25
+ return UkEvisaLookupInputFromJSONTyped(json, false);
26
+ }
27
+ export function UkEvisaLookupInputFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'shareCode': json['shareCode'],
33
+ 'dateOfBirth': (new Date(json['dateOfBirth'])),
34
+ };
35
+ }
36
+ export function UkEvisaLookupInputToJSON(json) {
37
+ return UkEvisaLookupInputToJSONTyped(json, false);
38
+ }
39
+ export function UkEvisaLookupInputToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'shareCode': value['shareCode'],
45
+ 'dateOfBirth': ((value['dateOfBirth']).toISOString().substring(0, 10)),
46
+ };
47
+ }
@@ -0,0 +1,106 @@
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 `uk-evisa-lookup` Provider which do not directly map to the normalized IdentityData model.
14
+ * @export
15
+ * @interface UnitedKingdomEvisaProviderOutput
16
+ */
17
+ export interface UnitedKingdomEvisaProviderOutput {
18
+ /**
19
+ * The first name of the individual as recorded on the eVisa.
20
+ * @type {string}
21
+ * @memberof UnitedKingdomEvisaProviderOutput
22
+ */
23
+ firstName?: string | null;
24
+ /**
25
+ * The last name of the individual as recorded on the eVisa.
26
+ * @type {string}
27
+ * @memberof UnitedKingdomEvisaProviderOutput
28
+ */
29
+ lastName?: string | null;
30
+ /**
31
+ * The date of birth of the individual.
32
+ * @type {Date}
33
+ * @memberof UnitedKingdomEvisaProviderOutput
34
+ */
35
+ dateOfBirth?: Date | null;
36
+ /**
37
+ * The 9-character share code used for the verification.
38
+ * @type {string}
39
+ * @memberof UnitedKingdomEvisaProviderOutput
40
+ */
41
+ shareCode?: string | null;
42
+ /**
43
+ * The eVisa reference number issued by UK Visas and Immigration (UKVI).
44
+ * @type {string}
45
+ * @memberof UnitedKingdomEvisaProviderOutput
46
+ */
47
+ referenceNumber?: string | null;
48
+ /**
49
+ * The expiration date of the eVisa. Only present for immigration_status verifications.
50
+ * @type {Date}
51
+ * @memberof UnitedKingdomEvisaProviderOutput
52
+ */
53
+ expirationDate?: Date | null;
54
+ /**
55
+ * The start date from which the eVisa is valid. Only returned for immigration_status and right_to_rent verifications — not returned for right_to_work.
56
+ * @type {Date}
57
+ * @memberof UnitedKingdomEvisaProviderOutput
58
+ */
59
+ validFrom?: Date | null;
60
+ /**
61
+ * The nationality of the individual as recorded on the eVisa. Only present for immigration_status verifications.
62
+ * @type {string}
63
+ * @memberof UnitedKingdomEvisaProviderOutput
64
+ */
65
+ nationality?: string | null;
66
+ /**
67
+ * The immigration status of the individual. Only present for immigration_status verifications.
68
+ * This is a personalized record for each individual, and there is no single definitive list.
69
+ * Some common values:
70
+ * - Settled
71
+ * - Pre-settled
72
+ * - Student
73
+ * - Graduate
74
+ * - Youth Mobility
75
+ * - Global Talent
76
+ * - Skilled Worker
77
+ * - Limited leave
78
+ * @type {string}
79
+ * @memberof UnitedKingdomEvisaProviderOutput
80
+ */
81
+ immigrationStatus?: string | null;
82
+ /**
83
+ * Overall verification outcome: "pass" or "fail".
84
+ * @type {string}
85
+ * @memberof UnitedKingdomEvisaProviderOutput
86
+ */
87
+ outcome?: string | null;
88
+ /**
89
+ * Type of verification.
90
+ * List of possible values:
91
+ * - immigration_status
92
+ * - right_to_work
93
+ * - right_to_rent
94
+ * @type {string}
95
+ * @memberof UnitedKingdomEvisaProviderOutput
96
+ */
97
+ evidenceType?: string | null;
98
+ }
99
+ /**
100
+ * Check if a given object implements the UnitedKingdomEvisaProviderOutput interface.
101
+ */
102
+ export declare function instanceOfUnitedKingdomEvisaProviderOutput(value: object): value is UnitedKingdomEvisaProviderOutput;
103
+ export declare function UnitedKingdomEvisaProviderOutputFromJSON(json: any): UnitedKingdomEvisaProviderOutput;
104
+ export declare function UnitedKingdomEvisaProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnitedKingdomEvisaProviderOutput;
105
+ export declare function UnitedKingdomEvisaProviderOutputToJSON(json: any): UnitedKingdomEvisaProviderOutput;
106
+ export declare function UnitedKingdomEvisaProviderOutputToJSONTyped(value?: UnitedKingdomEvisaProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the UnitedKingdomEvisaProviderOutput interface.
16
+ */
17
+ export function instanceOfUnitedKingdomEvisaProviderOutput(value) {
18
+ return true;
19
+ }
20
+ export function UnitedKingdomEvisaProviderOutputFromJSON(json) {
21
+ return UnitedKingdomEvisaProviderOutputFromJSONTyped(json, false);
22
+ }
23
+ export function UnitedKingdomEvisaProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'firstName': json['firstName'] == null ? undefined : json['firstName'],
29
+ 'lastName': json['lastName'] == null ? undefined : json['lastName'],
30
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
31
+ 'shareCode': json['shareCode'] == null ? undefined : json['shareCode'],
32
+ 'referenceNumber': json['referenceNumber'] == null ? undefined : json['referenceNumber'],
33
+ 'expirationDate': json['expirationDate'] == null ? undefined : (new Date(json['expirationDate'])),
34
+ 'validFrom': json['validFrom'] == null ? undefined : (new Date(json['validFrom'])),
35
+ 'nationality': json['nationality'] == null ? undefined : json['nationality'],
36
+ 'immigrationStatus': json['immigrationStatus'] == null ? undefined : json['immigrationStatus'],
37
+ 'outcome': json['outcome'] == null ? undefined : json['outcome'],
38
+ 'evidenceType': json['evidenceType'] == null ? undefined : json['evidenceType'],
39
+ };
40
+ }
41
+ export function UnitedKingdomEvisaProviderOutputToJSON(json) {
42
+ return UnitedKingdomEvisaProviderOutputToJSONTyped(json, false);
43
+ }
44
+ export function UnitedKingdomEvisaProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'firstName': value['firstName'],
50
+ 'lastName': value['lastName'],
51
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
52
+ 'shareCode': value['shareCode'],
53
+ 'referenceNumber': value['referenceNumber'],
54
+ 'expirationDate': value['expirationDate'] == null ? undefined : (value['expirationDate'].toISOString().substring(0, 10)),
55
+ 'validFrom': value['validFrom'] == null ? undefined : (value['validFrom'].toISOString().substring(0, 10)),
56
+ 'nationality': value['nationality'],
57
+ 'immigrationStatus': value['immigrationStatus'],
58
+ 'outcome': value['outcome'],
59
+ 'evidenceType': value['evidenceType'],
60
+ };
61
+ }
@@ -51,6 +51,12 @@ export interface VerificationProfileResponse {
51
51
  * @memberof VerificationProfileResponse
52
52
  */
53
53
  enabledProviders: Array<string>;
54
+ /**
55
+ * The session expiration for verification sessions created with this profile.
56
+ * @type {string}
57
+ * @memberof VerificationProfileResponse
58
+ */
59
+ sessionExpiration: string;
54
60
  /**
55
61
  * Whether this profile is for production usage. Only applicable for Live environment profiles.
56
62
  * @type {boolean}
@@ -27,6 +27,8 @@ export function instanceOfVerificationProfileResponse(value) {
27
27
  return false;
28
28
  if (!('enabledProviders' in value) || value['enabledProviders'] === undefined)
29
29
  return false;
30
+ if (!('sessionExpiration' in value) || value['sessionExpiration'] === undefined)
31
+ return false;
30
32
  if (!('isProductionUsage' in value) || value['isProductionUsage'] === undefined)
31
33
  return false;
32
34
  return true;
@@ -45,6 +47,7 @@ export function VerificationProfileResponseFromJSONTyped(json, ignoreDiscriminat
45
47
  'logoUrl': json['logoUrl'],
46
48
  'primaryColor': json['primaryColor'],
47
49
  'enabledProviders': json['enabledProviders'],
50
+ 'sessionExpiration': json['sessionExpiration'],
48
51
  'isProductionUsage': json['isProductionUsage'],
49
52
  };
50
53
  }
@@ -62,6 +65,7 @@ export function VerificationProfileResponseToJSONTyped(value, ignoreDiscriminato
62
65
  'logoUrl': value['logoUrl'],
63
66
  'primaryColor': value['primaryColor'],
64
67
  'enabledProviders': value['enabledProviders'],
68
+ 'sessionExpiration': value['sessionExpiration'],
65
69
  'isProductionUsage': value['isProductionUsage'],
66
70
  };
67
71
  }
@@ -0,0 +1,112 @@
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 { YotiStructuredPostalAddress } from './YotiStructuredPostalAddress';
13
+ import type { YotiDocumentDetails } from './YotiDocumentDetails';
14
+ /**
15
+ * Exposed properties for the `yoti-deeplink` Provider which do not directly map to the normalized IdentityData model.
16
+ * @export
17
+ * @interface YotiDeeplinkProviderOutput
18
+ */
19
+ export interface YotiDeeplinkProviderOutput {
20
+ /**
21
+ * The unique id for your service of the individual. This is not shared between different services so if the user logs into a different service, the user will have a new id for the other service.
22
+ * @type {string}
23
+ * @memberof YotiDeeplinkProviderOutput
24
+ */
25
+ rememberMeId?: string | null;
26
+ /**
27
+ * The email address of the individual
28
+ * @type {string}
29
+ * @memberof YotiDeeplinkProviderOutput
30
+ */
31
+ email?: string | null;
32
+ /**
33
+ * The given name of the individual. This can correspond to first and middle names in English.
34
+ * @type {string}
35
+ * @memberof YotiDeeplinkProviderOutput
36
+ */
37
+ givenName?: string | null;
38
+ /**
39
+ * The family name of the individual
40
+ * @type {string}
41
+ * @memberof YotiDeeplinkProviderOutput
42
+ */
43
+ familyName?: string | null;
44
+ /**
45
+ * Full name of the individual which is composed of the given and family name.
46
+ * Unverified full name may be safe to use. For example, Aadhaar card provides full name, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
47
+ * @type {string}
48
+ * @memberof YotiDeeplinkProviderOutput
49
+ */
50
+ fullName?: string | null;
51
+ /**
52
+ * The date of birth of the individual.
53
+ * Unverified date of birth may be safe to use. For example, Aadhaar card provides date of birth, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
54
+ * @type {Date}
55
+ * @memberof YotiDeeplinkProviderOutput
56
+ */
57
+ dateOfBirth?: Date | null;
58
+ /**
59
+ * The gender of the individual. Depending on the source or country, gender may not be verified. This is a setting that can be configured while setting up scopes.
60
+ *
61
+ * Unverified gender may be safe to use. For example, Aadhaar card provides gender, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
62
+ * In some countries
63
+ * Possible values:
64
+ * - "MALE"
65
+ * - "FEMALE"
66
+ * - "TRANSGENDER"
67
+ * - "OTHER"
68
+ * @type {string}
69
+ * @memberof YotiDeeplinkProviderOutput
70
+ */
71
+ gender?: string | null;
72
+ /**
73
+ * The nationality of the individual as a ISO alpha-3 code
74
+ * @type {string}
75
+ * @memberof YotiDeeplinkProviderOutput
76
+ */
77
+ nationality?: string | null;
78
+ /**
79
+ * The mobile phone number of the individual. This number was verified with a one time password (OTP) during the user's registration with Yoti. In some cases, Yoti may do additional checks against its sources to confirm the user's identity.
80
+ * @type {string}
81
+ * @memberof YotiDeeplinkProviderOutput
82
+ */
83
+ mobileNumber?: string | null;
84
+ /**
85
+ * A structured postal address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered "unverified".
86
+ * Unverified addresses may be safe to use. For example, Aadhaar card provides an address, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
87
+ * @type {YotiStructuredPostalAddress}
88
+ * @memberof YotiDeeplinkProviderOutput
89
+ */
90
+ structuredPostalAddress?: YotiStructuredPostalAddress | null;
91
+ /**
92
+ * The whole address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered "unverified". The format of this will be different for each country.
93
+ * Refer to `StructuredPostalAddress` for a detailed version of the address.
94
+ * @type {string}
95
+ * @memberof YotiDeeplinkProviderOutput
96
+ */
97
+ postalAddress?: string | null;
98
+ /**
99
+ * The details of the underlying document used to help create the Yoti credential
100
+ * @type {YotiDocumentDetails}
101
+ * @memberof YotiDeeplinkProviderOutput
102
+ */
103
+ documentDetails?: YotiDocumentDetails | null;
104
+ }
105
+ /**
106
+ * Check if a given object implements the YotiDeeplinkProviderOutput interface.
107
+ */
108
+ export declare function instanceOfYotiDeeplinkProviderOutput(value: object): value is YotiDeeplinkProviderOutput;
109
+ export declare function YotiDeeplinkProviderOutputFromJSON(json: any): YotiDeeplinkProviderOutput;
110
+ export declare function YotiDeeplinkProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): YotiDeeplinkProviderOutput;
111
+ export declare function YotiDeeplinkProviderOutputToJSON(json: any): YotiDeeplinkProviderOutput;
112
+ export declare function YotiDeeplinkProviderOutputToJSONTyped(value?: YotiDeeplinkProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { YotiStructuredPostalAddressFromJSON, YotiStructuredPostalAddressToJSON, } from './YotiStructuredPostalAddress';
15
+ import { YotiDocumentDetailsFromJSON, YotiDocumentDetailsToJSON, } from './YotiDocumentDetails';
16
+ /**
17
+ * Check if a given object implements the YotiDeeplinkProviderOutput interface.
18
+ */
19
+ export function instanceOfYotiDeeplinkProviderOutput(value) {
20
+ return true;
21
+ }
22
+ export function YotiDeeplinkProviderOutputFromJSON(json) {
23
+ return YotiDeeplinkProviderOutputFromJSONTyped(json, false);
24
+ }
25
+ export function YotiDeeplinkProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'rememberMeId': json['rememberMeId'] == null ? undefined : json['rememberMeId'],
31
+ 'email': json['email'] == null ? undefined : json['email'],
32
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
33
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
34
+ 'fullName': json['fullName'] == null ? undefined : json['fullName'],
35
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
36
+ 'gender': json['gender'] == null ? undefined : json['gender'],
37
+ 'nationality': json['nationality'] == null ? undefined : json['nationality'],
38
+ 'mobileNumber': json['mobileNumber'] == null ? undefined : json['mobileNumber'],
39
+ 'structuredPostalAddress': json['structuredPostalAddress'] == null ? undefined : YotiStructuredPostalAddressFromJSON(json['structuredPostalAddress']),
40
+ 'postalAddress': json['postalAddress'] == null ? undefined : json['postalAddress'],
41
+ 'documentDetails': json['documentDetails'] == null ? undefined : YotiDocumentDetailsFromJSON(json['documentDetails']),
42
+ };
43
+ }
44
+ export function YotiDeeplinkProviderOutputToJSON(json) {
45
+ return YotiDeeplinkProviderOutputToJSONTyped(json, false);
46
+ }
47
+ export function YotiDeeplinkProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'rememberMeId': value['rememberMeId'],
53
+ 'email': value['email'],
54
+ 'givenName': value['givenName'],
55
+ 'familyName': value['familyName'],
56
+ 'fullName': value['fullName'],
57
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
58
+ 'gender': value['gender'],
59
+ 'nationality': value['nationality'],
60
+ 'mobileNumber': value['mobileNumber'],
61
+ 'structuredPostalAddress': YotiStructuredPostalAddressToJSON(value['structuredPostalAddress']),
62
+ 'postalAddress': value['postalAddress'],
63
+ 'documentDetails': YotiDocumentDetailsToJSON(value['documentDetails']),
64
+ };
65
+ }