@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
@@ -21,6 +21,12 @@ export interface GetAttachmentRequest {
21
21
  * @memberof GetAttachmentRequest
22
22
  */
23
23
  attachmentAccessKey: string;
24
+ /**
25
+ * The ID of the Acceptance Session for which the Attachment is being requested.
26
+ * @type {string}
27
+ * @memberof GetAttachmentRequest
28
+ */
29
+ sessionId: string;
24
30
  }
25
31
  /**
26
32
  * Check if a given object implements the GetAttachmentRequest interface.
@@ -17,6 +17,8 @@
17
17
  export function instanceOfGetAttachmentRequest(value) {
18
18
  if (!('attachmentAccessKey' in value) || value['attachmentAccessKey'] === undefined)
19
19
  return false;
20
+ if (!('sessionId' in value) || value['sessionId'] === undefined)
21
+ return false;
20
22
  return true;
21
23
  }
22
24
  export function GetAttachmentRequestFromJSON(json) {
@@ -28,6 +30,7 @@ export function GetAttachmentRequestFromJSONTyped(json, ignoreDiscriminator) {
28
30
  }
29
31
  return {
30
32
  'attachmentAccessKey': json['attachmentAccessKey'],
33
+ 'sessionId': json['sessionId'],
31
34
  };
32
35
  }
33
36
  export function GetAttachmentRequestToJSON(json) {
@@ -39,5 +42,6 @@ export function GetAttachmentRequestToJSONTyped(value, ignoreDiscriminator = fal
39
42
  }
40
43
  return {
41
44
  'attachmentAccessKey': value['attachmentAccessKey'],
45
+ 'sessionId': value['sessionId'],
42
46
  };
43
47
  }
@@ -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,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { MdlExchangeMechanismFromJSON, MdlExchangeMechanismToJSON, } from './MdlExchangeMechanism';
15
+ /**
16
+ * Check if a given object implements the GoogleWalletInput interface.
17
+ */
18
+ export function instanceOfGoogleWalletInput(value) {
19
+ return true;
20
+ }
21
+ export function GoogleWalletInputFromJSON(json) {
22
+ return GoogleWalletInputFromJSONTyped(json, false);
23
+ }
24
+ export function GoogleWalletInputFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'exchangeMechanism': json['exchangeMechanism'] == null ? undefined : MdlExchangeMechanismFromJSON(json['exchangeMechanism']),
30
+ };
31
+ }
32
+ export function GoogleWalletInputToJSON(json) {
33
+ return GoogleWalletInputToJSONTyped(json, false);
34
+ }
35
+ export function GoogleWalletInputToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'exchangeMechanism': MdlExchangeMechanismToJSON(value['exchangeMechanism']),
41
+ };
42
+ }
@@ -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}
@@ -14,6 +14,7 @@
14
14
  import { DocumentDataFromJSON, DocumentDataToJSON, } from './DocumentData';
15
15
  import { PersonDataFromJSON, PersonDataToJSON, } from './PersonData';
16
16
  import { AttachmentAccessKeysFromJSON, AttachmentAccessKeysToJSON, } from './AttachmentAccessKeys';
17
+ import { MatchDataFromJSON, MatchDataToJSON, } from './MatchData';
17
18
  /**
18
19
  * Check if a given object implements the IdentityData interface.
19
20
  */
@@ -32,6 +33,7 @@ export function IdentityDataFromJSONTyped(json, ignoreDiscriminator) {
32
33
  'originatingSubProviderId': json['originatingSubProviderId'] == null ? undefined : json['originatingSubProviderId'],
33
34
  'person': json['person'] == null ? undefined : PersonDataFromJSON(json['person']),
34
35
  'document': json['document'] == null ? undefined : DocumentDataFromJSON(json['document']),
36
+ 'match': json['match'] == null ? undefined : MatchDataFromJSON(json['match']),
35
37
  'attachmentAccessKeys': json['attachmentAccessKeys'] == null ? undefined : AttachmentAccessKeysFromJSON(json['attachmentAccessKeys']),
36
38
  };
37
39
  }
@@ -47,6 +49,7 @@ export function IdentityDataToJSONTyped(value, ignoreDiscriminator = false) {
47
49
  'originatingSubProviderId': value['originatingSubProviderId'],
48
50
  'person': PersonDataToJSON(value['person']),
49
51
  'document': DocumentDataToJSON(value['document']),
52
+ 'match': MatchDataToJSON(value['match']),
50
53
  'attachmentAccessKeys': AttachmentAccessKeysToJSON(value['attachmentAccessKeys']),
51
54
  };
52
55
  }
@@ -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;
@@ -12,15 +12,15 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Check if a given object implements the IndonesiaDukcapilBiometricMatchInput interface.
15
+ * Check if a given object implements the IndonesiaDukcapilMatchInput interface.
16
16
  */
17
- export function instanceOfIndonesiaDukcapilBiometricMatchInput(value) {
17
+ export function instanceOfIndonesiaDukcapilMatchInput(value) {
18
18
  return true;
19
19
  }
20
- export function IndonesiaDukcapilBiometricMatchInputFromJSON(json) {
21
- return IndonesiaDukcapilBiometricMatchInputFromJSONTyped(json, false);
20
+ export function IndonesiaDukcapilMatchInputFromJSON(json) {
21
+ return IndonesiaDukcapilMatchInputFromJSONTyped(json, false);
22
22
  }
23
- export function IndonesiaDukcapilBiometricMatchInputFromJSONTyped(json, ignoreDiscriminator) {
23
+ export function IndonesiaDukcapilMatchInputFromJSONTyped(json, ignoreDiscriminator) {
24
24
  if (json == null) {
25
25
  return json;
26
26
  }
@@ -35,10 +35,10 @@ export function IndonesiaDukcapilBiometricMatchInputFromJSONTyped(json, ignoreDi
35
35
  'consentGivenAt': json['consentGivenAt'] == null ? undefined : (new Date(json['consentGivenAt'])),
36
36
  };
37
37
  }
38
- export function IndonesiaDukcapilBiometricMatchInputToJSON(json) {
39
- return IndonesiaDukcapilBiometricMatchInputToJSONTyped(json, false);
38
+ export function IndonesiaDukcapilMatchInputToJSON(json) {
39
+ return IndonesiaDukcapilMatchInputToJSONTyped(json, false);
40
40
  }
41
- export function IndonesiaDukcapilBiometricMatchInputToJSONTyped(value, ignoreDiscriminator = false) {
41
+ export function IndonesiaDukcapilMatchInputToJSONTyped(value, ignoreDiscriminator = false) {
42
42
  if (value == null) {
43
43
  return value;
44
44
  }
@@ -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;
@@ -22,7 +22,8 @@ export const IntegrationCapability = {
22
22
  RefreshStepContent: 'RefreshStepContent',
23
23
  CaptureRedirect: 'CaptureRedirect',
24
24
  PollResult: 'PollResult',
25
- PollAfterRedirect: 'PollAfterRedirect'
25
+ PollAfterRedirect: 'PollAfterRedirect',
26
+ NativeChallenge: 'NativeChallenge'
26
27
  };
27
28
  export function instanceOfIntegrationCapability(value) {
28
29
  for (const key in 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;
@@ -19,7 +19,8 @@ export const IntegrationLaunchMethod = {
19
19
  LaunchBrowser: 'LaunchBrowser',
20
20
  None: 'None',
21
21
  DeeplinkToMobile: 'DeeplinkToMobile',
22
- ShowContent: 'ShowContent'
22
+ ShowContent: 'ShowContent',
23
+ PerformNativeChallenge: 'PerformNativeChallenge'
23
24
  };
24
25
  export function instanceOfIntegrationLaunchMethod(value) {
25
26
  for (const key in 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,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the Match interface.
16
+ */
17
+ export function instanceOfMatch(value) {
18
+ return true;
19
+ }
20
+ export function MatchFromJSON(json) {
21
+ return MatchFromJSONTyped(json, false);
22
+ }
23
+ export function MatchFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'probabilityValue': json['probabilityValue'] == null ? undefined : json['probabilityValue'],
29
+ 'booleanValue': json['booleanValue'] == null ? undefined : json['booleanValue'],
30
+ };
31
+ }
32
+ export function MatchToJSON(json) {
33
+ return MatchToJSONTyped(json, false);
34
+ }
35
+ export function MatchToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'probabilityValue': value['probabilityValue'],
41
+ 'booleanValue': value['booleanValue'],
42
+ };
43
+ }
@@ -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,60 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Trinsic API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { MatchFromJSON, MatchToJSON, } from './Match';
15
+ /**
16
+ * Check if a given object implements the MatchData interface.
17
+ */
18
+ export function instanceOfMatchData(value) {
19
+ return true;
20
+ }
21
+ export function MatchDataFromJSON(json) {
22
+ return MatchDataFromJSONTyped(json, false);
23
+ }
24
+ export function MatchDataFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'nationalIdNumber': json['nationalIdNumber'] == null ? undefined : MatchFromJSON(json['nationalIdNumber']),
30
+ 'fullName': json['fullName'] == null ? undefined : MatchFromJSON(json['fullName']),
31
+ 'givenName': json['givenName'] == null ? undefined : MatchFromJSON(json['givenName']),
32
+ 'middleName': json['middleName'] == null ? undefined : MatchFromJSON(json['middleName']),
33
+ 'familyName': json['familyName'] == null ? undefined : MatchFromJSON(json['familyName']),
34
+ 'sex': json['sex'] == null ? undefined : MatchFromJSON(json['sex']),
35
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : MatchFromJSON(json['dateOfBirth']),
36
+ 'faceMatch': json['faceMatch'] == null ? undefined : MatchFromJSON(json['faceMatch']),
37
+ 'liveness': json['liveness'] == null ? undefined : MatchFromJSON(json['liveness']),
38
+ 'imageAuthenticity': json['imageAuthenticity'] == null ? undefined : MatchFromJSON(json['imageAuthenticity']),
39
+ };
40
+ }
41
+ export function MatchDataToJSON(json) {
42
+ return MatchDataToJSONTyped(json, false);
43
+ }
44
+ export function MatchDataToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'nationalIdNumber': MatchToJSON(value['nationalIdNumber']),
50
+ 'fullName': MatchToJSON(value['fullName']),
51
+ 'givenName': MatchToJSON(value['givenName']),
52
+ 'middleName': MatchToJSON(value['middleName']),
53
+ 'familyName': MatchToJSON(value['familyName']),
54
+ 'sex': MatchToJSON(value['sex']),
55
+ 'dateOfBirth': MatchToJSON(value['dateOfBirth']),
56
+ 'faceMatch': MatchToJSON(value['faceMatch']),
57
+ 'liveness': MatchToJSON(value['liveness']),
58
+ 'imageAuthenticity': MatchToJSON(value['imageAuthenticity']),
59
+ };
60
+ }
@@ -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;