chore: sync submodule state (parent ref update)
Made-with: Cursor
This commit is contained in:
21
dist/ramps/provider.interface.d.ts
vendored
Normal file
21
dist/ramps/provider.interface.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Ramp provider interfaces for fiat on/off-ramp integrations
|
||||
*/
|
||||
import type { OnRampSessionParams, OffRampSessionParams, RampQuoteParams, RampSession, RampQuote, ProviderCapabilities } from './types';
|
||||
export interface IOnRampProvider {
|
||||
readonly id: string;
|
||||
createSession(params: OnRampSessionParams): Promise<RampSession>;
|
||||
getCapabilities(): ProviderCapabilities;
|
||||
}
|
||||
export interface IOffRampProvider {
|
||||
readonly id: string;
|
||||
createPayoutSession(params: OffRampSessionParams): Promise<RampSession>;
|
||||
getCapabilities(): ProviderCapabilities;
|
||||
}
|
||||
export interface IRampQuoteProvider {
|
||||
readonly id: string;
|
||||
getQuote(params: RampQuoteParams): Promise<RampQuote | null>;
|
||||
getCapabilities(): ProviderCapabilities;
|
||||
}
|
||||
export type RampProvider = IOnRampProvider | IOffRampProvider | IRampQuoteProvider;
|
||||
//# sourceMappingURL=provider.interface.d.ts.map
|
||||
Reference in New Issue
Block a user