cloudflare
Version:
The official TypeScript library for the Cloudflare API
32 lines • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.History = exports.BaseHistory = void 0;
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
const resource_1 = require("../../../core/resource.js");
const pagination_1 = require("../../../core/pagination.js");
var BaseHistory = /* @__PURE__ */ (() => {
class BaseHistory extends resource_1.APIResource {
/**
* Accesses your billing history object.
*
* @deprecated
*/
list(query = {}, options) {
return this._client.getAPIList('/user/billing/history', (pagination_1.V4PagePaginationArray), {
query,
...options,
});
}
}
BaseHistory._key = Object.freeze([
'user',
'billing',
'history',
]);
return BaseHistory;
})();
exports.BaseHistory = BaseHistory;
class History extends BaseHistory {
}
exports.History = History;
//# sourceMappingURL=history.js.map