@notabene/javascript-sdk 2.0.1 → 2.0.2

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 (116) hide show
  1. package/dist/notabene.cjs +1 -1
  2. package/dist/notabene.d.ts +1565 -0
  3. package/dist/notabene.js +1 -1
  4. package/dist/tsdoc-metadata.json +11 -0
  5. package/docs/README.md +656 -0
  6. package/docs/_media/LICENSE.md +21 -0
  7. package/docs/_media/TransactionOptions.md +93 -0
  8. package/docs/_media/locales.ts +48 -0
  9. package/docs/ivms/types/README.md +46 -0
  10. package/docs/ivms/types/enumerations/PayloadVersionCode.md +33 -0
  11. package/docs/ivms/types/interfaces/PayloadMetadata.md +34 -0
  12. package/docs/ivms/types/type-aliases/Address.md +114 -0
  13. package/docs/ivms/types/type-aliases/AddressTypeCode.md +16 -0
  14. package/docs/ivms/types/type-aliases/Beneficiary.md +30 -0
  15. package/docs/ivms/types/type-aliases/BeneficiaryVASP.md +24 -0
  16. package/docs/ivms/types/type-aliases/DateAndPlaceOfBirth.md +30 -0
  17. package/docs/ivms/types/type-aliases/ISOCountryCode.md +22 -0
  18. package/docs/ivms/types/type-aliases/ISODate.md +23 -0
  19. package/docs/ivms/types/type-aliases/IVMS101.md +41 -0
  20. package/docs/ivms/types/type-aliases/IntermediaryVASP.md +30 -0
  21. package/docs/ivms/types/type-aliases/LegalPerson.md +48 -0
  22. package/docs/ivms/types/type-aliases/LegalPersonName.md +36 -0
  23. package/docs/ivms/types/type-aliases/LegalPersonNameID.md +30 -0
  24. package/docs/ivms/types/type-aliases/LegalPersonNameTypeCode.md +16 -0
  25. package/docs/ivms/types/type-aliases/LocalLegalPersonNameID.md +30 -0
  26. package/docs/ivms/types/type-aliases/LocalNaturalPersonNameID.md +36 -0
  27. package/docs/ivms/types/type-aliases/NationalIdentification.md +42 -0
  28. package/docs/ivms/types/type-aliases/NationalIdentifierTypeCode.md +16 -0
  29. package/docs/ivms/types/type-aliases/NaturalPerson.md +54 -0
  30. package/docs/ivms/types/type-aliases/NaturalPersonName.md +36 -0
  31. package/docs/ivms/types/type-aliases/NaturalPersonNameID.md +36 -0
  32. package/docs/ivms/types/type-aliases/NaturalPersonNameTypeCode.md +16 -0
  33. package/docs/ivms/types/type-aliases/OriginatingVASP.md +24 -0
  34. package/docs/ivms/types/type-aliases/Originator.md +30 -0
  35. package/docs/ivms/types/type-aliases/Person.md +30 -0
  36. package/docs/ivms/types/type-aliases/TransferPath.md +24 -0
  37. package/docs/ivms/types/type-aliases/TransliterationMethodCode.md +16 -0
  38. package/docs/modules.md +11 -0
  39. package/docs/notabene/README.md +368 -0
  40. package/docs/notabene/classes/EmbeddedComponent.md +347 -0
  41. package/docs/notabene/classes/default.md +221 -0
  42. package/docs/notabene/functions/decodeFragmentToObject.md +27 -0
  43. package/docs/notabene/interfaces/NotabeneConfig.md +69 -0
  44. package/docs/notabene/type-aliases/MessageCallback.md +31 -0
  45. package/docs/types/README.md +154 -0
  46. package/docs/types/enumerations/AgentType.md +29 -0
  47. package/docs/types/enumerations/CMType.md +90 -0
  48. package/docs/types/enumerations/HMType.md +35 -0
  49. package/docs/types/enumerations/PersonType.md +55 -0
  50. package/docs/types/enumerations/ProofStatus.md +57 -0
  51. package/docs/types/enumerations/ProofTypes.md +148 -0
  52. package/docs/types/enumerations/Status.md +59 -0
  53. package/docs/types/enumerations/ValidationSections.md +59 -0
  54. package/docs/types/interfaces/Agent.md +74 -0
  55. package/docs/types/interfaces/CallbackOptions.md +29 -0
  56. package/docs/types/interfaces/ComponentRequest.md +50 -0
  57. package/docs/types/interfaces/ComponentResponse.md +71 -0
  58. package/docs/types/interfaces/ConnectionRecord.md +111 -0
  59. package/docs/types/interfaces/ConnectionRequest.md +51 -0
  60. package/docs/types/interfaces/Counterparty.md +135 -0
  61. package/docs/types/interfaces/DeclarationProof.md +89 -0
  62. package/docs/types/interfaces/Deposit.md +147 -0
  63. package/docs/types/interfaces/DepositRequest.md +111 -0
  64. package/docs/types/interfaces/DepositRequestOptions.md +19 -0
  65. package/docs/types/interfaces/LegalPerson.md +202 -0
  66. package/docs/types/interfaces/MicroTransferProof.md +119 -0
  67. package/docs/types/interfaces/NaturalPerson.md +201 -0
  68. package/docs/types/interfaces/OwnershipProof.md +77 -0
  69. package/docs/types/interfaces/ScreenshotProof.md +79 -0
  70. package/docs/types/interfaces/SignatureProof.md +115 -0
  71. package/docs/types/interfaces/ThresholdOptions.md +47 -0
  72. package/docs/types/interfaces/Transaction.md +136 -0
  73. package/docs/types/interfaces/TransactionOptions.md +93 -0
  74. package/docs/types/interfaces/TransactionResponse.md +130 -0
  75. package/docs/types/interfaces/VASP.md +127 -0
  76. package/docs/types/interfaces/Wallet.md +117 -0
  77. package/docs/types/interfaces/Withdrawal.md +147 -0
  78. package/docs/types/type-aliases/BlockchainAddress.md +36 -0
  79. package/docs/types/type-aliases/CAIP10.md +39 -0
  80. package/docs/types/type-aliases/CAIP19.md +40 -0
  81. package/docs/types/type-aliases/CAIP2.md +39 -0
  82. package/docs/types/type-aliases/CAIP220.md +15 -0
  83. package/docs/types/type-aliases/Cancel.md +23 -0
  84. package/docs/types/type-aliases/Completed.md +35 -0
  85. package/docs/types/type-aliases/ComponentMessage.md +41 -0
  86. package/docs/types/type-aliases/ConnectionOptions.md +15 -0
  87. package/docs/types/type-aliases/CryptoCredential.md +15 -0
  88. package/docs/types/type-aliases/DID.md +15 -0
  89. package/docs/types/type-aliases/DTI.md +38 -0
  90. package/docs/types/type-aliases/Destination.md +15 -0
  91. package/docs/types/type-aliases/Error.md +29 -0
  92. package/docs/types/type-aliases/FieldOptions.md +15 -0
  93. package/docs/types/type-aliases/FieldTypes.md +25 -0
  94. package/docs/types/type-aliases/HostMessage.md +37 -0
  95. package/docs/types/type-aliases/ISOCurrency.md +15 -0
  96. package/docs/types/type-aliases/InvalidValue.md +45 -0
  97. package/docs/types/type-aliases/LEI.md +15 -0
  98. package/docs/types/type-aliases/LegalPersonFieldName.md +13 -0
  99. package/docs/types/type-aliases/LegalPersonFields.md +15 -0
  100. package/docs/types/type-aliases/NaturalPersonFieldName.md +15 -0
  101. package/docs/types/type-aliases/NaturalPersonFields.md +15 -0
  102. package/docs/types/type-aliases/NotabeneAsset.md +36 -0
  103. package/docs/types/type-aliases/Ready.md +21 -0
  104. package/docs/types/type-aliases/ResizeRequest.md +27 -0
  105. package/docs/types/type-aliases/Source.md +15 -0
  106. package/docs/types/type-aliases/Theme.md +33 -0
  107. package/docs/types/type-aliases/TransactionAsset.md +15 -0
  108. package/docs/types/type-aliases/TravelAddress.md +37 -0
  109. package/docs/types/type-aliases/URI.md +15 -0
  110. package/docs/types/type-aliases/UUID.md +27 -0
  111. package/docs/types/type-aliases/UpdateValue.md +54 -0
  112. package/docs/types/type-aliases/V1Asset.md +36 -0
  113. package/docs/types/type-aliases/V1Transaction.md +49 -0
  114. package/docs/types/type-aliases/VASPOptions.md +25 -0
  115. package/docs/types/type-aliases/ValidationError.md +25 -0
  116. package/package.json +3 -2
@@ -0,0 +1,115 @@
1
+ [**@notabene/javascript-sdk**](../../README.md) • **Docs**
2
+
3
+ ***
4
+
5
+ [@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / SignatureProof
6
+
7
+ # Interface: SignatureProof
8
+
9
+ Interface for signature-based ownership proofs that use cryptographic message signing
10
+
11
+ ## Remarks
12
+
13
+ Extends the base OwnershipProface to add signature-specific properties:
14
+ - Supports multiple signature standards like EIP-191, EIP-712, BIP-137, SIWE
15
+ - Includes the cryptographic proof signature string
16
+ - Contains an attestation message that was signed
17
+ - Records which wallet provider was used for signing
18
+
19
+ The signature proves ownership by demonstrating control of the private keys
20
+ associated with the claimed address.
21
+
22
+ ## See
23
+
24
+ - [ProofTypes](../enumerations/ProofTypes.md) For supported signature types
25
+ - [OwnershipProof](OwnershipProof.md) For base proof properties
26
+
27
+ ## Extends
28
+
29
+ - [`OwnershipProof`](OwnershipProof.md)
30
+
31
+ ## Properties
32
+
33
+ ### address
34
+
35
+ > **address**: \`$\{string\}:$\{string\}:$\{string\}\`
36
+
37
+ #### Inherited from
38
+
39
+ [`OwnershipProof`](OwnershipProof.md).[`address`](OwnershipProof.md#address)
40
+
41
+ #### Defined in
42
+
43
+ [types.ts:1019](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1019)
44
+
45
+ ***
46
+
47
+ ### attestation
48
+
49
+ > **attestation**: `string`
50
+
51
+ #### Defined in
52
+
53
+ [types.ts:1051](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1051)
54
+
55
+ ***
56
+
57
+ ### did
58
+
59
+ > **did**: \`did:$\{string\}:$\{string\}\`
60
+
61
+ #### Inherited from
62
+
63
+ [`OwnershipProof`](OwnershipProof.md).[`did`](OwnershipProof.md#did)
64
+
65
+ #### Defined in
66
+
67
+ [types.ts:1018](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1018)
68
+
69
+ ***
70
+
71
+ ### proof
72
+
73
+ > **proof**: `string`
74
+
75
+ #### Defined in
76
+
77
+ [types.ts:1050](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1050)
78
+
79
+ ***
80
+
81
+ ### status
82
+
83
+ > **status**: [`ProofStatus`](../enumerations/ProofStatus.md)
84
+
85
+ #### Inherited from
86
+
87
+ [`OwnershipProof`](OwnershipProof.md).[`status`](OwnershipProof.md#status)
88
+
89
+ #### Defined in
90
+
91
+ [types.ts:1017](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1017)
92
+
93
+ ***
94
+
95
+ ### type
96
+
97
+ > **type**: [`SIWE`](../enumerations/ProofTypes.md#siwe) \| [`SIWX`](../enumerations/ProofTypes.md#siwx) \| [`EIP191`](../enumerations/ProofTypes.md#eip191) \| [`EIP712`](../enumerations/ProofTypes.md#eip712) \| [`EIP1271`](../enumerations/ProofTypes.md#eip1271) \| [`BIP137`](../enumerations/ProofTypes.md#bip137) \| [`BIP137_XPUB`](../enumerations/ProofTypes.md#bip137_xpub) \| [`ED25519`](../enumerations/ProofTypes.md#ed25519)
98
+
99
+ #### Overrides
100
+
101
+ [`OwnershipProof`](OwnershipProof.md).[`type`](OwnershipProof.md#type)
102
+
103
+ #### Defined in
104
+
105
+ [types.ts:1040](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1040)
106
+
107
+ ***
108
+
109
+ ### wallet\_provider
110
+
111
+ > **wallet\_provider**: `string`
112
+
113
+ #### Defined in
114
+
115
+ [types.ts:1052](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1052)
@@ -0,0 +1,47 @@
1
+ [**@notabene/javascript-sdk**](../../README.md) • **Docs**
2
+
3
+ ***
4
+
5
+ [@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / ThresholdOptions
6
+
7
+ # Interface: ThresholdOptions
8
+
9
+ Specify what to do under the provided threshold.
10
+
11
+ Eg. to allow self-declaration for all transactions under 1000 EUR
12
+
13
+ Note to support threshold you MUST include the Asset Price in the Transaction
14
+
15
+ ## See
16
+
17
+ [Transaction](Transaction.md) Transaction object
18
+
19
+ ## Properties
20
+
21
+ ### currency
22
+
23
+ > **currency**: `string`
24
+
25
+ #### Defined in
26
+
27
+ [types.ts:737](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L737)
28
+
29
+ ***
30
+
31
+ ### proofTypes?
32
+
33
+ > `optional` **proofTypes**: [`ProofTypes`](../enumerations/ProofTypes.md)[]
34
+
35
+ #### Defined in
36
+
37
+ [types.ts:738](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L738)
38
+
39
+ ***
40
+
41
+ ### threshold
42
+
43
+ > **threshold**: `number`
44
+
45
+ #### Defined in
46
+
47
+ [types.ts:736](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L736)
@@ -0,0 +1,136 @@
1
+ [**@notabene/javascript-sdk**](../../README.md) • **Docs**
2
+
3
+ ***
4
+
5
+ [@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / Transaction
6
+
7
+ # Interface: Transaction
8
+
9
+ Core transaction interface representing a crypto asset transfer between parties
10
+
11
+ ## Remarks
12
+
13
+ Extends ComponentRequest to add transaction-specific properties:
14
+ - agent: The entity facilitating/executing the transaction
15
+ - counterparty: The other party involved in the transaction
16
+ - asset: The cryptocurrency or token being transferred
17
+ - amountDecimal: The amount to transfer in decimal format
18
+ - proof: Optional ownership proof verifying control of involved addresses
19
+ - assetPrice: Optional price information in a fiat currency
20
+
21
+ This interface serves as the base for specific transaction types like:
22
+ - Withdrawals for sending assets out
23
+ - Deposits for receiving assets
24
+ - Deposit requests for requesting asset transfers
25
+
26
+ ## See
27
+
28
+ - [Withdrawal](Withdrawal.md) For withdrawal-specific transaction properties
29
+ - [Deposit](Deposit.md) For deposit-specific transaction properties
30
+ - [Agent](Agent.md) For agent details
31
+ - [Counterparty](Counterparty.md) For counterparty information
32
+
33
+ ## Extends
34
+
35
+ - [`ComponentRequest`](ComponentRequest.md)
36
+
37
+ ## Extended by
38
+
39
+ - [`Withdrawal`](Withdrawal.md)
40
+ - [`Deposit`](Deposit.md)
41
+
42
+ ## Properties
43
+
44
+ ### agent
45
+
46
+ > **agent**: [`Agent`](Agent.md)
47
+
48
+ #### Defined in
49
+
50
+ [types.ts:522](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L522)
51
+
52
+ ***
53
+
54
+ ### amountDecimal
55
+
56
+ > **amountDecimal**: `number`
57
+
58
+ #### Defined in
59
+
60
+ [types.ts:525](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L525)
61
+
62
+ ***
63
+
64
+ ### asset
65
+
66
+ > **asset**: `string`
67
+
68
+ #### Defined in
69
+
70
+ [types.ts:524](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L524)
71
+
72
+ ***
73
+
74
+ ### assetPrice?
75
+
76
+ > `optional` **assetPrice**: `object`
77
+
78
+ #### currency
79
+
80
+ > **currency**: `string`
81
+
82
+ #### price
83
+
84
+ > **price**: `number`
85
+
86
+ #### Defined in
87
+
88
+ [types.ts:527](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L527)
89
+
90
+ ***
91
+
92
+ ### counterparty
93
+
94
+ > **counterparty**: [`Counterparty`](Counterparty.md)
95
+
96
+ #### Defined in
97
+
98
+ [types.ts:523](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L523)
99
+
100
+ ***
101
+
102
+ ### customer?
103
+
104
+ > `optional` **customer**: [`Counterparty`](Counterparty.md)
105
+
106
+ #### Inherited from
107
+
108
+ [`ComponentRequest`](ComponentRequest.md).[`customer`](ComponentRequest.md#customer)
109
+
110
+ #### Defined in
111
+
112
+ [types.ts:495](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L495)
113
+
114
+ ***
115
+
116
+ ### proof?
117
+
118
+ > `optional` **proof**: [`OwnershipProof`](OwnershipProof.md)
119
+
120
+ #### Defined in
121
+
122
+ [types.ts:526](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L526)
123
+
124
+ ***
125
+
126
+ ### requestId?
127
+
128
+ > `optional` **requestId**: `string`
129
+
130
+ #### Inherited from
131
+
132
+ [`ComponentRequest`](ComponentRequest.md).[`requestId`](ComponentRequest.md#requestid)
133
+
134
+ #### Defined in
135
+
136
+ [types.ts:494](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L494)
@@ -0,0 +1,93 @@
1
+ [**@notabene/javascript-sdk**](../../README.md) • **Docs**
2
+
3
+ ***
4
+
5
+ [@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / TransactionOptions
6
+
7
+ # Interface: TransactionOptions
8
+
9
+ Configuration options for Transaction components
10
+
11
+ ## Properties
12
+
13
+ ### allowedAgentTypes?
14
+
15
+ > `optional` **allowedAgentTypes**: [`AgentType`](../enumerations/AgentType.md)[]
16
+
17
+ #### Defined in
18
+
19
+ [types.ts:754](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L754)
20
+
21
+ ***
22
+
23
+ ### allowedCounterpartyTypes?
24
+
25
+ > `optional` **allowedCounterpartyTypes**: [`PersonType`](../enumerations/PersonType.md)[]
26
+
27
+ #### Defined in
28
+
29
+ [types.ts:755](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L755)
30
+
31
+ ***
32
+
33
+ ### fields?
34
+
35
+ > `optional` **fields**: [`FieldTypes`](../type-aliases/FieldTypes.md)
36
+
37
+ #### Defined in
38
+
39
+ [types.ts:756](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L756)
40
+
41
+ ***
42
+
43
+ ### hide?
44
+
45
+ > `optional` **hide**: [`ValidationSections`](../enumerations/ValidationSections.md)[]
46
+
47
+ #### Defined in
48
+
49
+ [types.ts:758](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L758)
50
+
51
+ ***
52
+
53
+ ### proofs?
54
+
55
+ > `optional` **proofs**: `object`
56
+
57
+ #### deminimis?
58
+
59
+ > `optional` **deminimis**: [`ThresholdOptions`](ThresholdOptions.md)
60
+
61
+ #### fallbacks?
62
+
63
+ > `optional` **fallbacks**: [`ProofTypes`](../enumerations/ProofTypes.md)[]
64
+
65
+ #### microTransfer?
66
+
67
+ > `optional` **microTransfer**: `object`
68
+
69
+ #### microTransfer.amountSubunits
70
+
71
+ > **amountSubunits**: `string`
72
+
73
+ #### microTransfer.destination
74
+
75
+ > **destination**: `string`
76
+
77
+ #### microTransfer.timeout?
78
+
79
+ > `optional` **timeout**: `number`
80
+
81
+ #### Defined in
82
+
83
+ [types.ts:745](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L745)
84
+
85
+ ***
86
+
87
+ ### vasps?
88
+
89
+ > `optional` **vasps**: [`VASPOptions`](../type-aliases/VASPOptions.md)
90
+
91
+ #### Defined in
92
+
93
+ [types.ts:757](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L757)
@@ -0,0 +1,130 @@
1
+ [**@notabene/javascript-sdk**](../../README.md) • **Docs**
2
+
3
+ ***
4
+
5
+ [@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / TransactionResponse
6
+
7
+ # Interface: TransactionResponse\<V\>
8
+
9
+ Response interface for transaction-related operations
10
+
11
+ ## Remarks
12
+
13
+ Extends ComponentResponse to add transaction-specific response data:
14
+ - value: The resulting transaction value of generic type V
15
+ - ivms101: IVMS 101 travel rule data for the transaction
16
+ - proof: Optional ownership proof details if required
17
+ - txCreate: Optional V1 transaction payload for legacy API compatibility
18
+
19
+ ## See
20
+
21
+ - [ComponentResponse](ComponentResponse.md) For base response properties
22
+ - [IVMS101](../../ivms/types/type-aliases/IVMS101.md) For travel rule data structure
23
+ - [OwnershipProof](OwnershipProof.md) For proof details
24
+ - [V1Transaction](../type-aliases/V1Transaction.md) For legacy transaction format
25
+
26
+ ## Extends
27
+
28
+ - [`ComponentResponse`](ComponentResponse.md)
29
+
30
+ ## Type Parameters
31
+
32
+ • **V**
33
+
34
+ Type of the transaction value being returned
35
+
36
+ ## Properties
37
+
38
+ ### errors
39
+
40
+ > **errors**: [`ValidationError`](../type-aliases/ValidationError.md)[]
41
+
42
+ #### Inherited from
43
+
44
+ [`ComponentResponse`](ComponentResponse.md).[`errors`](ComponentResponse.md#errors)
45
+
46
+ #### Defined in
47
+
48
+ [types.ts:645](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L645)
49
+
50
+ ***
51
+
52
+ ### ivms101
53
+
54
+ > **ivms101**: [`IVMS101`](../../ivms/types/type-aliases/IVMS101.md)
55
+
56
+ #### Defined in
57
+
58
+ [types.ts:668](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L668)
59
+
60
+ ***
61
+
62
+ ### proof?
63
+
64
+ > `optional` **proof**: [`OwnershipProof`](OwnershipProof.md)
65
+
66
+ #### Defined in
67
+
68
+ [types.ts:669](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L669)
69
+
70
+ ***
71
+
72
+ ### requestID
73
+
74
+ > **requestID**: `string`
75
+
76
+ #### Inherited from
77
+
78
+ [`ComponentResponse`](ComponentResponse.md).[`requestID`](ComponentResponse.md#requestid)
79
+
80
+ #### Defined in
81
+
82
+ [types.ts:642](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L642)
83
+
84
+ ***
85
+
86
+ ### status
87
+
88
+ > **status**: [`Status`](../enumerations/Status.md)
89
+
90
+ #### Inherited from
91
+
92
+ [`ComponentResponse`](ComponentResponse.md).[`status`](ComponentResponse.md#status)
93
+
94
+ #### Defined in
95
+
96
+ [types.ts:644](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L644)
97
+
98
+ ***
99
+
100
+ ### txCreate?
101
+
102
+ > `optional` **txCreate**: [`V1Transaction`](../type-aliases/V1Transaction.md)
103
+
104
+ #### Defined in
105
+
106
+ [types.ts:670](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L670)
107
+
108
+ ***
109
+
110
+ ### valid
111
+
112
+ > **valid**: `boolean`
113
+
114
+ #### Inherited from
115
+
116
+ [`ComponentResponse`](ComponentResponse.md).[`valid`](ComponentResponse.md#valid)
117
+
118
+ #### Defined in
119
+
120
+ [types.ts:643](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L643)
121
+
122
+ ***
123
+
124
+ ### value
125
+
126
+ > **value**: `V`
127
+
128
+ #### Defined in
129
+
130
+ [types.ts:667](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L667)
@@ -0,0 +1,127 @@
1
+ [**@notabene/javascript-sdk**](../../README.md) • **Docs**
2
+
3
+ ***
4
+
5
+ [@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / VASP
6
+
7
+ # Interface: VASP
8
+
9
+ A VASP agent acting on behalf of the counterparty
10
+
11
+ ## Extends
12
+
13
+ - [`Agent`](Agent.md)
14
+
15
+ ## Properties
16
+
17
+ ### countryOfRegistration?
18
+
19
+ > `optional` **countryOfRegistration**: `string`
20
+
21
+ #### Defined in
22
+
23
+ [types.ts:301](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L301)
24
+
25
+ ***
26
+
27
+ ### did
28
+
29
+ > **did**: \`did:$\{string\}:$\{string\}\`
30
+
31
+ #### Inherited from
32
+
33
+ [`Agent`](Agent.md).[`did`](Agent.md#did)
34
+
35
+ #### Defined in
36
+
37
+ [types.ts:258](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L258)
38
+
39
+ ***
40
+
41
+ ### lei?
42
+
43
+ > `optional` **lei**: `string`
44
+
45
+ #### Defined in
46
+
47
+ [types.ts:298](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L298)
48
+
49
+ ***
50
+
51
+ ### logo?
52
+
53
+ > `optional` **logo**: `string`
54
+
55
+ #### Overrides
56
+
57
+ [`Agent`](Agent.md).[`logo`](Agent.md#logo)
58
+
59
+ #### Defined in
60
+
61
+ [types.ts:299](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L299)
62
+
63
+ ***
64
+
65
+ ### name?
66
+
67
+ > `optional` **name**: `string`
68
+
69
+ #### Inherited from
70
+
71
+ [`Agent`](Agent.md).[`name`](Agent.md#name)
72
+
73
+ #### Defined in
74
+
75
+ [types.ts:262](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L262)
76
+
77
+ ***
78
+
79
+ ### type
80
+
81
+ > **type**: [`AgentType`](../enumerations/AgentType.md)
82
+
83
+ #### Inherited from
84
+
85
+ [`Agent`](Agent.md).[`type`](Agent.md#type)
86
+
87
+ #### Defined in
88
+
89
+ [types.ts:259](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L259)
90
+
91
+ ***
92
+
93
+ ### url?
94
+
95
+ > `optional` **url**: `string`
96
+
97
+ #### Inherited from
98
+
99
+ [`Agent`](Agent.md).[`url`](Agent.md#url)
100
+
101
+ #### Defined in
102
+
103
+ [types.ts:261](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L261)
104
+
105
+ ***
106
+
107
+ ### verified?
108
+
109
+ > `optional` **verified**: `boolean`
110
+
111
+ #### Inherited from
112
+
113
+ [`Agent`](Agent.md).[`verified`](Agent.md#verified)
114
+
115
+ #### Defined in
116
+
117
+ [types.ts:263](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L263)
118
+
119
+ ***
120
+
121
+ ### website?
122
+
123
+ > `optional` **website**: `string`
124
+
125
+ #### Defined in
126
+
127
+ [types.ts:300](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L300)