/** * Generated by orval v8.5.3 🍺 * Do not edit manually. * Space Invoices API * REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking. * OpenAPI spec version: 1.0.0 */ import type { AvailablePlans, CurrentSubscription, FeatureCheck, LimitCheck, UpdateWLSubscriptionBillingEmail200, WLUpdateBillingEmailRequest } from '../model'; /** * Returns the current entity subscription with plan details and usage stats. Requires entity context. * @summary Get current subscription */ export type getCurrentWLSubscriptionResponse200 = { data: CurrentSubscription; status: 200; }; export type getCurrentWLSubscriptionResponseSuccess = (getCurrentWLSubscriptionResponse200) & { headers: Headers; }; export type getCurrentWLSubscriptionResponse = (getCurrentWLSubscriptionResponseSuccess); export declare const getGetCurrentWLSubscriptionUrl: () => string; export declare const getCurrentWLSubscription: (options?: RequestInit) => Promise; /** * Returns available subscription plans for the current white-label. * @summary Get available plans */ export type getWLSubscriptionPlansResponse200 = { data: AvailablePlans; status: 200; }; export type getWLSubscriptionPlansResponseSuccess = (getWLSubscriptionPlansResponse200) & { headers: Headers; }; export type getWLSubscriptionPlansResponse = (getWLSubscriptionPlansResponseSuccess); export declare const getGetWLSubscriptionPlansUrl: () => string; export declare const getWLSubscriptionPlans: (options?: RequestInit) => Promise; /** * Checks if a specific feature is available on the current subscription plan. * @summary Check feature access */ export type checkWLFeatureResponse200 = { data: FeatureCheck; status: 200; }; export type checkWLFeatureResponseSuccess = (checkWLFeatureResponse200) & { headers: Headers; }; export type checkWLFeatureResponse = (checkWLFeatureResponseSuccess); export declare const getCheckWLFeatureUrl: (feature: string) => string; export declare const checkWLFeature: (feature: string, options?: RequestInit) => Promise; /** * Checks if the current usage allows creating more of a resource type. * @summary Check resource limit */ export type checkWLLimitResponse200 = { data: LimitCheck; status: 200; }; export type checkWLLimitResponseSuccess = (checkWLLimitResponse200) & { headers: Headers; }; export type checkWLLimitResponse = (checkWLLimitResponseSuccess); export declare const getCheckWLLimitUrl: (resource: string) => string; export declare const checkWLLimit: (resource: string, options?: RequestInit) => Promise; /** * Updates the billing email used for white-label subscription notifications and invoices. * @summary Update billing email */ export type updateWLSubscriptionBillingEmailResponse200 = { data: UpdateWLSubscriptionBillingEmail200; status: 200; }; export type updateWLSubscriptionBillingEmailResponseSuccess = (updateWLSubscriptionBillingEmailResponse200) & { headers: Headers; }; export type updateWLSubscriptionBillingEmailResponse = (updateWLSubscriptionBillingEmailResponseSuccess); export declare const getUpdateWLSubscriptionBillingEmailUrl: () => string; export declare const updateWLSubscriptionBillingEmail: (wLUpdateBillingEmailRequest: WLUpdateBillingEmailRequest, options?: RequestInit) => Promise; //# sourceMappingURL=white-label-subscriptions.d.ts.map