@trustchex/react-native-sdk 1.500.2 → 1.501.1

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 (97) hide show
  1. package/android/src/main/java/com/trustchex/reactnativesdk/GeolocationModule.kt +159 -0
  2. package/android/src/main/java/com/trustchex/reactnativesdk/TrustchexSDKPackage.kt +12 -0
  3. package/ios/Permission/CoarseLocationProvider.swift +111 -0
  4. package/ios/Permission/PermissionModule.m +4 -0
  5. package/ios/Permission/PermissionModule.swift +21 -1
  6. package/lib/module/Screens/Dynamic/AddressCaptureScreen.js +230 -0
  7. package/lib/module/Screens/Dynamic/ContractAcceptanceScreen.js +12 -0
  8. package/lib/module/Screens/Dynamic/IdentityDocumentEIDScanningScreen.js +33 -10
  9. package/lib/module/Screens/Dynamic/IdentityDocumentScanningScreen.js +8 -10
  10. package/lib/module/Screens/Static/ResultScreen.js +74 -3
  11. package/lib/module/Shared/Components/EIDScanner.js +59 -3
  12. package/lib/module/Shared/Components/NavigationManager.js +6 -2
  13. package/lib/module/Shared/EIDReader/eidReader.js +52 -3
  14. package/lib/module/Shared/EIDReader/java/inputStream.js +6 -0
  15. package/lib/module/Shared/EIDReader/lds/icao/dg11File.js +60 -20
  16. package/lib/module/Shared/EIDReader/passiveAuth/der.js +93 -0
  17. package/lib/module/Shared/EIDReader/passiveAuth/integrity.js +71 -0
  18. package/lib/module/Shared/EIDReader/passiveAuth/sodParser.js +123 -0
  19. package/lib/module/Shared/Libs/chipVizMatch.js +93 -0
  20. package/lib/module/Shared/Libs/country-allow.js +16 -0
  21. package/lib/module/Shared/Libs/documentDataNormalizer.js +21 -11
  22. package/lib/module/Shared/Libs/geolocation.utils.js +77 -0
  23. package/lib/module/Shared/Libs/promise.utils.js +6 -0
  24. package/lib/module/Shared/Services/DataUploadService.js +18 -1
  25. package/lib/module/Translation/Resources/en.js +16 -0
  26. package/lib/module/Translation/Resources/tr.js +16 -0
  27. package/lib/module/Trustchex.js +4 -0
  28. package/lib/module/version.js +1 -1
  29. package/lib/typescript/src/Screens/Dynamic/AddressCaptureScreen.d.ts +9 -0
  30. package/lib/typescript/src/Screens/Dynamic/AddressCaptureScreen.d.ts.map +1 -0
  31. package/lib/typescript/src/Screens/Dynamic/ContractAcceptanceScreen.d.ts.map +1 -1
  32. package/lib/typescript/src/Screens/Dynamic/IdentityDocumentEIDScanningScreen.d.ts.map +1 -1
  33. package/lib/typescript/src/Screens/Dynamic/IdentityDocumentScanningScreen.d.ts.map +1 -1
  34. package/lib/typescript/src/Screens/Static/ResultScreen.d.ts.map +1 -1
  35. package/lib/typescript/src/Shared/Components/EIDScanner.d.ts +7 -1
  36. package/lib/typescript/src/Shared/Components/EIDScanner.d.ts.map +1 -1
  37. package/lib/typescript/src/Shared/Components/NavigationManager.d.ts.map +1 -1
  38. package/lib/typescript/src/Shared/EIDReader/eidReader.d.ts +14 -1
  39. package/lib/typescript/src/Shared/EIDReader/eidReader.d.ts.map +1 -1
  40. package/lib/typescript/src/Shared/EIDReader/java/inputStream.d.ts +3 -0
  41. package/lib/typescript/src/Shared/EIDReader/java/inputStream.d.ts.map +1 -1
  42. package/lib/typescript/src/Shared/EIDReader/lds/icao/dg11File.d.ts +20 -7
  43. package/lib/typescript/src/Shared/EIDReader/lds/icao/dg11File.d.ts.map +1 -1
  44. package/lib/typescript/src/Shared/EIDReader/passiveAuth/der.d.ts +31 -0
  45. package/lib/typescript/src/Shared/EIDReader/passiveAuth/der.d.ts.map +1 -0
  46. package/lib/typescript/src/Shared/EIDReader/passiveAuth/integrity.d.ts +31 -0
  47. package/lib/typescript/src/Shared/EIDReader/passiveAuth/integrity.d.ts.map +1 -0
  48. package/lib/typescript/src/Shared/EIDReader/passiveAuth/sodParser.d.ts +12 -0
  49. package/lib/typescript/src/Shared/EIDReader/passiveAuth/sodParser.d.ts.map +1 -0
  50. package/lib/typescript/src/Shared/Libs/chipVizMatch.d.ts +68 -0
  51. package/lib/typescript/src/Shared/Libs/chipVizMatch.d.ts.map +1 -0
  52. package/lib/typescript/src/Shared/Libs/country-allow.d.ts +10 -0
  53. package/lib/typescript/src/Shared/Libs/country-allow.d.ts.map +1 -0
  54. package/lib/typescript/src/Shared/Libs/documentDataNormalizer.d.ts.map +1 -1
  55. package/lib/typescript/src/Shared/Libs/geolocation.utils.d.ts +19 -0
  56. package/lib/typescript/src/Shared/Libs/geolocation.utils.d.ts.map +1 -0
  57. package/lib/typescript/src/Shared/Libs/promise.utils.d.ts.map +1 -1
  58. package/lib/typescript/src/Shared/Services/DataUploadService.d.ts.map +1 -1
  59. package/lib/typescript/src/Shared/Types/documentData.d.ts +7 -0
  60. package/lib/typescript/src/Shared/Types/documentData.d.ts.map +1 -1
  61. package/lib/typescript/src/Shared/Types/documentReadResult.d.ts +20 -0
  62. package/lib/typescript/src/Shared/Types/documentReadResult.d.ts.map +1 -1
  63. package/lib/typescript/src/Shared/Types/identificationInfo.d.ts +95 -2
  64. package/lib/typescript/src/Shared/Types/identificationInfo.d.ts.map +1 -1
  65. package/lib/typescript/src/Translation/Resources/en.d.ts +16 -0
  66. package/lib/typescript/src/Translation/Resources/en.d.ts.map +1 -1
  67. package/lib/typescript/src/Translation/Resources/tr.d.ts +16 -0
  68. package/lib/typescript/src/Translation/Resources/tr.d.ts.map +1 -1
  69. package/lib/typescript/src/Trustchex.d.ts.map +1 -1
  70. package/lib/typescript/src/version.d.ts +1 -1
  71. package/package.json +1 -1
  72. package/src/Screens/Dynamic/AddressCaptureScreen.tsx +196 -0
  73. package/src/Screens/Dynamic/ContractAcceptanceScreen.tsx +12 -0
  74. package/src/Screens/Dynamic/IdentityDocumentEIDScanningScreen.tsx +46 -14
  75. package/src/Screens/Dynamic/IdentityDocumentScanningScreen.tsx +9 -11
  76. package/src/Screens/Static/ResultScreen.tsx +101 -6
  77. package/src/Shared/Components/EIDScanner.tsx +69 -2
  78. package/src/Shared/Components/NavigationManager.tsx +6 -0
  79. package/src/Shared/EIDReader/eidReader.ts +75 -2
  80. package/src/Shared/EIDReader/java/inputStream.ts +6 -0
  81. package/src/Shared/EIDReader/lds/icao/dg11File.ts +68 -22
  82. package/src/Shared/EIDReader/passiveAuth/der.ts +110 -0
  83. package/src/Shared/EIDReader/passiveAuth/integrity.ts +97 -0
  84. package/src/Shared/EIDReader/passiveAuth/sodParser.ts +142 -0
  85. package/src/Shared/Libs/chipVizMatch.ts +149 -0
  86. package/src/Shared/Libs/country-allow.ts +17 -0
  87. package/src/Shared/Libs/documentDataNormalizer.ts +24 -11
  88. package/src/Shared/Libs/geolocation.utils.ts +87 -0
  89. package/src/Shared/Libs/promise.utils.ts +11 -0
  90. package/src/Shared/Services/DataUploadService.ts +23 -0
  91. package/src/Shared/Types/documentData.ts +8 -0
  92. package/src/Shared/Types/documentReadResult.ts +20 -0
  93. package/src/Shared/Types/identificationInfo.ts +97 -2
  94. package/src/Translation/Resources/en.ts +21 -0
  95. package/src/Translation/Resources/tr.ts +21 -0
  96. package/src/Trustchex.tsx +5 -0
  97. package/src/version.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"EIDScanner.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Components/EIDScanner.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAyBpD,UAAU,eAAe;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CACd,OAAO,EAAE,SAAS,EAClB,SAAS,EAAE,MAAM,EACjB,iBAAiB,EAAE,MAAM,KACtB,IAAI,CAAC;IACV,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/C;AAED,QAAA,MAAM,UAAU,GAAI,6FAOjB,eAAe,4CAg3BjB,CAAC;AAsOF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"EIDScanner.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Components/EIDScanner.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AA6BpD,UAAU,eAAe;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,aAAa,CAAC,EAAE,CACd,OAAO,EAAE,SAAS,EAClB,SAAS,EAAE,MAAM,EACjB,iBAAiB,EAAE,MAAM,KACtB,IAAI,CAAC;IACV,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/C;AAED,QAAA,MAAM,UAAU,GAAI,2GAQjB,eAAe,4CAw6BjB,CAAC;AAsOF,eAAe,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationManager.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Components/NavigationManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAC;AAoBf,MAAM,MAAM,oBAAoB,GAAG;IACjC,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,iBAAiB,wFAgStB,CAAC;AAaF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"NavigationManager.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Components/NavigationManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAC;AAoBf,MAAM,MAAM,oBAAoB,GAAG;IACjC,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,iBAAiB,wFAsStB,CAAC;AAaF,eAAe,iBAAiB,CAAC"}
@@ -1,10 +1,23 @@
1
1
  import { MRZInfo } from './lds/icao/mrzInfo';
2
- declare const eidReader: (documentNumber: string, dateOfBirth: string, dateOfExpiry: string, progressCallback?: (progress: number) => void) => Promise<{
2
+ declare const eidReader: (documentNumber: string, dateOfBirth: string, dateOfExpiry: string, progressCallback?: (progress: number) => void, options?: {
3
+ passiveAuth?: boolean;
4
+ }) => Promise<{
3
5
  mrz?: MRZInfo;
4
6
  faceImage: string;
5
7
  mimeType: string;
6
8
  dg11FirstName: string | null;
7
9
  dg11LastName: string | null;
10
+ dg11Address: string | null;
11
+ /**
12
+ * Passive Authentication result (ICAO 9303-11 §5.1), present only when
13
+ * options.passiveAuth was set. `integrity` is the on-device DG-hash check;
14
+ * `sodBase64` is the raw EF.SOD for server-side signature + CSCA chaining.
15
+ */
16
+ passiveAuth?: {
17
+ integrity: import("./passiveAuth/integrity").IntegrityReport | null;
18
+ sodBase64: string | null;
19
+ error?: string;
20
+ };
8
21
  } | undefined>;
9
22
  export { eidReader };
10
23
  //# sourceMappingURL=eidReader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"eidReader.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/EIDReader/eidReader.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AA2Y7C,QAAA,MAAM,SAAS,GACb,gBAAgB,MAAM,EACtB,aAAa,MAAM,EACnB,cAAc,MAAM,EACpB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,KAC5C,OAAO,CACN;IACE,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B,GACD,SAAS,CAyYZ,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"eidReader.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/EIDReader/eidReader.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AA2Y7C,QAAA,MAAM,SAAS,GACb,gBAAgB,MAAM,EACtB,aAAa,MAAM,EACnB,cAAc,MAAM,EACpB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,EAC7C,UAAU;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,KAClC,OAAO,CACN;IACE,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,WAAW,CAAC,EAAE;QACZ,SAAS,EAAE,OAAO,yBAAyB,EAAE,eAAe,GAAG,IAAI,CAAC;QACpE,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACH,GACD,SAAS,CAocZ,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -17,5 +17,8 @@ export declare abstract class InputStream {
17
17
  reset(): void;
18
18
  close(): void;
19
19
  static onRead(listener: (totalBytesRead: number, fileLength: number) => void): void;
20
+ /** Remove all progress listeners (e.g. before post-read passes that must not
21
+ * drive the visible progress bar, like the Passive Auth SOD/DG re-reads). */
22
+ static clearListeners(): void;
20
23
  }
21
24
  //# sourceMapping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AAM,KAAK,IAAI;IAKhE;kFAC8E;IAC9E,MAAM,CAAC,cAAc;CAGtB"}
@@ -3,28 +3,41 @@ import { DataGroup } from '../dataGroup';
3
3
  /**
4
4
  * DG11 — Additional Personal Data (ICAO 9303-10 §4.6.6).
5
5
  *
6
- * We only extract tag 0x5F0E (Name of Holder), which contains the full name
7
- * exactly as printed on the document, in UTF-8, using the same `<<` primary/
8
- * secondary delimiter as the MRZ (but with native Unicode characters).
6
+ * We extract:
7
+ * - tag 0x5F0E (Name of Holder) — full name as printed, UTF-8, `<<` primary/
8
+ * secondary delimiter like the MRZ but with native Unicode.
9
+ * Example: "ÖZTÜRK<<GÖKHAN MEHMET" → lastName="ÖZTÜRK", firstName="GÖKHAN MEHMET"
10
+ * - tag 0x5F42 (Permanent Address) — the holder's address as printed/stored,
11
+ * free-form, components delimited by `<` (used for MASAK 4/C(1)(d) address
12
+ * pre-fill where the chip provides it; e.g. Turkish eID).
9
13
  *
10
- * Example: "ÖZTÜRK<<GÖKHAN MEHMET" lastName="ÖZTÜRK", firstName="GÖKHAN MEHMET"
11
- *
12
- * The file is optional on the chip — if absent or unreadable we return null
13
- * so the caller can fall back to reverse transliteration.
14
+ * Every field is optional on the chip — absent fields stay null so the caller
15
+ * can fall back (reverse transliteration for the name, manual entry for the
16
+ * address).
14
17
  */
15
18
  export declare class DG11File extends DataGroup {
16
19
  private static readonly DG11_TAG;
17
20
  private static readonly TAG_LIST_TAG;
18
21
  private static readonly NAME_OF_HOLDER_TAG;
22
+ private static readonly PERMANENT_ADDRESS_TAG;
19
23
  private firstName;
20
24
  private lastName;
25
+ private address;
21
26
  constructor(is?: InputStream);
22
27
  /** Returns the first name from DG11, or null if not present. */
23
28
  getFirstName(): string | null;
24
29
  /** Returns the last name from DG11, or null if not present. */
25
30
  getLastName(): string | null;
31
+ /** Returns the permanent address from DG11, or null if not present. */
32
+ getAddress(): string | null;
26
33
  read(): Promise<void>;
27
34
  protected readContent(inputStream: InputStream): Promise<void>;
35
+ /**
36
+ * Normalize a DG11 permanent-address value. Components are delimited by `<`
37
+ * (single = field separator, double = stronger break); convert to a single
38
+ * comma-separated line, dropping filler.
39
+ */
40
+ private parseAddress;
28
41
  protected writeContent(): void;
29
42
  /**
30
43
  * Split "PRIMARY<<SECONDARY" into last/first name components.
@@ -1 +1 @@
1
- {"version":3,"file":"dg11File.d.ts","sourceRoot":"","sources":["../../../../../../../src/Shared/EIDReader/lds/icao/dg11File.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;;;;;;;;;;GAWG;AACH,qBAAa,QAAS,SAAQ,SAAS;IACrC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAQ;IACxC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAQ;IAC5C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,kBAAkB,CAAU;IAEpD,OAAO,CAAC,SAAS,CAAuB;IACxC,OAAO,CAAC,QAAQ,CAAuB;gBAE3B,EAAE,CAAC,EAAE,WAAW;IAI5B,gEAAgE;IAChE,YAAY,IAAI,MAAM,GAAG,IAAI;IAI7B,+DAA+D;IAC/D,WAAW,IAAI,MAAM,GAAG,IAAI;IAItB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;cAIX,WAAW,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAyBpE,SAAS,CAAC,YAAY,IAAI,IAAI;IAI9B;;;OAGG;IACH,OAAO,CAAC,SAAS;CAgClB"}
1
+ {"version":3,"file":"dg11File.d.ts","sourceRoot":"","sources":["../../../../../../../src/Shared/EIDReader/lds/icao/dg11File.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,qBAAa,QAAS,SAAQ,SAAS;IACrC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAQ;IACxC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAQ;IAC5C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,kBAAkB,CAAU;IACpD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAAU;IAEvD,OAAO,CAAC,SAAS,CAAuB;IACxC,OAAO,CAAC,QAAQ,CAAuB;IACvC,OAAO,CAAC,OAAO,CAAuB;gBAE1B,EAAE,CAAC,EAAE,WAAW;IAI5B,gEAAgE;IAChE,YAAY,IAAI,MAAM,GAAG,IAAI;IAI7B,+DAA+D;IAC/D,WAAW,IAAI,MAAM,GAAG,IAAI;IAI5B,uEAAuE;IACvE,UAAU,IAAI,MAAM,GAAG,IAAI;IAIrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;cAIX,WAAW,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IA8CpE;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAUpB,SAAS,CAAC,YAAY,IAAI,IAAI;IAI9B;;;OAGG;IACH,OAAO,CAAC,SAAS;CAgClB"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Minimal DER (ASN.1) reader for Passive Authentication parsing (ICAO 9303-11
3
+ * §5.1). Purpose-built and dependency-free so the EF.SOD / LDSSecurityObject
4
+ * parse is fully unit-testable offline. Only the constructs PA needs are
5
+ * supported: SEQUENCE, SET, INTEGER, OCTET STRING, OID, and tagged wrappers.
6
+ */
7
+ export interface DerNode {
8
+ /** Raw first tag byte (class + constructed bit + number for low tags). */
9
+ tag: number;
10
+ /** Tag number with class/constructed bits masked off (low-tag form only). */
11
+ tagNumber: number;
12
+ /** True if the constructed bit (0x20) is set. */
13
+ constructed: boolean;
14
+ /** Value bytes (content octets), excluding tag and length. */
15
+ content: Uint8Array;
16
+ /** Offset of this node's first tag byte within the parent buffer. */
17
+ start: number;
18
+ /** Offset just past this node's content (start of the next sibling). */
19
+ end: number;
20
+ }
21
+ /** Read the TLV node starting at `offset` in `buf`. */
22
+ export declare function readNode(buf: Uint8Array, offset: number): DerNode;
23
+ /** Read all immediate child TLVs of a constructed node's content. */
24
+ export declare function readChildren(content: Uint8Array): DerNode[];
25
+ /** Decode an OID node's content to dotted-decimal string. */
26
+ export declare function decodeOid(content: Uint8Array): string;
27
+ /** Decode an INTEGER node's content to a JS number (small values only). */
28
+ export declare function decodeInteger(content: Uint8Array): number;
29
+ /** Lowercase hex string for a byte array. */
30
+ export declare function toHex(bytes: Uint8Array): string;
31
+ //# sourceMappingURL=der.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"der.d.ts","sourceRoot":"","sources":["../../../../../../src/Shared/EIDReader/passiveAuth/der.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,OAAO;IACtB,0EAA0E;IAC1E,GAAG,EAAE,MAAM,CAAC;IACZ,6EAA6E;IAC7E,SAAS,EAAE,MAAM,CAAC;IAClB,iDAAiD;IACjD,WAAW,EAAE,OAAO,CAAC;IACrB,8DAA8D;IAC9D,OAAO,EAAE,UAAU,CAAC;IACpB,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAC;IACd,wEAAwE;IACxE,GAAG,EAAE,MAAM,CAAC;CACb;AAED,uDAAuD;AACvD,wBAAgB,QAAQ,CAAC,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CA0CjE;AAED,qEAAqE;AACrE,wBAAgB,YAAY,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,EAAE,CAS3D;AAED,6DAA6D;AAC7D,wBAAgB,SAAS,CAAC,OAAO,EAAE,UAAU,GAAG,MAAM,CAerD;AAED,2EAA2E;AAC3E,wBAAgB,aAAa,CAAC,OAAO,EAAE,UAAU,GAAG,MAAM,CAIzD;AAED,6CAA6C;AAC7C,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,CAI/C"}
@@ -0,0 +1,31 @@
1
+ import type { SodSecurityObject } from './sodParser';
2
+ /**
3
+ * On-device Passive Authentication integrity check (ICAO 9303-11 §5.1, step 3).
4
+ * Recompute the hash of each raw data-group the chip returned and compare it to
5
+ * the hash the issuer signed into EF.SOD. A mismatch means the data was altered
6
+ * after signing → TAMPERED. This runs offline, with no trust store; SOD
7
+ * signature + CSCA chaining is verified server-side.
8
+ */
9
+ export type IntegrityStatus = 'MATCH' | 'TAMPERED' | 'INCOMPLETE';
10
+ export interface DgIntegrityResult {
11
+ dataGroup: number;
12
+ expectedHash: string;
13
+ actualHash: string;
14
+ matched: boolean;
15
+ }
16
+ export interface IntegrityReport {
17
+ status: IntegrityStatus;
18
+ digestAlgorithm: string;
19
+ /** Per-DG comparison for the data groups we actually read. */
20
+ results: DgIntegrityResult[];
21
+ /** DG numbers present in the SOD that we did not read (cannot verify). */
22
+ unverified: number[];
23
+ }
24
+ /**
25
+ * Compare the raw bytes of each read data group against the SOD's hash list.
26
+ *
27
+ * @param sod parsed LDSSecurityObject (digest alg + per-DG hashes)
28
+ * @param rawDataGroups map of DG number → exact wire bytes read from the chip
29
+ */
30
+ export declare function checkIntegrity(sod: SodSecurityObject, rawDataGroups: Record<number, Uint8Array>): IntegrityReport;
31
+ //# sourceMappingURL=integrity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrity.d.ts","sourceRoot":"","sources":["../../../../../../src/Shared/EIDReader/passiveAuth/integrity.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD;;;;;;GAMG;AAEH,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,UAAU,GAAG,YAAY,CAAC;AAElE,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,eAAe,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,8DAA8D;IAC9D,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,0EAA0E;IAC1E,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAmBD;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,iBAAiB,EACtB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,GACxC,eAAe,CAsCjB"}
@@ -0,0 +1,12 @@
1
+ export interface SodSecurityObject {
2
+ /** Digest algorithm name, e.g. "SHA-256". */
3
+ digestAlgorithm: string;
4
+ /** Per-DG hashes from the SOD: dataGroupNumber → lowercase hex hash. */
5
+ dataGroupHashes: Record<number, string>;
6
+ }
7
+ /**
8
+ * Parse the EF.SOD bytes (with or without the outer 0x77 application wrapper).
9
+ * Throws on a malformed structure.
10
+ */
11
+ export declare function parseSod(sodBytes: Uint8Array): SodSecurityObject;
12
+ //# sourceMappingURL=sodParser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sodParser.d.ts","sourceRoot":"","sources":["../../../../../../src/Shared/EIDReader/passiveAuth/sodParser.ts"],"names":[],"mappings":"AA6BA,MAAM,WAAW,iBAAiB;IAChC,6CAA6C;IAC7C,eAAe,EAAE,MAAM,CAAC;IACxB,wEAAwE;IACxE,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACzC;AAaD;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,UAAU,GAAG,iBAAiB,CA4ChE"}
@@ -0,0 +1,68 @@
1
+ import type { DocumentData } from '../Types/documentData';
2
+ /**
3
+ * Verdict of comparing the NFC chip-read (DG1) identity data against the
4
+ * camera-OCR-read (printed / VIZ) identity data.
5
+ *
6
+ * Required by MASAK Tebliğ No. 32, Article 4/C(1)(b): for remote identity
7
+ * verification of non-Turkish nationals via NFC passport, the chip data must be
8
+ * verified — via NFC — to match the data printed on the passport. If it cannot
9
+ * be verified (`MISMATCH` or `UNVERIFIABLE`), no business relationship may be
10
+ * established through the remote flow.
11
+ *
12
+ * - `MATCH` — every identity-critical field is equal.
13
+ * - `MISMATCH` — at least one identity-critical field differs.
14
+ * - `UNVERIFIABLE` — one of the two sources is missing, so no comparison is possible.
15
+ */
16
+ export type ChipVizVerdict = 'MATCH' | 'MISMATCH' | 'UNVERIFIABLE';
17
+ /** Why a comparison came back `UNVERIFIABLE`. */
18
+ export type ChipVizUnverifiableReason = 'missing-ocr-source' | 'missing-chip-source';
19
+ export interface ChipVizMatchResult {
20
+ verdict: ChipVizVerdict;
21
+ /**
22
+ * Fields that differed (empty on `MATCH` / `UNVERIFIABLE`). Used for
23
+ * diagnostics and server-side review — never surfaced to the user, to avoid
24
+ * coaching fraud.
25
+ */
26
+ mismatchedFields: Array<keyof DocumentData>;
27
+ /** Present only when `verdict === 'UNVERIFIABLE'`. */
28
+ reason?: ChipVizUnverifiableReason;
29
+ }
30
+ export interface ChipVizCompareOptions {
31
+ /**
32
+ * When `true`, a difference in the raw MRZ name (first/last) alone flips the
33
+ * verdict to `MISMATCH`. When `false` (default), name differences are
34
+ * recorded in `mismatchedFields` but do not by themselves cause a mismatch —
35
+ * a single-character OCR slip on a name should not hard-block on its own.
36
+ * The identity-critical fields below always drive the verdict regardless.
37
+ */
38
+ strictNames?: boolean;
39
+ /**
40
+ * Raw MRZ ASCII names (OCR-B, before Unicode/DG11 display conversion). The
41
+ * normalized `DocumentData.firstName/lastName` are overwritten with the
42
+ * display form in the read path, so the raw forms must be passed in
43
+ * explicitly for an apples-to-apples comparison.
44
+ */
45
+ chipName?: {
46
+ first: string;
47
+ last: string;
48
+ };
49
+ vizName?: {
50
+ first: string;
51
+ last: string;
52
+ };
53
+ }
54
+ /**
55
+ * Compare the chip-read (DG1) document data against the OCR-read (printed/VIZ)
56
+ * document data and produce a match verdict.
57
+ *
58
+ * Both inputs are the normalized {@link DocumentData} shape, so they are
59
+ * directly comparable regardless of which read path produced them. Pass raw MRZ
60
+ * names via {@link ChipVizCompareOptions} — the `firstName`/`lastName` on
61
+ * `DocumentData` may already be the Unicode display form, which legitimately
62
+ * diverges between paths and would cause false mismatches.
63
+ *
64
+ * @param chip Chip-read data (from `normalizeFromMRZInfo`), or `undefined` if NFC did not complete.
65
+ * @param viz OCR-read data (from `normalizeFromMRZFields`), or `undefined` if no OCR step ran.
66
+ */
67
+ export declare function compareChipToViz(chip: DocumentData | undefined, viz: DocumentData | undefined, options?: ChipVizCompareOptions): ChipVizMatchResult;
68
+ //# sourceMappingURL=chipVizMatch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chipVizMatch.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Libs/chipVizMatch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,UAAU,GAAG,cAAc,CAAC;AAEnE,iDAAiD;AACjD,MAAM,MAAM,yBAAyB,GACjC,oBAAoB,GACpB,qBAAqB,CAAC;AAE1B,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,cAAc,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,EAAE,KAAK,CAAC,MAAM,YAAY,CAAC,CAAC;IAC5C,sDAAsD;IACtD,MAAM,CAAC,EAAE,yBAAyB,CAAC;CACpC;AAED,MAAM,WAAW,qBAAqB;IACpC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3C,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CAC3C;AA8BD;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,YAAY,GAAG,SAAS,EAC9B,GAAG,EAAE,YAAY,GAAG,SAAS,EAC7B,OAAO,GAAE,qBAA0B,GAClC,kBAAkB,CAiDpB"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Country allow-list check for a workflow step's `allowedCountries`.
3
+ *
4
+ * Semantics (mirrors the server engine): an empty or unset list means ALL
5
+ * countries are allowed; a non-empty list allows ONLY those ICAO-3 codes.
6
+ * Matching is case-insensitive. `allowedCountries` carries any ICAO-3 code
7
+ * (server-driven), so the client treats the values as opaque strings.
8
+ */
9
+ export declare function isCountryAllowed(issuingState: string | null | undefined, allowedCountries: string[] | null | undefined): boolean;
10
+ //# sourceMappingURL=country-allow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"country-allow.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Libs/country-allow.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACvC,gBAAgB,EAAE,MAAM,EAAE,GAAG,IAAI,GAAG,SAAS,GAC5C,OAAO,CAKT"}
@@ -1 +1 @@
1
- {"version":3,"file":"documentDataNormalizer.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Libs/documentDataNormalizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAoE7D;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,OAAO,GAAG,YAAY,CAgB/D;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,GAAG,YAAY,CAatE"}
1
+ {"version":3,"file":"documentDataNormalizer.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Libs/documentDataNormalizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAiF7D;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,OAAO,GAAG,YAAY,CAgB/D;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,GAAG,YAAY,CAatE"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Coarse geolocation capture for the MASAK Tebliğ No. 32 Article 4/C(1)(e)
3
+ * technical-data requirement. Invoked when a workflow step enables
4
+ * collectGeolocation.
5
+ *
6
+ * Implemented entirely with the platform's native location framework via the
7
+ * SDK's own native modules (iOS Core Location through PermissionModule, Android
8
+ * LocationManager through GeolocationModule) — no third-party module. The host
9
+ * app must declare the OS permission strings (iOS
10
+ * `NSLocationWhenInUseUsageDescription`, Android `ACCESS_COARSE_LOCATION`).
11
+ *
12
+ * Everything is fail-soft: if the native module is missing, services are off,
13
+ * permission is denied, or the fix times out, this returns null and the flow
14
+ * proceeds — the backend treats a missing geolocation as "not provided".
15
+ *
16
+ * @returns "lat,lng" rounded to ~city-block precision (~110 m), or null.
17
+ */
18
+ export declare function captureCoarseGeolocation(timeoutMs?: number): Promise<string | null>;
19
+ //# sourceMappingURL=geolocation.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geolocation.utils.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Libs/geolocation.utils.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,wBAAwB,CAC5C,SAAS,SAAO,GACf,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAuBxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"promise.utils.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Libs/promise.utils.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,YAAY,GAAU,CAAC,EAC3B,IAAI,MAAM,OAAO,CAAC,CAAC,CAAC,EACpB,aAAY,MAAU,EACtB,QAAO,MAAa,KACnB,OAAO,CAAC,CAAC,CAgCX,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"promise.utils.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Libs/promise.utils.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,YAAY,GAAU,CAAC,EAC3B,IAAI,MAAM,OAAO,CAAC,CAAC,CAAC,EACpB,aAAY,MAAU,EACtB,QAAO,MAAa,KACnB,OAAO,CAAC,CAAC,CA2CX,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataUploadService.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Services/DataUploadService.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,uBAAuB,EACvB,iBAAiB,EAClB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAQhE;;;GAGG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,MAAM,CAAS;gBAEX,OAAO,EAAE,MAAM;YAKb,0BAA0B;IAexC;;OAEG;IACG,kBAAkB,CACtB,gBAAgB,EAAE,MAAM,EACxB,eAAe,EAAE,uBAAuB,EACxC,UAAU,EAAE,MAAM,EAClB,YAAY,CAAC,EAAE,YAAY,GAC1B,OAAO,CAAC,IAAI,CAAC;IA8DhB;;OAEG;IACG,WAAW,CACf,gBAAgB,EAAE,MAAM,EACxB,eAAe,CAAC,EAAE,uBAAuB,EACzC,iBAAiB,CAAC,EAAE,iBAAiB,EACrC,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,GACtC,OAAO,CAAC,IAAI,CAAC;IAmLhB;;OAEG;IACG,mBAAmB,CACvB,kBAAkB,EAAE,kBAAkB,EACtC,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,EACvC,YAAY,CAAC,EAAE,YAAY,GAC1B,OAAO,CAAC,OAAO,CAAC;IAuGnB,OAAO,CAAC,iBAAiB;CAY1B"}
1
+ {"version":3,"file":"DataUploadService.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Services/DataUploadService.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,uBAAuB,EACvB,iBAAiB,EAClB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAQhE;;;GAGG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,MAAM,CAAS;gBAEX,OAAO,EAAE,MAAM;YAKb,0BAA0B;IAexC;;OAEG;IACG,kBAAkB,CACtB,gBAAgB,EAAE,MAAM,EACxB,eAAe,EAAE,uBAAuB,EACxC,UAAU,EAAE,MAAM,EAClB,YAAY,CAAC,EAAE,YAAY,GAC1B,OAAO,CAAC,IAAI,CAAC;IAqFhB;;OAEG;IACG,WAAW,CACf,gBAAgB,EAAE,MAAM,EACxB,eAAe,CAAC,EAAE,uBAAuB,EACzC,iBAAiB,CAAC,EAAE,iBAAiB,EACrC,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,GACtC,OAAO,CAAC,IAAI,CAAC;IAmLhB;;OAEG;IACG,mBAAmB,CACvB,kBAAkB,EAAE,kBAAkB,EACtC,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,EACvC,YAAY,CAAC,EAAE,YAAY,GAC1B,OAAO,CAAC,OAAO,CAAC;IAuGnB,OAAO,CAAC,iBAAiB;CAY1B"}
@@ -40,5 +40,12 @@ export interface DocumentData {
40
40
  * Null if the document does not encode it.
41
41
  */
42
42
  dateOfExpiry: string | null;
43
+ /**
44
+ * Holder's permanent address as read from the chip's DG11 (NFC path only),
45
+ * normalized to a comma-separated line. Null when the chip does not provide
46
+ * it (most passports) or on the OCR path. Used to pre-fill the address step
47
+ * (MASAK 4/C(1)(d)).
48
+ */
49
+ address?: string | null;
43
50
  }
44
51
  //# sourceMappingURL=documentData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"documentData.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Types/documentData.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,YAAY,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,CAAC;IAEjC,iEAAiE;IACjE,cAAc,EAAE,MAAM,CAAC;IAEvB,oDAAoD;IACpD,WAAW,EAAE,MAAM,CAAC;IAEpB,mEAAmE;IACnE,cAAc,EAAE,MAAM,CAAC;IAEvB,kGAAkG;IAClG,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,4DAA4D;IAC5D,QAAQ,EAAE,MAAM,CAAC;IAEjB,sEAAsE;IACtE,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAE3B;;;OAGG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;;OAGG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B"}
1
+ {"version":3,"file":"documentData.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Types/documentData.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,YAAY,EAAE,GAAG,GAAG,GAAG,GAAG,MAAM,CAAC;IAEjC,iEAAiE;IACjE,cAAc,EAAE,MAAM,CAAC;IAEvB,oDAAoD;IACpD,WAAW,EAAE,MAAM,CAAC;IAEpB,mEAAmE;IACnE,cAAc,EAAE,MAAM,CAAC;IAEvB,kGAAkG;IAClG,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,4DAA4D;IAC5D,QAAQ,EAAE,MAAM,CAAC;IAEjB,sEAAsE;IACtE,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAE3B;;;OAGG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;;OAGG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB"}
@@ -1,4 +1,5 @@
1
1
  import type { DocumentData } from './documentData';
2
+ import type { ChipVizMatchResult } from '../Libs/chipVizMatch';
2
3
  /**
3
4
  * How the display name was derived from the raw MRZ ASCII name.
4
5
  *
@@ -40,5 +41,24 @@ export interface DocumentReadResult {
40
41
  * face image was successfully obtained.
41
42
  */
42
43
  face?: DocumentFaceImage;
44
+ /**
45
+ * Result of comparing this chip read against a prior camera-OCR (printed/VIZ)
46
+ * read, when one is available. Present only on the NFC path in the
47
+ * MASAK 4/C remote-passport flow. The client verdict is advisory — the server
48
+ * re-derives the authoritative verdict from the uploaded fields.
49
+ */
50
+ chipVizMatch?: ChipVizMatchResult;
51
+ /**
52
+ * Passive Authentication result (ICAO 9303-11 §5.1), present only on the NFC
53
+ * path when the eID step enabled passiveAuth. `integrityStatus` is the
54
+ * on-device DG-hash check (MATCH/TAMPERED/INCOMPLETE); full signature + CSCA
55
+ * verification is performed server-side from the SOD.
56
+ */
57
+ passiveAuth?: {
58
+ integrityStatus: 'MATCH' | 'TAMPERED' | 'INCOMPLETE' | null;
59
+ /** Raw EF.SOD (base64) for server-side signature + CSCA chaining. */
60
+ sodBase64?: string | null;
61
+ error?: string;
62
+ };
43
63
  }
44
64
  //# sourceMappingURL=documentReadResult.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"documentReadResult.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Types/documentReadResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,eAAe,GAAG,KAAK,CAAC;AAElE,MAAM,WAAW,YAAY;IAC3B,8EAA8E;IAC9E,QAAQ,EAAE,MAAM,CAAC;IACjB,8EAA8E;IAC9E,OAAO,EAAE,MAAM,CAAC;IAChB,iEAAiE;IACjE,YAAY,EAAE,MAAM,CAAC;IACrB,gEAAgE;IAChE,WAAW,EAAE,MAAM,CAAC;IACpB,mDAAmD;IACnD,MAAM,EAAE,kBAAkB,CAAC;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,mDAAmD;IACnD,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,mFAAmF;IACnF,QAAQ,EAAE,YAAY,CAAC;IACvB;;;;OAIG;IACH,IAAI,EAAE,YAAY,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC1B"}
1
+ {"version":3,"file":"documentReadResult.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Types/documentReadResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D;;;;;;GAMG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,eAAe,GAAG,KAAK,CAAC;AAElE,MAAM,WAAW,YAAY;IAC3B,8EAA8E;IAC9E,QAAQ,EAAE,MAAM,CAAC;IACjB,8EAA8E;IAC9E,OAAO,EAAE,MAAM,CAAC;IAChB,iEAAiE;IACjE,YAAY,EAAE,MAAM,CAAC;IACrB,gEAAgE;IAChE,WAAW,EAAE,MAAM,CAAC;IACpB,mDAAmD;IACnD,MAAM,EAAE,kBAAkB,CAAC;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,mDAAmD;IACnD,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,mFAAmF;IACnF,QAAQ,EAAE,YAAY,CAAC;IACvB;;;;OAIG;IACH,IAAI,EAAE,YAAY,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC;;;;;OAKG;IACH,WAAW,CAAC,EAAE;QACZ,eAAe,EAAE,OAAO,GAAG,UAAU,GAAG,YAAY,GAAG,IAAI,CAAC;QAC5D,qEAAqE;QACrE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACH"}
@@ -1,13 +1,27 @@
1
1
  import type { MRZFields } from './mrzFields';
2
2
  import type { LivenessInstructionType } from './livenessIntructionType';
3
+ import type { ChipVizMatchResult } from '../Libs/chipVizMatch';
3
4
  export interface IdentificationInfo {
4
5
  sessionId: string;
5
6
  identificationId: string;
6
7
  consent: {
7
8
  contractIds: string[];
8
9
  deviceInfo: string;
10
+ /**
11
+ * Coarse device geolocation ("lat,lng"), captured when a workflow step
12
+ * enables collectGeolocation (MASAK §4/C(1)(e) technical data). Optional —
13
+ * null/absent when not collected or unavailable.
14
+ */
15
+ geolocation?: string | null;
16
+ /**
17
+ * True when the workflow step required geolocation (collectGeolocation). Lets
18
+ * the server raise a suspicion signal if geolocation came back null.
19
+ */
20
+ geolocationExpected?: boolean;
9
21
  };
10
22
  scannedDocument?: ScannedIdentityDocument;
23
+ /** Captured address + proof document (MASAK 4/C(1)(d) ADDRESS_CAPTURE step). */
24
+ address?: CapturedAddress;
11
25
  livenessDetection?: LivenessDetection;
12
26
  locale: string;
13
27
  authToken?: string;
@@ -33,6 +47,25 @@ export interface ScannedIdentityDocument {
33
47
  barcodeValue?: string;
34
48
  mrzText?: string;
35
49
  mrzFields?: MRZFields;
50
+ /**
51
+ * The printed/VIZ MRZ from the camera scan, preserved separately from
52
+ * mrzFields (which the EID path overwrites with the chip MRZ). Sent to the
53
+ * backend so it can independently re-derive the chip↔VIZ match (MASAK 4/C).
54
+ */
55
+ vizMrzFields?: MRZFields;
56
+ /**
57
+ * The client-side chip↔VIZ match verdict. Advisory — the server re-derives
58
+ * the authoritative verdict. Recorded for every EID scan as a security signal.
59
+ */
60
+ chipVizMatch?: ChipVizMatchResult;
61
+ /**
62
+ * Passive Authentication artifacts (ICAO 9303-11 §5.1), present only when the
63
+ * eID step ran with passiveAuth. `paSodBase64` is the raw EF.SOD for
64
+ * server-side signature + CSCA chaining; `paIntegrityStatus` is the
65
+ * on-device DG-hash check.
66
+ */
67
+ paSodBase64?: string | null;
68
+ paIntegrityStatus?: 'MATCH' | 'TAMPERED' | 'INCOMPLETE' | null;
36
69
  }
37
70
  export interface LivenessDetection {
38
71
  instructions: {
@@ -41,9 +74,25 @@ export interface LivenessDetection {
41
74
  }[];
42
75
  videoPath: string;
43
76
  }
77
+ /**
78
+ * Address captured in the ADDRESS_CAPTURE step (MASAK 4/C(1)(d)). The text may
79
+ * be pre-filled from the chip's DG11 address and edited by the user. The proof
80
+ * image is a photo/scan of a supporting document (residence cert, utility bill
81
+ * ≤3 months, public-authority doc).
82
+ */
83
+ export interface CapturedAddress {
84
+ /** Free-form address line(s) as entered/confirmed by the user. */
85
+ addressText: string;
86
+ /** True when the addressText was pre-filled from the chip's DG11 address. */
87
+ fromChip: boolean;
88
+ /** Base64 proof-document image (no data-URI prefix), if captured. */
89
+ proofImage?: string;
90
+ /** MIME type of proofImage, e.g. "image/jpeg". */
91
+ proofImageMimeType?: string;
92
+ }
44
93
  export interface WorkflowStep {
45
94
  id?: string;
46
- type: 'CONTRACT_ACCEPTANCE' | 'IDENTITY_DOCUMENT_SCAN' | 'IDENTITY_DOCUMENT_EID_SCAN' | 'LIVENESS_CHECK' | 'VERBAL_CONSENT' | 'AML_CHECK' | 'VIDEO_CALL';
95
+ type: 'CONTRACT_ACCEPTANCE' | 'IDENTITY_DOCUMENT_SCAN' | 'IDENTITY_DOCUMENT_EID_SCAN' | 'LIVENESS_CHECK' | 'VERBAL_CONSENT' | 'AML_CHECK' | 'VIDEO_CALL' | 'ADDRESS_CAPTURE';
47
96
  data?: {
48
97
  contracts?: {
49
98
  en: {
@@ -58,11 +107,55 @@ export interface WorkflowStep {
58
107
  };
59
108
  };
60
109
  allowedDocumentTypes?: ('I' | 'P')[] | null;
61
- allowedCountries?: 'TUR'[] | null;
110
+ /** ICAO-3 allow-list of accepted document issuers/nationalities. Empty/unset
111
+ * = all allowed. Server-driven, so the client treats these as opaque codes. */
112
+ allowedCountries?: string[] | null;
62
113
  allowedLivenessInstructionTypes?: LivenessInstructionType[] | null;
63
114
  voiceGuidanceActive?: boolean;
64
115
  verbalConsentTitle?: string | null;
65
116
  verbalConsentText?: string | null;
117
+ /**
118
+ * Collect coarse device geolocation during this step (MASAK 4/C(1)(e)
119
+ * technical data). Server-driven per-step config; defaults to off.
120
+ */
121
+ collectGeolocation?: boolean;
122
+ /**
123
+ * Terminal-reject the identification server-side when the chip↔VIZ verdict
124
+ * is not MATCH (MASAK 4/C(1)(b)). Enforcement is SERVER-SIDE only — the
125
+ * client never blocks or surfaces the verdict to the user; it computes the
126
+ * verdict and sends it to the backend, which decides. Defaults to off.
127
+ */
128
+ enforceChipVizMatch?: boolean;
129
+ /**
130
+ * Whether a proof document is required in the ADDRESS_CAPTURE step
131
+ * (MASAK 4/C(1)(d)). Defaults to true; set false to allow address-only.
132
+ */
133
+ addressProofRequired?: boolean;
134
+ /**
135
+ * Run Passive Authentication on the eID scan (ICAO 9303-11 §5.1 / MASAK
136
+ * 4/C(1)(b),(c)): read EF.SOD, verify on-device DG-hash integrity, and send
137
+ * the SOD for server-side signature + CSCA chaining. Adds NFC time (re-reads
138
+ * SOD + DGs); defaults to off.
139
+ */
140
+ passiveAuth?: boolean;
141
+ /**
142
+ * Risky-country block (MASAK 4/C(3)): 3-letter ICAO nationality codes the
143
+ * obligated party may not accept via the remote-passport flow. Enforced
144
+ * server-side — a document whose nationality is on this list is rejected.
145
+ */
146
+ blockedNationalities?: string[];
147
+ /**
148
+ * Require a trained operator in the video interview (MASAK 4/C(1)(a)): the
149
+ * VIDEO_CALL step must have had an operator connected, not just completed.
150
+ * Enforced server-side. Defaults to off.
151
+ */
152
+ requireOperator?: boolean;
153
+ /**
154
+ * Terminal-reject the identification server-side when Passive Authentication
155
+ * comes back TAMPERED. Defaults to off (the verdict is recorded and
156
+ * withholds the step score, but does not hard-reject unless enabled).
157
+ */
158
+ enforcePassiveAuth?: boolean;
66
159
  };
67
160
  required: boolean;
68
161
  }
@@ -1 +1 @@
1
- {"version":3,"file":"identificationInfo.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Types/identificationInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAExE,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE;QACP,WAAW,EAAE,MAAM,EAAE,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,eAAe,CAAC,EAAE,uBAAuB,C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EAAE;QACL,SAAS,CAAC,EAAE;YACV,EAAE,EAAE;gBACF,EAAE,EAAE,MAAM,CAAC;gBACX,IAAI,EAAE,MAAM,CAAC;gBACb,GAAG,EAAE,MAAM,CAAC;aACb,CAAC;YACF,EAAE,EAAE;gBACF,EAAE,EAAE,MAAM,CAAC;gBACX,IAAI,EAAE,MAAM,CAAC;gBACb,GAAG,EAAE,MAAM,CAAC;aACb,CAAC;SACH,CAAC;QACF,oBAAoB,CAAC,EAAE,CAAC,GAAG,GAAG,GAAG,CAAC,EAAE,GAAG,IAAI,CAAC;QAC5C,gBAAgB,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;QAClC,+BAA+B,CAAC,EAAE,uBAAuB,EAAE,GAAG,IAAI,CAAC;QACnE,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACnC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACnC,CAAC;IACF,QAAQ,EAAE,OAAO,CAAC;CACnB"}
1
+ {"version":3,"file":"identificationInfo.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Types/identificationInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE;QACP,WAAW,EAAE,MAAM,EAAE,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;QACnB;;;;WAIG;QACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC5B;;;WAGG;QACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B,CAAC;IACF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B,CAAC,EAAE,OAAO,CAAC;QAC7B;;;;;WAKG;QACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B;;;WAGG;QACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B;;;;;WAKG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB;;;;WAIG;QACH,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;QAChC;;;;WAIG;QACH,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B;;;;WAIG;QACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;KAC9B,CAAC;IACF,QAAQ,EAAE,OAAO,CAAC;CACnB"}
@@ -10,6 +10,8 @@ declare const _default: {
10
10
  'verificationSessionCheckScreen.or': string;
11
11
  'general.warning': string;
12
12
  'general.error': string;
13
+ 'general.continue': string;
14
+ 'general.cancel': string;
13
15
  'general.yes': string;
14
16
  'general.no': string;
15
17
  'general.letsGo': string;
@@ -24,6 +26,7 @@ declare const _default: {
24
26
  'termsOfUseAndDataPrivacyScreen.acceptAndContinue': string;
25
27
  'resultScreen.submitting': string;
26
28
  'resultScreen.submissionFailed': string;
29
+ 'resultScreen.sessionTerminated': string;
27
30
  'resultScreen.submissionFailedTitle': string;
28
31
  'resultScreen.submissionFailedRetryHint': string;
29
32
  'resultScreen.retrySubmission': string;
@@ -90,10 +93,23 @@ declare const _default: {
90
93
  'eidScannerScreen.nfcAuthFailed': string;
91
94
  'eidScannerScreen.nfcTagLost': string;
92
95
  'eidScannerScreen.nfcTimeout': string;
96
+ 'addressCaptureScreen.title': string;
97
+ 'addressCaptureScreen.subtitle': string;
98
+ 'addressCaptureScreen.prefilledFromChip': string;
99
+ 'addressCaptureScreen.addressLabel': string;
100
+ 'addressCaptureScreen.addressPlaceholder': string;
101
+ 'addressCaptureScreen.proofLabel': string;
102
+ 'addressCaptureScreen.proofHint': string;
103
+ 'addressCaptureScreen.captureProof': string;
104
+ 'addressCaptureScreen.retakeProof': string;
105
+ 'addressCaptureScreen.proofCameraHint': string;
106
+ 'addressCaptureScreen.capture': string;
93
107
  'eidScannerScreen.faceImageNotFound': string;
94
108
  'eidScannerScreen.documentCode': string;
95
109
  'eidScannerScreen.nationality': string;
96
110
  'eidScannerScreen.personalNumber': string;
111
+ 'eidScannerScreen.address': string;
112
+ 'eidScannerScreen.location': string;
97
113
  'eidScannerScreen.documentNumber': string;
98
114
  'eidScannerScreen.name': string;
99
115
  'eidScannerScreen.surname': string;
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../../../src/Translation/Resources/en.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAySE"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../../../src/Translation/Resources/en.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA8TE"}