Skip to content

Commit 5ee2149

Browse files
gjtorikianclaude
andcommitted
fix: address remaining review items (4, 5, 7)
- Remove duplicate ConnectionType enum (connection-type.interface.ts was dead code, duplicating hand-written connection-type.enum.ts) - Fix redundant union type AuthenticationFactorTotp | AuthenticationFactorTotp (stale file from before emitter dedup fix) - Remove misleading "auto-generated by oagen" header from service files that contain substantial hand-written code Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent fae3113 commit 5ee2149

10 files changed

Lines changed: 2 additions & 73 deletions

File tree

src/api-keys/api-keys.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// This file is auto-generated by oagen. Do not edit.
2-
31
import { WorkOS } from '../workos';
42
import {
53
SerializedValidateApiKeyResponse,

src/audit-logs/audit-logs.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// This file is auto-generated by oagen. Do not edit.
2-
31
import { WorkOS } from '../workos';
42
import {
53
CreateAuditLogEventOptions,

src/authorization/authorization.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// This file is auto-generated by oagen. Do not edit.
2-
31
import { WorkOS } from '../workos';
42
import {
53
Role,

src/directory-sync/directory-sync.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// This file is auto-generated by oagen. Do not edit.
2-
31
import { WorkOS } from '../workos';
42
import { AutoPaginatable } from '../common/utils/pagination';
53
import {

src/events/events.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// This file is auto-generated by oagen. Do not edit.
2-
31
import { WorkOS } from '../workos';
42
import { ListEventOptions } from './interfaces';
53
import { deserializeEvent, deserializeList } from '../common/serializers';

src/mfa/interfaces/authentication-factor.interface.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface AuthenticationFactor {
2323
/** SMS-based authentication factor details. */
2424
sms?: AuthenticationFactorSms;
2525
/** TOTP-based authentication factor details. */
26-
totp?: AuthenticationFactorTotp | AuthenticationFactorTotp;
26+
totp?: AuthenticationFactorTotp;
2727
/** An ISO 8601 timestamp. */
2828
createdAt: string;
2929
/** An ISO 8601 timestamp. */
@@ -36,7 +36,7 @@ export interface AuthenticationFactorResponse {
3636
type: AuthenticationFactorType;
3737
user_id?: string;
3838
sms?: AuthenticationFactorSmsResponse;
39-
totp?: AuthenticationFactorTotpResponse | AuthenticationFactorTotpResponse;
39+
totp?: AuthenticationFactorTotpResponse;
4040
created_at: string;
4141
updated_at: string;
4242
}

src/organizations/organizations.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// This file is auto-generated by oagen. Do not edit.
2-
31
import { AutoPaginatable } from '../common/utils/pagination';
42
import { WorkOS } from '../workos';
53
import {

src/sso/interfaces/connection-type.interface.ts

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/sso/sso.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// This file is auto-generated by oagen. Do not edit.
2-
31
import { UnknownRecord } from '../common/interfaces/unknown-record.interface';
42
import { fetchAndDeserialize } from '../common/utils/fetch-and-deserialize';
53
import { AutoPaginatable } from '../common/utils/pagination';

src/user-management/user-management.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// This file is auto-generated by oagen. Do not edit.
2-
31
import { sealData, unsealData } from '../common/crypto/seal';
42
import { PaginationOptions } from '../common/interfaces/pagination-options.interface';
53
import { fetchAndDeserialize } from '../common/utils/fetch-and-deserialize';

0 commit comments

Comments
 (0)