@propelauth/node-apis
Advanced tools
Comparing version 2.1.14 to 2.1.15
@@ -122,2 +122,3 @@ type CreateAccessTokenRequest = { | ||
isSamlConfigured: boolean; | ||
legacyOrgId?: string; | ||
metadata: { | ||
@@ -143,2 +144,3 @@ [key: string]: any; | ||
customRoleMappingName?: string; | ||
legacyOrgId?: string; | ||
}; | ||
@@ -293,2 +295,25 @@ type CreatedOrg = { | ||
type FetchPendingInvitesParams = { | ||
orgId?: string; | ||
pageSize?: number; | ||
pageNumber?: number; | ||
}; | ||
type PendingInvite = { | ||
inviteeEmail: string; | ||
orgId: string; | ||
orgName: string; | ||
roleInOrg: string; | ||
additionalRolesInOrg: string[]; | ||
createdAt: number; | ||
expiresAt: number; | ||
inviterEmail?: string; | ||
inviterUserId?: string; | ||
}; | ||
type PendingInvitesPage = { | ||
totalInvites: number; | ||
currentPage: number; | ||
pageSize: number; | ||
hasMoreResults: boolean; | ||
invites: PendingInvite[]; | ||
}; | ||
type OrgQuery = { | ||
@@ -314,2 +339,3 @@ pageSize?: number; | ||
customRoleMappingName?: string; | ||
legacyOrgId?: string; | ||
}; | ||
@@ -428,2 +454,3 @@ type AddUserToOrgRequest = { | ||
username?: string; | ||
pictureUrl?: string; | ||
properties?: { | ||
@@ -613,2 +640,3 @@ [key: string]: any; | ||
disableUserCanCreateOrgs: (userId: string) => Promise<boolean>; | ||
logoutAllUserSessions: (userId: string) => Promise<boolean>; | ||
createOrg: (createOrgRequest: CreateOrgRequest) => Promise<CreatedOrg>; | ||
@@ -624,2 +652,3 @@ addUserToOrg: (addUserToOrgRequest: AddUserToOrgRequest) => Promise<boolean>; | ||
inviteUserToOrg: (inviteUserToOrgRequest: InviteUserToOrgRequest) => Promise<boolean>; | ||
fetchPendingInvites: (params?: FetchPendingInvitesParams) => Promise<PendingInvitesPage>; | ||
fetchApiKey: (apiKeyId: string) => Promise<ApiKeyFull>; | ||
@@ -638,2 +667,2 @@ fetchCurrentApiKeys: (apiKeyQuery: ApiKeysQueryRequest) => Promise<ApiKeyResultPage>; | ||
export { AccessToken, AccessTokenCreationException, AddUserToOrgException, AddUserToOrgRequest, ApiKeyCreateException, ApiKeyDeleteException, ApiKeyFetchException, ApiKeyFull, ApiKeyNew, ApiKeyResultPage, ApiKeyUpdateException, ApiKeyUpdateRequest, ApiKeyValidateException, ApiKeyValidation, ApiKeysCreateRequest, ApiKeysQueryRequest, BadRequestException, ChangeUserRoleInOrgException, ChangeUserRoleInOrgRequest, CreateAccessTokenRequest, CreateMagicLinkRequest, CreateOrgException, CreateOrgRequest, CreateUserException, CreateUserRequest, CreatedOrg, CreatedUser, CustomRoleMapping, CustomRoleMappings, ForbiddenException, InternalOrgMemberInfo, InternalUser, InviteUserToOrgRequest, LoginMethod, MagicLink, MagicLinkCreationException, MigrateUserException, MigrateUserFromExternalSourceRequest, Org, OrgApiKeyValidation, OrgIdToOrgMemberInfo, OrgMemberInfo, OrgQuery, OrgQueryResponse, OrgRoleStructure, Organization, PersonalApiKeyValidation, RemoveUserFromOrgException, RemoveUserFromOrgRequest, SamlLoginProvider, SocialLoginProvider, TokenVerificationMetadata, UnauthorizedException, UnexpectedException, UpdateOrgException, UpdateOrgRequest, UpdateUserEmailException, UpdateUserEmailRequest, UpdateUserMetadataException, UpdateUserMetadataRequest, UpdateUserPasswordException, UpdateUserPasswordRequest, User, UserAndOrgMemberInfo, UserClass, UserMetadata, UserNotFoundException, UserProperties, UserSignupQueryParams, UsersInOrgQuery, UsersPagedResponse, UsersQuery, getApis, parseSnakeCaseToCamelCase, toOrgIdToOrgMemberInfo, toUser }; | ||
export { AccessToken, AccessTokenCreationException, AddUserToOrgException, AddUserToOrgRequest, ApiKeyCreateException, ApiKeyDeleteException, ApiKeyFetchException, ApiKeyFull, ApiKeyNew, ApiKeyResultPage, ApiKeyUpdateException, ApiKeyUpdateRequest, ApiKeyValidateException, ApiKeyValidation, ApiKeysCreateRequest, ApiKeysQueryRequest, BadRequestException, ChangeUserRoleInOrgException, ChangeUserRoleInOrgRequest, CreateAccessTokenRequest, CreateMagicLinkRequest, CreateOrgException, CreateOrgRequest, CreateUserException, CreateUserRequest, CreatedOrg, CreatedUser, CustomRoleMapping, CustomRoleMappings, FetchPendingInvitesParams, ForbiddenException, InternalOrgMemberInfo, InternalUser, InviteUserToOrgRequest, LoginMethod, MagicLink, MagicLinkCreationException, MigrateUserException, MigrateUserFromExternalSourceRequest, Org, OrgApiKeyValidation, OrgIdToOrgMemberInfo, OrgMemberInfo, OrgQuery, OrgQueryResponse, OrgRoleStructure, Organization, PendingInvite, PendingInvitesPage, PersonalApiKeyValidation, RemoveUserFromOrgException, RemoveUserFromOrgRequest, SamlLoginProvider, SocialLoginProvider, TokenVerificationMetadata, UnauthorizedException, UnexpectedException, UpdateOrgException, UpdateOrgRequest, UpdateUserEmailException, UpdateUserEmailRequest, UpdateUserMetadataException, UpdateUserMetadataRequest, UpdateUserPasswordException, UpdateUserPasswordRequest, User, UserAndOrgMemberInfo, UserClass, UserMetadata, UserNotFoundException, UserProperties, UserSignupQueryParams, UsersInOrgQuery, UsersPagedResponse, UsersQuery, getApis, parseSnakeCaseToCamelCase, toOrgIdToOrgMemberInfo, toUser }; |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "2.1.14", | ||
"version": "2.1.15", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
442951
4247