@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
@@ -13,21 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfIndonesiaDukcapilBiometricMatchInput = instanceOfIndonesiaDukcapilBiometricMatchInput;
17
- exports.IndonesiaDukcapilBiometricMatchInputFromJSON = IndonesiaDukcapilBiometricMatchInputFromJSON;
18
- exports.IndonesiaDukcapilBiometricMatchInputFromJSONTyped = IndonesiaDukcapilBiometricMatchInputFromJSONTyped;
19
- exports.IndonesiaDukcapilBiometricMatchInputToJSON = IndonesiaDukcapilBiometricMatchInputToJSON;
20
- exports.IndonesiaDukcapilBiometricMatchInputToJSONTyped = IndonesiaDukcapilBiometricMatchInputToJSONTyped;
16
+ exports.instanceOfIndonesiaDukcapilMatchInput = instanceOfIndonesiaDukcapilMatchInput;
17
+ exports.IndonesiaDukcapilMatchInputFromJSON = IndonesiaDukcapilMatchInputFromJSON;
18
+ exports.IndonesiaDukcapilMatchInputFromJSONTyped = IndonesiaDukcapilMatchInputFromJSONTyped;
19
+ exports.IndonesiaDukcapilMatchInputToJSON = IndonesiaDukcapilMatchInputToJSON;
20
+ exports.IndonesiaDukcapilMatchInputToJSONTyped = IndonesiaDukcapilMatchInputToJSONTyped;
21
21
  /**
22
- * Check if a given object implements the IndonesiaDukcapilBiometricMatchInput interface.
22
+ * Check if a given object implements the IndonesiaDukcapilMatchInput interface.
23
23
  */
24
- function instanceOfIndonesiaDukcapilBiometricMatchInput(value) {
24
+ function instanceOfIndonesiaDukcapilMatchInput(value) {
25
25
  return true;
26
26
  }
27
- function IndonesiaDukcapilBiometricMatchInputFromJSON(json) {
28
- return IndonesiaDukcapilBiometricMatchInputFromJSONTyped(json, false);
27
+ function IndonesiaDukcapilMatchInputFromJSON(json) {
28
+ return IndonesiaDukcapilMatchInputFromJSONTyped(json, false);
29
29
  }
30
- function IndonesiaDukcapilBiometricMatchInputFromJSONTyped(json, ignoreDiscriminator) {
30
+ function IndonesiaDukcapilMatchInputFromJSONTyped(json, ignoreDiscriminator) {
31
31
  if (json == null) {
32
32
  return json;
33
33
  }
@@ -42,10 +42,10 @@ function IndonesiaDukcapilBiometricMatchInputFromJSONTyped(json, ignoreDiscrimin
42
42
  'consentGivenAt': json['consentGivenAt'] == null ? undefined : (new Date(json['consentGivenAt'])),
43
43
  };
44
44
  }
45
- function IndonesiaDukcapilBiometricMatchInputToJSON(json) {
46
- return IndonesiaDukcapilBiometricMatchInputToJSONTyped(json, false);
45
+ function IndonesiaDukcapilMatchInputToJSON(json) {
46
+ return IndonesiaDukcapilMatchInputToJSONTyped(json, false);
47
47
  }
48
- function IndonesiaDukcapilBiometricMatchInputToJSONTyped(value, ignoreDiscriminator = false) {
48
+ function IndonesiaDukcapilMatchInputToJSONTyped(value, ignoreDiscriminator = false) {
49
49
  if (value == null) {
50
50
  return value;
51
51
  }
@@ -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,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Trinsic API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfMatch = instanceOfMatch;
17
+ exports.MatchFromJSON = MatchFromJSON;
18
+ exports.MatchFromJSONTyped = MatchFromJSONTyped;
19
+ exports.MatchToJSON = MatchToJSON;
20
+ exports.MatchToJSONTyped = MatchToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the Match interface.
23
+ */
24
+ function instanceOfMatch(value) {
25
+ return true;
26
+ }
27
+ function MatchFromJSON(json) {
28
+ return MatchFromJSONTyped(json, false);
29
+ }
30
+ function MatchFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'probabilityValue': json['probabilityValue'] == null ? undefined : json['probabilityValue'],
36
+ 'booleanValue': json['booleanValue'] == null ? undefined : json['booleanValue'],
37
+ };
38
+ }
39
+ function MatchToJSON(json) {
40
+ return MatchToJSONTyped(json, false);
41
+ }
42
+ function MatchToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'probabilityValue': value['probabilityValue'],
48
+ 'booleanValue': value['booleanValue'],
49
+ };
50
+ }
@@ -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,67 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Trinsic API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfMatchData = instanceOfMatchData;
17
+ exports.MatchDataFromJSON = MatchDataFromJSON;
18
+ exports.MatchDataFromJSONTyped = MatchDataFromJSONTyped;
19
+ exports.MatchDataToJSON = MatchDataToJSON;
20
+ exports.MatchDataToJSONTyped = MatchDataToJSONTyped;
21
+ const Match_1 = require("./Match");
22
+ /**
23
+ * Check if a given object implements the MatchData interface.
24
+ */
25
+ function instanceOfMatchData(value) {
26
+ return true;
27
+ }
28
+ function MatchDataFromJSON(json) {
29
+ return MatchDataFromJSONTyped(json, false);
30
+ }
31
+ function MatchDataFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'nationalIdNumber': json['nationalIdNumber'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['nationalIdNumber']),
37
+ 'fullName': json['fullName'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['fullName']),
38
+ 'givenName': json['givenName'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['givenName']),
39
+ 'middleName': json['middleName'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['middleName']),
40
+ 'familyName': json['familyName'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['familyName']),
41
+ 'sex': json['sex'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['sex']),
42
+ 'dateOfBirth': json['dateOfBirth'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['dateOfBirth']),
43
+ 'faceMatch': json['faceMatch'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['faceMatch']),
44
+ 'liveness': json['liveness'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['liveness']),
45
+ 'imageAuthenticity': json['imageAuthenticity'] == null ? undefined : (0, Match_1.MatchFromJSON)(json['imageAuthenticity']),
46
+ };
47
+ }
48
+ function MatchDataToJSON(json) {
49
+ return MatchDataToJSONTyped(json, false);
50
+ }
51
+ function MatchDataToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'nationalIdNumber': (0, Match_1.MatchToJSON)(value['nationalIdNumber']),
57
+ 'fullName': (0, Match_1.MatchToJSON)(value['fullName']),
58
+ 'givenName': (0, Match_1.MatchToJSON)(value['givenName']),
59
+ 'middleName': (0, Match_1.MatchToJSON)(value['middleName']),
60
+ 'familyName': (0, Match_1.MatchToJSON)(value['familyName']),
61
+ 'sex': (0, Match_1.MatchToJSON)(value['sex']),
62
+ 'dateOfBirth': (0, Match_1.MatchToJSON)(value['dateOfBirth']),
63
+ 'faceMatch': (0, Match_1.MatchToJSON)(value['faceMatch']),
64
+ 'liveness': (0, Match_1.MatchToJSON)(value['liveness']),
65
+ 'imageAuthenticity': (0, Match_1.MatchToJSON)(value['imageAuthenticity']),
66
+ };
67
+ }
@@ -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}
@@ -24,7 +24,6 @@ const BrazilDigitalCnhInput_1 = require("./BrazilDigitalCnhInput");
24
24
  const TrinsicTestSubProvidersInput_1 = require("./TrinsicTestSubProvidersInput");
25
25
  const SpidInput_1 = require("./SpidInput");
26
26
  const SouthAfricaNidInput_1 = require("./SouthAfricaNidInput");
27
- const IndonesiaDukcapilBiometricMatchInput_1 = require("./IndonesiaDukcapilBiometricMatchInput");
28
27
  const PhilippineMatchInput_1 = require("./PhilippineMatchInput");
29
28
  const PhilippineQRInput_1 = require("./PhilippineQRInput");
30
29
  const BangladeshNidInput_1 = require("./BangladeshNidInput");
@@ -32,6 +31,7 @@ const AadhaarInput_1 = require("./AadhaarInput");
32
31
  const KenyaNidInput_1 = require("./KenyaNidInput");
33
32
  const NigeriaNinInput_1 = require("./NigeriaNinInput");
34
33
  const SmartIdInput_1 = require("./SmartIdInput");
34
+ const IndonesiaDukcapilMatchInput_1 = require("./IndonesiaDukcapilMatchInput");
35
35
  const MobileIdInput_1 = require("./MobileIdInput");
36
36
  const TrinsicTestDatabaseLookupInput_1 = require("./TrinsicTestDatabaseLookupInput");
37
37
  const IndonesiaNikInput_1 = require("./IndonesiaNikInput");
@@ -51,7 +51,7 @@ function ProviderInputFromJSONTyped(json, ignoreDiscriminator) {
51
51
  }
52
52
  return {
53
53
  'indonesiaNik': json['indonesiaNik'] == null ? undefined : (0, IndonesiaNikInput_1.IndonesiaNikInputFromJSON)(json['indonesiaNik']),
54
- 'indonesiaDukcapilBiometricMatch': json['indonesiaDukcapilBiometricMatch'] == null ? undefined : (0, IndonesiaDukcapilBiometricMatchInput_1.IndonesiaDukcapilBiometricMatchInputFromJSON)(json['indonesiaDukcapilBiometricMatch']),
54
+ 'indonesiaDukcapilMatch': json['indonesiaDukcapilMatch'] == null ? undefined : (0, IndonesiaDukcapilMatchInput_1.IndonesiaDukcapilMatchInputFromJSON)(json['indonesiaDukcapilMatch']),
55
55
  'mexicoCurp': json['mexicoCurp'] == null ? undefined : (0, MexicoCurpInput_1.MexicoCurpInputFromJSON)(json['mexicoCurp']),
56
56
  'southAfricaNid': json['southAfricaNid'] == null ? undefined : (0, SouthAfricaNidInput_1.SouthAfricaNidInputFromJSON)(json['southAfricaNid']),
57
57
  'kenyaNid': json['kenyaNid'] == null ? undefined : (0, KenyaNidInput_1.KenyaNidInputFromJSON)(json['kenyaNid']),
@@ -79,7 +79,7 @@ function ProviderInputToJSONTyped(value, ignoreDiscriminator = false) {
79
79
  }
80
80
  return {
81
81
  'indonesiaNik': (0, IndonesiaNikInput_1.IndonesiaNikInputToJSON)(value['indonesiaNik']),
82
- 'indonesiaDukcapilBiometricMatch': (0, IndonesiaDukcapilBiometricMatchInput_1.IndonesiaDukcapilBiometricMatchInputToJSON)(value['indonesiaDukcapilBiometricMatch']),
82
+ 'indonesiaDukcapilMatch': (0, IndonesiaDukcapilMatchInput_1.IndonesiaDukcapilMatchInputToJSON)(value['indonesiaDukcapilMatch']),
83
83
  'mexicoCurp': (0, MexicoCurpInput_1.MexicoCurpInputToJSON)(value['mexicoCurp']),
84
84
  'southAfricaNid': (0, SouthAfricaNidInput_1.SouthAfricaNidInputToJSON)(value['southAfricaNid']),
85
85
  'kenyaNid': (0, KenyaNidInput_1.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';
@@ -42,7 +42,7 @@ __exportStar(require("./GetSessionResultResponse"), exports);
42
42
  __exportStar(require("./HttpValidationProblemDetails"), exports);
43
43
  __exportStar(require("./IdentityData"), exports);
44
44
  __exportStar(require("./IdinInput"), exports);
45
- __exportStar(require("./IndonesiaDukcapilBiometricMatchInput"), exports);
45
+ __exportStar(require("./IndonesiaDukcapilMatchInput"), exports);
46
46
  __exportStar(require("./IndonesiaNikInput"), exports);
47
47
  __exportStar(require("./IntegrationCapability"), exports);
48
48
  __exportStar(require("./IntegrationLaunchMethod"), exports);
@@ -52,6 +52,8 @@ __exportStar(require("./Language"), exports);
52
52
  __exportStar(require("./ListProviderContractsResponse"), exports);
53
53
  __exportStar(require("./ListProvidersResponse"), exports);
54
54
  __exportStar(require("./ListSessionsResponse"), exports);
55
+ __exportStar(require("./Match"), exports);
56
+ __exportStar(require("./MatchData"), exports);
55
57
  __exportStar(require("./MexicoCurpInput"), exports);
56
58
  __exportStar(require("./MobileIdInput"), exports);
57
59
  __exportStar(require("./NigeriaNinInput"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trinsic/api",
3
- "version": "2.1.1-alpha1",
3
+ "version": "2.1.1-alpha2",
4
4
  "description": "Trinsic API TypeScript library.",
5
5
  "author": "Trinsic",
6
6
  "repository": {
@@ -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
  }
@@ -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
+