import { IVendor, IVendorMath, IVendorMetadata, IVendorOldMath, VendorProviderEnum } from '../vendor.interface'; export interface ISquareVendorMetadata extends IVendorMetadata { application_id: string; access_token: string; token_type: string; merchant_id: string; locationId: string; } export interface ISquareVendorMath extends IVendorMath { strategy: VendorProviderEnum.SQUARE; } export interface ISquareVendor extends IVendor { provider: VendorProviderEnum.SQUARE; metadata: ISquareVendorMetadata; math: ISquareVendorMath | IVendorOldMath; }