2024-01-26 08:39:03 +00:00
|
|
|
// import ResumptionToken from './ResumptionToken';
|
2024-03-14 19:25:27 +00:00
|
|
|
import { AxiosResponse } from 'axios';
|
2024-01-26 08:39:03 +00:00
|
|
|
|
|
|
|
export default interface DoiClientContract {
|
|
|
|
username: string;
|
|
|
|
password: string;
|
|
|
|
serviceUrl: string;
|
|
|
|
// prefix: string;
|
|
|
|
// base_domain: string;
|
2024-03-14 19:25:27 +00:00
|
|
|
registerDoi(doiValue: string, xmlMeta: string, landingPageUrl: string): Promise<AxiosResponse<any>>;
|
2024-01-26 08:39:03 +00:00
|
|
|
// get(key: string): Promise<ResumptionToken | null>;
|
|
|
|
// set(token: ResumptionToken): Promise<string>;
|
|
|
|
}
|