Skip to content

Commit

Permalink
Move single identity profile to folder
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent-yoti committed Jun 21, 2024
1 parent 51768b6 commit 4a96ccf
Show file tree
Hide file tree
Showing 23 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/idv_service/session/retrieve/get.session.result.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const WatchlistScreeningCheckResponse = require('./watchlist.screening.check.res
const WatchlistAdvancedCaCheckResponse = require('./watchlist.advanced.ca.check.response');
const ThirdPartyIdentityFraud1CheckResponse = require('./third.party.identity.fraud.1.check.response');
const FaceComparisonCheckResponse = require('./face.comparison.check.response');
const IdentityProfileResponse = require('./identity.profile.response');
const IdentityProfileResponse = require('./identity_profile/identity.profile.response');
const AdvancedIdentityProfileResponse = require('./identity_profile/advanced/advanced.identity.profile.response');
const IDVConstants = require('../../idv.constants');
const { YotiDate } = require('../../../data_type/date');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const Validation = require('../../../../../yoti_common/validation');
const AdvancedIdentityProfileReportResponse = require('./advanced.identity.profile.report.response');
const IdentityProfileFailureReasonResponse = require('../../identity.profile.failure.reason.response');
const IdentityProfileFailureReasonResponse = require('../identity.profile.failure.reason.response');

class AdvancedIdentityProfileResponse {
constructor(response) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const Validation = require('../../../yoti_common/validation');
const Validation = require('../../../../yoti_common/validation');
const IdentityProfileRequirementsNotMetDetailResponse = require('./identity.profile.requirements.not.met.detail.response');

class IdentityProfileFailureReasonResponse {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

const IdentityProfileReportSchemesComplianceResponse = require('./identity.profile.report.schemes.compliance.response');
const Validation = require('../../../yoti_common/validation');
const MediaResponse = require('./media.response');
const Validation = require('../../../../yoti_common/validation');
const MediaResponse = require('../media.response');

class IdentityProfileReportResponse {
constructor(report) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const Validation = require('../../../yoti_common/validation');
const Validation = require('../../../../yoti_common/validation');
const IdentityProfileSchemeResponse = require('./identity.profile.scheme.response');

class IdentityProfileReportSchemesComplianceResponse {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const Validation = require('../../../yoti_common/validation');
const Validation = require('../../../../yoti_common/validation');

class IdentityProfileRequirementsNotMetDetailResponse {
constructor(requirementsNotMetDetail) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const Validation = require('../../../yoti_common/validation');
const Validation = require('../../../../yoti_common/validation');
const IdentityProfileReportResponse = require('./identity.profile.report.response');
const IdentityProfileFailureReasonResponse = require('./identity.profile.failure.reason.response');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const Validation = require('../../../yoti_common/validation');
const Validation = require('../../../../yoti_common/validation');

class IdentityProfileSchemeResponse {
constructor(scheme) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const WatchlistScreeningCheckResponse = require('../../../../src/idv_service/ses
const WatchlistAdvancedCaCheckResponse = require('../../../../src/idv_service/session/retrieve/watchlist.advanced.ca.check.response');
const ThirdPartyIdentityFraud1CheckResponse = require('../../../../src/idv_service/session/retrieve/third.party.identity.fraud.1.check.response');
const FaceComparisonCheckResponse = require('../../../../src/idv_service/session/retrieve/face.comparison.check.response');
const IdentityProfileResponse = require('../../../../src/idv_service/session/retrieve/identity.profile.response');
const IdentityProfileResponse = require('../../../../src/idv_service/session/retrieve/identity_profile/identity.profile.response');
const AdvancedIdentityProfileResponse = require('../../../../src/idv_service/session/retrieve/identity_profile/advanced/advanced.identity.profile.response');
const { YotiDate } = require('../../../..');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const IdentityProfileFailureReasonResponse = require('../../../../../../src/idv_service/session/retrieve/identity.profile.failure.reason.response');
const IdentityProfileRequirementsNotMetDetailResponse = require('../../../../../../src/idv_service/session/retrieve/identity.profile.requirements.not.met.detail.response');
const IdentityProfileFailureReasonResponse = require('../../../../../../src/idv_service/session/retrieve/identity_profile/identity.profile.failure.reason.response');
const IdentityProfileRequirementsNotMetDetailResponse = require('../../../../../../src/idv_service/session/retrieve/identity_profile/identity.profile.requirements.not.met.detail.response');
const AdvancedIdentityProfileReportResponse = require('../../../../../../src/idv_service/session/retrieve/identity_profile/advanced/advanced.identity.profile.report.response');
const AdvancedIdentityProfileResponse = require('../../../../../../src/idv_service/session/retrieve/identity_profile/advanced/advanced.identity.profile.response');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const IdentityProfileReportResponse = require('../../../../src/idv_service/session/retrieve/identity.profile.report.response');
const IdentityProfileReportSchemesComplianceResponse = require('../../../../src/idv_service/session/retrieve/identity.profile.report.schemes.compliance.response');
const MediaResponse = require('../../../../src/idv_service/session/retrieve/media.response');
const IdentityProfileReportResponse = require('../../../../../src/idv_service/session/retrieve/identity_profile/identity.profile.report.response');
const IdentityProfileReportSchemesComplianceResponse = require('../../../../../src/idv_service/session/retrieve/identity_profile/identity.profile.report.schemes.compliance.response');
const MediaResponse = require('../../../../../src/idv_service/session/retrieve/media.response');

describe('IdentityProfileResponseReport', () => {
let identityProfileReportResponse;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const IdentityProfileReportSchemesComplianceResponse = require('../../../../src/idv_service/session/retrieve/identity.profile.report.schemes.compliance.response');
const IdentityProfileSchemeResponse = require('../../../../src/idv_service/session/retrieve/identity.profile.scheme.response');
const IdentityProfileReportSchemesComplianceResponse = require('../../../../../src/idv_service/session/retrieve/identity_profile/identity.profile.report.schemes.compliance.response');
const IdentityProfileSchemeResponse = require('../../../../../src/idv_service/session/retrieve/identity_profile/identity.profile.scheme.response');

describe('IdentityProfileReportSchemesComplianceResponse', () => {
let identityProfileReportSchemesComplianceResponse;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const IdentityProfileRequirementsNotMetDetailResponse = require('../../../../src/idv_service/session/retrieve/identity.profile.requirements.not.met.detail.response');
const IdentityProfileRequirementsNotMetDetailResponse = require('../../../../../src/idv_service/session/retrieve/identity_profile/identity.profile.requirements.not.met.detail.response');

describe('IdentityProfileRequirementsNotMetDetailResponse', () => {
let requirementsNotMetDetailResponse;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const IdentityProfileResponse = require('../../../../src/idv_service/session/retrieve/identity.profile.response');
const IdentityProfileReportResponse = require('../../../../src/idv_service/session/retrieve/identity.profile.report.response');
const IdentityProfileFailureReasonResponse = require('../../../../src/idv_service/session/retrieve/identity.profile.failure.reason.response');
const IdentityProfileRequirementsNotMetDetailResponse = require('../../../../src/idv_service/session/retrieve/identity.profile.requirements.not.met.detail.response');
const IdentityProfileResponse = require('../../../../../src/idv_service/session/retrieve/identity_profile/identity.profile.response');
const IdentityProfileReportResponse = require('../../../../../src/idv_service/session/retrieve/identity_profile/identity.profile.report.response');
const IdentityProfileFailureReasonResponse = require('../../../../../src/idv_service/session/retrieve/identity_profile/identity.profile.failure.reason.response');
const IdentityProfileRequirementsNotMetDetailResponse = require('../../../../../src/idv_service/session/retrieve/identity_profile/identity.profile.requirements.not.met.detail.response');

describe('IdentityProfileResponse', () => {
let identityProfileResponse;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const IdentityProfileSchemeResponse = require('../../../../src/idv_service/session/retrieve/identity.profile.scheme.response');
const IdentityProfileSchemeResponse = require('../../../../../src/idv_service/session/retrieve/identity_profile/identity.profile.scheme.response');

describe('IdentityProfileSchemeResponse', () => {
let identityProfileSchemeResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,5 @@ import ThirdPartyIdentityFraud1CheckResponse = require("./third.party.identity.f
import FaceComparisonCheckResponse = require("./face.comparison.check.response");
import ResourceContainer = require("./resource.container");
import { YotiDate } from "../../../data_type/date";
import IdentityProfileResponse = require("./identity.profile.response");
import IdentityProfileResponse = require("./identity_profile/identity.profile.response");
import AdvancedIdentityProfileResponse = require("./identity_profile/advanced/advanced.identity.profile.response");
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ declare class AdvancedIdentityProfileResponse {
getFailureReason(): IdentityProfileFailureReasonResponse;
getIdentityProfileReport(): AdvancedIdentityProfileReportResponse;
}
import IdentityProfileFailureReasonResponse = require("../../identity.profile.failure.reason.response");
import IdentityProfileFailureReasonResponse = require("../identity.profile.failure.reason.response");
import AdvancedIdentityProfileReportResponse = require("./advanced.identity.profile.report.response");
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ declare class IdentityProfileReportResponse {
getMedia(): MediaResponse;
}
import IdentityProfileReportSchemesComplianceResponse = require("./identity.profile.report.schemes.compliance.response");
import MediaResponse = require("./media.response");
import MediaResponse = require("../media.response");

0 comments on commit 4a96ccf

Please sign in to comment.