@trinsic/api 2.0.0-alpha2 → 2.0.0
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 +16 -3
- package/dist/apis/AttachmentsApi.d.ts +4 -4
- package/dist/apis/AttachmentsApi.js +2 -2
- package/dist/apis/NetworkApi.d.ts +32 -9
- package/dist/apis/NetworkApi.js +38 -4
- package/dist/apis/SessionsApi.d.ts +8 -8
- package/dist/apis/SessionsApi.js +4 -4
- package/dist/esm/apis/AttachmentsApi.d.ts +4 -4
- package/dist/esm/apis/AttachmentsApi.js +2 -2
- package/dist/esm/apis/NetworkApi.d.ts +32 -9
- package/dist/esm/apis/NetworkApi.js +39 -5
- package/dist/esm/apis/SessionsApi.d.ts +8 -8
- package/dist/esm/apis/SessionsApi.js +4 -4
- package/dist/esm/models/AadhaarInput.d.ts +2 -2
- package/dist/esm/models/AadhaarInput.js +1 -1
- package/dist/esm/models/Address.d.ts +8 -8
- package/dist/esm/models/AttachmentAccessKeys.d.ts +4 -4
- package/dist/esm/models/BangladeshNationalIdInput.d.ts +4 -4
- package/dist/esm/models/BangladeshNationalIdInput.js +1 -1
- package/dist/esm/models/BrazilDigitalCnhInput.d.ts +3 -3
- package/dist/esm/models/CreateAdvancedProviderSessionRequest.d.ts +3 -3
- package/dist/esm/models/CreateHostedProviderSessionRequest.d.ts +1 -1
- package/dist/esm/models/CreateHostedProviderSessionResponse.d.ts +13 -1
- package/dist/esm/models/CreateHostedProviderSessionResponse.js +7 -1
- package/dist/esm/models/CreateWidgetSessionRequest.d.ts +8 -7
- package/dist/esm/models/CreateWidgetSessionRequest.js +3 -3
- package/dist/esm/models/CreateWidgetSessionResponse.d.ts +13 -1
- package/dist/esm/models/CreateWidgetSessionResponse.js +7 -1
- package/dist/esm/models/DocumentData.d.ts +6 -6
- package/dist/esm/models/DocumentData.js +2 -2
- package/dist/esm/models/DocumentScanAttachments.d.ts +1 -1
- package/dist/esm/models/GetSessionResultResponse.d.ts +1 -1
- package/dist/esm/models/HttpValidationProblemDetails.d.ts +5 -5
- package/dist/esm/models/IdentityData.d.ts +10 -4
- package/dist/esm/models/IdentityData.js +2 -0
- package/dist/esm/models/IdinInput.d.ts +33 -0
- package/dist/esm/models/IdinInput.js +38 -0
- package/dist/esm/models/IndonesiaNikInput.d.ts +43 -0
- package/dist/esm/models/IndonesiaNikInput.js +48 -0
- package/dist/esm/models/IntegrationLaunchMethod.d.ts +1 -1
- package/dist/esm/models/IntegrationLaunchMethod.js +1 -1
- package/dist/esm/models/IntegrationStep.d.ts +1 -1
- package/dist/esm/models/KenyaNidInput.d.ts +61 -0
- package/dist/esm/models/KenyaNidInput.js +58 -0
- package/dist/esm/models/Language.d.ts +26 -0
- package/dist/esm/models/Language.js +42 -0
- package/dist/esm/models/ListProviderContractsResponse.d.ts +32 -0
- package/dist/esm/models/ListProviderContractsResponse.js +41 -0
- package/dist/esm/models/MexicoCurpInput.d.ts +31 -0
- package/dist/esm/models/MexicoCurpInput.js +40 -0
- package/dist/esm/models/MobileIdInput.d.ts +44 -0
- package/dist/esm/models/MobileIdInput.js +43 -0
- package/dist/esm/models/NigeriaNinInput.d.ts +67 -0
- package/dist/esm/models/NigeriaNinInput.js +58 -0
- package/dist/esm/models/PersonData.d.ts +10 -10
- package/dist/esm/models/PersonData.js +1 -1
- package/dist/esm/models/PhilippineMatchInput.d.ts +5 -5
- package/dist/esm/models/PhilippineMatchInput.js +1 -1
- package/dist/esm/models/PhilippineQRInput.d.ts +2 -2
- package/dist/esm/models/ProblemDetails.d.ts +5 -5
- package/dist/esm/models/ProviderAttachments.d.ts +1 -1
- package/dist/esm/models/ProviderContract.d.ts +146 -0
- package/dist/esm/models/ProviderContract.js +97 -0
- package/dist/esm/models/ProviderInfo.d.ts +0 -6
- package/dist/esm/models/ProviderInfo.js +0 -2
- package/dist/esm/models/ProviderInformation.d.ts +4 -4
- package/dist/esm/models/ProviderInformation.js +1 -5
- package/dist/esm/models/ProviderInput.d.ts +95 -14
- package/dist/esm/models/ProviderInput.js +35 -2
- package/dist/esm/models/RecommendRequest.d.ts +4 -21
- package/dist/esm/models/RecommendRequest.js +3 -8
- package/dist/esm/models/RecommendationInfo.d.ts +55 -0
- package/dist/esm/models/RecommendationInfo.js +44 -0
- package/dist/esm/models/RefreshStepContentRequest.d.ts +1 -1
- package/dist/esm/models/ResultCollection.d.ts +8 -2
- package/dist/esm/models/ResultCollection.js +3 -1
- package/dist/esm/models/Session.d.ts +1 -1
- package/dist/esm/models/SmartIdInput.d.ts +31 -0
- package/dist/esm/models/SmartIdInput.js +38 -0
- package/dist/esm/models/SouthAfricaNidInput.d.ts +49 -0
- package/dist/esm/models/SouthAfricaNidInput.js +52 -0
- package/dist/esm/models/SpidInput.d.ts +33 -0
- package/dist/esm/models/SpidInput.js +38 -0
- package/dist/esm/models/SubProviderMetadata.d.ts +54 -0
- package/dist/esm/models/SubProviderMetadata.js +52 -0
- package/dist/esm/models/TrinsicTestDatabaseLookupInput.d.ts +66 -0
- package/dist/esm/models/TrinsicTestDatabaseLookupInput.js +44 -0
- package/dist/esm/models/TrinsicTestSubProvidersInput.d.ts +35 -0
- package/dist/esm/models/TrinsicTestSubProvidersInput.js +38 -0
- package/dist/esm/models/index.d.ts +16 -3
- package/dist/esm/models/index.js +16 -3
- package/dist/models/AadhaarInput.d.ts +2 -2
- package/dist/models/AadhaarInput.js +1 -1
- package/dist/models/Address.d.ts +8 -8
- package/dist/models/AttachmentAccessKeys.d.ts +4 -4
- package/dist/models/BangladeshNationalIdInput.d.ts +4 -4
- package/dist/models/BangladeshNationalIdInput.js +1 -1
- package/dist/models/BrazilDigitalCnhInput.d.ts +3 -3
- package/dist/models/CreateAdvancedProviderSessionRequest.d.ts +3 -3
- package/dist/models/CreateHostedProviderSessionRequest.d.ts +1 -1
- package/dist/models/CreateHostedProviderSessionResponse.d.ts +13 -1
- package/dist/models/CreateHostedProviderSessionResponse.js +7 -1
- package/dist/models/CreateWidgetSessionRequest.d.ts +8 -7
- package/dist/models/CreateWidgetSessionRequest.js +3 -3
- package/dist/models/CreateWidgetSessionResponse.d.ts +13 -1
- package/dist/models/CreateWidgetSessionResponse.js +7 -1
- package/dist/models/DocumentData.d.ts +6 -6
- package/dist/models/DocumentData.js +2 -2
- package/dist/models/DocumentScanAttachments.d.ts +1 -1
- package/dist/models/GetSessionResultResponse.d.ts +1 -1
- package/dist/models/HttpValidationProblemDetails.d.ts +5 -5
- package/dist/models/IdentityData.d.ts +10 -4
- package/dist/models/IdentityData.js +2 -0
- package/dist/models/IdinInput.d.ts +33 -0
- package/dist/models/IdinInput.js +44 -0
- package/dist/models/IndonesiaNikInput.d.ts +43 -0
- package/dist/models/IndonesiaNikInput.js +54 -0
- package/dist/models/IntegrationLaunchMethod.d.ts +1 -1
- package/dist/models/IntegrationLaunchMethod.js +1 -1
- package/dist/models/IntegrationStep.d.ts +1 -1
- package/dist/models/KenyaNidInput.d.ts +61 -0
- package/dist/models/KenyaNidInput.js +64 -0
- package/dist/models/Language.d.ts +26 -0
- package/dist/models/Language.js +49 -0
- package/dist/models/ListProviderContractsResponse.d.ts +32 -0
- package/dist/models/ListProviderContractsResponse.js +47 -0
- package/dist/models/MexicoCurpInput.d.ts +31 -0
- package/dist/models/MexicoCurpInput.js +46 -0
- package/dist/models/MobileIdInput.d.ts +44 -0
- package/dist/models/MobileIdInput.js +49 -0
- package/dist/models/NigeriaNinInput.d.ts +67 -0
- package/dist/models/NigeriaNinInput.js +64 -0
- package/dist/models/PersonData.d.ts +10 -10
- package/dist/models/PersonData.js +1 -1
- package/dist/models/PhilippineMatchInput.d.ts +5 -5
- package/dist/models/PhilippineMatchInput.js +1 -1
- package/dist/models/PhilippineQRInput.d.ts +2 -2
- package/dist/models/ProblemDetails.d.ts +5 -5
- package/dist/models/ProviderAttachments.d.ts +1 -1
- package/dist/models/ProviderContract.d.ts +146 -0
- package/dist/models/ProviderContract.js +103 -0
- package/dist/models/ProviderInfo.d.ts +0 -6
- package/dist/models/ProviderInfo.js +0 -2
- package/dist/models/ProviderInformation.d.ts +4 -4
- package/dist/models/ProviderInformation.js +1 -5
- package/dist/models/ProviderInput.d.ts +95 -14
- package/dist/models/ProviderInput.js +35 -2
- package/dist/models/RecommendRequest.d.ts +4 -21
- package/dist/models/RecommendRequest.js +3 -8
- package/dist/models/RecommendationInfo.d.ts +55 -0
- package/dist/models/RecommendationInfo.js +50 -0
- package/dist/models/RefreshStepContentRequest.d.ts +1 -1
- package/dist/models/ResultCollection.d.ts +8 -2
- package/dist/models/ResultCollection.js +3 -1
- package/dist/models/Session.d.ts +1 -1
- package/dist/models/SmartIdInput.d.ts +31 -0
- package/dist/models/SmartIdInput.js +44 -0
- package/dist/models/SouthAfricaNidInput.d.ts +49 -0
- package/dist/models/SouthAfricaNidInput.js +58 -0
- package/dist/models/SpidInput.d.ts +33 -0
- package/dist/models/SpidInput.js +44 -0
- package/dist/models/SubProviderMetadata.d.ts +54 -0
- package/dist/models/SubProviderMetadata.js +58 -0
- package/dist/models/TrinsicTestDatabaseLookupInput.d.ts +66 -0
- package/dist/models/TrinsicTestDatabaseLookupInput.js +50 -0
- package/dist/models/TrinsicTestSubProvidersInput.d.ts +35 -0
- package/dist/models/TrinsicTestSubProvidersInput.js +44 -0
- package/dist/models/index.d.ts +16 -3
- package/dist/models/index.js +16 -3
- package/package.json +1 -1
- package/src/apis/AttachmentsApi.ts +4 -4
- package/src/apis/NetworkApi.ts +62 -8
- package/src/apis/SessionsApi.ts +8 -8
- package/src/models/AadhaarInput.ts +3 -3
- package/src/models/Address.ts +8 -8
- package/src/models/AttachmentAccessKeys.ts +4 -4
- package/src/models/BangladeshNationalIdInput.ts +5 -5
- package/src/models/BrazilDigitalCnhInput.ts +11 -11
- package/src/models/CreateAdvancedProviderSessionRequest.ts +29 -29
- package/src/models/CreateHostedProviderSessionRequest.ts +1 -1
- package/src/models/CreateHostedProviderSessionResponse.ts +24 -8
- package/src/models/CreateWidgetSessionRequest.ts +18 -17
- package/src/models/CreateWidgetSessionResponse.ts +22 -6
- package/src/models/DocumentData.ts +8 -8
- package/src/models/DocumentScanAttachments.ts +1 -1
- package/src/models/GetSessionResultResponse.ts +1 -1
- package/src/models/HttpValidationProblemDetails.ts +5 -5
- package/src/models/IdentityData.ts +12 -4
- package/src/models/IdinInput.ts +62 -0
- package/src/models/IndonesiaNikInput.ts +79 -0
- package/src/models/IntegrationLaunchMethod.ts +1 -1
- package/src/models/IntegrationStep.ts +1 -1
- package/src/models/KenyaNidInput.ts +105 -0
- package/src/models/Language.ts +51 -0
- package/src/models/ListProviderContractsResponse.ts +68 -0
- package/src/models/MexicoCurpInput.ts +61 -0
- package/src/models/MobileIdInput.ts +85 -0
- package/src/models/NigeriaNinInput.ts +112 -0
- package/src/models/PersonData.ts +11 -11
- package/src/models/PhilippineMatchInput.ts +6 -6
- package/src/models/PhilippineQRInput.ts +2 -2
- package/src/models/ProblemDetails.ts +5 -5
- package/src/models/ProviderAttachments.ts +1 -1
- package/src/models/ProviderContract.ts +235 -0
- package/src/models/ProviderInfo.ts +0 -8
- package/src/models/ProviderInformation.ts +4 -7
- package/src/models/ProviderInput.ts +182 -24
- package/src/models/RecommendRequest.ts +12 -29
- package/src/models/RecommendationInfo.ts +90 -0
- package/src/models/RefreshStepContentRequest.ts +1 -1
- package/src/models/ResultCollection.ts +10 -3
- package/src/models/Session.ts +8 -8
- package/src/models/SmartIdInput.ts +60 -0
- package/src/models/SouthAfricaNidInput.ts +88 -0
- package/src/models/SpidInput.ts +62 -0
- package/src/models/StepRefreshInfo.ts +2 -2
- package/src/models/SubProviderMetadata.ts +93 -0
- package/src/models/TrinsicTestDatabaseLookupInput.ts +101 -0
- package/src/models/TrinsicTestSubProvidersInput.ts +64 -0
- package/src/models/index.ts +16 -3
- package/dist/esm/models/KnownAddress.d.ts +0 -74
- package/dist/esm/models/KnownAddress.js +0 -52
- package/dist/esm/models/KnownIdentityData.d.ts +0 -34
- package/dist/esm/models/KnownIdentityData.js +0 -39
- package/dist/esm/models/KnownPersonData.d.ts +0 -74
- package/dist/esm/models/KnownPersonData.js +0 -53
- package/dist/models/KnownAddress.d.ts +0 -74
- package/dist/models/KnownAddress.js +0 -58
- package/dist/models/KnownIdentityData.d.ts +0 -34
- package/dist/models/KnownIdentityData.js +0 -45
- package/dist/models/KnownPersonData.d.ts +0 -74
- package/dist/models/KnownPersonData.js +0 -59
- package/src/models/KnownAddress.ts +0 -117
- package/src/models/KnownIdentityData.ts +0 -69
- package/src/models/KnownPersonData.ts +0 -123
|
@@ -9,12 +9,23 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { PhilippineQRInput } from './PhilippineQRInput';
|
|
13
12
|
import type { BangladeshNationalIdInput } from './BangladeshNationalIdInput';
|
|
14
|
-
import type { AadhaarInput } from './AadhaarInput';
|
|
15
13
|
import type { BrazilCpfCheckInput } from './BrazilCpfCheckInput';
|
|
14
|
+
import type { MexicoCurpInput } from './MexicoCurpInput';
|
|
16
15
|
import type { BrazilDigitalCnhInput } from './BrazilDigitalCnhInput';
|
|
16
|
+
import type { TrinsicTestSubProvidersInput } from './TrinsicTestSubProvidersInput';
|
|
17
|
+
import type { SpidInput } from './SpidInput';
|
|
18
|
+
import type { SouthAfricaNidInput } from './SouthAfricaNidInput';
|
|
17
19
|
import type { PhilippineMatchInput } from './PhilippineMatchInput';
|
|
20
|
+
import type { PhilippineQRInput } from './PhilippineQRInput';
|
|
21
|
+
import type { AadhaarInput } from './AadhaarInput';
|
|
22
|
+
import type { KenyaNidInput } from './KenyaNidInput';
|
|
23
|
+
import type { NigeriaNinInput } from './NigeriaNinInput';
|
|
24
|
+
import type { SmartIdInput } from './SmartIdInput';
|
|
25
|
+
import type { MobileIdInput } from './MobileIdInput';
|
|
26
|
+
import type { TrinsicTestDatabaseLookupInput } from './TrinsicTestDatabaseLookupInput';
|
|
27
|
+
import type { IndonesiaNikInput } from './IndonesiaNikInput';
|
|
28
|
+
import type { IdinInput } from './IdinInput';
|
|
18
29
|
/**
|
|
19
30
|
*
|
|
20
31
|
* @export
|
|
@@ -22,41 +33,111 @@ import type { PhilippineMatchInput } from './PhilippineMatchInput';
|
|
|
22
33
|
*/
|
|
23
34
|
export interface ProviderInput {
|
|
24
35
|
/**
|
|
25
|
-
* Input for the `f-
|
|
36
|
+
* Input for the `f-indonesia-nik` provider
|
|
37
|
+
* @type {IndonesiaNikInput}
|
|
38
|
+
* @memberof ProviderInput
|
|
39
|
+
*/
|
|
40
|
+
indonesiaNik?: IndonesiaNikInput | null;
|
|
41
|
+
/**
|
|
42
|
+
* Input for the `f-mexico-curp` provider
|
|
43
|
+
* @type {MexicoCurpInput}
|
|
44
|
+
* @memberof ProviderInput
|
|
45
|
+
*/
|
|
46
|
+
mexicoCurp?: MexicoCurpInput | null;
|
|
47
|
+
/**
|
|
48
|
+
* Input for the `f-south-africa-nid` provider
|
|
49
|
+
* @type {SouthAfricaNidInput}
|
|
50
|
+
* @memberof ProviderInput
|
|
51
|
+
*/
|
|
52
|
+
southAfricaNid?: SouthAfricaNidInput | null;
|
|
53
|
+
/**
|
|
54
|
+
* Input for the `f-kenya-nid` provider
|
|
55
|
+
* @type {KenyaNidInput}
|
|
56
|
+
* @memberof ProviderInput
|
|
57
|
+
*/
|
|
58
|
+
kenyaNid?: KenyaNidInput | null;
|
|
59
|
+
/**
|
|
60
|
+
* Input for the `f-nigeria-nin` provider
|
|
61
|
+
* @type {NigeriaNinInput}
|
|
62
|
+
* @memberof ProviderInput
|
|
63
|
+
*/
|
|
64
|
+
nigeriaNin?: NigeriaNinInput | null;
|
|
65
|
+
/**
|
|
66
|
+
* Input for the `f-india-aadhaar-match` provider
|
|
26
67
|
* @type {AadhaarInput}
|
|
27
68
|
* @memberof ProviderInput
|
|
28
69
|
*/
|
|
29
|
-
aadhaar?: AadhaarInput;
|
|
70
|
+
aadhaar?: AadhaarInput | null;
|
|
30
71
|
/**
|
|
31
|
-
* Input for the `bangladesh-nid`
|
|
72
|
+
* Input for the `bangladesh-nid` provider
|
|
32
73
|
* @type {BangladeshNationalIdInput}
|
|
33
74
|
* @memberof ProviderInput
|
|
34
75
|
*/
|
|
35
|
-
bangladeshNationalId?: BangladeshNationalIdInput;
|
|
76
|
+
bangladeshNationalId?: BangladeshNationalIdInput | null;
|
|
36
77
|
/**
|
|
37
|
-
* Input for the `g-brazil-cpf`
|
|
78
|
+
* Input for the `g-brazil-cpf` provider
|
|
38
79
|
* @type {BrazilCpfCheckInput}
|
|
39
80
|
* @memberof ProviderInput
|
|
40
81
|
*/
|
|
41
|
-
brazilCpfCheck?: BrazilCpfCheckInput;
|
|
82
|
+
brazilCpfCheck?: BrazilCpfCheckInput | null;
|
|
42
83
|
/**
|
|
43
|
-
* Input for the `g-brazil-digital-cnh`
|
|
84
|
+
* Input for the `g-brazil-digital-cnh` provider
|
|
44
85
|
* @type {BrazilDigitalCnhInput}
|
|
45
86
|
* @memberof ProviderInput
|
|
46
87
|
*/
|
|
47
|
-
brazilDigitalCnh?: BrazilDigitalCnhInput;
|
|
88
|
+
brazilDigitalCnh?: BrazilDigitalCnhInput | null;
|
|
48
89
|
/**
|
|
49
|
-
* Input for the `b-philsys-biometric`
|
|
90
|
+
* Input for the `b-philsys-biometric` provider
|
|
50
91
|
* @type {PhilippineMatchInput}
|
|
51
92
|
* @memberof ProviderInput
|
|
52
93
|
*/
|
|
53
|
-
philippineMatch?: PhilippineMatchInput;
|
|
94
|
+
philippineMatch?: PhilippineMatchInput | null;
|
|
54
95
|
/**
|
|
55
|
-
* Input for the `b-philippine-qr-digital-national-id` and `b-philippine-qr-ephill-id`
|
|
96
|
+
* Input for the `b-philippine-qr-digital-national-id` and `b-philippine-qr-ephill-id` providers
|
|
56
97
|
* @type {PhilippineQRInput}
|
|
57
98
|
* @memberof ProviderInput
|
|
58
99
|
*/
|
|
59
|
-
philippineQR?: PhilippineQRInput;
|
|
100
|
+
philippineQR?: PhilippineQRInput | null;
|
|
101
|
+
/**
|
|
102
|
+
* Input for the `smart-id` provider
|
|
103
|
+
* @type {SmartIdInput}
|
|
104
|
+
* @memberof ProviderInput
|
|
105
|
+
*/
|
|
106
|
+
smartId?: SmartIdInput | null;
|
|
107
|
+
/**
|
|
108
|
+
* Input for the `mobile-id` provider
|
|
109
|
+
* @type {MobileIdInput}
|
|
110
|
+
* @memberof ProviderInput
|
|
111
|
+
*/
|
|
112
|
+
mobileId?: MobileIdInput | null;
|
|
113
|
+
/**
|
|
114
|
+
* Input for the `idin` provider
|
|
115
|
+
* @type {IdinInput}
|
|
116
|
+
* @memberof ProviderInput
|
|
117
|
+
*/
|
|
118
|
+
idin?: IdinInput | null;
|
|
119
|
+
/**
|
|
120
|
+
* Input for the `spid` provider
|
|
121
|
+
* @type {SpidInput}
|
|
122
|
+
* @memberof ProviderInput
|
|
123
|
+
*/
|
|
124
|
+
spid?: SpidInput | null;
|
|
125
|
+
/**
|
|
126
|
+
* *TEST MODE ONLY.*
|
|
127
|
+
*
|
|
128
|
+
* Input for the `trinsic-test-database-lookup` provider
|
|
129
|
+
* @type {TrinsicTestDatabaseLookupInput}
|
|
130
|
+
* @memberof ProviderInput
|
|
131
|
+
*/
|
|
132
|
+
trinsicTestDatabaseLookup?: TrinsicTestDatabaseLookupInput | null;
|
|
133
|
+
/**
|
|
134
|
+
* *TEST MODE ONLY.*
|
|
135
|
+
*
|
|
136
|
+
* Input for the `trinsic-test-sub-providers` provider
|
|
137
|
+
* @type {TrinsicTestSubProvidersInput}
|
|
138
|
+
* @memberof ProviderInput
|
|
139
|
+
*/
|
|
140
|
+
trinsicTestSubProviders?: TrinsicTestSubProvidersInput | null;
|
|
60
141
|
}
|
|
61
142
|
/**
|
|
62
143
|
* Check if a given object implements the ProviderInput interface.
|
|
@@ -11,12 +11,23 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { PhilippineQRInputFromJSON, PhilippineQRInputToJSON, } from './PhilippineQRInput';
|
|
15
14
|
import { BangladeshNationalIdInputFromJSON, BangladeshNationalIdInputToJSON, } from './BangladeshNationalIdInput';
|
|
16
|
-
import { AadhaarInputFromJSON, AadhaarInputToJSON, } from './AadhaarInput';
|
|
17
15
|
import { BrazilCpfCheckInputFromJSON, BrazilCpfCheckInputToJSON, } from './BrazilCpfCheckInput';
|
|
16
|
+
import { MexicoCurpInputFromJSON, MexicoCurpInputToJSON, } from './MexicoCurpInput';
|
|
18
17
|
import { BrazilDigitalCnhInputFromJSON, BrazilDigitalCnhInputToJSON, } from './BrazilDigitalCnhInput';
|
|
18
|
+
import { TrinsicTestSubProvidersInputFromJSON, TrinsicTestSubProvidersInputToJSON, } from './TrinsicTestSubProvidersInput';
|
|
19
|
+
import { SpidInputFromJSON, SpidInputToJSON, } from './SpidInput';
|
|
20
|
+
import { SouthAfricaNidInputFromJSON, SouthAfricaNidInputToJSON, } from './SouthAfricaNidInput';
|
|
19
21
|
import { PhilippineMatchInputFromJSON, PhilippineMatchInputToJSON, } from './PhilippineMatchInput';
|
|
22
|
+
import { PhilippineQRInputFromJSON, PhilippineQRInputToJSON, } from './PhilippineQRInput';
|
|
23
|
+
import { AadhaarInputFromJSON, AadhaarInputToJSON, } from './AadhaarInput';
|
|
24
|
+
import { KenyaNidInputFromJSON, KenyaNidInputToJSON, } from './KenyaNidInput';
|
|
25
|
+
import { NigeriaNinInputFromJSON, NigeriaNinInputToJSON, } from './NigeriaNinInput';
|
|
26
|
+
import { SmartIdInputFromJSON, SmartIdInputToJSON, } from './SmartIdInput';
|
|
27
|
+
import { MobileIdInputFromJSON, MobileIdInputToJSON, } from './MobileIdInput';
|
|
28
|
+
import { TrinsicTestDatabaseLookupInputFromJSON, TrinsicTestDatabaseLookupInputToJSON, } from './TrinsicTestDatabaseLookupInput';
|
|
29
|
+
import { IndonesiaNikInputFromJSON, IndonesiaNikInputToJSON, } from './IndonesiaNikInput';
|
|
30
|
+
import { IdinInputFromJSON, IdinInputToJSON, } from './IdinInput';
|
|
20
31
|
/**
|
|
21
32
|
* Check if a given object implements the ProviderInput interface.
|
|
22
33
|
*/
|
|
@@ -31,12 +42,23 @@ export function ProviderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
42
|
return json;
|
|
32
43
|
}
|
|
33
44
|
return {
|
|
45
|
+
'indonesiaNik': json['indonesiaNik'] == null ? undefined : IndonesiaNikInputFromJSON(json['indonesiaNik']),
|
|
46
|
+
'mexicoCurp': json['mexicoCurp'] == null ? undefined : MexicoCurpInputFromJSON(json['mexicoCurp']),
|
|
47
|
+
'southAfricaNid': json['southAfricaNid'] == null ? undefined : SouthAfricaNidInputFromJSON(json['southAfricaNid']),
|
|
48
|
+
'kenyaNid': json['kenyaNid'] == null ? undefined : KenyaNidInputFromJSON(json['kenyaNid']),
|
|
49
|
+
'nigeriaNin': json['nigeriaNin'] == null ? undefined : NigeriaNinInputFromJSON(json['nigeriaNin']),
|
|
34
50
|
'aadhaar': json['aadhaar'] == null ? undefined : AadhaarInputFromJSON(json['aadhaar']),
|
|
35
51
|
'bangladeshNationalId': json['bangladeshNationalId'] == null ? undefined : BangladeshNationalIdInputFromJSON(json['bangladeshNationalId']),
|
|
36
52
|
'brazilCpfCheck': json['brazilCpfCheck'] == null ? undefined : BrazilCpfCheckInputFromJSON(json['brazilCpfCheck']),
|
|
37
53
|
'brazilDigitalCnh': json['brazilDigitalCnh'] == null ? undefined : BrazilDigitalCnhInputFromJSON(json['brazilDigitalCnh']),
|
|
38
54
|
'philippineMatch': json['philippineMatch'] == null ? undefined : PhilippineMatchInputFromJSON(json['philippineMatch']),
|
|
39
55
|
'philippineQR': json['philippineQR'] == null ? undefined : PhilippineQRInputFromJSON(json['philippineQR']),
|
|
56
|
+
'smartId': json['smartId'] == null ? undefined : SmartIdInputFromJSON(json['smartId']),
|
|
57
|
+
'mobileId': json['mobileId'] == null ? undefined : MobileIdInputFromJSON(json['mobileId']),
|
|
58
|
+
'idin': json['idin'] == null ? undefined : IdinInputFromJSON(json['idin']),
|
|
59
|
+
'spid': json['spid'] == null ? undefined : SpidInputFromJSON(json['spid']),
|
|
60
|
+
'trinsicTestDatabaseLookup': json['trinsicTestDatabaseLookup'] == null ? undefined : TrinsicTestDatabaseLookupInputFromJSON(json['trinsicTestDatabaseLookup']),
|
|
61
|
+
'trinsicTestSubProviders': json['trinsicTestSubProviders'] == null ? undefined : TrinsicTestSubProvidersInputFromJSON(json['trinsicTestSubProviders']),
|
|
40
62
|
};
|
|
41
63
|
}
|
|
42
64
|
export function ProviderInputToJSON(value) {
|
|
@@ -44,11 +66,22 @@ export function ProviderInputToJSON(value) {
|
|
|
44
66
|
return value;
|
|
45
67
|
}
|
|
46
68
|
return {
|
|
69
|
+
'indonesiaNik': IndonesiaNikInputToJSON(value['indonesiaNik']),
|
|
70
|
+
'mexicoCurp': MexicoCurpInputToJSON(value['mexicoCurp']),
|
|
71
|
+
'southAfricaNid': SouthAfricaNidInputToJSON(value['southAfricaNid']),
|
|
72
|
+
'kenyaNid': KenyaNidInputToJSON(value['kenyaNid']),
|
|
73
|
+
'nigeriaNin': NigeriaNinInputToJSON(value['nigeriaNin']),
|
|
47
74
|
'aadhaar': AadhaarInputToJSON(value['aadhaar']),
|
|
48
75
|
'bangladeshNationalId': BangladeshNationalIdInputToJSON(value['bangladeshNationalId']),
|
|
49
76
|
'brazilCpfCheck': BrazilCpfCheckInputToJSON(value['brazilCpfCheck']),
|
|
50
77
|
'brazilDigitalCnh': BrazilDigitalCnhInputToJSON(value['brazilDigitalCnh']),
|
|
51
78
|
'philippineMatch': PhilippineMatchInputToJSON(value['philippineMatch']),
|
|
52
79
|
'philippineQR': PhilippineQRInputToJSON(value['philippineQR']),
|
|
80
|
+
'smartId': SmartIdInputToJSON(value['smartId']),
|
|
81
|
+
'mobileId': MobileIdInputToJSON(value['mobileId']),
|
|
82
|
+
'idin': IdinInputToJSON(value['idin']),
|
|
83
|
+
'spid': SpidInputToJSON(value['spid']),
|
|
84
|
+
'trinsicTestDatabaseLookup': TrinsicTestDatabaseLookupInputToJSON(value['trinsicTestDatabaseLookup']),
|
|
85
|
+
'trinsicTestSubProviders': TrinsicTestSubProvidersInputToJSON(value['trinsicTestSubProviders']),
|
|
53
86
|
};
|
|
54
87
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { RecommendationInfo } from './RecommendationInfo';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -16,29 +17,11 @@
|
|
|
16
17
|
*/
|
|
17
18
|
export interface RecommendRequest {
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {
|
|
20
|
+
* Information about the user you wish to generate a recommendation for.
|
|
21
|
+
* @type {RecommendationInfo}
|
|
21
22
|
* @memberof RecommendRequest
|
|
22
23
|
*/
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* A list of countries, in alpha-2 ISO 3166 format, you wish to specify for the recommendation, this can include the user's country of residence, nationality, etc.
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof RecommendRequest
|
|
28
|
-
*/
|
|
29
|
-
countries?: Array<string>;
|
|
30
|
-
/**
|
|
31
|
-
* If one of the countries has subdivisions, for example the US states, you can specify a list of these to further refine the recommendation (e.g., CA, UT, NY)
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof RecommendRequest
|
|
34
|
-
*/
|
|
35
|
-
subdivisions?: Array<string>;
|
|
36
|
-
/**
|
|
37
|
-
* If true, the recommendation will include providers that are disabled for the app
|
|
38
|
-
* @type {boolean}
|
|
39
|
-
* @memberof RecommendRequest
|
|
40
|
-
*/
|
|
41
|
-
includeDisabledProviders?: boolean;
|
|
24
|
+
recommendationInfo?: RecommendationInfo | null;
|
|
42
25
|
}
|
|
43
26
|
/**
|
|
44
27
|
* Check if a given object implements the RecommendRequest interface.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { RecommendationInfoFromJSON, RecommendationInfoToJSON, } from './RecommendationInfo';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the RecommendRequest interface.
|
|
16
17
|
*/
|
|
@@ -25,10 +26,7 @@ export function RecommendRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
26
|
return json;
|
|
26
27
|
}
|
|
27
28
|
return {
|
|
28
|
-
'
|
|
29
|
-
'countries': json['countries'] == null ? undefined : json['countries'],
|
|
30
|
-
'subdivisions': json['subdivisions'] == null ? undefined : json['subdivisions'],
|
|
31
|
-
'includeDisabledProviders': json['includeDisabledProviders'] == null ? undefined : json['includeDisabledProviders'],
|
|
29
|
+
'recommendationInfo': json['recommendationInfo'] == null ? undefined : RecommendationInfoFromJSON(json['recommendationInfo']),
|
|
32
30
|
};
|
|
33
31
|
}
|
|
34
32
|
export function RecommendRequestToJSON(value) {
|
|
@@ -36,9 +34,6 @@ export function RecommendRequestToJSON(value) {
|
|
|
36
34
|
return value;
|
|
37
35
|
}
|
|
38
36
|
return {
|
|
39
|
-
'
|
|
40
|
-
'countries': value['countries'],
|
|
41
|
-
'subdivisions': value['subdivisions'],
|
|
42
|
-
'includeDisabledProviders': value['includeDisabledProviders'],
|
|
37
|
+
'recommendationInfo': RecommendationInfoToJSON(value['recommendationInfo']),
|
|
43
38
|
};
|
|
44
39
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
* Information relating to a user; used to generated Identity Provider recommendations.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RecommendationInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface RecommendationInfo {
|
|
18
|
+
/**
|
|
19
|
+
* The phone number of the user you wish to generate a recommendation for.
|
|
20
|
+
*
|
|
21
|
+
* Will be used to look up the user's identity in the network, as well as to determine the user's geographic location.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof RecommendationInfo
|
|
24
|
+
*/
|
|
25
|
+
phoneNumber?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* A list of countries, in alpha-2 ISO 3166 format, which the user is related to.
|
|
28
|
+
*
|
|
29
|
+
* This can include the user's country of residence, nationality, etc.
|
|
30
|
+
* @type {Array<string>}
|
|
31
|
+
* @memberof RecommendationInfo
|
|
32
|
+
*/
|
|
33
|
+
countries?: Array<string> | null;
|
|
34
|
+
/**
|
|
35
|
+
* If one of the countries has subdivisions (for example: US states), specify those related to the user here (e.g., CA, UT, NY)
|
|
36
|
+
* @type {Array<string>}
|
|
37
|
+
* @memberof RecommendationInfo
|
|
38
|
+
*/
|
|
39
|
+
subdivisions?: Array<string> | null;
|
|
40
|
+
/**
|
|
41
|
+
* Any IP addresses related to the user.
|
|
42
|
+
*
|
|
43
|
+
* Will be used to determine the user's geographic location.
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof RecommendationInfo
|
|
46
|
+
*/
|
|
47
|
+
ipAddresses?: Array<string> | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the RecommendationInfo interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfRecommendationInfo(value: object): value is RecommendationInfo;
|
|
53
|
+
export declare function RecommendationInfoFromJSON(json: any): RecommendationInfo;
|
|
54
|
+
export declare function RecommendationInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecommendationInfo;
|
|
55
|
+
export declare function RecommendationInfoToJSON(value?: RecommendationInfo | null): 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
|
+
/**
|
|
15
|
+
* Check if a given object implements the RecommendationInfo interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRecommendationInfo(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function RecommendationInfoFromJSON(json) {
|
|
21
|
+
return RecommendationInfoFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function RecommendationInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
29
|
+
'countries': json['countries'] == null ? undefined : json['countries'],
|
|
30
|
+
'subdivisions': json['subdivisions'] == null ? undefined : json['subdivisions'],
|
|
31
|
+
'ipAddresses': json['ipAddresses'] == null ? undefined : json['ipAddresses'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function RecommendationInfoToJSON(value) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'phoneNumber': value['phoneNumber'],
|
|
40
|
+
'countries': value['countries'],
|
|
41
|
+
'subdivisions': value['subdivisions'],
|
|
42
|
+
'ipAddresses': value['ipAddresses'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface RefreshStepContentRequest {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RefreshStepContentRequest
|
|
22
22
|
*/
|
|
23
|
-
resultsAccessKey?: string;
|
|
23
|
+
resultsAccessKey?: string | null;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the RefreshStepContentRequest interface.
|
|
@@ -23,11 +23,17 @@ export interface ResultCollection {
|
|
|
23
23
|
*/
|
|
24
24
|
method: ResultCollectionMethod;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* The `resultsAccessKey` for the Acceptance Session.
|
|
27
|
+
*
|
|
28
|
+
* This is an encrypted payload which contains the decryption key necessary to access the Session's Data Vault.
|
|
29
|
+
*
|
|
30
|
+
* Save this securely in your systems; it must be passed back with any API call which requires access to the Session's Data Vault.
|
|
31
|
+
*
|
|
32
|
+
* Trinsic cannot access a Session's Data Vault without this key.
|
|
27
33
|
* @type {string}
|
|
28
34
|
* @memberof ResultCollection
|
|
29
35
|
*/
|
|
30
|
-
resultsAccessKey
|
|
36
|
+
resultsAccessKey: string;
|
|
31
37
|
}
|
|
32
38
|
/**
|
|
33
39
|
* Check if a given object implements the ResultCollection interface.
|
|
@@ -18,6 +18,8 @@ import { ResultCollectionMethodFromJSON, ResultCollectionMethodToJSON, } from '.
|
|
|
18
18
|
export function instanceOfResultCollection(value) {
|
|
19
19
|
if (!('method' in value) || value['method'] === undefined)
|
|
20
20
|
return false;
|
|
21
|
+
if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
|
|
22
|
+
return false;
|
|
21
23
|
return true;
|
|
22
24
|
}
|
|
23
25
|
export function ResultCollectionFromJSON(json) {
|
|
@@ -29,7 +31,7 @@ export function ResultCollectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
31
|
}
|
|
30
32
|
return {
|
|
31
33
|
'method': ResultCollectionMethodFromJSON(json['method']),
|
|
32
|
-
'resultsAccessKey': json['resultsAccessKey']
|
|
34
|
+
'resultsAccessKey': json['resultsAccessKey'],
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
export function ResultCollectionToJSON(value) {
|
|
@@ -0,0 +1,31 @@
|
|
|
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 SmartIdInput
|
|
16
|
+
*/
|
|
17
|
+
export interface SmartIdInput {
|
|
18
|
+
/**
|
|
19
|
+
* The user's Smart ID Document Number
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SmartIdInput
|
|
22
|
+
*/
|
|
23
|
+
smartIdDocumentNumber?: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SmartIdInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSmartIdInput(value: object): value is SmartIdInput;
|
|
29
|
+
export declare function SmartIdInputFromJSON(json: any): SmartIdInput;
|
|
30
|
+
export declare function SmartIdInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmartIdInput;
|
|
31
|
+
export declare function SmartIdInputToJSON(value?: SmartIdInput | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
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 SmartIdInput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSmartIdInput(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SmartIdInputFromJSON(json) {
|
|
21
|
+
return SmartIdInputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SmartIdInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'smartIdDocumentNumber': json['smartIdDocumentNumber'] == null ? undefined : json['smartIdDocumentNumber'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function SmartIdInputToJSON(value) {
|
|
32
|
+
if (value == null) {
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'smartIdDocumentNumber': value['smartIdDocumentNumber'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 SouthAfricaNidInput
|
|
16
|
+
*/
|
|
17
|
+
export interface SouthAfricaNidInput {
|
|
18
|
+
/**
|
|
19
|
+
* The user's full name as it appears in their National ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SouthAfricaNidInput
|
|
22
|
+
*/
|
|
23
|
+
fullName: string;
|
|
24
|
+
/**
|
|
25
|
+
* The user's date of birth, in `YYYY-MM-DD` format
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof SouthAfricaNidInput
|
|
28
|
+
*/
|
|
29
|
+
dateOfBirth: Date;
|
|
30
|
+
/**
|
|
31
|
+
* The user's gender as it appears in their National ID (e.g., male, female)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SouthAfricaNidInput
|
|
34
|
+
*/
|
|
35
|
+
gender: string;
|
|
36
|
+
/**
|
|
37
|
+
* The user's South African National ID number
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SouthAfricaNidInput
|
|
40
|
+
*/
|
|
41
|
+
nationalIdNumber: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the SouthAfricaNidInput interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfSouthAfricaNidInput(value: object): value is SouthAfricaNidInput;
|
|
47
|
+
export declare function SouthAfricaNidInputFromJSON(json: any): SouthAfricaNidInput;
|
|
48
|
+
export declare function SouthAfricaNidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SouthAfricaNidInput;
|
|
49
|
+
export declare function SouthAfricaNidInputToJSON(value?: SouthAfricaNidInput | null): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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 SouthAfricaNidInput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSouthAfricaNidInput(value) {
|
|
18
|
+
if (!('fullName' in value) || value['fullName'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('dateOfBirth' in value) || value['dateOfBirth'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('gender' in value) || value['gender'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('nationalIdNumber' in value) || value['nationalIdNumber'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function SouthAfricaNidInputFromJSON(json) {
|
|
29
|
+
return SouthAfricaNidInputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function SouthAfricaNidInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'fullName': json['fullName'],
|
|
37
|
+
'dateOfBirth': (new Date(json['dateOfBirth'])),
|
|
38
|
+
'gender': json['gender'],
|
|
39
|
+
'nationalIdNumber': json['nationalIdNumber'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function SouthAfricaNidInputToJSON(value) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'fullName': value['fullName'],
|
|
48
|
+
'dateOfBirth': ((value['dateOfBirth']).toISOString().substring(0, 10)),
|
|
49
|
+
'gender': value['gender'],
|
|
50
|
+
'nationalIdNumber': value['nationalIdNumber'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 SpidInput
|
|
16
|
+
*/
|
|
17
|
+
export interface SpidInput {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the specific IDP to invoke within SPID.
|
|
20
|
+
*
|
|
21
|
+
* If not specified, the user will be prompted to select an IDP.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SpidInput
|
|
24
|
+
*/
|
|
25
|
+
subProviderId?: string | null;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the SpidInput interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfSpidInput(value: object): value is SpidInput;
|
|
31
|
+
export declare function SpidInputFromJSON(json: any): SpidInput;
|
|
32
|
+
export declare function SpidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpidInput;
|
|
33
|
+
export declare function SpidInputToJSON(value?: SpidInput | null): any;
|