diff --git a/src/batch-client/index.ts b/src/batch-client/index.ts index 111e27ee..5cf6d941 100644 --- a/src/batch-client/index.ts +++ b/src/batch-client/index.ts @@ -860,8 +860,7 @@ export class ZimbraBatchClient { password, authToken, twoFactorCode, - csrfTokenSecured, - ignoreSameSite + csrfTokenSecured }: EnableTwoFactorAuthInput) => this.jsonRequest({ name: 'EnableTwoFactorAuth', @@ -894,7 +893,6 @@ export class ZimbraBatchClient { _content: twoFactorCode } }), - ...(ignoreSameSite && { ignoreSameSite }), csrfTokenSecured }, namespace: Namespace.Account, @@ -1481,8 +1479,7 @@ export class ZimbraBatchClient { persistAuthTokenCookie, twoFactorCode, deviceTrusted, - csrfTokenSecured, - ignoreSameSite + csrfTokenSecured }: LoginOptions) => this.jsonRequest({ name: 'Auth', @@ -1495,7 +1492,6 @@ export class ZimbraBatchClient { by: 'name', _content: username }, - ...(ignoreSameSite && { ignoreSameSite }), ...(password && { password }), ...(recoveryCode && { recoveryCode: { diff --git a/src/batch-client/types.ts b/src/batch-client/types.ts index b1b9cc6b..186fc31c 100644 --- a/src/batch-client/types.ts +++ b/src/batch-client/types.ts @@ -245,7 +245,6 @@ export interface ModifyProfileImageOptions { export interface LoginOptions { csrfTokenSecured: boolean; deviceTrusted?: boolean; - ignoreSameSite?: boolean; password: string; persistAuthTokenCookie?: boolean; recoveryCode?: string; diff --git a/src/schema/generated-schema-types.ts b/src/schema/generated-schema-types.ts index 7351cc2b..2f5e7969 100644 --- a/src/schema/generated-schema-types.ts +++ b/src/schema/generated-schema-types.ts @@ -1534,7 +1534,6 @@ export type EnableTwoFactorAuthInput = { authToken?: InputMaybe; csrfTokenSecured: Scalars['Boolean']['input']; email?: InputMaybe; - ignoreSameSite?: InputMaybe; method: Scalars['String']['input']; name: Scalars['String']['input']; password?: InputMaybe; @@ -3017,7 +3016,6 @@ export type MutationItemActionArgs = { export type MutationLoginArgs = { csrfTokenSecured: Scalars['Boolean']['input']; deviceTrusted?: InputMaybe; - ignoreSameSite?: InputMaybe; password?: InputMaybe; persistAuthTokenCookie?: InputMaybe; recoveryCode?: InputMaybe; diff --git a/src/schema/schema.graphql b/src/schema/schema.graphql index 44ff65eb..e99cd85f 100644 --- a/src/schema/schema.graphql +++ b/src/schema/schema.graphql @@ -3089,7 +3089,6 @@ input EnableTwoFactorAuthInput { twoFactorCode: String authToken: String csrfTokenSecured: Boolean! - ignoreSameSite: Boolean } input SendTwoFactorAuthCodeInput { @@ -3771,7 +3770,6 @@ type Mutation { twoFactorCode: String deviceTrusted: Boolean csrfTokenSecured: Boolean! - ignoreSameSite: Boolean ): AuthResponse enableTwoFactorAuth( options: EnableTwoFactorAuthInput!