@unkey/api
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.
18 lines • 902 B
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { V2KeysMigrateKeysMigration } from "./v2keysmigratekeysmigration.js";
export type V2KeysMigrateKeysResponseData = {
/**
* Successfully migrated keys with their hash and generated keyId
*/
migrated: Array<V2KeysMigrateKeysMigration>;
/**
* Hashes that could not be migrated (e.g., already exist in the system)
*/
failed: Array<string>;
};
/** @internal */
export declare const V2KeysMigrateKeysResponseData$inboundSchema: z.ZodType<V2KeysMigrateKeysResponseData, z.ZodTypeDef, unknown>;
export declare function v2KeysMigrateKeysResponseDataFromJSON(jsonString: string): SafeParseResult<V2KeysMigrateKeysResponseData, SDKValidationError>;
//# sourceMappingURL=v2keysmigratekeysresponsedata.d.ts.map