import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { LicenseKeyActivate } from "../models/components/licensekeyactivate.js"; import { LicenseKeyActivationRead } from "../models/components/licensekeyactivationread.js"; import { LicenseKeyDeactivate } from "../models/components/licensekeydeactivate.js"; import { LicenseKeyValidate } from "../models/components/licensekeyvalidate.js"; import { LicenseKeyWithActivations } from "../models/components/licensekeywithactivations.js"; import { ValidatedLicenseKey } from "../models/components/validatedlicensekey.js"; import { CustomerPortalLicenseKeysGetRequest, CustomerPortalLicenseKeysGetSecurity } from "../models/operations/customerportallicensekeysget.js"; import { CustomerPortalLicenseKeysListRequest, CustomerPortalLicenseKeysListResponse, CustomerPortalLicenseKeysListSecurity } from "../models/operations/customerportallicensekeyslist.js"; import { PageIterator } from "../types/operations.js"; export declare class PolarLicenseKeys extends ClientSDK { /** * List License Keys * * @remarks * **Scopes**: `customer_portal:read` `customer_portal:write` */ list(security: CustomerPortalLicenseKeysListSecurity, request: CustomerPortalLicenseKeysListRequest, options?: RequestOptions): Promise>; /** * Get License Key * * @remarks * Get a license key. * * **Scopes**: `customer_portal:read` `customer_portal:write` */ get(security: CustomerPortalLicenseKeysGetSecurity, request: CustomerPortalLicenseKeysGetRequest, options?: RequestOptions): Promise; /** * Validate License Key * * @remarks * Validate a license key. * * > This endpoint doesn't require authentication and can be safely used on a public * > client, like a desktop application or a mobile app. * > If you plan to validate a license key on a server, use the `/v1/license-keys/validate` * > endpoint instead. */ validate(request: LicenseKeyValidate, options?: RequestOptions): Promise; /** * Activate License Key * * @remarks * Activate a license key instance. * * > This endpoint doesn't require authentication and can be safely used on a public * > client, like a desktop application or a mobile app. * > If you plan to validate a license key on a server, use the `/v1/license-keys/activate` * > endpoint instead. */ activate(request: LicenseKeyActivate, options?: RequestOptions): Promise; /** * Deactivate License Key * * @remarks * Deactivate a license key instance. * * > This endpoint doesn't require authentication and can be safely used on a public * > client, like a desktop application or a mobile app. * > If you plan to validate a license key on a server, use the `/v1/license-keys/deactivate` * > endpoint instead. */ deactivate(request: LicenseKeyDeactivate, options?: RequestOptions): Promise; } //# sourceMappingURL=polarlicensekeys.d.ts.map