@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.
- 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 +3 -2
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / LegalPerson
|
|
6
|
+
|
|
7
|
+
# Interface: LegalPerson
|
|
8
|
+
|
|
9
|
+
Interface representing a legal entity (organization/company) involved in a transaction
|
|
10
|
+
|
|
11
|
+
## Remarks
|
|
12
|
+
|
|
13
|
+
Extends the baseface to add properties specific to legal entities:
|
|
14
|
+
- type: MustPersonType.LEGAL to identify as an organization
|
|
15
|
+
- name: Required registered legal name of the entity
|
|
16
|
+
- lei: Optional Legal Entity Identifier for regulated entities
|
|
17
|
+
- logo: Optional URI to the organization's logo image
|
|
18
|
+
- countryOfRegistration: Optional ISO country code where entity is registered
|
|
19
|
+
|
|
20
|
+
This interface captures the additional identifying information required for
|
|
21
|
+
legal persons under FATF Travel Rule requirements. The properties align with
|
|
22
|
+
standard business KYC (Know Your Businessta collection practices.
|
|
23
|
+
|
|
24
|
+
## See
|
|
25
|
+
|
|
26
|
+
- [Counterparty](Counterparty.md) For base properties common to all counterparties
|
|
27
|
+
- [PersonType](../enumerations/PersonType.md) For person type classification
|
|
28
|
+
- [LEI](../type-aliases/LEI.md) For Legal Entity Identifier format
|
|
29
|
+
|
|
30
|
+
## Extends
|
|
31
|
+
|
|
32
|
+
- [`Counterparty`](Counterparty.md)
|
|
33
|
+
|
|
34
|
+
## Properties
|
|
35
|
+
|
|
36
|
+
### accountNumber?
|
|
37
|
+
|
|
38
|
+
> `optional` **accountNumber**: `string`
|
|
39
|
+
|
|
40
|
+
#### Inherited from
|
|
41
|
+
|
|
42
|
+
[`Counterparty`](Counterparty.md).[`accountNumber`](Counterparty.md#accountnumber)
|
|
43
|
+
|
|
44
|
+
#### Defined in
|
|
45
|
+
|
|
46
|
+
[types.ts:341](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L341)
|
|
47
|
+
|
|
48
|
+
***
|
|
49
|
+
|
|
50
|
+
### countryOfRegistration?
|
|
51
|
+
|
|
52
|
+
> `optional` **countryOfRegistration**: `string`
|
|
53
|
+
|
|
54
|
+
#### Defined in
|
|
55
|
+
|
|
56
|
+
[types.ts:426](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L426)
|
|
57
|
+
|
|
58
|
+
***
|
|
59
|
+
|
|
60
|
+
### did?
|
|
61
|
+
|
|
62
|
+
> `optional` **did**: \`did:$\{string\}:$\{string\}\`
|
|
63
|
+
|
|
64
|
+
#### Inherited from
|
|
65
|
+
|
|
66
|
+
[`Counterparty`](Counterparty.md).[`did`](Counterparty.md#did)
|
|
67
|
+
|
|
68
|
+
#### Defined in
|
|
69
|
+
|
|
70
|
+
[types.ts:342](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L342)
|
|
71
|
+
|
|
72
|
+
***
|
|
73
|
+
|
|
74
|
+
### email?
|
|
75
|
+
|
|
76
|
+
> `optional` **email**: `string`
|
|
77
|
+
|
|
78
|
+
#### Inherited from
|
|
79
|
+
|
|
80
|
+
[`Counterparty`](Counterparty.md).[`email`](Counterparty.md#email)
|
|
81
|
+
|
|
82
|
+
#### Defined in
|
|
83
|
+
|
|
84
|
+
[types.ts:349](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L349)
|
|
85
|
+
|
|
86
|
+
***
|
|
87
|
+
|
|
88
|
+
### geographicAddress?
|
|
89
|
+
|
|
90
|
+
> `optional` **geographicAddress**: [`Address`](../../ivms/types/type-aliases/Address.md)
|
|
91
|
+
|
|
92
|
+
#### Inherited from
|
|
93
|
+
|
|
94
|
+
[`Counterparty`](Counterparty.md).[`geographicAddress`](Counterparty.md#geographicaddress)
|
|
95
|
+
|
|
96
|
+
#### Defined in
|
|
97
|
+
|
|
98
|
+
[types.ts:345](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L345)
|
|
99
|
+
|
|
100
|
+
***
|
|
101
|
+
|
|
102
|
+
### lei?
|
|
103
|
+
|
|
104
|
+
> `optional` **lei**: `string`
|
|
105
|
+
|
|
106
|
+
#### Defined in
|
|
107
|
+
|
|
108
|
+
[types.ts:424](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L424)
|
|
109
|
+
|
|
110
|
+
***
|
|
111
|
+
|
|
112
|
+
### logo?
|
|
113
|
+
|
|
114
|
+
> `optional` **logo**: `string`
|
|
115
|
+
|
|
116
|
+
#### Defined in
|
|
117
|
+
|
|
118
|
+
[types.ts:425](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L425)
|
|
119
|
+
|
|
120
|
+
***
|
|
121
|
+
|
|
122
|
+
### name
|
|
123
|
+
|
|
124
|
+
> **name**: `string`
|
|
125
|
+
|
|
126
|
+
#### Overrides
|
|
127
|
+
|
|
128
|
+
[`Counterparty`](Counterparty.md).[`name`](Counterparty.md#name)
|
|
129
|
+
|
|
130
|
+
#### Defined in
|
|
131
|
+
|
|
132
|
+
[types.ts:423](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L423)
|
|
133
|
+
|
|
134
|
+
***
|
|
135
|
+
|
|
136
|
+
### nationalIdentification?
|
|
137
|
+
|
|
138
|
+
> `optional` **nationalIdentification**: [`NationalIdentification`](../../ivms/types/type-aliases/NationalIdentification.md)
|
|
139
|
+
|
|
140
|
+
#### Inherited from
|
|
141
|
+
|
|
142
|
+
[`Counterparty`](Counterparty.md).[`nationalIdentification`](Counterparty.md#nationalidentification)
|
|
143
|
+
|
|
144
|
+
#### Defined in
|
|
145
|
+
|
|
146
|
+
[types.ts:346](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L346)
|
|
147
|
+
|
|
148
|
+
***
|
|
149
|
+
|
|
150
|
+
### phone?
|
|
151
|
+
|
|
152
|
+
> `optional` **phone**: `string`
|
|
153
|
+
|
|
154
|
+
#### Inherited from
|
|
155
|
+
|
|
156
|
+
[`Counterparty`](Counterparty.md).[`phone`](Counterparty.md#phone)
|
|
157
|
+
|
|
158
|
+
#### Defined in
|
|
159
|
+
|
|
160
|
+
[types.ts:348](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L348)
|
|
161
|
+
|
|
162
|
+
***
|
|
163
|
+
|
|
164
|
+
### type
|
|
165
|
+
|
|
166
|
+
> **type**: [`LEGAL`](../enumerations/PersonType.md#legal)
|
|
167
|
+
|
|
168
|
+
#### Overrides
|
|
169
|
+
|
|
170
|
+
[`Counterparty`](Counterparty.md).[`type`](Counterparty.md#type)
|
|
171
|
+
|
|
172
|
+
#### Defined in
|
|
173
|
+
|
|
174
|
+
[types.ts:422](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L422)
|
|
175
|
+
|
|
176
|
+
***
|
|
177
|
+
|
|
178
|
+
### verified?
|
|
179
|
+
|
|
180
|
+
> `optional` **verified**: `boolean`
|
|
181
|
+
|
|
182
|
+
#### Inherited from
|
|
183
|
+
|
|
184
|
+
[`Counterparty`](Counterparty.md).[`verified`](Counterparty.md#verified)
|
|
185
|
+
|
|
186
|
+
#### Defined in
|
|
187
|
+
|
|
188
|
+
[types.ts:344](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L344)
|
|
189
|
+
|
|
190
|
+
***
|
|
191
|
+
|
|
192
|
+
### website?
|
|
193
|
+
|
|
194
|
+
> `optional` **website**: `string`
|
|
195
|
+
|
|
196
|
+
#### Inherited from
|
|
197
|
+
|
|
198
|
+
[`Counterparty`](Counterparty.md).[`website`](Counterparty.md#website)
|
|
199
|
+
|
|
200
|
+
#### Defined in
|
|
201
|
+
|
|
202
|
+
[types.ts:347](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L347)
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / MicroTransferProof
|
|
6
|
+
|
|
7
|
+
# Interface: MicroTransferProof
|
|
8
|
+
|
|
9
|
+
Ownership Proof using Micro Transfer
|
|
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/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1019)
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### amountSubunits
|
|
32
|
+
|
|
33
|
+
> **amountSubunits**: `string`
|
|
34
|
+
|
|
35
|
+
#### Defined in
|
|
36
|
+
|
|
37
|
+
[types.ts:1095](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1095)
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### asset
|
|
42
|
+
|
|
43
|
+
> **asset**: \`$\{string\}:$\{string\}/$\{string\}:$\{string\}\`
|
|
44
|
+
|
|
45
|
+
#### Defined in
|
|
46
|
+
|
|
47
|
+
[types.ts:1093](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1093)
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### chain
|
|
52
|
+
|
|
53
|
+
> **chain**: \`$\{string\}:$\{string\}\`
|
|
54
|
+
|
|
55
|
+
#### Defined in
|
|
56
|
+
|
|
57
|
+
[types.ts:1092](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1092)
|
|
58
|
+
|
|
59
|
+
***
|
|
60
|
+
|
|
61
|
+
### destination
|
|
62
|
+
|
|
63
|
+
> **destination**: `string`
|
|
64
|
+
|
|
65
|
+
#### Defined in
|
|
66
|
+
|
|
67
|
+
[types.ts:1094](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1094)
|
|
68
|
+
|
|
69
|
+
***
|
|
70
|
+
|
|
71
|
+
### did
|
|
72
|
+
|
|
73
|
+
> **did**: \`did:$\{string\}:$\{string\}\`
|
|
74
|
+
|
|
75
|
+
#### Inherited from
|
|
76
|
+
|
|
77
|
+
[`OwnershipProof`](OwnershipProof.md).[`did`](OwnershipProof.md#did)
|
|
78
|
+
|
|
79
|
+
#### Defined in
|
|
80
|
+
|
|
81
|
+
[types.ts:1018](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1018)
|
|
82
|
+
|
|
83
|
+
***
|
|
84
|
+
|
|
85
|
+
### proof
|
|
86
|
+
|
|
87
|
+
> **proof**: `string`
|
|
88
|
+
|
|
89
|
+
#### Defined in
|
|
90
|
+
|
|
91
|
+
[types.ts:1091](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1091)
|
|
92
|
+
|
|
93
|
+
***
|
|
94
|
+
|
|
95
|
+
### status
|
|
96
|
+
|
|
97
|
+
> **status**: [`ProofStatus`](../enumerations/ProofStatus.md)
|
|
98
|
+
|
|
99
|
+
#### Inherited from
|
|
100
|
+
|
|
101
|
+
[`OwnershipProof`](OwnershipProof.md).[`status`](OwnershipProof.md#status)
|
|
102
|
+
|
|
103
|
+
#### Defined in
|
|
104
|
+
|
|
105
|
+
[types.ts:1017](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1017)
|
|
106
|
+
|
|
107
|
+
***
|
|
108
|
+
|
|
109
|
+
### type
|
|
110
|
+
|
|
111
|
+
> **type**: [`MicroTransfer`](../enumerations/ProofTypes.md#microtransfer)
|
|
112
|
+
|
|
113
|
+
#### Overrides
|
|
114
|
+
|
|
115
|
+
[`OwnershipProof`](OwnershipProof.md).[`type`](OwnershipProof.md#type)
|
|
116
|
+
|
|
117
|
+
#### Defined in
|
|
118
|
+
|
|
119
|
+
[types.ts:1090](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1090)
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / NaturalPerson
|
|
6
|
+
|
|
7
|
+
# Interface: NaturalPerson
|
|
8
|
+
|
|
9
|
+
Interface representing a natural person (individual) involved in a transaction
|
|
10
|
+
|
|
11
|
+
## Remarks
|
|
12
|
+
|
|
13
|
+
Extends the baseinterface to add properties specific to individual persons:
|
|
14
|
+
- type: Must be PersonType.NATURAL to identify as an individual
|
|
15
|
+
- dateOfBirth: Optional ISO format birth date for identity verification
|
|
16
|
+
- placeOfBirth: Optional birth place for identity verification
|
|
17
|
+
- countryOfResidence: Optional ISO country code of current residence
|
|
18
|
+
- name: Required full legal name of the individual
|
|
19
|
+
|
|
20
|
+
This interface captures the additional identifying information required for
|
|
21
|
+
natural persons under FATF Travel Rule requirements. The properties align
|
|
22
|
+
with standard KYC (Know Your Customer) data collection practices.
|
|
23
|
+
|
|
24
|
+
## See
|
|
25
|
+
|
|
26
|
+
- [Counterparty](Counterparty.md) For base properties common to all counterparties
|
|
27
|
+
- [PersonType](../enumerations/PersonType.md) For person type classification
|
|
28
|
+
|
|
29
|
+
## Extends
|
|
30
|
+
|
|
31
|
+
- [`Counterparty`](Counterparty.md)
|
|
32
|
+
|
|
33
|
+
## Properties
|
|
34
|
+
|
|
35
|
+
### accountNumber?
|
|
36
|
+
|
|
37
|
+
> `optional` **accountNumber**: `string`
|
|
38
|
+
|
|
39
|
+
#### Inherited from
|
|
40
|
+
|
|
41
|
+
[`Counterparty`](Counterparty.md).[`accountNumber`](Counterparty.md#accountnumber)
|
|
42
|
+
|
|
43
|
+
#### Defined in
|
|
44
|
+
|
|
45
|
+
[types.ts:341](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L341)
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### countryOfResidence?
|
|
50
|
+
|
|
51
|
+
> `optional` **countryOfResidence**: `string`
|
|
52
|
+
|
|
53
|
+
#### Defined in
|
|
54
|
+
|
|
55
|
+
[types.ts:375](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L375)
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### dateOfBirth?
|
|
60
|
+
|
|
61
|
+
> `optional` **dateOfBirth**: \`$\{number\}-$\{number\}-$\{number\}\`
|
|
62
|
+
|
|
63
|
+
#### Defined in
|
|
64
|
+
|
|
65
|
+
[types.ts:373](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L373)
|
|
66
|
+
|
|
67
|
+
***
|
|
68
|
+
|
|
69
|
+
### did?
|
|
70
|
+
|
|
71
|
+
> `optional` **did**: \`did:$\{string\}:$\{string\}\`
|
|
72
|
+
|
|
73
|
+
#### Inherited from
|
|
74
|
+
|
|
75
|
+
[`Counterparty`](Counterparty.md).[`did`](Counterparty.md#did)
|
|
76
|
+
|
|
77
|
+
#### Defined in
|
|
78
|
+
|
|
79
|
+
[types.ts:342](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L342)
|
|
80
|
+
|
|
81
|
+
***
|
|
82
|
+
|
|
83
|
+
### email?
|
|
84
|
+
|
|
85
|
+
> `optional` **email**: `string`
|
|
86
|
+
|
|
87
|
+
#### Inherited from
|
|
88
|
+
|
|
89
|
+
[`Counterparty`](Counterparty.md).[`email`](Counterparty.md#email)
|
|
90
|
+
|
|
91
|
+
#### Defined in
|
|
92
|
+
|
|
93
|
+
[types.ts:349](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L349)
|
|
94
|
+
|
|
95
|
+
***
|
|
96
|
+
|
|
97
|
+
### geographicAddress?
|
|
98
|
+
|
|
99
|
+
> `optional` **geographicAddress**: [`Address`](../../ivms/types/type-aliases/Address.md)
|
|
100
|
+
|
|
101
|
+
#### Inherited from
|
|
102
|
+
|
|
103
|
+
[`Counterparty`](Counterparty.md).[`geographicAddress`](Counterparty.md#geographicaddress)
|
|
104
|
+
|
|
105
|
+
#### Defined in
|
|
106
|
+
|
|
107
|
+
[types.ts:345](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L345)
|
|
108
|
+
|
|
109
|
+
***
|
|
110
|
+
|
|
111
|
+
### name
|
|
112
|
+
|
|
113
|
+
> **name**: `string`
|
|
114
|
+
|
|
115
|
+
#### Overrides
|
|
116
|
+
|
|
117
|
+
[`Counterparty`](Counterparty.md).[`name`](Counterparty.md#name)
|
|
118
|
+
|
|
119
|
+
#### Defined in
|
|
120
|
+
|
|
121
|
+
[types.ts:376](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L376)
|
|
122
|
+
|
|
123
|
+
***
|
|
124
|
+
|
|
125
|
+
### nationalIdentification?
|
|
126
|
+
|
|
127
|
+
> `optional` **nationalIdentification**: [`NationalIdentification`](../../ivms/types/type-aliases/NationalIdentification.md)
|
|
128
|
+
|
|
129
|
+
#### Inherited from
|
|
130
|
+
|
|
131
|
+
[`Counterparty`](Counterparty.md).[`nationalIdentification`](Counterparty.md#nationalidentification)
|
|
132
|
+
|
|
133
|
+
#### Defined in
|
|
134
|
+
|
|
135
|
+
[types.ts:346](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L346)
|
|
136
|
+
|
|
137
|
+
***
|
|
138
|
+
|
|
139
|
+
### phone?
|
|
140
|
+
|
|
141
|
+
> `optional` **phone**: `string`
|
|
142
|
+
|
|
143
|
+
#### Inherited from
|
|
144
|
+
|
|
145
|
+
[`Counterparty`](Counterparty.md).[`phone`](Counterparty.md#phone)
|
|
146
|
+
|
|
147
|
+
#### Defined in
|
|
148
|
+
|
|
149
|
+
[types.ts:348](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L348)
|
|
150
|
+
|
|
151
|
+
***
|
|
152
|
+
|
|
153
|
+
### placeOfBirth?
|
|
154
|
+
|
|
155
|
+
> `optional` **placeOfBirth**: `string`
|
|
156
|
+
|
|
157
|
+
#### Defined in
|
|
158
|
+
|
|
159
|
+
[types.ts:374](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L374)
|
|
160
|
+
|
|
161
|
+
***
|
|
162
|
+
|
|
163
|
+
### type
|
|
164
|
+
|
|
165
|
+
> **type**: [`NATURAL`](../enumerations/PersonType.md#natural)
|
|
166
|
+
|
|
167
|
+
#### Overrides
|
|
168
|
+
|
|
169
|
+
[`Counterparty`](Counterparty.md).[`type`](Counterparty.md#type)
|
|
170
|
+
|
|
171
|
+
#### Defined in
|
|
172
|
+
|
|
173
|
+
[types.ts:372](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L372)
|
|
174
|
+
|
|
175
|
+
***
|
|
176
|
+
|
|
177
|
+
### verified?
|
|
178
|
+
|
|
179
|
+
> `optional` **verified**: `boolean`
|
|
180
|
+
|
|
181
|
+
#### Inherited from
|
|
182
|
+
|
|
183
|
+
[`Counterparty`](Counterparty.md).[`verified`](Counterparty.md#verified)
|
|
184
|
+
|
|
185
|
+
#### Defined in
|
|
186
|
+
|
|
187
|
+
[types.ts:344](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L344)
|
|
188
|
+
|
|
189
|
+
***
|
|
190
|
+
|
|
191
|
+
### website?
|
|
192
|
+
|
|
193
|
+
> `optional` **website**: `string`
|
|
194
|
+
|
|
195
|
+
#### Inherited from
|
|
196
|
+
|
|
197
|
+
[`Counterparty`](Counterparty.md).[`website`](Counterparty.md#website)
|
|
198
|
+
|
|
199
|
+
#### Defined in
|
|
200
|
+
|
|
201
|
+
[types.ts:347](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L347)
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / OwnershipProof
|
|
6
|
+
|
|
7
|
+
# Interface: OwnershipProof
|
|
8
|
+
|
|
9
|
+
Base interface for proving ownership of an account or address
|
|
10
|
+
|
|
11
|
+
## Remarks
|
|
12
|
+
|
|
13
|
+
TheOwnershipProof interface provides a common structure for different types of ownership verification:
|
|
14
|
+
- All proofs must specify their type from the supported ProofTypes enum
|
|
15
|
+
- Current verification status is tracked via ProofStatus
|
|
16
|
+
- Links the proof to a decentralized identifier (DID)
|
|
17
|
+
- Specifies the blockchain account/address being proven using CAIP-10 format
|
|
18
|
+
|
|
19
|
+
This interface is extended by specific proof types like:
|
|
20
|
+
- SignatureProof for cryptographic signatures
|
|
21
|
+
- DeclarationProof for self-declarations
|
|
22
|
+
- MicroTransferProof for transaction-based proof
|
|
23
|
+
- ScreenshotProof for image-based verification
|
|
24
|
+
|
|
25
|
+
## See
|
|
26
|
+
|
|
27
|
+
- [ProofTypes](../enumerations/ProofTypes.md) For supported proof methods
|
|
28
|
+
- [ProofStatus](../enumerations/ProofStatus.md) For possible verification states
|
|
29
|
+
- [CAIP10](../type-aliases/CAIP10.md) For address format specification
|
|
30
|
+
|
|
31
|
+
## Extended by
|
|
32
|
+
|
|
33
|
+
- [`SignatureProof`](SignatureProof.md)
|
|
34
|
+
- [`DeclarationProof`](DeclarationProof.md)
|
|
35
|
+
- [`ConnectionRecord`](ConnectionRecord.md)
|
|
36
|
+
- [`MicroTransferProof`](MicroTransferProof.md)
|
|
37
|
+
- [`ScreenshotProof`](ScreenshotProof.md)
|
|
38
|
+
|
|
39
|
+
## Properties
|
|
40
|
+
|
|
41
|
+
### address
|
|
42
|
+
|
|
43
|
+
> **address**: \`$\{string\}:$\{string\}:$\{string\}\`
|
|
44
|
+
|
|
45
|
+
#### Defined in
|
|
46
|
+
|
|
47
|
+
[types.ts:1019](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1019)
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### did
|
|
52
|
+
|
|
53
|
+
> **did**: \`did:$\{string\}:$\{string\}\`
|
|
54
|
+
|
|
55
|
+
#### Defined in
|
|
56
|
+
|
|
57
|
+
[types.ts:1018](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1018)
|
|
58
|
+
|
|
59
|
+
***
|
|
60
|
+
|
|
61
|
+
### status
|
|
62
|
+
|
|
63
|
+
> **status**: [`ProofStatus`](../enumerations/ProofStatus.md)
|
|
64
|
+
|
|
65
|
+
#### Defined in
|
|
66
|
+
|
|
67
|
+
[types.ts:1017](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1017)
|
|
68
|
+
|
|
69
|
+
***
|
|
70
|
+
|
|
71
|
+
### type
|
|
72
|
+
|
|
73
|
+
> **type**: [`ProofTypes`](../enumerations/ProofTypes.md)
|
|
74
|
+
|
|
75
|
+
#### Defined in
|
|
76
|
+
|
|
77
|
+
[types.ts:1016](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1016)
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
[**@notabene/javascript-sdk**](../../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / ScreenshotProof
|
|
6
|
+
|
|
7
|
+
# Interface: ScreenshotProof
|
|
8
|
+
|
|
9
|
+
Ownership Proof using Screenshot
|
|
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/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1019)
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### did
|
|
32
|
+
|
|
33
|
+
> **did**: \`did:$\{string\}:$\{string\}\`
|
|
34
|
+
|
|
35
|
+
#### Inherited from
|
|
36
|
+
|
|
37
|
+
[`OwnershipProof`](OwnershipProof.md).[`did`](OwnershipProof.md#did)
|
|
38
|
+
|
|
39
|
+
#### Defined in
|
|
40
|
+
|
|
41
|
+
[types.ts:1018](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1018)
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### status
|
|
46
|
+
|
|
47
|
+
> **status**: [`ProofStatus`](../enumerations/ProofStatus.md)
|
|
48
|
+
|
|
49
|
+
#### Inherited from
|
|
50
|
+
|
|
51
|
+
[`OwnershipProof`](OwnershipProof.md).[`status`](OwnershipProof.md#status)
|
|
52
|
+
|
|
53
|
+
#### Defined in
|
|
54
|
+
|
|
55
|
+
[types.ts:1017](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1017)
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### type
|
|
60
|
+
|
|
61
|
+
> **type**: [`Screenshot`](../enumerations/ProofTypes.md#screenshot)
|
|
62
|
+
|
|
63
|
+
#### Overrides
|
|
64
|
+
|
|
65
|
+
[`OwnershipProof`](OwnershipProof.md).[`type`](OwnershipProof.md#type)
|
|
66
|
+
|
|
67
|
+
#### Defined in
|
|
68
|
+
|
|
69
|
+
[types.ts:1103](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1103)
|
|
70
|
+
|
|
71
|
+
***
|
|
72
|
+
|
|
73
|
+
### url
|
|
74
|
+
|
|
75
|
+
> **url**: `string`
|
|
76
|
+
|
|
77
|
+
#### Defined in
|
|
78
|
+
|
|
79
|
+
[types.ts:1104](https://gitlab.com/notabene/open-source/javascript-sdk/-/blob/f75feb1dd5dd91003bcc9aa8429d05c94c878b06/src/types.ts#L1104)
|