@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.
Files changed (112) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/dist/apis/EnvironmentRedirectUrisApi.d.ts +109 -0
  3. package/dist/apis/EnvironmentRedirectUrisApi.js +145 -0
  4. package/dist/apis/VerificationProfilesApi.d.ts +117 -0
  5. package/dist/apis/VerificationProfilesApi.js +183 -0
  6. package/dist/apis/index.d.ts +2 -0
  7. package/dist/apis/index.js +2 -0
  8. package/dist/esm/apis/EnvironmentRedirectUrisApi.d.ts +109 -0
  9. package/dist/esm/apis/EnvironmentRedirectUrisApi.js +141 -0
  10. package/dist/esm/apis/VerificationProfilesApi.d.ts +117 -0
  11. package/dist/esm/apis/VerificationProfilesApi.js +179 -0
  12. package/dist/esm/apis/index.d.ts +2 -0
  13. package/dist/esm/apis/index.js +2 -0
  14. package/dist/esm/models/AddRedirectUriResponse.d.ts +32 -0
  15. package/dist/esm/models/AddRedirectUriResponse.js +43 -0
  16. package/dist/esm/models/ContractField.d.ts +7 -0
  17. package/dist/esm/models/ContractField.js +4 -0
  18. package/dist/esm/models/ContractIdentifierField.d.ts +45 -0
  19. package/dist/esm/models/ContractIdentifierField.js +52 -0
  20. package/dist/esm/models/CreateVerificationProfileResponse.d.ts +32 -0
  21. package/dist/esm/models/CreateVerificationProfileResponse.js +43 -0
  22. package/dist/esm/models/EnvironmentRedirectUrisAddRequest.d.ts +32 -0
  23. package/dist/esm/models/EnvironmentRedirectUrisAddRequest.js +43 -0
  24. package/dist/esm/models/FaydaProviderOutput.d.ts +35 -0
  25. package/dist/esm/models/FaydaProviderOutput.js +41 -0
  26. package/dist/esm/models/Identifier.d.ts +44 -0
  27. package/dist/esm/models/Identifier.js +51 -0
  28. package/dist/esm/models/IdentityData.d.ts +14 -0
  29. package/dist/esm/models/IdentityData.js +8 -0
  30. package/dist/esm/models/ListEnvironmentRedirectUrisResponse.d.ts +39 -0
  31. package/dist/esm/models/ListEnvironmentRedirectUrisResponse.js +48 -0
  32. package/dist/esm/models/ListVerificationProfilesResponse.d.ts +39 -0
  33. package/dist/esm/models/ListVerificationProfilesResponse.js +48 -0
  34. package/dist/esm/models/MexicoCurpProviderOutput.d.ts +44 -0
  35. package/dist/esm/models/MexicoCurpProviderOutput.js +41 -0
  36. package/dist/esm/models/ProviderContract.d.ts +7 -0
  37. package/dist/esm/models/ProviderContract.js +3 -0
  38. package/dist/esm/models/ProviderOutput.d.ts +47 -0
  39. package/dist/esm/models/ProviderOutput.js +48 -0
  40. package/dist/esm/models/RedirectUriResponse.d.ts +38 -0
  41. package/dist/esm/models/RedirectUriResponse.js +47 -0
  42. package/dist/esm/models/SpidBillingInformation.d.ts +48 -0
  43. package/dist/esm/models/SpidBillingInformation.js +51 -0
  44. package/dist/esm/models/SpidInput.d.ts +11 -0
  45. package/dist/esm/models/SpidInput.js +2 -0
  46. package/dist/esm/models/SpidProviderOutput.d.ts +62 -0
  47. package/dist/esm/models/SpidProviderOutput.js +50 -0
  48. package/dist/esm/models/VerificationProfileResponse.d.ts +62 -0
  49. package/dist/esm/models/VerificationProfileResponse.js +63 -0
  50. package/dist/esm/models/index.d.ts +14 -0
  51. package/dist/esm/models/index.js +14 -0
  52. package/dist/models/AddRedirectUriResponse.d.ts +32 -0
  53. package/dist/models/AddRedirectUriResponse.js +50 -0
  54. package/dist/models/ContractField.d.ts +7 -0
  55. package/dist/models/ContractField.js +4 -0
  56. package/dist/models/ContractIdentifierField.d.ts +45 -0
  57. package/dist/models/ContractIdentifierField.js +59 -0
  58. package/dist/models/CreateVerificationProfileResponse.d.ts +32 -0
  59. package/dist/models/CreateVerificationProfileResponse.js +50 -0
  60. package/dist/models/EnvironmentRedirectUrisAddRequest.d.ts +32 -0
  61. package/dist/models/EnvironmentRedirectUrisAddRequest.js +50 -0
  62. package/dist/models/FaydaProviderOutput.d.ts +35 -0
  63. package/dist/models/FaydaProviderOutput.js +48 -0
  64. package/dist/models/Identifier.d.ts +44 -0
  65. package/dist/models/Identifier.js +58 -0
  66. package/dist/models/IdentityData.d.ts +14 -0
  67. package/dist/models/IdentityData.js +8 -0
  68. package/dist/models/ListEnvironmentRedirectUrisResponse.d.ts +39 -0
  69. package/dist/models/ListEnvironmentRedirectUrisResponse.js +55 -0
  70. package/dist/models/ListVerificationProfilesResponse.d.ts +39 -0
  71. package/dist/models/ListVerificationProfilesResponse.js +55 -0
  72. package/dist/models/MexicoCurpProviderOutput.d.ts +44 -0
  73. package/dist/models/MexicoCurpProviderOutput.js +48 -0
  74. package/dist/models/ProviderContract.d.ts +7 -0
  75. package/dist/models/ProviderContract.js +3 -0
  76. package/dist/models/ProviderOutput.d.ts +47 -0
  77. package/dist/models/ProviderOutput.js +55 -0
  78. package/dist/models/RedirectUriResponse.d.ts +38 -0
  79. package/dist/models/RedirectUriResponse.js +54 -0
  80. package/dist/models/SpidBillingInformation.d.ts +48 -0
  81. package/dist/models/SpidBillingInformation.js +58 -0
  82. package/dist/models/SpidInput.d.ts +11 -0
  83. package/dist/models/SpidInput.js +2 -0
  84. package/dist/models/SpidProviderOutput.d.ts +62 -0
  85. package/dist/models/SpidProviderOutput.js +57 -0
  86. package/dist/models/VerificationProfileResponse.d.ts +62 -0
  87. package/dist/models/VerificationProfileResponse.js +70 -0
  88. package/dist/models/index.d.ts +14 -0
  89. package/dist/models/index.js +14 -0
  90. package/package.json +1 -1
  91. package/src/apis/EnvironmentRedirectUrisApi.ts +235 -0
  92. package/src/apis/VerificationProfilesApi.ts +294 -0
  93. package/src/apis/index.ts +2 -0
  94. package/src/models/AddRedirectUriResponse.ts +66 -0
  95. package/src/models/ContractField.ts +10 -0
  96. package/src/models/ContractIdentifierField.ts +94 -0
  97. package/src/models/CreateVerificationProfileResponse.ts +66 -0
  98. package/src/models/EnvironmentRedirectUrisAddRequest.ts +66 -0
  99. package/src/models/FaydaProviderOutput.ts +68 -0
  100. package/src/models/Identifier.ts +84 -0
  101. package/src/models/IdentityData.ts +31 -0
  102. package/src/models/ListEnvironmentRedirectUrisResponse.ts +83 -0
  103. package/src/models/ListVerificationProfilesResponse.ts +83 -0
  104. package/src/models/MexicoCurpProviderOutput.ts +77 -0
  105. package/src/models/ProviderContract.ts +15 -0
  106. package/src/models/ProviderOutput.ts +103 -0
  107. package/src/models/RedirectUriResponse.ts +75 -0
  108. package/src/models/SpidBillingInformation.ts +88 -0
  109. package/src/models/SpidInput.ts +13 -0
  110. package/src/models/SpidProviderOutput.ts +110 -0
  111. package/src/models/VerificationProfileResponse.ts +111 -0
  112. package/src/models/index.ts +14 -0
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { ContractIdentifierField } from './ContractIdentifierField';
17
+ import {
18
+ ContractIdentifierFieldFromJSON,
19
+ ContractIdentifierFieldFromJSONTyped,
20
+ ContractIdentifierFieldToJSON,
21
+ ContractIdentifierFieldToJSONTyped,
22
+ } from './ContractIdentifierField';
16
23
  import type { ContractField } from './ContractField';
17
24
  import {
18
25
  ContractFieldFromJSON,
@@ -191,6 +198,12 @@ export interface ProviderContract {
191
198
  * @memberof ProviderContract
192
199
  */
193
200
  availableFields?: Array<ContractField> | null;
201
+ /**
202
+ * Information about the identifiers this Provider returns in verification results.
203
+ * @type {Array<ContractIdentifierField>}
204
+ * @memberof ProviderContract
205
+ */
206
+ availableIdentifiers?: Array<ContractIdentifierField> | null;
194
207
  /**
195
208
  * Metadata about the sub-providers which are available for this Provider.
196
209
  *
@@ -260,6 +273,7 @@ export function ProviderContractFromJSONTyped(json: any, ignoreDiscriminator: bo
260
273
  'supportsAdvancedProviderSessions': json['supportsAdvancedProviderSessions'],
261
274
  'supportsDirectProviderSessions': json['supportsDirectProviderSessions'],
262
275
  'availableFields': json['availableFields'] == null ? undefined : ((json['availableFields'] as Array<any>).map(ContractFieldFromJSON)),
276
+ 'availableIdentifiers': json['availableIdentifiers'] == null ? undefined : ((json['availableIdentifiers'] as Array<any>).map(ContractIdentifierFieldFromJSON)),
263
277
  'subProviders': json['subProviders'] == null ? undefined : ((json['subProviders'] as Array<any>).map(SubProviderMetadataFromJSON)),
264
278
  'health': ProviderHealthFromJSON(json['health']),
265
279
  };
@@ -293,6 +307,7 @@ export function ProviderContractToJSONTyped(value?: ProviderContract | null, ign
293
307
  'supportsAdvancedProviderSessions': value['supportsAdvancedProviderSessions'],
294
308
  'supportsDirectProviderSessions': value['supportsDirectProviderSessions'],
295
309
  'availableFields': value['availableFields'] == null ? undefined : ((value['availableFields'] as Array<any>).map(ContractFieldToJSON)),
310
+ 'availableIdentifiers': value['availableIdentifiers'] == null ? undefined : ((value['availableIdentifiers'] as Array<any>).map(ContractIdentifierFieldToJSON)),
296
311
  'subProviders': value['subProviders'] == null ? undefined : ((value['subProviders'] as Array<any>).map(SubProviderMetadataToJSON)),
297
312
  'health': ProviderHealthToJSON(value['health']),
298
313
  };
@@ -0,0 +1,103 @@
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
+ import { mapValues } from '../runtime';
16
+ import type { FaydaProviderOutput } from './FaydaProviderOutput';
17
+ import {
18
+ FaydaProviderOutputFromJSON,
19
+ FaydaProviderOutputFromJSONTyped,
20
+ FaydaProviderOutputToJSON,
21
+ FaydaProviderOutputToJSONTyped,
22
+ } from './FaydaProviderOutput';
23
+ import type { MexicoCurpProviderOutput } from './MexicoCurpProviderOutput';
24
+ import {
25
+ MexicoCurpProviderOutputFromJSON,
26
+ MexicoCurpProviderOutputFromJSONTyped,
27
+ MexicoCurpProviderOutputToJSON,
28
+ MexicoCurpProviderOutputToJSONTyped,
29
+ } from './MexicoCurpProviderOutput';
30
+ import type { SpidProviderOutput } from './SpidProviderOutput';
31
+ import {
32
+ SpidProviderOutputFromJSON,
33
+ SpidProviderOutputFromJSONTyped,
34
+ SpidProviderOutputToJSON,
35
+ SpidProviderOutputToJSONTyped,
36
+ } from './SpidProviderOutput';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface ProviderOutput
42
+ */
43
+ export interface ProviderOutput {
44
+ /**
45
+ *
46
+ * @type {SpidProviderOutput}
47
+ * @memberof ProviderOutput
48
+ */
49
+ italySpid?: SpidProviderOutput | null;
50
+ /**
51
+ *
52
+ * @type {MexicoCurpProviderOutput}
53
+ * @memberof ProviderOutput
54
+ */
55
+ mexicoCurpLookup?: MexicoCurpProviderOutput | null;
56
+ /**
57
+ *
58
+ * @type {FaydaProviderOutput}
59
+ * @memberof ProviderOutput
60
+ */
61
+ ethiopiaFayda?: FaydaProviderOutput | null;
62
+ }
63
+
64
+ /**
65
+ * Check if a given object implements the ProviderOutput interface.
66
+ */
67
+ export function instanceOfProviderOutput(value: object): value is ProviderOutput {
68
+ return true;
69
+ }
70
+
71
+ export function ProviderOutputFromJSON(json: any): ProviderOutput {
72
+ return ProviderOutputFromJSONTyped(json, false);
73
+ }
74
+
75
+ export function ProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderOutput {
76
+ if (json == null) {
77
+ return json;
78
+ }
79
+ return {
80
+
81
+ 'italySpid': json['italy-spid'] == null ? undefined : SpidProviderOutputFromJSON(json['italy-spid']),
82
+ 'mexicoCurpLookup': json['mexico-curp-lookup'] == null ? undefined : MexicoCurpProviderOutputFromJSON(json['mexico-curp-lookup']),
83
+ 'ethiopiaFayda': json['ethiopia-fayda'] == null ? undefined : FaydaProviderOutputFromJSON(json['ethiopia-fayda']),
84
+ };
85
+ }
86
+
87
+ export function ProviderOutputToJSON(json: any): ProviderOutput {
88
+ return ProviderOutputToJSONTyped(json, false);
89
+ }
90
+
91
+ export function ProviderOutputToJSONTyped(value?: ProviderOutput | null, ignoreDiscriminator: boolean = false): any {
92
+ if (value == null) {
93
+ return value;
94
+ }
95
+
96
+ return {
97
+
98
+ 'italy-spid': SpidProviderOutputToJSON(value['italySpid']),
99
+ 'mexico-curp-lookup': MexicoCurpProviderOutputToJSON(value['mexicoCurpLookup']),
100
+ 'ethiopia-fayda': FaydaProviderOutputToJSON(value['ethiopiaFayda']),
101
+ };
102
+ }
103
+
@@ -0,0 +1,75 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface RedirectUriResponse
20
+ */
21
+ export interface RedirectUriResponse {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof RedirectUriResponse
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof RedirectUriResponse
32
+ */
33
+ uri: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the RedirectUriResponse interface.
38
+ */
39
+ export function instanceOfRedirectUriResponse(value: object): value is RedirectUriResponse {
40
+ if (!('id' in value) || value['id'] === undefined) return false;
41
+ if (!('uri' in value) || value['uri'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function RedirectUriResponseFromJSON(json: any): RedirectUriResponse {
46
+ return RedirectUriResponseFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function RedirectUriResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectUriResponse {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'id': json['id'],
56
+ 'uri': json['uri'],
57
+ };
58
+ }
59
+
60
+ export function RedirectUriResponseToJSON(json: any): RedirectUriResponse {
61
+ return RedirectUriResponseToJSONTyped(json, false);
62
+ }
63
+
64
+ export function RedirectUriResponseToJSONTyped(value?: RedirectUriResponse | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'id': value['id'],
72
+ 'uri': value['uri'],
73
+ };
74
+ }
75
+
@@ -0,0 +1,88 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ * Billing information for a SPID Verification.
18
+ * @export
19
+ * @interface SpidBillingInformation
20
+ */
21
+ export interface SpidBillingInformation {
22
+ /**
23
+ * Whether this SPID verification has resulted in a billable event.
24
+ * @type {boolean}
25
+ * @memberof SpidBillingInformation
26
+ */
27
+ isBillable: boolean;
28
+ /**
29
+ * The billable verification type for this SPID verification.
30
+ *
31
+ * Possible values: "Authentication" | "Registration"
32
+ * @type {string}
33
+ * @memberof SpidBillingInformation
34
+ */
35
+ verificationType: string;
36
+ /**
37
+ * The billable verification level for this SPID verification.
38
+ *
39
+ * Possible values: 1 | 2 | 3
40
+ * @type {number}
41
+ * @memberof SpidBillingInformation
42
+ */
43
+ verificationLevel: number;
44
+ }
45
+
46
+ /**
47
+ * Check if a given object implements the SpidBillingInformation interface.
48
+ */
49
+ export function instanceOfSpidBillingInformation(value: object): value is SpidBillingInformation {
50
+ if (!('isBillable' in value) || value['isBillable'] === undefined) return false;
51
+ if (!('verificationType' in value) || value['verificationType'] === undefined) return false;
52
+ if (!('verificationLevel' in value) || value['verificationLevel'] === undefined) return false;
53
+ return true;
54
+ }
55
+
56
+ export function SpidBillingInformationFromJSON(json: any): SpidBillingInformation {
57
+ return SpidBillingInformationFromJSONTyped(json, false);
58
+ }
59
+
60
+ export function SpidBillingInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpidBillingInformation {
61
+ if (json == null) {
62
+ return json;
63
+ }
64
+ return {
65
+
66
+ 'isBillable': json['isBillable'],
67
+ 'verificationType': json['verificationType'],
68
+ 'verificationLevel': json['verificationLevel'],
69
+ };
70
+ }
71
+
72
+ export function SpidBillingInformationToJSON(json: any): SpidBillingInformation {
73
+ return SpidBillingInformationToJSONTyped(json, false);
74
+ }
75
+
76
+ export function SpidBillingInformationToJSONTyped(value?: SpidBillingInformation | null, ignoreDiscriminator: boolean = false): any {
77
+ if (value == null) {
78
+ return value;
79
+ }
80
+
81
+ return {
82
+
83
+ 'isBillable': value['isBillable'],
84
+ 'verificationType': value['verificationType'],
85
+ 'verificationLevel': value['verificationLevel'],
86
+ };
87
+ }
88
+
@@ -27,6 +27,17 @@ export interface SpidInput {
27
27
  * @memberof SpidInput
28
28
  */
29
29
  subProviderId?: string | null;
30
+ /**
31
+ * Only applicable if period-based billing is enabled for your Verification Profile. Contact Trinsic to enable this.
32
+ *
33
+ * 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.
34
+ *
35
+ * WARNING: This value must NOT change during the course of a billing period for a given Verification Profile, or double-billing may occur.
36
+ * 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.
37
+ * @type {string}
38
+ * @memberof SpidInput
39
+ */
40
+ billingTrackingSecret?: string | null;
30
41
  }
31
42
 
32
43
  /**
@@ -47,6 +58,7 @@ export function SpidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean):
47
58
  return {
48
59
 
49
60
  'subProviderId': json['subProviderId'] == null ? undefined : json['subProviderId'],
61
+ 'billingTrackingSecret': json['billingTrackingSecret'] == null ? undefined : json['billingTrackingSecret'],
50
62
  };
51
63
  }
52
64
 
@@ -62,6 +74,7 @@ export function SpidInputToJSONTyped(value?: SpidInput | null, ignoreDiscriminat
62
74
  return {
63
75
 
64
76
  'subProviderId': value['subProviderId'],
77
+ 'billingTrackingSecret': value['billingTrackingSecret'],
65
78
  };
66
79
  }
67
80
 
@@ -0,0 +1,110 @@
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
+ import { mapValues } from '../runtime';
16
+ import type { SpidBillingInformation } from './SpidBillingInformation';
17
+ import {
18
+ SpidBillingInformationFromJSON,
19
+ SpidBillingInformationFromJSONTyped,
20
+ SpidBillingInformationToJSON,
21
+ SpidBillingInformationToJSONTyped,
22
+ } from './SpidBillingInformation';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface SpidProviderOutput
28
+ */
29
+ export interface SpidProviderOutput {
30
+ /**
31
+ * Information about the billable status of this SPID Verification.
32
+ *
33
+ * Present only if your account has period-based billing enabled for SPID. Contact Trinsic to enable this.
34
+ * @type {SpidBillingInformation}
35
+ * @memberof SpidProviderOutput
36
+ */
37
+ billingInformation?: SpidBillingInformation | null;
38
+ /**
39
+ * Fiscal tax number for the subject.
40
+ * @type {string}
41
+ * @memberof SpidProviderOutput
42
+ */
43
+ fiscalNumber?: string | null;
44
+ /**
45
+ * Unique user identifier contained within the SPID identity.
46
+ * @type {string}
47
+ * @memberof SpidProviderOutput
48
+ */
49
+ spidCode?: string | null;
50
+ /**
51
+ * VAT number for the subject.
52
+ * @type {string}
53
+ * @memberof SpidProviderOutput
54
+ */
55
+ ivaCode?: string | null;
56
+ /**
57
+ * Expiration date of the user's SPID credential.
58
+ *
59
+ * This is not the same as the expiration date of the underlying identity document (such as a passport) which was
60
+ * used to create the SPID identity.
61
+ * @type {Date}
62
+ * @memberof SpidProviderOutput
63
+ */
64
+ spidCredentialExpirationDate?: Date | null;
65
+ }
66
+
67
+ /**
68
+ * Check if a given object implements the SpidProviderOutput interface.
69
+ */
70
+ export function instanceOfSpidProviderOutput(value: object): value is SpidProviderOutput {
71
+ return true;
72
+ }
73
+
74
+ export function SpidProviderOutputFromJSON(json: any): SpidProviderOutput {
75
+ return SpidProviderOutputFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function SpidProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpidProviderOutput {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'billingInformation': json['billingInformation'] == null ? undefined : SpidBillingInformationFromJSON(json['billingInformation']),
85
+ 'fiscalNumber': json['fiscalNumber'] == null ? undefined : json['fiscalNumber'],
86
+ 'spidCode': json['spidCode'] == null ? undefined : json['spidCode'],
87
+ 'ivaCode': json['ivaCode'] == null ? undefined : json['ivaCode'],
88
+ 'spidCredentialExpirationDate': json['spidCredentialExpirationDate'] == null ? undefined : (new Date(json['spidCredentialExpirationDate'])),
89
+ };
90
+ }
91
+
92
+ export function SpidProviderOutputToJSON(json: any): SpidProviderOutput {
93
+ return SpidProviderOutputToJSONTyped(json, false);
94
+ }
95
+
96
+ export function SpidProviderOutputToJSONTyped(value?: SpidProviderOutput | null, ignoreDiscriminator: boolean = false): any {
97
+ if (value == null) {
98
+ return value;
99
+ }
100
+
101
+ return {
102
+
103
+ 'billingInformation': SpidBillingInformationToJSON(value['billingInformation']),
104
+ 'fiscalNumber': value['fiscalNumber'],
105
+ 'spidCode': value['spidCode'],
106
+ 'ivaCode': value['ivaCode'],
107
+ 'spidCredentialExpirationDate': value['spidCredentialExpirationDate'] == null ? undefined : ((value['spidCredentialExpirationDate'] as any).toISOString().substring(0,10)),
108
+ };
109
+ }
110
+
@@ -0,0 +1,111 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface VerificationProfileResponse
20
+ */
21
+ export interface VerificationProfileResponse {
22
+ /**
23
+ * The ID of the verification profile
24
+ * @type {string}
25
+ * @memberof VerificationProfileResponse
26
+ */
27
+ id: string;
28
+ /**
29
+ * An alias of the verification profile shown to developers and administrators.
30
+ * @type {string}
31
+ * @memberof VerificationProfileResponse
32
+ */
33
+ alias: string;
34
+ /**
35
+ * The brand name of the verification profile shown to end-users.
36
+ * @type {string}
37
+ * @memberof VerificationProfileResponse
38
+ */
39
+ brandName: string;
40
+ /**
41
+ * The URL of the verification profile's logo.
42
+ * @type {string}
43
+ * @memberof VerificationProfileResponse
44
+ */
45
+ logoUrl: string;
46
+ /**
47
+ * The primary color of the verification profile.
48
+ * @type {string}
49
+ * @memberof VerificationProfileResponse
50
+ */
51
+ primaryColor: string;
52
+ /**
53
+ * The providers that are currently enabled for the verification profile.
54
+ * @type {Array<string>}
55
+ * @memberof VerificationProfileResponse
56
+ */
57
+ enabledProviders: Array<string>;
58
+ }
59
+
60
+ /**
61
+ * Check if a given object implements the VerificationProfileResponse interface.
62
+ */
63
+ export function instanceOfVerificationProfileResponse(value: object): value is VerificationProfileResponse {
64
+ if (!('id' in value) || value['id'] === undefined) return false;
65
+ if (!('alias' in value) || value['alias'] === undefined) return false;
66
+ if (!('brandName' in value) || value['brandName'] === undefined) return false;
67
+ if (!('logoUrl' in value) || value['logoUrl'] === undefined) return false;
68
+ if (!('primaryColor' in value) || value['primaryColor'] === undefined) return false;
69
+ if (!('enabledProviders' in value) || value['enabledProviders'] === undefined) return false;
70
+ return true;
71
+ }
72
+
73
+ export function VerificationProfileResponseFromJSON(json: any): VerificationProfileResponse {
74
+ return VerificationProfileResponseFromJSONTyped(json, false);
75
+ }
76
+
77
+ export function VerificationProfileResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerificationProfileResponse {
78
+ if (json == null) {
79
+ return json;
80
+ }
81
+ return {
82
+
83
+ 'id': json['id'],
84
+ 'alias': json['alias'],
85
+ 'brandName': json['brandName'],
86
+ 'logoUrl': json['logoUrl'],
87
+ 'primaryColor': json['primaryColor'],
88
+ 'enabledProviders': json['enabledProviders'],
89
+ };
90
+ }
91
+
92
+ export function VerificationProfileResponseToJSON(json: any): VerificationProfileResponse {
93
+ return VerificationProfileResponseToJSONTyped(json, false);
94
+ }
95
+
96
+ export function VerificationProfileResponseToJSONTyped(value?: VerificationProfileResponse | null, ignoreDiscriminator: boolean = false): any {
97
+ if (value == null) {
98
+ return value;
99
+ }
100
+
101
+ return {
102
+
103
+ 'id': value['id'],
104
+ 'alias': value['alias'],
105
+ 'brandName': value['brandName'],
106
+ 'logoUrl': value['logoUrl'],
107
+ 'primaryColor': value['primaryColor'],
108
+ 'enabledProviders': value['enabledProviders'],
109
+ };
110
+ }
111
+
@@ -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';