@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
@@ -0,0 +1,77 @@
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
+ import { mapValues } from '../runtime';
16
+ import type { MdlExchangeMechanism } from './MdlExchangeMechanism';
17
+ import {
18
+ MdlExchangeMechanismFromJSON,
19
+ MdlExchangeMechanismFromJSONTyped,
20
+ MdlExchangeMechanismToJSON,
21
+ MdlExchangeMechanismToJSONTyped,
22
+ } from './MdlExchangeMechanism';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface GoogleWalletInput
28
+ */
29
+ export interface GoogleWalletInput {
30
+ /**
31
+ * The exchange mechanism to use for this Google Wallet verification.
32
+ *
33
+ * Use `DigitalCredentialsApi` for Digital Credentials API on web, or `NativeApp` for a native Android app.
34
+ * @type {MdlExchangeMechanism}
35
+ * @memberof GoogleWalletInput
36
+ */
37
+ exchangeMechanism?: MdlExchangeMechanism | null;
38
+ }
39
+
40
+
41
+
42
+ /**
43
+ * Check if a given object implements the GoogleWalletInput interface.
44
+ */
45
+ export function instanceOfGoogleWalletInput(value: object): value is GoogleWalletInput {
46
+ return true;
47
+ }
48
+
49
+ export function GoogleWalletInputFromJSON(json: any): GoogleWalletInput {
50
+ return GoogleWalletInputFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function GoogleWalletInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): GoogleWalletInput {
54
+ if (json == null) {
55
+ return json;
56
+ }
57
+ return {
58
+
59
+ 'exchangeMechanism': json['exchangeMechanism'] == null ? undefined : MdlExchangeMechanismFromJSON(json['exchangeMechanism']),
60
+ };
61
+ }
62
+
63
+ export function GoogleWalletInputToJSON(json: any): GoogleWalletInput {
64
+ return GoogleWalletInputToJSONTyped(json, false);
65
+ }
66
+
67
+ export function GoogleWalletInputToJSONTyped(value?: GoogleWalletInput | null, ignoreDiscriminator: boolean = false): any {
68
+ if (value == null) {
69
+ return value;
70
+ }
71
+
72
+ return {
73
+
74
+ 'exchangeMechanism': MdlExchangeMechanismToJSON(value['exchangeMechanism']),
75
+ };
76
+ }
77
+
@@ -34,6 +34,13 @@ import {
34
34
  AttachmentAccessKeysToJSON,
35
35
  AttachmentAccessKeysToJSONTyped,
36
36
  } from './AttachmentAccessKeys';
37
+ import type { MatchData } from './MatchData';
38
+ import {
39
+ MatchDataFromJSON,
40
+ MatchDataFromJSONTyped,
41
+ MatchDataToJSON,
42
+ MatchDataToJSONTyped,
43
+ } from './MatchData';
37
44
 
38
45
  /**
39
46
  *
@@ -65,6 +72,12 @@ export interface IdentityData {
65
72
  * @memberof IdentityData
66
73
  */
67
74
  document?: DocumentData | null;
75
+ /**
76
+ *
77
+ * @type {MatchData}
78
+ * @memberof IdentityData
79
+ */
80
+ match?: MatchData | null;
68
81
  /**
69
82
  *
70
83
  * @type {AttachmentAccessKeys}
@@ -94,6 +107,7 @@ export function IdentityDataFromJSONTyped(json: any, ignoreDiscriminator: boolea
94
107
  'originatingSubProviderId': json['originatingSubProviderId'] == null ? undefined : json['originatingSubProviderId'],
95
108
  'person': json['person'] == null ? undefined : PersonDataFromJSON(json['person']),
96
109
  'document': json['document'] == null ? undefined : DocumentDataFromJSON(json['document']),
110
+ 'match': json['match'] == null ? undefined : MatchDataFromJSON(json['match']),
97
111
  'attachmentAccessKeys': json['attachmentAccessKeys'] == null ? undefined : AttachmentAccessKeysFromJSON(json['attachmentAccessKeys']),
98
112
  };
99
113
  }
@@ -113,6 +127,7 @@ export function IdentityDataToJSONTyped(value?: IdentityData | null, ignoreDiscr
113
127
  'originatingSubProviderId': value['originatingSubProviderId'],
114
128
  'person': PersonDataToJSON(value['person']),
115
129
  'document': DocumentDataToJSON(value['document']),
130
+ 'match': MatchDataToJSON(value['match']),
116
131
  'attachmentAccessKeys': AttachmentAccessKeysToJSON(value['attachmentAccessKeys']),
117
132
  };
118
133
  }
@@ -16,25 +16,25 @@ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface IndonesiaDukcapilBiometricMatchInput
19
+ * @interface IndonesiaDukcapilMatchInput
20
20
  */
21
- export interface IndonesiaDukcapilBiometricMatchInput {
21
+ export interface IndonesiaDukcapilMatchInput {
22
22
  /**
23
23
  * The user's full name
24
24
  * @type {string}
25
- * @memberof IndonesiaDukcapilBiometricMatchInput
25
+ * @memberof IndonesiaDukcapilMatchInput
26
26
  */
27
27
  fullName?: string | null;
28
28
  /**
29
29
  * The user's date of birth, in `YYYY-MM-DD` format
30
30
  * @type {Date}
31
- * @memberof IndonesiaDukcapilBiometricMatchInput
31
+ * @memberof IndonesiaDukcapilMatchInput
32
32
  */
33
33
  dateOfBirth?: Date | null;
34
34
  /**
35
35
  * The user's Indonesia NIK ID number
36
36
  * @type {string}
37
- * @memberof IndonesiaDukcapilBiometricMatchInput
37
+ * @memberof IndonesiaDukcapilMatchInput
38
38
  */
39
39
  nikIdNumber?: string | null;
40
40
  /**
@@ -42,7 +42,7 @@ export interface IndonesiaDukcapilBiometricMatchInput {
42
42
  *
43
43
  * Either email or phone number must be provided.
44
44
  * @type {string}
45
- * @memberof IndonesiaDukcapilBiometricMatchInput
45
+ * @memberof IndonesiaDukcapilMatchInput
46
46
  */
47
47
  email?: string | null;
48
48
  /**
@@ -50,15 +50,15 @@ export interface IndonesiaDukcapilBiometricMatchInput {
50
50
  *
51
51
  * Either email or phone number must be provided.
52
52
  * @type {string}
53
- * @memberof IndonesiaDukcapilBiometricMatchInput
53
+ * @memberof IndonesiaDukcapilMatchInput
54
54
  */
55
55
  phoneNumber?: string | null;
56
56
  /**
57
57
  * The raw bytes of the selfie image of the individual.
58
58
  *
59
- * Must be JPEG format; 1MB maximum.
59
+ * Must be JPEG or PNG format; 10MB maximum.
60
60
  * @type {string}
61
- * @memberof IndonesiaDukcapilBiometricMatchInput
61
+ * @memberof IndonesiaDukcapilMatchInput
62
62
  */
63
63
  selfieImage?: string | null;
64
64
  /**
@@ -68,29 +68,29 @@ export interface IndonesiaDukcapilBiometricMatchInput {
68
68
  *
69
69
  * Optional.
70
70
  * @type {string}
71
- * @memberof IndonesiaDukcapilBiometricMatchInput
71
+ * @memberof IndonesiaDukcapilMatchInput
72
72
  */
73
73
  documentImage?: string | null;
74
74
  /**
75
75
  * The timestamp when consent was given by the user for the verification.
76
76
  * @type {Date}
77
- * @memberof IndonesiaDukcapilBiometricMatchInput
77
+ * @memberof IndonesiaDukcapilMatchInput
78
78
  */
79
79
  consentGivenAt?: Date | null;
80
80
  }
81
81
 
82
82
  /**
83
- * Check if a given object implements the IndonesiaDukcapilBiometricMatchInput interface.
83
+ * Check if a given object implements the IndonesiaDukcapilMatchInput interface.
84
84
  */
85
- export function instanceOfIndonesiaDukcapilBiometricMatchInput(value: object): value is IndonesiaDukcapilBiometricMatchInput {
85
+ export function instanceOfIndonesiaDukcapilMatchInput(value: object): value is IndonesiaDukcapilMatchInput {
86
86
  return true;
87
87
  }
88
88
 
89
- export function IndonesiaDukcapilBiometricMatchInputFromJSON(json: any): IndonesiaDukcapilBiometricMatchInput {
90
- return IndonesiaDukcapilBiometricMatchInputFromJSONTyped(json, false);
89
+ export function IndonesiaDukcapilMatchInputFromJSON(json: any): IndonesiaDukcapilMatchInput {
90
+ return IndonesiaDukcapilMatchInputFromJSONTyped(json, false);
91
91
  }
92
92
 
93
- export function IndonesiaDukcapilBiometricMatchInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndonesiaDukcapilBiometricMatchInput {
93
+ export function IndonesiaDukcapilMatchInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndonesiaDukcapilMatchInput {
94
94
  if (json == null) {
95
95
  return json;
96
96
  }
@@ -107,11 +107,11 @@ export function IndonesiaDukcapilBiometricMatchInputFromJSONTyped(json: any, ign
107
107
  };
108
108
  }
109
109
 
110
- export function IndonesiaDukcapilBiometricMatchInputToJSON(json: any): IndonesiaDukcapilBiometricMatchInput {
111
- return IndonesiaDukcapilBiometricMatchInputToJSONTyped(json, false);
110
+ export function IndonesiaDukcapilMatchInputToJSON(json: any): IndonesiaDukcapilMatchInput {
111
+ return IndonesiaDukcapilMatchInputToJSONTyped(json, false);
112
112
  }
113
113
 
114
- export function IndonesiaDukcapilBiometricMatchInputToJSONTyped(value?: IndonesiaDukcapilBiometricMatchInput | null, ignoreDiscriminator: boolean = false): any {
114
+ export function IndonesiaDukcapilMatchInputToJSONTyped(value?: IndonesiaDukcapilMatchInput | null, ignoreDiscriminator: boolean = false): any {
115
115
  if (value == null) {
116
116
  return value;
117
117
  }
@@ -24,7 +24,8 @@ export const IntegrationCapability = {
24
24
  RefreshStepContent: 'RefreshStepContent',
25
25
  CaptureRedirect: 'CaptureRedirect',
26
26
  PollResult: 'PollResult',
27
- PollAfterRedirect: 'PollAfterRedirect'
27
+ PollAfterRedirect: 'PollAfterRedirect',
28
+ NativeChallenge: 'NativeChallenge'
28
29
  } as const;
29
30
  export type IntegrationCapability = typeof IntegrationCapability[keyof typeof IntegrationCapability];
30
31
 
@@ -21,7 +21,8 @@ export const IntegrationLaunchMethod = {
21
21
  LaunchBrowser: 'LaunchBrowser',
22
22
  None: 'None',
23
23
  DeeplinkToMobile: 'DeeplinkToMobile',
24
- ShowContent: 'ShowContent'
24
+ ShowContent: 'ShowContent',
25
+ PerformNativeChallenge: 'PerformNativeChallenge'
25
26
  } as const;
26
27
  export type IntegrationLaunchMethod = typeof IntegrationLaunchMethod[keyof typeof IntegrationLaunchMethod];
27
28
 
@@ -29,7 +29,7 @@ import {
29
29
  } from './IntegrationLaunchMethod';
30
30
 
31
31
  /**
32
- * A step to perform in the process of executing an Advanced Provider Session
32
+ * A step to perform in the process of executing an Direct Provider Session
33
33
  * @export
34
34
  * @interface IntegrationStep
35
35
  */
@@ -0,0 +1,73 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface Match
20
+ */
21
+ export interface Match {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof Match
26
+ */
27
+ probabilityValue?: number | null;
28
+ /**
29
+ *
30
+ * @type {boolean}
31
+ * @memberof Match
32
+ */
33
+ booleanValue?: boolean | null;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the Match interface.
38
+ */
39
+ export function instanceOfMatch(value: object): value is Match {
40
+ return true;
41
+ }
42
+
43
+ export function MatchFromJSON(json: any): Match {
44
+ return MatchFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function MatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): Match {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+
53
+ 'probabilityValue': json['probabilityValue'] == null ? undefined : json['probabilityValue'],
54
+ 'booleanValue': json['booleanValue'] == null ? undefined : json['booleanValue'],
55
+ };
56
+ }
57
+
58
+ export function MatchToJSON(json: any): Match {
59
+ return MatchToJSONTyped(json, false);
60
+ }
61
+
62
+ export function MatchToJSONTyped(value?: Match | null, ignoreDiscriminator: boolean = false): any {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+
67
+ return {
68
+
69
+ 'probabilityValue': value['probabilityValue'],
70
+ 'booleanValue': value['booleanValue'],
71
+ };
72
+ }
73
+
@@ -0,0 +1,145 @@
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
+ import { mapValues } from '../runtime';
16
+ import type { Match } from './Match';
17
+ import {
18
+ MatchFromJSON,
19
+ MatchFromJSONTyped,
20
+ MatchToJSON,
21
+ MatchToJSONTyped,
22
+ } from './Match';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface MatchData
28
+ */
29
+ export interface MatchData {
30
+ /**
31
+ *
32
+ * @type {Match}
33
+ * @memberof MatchData
34
+ */
35
+ nationalIdNumber?: Match | null;
36
+ /**
37
+ *
38
+ * @type {Match}
39
+ * @memberof MatchData
40
+ */
41
+ fullName?: Match | null;
42
+ /**
43
+ *
44
+ * @type {Match}
45
+ * @memberof MatchData
46
+ */
47
+ givenName?: Match | null;
48
+ /**
49
+ *
50
+ * @type {Match}
51
+ * @memberof MatchData
52
+ */
53
+ middleName?: Match | null;
54
+ /**
55
+ *
56
+ * @type {Match}
57
+ * @memberof MatchData
58
+ */
59
+ familyName?: Match | null;
60
+ /**
61
+ *
62
+ * @type {Match}
63
+ * @memberof MatchData
64
+ */
65
+ sex?: Match | null;
66
+ /**
67
+ *
68
+ * @type {Match}
69
+ * @memberof MatchData
70
+ */
71
+ dateOfBirth?: Match | null;
72
+ /**
73
+ *
74
+ * @type {Match}
75
+ * @memberof MatchData
76
+ */
77
+ faceMatch?: Match | null;
78
+ /**
79
+ *
80
+ * @type {Match}
81
+ * @memberof MatchData
82
+ */
83
+ liveness?: Match | null;
84
+ /**
85
+ *
86
+ * @type {Match}
87
+ * @memberof MatchData
88
+ */
89
+ imageAuthenticity?: Match | null;
90
+ }
91
+
92
+ /**
93
+ * Check if a given object implements the MatchData interface.
94
+ */
95
+ export function instanceOfMatchData(value: object): value is MatchData {
96
+ return true;
97
+ }
98
+
99
+ export function MatchDataFromJSON(json: any): MatchData {
100
+ return MatchDataFromJSONTyped(json, false);
101
+ }
102
+
103
+ export function MatchDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): MatchData {
104
+ if (json == null) {
105
+ return json;
106
+ }
107
+ return {
108
+
109
+ 'nationalIdNumber': json['nationalIdNumber'] == null ? undefined : MatchFromJSON(json['nationalIdNumber']),
110
+ 'fullName': json['fullName'] == null ? undefined : MatchFromJSON(json['fullName']),
111
+ 'givenName': json['givenName'] == null ? undefined : MatchFromJSON(json['givenName']),
112
+ 'middleName': json['middleName'] == null ? undefined : MatchFromJSON(json['middleName']),
113
+ 'familyName': json['familyName'] == null ? undefined : MatchFromJSON(json['familyName']),
114
+ 'sex': json['sex'] == null ? undefined : MatchFromJSON(json['sex']),
115
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : MatchFromJSON(json['dateOfBirth']),
116
+ 'faceMatch': json['faceMatch'] == null ? undefined : MatchFromJSON(json['faceMatch']),
117
+ 'liveness': json['liveness'] == null ? undefined : MatchFromJSON(json['liveness']),
118
+ 'imageAuthenticity': json['imageAuthenticity'] == null ? undefined : MatchFromJSON(json['imageAuthenticity']),
119
+ };
120
+ }
121
+
122
+ export function MatchDataToJSON(json: any): MatchData {
123
+ return MatchDataToJSONTyped(json, false);
124
+ }
125
+
126
+ export function MatchDataToJSONTyped(value?: MatchData | null, ignoreDiscriminator: boolean = false): any {
127
+ if (value == null) {
128
+ return value;
129
+ }
130
+
131
+ return {
132
+
133
+ 'nationalIdNumber': MatchToJSON(value['nationalIdNumber']),
134
+ 'fullName': MatchToJSON(value['fullName']),
135
+ 'givenName': MatchToJSON(value['givenName']),
136
+ 'middleName': MatchToJSON(value['middleName']),
137
+ 'familyName': MatchToJSON(value['familyName']),
138
+ 'sex': MatchToJSON(value['sex']),
139
+ 'dateOfBirth': MatchToJSON(value['dateOfBirth']),
140
+ 'faceMatch': MatchToJSON(value['faceMatch']),
141
+ 'liveness': MatchToJSON(value['liveness']),
142
+ 'imageAuthenticity': MatchToJSON(value['imageAuthenticity']),
143
+ };
144
+ }
145
+
@@ -0,0 +1,104 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface MdlCertificateData
20
+ */
21
+ export interface MdlCertificateData {
22
+ /**
23
+ * The serial number of the certificate
24
+ * @type {string}
25
+ * @memberof MdlCertificateData
26
+ */
27
+ serialNumber: string;
28
+ /**
29
+ * The common name (CN) of the certificate
30
+ * @type {string}
31
+ * @memberof MdlCertificateData
32
+ */
33
+ commonName: string;
34
+ /**
35
+ * The state or province name (ST) of the certificate.
36
+ *
37
+ * May be an empty string for certificates which are not state-specific (e.g., Google Wallet's ID Pass certificates).
38
+ * @type {string}
39
+ * @memberof MdlCertificateData
40
+ */
41
+ stateOrProvinceName: string;
42
+ /**
43
+ * The date before which this certificate is not valid.
44
+ * @type {Date}
45
+ * @memberof MdlCertificateData
46
+ */
47
+ notBefore: Date;
48
+ /**
49
+ * The date after which this certificate is not valid.
50
+ * @type {Date}
51
+ * @memberof MdlCertificateData
52
+ */
53
+ notAfter: Date;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the MdlCertificateData interface.
58
+ */
59
+ export function instanceOfMdlCertificateData(value: object): value is MdlCertificateData {
60
+ if (!('serialNumber' in value) || value['serialNumber'] === undefined) return false;
61
+ if (!('commonName' in value) || value['commonName'] === undefined) return false;
62
+ if (!('stateOrProvinceName' in value) || value['stateOrProvinceName'] === undefined) return false;
63
+ if (!('notBefore' in value) || value['notBefore'] === undefined) return false;
64
+ if (!('notAfter' in value) || value['notAfter'] === undefined) return false;
65
+ return true;
66
+ }
67
+
68
+ export function MdlCertificateDataFromJSON(json: any): MdlCertificateData {
69
+ return MdlCertificateDataFromJSONTyped(json, false);
70
+ }
71
+
72
+ export function MdlCertificateDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): MdlCertificateData {
73
+ if (json == null) {
74
+ return json;
75
+ }
76
+ return {
77
+
78
+ 'serialNumber': json['serialNumber'],
79
+ 'commonName': json['commonName'],
80
+ 'stateOrProvinceName': json['stateOrProvinceName'],
81
+ 'notBefore': (new Date(json['notBefore'])),
82
+ 'notAfter': (new Date(json['notAfter'])),
83
+ };
84
+ }
85
+
86
+ export function MdlCertificateDataToJSON(json: any): MdlCertificateData {
87
+ return MdlCertificateDataToJSONTyped(json, false);
88
+ }
89
+
90
+ export function MdlCertificateDataToJSONTyped(value?: MdlCertificateData | null, ignoreDiscriminator: boolean = false): any {
91
+ if (value == null) {
92
+ return value;
93
+ }
94
+
95
+ return {
96
+
97
+ 'serialNumber': value['serialNumber'],
98
+ 'commonName': value['commonName'],
99
+ 'stateOrProvinceName': value['stateOrProvinceName'],
100
+ 'notBefore': ((value['notBefore']).toISOString()),
101
+ 'notAfter': ((value['notAfter']).toISOString()),
102
+ };
103
+ }
104
+
@@ -0,0 +1,53 @@
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
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const MdlExchangeMechanism = {
21
+ NativeApp: 'NativeApp',
22
+ DigitalCredentialsApi: 'DigitalCredentialsApi'
23
+ } as const;
24
+ export type MdlExchangeMechanism = typeof MdlExchangeMechanism[keyof typeof MdlExchangeMechanism];
25
+
26
+
27
+ export function instanceOfMdlExchangeMechanism(value: any): boolean {
28
+ for (const key in MdlExchangeMechanism) {
29
+ if (Object.prototype.hasOwnProperty.call(MdlExchangeMechanism, key)) {
30
+ if (MdlExchangeMechanism[key as keyof typeof MdlExchangeMechanism] === value) {
31
+ return true;
32
+ }
33
+ }
34
+ }
35
+ return false;
36
+ }
37
+
38
+ export function MdlExchangeMechanismFromJSON(json: any): MdlExchangeMechanism {
39
+ return MdlExchangeMechanismFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function MdlExchangeMechanismFromJSONTyped(json: any, ignoreDiscriminator: boolean): MdlExchangeMechanism {
43
+ return json as MdlExchangeMechanism;
44
+ }
45
+
46
+ export function MdlExchangeMechanismToJSON(value?: MdlExchangeMechanism | null): any {
47
+ return value as any;
48
+ }
49
+
50
+ export function MdlExchangeMechanismToJSONTyped(value: any, ignoreDiscriminator: boolean): MdlExchangeMechanism {
51
+ return value as MdlExchangeMechanism;
52
+ }
53
+
@@ -0,0 +1,56 @@
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
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const MdlFieldDataType = {
21
+ String: 'String',
22
+ Boolean: 'Boolean',
23
+ Number: 'Number',
24
+ Base64Url: 'Base64Url',
25
+ EncodedCbor: 'EncodedCbor'
26
+ } as const;
27
+ export type MdlFieldDataType = typeof MdlFieldDataType[keyof typeof MdlFieldDataType];
28
+
29
+
30
+ export function instanceOfMdlFieldDataType(value: any): boolean {
31
+ for (const key in MdlFieldDataType) {
32
+ if (Object.prototype.hasOwnProperty.call(MdlFieldDataType, key)) {
33
+ if (MdlFieldDataType[key as keyof typeof MdlFieldDataType] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+
41
+ export function MdlFieldDataTypeFromJSON(json: any): MdlFieldDataType {
42
+ return MdlFieldDataTypeFromJSONTyped(json, false);
43
+ }
44
+
45
+ export function MdlFieldDataTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): MdlFieldDataType {
46
+ return json as MdlFieldDataType;
47
+ }
48
+
49
+ export function MdlFieldDataTypeToJSON(value?: MdlFieldDataType | null): any {
50
+ return value as any;
51
+ }
52
+
53
+ export function MdlFieldDataTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): MdlFieldDataType {
54
+ return value as MdlFieldDataType;
55
+ }
56
+