cloudflare
Version:
The official TypeScript library for the Cloudflare API
19 lines • 667 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../../resource.mjs";
export class Crons extends APIResource {
/**
* Reads the last cron update time
*/
list(params, options) {
const { account_id } = params;
return this._client.get(`/accounts/${account_id}/cloudforce-one/events/cron`, options);
}
/**
* Reads the last cron update time
*/
edit(params, options) {
const { account_id } = params;
return this._client.patch(`/accounts/${account_id}/cloudforce-one/events/cron`, options);
}
}
//# sourceMappingURL=crons.mjs.map