Skip to content

Commit

Permalink
Mark allow_profiles_outside_organization as deprecated (#1060)
Browse files Browse the repository at this point in the history
## 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
mthadley authored Jun 12, 2024
1 parent 70667dd commit 3ff1757
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand All @@ -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.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand All @@ -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.
*/
Expand Down

0 comments on commit 3ff1757

Please sign in to comment.