@trinsic/api 2.1.0 → 2.1.1-alpha2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
+
@@ -104,6 +104,13 @@ import {
104
104
  SmartIdInputToJSON,
105
105
  SmartIdInputToJSONTyped,
106
106
  } from './SmartIdInput';
107
+ import type { IndonesiaDukcapilMatchInput } from './IndonesiaDukcapilMatchInput';
108
+ import {
109
+ IndonesiaDukcapilMatchInputFromJSON,
110
+ IndonesiaDukcapilMatchInputFromJSONTyped,
111
+ IndonesiaDukcapilMatchInputToJSON,
112
+ IndonesiaDukcapilMatchInputToJSONTyped,
113
+ } from './IndonesiaDukcapilMatchInput';
107
114
  import type { MobileIdInput } from './MobileIdInput';
108
115
  import {
109
116
  MobileIdInputFromJSON,
@@ -145,6 +152,12 @@ export interface ProviderInput {
145
152
  * @memberof ProviderInput
146
153
  */
147
154
  indonesiaNik?: IndonesiaNikInput | null;
155
+ /**
156
+ * Input for the `indonesia-dukcapil-match` provider
157
+ * @type {IndonesiaDukcapilMatchInput}
158
+ * @memberof ProviderInput
159
+ */
160
+ indonesiaDukcapilMatch?: IndonesiaDukcapilMatchInput | null;
148
161
  /**
149
162
  * Input for the `mexico-curp-lookup` provider
150
163
  * @type {MexicoCurpInput}
@@ -265,6 +278,7 @@ export function ProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boole
265
278
  return {
266
279
 
267
280
  'indonesiaNik': json['indonesiaNik'] == null ? undefined : IndonesiaNikInputFromJSON(json['indonesiaNik']),
281
+ 'indonesiaDukcapilMatch': json['indonesiaDukcapilMatch'] == null ? undefined : IndonesiaDukcapilMatchInputFromJSON(json['indonesiaDukcapilMatch']),
268
282
  'mexicoCurp': json['mexicoCurp'] == null ? undefined : MexicoCurpInputFromJSON(json['mexicoCurp']),
269
283
  'southAfricaNid': json['southAfricaNid'] == null ? undefined : SouthAfricaNidInputFromJSON(json['southAfricaNid']),
270
284
  'kenyaNid': json['kenyaNid'] == null ? undefined : KenyaNidInputFromJSON(json['kenyaNid']),
@@ -296,6 +310,7 @@ export function ProviderInputToJSONTyped(value?: ProviderInput | null, ignoreDis
296
310
  return {
297
311
 
298
312
  'indonesiaNik': IndonesiaNikInputToJSON(value['indonesiaNik']),
313
+ 'indonesiaDukcapilMatch': IndonesiaDukcapilMatchInputToJSON(value['indonesiaDukcapilMatch']),
299
314
  'mexicoCurp': MexicoCurpInputToJSON(value['mexicoCurp']),
300
315
  'southAfricaNid': SouthAfricaNidInputToJSON(value['southAfricaNid']),
301
316
  'kenyaNid': KenyaNidInputToJSON(value['kenyaNid']),
@@ -26,6 +26,7 @@ export * from './GetSessionResultResponse';
26
26
  export * from './HttpValidationProblemDetails';
27
27
  export * from './IdentityData';
28
28
  export * from './IdinInput';
29
+ export * from './IndonesiaDukcapilMatchInput';
29
30
  export * from './IndonesiaNikInput';
30
31
  export * from './IntegrationCapability';
31
32
  export * from './IntegrationLaunchMethod';
@@ -35,6 +36,8 @@ export * from './Language';
35
36
  export * from './ListProviderContractsResponse';
36
37
  export * from './ListProvidersResponse';
37
38
  export * from './ListSessionsResponse';
39
+ export * from './Match';
40
+ export * from './MatchData';
38
41
  export * from './MexicoCurpInput';
39
42
  export * from './MobileIdInput';
40
43
  export * from './NigeriaNinInput';