From 7ef3414ba2318e14f7d7ed1721515f518bbb5956 Mon Sep 17 00:00:00 2001 From: Clerk Cookie <136073014+clerk-cookie@users.noreply.github.com> Date: Thu, 7 Dec 2023 12:47:45 +0200 Subject: [PATCH] fix(backend): Added missing types to create invitation (#2268) (#2287) * fix(backend): Added missing types to create invitation * Update .changeset/fast-swans-smile.md Co-authored-by: Lennart * fix(backend): Fixed typo --------- Co-authored-by: Lennart (cherry picked from commit de6519daa84732023bcfd74ad816a2654f457952) Co-authored-by: Roy Anger --- .changeset/fast-swans-smile.md | 5 +++++ packages/backend/src/api/endpoints/InvitationApi.ts | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/fast-swans-smile.md diff --git a/.changeset/fast-swans-smile.md b/.changeset/fast-swans-smile.md new file mode 100644 index 00000000000..e438f98ff64 --- /dev/null +++ b/.changeset/fast-swans-smile.md @@ -0,0 +1,5 @@ +--- +'@clerk/backend': patch +--- + +Added missing types for `clerkClient.invitations.createInvitation` diff --git a/packages/backend/src/api/endpoints/InvitationApi.ts b/packages/backend/src/api/endpoints/InvitationApi.ts index 7fad097843f..b2050b13dd8 100644 --- a/packages/backend/src/api/endpoints/InvitationApi.ts +++ b/packages/backend/src/api/endpoints/InvitationApi.ts @@ -8,6 +8,8 @@ type CreateParams = { emailAddress: string; redirectUrl?: string; publicMetadata?: UserPublicMetadata; + notify?: boolean; + ignoreExisting?: boolean; }; type GetInvitationListParams = {