"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ShareMetadataBehaviour = void 0;
/**
 * Specifies a behaviour for the sharing of encryption keys or owning entity ids in the extended apis 'share' methods.
 */
var ShareMetadataBehaviour;
(function (ShareMetadataBehaviour) {
    /**
     * The method must share the metadata with the delegate. If this is not possible, because for example the current user has no access to this kind of
     * metadata, the method will throw an error.
     */
    ShareMetadataBehaviour["REQUIRED"] = "REQUIRED";
    /**
     * The method must share the metadata with the delegate if available. If this is not possible, because for example the current user has no access to
     * this kind of metadata, the method will simply not share this metadata.
     */
    ShareMetadataBehaviour["IF_AVAILABLE"] = "IF_AVAILABLE";
    /**
     * The method must not share the metadata with the delegate, even if the current data owner can access it.
     */
    ShareMetadataBehaviour["NEVER"] = "NEVER";
})(ShareMetadataBehaviour || (exports.ShareMetadataBehaviour = ShareMetadataBehaviour = {}));
//# sourceMappingURL=ShareMetadataBehaviour.js.map