"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CppTxnExternalException = exports.CppTxnFailureType = exports.CppVectorQueryCombination = exports.CppReadPreference = exports.CppReplicateTo = exports.CppPersistTo = exports.CppStoreSemantics = exports.CppImplSubdocOpcode = exports.CppKeyValueStatusCode = exports.CppErrcNetwork = exports.CppErrcFieldLevelEncryption = exports.CppErrcManagement = exports.CppErrcView = exports.CppErrcSearch = exports.CppErrcAnalytics = exports.CppErrcQuery = exports.CppErrcKeyValue = exports.CppErrcCommon = exports.CppDurabilityLevel = exports.CppAnalyticsResponseAnalyticsStatus = exports.CppViewSortOrder = exports.CppViewScanConsistency = exports.CppViewOnError = exports.CppServiceType = exports.CppSearchScanConsistency = exports.CppSearchHighlightStyle = exports.CppQueryScanConsistency = exports.CppQueryProfile = exports.CppDiagPingState = exports.CppDiagEndpointState = exports.CppDiagClusterState = exports.CppDesignDocumentNamespace = exports.CppAnalyticsScanConsistency = exports.CppProtocolSubdocOpcode = exports.CppRetryReason = exports.CppManagementRbacAuthDomain = exports.CppManagementEventingFunctionProcessingStatus = exports.CppManagementEventingFunctionDeploymentStatus = exports.CppManagementEventingFunctionStatus = exports.CppManagementEventingFunctionBucketAccess = exports.CppManagementEventingFunctionLogLevel = exports.CppManagementEventingFunctionLanguageCompatibility = exports.CppManagementEventingFunctionDcpBoundary = exports.CppManagementClusterBucketStorageBackend = exports.CppManagementClusterBucketConflictResolution = exports.CppManagementClusterBucketEvictionPolicy = exports.CppManagementClusterBucketCompression = exports.CppManagementClusterBucketType = exports.CppManagementAnalyticsCouchbaseLinkEncryptionLevel = exports.zeroCas = void 0;
/*
eslint
jsdoc/require-jsdoc: off,
@typescript-eslint/no-empty-interface: off
*/
const path_1 = __importDefault(require("path"));
exports.zeroCas = 0;
//#region Autogenerated Bindings
var CppManagementAnalyticsCouchbaseLinkEncryptionLevel;
(function (CppManagementAnalyticsCouchbaseLinkEncryptionLevel) {
})(CppManagementAnalyticsCouchbaseLinkEncryptionLevel || (exports.CppManagementAnalyticsCouchbaseLinkEncryptionLevel = CppManagementAnalyticsCouchbaseLinkEncryptionLevel = {}));
var CppManagementClusterBucketType;
(function (CppManagementClusterBucketType) {
})(CppManagementClusterBucketType || (exports.CppManagementClusterBucketType = CppManagementClusterBucketType = {}));
var CppManagementClusterBucketCompression;
(function (CppManagementClusterBucketCompression) {
})(CppManagementClusterBucketCompression || (exports.CppManagementClusterBucketCompression = CppManagementClusterBucketCompression = {}));
var CppManagementClusterBucketEvictionPolicy;
(function (CppManagementClusterBucketEvictionPolicy) {
})(CppManagementClusterBucketEvictionPolicy || (exports.CppManagementClusterBucketEvictionPolicy = CppManagementClusterBucketEvictionPolicy = {}));
var CppManagementClusterBucketConflictResolution;
(function (CppManagementClusterBucketConflictResolution) {
})(CppManagementClusterBucketConflictResolution || (exports.CppManagementClusterBucketConflictResolution = CppManagementClusterBucketConflictResolution = {}));
var CppManagementClusterBucketStorageBackend;
(function (CppManagementClusterBucketStorageBackend) {
})(CppManagementClusterBucketStorageBackend || (exports.CppManagementClusterBucketStorageBackend = CppManagementClusterBucketStorageBackend = {}));
var CppManagementEventingFunctionDcpBoundary;
(function (CppManagementEventingFunctionDcpBoundary) {
})(CppManagementEventingFunctionDcpBoundary || (exports.CppManagementEventingFunctionDcpBoundary = CppManagementEventingFunctionDcpBoundary = {}));
var CppManagementEventingFunctionLanguageCompatibility;
(function (CppManagementEventingFunctionLanguageCompatibility) {
})(CppManagementEventingFunctionLanguageCompatibility || (exports.CppManagementEventingFunctionLanguageCompatibility = CppManagementEventingFunctionLanguageCompatibility = {}));
var CppManagementEventingFunctionLogLevel;
(function (CppManagementEventingFunctionLogLevel) {
})(CppManagementEventingFunctionLogLevel || (exports.CppManagementEventingFunctionLogLevel = CppManagementEventingFunctionLogLevel = {}));
var CppManagementEventingFunctionBucketAccess;
(function (CppManagementEventingFunctionBucketAccess) {
})(CppManagementEventingFunctionBucketAccess || (exports.CppManagementEventingFunctionBucketAccess = CppManagementEventingFunctionBucketAccess = {}));
var CppManagementEventingFunctionStatus;
(function (CppManagementEventingFunctionStatus) {
})(CppManagementEventingFunctionStatus || (exports.CppManagementEventingFunctionStatus = CppManagementEventingFunctionStatus = {}));
var CppManagementEventingFunctionDeploymentStatus;
(function (CppManagementEventingFunctionDeploymentStatus) {
})(CppManagementEventingFunctionDeploymentStatus || (exports.CppManagementEventingFunctionDeploymentStatus = CppManagementEventingFunctionDeploymentStatus = {}));
var CppManagementEventingFunctionProcessingStatus;
(function (CppManagementEventingFunctionProcessingStatus) {
})(CppManagementEventingFunctionProcessingStatus || (exports.CppManagementEventingFunctionProcessingStatus = CppManagementEventingFunctionProcessingStatus = {}));
var CppManagementRbacAuthDomain;
(function (CppManagementRbacAuthDomain) {
})(CppManagementRbacAuthDomain || (exports.CppManagementRbacAuthDomain = CppManagementRbacAuthDomain = {}));
var CppRetryReason;
(function (CppRetryReason) {
})(CppRetryReason || (exports.CppRetryReason = CppRetryReason = {}));
var CppProtocolSubdocOpcode;
(function (CppProtocolSubdocOpcode) {
})(CppProtocolSubdocOpcode || (exports.CppProtocolSubdocOpcode = CppProtocolSubdocOpcode = {}));
var CppAnalyticsScanConsistency;
(function (CppAnalyticsScanConsistency) {
})(CppAnalyticsScanConsistency || (exports.CppAnalyticsScanConsistency = CppAnalyticsScanConsistency = {}));
var CppDesignDocumentNamespace;
(function (CppDesignDocumentNamespace) {
})(CppDesignDocumentNamespace || (exports.CppDesignDocumentNamespace = CppDesignDocumentNamespace = {}));
var CppDiagClusterState;
(function (CppDiagClusterState) {
})(CppDiagClusterState || (exports.CppDiagClusterState = CppDiagClusterState = {}));
var CppDiagEndpointState;
(function (CppDiagEndpointState) {
})(CppDiagEndpointState || (exports.CppDiagEndpointState = CppDiagEndpointState = {}));
var CppDiagPingState;
(function (CppDiagPingState) {
})(CppDiagPingState || (exports.CppDiagPingState = CppDiagPingState = {}));
var CppQueryProfile;
(function (CppQueryProfile) {
})(CppQueryProfile || (exports.CppQueryProfile = CppQueryProfile = {}));
var CppQueryScanConsistency;
(function (CppQueryScanConsistency) {
})(CppQueryScanConsistency || (exports.CppQueryScanConsistency = CppQueryScanConsistency = {}));
var CppSearchHighlightStyle;
(function (CppSearchHighlightStyle) {
})(CppSearchHighlightStyle || (exports.CppSearchHighlightStyle = CppSearchHighlightStyle = {}));
var CppSearchScanConsistency;
(function (CppSearchScanConsistency) {
})(CppSearchScanConsistency || (exports.CppSearchScanConsistency = CppSearchScanConsistency = {}));
var CppServiceType;
(function (CppServiceType) {
})(CppServiceType || (exports.CppServiceType = CppServiceType = {}));
var CppViewOnError;
(function (CppViewOnError) {
})(CppViewOnError || (exports.CppViewOnError = CppViewOnError = {}));
var CppViewScanConsistency;
(function (CppViewScanConsistency) {
})(CppViewScanConsistency || (exports.CppViewScanConsistency = CppViewScanConsistency = {}));
var CppViewSortOrder;
(function (CppViewSortOrder) {
})(CppViewSortOrder || (exports.CppViewSortOrder = CppViewSortOrder = {}));
var CppAnalyticsResponseAnalyticsStatus;
(function (CppAnalyticsResponseAnalyticsStatus) {
})(CppAnalyticsResponseAnalyticsStatus || (exports.CppAnalyticsResponseAnalyticsStatus = CppAnalyticsResponseAnalyticsStatus = {}));
var CppDurabilityLevel;
(function (CppDurabilityLevel) {
})(CppDurabilityLevel || (exports.CppDurabilityLevel = CppDurabilityLevel = {}));
var CppErrcCommon;
(function (CppErrcCommon) {
})(CppErrcCommon || (exports.CppErrcCommon = CppErrcCommon = {}));
var CppErrcKeyValue;
(function (CppErrcKeyValue) {
})(CppErrcKeyValue || (exports.CppErrcKeyValue = CppErrcKeyValue = {}));
var CppErrcQuery;
(function (CppErrcQuery) {
})(CppErrcQuery || (exports.CppErrcQuery = CppErrcQuery = {}));
var CppErrcAnalytics;
(function (CppErrcAnalytics) {
})(CppErrcAnalytics || (exports.CppErrcAnalytics = CppErrcAnalytics = {}));
var CppErrcSearch;
(function (CppErrcSearch) {
})(CppErrcSearch || (exports.CppErrcSearch = CppErrcSearch = {}));
var CppErrcView;
(function (CppErrcView) {
})(CppErrcView || (exports.CppErrcView = CppErrcView = {}));
var CppErrcManagement;
(function (CppErrcManagement) {
})(CppErrcManagement || (exports.CppErrcManagement = CppErrcManagement = {}));
var CppErrcFieldLevelEncryption;
(function (CppErrcFieldLevelEncryption) {
})(CppErrcFieldLevelEncryption || (exports.CppErrcFieldLevelEncryption = CppErrcFieldLevelEncryption = {}));
var CppErrcNetwork;
(function (CppErrcNetwork) {
})(CppErrcNetwork || (exports.CppErrcNetwork = CppErrcNetwork = {}));
var CppKeyValueStatusCode;
(function (CppKeyValueStatusCode) {
})(CppKeyValueStatusCode || (exports.CppKeyValueStatusCode = CppKeyValueStatusCode = {}));
var CppImplSubdocOpcode;
(function (CppImplSubdocOpcode) {
})(CppImplSubdocOpcode || (exports.CppImplSubdocOpcode = CppImplSubdocOpcode = {}));
var CppStoreSemantics;
(function (CppStoreSemantics) {
})(CppStoreSemantics || (exports.CppStoreSemantics = CppStoreSemantics = {}));
var CppPersistTo;
(function (CppPersistTo) {
})(CppPersistTo || (exports.CppPersistTo = CppPersistTo = {}));
var CppReplicateTo;
(function (CppReplicateTo) {
})(CppReplicateTo || (exports.CppReplicateTo = CppReplicateTo = {}));
var CppReadPreference;
(function (CppReadPreference) {
})(CppReadPreference || (exports.CppReadPreference = CppReadPreference = {}));
var CppVectorQueryCombination;
(function (CppVectorQueryCombination) {
})(CppVectorQueryCombination || (exports.CppVectorQueryCombination = CppVectorQueryCombination = {}));
var CppTxnFailureType;
(function (CppTxnFailureType) {
})(CppTxnFailureType || (exports.CppTxnFailureType = CppTxnFailureType = {}));
var CppTxnExternalException;
(function (CppTxnExternalException) {
})(CppTxnExternalException || (exports.CppTxnExternalException = CppTxnExternalException = {}));
// CN_PREBUILD_PATH_OVERRIDE is meant to help for webpack scenarios.  Webpack's EnvironmentPlugin
// can be used to set the path of the desired prebuild which will allow the node-loader package
// to pull in the corresponding prebuild.
const binding = process.env.CN_PREBUILD_PATH_OVERRIDE
    ? // eslint-disable-next-line @typescript-eslint/no-var-requires
        require(process.env.CN_PREBUILD_PATH_OVERRIDE)
    : // eslint-disable-next-line @typescript-eslint/no-var-requires
        require('../scripts/prebuilds').loadPrebuild(path_1.default.resolve(__dirname, '..'));
exports.default = binding;
