@notabene/javascript-sdk 2.0.1 → 2.0.3

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 (120) 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 +16 -14
  117. package/src/components/EmbeddedComponent.ts +1 -0
  118. package/src/notabene.ts +21 -21
  119. package/src/types.ts +1 -1
  120. package/dist/js/notabene.js +0 -1
@@ -0,0 +1,221 @@
1
+ [**@notabene/javascript-sdk**](../../README.md) • **Docs**
2
+
3
+ ***
4
+
5
+ [@notabene/javascript-sdk](../../modules.md) / [notabene](../README.md) / default
6
+
7
+ # Class: default
8
+
9
+ Primary constructor for Notabene UX elements
10
+
11
+ This class provides methods to create and manage various Notabene components
12
+ such as withdrawal assist, deposit assist, connect, and deposit request.
13
+ It also handles URL generation and fragment decoding for these components.
14
+
15
+ ## Constructors
16
+
17
+ ### new default()
18
+
19
+ > **new default**(`config`): [`default`](default.md)
20
+
21
+ Creates a new instance of the Notabene SDK
22
+
23
+ #### Parameters
24
+
25
+ • **config**: [`NotabeneConfig`](../interfaces/NotabeneConfig.md)
26
+
27
+ Configuration options for the Notabene SDK
28
+
29
+ #### Returns
30
+
31
+ [`default`](default.md)
32
+
33
+ #### Defined in
34
+
35
+ [notabene.ts:185](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/notabene.ts#L185)
36
+
37
+ ## Methods
38
+
39
+ ### componentUrl()
40
+
41
+ > **componentUrl**\<`V`, `O`\>(`path`, `value`, `configuration`?, `callbacks`?): `string`
42
+
43
+ **`Internal`**
44
+
45
+ Generates a URL for a Notabene component
46
+
47
+ #### Type Parameters
48
+
49
+ • **V**
50
+
51
+ • **O**
52
+
53
+ #### Parameters
54
+
55
+ • **path**: `string`
56
+
57
+ The path of the component
58
+
59
+ • **value**: `V`
60
+
61
+ Transaction data
62
+
63
+ • **configuration?**: `O`
64
+
65
+ Optional transaction configuration
66
+
67
+ • **callbacks?**: [`CallbackOptions`](../../types/interfaces/CallbackOptions.md)
68
+
69
+ Optional callback configuration
70
+
71
+ #### Returns
72
+
73
+ `string`
74
+
75
+ component URL
76
+
77
+ #### Defined in
78
+
79
+ [notabene.ts:203](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/notabene.ts#L203)
80
+
81
+ ***
82
+
83
+ ### createComponent()
84
+
85
+ > **createComponent**\<`V`, `O`\>(`path`, `value`, `options`?, `callbacks`?): [`EmbeddedComponent`](EmbeddedComponent.md)\<`V`, `O`\>
86
+
87
+ **`Internal`**
88
+
89
+ Creates a new embedded component
90
+
91
+ #### Type Parameters
92
+
93
+ • **V**
94
+
95
+ • **O**
96
+
97
+ #### Parameters
98
+
99
+ • **path**: `string`
100
+
101
+ The path of the component
102
+
103
+ • **value**: `Partial`\<`V`\>
104
+
105
+ Transaction data
106
+
107
+ • **options?**: `O`
108
+
109
+ Optional transaction options
110
+
111
+ • **callbacks?**: [`CallbackOptions`](../../types/interfaces/CallbackOptions.md)
112
+
113
+ Optional callback configuration
114
+
115
+ #### Returns
116
+
117
+ [`EmbeddedComponent`](EmbeddedComponent.md)\<`V`, `O`\>
118
+
119
+ A new EmbeddedComponent instance
120
+
121
+ #### Defined in
122
+
123
+ [notabene.ts:245](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/notabene.ts#L245)
124
+
125
+ ***
126
+
127
+ ### createConnectWallet()
128
+
129
+ > **createConnectWallet**(`value`, `options`?, `callbacks`?): [`EmbeddedComponent`](EmbeddedComponent.md)\<[`ConnectionRequest`](../../types/interfaces/ConnectionRequest.md), [`ConnectionOptions`](../../types/type-aliases/ConnectionOptions.md)\>
130
+
131
+ **`Alpha`**
132
+
133
+ Creates a connect component
134
+
135
+ #### Parameters
136
+
137
+ • **value**: [`ConnectionRequest`](../../types/interfaces/ConnectionRequest.md)
138
+
139
+ Connection request data
140
+
141
+ • **options?**: [`ConnectionOptions`](../../types/type-aliases/ConnectionOptions.md)
142
+
143
+ Optional transaction options
144
+
145
+ • **callbacks?**: [`CallbackOptions`](../../types/interfaces/CallbackOptions.md)
146
+
147
+ Optional callback configuration
148
+
149
+ #### Returns
150
+
151
+ [`EmbeddedComponent`](EmbeddedComponent.md)\<[`ConnectionRequest`](../../types/interfaces/ConnectionRequest.md), [`ConnectionOptions`](../../types/type-aliases/ConnectionOptions.md)\>
152
+
153
+ A new EmbeddedComponent instance for connection
154
+
155
+ #### Defined in
156
+
157
+ [notabene.ts:288](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/notabene.ts#L288)
158
+
159
+ ***
160
+
161
+ ### createDepositRequest()
162
+
163
+ > **createDepositRequest**(`value`, `options`?, `callbacks`?): [`EmbeddedComponent`](EmbeddedComponent.md)\<[`DepositRequest`](../../types/interfaces/DepositRequest.md), [`DepositRequestOptions`](../../types/interfaces/DepositRequestOptions.md)\>
164
+
165
+ Creates a deposit request component
166
+
167
+ #### Parameters
168
+
169
+ • **value**: [`DepositRequest`](../../types/interfaces/DepositRequest.md)
170
+
171
+ Deposit request data
172
+
173
+ • **options?**: [`DepositRequestOptions`](../../types/interfaces/DepositRequestOptions.md)
174
+
175
+ Optional transaction options
176
+
177
+ • **callbacks?**: [`CallbackOptions`](../../types/interfaces/CallbackOptions.md)
178
+
179
+ Optional callback configuration
180
+
181
+ #### Returns
182
+
183
+ [`EmbeddedComponent`](EmbeddedComponent.md)\<[`DepositRequest`](../../types/interfaces/DepositRequest.md), [`DepositRequestOptions`](../../types/interfaces/DepositRequestOptions.md)\>
184
+
185
+ A new EmbeddedComponent instance for deposit requests
186
+
187
+ #### Defined in
188
+
189
+ [notabene.ts:310](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/notabene.ts#L310)
190
+
191
+ ***
192
+
193
+ ### createWithdrawalAssist()
194
+
195
+ > **createWithdrawalAssist**(`value`, `options`?, `callbacks`?): [`EmbeddedComponent`](EmbeddedComponent.md)\<[`Withdrawal`](../../types/interfaces/Withdrawal.md), [`TransactionOptions`](../../types/interfaces/TransactionOptions.md)\>
196
+
197
+ Creates a withdrawal assist component
198
+
199
+ #### Parameters
200
+
201
+ • **value**: `Partial`\<[`Withdrawal`](../../types/interfaces/Withdrawal.md)\>
202
+
203
+ Withdrawal transaction data
204
+
205
+ • **options?**: [`TransactionOptions`](../../types/interfaces/TransactionOptions.md)
206
+
207
+ Optional transaction options
208
+
209
+ • **callbacks?**: [`CallbackOptions`](../../types/interfaces/CallbackOptions.md)
210
+
211
+ Optional callback configuration
212
+
213
+ #### Returns
214
+
215
+ [`EmbeddedComponent`](EmbeddedComponent.md)\<[`Withdrawal`](../../types/interfaces/Withdrawal.md), [`TransactionOptions`](../../types/interfaces/TransactionOptions.md)\>
216
+
217
+ A new EmbeddedComponent instance for withdrawal assistance
218
+
219
+ #### Defined in
220
+
221
+ [notabene.ts:266](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/notabene.ts#L266)
@@ -0,0 +1,27 @@
1
+ [**@notabene/javascript-sdk**](../../README.md) • **Docs**
2
+
3
+ ***
4
+
5
+ [@notabene/javascript-sdk](../../modules.md) / [notabene](../README.md) / decodeFragmentToObject
6
+
7
+ # Function: decodeFragmentToObject()
8
+
9
+ > **decodeFragmentToObject**(`fragment`): `Record`\<`string`, `string`\>
10
+
11
+ Decodes a URL fragment into an object
12
+
13
+ ## Parameters
14
+
15
+ • **fragment**: `string`
16
+
17
+ The URL fragment to decode
18
+
19
+ ## Returns
20
+
21
+ `Record`\<`string`, `string`\>
22
+
23
+ An object containing the decoded key-value pairs
24
+
25
+ ## Defined in
26
+
27
+ [utils/urls.ts:22](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/utils/urls.ts#L22)
@@ -0,0 +1,69 @@
1
+ [**@notabene/javascript-sdk**](../../README.md) • **Docs**
2
+
3
+ ***
4
+
5
+ [@notabene/javascript-sdk](../../modules.md) / [notabene](../README.md) / NotabeneConfig
6
+
7
+ # Interface: NotabeneConfig
8
+
9
+ Configuration for the Notabene SDK
10
+
11
+ ## Properties
12
+
13
+ ### authToken?
14
+
15
+ > `optional` **authToken**: `string`
16
+
17
+ The authentication token for the Notabene API
18
+
19
+ #### Defined in
20
+
21
+ [notabene.ts:147](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/notabene.ts#L147)
22
+
23
+ ***
24
+
25
+ ### locale?
26
+
27
+ > `optional` **locale**: `string`
28
+
29
+ The locale to use for the UX components
30
+
31
+ #### Defined in
32
+
33
+ [notabene.ts:162](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/notabene.ts#L162)
34
+
35
+ ***
36
+
37
+ ### nodeUrl?
38
+
39
+ > `optional` **nodeUrl**: `string`
40
+
41
+ The URL of the Notabene API node
42
+
43
+ #### Defined in
44
+
45
+ [notabene.ts:142](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/notabene.ts#L142)
46
+
47
+ ***
48
+
49
+ ### theme?
50
+
51
+ > `optional` **theme**: [`Theme`](../../types/type-aliases/Theme.md)
52
+
53
+ Custom theme configuration for the UX components
54
+
55
+ #### Defined in
56
+
57
+ [notabene.ts:157](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/notabene.ts#L157)
58
+
59
+ ***
60
+
61
+ ### uxUrl?
62
+
63
+ > `optional` **uxUrl**: `string`
64
+
65
+ The URL of the Notabene UX components
66
+
67
+ #### Defined in
68
+
69
+ [notabene.ts:152](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/notabene.ts#L152)
@@ -0,0 +1,31 @@
1
+ [**@notabene/javascript-sdk**](../../README.md) • **Docs**
2
+
3
+ ***
4
+
5
+ [@notabene/javascript-sdk](../../modules.md) / [notabene](../README.md) / MessageCallback
6
+
7
+ # Type Alias: MessageCallback()\<T\>
8
+
9
+ > **MessageCallback**\<`T`\>: (`message`) => `void`
10
+
11
+ Callback function for handling component messages.
12
+
13
+ ## Type Parameters
14
+
15
+ • **T**
16
+
17
+ The type of data contained in the component message
18
+
19
+ ## Parameters
20
+
21
+ • **message**: [`ComponentMessage`](../../types/type-aliases/ComponentMessage.md)\<`T`\>
22
+
23
+ The message object containing the component data and type
24
+
25
+ ## Returns
26
+
27
+ `void`
28
+
29
+ ## Defined in
30
+
31
+ [utils/MessageEventManager.ts:11](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/utils/MessageEventManager.ts#L11)
@@ -0,0 +1,154 @@
1
+ [**@notabene/javascript-sdk**](../README.md) • **Docs**
2
+
3
+ ***
4
+
5
+ [@notabene/javascript-sdk](../modules.md) / types
6
+
7
+ # types
8
+
9
+ ## Index
10
+
11
+ ### Enumerations
12
+
13
+ - [AgentType](enumerations/AgentType.md)
14
+ - [CMType](enumerations/CMType.md)
15
+ - [HMType](enumerations/HMType.md)
16
+ - [PersonType](enumerations/PersonType.md)
17
+ - [ProofStatus](enumerations/ProofStatus.md)
18
+ - [ProofTypes](enumerations/ProofTypes.md)
19
+ - [Status](enumerations/Status.md)
20
+ - [ValidationSections](enumerations/ValidationSections.md)
21
+
22
+ ### Interfaces
23
+
24
+ - [Agent](interfaces/Agent.md)
25
+ - [CallbackOptions](interfaces/CallbackOptions.md)
26
+ - [ComponentRequest](interfaces/ComponentRequest.md)
27
+ - [ComponentResponse](interfaces/ComponentResponse.md)
28
+ - [ConnectionRecord](interfaces/ConnectionRecord.md)
29
+ - [ConnectionRequest](interfaces/ConnectionRequest.md)
30
+ - [Counterparty](interfaces/Counterparty.md)
31
+ - [DeclarationProof](interfaces/DeclarationProof.md)
32
+ - [Deposit](interfaces/Deposit.md)
33
+ - [DepositRequest](interfaces/DepositRequest.md)
34
+ - [DepositRequestOptions](interfaces/DepositRequestOptions.md)
35
+ - [LegalPerson](interfaces/LegalPerson.md)
36
+ - [MicroTransferProof](interfaces/MicroTransferProof.md)
37
+ - [NaturalPerson](interfaces/NaturalPerson.md)
38
+ - [OwnershipProof](interfaces/OwnershipProof.md)
39
+ - [ScreenshotProof](interfaces/ScreenshotProof.md)
40
+ - [SignatureProof](interfaces/SignatureProof.md)
41
+ - [ThresholdOptions](interfaces/ThresholdOptions.md)
42
+ - [Transaction](interfaces/Transaction.md)
43
+ - [TransactionOptions](interfaces/TransactionOptions.md)
44
+ - [TransactionResponse](interfaces/TransactionResponse.md)
45
+ - [VASP](interfaces/VASP.md)
46
+ - [Wallet](interfaces/Wallet.md)
47
+ - [Withdrawal](interfaces/Withdrawal.md)
48
+
49
+ ### Type Aliases
50
+
51
+ - [BlockchainAddress](type-aliases/BlockchainAddress.md)
52
+ - [CAIP10](type-aliases/CAIP10.md)
53
+ - [CAIP19](type-aliases/CAIP19.md)
54
+ - [CAIP2](type-aliases/CAIP2.md)
55
+ - [CAIP220](type-aliases/CAIP220.md)
56
+ - [Cancel](type-aliases/Cancel.md)
57
+ - [Completed](type-aliases/Completed.md)
58
+ - [ComponentMessage](type-aliases/ComponentMessage.md)
59
+ - [ConnectionOptions](type-aliases/ConnectionOptions.md)
60
+ - [CryptoCredential](type-aliases/CryptoCredential.md)
61
+ - [Destination](type-aliases/Destination.md)
62
+ - [DID](type-aliases/DID.md)
63
+ - [DTI](type-aliases/DTI.md)
64
+ - [Error](type-aliases/Error.md)
65
+ - [FieldOptions](type-aliases/FieldOptions.md)
66
+ - [FieldTypes](type-aliases/FieldTypes.md)
67
+ - [HostMessage](type-aliases/HostMessage.md)
68
+ - [InvalidValue](type-aliases/InvalidValue.md)
69
+ - [ISOCurrency](type-aliases/ISOCurrency.md)
70
+ - [LegalPersonFieldName](type-aliases/LegalPersonFieldName.md)
71
+ - [LegalPersonFields](type-aliases/LegalPersonFields.md)
72
+ - [LEI](type-aliases/LEI.md)
73
+ - [NaturalPersonFieldName](type-aliases/NaturalPersonFieldName.md)
74
+ - [NaturalPersonFields](type-aliases/NaturalPersonFields.md)
75
+ - [NotabeneAsset](type-aliases/NotabeneAsset.md)
76
+ - [Ready](type-aliases/Ready.md)
77
+ - [ResizeRequest](type-aliases/ResizeRequest.md)
78
+ - [Source](type-aliases/Source.md)
79
+ - [Theme](type-aliases/Theme.md)
80
+ - [TransactionAsset](type-aliases/TransactionAsset.md)
81
+ - [TravelAddress](type-aliases/TravelAddress.md)
82
+ - [UpdateValue](type-aliases/UpdateValue.md)
83
+ - [URI](type-aliases/URI.md)
84
+ - [UUID](type-aliases/UUID.md)
85
+ - [V1Asset](type-aliases/V1Asset.md)
86
+ - [V1Transaction](type-aliases/V1Transaction.md)
87
+ - [ValidationError](type-aliases/ValidationError.md)
88
+ - [VASPOptions](type-aliases/VASPOptions.md)
89
+
90
+ ## References
91
+
92
+ ### Address
93
+
94
+ Re-exports [Address](../ivms/types/type-aliases/Address.md)
95
+
96
+ ***
97
+
98
+ ### Beneficiary
99
+
100
+ Re-exports [Beneficiary](../ivms/types/type-aliases/Beneficiary.md)
101
+
102
+ ***
103
+
104
+ ### BeneficiaryVASP
105
+
106
+ Re-exports [BeneficiaryVASP](../ivms/types/type-aliases/BeneficiaryVASP.md)
107
+
108
+ ***
109
+
110
+ ### ISOCountryCode
111
+
112
+ Re-exports [ISOCountryCode](../ivms/types/type-aliases/ISOCountryCode.md)
113
+
114
+ ***
115
+
116
+ ### ISODate
117
+
118
+ Re-exports [ISODate](../ivms/types/type-aliases/ISODate.md)
119
+
120
+ ***
121
+
122
+ ### IVMS101
123
+
124
+ Re-exports [IVMS101](../ivms/types/type-aliases/IVMS101.md)
125
+
126
+ ***
127
+
128
+ ### NationalIdentification
129
+
130
+ Re-exports [NationalIdentification](../ivms/types/type-aliases/NationalIdentification.md)
131
+
132
+ ***
133
+
134
+ ### OriginatingVASP
135
+
136
+ Re-exports [OriginatingVASP](../ivms/types/type-aliases/OriginatingVASP.md)
137
+
138
+ ***
139
+
140
+ ### Originator
141
+
142
+ Re-exports [Originator](../ivms/types/type-aliases/Originator.md)
143
+
144
+ ***
145
+
146
+ ### PayloadMetadata
147
+
148
+ Re-exports [PayloadMetadata](../ivms/types/interfaces/PayloadMetadata.md)
149
+
150
+ ***
151
+
152
+ ### TransferPath
153
+
154
+ Re-exports [TransferPath](../ivms/types/type-aliases/TransferPath.md)
@@ -0,0 +1,29 @@
1
+ [**@notabene/javascript-sdk**](../../README.md) • **Docs**
2
+
3
+ ***
4
+
5
+ [@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / AgentType
6
+
7
+ # Enumeration: AgentType
8
+
9
+ The type of Agent. Either a wallet or a VASP
10
+
11
+ ## Enumeration Members
12
+
13
+ ### PRIVATE
14
+
15
+ > **PRIVATE**: `"WALLET"`
16
+
17
+ #### Defined in
18
+
19
+ [types.ts:249](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L249)
20
+
21
+ ***
22
+
23
+ ### VASP
24
+
25
+ > **VASP**: `"VASP"`
26
+
27
+ #### Defined in
28
+
29
+ [types.ts:250](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L250)
@@ -0,0 +1,90 @@
1
+ [**@notabene/javascript-sdk**](../../README.md) • **Docs**
2
+
3
+ ***
4
+
5
+ [@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / CMType
6
+
7
+ # Enumeration: CMType
8
+
9
+ Component Message Type enum representing different message types that can be sent
10
+ between the host and component.
11
+
12
+ ## Remarks
13
+
14
+ - COMPLETE: Indicates a completed operation with response data
15
+ - RESIZE: Request to adjust component size/dimensions
16
+ - RESULT: Operation result notification
17
+ - READY: Component is initialized and ready
18
+ - INVALID: Validation failed with errors
19
+ - ERROR: Operation encountered an error
20
+ - CANCEL: Operation was cancelled
21
+
22
+ ## Enumeration Members
23
+
24
+ ### CANCEL
25
+
26
+ > **CANCEL**: `"cancel"`
27
+
28
+ #### Defined in
29
+
30
+ [types.ts:781](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L781)
31
+
32
+ ***
33
+
34
+ ### COMPLETE
35
+
36
+ > **COMPLETE**: `"complete"`
37
+
38
+ #### Defined in
39
+
40
+ [types.ts:775](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L775)
41
+
42
+ ***
43
+
44
+ ### ERROR
45
+
46
+ > **ERROR**: `"error"`
47
+
48
+ #### Defined in
49
+
50
+ [types.ts:780](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L780)
51
+
52
+ ***
53
+
54
+ ### INVALID
55
+
56
+ > **INVALID**: `"invalid"`
57
+
58
+ #### Defined in
59
+
60
+ [types.ts:779](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L779)
61
+
62
+ ***
63
+
64
+ ### READY
65
+
66
+ > **READY**: `"ready"`
67
+
68
+ #### Defined in
69
+
70
+ [types.ts:778](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L778)
71
+
72
+ ***
73
+
74
+ ### RESIZE
75
+
76
+ > **RESIZE**: `"resize"`
77
+
78
+ #### Defined in
79
+
80
+ [types.ts:776](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L776)
81
+
82
+ ***
83
+
84
+ ### RESULT
85
+
86
+ > **RESULT**: `"result"`
87
+
88
+ #### Defined in
89
+
90
+ [types.ts:777](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L777)
@@ -0,0 +1,35 @@
1
+ [**@notabene/javascript-sdk**](../../README.md) • **Docs**
2
+
3
+ ***
4
+
5
+ [@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / HMType
6
+
7
+ # Enumeration: HMType
8
+
9
+ Host Message Type enum representing different message types that can be sent
10
+ from the host application.
11
+
12
+ ## Remarks
13
+
14
+ - UPDATE: Message to update component value/state
15
+ - REQUEST_RESPONSE: Message requesting a response from component
16
+
17
+ ## Enumeration Members
18
+
19
+ ### REQUEST\_RESPONSE
20
+
21
+ > **REQUEST\_RESPONSE**: `"requestResponse"`
22
+
23
+ #### Defined in
24
+
25
+ [types.ts:885](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L885)
26
+
27
+ ***
28
+
29
+ ### UPDATE
30
+
31
+ > **UPDATE**: `"update"`
32
+
33
+ #### Defined in
34
+
35
+ [types.ts:884](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L884)