@rocket.chat/apps-engine
Version:
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
24 lines (23 loc) • 939 B
TypeScript
import type { IAppInfo } from '../../definition/metadata';
import type { IMarketplacePricingPlan } from './IMarketplacePricingPlan';
import type { IMarketplaceSimpleBundleInfo } from './IMarketplaceSimpleBundleInfo';
import type { IMarketplaceSubscriptionInfo } from './IMarketplaceSubscriptionInfo';
import type { MarketplacePurchaseType } from './MarketplacePurchaseType';
export interface IMarketplaceInfo extends IAppInfo {
categories: Array<string>;
status: string;
reviewedNote?: string;
rejectionNote?: string;
isVisible: boolean;
isPurchased: boolean;
isSubscribed: boolean;
isBundled: boolean;
createdDate: string;
modifiedDate: string;
price: number;
subscriptionInfo?: IMarketplaceSubscriptionInfo;
purchaseType: MarketplacePurchaseType;
pricingPlans?: Array<IMarketplacePricingPlan>;
bundledIn?: Array<IMarketplaceSimpleBundleInfo>;
isEnterpriseOnly?: boolean;
}