@vality/swag-wallets 0.1.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/README.md +236 -0
- package/api/api.d.ts +23 -0
- package/api/currencies.service.d.ts +41 -0
- package/api/deposits.service.d.ts +171 -0
- package/api/downloads.service.d.ts +41 -0
- package/api/identities.service.d.ts +134 -0
- package/api/providers.service.d.ts +70 -0
- package/api/reports.service.d.ts +116 -0
- package/api/residences.service.d.ts +41 -0
- package/api/w2W.service.d.ts +71 -0
- package/api/wallets.service.d.ts +199 -0
- package/api/webhooks.service.d.ts +132 -0
- package/api/withdrawals.service.d.ts +410 -0
- package/api.base.service.d.ts +12 -0
- package/api.module.d.ts +11 -0
- package/configuration.d.ts +106 -0
- package/encoder.d.ts +11 -0
- package/fesm2022/vality-swag-wallets.mjs +3577 -0
- package/fesm2022/vality-swag-wallets.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/model/asset.d.ts +22 -0
- package/model/badRequest.d.ts +38 -0
- package/model/bankCardDestinationResource.d.ts +29 -0
- package/model/bankCardReceiverResource.d.ts +33 -0
- package/model/bankCardReceiverResourceParams.d.ts +29 -0
- package/model/bankCardSenderResource.d.ts +33 -0
- package/model/bankCardSenderResourceParams.d.ts +33 -0
- package/model/browserGetRequest.d.ts +16 -0
- package/model/browserPostRequest.d.ts +21 -0
- package/model/browserRequest.d.ts +15 -0
- package/model/conflictRequest.d.ts +23 -0
- package/model/contactInfo.d.ts +22 -0
- package/model/cryptoWallet.d.ts +22 -0
- package/model/cryptoWalletDestinationResource.d.ts +25 -0
- package/model/currency.d.ts +34 -0
- package/model/deposit.d.ts +56 -0
- package/model/depositAdjustment.d.ts +40 -0
- package/model/depositAdjustmentFailure.d.ts +17 -0
- package/model/depositAdjustmentStatus.d.ts +25 -0
- package/model/depositAdjustmentStatusFailure.d.ts +20 -0
- package/model/depositAllOfBody.d.ts +22 -0
- package/model/depositAllOfFee.d.ts +22 -0
- package/model/depositFailure.d.ts +17 -0
- package/model/depositRevert.d.ts +51 -0
- package/model/depositRevertAllOfBody.d.ts +22 -0
- package/model/depositRevertFailure.d.ts +17 -0
- package/model/depositRevertStatus.d.ts +25 -0
- package/model/depositRevertStatusFailure.d.ts +20 -0
- package/model/depositStatus.d.ts +25 -0
- package/model/depositStatusFailure.d.ts +20 -0
- package/model/destination.d.ts +65 -0
- package/model/destinationAuthData.d.ts +24 -0
- package/model/destinationGrantRequest.d.ts +22 -0
- package/model/destinationResource.d.ts +26 -0
- package/model/destinationStatus.d.ts +26 -0
- package/model/destinationsTopic.d.ts +27 -0
- package/model/digitalWallet.d.ts +34 -0
- package/model/digitalWalletDestinationResource.d.ts +37 -0
- package/model/fileDownload.d.ts +19 -0
- package/model/getWithdrawalMethods200Response.d.ts +13 -0
- package/model/identity.d.ts +46 -0
- package/model/invalidOperationParameters.d.ts +15 -0
- package/model/listDepositAdjustments200Response.d.ts +20 -0
- package/model/listDepositReverts200Response.d.ts +20 -0
- package/model/listDeposits200Response.d.ts +20 -0
- package/model/listDestinations200Response.d.ts +20 -0
- package/model/listIdentities200Response.d.ts +20 -0
- package/model/listWallets200Response.d.ts +20 -0
- package/model/listWithdrawals200Response.d.ts +20 -0
- package/model/models.d.ts +104 -0
- package/model/provider.d.ts +26 -0
- package/model/quoteParameters.d.ts +24 -0
- package/model/quoteParametersBody.d.ts +22 -0
- package/model/receiverResource.d.ts +24 -0
- package/model/receiverResourceParams.d.ts +24 -0
- package/model/redirect.d.ts +14 -0
- package/model/report.d.ts +49 -0
- package/model/reportFilesInner.d.ts +15 -0
- package/model/reportParams.d.ts +29 -0
- package/model/residence.d.ts +26 -0
- package/model/securedBankCard.d.ts +26 -0
- package/model/senderReceiverDestinationAuthData.d.ts +25 -0
- package/model/senderResource.d.ts +24 -0
- package/model/senderResourceParams.d.ts +24 -0
- package/model/subFailure.d.ts +19 -0
- package/model/userInteraction.d.ts +15 -0
- package/model/userInteractionChange.d.ts +22 -0
- package/model/userInteractionCreated.d.ts +16 -0
- package/model/userInteractionFinished.d.ts +14 -0
- package/model/userInteractionFormInner.d.ts +19 -0
- package/model/w2WTransfer.d.ts +38 -0
- package/model/w2WTransferFailure.d.ts +20 -0
- package/model/w2WTransferParameters.d.ts +28 -0
- package/model/w2WTransferParametersBody.d.ts +22 -0
- package/model/w2WTransferStatus.d.ts +25 -0
- package/model/w2WTransferStatusFailure.d.ts +20 -0
- package/model/wallet.d.ts +46 -0
- package/model/walletAccount.d.ts +18 -0
- package/model/walletAccountAvailable.d.ts +22 -0
- package/model/walletAccountOwn.d.ts +22 -0
- package/model/walletGrantRequest.d.ts +24 -0
- package/model/walletGrantRequestAsset.d.ts +22 -0
- package/model/webhook.d.ts +33 -0
- package/model/webhookScope.d.ts +25 -0
- package/model/withdrawal.d.ts +58 -0
- package/model/withdrawalAllOfBody.d.ts +22 -0
- package/model/withdrawalAllOfQuote.d.ts +24 -0
- package/model/withdrawalEvent.d.ts +24 -0
- package/model/withdrawalEventChange.d.ts +24 -0
- package/model/withdrawalFailure.d.ts +17 -0
- package/model/withdrawalMethod.d.ts +23 -0
- package/model/withdrawalMethodBankCard.d.ts +18 -0
- package/model/withdrawalMethodDigitalWallet.d.ts +18 -0
- package/model/withdrawalMethodGeneric.d.ts +18 -0
- package/model/withdrawalParameters.d.ts +70 -0
- package/model/withdrawalQuote.d.ts +30 -0
- package/model/withdrawalQuoteCashFrom.d.ts +22 -0
- package/model/withdrawalQuoteCashTo.d.ts +22 -0
- package/model/withdrawalQuoteParams.d.ts +44 -0
- package/model/withdrawalQuoteParamsCash.d.ts +22 -0
- package/model/withdrawalReadQuote.d.ts +26 -0
- package/model/withdrawalStatus.d.ts +25 -0
- package/model/withdrawalStatusChanged.d.ts +29 -0
- package/model/withdrawalStatusFailure.d.ts +20 -0
- package/model/withdrawalsTopic.d.ts +31 -0
- package/package.json +34 -0
- package/param.d.ts +37 -0
- package/variables.d.ts +8 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { DepositRevertAllOfBody } from './depositRevertAllOfBody';
|
|
11
|
+
import { DepositRevertStatusFailure } from './depositRevertStatusFailure';
|
|
12
|
+
/**
|
|
13
|
+
* Deposit revert data
|
|
14
|
+
*/
|
|
15
|
+
export interface DepositRevert {
|
|
16
|
+
/**
|
|
17
|
+
* Deposit revert status. | Meaning | Explanation | | ----------- | ------------------------------------------------------- | | `Pending` | Deposit revert in progress | | `Succeeded` | Deposit revert completed successfully | | `Failed` | Deposit revert failed |
|
|
18
|
+
*/
|
|
19
|
+
readonly status?: DepositRevert.StatusEnum;
|
|
20
|
+
failure?: DepositRevertStatusFailure;
|
|
21
|
+
/**
|
|
22
|
+
* Deposit revert identifier
|
|
23
|
+
*/
|
|
24
|
+
readonly id?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Date and time of revert start
|
|
27
|
+
*/
|
|
28
|
+
readonly createdAt?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Identifier of the wallet
|
|
31
|
+
*/
|
|
32
|
+
wallet: string;
|
|
33
|
+
/**
|
|
34
|
+
* Funds source identifier
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
37
|
+
body: DepositRevertAllOfBody;
|
|
38
|
+
reason?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The unique identifier of the entity on your side. When specified, will be used to ensure idempotent processing of the operation.
|
|
41
|
+
*/
|
|
42
|
+
externalID?: string;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace DepositRevert {
|
|
45
|
+
type StatusEnum = 'Pending' | 'Succeeded' | 'Failed';
|
|
46
|
+
const StatusEnum: {
|
|
47
|
+
Pending: StatusEnum;
|
|
48
|
+
Succeeded: StatusEnum;
|
|
49
|
+
Failed: StatusEnum;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Amount of funds
|
|
12
|
+
*/
|
|
13
|
+
export interface DepositRevertAllOfBody {
|
|
14
|
+
/**
|
|
15
|
+
* The amount of money in minor units, for example, in cents
|
|
16
|
+
*/
|
|
17
|
+
amount: number;
|
|
18
|
+
/**
|
|
19
|
+
* Currency character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).
|
|
20
|
+
*/
|
|
21
|
+
currency: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { SubFailure } from './subFailure';
|
|
11
|
+
export interface DepositRevertFailure {
|
|
12
|
+
/**
|
|
13
|
+
* Deposit revert error code
|
|
14
|
+
*/
|
|
15
|
+
code: string;
|
|
16
|
+
subError?: SubFailure;
|
|
17
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { DepositRevertStatusFailure } from './depositRevertStatusFailure';
|
|
11
|
+
export interface DepositRevertStatus {
|
|
12
|
+
/**
|
|
13
|
+
* Deposit revert status. | Meaning | Explanation | | ----------- | ------------------------------------------------------- | | `Pending` | Deposit revert in progress | | `Succeeded` | Deposit revert completed successfully | | `Failed` | Deposit revert failed |
|
|
14
|
+
*/
|
|
15
|
+
readonly status?: DepositRevertStatus.StatusEnum;
|
|
16
|
+
failure?: DepositRevertStatusFailure;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace DepositRevertStatus {
|
|
19
|
+
type StatusEnum = 'Pending' | 'Succeeded' | 'Failed';
|
|
20
|
+
const StatusEnum: {
|
|
21
|
+
Pending: StatusEnum;
|
|
22
|
+
Succeeded: StatusEnum;
|
|
23
|
+
Failed: StatusEnum;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { SubFailure } from './subFailure';
|
|
11
|
+
/**
|
|
12
|
+
* > If `status` == `Failed` Explanation of the reason for failure
|
|
13
|
+
*/
|
|
14
|
+
export interface DepositRevertStatusFailure {
|
|
15
|
+
/**
|
|
16
|
+
* Deposit revert error code
|
|
17
|
+
*/
|
|
18
|
+
code: string;
|
|
19
|
+
subError?: SubFailure;
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { DepositStatusFailure } from './depositStatusFailure';
|
|
11
|
+
export interface DepositStatus {
|
|
12
|
+
/**
|
|
13
|
+
* Status of deposit. | Meaning | Explanation | | ----------- | ------------------------------------------------ | | `Pending` | Deposit in progress | | `Succeeded` | Deposit of funds made successfully | | `Failed` | Deposit of funds ended in failure |
|
|
14
|
+
*/
|
|
15
|
+
readonly status?: DepositStatus.StatusEnum;
|
|
16
|
+
failure?: DepositStatusFailure;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace DepositStatus {
|
|
19
|
+
type StatusEnum = 'Pending' | 'Succeeded' | 'Failed';
|
|
20
|
+
const StatusEnum: {
|
|
21
|
+
Pending: StatusEnum;
|
|
22
|
+
Succeeded: StatusEnum;
|
|
23
|
+
Failed: StatusEnum;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { SubFailure } from './subFailure';
|
|
11
|
+
/**
|
|
12
|
+
* > If `status` == `Failed` Explanation of the reason for failure
|
|
13
|
+
*/
|
|
14
|
+
export interface DepositStatusFailure {
|
|
15
|
+
/**
|
|
16
|
+
* Deposit error code
|
|
17
|
+
*/
|
|
18
|
+
code: string;
|
|
19
|
+
subError?: SubFailure;
|
|
20
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { DestinationAuthData } from './destinationAuthData';
|
|
11
|
+
import { DestinationResource } from './destinationResource';
|
|
12
|
+
/**
|
|
13
|
+
* Destination data
|
|
14
|
+
*/
|
|
15
|
+
export interface Destination {
|
|
16
|
+
/**
|
|
17
|
+
* The status of the destination. | Meaning | Explanation | | -------------- | --------------------------------------------- | | `Unauthorized` | Not authorized by the owner to withdraw funds | | `Authorized` | Authorized by the owner to withdraw funds |
|
|
18
|
+
*/
|
|
19
|
+
readonly status?: Destination.StatusEnum;
|
|
20
|
+
/**
|
|
21
|
+
* > If `status` == `Authorized` Date and time until which authorization is valid
|
|
22
|
+
*/
|
|
23
|
+
readonly validUntil?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Destination identifier
|
|
26
|
+
*/
|
|
27
|
+
readonly id?: string;
|
|
28
|
+
/**
|
|
29
|
+
* A human-readable name for the destination by which it is easily recognizable
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
* Date and time of creation of the destination of the funds
|
|
34
|
+
*/
|
|
35
|
+
readonly createdAt?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Is the destination blocked?
|
|
38
|
+
*/
|
|
39
|
+
readonly isBlocked?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Identifier of wallet owner
|
|
42
|
+
*/
|
|
43
|
+
identity: string;
|
|
44
|
+
/**
|
|
45
|
+
* Currency character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).
|
|
46
|
+
*/
|
|
47
|
+
currency: string;
|
|
48
|
+
resource: DestinationResource;
|
|
49
|
+
additionalAuthData?: DestinationAuthData;
|
|
50
|
+
/**
|
|
51
|
+
* Some non-transparent for system set of data associated with this destination
|
|
52
|
+
*/
|
|
53
|
+
metadata?: object;
|
|
54
|
+
/**
|
|
55
|
+
* The unique identifier of the entity on your side. When specified, will be used to ensure idempotent processing of the operation.
|
|
56
|
+
*/
|
|
57
|
+
externalID?: string;
|
|
58
|
+
}
|
|
59
|
+
export declare namespace Destination {
|
|
60
|
+
type StatusEnum = 'Unauthorized' | 'Authorized';
|
|
61
|
+
const StatusEnum: {
|
|
62
|
+
Unauthorized: StatusEnum;
|
|
63
|
+
Authorized: StatusEnum;
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Destination auth data to make withdrawals
|
|
12
|
+
*/
|
|
13
|
+
export interface DestinationAuthData {
|
|
14
|
+
/**
|
|
15
|
+
* The auth data type of the destination.
|
|
16
|
+
*/
|
|
17
|
+
type: DestinationAuthData.TypeEnum;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace DestinationAuthData {
|
|
20
|
+
type TypeEnum = 'SenderReceiverDestinationAuthData';
|
|
21
|
+
const TypeEnum: {
|
|
22
|
+
SenderReceiverDestinationAuthData: TypeEnum;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Request for the permission to control the withdrawals to the destination
|
|
12
|
+
*/
|
|
13
|
+
export interface DestinationGrantRequest {
|
|
14
|
+
/**
|
|
15
|
+
* Token granting the permission to control the withdrawals
|
|
16
|
+
*/
|
|
17
|
+
readonly token?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The date and time by which the granted right is valid
|
|
20
|
+
*/
|
|
21
|
+
validUntil: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Destination resource used to make withdrawals
|
|
12
|
+
*/
|
|
13
|
+
export interface DestinationResource {
|
|
14
|
+
/**
|
|
15
|
+
* The resource type of the destination. See [Vality Withdrawal Resource API](?api/payres/swagger.yaml).
|
|
16
|
+
*/
|
|
17
|
+
type: DestinationResource.TypeEnum;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace DestinationResource {
|
|
20
|
+
type TypeEnum = 'BankCardDestinationResource' | 'CryptoWalletDestinationResource' | 'DigitalWalletDestinationResource';
|
|
21
|
+
const TypeEnum: {
|
|
22
|
+
BankCardDestinationResource: TypeEnum;
|
|
23
|
+
CryptoWalletDestinationResource: TypeEnum;
|
|
24
|
+
DigitalWalletDestinationResource: TypeEnum;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
export interface DestinationStatus {
|
|
11
|
+
/**
|
|
12
|
+
* The status of the destination. | Meaning | Explanation | | -------------- | --------------------------------------------- | | `Unauthorized` | Not authorized by the owner to withdraw funds | | `Authorized` | Authorized by the owner to withdraw funds |
|
|
13
|
+
*/
|
|
14
|
+
readonly status?: DestinationStatus.StatusEnum;
|
|
15
|
+
/**
|
|
16
|
+
* > If `status` == `Authorized` Date and time until which authorization is valid
|
|
17
|
+
*/
|
|
18
|
+
readonly validUntil?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace DestinationStatus {
|
|
21
|
+
type StatusEnum = 'Unauthorized' | 'Authorized';
|
|
22
|
+
const StatusEnum: {
|
|
23
|
+
Unauthorized: StatusEnum;
|
|
24
|
+
Authorized: StatusEnum;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { WebhookScope } from './webhookScope';
|
|
11
|
+
/**
|
|
12
|
+
* A coverage area that includes events by asset destinations within a particular wallet
|
|
13
|
+
*/
|
|
14
|
+
export interface DestinationsTopic extends WebhookScope {
|
|
15
|
+
/**
|
|
16
|
+
* Set of event types of the destination, which should be notified
|
|
17
|
+
*/
|
|
18
|
+
eventTypes: Array<DestinationsTopic.EventTypesEnum>;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace DestinationsTopic {
|
|
21
|
+
type EventTypesEnum = 'DestinationCreated' | 'DestinationUnauthorized' | 'DestinationAuthorized';
|
|
22
|
+
const EventTypesEnum: {
|
|
23
|
+
DestinationCreated: EventTypesEnum;
|
|
24
|
+
DestinationUnauthorized: EventTypesEnum;
|
|
25
|
+
DestinationAuthorized: EventTypesEnum;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Digital wallet data
|
|
12
|
+
*/
|
|
13
|
+
export interface DigitalWallet {
|
|
14
|
+
/**
|
|
15
|
+
* Digital wallet ID
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* Name of the owner of the personal account to which the withdrawal will be made
|
|
20
|
+
*/
|
|
21
|
+
accountName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* National identification number of the wallet owner
|
|
24
|
+
*/
|
|
25
|
+
accountIdentityNumber?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Digital wallet provider. The set of providers available for making withdrawals can be found by calling corresponding [operation](#operation/getWithdrawalMethods).
|
|
28
|
+
*/
|
|
29
|
+
provider: string;
|
|
30
|
+
/**
|
|
31
|
+
* A string containing authorization data for transactions on this digital wallet
|
|
32
|
+
*/
|
|
33
|
+
token?: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { DestinationResource } from './destinationResource';
|
|
11
|
+
/**
|
|
12
|
+
* Digital wallet
|
|
13
|
+
*/
|
|
14
|
+
export interface DigitalWalletDestinationResource extends DestinationResource {
|
|
15
|
+
/**
|
|
16
|
+
* Digital wallet ID
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Name of the owner of the personal account to which the withdrawal will be made
|
|
21
|
+
*/
|
|
22
|
+
accountName?: string;
|
|
23
|
+
/**
|
|
24
|
+
* National identification number of the wallet owner
|
|
25
|
+
*/
|
|
26
|
+
accountIdentityNumber?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Digital wallet provider. The set of providers available for making withdrawals can be found by calling corresponding [operation](#operation/getWithdrawalMethods).
|
|
29
|
+
*/
|
|
30
|
+
provider: string;
|
|
31
|
+
/**
|
|
32
|
+
* A string containing authorization data for transactions on this digital wallet
|
|
33
|
+
*/
|
|
34
|
+
token?: string;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace DigitalWalletDestinationResource {
|
|
37
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
export interface FileDownload {
|
|
11
|
+
/**
|
|
12
|
+
* URL of the file
|
|
13
|
+
*/
|
|
14
|
+
url: string;
|
|
15
|
+
/**
|
|
16
|
+
* The date and time by which the link will be valid
|
|
17
|
+
*/
|
|
18
|
+
expiresAt: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { WithdrawalMethod } from './withdrawalMethod';
|
|
11
|
+
export interface GetWithdrawalMethods200Response {
|
|
12
|
+
methods?: Array<WithdrawalMethod>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Data of the wallet owner
|
|
12
|
+
*/
|
|
13
|
+
export interface Identity {
|
|
14
|
+
/**
|
|
15
|
+
* Identifier of wallet owner
|
|
16
|
+
*/
|
|
17
|
+
readonly id?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Human-readable name of the owner\'s identity, by which he can be easily identified
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Date and time the owner identity was created
|
|
24
|
+
*/
|
|
25
|
+
readonly createdAt?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Identifier of the service provider
|
|
28
|
+
*/
|
|
29
|
+
provider: string;
|
|
30
|
+
/**
|
|
31
|
+
* Is the owner\'s identity blocked?
|
|
32
|
+
*/
|
|
33
|
+
readonly isBlocked?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Some non-transparent for system set of data associated with this identity
|
|
36
|
+
*/
|
|
37
|
+
metadata?: object;
|
|
38
|
+
/**
|
|
39
|
+
* The unique identifier of the entity on your side. When specified, will be used to ensure idempotent processing of the operation.
|
|
40
|
+
*/
|
|
41
|
+
externalID?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The participant\'s unique identifier within the system.
|
|
44
|
+
*/
|
|
45
|
+
partyID?: string;
|
|
46
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Invalid input data for operation
|
|
12
|
+
*/
|
|
13
|
+
export interface InvalidOperationParameters {
|
|
14
|
+
message?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { DepositAdjustment } from './depositAdjustment';
|
|
11
|
+
export interface ListDepositAdjustments200Response {
|
|
12
|
+
/**
|
|
13
|
+
* A token signalling that only part of the data has been transmitted in the response. To retrieve the next part, you need repeat the request to the service again, specifying the same set of conditions and the received token. If there is no token, the last piece of data is received.
|
|
14
|
+
*/
|
|
15
|
+
continuationToken?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Found adjustments
|
|
18
|
+
*/
|
|
19
|
+
result?: Array<DepositAdjustment>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { DepositRevert } from './depositRevert';
|
|
11
|
+
export interface ListDepositReverts200Response {
|
|
12
|
+
/**
|
|
13
|
+
* A token signalling that only part of the data has been transmitted in the response. To retrieve the next part, you need repeat the request to the service again, specifying the same set of conditions and the received token. If there is no token, the last piece of data is received.
|
|
14
|
+
*/
|
|
15
|
+
continuationToken?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Found reverts
|
|
18
|
+
*/
|
|
19
|
+
result?: Array<DepositRevert>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { Deposit } from './deposit';
|
|
11
|
+
export interface ListDeposits200Response {
|
|
12
|
+
/**
|
|
13
|
+
* A token signalling that only part of the data has been transmitted in the response. To retrieve the next part, you need repeat the request to the service again, specifying the same set of conditions and the received token. If there is no token, the last piece of data is received.
|
|
14
|
+
*/
|
|
15
|
+
continuationToken?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Found deposits
|
|
18
|
+
*/
|
|
19
|
+
result?: Array<Deposit>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { Destination } from './destination';
|
|
11
|
+
export interface ListDestinations200Response {
|
|
12
|
+
/**
|
|
13
|
+
* A token signalling that only part of the data has been transmitted in the response. To retrieve the next part, you need repeat the request to the service again, specifying the same set of conditions and the received token. If there is no token, the last piece of data is received.
|
|
14
|
+
*/
|
|
15
|
+
continuationToken?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Destinations found
|
|
18
|
+
*/
|
|
19
|
+
result?: Array<Destination>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Wallet API
|
|
3
|
+
*
|
|
4
|
+
* Contact: support@vality.dev
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { Identity } from './identity';
|
|
11
|
+
export interface ListIdentities200Response {
|
|
12
|
+
/**
|
|
13
|
+
* A token signalling that only part of the data has been transmitted in the response. To retrieve the next part, you need repeat the request to the service again, specifying the same set of conditions and the received token. If there is no token, the last piece of data is received.
|
|
14
|
+
*/
|
|
15
|
+
continuationToken?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Identities found
|
|
18
|
+
*/
|
|
19
|
+
result?: Array<Identity>;
|
|
20
|
+
}
|