@paritydeals/node-sdk
Version:
Node.js SDK for interacting with the ParityDeals API.
17 lines • 553 B
TypeScript
import { BaseResponse } from './common';
export type FeatureType = "METER" | "BOOLEAN" | "LIMIT";
export interface EntitlementDetail {
featureId: string;
hasAccess: boolean;
featureType?: FeatureType | null;
resetAt?: string | null;
hardLimit?: boolean | null;
usageLimit?: number | null;
currentUsage?: number | null;
remaining?: number | null;
}
export interface CheckEntitlementsResponse extends BaseResponse {
customerId: string;
entitlements: EntitlementDetail[];
}
//# sourceMappingURL=entitlements.d.ts.map