Skip to content

Commit 5b889e5

Browse files
committed
remove deprecated properties for v8
1 parent 58d9a23 commit 5b889e5

File tree

4 files changed

+0
-52
lines changed

4 files changed

+0
-52
lines changed

src/client/user-management.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ export interface AuthorizationURLOptions {
66
codeChallenge?: string;
77
codeChallengeMethod?: 'S256';
88
connectionId?: string;
9-
/**
10-
* @deprecated We previously required initiate login endpoints to return the `context`
11-
* query parameter when getting the authorization URL. This is no longer necessary.
12-
*/
13-
context?: string;
149
organizationId?: string;
1510
domainHint?: string;
1611
loginHint?: string;

src/directory-sync/interfaces/directory-user.interface.ts

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,7 @@ export interface DirectoryUser<
1919
idpId: string;
2020
firstName: string | null;
2121
email: string | null;
22-
/** @deprecated Will be removed in a future major version.
23-
* Enable the `emails` custom attribute in dashboard and pull from customAttributes instead.
24-
* See https://workos.com/docs/directory-sync/attributes/custom-attributes/auto-mapped-attributes for details.
25-
*/
26-
emails: {
27-
type?: string;
28-
value?: string;
29-
primary?: boolean;
30-
}[];
31-
/** @deprecated Will be removed in a future major version.
32-
* Enable the `username` custom attribute in dashboard and pull from customAttributes instead.
33-
* See https://workos.com/docs/directory-sync/attributes/custom-attributes/auto-mapped-attributes for details.
34-
*/
35-
username: string | null;
3622
lastName: string | null;
37-
/** @deprecated Will be removed in a future major version.
38-
* Enable the `job_title` custom attribute in dashboard and pull from customAttributes instead.
39-
* See https://workos.com/docs/directory-sync/attributes/custom-attributes/auto-mapped-attributes for details.
40-
*/
41-
jobTitle: string | null;
4223
state: 'active' | 'inactive';
4324
role?: RoleResponse;
4425
createdAt: string;
@@ -58,26 +39,7 @@ export interface DirectoryUserResponse<
5839
idp_id: string;
5940
first_name: string | null;
6041
email: string | null;
61-
/** @deprecated Will be removed in a future major version.
62-
* Enable the `emails` custom attribute in dashboard and pull from customAttributes instead.
63-
* See https://workos.com/docs/directory-sync/attributes/custom-attributes/auto-mapped-attributes for details.
64-
*/
65-
emails: {
66-
type?: string;
67-
value?: string;
68-
primary?: boolean;
69-
}[];
70-
/** @deprecated Will be removed in a future major version.
71-
* Enable the `username` custom attribute in dashboard and pull from customAttributes instead.
72-
* See https://workos.com/docs/directory-sync/attributes/custom-attributes/auto-mapped-attributes for details.
73-
*/
74-
username: string | null;
7542
last_name: string | null;
76-
/** @deprecated Will be removed in a future major version.
77-
* Enable the `job_title` custom attribute in dashboard and pull from customAttributes instead.
78-
* See https://workos.com/docs/directory-sync/attributes/custom-attributes/auto-mapped-attributes for details.
79-
*/
80-
job_title: string | null;
8143
state: 'active' | 'inactive';
8244
role?: RoleResponse;
8345
created_at: string;

src/organization-domains/interfaces/organization-domain.interface.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
export enum OrganizationDomainState {
2-
/**
3-
* @deprecated
4-
*/
5-
LegacyVerified = 'legacy_verified',
62
Verified = 'verified',
73
Pending = 'pending',
84
Failed = 'failed',

src/user-management/interfaces/authorization-url-options.interface.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ export interface UserManagementAuthorizationURLOptions {
33
codeChallenge?: string;
44
codeChallengeMethod?: 'S256';
55
connectionId?: string;
6-
/**
7-
* @deprecated We previously required initiate login endpoints to return the `context`
8-
* query parameter when getting the authorization URL. This is no longer necessary.
9-
*/
10-
context?: string;
116
organizationId?: string;
127
domainHint?: string;
138
loginHint?: string;

0 commit comments

Comments
 (0)