@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.
Files changed (122) 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/NetworkApi.d.ts +9 -2
  5. package/dist/apis/NetworkApi.js +4 -0
  6. package/dist/apis/SessionsApi.d.ts +8 -8
  7. package/dist/apis/SessionsApi.js +10 -10
  8. package/dist/apis/VerificationProfilesApi.d.ts +117 -0
  9. package/dist/apis/VerificationProfilesApi.js +183 -0
  10. package/dist/apis/index.d.ts +2 -0
  11. package/dist/apis/index.js +2 -0
  12. package/dist/esm/apis/EnvironmentRedirectUrisApi.d.ts +109 -0
  13. package/dist/esm/apis/EnvironmentRedirectUrisApi.js +141 -0
  14. package/dist/esm/apis/NetworkApi.d.ts +9 -2
  15. package/dist/esm/apis/NetworkApi.js +4 -0
  16. package/dist/esm/apis/SessionsApi.d.ts +8 -8
  17. package/dist/esm/apis/SessionsApi.js +10 -10
  18. package/dist/esm/apis/VerificationProfilesApi.d.ts +117 -0
  19. package/dist/esm/apis/VerificationProfilesApi.js +179 -0
  20. package/dist/esm/apis/index.d.ts +2 -0
  21. package/dist/esm/apis/index.js +2 -0
  22. package/dist/esm/models/AddRedirectUriResponse.d.ts +32 -0
  23. package/dist/esm/models/AddRedirectUriResponse.js +43 -0
  24. package/dist/esm/models/ContractField.d.ts +7 -0
  25. package/dist/esm/models/ContractField.js +4 -0
  26. package/dist/esm/models/ContractIdentifierField.d.ts +45 -0
  27. package/dist/esm/models/ContractIdentifierField.js +52 -0
  28. package/dist/esm/models/CreateVerificationProfileResponse.d.ts +32 -0
  29. package/dist/esm/models/CreateVerificationProfileResponse.js +43 -0
  30. package/dist/esm/models/EnvironmentRedirectUrisAddRequest.d.ts +32 -0
  31. package/dist/esm/models/EnvironmentRedirectUrisAddRequest.js +43 -0
  32. package/dist/esm/models/FaydaProviderOutput.d.ts +35 -0
  33. package/dist/esm/models/FaydaProviderOutput.js +41 -0
  34. package/dist/esm/models/Identifier.d.ts +44 -0
  35. package/dist/esm/models/Identifier.js +51 -0
  36. package/dist/esm/models/IdentityData.d.ts +14 -0
  37. package/dist/esm/models/IdentityData.js +8 -0
  38. package/dist/esm/models/ListEnvironmentRedirectUrisResponse.d.ts +39 -0
  39. package/dist/esm/models/ListEnvironmentRedirectUrisResponse.js +48 -0
  40. package/dist/esm/models/ListVerificationProfilesResponse.d.ts +39 -0
  41. package/dist/esm/models/ListVerificationProfilesResponse.js +48 -0
  42. package/dist/esm/models/MexicoCurpProviderOutput.d.ts +44 -0
  43. package/dist/esm/models/MexicoCurpProviderOutput.js +41 -0
  44. package/dist/esm/models/ProviderContract.d.ts +7 -0
  45. package/dist/esm/models/ProviderContract.js +3 -0
  46. package/dist/esm/models/ProviderOutput.d.ts +47 -0
  47. package/dist/esm/models/ProviderOutput.js +48 -0
  48. package/dist/esm/models/RedirectUriResponse.d.ts +38 -0
  49. package/dist/esm/models/RedirectUriResponse.js +47 -0
  50. package/dist/esm/models/SpidBillingInformation.d.ts +48 -0
  51. package/dist/esm/models/SpidBillingInformation.js +51 -0
  52. package/dist/esm/models/SpidInput.d.ts +11 -0
  53. package/dist/esm/models/SpidInput.js +2 -0
  54. package/dist/esm/models/SpidProviderOutput.d.ts +62 -0
  55. package/dist/esm/models/SpidProviderOutput.js +50 -0
  56. package/dist/esm/models/VerificationProfileResponse.d.ts +62 -0
  57. package/dist/esm/models/VerificationProfileResponse.js +63 -0
  58. package/dist/esm/models/index.d.ts +14 -0
  59. package/dist/esm/models/index.js +14 -0
  60. package/dist/models/AddRedirectUriResponse.d.ts +32 -0
  61. package/dist/models/AddRedirectUriResponse.js +50 -0
  62. package/dist/models/ContractField.d.ts +7 -0
  63. package/dist/models/ContractField.js +4 -0
  64. package/dist/models/ContractIdentifierField.d.ts +45 -0
  65. package/dist/models/ContractIdentifierField.js +59 -0
  66. package/dist/models/CreateVerificationProfileResponse.d.ts +32 -0
  67. package/dist/models/CreateVerificationProfileResponse.js +50 -0
  68. package/dist/models/EnvironmentRedirectUrisAddRequest.d.ts +32 -0
  69. package/dist/models/EnvironmentRedirectUrisAddRequest.js +50 -0
  70. package/dist/models/FaydaProviderOutput.d.ts +35 -0
  71. package/dist/models/FaydaProviderOutput.js +48 -0
  72. package/dist/models/Identifier.d.ts +44 -0
  73. package/dist/models/Identifier.js +58 -0
  74. package/dist/models/IdentityData.d.ts +14 -0
  75. package/dist/models/IdentityData.js +8 -0
  76. package/dist/models/ListEnvironmentRedirectUrisResponse.d.ts +39 -0
  77. package/dist/models/ListEnvironmentRedirectUrisResponse.js +55 -0
  78. package/dist/models/ListVerificationProfilesResponse.d.ts +39 -0
  79. package/dist/models/ListVerificationProfilesResponse.js +55 -0
  80. package/dist/models/MexicoCurpProviderOutput.d.ts +44 -0
  81. package/dist/models/MexicoCurpProviderOutput.js +48 -0
  82. package/dist/models/ProviderContract.d.ts +7 -0
  83. package/dist/models/ProviderContract.js +3 -0
  84. package/dist/models/ProviderOutput.d.ts +47 -0
  85. package/dist/models/ProviderOutput.js +55 -0
  86. package/dist/models/RedirectUriResponse.d.ts +38 -0
  87. package/dist/models/RedirectUriResponse.js +54 -0
  88. package/dist/models/SpidBillingInformation.d.ts +48 -0
  89. package/dist/models/SpidBillingInformation.js +58 -0
  90. package/dist/models/SpidInput.d.ts +11 -0
  91. package/dist/models/SpidInput.js +2 -0
  92. package/dist/models/SpidProviderOutput.d.ts +62 -0
  93. package/dist/models/SpidProviderOutput.js +57 -0
  94. package/dist/models/VerificationProfileResponse.d.ts +62 -0
  95. package/dist/models/VerificationProfileResponse.js +70 -0
  96. package/dist/models/index.d.ts +14 -0
  97. package/dist/models/index.js +14 -0
  98. package/package.json +1 -1
  99. package/src/apis/EnvironmentRedirectUrisApi.ts +235 -0
  100. package/src/apis/NetworkApi.ts +9 -2
  101. package/src/apis/SessionsApi.ts +18 -18
  102. package/src/apis/VerificationProfilesApi.ts +294 -0
  103. package/src/apis/index.ts +2 -0
  104. package/src/models/AddRedirectUriResponse.ts +66 -0
  105. package/src/models/ContractField.ts +10 -0
  106. package/src/models/ContractIdentifierField.ts +94 -0
  107. package/src/models/CreateVerificationProfileResponse.ts +66 -0
  108. package/src/models/EnvironmentRedirectUrisAddRequest.ts +66 -0
  109. package/src/models/FaydaProviderOutput.ts +68 -0
  110. package/src/models/Identifier.ts +84 -0
  111. package/src/models/IdentityData.ts +31 -0
  112. package/src/models/ListEnvironmentRedirectUrisResponse.ts +83 -0
  113. package/src/models/ListVerificationProfilesResponse.ts +83 -0
  114. package/src/models/MexicoCurpProviderOutput.ts +77 -0
  115. package/src/models/ProviderContract.ts +15 -0
  116. package/src/models/ProviderOutput.ts +103 -0
  117. package/src/models/RedirectUriResponse.ts +75 -0
  118. package/src/models/SpidBillingInformation.ts +88 -0
  119. package/src/models/SpidInput.ts +13 -0
  120. package/src/models/SpidProviderOutput.ts +110 -0
  121. package/src/models/VerificationProfileResponse.ts +111 -0
  122. package/src/models/index.ts +14 -0
@@ -0,0 +1,39 @@
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 { RedirectUriResponse } from './RedirectUriResponse';
13
+ /**
14
+ * Response from listing redirect URIs within an environment.
15
+ * @export
16
+ * @interface ListEnvironmentRedirectUrisResponse
17
+ */
18
+ export interface ListEnvironmentRedirectUrisResponse {
19
+ /**
20
+ * List of redirect uris within the environment.
21
+ * @type {Array<RedirectUriResponse>}
22
+ * @memberof ListEnvironmentRedirectUrisResponse
23
+ */
24
+ uris: Array<RedirectUriResponse>;
25
+ /**
26
+ * Whether there are additional pages of uris to retrieve
27
+ * @type {boolean}
28
+ * @memberof ListEnvironmentRedirectUrisResponse
29
+ */
30
+ more: boolean;
31
+ }
32
+ /**
33
+ * Check if a given object implements the ListEnvironmentRedirectUrisResponse interface.
34
+ */
35
+ export declare function instanceOfListEnvironmentRedirectUrisResponse(value: object): value is ListEnvironmentRedirectUrisResponse;
36
+ export declare function ListEnvironmentRedirectUrisResponseFromJSON(json: any): ListEnvironmentRedirectUrisResponse;
37
+ export declare function ListEnvironmentRedirectUrisResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListEnvironmentRedirectUrisResponse;
38
+ export declare function ListEnvironmentRedirectUrisResponseToJSON(json: any): ListEnvironmentRedirectUrisResponse;
39
+ export declare function ListEnvironmentRedirectUrisResponseToJSONTyped(value?: ListEnvironmentRedirectUrisResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfListEnvironmentRedirectUrisResponse = instanceOfListEnvironmentRedirectUrisResponse;
17
+ exports.ListEnvironmentRedirectUrisResponseFromJSON = ListEnvironmentRedirectUrisResponseFromJSON;
18
+ exports.ListEnvironmentRedirectUrisResponseFromJSONTyped = ListEnvironmentRedirectUrisResponseFromJSONTyped;
19
+ exports.ListEnvironmentRedirectUrisResponseToJSON = ListEnvironmentRedirectUrisResponseToJSON;
20
+ exports.ListEnvironmentRedirectUrisResponseToJSONTyped = ListEnvironmentRedirectUrisResponseToJSONTyped;
21
+ const RedirectUriResponse_1 = require("./RedirectUriResponse");
22
+ /**
23
+ * Check if a given object implements the ListEnvironmentRedirectUrisResponse interface.
24
+ */
25
+ function instanceOfListEnvironmentRedirectUrisResponse(value) {
26
+ if (!('uris' in value) || value['uris'] === undefined)
27
+ return false;
28
+ if (!('more' in value) || value['more'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function ListEnvironmentRedirectUrisResponseFromJSON(json) {
33
+ return ListEnvironmentRedirectUrisResponseFromJSONTyped(json, false);
34
+ }
35
+ function ListEnvironmentRedirectUrisResponseFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'uris': (json['uris'].map(RedirectUriResponse_1.RedirectUriResponseFromJSON)),
41
+ 'more': json['more'],
42
+ };
43
+ }
44
+ function ListEnvironmentRedirectUrisResponseToJSON(json) {
45
+ return ListEnvironmentRedirectUrisResponseToJSONTyped(json, false);
46
+ }
47
+ function ListEnvironmentRedirectUrisResponseToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'uris': (value['uris'].map(RedirectUriResponse_1.RedirectUriResponseToJSON)),
53
+ 'more': value['more'],
54
+ };
55
+ }
@@ -0,0 +1,39 @@
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 { VerificationProfileResponse } from './VerificationProfileResponse';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListVerificationProfilesResponse
17
+ */
18
+ export interface ListVerificationProfilesResponse {
19
+ /**
20
+ *
21
+ * @type {Array<VerificationProfileResponse>}
22
+ * @memberof ListVerificationProfilesResponse
23
+ */
24
+ verificationProfiles: Array<VerificationProfileResponse>;
25
+ /**
26
+ * Whether there are additional pages of verification profiles to retrieve
27
+ * @type {boolean}
28
+ * @memberof ListVerificationProfilesResponse
29
+ */
30
+ more: boolean;
31
+ }
32
+ /**
33
+ * Check if a given object implements the ListVerificationProfilesResponse interface.
34
+ */
35
+ export declare function instanceOfListVerificationProfilesResponse(value: object): value is ListVerificationProfilesResponse;
36
+ export declare function ListVerificationProfilesResponseFromJSON(json: any): ListVerificationProfilesResponse;
37
+ export declare function ListVerificationProfilesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListVerificationProfilesResponse;
38
+ export declare function ListVerificationProfilesResponseToJSON(json: any): ListVerificationProfilesResponse;
39
+ export declare function ListVerificationProfilesResponseToJSONTyped(value?: ListVerificationProfilesResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfListVerificationProfilesResponse = instanceOfListVerificationProfilesResponse;
17
+ exports.ListVerificationProfilesResponseFromJSON = ListVerificationProfilesResponseFromJSON;
18
+ exports.ListVerificationProfilesResponseFromJSONTyped = ListVerificationProfilesResponseFromJSONTyped;
19
+ exports.ListVerificationProfilesResponseToJSON = ListVerificationProfilesResponseToJSON;
20
+ exports.ListVerificationProfilesResponseToJSONTyped = ListVerificationProfilesResponseToJSONTyped;
21
+ const VerificationProfileResponse_1 = require("./VerificationProfileResponse");
22
+ /**
23
+ * Check if a given object implements the ListVerificationProfilesResponse interface.
24
+ */
25
+ function instanceOfListVerificationProfilesResponse(value) {
26
+ if (!('verificationProfiles' in value) || value['verificationProfiles'] === undefined)
27
+ return false;
28
+ if (!('more' in value) || value['more'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function ListVerificationProfilesResponseFromJSON(json) {
33
+ return ListVerificationProfilesResponseFromJSONTyped(json, false);
34
+ }
35
+ function ListVerificationProfilesResponseFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'verificationProfiles': (json['verificationProfiles'].map(VerificationProfileResponse_1.VerificationProfileResponseFromJSON)),
41
+ 'more': json['more'],
42
+ };
43
+ }
44
+ function ListVerificationProfilesResponseToJSON(json) {
45
+ return ListVerificationProfilesResponseToJSONTyped(json, false);
46
+ }
47
+ function ListVerificationProfilesResponseToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'verificationProfiles': (value['verificationProfiles'].map(VerificationProfileResponse_1.VerificationProfileResponseToJSON)),
53
+ 'more': value['more'],
54
+ };
55
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Trinsic API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface MexicoCurpProviderOutput
16
+ */
17
+ export interface MexicoCurpProviderOutput {
18
+ /**
19
+ * Curp status for the subject.
20
+ *
21
+ * Possible values:
22
+ * - AN: Alta Normal (Normal registration) - Active
23
+ * - AH: Alta con Homonimia (Registration with homonymy) - Active
24
+ * - RCC: Registro de cambio afectando a CURP (Change affecting CURP) - Active
25
+ * - RCN: Registro de cambio no afectando a CURP (Change not affecting CURP) - Active
26
+ * - BAP: Baja por documento apócrifo (Low due to apocryphal document) - Inactive
27
+ * - BSU: Baja sin uso (Low curp without use) - Inactive
28
+ * - BD: Baja por defunción (Low curp due to death) - Inactive
29
+ * - BDM: Baja administrativa (Low, due to administrative process) - Inactive
30
+ * - BDP: Baja por adopción (Low, due to adoption) - Inactive
31
+ * - BJD: Baja Judicial (Low for judicial reasons) - Inactive
32
+ * @type {string}
33
+ * @memberof MexicoCurpProviderOutput
34
+ */
35
+ curpStatus?: string | null;
36
+ }
37
+ /**
38
+ * Check if a given object implements the MexicoCurpProviderOutput interface.
39
+ */
40
+ export declare function instanceOfMexicoCurpProviderOutput(value: object): value is MexicoCurpProviderOutput;
41
+ export declare function MexicoCurpProviderOutputFromJSON(json: any): MexicoCurpProviderOutput;
42
+ export declare function MexicoCurpProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MexicoCurpProviderOutput;
43
+ export declare function MexicoCurpProviderOutputToJSON(json: any): MexicoCurpProviderOutput;
44
+ export declare function MexicoCurpProviderOutputToJSONTyped(value?: MexicoCurpProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
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.instanceOfMexicoCurpProviderOutput = instanceOfMexicoCurpProviderOutput;
17
+ exports.MexicoCurpProviderOutputFromJSON = MexicoCurpProviderOutputFromJSON;
18
+ exports.MexicoCurpProviderOutputFromJSONTyped = MexicoCurpProviderOutputFromJSONTyped;
19
+ exports.MexicoCurpProviderOutputToJSON = MexicoCurpProviderOutputToJSON;
20
+ exports.MexicoCurpProviderOutputToJSONTyped = MexicoCurpProviderOutputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the MexicoCurpProviderOutput interface.
23
+ */
24
+ function instanceOfMexicoCurpProviderOutput(value) {
25
+ return true;
26
+ }
27
+ function MexicoCurpProviderOutputFromJSON(json) {
28
+ return MexicoCurpProviderOutputFromJSONTyped(json, false);
29
+ }
30
+ function MexicoCurpProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'curpStatus': json['curpStatus'] == null ? undefined : json['curpStatus'],
36
+ };
37
+ }
38
+ function MexicoCurpProviderOutputToJSON(json) {
39
+ return MexicoCurpProviderOutputToJSONTyped(json, false);
40
+ }
41
+ function MexicoCurpProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'curpStatus': value['curpStatus'],
47
+ };
48
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ContractIdentifierField } from './ContractIdentifierField';
12
13
  import type { ContractField } from './ContractField';
13
14
  import type { ProviderHealth } from './ProviderHealth';
14
15
  import type { SubProviderMetadata } from './SubProviderMetadata';
@@ -156,6 +157,12 @@ export interface ProviderContract {
156
157
  * @memberof ProviderContract
157
158
  */
158
159
  availableFields?: Array<ContractField> | null;
160
+ /**
161
+ * Information about the identifiers this Provider returns in verification results.
162
+ * @type {Array<ContractIdentifierField>}
163
+ * @memberof ProviderContract
164
+ */
165
+ availableIdentifiers?: Array<ContractIdentifierField> | null;
159
166
  /**
160
167
  * Metadata about the sub-providers which are available for this Provider.
161
168
  *
@@ -18,6 +18,7 @@ exports.ProviderContractFromJSON = ProviderContractFromJSON;
18
18
  exports.ProviderContractFromJSONTyped = ProviderContractFromJSONTyped;
19
19
  exports.ProviderContractToJSON = ProviderContractToJSON;
20
20
  exports.ProviderContractToJSONTyped = ProviderContractToJSONTyped;
21
+ const ContractIdentifierField_1 = require("./ContractIdentifierField");
21
22
  const ContractField_1 = require("./ContractField");
22
23
  const ProviderHealth_1 = require("./ProviderHealth");
23
24
  const SubProviderMetadata_1 = require("./SubProviderMetadata");
@@ -88,6 +89,7 @@ function ProviderContractFromJSONTyped(json, ignoreDiscriminator) {
88
89
  'supportsAdvancedProviderSessions': json['supportsAdvancedProviderSessions'],
89
90
  'supportsDirectProviderSessions': json['supportsDirectProviderSessions'],
90
91
  'availableFields': json['availableFields'] == null ? undefined : (json['availableFields'].map(ContractField_1.ContractFieldFromJSON)),
92
+ 'availableIdentifiers': json['availableIdentifiers'] == null ? undefined : (json['availableIdentifiers'].map(ContractIdentifierField_1.ContractIdentifierFieldFromJSON)),
91
93
  'subProviders': json['subProviders'] == null ? undefined : (json['subProviders'].map(SubProviderMetadata_1.SubProviderMetadataFromJSON)),
92
94
  'health': (0, ProviderHealth_1.ProviderHealthFromJSON)(json['health']),
93
95
  };
@@ -117,6 +119,7 @@ function ProviderContractToJSONTyped(value, ignoreDiscriminator = false) {
117
119
  'supportsAdvancedProviderSessions': value['supportsAdvancedProviderSessions'],
118
120
  'supportsDirectProviderSessions': value['supportsDirectProviderSessions'],
119
121
  'availableFields': value['availableFields'] == null ? undefined : (value['availableFields'].map(ContractField_1.ContractFieldToJSON)),
122
+ 'availableIdentifiers': value['availableIdentifiers'] == null ? undefined : (value['availableIdentifiers'].map(ContractIdentifierField_1.ContractIdentifierFieldToJSON)),
120
123
  'subProviders': value['subProviders'] == null ? undefined : (value['subProviders'].map(SubProviderMetadata_1.SubProviderMetadataToJSON)),
121
124
  'health': (0, ProviderHealth_1.ProviderHealthToJSON)(value['health']),
122
125
  };
@@ -0,0 +1,47 @@
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 { FaydaProviderOutput } from './FaydaProviderOutput';
13
+ import type { MexicoCurpProviderOutput } from './MexicoCurpProviderOutput';
14
+ import type { SpidProviderOutput } from './SpidProviderOutput';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ProviderOutput
19
+ */
20
+ export interface ProviderOutput {
21
+ /**
22
+ *
23
+ * @type {SpidProviderOutput}
24
+ * @memberof ProviderOutput
25
+ */
26
+ italySpid?: SpidProviderOutput | null;
27
+ /**
28
+ *
29
+ * @type {MexicoCurpProviderOutput}
30
+ * @memberof ProviderOutput
31
+ */
32
+ mexicoCurpLookup?: MexicoCurpProviderOutput | null;
33
+ /**
34
+ *
35
+ * @type {FaydaProviderOutput}
36
+ * @memberof ProviderOutput
37
+ */
38
+ ethiopiaFayda?: FaydaProviderOutput | null;
39
+ }
40
+ /**
41
+ * Check if a given object implements the ProviderOutput interface.
42
+ */
43
+ export declare function instanceOfProviderOutput(value: object): value is ProviderOutput;
44
+ export declare function ProviderOutputFromJSON(json: any): ProviderOutput;
45
+ export declare function ProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderOutput;
46
+ export declare function ProviderOutputToJSON(json: any): ProviderOutput;
47
+ export declare function ProviderOutputToJSONTyped(value?: ProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfProviderOutput = instanceOfProviderOutput;
17
+ exports.ProviderOutputFromJSON = ProviderOutputFromJSON;
18
+ exports.ProviderOutputFromJSONTyped = ProviderOutputFromJSONTyped;
19
+ exports.ProviderOutputToJSON = ProviderOutputToJSON;
20
+ exports.ProviderOutputToJSONTyped = ProviderOutputToJSONTyped;
21
+ const FaydaProviderOutput_1 = require("./FaydaProviderOutput");
22
+ const MexicoCurpProviderOutput_1 = require("./MexicoCurpProviderOutput");
23
+ const SpidProviderOutput_1 = require("./SpidProviderOutput");
24
+ /**
25
+ * Check if a given object implements the ProviderOutput interface.
26
+ */
27
+ function instanceOfProviderOutput(value) {
28
+ return true;
29
+ }
30
+ function ProviderOutputFromJSON(json) {
31
+ return ProviderOutputFromJSONTyped(json, false);
32
+ }
33
+ function ProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'italySpid': json['italy-spid'] == null ? undefined : (0, SpidProviderOutput_1.SpidProviderOutputFromJSON)(json['italy-spid']),
39
+ 'mexicoCurpLookup': json['mexico-curp-lookup'] == null ? undefined : (0, MexicoCurpProviderOutput_1.MexicoCurpProviderOutputFromJSON)(json['mexico-curp-lookup']),
40
+ 'ethiopiaFayda': json['ethiopia-fayda'] == null ? undefined : (0, FaydaProviderOutput_1.FaydaProviderOutputFromJSON)(json['ethiopia-fayda']),
41
+ };
42
+ }
43
+ function ProviderOutputToJSON(json) {
44
+ return ProviderOutputToJSONTyped(json, false);
45
+ }
46
+ function ProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'italy-spid': (0, SpidProviderOutput_1.SpidProviderOutputToJSON)(value['italySpid']),
52
+ 'mexico-curp-lookup': (0, MexicoCurpProviderOutput_1.MexicoCurpProviderOutputToJSON)(value['mexicoCurpLookup']),
53
+ 'ethiopia-fayda': (0, FaydaProviderOutput_1.FaydaProviderOutputToJSON)(value['ethiopiaFayda']),
54
+ };
55
+ }
@@ -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.
@@ -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
  }