Skip to content

Commit

Permalink
Exported a few internals
Browse files Browse the repository at this point in the history
  • Loading branch information
abdalmajeed-yoti committed Dec 21, 2023
1 parent 465e75d commit 61ee70b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,20 @@ const {
RequestedTypeListSourcesBuilder,
CreateFaceCaptureResourcePayloadBuilder,
UploadFaceCaptureImagePayloadBuilder,
IDVService,
} = require('./src/idv_service');

const YotiCommon = require('./src/yoti_common');
const { YotiRequest } = require('./src/request/request');
const IDVError = require('./src/idv_service/idv.error');

module.exports = {
internals: {
IDVService,
YotiCommon,
YotiRequest,
IDVError,
},
Client: YotiClient,
IDVClient,
DigitalIdentityClient,
Expand Down
10 changes: 10 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { IDVService } from "./src/idv_service";
import YotiCommon = require("./src/yoti_common");
import { YotiRequest } from "./src/request/request";
import IDVError = require("./src/idv_service/idv.error");
import { YotiClient } from "./src/client";
import { IDVClient } from "./src/client";
import { DigitalIdentityClient } from "./src/client";
Expand Down Expand Up @@ -46,4 +50,10 @@ import { RequestedSearchProfileSourcesBuilder } from "./src/idv_service";
import { RequestedTypeListSourcesBuilder } from "./src/idv_service";
import { CreateFaceCaptureResourcePayloadBuilder } from "./src/idv_service";
import { UploadFaceCaptureImagePayloadBuilder } from "./src/idv_service";
export declare namespace internals {
export { IDVService };
export { YotiCommon };
export { YotiRequest };
export { IDVError };
}
export { YotiClient as Client, IDVClient, DigitalIdentityClient, IDVConstants, AmlAddress, AmlProfile, DigitalIdentityBuilders, DynamicScenarioBuilder, DynamicPolicyBuilder, WantedAttributeBuilder, ExtensionBuilder, LocationConstraintExtensionBuilder, ThirdPartyAttributeExtensionBuilder, TransactionalFlowExtensionBuilder, WantedAnchorBuilder, ConstraintsBuilder, SourceConstraintBuilder, RequestBuilder, Payload, YotiDate, constants, SessionSpecificationBuilder, NotificationConfigBuilder, SdkConfigBuilder, RequestedDocumentAuthenticityCheckBuilder, RequestedIdDocumentComparisonCheckBuilder, RequestedThirdPartyIdentityCheckBuilder, RequestedWatchlistScreeningCheckBuilder, RequestedWatchlistAdvancedCaCheckBuilder, RequestedFaceMatchCheckBuilder, RequestedFaceComparisonCheckBuilder, RequestedLivenessCheckBuilder, RequestedTextExtractionTaskBuilder, RequestedSupplementaryDocTextExtractionTaskBuilder, RequiredIdDocumentBuilder, RequiredSupplementaryDocumentBuilder, DocumentRestrictionsFilterBuilder, DocumentRestrictionBuilder, OrthogonalRestrictionsFilterBuilder, ProofOfAddressObjectiveBuilder, RequestedCustomAccountWatchlistAdvancedCaConfigBuilder, RequestedYotiAccountWatchlistAdvancedCaConfigBuilder, RequestedExactMatchingStrategyBuilder, RequestedFuzzyMatchingStrategyBuilder, RequestedSearchProfileSourcesBuilder, RequestedTypeListSourcesBuilder, CreateFaceCaptureResourcePayloadBuilder, UploadFaceCaptureImagePayloadBuilder };

0 comments on commit 61ee70b

Please sign in to comment.