UNPKG

prices-as-code

Version:

Prices as Code (PaC) - Define your product pricing schemas with type-safe definitions

34 lines (33 loc) 1.06 kB
/** * NOTE: Recurly provider has been removed from the public API in v2.0.0. * This file is kept for future reference but is not used or exported. * * For custom Recurly integration, see the Custom Providers Guide: * https://wickdninja.github.io/prices-as-code/guides/custom-providers.html */ import { RecurlyOptions, Product, Price, ProviderClient } from '../types.js'; /** * Recurly provider implementation (DEPRECATED - Not used in v2.0.0+) */ export declare class RecurlyProvider implements ProviderClient { private client; private productMap; constructor(options: RecurlyOptions); getClient(): any; /** * Synchronize products with Recurly (STUB) */ syncProducts(products: Product[]): Promise<Product[]>; /** * Synchronize prices with Recurly (STUB) */ syncPrices(prices: Price[]): Promise<Price[]>; /** * Fetch products from Recurly (STUB) */ fetchProducts(): Promise<Product[]>; /** * Fetch prices from Recurly (STUB) */ fetchPrices(): Promise<Price[]>; }