Current Path : /storage/v11800/wthtest1/public_html/wp-content/plugins/jetpack/extensions/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/wthtest1/public_html/wp-content/plugins/jetpack/extensions/types.ts |
/**
* Types for the AI Assistant feature.
*/
import type { TierProp, UpgradeTypeProp } from './store/wordpress-com/types';
/*
* `sites/$site/ai-assistant-feature` endpoint response body props
*/
export type SiteAIAssistantFeatureEndpointResponseProps = {
'is-enabled': boolean;
'has-feature': boolean;
'is-over-limit': boolean;
'requests-count': number;
'requests-limit': number;
'usage-period': {
'current-start': string;
'next-start': string;
'requests-count': number;
};
'site-require-upgrade': boolean;
'error-message'?: string;
'error-code'?: string;
'upgrade-type': UpgradeTypeProp;
'current-tier': TierProp;
'tier-plans': Array< TierProp >;
'next-tier'?: TierProp | null;
costs?: {
[ key: string ]: {
[ key: string ]: number;
};
};
};