@trinsic/api 2.2.0-alpha1 → 2.3.0-alpha1
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 -0
- package/dist/apis/EnvironmentRedirectUrisApi.d.ts +109 -0
- package/dist/apis/EnvironmentRedirectUrisApi.js +145 -0
- package/dist/apis/NetworkApi.d.ts +9 -2
- package/dist/apis/NetworkApi.js +4 -0
- package/dist/apis/SessionsApi.d.ts +8 -8
- package/dist/apis/SessionsApi.js +10 -10
- package/dist/apis/VerificationProfilesApi.d.ts +117 -0
- package/dist/apis/VerificationProfilesApi.js +183 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/EnvironmentRedirectUrisApi.d.ts +109 -0
- package/dist/esm/apis/EnvironmentRedirectUrisApi.js +141 -0
- package/dist/esm/apis/NetworkApi.d.ts +9 -2
- package/dist/esm/apis/NetworkApi.js +4 -0
- package/dist/esm/apis/SessionsApi.d.ts +8 -8
- package/dist/esm/apis/SessionsApi.js +10 -10
- package/dist/esm/apis/VerificationProfilesApi.d.ts +117 -0
- package/dist/esm/apis/VerificationProfilesApi.js +179 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/AddRedirectUriResponse.d.ts +32 -0
- package/dist/esm/models/AddRedirectUriResponse.js +43 -0
- package/dist/esm/models/ContractField.d.ts +7 -0
- package/dist/esm/models/ContractField.js +4 -0
- package/dist/esm/models/ContractIdentifierField.d.ts +45 -0
- package/dist/esm/models/ContractIdentifierField.js +52 -0
- package/dist/esm/models/CreateVerificationProfileResponse.d.ts +32 -0
- package/dist/esm/models/CreateVerificationProfileResponse.js +43 -0
- package/dist/esm/models/EnvironmentRedirectUrisAddRequest.d.ts +32 -0
- package/dist/esm/models/EnvironmentRedirectUrisAddRequest.js +43 -0
- package/dist/esm/models/FaydaProviderOutput.d.ts +35 -0
- package/dist/esm/models/FaydaProviderOutput.js +41 -0
- package/dist/esm/models/Identifier.d.ts +44 -0
- package/dist/esm/models/Identifier.js +51 -0
- package/dist/esm/models/IdentityData.d.ts +14 -0
- package/dist/esm/models/IdentityData.js +8 -0
- package/dist/esm/models/ListEnvironmentRedirectUrisResponse.d.ts +39 -0
- package/dist/esm/models/ListEnvironmentRedirectUrisResponse.js +48 -0
- package/dist/esm/models/ListVerificationProfilesResponse.d.ts +39 -0
- package/dist/esm/models/ListVerificationProfilesResponse.js +48 -0
- package/dist/esm/models/MexicoCurpProviderOutput.d.ts +44 -0
- package/dist/esm/models/MexicoCurpProviderOutput.js +41 -0
- package/dist/esm/models/ProviderContract.d.ts +7 -0
- package/dist/esm/models/ProviderContract.js +3 -0
- package/dist/esm/models/ProviderOutput.d.ts +47 -0
- package/dist/esm/models/ProviderOutput.js +48 -0
- package/dist/esm/models/RedirectUriResponse.d.ts +38 -0
- package/dist/esm/models/RedirectUriResponse.js +47 -0
- package/dist/esm/models/SpidBillingInformation.d.ts +48 -0
- package/dist/esm/models/SpidBillingInformation.js +51 -0
- package/dist/esm/models/SpidInput.d.ts +11 -0
- package/dist/esm/models/SpidInput.js +2 -0
- package/dist/esm/models/SpidProviderOutput.d.ts +62 -0
- package/dist/esm/models/SpidProviderOutput.js +50 -0
- package/dist/esm/models/VerificationProfileResponse.d.ts +62 -0
- package/dist/esm/models/VerificationProfileResponse.js +63 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/models/AddRedirectUriResponse.d.ts +32 -0
- package/dist/models/AddRedirectUriResponse.js +50 -0
- package/dist/models/ContractField.d.ts +7 -0
- package/dist/models/ContractField.js +4 -0
- package/dist/models/ContractIdentifierField.d.ts +45 -0
- package/dist/models/ContractIdentifierField.js +59 -0
- package/dist/models/CreateVerificationProfileResponse.d.ts +32 -0
- package/dist/models/CreateVerificationProfileResponse.js +50 -0
- package/dist/models/EnvironmentRedirectUrisAddRequest.d.ts +32 -0
- package/dist/models/EnvironmentRedirectUrisAddRequest.js +50 -0
- package/dist/models/FaydaProviderOutput.d.ts +35 -0
- package/dist/models/FaydaProviderOutput.js +48 -0
- package/dist/models/Identifier.d.ts +44 -0
- package/dist/models/Identifier.js +58 -0
- package/dist/models/IdentityData.d.ts +14 -0
- package/dist/models/IdentityData.js +8 -0
- package/dist/models/ListEnvironmentRedirectUrisResponse.d.ts +39 -0
- package/dist/models/ListEnvironmentRedirectUrisResponse.js +55 -0
- package/dist/models/ListVerificationProfilesResponse.d.ts +39 -0
- package/dist/models/ListVerificationProfilesResponse.js +55 -0
- package/dist/models/MexicoCurpProviderOutput.d.ts +44 -0
- package/dist/models/MexicoCurpProviderOutput.js +48 -0
- package/dist/models/ProviderContract.d.ts +7 -0
- package/dist/models/ProviderContract.js +3 -0
- package/dist/models/ProviderOutput.d.ts +47 -0
- package/dist/models/ProviderOutput.js +55 -0
- package/dist/models/RedirectUriResponse.d.ts +38 -0
- package/dist/models/RedirectUriResponse.js +54 -0
- package/dist/models/SpidBillingInformation.d.ts +48 -0
- package/dist/models/SpidBillingInformation.js +58 -0
- package/dist/models/SpidInput.d.ts +11 -0
- package/dist/models/SpidInput.js +2 -0
- package/dist/models/SpidProviderOutput.d.ts +62 -0
- package/dist/models/SpidProviderOutput.js +57 -0
- package/dist/models/VerificationProfileResponse.d.ts +62 -0
- package/dist/models/VerificationProfileResponse.js +70 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/package.json +1 -1
- package/src/apis/EnvironmentRedirectUrisApi.ts +235 -0
- package/src/apis/NetworkApi.ts +9 -2
- package/src/apis/SessionsApi.ts +18 -18
- package/src/apis/VerificationProfilesApi.ts +294 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AddRedirectUriResponse.ts +66 -0
- package/src/models/ContractField.ts +10 -0
- package/src/models/ContractIdentifierField.ts +94 -0
- package/src/models/CreateVerificationProfileResponse.ts +66 -0
- package/src/models/EnvironmentRedirectUrisAddRequest.ts +66 -0
- package/src/models/FaydaProviderOutput.ts +68 -0
- package/src/models/Identifier.ts +84 -0
- package/src/models/IdentityData.ts +31 -0
- package/src/models/ListEnvironmentRedirectUrisResponse.ts +83 -0
- package/src/models/ListVerificationProfilesResponse.ts +83 -0
- package/src/models/MexicoCurpProviderOutput.ts +77 -0
- package/src/models/ProviderContract.ts +15 -0
- package/src/models/ProviderOutput.ts +103 -0
- package/src/models/RedirectUriResponse.ts +75 -0
- package/src/models/SpidBillingInformation.ts +88 -0
- package/src/models/SpidInput.ts +13 -0
- package/src/models/SpidProviderOutput.ts +110 -0
- package/src/models/VerificationProfileResponse.ts +111 -0
- package/src/models/index.ts +14 -0
|
@@ -0,0 +1,48 @@
|
|
|
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 { FaydaProviderOutputFromJSON, FaydaProviderOutputToJSON, } from './FaydaProviderOutput';
|
|
15
|
+
import { MexicoCurpProviderOutputFromJSON, MexicoCurpProviderOutputToJSON, } from './MexicoCurpProviderOutput';
|
|
16
|
+
import { SpidProviderOutputFromJSON, SpidProviderOutputToJSON, } from './SpidProviderOutput';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ProviderOutput interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfProviderOutput(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function ProviderOutputFromJSON(json) {
|
|
24
|
+
return ProviderOutputFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function ProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'italySpid': json['italy-spid'] == null ? undefined : SpidProviderOutputFromJSON(json['italy-spid']),
|
|
32
|
+
'mexicoCurpLookup': json['mexico-curp-lookup'] == null ? undefined : MexicoCurpProviderOutputFromJSON(json['mexico-curp-lookup']),
|
|
33
|
+
'ethiopiaFayda': json['ethiopia-fayda'] == null ? undefined : FaydaProviderOutputFromJSON(json['ethiopia-fayda']),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ProviderOutputToJSON(json) {
|
|
37
|
+
return ProviderOutputToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'italy-spid': SpidProviderOutputToJSON(value['italySpid']),
|
|
45
|
+
'mexico-curp-lookup': MexicoCurpProviderOutputToJSON(value['mexicoCurpLookup']),
|
|
46
|
+
'ethiopia-fayda': FaydaProviderOutputToJSON(value['ethiopiaFayda']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -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 RedirectUriResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface RedirectUriResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RedirectUriResponse
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RedirectUriResponse
|
|
28
|
+
*/
|
|
29
|
+
uri: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the RedirectUriResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfRedirectUriResponse(value: object): value is RedirectUriResponse;
|
|
35
|
+
export declare function RedirectUriResponseFromJSON(json: any): RedirectUriResponse;
|
|
36
|
+
export declare function RedirectUriResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectUriResponse;
|
|
37
|
+
export declare function RedirectUriResponseToJSON(json: any): RedirectUriResponse;
|
|
38
|
+
export declare function RedirectUriResponseToJSONTyped(value?: RedirectUriResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the RedirectUriResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRedirectUriResponse(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('uri' in value) || value['uri'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function RedirectUriResponseFromJSON(json) {
|
|
25
|
+
return RedirectUriResponseFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function RedirectUriResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'id': json['id'],
|
|
33
|
+
'uri': json['uri'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function RedirectUriResponseToJSON(json) {
|
|
37
|
+
return RedirectUriResponseToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function RedirectUriResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': value['id'],
|
|
45
|
+
'uri': value['uri'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
* Billing information for a SPID Verification.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SpidBillingInformation
|
|
16
|
+
*/
|
|
17
|
+
export interface SpidBillingInformation {
|
|
18
|
+
/**
|
|
19
|
+
* Whether this SPID verification has resulted in a billable event.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof SpidBillingInformation
|
|
22
|
+
*/
|
|
23
|
+
isBillable: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The billable verification type for this SPID verification.
|
|
26
|
+
*
|
|
27
|
+
* Possible values: "Authentication" | "Registration"
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof SpidBillingInformation
|
|
30
|
+
*/
|
|
31
|
+
verificationType: string;
|
|
32
|
+
/**
|
|
33
|
+
* The billable verification level for this SPID verification.
|
|
34
|
+
*
|
|
35
|
+
* Possible values: 1 | 2 | 3
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof SpidBillingInformation
|
|
38
|
+
*/
|
|
39
|
+
verificationLevel: number;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the SpidBillingInformation interface.
|
|
43
|
+
*/
|
|
44
|
+
export declare function instanceOfSpidBillingInformation(value: object): value is SpidBillingInformation;
|
|
45
|
+
export declare function SpidBillingInformationFromJSON(json: any): SpidBillingInformation;
|
|
46
|
+
export declare function SpidBillingInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpidBillingInformation;
|
|
47
|
+
export declare function SpidBillingInformationToJSON(json: any): SpidBillingInformation;
|
|
48
|
+
export declare function SpidBillingInformationToJSONTyped(value?: SpidBillingInformation | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 SpidBillingInformation interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSpidBillingInformation(value) {
|
|
18
|
+
if (!('isBillable' in value) || value['isBillable'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('verificationType' in value) || value['verificationType'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('verificationLevel' in value) || value['verificationLevel'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function SpidBillingInformationFromJSON(json) {
|
|
27
|
+
return SpidBillingInformationFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function SpidBillingInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'isBillable': json['isBillable'],
|
|
35
|
+
'verificationType': json['verificationType'],
|
|
36
|
+
'verificationLevel': json['verificationLevel'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function SpidBillingInformationToJSON(json) {
|
|
40
|
+
return SpidBillingInformationToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function SpidBillingInformationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'isBillable': value['isBillable'],
|
|
48
|
+
'verificationType': value['verificationType'],
|
|
49
|
+
'verificationLevel': value['verificationLevel'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -23,6 +23,17 @@ export interface SpidInput {
|
|
|
23
23
|
* @memberof SpidInput
|
|
24
24
|
*/
|
|
25
25
|
subProviderId?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Only applicable if period-based billing is enabled for your Verification Profile. Contact Trinsic to enable this.
|
|
28
|
+
*
|
|
29
|
+
* A secret UTF-8 string between 32 and 64 characters in length, used to enable privacy-preserving tracking of unique user verifications during a billing period.
|
|
30
|
+
*
|
|
31
|
+
* WARNING: This value must NOT change during the course of a billing period for a given Verification Profile, or double-billing may occur.
|
|
32
|
+
* If multiple Verification Profiles are configured to use the same Trinsic-managed SPID Service Provider, the same Billing Tracking Secret must be provided across all such Verification Profiles.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SpidInput
|
|
35
|
+
*/
|
|
36
|
+
billingTrackingSecret?: string | null;
|
|
26
37
|
}
|
|
27
38
|
/**
|
|
28
39
|
* Check if a given object implements the SpidInput interface.
|
|
@@ -26,6 +26,7 @@ export function SpidInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
28
|
'subProviderId': json['subProviderId'] == null ? undefined : json['subProviderId'],
|
|
29
|
+
'billingTrackingSecret': json['billingTrackingSecret'] == null ? undefined : json['billingTrackingSecret'],
|
|
29
30
|
};
|
|
30
31
|
}
|
|
31
32
|
export function SpidInputToJSON(json) {
|
|
@@ -37,5 +38,6 @@ export function SpidInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
37
38
|
}
|
|
38
39
|
return {
|
|
39
40
|
'subProviderId': value['subProviderId'],
|
|
41
|
+
'billingTrackingSecret': value['billingTrackingSecret'],
|
|
40
42
|
};
|
|
41
43
|
}
|
|
@@ -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
|
+
import type { SpidBillingInformation } from './SpidBillingInformation';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SpidProviderOutput
|
|
17
|
+
*/
|
|
18
|
+
export interface SpidProviderOutput {
|
|
19
|
+
/**
|
|
20
|
+
* Information about the billable status of this SPID Verification.
|
|
21
|
+
*
|
|
22
|
+
* Present only if your account has period-based billing enabled for SPID. Contact Trinsic to enable this.
|
|
23
|
+
* @type {SpidBillingInformation}
|
|
24
|
+
* @memberof SpidProviderOutput
|
|
25
|
+
*/
|
|
26
|
+
billingInformation?: SpidBillingInformation | null;
|
|
27
|
+
/**
|
|
28
|
+
* Fiscal tax number for the subject.
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof SpidProviderOutput
|
|
31
|
+
*/
|
|
32
|
+
fiscalNumber?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* Unique user identifier contained within the SPID identity.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof SpidProviderOutput
|
|
37
|
+
*/
|
|
38
|
+
spidCode?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* VAT number for the subject.
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof SpidProviderOutput
|
|
43
|
+
*/
|
|
44
|
+
ivaCode?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* Expiration date of the user's SPID credential.
|
|
47
|
+
*
|
|
48
|
+
* This is not the same as the expiration date of the underlying identity document (such as a passport) which was
|
|
49
|
+
* used to create the SPID identity.
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof SpidProviderOutput
|
|
52
|
+
*/
|
|
53
|
+
spidCredentialExpirationDate?: Date | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the SpidProviderOutput interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfSpidProviderOutput(value: object): value is SpidProviderOutput;
|
|
59
|
+
export declare function SpidProviderOutputFromJSON(json: any): SpidProviderOutput;
|
|
60
|
+
export declare function SpidProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpidProviderOutput;
|
|
61
|
+
export declare function SpidProviderOutputToJSON(json: any): SpidProviderOutput;
|
|
62
|
+
export declare function SpidProviderOutputToJSONTyped(value?: SpidProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { SpidBillingInformationFromJSON, SpidBillingInformationToJSON, } from './SpidBillingInformation';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SpidProviderOutput interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSpidProviderOutput(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function SpidProviderOutputFromJSON(json) {
|
|
22
|
+
return SpidProviderOutputFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function SpidProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'billingInformation': json['billingInformation'] == null ? undefined : SpidBillingInformationFromJSON(json['billingInformation']),
|
|
30
|
+
'fiscalNumber': json['fiscalNumber'] == null ? undefined : json['fiscalNumber'],
|
|
31
|
+
'spidCode': json['spidCode'] == null ? undefined : json['spidCode'],
|
|
32
|
+
'ivaCode': json['ivaCode'] == null ? undefined : json['ivaCode'],
|
|
33
|
+
'spidCredentialExpirationDate': json['spidCredentialExpirationDate'] == null ? undefined : (new Date(json['spidCredentialExpirationDate'])),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function SpidProviderOutputToJSON(json) {
|
|
37
|
+
return SpidProviderOutputToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function SpidProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'billingInformation': SpidBillingInformationToJSON(value['billingInformation']),
|
|
45
|
+
'fiscalNumber': value['fiscalNumber'],
|
|
46
|
+
'spidCode': value['spidCode'],
|
|
47
|
+
'ivaCode': value['ivaCode'],
|
|
48
|
+
'spidCredentialExpirationDate': value['spidCredentialExpirationDate'] == null ? undefined : (value['spidCredentialExpirationDate'].toISOString().substring(0, 10)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 VerificationProfileResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface VerificationProfileResponse {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the verification profile
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VerificationProfileResponse
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* An alias of the verification profile shown to developers and administrators.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VerificationProfileResponse
|
|
28
|
+
*/
|
|
29
|
+
alias: string;
|
|
30
|
+
/**
|
|
31
|
+
* The brand name of the verification profile shown to end-users.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof VerificationProfileResponse
|
|
34
|
+
*/
|
|
35
|
+
brandName: string;
|
|
36
|
+
/**
|
|
37
|
+
* The URL of the verification profile's logo.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof VerificationProfileResponse
|
|
40
|
+
*/
|
|
41
|
+
logoUrl: string;
|
|
42
|
+
/**
|
|
43
|
+
* The primary color of the verification profile.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof VerificationProfileResponse
|
|
46
|
+
*/
|
|
47
|
+
primaryColor: string;
|
|
48
|
+
/**
|
|
49
|
+
* The providers that are currently enabled for the verification profile.
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof VerificationProfileResponse
|
|
52
|
+
*/
|
|
53
|
+
enabledProviders: Array<string>;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the VerificationProfileResponse interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfVerificationProfileResponse(value: object): value is VerificationProfileResponse;
|
|
59
|
+
export declare function VerificationProfileResponseFromJSON(json: any): VerificationProfileResponse;
|
|
60
|
+
export declare function VerificationProfileResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerificationProfileResponse;
|
|
61
|
+
export declare function VerificationProfileResponseToJSON(json: any): VerificationProfileResponse;
|
|
62
|
+
export declare function VerificationProfileResponseToJSONTyped(value?: VerificationProfileResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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 VerificationProfileResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfVerificationProfileResponse(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('alias' in value) || value['alias'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('brandName' in value) || value['brandName'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('logoUrl' in value) || value['logoUrl'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('primaryColor' in value) || value['primaryColor'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('enabledProviders' in value) || value['enabledProviders'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function VerificationProfileResponseFromJSON(json) {
|
|
33
|
+
return VerificationProfileResponseFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function VerificationProfileResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': json['id'],
|
|
41
|
+
'alias': json['alias'],
|
|
42
|
+
'brandName': json['brandName'],
|
|
43
|
+
'logoUrl': json['logoUrl'],
|
|
44
|
+
'primaryColor': json['primaryColor'],
|
|
45
|
+
'enabledProviders': json['enabledProviders'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function VerificationProfileResponseToJSON(json) {
|
|
49
|
+
return VerificationProfileResponseToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function VerificationProfileResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': value['id'],
|
|
57
|
+
'alias': value['alias'],
|
|
58
|
+
'brandName': value['brandName'],
|
|
59
|
+
'logoUrl': value['logoUrl'],
|
|
60
|
+
'primaryColor': value['primaryColor'],
|
|
61
|
+
'enabledProviders': value['enabledProviders'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './AadhaarInput';
|
|
2
|
+
export * from './AddRedirectUriResponse';
|
|
2
3
|
export * from './Address';
|
|
3
4
|
export * from './AppleWalletInput';
|
|
4
5
|
export * from './AttachmentAccessKeys';
|
|
@@ -7,18 +8,22 @@ export * from './BrazilCpfCheckInput';
|
|
|
7
8
|
export * from './BrazilDigitalCnhInput';
|
|
8
9
|
export * from './CancelSessionResponse';
|
|
9
10
|
export * from './ContractField';
|
|
11
|
+
export * from './ContractIdentifierField';
|
|
10
12
|
export * from './CreateDirectProviderSessionRequest';
|
|
11
13
|
export * from './CreateDirectProviderSessionResponse';
|
|
12
14
|
export * from './CreateHostedProviderSessionRequest';
|
|
13
15
|
export * from './CreateHostedProviderSessionResponse';
|
|
14
16
|
export * from './CreateMdlExchangeRequest';
|
|
15
17
|
export * from './CreateMdlExchangeResponse';
|
|
18
|
+
export * from './CreateVerificationProfileResponse';
|
|
16
19
|
export * from './CreateWidgetSessionRequest';
|
|
17
20
|
export * from './CreateWidgetSessionResponse';
|
|
18
21
|
export * from './DocumentData';
|
|
19
22
|
export * from './DocumentScanAttachments';
|
|
20
23
|
export * from './DocumentType';
|
|
24
|
+
export * from './EnvironmentRedirectUrisAddRequest';
|
|
21
25
|
export * from './ExternalMdlFieldData';
|
|
26
|
+
export * from './FaydaProviderOutput';
|
|
22
27
|
export * from './FieldAvailability';
|
|
23
28
|
export * from './FinalizeMdlExchangeRequest';
|
|
24
29
|
export * from './FinalizeMdlExchangeResponse';
|
|
@@ -29,6 +34,7 @@ export * from './GetSessionResultRequest';
|
|
|
29
34
|
export * from './GetSessionResultResponse';
|
|
30
35
|
export * from './GoogleWalletInput';
|
|
31
36
|
export * from './HttpValidationProblemDetails';
|
|
37
|
+
export * from './Identifier';
|
|
32
38
|
export * from './IdentityData';
|
|
33
39
|
export * from './IdinInput';
|
|
34
40
|
export * from './IndonesiaDukcapilMatchInput';
|
|
@@ -38,9 +44,11 @@ export * from './IntegrationLaunchMethod';
|
|
|
38
44
|
export * from './IntegrationStep';
|
|
39
45
|
export * from './KenyaNidInput';
|
|
40
46
|
export * from './Language';
|
|
47
|
+
export * from './ListEnvironmentRedirectUrisResponse';
|
|
41
48
|
export * from './ListProviderContractsResponse';
|
|
42
49
|
export * from './ListProvidersResponse';
|
|
43
50
|
export * from './ListSessionsResponse';
|
|
51
|
+
export * from './ListVerificationProfilesResponse';
|
|
44
52
|
export * from './Match';
|
|
45
53
|
export * from './MatchData';
|
|
46
54
|
export * from './MdlCertificateData';
|
|
@@ -48,6 +56,7 @@ export * from './MdlExchangeMechanism';
|
|
|
48
56
|
export * from './MdlFieldDataType';
|
|
49
57
|
export * from './MdlIdentityData';
|
|
50
58
|
export * from './MexicoCurpInput';
|
|
59
|
+
export * from './MexicoCurpProviderOutput';
|
|
51
60
|
export * from './MobileIdInput';
|
|
52
61
|
export * from './NigeriaNinInput';
|
|
53
62
|
export * from './OrderDirection';
|
|
@@ -61,9 +70,11 @@ export * from './ProviderHealth';
|
|
|
61
70
|
export * from './ProviderInfo';
|
|
62
71
|
export * from './ProviderInformation';
|
|
63
72
|
export * from './ProviderInput';
|
|
73
|
+
export * from './ProviderOutput';
|
|
64
74
|
export * from './RecommendRequest';
|
|
65
75
|
export * from './RecommendResponse';
|
|
66
76
|
export * from './RecommendationInfo';
|
|
77
|
+
export * from './RedirectUriResponse';
|
|
67
78
|
export * from './RefreshStepContentRequest';
|
|
68
79
|
export * from './RefreshStepContentResponse';
|
|
69
80
|
export * from './ResultCollection';
|
|
@@ -74,10 +85,13 @@ export * from './SessionOrdering';
|
|
|
74
85
|
export * from './Sex';
|
|
75
86
|
export * from './SmartIdInput';
|
|
76
87
|
export * from './SouthAfricaNidInput';
|
|
88
|
+
export * from './SpidBillingInformation';
|
|
77
89
|
export * from './SpidInput';
|
|
90
|
+
export * from './SpidProviderOutput';
|
|
78
91
|
export * from './StepRefreshInfo';
|
|
79
92
|
export * from './SubProviderMetadata';
|
|
80
93
|
export * from './SubmitNativeChallengeResponseRequest';
|
|
81
94
|
export * from './SubmitNativeChallengeResponseResponse';
|
|
82
95
|
export * from './TrinsicTestDatabaseLookupInput';
|
|
83
96
|
export * from './TrinsicTestSubProvidersInput';
|
|
97
|
+
export * from './VerificationProfileResponse';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AadhaarInput';
|
|
4
|
+
export * from './AddRedirectUriResponse';
|
|
4
5
|
export * from './Address';
|
|
5
6
|
export * from './AppleWalletInput';
|
|
6
7
|
export * from './AttachmentAccessKeys';
|
|
@@ -9,18 +10,22 @@ export * from './BrazilCpfCheckInput';
|
|
|
9
10
|
export * from './BrazilDigitalCnhInput';
|
|
10
11
|
export * from './CancelSessionResponse';
|
|
11
12
|
export * from './ContractField';
|
|
13
|
+
export * from './ContractIdentifierField';
|
|
12
14
|
export * from './CreateDirectProviderSessionRequest';
|
|
13
15
|
export * from './CreateDirectProviderSessionResponse';
|
|
14
16
|
export * from './CreateHostedProviderSessionRequest';
|
|
15
17
|
export * from './CreateHostedProviderSessionResponse';
|
|
16
18
|
export * from './CreateMdlExchangeRequest';
|
|
17
19
|
export * from './CreateMdlExchangeResponse';
|
|
20
|
+
export * from './CreateVerificationProfileResponse';
|
|
18
21
|
export * from './CreateWidgetSessionRequest';
|
|
19
22
|
export * from './CreateWidgetSessionResponse';
|
|
20
23
|
export * from './DocumentData';
|
|
21
24
|
export * from './DocumentScanAttachments';
|
|
22
25
|
export * from './DocumentType';
|
|
26
|
+
export * from './EnvironmentRedirectUrisAddRequest';
|
|
23
27
|
export * from './ExternalMdlFieldData';
|
|
28
|
+
export * from './FaydaProviderOutput';
|
|
24
29
|
export * from './FieldAvailability';
|
|
25
30
|
export * from './FinalizeMdlExchangeRequest';
|
|
26
31
|
export * from './FinalizeMdlExchangeResponse';
|
|
@@ -31,6 +36,7 @@ export * from './GetSessionResultRequest';
|
|
|
31
36
|
export * from './GetSessionResultResponse';
|
|
32
37
|
export * from './GoogleWalletInput';
|
|
33
38
|
export * from './HttpValidationProblemDetails';
|
|
39
|
+
export * from './Identifier';
|
|
34
40
|
export * from './IdentityData';
|
|
35
41
|
export * from './IdinInput';
|
|
36
42
|
export * from './IndonesiaDukcapilMatchInput';
|
|
@@ -40,9 +46,11 @@ export * from './IntegrationLaunchMethod';
|
|
|
40
46
|
export * from './IntegrationStep';
|
|
41
47
|
export * from './KenyaNidInput';
|
|
42
48
|
export * from './Language';
|
|
49
|
+
export * from './ListEnvironmentRedirectUrisResponse';
|
|
43
50
|
export * from './ListProviderContractsResponse';
|
|
44
51
|
export * from './ListProvidersResponse';
|
|
45
52
|
export * from './ListSessionsResponse';
|
|
53
|
+
export * from './ListVerificationProfilesResponse';
|
|
46
54
|
export * from './Match';
|
|
47
55
|
export * from './MatchData';
|
|
48
56
|
export * from './MdlCertificateData';
|
|
@@ -50,6 +58,7 @@ export * from './MdlExchangeMechanism';
|
|
|
50
58
|
export * from './MdlFieldDataType';
|
|
51
59
|
export * from './MdlIdentityData';
|
|
52
60
|
export * from './MexicoCurpInput';
|
|
61
|
+
export * from './MexicoCurpProviderOutput';
|
|
53
62
|
export * from './MobileIdInput';
|
|
54
63
|
export * from './NigeriaNinInput';
|
|
55
64
|
export * from './OrderDirection';
|
|
@@ -63,9 +72,11 @@ export * from './ProviderHealth';
|
|
|
63
72
|
export * from './ProviderInfo';
|
|
64
73
|
export * from './ProviderInformation';
|
|
65
74
|
export * from './ProviderInput';
|
|
75
|
+
export * from './ProviderOutput';
|
|
66
76
|
export * from './RecommendRequest';
|
|
67
77
|
export * from './RecommendResponse';
|
|
68
78
|
export * from './RecommendationInfo';
|
|
79
|
+
export * from './RedirectUriResponse';
|
|
69
80
|
export * from './RefreshStepContentRequest';
|
|
70
81
|
export * from './RefreshStepContentResponse';
|
|
71
82
|
export * from './ResultCollection';
|
|
@@ -76,10 +87,13 @@ export * from './SessionOrdering';
|
|
|
76
87
|
export * from './Sex';
|
|
77
88
|
export * from './SmartIdInput';
|
|
78
89
|
export * from './SouthAfricaNidInput';
|
|
90
|
+
export * from './SpidBillingInformation';
|
|
79
91
|
export * from './SpidInput';
|
|
92
|
+
export * from './SpidProviderOutput';
|
|
80
93
|
export * from './StepRefreshInfo';
|
|
81
94
|
export * from './SubProviderMetadata';
|
|
82
95
|
export * from './SubmitNativeChallengeResponseRequest';
|
|
83
96
|
export * from './SubmitNativeChallengeResponseResponse';
|
|
84
97
|
export * from './TrinsicTestDatabaseLookupInput';
|
|
85
98
|
export * from './TrinsicTestSubProvidersInput';
|
|
99
|
+
export * from './VerificationProfileResponse';
|