@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,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 { Wallet } from './wallet';
|
|
11
|
+
export interface ListWallets200Response {
|
|
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
|
+
* Wallets found
|
|
18
|
+
*/
|
|
19
|
+
result?: Array<Wallet>;
|
|
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 { Withdrawal } from './withdrawal';
|
|
11
|
+
export interface ListWithdrawals200Response {
|
|
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
|
+
* Withdrawals found
|
|
18
|
+
*/
|
|
19
|
+
result?: Array<Withdrawal>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
export * from './asset';
|
|
2
|
+
export * from './badRequest';
|
|
3
|
+
export * from './bankCardDestinationResource';
|
|
4
|
+
export * from './bankCardReceiverResource';
|
|
5
|
+
export * from './bankCardReceiverResourceParams';
|
|
6
|
+
export * from './bankCardSenderResource';
|
|
7
|
+
export * from './bankCardSenderResourceParams';
|
|
8
|
+
export * from './browserGetRequest';
|
|
9
|
+
export * from './browserPostRequest';
|
|
10
|
+
export * from './browserRequest';
|
|
11
|
+
export * from './conflictRequest';
|
|
12
|
+
export * from './contactInfo';
|
|
13
|
+
export * from './cryptoWallet';
|
|
14
|
+
export * from './cryptoWalletDestinationResource';
|
|
15
|
+
export * from './currency';
|
|
16
|
+
export * from './deposit';
|
|
17
|
+
export * from './depositAdjustment';
|
|
18
|
+
export * from './depositAdjustmentFailure';
|
|
19
|
+
export * from './depositAdjustmentStatus';
|
|
20
|
+
export * from './depositAdjustmentStatusFailure';
|
|
21
|
+
export * from './depositAllOfBody';
|
|
22
|
+
export * from './depositAllOfFee';
|
|
23
|
+
export * from './depositFailure';
|
|
24
|
+
export * from './depositRevert';
|
|
25
|
+
export * from './depositRevertAllOfBody';
|
|
26
|
+
export * from './depositRevertFailure';
|
|
27
|
+
export * from './depositRevertStatus';
|
|
28
|
+
export * from './depositRevertStatusFailure';
|
|
29
|
+
export * from './depositStatus';
|
|
30
|
+
export * from './depositStatusFailure';
|
|
31
|
+
export * from './destination';
|
|
32
|
+
export * from './destinationAuthData';
|
|
33
|
+
export * from './destinationGrantRequest';
|
|
34
|
+
export * from './destinationResource';
|
|
35
|
+
export * from './destinationStatus';
|
|
36
|
+
export * from './destinationsTopic';
|
|
37
|
+
export * from './digitalWallet';
|
|
38
|
+
export * from './digitalWalletDestinationResource';
|
|
39
|
+
export * from './fileDownload';
|
|
40
|
+
export * from './getWithdrawalMethods200Response';
|
|
41
|
+
export * from './identity';
|
|
42
|
+
export * from './invalidOperationParameters';
|
|
43
|
+
export * from './listDepositAdjustments200Response';
|
|
44
|
+
export * from './listDepositReverts200Response';
|
|
45
|
+
export * from './listDeposits200Response';
|
|
46
|
+
export * from './listDestinations200Response';
|
|
47
|
+
export * from './listIdentities200Response';
|
|
48
|
+
export * from './listWallets200Response';
|
|
49
|
+
export * from './listWithdrawals200Response';
|
|
50
|
+
export * from './provider';
|
|
51
|
+
export * from './quoteParameters';
|
|
52
|
+
export * from './quoteParametersBody';
|
|
53
|
+
export * from './receiverResource';
|
|
54
|
+
export * from './receiverResourceParams';
|
|
55
|
+
export * from './redirect';
|
|
56
|
+
export * from './report';
|
|
57
|
+
export * from './reportFilesInner';
|
|
58
|
+
export * from './reportParams';
|
|
59
|
+
export * from './residence';
|
|
60
|
+
export * from './securedBankCard';
|
|
61
|
+
export * from './senderReceiverDestinationAuthData';
|
|
62
|
+
export * from './senderResource';
|
|
63
|
+
export * from './senderResourceParams';
|
|
64
|
+
export * from './subFailure';
|
|
65
|
+
export * from './userInteraction';
|
|
66
|
+
export * from './userInteractionChange';
|
|
67
|
+
export * from './userInteractionCreated';
|
|
68
|
+
export * from './userInteractionFinished';
|
|
69
|
+
export * from './userInteractionFormInner';
|
|
70
|
+
export * from './w2WTransfer';
|
|
71
|
+
export * from './w2WTransferFailure';
|
|
72
|
+
export * from './w2WTransferParameters';
|
|
73
|
+
export * from './w2WTransferParametersBody';
|
|
74
|
+
export * from './w2WTransferStatus';
|
|
75
|
+
export * from './w2WTransferStatusFailure';
|
|
76
|
+
export * from './wallet';
|
|
77
|
+
export * from './walletAccount';
|
|
78
|
+
export * from './walletAccountAvailable';
|
|
79
|
+
export * from './walletAccountOwn';
|
|
80
|
+
export * from './walletGrantRequest';
|
|
81
|
+
export * from './walletGrantRequestAsset';
|
|
82
|
+
export * from './webhook';
|
|
83
|
+
export * from './webhookScope';
|
|
84
|
+
export * from './withdrawal';
|
|
85
|
+
export * from './withdrawalAllOfBody';
|
|
86
|
+
export * from './withdrawalAllOfQuote';
|
|
87
|
+
export * from './withdrawalEvent';
|
|
88
|
+
export * from './withdrawalEventChange';
|
|
89
|
+
export * from './withdrawalFailure';
|
|
90
|
+
export * from './withdrawalMethod';
|
|
91
|
+
export * from './withdrawalMethodBankCard';
|
|
92
|
+
export * from './withdrawalMethodDigitalWallet';
|
|
93
|
+
export * from './withdrawalMethodGeneric';
|
|
94
|
+
export * from './withdrawalParameters';
|
|
95
|
+
export * from './withdrawalQuote';
|
|
96
|
+
export * from './withdrawalQuoteCashFrom';
|
|
97
|
+
export * from './withdrawalQuoteCashTo';
|
|
98
|
+
export * from './withdrawalQuoteParams';
|
|
99
|
+
export * from './withdrawalQuoteParamsCash';
|
|
100
|
+
export * from './withdrawalReadQuote';
|
|
101
|
+
export * from './withdrawalStatus';
|
|
102
|
+
export * from './withdrawalStatusChanged';
|
|
103
|
+
export * from './withdrawalStatusFailure';
|
|
104
|
+
export * from './withdrawalsTopic';
|
|
@@ -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
|
+
* Service provider data
|
|
12
|
+
*/
|
|
13
|
+
export interface Provider {
|
|
14
|
+
/**
|
|
15
|
+
* Identifier of the service provider
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* Human-readable name of the service provider
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Residences in which the provider can service
|
|
24
|
+
*/
|
|
25
|
+
residences: Array<string>;
|
|
26
|
+
}
|
|
@@ -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
|
+
import { QuoteParametersBody } from './quoteParametersBody';
|
|
11
|
+
import { ReceiverResource } from './receiverResource';
|
|
12
|
+
import { SenderResource } from './senderResource';
|
|
13
|
+
/**
|
|
14
|
+
* Quote request parameters
|
|
15
|
+
*/
|
|
16
|
+
export interface QuoteParameters {
|
|
17
|
+
sender: SenderResource;
|
|
18
|
+
receiver: ReceiverResource;
|
|
19
|
+
/**
|
|
20
|
+
* Identifier of wallet owner
|
|
21
|
+
*/
|
|
22
|
+
identityID: string;
|
|
23
|
+
body: QuoteParametersBody;
|
|
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
|
+
* Transaction amount
|
|
12
|
+
*/
|
|
13
|
+
export interface QuoteParametersBody {
|
|
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,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
|
+
* The beneficiary\'s resource used to make the transfers
|
|
12
|
+
*/
|
|
13
|
+
export interface ReceiverResource {
|
|
14
|
+
/**
|
|
15
|
+
* The resource type of the receiver of the funds. See [Vality Withdrawal Resource API](?api/payres/swagger.yaml).
|
|
16
|
+
*/
|
|
17
|
+
type: ReceiverResource.TypeEnum;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace ReceiverResource {
|
|
20
|
+
type TypeEnum = 'BankCardReceiverResource';
|
|
21
|
+
const TypeEnum: {
|
|
22
|
+
BankCardReceiverResource: TypeEnum;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -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
|
+
* Receiver resource parameters
|
|
12
|
+
*/
|
|
13
|
+
export interface ReceiverResourceParams {
|
|
14
|
+
/**
|
|
15
|
+
* The resource type of the receiver. See [Vality Withdrawal Resource API](?api/payres/swagger.yaml).
|
|
16
|
+
*/
|
|
17
|
+
type: ReceiverResourceParams.TypeEnum;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace ReceiverResourceParams {
|
|
20
|
+
type TypeEnum = 'BankCardReceiverResourceParams';
|
|
21
|
+
const TypeEnum: {
|
|
22
|
+
BankCardReceiverResourceParams: TypeEnum;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { UserInteraction } from './userInteraction';
|
|
12
|
+
export interface Redirect extends UserInteraction {
|
|
13
|
+
request: BrowserRequest;
|
|
14
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { ReportFilesInner } from './reportFilesInner';
|
|
11
|
+
export interface Report {
|
|
12
|
+
/**
|
|
13
|
+
* Report identifier
|
|
14
|
+
*/
|
|
15
|
+
id: number;
|
|
16
|
+
/**
|
|
17
|
+
* Date and time of creation
|
|
18
|
+
*/
|
|
19
|
+
createdAt: string;
|
|
20
|
+
/**
|
|
21
|
+
* Date and time of the start of the period
|
|
22
|
+
*/
|
|
23
|
+
fromTime: string;
|
|
24
|
+
/**
|
|
25
|
+
* Date and time of the end of period
|
|
26
|
+
*/
|
|
27
|
+
toTime: string;
|
|
28
|
+
/**
|
|
29
|
+
* Report generation status
|
|
30
|
+
*/
|
|
31
|
+
status: Report.StatusEnum;
|
|
32
|
+
/**
|
|
33
|
+
* Report type
|
|
34
|
+
*/
|
|
35
|
+
type: Report.TypeEnum;
|
|
36
|
+
files: Array<ReportFilesInner>;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace Report {
|
|
39
|
+
type StatusEnum = 'pending' | 'created' | 'canceled';
|
|
40
|
+
const StatusEnum: {
|
|
41
|
+
Pending: StatusEnum;
|
|
42
|
+
Created: StatusEnum;
|
|
43
|
+
Canceled: StatusEnum;
|
|
44
|
+
};
|
|
45
|
+
type TypeEnum = 'withdrawalRegistry';
|
|
46
|
+
const TypeEnum: {
|
|
47
|
+
WithdrawalRegistry: TypeEnum;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -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 ReportFilesInner {
|
|
11
|
+
/**
|
|
12
|
+
* File identifier
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
@@ -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
|
+
export interface ReportParams {
|
|
11
|
+
/**
|
|
12
|
+
* Type of report
|
|
13
|
+
*/
|
|
14
|
+
reportType: ReportParams.ReportTypeEnum;
|
|
15
|
+
/**
|
|
16
|
+
* Start of the time period
|
|
17
|
+
*/
|
|
18
|
+
fromTime: string;
|
|
19
|
+
/**
|
|
20
|
+
* End of the time period
|
|
21
|
+
*/
|
|
22
|
+
toTime: string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace ReportParams {
|
|
25
|
+
type ReportTypeEnum = 'withdrawalRegistry';
|
|
26
|
+
const ReportTypeEnum: {
|
|
27
|
+
WithdrawalRegistry: ReportTypeEnum;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -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
|
+
* Description of the region of residence
|
|
12
|
+
*/
|
|
13
|
+
export interface Residence {
|
|
14
|
+
/**
|
|
15
|
+
* Residence symbol code by standard [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1)
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* Human-readable name of the region of residence
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Residence region flag
|
|
24
|
+
*/
|
|
25
|
+
flag?: string;
|
|
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
|
+
/**
|
|
11
|
+
* Secure bank card details
|
|
12
|
+
*/
|
|
13
|
+
export interface SecuredBankCard {
|
|
14
|
+
/**
|
|
15
|
+
* Token identifying the original card data
|
|
16
|
+
*/
|
|
17
|
+
token: string;
|
|
18
|
+
/**
|
|
19
|
+
* [Identification number][1] of the card issuing bank [1]: https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN)
|
|
20
|
+
*/
|
|
21
|
+
readonly bin?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Card last digits
|
|
24
|
+
*/
|
|
25
|
+
readonly lastDigits?: string;
|
|
26
|
+
}
|
|
@@ -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 { DestinationAuthData } from './destinationAuthData';
|
|
11
|
+
/**
|
|
12
|
+
* Both sender and receiver auth data refs
|
|
13
|
+
*/
|
|
14
|
+
export interface SenderReceiverDestinationAuthData extends DestinationAuthData {
|
|
15
|
+
/**
|
|
16
|
+
* Token identifying the sender auth data
|
|
17
|
+
*/
|
|
18
|
+
senderToken: string;
|
|
19
|
+
/**
|
|
20
|
+
* Token identifying the receiver auth data
|
|
21
|
+
*/
|
|
22
|
+
receiverToken: string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace SenderReceiverDestinationAuthData {
|
|
25
|
+
}
|
|
@@ -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
|
+
* The sender resource used to make transfers
|
|
12
|
+
*/
|
|
13
|
+
export interface SenderResource {
|
|
14
|
+
/**
|
|
15
|
+
* The resource type of the sender of the funds. See [Vality Withdrawal Resource API](?api/payres/swagger.yaml).
|
|
16
|
+
*/
|
|
17
|
+
type: SenderResource.TypeEnum;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace SenderResource {
|
|
20
|
+
type TypeEnum = 'BankCardSenderResource';
|
|
21
|
+
const TypeEnum: {
|
|
22
|
+
BankCardSenderResource: TypeEnum;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -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
|
+
* Fund sender resource settings
|
|
12
|
+
*/
|
|
13
|
+
export interface SenderResourceParams {
|
|
14
|
+
/**
|
|
15
|
+
* The resource type of the sender of the funds. See [Vality Withdrawal Resource API](?api/payres/swagger.yaml).
|
|
16
|
+
*/
|
|
17
|
+
type: SenderResourceParams.TypeEnum;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace SenderResourceParams {
|
|
20
|
+
type TypeEnum = 'BankCardSenderResourceParams';
|
|
21
|
+
const TypeEnum: {
|
|
22
|
+
BankCardSenderResourceParams: TypeEnum;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -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
|
+
/**
|
|
11
|
+
* Detailed description of the error
|
|
12
|
+
*/
|
|
13
|
+
export interface SubFailure {
|
|
14
|
+
/**
|
|
15
|
+
* Details of the error code
|
|
16
|
+
*/
|
|
17
|
+
code: string;
|
|
18
|
+
subError?: SubFailure;
|
|
19
|
+
}
|
|
@@ -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 UserInteraction {
|
|
11
|
+
/**
|
|
12
|
+
* Type of interaction with the user
|
|
13
|
+
*/
|
|
14
|
+
interactionType: string;
|
|
15
|
+
}
|
|
@@ -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
|
+
export interface UserInteractionChange {
|
|
11
|
+
/**
|
|
12
|
+
* Type of change in user interaction.
|
|
13
|
+
*/
|
|
14
|
+
changeType: UserInteractionChange.ChangeTypeEnum;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace UserInteractionChange {
|
|
17
|
+
type ChangeTypeEnum = 'UserInteractionCreated' | 'UserInteractionFinished';
|
|
18
|
+
const ChangeTypeEnum: {
|
|
19
|
+
UserInteractionCreated: ChangeTypeEnum;
|
|
20
|
+
UserInteractionFinished: ChangeTypeEnum;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -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 { UserInteractionChange } from './userInteractionChange';
|
|
11
|
+
import { UserInteraction } from './userInteraction';
|
|
12
|
+
export interface UserInteractionCreated extends UserInteractionChange {
|
|
13
|
+
userInteraction: UserInteraction;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace UserInteractionCreated {
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { UserInteractionChange } from './userInteractionChange';
|
|
11
|
+
export interface UserInteractionFinished extends UserInteractionChange {
|
|
12
|
+
}
|
|
13
|
+
export declare namespace UserInteractionFinished {
|
|
14
|
+
}
|
|
@@ -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 UserInteractionFormInner {
|
|
11
|
+
/**
|
|
12
|
+
* The value of the key of the form element to be send by means of browser
|
|
13
|
+
*/
|
|
14
|
+
key: string;
|
|
15
|
+
/**
|
|
16
|
+
* The template for the form element value The template is presented according to the standard [RFC6570](https://tools.ietf.org/html/rfc6570).
|
|
17
|
+
*/
|
|
18
|
+
template: string;
|
|
19
|
+
}
|
|
@@ -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
|
+
import { QuoteParametersBody } from './quoteParametersBody';
|
|
11
|
+
import { W2WTransferStatus } from './w2WTransferStatus';
|
|
12
|
+
/**
|
|
13
|
+
* Transfer data
|
|
14
|
+
*/
|
|
15
|
+
export interface W2WTransfer {
|
|
16
|
+
/**
|
|
17
|
+
* Transfer identifier
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
/**
|
|
21
|
+
* Date and time of creation
|
|
22
|
+
*/
|
|
23
|
+
createdAt: string;
|
|
24
|
+
body: QuoteParametersBody;
|
|
25
|
+
/**
|
|
26
|
+
* Identifier of the wallet
|
|
27
|
+
*/
|
|
28
|
+
sender: string;
|
|
29
|
+
/**
|
|
30
|
+
* Identifier of the wallet
|
|
31
|
+
*/
|
|
32
|
+
receiver: string;
|
|
33
|
+
status: W2WTransferStatus;
|
|
34
|
+
/**
|
|
35
|
+
* The unique identifier of the entity on your side. When specified, will be used to ensure idempotent processing of the operation.
|
|
36
|
+
*/
|
|
37
|
+
externalID?: string;
|
|
38
|
+
}
|