import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs"; import * as core from "../../../../core/index.mjs"; import * as Whop from "../../../index.mjs"; export declare namespace FeeMarkupsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class FeeMarkupsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: FeeMarkupsClient.Options); /** * Lists the fee markups configured for an account. For a platform account, returns the platform's default markups. * * Required permissions: * - `company:update_child_fees` * * @param {Whop.ListFeeMarkupsRequest} request * @param {FeeMarkupsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Whop.BadRequestError} * @throws {@link Whop.UnauthorizedError} * @throws {@link Whop.ForbiddenError} * @throws {@link Whop.NotFoundError} * @throws {@link Whop.UnprocessableEntityError} * @throws {@link Whop.TooManyRequestsError} * @throws {@link Whop.InternalServerError} * @throws {@link errors.WhopError} * @throws {@link errors.WhopTimeoutError} * * @example * await client.feeMarkups.list({ * first: 42, * last: 42, * account_id: "biz_xxxxxxxxxxxxxx" * }) */ list(request: Whop.ListFeeMarkupsRequest, requestOptions?: FeeMarkupsClient.RequestOptions): Promise>; /** * Creates or updates an account's markup for one fee type. If the account already has a markup for that `fee_type`, it is updated with the new values. * * Required permissions: * - `company:update_child_fees` * * @param {Whop.CreateFeeMarkupsRequest} request * @param {FeeMarkupsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Whop.BadRequestError} * @throws {@link Whop.UnauthorizedError} * @throws {@link Whop.ForbiddenError} * @throws {@link Whop.NotFoundError} * @throws {@link Whop.UnprocessableEntityError} * @throws {@link Whop.TooManyRequestsError} * @throws {@link Whop.InternalServerError} * @throws {@link errors.WhopError} * @throws {@link errors.WhopTimeoutError} * * @example * await client.feeMarkups.create({ * account_id: "biz_xxxxxxxxxxxxxx", * fee_type: "crypto_withdrawal_markup" * }) */ create(request: Whop.CreateFeeMarkupsRequest, requestOptions?: FeeMarkupsClient.RequestOptions): core.HttpResponsePromise; private __create; /** * Deletes a fee markup, removing the custom fee override so the account reverts to its parent account's default fees. * * Required permissions: * - `company:update_child_fees` * * @param {Whop.DeleteFeeMarkupsRequest} request * @param {FeeMarkupsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Whop.BadRequestError} * @throws {@link Whop.UnauthorizedError} * @throws {@link Whop.ForbiddenError} * @throws {@link Whop.NotFoundError} * @throws {@link Whop.UnprocessableEntityError} * @throws {@link Whop.TooManyRequestsError} * @throws {@link Whop.InternalServerError} * @throws {@link errors.WhopError} * @throws {@link errors.WhopTimeoutError} * * @example * await client.feeMarkups.delete({ * id: "id" * }) */ delete(request: Whop.DeleteFeeMarkupsRequest, requestOptions?: FeeMarkupsClient.RequestOptions): core.HttpResponsePromise; private __delete; }