UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

19 lines 658 B
import * as Core from 'cloudflare/core'; import { APIResource } from 'cloudflare/resource'; import * as ValueAPI from 'cloudflare/resources/user/tokens/value'; export declare class ValueResource extends APIResource { /** * Roll the token secret. */ update(tokenId: unknown, body: ValueUpdateParams, options?: Core.RequestOptions): Core.APIPromise<Value>; } /** * The token value. */ export type Value = string; export type ValueUpdateParams = unknown; export declare namespace ValueResource { export import Value = ValueAPI.Value; export import ValueUpdateParams = ValueAPI.ValueUpdateParams; } //# sourceMappingURL=value.d.ts.map