export declare enum PricingPlanScopeType { END_CUSTOMER_XSP_REF = "end-customer-xsp-ref", RESELLER_XSP_REF = "reseller-xsp-ref" } export declare enum BusinessRuleEffectType { RATE = "rate", LINK_TO_DEFAULT = "linkToDefault" } export declare type PricingPlanScopeData = { marketplace: string; program: string; }; export declare type PricingPlanType = { effectiveDate: string; name: string; reference: string; scope: PricingPlanScopeData; }; export declare type BusinessRuleScopeData = { billingCycle?: number; billingTerm?: number; classification?: string; default?: boolean; marketSegment?: string; offerArrowSphereSku?: string; offerFamily?: string; priceBandArrowSphereSku?: string; }; export declare type BusinessRuleEffectData = { rateType?: string; type: BusinessRuleEffectType; value?: number; }; export declare type BusinessRuleType = { effect: BusinessRuleEffectData; effectiveDate?: string; label?: string; metadata?: { updatedAt: string; }; reference?: string; scope: BusinessRuleScopeData; }; export declare type ListPricingPlansParameters = { continuationToken?: string; endCustomerXspRef?: string; marketplace?: string; perPage?: number; program?: string; }; export declare type CreatePricingPlanPayload = { name: string; scope: { marketplace?: string; program: string; }; }; export declare type UpdatePricingPlanPayload = { name: string; }; export declare type GetBusinessRulesParameters = { continuationToken?: string; offerFamily?: string; perPage?: number; }; export declare type CreateBusinessRulesPayload = { businessRules: BusinessRuleType[]; }; export declare type GetBusinessRulesHistoryParameters = { billingCycle?: string; billingTerm?: string; classification: string; effectiveDateFrom?: string; effectiveDateTo?: string; marketSegment?: string; offerArrowSphereSku?: string; offerFamily?: string; priceBandArrowSphereSku?: string; }; export declare type GetScopesParameters = { continuationToken?: string; perPage?: number; }; export declare type AttachScopesPayload = { scopes: string[]; }; export declare type DetachScopesPayload = { scopes: string[]; }; export declare type GetClientsHistoryParameters = { continuationToken?: string; perPage?: number; }; export declare type ContinuationPagination = { continuationToken: string; next?: string; perPage: number; previous?: string; }; export declare type ListPricingPlansResponse = { data: { pricingPlans: PricingPlanType[]; }; pagination: ContinuationPagination; status: number; }; export declare type GetPricingPlanResponse = { data: { pricingPlan: PricingPlanType; }; status: number; }; export declare type CreatePricingPlanResponse = { data: { pricingPlan: PricingPlanType; }; status: number; }; export declare type GetBusinessRulesResponse = { data: { businessRules: BusinessRuleType[]; }; pagination: ContinuationPagination; status: number; }; export declare type CreateBusinessRulesResponse = { data: { businessRules: BusinessRuleType[]; }; status: number; }; export declare type BusinessRulesHistoryEntry = { effect: BusinessRuleEffectData & { tier: number; }; effectiveDate: string; label: string; metadata: { updatedAt: string; updatedBy: { contactName: string; xapUsername: string; }; }; reference: string; scope: BusinessRuleScopeData; }; export declare type GetBusinessRulesHistoryResponse = { data: { businessRules: BusinessRulesHistoryEntry[]; }; pagination: ContinuationPagination; status: number; }; export declare type GetScopesResponse = { data: { scopes: string[]; }; pagination?: ContinuationPagination; status: number; }; export declare type AttachScopesResponse = { data: { errors?: { conflictWithExistingPricingPlan?: Record; }; scopes: string[]; }; status: number; }; export declare type ClientsHistoryAction = { action: string; company: { name: string; xspRef: string; }; effectiveDate: string; updatedBy: { contactName: string; xapUsername: string; }; }; export declare type GetClientsHistoryResponse = { data: { actions: ClientsHistoryAction[]; }; pagination: ContinuationPagination; status: number; };