@trinsic/api 2.0.0-alpha3 → 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 +11 -3
- package/dist/apis/AttachmentsApi.d.ts +4 -4
- package/dist/apis/AttachmentsApi.js +2 -2
- package/dist/apis/NetworkApi.d.ts +28 -5
- package/dist/apis/NetworkApi.js +36 -2
- 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 +28 -5
- package/dist/esm/apis/NetworkApi.js +37 -3
- package/dist/esm/apis/SessionsApi.d.ts +8 -8
- package/dist/esm/apis/SessionsApi.js +4 -4
- package/dist/esm/models/CreateHostedProviderSessionResponse.d.ts +13 -1
- package/dist/esm/models/CreateHostedProviderSessionResponse.js +7 -1
- package/dist/esm/models/CreateWidgetSessionRequest.d.ts +6 -5
- 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/IdentityData.d.ts +6 -0
- 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/IntegrationLaunchMethod.d.ts +1 -1
- package/dist/esm/models/IntegrationLaunchMethod.js +1 -1
- 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/MobileIdInput.d.ts +44 -0
- package/dist/esm/models/MobileIdInput.js +43 -0
- 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 +62 -16
- package/dist/esm/models/ProviderInput.js +23 -5
- package/dist/esm/models/RecommendRequest.d.ts +4 -27
- package/dist/esm/models/RecommendRequest.js +3 -10
- package/dist/esm/models/RecommendationInfo.d.ts +55 -0
- package/dist/esm/models/RecommendationInfo.js +44 -0
- package/dist/esm/models/ResultCollection.d.ts +8 -2
- package/dist/esm/models/ResultCollection.js +3 -1
- package/dist/esm/models/SmartIdInput.d.ts +31 -0
- package/dist/esm/models/SmartIdInput.js +38 -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 +11 -3
- package/dist/esm/models/index.js +11 -3
- package/dist/models/CreateHostedProviderSessionResponse.d.ts +13 -1
- package/dist/models/CreateHostedProviderSessionResponse.js +7 -1
- package/dist/models/CreateWidgetSessionRequest.d.ts +6 -5
- 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/IdentityData.d.ts +6 -0
- 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/IntegrationLaunchMethod.d.ts +1 -1
- package/dist/models/IntegrationLaunchMethod.js +1 -1
- 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/MobileIdInput.d.ts +44 -0
- package/dist/models/MobileIdInput.js +49 -0
- 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 +62 -16
- package/dist/models/ProviderInput.js +23 -5
- package/dist/models/RecommendRequest.d.ts +4 -27
- package/dist/models/RecommendRequest.js +3 -10
- package/dist/models/RecommendationInfo.d.ts +55 -0
- package/dist/models/RecommendationInfo.js +50 -0
- package/dist/models/ResultCollection.d.ts +8 -2
- package/dist/models/ResultCollection.js +3 -1
- package/dist/models/SmartIdInput.d.ts +31 -0
- package/dist/models/SmartIdInput.js +44 -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 +11 -3
- package/dist/models/index.js +11 -3
- package/package.json +1 -1
- package/src/apis/AttachmentsApi.ts +4 -4
- package/src/apis/NetworkApi.ts +58 -4
- package/src/apis/SessionsApi.ts +8 -8
- package/src/models/BrazilDigitalCnhInput.ts +8 -8
- package/src/models/CreateAdvancedProviderSessionRequest.ts +26 -26
- package/src/models/CreateHostedProviderSessionResponse.ts +24 -8
- package/src/models/CreateWidgetSessionRequest.ts +16 -15
- package/src/models/CreateWidgetSessionResponse.ts +22 -6
- package/src/models/IdentityData.ts +8 -0
- package/src/models/IdinInput.ts +62 -0
- package/src/models/IntegrationLaunchMethod.ts +1 -1
- package/src/models/Language.ts +51 -0
- package/src/models/ListProviderContractsResponse.ts +68 -0
- package/src/models/MobileIdInput.ts +85 -0
- 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 +128 -40
- package/src/models/RecommendRequest.ts +12 -37
- package/src/models/RecommendationInfo.ts +90 -0
- package/src/models/ResultCollection.ts +10 -3
- package/src/models/Session.ts +7 -7
- package/src/models/SmartIdInput.ts +60 -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 +11 -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
|
@@ -64,7 +64,7 @@ export class SessionsApi extends runtime.BaseAPI {
|
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI.
|
|
67
|
+
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
|
|
68
68
|
* Create Advanced Provider Session
|
|
69
69
|
*/
|
|
70
70
|
createAdvancedProviderSessionRaw(requestParameters, initOverrides) {
|
|
@@ -90,7 +90,7 @@ export class SessionsApi extends runtime.BaseAPI {
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
|
-
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI.
|
|
93
|
+
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
|
|
94
94
|
* Create Advanced Provider Session
|
|
95
95
|
*/
|
|
96
96
|
createAdvancedProviderSession(createAdvancedProviderSessionRequest, initOverrides) {
|
|
@@ -292,7 +292,7 @@ export class SessionsApi extends runtime.BaseAPI {
|
|
|
292
292
|
});
|
|
293
293
|
}
|
|
294
294
|
/**
|
|
295
|
-
* Redact a Session, removing all identity data from Trinsic\'s servers.
|
|
295
|
+
* Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
|
|
296
296
|
* Redact Session
|
|
297
297
|
*/
|
|
298
298
|
redactSessionRaw(requestParameters, initOverrides) {
|
|
@@ -319,7 +319,7 @@ export class SessionsApi extends runtime.BaseAPI {
|
|
|
319
319
|
});
|
|
320
320
|
}
|
|
321
321
|
/**
|
|
322
|
-
* Redact a Session, removing all identity data from Trinsic\'s servers.
|
|
322
|
+
* Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
|
|
323
323
|
* Redact Session
|
|
324
324
|
*/
|
|
325
325
|
redactSession(sessionId, initOverrides) {
|
|
@@ -32,7 +32,19 @@ export interface CreateHostedProviderSessionResponse {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateHostedProviderSessionResponse
|
|
34
34
|
*/
|
|
35
|
-
launchUrl
|
|
35
|
+
launchUrl: string;
|
|
36
|
+
/**
|
|
37
|
+
* The `resultsAccessKey` for the Acceptance Session.
|
|
38
|
+
*
|
|
39
|
+
* This is an encrypted payload which contains the decryption key necessary to access the Session's Data Vault.
|
|
40
|
+
*
|
|
41
|
+
* Save this securely in your systems; it must be passed back with any API call which requires access to the Session's Data Vault.
|
|
42
|
+
*
|
|
43
|
+
* Trinsic cannot access a Session's Data Vault without this key.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateHostedProviderSessionResponse
|
|
46
|
+
*/
|
|
47
|
+
resultsAccessKey: string;
|
|
36
48
|
}
|
|
37
49
|
/**
|
|
38
50
|
* Check if a given object implements the CreateHostedProviderSessionResponse interface.
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
export function instanceOfCreateHostedProviderSessionResponse(value) {
|
|
18
18
|
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
19
19
|
return false;
|
|
20
|
+
if (!('launchUrl' in value) || value['launchUrl'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
|
|
23
|
+
return false;
|
|
20
24
|
return true;
|
|
21
25
|
}
|
|
22
26
|
export function CreateHostedProviderSessionResponseFromJSON(json) {
|
|
@@ -28,7 +32,8 @@ export function CreateHostedProviderSessionResponseFromJSONTyped(json, ignoreDis
|
|
|
28
32
|
}
|
|
29
33
|
return {
|
|
30
34
|
'sessionId': json['sessionId'],
|
|
31
|
-
'launchUrl': json['launchUrl']
|
|
35
|
+
'launchUrl': json['launchUrl'],
|
|
36
|
+
'resultsAccessKey': json['resultsAccessKey'],
|
|
32
37
|
};
|
|
33
38
|
}
|
|
34
39
|
export function CreateHostedProviderSessionResponseToJSON(value) {
|
|
@@ -38,5 +43,6 @@ export function CreateHostedProviderSessionResponseToJSON(value) {
|
|
|
38
43
|
return {
|
|
39
44
|
'sessionId': value['sessionId'],
|
|
40
45
|
'launchUrl': value['launchUrl'],
|
|
46
|
+
'resultsAccessKey': value['resultsAccessKey'],
|
|
41
47
|
};
|
|
42
48
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { RecommendationInfo } from './RecommendationInfo';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -32,13 +32,14 @@ export interface CreateWidgetSessionRequest {
|
|
|
32
32
|
*/
|
|
33
33
|
providers?: Array<string> | null;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Data that you already know about the user being verified.
|
|
36
36
|
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
37
|
+
*
|
|
38
|
+
* This data is used to improve the user experience during provider selection, by surfacing the most relevant providers first.
|
|
39
|
+
* @type {RecommendationInfo}
|
|
39
40
|
* @memberof CreateWidgetSessionRequest
|
|
40
41
|
*/
|
|
41
|
-
|
|
42
|
+
recommendationInfo?: RecommendationInfo | null;
|
|
42
43
|
}
|
|
43
44
|
/**
|
|
44
45
|
* Check if a given object implements the CreateWidgetSessionRequest interface.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { RecommendationInfoFromJSON, RecommendationInfoToJSON, } from './RecommendationInfo';
|
|
15
15
|
/**
|
|
16
16
|
* Check if a given object implements the CreateWidgetSessionRequest interface.
|
|
17
17
|
*/
|
|
@@ -28,7 +28,7 @@ export function CreateWidgetSessionRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
28
28
|
return {
|
|
29
29
|
'redirectUrl': json['redirectUrl'] == null ? undefined : json['redirectUrl'],
|
|
30
30
|
'providers': json['providers'] == null ? undefined : json['providers'],
|
|
31
|
-
'
|
|
31
|
+
'recommendationInfo': json['recommendationInfo'] == null ? undefined : RecommendationInfoFromJSON(json['recommendationInfo']),
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
export function CreateWidgetSessionRequestToJSON(value) {
|
|
@@ -38,6 +38,6 @@ export function CreateWidgetSessionRequestToJSON(value) {
|
|
|
38
38
|
return {
|
|
39
39
|
'redirectUrl': value['redirectUrl'],
|
|
40
40
|
'providers': value['providers'],
|
|
41
|
-
'
|
|
41
|
+
'recommendationInfo': RecommendationInfoToJSON(value['recommendationInfo']),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
@@ -30,7 +30,19 @@ export interface CreateWidgetSessionResponse {
|
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof CreateWidgetSessionResponse
|
|
32
32
|
*/
|
|
33
|
-
launchUrl
|
|
33
|
+
launchUrl: string;
|
|
34
|
+
/**
|
|
35
|
+
* The `resultsAccessKey` for the Acceptance Session.
|
|
36
|
+
*
|
|
37
|
+
* This is an encrypted payload which contains the decryption key necessary to access the Session's Data Vault.
|
|
38
|
+
*
|
|
39
|
+
* Save this securely in your systems; it must be passed back with any API call which requires access to the Session's Data Vault.
|
|
40
|
+
*
|
|
41
|
+
* Trinsic cannot access a Session's Data Vault without this key.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CreateWidgetSessionResponse
|
|
44
|
+
*/
|
|
45
|
+
resultsAccessKey: string;
|
|
34
46
|
}
|
|
35
47
|
/**
|
|
36
48
|
* Check if a given object implements the CreateWidgetSessionResponse interface.
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
export function instanceOfCreateWidgetSessionResponse(value) {
|
|
18
18
|
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
19
19
|
return false;
|
|
20
|
+
if (!('launchUrl' in value) || value['launchUrl'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
|
|
23
|
+
return false;
|
|
20
24
|
return true;
|
|
21
25
|
}
|
|
22
26
|
export function CreateWidgetSessionResponseFromJSON(json) {
|
|
@@ -28,7 +32,8 @@ export function CreateWidgetSessionResponseFromJSONTyped(json, ignoreDiscriminat
|
|
|
28
32
|
}
|
|
29
33
|
return {
|
|
30
34
|
'sessionId': json['sessionId'],
|
|
31
|
-
'launchUrl': json['launchUrl']
|
|
35
|
+
'launchUrl': json['launchUrl'],
|
|
36
|
+
'resultsAccessKey': json['resultsAccessKey'],
|
|
32
37
|
};
|
|
33
38
|
}
|
|
34
39
|
export function CreateWidgetSessionResponseToJSON(value) {
|
|
@@ -38,5 +43,6 @@ export function CreateWidgetSessionResponseToJSON(value) {
|
|
|
38
43
|
return {
|
|
39
44
|
'sessionId': value['sessionId'],
|
|
40
45
|
'launchUrl': value['launchUrl'],
|
|
46
|
+
'resultsAccessKey': value['resultsAccessKey'],
|
|
41
47
|
};
|
|
42
48
|
}
|
|
@@ -24,6 +24,12 @@ export interface IdentityData {
|
|
|
24
24
|
* @memberof IdentityData
|
|
25
25
|
*/
|
|
26
26
|
originatingProviderId?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof IdentityData
|
|
31
|
+
*/
|
|
32
|
+
originatingSubProviderId?: string | null;
|
|
27
33
|
/**
|
|
28
34
|
*
|
|
29
35
|
* @type {PersonData}
|
|
@@ -29,6 +29,7 @@ export function IdentityDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
}
|
|
30
30
|
return {
|
|
31
31
|
'originatingProviderId': json['originatingProviderId'] == null ? undefined : json['originatingProviderId'],
|
|
32
|
+
'originatingSubProviderId': json['originatingSubProviderId'] == null ? undefined : json['originatingSubProviderId'],
|
|
32
33
|
'person': json['person'] == null ? undefined : PersonDataFromJSON(json['person']),
|
|
33
34
|
'document': json['document'] == null ? undefined : DocumentDataFromJSON(json['document']),
|
|
34
35
|
'attachmentAccessKeys': json['attachmentAccessKeys'] == null ? undefined : AttachmentAccessKeysFromJSON(json['attachmentAccessKeys']),
|
|
@@ -40,6 +41,7 @@ export function IdentityDataToJSON(value) {
|
|
|
40
41
|
}
|
|
41
42
|
return {
|
|
42
43
|
'originatingProviderId': value['originatingProviderId'],
|
|
44
|
+
'originatingSubProviderId': value['originatingSubProviderId'],
|
|
43
45
|
'person': PersonDataToJSON(value['person']),
|
|
44
46
|
'document': DocumentDataToJSON(value['document']),
|
|
45
47
|
'attachmentAccessKeys': AttachmentAccessKeysToJSON(value['attachmentAccessKeys']),
|
|
@@ -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 IdinInput
|
|
16
|
+
*/
|
|
17
|
+
export interface IdinInput {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the specific bank to invoke with IDIN.
|
|
20
|
+
*
|
|
21
|
+
* If not specified, the user will be prompted to select a bank.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof IdinInput
|
|
24
|
+
*/
|
|
25
|
+
subProviderId?: string | null;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the IdinInput interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfIdinInput(value: object): value is IdinInput;
|
|
31
|
+
export declare function IdinInputFromJSON(json: any): IdinInput;
|
|
32
|
+
export declare function IdinInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdinInput;
|
|
33
|
+
export declare function IdinInputToJSON(value?: IdinInput | 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 IdinInput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfIdinInput(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function IdinInputFromJSON(json) {
|
|
21
|
+
return IdinInputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function IdinInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'subProviderId': json['subProviderId'] == null ? undefined : json['subProviderId'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function IdinInputToJSON(value) {
|
|
32
|
+
if (value == null) {
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'subProviderId': value['subProviderId'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
export declare const IntegrationLaunchMethod: {
|
|
17
17
|
readonly LaunchBrowser: "LaunchBrowser";
|
|
18
|
-
readonly
|
|
18
|
+
readonly None: "None";
|
|
19
19
|
readonly DeeplinkToMobile: "DeeplinkToMobile";
|
|
20
20
|
readonly ShowContent: "ShowContent";
|
|
21
21
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const Language: {
|
|
17
|
+
readonly Lit: "LIT";
|
|
18
|
+
readonly Est: "EST";
|
|
19
|
+
readonly Eng: "ENG";
|
|
20
|
+
readonly Rus: "RUS";
|
|
21
|
+
};
|
|
22
|
+
export type Language = typeof Language[keyof typeof Language];
|
|
23
|
+
export declare function instanceOfLanguage(value: any): boolean;
|
|
24
|
+
export declare function LanguageFromJSON(json: any): Language;
|
|
25
|
+
export declare function LanguageFromJSONTyped(json: any, ignoreDiscriminator: boolean): Language;
|
|
26
|
+
export declare function LanguageToJSON(value?: Language | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const Language = {
|
|
19
|
+
Lit: 'LIT',
|
|
20
|
+
Est: 'EST',
|
|
21
|
+
Eng: 'ENG',
|
|
22
|
+
Rus: 'RUS'
|
|
23
|
+
};
|
|
24
|
+
export function instanceOfLanguage(value) {
|
|
25
|
+
for (const key in Language) {
|
|
26
|
+
if (Object.prototype.hasOwnProperty.call(Language, key)) {
|
|
27
|
+
if (Language[key] === value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
export function LanguageFromJSON(json) {
|
|
35
|
+
return LanguageFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function LanguageFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
export function LanguageToJSON(value) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 { ProviderContract } from './ProviderContract';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListProviderContractsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListProviderContractsResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Contracts for all Providers available to your App, filtered by your App's current test mode setting.
|
|
21
|
+
* @type {Array<ProviderContract>}
|
|
22
|
+
* @memberof ListProviderContractsResponse
|
|
23
|
+
*/
|
|
24
|
+
providerContracts: Array<ProviderContract>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ListProviderContractsResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfListProviderContractsResponse(value: object): value is ListProviderContractsResponse;
|
|
30
|
+
export declare function ListProviderContractsResponseFromJSON(json: any): ListProviderContractsResponse;
|
|
31
|
+
export declare function ListProviderContractsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListProviderContractsResponse;
|
|
32
|
+
export declare function ListProviderContractsResponseToJSON(value?: ListProviderContractsResponse | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ProviderContractFromJSON, ProviderContractToJSON, } from './ProviderContract';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ListProviderContractsResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfListProviderContractsResponse(value) {
|
|
19
|
+
if (!('providerContracts' in value) || value['providerContracts'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function ListProviderContractsResponseFromJSON(json) {
|
|
24
|
+
return ListProviderContractsResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function ListProviderContractsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'providerContracts': (json['providerContracts'].map(ProviderContractFromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function ListProviderContractsResponseToJSON(value) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'providerContracts': (value['providerContracts'].map(ProviderContractToJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { Language } from './Language';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MobileIdInput
|
|
17
|
+
*/
|
|
18
|
+
export interface MobileIdInput {
|
|
19
|
+
/**
|
|
20
|
+
* The user's phone number in E.164 format
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof MobileIdInput
|
|
23
|
+
*/
|
|
24
|
+
mobileIdPhoneNumber?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* The user's National ID number
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof MobileIdInput
|
|
29
|
+
*/
|
|
30
|
+
mobileIdNationalIdentityNumber?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* The user's language -- LIT, EST, ENG, or RUS
|
|
33
|
+
* @type {Language}
|
|
34
|
+
* @memberof MobileIdInput
|
|
35
|
+
*/
|
|
36
|
+
mobileIdLanguage?: Language | null;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the MobileIdInput interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfMobileIdInput(value: object): value is MobileIdInput;
|
|
42
|
+
export declare function MobileIdInputFromJSON(json: any): MobileIdInput;
|
|
43
|
+
export declare function MobileIdInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileIdInput;
|
|
44
|
+
export declare function MobileIdInputToJSON(value?: MobileIdInput | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { LanguageFromJSON, LanguageToJSON, } from './Language';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the MobileIdInput interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfMobileIdInput(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function MobileIdInputFromJSON(json) {
|
|
22
|
+
return MobileIdInputFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function MobileIdInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'mobileIdPhoneNumber': json['mobileIdPhoneNumber'] == null ? undefined : json['mobileIdPhoneNumber'],
|
|
30
|
+
'mobileIdNationalIdentityNumber': json['mobileIdNationalIdentityNumber'] == null ? undefined : json['mobileIdNationalIdentityNumber'],
|
|
31
|
+
'mobileIdLanguage': json['mobileIdLanguage'] == null ? undefined : LanguageFromJSON(json['mobileIdLanguage']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function MobileIdInputToJSON(value) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'mobileIdPhoneNumber': value['mobileIdPhoneNumber'],
|
|
40
|
+
'mobileIdNationalIdentityNumber': value['mobileIdNationalIdentityNumber'],
|
|
41
|
+
'mobileIdLanguage': LanguageToJSON(value['mobileIdLanguage']),
|
|
42
|
+
};
|
|
43
|
+
}
|