import { AbstractRestfulClient } from '../abstractRestfulClient'; import { AttachScopesPayload, AttachScopesResponse, CreateBusinessRulesPayload, CreateBusinessRulesResponse, CreatePricingPlanPayload, CreatePricingPlanResponse, DetachScopesPayload, GetBusinessRulesHistoryParameters, GetBusinessRulesHistoryResponse, GetBusinessRulesParameters, GetBusinessRulesResponse, GetClientsHistoryParameters, GetClientsHistoryResponse, GetPricingPlanResponse, GetScopesParameters, GetScopesResponse, ListPricingPlansParameters, ListPricingPlansResponse, PricingPlanScopeType, UpdatePricingPlanPayload } from './types/pricingPlan'; export declare class PricingPlanClient extends AbstractRestfulClient { /** * The base path of the API */ protected basePath: string; /** * Lists pricing plans with optional filters */ listPricingPlans(params?: ListPricingPlansParameters): Promise; /** * Gets a single pricing plan by reference */ getPricingPlan(reference: string): Promise; /** * Creates a new pricing plan */ createPricingPlan(payload: CreatePricingPlanPayload): Promise; /** * Updates a pricing plan (rename) */ updatePricingPlan(reference: string, payload: UpdatePricingPlanPayload): Promise; /** * Deletes a pricing plan */ deletePricingPlan(reference: string): Promise; /** * Gets business rules for a pricing plan */ getBusinessRules(reference: string, params?: GetBusinessRulesParameters): Promise; /** * Creates or updates business rules for a pricing plan */ createBusinessRules(reference: string, payload: CreateBusinessRulesPayload): Promise; /** * Gets business rules history for a pricing plan */ getBusinessRulesHistory(reference: string, params: GetBusinessRulesHistoryParameters): Promise; /** * Gets scopes (attached customers or resellers) for a pricing plan */ getScopes(reference: string, type: PricingPlanScopeType, params?: GetScopesParameters): Promise; /** * Attaches scopes (customers or resellers) to a pricing plan */ attachScopes(reference: string, type: PricingPlanScopeType, payload: AttachScopesPayload): Promise; /** * Detaches scopes (customers or resellers) from a pricing plan */ detachScopes(reference: string, type: PricingPlanScopeType, payload: DetachScopesPayload): Promise; /** * Gets clients (attach/detach) history for a pricing plan */ getClientsHistory(reference: string, params?: GetClientsHistoryParameters): Promise; }