@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,45 @@
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 { FieldAvailability } from './FieldAvailability';
13
+ /**
14
+ * Information about an identifier a Provider returns in verification results.
15
+ * @export
16
+ * @interface ContractIdentifierField
17
+ */
18
+ export interface ContractIdentifierField {
19
+ /**
20
+ * The scope of the identifier as it appears in verification results.
21
+ * @type {string}
22
+ * @memberof ContractIdentifierField
23
+ */
24
+ scope: string;
25
+ /**
26
+ * Indicates when this field will be present in verification results.
27
+ * @type {FieldAvailability}
28
+ * @memberof ContractIdentifierField
29
+ */
30
+ outputted: FieldAvailability;
31
+ /**
32
+ * A human-readable description of the identifier, written by Trinsic.
33
+ * @type {string}
34
+ * @memberof ContractIdentifierField
35
+ */
36
+ description: string;
37
+ }
38
+ /**
39
+ * Check if a given object implements the ContractIdentifierField interface.
40
+ */
41
+ export declare function instanceOfContractIdentifierField(value: object): value is ContractIdentifierField;
42
+ export declare function ContractIdentifierFieldFromJSON(json: any): ContractIdentifierField;
43
+ export declare function ContractIdentifierFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractIdentifierField;
44
+ export declare function ContractIdentifierFieldToJSON(json: any): ContractIdentifierField;
45
+ export declare function ContractIdentifierFieldToJSONTyped(value?: ContractIdentifierField | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
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.instanceOfContractIdentifierField = instanceOfContractIdentifierField;
17
+ exports.ContractIdentifierFieldFromJSON = ContractIdentifierFieldFromJSON;
18
+ exports.ContractIdentifierFieldFromJSONTyped = ContractIdentifierFieldFromJSONTyped;
19
+ exports.ContractIdentifierFieldToJSON = ContractIdentifierFieldToJSON;
20
+ exports.ContractIdentifierFieldToJSONTyped = ContractIdentifierFieldToJSONTyped;
21
+ const FieldAvailability_1 = require("./FieldAvailability");
22
+ /**
23
+ * Check if a given object implements the ContractIdentifierField interface.
24
+ */
25
+ function instanceOfContractIdentifierField(value) {
26
+ if (!('scope' in value) || value['scope'] === undefined)
27
+ return false;
28
+ if (!('outputted' in value) || value['outputted'] === undefined)
29
+ return false;
30
+ if (!('description' in value) || value['description'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function ContractIdentifierFieldFromJSON(json) {
35
+ return ContractIdentifierFieldFromJSONTyped(json, false);
36
+ }
37
+ function ContractIdentifierFieldFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'scope': json['scope'],
43
+ 'outputted': (0, FieldAvailability_1.FieldAvailabilityFromJSON)(json['outputted']),
44
+ 'description': json['description'],
45
+ };
46
+ }
47
+ function ContractIdentifierFieldToJSON(json) {
48
+ return ContractIdentifierFieldToJSONTyped(json, false);
49
+ }
50
+ function ContractIdentifierFieldToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'scope': value['scope'],
56
+ 'outputted': (0, FieldAvailability_1.FieldAvailabilityToJSON)(value['outputted']),
57
+ 'description': value['description'],
58
+ };
59
+ }
@@ -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 CreateVerificationProfileResponse
16
+ */
17
+ export interface CreateVerificationProfileResponse {
18
+ /**
19
+ * The ID of the verification profile
20
+ * @type {string}
21
+ * @memberof CreateVerificationProfileResponse
22
+ */
23
+ id: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the CreateVerificationProfileResponse interface.
27
+ */
28
+ export declare function instanceOfCreateVerificationProfileResponse(value: object): value is CreateVerificationProfileResponse;
29
+ export declare function CreateVerificationProfileResponseFromJSON(json: any): CreateVerificationProfileResponse;
30
+ export declare function CreateVerificationProfileResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVerificationProfileResponse;
31
+ export declare function CreateVerificationProfileResponseToJSON(json: any): CreateVerificationProfileResponse;
32
+ export declare function CreateVerificationProfileResponseToJSONTyped(value?: CreateVerificationProfileResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfCreateVerificationProfileResponse = instanceOfCreateVerificationProfileResponse;
17
+ exports.CreateVerificationProfileResponseFromJSON = CreateVerificationProfileResponseFromJSON;
18
+ exports.CreateVerificationProfileResponseFromJSONTyped = CreateVerificationProfileResponseFromJSONTyped;
19
+ exports.CreateVerificationProfileResponseToJSON = CreateVerificationProfileResponseToJSON;
20
+ exports.CreateVerificationProfileResponseToJSONTyped = CreateVerificationProfileResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateVerificationProfileResponse interface.
23
+ */
24
+ function instanceOfCreateVerificationProfileResponse(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function CreateVerificationProfileResponseFromJSON(json) {
30
+ return CreateVerificationProfileResponseFromJSONTyped(json, false);
31
+ }
32
+ function CreateVerificationProfileResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'id': json['id'],
38
+ };
39
+ }
40
+ function CreateVerificationProfileResponseToJSON(json) {
41
+ return CreateVerificationProfileResponseToJSONTyped(json, false);
42
+ }
43
+ function CreateVerificationProfileResponseToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'id': value['id'],
49
+ };
50
+ }
@@ -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 EnvironmentRedirectUrisAddRequest
16
+ */
17
+ export interface EnvironmentRedirectUrisAddRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof EnvironmentRedirectUrisAddRequest
22
+ */
23
+ uri: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the EnvironmentRedirectUrisAddRequest interface.
27
+ */
28
+ export declare function instanceOfEnvironmentRedirectUrisAddRequest(value: object): value is EnvironmentRedirectUrisAddRequest;
29
+ export declare function EnvironmentRedirectUrisAddRequestFromJSON(json: any): EnvironmentRedirectUrisAddRequest;
30
+ export declare function EnvironmentRedirectUrisAddRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnvironmentRedirectUrisAddRequest;
31
+ export declare function EnvironmentRedirectUrisAddRequestToJSON(json: any): EnvironmentRedirectUrisAddRequest;
32
+ export declare function EnvironmentRedirectUrisAddRequestToJSONTyped(value?: EnvironmentRedirectUrisAddRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfEnvironmentRedirectUrisAddRequest = instanceOfEnvironmentRedirectUrisAddRequest;
17
+ exports.EnvironmentRedirectUrisAddRequestFromJSON = EnvironmentRedirectUrisAddRequestFromJSON;
18
+ exports.EnvironmentRedirectUrisAddRequestFromJSONTyped = EnvironmentRedirectUrisAddRequestFromJSONTyped;
19
+ exports.EnvironmentRedirectUrisAddRequestToJSON = EnvironmentRedirectUrisAddRequestToJSON;
20
+ exports.EnvironmentRedirectUrisAddRequestToJSONTyped = EnvironmentRedirectUrisAddRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the EnvironmentRedirectUrisAddRequest interface.
23
+ */
24
+ function instanceOfEnvironmentRedirectUrisAddRequest(value) {
25
+ if (!('uri' in value) || value['uri'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function EnvironmentRedirectUrisAddRequestFromJSON(json) {
30
+ return EnvironmentRedirectUrisAddRequestFromJSONTyped(json, false);
31
+ }
32
+ function EnvironmentRedirectUrisAddRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'uri': json['uri'],
38
+ };
39
+ }
40
+ function EnvironmentRedirectUrisAddRequestToJSON(json) {
41
+ return EnvironmentRedirectUrisAddRequestToJSONTyped(json, false);
42
+ }
43
+ function EnvironmentRedirectUrisAddRequestToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'uri': value['uri'],
49
+ };
50
+ }
@@ -0,0 +1,35 @@
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 FaydaProviderOutput
16
+ */
17
+ export interface FaydaProviderOutput {
18
+ /**
19
+ * A unique eKYC identifying token used to match the original eKYC token received from the provider when the user was initially registered.
20
+ *
21
+ * Since Fayda does not return identifying data, it is the responsibility of the relying party to keep the unique user token received from Fayda when
22
+ * the user was initially registered to do a comparison of the subs to verify that it is the same person.
23
+ * @type {string}
24
+ * @memberof FaydaProviderOutput
25
+ */
26
+ sub?: string | null;
27
+ }
28
+ /**
29
+ * Check if a given object implements the FaydaProviderOutput interface.
30
+ */
31
+ export declare function instanceOfFaydaProviderOutput(value: object): value is FaydaProviderOutput;
32
+ export declare function FaydaProviderOutputFromJSON(json: any): FaydaProviderOutput;
33
+ export declare function FaydaProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FaydaProviderOutput;
34
+ export declare function FaydaProviderOutputToJSON(json: any): FaydaProviderOutput;
35
+ export declare function FaydaProviderOutputToJSONTyped(value?: FaydaProviderOutput | 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.instanceOfFaydaProviderOutput = instanceOfFaydaProviderOutput;
17
+ exports.FaydaProviderOutputFromJSON = FaydaProviderOutputFromJSON;
18
+ exports.FaydaProviderOutputFromJSONTyped = FaydaProviderOutputFromJSONTyped;
19
+ exports.FaydaProviderOutputToJSON = FaydaProviderOutputToJSON;
20
+ exports.FaydaProviderOutputToJSONTyped = FaydaProviderOutputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the FaydaProviderOutput interface.
23
+ */
24
+ function instanceOfFaydaProviderOutput(value) {
25
+ return true;
26
+ }
27
+ function FaydaProviderOutputFromJSON(json) {
28
+ return FaydaProviderOutputFromJSONTyped(json, false);
29
+ }
30
+ function FaydaProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'sub': json['sub'] == null ? undefined : json['sub'],
36
+ };
37
+ }
38
+ function FaydaProviderOutputToJSON(json) {
39
+ return FaydaProviderOutputToJSONTyped(json, false);
40
+ }
41
+ function FaydaProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'sub': value['sub'],
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 Identifier
16
+ */
17
+ export interface Identifier {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Identifier
22
+ */
23
+ identifier: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Identifier
28
+ */
29
+ scope: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof Identifier
34
+ */
35
+ description: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the Identifier interface.
39
+ */
40
+ export declare function instanceOfIdentifier(value: object): value is Identifier;
41
+ export declare function IdentifierFromJSON(json: any): Identifier;
42
+ export declare function IdentifierFromJSONTyped(json: any, ignoreDiscriminator: boolean): Identifier;
43
+ export declare function IdentifierToJSON(json: any): Identifier;
44
+ export declare function IdentifierToJSONTyped(value?: Identifier | 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.instanceOfIdentifier = instanceOfIdentifier;
17
+ exports.IdentifierFromJSON = IdentifierFromJSON;
18
+ exports.IdentifierFromJSONTyped = IdentifierFromJSONTyped;
19
+ exports.IdentifierToJSON = IdentifierToJSON;
20
+ exports.IdentifierToJSONTyped = IdentifierToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the Identifier interface.
23
+ */
24
+ function instanceOfIdentifier(value) {
25
+ if (!('identifier' in value) || value['identifier'] === undefined)
26
+ return false;
27
+ if (!('scope' in value) || value['scope'] === undefined)
28
+ return false;
29
+ if (!('description' in value) || value['description'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function IdentifierFromJSON(json) {
34
+ return IdentifierFromJSONTyped(json, false);
35
+ }
36
+ function IdentifierFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'identifier': json['identifier'],
42
+ 'scope': json['scope'],
43
+ 'description': json['description'],
44
+ };
45
+ }
46
+ function IdentifierToJSON(json) {
47
+ return IdentifierToJSONTyped(json, false);
48
+ }
49
+ function IdentifierToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'identifier': value['identifier'],
55
+ 'scope': value['scope'],
56
+ 'description': value['description'],
57
+ };
58
+ }
@@ -11,6 +11,8 @@
11
11
  */
12
12
  import type { DocumentData } from './DocumentData';
13
13
  import type { PersonData } from './PersonData';
14
+ import type { Identifier } from './Identifier';
15
+ import type { ProviderOutput } from './ProviderOutput';
14
16
  import type { AttachmentAccessKeys } from './AttachmentAccessKeys';
15
17
  import type { MatchData } from './MatchData';
16
18
  /**
@@ -55,6 +57,18 @@ export interface IdentityData {
55
57
  * @memberof IdentityData
56
58
  */
57
59
  attachmentAccessKeys?: AttachmentAccessKeys | null;
60
+ /**
61
+ *
62
+ * @type {ProviderOutput}
63
+ * @memberof IdentityData
64
+ */
65
+ providerOutput?: ProviderOutput | null;
66
+ /**
67
+ *
68
+ * @type {Array<Identifier>}
69
+ * @memberof IdentityData
70
+ */
71
+ identifiers: Array<Identifier>;
58
72
  }
59
73
  /**
60
74
  * Check if a given object implements the IdentityData interface.
@@ -20,12 +20,16 @@ exports.IdentityDataToJSON = IdentityDataToJSON;
20
20
  exports.IdentityDataToJSONTyped = IdentityDataToJSONTyped;
21
21
  const DocumentData_1 = require("./DocumentData");
22
22
  const PersonData_1 = require("./PersonData");
23
+ const Identifier_1 = require("./Identifier");
24
+ const ProviderOutput_1 = require("./ProviderOutput");
23
25
  const AttachmentAccessKeys_1 = require("./AttachmentAccessKeys");
24
26
  const MatchData_1 = require("./MatchData");
25
27
  /**
26
28
  * Check if a given object implements the IdentityData interface.
27
29
  */
28
30
  function instanceOfIdentityData(value) {
31
+ if (!('identifiers' in value) || value['identifiers'] === undefined)
32
+ return false;
29
33
  return true;
30
34
  }
31
35
  function IdentityDataFromJSON(json) {
@@ -42,6 +46,8 @@ function IdentityDataFromJSONTyped(json, ignoreDiscriminator) {
42
46
  'document': json['document'] == null ? undefined : (0, DocumentData_1.DocumentDataFromJSON)(json['document']),
43
47
  'match': json['match'] == null ? undefined : (0, MatchData_1.MatchDataFromJSON)(json['match']),
44
48
  'attachmentAccessKeys': json['attachmentAccessKeys'] == null ? undefined : (0, AttachmentAccessKeys_1.AttachmentAccessKeysFromJSON)(json['attachmentAccessKeys']),
49
+ 'providerOutput': json['providerOutput'] == null ? undefined : (0, ProviderOutput_1.ProviderOutputFromJSON)(json['providerOutput']),
50
+ 'identifiers': (json['identifiers'].map(Identifier_1.IdentifierFromJSON)),
45
51
  };
46
52
  }
47
53
  function IdentityDataToJSON(json) {
@@ -58,5 +64,7 @@ function IdentityDataToJSONTyped(value, ignoreDiscriminator = false) {
58
64
  'document': (0, DocumentData_1.DocumentDataToJSON)(value['document']),
59
65
  'match': (0, MatchData_1.MatchDataToJSON)(value['match']),
60
66
  'attachmentAccessKeys': (0, AttachmentAccessKeys_1.AttachmentAccessKeysToJSON)(value['attachmentAccessKeys']),
67
+ 'providerOutput': (0, ProviderOutput_1.ProviderOutputToJSON)(value['providerOutput']),
68
+ 'identifiers': (value['identifiers'].map(Identifier_1.IdentifierToJSON)),
61
69
  };
62
70
  }
@@ -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
+ /**
13
+ *
14
+ * @export
15
+ * @interface KenyaNidBiometric2Input
16
+ */
17
+ export interface KenyaNidBiometric2Input {
18
+ /**
19
+ * The user's Kenyan National ID number
20
+ * @type {string}
21
+ * @memberof KenyaNidBiometric2Input
22
+ */
23
+ idNumber?: string | null;
24
+ /**
25
+ * An array of exactly 8 images required for biometric liveness verification.
26
+ * The first 7 images should be liveness frames captured during the liveness detection process,
27
+ * and the last image (8th) should be a selfie of the user. All images must be in JPEG format
28
+ * and each image must be less than 15MB in size.
29
+ * @type {Array<string>}
30
+ * @memberof KenyaNidBiometric2Input
31
+ */
32
+ livenessImages?: Array<string> | null;
33
+ /**
34
+ * Test selfie for test environment (optional, maximum 15MB). Must be JPEG format.
35
+ * @type {string}
36
+ * @memberof KenyaNidBiometric2Input
37
+ */
38
+ testSelfie?: string | null;
39
+ }
40
+ /**
41
+ * Check if a given object implements the KenyaNidBiometric2Input interface.
42
+ */
43
+ export declare function instanceOfKenyaNidBiometric2Input(value: object): value is KenyaNidBiometric2Input;
44
+ export declare function KenyaNidBiometric2InputFromJSON(json: any): KenyaNidBiometric2Input;
45
+ export declare function KenyaNidBiometric2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): KenyaNidBiometric2Input;
46
+ export declare function KenyaNidBiometric2InputToJSON(json: any): KenyaNidBiometric2Input;
47
+ export declare function KenyaNidBiometric2InputToJSONTyped(value?: KenyaNidBiometric2Input | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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.instanceOfKenyaNidBiometric2Input = instanceOfKenyaNidBiometric2Input;
17
+ exports.KenyaNidBiometric2InputFromJSON = KenyaNidBiometric2InputFromJSON;
18
+ exports.KenyaNidBiometric2InputFromJSONTyped = KenyaNidBiometric2InputFromJSONTyped;
19
+ exports.KenyaNidBiometric2InputToJSON = KenyaNidBiometric2InputToJSON;
20
+ exports.KenyaNidBiometric2InputToJSONTyped = KenyaNidBiometric2InputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the KenyaNidBiometric2Input interface.
23
+ */
24
+ function instanceOfKenyaNidBiometric2Input(value) {
25
+ return true;
26
+ }
27
+ function KenyaNidBiometric2InputFromJSON(json) {
28
+ return KenyaNidBiometric2InputFromJSONTyped(json, false);
29
+ }
30
+ function KenyaNidBiometric2InputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
36
+ 'livenessImages': json['livenessImages'] == null ? undefined : json['livenessImages'],
37
+ 'testSelfie': json['testSelfie'] == null ? undefined : json['testSelfie'],
38
+ };
39
+ }
40
+ function KenyaNidBiometric2InputToJSON(json) {
41
+ return KenyaNidBiometric2InputToJSONTyped(json, false);
42
+ }
43
+ function KenyaNidBiometric2InputToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'idNumber': value['idNumber'],
49
+ 'livenessImages': value['livenessImages'],
50
+ 'testSelfie': value['testSelfie'],
51
+ };
52
+ }
@@ -46,7 +46,7 @@ export interface KenyaNidInput {
46
46
  */
47
47
  gender: string;
48
48
  /**
49
- * The user's South Kenya National ID number
49
+ * The user's Kenya National ID number
50
50
  * @type {string}
51
51
  * @memberof KenyaNidInput
52
52
  */
@@ -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;