From b053f5d098a2e9667901899545fa49fa80966860 Mon Sep 17 00:00:00 2001 From: Ken'ichiro Oyama Date: Mon, 9 Feb 2026 13:30:53 +0900 Subject: [PATCH] feat(types): update idp types for optional password and clearPassword support --- packages/types/tailor.d.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/types/tailor.d.ts b/packages/types/tailor.d.ts index c3ac1c9..7de17aa 100644 --- a/packages/types/tailor.d.ts +++ b/packages/types/tailor.d.ts @@ -333,8 +333,8 @@ declare namespace tailor.idp { interface CreateUserInput { /** The user's name (typically email) */ name: string; - /** The user's password */ - password: string; + /** The user's password. If omitted, the user is created without a password (cannot log in with any password). */ + password?: string; /** Whether the user is disabled */ disabled?: boolean; } @@ -347,8 +347,10 @@ declare namespace tailor.idp { id: string; /** New name for the user */ name?: string; - /** New password for the user */ + /** New password for the user. Cannot be used with clearPassword. */ password?: string; + /** If true, remove the user's password. Cannot be used with password. */ + clearPassword?: boolean; /** New disabled status for the user */ disabled?: boolean; }