This repository has been archived on 2021-12-11. You can view files and clone it, but cannot push or open issues or pull requests.
magento-ts-client/index.d.ts
2021-07-24 13:30:56 +02:00

10 lines
427 B
TypeScript

export declare const getToken: (url: any, user: any, password: any) => Promise<string>;
export declare class Magento {
static token: any;
static apiConfig: any;
static init: (baseUrl: string, username: string, password: string) => Promise<any>;
static initWithProfile: (profilePath: string, baseUrl: any) => Promise<any>;
}
export declare const test: () => Promise<void>;
export * as API from './api';