@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
@@ -18,6 +18,7 @@ exports.ProviderContractFromJSON = ProviderContractFromJSON;
18
18
  exports.ProviderContractFromJSONTyped = ProviderContractFromJSONTyped;
19
19
  exports.ProviderContractToJSON = ProviderContractToJSON;
20
20
  exports.ProviderContractToJSONTyped = ProviderContractToJSONTyped;
21
+ const ContractIdentifierField_1 = require("./ContractIdentifierField");
21
22
  const ContractField_1 = require("./ContractField");
22
23
  const ProviderHealth_1 = require("./ProviderHealth");
23
24
  const SubProviderMetadata_1 = require("./SubProviderMetadata");
@@ -88,6 +89,7 @@ function ProviderContractFromJSONTyped(json, ignoreDiscriminator) {
88
89
  'supportsAdvancedProviderSessions': json['supportsAdvancedProviderSessions'],
89
90
  'supportsDirectProviderSessions': json['supportsDirectProviderSessions'],
90
91
  'availableFields': json['availableFields'] == null ? undefined : (json['availableFields'].map(ContractField_1.ContractFieldFromJSON)),
92
+ 'availableIdentifiers': json['availableIdentifiers'] == null ? undefined : (json['availableIdentifiers'].map(ContractIdentifierField_1.ContractIdentifierFieldFromJSON)),
91
93
  'subProviders': json['subProviders'] == null ? undefined : (json['subProviders'].map(SubProviderMetadata_1.SubProviderMetadataFromJSON)),
92
94
  'health': (0, ProviderHealth_1.ProviderHealthFromJSON)(json['health']),
93
95
  };
@@ -117,6 +119,7 @@ function ProviderContractToJSONTyped(value, ignoreDiscriminator = false) {
117
119
  'supportsAdvancedProviderSessions': value['supportsAdvancedProviderSessions'],
118
120
  'supportsDirectProviderSessions': value['supportsDirectProviderSessions'],
119
121
  'availableFields': value['availableFields'] == null ? undefined : (value['availableFields'].map(ContractField_1.ContractFieldToJSON)),
122
+ 'availableIdentifiers': value['availableIdentifiers'] == null ? undefined : (value['availableIdentifiers'].map(ContractIdentifierField_1.ContractIdentifierFieldToJSON)),
120
123
  'subProviders': value['subProviders'] == null ? undefined : (value['subProviders'].map(SubProviderMetadata_1.SubProviderMetadataToJSON)),
121
124
  'health': (0, ProviderHealth_1.ProviderHealthToJSON)(value['health']),
122
125
  };
@@ -19,14 +19,18 @@ import type { SouthAfricaNidInput } from './SouthAfricaNidInput';
19
19
  import type { PhilippineMatchInput } from './PhilippineMatchInput';
20
20
  import type { PhilippineQRInput } from './PhilippineQRInput';
21
21
  import type { BangladeshNidInput } from './BangladeshNidInput';
22
+ import type { KenyaNidBiometric2Input } from './KenyaNidBiometric2Input';
22
23
  import type { AadhaarInput } from './AadhaarInput';
23
24
  import type { KenyaNidInput } from './KenyaNidInput';
24
25
  import type { NigeriaNinInput } from './NigeriaNinInput';
25
26
  import type { SmartIdInput } from './SmartIdInput';
26
27
  import type { IndonesiaDukcapilMatchInput } from './IndonesiaDukcapilMatchInput';
28
+ import type { KenyaNidLookup2Input } from './KenyaNidLookup2Input';
29
+ import type { KenyaNidMatch2Input } from './KenyaNidMatch2Input';
27
30
  import type { MobileIdInput } from './MobileIdInput';
28
31
  import type { GoogleWalletInput } from './GoogleWalletInput';
29
32
  import type { TrinsicTestDatabaseLookupInput } from './TrinsicTestDatabaseLookupInput';
33
+ import type { SouthAfricaNidLookup2Input } from './SouthAfricaNidLookup2Input';
30
34
  import type { IndonesiaNikInput } from './IndonesiaNikInput';
31
35
  import type { IdinInput } from './IdinInput';
32
36
  /**
@@ -35,6 +39,12 @@ import type { IdinInput } from './IdinInput';
35
39
  * @interface ProviderInput
36
40
  */
37
41
  export interface ProviderInput {
42
+ /**
43
+ * Input for the `kenya-nid-match-biometric-2` provider
44
+ * @type {KenyaNidBiometric2Input}
45
+ * @memberof ProviderInput
46
+ */
47
+ kenyaBiometric2?: KenyaNidBiometric2Input | null;
38
48
  /**
39
49
  * Input for the `indonesia-nik-lookup` provider
40
50
  * @type {IndonesiaNikInput}
@@ -65,6 +75,24 @@ export interface ProviderInput {
65
75
  * @memberof ProviderInput
66
76
  */
67
77
  kenyaNid?: KenyaNidInput | null;
78
+ /**
79
+ * Input for the `kenya-nid-match-2` provider
80
+ * @type {KenyaNidMatch2Input}
81
+ * @memberof ProviderInput
82
+ */
83
+ kenyaNidMatch2?: KenyaNidMatch2Input | null;
84
+ /**
85
+ * Input for the `kenya-nid-lookup-2` provider
86
+ * @type {KenyaNidLookup2Input}
87
+ * @memberof ProviderInput
88
+ */
89
+ kenyaNidLookup2?: KenyaNidLookup2Input | null;
90
+ /**
91
+ * Input for the `south-africa-nid-lookup-2` provider
92
+ * @type {SouthAfricaNidLookup2Input}
93
+ * @memberof ProviderInput
94
+ */
95
+ southAfricaNidLookup2?: SouthAfricaNidLookup2Input | null;
68
96
  /**
69
97
  * Input for the `nigeria-nin-lookup` provider
70
98
  * @type {NigeriaNinInput}
@@ -28,14 +28,18 @@ const SouthAfricaNidInput_1 = require("./SouthAfricaNidInput");
28
28
  const PhilippineMatchInput_1 = require("./PhilippineMatchInput");
29
29
  const PhilippineQRInput_1 = require("./PhilippineQRInput");
30
30
  const BangladeshNidInput_1 = require("./BangladeshNidInput");
31
+ const KenyaNidBiometric2Input_1 = require("./KenyaNidBiometric2Input");
31
32
  const AadhaarInput_1 = require("./AadhaarInput");
32
33
  const KenyaNidInput_1 = require("./KenyaNidInput");
33
34
  const NigeriaNinInput_1 = require("./NigeriaNinInput");
34
35
  const SmartIdInput_1 = require("./SmartIdInput");
35
36
  const IndonesiaDukcapilMatchInput_1 = require("./IndonesiaDukcapilMatchInput");
37
+ const KenyaNidLookup2Input_1 = require("./KenyaNidLookup2Input");
38
+ const KenyaNidMatch2Input_1 = require("./KenyaNidMatch2Input");
36
39
  const MobileIdInput_1 = require("./MobileIdInput");
37
40
  const GoogleWalletInput_1 = require("./GoogleWalletInput");
38
41
  const TrinsicTestDatabaseLookupInput_1 = require("./TrinsicTestDatabaseLookupInput");
42
+ const SouthAfricaNidLookup2Input_1 = require("./SouthAfricaNidLookup2Input");
39
43
  const IndonesiaNikInput_1 = require("./IndonesiaNikInput");
40
44
  const IdinInput_1 = require("./IdinInput");
41
45
  /**
@@ -52,11 +56,15 @@ function ProviderInputFromJSONTyped(json, ignoreDiscriminator) {
52
56
  return json;
53
57
  }
54
58
  return {
59
+ 'kenyaBiometric2': json['kenyaBiometric2'] == null ? undefined : (0, KenyaNidBiometric2Input_1.KenyaNidBiometric2InputFromJSON)(json['kenyaBiometric2']),
55
60
  'indonesiaNik': json['indonesiaNik'] == null ? undefined : (0, IndonesiaNikInput_1.IndonesiaNikInputFromJSON)(json['indonesiaNik']),
56
61
  'indonesiaDukcapilMatch': json['indonesiaDukcapilMatch'] == null ? undefined : (0, IndonesiaDukcapilMatchInput_1.IndonesiaDukcapilMatchInputFromJSON)(json['indonesiaDukcapilMatch']),
57
62
  'mexicoCurp': json['mexicoCurp'] == null ? undefined : (0, MexicoCurpInput_1.MexicoCurpInputFromJSON)(json['mexicoCurp']),
58
63
  'southAfricaNid': json['southAfricaNid'] == null ? undefined : (0, SouthAfricaNidInput_1.SouthAfricaNidInputFromJSON)(json['southAfricaNid']),
59
64
  'kenyaNid': json['kenyaNid'] == null ? undefined : (0, KenyaNidInput_1.KenyaNidInputFromJSON)(json['kenyaNid']),
65
+ 'kenyaNidMatch2': json['kenyaNidMatch2'] == null ? undefined : (0, KenyaNidMatch2Input_1.KenyaNidMatch2InputFromJSON)(json['kenyaNidMatch2']),
66
+ 'kenyaNidLookup2': json['kenyaNidLookup2'] == null ? undefined : (0, KenyaNidLookup2Input_1.KenyaNidLookup2InputFromJSON)(json['kenyaNidLookup2']),
67
+ 'southAfricaNidLookup2': json['southAfricaNidLookup2'] == null ? undefined : (0, SouthAfricaNidLookup2Input_1.SouthAfricaNidLookup2InputFromJSON)(json['southAfricaNidLookup2']),
60
68
  'nigeriaNin': json['nigeriaNin'] == null ? undefined : (0, NigeriaNinInput_1.NigeriaNinInputFromJSON)(json['nigeriaNin']),
61
69
  'aadhaar': json['aadhaar'] == null ? undefined : (0, AadhaarInput_1.AadhaarInputFromJSON)(json['aadhaar']),
62
70
  'bangladeshNationalId': json['bangladeshNationalId'] == null ? undefined : (0, BangladeshNidInput_1.BangladeshNidInputFromJSON)(json['bangladeshNationalId']),
@@ -82,11 +90,15 @@ function ProviderInputToJSONTyped(value, ignoreDiscriminator = false) {
82
90
  return value;
83
91
  }
84
92
  return {
93
+ 'kenyaBiometric2': (0, KenyaNidBiometric2Input_1.KenyaNidBiometric2InputToJSON)(value['kenyaBiometric2']),
85
94
  'indonesiaNik': (0, IndonesiaNikInput_1.IndonesiaNikInputToJSON)(value['indonesiaNik']),
86
95
  'indonesiaDukcapilMatch': (0, IndonesiaDukcapilMatchInput_1.IndonesiaDukcapilMatchInputToJSON)(value['indonesiaDukcapilMatch']),
87
96
  'mexicoCurp': (0, MexicoCurpInput_1.MexicoCurpInputToJSON)(value['mexicoCurp']),
88
97
  'southAfricaNid': (0, SouthAfricaNidInput_1.SouthAfricaNidInputToJSON)(value['southAfricaNid']),
89
98
  'kenyaNid': (0, KenyaNidInput_1.KenyaNidInputToJSON)(value['kenyaNid']),
99
+ 'kenyaNidMatch2': (0, KenyaNidMatch2Input_1.KenyaNidMatch2InputToJSON)(value['kenyaNidMatch2']),
100
+ 'kenyaNidLookup2': (0, KenyaNidLookup2Input_1.KenyaNidLookup2InputToJSON)(value['kenyaNidLookup2']),
101
+ 'southAfricaNidLookup2': (0, SouthAfricaNidLookup2Input_1.SouthAfricaNidLookup2InputToJSON)(value['southAfricaNidLookup2']),
90
102
  'nigeriaNin': (0, NigeriaNinInput_1.NigeriaNinInputToJSON)(value['nigeriaNin']),
91
103
  'aadhaar': (0, AadhaarInput_1.AadhaarInputToJSON)(value['aadhaar']),
92
104
  'bangladeshNationalId': (0, BangladeshNidInput_1.BangladeshNidInputToJSON)(value['bangladeshNationalId']),
@@ -0,0 +1,61 @@
1
+ /**
2
+ * Trinsic API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { FaydaProviderOutput } from './FaydaProviderOutput';
13
+ import type { MexicoCurpProviderOutput } from './MexicoCurpProviderOutput';
14
+ import type { PhilippinesPhysicalNidProviderOutput } from './PhilippinesPhysicalNidProviderOutput';
15
+ import type { PhilippinesDigitalNidProviderOutput } from './PhilippinesDigitalNidProviderOutput';
16
+ import type { SpidProviderOutput } from './SpidProviderOutput';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface ProviderOutput
21
+ */
22
+ export interface ProviderOutput {
23
+ /**
24
+ *
25
+ * @type {SpidProviderOutput}
26
+ * @memberof ProviderOutput
27
+ */
28
+ italySpid?: SpidProviderOutput | null;
29
+ /**
30
+ *
31
+ * @type {MexicoCurpProviderOutput}
32
+ * @memberof ProviderOutput
33
+ */
34
+ mexicoCurpLookup?: MexicoCurpProviderOutput | null;
35
+ /**
36
+ *
37
+ * @type {FaydaProviderOutput}
38
+ * @memberof ProviderOutput
39
+ */
40
+ ethiopiaFayda?: FaydaProviderOutput | null;
41
+ /**
42
+ *
43
+ * @type {PhilippinesPhysicalNidProviderOutput}
44
+ * @memberof ProviderOutput
45
+ */
46
+ philippinesPhysicalNationalIdQr?: PhilippinesPhysicalNidProviderOutput | null;
47
+ /**
48
+ *
49
+ * @type {PhilippinesDigitalNidProviderOutput}
50
+ * @memberof ProviderOutput
51
+ */
52
+ philippinesDigitalNationalIdQr?: PhilippinesDigitalNidProviderOutput | null;
53
+ }
54
+ /**
55
+ * Check if a given object implements the ProviderOutput interface.
56
+ */
57
+ export declare function instanceOfProviderOutput(value: object): value is ProviderOutput;
58
+ export declare function ProviderOutputFromJSON(json: any): ProviderOutput;
59
+ export declare function ProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderOutput;
60
+ export declare function ProviderOutputToJSON(json: any): ProviderOutput;
61
+ export declare function ProviderOutputToJSONTyped(value?: ProviderOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Trinsic API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfProviderOutput = instanceOfProviderOutput;
17
+ exports.ProviderOutputFromJSON = ProviderOutputFromJSON;
18
+ exports.ProviderOutputFromJSONTyped = ProviderOutputFromJSONTyped;
19
+ exports.ProviderOutputToJSON = ProviderOutputToJSON;
20
+ exports.ProviderOutputToJSONTyped = ProviderOutputToJSONTyped;
21
+ const FaydaProviderOutput_1 = require("./FaydaProviderOutput");
22
+ const MexicoCurpProviderOutput_1 = require("./MexicoCurpProviderOutput");
23
+ const PhilippinesPhysicalNidProviderOutput_1 = require("./PhilippinesPhysicalNidProviderOutput");
24
+ const PhilippinesDigitalNidProviderOutput_1 = require("./PhilippinesDigitalNidProviderOutput");
25
+ const SpidProviderOutput_1 = require("./SpidProviderOutput");
26
+ /**
27
+ * Check if a given object implements the ProviderOutput interface.
28
+ */
29
+ function instanceOfProviderOutput(value) {
30
+ return true;
31
+ }
32
+ function ProviderOutputFromJSON(json) {
33
+ return ProviderOutputFromJSONTyped(json, false);
34
+ }
35
+ function ProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'italySpid': json['italy-spid'] == null ? undefined : (0, SpidProviderOutput_1.SpidProviderOutputFromJSON)(json['italy-spid']),
41
+ 'mexicoCurpLookup': json['mexico-curp-lookup'] == null ? undefined : (0, MexicoCurpProviderOutput_1.MexicoCurpProviderOutputFromJSON)(json['mexico-curp-lookup']),
42
+ 'ethiopiaFayda': json['ethiopia-fayda'] == null ? undefined : (0, FaydaProviderOutput_1.FaydaProviderOutputFromJSON)(json['ethiopia-fayda']),
43
+ 'philippinesPhysicalNationalIdQr': json['philippines-physical-national-id-qr'] == null ? undefined : (0, PhilippinesPhysicalNidProviderOutput_1.PhilippinesPhysicalNidProviderOutputFromJSON)(json['philippines-physical-national-id-qr']),
44
+ 'philippinesDigitalNationalIdQr': json['philippines-digital-national-id-qr'] == null ? undefined : (0, PhilippinesDigitalNidProviderOutput_1.PhilippinesDigitalNidProviderOutputFromJSON)(json['philippines-digital-national-id-qr']),
45
+ };
46
+ }
47
+ function ProviderOutputToJSON(json) {
48
+ return ProviderOutputToJSONTyped(json, false);
49
+ }
50
+ function ProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'italy-spid': (0, SpidProviderOutput_1.SpidProviderOutputToJSON)(value['italySpid']),
56
+ 'mexico-curp-lookup': (0, MexicoCurpProviderOutput_1.MexicoCurpProviderOutputToJSON)(value['mexicoCurpLookup']),
57
+ 'ethiopia-fayda': (0, FaydaProviderOutput_1.FaydaProviderOutputToJSON)(value['ethiopiaFayda']),
58
+ 'philippines-physical-national-id-qr': (0, PhilippinesPhysicalNidProviderOutput_1.PhilippinesPhysicalNidProviderOutputToJSON)(value['philippinesPhysicalNationalIdQr']),
59
+ 'philippines-digital-national-id-qr': (0, PhilippinesDigitalNidProviderOutput_1.PhilippinesDigitalNidProviderOutputToJSON)(value['philippinesDigitalNationalIdQr']),
60
+ };
61
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Trinsic API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RedirectUriResponse
16
+ */
17
+ export interface RedirectUriResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RedirectUriResponse
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RedirectUriResponse
28
+ */
29
+ uri: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the RedirectUriResponse interface.
33
+ */
34
+ export declare function instanceOfRedirectUriResponse(value: object): value is RedirectUriResponse;
35
+ export declare function RedirectUriResponseFromJSON(json: any): RedirectUriResponse;
36
+ export declare function RedirectUriResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectUriResponse;
37
+ export declare function RedirectUriResponseToJSON(json: any): RedirectUriResponse;
38
+ export declare function RedirectUriResponseToJSONTyped(value?: RedirectUriResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Trinsic API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfRedirectUriResponse = instanceOfRedirectUriResponse;
17
+ exports.RedirectUriResponseFromJSON = RedirectUriResponseFromJSON;
18
+ exports.RedirectUriResponseFromJSONTyped = RedirectUriResponseFromJSONTyped;
19
+ exports.RedirectUriResponseToJSON = RedirectUriResponseToJSON;
20
+ exports.RedirectUriResponseToJSONTyped = RedirectUriResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RedirectUriResponse interface.
23
+ */
24
+ function instanceOfRedirectUriResponse(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('uri' in value) || value['uri'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function RedirectUriResponseFromJSON(json) {
32
+ return RedirectUriResponseFromJSONTyped(json, false);
33
+ }
34
+ function RedirectUriResponseFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'id': json['id'],
40
+ 'uri': json['uri'],
41
+ };
42
+ }
43
+ function RedirectUriResponseToJSON(json) {
44
+ return RedirectUriResponseToJSONTyped(json, false);
45
+ }
46
+ function RedirectUriResponseToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'id': value['id'],
52
+ 'uri': value['uri'],
53
+ };
54
+ }
@@ -0,0 +1,27 @@
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
+ */
16
+ export declare const SexV1: {
17
+ readonly Unknown: "Unknown";
18
+ readonly NotApplicable: "NotApplicable";
19
+ readonly Male: "Male";
20
+ readonly Female: "Female";
21
+ };
22
+ export type SexV1 = typeof SexV1[keyof typeof SexV1];
23
+ export declare function instanceOfSexV1(value: any): boolean;
24
+ export declare function SexV1FromJSON(json: any): SexV1;
25
+ export declare function SexV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): SexV1;
26
+ export declare function SexV1ToJSON(value?: SexV1 | null): any;
27
+ export declare function SexV1ToJSONTyped(value: any, ignoreDiscriminator: boolean): SexV1;
@@ -0,0 +1,53 @@
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.SexV1 = void 0;
17
+ exports.instanceOfSexV1 = instanceOfSexV1;
18
+ exports.SexV1FromJSON = SexV1FromJSON;
19
+ exports.SexV1FromJSONTyped = SexV1FromJSONTyped;
20
+ exports.SexV1ToJSON = SexV1ToJSON;
21
+ exports.SexV1ToJSONTyped = SexV1ToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.SexV1 = {
27
+ Unknown: 'Unknown',
28
+ NotApplicable: 'NotApplicable',
29
+ Male: 'Male',
30
+ Female: 'Female'
31
+ };
32
+ function instanceOfSexV1(value) {
33
+ for (const key in exports.SexV1) {
34
+ if (Object.prototype.hasOwnProperty.call(exports.SexV1, key)) {
35
+ if (exports.SexV1[key] === value) {
36
+ return true;
37
+ }
38
+ }
39
+ }
40
+ return false;
41
+ }
42
+ function SexV1FromJSON(json) {
43
+ return SexV1FromJSONTyped(json, false);
44
+ }
45
+ function SexV1FromJSONTyped(json, ignoreDiscriminator) {
46
+ return json;
47
+ }
48
+ function SexV1ToJSON(value) {
49
+ return value;
50
+ }
51
+ function SexV1ToJSONTyped(value, ignoreDiscriminator) {
52
+ return value;
53
+ }
@@ -34,7 +34,7 @@ export interface SouthAfricaNidInput {
34
34
  */
35
35
  gender: string;
36
36
  /**
37
- * The user's South African National ID number
37
+ * The user's National ID number
38
38
  * @type {string}
39
39
  * @memberof SouthAfricaNidInput
40
40
  */
@@ -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 SouthAfricaNidLookup2Input
16
+ */
17
+ export interface SouthAfricaNidLookup2Input {
18
+ /**
19
+ * The user's National ID number
20
+ * @type {string}
21
+ * @memberof SouthAfricaNidLookup2Input
22
+ */
23
+ idNumber?: string | null;
24
+ }
25
+ /**
26
+ * Check if a given object implements the SouthAfricaNidLookup2Input interface.
27
+ */
28
+ export declare function instanceOfSouthAfricaNidLookup2Input(value: object): value is SouthAfricaNidLookup2Input;
29
+ export declare function SouthAfricaNidLookup2InputFromJSON(json: any): SouthAfricaNidLookup2Input;
30
+ export declare function SouthAfricaNidLookup2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SouthAfricaNidLookup2Input;
31
+ export declare function SouthAfricaNidLookup2InputToJSON(json: any): SouthAfricaNidLookup2Input;
32
+ export declare function SouthAfricaNidLookup2InputToJSONTyped(value?: SouthAfricaNidLookup2Input | 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.instanceOfSouthAfricaNidLookup2Input = instanceOfSouthAfricaNidLookup2Input;
17
+ exports.SouthAfricaNidLookup2InputFromJSON = SouthAfricaNidLookup2InputFromJSON;
18
+ exports.SouthAfricaNidLookup2InputFromJSONTyped = SouthAfricaNidLookup2InputFromJSONTyped;
19
+ exports.SouthAfricaNidLookup2InputToJSON = SouthAfricaNidLookup2InputToJSON;
20
+ exports.SouthAfricaNidLookup2InputToJSONTyped = SouthAfricaNidLookup2InputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SouthAfricaNidLookup2Input interface.
23
+ */
24
+ function instanceOfSouthAfricaNidLookup2Input(value) {
25
+ return true;
26
+ }
27
+ function SouthAfricaNidLookup2InputFromJSON(json) {
28
+ return SouthAfricaNidLookup2InputFromJSONTyped(json, false);
29
+ }
30
+ function SouthAfricaNidLookup2InputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
36
+ };
37
+ }
38
+ function SouthAfricaNidLookup2InputToJSON(json) {
39
+ return SouthAfricaNidLookup2InputToJSONTyped(json, false);
40
+ }
41
+ function SouthAfricaNidLookup2InputToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'idNumber': value['idNumber'],
47
+ };
48
+ }
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Trinsic API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Billing information for a SPID Verification.
14
+ * @export
15
+ * @interface SpidBillingInformation
16
+ */
17
+ export interface SpidBillingInformation {
18
+ /**
19
+ * Whether this SPID verification has resulted in a billable event.
20
+ * @type {boolean}
21
+ * @memberof SpidBillingInformation
22
+ */
23
+ isBillable: boolean;
24
+ /**
25
+ * The billable verification type for this SPID verification.
26
+ *
27
+ * Possible values: "Authentication" | "Registration"
28
+ * @type {string}
29
+ * @memberof SpidBillingInformation
30
+ */
31
+ verificationType: string;
32
+ /**
33
+ * The billable verification level for this SPID verification.
34
+ *
35
+ * Possible values: 1 | 2 | 3
36
+ * @type {number}
37
+ * @memberof SpidBillingInformation
38
+ */
39
+ verificationLevel: number;
40
+ }
41
+ /**
42
+ * Check if a given object implements the SpidBillingInformation interface.
43
+ */
44
+ export declare function instanceOfSpidBillingInformation(value: object): value is SpidBillingInformation;
45
+ export declare function SpidBillingInformationFromJSON(json: any): SpidBillingInformation;
46
+ export declare function SpidBillingInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpidBillingInformation;
47
+ export declare function SpidBillingInformationToJSON(json: any): SpidBillingInformation;
48
+ export declare function SpidBillingInformationToJSONTyped(value?: SpidBillingInformation | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Trinsic API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSpidBillingInformation = instanceOfSpidBillingInformation;
17
+ exports.SpidBillingInformationFromJSON = SpidBillingInformationFromJSON;
18
+ exports.SpidBillingInformationFromJSONTyped = SpidBillingInformationFromJSONTyped;
19
+ exports.SpidBillingInformationToJSON = SpidBillingInformationToJSON;
20
+ exports.SpidBillingInformationToJSONTyped = SpidBillingInformationToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SpidBillingInformation interface.
23
+ */
24
+ function instanceOfSpidBillingInformation(value) {
25
+ if (!('isBillable' in value) || value['isBillable'] === undefined)
26
+ return false;
27
+ if (!('verificationType' in value) || value['verificationType'] === undefined)
28
+ return false;
29
+ if (!('verificationLevel' in value) || value['verificationLevel'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function SpidBillingInformationFromJSON(json) {
34
+ return SpidBillingInformationFromJSONTyped(json, false);
35
+ }
36
+ function SpidBillingInformationFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'isBillable': json['isBillable'],
42
+ 'verificationType': json['verificationType'],
43
+ 'verificationLevel': json['verificationLevel'],
44
+ };
45
+ }
46
+ function SpidBillingInformationToJSON(json) {
47
+ return SpidBillingInformationToJSONTyped(json, false);
48
+ }
49
+ function SpidBillingInformationToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'isBillable': value['isBillable'],
55
+ 'verificationType': value['verificationType'],
56
+ 'verificationLevel': value['verificationLevel'],
57
+ };
58
+ }
@@ -23,6 +23,17 @@ export interface SpidInput {
23
23
  * @memberof SpidInput
24
24
  */
25
25
  subProviderId?: string | null;
26
+ /**
27
+ * Only applicable if period-based billing is enabled for your Verification Profile. Contact Trinsic to enable this.
28
+ *
29
+ * A secret UTF-8 string between 32 and 64 characters in length, used to enable privacy-preserving tracking of unique user verifications during a billing period.
30
+ *
31
+ * WARNING: This value must NOT change during the course of a billing period for a given Verification Profile, or double-billing may occur.
32
+ * If multiple Verification Profiles are configured to use the same Trinsic-managed SPID Service Provider, the same Billing Tracking Secret must be provided across all such Verification Profiles.
33
+ * @type {string}
34
+ * @memberof SpidInput
35
+ */
36
+ billingTrackingSecret?: string | null;
26
37
  }
27
38
  /**
28
39
  * Check if a given object implements the SpidInput interface.
@@ -33,6 +33,7 @@ function SpidInputFromJSONTyped(json, ignoreDiscriminator) {
33
33
  }
34
34
  return {
35
35
  'subProviderId': json['subProviderId'] == null ? undefined : json['subProviderId'],
36
+ 'billingTrackingSecret': json['billingTrackingSecret'] == null ? undefined : json['billingTrackingSecret'],
36
37
  };
37
38
  }
38
39
  function SpidInputToJSON(json) {
@@ -44,5 +45,6 @@ function SpidInputToJSONTyped(value, ignoreDiscriminator = false) {
44
45
  }
45
46
  return {
46
47
  'subProviderId': value['subProviderId'],
48
+ 'billingTrackingSecret': value['billingTrackingSecret'],
47
49
  };
48
50
  }