Skip to content

Commit

Permalink
fix(backend): Add missing reservedForSecondFactor property to `Phon…
Browse files Browse the repository at this point in the history
…eNumberAPI` types (#4730)

Co-authored-by: Stefanos Anagnostou <[email protected]>
  • Loading branch information
tmoran-stenoa and anagstef authored Dec 9, 2024
1 parent 54a9c93 commit fe75ced
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/red-rice-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@clerk/backend": patch
---

Add missing `reservedForSecondFactor` property to `CreatePhoneNumberParams` and `UpdatePhoneNumberParams` types.
2 changes: 2 additions & 0 deletions packages/backend/src/api/endpoints/PhoneNumberApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ type CreatePhoneNumberParams = {
phoneNumber: string;
verified?: boolean;
primary?: boolean;
reservedForSecondFactor?: boolean;
};

type UpdatePhoneNumberParams = {
verified?: boolean;
primary?: boolean;
reservedForSecondFactor?: boolean;
};

export class PhoneNumberAPI extends AbstractAPI {
Expand Down

0 comments on commit fe75ced

Please sign in to comment.