@notabene/javascript-sdk 2.0.0 → 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.
- package/README.md +64 -58
- package/dist/notabene.cjs +1 -1
- package/dist/notabene.js +1 -1
- package/docs/README.md +656 -0
- package/docs/_media/LICENSE.md +21 -0
- package/docs/_media/TransactionOptions.md +93 -0
- package/docs/_media/locales.ts +48 -0
- package/docs/ivms/types/README.md +46 -0
- package/docs/ivms/types/enumerations/PayloadVersionCode.md +33 -0
- package/docs/ivms/types/interfaces/PayloadMetadata.md +34 -0
- package/docs/ivms/types/type-aliases/Address.md +114 -0
- package/docs/ivms/types/type-aliases/AddressTypeCode.md +16 -0
- package/docs/ivms/types/type-aliases/Beneficiary.md +30 -0
- package/docs/ivms/types/type-aliases/BeneficiaryVASP.md +24 -0
- package/docs/ivms/types/type-aliases/DateAndPlaceOfBirth.md +30 -0
- package/docs/ivms/types/type-aliases/ISOCountryCode.md +22 -0
- package/docs/ivms/types/type-aliases/ISODate.md +23 -0
- package/docs/ivms/types/type-aliases/IVMS101.md +41 -0
- package/docs/ivms/types/type-aliases/IntermediaryVASP.md +30 -0
- package/docs/ivms/types/type-aliases/LegalPerson.md +48 -0
- package/docs/ivms/types/type-aliases/LegalPersonName.md +36 -0
- package/docs/ivms/types/type-aliases/LegalPersonNameID.md +30 -0
- package/docs/ivms/types/type-aliases/LegalPersonNameTypeCode.md +16 -0
- package/docs/ivms/types/type-aliases/LocalLegalPersonNameID.md +30 -0
- package/docs/ivms/types/type-aliases/LocalNaturalPersonNameID.md +36 -0
- package/docs/ivms/types/type-aliases/NationalIdentification.md +42 -0
- package/docs/ivms/types/type-aliases/NationalIdentifierTypeCode.md +16 -0
- package/docs/ivms/types/type-aliases/NaturalPerson.md +54 -0
- package/docs/ivms/types/type-aliases/NaturalPersonName.md +36 -0
- package/docs/ivms/types/type-aliases/NaturalPersonNameID.md +36 -0
- package/docs/ivms/types/type-aliases/NaturalPersonNameTypeCode.md +16 -0
- package/docs/ivms/types/type-aliases/OriginatingVASP.md +24 -0
- package/docs/ivms/types/type-aliases/Originator.md +30 -0
- package/docs/ivms/types/type-aliases/Person.md +30 -0
- package/docs/ivms/types/type-aliases/TransferPath.md +24 -0
- package/docs/ivms/types/type-aliases/TransliterationMethodCode.md +16 -0
- package/docs/modules.md +11 -0
- package/docs/notabene/README.md +368 -0
- package/docs/notabene/classes/EmbeddedComponent.md +347 -0
- package/docs/notabene/classes/default.md +221 -0
- package/docs/notabene/functions/decodeFragmentToObject.md +27 -0
- package/docs/notabene/interfaces/NotabeneConfig.md +69 -0
- package/docs/notabene/type-aliases/MessageCallback.md +31 -0
- package/docs/types/README.md +154 -0
- package/docs/types/enumerations/AgentType.md +29 -0
- package/docs/types/enumerations/CMType.md +90 -0
- package/docs/types/enumerations/HMType.md +35 -0
- package/docs/types/enumerations/PersonType.md +55 -0
- package/docs/types/enumerations/ProofStatus.md +57 -0
- package/docs/types/enumerations/ProofTypes.md +148 -0
- package/docs/types/enumerations/Status.md +59 -0
- package/docs/types/enumerations/ValidationSections.md +59 -0
- package/docs/types/interfaces/Agent.md +74 -0
- package/docs/types/interfaces/CallbackOptions.md +29 -0
- package/docs/types/interfaces/ComponentRequest.md +50 -0
- package/docs/types/interfaces/ComponentResponse.md +71 -0
- package/docs/types/interfaces/ConnectionRecord.md +111 -0
- package/docs/types/interfaces/ConnectionRequest.md +51 -0
- package/docs/types/interfaces/Counterparty.md +135 -0
- package/docs/types/interfaces/DeclarationProof.md +89 -0
- package/docs/types/interfaces/Deposit.md +147 -0
- package/docs/types/interfaces/DepositRequest.md +111 -0
- package/docs/types/interfaces/DepositRequestOptions.md +19 -0
- package/docs/types/interfaces/LegalPerson.md +202 -0
- package/docs/types/interfaces/MicroTransferProof.md +119 -0
- package/docs/types/interfaces/NaturalPerson.md +201 -0
- package/docs/types/interfaces/OwnershipProof.md +77 -0
- package/docs/types/interfaces/ScreenshotProof.md +79 -0
- package/docs/types/interfaces/SignatureProof.md +115 -0
- package/docs/types/interfaces/ThresholdOptions.md +47 -0
- package/docs/types/interfaces/Transaction.md +136 -0
- package/docs/types/interfaces/TransactionOptions.md +93 -0
- package/docs/types/interfaces/TransactionResponse.md +130 -0
- package/docs/types/interfaces/VASP.md +127 -0
- package/docs/types/interfaces/Wallet.md +117 -0
- package/docs/types/interfaces/Withdrawal.md +147 -0
- package/docs/types/type-aliases/BlockchainAddress.md +36 -0
- package/docs/types/type-aliases/CAIP10.md +39 -0
- package/docs/types/type-aliases/CAIP19.md +40 -0
- package/docs/types/type-aliases/CAIP2.md +39 -0
- package/docs/types/type-aliases/CAIP220.md +15 -0
- package/docs/types/type-aliases/Cancel.md +23 -0
- package/docs/types/type-aliases/Completed.md +35 -0
- package/docs/types/type-aliases/ComponentMessage.md +41 -0
- package/docs/types/type-aliases/ConnectionOptions.md +15 -0
- package/docs/types/type-aliases/CryptoCredential.md +15 -0
- package/docs/types/type-aliases/DID.md +15 -0
- package/docs/types/type-aliases/DTI.md +38 -0
- package/docs/types/type-aliases/Destination.md +15 -0
- package/docs/types/type-aliases/Error.md +29 -0
- package/docs/types/type-aliases/FieldOptions.md +15 -0
- package/docs/types/type-aliases/FieldTypes.md +25 -0
- package/docs/types/type-aliases/HostMessage.md +37 -0
- package/docs/types/type-aliases/ISOCurrency.md +15 -0
- package/docs/types/type-aliases/InvalidValue.md +45 -0
- package/docs/types/type-aliases/LEI.md +15 -0
- package/docs/types/type-aliases/LegalPersonFieldName.md +13 -0
- package/docs/types/type-aliases/LegalPersonFields.md +15 -0
- package/docs/types/type-aliases/NaturalPersonFieldName.md +15 -0
- package/docs/types/type-aliases/NaturalPersonFields.md +15 -0
- package/docs/types/type-aliases/NotabeneAsset.md +36 -0
- package/docs/types/type-aliases/Ready.md +21 -0
- package/docs/types/type-aliases/ResizeRequest.md +27 -0
- package/docs/types/type-aliases/Source.md +15 -0
- package/docs/types/type-aliases/Theme.md +33 -0
- package/docs/types/type-aliases/TransactionAsset.md +15 -0
- package/docs/types/type-aliases/TravelAddress.md +37 -0
- package/docs/types/type-aliases/URI.md +15 -0
- package/docs/types/type-aliases/UUID.md +27 -0
- package/docs/types/type-aliases/UpdateValue.md +54 -0
- package/docs/types/type-aliases/V1Asset.md +36 -0
- package/docs/types/type-aliases/V1Transaction.md +49 -0
- package/docs/types/type-aliases/VASPOptions.md +25 -0
- package/docs/types/type-aliases/ValidationError.md +25 -0
- package/package.json +6 -4
- package/src/components/EmbeddedComponent.ts +2 -2
- package/src/locales.ts +2 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / PersonType
|
|
6
|
+
|
|
7
|
+
# Enumeration: PersonType
|
|
8
|
+
|
|
9
|
+
Enum defining the types of persons/entities in a transaction
|
|
10
|
+
|
|
11
|
+
## Remarks
|
|
12
|
+
|
|
13
|
+
This classification system aligns with FATF travel rule requirements and defines:
|
|
14
|
+
- NATURAL: Individual human persons acting in their own capacity
|
|
15
|
+
- LEGAL: Registered organizations, companies, or other legal entities
|
|
16
|
+
- SELF: When the counterparty is the same as the customer (first party transaction)
|
|
17
|
+
|
|
18
|
+
The type affects what information must be collected and transmitted as part of
|
|
19
|
+
travel rule compliance. Different verification and due diligence requirements
|
|
20
|
+
apply to each type.
|
|
21
|
+
|
|
22
|
+
## See
|
|
23
|
+
|
|
24
|
+
- [NaturalPerson](../interfaces/NaturalPerson.md) For natural person data requirements
|
|
25
|
+
- [LegalPerson](../interfaces/LegalPerson.md) For legal person data requirements
|
|
26
|
+
|
|
27
|
+
## Enumeration Members
|
|
28
|
+
|
|
29
|
+
### LEGAL
|
|
30
|
+
|
|
31
|
+
> **LEGAL**: `"legal"`
|
|
32
|
+
|
|
33
|
+
#### Defined in
|
|
34
|
+
|
|
35
|
+
[types.ts:289](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L289)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### NATURAL
|
|
40
|
+
|
|
41
|
+
> **NATURAL**: `"natural"`
|
|
42
|
+
|
|
43
|
+
#### Defined in
|
|
44
|
+
|
|
45
|
+
[types.ts:288](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L288)
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### SELF
|
|
50
|
+
|
|
51
|
+
> **SELF**: `"self"`
|
|
52
|
+
|
|
53
|
+
#### Defined in
|
|
54
|
+
|
|
55
|
+
[types.ts:290](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L290)
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / ProofStatus
|
|
6
|
+
|
|
7
|
+
# Enumeration: ProofStatus
|
|
8
|
+
|
|
9
|
+
Status of the ownership proof verification process
|
|
10
|
+
|
|
11
|
+
## Remarks
|
|
12
|
+
|
|
13
|
+
Represents the different states that an ownership proof can be in during and after verification:
|
|
14
|
+
- PENDING: Initial state where verification is in progress or awaiting processing
|
|
15
|
+
- FAILED: The proof was rejected due to failing verification checks
|
|
16
|
+
- FLAGGED: The proof requires manual review due to suspicious or unclear verification results
|
|
17
|
+
- VERIFIED: The proof has passed all verification checks successfully
|
|
18
|
+
|
|
19
|
+
## Enumeration Members
|
|
20
|
+
|
|
21
|
+
### FAILED
|
|
22
|
+
|
|
23
|
+
> **FAILED**: `"rejected"`
|
|
24
|
+
|
|
25
|
+
#### Defined in
|
|
26
|
+
|
|
27
|
+
[types.ts:954](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L954)
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### FLAGGED
|
|
32
|
+
|
|
33
|
+
> **FLAGGED**: `"flagged"`
|
|
34
|
+
|
|
35
|
+
#### Defined in
|
|
36
|
+
|
|
37
|
+
[types.ts:955](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L955)
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### PENDING
|
|
42
|
+
|
|
43
|
+
> **PENDING**: `"pending"`
|
|
44
|
+
|
|
45
|
+
#### Defined in
|
|
46
|
+
|
|
47
|
+
[types.ts:953](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L953)
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### VERIFIED
|
|
52
|
+
|
|
53
|
+
> **VERIFIED**: `"verified"`
|
|
54
|
+
|
|
55
|
+
#### Defined in
|
|
56
|
+
|
|
57
|
+
[types.ts:956](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L956)
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / ProofTypes
|
|
6
|
+
|
|
7
|
+
# Enumeration: ProofTypes
|
|
8
|
+
|
|
9
|
+
Types of ownership proofs supported by the system
|
|
10
|
+
|
|
11
|
+
## Remarks
|
|
12
|
+
|
|
13
|
+
Supported proof types:
|
|
14
|
+
- SelfDeclaration: User self-declares ownership without cryptographic proof
|
|
15
|
+
- EIP191: Ethereum personal signature following EIP-191 standard
|
|
16
|
+
- SIWE: Sign-In with Ethereum message signature (EIP-4361)
|
|
17
|
+
- EIP712: Ethereum typed data signature following EIP-712 standard
|
|
18
|
+
- BIP137: Bitcoin message signature following BIP-137
|
|
19
|
+
- XPUB: Extended public key signature for HD wallets
|
|
20
|
+
- MicroTransfer: Proof via small blockchain transaction
|
|
21
|
+
- Screenshot: Image proof of ownership/access
|
|
22
|
+
|
|
23
|
+
## See
|
|
24
|
+
|
|
25
|
+
- [SignatureProof](../interfaces/SignatureProof.md) For signature-based proofs
|
|
26
|
+
- [DeclarationProof](../interfaces/DeclarationProof.md) For self-declaration proofs
|
|
27
|
+
- [MicroTransferProof](../interfaces/MicroTransferProof.md) For transaction-based proofs
|
|
28
|
+
- [ScreenshotProof](../interfaces/ScreenshotProof.md) For screenshot proofs
|
|
29
|
+
|
|
30
|
+
## Enumeration Members
|
|
31
|
+
|
|
32
|
+
### BIP137
|
|
33
|
+
|
|
34
|
+
> **BIP137**: `"bip-137"`
|
|
35
|
+
|
|
36
|
+
#### Defined in
|
|
37
|
+
|
|
38
|
+
[types.ts:986](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L986)
|
|
39
|
+
|
|
40
|
+
***
|
|
41
|
+
|
|
42
|
+
### BIP137\_XPUB
|
|
43
|
+
|
|
44
|
+
> **BIP137\_XPUB**: `"xpub"`
|
|
45
|
+
|
|
46
|
+
#### Defined in
|
|
47
|
+
|
|
48
|
+
[types.ts:987](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L987)
|
|
49
|
+
|
|
50
|
+
***
|
|
51
|
+
|
|
52
|
+
### Connect
|
|
53
|
+
|
|
54
|
+
> **Connect**: `"connect"`
|
|
55
|
+
|
|
56
|
+
#### Defined in
|
|
57
|
+
|
|
58
|
+
[types.ts:991](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L991)
|
|
59
|
+
|
|
60
|
+
***
|
|
61
|
+
|
|
62
|
+
### ED25519
|
|
63
|
+
|
|
64
|
+
> **ED25519**: `"ed25519"`
|
|
65
|
+
|
|
66
|
+
#### Defined in
|
|
67
|
+
|
|
68
|
+
[types.ts:988](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L988)
|
|
69
|
+
|
|
70
|
+
***
|
|
71
|
+
|
|
72
|
+
### EIP1271
|
|
73
|
+
|
|
74
|
+
> **EIP1271**: `"eip-1271"`
|
|
75
|
+
|
|
76
|
+
#### Defined in
|
|
77
|
+
|
|
78
|
+
[types.ts:985](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L985)
|
|
79
|
+
|
|
80
|
+
***
|
|
81
|
+
|
|
82
|
+
### EIP191
|
|
83
|
+
|
|
84
|
+
> **EIP191**: `"eip-191"`
|
|
85
|
+
|
|
86
|
+
#### Defined in
|
|
87
|
+
|
|
88
|
+
[types.ts:983](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L983)
|
|
89
|
+
|
|
90
|
+
***
|
|
91
|
+
|
|
92
|
+
### EIP712
|
|
93
|
+
|
|
94
|
+
> **EIP712**: `"eip-712"`
|
|
95
|
+
|
|
96
|
+
#### Defined in
|
|
97
|
+
|
|
98
|
+
[types.ts:984](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L984)
|
|
99
|
+
|
|
100
|
+
***
|
|
101
|
+
|
|
102
|
+
### MicroTransfer
|
|
103
|
+
|
|
104
|
+
> **MicroTransfer**: `"microtransfer"`
|
|
105
|
+
|
|
106
|
+
#### Defined in
|
|
107
|
+
|
|
108
|
+
[types.ts:989](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L989)
|
|
109
|
+
|
|
110
|
+
***
|
|
111
|
+
|
|
112
|
+
### Screenshot
|
|
113
|
+
|
|
114
|
+
> **Screenshot**: `"screenshot"`
|
|
115
|
+
|
|
116
|
+
#### Defined in
|
|
117
|
+
|
|
118
|
+
[types.ts:990](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L990)
|
|
119
|
+
|
|
120
|
+
***
|
|
121
|
+
|
|
122
|
+
### SelfDeclaration
|
|
123
|
+
|
|
124
|
+
> **SelfDeclaration**: `"self-declaration"`
|
|
125
|
+
|
|
126
|
+
#### Defined in
|
|
127
|
+
|
|
128
|
+
[types.ts:980](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L980)
|
|
129
|
+
|
|
130
|
+
***
|
|
131
|
+
|
|
132
|
+
### SIWE
|
|
133
|
+
|
|
134
|
+
> **SIWE**: `"siwe"`
|
|
135
|
+
|
|
136
|
+
#### Defined in
|
|
137
|
+
|
|
138
|
+
[types.ts:981](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L981)
|
|
139
|
+
|
|
140
|
+
***
|
|
141
|
+
|
|
142
|
+
### SIWX
|
|
143
|
+
|
|
144
|
+
> **SIWX**: `"siwx"`
|
|
145
|
+
|
|
146
|
+
#### Defined in
|
|
147
|
+
|
|
148
|
+
[types.ts:982](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L982)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / Status
|
|
6
|
+
|
|
7
|
+
# Enumeration: Status
|
|
8
|
+
|
|
9
|
+
The verification status of a transaction
|
|
10
|
+
|
|
11
|
+
## Enumeration Members
|
|
12
|
+
|
|
13
|
+
### BANNED
|
|
14
|
+
|
|
15
|
+
> **BANNED**: `"banned"`
|
|
16
|
+
|
|
17
|
+
#### Defined in
|
|
18
|
+
|
|
19
|
+
[types.ts:588](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L588)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### EMPTY
|
|
24
|
+
|
|
25
|
+
> **EMPTY**: `"empty"`
|
|
26
|
+
|
|
27
|
+
#### Defined in
|
|
28
|
+
|
|
29
|
+
[types.ts:584](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L584)
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### PENDING
|
|
34
|
+
|
|
35
|
+
> **PENDING**: `"pending"`
|
|
36
|
+
|
|
37
|
+
#### Defined in
|
|
38
|
+
|
|
39
|
+
[types.ts:586](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L586)
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### VERIFIED
|
|
44
|
+
|
|
45
|
+
> **VERIFIED**: `"verified"`
|
|
46
|
+
|
|
47
|
+
#### Defined in
|
|
48
|
+
|
|
49
|
+
[types.ts:587](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L587)
|
|
50
|
+
|
|
51
|
+
***
|
|
52
|
+
|
|
53
|
+
### VERIFY
|
|
54
|
+
|
|
55
|
+
> **VERIFY**: `"verify"`
|
|
56
|
+
|
|
57
|
+
#### Defined in
|
|
58
|
+
|
|
59
|
+
[types.ts:585](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L585)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / ValidationSections
|
|
6
|
+
|
|
7
|
+
# Enumeration: ValidationSections
|
|
8
|
+
|
|
9
|
+
**`Alpha`**
|
|
10
|
+
|
|
11
|
+
Sections in a WithdrawalAssist screen
|
|
12
|
+
|
|
13
|
+
## Enumeration Members
|
|
14
|
+
|
|
15
|
+
### AGENT
|
|
16
|
+
|
|
17
|
+
> **AGENT**: `"agent"`
|
|
18
|
+
|
|
19
|
+
**`Alpha`**
|
|
20
|
+
|
|
21
|
+
#### Defined in
|
|
22
|
+
|
|
23
|
+
[types.ts:721](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L721)
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### ASSET
|
|
28
|
+
|
|
29
|
+
> **ASSET**: `"asset"`
|
|
30
|
+
|
|
31
|
+
**`Alpha`**
|
|
32
|
+
|
|
33
|
+
#### Defined in
|
|
34
|
+
|
|
35
|
+
[types.ts:718](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L718)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### COUNTERPARTY
|
|
40
|
+
|
|
41
|
+
> **COUNTERPARTY**: `"counterparty"`
|
|
42
|
+
|
|
43
|
+
**`Alpha`**
|
|
44
|
+
|
|
45
|
+
#### Defined in
|
|
46
|
+
|
|
47
|
+
[types.ts:720](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L720)
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### DESTINATION
|
|
52
|
+
|
|
53
|
+
> **DESTINATION**: `"destination"`
|
|
54
|
+
|
|
55
|
+
**`Alpha`**
|
|
56
|
+
|
|
57
|
+
#### Defined in
|
|
58
|
+
|
|
59
|
+
[types.ts:719](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L719)
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / Agent
|
|
6
|
+
|
|
7
|
+
# Interface: Agent
|
|
8
|
+
|
|
9
|
+
Who is the agent acting on behalf of the counterparty
|
|
10
|
+
|
|
11
|
+
## Extended by
|
|
12
|
+
|
|
13
|
+
- [`VASP`](VASP.md)
|
|
14
|
+
- [`Wallet`](Wallet.md)
|
|
15
|
+
|
|
16
|
+
## Properties
|
|
17
|
+
|
|
18
|
+
### did
|
|
19
|
+
|
|
20
|
+
> **did**: \`did:$\{string\}:$\{string\}\`
|
|
21
|
+
|
|
22
|
+
#### Defined in
|
|
23
|
+
|
|
24
|
+
[types.ts:258](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L258)
|
|
25
|
+
|
|
26
|
+
***
|
|
27
|
+
|
|
28
|
+
### logo?
|
|
29
|
+
|
|
30
|
+
> `optional` **logo**: `string`
|
|
31
|
+
|
|
32
|
+
#### Defined in
|
|
33
|
+
|
|
34
|
+
[types.ts:260](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L260)
|
|
35
|
+
|
|
36
|
+
***
|
|
37
|
+
|
|
38
|
+
### name?
|
|
39
|
+
|
|
40
|
+
> `optional` **name**: `string`
|
|
41
|
+
|
|
42
|
+
#### Defined in
|
|
43
|
+
|
|
44
|
+
[types.ts:262](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L262)
|
|
45
|
+
|
|
46
|
+
***
|
|
47
|
+
|
|
48
|
+
### type
|
|
49
|
+
|
|
50
|
+
> **type**: [`AgentType`](../enumerations/AgentType.md)
|
|
51
|
+
|
|
52
|
+
#### Defined in
|
|
53
|
+
|
|
54
|
+
[types.ts:259](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L259)
|
|
55
|
+
|
|
56
|
+
***
|
|
57
|
+
|
|
58
|
+
### url?
|
|
59
|
+
|
|
60
|
+
> `optional` **url**: `string`
|
|
61
|
+
|
|
62
|
+
#### Defined in
|
|
63
|
+
|
|
64
|
+
[types.ts:261](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L261)
|
|
65
|
+
|
|
66
|
+
***
|
|
67
|
+
|
|
68
|
+
### verified?
|
|
69
|
+
|
|
70
|
+
> `optional` **verified**: `boolean`
|
|
71
|
+
|
|
72
|
+
#### Defined in
|
|
73
|
+
|
|
74
|
+
[types.ts:263](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L263)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / CallbackOptions
|
|
6
|
+
|
|
7
|
+
# Interface: CallbackOptions
|
|
8
|
+
|
|
9
|
+
Options for callback and redirect URIs
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### callback?
|
|
14
|
+
|
|
15
|
+
> `optional` **callback**: `string`
|
|
16
|
+
|
|
17
|
+
#### Defined in
|
|
18
|
+
|
|
19
|
+
[types.ts:936](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L936)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### redirectUri?
|
|
24
|
+
|
|
25
|
+
> `optional` **redirectUri**: `string`
|
|
26
|
+
|
|
27
|
+
#### Defined in
|
|
28
|
+
|
|
29
|
+
[types.ts:937](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L937)
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / ComponentRequest
|
|
6
|
+
|
|
7
|
+
# Interface: ComponentRequest
|
|
8
|
+
|
|
9
|
+
Base interface for requests sent to SDK components
|
|
10
|
+
|
|
11
|
+
## Remarks
|
|
12
|
+
|
|
13
|
+
Defines core properties that all component requests share:
|
|
14
|
+
- Optional unique request ID for tracking/correlating requests and responses
|
|
15
|
+
- Optional customer detailsfor pre-filling component data
|
|
16
|
+
|
|
17
|
+
This interface is extended by specific request types like:
|
|
18
|
+
- Transaction requests for sending/receiving assets
|
|
19
|
+
- Connection requests for establishing VASP to VASP communication
|
|
20
|
+
|
|
21
|
+
## See
|
|
22
|
+
|
|
23
|
+
- [Transaction](Transaction.md) For transaction-specific request properties
|
|
24
|
+
- [ConnectionRequest](ConnectionRequest.md) For connection-specific request properties
|
|
25
|
+
|
|
26
|
+
## Extended by
|
|
27
|
+
|
|
28
|
+
- [`Transaction`](Transaction.md)
|
|
29
|
+
- [`DepositRequest`](DepositRequest.md)
|
|
30
|
+
- [`ConnectionRequest`](ConnectionRequest.md)
|
|
31
|
+
|
|
32
|
+
## Properties
|
|
33
|
+
|
|
34
|
+
### customer?
|
|
35
|
+
|
|
36
|
+
> `optional` **customer**: [`Counterparty`](Counterparty.md)
|
|
37
|
+
|
|
38
|
+
#### Defined in
|
|
39
|
+
|
|
40
|
+
[types.ts:495](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L495)
|
|
41
|
+
|
|
42
|
+
***
|
|
43
|
+
|
|
44
|
+
### requestId?
|
|
45
|
+
|
|
46
|
+
> `optional` **requestId**: `string`
|
|
47
|
+
|
|
48
|
+
#### Defined in
|
|
49
|
+
|
|
50
|
+
[types.ts:494](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L494)
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / ComponentResponse
|
|
6
|
+
|
|
7
|
+
# Interface: ComponentResponse
|
|
8
|
+
|
|
9
|
+
Base response interface for all SDK component operations
|
|
10
|
+
|
|
11
|
+
## Remarks
|
|
12
|
+
|
|
13
|
+
Provides standardized response propertiesfor component interactions:
|
|
14
|
+
- requestID: Links response back to the originating request
|
|
15
|
+
- valid: Boolean indicating if the operation was valid/successful
|
|
16
|
+
- status: Current verification status of the operation
|
|
17
|
+
- errors: Array of validation errors if any occurred
|
|
18
|
+
|
|
19
|
+
This interface is extended by specific response types like:
|
|
20
|
+
- TransResponse for transaction operations
|
|
21
|
+
- ConnectionResponse for VASP connection operations
|
|
22
|
+
|
|
23
|
+
## See
|
|
24
|
+
|
|
25
|
+
- [Status](../enumerations/Status.md) For possible status values
|
|
26
|
+
- [ValidationError](../type-aliases/ValidationError.md) For error structure
|
|
27
|
+
- [TransactionResponse](TransactionResponse.md) For transaction-specific responses
|
|
28
|
+
|
|
29
|
+
## Extended by
|
|
30
|
+
|
|
31
|
+
- [`TransactionResponse`](TransactionResponse.md)
|
|
32
|
+
|
|
33
|
+
## Properties
|
|
34
|
+
|
|
35
|
+
### errors
|
|
36
|
+
|
|
37
|
+
> **errors**: [`ValidationError`](../type-aliases/ValidationError.md)[]
|
|
38
|
+
|
|
39
|
+
#### Defined in
|
|
40
|
+
|
|
41
|
+
[types.ts:645](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L645)
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### requestID
|
|
46
|
+
|
|
47
|
+
> **requestID**: `string`
|
|
48
|
+
|
|
49
|
+
#### Defined in
|
|
50
|
+
|
|
51
|
+
[types.ts:642](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L642)
|
|
52
|
+
|
|
53
|
+
***
|
|
54
|
+
|
|
55
|
+
### status
|
|
56
|
+
|
|
57
|
+
> **status**: [`Status`](../enumerations/Status.md)
|
|
58
|
+
|
|
59
|
+
#### Defined in
|
|
60
|
+
|
|
61
|
+
[types.ts:644](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L644)
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### valid
|
|
66
|
+
|
|
67
|
+
> **valid**: `boolean`
|
|
68
|
+
|
|
69
|
+
#### Defined in
|
|
70
|
+
|
|
71
|
+
[types.ts:643](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L643)
|