@leancodepl/kratos
Version:
Headless React components library for building Ory Kratos authentication flows
33 lines • 1.17 kB
TypeScript
import { CreateIdentityBody } from './CreateIdentityBody';
/**
* Payload for patching an identity
* @export
* @interface IdentityPatch
*/
export interface IdentityPatch {
/**
*
* @type {CreateIdentityBody}
* @memberof IdentityPatch
*/
create?: CreateIdentityBody;
/**
* The ID of this patch.
*
* The patch ID is optional. If specified, the ID will be returned in the
* response, so consumers of this API can correlate the response with the
* patch.
* @type {string}
* @memberof IdentityPatch
*/
patch_id?: string;
}
/**
* Check if a given object implements the IdentityPatch interface.
*/
export declare function instanceOfIdentityPatch(value: object): value is IdentityPatch;
export declare function IdentityPatchFromJSON(json: any): IdentityPatch;
export declare function IdentityPatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentityPatch;
export declare function IdentityPatchToJSON(json: any): IdentityPatch;
export declare function IdentityPatchToJSONTyped(value?: IdentityPatch | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=IdentityPatch.d.ts.map