/** * Sonatype Guide API * REST API into [Sonatype Guide](https://guide.sonatype.com). * * The version of the OpenAPI document: 202607 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { BillingDTO, PlanDTO } from '../models/index'; export interface BillingApiGetInvoicePdfRequest { invoiceId: string; } /** * */ export declare class BillingApi extends runtime.BaseAPI { /** * Retrieves billing details including cost, period, and payment method * Get billing information */ getBillingRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieves billing details including cost, period, and payment method * Get billing information */ getBilling(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Redirects to a temporary Chargebee download URL for the invoice PDF. The URL is short-lived and should be consumed immediately. * Download invoice PDF */ getInvoicePdfRaw(requestParameters: BillingApiGetInvoicePdfRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Redirects to a temporary Chargebee download URL for the invoice PDF. The URL is short-lived and should be consumed immediately. * Download invoice PDF */ getInvoicePdf(requestParameters: BillingApiGetInvoicePdfRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Retrieves all active subscription plans with dynamic Chargebee pricing. Supports both authenticated and unauthenticated requests. When authenticated, the user\'s current plan is marked. * Get all available plans */ getPlansRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Retrieves all active subscription plans with dynamic Chargebee pricing. Supports both authenticated and unauthenticated requests. When authenticated, the user\'s current plan is marked. * Get all available plans */ getPlans(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieves the complete invoice history for the current user. Returns a list of all invoices with details including invoice ID, date, description, amount, payment status, PDF link, and credit usage for each billing period. * Get user invoice history */ getUserInvoiceHistoryRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieves the complete invoice history for the current user. Returns a list of all invoices with details including invoice ID, date, description, amount, payment status, PDF link, and credit usage for each billing period. * Get user invoice history */ getUserInvoiceHistory(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }