@unkey/api
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.
17 lines • 978 B
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type V2KeysMigrateKeysMigration = {
/**
* The hash provided in the migration request
*/
hash: string;
/**
* The unique identifier for this key in Unkey's system. This is NOT the actual API key, but a reference ID used for management operations like updating or deleting the key. Store this ID in your database to reference the key later. This ID is not sensitive and can be logged or displayed in dashboards.
*/
keyId: string;
};
/** @internal */
export declare const V2KeysMigrateKeysMigration$inboundSchema: z.ZodType<V2KeysMigrateKeysMigration, z.ZodTypeDef, unknown>;
export declare function v2KeysMigrateKeysMigrationFromJSON(jsonString: string): SafeParseResult<V2KeysMigrateKeysMigration, SDKValidationError>;
//# sourceMappingURL=v2keysmigratekeysmigration.d.ts.map