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