UNPKG

reshuffle-fastspring-connector

Version:
19 lines (18 loc) 852 B
import { BaseConnector, Reshuffle } from 'reshuffle-base-connector'; declare type Options = Record<string, any>; export declare class FastSpringConnector extends BaseConnector { private auth; constructor(app: Reshuffle, options: Options, id?: string); private request; deleteProduct(productID: string): Promise<void>; getLocalizedPrice(productID: string, countryCode?: string): Promise<any>; getProductInfo(productID: string): Promise<any>; getProductList(): Promise<any>; updateProduct(productID: string, info: any): Promise<void>; updateProducts(products: any[]): Promise<void>; updateSimpleProduct(productID: string, englishDisplay: string, usd: number): Promise<void>; DELETE(path: string): Promise<any>; GET(path: string): Promise<any>; POST(path: string, body: any): Promise<any>; } export {};