@trinsic/api 3.0.1 → 3.0.2-preview1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +27 -0
- package/dist/apis/ProvidersApi.d.ts +28 -1
- package/dist/apis/ProvidersApi.js +37 -0
- package/dist/apis/VerificationProfilesApi.d.ts +6 -2
- package/dist/apis/VerificationProfilesApi.js +8 -2
- package/dist/esm/apis/ProvidersApi.d.ts +28 -1
- package/dist/esm/apis/ProvidersApi.js +38 -1
- package/dist/esm/apis/VerificationProfilesApi.d.ts +6 -2
- package/dist/esm/apis/VerificationProfilesApi.js +8 -2
- package/dist/esm/models/AadhaarClaims.d.ts +125 -0
- package/dist/esm/models/AadhaarClaims.js +69 -0
- package/dist/esm/models/AadhaarLanguage.d.ts +55 -0
- package/dist/esm/models/AadhaarLanguage.js +44 -0
- package/dist/esm/models/AadhaarLocalizedClaims.d.ts +99 -0
- package/dist/esm/models/AadhaarLocalizedClaims.js +64 -0
- package/dist/esm/models/AppleWalletInput.d.ts +13 -0
- package/dist/esm/models/AppleWalletInput.js +3 -0
- package/dist/esm/models/ConnectIdAddress.d.ts +58 -0
- package/dist/esm/models/ConnectIdAddress.js +49 -0
- package/dist/esm/models/ConnectIdAgeVerification.d.ts +38 -0
- package/dist/esm/models/ConnectIdAgeVerification.js +43 -0
- package/dist/esm/models/ConnectIdBeneficiaryAccount.d.ts +52 -0
- package/dist/esm/models/ConnectIdBeneficiaryAccount.js +47 -0
- package/dist/esm/models/ConnectIdProviderOutput.d.ts +97 -0
- package/dist/esm/models/ConnectIdProviderOutput.js +64 -0
- package/dist/esm/models/CzechMojeIdAddressOutput.d.ts +62 -0
- package/dist/esm/models/CzechMojeIdAddressOutput.js +51 -0
- package/dist/esm/models/CzechMojeIdProviderOutput.d.ts +177 -0
- package/dist/esm/models/CzechMojeIdProviderOutput.js +86 -0
- package/dist/esm/models/DigilockerAadhaarProviderOutput.d.ts +82 -0
- package/dist/esm/models/DigilockerAadhaarProviderOutput.js +57 -0
- package/dist/esm/models/FaydaProviderOutput.d.ts +20 -0
- package/dist/esm/models/FaydaProviderOutput.js +6 -0
- package/dist/esm/models/FinnishTrustNetworkProviderOutput.d.ts +123 -0
- package/dist/esm/models/FinnishTrustNetworkProviderOutput.js +61 -0
- package/dist/esm/models/FranceIdentiteInput.d.ts +35 -0
- package/dist/esm/models/FranceIdentiteInput.js +42 -0
- package/dist/esm/models/FranceIdentiteProviderOutput.d.ts +33 -0
- package/dist/esm/models/FranceIdentiteProviderOutput.js +44 -0
- package/dist/esm/models/FrejaIndirectProviderOutput.d.ts +53 -0
- package/dist/esm/models/FrejaIndirectProviderOutput.js +55 -0
- package/dist/esm/models/FrejaProviderOutput.d.ts +103 -11
- package/dist/esm/models/FrejaProviderOutput.js +38 -16
- package/dist/esm/models/GetProviderResponse.d.ts +33 -0
- package/dist/esm/models/GetProviderResponse.js +44 -0
- package/dist/esm/models/GoogleWalletInput.d.ts +11 -0
- package/dist/esm/models/GoogleWalletInput.js +3 -0
- package/dist/esm/models/IntegrationStep.d.ts +1 -1
- package/dist/esm/models/NigeriaNinLookup2ProviderOutput.d.ts +112 -0
- package/dist/esm/models/NigeriaNinLookup2ProviderOutput.js +69 -0
- package/dist/esm/models/NorwegianBankIdProviderOutput.d.ts +97 -0
- package/dist/esm/models/NorwegianBankIdProviderOutput.js +55 -0
- package/dist/esm/models/OneIdProviderAddress.d.ts +56 -0
- package/dist/esm/models/OneIdProviderAddress.js +49 -0
- package/dist/esm/models/OneIdProviderOutput.d.ts +63 -0
- package/dist/esm/models/OneIdProviderOutput.js +52 -0
- package/dist/esm/models/OutputFrejaAddress.d.ts +50 -0
- package/dist/esm/models/OutputFrejaAddress.js +47 -0
- package/dist/esm/models/OutputFrejaDocument.d.ts +56 -0
- package/dist/esm/models/OutputFrejaDocument.js +47 -0
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +64 -0
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +20 -0
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +54 -1
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +16 -0
- package/dist/esm/models/ProviderInput.d.ts +21 -0
- package/dist/esm/models/ProviderInput.js +9 -0
- package/dist/esm/models/ProviderOutput.d.ts +82 -3
- package/dist/esm/models/ProviderOutput.js +35 -2
- package/dist/esm/models/Raw18013DocumentRequest.d.ts +60 -0
- package/dist/esm/models/Raw18013DocumentRequest.js +47 -0
- package/dist/esm/models/Raw18013RequestInput.d.ts +38 -0
- package/dist/esm/models/Raw18013RequestInput.js +44 -0
- package/dist/esm/models/RecommendProvidersResponse.d.ts +6 -0
- package/dist/esm/models/RecommendProvidersResponse.js +4 -0
- package/dist/esm/models/SamsungWalletInput.d.ts +37 -0
- package/dist/esm/models/SamsungWalletInput.js +42 -0
- package/dist/esm/models/UkEvisaLookupInput.d.ts +38 -0
- package/dist/esm/models/UkEvisaLookupInput.js +47 -0
- package/dist/esm/models/UnitedKingdomEvisaProviderOutput.d.ts +106 -0
- package/dist/esm/models/UnitedKingdomEvisaProviderOutput.js +61 -0
- package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/esm/models/VerificationProfileResponse.js +4 -0
- package/dist/esm/models/YotiDeeplinkProviderOutput.d.ts +112 -0
- package/dist/esm/models/YotiDeeplinkProviderOutput.js +65 -0
- package/dist/esm/models/index.d.ts +27 -0
- package/dist/esm/models/index.js +27 -0
- package/dist/models/AadhaarClaims.d.ts +125 -0
- package/dist/models/AadhaarClaims.js +76 -0
- package/dist/models/AadhaarLanguage.d.ts +55 -0
- package/dist/models/AadhaarLanguage.js +51 -0
- package/dist/models/AadhaarLocalizedClaims.d.ts +99 -0
- package/dist/models/AadhaarLocalizedClaims.js +71 -0
- package/dist/models/AppleWalletInput.d.ts +13 -0
- package/dist/models/AppleWalletInput.js +3 -0
- package/dist/models/ConnectIdAddress.d.ts +58 -0
- package/dist/models/ConnectIdAddress.js +56 -0
- package/dist/models/ConnectIdAgeVerification.d.ts +38 -0
- package/dist/models/ConnectIdAgeVerification.js +50 -0
- package/dist/models/ConnectIdBeneficiaryAccount.d.ts +52 -0
- package/dist/models/ConnectIdBeneficiaryAccount.js +54 -0
- package/dist/models/ConnectIdProviderOutput.d.ts +97 -0
- package/dist/models/ConnectIdProviderOutput.js +71 -0
- package/dist/models/CzechMojeIdAddressOutput.d.ts +62 -0
- package/dist/models/CzechMojeIdAddressOutput.js +58 -0
- package/dist/models/CzechMojeIdProviderOutput.d.ts +177 -0
- package/dist/models/CzechMojeIdProviderOutput.js +93 -0
- package/dist/models/DigilockerAadhaarProviderOutput.d.ts +82 -0
- package/dist/models/DigilockerAadhaarProviderOutput.js +64 -0
- package/dist/models/FaydaProviderOutput.d.ts +20 -0
- package/dist/models/FaydaProviderOutput.js +6 -0
- package/dist/models/FinnishTrustNetworkProviderOutput.d.ts +123 -0
- package/dist/models/FinnishTrustNetworkProviderOutput.js +68 -0
- package/dist/models/FranceIdentiteInput.d.ts +35 -0
- package/dist/models/FranceIdentiteInput.js +49 -0
- package/dist/models/FranceIdentiteProviderOutput.d.ts +33 -0
- package/dist/models/FranceIdentiteProviderOutput.js +51 -0
- package/dist/models/FrejaIndirectProviderOutput.d.ts +53 -0
- package/dist/models/FrejaIndirectProviderOutput.js +62 -0
- package/dist/models/FrejaProviderOutput.d.ts +103 -11
- package/dist/models/FrejaProviderOutput.js +38 -16
- package/dist/models/GetProviderResponse.d.ts +33 -0
- package/dist/models/GetProviderResponse.js +51 -0
- package/dist/models/GoogleWalletInput.d.ts +11 -0
- package/dist/models/GoogleWalletInput.js +3 -0
- package/dist/models/IntegrationStep.d.ts +1 -1
- package/dist/models/NigeriaNinLookup2ProviderOutput.d.ts +112 -0
- package/dist/models/NigeriaNinLookup2ProviderOutput.js +76 -0
- package/dist/models/NorwegianBankIdProviderOutput.d.ts +97 -0
- package/dist/models/NorwegianBankIdProviderOutput.js +62 -0
- package/dist/models/OneIdProviderAddress.d.ts +56 -0
- package/dist/models/OneIdProviderAddress.js +56 -0
- package/dist/models/OneIdProviderOutput.d.ts +63 -0
- package/dist/models/OneIdProviderOutput.js +59 -0
- package/dist/models/OutputFrejaAddress.d.ts +50 -0
- package/dist/models/OutputFrejaAddress.js +54 -0
- package/dist/models/OutputFrejaDocument.d.ts +56 -0
- package/dist/models/OutputFrejaDocument.js +54 -0
- package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +64 -0
- package/dist/models/PhilippinesDigitalNidProviderOutput.js +20 -0
- package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +54 -1
- package/dist/models/PhilippinesPhysicalNidProviderOutput.js +16 -0
- package/dist/models/ProviderInput.d.ts +21 -0
- package/dist/models/ProviderInput.js +9 -0
- package/dist/models/ProviderOutput.d.ts +82 -3
- package/dist/models/ProviderOutput.js +35 -2
- package/dist/models/Raw18013DocumentRequest.d.ts +60 -0
- package/dist/models/Raw18013DocumentRequest.js +54 -0
- package/dist/models/Raw18013RequestInput.d.ts +38 -0
- package/dist/models/Raw18013RequestInput.js +51 -0
- package/dist/models/RecommendProvidersResponse.d.ts +6 -0
- package/dist/models/RecommendProvidersResponse.js +4 -0
- package/dist/models/SamsungWalletInput.d.ts +37 -0
- package/dist/models/SamsungWalletInput.js +49 -0
- package/dist/models/UkEvisaLookupInput.d.ts +38 -0
- package/dist/models/UkEvisaLookupInput.js +54 -0
- package/dist/models/UnitedKingdomEvisaProviderOutput.d.ts +106 -0
- package/dist/models/UnitedKingdomEvisaProviderOutput.js +68 -0
- package/dist/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/models/VerificationProfileResponse.js +4 -0
- package/dist/models/YotiDeeplinkProviderOutput.d.ts +112 -0
- package/dist/models/YotiDeeplinkProviderOutput.js +72 -0
- package/dist/models/index.d.ts +27 -0
- package/dist/models/index.js +27 -0
- package/package.json +1 -1
- package/src/apis/ProvidersApi.ts +66 -0
- package/src/apis/VerificationProfilesApi.ts +15 -3
- package/src/models/AadhaarClaims.ts +186 -0
- package/src/models/AadhaarLanguage.ts +90 -0
- package/src/models/AadhaarLocalizedClaims.ts +161 -0
- package/src/models/AppleWalletInput.ts +21 -0
- package/src/models/ConnectIdAddress.ts +99 -0
- package/src/models/ConnectIdAgeVerification.ts +73 -0
- package/src/models/ConnectIdBeneficiaryAccount.ts +91 -0
- package/src/models/ConnectIdProviderOutput.ts +169 -0
- package/src/models/CzechMojeIdAddressOutput.ts +105 -0
- package/src/models/CzechMojeIdProviderOutput.ts +261 -0
- package/src/models/DigilockerAadhaarProviderOutput.ts +141 -0
- package/src/models/FaydaProviderOutput.ts +26 -0
- package/src/models/FinnishTrustNetworkProviderOutput.ts +176 -0
- package/src/models/FranceIdentiteInput.ts +75 -0
- package/src/models/FranceIdentiteProviderOutput.ts +74 -0
- package/src/models/FrejaIndirectProviderOutput.ts +96 -0
- package/src/models/FrejaProviderOutput.ts +152 -23
- package/src/models/GetProviderResponse.ts +74 -0
- package/src/models/GoogleWalletInput.ts +19 -0
- package/src/models/IntegrationStep.ts +1 -1
- package/src/models/NigeriaNinLookup2ProviderOutput.ts +170 -0
- package/src/models/NorwegianBankIdProviderOutput.ts +144 -0
- package/src/models/OneIdProviderAddress.ts +97 -0
- package/src/models/OneIdProviderOutput.ts +113 -0
- package/src/models/OutputFrejaAddress.ts +89 -0
- package/src/models/OutputFrejaDocument.ts +95 -0
- package/src/models/PhilippinesDigitalNidProviderOutput.ts +84 -0
- package/src/models/PhilippinesPhysicalNidProviderOutput.ts +70 -1
- package/src/models/ProviderInput.ts +45 -0
- package/src/models/ProviderOutput.ts +172 -5
- package/src/models/Raw18013DocumentRequest.ts +93 -0
- package/src/models/Raw18013RequestInput.ts +79 -0
- package/src/models/RecommendProvidersResponse.ts +9 -0
- package/src/models/SamsungWalletInput.ts +77 -0
- package/src/models/UkEvisaLookupInput.ts +75 -0
- package/src/models/UnitedKingdomEvisaProviderOutput.ts +159 -0
- package/src/models/VerificationProfileResponse.ts +9 -0
- package/src/models/YotiDeeplinkProviderOutput.ts +180 -0
- package/src/models/index.ts +27 -0
|
@@ -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
|
+
|
|
@@ -0,0 +1,169 @@
|
|
|
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 { ConnectIdBeneficiaryAccount } from './ConnectIdBeneficiaryAccount';
|
|
17
|
+
import {
|
|
18
|
+
ConnectIdBeneficiaryAccountFromJSON,
|
|
19
|
+
ConnectIdBeneficiaryAccountFromJSONTyped,
|
|
20
|
+
ConnectIdBeneficiaryAccountToJSON,
|
|
21
|
+
ConnectIdBeneficiaryAccountToJSONTyped,
|
|
22
|
+
} from './ConnectIdBeneficiaryAccount';
|
|
23
|
+
import type { ConnectIdAgeVerification } from './ConnectIdAgeVerification';
|
|
24
|
+
import {
|
|
25
|
+
ConnectIdAgeVerificationFromJSON,
|
|
26
|
+
ConnectIdAgeVerificationFromJSONTyped,
|
|
27
|
+
ConnectIdAgeVerificationToJSON,
|
|
28
|
+
ConnectIdAgeVerificationToJSONTyped,
|
|
29
|
+
} from './ConnectIdAgeVerification';
|
|
30
|
+
import type { ConnectIdAddress } from './ConnectIdAddress';
|
|
31
|
+
import {
|
|
32
|
+
ConnectIdAddressFromJSON,
|
|
33
|
+
ConnectIdAddressFromJSONTyped,
|
|
34
|
+
ConnectIdAddressToJSON,
|
|
35
|
+
ConnectIdAddressToJSONTyped,
|
|
36
|
+
} from './ConnectIdAddress';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Exposed properties for the `australia-connect-id` Provider which do not directly map to the normalized IdentityData model.
|
|
40
|
+
* @export
|
|
41
|
+
* @interface ConnectIdProviderOutput
|
|
42
|
+
*/
|
|
43
|
+
export interface ConnectIdProviderOutput {
|
|
44
|
+
/**
|
|
45
|
+
* The date of birth of an individual in YYYY-MM-DD format.
|
|
46
|
+
* @type {Date}
|
|
47
|
+
* @memberof ConnectIdProviderOutput
|
|
48
|
+
*/
|
|
49
|
+
birthdate?: Date | null;
|
|
50
|
+
/**
|
|
51
|
+
* The given name of an individual.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ConnectIdProviderOutput
|
|
54
|
+
*/
|
|
55
|
+
givenName?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* The middle name of an individual.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ConnectIdProviderOutput
|
|
60
|
+
*/
|
|
61
|
+
middleName?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The family/last name of an individual.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ConnectIdProviderOutput
|
|
66
|
+
*/
|
|
67
|
+
familyName?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* The phone number of an individual.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof ConnectIdProviderOutput
|
|
72
|
+
*/
|
|
73
|
+
phoneNumber?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* The email of an individual.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof ConnectIdProviderOutput
|
|
78
|
+
*/
|
|
79
|
+
email?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
* The OpenID Connect (OIDC) subject identifier (sub).
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof ConnectIdProviderOutput
|
|
84
|
+
*/
|
|
85
|
+
sub?: string | null;
|
|
86
|
+
/**
|
|
87
|
+
* The age verification claim and whether the individual meets the age requirement.
|
|
88
|
+
* @type {ConnectIdAgeVerification}
|
|
89
|
+
* @memberof ConnectIdProviderOutput
|
|
90
|
+
*/
|
|
91
|
+
ageVerification?: ConnectIdAgeVerification | null;
|
|
92
|
+
/**
|
|
93
|
+
* The verification session's transaction number.
|
|
94
|
+
*
|
|
95
|
+
* This is a unique identifier assigned to a single ConnectID transaction flow. It can be used for audit purposes or to flag fraudulent activity.
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof ConnectIdProviderOutput
|
|
98
|
+
*/
|
|
99
|
+
transaction?: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* The beneficiary account that has been designated by the individual.
|
|
102
|
+
* @type {ConnectIdBeneficiaryAccount}
|
|
103
|
+
* @memberof ConnectIdProviderOutput
|
|
104
|
+
*/
|
|
105
|
+
beneficiaryAccount?: ConnectIdBeneficiaryAccount | null;
|
|
106
|
+
/**
|
|
107
|
+
* The address.
|
|
108
|
+
* @type {ConnectIdAddress}
|
|
109
|
+
* @memberof ConnectIdProviderOutput
|
|
110
|
+
*/
|
|
111
|
+
address?: ConnectIdAddress | null;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Check if a given object implements the ConnectIdProviderOutput interface.
|
|
116
|
+
*/
|
|
117
|
+
export function instanceOfConnectIdProviderOutput(value: object): value is ConnectIdProviderOutput {
|
|
118
|
+
return true;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export function ConnectIdProviderOutputFromJSON(json: any): ConnectIdProviderOutput {
|
|
122
|
+
return ConnectIdProviderOutputFromJSONTyped(json, false);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export function ConnectIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectIdProviderOutput {
|
|
126
|
+
if (json == null) {
|
|
127
|
+
return json;
|
|
128
|
+
}
|
|
129
|
+
return {
|
|
130
|
+
|
|
131
|
+
'birthdate': json['birthdate'] == null ? undefined : (new Date(json['birthdate'])),
|
|
132
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
133
|
+
'middleName': json['middleName'] == null ? undefined : json['middleName'],
|
|
134
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
135
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
136
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
137
|
+
'sub': json['sub'] == null ? undefined : json['sub'],
|
|
138
|
+
'ageVerification': json['ageVerification'] == null ? undefined : ConnectIdAgeVerificationFromJSON(json['ageVerification']),
|
|
139
|
+
'transaction': json['transaction'] == null ? undefined : json['transaction'],
|
|
140
|
+
'beneficiaryAccount': json['beneficiaryAccount'] == null ? undefined : ConnectIdBeneficiaryAccountFromJSON(json['beneficiaryAccount']),
|
|
141
|
+
'address': json['address'] == null ? undefined : ConnectIdAddressFromJSON(json['address']),
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export function ConnectIdProviderOutputToJSON(json: any): ConnectIdProviderOutput {
|
|
146
|
+
return ConnectIdProviderOutputToJSONTyped(json, false);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export function ConnectIdProviderOutputToJSONTyped(value?: ConnectIdProviderOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
150
|
+
if (value == null) {
|
|
151
|
+
return value;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
return {
|
|
155
|
+
|
|
156
|
+
'birthdate': value['birthdate'] == null ? undefined : ((value['birthdate'] as any).toISOString().substring(0,10)),
|
|
157
|
+
'givenName': value['givenName'],
|
|
158
|
+
'middleName': value['middleName'],
|
|
159
|
+
'familyName': value['familyName'],
|
|
160
|
+
'phoneNumber': value['phoneNumber'],
|
|
161
|
+
'email': value['email'],
|
|
162
|
+
'sub': value['sub'],
|
|
163
|
+
'ageVerification': ConnectIdAgeVerificationToJSON(value['ageVerification']),
|
|
164
|
+
'transaction': value['transaction'],
|
|
165
|
+
'beneficiaryAccount': ConnectIdBeneficiaryAccountToJSON(value['beneficiaryAccount']),
|
|
166
|
+
'address': ConnectIdAddressToJSON(value['address']),
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
|
|
@@ -0,0 +1,105 @@
|
|
|
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 CzechMojeIdAddressOutput
|
|
20
|
+
*/
|
|
21
|
+
export interface CzechMojeIdAddressOutput {
|
|
22
|
+
/**
|
|
23
|
+
* The street address line, including house number.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CzechMojeIdAddressOutput
|
|
26
|
+
*/
|
|
27
|
+
streetAddress?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* The city or locality.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CzechMojeIdAddressOutput
|
|
32
|
+
*/
|
|
33
|
+
city?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* The region or state.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CzechMojeIdAddressOutput
|
|
38
|
+
*/
|
|
39
|
+
region?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* The postal code.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CzechMojeIdAddressOutput
|
|
44
|
+
*/
|
|
45
|
+
postalCode?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* The ISO 3166-1 alpha-2 country code.
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof CzechMojeIdAddressOutput
|
|
50
|
+
*/
|
|
51
|
+
country?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* The full address as a formatted string, with components separated by newlines.
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof CzechMojeIdAddressOutput
|
|
56
|
+
*/
|
|
57
|
+
formattedAddress?: string | null;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the CzechMojeIdAddressOutput interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfCzechMojeIdAddressOutput(value: object): value is CzechMojeIdAddressOutput {
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function CzechMojeIdAddressOutputFromJSON(json: any): CzechMojeIdAddressOutput {
|
|
68
|
+
return CzechMojeIdAddressOutputFromJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function CzechMojeIdAddressOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CzechMojeIdAddressOutput {
|
|
72
|
+
if (json == null) {
|
|
73
|
+
return json;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'streetAddress': json['streetAddress'] == null ? undefined : json['streetAddress'],
|
|
78
|
+
'city': json['city'] == null ? undefined : json['city'],
|
|
79
|
+
'region': json['region'] == null ? undefined : json['region'],
|
|
80
|
+
'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
|
|
81
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
82
|
+
'formattedAddress': json['formattedAddress'] == null ? undefined : json['formattedAddress'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function CzechMojeIdAddressOutputToJSON(json: any): CzechMojeIdAddressOutput {
|
|
87
|
+
return CzechMojeIdAddressOutputToJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function CzechMojeIdAddressOutputToJSONTyped(value?: CzechMojeIdAddressOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
91
|
+
if (value == null) {
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'streetAddress': value['streetAddress'],
|
|
98
|
+
'city': value['city'],
|
|
99
|
+
'region': value['region'],
|
|
100
|
+
'postalCode': value['postalCode'],
|
|
101
|
+
'country': value['country'],
|
|
102
|
+
'formattedAddress': value['formattedAddress'],
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -0,0 +1,261 @@
|
|
|
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 { CzechMojeIdAddressOutput } from './CzechMojeIdAddressOutput';
|
|
17
|
+
import {
|
|
18
|
+
CzechMojeIdAddressOutputFromJSON,
|
|
19
|
+
CzechMojeIdAddressOutputFromJSONTyped,
|
|
20
|
+
CzechMojeIdAddressOutputToJSON,
|
|
21
|
+
CzechMojeIdAddressOutputToJSONTyped,
|
|
22
|
+
} from './CzechMojeIdAddressOutput';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Exposed properties for the `czech-moje-id` Provider which do not directly map to the normalized IdentityData model.
|
|
26
|
+
* @export
|
|
27
|
+
* @interface CzechMojeIdProviderOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface CzechMojeIdProviderOutput {
|
|
30
|
+
/**
|
|
31
|
+
* The subject identifier (sub) of the verified individual's MojeID account.
|
|
32
|
+
*
|
|
33
|
+
* This is a unique identifier that represents the user within the MojeID system.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CzechMojeIdProviderOutput
|
|
36
|
+
*/
|
|
37
|
+
subjectIdentifier?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* The individual's full name.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CzechMojeIdProviderOutput
|
|
42
|
+
*/
|
|
43
|
+
name?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* The individual's given (first) name.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CzechMojeIdProviderOutput
|
|
48
|
+
*/
|
|
49
|
+
givenName?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* The individual's family (last) name.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CzechMojeIdProviderOutput
|
|
54
|
+
*/
|
|
55
|
+
familyName?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* The individual's nickname.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CzechMojeIdProviderOutput
|
|
60
|
+
*/
|
|
61
|
+
nickname?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The individual's email address.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof CzechMojeIdProviderOutput
|
|
66
|
+
*/
|
|
67
|
+
email?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Whether the individual's email address has been verified by MojeID.
|
|
70
|
+
* (Verification email and link clicked)
|
|
71
|
+
* @type {boolean}
|
|
72
|
+
* @memberof CzechMojeIdProviderOutput
|
|
73
|
+
*/
|
|
74
|
+
emailVerified?: boolean | null;
|
|
75
|
+
/**
|
|
76
|
+
* The individual's phone number.
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof CzechMojeIdProviderOutput
|
|
79
|
+
*/
|
|
80
|
+
phoneNumber?: string | null;
|
|
81
|
+
/**
|
|
82
|
+
* An individual's phone number has been verified by MojeID.
|
|
83
|
+
* (SMS verification)
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @memberof CzechMojeIdProviderOutput
|
|
86
|
+
*/
|
|
87
|
+
phoneNumberVerified?: boolean | null;
|
|
88
|
+
/**
|
|
89
|
+
* The individual's date of birth.
|
|
90
|
+
*
|
|
91
|
+
* Formatted as an ISO 8601 Date.
|
|
92
|
+
* @type {Date}
|
|
93
|
+
* @memberof CzechMojeIdProviderOutput
|
|
94
|
+
*/
|
|
95
|
+
dateOfBirth?: Date | null;
|
|
96
|
+
/**
|
|
97
|
+
* The individual's gender as reported by MojeID.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof CzechMojeIdProviderOutput
|
|
100
|
+
*/
|
|
101
|
+
gender?: string | null;
|
|
102
|
+
/**
|
|
103
|
+
* The individual's Czech ID card number.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof CzechMojeIdProviderOutput
|
|
106
|
+
*/
|
|
107
|
+
idCardNumber?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* The individual's Czech passport number.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof CzechMojeIdProviderOutput
|
|
112
|
+
*/
|
|
113
|
+
passportNumber?: string | null;
|
|
114
|
+
/**
|
|
115
|
+
* The individual's Ministry of Labour and Social Affairs identifier (Czech social security equivalent).
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof CzechMojeIdProviderOutput
|
|
118
|
+
*/
|
|
119
|
+
socialSecurityNumber?: string | null;
|
|
120
|
+
/**
|
|
121
|
+
* The individual is an adult (18 years or older).
|
|
122
|
+
* @type {boolean}
|
|
123
|
+
* @memberof CzechMojeIdProviderOutput
|
|
124
|
+
*/
|
|
125
|
+
isAdult?: boolean | null;
|
|
126
|
+
/**
|
|
127
|
+
* The MojeID account has been validated.
|
|
128
|
+
*
|
|
129
|
+
* A validated account indicates the individual's identity has been verified
|
|
130
|
+
* to a higher level of assurance within the MojeID system.
|
|
131
|
+
* @type {boolean}
|
|
132
|
+
* @memberof CzechMojeIdProviderOutput
|
|
133
|
+
*/
|
|
134
|
+
accountValidated?: boolean | null;
|
|
135
|
+
/**
|
|
136
|
+
* The individual's or organization's Czech Registration ID (ICO), the Czech company registration number.
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof CzechMojeIdProviderOutput
|
|
139
|
+
*/
|
|
140
|
+
companyRegistrationNumber?: string | null;
|
|
141
|
+
/**
|
|
142
|
+
* The individual's or organization's Danove Identifikacni Cislo (DIC), the Czech tax identification number.
|
|
143
|
+
* @type {string}
|
|
144
|
+
* @memberof CzechMojeIdProviderOutput
|
|
145
|
+
*/
|
|
146
|
+
taxIdentificationNumber?: string | null;
|
|
147
|
+
/**
|
|
148
|
+
* The individual's identity has been verified through the Czech National Identity Authority (NIA).
|
|
149
|
+
*
|
|
150
|
+
* NIA verification indicates a higher level of identity assurance, typically involving government-issued
|
|
151
|
+
* credentials verified through the Czech eGovernment infrastructure.
|
|
152
|
+
* @type {boolean}
|
|
153
|
+
* @memberof CzechMojeIdProviderOutput
|
|
154
|
+
*/
|
|
155
|
+
niaVerified?: boolean | null;
|
|
156
|
+
/**
|
|
157
|
+
* Unique login transaction identifier
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof CzechMojeIdProviderOutput
|
|
160
|
+
*/
|
|
161
|
+
transactionId?: string | null;
|
|
162
|
+
/**
|
|
163
|
+
* The individual's home (default) address, from the `mojeid_address_def` claim.
|
|
164
|
+
* @type {CzechMojeIdAddressOutput}
|
|
165
|
+
* @memberof CzechMojeIdProviderOutput
|
|
166
|
+
*/
|
|
167
|
+
homeAddress?: CzechMojeIdAddressOutput | null;
|
|
168
|
+
/**
|
|
169
|
+
* The individual's billing address, from the `mojeid_address_bill` claim.
|
|
170
|
+
* @type {CzechMojeIdAddressOutput}
|
|
171
|
+
* @memberof CzechMojeIdProviderOutput
|
|
172
|
+
*/
|
|
173
|
+
billingAddress?: CzechMojeIdAddressOutput | null;
|
|
174
|
+
/**
|
|
175
|
+
* The individual's shipping address, from the `mojeid_address_ship` claim.
|
|
176
|
+
* @type {CzechMojeIdAddressOutput}
|
|
177
|
+
* @memberof CzechMojeIdProviderOutput
|
|
178
|
+
*/
|
|
179
|
+
shippingAddress?: CzechMojeIdAddressOutput | null;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Check if a given object implements the CzechMojeIdProviderOutput interface.
|
|
184
|
+
*/
|
|
185
|
+
export function instanceOfCzechMojeIdProviderOutput(value: object): value is CzechMojeIdProviderOutput {
|
|
186
|
+
return true;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export function CzechMojeIdProviderOutputFromJSON(json: any): CzechMojeIdProviderOutput {
|
|
190
|
+
return CzechMojeIdProviderOutputFromJSONTyped(json, false);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export function CzechMojeIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CzechMojeIdProviderOutput {
|
|
194
|
+
if (json == null) {
|
|
195
|
+
return json;
|
|
196
|
+
}
|
|
197
|
+
return {
|
|
198
|
+
|
|
199
|
+
'subjectIdentifier': json['subjectIdentifier'] == null ? undefined : json['subjectIdentifier'],
|
|
200
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
201
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
202
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
203
|
+
'nickname': json['nickname'] == null ? undefined : json['nickname'],
|
|
204
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
205
|
+
'emailVerified': json['emailVerified'] == null ? undefined : json['emailVerified'],
|
|
206
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
207
|
+
'phoneNumberVerified': json['phoneNumberVerified'] == null ? undefined : json['phoneNumberVerified'],
|
|
208
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
209
|
+
'gender': json['gender'] == null ? undefined : json['gender'],
|
|
210
|
+
'idCardNumber': json['idCardNumber'] == null ? undefined : json['idCardNumber'],
|
|
211
|
+
'passportNumber': json['passportNumber'] == null ? undefined : json['passportNumber'],
|
|
212
|
+
'socialSecurityNumber': json['socialSecurityNumber'] == null ? undefined : json['socialSecurityNumber'],
|
|
213
|
+
'isAdult': json['isAdult'] == null ? undefined : json['isAdult'],
|
|
214
|
+
'accountValidated': json['accountValidated'] == null ? undefined : json['accountValidated'],
|
|
215
|
+
'companyRegistrationNumber': json['companyRegistrationNumber'] == null ? undefined : json['companyRegistrationNumber'],
|
|
216
|
+
'taxIdentificationNumber': json['taxIdentificationNumber'] == null ? undefined : json['taxIdentificationNumber'],
|
|
217
|
+
'niaVerified': json['niaVerified'] == null ? undefined : json['niaVerified'],
|
|
218
|
+
'transactionId': json['transactionId'] == null ? undefined : json['transactionId'],
|
|
219
|
+
'homeAddress': json['homeAddress'] == null ? undefined : CzechMojeIdAddressOutputFromJSON(json['homeAddress']),
|
|
220
|
+
'billingAddress': json['billingAddress'] == null ? undefined : CzechMojeIdAddressOutputFromJSON(json['billingAddress']),
|
|
221
|
+
'shippingAddress': json['shippingAddress'] == null ? undefined : CzechMojeIdAddressOutputFromJSON(json['shippingAddress']),
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export function CzechMojeIdProviderOutputToJSON(json: any): CzechMojeIdProviderOutput {
|
|
226
|
+
return CzechMojeIdProviderOutputToJSONTyped(json, false);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export function CzechMojeIdProviderOutputToJSONTyped(value?: CzechMojeIdProviderOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
230
|
+
if (value == null) {
|
|
231
|
+
return value;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
return {
|
|
235
|
+
|
|
236
|
+
'subjectIdentifier': value['subjectIdentifier'],
|
|
237
|
+
'name': value['name'],
|
|
238
|
+
'givenName': value['givenName'],
|
|
239
|
+
'familyName': value['familyName'],
|
|
240
|
+
'nickname': value['nickname'],
|
|
241
|
+
'email': value['email'],
|
|
242
|
+
'emailVerified': value['emailVerified'],
|
|
243
|
+
'phoneNumber': value['phoneNumber'],
|
|
244
|
+
'phoneNumberVerified': value['phoneNumberVerified'],
|
|
245
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
|
|
246
|
+
'gender': value['gender'],
|
|
247
|
+
'idCardNumber': value['idCardNumber'],
|
|
248
|
+
'passportNumber': value['passportNumber'],
|
|
249
|
+
'socialSecurityNumber': value['socialSecurityNumber'],
|
|
250
|
+
'isAdult': value['isAdult'],
|
|
251
|
+
'accountValidated': value['accountValidated'],
|
|
252
|
+
'companyRegistrationNumber': value['companyRegistrationNumber'],
|
|
253
|
+
'taxIdentificationNumber': value['taxIdentificationNumber'],
|
|
254
|
+
'niaVerified': value['niaVerified'],
|
|
255
|
+
'transactionId': value['transactionId'],
|
|
256
|
+
'homeAddress': CzechMojeIdAddressOutputToJSON(value['homeAddress']),
|
|
257
|
+
'billingAddress': CzechMojeIdAddressOutputToJSON(value['billingAddress']),
|
|
258
|
+
'shippingAddress': CzechMojeIdAddressOutputToJSON(value['shippingAddress']),
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
|