@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.
- package/dist/notabene.cjs +1 -1
- package/dist/notabene.d.ts +1565 -0
- package/dist/notabene.js +1 -1
- package/dist/tsdoc-metadata.json +11 -0
- 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 +16 -14
- package/src/components/EmbeddedComponent.ts +1 -0
- package/src/notabene.ts +21 -21
- package/src/types.ts +1 -1
- package/dist/js/notabene.js +0 -1
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / ConnectionRecord
|
|
6
|
+
|
|
7
|
+
# Interface: ConnectionRecord
|
|
8
|
+
|
|
9
|
+
Interface for recording that user connected their wallet.
|
|
10
|
+
|
|
11
|
+
## Remarks
|
|
12
|
+
|
|
13
|
+
- Records which wallet provider was used to connect
|
|
14
|
+
|
|
15
|
+
The signature proves ownership by demonstrating control of the private keys
|
|
16
|
+
associated with the claimed address.
|
|
17
|
+
|
|
18
|
+
## See
|
|
19
|
+
|
|
20
|
+
- [ProofTypes](../enumerations/ProofTypes.md) For supported signature types
|
|
21
|
+
- [OwnershipProof](OwnershipProof.md) For base proof properties
|
|
22
|
+
|
|
23
|
+
## Extends
|
|
24
|
+
|
|
25
|
+
- [`OwnershipProof`](OwnershipProof.md)
|
|
26
|
+
|
|
27
|
+
## Properties
|
|
28
|
+
|
|
29
|
+
### address
|
|
30
|
+
|
|
31
|
+
> **address**: \`$\{string\}:$\{string\}:$\{string\}\`
|
|
32
|
+
|
|
33
|
+
#### Inherited from
|
|
34
|
+
|
|
35
|
+
[`OwnershipProof`](OwnershipProof.md).[`address`](OwnershipProof.md#address)
|
|
36
|
+
|
|
37
|
+
#### Defined in
|
|
38
|
+
|
|
39
|
+
[types.ts:1019](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L1019)
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### attestation
|
|
44
|
+
|
|
45
|
+
> **attestation**: `string`
|
|
46
|
+
|
|
47
|
+
#### Defined in
|
|
48
|
+
|
|
49
|
+
[types.ts:1081](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L1081)
|
|
50
|
+
|
|
51
|
+
***
|
|
52
|
+
|
|
53
|
+
### did
|
|
54
|
+
|
|
55
|
+
> **did**: \`did:$\{string\}:$\{string\}\`
|
|
56
|
+
|
|
57
|
+
#### Inherited from
|
|
58
|
+
|
|
59
|
+
[`OwnershipProof`](OwnershipProof.md).[`did`](OwnershipProof.md#did)
|
|
60
|
+
|
|
61
|
+
#### Defined in
|
|
62
|
+
|
|
63
|
+
[types.ts:1018](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L1018)
|
|
64
|
+
|
|
65
|
+
***
|
|
66
|
+
|
|
67
|
+
### proof
|
|
68
|
+
|
|
69
|
+
> **proof**: `string`
|
|
70
|
+
|
|
71
|
+
#### Defined in
|
|
72
|
+
|
|
73
|
+
[types.ts:1080](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L1080)
|
|
74
|
+
|
|
75
|
+
***
|
|
76
|
+
|
|
77
|
+
### status
|
|
78
|
+
|
|
79
|
+
> **status**: [`ProofStatus`](../enumerations/ProofStatus.md)
|
|
80
|
+
|
|
81
|
+
#### Inherited from
|
|
82
|
+
|
|
83
|
+
[`OwnershipProof`](OwnershipProof.md).[`status`](OwnershipProof.md#status)
|
|
84
|
+
|
|
85
|
+
#### Defined in
|
|
86
|
+
|
|
87
|
+
[types.ts:1017](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L1017)
|
|
88
|
+
|
|
89
|
+
***
|
|
90
|
+
|
|
91
|
+
### type
|
|
92
|
+
|
|
93
|
+
> **type**: [`Connect`](../enumerations/ProofTypes.md#connect)
|
|
94
|
+
|
|
95
|
+
#### Overrides
|
|
96
|
+
|
|
97
|
+
[`OwnershipProof`](OwnershipProof.md).[`type`](OwnershipProof.md#type)
|
|
98
|
+
|
|
99
|
+
#### Defined in
|
|
100
|
+
|
|
101
|
+
[types.ts:1079](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L1079)
|
|
102
|
+
|
|
103
|
+
***
|
|
104
|
+
|
|
105
|
+
### wallet\_provider
|
|
106
|
+
|
|
107
|
+
> **wallet\_provider**: `string`
|
|
108
|
+
|
|
109
|
+
#### Defined in
|
|
110
|
+
|
|
111
|
+
[types.ts:1082](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L1082)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / ConnectionRequest
|
|
6
|
+
|
|
7
|
+
# Interface: ConnectionRequest
|
|
8
|
+
|
|
9
|
+
An object representing a connection request
|
|
10
|
+
|
|
11
|
+
## Extends
|
|
12
|
+
|
|
13
|
+
- [`ComponentRequest`](ComponentRequest.md)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### asset
|
|
18
|
+
|
|
19
|
+
> **asset**: `string`
|
|
20
|
+
|
|
21
|
+
#### Defined in
|
|
22
|
+
|
|
23
|
+
[types.ts:566](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L566)
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### customer?
|
|
28
|
+
|
|
29
|
+
> `optional` **customer**: [`Counterparty`](Counterparty.md)
|
|
30
|
+
|
|
31
|
+
#### Inherited from
|
|
32
|
+
|
|
33
|
+
[`ComponentRequest`](ComponentRequest.md).[`customer`](ComponentRequest.md#customer)
|
|
34
|
+
|
|
35
|
+
#### Defined in
|
|
36
|
+
|
|
37
|
+
[types.ts:495](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L495)
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### requestId?
|
|
42
|
+
|
|
43
|
+
> `optional` **requestId**: `string`
|
|
44
|
+
|
|
45
|
+
#### Inherited from
|
|
46
|
+
|
|
47
|
+
[`ComponentRequest`](ComponentRequest.md).[`requestId`](ComponentRequest.md#requestid)
|
|
48
|
+
|
|
49
|
+
#### Defined in
|
|
50
|
+
|
|
51
|
+
[types.ts:494](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L494)
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / Counterparty
|
|
6
|
+
|
|
7
|
+
# Interface: Counterparty
|
|
8
|
+
|
|
9
|
+
Interface representing a party involved in a transaction other than the initiator
|
|
10
|
+
|
|
11
|
+
## Remarks
|
|
12
|
+
|
|
13
|
+
fines the core properties that identify and describe a counterparty:
|
|
14
|
+
- name: The display or legal name of the counterparty
|
|
15
|
+
- accountNumber: An account identifier/reference number
|
|
16
|
+
- did: Decentralized identifier for the counterparty
|
|
17
|
+
- type: Classification as natural person, legal entity, or self
|
|
18
|
+
- verified: Whether the counterparty's identity has been verified
|
|
19
|
+
- geographicAddress: Physical/mailing address information
|
|
20
|
+
- nationalIdentification: Government-issued ID details
|
|
21
|
+
- website: Official web presence
|
|
22
|
+
- phone: Contact phone number
|
|
23
|
+
- email: Contact email address
|
|
24
|
+
|
|
25
|
+
This interface serves as the base for more specific counterparty types:
|
|
26
|
+
|
|
27
|
+
## See
|
|
28
|
+
|
|
29
|
+
- [NaturalPerson](NaturalPerson.md) For individual person properties
|
|
30
|
+
- [LegalPerson](LegalPerson.md) For organization/entity properties
|
|
31
|
+
|
|
32
|
+
## Extended by
|
|
33
|
+
|
|
34
|
+
- [`NaturalPerson`](NaturalPerson.md)
|
|
35
|
+
- [`LegalPerson`](LegalPerson.md)
|
|
36
|
+
|
|
37
|
+
## Properties
|
|
38
|
+
|
|
39
|
+
### accountNumber?
|
|
40
|
+
|
|
41
|
+
> `optional` **accountNumber**: `string`
|
|
42
|
+
|
|
43
|
+
#### Defined in
|
|
44
|
+
|
|
45
|
+
[types.ts:341](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L341)
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### did?
|
|
50
|
+
|
|
51
|
+
> `optional` **did**: \`did:$\{string\}:$\{string\}\`
|
|
52
|
+
|
|
53
|
+
#### Defined in
|
|
54
|
+
|
|
55
|
+
[types.ts:342](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L342)
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### email?
|
|
60
|
+
|
|
61
|
+
> `optional` **email**: `string`
|
|
62
|
+
|
|
63
|
+
#### Defined in
|
|
64
|
+
|
|
65
|
+
[types.ts:349](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L349)
|
|
66
|
+
|
|
67
|
+
***
|
|
68
|
+
|
|
69
|
+
### geographicAddress?
|
|
70
|
+
|
|
71
|
+
> `optional` **geographicAddress**: [`Address`](../../ivms/types/type-aliases/Address.md)
|
|
72
|
+
|
|
73
|
+
#### Defined in
|
|
74
|
+
|
|
75
|
+
[types.ts:345](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L345)
|
|
76
|
+
|
|
77
|
+
***
|
|
78
|
+
|
|
79
|
+
### name?
|
|
80
|
+
|
|
81
|
+
> `optional` **name**: `string`
|
|
82
|
+
|
|
83
|
+
#### Defined in
|
|
84
|
+
|
|
85
|
+
[types.ts:340](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L340)
|
|
86
|
+
|
|
87
|
+
***
|
|
88
|
+
|
|
89
|
+
### nationalIdentification?
|
|
90
|
+
|
|
91
|
+
> `optional` **nationalIdentification**: [`NationalIdentification`](../../ivms/types/type-aliases/NationalIdentification.md)
|
|
92
|
+
|
|
93
|
+
#### Defined in
|
|
94
|
+
|
|
95
|
+
[types.ts:346](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L346)
|
|
96
|
+
|
|
97
|
+
***
|
|
98
|
+
|
|
99
|
+
### phone?
|
|
100
|
+
|
|
101
|
+
> `optional` **phone**: `string`
|
|
102
|
+
|
|
103
|
+
#### Defined in
|
|
104
|
+
|
|
105
|
+
[types.ts:348](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L348)
|
|
106
|
+
|
|
107
|
+
***
|
|
108
|
+
|
|
109
|
+
### type?
|
|
110
|
+
|
|
111
|
+
> `optional` **type**: [`PersonType`](../enumerations/PersonType.md)
|
|
112
|
+
|
|
113
|
+
#### Defined in
|
|
114
|
+
|
|
115
|
+
[types.ts:343](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L343)
|
|
116
|
+
|
|
117
|
+
***
|
|
118
|
+
|
|
119
|
+
### verified?
|
|
120
|
+
|
|
121
|
+
> `optional` **verified**: `boolean`
|
|
122
|
+
|
|
123
|
+
#### Defined in
|
|
124
|
+
|
|
125
|
+
[types.ts:344](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L344)
|
|
126
|
+
|
|
127
|
+
***
|
|
128
|
+
|
|
129
|
+
### website?
|
|
130
|
+
|
|
131
|
+
> `optional` **website**: `string`
|
|
132
|
+
|
|
133
|
+
#### Defined in
|
|
134
|
+
|
|
135
|
+
[types.ts:347](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L347)
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / DeclarationProof
|
|
6
|
+
|
|
7
|
+
# Interface: DeclarationProof
|
|
8
|
+
|
|
9
|
+
Ownership Proof using Self Declaration
|
|
10
|
+
|
|
11
|
+
## Extends
|
|
12
|
+
|
|
13
|
+
- [`OwnershipProof`](OwnershipProof.md)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### address
|
|
18
|
+
|
|
19
|
+
> **address**: \`$\{string\}:$\{string\}:$\{string\}\`
|
|
20
|
+
|
|
21
|
+
#### Inherited from
|
|
22
|
+
|
|
23
|
+
[`OwnershipProof`](OwnershipProof.md).[`address`](OwnershipProof.md#address)
|
|
24
|
+
|
|
25
|
+
#### Defined in
|
|
26
|
+
|
|
27
|
+
[types.ts:1019](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L1019)
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### attestation
|
|
32
|
+
|
|
33
|
+
> **attestation**: `string`
|
|
34
|
+
|
|
35
|
+
#### Defined in
|
|
36
|
+
|
|
37
|
+
[types.ts:1061](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L1061)
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### confirmed
|
|
42
|
+
|
|
43
|
+
> **confirmed**: `boolean`
|
|
44
|
+
|
|
45
|
+
#### Defined in
|
|
46
|
+
|
|
47
|
+
[types.ts:1062](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L1062)
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### did
|
|
52
|
+
|
|
53
|
+
> **did**: \`did:$\{string\}:$\{string\}\`
|
|
54
|
+
|
|
55
|
+
#### Inherited from
|
|
56
|
+
|
|
57
|
+
[`OwnershipProof`](OwnershipProof.md).[`did`](OwnershipProof.md#did)
|
|
58
|
+
|
|
59
|
+
#### Defined in
|
|
60
|
+
|
|
61
|
+
[types.ts:1018](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L1018)
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### status
|
|
66
|
+
|
|
67
|
+
> **status**: [`ProofStatus`](../enumerations/ProofStatus.md)
|
|
68
|
+
|
|
69
|
+
#### Inherited from
|
|
70
|
+
|
|
71
|
+
[`OwnershipProof`](OwnershipProof.md).[`status`](OwnershipProof.md#status)
|
|
72
|
+
|
|
73
|
+
#### Defined in
|
|
74
|
+
|
|
75
|
+
[types.ts:1017](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L1017)
|
|
76
|
+
|
|
77
|
+
***
|
|
78
|
+
|
|
79
|
+
### type
|
|
80
|
+
|
|
81
|
+
> **type**: [`SelfDeclaration`](../enumerations/ProofTypes.md#selfdeclaration)
|
|
82
|
+
|
|
83
|
+
#### Overrides
|
|
84
|
+
|
|
85
|
+
[`OwnershipProof`](OwnershipProof.md).[`type`](OwnershipProof.md#type)
|
|
86
|
+
|
|
87
|
+
#### Defined in
|
|
88
|
+
|
|
89
|
+
[types.ts:1060](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L1060)
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / Deposit
|
|
6
|
+
|
|
7
|
+
# Interface: Deposit
|
|
8
|
+
|
|
9
|
+
An object representing a deposit transaction
|
|
10
|
+
|
|
11
|
+
## Extends
|
|
12
|
+
|
|
13
|
+
- `OriginatorFields`.[`Transaction`](Transaction.md)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### agent
|
|
18
|
+
|
|
19
|
+
> **agent**: [`Agent`](Agent.md)
|
|
20
|
+
|
|
21
|
+
#### Inherited from
|
|
22
|
+
|
|
23
|
+
[`Transaction`](Transaction.md).[`agent`](Transaction.md#agent)
|
|
24
|
+
|
|
25
|
+
#### Defined in
|
|
26
|
+
|
|
27
|
+
[types.ts:522](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L522)
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### amountDecimal
|
|
32
|
+
|
|
33
|
+
> **amountDecimal**: `number`
|
|
34
|
+
|
|
35
|
+
#### Inherited from
|
|
36
|
+
|
|
37
|
+
[`Transaction`](Transaction.md).[`amountDecimal`](Transaction.md#amountdecimal)
|
|
38
|
+
|
|
39
|
+
#### Defined in
|
|
40
|
+
|
|
41
|
+
[types.ts:525](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L525)
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### asset
|
|
46
|
+
|
|
47
|
+
> **asset**: `string`
|
|
48
|
+
|
|
49
|
+
#### Inherited from
|
|
50
|
+
|
|
51
|
+
[`Transaction`](Transaction.md).[`asset`](Transaction.md#asset)
|
|
52
|
+
|
|
53
|
+
#### Defined in
|
|
54
|
+
|
|
55
|
+
[types.ts:524](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L524)
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### assetPrice?
|
|
60
|
+
|
|
61
|
+
> `optional` **assetPrice**: `object`
|
|
62
|
+
|
|
63
|
+
#### currency
|
|
64
|
+
|
|
65
|
+
> **currency**: `string`
|
|
66
|
+
|
|
67
|
+
#### price
|
|
68
|
+
|
|
69
|
+
> **price**: `number`
|
|
70
|
+
|
|
71
|
+
#### Inherited from
|
|
72
|
+
|
|
73
|
+
[`Transaction`](Transaction.md).[`assetPrice`](Transaction.md#assetprice)
|
|
74
|
+
|
|
75
|
+
#### Defined in
|
|
76
|
+
|
|
77
|
+
[types.ts:527](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L527)
|
|
78
|
+
|
|
79
|
+
***
|
|
80
|
+
|
|
81
|
+
### counterparty
|
|
82
|
+
|
|
83
|
+
> **counterparty**: [`Counterparty`](Counterparty.md)
|
|
84
|
+
|
|
85
|
+
#### Inherited from
|
|
86
|
+
|
|
87
|
+
[`Transaction`](Transaction.md).[`counterparty`](Transaction.md#counterparty)
|
|
88
|
+
|
|
89
|
+
#### Defined in
|
|
90
|
+
|
|
91
|
+
[types.ts:523](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L523)
|
|
92
|
+
|
|
93
|
+
***
|
|
94
|
+
|
|
95
|
+
### customer?
|
|
96
|
+
|
|
97
|
+
> `optional` **customer**: [`Counterparty`](Counterparty.md)
|
|
98
|
+
|
|
99
|
+
#### Inherited from
|
|
100
|
+
|
|
101
|
+
[`Transaction`](Transaction.md).[`customer`](Transaction.md#customer)
|
|
102
|
+
|
|
103
|
+
#### Defined in
|
|
104
|
+
|
|
105
|
+
[types.ts:495](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L495)
|
|
106
|
+
|
|
107
|
+
***
|
|
108
|
+
|
|
109
|
+
### proof?
|
|
110
|
+
|
|
111
|
+
> `optional` **proof**: [`OwnershipProof`](OwnershipProof.md)
|
|
112
|
+
|
|
113
|
+
#### Inherited from
|
|
114
|
+
|
|
115
|
+
[`Transaction`](Transaction.md).[`proof`](Transaction.md#proof)
|
|
116
|
+
|
|
117
|
+
#### Defined in
|
|
118
|
+
|
|
119
|
+
[types.ts:526](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L526)
|
|
120
|
+
|
|
121
|
+
***
|
|
122
|
+
|
|
123
|
+
### requestId?
|
|
124
|
+
|
|
125
|
+
> `optional` **requestId**: `string`
|
|
126
|
+
|
|
127
|
+
#### Inherited from
|
|
128
|
+
|
|
129
|
+
[`Transaction`](Transaction.md).[`requestId`](Transaction.md#requestid)
|
|
130
|
+
|
|
131
|
+
#### Defined in
|
|
132
|
+
|
|
133
|
+
[types.ts:494](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L494)
|
|
134
|
+
|
|
135
|
+
***
|
|
136
|
+
|
|
137
|
+
### source?
|
|
138
|
+
|
|
139
|
+
> `optional` **source**: `string`
|
|
140
|
+
|
|
141
|
+
#### Inherited from
|
|
142
|
+
|
|
143
|
+
`OriginatorFields.source`
|
|
144
|
+
|
|
145
|
+
#### Defined in
|
|
146
|
+
|
|
147
|
+
[types.ts:452](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L452)
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / DepositRequest
|
|
6
|
+
|
|
7
|
+
# Interface: DepositRequest
|
|
8
|
+
|
|
9
|
+
An object representing a request for a deposit
|
|
10
|
+
|
|
11
|
+
## Extends
|
|
12
|
+
|
|
13
|
+
- `DepositRequestFields`.[`ComponentRequest`](ComponentRequest.md)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### amountDecimal?
|
|
18
|
+
|
|
19
|
+
> `optional` **amountDecimal**: `number`
|
|
20
|
+
|
|
21
|
+
#### Inherited from
|
|
22
|
+
|
|
23
|
+
`DepositRequestFields.amountDecimal`
|
|
24
|
+
|
|
25
|
+
#### Defined in
|
|
26
|
+
|
|
27
|
+
[types.ts:470](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L470)
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### asset
|
|
32
|
+
|
|
33
|
+
> **asset**: `string`
|
|
34
|
+
|
|
35
|
+
#### Inherited from
|
|
36
|
+
|
|
37
|
+
`DepositRequestFields.asset`
|
|
38
|
+
|
|
39
|
+
#### Defined in
|
|
40
|
+
|
|
41
|
+
[types.ts:469](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L469)
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### cryptoCredential?
|
|
46
|
+
|
|
47
|
+
> `optional` **cryptoCredential**: \`$\{string\}.$\{string\}.mastercard\`
|
|
48
|
+
|
|
49
|
+
#### Inherited from
|
|
50
|
+
|
|
51
|
+
`DepositRequestFields.cryptoCredential`
|
|
52
|
+
|
|
53
|
+
#### Defined in
|
|
54
|
+
|
|
55
|
+
[types.ts:472](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L472)
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### customer?
|
|
60
|
+
|
|
61
|
+
> `optional` **customer**: [`Counterparty`](Counterparty.md)
|
|
62
|
+
|
|
63
|
+
#### Inherited from
|
|
64
|
+
|
|
65
|
+
[`ComponentRequest`](ComponentRequest.md).[`customer`](ComponentRequest.md#customer)
|
|
66
|
+
|
|
67
|
+
#### Defined in
|
|
68
|
+
|
|
69
|
+
[types.ts:495](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L495)
|
|
70
|
+
|
|
71
|
+
***
|
|
72
|
+
|
|
73
|
+
### destination
|
|
74
|
+
|
|
75
|
+
> **destination**: `string`
|
|
76
|
+
|
|
77
|
+
#### Inherited from
|
|
78
|
+
|
|
79
|
+
`DepositRequestFields.destination`
|
|
80
|
+
|
|
81
|
+
#### Defined in
|
|
82
|
+
|
|
83
|
+
[types.ts:468](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L468)
|
|
84
|
+
|
|
85
|
+
***
|
|
86
|
+
|
|
87
|
+
### requestId?
|
|
88
|
+
|
|
89
|
+
> `optional` **requestId**: `string`
|
|
90
|
+
|
|
91
|
+
#### Inherited from
|
|
92
|
+
|
|
93
|
+
[`ComponentRequest`](ComponentRequest.md).[`requestId`](ComponentRequest.md#requestid)
|
|
94
|
+
|
|
95
|
+
#### Defined in
|
|
96
|
+
|
|
97
|
+
[types.ts:494](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L494)
|
|
98
|
+
|
|
99
|
+
***
|
|
100
|
+
|
|
101
|
+
### travelAddress?
|
|
102
|
+
|
|
103
|
+
> `optional` **travelAddress**: \`ta$\{string\}\`
|
|
104
|
+
|
|
105
|
+
#### Inherited from
|
|
106
|
+
|
|
107
|
+
`DepositRequestFields.travelAddress`
|
|
108
|
+
|
|
109
|
+
#### Defined in
|
|
110
|
+
|
|
111
|
+
[types.ts:471](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L471)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / DepositRequestOptions
|
|
6
|
+
|
|
7
|
+
# Interface: DepositRequestOptions
|
|
8
|
+
|
|
9
|
+
An object representing options for a Deposit Request
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### showQrCode?
|
|
14
|
+
|
|
15
|
+
> `optional` **showQrCode**: `boolean`
|
|
16
|
+
|
|
17
|
+
#### Defined in
|
|
18
|
+
|
|
19
|
+
[types.ts:558](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/675e0bac9f2136d1cf47e6f5980760f80d3d1995/src/types.ts#L558)
|