@test-org122/merchant-iframe
Version:
Mediator iFrame package. This is used to sandbox the connector code away from the running hypernet core.
9 lines (7 loc) • 452 B
text/typescript
import { ResultAsync } from "neverthrow";
import { MerchantConnectorError, MerchantValidationError } from "@merchant-iframe/interfaces/objects/errors";
import { IMerchantConnector } from "@test-org122/merchant-connector";
export interface IMerchantService {
validateMerchantConnector(): ResultAsync<string, MerchantValidationError>;
activateMerchantConnector(): ResultAsync<IMerchantConnector, MerchantConnectorError | MerchantValidationError>;
}