import { z } from "zod"; import { Payload } from "../client"; import { ServiceClient } from "../service-client"; export class Pricing extends ServiceClient { protected getServiceName(): string { return 'com.appconda.service.pricing'; } public async getAllSubscriptionProducts(isPublic?: boolean): Promise { const payload: Payload = {}; return await this.actionCall('ListSubscriptionProducts', payload); } public async getActiveTenantsSubscriptions(isPublic?: boolean): Promise { const payload: Payload = {}; return await this.actionCall('GetActiveTenantsSubscriptions', payload); } public async createPlan(payload: { plan: any, prices: any[], features: any[], usageBasedPrices: any[] }): Promise { return await this.actionCall('CreatePlan', payload); } public async createPlans(payload: { plans: any[] }): Promise { return await this.actionCall('CreatePlans', payload); } }