@trinsic/api 2.2.0 → 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/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/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/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,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,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfRedirectUriResponse = instanceOfRedirectUriResponse;
|
|
17
|
+
exports.RedirectUriResponseFromJSON = RedirectUriResponseFromJSON;
|
|
18
|
+
exports.RedirectUriResponseFromJSONTyped = RedirectUriResponseFromJSONTyped;
|
|
19
|
+
exports.RedirectUriResponseToJSON = RedirectUriResponseToJSON;
|
|
20
|
+
exports.RedirectUriResponseToJSONTyped = RedirectUriResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RedirectUriResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRedirectUriResponse(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('uri' in value) || value['uri'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function RedirectUriResponseFromJSON(json) {
|
|
32
|
+
return RedirectUriResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function RedirectUriResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'uri': json['uri'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function RedirectUriResponseToJSON(json) {
|
|
44
|
+
return RedirectUriResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function RedirectUriResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'uri': value['uri'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSpidBillingInformation = instanceOfSpidBillingInformation;
|
|
17
|
+
exports.SpidBillingInformationFromJSON = SpidBillingInformationFromJSON;
|
|
18
|
+
exports.SpidBillingInformationFromJSONTyped = SpidBillingInformationFromJSONTyped;
|
|
19
|
+
exports.SpidBillingInformationToJSON = SpidBillingInformationToJSON;
|
|
20
|
+
exports.SpidBillingInformationToJSONTyped = SpidBillingInformationToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SpidBillingInformation interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSpidBillingInformation(value) {
|
|
25
|
+
if (!('isBillable' in value) || value['isBillable'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('verificationType' in value) || value['verificationType'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('verificationLevel' in value) || value['verificationLevel'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function SpidBillingInformationFromJSON(json) {
|
|
34
|
+
return SpidBillingInformationFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function SpidBillingInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'isBillable': json['isBillable'],
|
|
42
|
+
'verificationType': json['verificationType'],
|
|
43
|
+
'verificationLevel': json['verificationLevel'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function SpidBillingInformationToJSON(json) {
|
|
47
|
+
return SpidBillingInformationToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function SpidBillingInformationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'isBillable': value['isBillable'],
|
|
55
|
+
'verificationType': value['verificationType'],
|
|
56
|
+
'verificationLevel': value['verificationLevel'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -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.
|
package/dist/models/SpidInput.js
CHANGED
|
@@ -33,6 +33,7 @@ function SpidInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'subProviderId': json['subProviderId'] == null ? undefined : json['subProviderId'],
|
|
36
|
+
'billingTrackingSecret': json['billingTrackingSecret'] == null ? undefined : json['billingTrackingSecret'],
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
function SpidInputToJSON(json) {
|
|
@@ -44,5 +45,6 @@ function SpidInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
44
45
|
}
|
|
45
46
|
return {
|
|
46
47
|
'subProviderId': value['subProviderId'],
|
|
48
|
+
'billingTrackingSecret': value['billingTrackingSecret'],
|
|
47
49
|
};
|
|
48
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
|
+
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,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSpidProviderOutput = instanceOfSpidProviderOutput;
|
|
17
|
+
exports.SpidProviderOutputFromJSON = SpidProviderOutputFromJSON;
|
|
18
|
+
exports.SpidProviderOutputFromJSONTyped = SpidProviderOutputFromJSONTyped;
|
|
19
|
+
exports.SpidProviderOutputToJSON = SpidProviderOutputToJSON;
|
|
20
|
+
exports.SpidProviderOutputToJSONTyped = SpidProviderOutputToJSONTyped;
|
|
21
|
+
const SpidBillingInformation_1 = require("./SpidBillingInformation");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SpidProviderOutput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfSpidProviderOutput(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function SpidProviderOutputFromJSON(json) {
|
|
29
|
+
return SpidProviderOutputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function SpidProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'billingInformation': json['billingInformation'] == null ? undefined : (0, SpidBillingInformation_1.SpidBillingInformationFromJSON)(json['billingInformation']),
|
|
37
|
+
'fiscalNumber': json['fiscalNumber'] == null ? undefined : json['fiscalNumber'],
|
|
38
|
+
'spidCode': json['spidCode'] == null ? undefined : json['spidCode'],
|
|
39
|
+
'ivaCode': json['ivaCode'] == null ? undefined : json['ivaCode'],
|
|
40
|
+
'spidCredentialExpirationDate': json['spidCredentialExpirationDate'] == null ? undefined : (new Date(json['spidCredentialExpirationDate'])),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function SpidProviderOutputToJSON(json) {
|
|
44
|
+
return SpidProviderOutputToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function SpidProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'billingInformation': (0, SpidBillingInformation_1.SpidBillingInformationToJSON)(value['billingInformation']),
|
|
52
|
+
'fiscalNumber': value['fiscalNumber'],
|
|
53
|
+
'spidCode': value['spidCode'],
|
|
54
|
+
'ivaCode': value['ivaCode'],
|
|
55
|
+
'spidCredentialExpirationDate': value['spidCredentialExpirationDate'] == null ? undefined : (value['spidCredentialExpirationDate'].toISOString().substring(0, 10)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -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,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfVerificationProfileResponse = instanceOfVerificationProfileResponse;
|
|
17
|
+
exports.VerificationProfileResponseFromJSON = VerificationProfileResponseFromJSON;
|
|
18
|
+
exports.VerificationProfileResponseFromJSONTyped = VerificationProfileResponseFromJSONTyped;
|
|
19
|
+
exports.VerificationProfileResponseToJSON = VerificationProfileResponseToJSON;
|
|
20
|
+
exports.VerificationProfileResponseToJSONTyped = VerificationProfileResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VerificationProfileResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVerificationProfileResponse(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('alias' in value) || value['alias'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('brandName' in value) || value['brandName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('logoUrl' in value) || value['logoUrl'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('primaryColor' in value) || value['primaryColor'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('enabledProviders' in value) || value['enabledProviders'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function VerificationProfileResponseFromJSON(json) {
|
|
40
|
+
return VerificationProfileResponseFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function VerificationProfileResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': json['id'],
|
|
48
|
+
'alias': json['alias'],
|
|
49
|
+
'brandName': json['brandName'],
|
|
50
|
+
'logoUrl': json['logoUrl'],
|
|
51
|
+
'primaryColor': json['primaryColor'],
|
|
52
|
+
'enabledProviders': json['enabledProviders'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function VerificationProfileResponseToJSON(json) {
|
|
56
|
+
return VerificationProfileResponseToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function VerificationProfileResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'id': value['id'],
|
|
64
|
+
'alias': value['alias'],
|
|
65
|
+
'brandName': value['brandName'],
|
|
66
|
+
'logoUrl': value['logoUrl'],
|
|
67
|
+
'primaryColor': value['primaryColor'],
|
|
68
|
+
'enabledProviders': value['enabledProviders'],
|
|
69
|
+
};
|
|
70
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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/models/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AadhaarInput"), exports);
|
|
20
|
+
__exportStar(require("./AddRedirectUriResponse"), exports);
|
|
20
21
|
__exportStar(require("./Address"), exports);
|
|
21
22
|
__exportStar(require("./AppleWalletInput"), exports);
|
|
22
23
|
__exportStar(require("./AttachmentAccessKeys"), exports);
|
|
@@ -25,18 +26,22 @@ __exportStar(require("./BrazilCpfCheckInput"), exports);
|
|
|
25
26
|
__exportStar(require("./BrazilDigitalCnhInput"), exports);
|
|
26
27
|
__exportStar(require("./CancelSessionResponse"), exports);
|
|
27
28
|
__exportStar(require("./ContractField"), exports);
|
|
29
|
+
__exportStar(require("./ContractIdentifierField"), exports);
|
|
28
30
|
__exportStar(require("./CreateDirectProviderSessionRequest"), exports);
|
|
29
31
|
__exportStar(require("./CreateDirectProviderSessionResponse"), exports);
|
|
30
32
|
__exportStar(require("./CreateHostedProviderSessionRequest"), exports);
|
|
31
33
|
__exportStar(require("./CreateHostedProviderSessionResponse"), exports);
|
|
32
34
|
__exportStar(require("./CreateMdlExchangeRequest"), exports);
|
|
33
35
|
__exportStar(require("./CreateMdlExchangeResponse"), exports);
|
|
36
|
+
__exportStar(require("./CreateVerificationProfileResponse"), exports);
|
|
34
37
|
__exportStar(require("./CreateWidgetSessionRequest"), exports);
|
|
35
38
|
__exportStar(require("./CreateWidgetSessionResponse"), exports);
|
|
36
39
|
__exportStar(require("./DocumentData"), exports);
|
|
37
40
|
__exportStar(require("./DocumentScanAttachments"), exports);
|
|
38
41
|
__exportStar(require("./DocumentType"), exports);
|
|
42
|
+
__exportStar(require("./EnvironmentRedirectUrisAddRequest"), exports);
|
|
39
43
|
__exportStar(require("./ExternalMdlFieldData"), exports);
|
|
44
|
+
__exportStar(require("./FaydaProviderOutput"), exports);
|
|
40
45
|
__exportStar(require("./FieldAvailability"), exports);
|
|
41
46
|
__exportStar(require("./FinalizeMdlExchangeRequest"), exports);
|
|
42
47
|
__exportStar(require("./FinalizeMdlExchangeResponse"), exports);
|
|
@@ -47,6 +52,7 @@ __exportStar(require("./GetSessionResultRequest"), exports);
|
|
|
47
52
|
__exportStar(require("./GetSessionResultResponse"), exports);
|
|
48
53
|
__exportStar(require("./GoogleWalletInput"), exports);
|
|
49
54
|
__exportStar(require("./HttpValidationProblemDetails"), exports);
|
|
55
|
+
__exportStar(require("./Identifier"), exports);
|
|
50
56
|
__exportStar(require("./IdentityData"), exports);
|
|
51
57
|
__exportStar(require("./IdinInput"), exports);
|
|
52
58
|
__exportStar(require("./IndonesiaDukcapilMatchInput"), exports);
|
|
@@ -56,9 +62,11 @@ __exportStar(require("./IntegrationLaunchMethod"), exports);
|
|
|
56
62
|
__exportStar(require("./IntegrationStep"), exports);
|
|
57
63
|
__exportStar(require("./KenyaNidInput"), exports);
|
|
58
64
|
__exportStar(require("./Language"), exports);
|
|
65
|
+
__exportStar(require("./ListEnvironmentRedirectUrisResponse"), exports);
|
|
59
66
|
__exportStar(require("./ListProviderContractsResponse"), exports);
|
|
60
67
|
__exportStar(require("./ListProvidersResponse"), exports);
|
|
61
68
|
__exportStar(require("./ListSessionsResponse"), exports);
|
|
69
|
+
__exportStar(require("./ListVerificationProfilesResponse"), exports);
|
|
62
70
|
__exportStar(require("./Match"), exports);
|
|
63
71
|
__exportStar(require("./MatchData"), exports);
|
|
64
72
|
__exportStar(require("./MdlCertificateData"), exports);
|
|
@@ -66,6 +74,7 @@ __exportStar(require("./MdlExchangeMechanism"), exports);
|
|
|
66
74
|
__exportStar(require("./MdlFieldDataType"), exports);
|
|
67
75
|
__exportStar(require("./MdlIdentityData"), exports);
|
|
68
76
|
__exportStar(require("./MexicoCurpInput"), exports);
|
|
77
|
+
__exportStar(require("./MexicoCurpProviderOutput"), exports);
|
|
69
78
|
__exportStar(require("./MobileIdInput"), exports);
|
|
70
79
|
__exportStar(require("./NigeriaNinInput"), exports);
|
|
71
80
|
__exportStar(require("./OrderDirection"), exports);
|
|
@@ -79,9 +88,11 @@ __exportStar(require("./ProviderHealth"), exports);
|
|
|
79
88
|
__exportStar(require("./ProviderInfo"), exports);
|
|
80
89
|
__exportStar(require("./ProviderInformation"), exports);
|
|
81
90
|
__exportStar(require("./ProviderInput"), exports);
|
|
91
|
+
__exportStar(require("./ProviderOutput"), exports);
|
|
82
92
|
__exportStar(require("./RecommendRequest"), exports);
|
|
83
93
|
__exportStar(require("./RecommendResponse"), exports);
|
|
84
94
|
__exportStar(require("./RecommendationInfo"), exports);
|
|
95
|
+
__exportStar(require("./RedirectUriResponse"), exports);
|
|
85
96
|
__exportStar(require("./RefreshStepContentRequest"), exports);
|
|
86
97
|
__exportStar(require("./RefreshStepContentResponse"), exports);
|
|
87
98
|
__exportStar(require("./ResultCollection"), exports);
|
|
@@ -92,10 +103,13 @@ __exportStar(require("./SessionOrdering"), exports);
|
|
|
92
103
|
__exportStar(require("./Sex"), exports);
|
|
93
104
|
__exportStar(require("./SmartIdInput"), exports);
|
|
94
105
|
__exportStar(require("./SouthAfricaNidInput"), exports);
|
|
106
|
+
__exportStar(require("./SpidBillingInformation"), exports);
|
|
95
107
|
__exportStar(require("./SpidInput"), exports);
|
|
108
|
+
__exportStar(require("./SpidProviderOutput"), exports);
|
|
96
109
|
__exportStar(require("./StepRefreshInfo"), exports);
|
|
97
110
|
__exportStar(require("./SubProviderMetadata"), exports);
|
|
98
111
|
__exportStar(require("./SubmitNativeChallengeResponseRequest"), exports);
|
|
99
112
|
__exportStar(require("./SubmitNativeChallengeResponseResponse"), exports);
|
|
100
113
|
__exportStar(require("./TrinsicTestDatabaseLookupInput"), exports);
|
|
101
114
|
__exportStar(require("./TrinsicTestSubProvidersInput"), exports);
|
|
115
|
+
__exportStar(require("./VerificationProfileResponse"), exports);
|