@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,32 @@
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 KenyaNidLookup2Input
16
+ */
17
+ export interface KenyaNidLookup2Input {
18
+ /**
19
+ * The user's National ID number
20
+ * @type {string}
21
+ * @memberof KenyaNidLookup2Input
22
+ */
23
+ idNumber?: string | null;
24
+ }
25
+ /**
26
+ * Check if a given object implements the KenyaNidLookup2Input interface.
27
+ */
28
+ export declare function instanceOfKenyaNidLookup2Input(value: object): value is KenyaNidLookup2Input;
29
+ export declare function KenyaNidLookup2InputFromJSON(json: any): KenyaNidLookup2Input;
30
+ export declare function KenyaNidLookup2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): KenyaNidLookup2Input;
31
+ export declare function KenyaNidLookup2InputToJSON(json: any): KenyaNidLookup2Input;
32
+ export declare function KenyaNidLookup2InputToJSONTyped(value?: KenyaNidLookup2Input | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,41 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the KenyaNidLookup2Input interface.
16
+ */
17
+ export function instanceOfKenyaNidLookup2Input(value) {
18
+ return true;
19
+ }
20
+ export function KenyaNidLookup2InputFromJSON(json) {
21
+ return KenyaNidLookup2InputFromJSONTyped(json, false);
22
+ }
23
+ export function KenyaNidLookup2InputFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
29
+ };
30
+ }
31
+ export function KenyaNidLookup2InputToJSON(json) {
32
+ return KenyaNidLookup2InputToJSONTyped(json, false);
33
+ }
34
+ export function KenyaNidLookup2InputToJSONTyped(value, ignoreDiscriminator = false) {
35
+ if (value == null) {
36
+ return value;
37
+ }
38
+ return {
39
+ 'idNumber': value['idNumber'],
40
+ };
41
+ }
@@ -0,0 +1,63 @@
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 { SexV1 } from './SexV1';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface KenyaNidMatch2Input
17
+ */
18
+ export interface KenyaNidMatch2Input {
19
+ /**
20
+ * The user's Kenyan National ID number
21
+ * @type {string}
22
+ * @memberof KenyaNidMatch2Input
23
+ */
24
+ idNumber?: string | null;
25
+ /**
26
+ * The user's first name as it appears in their National ID
27
+ * @type {string}
28
+ * @memberof KenyaNidMatch2Input
29
+ */
30
+ givenName?: string | null;
31
+ /**
32
+ * The user's last name as it appears in their National ID
33
+ * @type {string}
34
+ * @memberof KenyaNidMatch2Input
35
+ */
36
+ familyName?: string | null;
37
+ /**
38
+ * The user's middle name as it appears in their National ID (optional)
39
+ * @type {string}
40
+ * @memberof KenyaNidMatch2Input
41
+ */
42
+ middleName?: string | null;
43
+ /**
44
+ * The user's date of birth, in `YYYY-MM-DD` format
45
+ * @type {Date}
46
+ * @memberof KenyaNidMatch2Input
47
+ */
48
+ dateOfBirth?: Date | null;
49
+ /**
50
+ * The user's sex as it appears in their National ID
51
+ * @type {SexV1}
52
+ * @memberof KenyaNidMatch2Input
53
+ */
54
+ sex?: SexV1 | null;
55
+ }
56
+ /**
57
+ * Check if a given object implements the KenyaNidMatch2Input interface.
58
+ */
59
+ export declare function instanceOfKenyaNidMatch2Input(value: object): value is KenyaNidMatch2Input;
60
+ export declare function KenyaNidMatch2InputFromJSON(json: any): KenyaNidMatch2Input;
61
+ export declare function KenyaNidMatch2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): KenyaNidMatch2Input;
62
+ export declare function KenyaNidMatch2InputToJSON(json: any): KenyaNidMatch2Input;
63
+ export declare function KenyaNidMatch2InputToJSONTyped(value?: KenyaNidMatch2Input | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SexV1FromJSON, SexV1ToJSON, } from './SexV1';
15
+ /**
16
+ * Check if a given object implements the KenyaNidMatch2Input interface.
17
+ */
18
+ export function instanceOfKenyaNidMatch2Input(value) {
19
+ return true;
20
+ }
21
+ export function KenyaNidMatch2InputFromJSON(json) {
22
+ return KenyaNidMatch2InputFromJSONTyped(json, false);
23
+ }
24
+ export function KenyaNidMatch2InputFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
30
+ 'givenName': json['givenName'] == null ? undefined : json['givenName'],
31
+ 'familyName': json['familyName'] == null ? undefined : json['familyName'],
32
+ 'middleName': json['middleName'] == null ? undefined : json['middleName'],
33
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
34
+ 'sex': json['sex'] == null ? undefined : SexV1FromJSON(json['sex']),
35
+ };
36
+ }
37
+ export function KenyaNidMatch2InputToJSON(json) {
38
+ return KenyaNidMatch2InputToJSONTyped(json, false);
39
+ }
40
+ export function KenyaNidMatch2InputToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'idNumber': value['idNumber'],
46
+ 'givenName': value['givenName'],
47
+ 'familyName': value['familyName'],
48
+ 'middleName': value['middleName'],
49
+ 'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
50
+ 'sex': SexV1ToJSON(value['sex']),
51
+ };
52
+ }
@@ -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,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { RedirectUriResponseFromJSON, RedirectUriResponseToJSON, } from './RedirectUriResponse';
15
+ /**
16
+ * Check if a given object implements the ListEnvironmentRedirectUrisResponse interface.
17
+ */
18
+ export function instanceOfListEnvironmentRedirectUrisResponse(value) {
19
+ if (!('uris' in value) || value['uris'] === undefined)
20
+ return false;
21
+ if (!('more' in value) || value['more'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ export function ListEnvironmentRedirectUrisResponseFromJSON(json) {
26
+ return ListEnvironmentRedirectUrisResponseFromJSONTyped(json, false);
27
+ }
28
+ export function ListEnvironmentRedirectUrisResponseFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'uris': (json['uris'].map(RedirectUriResponseFromJSON)),
34
+ 'more': json['more'],
35
+ };
36
+ }
37
+ export function ListEnvironmentRedirectUrisResponseToJSON(json) {
38
+ return ListEnvironmentRedirectUrisResponseToJSONTyped(json, false);
39
+ }
40
+ export function ListEnvironmentRedirectUrisResponseToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'uris': (value['uris'].map(RedirectUriResponseToJSON)),
46
+ 'more': value['more'],
47
+ };
48
+ }
@@ -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,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { VerificationProfileResponseFromJSON, VerificationProfileResponseToJSON, } from './VerificationProfileResponse';
15
+ /**
16
+ * Check if a given object implements the ListVerificationProfilesResponse interface.
17
+ */
18
+ export function instanceOfListVerificationProfilesResponse(value) {
19
+ if (!('verificationProfiles' in value) || value['verificationProfiles'] === undefined)
20
+ return false;
21
+ if (!('more' in value) || value['more'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ export function ListVerificationProfilesResponseFromJSON(json) {
26
+ return ListVerificationProfilesResponseFromJSONTyped(json, false);
27
+ }
28
+ export function ListVerificationProfilesResponseFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'verificationProfiles': (json['verificationProfiles'].map(VerificationProfileResponseFromJSON)),
34
+ 'more': json['more'],
35
+ };
36
+ }
37
+ export function ListVerificationProfilesResponseToJSON(json) {
38
+ return ListVerificationProfilesResponseToJSONTyped(json, false);
39
+ }
40
+ export function ListVerificationProfilesResponseToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'verificationProfiles': (value['verificationProfiles'].map(VerificationProfileResponseToJSON)),
46
+ 'more': value['more'],
47
+ };
48
+ }
@@ -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,41 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the MexicoCurpProviderOutput interface.
16
+ */
17
+ export function instanceOfMexicoCurpProviderOutput(value) {
18
+ return true;
19
+ }
20
+ export function MexicoCurpProviderOutputFromJSON(json) {
21
+ return MexicoCurpProviderOutputFromJSONTyped(json, false);
22
+ }
23
+ export function MexicoCurpProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'curpStatus': json['curpStatus'] == null ? undefined : json['curpStatus'],
29
+ };
30
+ }
31
+ export function MexicoCurpProviderOutputToJSON(json) {
32
+ return MexicoCurpProviderOutputToJSONTyped(json, false);
33
+ }
34
+ export function MexicoCurpProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
35
+ if (value == null) {
36
+ return value;
37
+ }
38
+ return {
39
+ 'curpStatus': value['curpStatus'],
40
+ };
41
+ }
@@ -52,7 +52,7 @@ export interface NigeriaNinInput {
52
52
  */
53
53
  gender?: string | null;
54
54
  /**
55
- * The user's South African National ID number
55
+ * The user's National ID number
56
56
  * @type {string}
57
57
  * @memberof NigeriaNinInput
58
58
  */
@@ -0,0 +1,32 @@
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 PhilippinesDigitalNidProviderOutput
16
+ */
17
+ export interface PhilippinesDigitalNidProviderOutput {
18
+ /**
19
+ * The PhilSys card number.
20
+ * @type {string}
21
+ * @memberof PhilippinesDigitalNidProviderOutput
22
+ */
23
+ philsysCardNumber: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PhilippinesDigitalNidProviderOutput interface.
27
+ */
28
+ export declare function instanceOfPhilippinesDigitalNidProviderOutput(value: object): value is PhilippinesDigitalNidProviderOutput;
29
+ export declare function PhilippinesDigitalNidProviderOutputFromJSON(json: any): PhilippinesDigitalNidProviderOutput;
30
+ export declare function PhilippinesDigitalNidProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhilippinesDigitalNidProviderOutput;
31
+ export declare function PhilippinesDigitalNidProviderOutputToJSON(json: any): PhilippinesDigitalNidProviderOutput;
32
+ export declare function PhilippinesDigitalNidProviderOutputToJSONTyped(value?: PhilippinesDigitalNidProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PhilippinesDigitalNidProviderOutput interface.
16
+ */
17
+ export function instanceOfPhilippinesDigitalNidProviderOutput(value) {
18
+ if (!('philsysCardNumber' in value) || value['philsysCardNumber'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function PhilippinesDigitalNidProviderOutputFromJSON(json) {
23
+ return PhilippinesDigitalNidProviderOutputFromJSONTyped(json, false);
24
+ }
25
+ export function PhilippinesDigitalNidProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'philsysCardNumber': json['philsysCardNumber'],
31
+ };
32
+ }
33
+ export function PhilippinesDigitalNidProviderOutputToJSON(json) {
34
+ return PhilippinesDigitalNidProviderOutputToJSONTyped(json, false);
35
+ }
36
+ export function PhilippinesDigitalNidProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'philsysCardNumber': value['philsysCardNumber'],
42
+ };
43
+ }
@@ -0,0 +1,32 @@
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 PhilippinesPhysicalNidProviderOutput
16
+ */
17
+ export interface PhilippinesPhysicalNidProviderOutput {
18
+ /**
19
+ * The PhilSys card number.
20
+ * @type {string}
21
+ * @memberof PhilippinesPhysicalNidProviderOutput
22
+ */
23
+ philsysCardNumber: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PhilippinesPhysicalNidProviderOutput interface.
27
+ */
28
+ export declare function instanceOfPhilippinesPhysicalNidProviderOutput(value: object): value is PhilippinesPhysicalNidProviderOutput;
29
+ export declare function PhilippinesPhysicalNidProviderOutputFromJSON(json: any): PhilippinesPhysicalNidProviderOutput;
30
+ export declare function PhilippinesPhysicalNidProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhilippinesPhysicalNidProviderOutput;
31
+ export declare function PhilippinesPhysicalNidProviderOutputToJSON(json: any): PhilippinesPhysicalNidProviderOutput;
32
+ export declare function PhilippinesPhysicalNidProviderOutputToJSONTyped(value?: PhilippinesPhysicalNidProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PhilippinesPhysicalNidProviderOutput interface.
16
+ */
17
+ export function instanceOfPhilippinesPhysicalNidProviderOutput(value) {
18
+ if (!('philsysCardNumber' in value) || value['philsysCardNumber'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function PhilippinesPhysicalNidProviderOutputFromJSON(json) {
23
+ return PhilippinesPhysicalNidProviderOutputFromJSONTyped(json, false);
24
+ }
25
+ export function PhilippinesPhysicalNidProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'philsysCardNumber': json['philsysCardNumber'],
31
+ };
32
+ }
33
+ export function PhilippinesPhysicalNidProviderOutputToJSON(json) {
34
+ return PhilippinesPhysicalNidProviderOutputToJSONTyped(json, false);
35
+ }
36
+ export function PhilippinesPhysicalNidProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'philsysCardNumber': value['philsysCardNumber'],
42
+ };
43
+ }
@@ -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
  *
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { ContractIdentifierFieldFromJSON, ContractIdentifierFieldToJSON, } from './ContractIdentifierField';
14
15
  import { ContractFieldFromJSON, ContractFieldToJSON, } from './ContractField';
15
16
  import { ProviderHealthFromJSON, ProviderHealthToJSON, } from './ProviderHealth';
16
17
  import { SubProviderMetadataFromJSON, SubProviderMetadataToJSON, } from './SubProviderMetadata';
@@ -81,6 +82,7 @@ export function ProviderContractFromJSONTyped(json, ignoreDiscriminator) {
81
82
  'supportsAdvancedProviderSessions': json['supportsAdvancedProviderSessions'],
82
83
  'supportsDirectProviderSessions': json['supportsDirectProviderSessions'],
83
84
  'availableFields': json['availableFields'] == null ? undefined : (json['availableFields'].map(ContractFieldFromJSON)),
85
+ 'availableIdentifiers': json['availableIdentifiers'] == null ? undefined : (json['availableIdentifiers'].map(ContractIdentifierFieldFromJSON)),
84
86
  'subProviders': json['subProviders'] == null ? undefined : (json['subProviders'].map(SubProviderMetadataFromJSON)),
85
87
  'health': ProviderHealthFromJSON(json['health']),
86
88
  };
@@ -110,6 +112,7 @@ export function ProviderContractToJSONTyped(value, ignoreDiscriminator = false)
110
112
  'supportsAdvancedProviderSessions': value['supportsAdvancedProviderSessions'],
111
113
  'supportsDirectProviderSessions': value['supportsDirectProviderSessions'],
112
114
  'availableFields': value['availableFields'] == null ? undefined : (value['availableFields'].map(ContractFieldToJSON)),
115
+ 'availableIdentifiers': value['availableIdentifiers'] == null ? undefined : (value['availableIdentifiers'].map(ContractIdentifierFieldToJSON)),
113
116
  'subProviders': value['subProviders'] == null ? undefined : (value['subProviders'].map(SubProviderMetadataToJSON)),
114
117
  'health': ProviderHealthToJSON(value['health']),
115
118
  };