Skip to content

Commit a9dc76b

Browse files
committed
feat(clerk-sdk-node): Organizations operations
Expose the organization related methods from backend-core to our NodeJS SDK. Also expose the OrganizationMembership and OrganizationMembershipPublicUserData resources.
1 parent 7f27997 commit a9dc76b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

packages/sdk-node/src/index.ts

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const allowlistIdentifiers = singletonInstance.allowlistIdentifiers;
77
const clients = singletonInstance.clients;
88
const emails = singletonInstance.emails;
99
const invitations = singletonInstance.invitations;
10+
const organizations = singletonInstance.organizations;
1011
const sessions = singletonInstance.sessions;
1112
const smsMessages = singletonInstance.smsMessages;
1213
const users = singletonInstance.users;
@@ -20,6 +21,7 @@ export {
2021
clients,
2122
emails,
2223
invitations,
24+
organizations,
2325
sessions,
2426
smsMessages,
2527
users,
@@ -35,6 +37,9 @@ export {
3537
ExternalAccount,
3638
IdentificationLink,
3739
Invitation,
40+
Organization,
41+
OrganizationMembership,
42+
OrganizationMembershipPublicUserData,
3843
PhoneNumber,
3944
Session,
4045
SMSMessage,

packages/sdk-node/src/instance.ts

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ export {
2020
IdentificationLink,
2121
Invitation,
2222
Nullable,
23+
Organization,
24+
OrganizationMembership,
25+
OrganizationMembershipPublicUserData,
2326
PhoneNumber,
2427
Session,
2528
SMSMessage,

0 commit comments

Comments
 (0)