Skip to content

Commit

Permalink
(PC-32322) chore(api): update schema api (#7056)
Browse files Browse the repository at this point in the history
* (PC-32322) feat(api): remove stepperIncludesPhoneValidation in api.ts

* (PC-32322) feat(api): remove enableNativeIdCheckVerboseDebugging in api.ts

* (PC-32322) feat(api): update postNativeV1ProfileUpdateEmail in api.ts
  • Loading branch information
Lucasbeneston authored Oct 18, 2024
1 parent 80c4024 commit 29b814d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
12 changes: 2 additions & 10 deletions src/api/gen/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1880,11 +1880,6 @@ export interface NextSubscriptionStepResponse {
* @memberof NextSubscriptionStepResponse
*/
nextSubscriptionStep?: SubscriptionStep | null
/**
* @type {boolean}
* @memberof NextSubscriptionStepResponse
*/
stepperIncludesPhoneValidation: boolean
/**
* @type {SubscriptionMessage}
* @memberof NextSubscriptionStepResponse
Expand Down Expand Up @@ -3081,11 +3076,6 @@ export interface SettingsResponse {
* @memberof SettingsResponse
*/
enableNativeCulturalSurvey: boolean
/**
* @type {boolean}
* @memberof SettingsResponse
*/
enableNativeIdCheckVerboseDebugging: boolean
/**
* @type {boolean}
* @memberof SettingsResponse
Expand Down Expand Up @@ -5561,6 +5551,8 @@ export const DefaultApiFetchParamCreator = function (configuration?: Configurati
): Promise<FetchArgs> {
let pathname = `/native/v1/profile/update_email`
let secureOptions = Object.assign(options, { credentials: 'omit' })
// authentication JWTAuth required
secureOptions = Object.assign(secureOptions, { credentials: 'include' })
const localVarRequestOptions = Object.assign({ method: 'POST' }, secureOptions)
const localVarHeaderParameter = await getAuthenticationHeaders(secureOptions)
localVarHeaderParameter['Content-Type'] = 'application/json'
Expand Down
1 change: 0 additions & 1 deletion src/features/auth/fixtures/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export const defaultSettings: SettingsResponse = {
displayDmsRedirection: true,
enableFrontImageResizing: true,
enableNativeCulturalSurvey: false,
enableNativeIdCheckVerboseDebugging: false,
enablePhoneValidation: true,
idCheckAddressAutocompletion: true,
isRecaptchaEnabled: true,
Expand Down
1 change: 0 additions & 1 deletion src/features/identityCheck/pages/Stepper.web.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ mockdate.set(new Date('2020-12-01T00:00:00.000Z'))
const subscriptionStep: NextSubscriptionStepResponse = {
allowedIdentityCheckMethods: [],
hasIdentityCheckPending: false,
stepperIncludesPhoneValidation: true,
}
jest.mock('features/identityCheck/pages/helpers/useSetCurrentSubscriptionStep', () => ({
useSetSubscriptionStepAndMethod: jest.fn(() => ({
Expand Down

0 comments on commit 29b814d

Please sign in to comment.