@leancodepl/kratos
Version:
Headless React components library for building Ory Kratos authentication flows
67 lines • 1.99 kB
TypeScript
import { GenericUsage } from './GenericUsage';
/**
*
* @export
* @interface PlanDetails
*/
export interface PlanDetails {
/**
* BaseFeeMonthly is the monthly base fee for the plan.
* @type {number}
* @memberof PlanDetails
*/
base_fee_monthly: number;
/**
* BaseFeeYearly is the yearly base fee for the plan.
* @type {number}
* @memberof PlanDetails
*/
base_fee_yearly: number;
/**
* Custom is true if the plan is custom. This means it will be hidden from the pricing page.
* @type {boolean}
* @memberof PlanDetails
*/
custom: boolean;
/**
* Description is the description of the plan.
* @type {string}
* @memberof PlanDetails
*/
description: string;
/**
*
* @type {{ [key: string]: GenericUsage; }}
* @memberof PlanDetails
*/
features: {
[key: string]: GenericUsage;
};
/**
* Latest is true if the plan is the latest version of a plan and should be available for self-service usage.
* @type {boolean}
* @memberof PlanDetails
*/
latest?: boolean;
/**
* Name is the name of the plan.
* @type {string}
* @memberof PlanDetails
*/
name: string;
/**
* Version is the version of the plan. The combination of `name@version` must be unique.
* @type {number}
* @memberof PlanDetails
*/
version: number;
}
/**
* Check if a given object implements the PlanDetails interface.
*/
export declare function instanceOfPlanDetails(value: object): value is PlanDetails;
export declare function PlanDetailsFromJSON(json: any): PlanDetails;
export declare function PlanDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlanDetails;
export declare function PlanDetailsToJSON(json: any): PlanDetails;
export declare function PlanDetailsToJSONTyped(value?: PlanDetails | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=PlanDetails.d.ts.map