@trinsic/api 2.1.1-alpha1 → 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.
- package/.openapi-generator/FILES +3 -1
- package/dist/esm/models/IdentityData.d.ts +7 -0
- package/dist/esm/models/IdentityData.js +3 -0
- package/dist/esm/models/{IndonesiaDukcapilBiometricMatchInput.d.ts → IndonesiaDukcapilMatchInput.d.ts} +17 -17
- package/dist/esm/models/{IndonesiaDukcapilBiometricMatchInput.js → IndonesiaDukcapilMatchInput.js} +8 -8
- package/dist/esm/models/Match.d.ts +38 -0
- package/dist/esm/models/Match.js +43 -0
- package/dist/esm/models/MatchData.d.ts +87 -0
- package/dist/esm/models/MatchData.js +60 -0
- package/dist/esm/models/ProviderInput.d.ts +4 -4
- package/dist/esm/models/ProviderInput.js +3 -3
- package/dist/esm/models/index.d.ts +3 -1
- package/dist/esm/models/index.js +3 -1
- package/dist/models/IdentityData.d.ts +7 -0
- package/dist/models/IdentityData.js +3 -0
- package/dist/models/{IndonesiaDukcapilBiometricMatchInput.d.ts → IndonesiaDukcapilMatchInput.d.ts} +17 -17
- package/dist/models/{IndonesiaDukcapilBiometricMatchInput.js → IndonesiaDukcapilMatchInput.js} +13 -13
- package/dist/models/Match.d.ts +38 -0
- package/dist/models/Match.js +50 -0
- package/dist/models/MatchData.d.ts +87 -0
- package/dist/models/MatchData.js +67 -0
- package/dist/models/ProviderInput.d.ts +4 -4
- package/dist/models/ProviderInput.js +3 -3
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/package.json +1 -1
- package/src/models/IdentityData.ts +15 -0
- package/src/models/{IndonesiaDukcapilBiometricMatchInput.ts → IndonesiaDukcapilMatchInput.ts} +19 -19
- package/src/models/Match.ts +73 -0
- package/src/models/MatchData.ts +145 -0
- package/src/models/ProviderInput.ts +12 -12
- package/src/models/index.ts +3 -1
|
@@ -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
|
+
|
|
@@ -55,13 +55,6 @@ import {
|
|
|
55
55
|
SouthAfricaNidInputToJSON,
|
|
56
56
|
SouthAfricaNidInputToJSONTyped,
|
|
57
57
|
} from './SouthAfricaNidInput';
|
|
58
|
-
import type { IndonesiaDukcapilBiometricMatchInput } from './IndonesiaDukcapilBiometricMatchInput';
|
|
59
|
-
import {
|
|
60
|
-
IndonesiaDukcapilBiometricMatchInputFromJSON,
|
|
61
|
-
IndonesiaDukcapilBiometricMatchInputFromJSONTyped,
|
|
62
|
-
IndonesiaDukcapilBiometricMatchInputToJSON,
|
|
63
|
-
IndonesiaDukcapilBiometricMatchInputToJSONTyped,
|
|
64
|
-
} from './IndonesiaDukcapilBiometricMatchInput';
|
|
65
58
|
import type { PhilippineMatchInput } from './PhilippineMatchInput';
|
|
66
59
|
import {
|
|
67
60
|
PhilippineMatchInputFromJSON,
|
|
@@ -111,6 +104,13 @@ import {
|
|
|
111
104
|
SmartIdInputToJSON,
|
|
112
105
|
SmartIdInputToJSONTyped,
|
|
113
106
|
} from './SmartIdInput';
|
|
107
|
+
import type { IndonesiaDukcapilMatchInput } from './IndonesiaDukcapilMatchInput';
|
|
108
|
+
import {
|
|
109
|
+
IndonesiaDukcapilMatchInputFromJSON,
|
|
110
|
+
IndonesiaDukcapilMatchInputFromJSONTyped,
|
|
111
|
+
IndonesiaDukcapilMatchInputToJSON,
|
|
112
|
+
IndonesiaDukcapilMatchInputToJSONTyped,
|
|
113
|
+
} from './IndonesiaDukcapilMatchInput';
|
|
114
114
|
import type { MobileIdInput } from './MobileIdInput';
|
|
115
115
|
import {
|
|
116
116
|
MobileIdInputFromJSON,
|
|
@@ -153,11 +153,11 @@ export interface ProviderInput {
|
|
|
153
153
|
*/
|
|
154
154
|
indonesiaNik?: IndonesiaNikInput | null;
|
|
155
155
|
/**
|
|
156
|
-
* Input for the `indonesia-dukcapil-
|
|
157
|
-
* @type {
|
|
156
|
+
* Input for the `indonesia-dukcapil-match` provider
|
|
157
|
+
* @type {IndonesiaDukcapilMatchInput}
|
|
158
158
|
* @memberof ProviderInput
|
|
159
159
|
*/
|
|
160
|
-
|
|
160
|
+
indonesiaDukcapilMatch?: IndonesiaDukcapilMatchInput | null;
|
|
161
161
|
/**
|
|
162
162
|
* Input for the `mexico-curp-lookup` provider
|
|
163
163
|
* @type {MexicoCurpInput}
|
|
@@ -278,7 +278,7 @@ export function ProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
278
278
|
return {
|
|
279
279
|
|
|
280
280
|
'indonesiaNik': json['indonesiaNik'] == null ? undefined : IndonesiaNikInputFromJSON(json['indonesiaNik']),
|
|
281
|
-
'
|
|
281
|
+
'indonesiaDukcapilMatch': json['indonesiaDukcapilMatch'] == null ? undefined : IndonesiaDukcapilMatchInputFromJSON(json['indonesiaDukcapilMatch']),
|
|
282
282
|
'mexicoCurp': json['mexicoCurp'] == null ? undefined : MexicoCurpInputFromJSON(json['mexicoCurp']),
|
|
283
283
|
'southAfricaNid': json['southAfricaNid'] == null ? undefined : SouthAfricaNidInputFromJSON(json['southAfricaNid']),
|
|
284
284
|
'kenyaNid': json['kenyaNid'] == null ? undefined : KenyaNidInputFromJSON(json['kenyaNid']),
|
|
@@ -310,7 +310,7 @@ export function ProviderInputToJSONTyped(value?: ProviderInput | null, ignoreDis
|
|
|
310
310
|
return {
|
|
311
311
|
|
|
312
312
|
'indonesiaNik': IndonesiaNikInputToJSON(value['indonesiaNik']),
|
|
313
|
-
'
|
|
313
|
+
'indonesiaDukcapilMatch': IndonesiaDukcapilMatchInputToJSON(value['indonesiaDukcapilMatch']),
|
|
314
314
|
'mexicoCurp': MexicoCurpInputToJSON(value['mexicoCurp']),
|
|
315
315
|
'southAfricaNid': SouthAfricaNidInputToJSON(value['southAfricaNid']),
|
|
316
316
|
'kenyaNid': KenyaNidInputToJSON(value['kenyaNid']),
|
package/src/models/index.ts
CHANGED
|
@@ -26,7 +26,7 @@ export * from './GetSessionResultResponse';
|
|
|
26
26
|
export * from './HttpValidationProblemDetails';
|
|
27
27
|
export * from './IdentityData';
|
|
28
28
|
export * from './IdinInput';
|
|
29
|
-
export * from './
|
|
29
|
+
export * from './IndonesiaDukcapilMatchInput';
|
|
30
30
|
export * from './IndonesiaNikInput';
|
|
31
31
|
export * from './IntegrationCapability';
|
|
32
32
|
export * from './IntegrationLaunchMethod';
|
|
@@ -36,6 +36,8 @@ export * from './Language';
|
|
|
36
36
|
export * from './ListProviderContractsResponse';
|
|
37
37
|
export * from './ListProvidersResponse';
|
|
38
38
|
export * from './ListSessionsResponse';
|
|
39
|
+
export * from './Match';
|
|
40
|
+
export * from './MatchData';
|
|
39
41
|
export * from './MexicoCurpInput';
|
|
40
42
|
export * from './MobileIdInput';
|
|
41
43
|
export * from './NigeriaNinInput';
|