@trinsic/api 2.1.1-alpha1 → 2.2.0-alpha1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/.openapi-generator/FILES +19 -3
  2. package/dist/apis/MdlApi.d.ts +80 -0
  3. package/dist/apis/MdlApi.js +105 -0
  4. package/dist/apis/NetworkApi.d.ts +14 -15
  5. package/dist/apis/NetworkApi.js +13 -11
  6. package/dist/apis/SessionsApi.d.ts +53 -22
  7. package/dist/apis/SessionsApi.js +57 -15
  8. package/dist/apis/index.d.ts +1 -0
  9. package/dist/apis/index.js +1 -0
  10. package/dist/esm/apis/MdlApi.d.ts +80 -0
  11. package/dist/esm/apis/MdlApi.js +101 -0
  12. package/dist/esm/apis/NetworkApi.d.ts +14 -15
  13. package/dist/esm/apis/NetworkApi.js +13 -11
  14. package/dist/esm/apis/SessionsApi.d.ts +53 -22
  15. package/dist/esm/apis/SessionsApi.js +58 -16
  16. package/dist/esm/apis/index.d.ts +1 -0
  17. package/dist/esm/apis/index.js +1 -0
  18. package/dist/esm/models/AppleWalletInput.d.ts +35 -0
  19. package/dist/esm/models/AppleWalletInput.js +42 -0
  20. package/dist/esm/models/{CreateAdvancedProviderSessionRequest.d.ts → CreateDirectProviderSessionRequest.d.ts} +20 -14
  21. package/dist/esm/models/{CreateAdvancedProviderSessionRequest.js → CreateDirectProviderSessionRequest.js} +12 -8
  22. package/dist/esm/models/CreateDirectProviderSessionResponse.d.ts +46 -0
  23. package/dist/esm/models/{CreateAdvancedProviderSessionResponse.js → CreateDirectProviderSessionResponse.js} +8 -8
  24. package/dist/esm/models/CreateHostedProviderSessionRequest.d.ts +7 -1
  25. package/dist/esm/models/CreateHostedProviderSessionRequest.js +4 -0
  26. package/dist/esm/models/CreateMdlExchangeRequest.d.ts +102 -0
  27. package/dist/esm/models/CreateMdlExchangeRequest.js +66 -0
  28. package/dist/esm/models/CreateMdlExchangeResponse.d.ts +48 -0
  29. package/dist/esm/models/CreateMdlExchangeResponse.js +51 -0
  30. package/dist/esm/models/CreateWidgetSessionRequest.d.ts +7 -1
  31. package/dist/esm/models/CreateWidgetSessionRequest.js +4 -0
  32. package/dist/esm/models/ExternalMdlFieldData.d.ts +39 -0
  33. package/dist/esm/models/ExternalMdlFieldData.js +48 -0
  34. package/dist/esm/models/FinalizeMdlExchangeRequest.d.ts +50 -0
  35. package/dist/esm/models/FinalizeMdlExchangeRequest.js +55 -0
  36. package/dist/esm/models/FinalizeMdlExchangeResponse.d.ts +55 -0
  37. package/dist/esm/models/FinalizeMdlExchangeResponse.js +54 -0
  38. package/dist/esm/models/GetAttachmentRequest.d.ts +6 -0
  39. package/dist/esm/models/GetAttachmentRequest.js +4 -0
  40. package/dist/esm/models/GoogleWalletInput.d.ts +35 -0
  41. package/dist/esm/models/GoogleWalletInput.js +42 -0
  42. package/dist/esm/models/IdentityData.d.ts +7 -0
  43. package/dist/esm/models/IdentityData.js +3 -0
  44. package/dist/esm/models/{IndonesiaDukcapilBiometricMatchInput.d.ts → IndonesiaDukcapilMatchInput.d.ts} +17 -17
  45. package/dist/esm/models/{IndonesiaDukcapilBiometricMatchInput.js → IndonesiaDukcapilMatchInput.js} +8 -8
  46. package/dist/esm/models/IntegrationCapability.d.ts +1 -0
  47. package/dist/esm/models/IntegrationCapability.js +2 -1
  48. package/dist/esm/models/IntegrationLaunchMethod.d.ts +1 -0
  49. package/dist/esm/models/IntegrationLaunchMethod.js +2 -1
  50. package/dist/esm/models/IntegrationStep.d.ts +1 -1
  51. package/dist/esm/models/Match.d.ts +38 -0
  52. package/dist/esm/models/Match.js +43 -0
  53. package/dist/esm/models/MatchData.d.ts +87 -0
  54. package/dist/esm/models/MatchData.js +60 -0
  55. package/dist/esm/models/MdlCertificateData.d.ts +58 -0
  56. package/dist/esm/models/MdlCertificateData.js +59 -0
  57. package/dist/esm/models/MdlExchangeMechanism.d.ts +25 -0
  58. package/dist/esm/models/MdlExchangeMechanism.js +43 -0
  59. package/dist/esm/models/MdlFieldDataType.d.ts +28 -0
  60. package/dist/esm/models/MdlFieldDataType.js +46 -0
  61. package/dist/esm/models/MdlIdentityData.d.ts +50 -0
  62. package/dist/esm/models/MdlIdentityData.js +52 -0
  63. package/dist/esm/models/ProviderContract.d.ts +18 -8
  64. package/dist/esm/models/ProviderContract.js +4 -0
  65. package/dist/esm/models/ProviderInput.d.ts +18 -4
  66. package/dist/esm/models/ProviderInput.js +9 -3
  67. package/dist/esm/models/RecommendRequest.d.ts +6 -0
  68. package/dist/esm/models/RecommendRequest.js +4 -0
  69. package/dist/esm/models/ResultCollectionMethod.d.ts +1 -0
  70. package/dist/esm/models/ResultCollectionMethod.js +2 -1
  71. package/dist/esm/models/SessionErrorCode.d.ts +2 -0
  72. package/dist/esm/models/SessionErrorCode.js +3 -1
  73. package/dist/esm/models/SubmitNativeChallengeResponseRequest.d.ts +38 -0
  74. package/dist/esm/models/SubmitNativeChallengeResponseRequest.js +47 -0
  75. package/dist/esm/models/SubmitNativeChallengeResponseResponse.d.ts +33 -0
  76. package/dist/esm/models/SubmitNativeChallengeResponseResponse.js +44 -0
  77. package/dist/esm/models/index.d.ts +18 -3
  78. package/dist/esm/models/index.js +18 -3
  79. package/dist/models/AppleWalletInput.d.ts +35 -0
  80. package/dist/models/AppleWalletInput.js +49 -0
  81. package/dist/models/{CreateAdvancedProviderSessionRequest.d.ts → CreateDirectProviderSessionRequest.d.ts} +20 -14
  82. package/dist/models/{CreateAdvancedProviderSessionRequest.js → CreateDirectProviderSessionRequest.js} +17 -13
  83. package/dist/models/CreateDirectProviderSessionResponse.d.ts +46 -0
  84. package/dist/models/{CreateAdvancedProviderSessionResponse.js → CreateDirectProviderSessionResponse.js} +13 -13
  85. package/dist/models/CreateHostedProviderSessionRequest.d.ts +7 -1
  86. package/dist/models/CreateHostedProviderSessionRequest.js +4 -0
  87. package/dist/models/CreateMdlExchangeRequest.d.ts +102 -0
  88. package/dist/models/CreateMdlExchangeRequest.js +73 -0
  89. package/dist/models/CreateMdlExchangeResponse.d.ts +48 -0
  90. package/dist/models/CreateMdlExchangeResponse.js +58 -0
  91. package/dist/models/CreateWidgetSessionRequest.d.ts +7 -1
  92. package/dist/models/CreateWidgetSessionRequest.js +4 -0
  93. package/dist/models/ExternalMdlFieldData.d.ts +39 -0
  94. package/dist/models/ExternalMdlFieldData.js +55 -0
  95. package/dist/models/FinalizeMdlExchangeRequest.d.ts +50 -0
  96. package/dist/models/FinalizeMdlExchangeRequest.js +62 -0
  97. package/dist/models/FinalizeMdlExchangeResponse.d.ts +55 -0
  98. package/dist/models/FinalizeMdlExchangeResponse.js +61 -0
  99. package/dist/models/GetAttachmentRequest.d.ts +6 -0
  100. package/dist/models/GetAttachmentRequest.js +4 -0
  101. package/dist/models/GoogleWalletInput.d.ts +35 -0
  102. package/dist/models/GoogleWalletInput.js +49 -0
  103. package/dist/models/IdentityData.d.ts +7 -0
  104. package/dist/models/IdentityData.js +3 -0
  105. package/dist/models/{IndonesiaDukcapilBiometricMatchInput.d.ts → IndonesiaDukcapilMatchInput.d.ts} +17 -17
  106. package/dist/models/{IndonesiaDukcapilBiometricMatchInput.js → IndonesiaDukcapilMatchInput.js} +13 -13
  107. package/dist/models/IntegrationCapability.d.ts +1 -0
  108. package/dist/models/IntegrationCapability.js +2 -1
  109. package/dist/models/IntegrationLaunchMethod.d.ts +1 -0
  110. package/dist/models/IntegrationLaunchMethod.js +2 -1
  111. package/dist/models/IntegrationStep.d.ts +1 -1
  112. package/dist/models/Match.d.ts +38 -0
  113. package/dist/models/Match.js +50 -0
  114. package/dist/models/MatchData.d.ts +87 -0
  115. package/dist/models/MatchData.js +67 -0
  116. package/dist/models/MdlCertificateData.d.ts +58 -0
  117. package/dist/models/MdlCertificateData.js +66 -0
  118. package/dist/models/MdlExchangeMechanism.d.ts +25 -0
  119. package/dist/models/MdlExchangeMechanism.js +51 -0
  120. package/dist/models/MdlFieldDataType.d.ts +28 -0
  121. package/dist/models/MdlFieldDataType.js +54 -0
  122. package/dist/models/MdlIdentityData.d.ts +50 -0
  123. package/dist/models/MdlIdentityData.js +59 -0
  124. package/dist/models/ProviderContract.d.ts +18 -8
  125. package/dist/models/ProviderContract.js +4 -0
  126. package/dist/models/ProviderInput.d.ts +18 -4
  127. package/dist/models/ProviderInput.js +9 -3
  128. package/dist/models/RecommendRequest.d.ts +6 -0
  129. package/dist/models/RecommendRequest.js +4 -0
  130. package/dist/models/ResultCollectionMethod.d.ts +1 -0
  131. package/dist/models/ResultCollectionMethod.js +2 -1
  132. package/dist/models/SessionErrorCode.d.ts +2 -0
  133. package/dist/models/SessionErrorCode.js +3 -1
  134. package/dist/models/SubmitNativeChallengeResponseRequest.d.ts +38 -0
  135. package/dist/models/SubmitNativeChallengeResponseRequest.js +54 -0
  136. package/dist/models/SubmitNativeChallengeResponseResponse.d.ts +33 -0
  137. package/dist/models/SubmitNativeChallengeResponseResponse.js +51 -0
  138. package/dist/models/index.d.ts +18 -3
  139. package/dist/models/index.js +18 -3
  140. package/package.json +1 -1
  141. package/src/apis/MdlApi.ts +169 -0
  142. package/src/apis/NetworkApi.ts +33 -19
  143. package/src/apis/SessionsApi.ts +116 -33
  144. package/src/apis/index.ts +1 -0
  145. package/src/models/AppleWalletInput.ts +77 -0
  146. package/src/models/{CreateAdvancedProviderSessionRequest.ts → CreateDirectProviderSessionRequest.ts} +25 -16
  147. package/src/models/{CreateAdvancedProviderSessionResponse.ts → CreateDirectProviderSessionResponse.ts} +13 -13
  148. package/src/models/CreateHostedProviderSessionRequest.ts +10 -1
  149. package/src/models/CreateMdlExchangeRequest.ts +159 -0
  150. package/src/models/CreateMdlExchangeResponse.ts +88 -0
  151. package/src/models/CreateWidgetSessionRequest.ts +10 -1
  152. package/src/models/ExternalMdlFieldData.ts +85 -0
  153. package/src/models/FinalizeMdlExchangeRequest.ts +93 -0
  154. package/src/models/FinalizeMdlExchangeResponse.ts +115 -0
  155. package/src/models/GetAttachmentRequest.ts +9 -0
  156. package/src/models/GoogleWalletInput.ts +77 -0
  157. package/src/models/IdentityData.ts +15 -0
  158. package/src/models/{IndonesiaDukcapilBiometricMatchInput.ts → IndonesiaDukcapilMatchInput.ts} +19 -19
  159. package/src/models/IntegrationCapability.ts +2 -1
  160. package/src/models/IntegrationLaunchMethod.ts +2 -1
  161. package/src/models/IntegrationStep.ts +1 -1
  162. package/src/models/Match.ts +73 -0
  163. package/src/models/MatchData.ts +145 -0
  164. package/src/models/MdlCertificateData.ts +104 -0
  165. package/src/models/MdlExchangeMechanism.ts +53 -0
  166. package/src/models/MdlFieldDataType.ts +56 -0
  167. package/src/models/MdlIdentityData.ts +99 -0
  168. package/src/models/ProviderContract.ts +21 -8
  169. package/src/models/ProviderInput.ts +42 -12
  170. package/src/models/RecommendRequest.ts +9 -0
  171. package/src/models/ResultCollectionMethod.ts +2 -1
  172. package/src/models/SessionErrorCode.ts +3 -1
  173. package/src/models/SubmitNativeChallengeResponseRequest.ts +75 -0
  174. package/src/models/SubmitNativeChallengeResponseResponse.ts +74 -0
  175. package/src/models/index.ts +18 -3
  176. package/dist/esm/models/CreateAdvancedProviderSessionResponse.d.ts +0 -46
  177. package/dist/models/CreateAdvancedProviderSessionResponse.d.ts +0 -46
@@ -24,6 +24,8 @@ exports.GetAttachmentRequestToJSONTyped = GetAttachmentRequestToJSONTyped;
24
24
  function instanceOfGetAttachmentRequest(value) {
25
25
  if (!('attachmentAccessKey' in value) || value['attachmentAccessKey'] === undefined)
26
26
  return false;
27
+ if (!('sessionId' in value) || value['sessionId'] === undefined)
28
+ return false;
27
29
  return true;
28
30
  }
29
31
  function GetAttachmentRequestFromJSON(json) {
@@ -35,6 +37,7 @@ function GetAttachmentRequestFromJSONTyped(json, ignoreDiscriminator) {
35
37
  }
36
38
  return {
37
39
  'attachmentAccessKey': json['attachmentAccessKey'],
40
+ 'sessionId': json['sessionId'],
38
41
  };
39
42
  }
40
43
  function GetAttachmentRequestToJSON(json) {
@@ -46,5 +49,6 @@ function GetAttachmentRequestToJSONTyped(value, ignoreDiscriminator = false) {
46
49
  }
47
50
  return {
48
51
  'attachmentAccessKey': value['attachmentAccessKey'],
52
+ 'sessionId': value['sessionId'],
49
53
  };
50
54
  }
@@ -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
+ import type { MdlExchangeMechanism } from './MdlExchangeMechanism';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GoogleWalletInput
17
+ */
18
+ export interface GoogleWalletInput {
19
+ /**
20
+ * The exchange mechanism to use for this Google Wallet verification.
21
+ *
22
+ * Use `DigitalCredentialsApi` for Digital Credentials API on web, or `NativeApp` for a native Android app.
23
+ * @type {MdlExchangeMechanism}
24
+ * @memberof GoogleWalletInput
25
+ */
26
+ exchangeMechanism?: MdlExchangeMechanism | null;
27
+ }
28
+ /**
29
+ * Check if a given object implements the GoogleWalletInput interface.
30
+ */
31
+ export declare function instanceOfGoogleWalletInput(value: object): value is GoogleWalletInput;
32
+ export declare function GoogleWalletInputFromJSON(json: any): GoogleWalletInput;
33
+ export declare function GoogleWalletInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): GoogleWalletInput;
34
+ export declare function GoogleWalletInputToJSON(json: any): GoogleWalletInput;
35
+ export declare function GoogleWalletInputToJSONTyped(value?: GoogleWalletInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
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.instanceOfGoogleWalletInput = instanceOfGoogleWalletInput;
17
+ exports.GoogleWalletInputFromJSON = GoogleWalletInputFromJSON;
18
+ exports.GoogleWalletInputFromJSONTyped = GoogleWalletInputFromJSONTyped;
19
+ exports.GoogleWalletInputToJSON = GoogleWalletInputToJSON;
20
+ exports.GoogleWalletInputToJSONTyped = GoogleWalletInputToJSONTyped;
21
+ const MdlExchangeMechanism_1 = require("./MdlExchangeMechanism");
22
+ /**
23
+ * Check if a given object implements the GoogleWalletInput interface.
24
+ */
25
+ function instanceOfGoogleWalletInput(value) {
26
+ return true;
27
+ }
28
+ function GoogleWalletInputFromJSON(json) {
29
+ return GoogleWalletInputFromJSONTyped(json, false);
30
+ }
31
+ function GoogleWalletInputFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'exchangeMechanism': json['exchangeMechanism'] == null ? undefined : (0, MdlExchangeMechanism_1.MdlExchangeMechanismFromJSON)(json['exchangeMechanism']),
37
+ };
38
+ }
39
+ function GoogleWalletInputToJSON(json) {
40
+ return GoogleWalletInputToJSONTyped(json, false);
41
+ }
42
+ function GoogleWalletInputToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'exchangeMechanism': (0, MdlExchangeMechanism_1.MdlExchangeMechanismToJSON)(value['exchangeMechanism']),
48
+ };
49
+ }
@@ -12,6 +12,7 @@
12
12
  import type { DocumentData } from './DocumentData';
13
13
  import type { PersonData } from './PersonData';
14
14
  import type { AttachmentAccessKeys } from './AttachmentAccessKeys';
15
+ import type { MatchData } from './MatchData';
15
16
  /**
16
17
  *
17
18
  * @export
@@ -42,6 +43,12 @@ export interface IdentityData {
42
43
  * @memberof IdentityData
43
44
  */
44
45
  document?: DocumentData | null;
46
+ /**
47
+ *
48
+ * @type {MatchData}
49
+ * @memberof IdentityData
50
+ */
51
+ match?: MatchData | null;
45
52
  /**
46
53
  *
47
54
  * @type {AttachmentAccessKeys}
@@ -21,6 +21,7 @@ exports.IdentityDataToJSONTyped = IdentityDataToJSONTyped;
21
21
  const DocumentData_1 = require("./DocumentData");
22
22
  const PersonData_1 = require("./PersonData");
23
23
  const AttachmentAccessKeys_1 = require("./AttachmentAccessKeys");
24
+ const MatchData_1 = require("./MatchData");
24
25
  /**
25
26
  * Check if a given object implements the IdentityData interface.
26
27
  */
@@ -39,6 +40,7 @@ function IdentityDataFromJSONTyped(json, ignoreDiscriminator) {
39
40
  'originatingSubProviderId': json['originatingSubProviderId'] == null ? undefined : json['originatingSubProviderId'],
40
41
  'person': json['person'] == null ? undefined : (0, PersonData_1.PersonDataFromJSON)(json['person']),
41
42
  'document': json['document'] == null ? undefined : (0, DocumentData_1.DocumentDataFromJSON)(json['document']),
43
+ 'match': json['match'] == null ? undefined : (0, MatchData_1.MatchDataFromJSON)(json['match']),
42
44
  'attachmentAccessKeys': json['attachmentAccessKeys'] == null ? undefined : (0, AttachmentAccessKeys_1.AttachmentAccessKeysFromJSON)(json['attachmentAccessKeys']),
43
45
  };
44
46
  }
@@ -54,6 +56,7 @@ function IdentityDataToJSONTyped(value, ignoreDiscriminator = false) {
54
56
  'originatingSubProviderId': value['originatingSubProviderId'],
55
57
  'person': (0, PersonData_1.PersonDataToJSON)(value['person']),
56
58
  'document': (0, DocumentData_1.DocumentDataToJSON)(value['document']),
59
+ 'match': (0, MatchData_1.MatchDataToJSON)(value['match']),
57
60
  'attachmentAccessKeys': (0, AttachmentAccessKeys_1.AttachmentAccessKeysToJSON)(value['attachmentAccessKeys']),
58
61
  };
59
62
  }
@@ -12,25 +12,25 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface IndonesiaDukcapilBiometricMatchInput
15
+ * @interface IndonesiaDukcapilMatchInput
16
16
  */
17
- export interface IndonesiaDukcapilBiometricMatchInput {
17
+ export interface IndonesiaDukcapilMatchInput {
18
18
  /**
19
19
  * The user's full name
20
20
  * @type {string}
21
- * @memberof IndonesiaDukcapilBiometricMatchInput
21
+ * @memberof IndonesiaDukcapilMatchInput
22
22
  */
23
23
  fullName?: string | null;
24
24
  /**
25
25
  * The user's date of birth, in `YYYY-MM-DD` format
26
26
  * @type {Date}
27
- * @memberof IndonesiaDukcapilBiometricMatchInput
27
+ * @memberof IndonesiaDukcapilMatchInput
28
28
  */
29
29
  dateOfBirth?: Date | null;
30
30
  /**
31
31
  * The user's Indonesia NIK ID number
32
32
  * @type {string}
33
- * @memberof IndonesiaDukcapilBiometricMatchInput
33
+ * @memberof IndonesiaDukcapilMatchInput
34
34
  */
35
35
  nikIdNumber?: string | null;
36
36
  /**
@@ -38,7 +38,7 @@ export interface IndonesiaDukcapilBiometricMatchInput {
38
38
  *
39
39
  * Either email or phone number must be provided.
40
40
  * @type {string}
41
- * @memberof IndonesiaDukcapilBiometricMatchInput
41
+ * @memberof IndonesiaDukcapilMatchInput
42
42
  */
43
43
  email?: string | null;
44
44
  /**
@@ -46,15 +46,15 @@ export interface IndonesiaDukcapilBiometricMatchInput {
46
46
  *
47
47
  * Either email or phone number must be provided.
48
48
  * @type {string}
49
- * @memberof IndonesiaDukcapilBiometricMatchInput
49
+ * @memberof IndonesiaDukcapilMatchInput
50
50
  */
51
51
  phoneNumber?: string | null;
52
52
  /**
53
53
  * The raw bytes of the selfie image of the individual.
54
54
  *
55
- * Must be JPEG format; 1MB maximum.
55
+ * Must be JPEG or PNG format; 10MB maximum.
56
56
  * @type {string}
57
- * @memberof IndonesiaDukcapilBiometricMatchInput
57
+ * @memberof IndonesiaDukcapilMatchInput
58
58
  */
59
59
  selfieImage?: string | null;
60
60
  /**
@@ -64,21 +64,21 @@ export interface IndonesiaDukcapilBiometricMatchInput {
64
64
  *
65
65
  * Optional.
66
66
  * @type {string}
67
- * @memberof IndonesiaDukcapilBiometricMatchInput
67
+ * @memberof IndonesiaDukcapilMatchInput
68
68
  */
69
69
  documentImage?: string | null;
70
70
  /**
71
71
  * The timestamp when consent was given by the user for the verification.
72
72
  * @type {Date}
73
- * @memberof IndonesiaDukcapilBiometricMatchInput
73
+ * @memberof IndonesiaDukcapilMatchInput
74
74
  */
75
75
  consentGivenAt?: Date | null;
76
76
  }
77
77
  /**
78
- * Check if a given object implements the IndonesiaDukcapilBiometricMatchInput interface.
78
+ * Check if a given object implements the IndonesiaDukcapilMatchInput interface.
79
79
  */
80
- export declare function instanceOfIndonesiaDukcapilBiometricMatchInput(value: object): value is IndonesiaDukcapilBiometricMatchInput;
81
- export declare function IndonesiaDukcapilBiometricMatchInputFromJSON(json: any): IndonesiaDukcapilBiometricMatchInput;
82
- export declare function IndonesiaDukcapilBiometricMatchInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndonesiaDukcapilBiometricMatchInput;
83
- export declare function IndonesiaDukcapilBiometricMatchInputToJSON(json: any): IndonesiaDukcapilBiometricMatchInput;
84
- export declare function IndonesiaDukcapilBiometricMatchInputToJSONTyped(value?: IndonesiaDukcapilBiometricMatchInput | null, ignoreDiscriminator?: boolean): any;
80
+ export declare function instanceOfIndonesiaDukcapilMatchInput(value: object): value is IndonesiaDukcapilMatchInput;
81
+ export declare function IndonesiaDukcapilMatchInputFromJSON(json: any): IndonesiaDukcapilMatchInput;
82
+ export declare function IndonesiaDukcapilMatchInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndonesiaDukcapilMatchInput;
83
+ export declare function IndonesiaDukcapilMatchInputToJSON(json: any): IndonesiaDukcapilMatchInput;
84
+ export declare function IndonesiaDukcapilMatchInputToJSONTyped(value?: IndonesiaDukcapilMatchInput | null, ignoreDiscriminator?: boolean): any;
@@ -13,21 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfIndonesiaDukcapilBiometricMatchInput = instanceOfIndonesiaDukcapilBiometricMatchInput;
17
- exports.IndonesiaDukcapilBiometricMatchInputFromJSON = IndonesiaDukcapilBiometricMatchInputFromJSON;
18
- exports.IndonesiaDukcapilBiometricMatchInputFromJSONTyped = IndonesiaDukcapilBiometricMatchInputFromJSONTyped;
19
- exports.IndonesiaDukcapilBiometricMatchInputToJSON = IndonesiaDukcapilBiometricMatchInputToJSON;
20
- exports.IndonesiaDukcapilBiometricMatchInputToJSONTyped = IndonesiaDukcapilBiometricMatchInputToJSONTyped;
16
+ exports.instanceOfIndonesiaDukcapilMatchInput = instanceOfIndonesiaDukcapilMatchInput;
17
+ exports.IndonesiaDukcapilMatchInputFromJSON = IndonesiaDukcapilMatchInputFromJSON;
18
+ exports.IndonesiaDukcapilMatchInputFromJSONTyped = IndonesiaDukcapilMatchInputFromJSONTyped;
19
+ exports.IndonesiaDukcapilMatchInputToJSON = IndonesiaDukcapilMatchInputToJSON;
20
+ exports.IndonesiaDukcapilMatchInputToJSONTyped = IndonesiaDukcapilMatchInputToJSONTyped;
21
21
  /**
22
- * Check if a given object implements the IndonesiaDukcapilBiometricMatchInput interface.
22
+ * Check if a given object implements the IndonesiaDukcapilMatchInput interface.
23
23
  */
24
- function instanceOfIndonesiaDukcapilBiometricMatchInput(value) {
24
+ function instanceOfIndonesiaDukcapilMatchInput(value) {
25
25
  return true;
26
26
  }
27
- function IndonesiaDukcapilBiometricMatchInputFromJSON(json) {
28
- return IndonesiaDukcapilBiometricMatchInputFromJSONTyped(json, false);
27
+ function IndonesiaDukcapilMatchInputFromJSON(json) {
28
+ return IndonesiaDukcapilMatchInputFromJSONTyped(json, false);
29
29
  }
30
- function IndonesiaDukcapilBiometricMatchInputFromJSONTyped(json, ignoreDiscriminator) {
30
+ function IndonesiaDukcapilMatchInputFromJSONTyped(json, ignoreDiscriminator) {
31
31
  if (json == null) {
32
32
  return json;
33
33
  }
@@ -42,10 +42,10 @@ function IndonesiaDukcapilBiometricMatchInputFromJSONTyped(json, ignoreDiscrimin
42
42
  'consentGivenAt': json['consentGivenAt'] == null ? undefined : (new Date(json['consentGivenAt'])),
43
43
  };
44
44
  }
45
- function IndonesiaDukcapilBiometricMatchInputToJSON(json) {
46
- return IndonesiaDukcapilBiometricMatchInputToJSONTyped(json, false);
45
+ function IndonesiaDukcapilMatchInputToJSON(json) {
46
+ return IndonesiaDukcapilMatchInputToJSONTyped(json, false);
47
47
  }
48
- function IndonesiaDukcapilBiometricMatchInputToJSONTyped(value, ignoreDiscriminator = false) {
48
+ function IndonesiaDukcapilMatchInputToJSONTyped(value, ignoreDiscriminator = false) {
49
49
  if (value == null) {
50
50
  return value;
51
51
  }
@@ -21,6 +21,7 @@ export declare const IntegrationCapability: {
21
21
  readonly CaptureRedirect: "CaptureRedirect";
22
22
  readonly PollResult: "PollResult";
23
23
  readonly PollAfterRedirect: "PollAfterRedirect";
24
+ readonly NativeChallenge: "NativeChallenge";
24
25
  };
25
26
  export type IntegrationCapability = typeof IntegrationCapability[keyof typeof IntegrationCapability];
26
27
  export declare function instanceOfIntegrationCapability(value: any): boolean;
@@ -30,7 +30,8 @@ exports.IntegrationCapability = {
30
30
  RefreshStepContent: 'RefreshStepContent',
31
31
  CaptureRedirect: 'CaptureRedirect',
32
32
  PollResult: 'PollResult',
33
- PollAfterRedirect: 'PollAfterRedirect'
33
+ PollAfterRedirect: 'PollAfterRedirect',
34
+ NativeChallenge: 'NativeChallenge'
34
35
  };
35
36
  function instanceOfIntegrationCapability(value) {
36
37
  for (const key in exports.IntegrationCapability) {
@@ -18,6 +18,7 @@ export declare const IntegrationLaunchMethod: {
18
18
  readonly None: "None";
19
19
  readonly DeeplinkToMobile: "DeeplinkToMobile";
20
20
  readonly ShowContent: "ShowContent";
21
+ readonly PerformNativeChallenge: "PerformNativeChallenge";
21
22
  };
22
23
  export type IntegrationLaunchMethod = typeof IntegrationLaunchMethod[keyof typeof IntegrationLaunchMethod];
23
24
  export declare function instanceOfIntegrationLaunchMethod(value: any): boolean;
@@ -27,7 +27,8 @@ exports.IntegrationLaunchMethod = {
27
27
  LaunchBrowser: 'LaunchBrowser',
28
28
  None: 'None',
29
29
  DeeplinkToMobile: 'DeeplinkToMobile',
30
- ShowContent: 'ShowContent'
30
+ ShowContent: 'ShowContent',
31
+ PerformNativeChallenge: 'PerformNativeChallenge'
31
32
  };
32
33
  function instanceOfIntegrationLaunchMethod(value) {
33
34
  for (const key in exports.IntegrationLaunchMethod) {
@@ -12,7 +12,7 @@
12
12
  import type { StepRefreshInfo } from './StepRefreshInfo';
13
13
  import type { IntegrationLaunchMethod } from './IntegrationLaunchMethod';
14
14
  /**
15
- * A step to perform in the process of executing an Advanced Provider Session
15
+ * A step to perform in the process of executing an Direct Provider Session
16
16
  * @export
17
17
  * @interface IntegrationStep
18
18
  */
@@ -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 Match
16
+ */
17
+ export interface Match {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof Match
22
+ */
23
+ probabilityValue?: number | null;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof Match
28
+ */
29
+ booleanValue?: boolean | null;
30
+ }
31
+ /**
32
+ * Check if a given object implements the Match interface.
33
+ */
34
+ export declare function instanceOfMatch(value: object): value is Match;
35
+ export declare function MatchFromJSON(json: any): Match;
36
+ export declare function MatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): Match;
37
+ export declare function MatchToJSON(json: any): Match;
38
+ export declare function MatchToJSONTyped(value?: Match | 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.instanceOfMatch = instanceOfMatch;
17
+ exports.MatchFromJSON = MatchFromJSON;
18
+ exports.MatchFromJSONTyped = MatchFromJSONTyped;
19
+ exports.MatchToJSON = MatchToJSON;
20
+ exports.MatchToJSONTyped = MatchToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the Match interface.
23
+ */
24
+ function instanceOfMatch(value) {
25
+ return true;
26
+ }
27
+ function MatchFromJSON(json) {
28
+ return MatchFromJSONTyped(json, false);
29
+ }
30
+ function MatchFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'probabilityValue': json['probabilityValue'] == null ? undefined : json['probabilityValue'],
36
+ 'booleanValue': json['booleanValue'] == null ? undefined : json['booleanValue'],
37
+ };
38
+ }
39
+ function MatchToJSON(json) {
40
+ return MatchToJSONTyped(json, false);
41
+ }
42
+ function MatchToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'probabilityValue': value['probabilityValue'],
48
+ 'booleanValue': value['booleanValue'],
49
+ };
50
+ }
@@ -0,0 +1,87 @@
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 { Match } from './Match';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface MatchData
17
+ */
18
+ export interface MatchData {
19
+ /**
20
+ *
21
+ * @type {Match}
22
+ * @memberof MatchData
23
+ */
24
+ nationalIdNumber?: Match | null;
25
+ /**
26
+ *
27
+ * @type {Match}
28
+ * @memberof MatchData
29
+ */
30
+ fullName?: Match | null;
31
+ /**
32
+ *
33
+ * @type {Match}
34
+ * @memberof MatchData
35
+ */
36
+ givenName?: Match | null;
37
+ /**
38
+ *
39
+ * @type {Match}
40
+ * @memberof MatchData
41
+ */
42
+ middleName?: Match | null;
43
+ /**
44
+ *
45
+ * @type {Match}
46
+ * @memberof MatchData
47
+ */
48
+ familyName?: Match | null;
49
+ /**
50
+ *
51
+ * @type {Match}
52
+ * @memberof MatchData
53
+ */
54
+ sex?: Match | null;
55
+ /**
56
+ *
57
+ * @type {Match}
58
+ * @memberof MatchData
59
+ */
60
+ dateOfBirth?: Match | null;
61
+ /**
62
+ *
63
+ * @type {Match}
64
+ * @memberof MatchData
65
+ */
66
+ faceMatch?: Match | null;
67
+ /**
68
+ *
69
+ * @type {Match}
70
+ * @memberof MatchData
71
+ */
72
+ liveness?: Match | null;
73
+ /**
74
+ *
75
+ * @type {Match}
76
+ * @memberof MatchData
77
+ */
78
+ imageAuthenticity?: Match | null;
79
+ }
80
+ /**
81
+ * Check if a given object implements the MatchData interface.
82
+ */
83
+ export declare function instanceOfMatchData(value: object): value is MatchData;
84
+ export declare function MatchDataFromJSON(json: any): MatchData;
85
+ export declare function MatchDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): MatchData;
86
+ export declare function MatchDataToJSON(json: any): MatchData;
87
+ export declare function MatchDataToJSONTyped(value?: MatchData | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
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.instanceOfMatchData = instanceOfMatchData;
17
+ exports.MatchDataFromJSON = MatchDataFromJSON;
18
+ exports.MatchDataFromJSONTyped = MatchDataFromJSONTyped;
19
+ exports.MatchDataToJSON = MatchDataToJSON;
20
+ exports.MatchDataToJSONTyped = MatchDataToJSONTyped;
21
+ const Match_1 = require("./Match");
22
+ /**
23
+ * Check if a given object implements the MatchData interface.
24
+ */
25
+ function instanceOfMatchData(value) {
26
+ return true;
27
+ }
28
+ function MatchDataFromJSON(json) {
29
+ return MatchDataFromJSONTyped(json, false);
30
+ }
31
+ function MatchDataFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'nationalIdNumber': json['nationalIdNumber'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['nationalIdNumber']),
37
+ 'fullName': json['fullName'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['fullName']),
38
+ 'givenName': json['givenName'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['givenName']),
39
+ 'middleName': json['middleName'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['middleName']),
40
+ 'familyName': json['familyName'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['familyName']),
41
+ 'sex': json['sex'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['sex']),
42
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['dateOfBirth']),
43
+ 'faceMatch': json['faceMatch'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['faceMatch']),
44
+ 'liveness': json['liveness'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['liveness']),
45
+ 'imageAuthenticity': json['imageAuthenticity'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['imageAuthenticity']),
46
+ };
47
+ }
48
+ function MatchDataToJSON(json) {
49
+ return MatchDataToJSONTyped(json, false);
50
+ }
51
+ function MatchDataToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'nationalIdNumber': (0, Match_1.MatchToJSON)(value['nationalIdNumber']),
57
+ 'fullName': (0, Match_1.MatchToJSON)(value['fullName']),
58
+ 'givenName': (0, Match_1.MatchToJSON)(value['givenName']),
59
+ 'middleName': (0, Match_1.MatchToJSON)(value['middleName']),
60
+ 'familyName': (0, Match_1.MatchToJSON)(value['familyName']),
61
+ 'sex': (0, Match_1.MatchToJSON)(value['sex']),
62
+ 'dateOfBirth': (0, Match_1.MatchToJSON)(value['dateOfBirth']),
63
+ 'faceMatch': (0, Match_1.MatchToJSON)(value['faceMatch']),
64
+ 'liveness': (0, Match_1.MatchToJSON)(value['liveness']),
65
+ 'imageAuthenticity': (0, Match_1.MatchToJSON)(value['imageAuthenticity']),
66
+ };
67
+ }
@@ -0,0 +1,58 @@
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 MdlCertificateData
16
+ */
17
+ export interface MdlCertificateData {
18
+ /**
19
+ * The serial number of the certificate
20
+ * @type {string}
21
+ * @memberof MdlCertificateData
22
+ */
23
+ serialNumber: string;
24
+ /**
25
+ * The common name (CN) of the certificate
26
+ * @type {string}
27
+ * @memberof MdlCertificateData
28
+ */
29
+ commonName: string;
30
+ /**
31
+ * The state or province name (ST) of the certificate.
32
+ *
33
+ * May be an empty string for certificates which are not state-specific (e.g., Google Wallet's ID Pass certificates).
34
+ * @type {string}
35
+ * @memberof MdlCertificateData
36
+ */
37
+ stateOrProvinceName: string;
38
+ /**
39
+ * The date before which this certificate is not valid.
40
+ * @type {Date}
41
+ * @memberof MdlCertificateData
42
+ */
43
+ notBefore: Date;
44
+ /**
45
+ * The date after which this certificate is not valid.
46
+ * @type {Date}
47
+ * @memberof MdlCertificateData
48
+ */
49
+ notAfter: Date;
50
+ }
51
+ /**
52
+ * Check if a given object implements the MdlCertificateData interface.
53
+ */
54
+ export declare function instanceOfMdlCertificateData(value: object): value is MdlCertificateData;
55
+ export declare function MdlCertificateDataFromJSON(json: any): MdlCertificateData;
56
+ export declare function MdlCertificateDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): MdlCertificateData;
57
+ export declare function MdlCertificateDataToJSON(json: any): MdlCertificateData;
58
+ export declare function MdlCertificateDataToJSONTyped(value?: MdlCertificateData | null, ignoreDiscriminator?: boolean): any;