-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark
allow_profiles_outside_organization
as deprecated (#1060)
## Description Marks `allow_profiles_outside_organization` as now being deprecated. ## Documentation Does this require changes to the WorkOS Docs? E.g. the [API Reference](https://workos.com/docs/reference) or code snippets need updates. ``` [ ] Yes ``` If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.
- Loading branch information
Showing
2 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,12 @@ import { DomainData } from './domain-data.interface'; | |
|
||
export interface CreateOrganizationOptions { | ||
name: string; | ||
allowProfilesOutsideOrganization?: boolean; | ||
domainData?: DomainData[]; | ||
|
||
/** | ||
* @deprecated If you need to allow sign-ins from any email domain, contact [email protected]. | ||
*/ | ||
allowProfilesOutsideOrganization?: boolean; | ||
/** | ||
* @deprecated Use `domain_data` instead. | ||
*/ | ||
|
@@ -13,8 +17,12 @@ export interface CreateOrganizationOptions { | |
|
||
export interface SerializedCreateOrganizationOptions { | ||
name: string; | ||
allow_profiles_outside_organization?: boolean; | ||
domain_data?: DomainData[]; | ||
|
||
/** | ||
* @deprecated If you need to allow sign-ins from any email domain, contact [email protected]. | ||
*/ | ||
allow_profiles_outside_organization?: boolean; | ||
/** | ||
* @deprecated Use `domain_data` instead. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,12 @@ import { DomainData } from './domain-data.interface'; | |
export interface UpdateOrganizationOptions { | ||
organization: string; | ||
name: string; | ||
allowProfilesOutsideOrganization?: boolean; | ||
domainData?: DomainData[]; | ||
|
||
/** | ||
* @deprecated If you need to allow sign-ins from any email domain, contact [email protected]. | ||
*/ | ||
allowProfilesOutsideOrganization?: boolean; | ||
/** | ||
* @deprecated Use `domain_data` instead. | ||
*/ | ||
|
@@ -13,8 +17,12 @@ export interface UpdateOrganizationOptions { | |
|
||
export interface SerializedUpdateOrganizationOptions { | ||
name: string; | ||
allow_profiles_outside_organization?: boolean; | ||
domain_data?: DomainData[]; | ||
|
||
/** | ||
* @deprecated If you need to allow sign-ins from any email domain, contact [email protected]. | ||
*/ | ||
allow_profiles_outside_organization?: boolean; | ||
/** | ||
* @deprecated Use `domain_data` instead. | ||
*/ | ||
|