@funkit/api-base
Advanced tools
Comparing version 1.3.1 to 1.3.2
# @funkit/api-base | ||
## 1.3.2 | ||
### Patch Changes | ||
- 4a12008: refactor: add more refundState enums | ||
## 1.3.1 | ||
@@ -4,0 +10,0 @@ |
@@ -80,2 +80,3 @@ /**===============* | ||
} | ||
export type CheckoutRefundState = 'REFUNDED' | 'PROCEEDED' | 'INITIATED' | 'ERROR'; | ||
export type CheckoutHistoryItem = { | ||
@@ -100,3 +101,3 @@ createdTimeMs: number; | ||
clientMetadata: object; | ||
refundState?: 'REFUNDED' | 'PROCEEDED'; | ||
refundState?: CheckoutRefundState; | ||
stateTimestampMs?: Partial<Record<CheckoutState, number>>; | ||
@@ -103,0 +104,0 @@ }; |
@@ -5,7 +5,7 @@ import { GetCryptocurrencyHoldingsRequest, GetLinkTokenRequest, GetLinkTokenResponse, GetTransferIntegrationsRequest, GetTransferIntegrationsResponse, MeshExecuteTransferRequest, MeshExecuteTransferResponse, PreviewTransferRequest, PreviewTransferResponse } from './types'; | ||
* @param type The type of the integration to send the asset from. | ||
* @return https://docs.meshconnect.com/reference/post_api-v1-holdings-get | ||
* @return https://docs.meshconnect.com/api-reference/portfolio/get-holdings | ||
*/ | ||
export declare function meshGetCryptocurrencyHoldings({ authToken, type, apiKey, }: GetCryptocurrencyHoldingsRequest): Promise<any>; | ||
/** | ||
* @return https://docs.meshconnect.com/reference/get_api-v1-transfers-managed-integrations | ||
* @return https://docs.meshconnect.com/api-reference/managed-transfers/get-integrations | ||
*/ | ||
@@ -21,3 +21,3 @@ export declare function meshGetTransferIntegrations({ apiKey, }: GetTransferIntegrationsRequest): Promise<GetTransferIntegrationsResponse>; | ||
* @param transferOptions Encapsulates transaction-related parameters, including destination addresses and the amount to transfer in fiat currency. | ||
* @return https://docs.meshconnect.com/reference/post_api-v1-linktoken | ||
* @return https://docs.meshconnect.com/api-reference/managed-account-authentication/get-link-token-with-parameters | ||
*/ | ||
@@ -36,3 +36,3 @@ export declare function meshGetLinkToken({ userId, integrationId, restrictMultipleAccounts, transferOptions, apiKey, }: GetLinkTokenRequest): Promise<GetLinkTokenResponse>; | ||
* @param fiatCurrency Fiat currency that is to get corresponding converted fiat values of transfer and fee amounts. If not provided, defaults to USD. | ||
* @returns https://docs.meshconnect.com/reference/post_api-v1-transfers-managed-preview | ||
* @returns https://docs.meshconnect.com/api-reference/managed-transfers/preview-transfer | ||
*/ | ||
@@ -46,4 +46,4 @@ export declare function meshPreviewTransfer({ fromAuthToken, fromType, toAuthToken, toType, networkId, symbol, toAddress, amount, amountInFiat, fiatCurrency, apiKey, }: PreviewTransferRequest): Promise<PreviewTransferResponse>; | ||
* @param mfaCode Multi-factor auth code that should be provided if the status of the transfer was MfaRequired. | ||
* @returns https://docs.meshconnect.com/reference/post_api-v1-transfers-managed-execute | ||
* @returns https://docs.meshconnect.com/api-reference/managed-transfers/execute-transfer | ||
*/ | ||
export declare function meshExecuteTransfer({ fromAuthToken, fromType, previewId, mfaCode, apiKey, }: MeshExecuteTransferRequest): Promise<MeshExecuteTransferResponse>; |
{ | ||
"name": "@funkit/api-base", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Base API for Funkit", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
221653
2684