@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.
Files changed (32) hide show
  1. package/.openapi-generator/FILES +3 -1
  2. package/dist/esm/models/IdentityData.d.ts +7 -0
  3. package/dist/esm/models/IdentityData.js +3 -0
  4. package/dist/esm/models/{IndonesiaDukcapilBiometricMatchInput.d.ts → IndonesiaDukcapilMatchInput.d.ts} +17 -17
  5. package/dist/esm/models/{IndonesiaDukcapilBiometricMatchInput.js → IndonesiaDukcapilMatchInput.js} +8 -8
  6. package/dist/esm/models/Match.d.ts +38 -0
  7. package/dist/esm/models/Match.js +43 -0
  8. package/dist/esm/models/MatchData.d.ts +87 -0
  9. package/dist/esm/models/MatchData.js +60 -0
  10. package/dist/esm/models/ProviderInput.d.ts +4 -4
  11. package/dist/esm/models/ProviderInput.js +3 -3
  12. package/dist/esm/models/index.d.ts +3 -1
  13. package/dist/esm/models/index.js +3 -1
  14. package/dist/models/IdentityData.d.ts +7 -0
  15. package/dist/models/IdentityData.js +3 -0
  16. package/dist/models/{IndonesiaDukcapilBiometricMatchInput.d.ts → IndonesiaDukcapilMatchInput.d.ts} +17 -17
  17. package/dist/models/{IndonesiaDukcapilBiometricMatchInput.js → IndonesiaDukcapilMatchInput.js} +13 -13
  18. package/dist/models/Match.d.ts +38 -0
  19. package/dist/models/Match.js +50 -0
  20. package/dist/models/MatchData.d.ts +87 -0
  21. package/dist/models/MatchData.js +67 -0
  22. package/dist/models/ProviderInput.d.ts +4 -4
  23. package/dist/models/ProviderInput.js +3 -3
  24. package/dist/models/index.d.ts +3 -1
  25. package/dist/models/index.js +3 -1
  26. package/package.json +1 -1
  27. package/src/models/IdentityData.ts +15 -0
  28. package/src/models/{IndonesiaDukcapilBiometricMatchInput.ts → IndonesiaDukcapilMatchInput.ts} +19 -19
  29. package/src/models/Match.ts +73 -0
  30. package/src/models/MatchData.ts +145 -0
  31. package/src/models/ProviderInput.ts +12 -12
  32. package/src/models/index.ts +3 -1
@@ -34,7 +34,7 @@ src/models/GetSessionResultResponse.ts
34
34
  src/models/HttpValidationProblemDetails.ts
35
35
  src/models/IdentityData.ts
36
36
  src/models/IdinInput.ts
37
- src/models/IndonesiaDukcapilBiometricMatchInput.ts
37
+ src/models/IndonesiaDukcapilMatchInput.ts
38
38
  src/models/IndonesiaNikInput.ts
39
39
  src/models/IntegrationCapability.ts
40
40
  src/models/IntegrationLaunchMethod.ts
@@ -44,6 +44,8 @@ src/models/Language.ts
44
44
  src/models/ListProviderContractsResponse.ts
45
45
  src/models/ListProvidersResponse.ts
46
46
  src/models/ListSessionsResponse.ts
47
+ src/models/Match.ts
48
+ src/models/MatchData.ts
47
49
  src/models/MexicoCurpInput.ts
48
50
  src/models/MobileIdInput.ts
49
51
  src/models/NigeriaNinInput.ts
@@ -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
  }
@@ -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
+ }
@@ -15,7 +15,6 @@ import type { BrazilDigitalCnhInput } from './BrazilDigitalCnhInput';
15
15
  import type { TrinsicTestSubProvidersInput } from './TrinsicTestSubProvidersInput';
16
16
  import type { SpidInput } from './SpidInput';
17
17
  import type { SouthAfricaNidInput } from './SouthAfricaNidInput';
18
- import type { IndonesiaDukcapilBiometricMatchInput } from './IndonesiaDukcapilBiometricMatchInput';
19
18
  import type { PhilippineMatchInput } from './PhilippineMatchInput';
20
19
  import type { PhilippineQRInput } from './PhilippineQRInput';
21
20
  import type { BangladeshNidInput } from './BangladeshNidInput';
@@ -23,6 +22,7 @@ import type { AadhaarInput } from './AadhaarInput';
23
22
  import type { KenyaNidInput } from './KenyaNidInput';
24
23
  import type { NigeriaNinInput } from './NigeriaNinInput';
25
24
  import type { SmartIdInput } from './SmartIdInput';
25
+ import type { IndonesiaDukcapilMatchInput } from './IndonesiaDukcapilMatchInput';
26
26
  import type { MobileIdInput } from './MobileIdInput';
27
27
  import type { TrinsicTestDatabaseLookupInput } from './TrinsicTestDatabaseLookupInput';
28
28
  import type { IndonesiaNikInput } from './IndonesiaNikInput';
@@ -40,11 +40,11 @@ export interface ProviderInput {
40
40
  */
41
41
  indonesiaNik?: IndonesiaNikInput | null;
42
42
  /**
43
- * Input for the `indonesia-dukcapil-biometric-match` provider
44
- * @type {IndonesiaDukcapilBiometricMatchInput}
43
+ * Input for the `indonesia-dukcapil-match` provider
44
+ * @type {IndonesiaDukcapilMatchInput}
45
45
  * @memberof ProviderInput
46
46
  */
47
- indonesiaDukcapilBiometricMatch?: IndonesiaDukcapilBiometricMatchInput | null;
47
+ indonesiaDukcapilMatch?: IndonesiaDukcapilMatchInput | null;
48
48
  /**
49
49
  * Input for the `mexico-curp-lookup` provider
50
50
  * @type {MexicoCurpInput}
@@ -17,7 +17,6 @@ import { BrazilDigitalCnhInputFromJSON, BrazilDigitalCnhInputToJSON, } from './B
17
17
  import { TrinsicTestSubProvidersInputFromJSON, TrinsicTestSubProvidersInputToJSON, } from './TrinsicTestSubProvidersInput';
18
18
  import { SpidInputFromJSON, SpidInputToJSON, } from './SpidInput';
19
19
  import { SouthAfricaNidInputFromJSON, SouthAfricaNidInputToJSON, } from './SouthAfricaNidInput';
20
- import { IndonesiaDukcapilBiometricMatchInputFromJSON, IndonesiaDukcapilBiometricMatchInputToJSON, } from './IndonesiaDukcapilBiometricMatchInput';
21
20
  import { PhilippineMatchInputFromJSON, PhilippineMatchInputToJSON, } from './PhilippineMatchInput';
22
21
  import { PhilippineQRInputFromJSON, PhilippineQRInputToJSON, } from './PhilippineQRInput';
23
22
  import { BangladeshNidInputFromJSON, BangladeshNidInputToJSON, } from './BangladeshNidInput';
@@ -25,6 +24,7 @@ import { AadhaarInputFromJSON, AadhaarInputToJSON, } from './AadhaarInput';
25
24
  import { KenyaNidInputFromJSON, KenyaNidInputToJSON, } from './KenyaNidInput';
26
25
  import { NigeriaNinInputFromJSON, NigeriaNinInputToJSON, } from './NigeriaNinInput';
27
26
  import { SmartIdInputFromJSON, SmartIdInputToJSON, } from './SmartIdInput';
27
+ import { IndonesiaDukcapilMatchInputFromJSON, IndonesiaDukcapilMatchInputToJSON, } from './IndonesiaDukcapilMatchInput';
28
28
  import { MobileIdInputFromJSON, MobileIdInputToJSON, } from './MobileIdInput';
29
29
  import { TrinsicTestDatabaseLookupInputFromJSON, TrinsicTestDatabaseLookupInputToJSON, } from './TrinsicTestDatabaseLookupInput';
30
30
  import { IndonesiaNikInputFromJSON, IndonesiaNikInputToJSON, } from './IndonesiaNikInput';
@@ -44,7 +44,7 @@ export function ProviderInputFromJSONTyped(json, ignoreDiscriminator) {
44
44
  }
45
45
  return {
46
46
  'indonesiaNik': json['indonesiaNik'] == null ? undefined : IndonesiaNikInputFromJSON(json['indonesiaNik']),
47
- 'indonesiaDukcapilBiometricMatch': json['indonesiaDukcapilBiometricMatch'] == null ? undefined : IndonesiaDukcapilBiometricMatchInputFromJSON(json['indonesiaDukcapilBiometricMatch']),
47
+ 'indonesiaDukcapilMatch': json['indonesiaDukcapilMatch'] == null ? undefined : IndonesiaDukcapilMatchInputFromJSON(json['indonesiaDukcapilMatch']),
48
48
  'mexicoCurp': json['mexicoCurp'] == null ? undefined : MexicoCurpInputFromJSON(json['mexicoCurp']),
49
49
  'southAfricaNid': json['southAfricaNid'] == null ? undefined : SouthAfricaNidInputFromJSON(json['southAfricaNid']),
50
50
  'kenyaNid': json['kenyaNid'] == null ? undefined : KenyaNidInputFromJSON(json['kenyaNid']),
@@ -72,7 +72,7 @@ export function ProviderInputToJSONTyped(value, ignoreDiscriminator = false) {
72
72
  }
73
73
  return {
74
74
  'indonesiaNik': IndonesiaNikInputToJSON(value['indonesiaNik']),
75
- 'indonesiaDukcapilBiometricMatch': IndonesiaDukcapilBiometricMatchInputToJSON(value['indonesiaDukcapilBiometricMatch']),
75
+ 'indonesiaDukcapilMatch': IndonesiaDukcapilMatchInputToJSON(value['indonesiaDukcapilMatch']),
76
76
  'mexicoCurp': MexicoCurpInputToJSON(value['mexicoCurp']),
77
77
  'southAfricaNid': SouthAfricaNidInputToJSON(value['southAfricaNid']),
78
78
  'kenyaNid': KenyaNidInputToJSON(value['kenyaNid']),
@@ -24,7 +24,7 @@ export * from './GetSessionResultResponse';
24
24
  export * from './HttpValidationProblemDetails';
25
25
  export * from './IdentityData';
26
26
  export * from './IdinInput';
27
- export * from './IndonesiaDukcapilBiometricMatchInput';
27
+ export * from './IndonesiaDukcapilMatchInput';
28
28
  export * from './IndonesiaNikInput';
29
29
  export * from './IntegrationCapability';
30
30
  export * from './IntegrationLaunchMethod';
@@ -34,6 +34,8 @@ export * from './Language';
34
34
  export * from './ListProviderContractsResponse';
35
35
  export * from './ListProvidersResponse';
36
36
  export * from './ListSessionsResponse';
37
+ export * from './Match';
38
+ export * from './MatchData';
37
39
  export * from './MexicoCurpInput';
38
40
  export * from './MobileIdInput';
39
41
  export * from './NigeriaNinInput';
@@ -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 './IndonesiaDukcapilBiometricMatchInput';
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';
@@ -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;