import BaseResource from '../../BaseResource.js'; import type * as ApiTypes from '../ApiTypes.js'; import type * as RawApiTypes from '../RawApiTypes.js'; export default class PerSitePricingBillingProfile extends BaseResource { static readonly TYPE: "per_site_pricing_billing_profile"; /** * Retrieve all account's billing profiles * * @throws {ApiError} * @throws {TimeoutError} */ list(): Promise; /** * Retrieve all account's billing profiles * * @throws {ApiError} * @throws {TimeoutError} */ rawList(): Promise; /** * Retrieve a billing profile * * @throws {ApiError} * @throws {TimeoutError} */ find(perSitePricingBillingProfileId: string | ApiTypes.PerSitePricingBillingProfileData, queryParams?: ApiTypes.PerSitePricingBillingProfileSelfHrefSchema): Promise; /** * Retrieve a billing profile * * @throws {ApiError} * @throws {TimeoutError} */ rawFind(perSitePricingBillingProfileId: string, queryParams?: RawApiTypes.PerSitePricingBillingProfileSelfHrefSchema): Promise; /** * Update a billing profile's credit card * * @throws {ApiError} * @throws {TimeoutError} */ updateCreditCard(perSitePricingBillingProfileId: string | ApiTypes.PerSitePricingBillingProfileData, body: ApiTypes.PerSitePricingBillingProfileUpdateCreditCardSchema): Promise; /** * Update a billing profile's credit card * * @throws {ApiError} * @throws {TimeoutError} */ rawUpdateCreditCard(perSitePricingBillingProfileId: string, body: RawApiTypes.PerSitePricingBillingProfileUpdateCreditCardSchema): Promise; /** * Update a billing profile's billing information * * @throws {ApiError} * @throws {TimeoutError} */ updateInfo(perSitePricingBillingProfileId: string | ApiTypes.PerSitePricingBillingProfileData, body: ApiTypes.PerSitePricingBillingProfileUpdateInfoSchema): Promise; /** * Update a billing profile's billing information * * @throws {ApiError} * @throws {TimeoutError} */ rawUpdateInfo(perSitePricingBillingProfileId: string, body: RawApiTypes.PerSitePricingBillingProfileUpdateInfoSchema): Promise; /** * Cancel subscription * * @throws {ApiError} * @throws {TimeoutError} */ cancelSubscription(perSitePricingBillingProfileId: string | ApiTypes.PerSitePricingBillingProfileData, body: ApiTypes.PerSitePricingBillingProfileCancelSubscriptionSchema): Promise; /** * Cancel subscription * * @throws {ApiError} * @throws {TimeoutError} */ rawCancelSubscription(perSitePricingBillingProfileId: string, body: RawApiTypes.PerSitePricingBillingProfileCancelSubscriptionSchema): Promise; /** * Delete a billing profile * * @throws {ApiError} * @throws {TimeoutError} */ destroy(perSitePricingBillingProfileId: string | ApiTypes.PerSitePricingBillingProfileData): Promise; /** * Delete a billing profile * * @throws {ApiError} * @throws {TimeoutError} */ rawDestroy(perSitePricingBillingProfileId: string): Promise; }