@trinsic/api 2.2.0 → 2.3.0-alpha2

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 (166) hide show
  1. package/.openapi-generator/FILES +23 -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/AttachmentAccessKeys.d.ts +6 -0
  17. package/dist/esm/models/AttachmentAccessKeys.js +2 -0
  18. package/dist/esm/models/ContractField.d.ts +7 -0
  19. package/dist/esm/models/ContractField.js +4 -0
  20. package/dist/esm/models/ContractIdentifierField.d.ts +45 -0
  21. package/dist/esm/models/ContractIdentifierField.js +52 -0
  22. package/dist/esm/models/CreateVerificationProfileResponse.d.ts +32 -0
  23. package/dist/esm/models/CreateVerificationProfileResponse.js +43 -0
  24. package/dist/esm/models/EnvironmentRedirectUrisAddRequest.d.ts +32 -0
  25. package/dist/esm/models/EnvironmentRedirectUrisAddRequest.js +43 -0
  26. package/dist/esm/models/FaydaProviderOutput.d.ts +35 -0
  27. package/dist/esm/models/FaydaProviderOutput.js +41 -0
  28. package/dist/esm/models/Identifier.d.ts +44 -0
  29. package/dist/esm/models/Identifier.js +51 -0
  30. package/dist/esm/models/IdentityData.d.ts +14 -0
  31. package/dist/esm/models/IdentityData.js +8 -0
  32. package/dist/esm/models/KenyaNidBiometric2Input.d.ts +47 -0
  33. package/dist/esm/models/KenyaNidBiometric2Input.js +45 -0
  34. package/dist/esm/models/KenyaNidInput.d.ts +1 -1
  35. package/dist/esm/models/KenyaNidLookup2Input.d.ts +32 -0
  36. package/dist/esm/models/KenyaNidLookup2Input.js +41 -0
  37. package/dist/esm/models/KenyaNidMatch2Input.d.ts +63 -0
  38. package/dist/esm/models/KenyaNidMatch2Input.js +52 -0
  39. package/dist/esm/models/ListEnvironmentRedirectUrisResponse.d.ts +39 -0
  40. package/dist/esm/models/ListEnvironmentRedirectUrisResponse.js +48 -0
  41. package/dist/esm/models/ListVerificationProfilesResponse.d.ts +39 -0
  42. package/dist/esm/models/ListVerificationProfilesResponse.js +48 -0
  43. package/dist/esm/models/MexicoCurpProviderOutput.d.ts +44 -0
  44. package/dist/esm/models/MexicoCurpProviderOutput.js +41 -0
  45. package/dist/esm/models/NigeriaNinInput.d.ts +1 -1
  46. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +32 -0
  47. package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +43 -0
  48. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +32 -0
  49. package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +43 -0
  50. package/dist/esm/models/ProviderContract.d.ts +7 -0
  51. package/dist/esm/models/ProviderContract.js +3 -0
  52. package/dist/esm/models/ProviderInput.d.ts +28 -0
  53. package/dist/esm/models/ProviderInput.js +12 -0
  54. package/dist/esm/models/ProviderOutput.d.ts +61 -0
  55. package/dist/esm/models/ProviderOutput.js +54 -0
  56. package/dist/esm/models/RedirectUriResponse.d.ts +38 -0
  57. package/dist/esm/models/RedirectUriResponse.js +47 -0
  58. package/dist/esm/models/SexV1.d.ts +27 -0
  59. package/dist/esm/models/SexV1.js +45 -0
  60. package/dist/esm/models/SouthAfricaNidInput.d.ts +1 -1
  61. package/dist/esm/models/SouthAfricaNidLookup2Input.d.ts +32 -0
  62. package/dist/esm/models/SouthAfricaNidLookup2Input.js +41 -0
  63. package/dist/esm/models/SpidBillingInformation.d.ts +48 -0
  64. package/dist/esm/models/SpidBillingInformation.js +51 -0
  65. package/dist/esm/models/SpidInput.d.ts +11 -0
  66. package/dist/esm/models/SpidInput.js +2 -0
  67. package/dist/esm/models/SpidProviderOutput.d.ts +124 -0
  68. package/dist/esm/models/SpidProviderOutput.js +72 -0
  69. package/dist/esm/models/VerificationProfileResponse.d.ts +62 -0
  70. package/dist/esm/models/VerificationProfileResponse.js +63 -0
  71. package/dist/esm/models/index.d.ts +21 -0
  72. package/dist/esm/models/index.js +21 -0
  73. package/dist/models/AddRedirectUriResponse.d.ts +32 -0
  74. package/dist/models/AddRedirectUriResponse.js +50 -0
  75. package/dist/models/AttachmentAccessKeys.d.ts +6 -0
  76. package/dist/models/AttachmentAccessKeys.js +2 -0
  77. package/dist/models/ContractField.d.ts +7 -0
  78. package/dist/models/ContractField.js +4 -0
  79. package/dist/models/ContractIdentifierField.d.ts +45 -0
  80. package/dist/models/ContractIdentifierField.js +59 -0
  81. package/dist/models/CreateVerificationProfileResponse.d.ts +32 -0
  82. package/dist/models/CreateVerificationProfileResponse.js +50 -0
  83. package/dist/models/EnvironmentRedirectUrisAddRequest.d.ts +32 -0
  84. package/dist/models/EnvironmentRedirectUrisAddRequest.js +50 -0
  85. package/dist/models/FaydaProviderOutput.d.ts +35 -0
  86. package/dist/models/FaydaProviderOutput.js +48 -0
  87. package/dist/models/Identifier.d.ts +44 -0
  88. package/dist/models/Identifier.js +58 -0
  89. package/dist/models/IdentityData.d.ts +14 -0
  90. package/dist/models/IdentityData.js +8 -0
  91. package/dist/models/KenyaNidBiometric2Input.d.ts +47 -0
  92. package/dist/models/KenyaNidBiometric2Input.js +52 -0
  93. package/dist/models/KenyaNidInput.d.ts +1 -1
  94. package/dist/models/KenyaNidLookup2Input.d.ts +32 -0
  95. package/dist/models/KenyaNidLookup2Input.js +48 -0
  96. package/dist/models/KenyaNidMatch2Input.d.ts +63 -0
  97. package/dist/models/KenyaNidMatch2Input.js +59 -0
  98. package/dist/models/ListEnvironmentRedirectUrisResponse.d.ts +39 -0
  99. package/dist/models/ListEnvironmentRedirectUrisResponse.js +55 -0
  100. package/dist/models/ListVerificationProfilesResponse.d.ts +39 -0
  101. package/dist/models/ListVerificationProfilesResponse.js +55 -0
  102. package/dist/models/MexicoCurpProviderOutput.d.ts +44 -0
  103. package/dist/models/MexicoCurpProviderOutput.js +48 -0
  104. package/dist/models/NigeriaNinInput.d.ts +1 -1
  105. package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +32 -0
  106. package/dist/models/PhilippinesDigitalNidProviderOutput.js +50 -0
  107. package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +32 -0
  108. package/dist/models/PhilippinesPhysicalNidProviderOutput.js +50 -0
  109. package/dist/models/ProviderContract.d.ts +7 -0
  110. package/dist/models/ProviderContract.js +3 -0
  111. package/dist/models/ProviderInput.d.ts +28 -0
  112. package/dist/models/ProviderInput.js +12 -0
  113. package/dist/models/ProviderOutput.d.ts +61 -0
  114. package/dist/models/ProviderOutput.js +61 -0
  115. package/dist/models/RedirectUriResponse.d.ts +38 -0
  116. package/dist/models/RedirectUriResponse.js +54 -0
  117. package/dist/models/SexV1.d.ts +27 -0
  118. package/dist/models/SexV1.js +53 -0
  119. package/dist/models/SouthAfricaNidInput.d.ts +1 -1
  120. package/dist/models/SouthAfricaNidLookup2Input.d.ts +32 -0
  121. package/dist/models/SouthAfricaNidLookup2Input.js +48 -0
  122. package/dist/models/SpidBillingInformation.d.ts +48 -0
  123. package/dist/models/SpidBillingInformation.js +58 -0
  124. package/dist/models/SpidInput.d.ts +11 -0
  125. package/dist/models/SpidInput.js +2 -0
  126. package/dist/models/SpidProviderOutput.d.ts +124 -0
  127. package/dist/models/SpidProviderOutput.js +79 -0
  128. package/dist/models/VerificationProfileResponse.d.ts +62 -0
  129. package/dist/models/VerificationProfileResponse.js +70 -0
  130. package/dist/models/index.d.ts +21 -0
  131. package/dist/models/index.js +21 -0
  132. package/package.json +1 -1
  133. package/src/apis/EnvironmentRedirectUrisApi.ts +235 -0
  134. package/src/apis/VerificationProfilesApi.ts +294 -0
  135. package/src/apis/index.ts +2 -0
  136. package/src/models/AddRedirectUriResponse.ts +66 -0
  137. package/src/models/AttachmentAccessKeys.ts +8 -0
  138. package/src/models/ContractField.ts +10 -0
  139. package/src/models/ContractIdentifierField.ts +94 -0
  140. package/src/models/CreateVerificationProfileResponse.ts +66 -0
  141. package/src/models/EnvironmentRedirectUrisAddRequest.ts +66 -0
  142. package/src/models/FaydaProviderOutput.ts +68 -0
  143. package/src/models/Identifier.ts +84 -0
  144. package/src/models/IdentityData.ts +31 -0
  145. package/src/models/KenyaNidBiometric2Input.ts +84 -0
  146. package/src/models/KenyaNidInput.ts +1 -1
  147. package/src/models/KenyaNidLookup2Input.ts +65 -0
  148. package/src/models/KenyaNidMatch2Input.ts +115 -0
  149. package/src/models/ListEnvironmentRedirectUrisResponse.ts +83 -0
  150. package/src/models/ListVerificationProfilesResponse.ts +83 -0
  151. package/src/models/MexicoCurpProviderOutput.ts +77 -0
  152. package/src/models/NigeriaNinInput.ts +1 -1
  153. package/src/models/PhilippinesDigitalNidProviderOutput.ts +66 -0
  154. package/src/models/PhilippinesPhysicalNidProviderOutput.ts +66 -0
  155. package/src/models/ProviderContract.ts +15 -0
  156. package/src/models/ProviderInput.ts +60 -0
  157. package/src/models/ProviderOutput.ts +133 -0
  158. package/src/models/RedirectUriResponse.ts +75 -0
  159. package/src/models/SexV1.ts +55 -0
  160. package/src/models/SouthAfricaNidInput.ts +1 -1
  161. package/src/models/SouthAfricaNidLookup2Input.ts +65 -0
  162. package/src/models/SpidBillingInformation.ts +88 -0
  163. package/src/models/SpidInput.ts +13 -0
  164. package/src/models/SpidProviderOutput.ts +192 -0
  165. package/src/models/VerificationProfileResponse.ts +111 -0
  166. package/src/models/index.ts +21 -0
@@ -0,0 +1,115 @@
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 { SexV1 } from './SexV1';
17
+ import {
18
+ SexV1FromJSON,
19
+ SexV1FromJSONTyped,
20
+ SexV1ToJSON,
21
+ SexV1ToJSONTyped,
22
+ } from './SexV1';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface KenyaNidMatch2Input
28
+ */
29
+ export interface KenyaNidMatch2Input {
30
+ /**
31
+ * The user's Kenyan National ID number
32
+ * @type {string}
33
+ * @memberof KenyaNidMatch2Input
34
+ */
35
+ idNumber?: string | null;
36
+ /**
37
+ * The user's first name as it appears in their National ID
38
+ * @type {string}
39
+ * @memberof KenyaNidMatch2Input
40
+ */
41
+ givenName?: string | null;
42
+ /**
43
+ * The user's last name as it appears in their National ID
44
+ * @type {string}
45
+ * @memberof KenyaNidMatch2Input
46
+ */
47
+ familyName?: string | null;
48
+ /**
49
+ * The user's middle name as it appears in their National ID (optional)
50
+ * @type {string}
51
+ * @memberof KenyaNidMatch2Input
52
+ */
53
+ middleName?: string | null;
54
+ /**
55
+ * The user's date of birth, in `YYYY-MM-DD` format
56
+ * @type {Date}
57
+ * @memberof KenyaNidMatch2Input
58
+ */
59
+ dateOfBirth?: Date | null;
60
+ /**
61
+ * The user's sex as it appears in their National ID
62
+ * @type {SexV1}
63
+ * @memberof KenyaNidMatch2Input
64
+ */
65
+ sex?: SexV1 | null;
66
+ }
67
+
68
+
69
+
70
+ /**
71
+ * Check if a given object implements the KenyaNidMatch2Input interface.
72
+ */
73
+ export function instanceOfKenyaNidMatch2Input(value: object): value is KenyaNidMatch2Input {
74
+ return true;
75
+ }
76
+
77
+ export function KenyaNidMatch2InputFromJSON(json: any): KenyaNidMatch2Input {
78
+ return KenyaNidMatch2InputFromJSONTyped(json, false);
79
+ }
80
+
81
+ export function KenyaNidMatch2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): KenyaNidMatch2Input {
82
+ if (json == null) {
83
+ return json;
84
+ }
85
+ return {
86
+
87
+ 'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
88
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
89
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
90
+ 'middleName': json['middleName'] == null ? undefined : json['middleName'],
91
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
92
+ 'sex': json['sex'] == null ? undefined : SexV1FromJSON(json['sex']),
93
+ };
94
+ }
95
+
96
+ export function KenyaNidMatch2InputToJSON(json: any): KenyaNidMatch2Input {
97
+ return KenyaNidMatch2InputToJSONTyped(json, false);
98
+ }
99
+
100
+ export function KenyaNidMatch2InputToJSONTyped(value?: KenyaNidMatch2Input | null, ignoreDiscriminator: boolean = false): any {
101
+ if (value == null) {
102
+ return value;
103
+ }
104
+
105
+ return {
106
+
107
+ 'idNumber': value['idNumber'],
108
+ 'givenName': value['givenName'],
109
+ 'familyName': value['familyName'],
110
+ 'middleName': value['middleName'],
111
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
112
+ 'sex': SexV1ToJSON(value['sex']),
113
+ };
114
+ }
115
+
@@ -0,0 +1,83 @@
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 { RedirectUriResponse } from './RedirectUriResponse';
17
+ import {
18
+ RedirectUriResponseFromJSON,
19
+ RedirectUriResponseFromJSONTyped,
20
+ RedirectUriResponseToJSON,
21
+ RedirectUriResponseToJSONTyped,
22
+ } from './RedirectUriResponse';
23
+
24
+ /**
25
+ * Response from listing redirect URIs within an environment.
26
+ * @export
27
+ * @interface ListEnvironmentRedirectUrisResponse
28
+ */
29
+ export interface ListEnvironmentRedirectUrisResponse {
30
+ /**
31
+ * List of redirect uris within the environment.
32
+ * @type {Array<RedirectUriResponse>}
33
+ * @memberof ListEnvironmentRedirectUrisResponse
34
+ */
35
+ uris: Array<RedirectUriResponse>;
36
+ /**
37
+ * Whether there are additional pages of uris to retrieve
38
+ * @type {boolean}
39
+ * @memberof ListEnvironmentRedirectUrisResponse
40
+ */
41
+ more: boolean;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the ListEnvironmentRedirectUrisResponse interface.
46
+ */
47
+ export function instanceOfListEnvironmentRedirectUrisResponse(value: object): value is ListEnvironmentRedirectUrisResponse {
48
+ if (!('uris' in value) || value['uris'] === undefined) return false;
49
+ if (!('more' in value) || value['more'] === undefined) return false;
50
+ return true;
51
+ }
52
+
53
+ export function ListEnvironmentRedirectUrisResponseFromJSON(json: any): ListEnvironmentRedirectUrisResponse {
54
+ return ListEnvironmentRedirectUrisResponseFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function ListEnvironmentRedirectUrisResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListEnvironmentRedirectUrisResponse {
58
+ if (json == null) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'uris': ((json['uris'] as Array<any>).map(RedirectUriResponseFromJSON)),
64
+ 'more': json['more'],
65
+ };
66
+ }
67
+
68
+ export function ListEnvironmentRedirectUrisResponseToJSON(json: any): ListEnvironmentRedirectUrisResponse {
69
+ return ListEnvironmentRedirectUrisResponseToJSONTyped(json, false);
70
+ }
71
+
72
+ export function ListEnvironmentRedirectUrisResponseToJSONTyped(value?: ListEnvironmentRedirectUrisResponse | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'uris': ((value['uris'] as Array<any>).map(RedirectUriResponseToJSON)),
80
+ 'more': value['more'],
81
+ };
82
+ }
83
+
@@ -0,0 +1,83 @@
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 { VerificationProfileResponse } from './VerificationProfileResponse';
17
+ import {
18
+ VerificationProfileResponseFromJSON,
19
+ VerificationProfileResponseFromJSONTyped,
20
+ VerificationProfileResponseToJSON,
21
+ VerificationProfileResponseToJSONTyped,
22
+ } from './VerificationProfileResponse';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ListVerificationProfilesResponse
28
+ */
29
+ export interface ListVerificationProfilesResponse {
30
+ /**
31
+ *
32
+ * @type {Array<VerificationProfileResponse>}
33
+ * @memberof ListVerificationProfilesResponse
34
+ */
35
+ verificationProfiles: Array<VerificationProfileResponse>;
36
+ /**
37
+ * Whether there are additional pages of verification profiles to retrieve
38
+ * @type {boolean}
39
+ * @memberof ListVerificationProfilesResponse
40
+ */
41
+ more: boolean;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the ListVerificationProfilesResponse interface.
46
+ */
47
+ export function instanceOfListVerificationProfilesResponse(value: object): value is ListVerificationProfilesResponse {
48
+ if (!('verificationProfiles' in value) || value['verificationProfiles'] === undefined) return false;
49
+ if (!('more' in value) || value['more'] === undefined) return false;
50
+ return true;
51
+ }
52
+
53
+ export function ListVerificationProfilesResponseFromJSON(json: any): ListVerificationProfilesResponse {
54
+ return ListVerificationProfilesResponseFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function ListVerificationProfilesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListVerificationProfilesResponse {
58
+ if (json == null) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'verificationProfiles': ((json['verificationProfiles'] as Array<any>).map(VerificationProfileResponseFromJSON)),
64
+ 'more': json['more'],
65
+ };
66
+ }
67
+
68
+ export function ListVerificationProfilesResponseToJSON(json: any): ListVerificationProfilesResponse {
69
+ return ListVerificationProfilesResponseToJSONTyped(json, false);
70
+ }
71
+
72
+ export function ListVerificationProfilesResponseToJSONTyped(value?: ListVerificationProfilesResponse | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'verificationProfiles': ((value['verificationProfiles'] as Array<any>).map(VerificationProfileResponseToJSON)),
80
+ 'more': value['more'],
81
+ };
82
+ }
83
+
@@ -0,0 +1,77 @@
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 MexicoCurpProviderOutput
20
+ */
21
+ export interface MexicoCurpProviderOutput {
22
+ /**
23
+ * Curp status for the subject.
24
+ *
25
+ * Possible values:
26
+ * - AN: Alta Normal (Normal registration) - Active
27
+ * - AH: Alta con Homonimia (Registration with homonymy) - Active
28
+ * - RCC: Registro de cambio afectando a CURP (Change affecting CURP) - Active
29
+ * - RCN: Registro de cambio no afectando a CURP (Change not affecting CURP) - Active
30
+ * - BAP: Baja por documento apócrifo (Low due to apocryphal document) - Inactive
31
+ * - BSU: Baja sin uso (Low curp without use) - Inactive
32
+ * - BD: Baja por defunción (Low curp due to death) - Inactive
33
+ * - BDM: Baja administrativa (Low, due to administrative process) - Inactive
34
+ * - BDP: Baja por adopción (Low, due to adoption) - Inactive
35
+ * - BJD: Baja Judicial (Low for judicial reasons) - Inactive
36
+ * @type {string}
37
+ * @memberof MexicoCurpProviderOutput
38
+ */
39
+ curpStatus?: string | null;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the MexicoCurpProviderOutput interface.
44
+ */
45
+ export function instanceOfMexicoCurpProviderOutput(value: object): value is MexicoCurpProviderOutput {
46
+ return true;
47
+ }
48
+
49
+ export function MexicoCurpProviderOutputFromJSON(json: any): MexicoCurpProviderOutput {
50
+ return MexicoCurpProviderOutputFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function MexicoCurpProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MexicoCurpProviderOutput {
54
+ if (json == null) {
55
+ return json;
56
+ }
57
+ return {
58
+
59
+ 'curpStatus': json['curpStatus'] == null ? undefined : json['curpStatus'],
60
+ };
61
+ }
62
+
63
+ export function MexicoCurpProviderOutputToJSON(json: any): MexicoCurpProviderOutput {
64
+ return MexicoCurpProviderOutputToJSONTyped(json, false);
65
+ }
66
+
67
+ export function MexicoCurpProviderOutputToJSONTyped(value?: MexicoCurpProviderOutput | null, ignoreDiscriminator: boolean = false): any {
68
+ if (value == null) {
69
+ return value;
70
+ }
71
+
72
+ return {
73
+
74
+ 'curpStatus': value['curpStatus'],
75
+ };
76
+ }
77
+
@@ -56,7 +56,7 @@ export interface NigeriaNinInput {
56
56
  */
57
57
  gender?: string | null;
58
58
  /**
59
- * The user's South African National ID number
59
+ * The user's National ID number
60
60
  * @type {string}
61
61
  * @memberof NigeriaNinInput
62
62
  */
@@ -0,0 +1,66 @@
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 PhilippinesDigitalNidProviderOutput
20
+ */
21
+ export interface PhilippinesDigitalNidProviderOutput {
22
+ /**
23
+ * The PhilSys card number.
24
+ * @type {string}
25
+ * @memberof PhilippinesDigitalNidProviderOutput
26
+ */
27
+ philsysCardNumber: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the PhilippinesDigitalNidProviderOutput interface.
32
+ */
33
+ export function instanceOfPhilippinesDigitalNidProviderOutput(value: object): value is PhilippinesDigitalNidProviderOutput {
34
+ if (!('philsysCardNumber' in value) || value['philsysCardNumber'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function PhilippinesDigitalNidProviderOutputFromJSON(json: any): PhilippinesDigitalNidProviderOutput {
39
+ return PhilippinesDigitalNidProviderOutputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function PhilippinesDigitalNidProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhilippinesDigitalNidProviderOutput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'philsysCardNumber': json['philsysCardNumber'],
49
+ };
50
+ }
51
+
52
+ export function PhilippinesDigitalNidProviderOutputToJSON(json: any): PhilippinesDigitalNidProviderOutput {
53
+ return PhilippinesDigitalNidProviderOutputToJSONTyped(json, false);
54
+ }
55
+
56
+ export function PhilippinesDigitalNidProviderOutputToJSONTyped(value?: PhilippinesDigitalNidProviderOutput | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'philsysCardNumber': value['philsysCardNumber'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,66 @@
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 PhilippinesPhysicalNidProviderOutput
20
+ */
21
+ export interface PhilippinesPhysicalNidProviderOutput {
22
+ /**
23
+ * The PhilSys card number.
24
+ * @type {string}
25
+ * @memberof PhilippinesPhysicalNidProviderOutput
26
+ */
27
+ philsysCardNumber: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the PhilippinesPhysicalNidProviderOutput interface.
32
+ */
33
+ export function instanceOfPhilippinesPhysicalNidProviderOutput(value: object): value is PhilippinesPhysicalNidProviderOutput {
34
+ if (!('philsysCardNumber' in value) || value['philsysCardNumber'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function PhilippinesPhysicalNidProviderOutputFromJSON(json: any): PhilippinesPhysicalNidProviderOutput {
39
+ return PhilippinesPhysicalNidProviderOutputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function PhilippinesPhysicalNidProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhilippinesPhysicalNidProviderOutput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'philsysCardNumber': json['philsysCardNumber'],
49
+ };
50
+ }
51
+
52
+ export function PhilippinesPhysicalNidProviderOutputToJSON(json: any): PhilippinesPhysicalNidProviderOutput {
53
+ return PhilippinesPhysicalNidProviderOutputToJSONTyped(json, false);
54
+ }
55
+
56
+ export function PhilippinesPhysicalNidProviderOutputToJSONTyped(value?: PhilippinesPhysicalNidProviderOutput | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'philsysCardNumber': value['philsysCardNumber'],
64
+ };
65
+ }
66
+
@@ -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
  };
@@ -83,6 +83,13 @@ import {
83
83
  BangladeshNidInputToJSON,
84
84
  BangladeshNidInputToJSONTyped,
85
85
  } from './BangladeshNidInput';
86
+ import type { KenyaNidBiometric2Input } from './KenyaNidBiometric2Input';
87
+ import {
88
+ KenyaNidBiometric2InputFromJSON,
89
+ KenyaNidBiometric2InputFromJSONTyped,
90
+ KenyaNidBiometric2InputToJSON,
91
+ KenyaNidBiometric2InputToJSONTyped,
92
+ } from './KenyaNidBiometric2Input';
86
93
  import type { AadhaarInput } from './AadhaarInput';
87
94
  import {
88
95
  AadhaarInputFromJSON,
@@ -118,6 +125,20 @@ import {
118
125
  IndonesiaDukcapilMatchInputToJSON,
119
126
  IndonesiaDukcapilMatchInputToJSONTyped,
120
127
  } from './IndonesiaDukcapilMatchInput';
128
+ import type { KenyaNidLookup2Input } from './KenyaNidLookup2Input';
129
+ import {
130
+ KenyaNidLookup2InputFromJSON,
131
+ KenyaNidLookup2InputFromJSONTyped,
132
+ KenyaNidLookup2InputToJSON,
133
+ KenyaNidLookup2InputToJSONTyped,
134
+ } from './KenyaNidLookup2Input';
135
+ import type { KenyaNidMatch2Input } from './KenyaNidMatch2Input';
136
+ import {
137
+ KenyaNidMatch2InputFromJSON,
138
+ KenyaNidMatch2InputFromJSONTyped,
139
+ KenyaNidMatch2InputToJSON,
140
+ KenyaNidMatch2InputToJSONTyped,
141
+ } from './KenyaNidMatch2Input';
121
142
  import type { MobileIdInput } from './MobileIdInput';
122
143
  import {
123
144
  MobileIdInputFromJSON,
@@ -139,6 +160,13 @@ import {
139
160
  TrinsicTestDatabaseLookupInputToJSON,
140
161
  TrinsicTestDatabaseLookupInputToJSONTyped,
141
162
  } from './TrinsicTestDatabaseLookupInput';
163
+ import type { SouthAfricaNidLookup2Input } from './SouthAfricaNidLookup2Input';
164
+ import {
165
+ SouthAfricaNidLookup2InputFromJSON,
166
+ SouthAfricaNidLookup2InputFromJSONTyped,
167
+ SouthAfricaNidLookup2InputToJSON,
168
+ SouthAfricaNidLookup2InputToJSONTyped,
169
+ } from './SouthAfricaNidLookup2Input';
142
170
  import type { IndonesiaNikInput } from './IndonesiaNikInput';
143
171
  import {
144
172
  IndonesiaNikInputFromJSON,
@@ -160,6 +188,12 @@ import {
160
188
  * @interface ProviderInput
161
189
  */
162
190
  export interface ProviderInput {
191
+ /**
192
+ * Input for the `kenya-nid-match-biometric-2` provider
193
+ * @type {KenyaNidBiometric2Input}
194
+ * @memberof ProviderInput
195
+ */
196
+ kenyaBiometric2?: KenyaNidBiometric2Input | null;
163
197
  /**
164
198
  * Input for the `indonesia-nik-lookup` provider
165
199
  * @type {IndonesiaNikInput}
@@ -190,6 +224,24 @@ export interface ProviderInput {
190
224
  * @memberof ProviderInput
191
225
  */
192
226
  kenyaNid?: KenyaNidInput | null;
227
+ /**
228
+ * Input for the `kenya-nid-match-2` provider
229
+ * @type {KenyaNidMatch2Input}
230
+ * @memberof ProviderInput
231
+ */
232
+ kenyaNidMatch2?: KenyaNidMatch2Input | null;
233
+ /**
234
+ * Input for the `kenya-nid-lookup-2` provider
235
+ * @type {KenyaNidLookup2Input}
236
+ * @memberof ProviderInput
237
+ */
238
+ kenyaNidLookup2?: KenyaNidLookup2Input | null;
239
+ /**
240
+ * Input for the `south-africa-nid-lookup-2` provider
241
+ * @type {SouthAfricaNidLookup2Input}
242
+ * @memberof ProviderInput
243
+ */
244
+ southAfricaNidLookup2?: SouthAfricaNidLookup2Input | null;
193
245
  /**
194
246
  * Input for the `nigeria-nin-lookup` provider
195
247
  * @type {NigeriaNinInput}
@@ -303,11 +355,15 @@ export function ProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boole
303
355
  }
304
356
  return {
305
357
 
358
+ 'kenyaBiometric2': json['kenyaBiometric2'] == null ? undefined : KenyaNidBiometric2InputFromJSON(json['kenyaBiometric2']),
306
359
  'indonesiaNik': json['indonesiaNik'] == null ? undefined : IndonesiaNikInputFromJSON(json['indonesiaNik']),
307
360
  'indonesiaDukcapilMatch': json['indonesiaDukcapilMatch'] == null ? undefined : IndonesiaDukcapilMatchInputFromJSON(json['indonesiaDukcapilMatch']),
308
361
  'mexicoCurp': json['mexicoCurp'] == null ? undefined : MexicoCurpInputFromJSON(json['mexicoCurp']),
309
362
  'southAfricaNid': json['southAfricaNid'] == null ? undefined : SouthAfricaNidInputFromJSON(json['southAfricaNid']),
310
363
  'kenyaNid': json['kenyaNid'] == null ? undefined : KenyaNidInputFromJSON(json['kenyaNid']),
364
+ 'kenyaNidMatch2': json['kenyaNidMatch2'] == null ? undefined : KenyaNidMatch2InputFromJSON(json['kenyaNidMatch2']),
365
+ 'kenyaNidLookup2': json['kenyaNidLookup2'] == null ? undefined : KenyaNidLookup2InputFromJSON(json['kenyaNidLookup2']),
366
+ 'southAfricaNidLookup2': json['southAfricaNidLookup2'] == null ? undefined : SouthAfricaNidLookup2InputFromJSON(json['southAfricaNidLookup2']),
311
367
  'nigeriaNin': json['nigeriaNin'] == null ? undefined : NigeriaNinInputFromJSON(json['nigeriaNin']),
312
368
  'aadhaar': json['aadhaar'] == null ? undefined : AadhaarInputFromJSON(json['aadhaar']),
313
369
  'bangladeshNationalId': json['bangladeshNationalId'] == null ? undefined : BangladeshNidInputFromJSON(json['bangladeshNationalId']),
@@ -337,11 +393,15 @@ export function ProviderInputToJSONTyped(value?: ProviderInput | null, ignoreDis
337
393
 
338
394
  return {
339
395
 
396
+ 'kenyaBiometric2': KenyaNidBiometric2InputToJSON(value['kenyaBiometric2']),
340
397
  'indonesiaNik': IndonesiaNikInputToJSON(value['indonesiaNik']),
341
398
  'indonesiaDukcapilMatch': IndonesiaDukcapilMatchInputToJSON(value['indonesiaDukcapilMatch']),
342
399
  'mexicoCurp': MexicoCurpInputToJSON(value['mexicoCurp']),
343
400
  'southAfricaNid': SouthAfricaNidInputToJSON(value['southAfricaNid']),
344
401
  'kenyaNid': KenyaNidInputToJSON(value['kenyaNid']),
402
+ 'kenyaNidMatch2': KenyaNidMatch2InputToJSON(value['kenyaNidMatch2']),
403
+ 'kenyaNidLookup2': KenyaNidLookup2InputToJSON(value['kenyaNidLookup2']),
404
+ 'southAfricaNidLookup2': SouthAfricaNidLookup2InputToJSON(value['southAfricaNidLookup2']),
345
405
  'nigeriaNin': NigeriaNinInputToJSON(value['nigeriaNin']),
346
406
  'aadhaar': AadhaarInputToJSON(value['aadhaar']),
347
407
  'bangladeshNationalId': BangladeshNidInputToJSON(value['bangladeshNationalId']),