Skip to content

Commit fe75ced

Browse files
fix(backend): Add missing reservedForSecondFactor property to PhoneNumberAPI types (clerk#4730)
Co-authored-by: Stefanos Anagnostou <anagstef@users.noreply.github.com>
1 parent 54a9c93 commit fe75ced

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.changeset/red-rice-attend.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@clerk/backend": patch
3+
---
4+
5+
Add missing `reservedForSecondFactor` property to `CreatePhoneNumberParams` and `UpdatePhoneNumberParams` types.

packages/backend/src/api/endpoints/PhoneNumberApi.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ type CreatePhoneNumberParams = {
99
phoneNumber: string;
1010
verified?: boolean;
1111
primary?: boolean;
12+
reservedForSecondFactor?: boolean;
1213
};
1314

1415
type UpdatePhoneNumberParams = {
1516
verified?: boolean;
1617
primary?: boolean;
18+
reservedForSecondFactor?: boolean;
1719
};
1820

1921
export class PhoneNumberAPI extends AbstractAPI {

0 commit comments

Comments
 (0)