@notabene/javascript-sdk 2.9.0-next.3 → 2.9.0-next.4

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 (130) hide show
  1. package/dist/cjs/notabene.d.ts +18 -1
  2. package/dist/cjs/package.json +1 -1
  3. package/dist/esm/notabene.d.ts +18 -1
  4. package/dist/esm/package.json +1 -1
  5. package/dist/notabene.d.ts +18 -1
  6. package/docs/README.md +12 -3
  7. package/docs/_media/TransactionOptions.md +16 -6
  8. package/docs/ivms/types/enumerations/PayloadVersionCode.md +2 -2
  9. package/docs/ivms/types/interfaces/PayloadMetadata.md +2 -2
  10. package/docs/ivms/types/type-aliases/Address.md +1 -1
  11. package/docs/ivms/types/type-aliases/AddressTypeCode.md +1 -1
  12. package/docs/ivms/types/type-aliases/Beneficiary.md +1 -1
  13. package/docs/ivms/types/type-aliases/BeneficiaryVASP.md +1 -1
  14. package/docs/ivms/types/type-aliases/DateAndPlaceOfBirth.md +1 -1
  15. package/docs/ivms/types/type-aliases/ISOCountryCode.md +1 -1
  16. package/docs/ivms/types/type-aliases/ISODate.md +1 -1
  17. package/docs/ivms/types/type-aliases/IVMS101.md +1 -1
  18. package/docs/ivms/types/type-aliases/IntermediaryVASP.md +1 -1
  19. package/docs/ivms/types/type-aliases/LegalPerson.md +1 -1
  20. package/docs/ivms/types/type-aliases/LegalPersonName.md +1 -1
  21. package/docs/ivms/types/type-aliases/LegalPersonNameID.md +1 -1
  22. package/docs/ivms/types/type-aliases/LegalPersonNameTypeCode.md +1 -1
  23. package/docs/ivms/types/type-aliases/LocalLegalPersonNameID.md +1 -1
  24. package/docs/ivms/types/type-aliases/LocalNaturalPersonNameID.md +1 -1
  25. package/docs/ivms/types/type-aliases/NationalIdentification.md +1 -1
  26. package/docs/ivms/types/type-aliases/NationalIdentifierTypeCode.md +1 -1
  27. package/docs/ivms/types/type-aliases/NaturalPerson.md +1 -1
  28. package/docs/ivms/types/type-aliases/NaturalPersonName.md +1 -1
  29. package/docs/ivms/types/type-aliases/NaturalPersonNameID.md +1 -1
  30. package/docs/ivms/types/type-aliases/NaturalPersonNameTypeCode.md +1 -1
  31. package/docs/ivms/types/type-aliases/OriginatingVASP.md +1 -1
  32. package/docs/ivms/types/type-aliases/Originator.md +1 -1
  33. package/docs/ivms/types/type-aliases/Person.md +1 -1
  34. package/docs/ivms/types/type-aliases/TransferPath.md +1 -1
  35. package/docs/ivms/types/type-aliases/TransliterationMethodCode.md +1 -1
  36. package/docs/notabene/README.md +15 -0
  37. package/docs/notabene/classes/ConnectionManager.md +14 -6
  38. package/docs/notabene/classes/EmbeddedComponent.md +17 -17
  39. package/docs/notabene/classes/default.md +7 -7
  40. package/docs/notabene/functions/decodeFragmentToObject.md +1 -1
  41. package/docs/notabene/functions/getRefreshResult.md +27 -0
  42. package/docs/notabene/interfaces/ConnectionData.md +13 -3
  43. package/docs/notabene/interfaces/ConnectionMetadata.md +3 -3
  44. package/docs/notabene/interfaces/ConnectionResponse.md +15 -5
  45. package/docs/notabene/interfaces/ConnectionResult.md +61 -0
  46. package/docs/notabene/interfaces/NotabeneConfig.md +5 -5
  47. package/docs/notabene/type-aliases/ConnectionStatus.md +13 -0
  48. package/docs/notabene/type-aliases/MessageCallback.md +1 -1
  49. package/docs/notabene/type-aliases/TransactionType.md +1 -1
  50. package/docs/types/README.md +1 -0
  51. package/docs/types/enumerations/AgentType.md +2 -2
  52. package/docs/types/enumerations/CMType.md +7 -7
  53. package/docs/types/enumerations/ErrorIdentifierCode.md +4 -4
  54. package/docs/types/enumerations/HMType.md +2 -2
  55. package/docs/types/enumerations/PersonType.md +3 -3
  56. package/docs/types/enumerations/ProofStatus.md +4 -4
  57. package/docs/types/enumerations/ProofTypes.md +17 -17
  58. package/docs/types/enumerations/Status.md +5 -5
  59. package/docs/types/enumerations/VASPSearchControl.md +2 -2
  60. package/docs/types/enumerations/ValidationSections.md +4 -4
  61. package/docs/types/interfaces/Agent.md +6 -6
  62. package/docs/types/interfaces/CallbackOptions.md +2 -2
  63. package/docs/types/interfaces/ComponentRequest.md +2 -2
  64. package/docs/types/interfaces/ComponentResponse.md +4 -4
  65. package/docs/types/interfaces/ConnectionRecord.md +7 -7
  66. package/docs/types/interfaces/ConnectionRequest.md +3 -3
  67. package/docs/types/interfaces/Counterparty.md +10 -10
  68. package/docs/types/interfaces/DeclarationProof.md +6 -6
  69. package/docs/types/interfaces/Deposit.md +11 -11
  70. package/docs/types/interfaces/DepositRequest.md +7 -7
  71. package/docs/types/interfaces/DepositRequestOptions.md +1 -1
  72. package/docs/types/interfaces/DepositTransaction.md +9 -9
  73. package/docs/types/interfaces/LegalPerson.md +13 -13
  74. package/docs/types/interfaces/MicroTransferProof.md +9 -9
  75. package/docs/types/interfaces/NaturalPerson.md +13 -13
  76. package/docs/types/interfaces/OwnershipProof.md +4 -4
  77. package/docs/types/interfaces/RefreshSource.md +2 -2
  78. package/docs/types/interfaces/Refreshable.md +1 -1
  79. package/docs/types/interfaces/ScreenshotProof.md +5 -5
  80. package/docs/types/interfaces/SignatureProof.md +9 -9
  81. package/docs/types/interfaces/ThresholdOptions.md +3 -3
  82. package/docs/types/interfaces/Transaction.md +8 -8
  83. package/docs/types/interfaces/TransactionOptions.md +16 -6
  84. package/docs/types/interfaces/TransactionResponse.md +9 -9
  85. package/docs/types/interfaces/VASP.md +9 -9
  86. package/docs/types/interfaces/Wallet.md +8 -8
  87. package/docs/types/interfaces/Withdrawal.md +10 -10
  88. package/docs/types/type-aliases/BlockchainAddress.md +1 -1
  89. package/docs/types/type-aliases/CAIP10.md +1 -1
  90. package/docs/types/type-aliases/CAIP19.md +1 -1
  91. package/docs/types/type-aliases/CAIP2.md +1 -1
  92. package/docs/types/type-aliases/CAIP220.md +1 -1
  93. package/docs/types/type-aliases/Cancel.md +1 -1
  94. package/docs/types/type-aliases/Completed.md +1 -1
  95. package/docs/types/type-aliases/ComponentMessage.md +1 -1
  96. package/docs/types/type-aliases/ConnectionOptions.md +1 -1
  97. package/docs/types/type-aliases/CounterpartyAssistConfig.md +19 -0
  98. package/docs/types/type-aliases/CryptoCredential.md +1 -1
  99. package/docs/types/type-aliases/DID.md +1 -1
  100. package/docs/types/type-aliases/DTI.md +1 -1
  101. package/docs/types/type-aliases/Destination.md +1 -1
  102. package/docs/types/type-aliases/Error.md +1 -1
  103. package/docs/types/type-aliases/FieldOptions.md +1 -1
  104. package/docs/types/type-aliases/FieldTypes.md +1 -1
  105. package/docs/types/type-aliases/HostMessage.md +1 -1
  106. package/docs/types/type-aliases/ISOCurrency.md +1 -1
  107. package/docs/types/type-aliases/InvalidValue.md +1 -1
  108. package/docs/types/type-aliases/LEI.md +1 -1
  109. package/docs/types/type-aliases/LegalPersonFieldName.md +1 -1
  110. package/docs/types/type-aliases/LegalPersonFields.md +1 -1
  111. package/docs/types/type-aliases/NationalIdentifierTypeFieldOptions.md +1 -1
  112. package/docs/types/type-aliases/NaturalPersonFieldName.md +1 -1
  113. package/docs/types/type-aliases/NaturalPersonFields.md +1 -1
  114. package/docs/types/type-aliases/NotabeneAsset.md +1 -1
  115. package/docs/types/type-aliases/Ready.md +1 -1
  116. package/docs/types/type-aliases/ResizeRequest.md +1 -1
  117. package/docs/types/type-aliases/Source.md +1 -1
  118. package/docs/types/type-aliases/Theme.md +1 -1
  119. package/docs/types/type-aliases/TransactionAsset.md +1 -1
  120. package/docs/types/type-aliases/TravelAddress.md +1 -1
  121. package/docs/types/type-aliases/URI.md +1 -1
  122. package/docs/types/type-aliases/UUID.md +1 -1
  123. package/docs/types/type-aliases/UpdateValue.md +1 -1
  124. package/docs/types/type-aliases/V1Asset.md +1 -1
  125. package/docs/types/type-aliases/V1Transaction.md +1 -1
  126. package/docs/types/type-aliases/VASPOptions.md +1 -1
  127. package/docs/types/type-aliases/ValidationError.md +1 -1
  128. package/package.json +1 -1
  129. package/src/notabene.ts +2 -0
  130. package/src/types.ts +20 -1
@@ -12,4 +12,4 @@ The destination of a transaction either a blockchain address, a CAIP-19 address,
12
12
 
13
13
  ## Defined in
14
14
 
15
- [types.ts:198](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L198)
15
+ [types.ts:198](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L198)
@@ -42,4 +42,4 @@ Identifier code of the error message
42
42
 
43
43
  ## Defined in
44
44
 
45
- [types.ts:902](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L902)
45
+ [types.ts:921](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L921)
@@ -12,4 +12,4 @@ Field properties
12
12
 
13
13
  ## Defined in
14
14
 
15
- [types.ts:742](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L742)
15
+ [types.ts:742](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L742)
@@ -22,4 +22,4 @@ Field type configuration
22
22
 
23
23
  ## Defined in
24
24
 
25
- [types.ts:755](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L755)
25
+ [types.ts:755](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L755)
@@ -34,4 +34,4 @@ without requiring full reinitialization.
34
34
 
35
35
  ## Defined in
36
36
 
37
- [types.ts:1014](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L1014)
37
+ [types.ts:1033](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L1033)
@@ -12,4 +12,4 @@
12
12
 
13
13
  ## Defined in
14
14
 
15
- [types.ts:232](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L232)
15
+ [types.ts:232](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L232)
@@ -42,4 +42,4 @@ Array of validation errors
42
42
 
43
43
  ## Defined in
44
44
 
45
- [types.ts:924](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L924)
45
+ [types.ts:943](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L943)
@@ -12,4 +12,4 @@ A LEI Legal Entity Identifier
12
12
 
13
13
  ## Defined in
14
14
 
15
- [types.ts:226](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L226)
15
+ [types.ts:226](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L226)
@@ -10,4 +10,4 @@
10
10
 
11
11
  ## Defined in
12
12
 
13
- [types.ts:449](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L449)
13
+ [types.ts:449](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L449)
@@ -12,4 +12,4 @@ Field properties for legal person fields
12
12
 
13
13
  ## Defined in
14
14
 
15
- [types.ts:463](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L463)
15
+ [types.ts:463](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L463)
@@ -18,4 +18,4 @@ Field properties for national identifier type selection
18
18
 
19
19
  ## Defined in
20
20
 
21
- [types.ts:399](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L399)
21
+ [types.ts:399](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L399)
@@ -12,4 +12,4 @@ Field names for NaturalPerson
12
12
 
13
13
  ## Defined in
14
14
 
15
- [types.ts:384](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L384)
15
+ [types.ts:384](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L384)
@@ -12,4 +12,4 @@ Field properties for natural person fields
12
12
 
13
13
  ## Defined in
14
14
 
15
- [types.ts:407](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L407)
15
+ [types.ts:407](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L407)
@@ -33,4 +33,4 @@ system that may be used alongside CAIP-19 and DTI identifiers.
33
33
 
34
34
  ## Defined in
35
35
 
36
- [types.ts:140](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L140)
36
+ [types.ts:140](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L140)
@@ -18,4 +18,4 @@ Represents a ready component message
18
18
 
19
19
  ## Defined in
20
20
 
21
- [types.ts:871](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L871)
21
+ [types.ts:890](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L890)
@@ -24,4 +24,4 @@ Represents a resize request component message. This is handled by the library.
24
24
 
25
25
  ## Defined in
26
26
 
27
- [types.ts:879](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L879)
27
+ [types.ts:898](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L898)
@@ -12,4 +12,4 @@ The source of a transaction
12
12
 
13
13
  ## Defined in
14
14
 
15
- [types.ts:208](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L208)
15
+ [types.ts:208](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L208)
@@ -34,4 +34,4 @@ The theme of the Notabene SDK
34
34
 
35
35
  ## Defined in
36
36
 
37
- [types.ts:238](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L238)
37
+ [types.ts:238](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L238)
@@ -12,4 +12,4 @@ The asset of a transaction either a Notabene asset, a CAIP-19 asset, or a DTI.
12
12
 
13
13
  ## Defined in
14
14
 
15
- [types.ts:146](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L146)
15
+ [types.ts:146](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L146)
@@ -34,4 +34,4 @@ VASPs and blockchain networks while maintaining privacy.
34
34
 
35
35
  ## Defined in
36
36
 
37
- [types.ts:187](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L187)
37
+ [types.ts:187](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L187)
@@ -12,4 +12,4 @@ A Uniform Resource Identifier
12
12
 
13
13
  ## Defined in
14
14
 
15
- [types.ts:214](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L214)
15
+ [types.ts:214](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L214)
@@ -24,4 +24,4 @@ Format: 8-4-4-4-12 hexadecimal digits
24
24
 
25
25
  ## Defined in
26
26
 
27
- [types.ts:40](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L40)
27
+ [types.ts:40](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L40)
@@ -51,4 +51,4 @@ and its configuration without requiring a full reload/reinitialize.
51
51
 
52
52
  ## Defined in
53
53
 
54
- [types.ts:992](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L992)
54
+ [types.ts:1011](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L1011)
@@ -33,4 +33,4 @@ Used for backwards compatibility with V1 API transaction payloads:
33
33
 
34
34
  ## Defined in
35
35
 
36
- [types.ts:657](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L657)
36
+ [types.ts:657](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L657)
@@ -54,4 +54,4 @@ Transaction payload suitable for calling Notabene v1 tx/create
54
54
 
55
55
  ## Defined in
56
56
 
57
- [types.ts:663](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L663)
57
+ [types.ts:663](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L663)
@@ -26,4 +26,4 @@ Options for which VASPs to be searchable
26
26
 
27
27
  ## Defined in
28
28
 
29
- [types.ts:777](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L777)
29
+ [types.ts:777](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L777)
@@ -22,4 +22,4 @@ Validation error
22
22
 
23
23
  ## Defined in
24
24
 
25
- [types.ts:733](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/69cd8d08514af027712db73539fbd0247649c123/src/types.ts#L733)
25
+ [types.ts:733](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f6a0825d098b61a3bc31d6c197072643eb78a452/src/types.ts#L733)
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "author": "Notabene <developers@notabene.id>",
11
11
  "license": "MIT",
12
12
  "packageManager": "yarn@4.5.1",
13
- "version": "2.9.0-next.3",
13
+ "version": "2.9.0-next.4",
14
14
  "source": "src/notabene.ts",
15
15
  "main": "dist/cjs/notabene.cjs",
16
16
  "module": "dist/esm/notabene.js",
package/src/notabene.ts CHANGED
@@ -14,6 +14,7 @@ import type {
14
14
  ConnectionOptions,
15
15
  ConnectionRequest,
16
16
  Counterparty,
17
+ CounterpartyAssistConfig,
17
18
  CryptoCredential,
18
19
  DeclarationProof,
19
20
  Deposit,
@@ -113,6 +114,7 @@ export type {
113
114
  ConnectionOptions,
114
115
  ConnectionRequest,
115
116
  Counterparty,
117
+ CounterpartyAssistConfig,
116
118
  CryptoCredential,
117
119
  DeclarationProof,
118
120
  Deposit,
package/src/types.ts CHANGED
@@ -508,7 +508,7 @@ type BeneficiaryFields = {
508
508
  type DepositRequestFields = {
509
509
  destination: BlockchainAddress | CAIP10;
510
510
  asset: TransactionAsset;
511
- amountDecimal?: number;
511
+ amountDecimal: number;
512
512
  travelAddress?: TravelAddress;
513
513
  cryptoCredential?: CryptoCredential;
514
514
  };
@@ -793,6 +793,24 @@ export type VASPOptions = {
793
793
  searchable?: VASPSearchControl[]; // If array left empty all VASPs will be searchable
794
794
  };
795
795
 
796
+ /**
797
+ * Counterparty Assist Configuration options for recipient selection
798
+ *
799
+ * @remarks
800
+ * Controls for each person type, whether to show the share feature or not.
801
+ *
802
+ * @public
803
+ */
804
+ export type CounterpartyAssistConfig =
805
+ | {
806
+ enabled?: boolean;
807
+ }
808
+ | {
809
+ [key in PersonType]: {
810
+ enabled?: boolean;
811
+ };
812
+ };
813
+
796
814
  /**
797
815
  * Sections in a WithdrawalAssist screen
798
816
  *
@@ -841,6 +859,7 @@ export interface TransactionOptions {
841
859
  fields?: FieldTypes;
842
860
  vasps?: VASPOptions;
843
861
  hide?: ValidationSections[]; // You can hide a specific section of the component by listing it here
862
+ counterpartyAssistConfig?: CounterpartyAssistConfig;
844
863
  }
845
864
  /**
846
865
  * Component Message Type enum representing different message types that can be sent