UNPKG

orb-billing

Version:

The official TypeScript library for the Orb API

14 lines 608 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../../resource.mjs"; export class ExternalLicenses extends APIResource { /** * Returns usage and remaining credits for a license identified by its external * license ID. * * Date range defaults to the current billing period if not specified. */ getUsage(externalLicenseId, query, options) { return this._client.get(`/licenses/external_licenses/${externalLicenseId}/usage`, { query, ...options }); } } //# sourceMappingURL=external-licenses.mjs.map