@squarecloud/api
Version:
A NodeJS wrapper for Square Cloud API
11 lines (8 loc) • 307 B
TypeScript
import { APIUserPlan } from '@squarecloud/api-types/v2';
interface UserPlan extends Omit<APIUserPlan, "duration"> {
/** In how many milliseconds the plan will expire */
expiresInTimestamp?: number;
/** In how much time the plan will expire */
expiresIn?: Date;
}
export type { UserPlan };