@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
package/index.d.ts
ADDED
package/model/asset.d.ts
ADDED
|
@@ -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
|
+
* The amount of money
|
|
12
|
+
*/
|
|
13
|
+
export interface Asset {
|
|
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,38 @@
|
|
|
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 BadRequest {
|
|
11
|
+
/**
|
|
12
|
+
* Error type
|
|
13
|
+
*/
|
|
14
|
+
errorType: BadRequest.ErrorTypeEnum;
|
|
15
|
+
/**
|
|
16
|
+
* Name or identifier of message element containing invalid data
|
|
17
|
+
*/
|
|
18
|
+
name?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Explanation of why the data is invalid
|
|
21
|
+
*/
|
|
22
|
+
description?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace BadRequest {
|
|
25
|
+
type ErrorTypeEnum = 'SchemaViolated' | 'NotFound' | 'WrongType' | 'NotInRange' | 'WrongSize' | 'WrongLength' | 'WrongArray' | 'NoMatch' | 'InvalidResourceToken' | 'InvalidToken';
|
|
26
|
+
const ErrorTypeEnum: {
|
|
27
|
+
SchemaViolated: ErrorTypeEnum;
|
|
28
|
+
NotFound: ErrorTypeEnum;
|
|
29
|
+
WrongType: ErrorTypeEnum;
|
|
30
|
+
NotInRange: ErrorTypeEnum;
|
|
31
|
+
WrongSize: ErrorTypeEnum;
|
|
32
|
+
WrongLength: ErrorTypeEnum;
|
|
33
|
+
WrongArray: ErrorTypeEnum;
|
|
34
|
+
NoMatch: ErrorTypeEnum;
|
|
35
|
+
InvalidResourceToken: ErrorTypeEnum;
|
|
36
|
+
InvalidToken: ErrorTypeEnum;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
* Card
|
|
13
|
+
*/
|
|
14
|
+
export interface BankCardDestinationResource extends DestinationResource {
|
|
15
|
+
/**
|
|
16
|
+
* Token identifying the original card data
|
|
17
|
+
*/
|
|
18
|
+
token: string;
|
|
19
|
+
/**
|
|
20
|
+
* [Identification number][1] of the card issuing bank [1]: https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN)
|
|
21
|
+
*/
|
|
22
|
+
readonly bin?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Card last digits
|
|
25
|
+
*/
|
|
26
|
+
readonly lastDigits?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace BankCardDestinationResource {
|
|
29
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { ReceiverResource } from './receiverResource';
|
|
11
|
+
/**
|
|
12
|
+
* Card
|
|
13
|
+
*/
|
|
14
|
+
export interface BankCardReceiverResource extends ReceiverResource {
|
|
15
|
+
/**
|
|
16
|
+
* Token identifying the original card data
|
|
17
|
+
*/
|
|
18
|
+
token: string;
|
|
19
|
+
/**
|
|
20
|
+
* [Identification number][1] of the card issuing bank [1]: https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN)
|
|
21
|
+
*/
|
|
22
|
+
readonly bin?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Card last digits
|
|
25
|
+
*/
|
|
26
|
+
readonly lastDigits?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Payment system. The set of systems available for making withdrawals can be found by calling the corresponding [operation](#operation/getWithdrawalMethods).
|
|
29
|
+
*/
|
|
30
|
+
readonly paymentSystem?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace BankCardReceiverResource {
|
|
33
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { ReceiverResourceParams } from './receiverResourceParams';
|
|
11
|
+
/**
|
|
12
|
+
* Банковская карта
|
|
13
|
+
*/
|
|
14
|
+
export interface BankCardReceiverResourceParams extends ReceiverResourceParams {
|
|
15
|
+
/**
|
|
16
|
+
* Token identifying the original card data
|
|
17
|
+
*/
|
|
18
|
+
token: string;
|
|
19
|
+
/**
|
|
20
|
+
* [Identification number][1] of the card issuing bank [1]: https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN)
|
|
21
|
+
*/
|
|
22
|
+
readonly bin?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Card last digits
|
|
25
|
+
*/
|
|
26
|
+
readonly lastDigits?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace BankCardReceiverResourceParams {
|
|
29
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { SenderResource } from './senderResource';
|
|
11
|
+
/**
|
|
12
|
+
* Банковская карта
|
|
13
|
+
*/
|
|
14
|
+
export interface BankCardSenderResource extends SenderResource {
|
|
15
|
+
/**
|
|
16
|
+
* Token identifying the original card data
|
|
17
|
+
*/
|
|
18
|
+
token: string;
|
|
19
|
+
/**
|
|
20
|
+
* [Identification number][1] of the card issuing bank [1]: https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN)
|
|
21
|
+
*/
|
|
22
|
+
readonly bin?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Card last digits
|
|
25
|
+
*/
|
|
26
|
+
readonly lastDigits?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Payment system. The set of systems available for making withdrawals can be found by calling the corresponding [operation](#operation/getWithdrawalMethods).
|
|
29
|
+
*/
|
|
30
|
+
readonly paymentSystem?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace BankCardSenderResource {
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { SenderResourceParams } from './senderResourceParams';
|
|
11
|
+
/**
|
|
12
|
+
* Card
|
|
13
|
+
*/
|
|
14
|
+
export interface BankCardSenderResourceParams extends SenderResourceParams {
|
|
15
|
+
/**
|
|
16
|
+
* Token identifying the original card data
|
|
17
|
+
*/
|
|
18
|
+
token: string;
|
|
19
|
+
/**
|
|
20
|
+
* [Identification number][1] of the card issuing bank [1]: https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN)
|
|
21
|
+
*/
|
|
22
|
+
readonly bin?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Card last digits
|
|
25
|
+
*/
|
|
26
|
+
readonly lastDigits?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Authorization data received when saving the card
|
|
29
|
+
*/
|
|
30
|
+
authData: string;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace BankCardSenderResourceParams {
|
|
33
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { BrowserRequest } from './browserRequest';
|
|
11
|
+
export interface BrowserGetRequest extends BrowserRequest {
|
|
12
|
+
/**
|
|
13
|
+
* URL value template for browser navigation The template is represented according to the standard [RFC6570](https://tools.ietf.org/html/rfc6570).
|
|
14
|
+
*/
|
|
15
|
+
uriTemplate: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { BrowserRequest } from './browserRequest';
|
|
11
|
+
import { UserInteractionFormInner } from './userInteractionFormInner';
|
|
12
|
+
export interface BrowserPostRequest extends BrowserRequest {
|
|
13
|
+
/**
|
|
14
|
+
* URL value template for form submission The template is represented according to the standard [RFC6570](https://tools.ietf.org/html/rfc6570).
|
|
15
|
+
*/
|
|
16
|
+
uriTemplate: string;
|
|
17
|
+
/**
|
|
18
|
+
* Browser submission form
|
|
19
|
+
*/
|
|
20
|
+
form: Array<UserInteractionFormInner>;
|
|
21
|
+
}
|
|
@@ -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
|
+
export interface BrowserRequest {
|
|
11
|
+
/**
|
|
12
|
+
* Type of browser operation
|
|
13
|
+
*/
|
|
14
|
+
requestType: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 ConflictRequest {
|
|
11
|
+
/**
|
|
12
|
+
* The passed value of `externalID` for which a request parameter conflict was detected
|
|
13
|
+
*/
|
|
14
|
+
externalID?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Identifier of the entity, created by a previous query with the specified `externalID\'
|
|
17
|
+
*/
|
|
18
|
+
id?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Human-readable description of the error
|
|
21
|
+
*/
|
|
22
|
+
message?: string;
|
|
23
|
+
}
|
|
@@ -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
|
+
* Contact details
|
|
12
|
+
*/
|
|
13
|
+
export interface ContactInfo {
|
|
14
|
+
/**
|
|
15
|
+
* Email address
|
|
16
|
+
*/
|
|
17
|
+
email?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Mobile phone number with international prefix according to [E.164](https://en.wikipedia.org/wiki/E.164).
|
|
20
|
+
*/
|
|
21
|
+
phoneNumber?: string;
|
|
22
|
+
}
|
|
@@ -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
|
+
* Cryptocurrency wallet details
|
|
12
|
+
*/
|
|
13
|
+
export interface CryptoWallet {
|
|
14
|
+
/**
|
|
15
|
+
* Identifier (aka address) of a cryptocurrency wallet
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* Cryptocurrency. The set of cryptocurrencies available for withdrawals can be found out by calling the appropriate [operation](#operation/getWithdrawalMethods).
|
|
20
|
+
*/
|
|
21
|
+
currency: string;
|
|
22
|
+
}
|
|
@@ -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 { DestinationResource } from './destinationResource';
|
|
11
|
+
/**
|
|
12
|
+
* Cryptocurrency funds
|
|
13
|
+
*/
|
|
14
|
+
export interface CryptoWalletDestinationResource extends DestinationResource {
|
|
15
|
+
/**
|
|
16
|
+
* Identifier (aka address) of a cryptocurrency wallet
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Cryptocurrency. The set of cryptocurrencies available for withdrawals can be found out by calling the appropriate [operation](#operation/getWithdrawalMethods).
|
|
21
|
+
*/
|
|
22
|
+
currency: string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace CryptoWalletDestinationResource {
|
|
25
|
+
}
|
|
@@ -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
|
+
* Currency description
|
|
12
|
+
*/
|
|
13
|
+
export interface Currency {
|
|
14
|
+
/**
|
|
15
|
+
* Currency character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* Digital currency code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm)
|
|
20
|
+
*/
|
|
21
|
+
numericCode: string;
|
|
22
|
+
/**
|
|
23
|
+
* Human readable currency name
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* Currency unit sign
|
|
28
|
+
*/
|
|
29
|
+
sign?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The number of acceptable decimal places in the amount of funds, in which the number of minor monetary units can be indicated
|
|
32
|
+
*/
|
|
33
|
+
exponent: number;
|
|
34
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { DepositAllOfBody } from './depositAllOfBody';
|
|
11
|
+
import { DepositStatusFailure } from './depositStatusFailure';
|
|
12
|
+
import { DepositAllOfFee } from './depositAllOfFee';
|
|
13
|
+
/**
|
|
14
|
+
* Deposit data
|
|
15
|
+
*/
|
|
16
|
+
export interface Deposit {
|
|
17
|
+
/**
|
|
18
|
+
* Status of deposit. | Meaning | Explanation | | ----------- | ------------------------------------------------ | | `Pending` | Deposit in progress | | `Succeeded` | Deposit of funds made successfully | | `Failed` | Deposit of funds ended in failure |
|
|
19
|
+
*/
|
|
20
|
+
readonly status?: Deposit.StatusEnum;
|
|
21
|
+
failure?: DepositStatusFailure;
|
|
22
|
+
/**
|
|
23
|
+
* Deposit identifier
|
|
24
|
+
*/
|
|
25
|
+
readonly id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Deposit start date and time
|
|
28
|
+
*/
|
|
29
|
+
readonly createdAt?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Identifier of the wallet
|
|
32
|
+
*/
|
|
33
|
+
wallet: string;
|
|
34
|
+
/**
|
|
35
|
+
* Funds source identifier
|
|
36
|
+
*/
|
|
37
|
+
source: string;
|
|
38
|
+
body: DepositAllOfBody;
|
|
39
|
+
fee?: DepositAllOfFee;
|
|
40
|
+
/**
|
|
41
|
+
* The unique identifier of the entity on your side. When specified, will be used to ensure idempotent processing of the operation.
|
|
42
|
+
*/
|
|
43
|
+
externalID?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Deposit information
|
|
46
|
+
*/
|
|
47
|
+
desc?: string;
|
|
48
|
+
}
|
|
49
|
+
export declare namespace Deposit {
|
|
50
|
+
type StatusEnum = 'Pending' | 'Succeeded' | 'Failed';
|
|
51
|
+
const StatusEnum: {
|
|
52
|
+
Pending: StatusEnum;
|
|
53
|
+
Succeeded: StatusEnum;
|
|
54
|
+
Failed: StatusEnum;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { DepositAdjustmentStatusFailure } from './depositAdjustmentStatusFailure';
|
|
11
|
+
/**
|
|
12
|
+
* Deposit adjustment data
|
|
13
|
+
*/
|
|
14
|
+
export interface DepositAdjustment {
|
|
15
|
+
/**
|
|
16
|
+
* Deposit adjustment status. | Meaning | Explanation | | ----------- | ------------------------------------------------------- | | `Pending` | Adjustment in progress | | `Succeeded` | Adjustment completed successfully | | `Failed` | Adjustment failed |
|
|
17
|
+
*/
|
|
18
|
+
readonly status?: DepositAdjustment.StatusEnum;
|
|
19
|
+
failure?: DepositAdjustmentStatusFailure;
|
|
20
|
+
/**
|
|
21
|
+
* Deposit adjustment identifier
|
|
22
|
+
*/
|
|
23
|
+
readonly id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Date and time the adjustment was started
|
|
26
|
+
*/
|
|
27
|
+
readonly createdAt?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The unique identifier of the entity on your side. When specified, will be used to ensure idempotent processing of the operation.
|
|
30
|
+
*/
|
|
31
|
+
externalID?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace DepositAdjustment {
|
|
34
|
+
type StatusEnum = 'Pending' | 'Succeeded' | 'Failed';
|
|
35
|
+
const StatusEnum: {
|
|
36
|
+
Pending: StatusEnum;
|
|
37
|
+
Succeeded: StatusEnum;
|
|
38
|
+
Failed: StatusEnum;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -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 DepositAdjustmentFailure {
|
|
12
|
+
/**
|
|
13
|
+
* Adjustment 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 { DepositAdjustmentStatusFailure } from './depositAdjustmentStatusFailure';
|
|
11
|
+
export interface DepositAdjustmentStatus {
|
|
12
|
+
/**
|
|
13
|
+
* Deposit adjustment status. | Meaning | Explanation | | ----------- | ------------------------------------------------------- | | `Pending` | Adjustment in progress | | `Succeeded` | Adjustment completed successfully | | `Failed` | Adjustment failed |
|
|
14
|
+
*/
|
|
15
|
+
readonly status?: DepositAdjustmentStatus.StatusEnum;
|
|
16
|
+
failure?: DepositAdjustmentStatusFailure;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace DepositAdjustmentStatus {
|
|
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 DepositAdjustmentStatusFailure {
|
|
15
|
+
/**
|
|
16
|
+
* Adjustment error code
|
|
17
|
+
*/
|
|
18
|
+
code: string;
|
|
19
|
+
subError?: SubFailure;
|
|
20
|
+
}
|
|
@@ -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
|
+
* The amount of funds received
|
|
12
|
+
*/
|
|
13
|
+
export interface DepositAllOfBody {
|
|
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,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
|
+
* Fee amount
|
|
12
|
+
*/
|
|
13
|
+
export interface DepositAllOfFee {
|
|
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 DepositFailure {
|
|
12
|
+
/**
|
|
13
|
+
* Deposit error code
|
|
14
|
+
*/
|
|
15
|
+
code: string;
|
|
16
|
+
subError?: SubFailure;
|
|
17
|
+
}
|