@sphereon/gx-compliance-client
Version:
<!--suppress HtmlDeprecatedAttribute --> <h1 align="center"> <br> <a href="https://www.sphereon.com"><img src="https://sphereon.com/content/themes/sphereon/assets/img/logo.svg" alt="Sphereon" width="400"></a> <br>Gaia-X Compliance client (Typescript
33 lines (32 loc) • 2.15 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AuthenticationProofPurpose = exports.AssertionProofPurpose = exports.ControllerProofPurpose = exports.ProofPurpose = exports.IGaiaxCredentialType = exports.MethodNames = void 0;
const jsonld_signatures_1 = require("@digitalcredentials/jsonld-signatures");
/**
* Plugin method map interface
* @public
*/
var MethodNames;
(function (MethodNames) {
MethodNames["acquireComplianceCredential"] = "acquireComplianceCredential";
MethodNames["acquireComplianceCredentialFromUnsignedParticipant"] = "acquireComplianceCredentialFromUnsignedParticipant";
MethodNames["acquireComplianceCredentialFromExistingParticipant"] = "acquireComplianceCredentialFromExistingParticipant";
MethodNames["addServiceOfferingUnsigned"] = "addServiceOfferingUnsigned";
MethodNames["addServiceOffering"] = "addServiceOffering";
MethodNames["createDIDFromX509"] = "createDIDFromX509";
MethodNames["issueVerifiableCredential"] = "issueVerifiableCredential";
MethodNames["issueVerifiablePresentation"] = "issueVerifiablePresentation";
MethodNames["onboardParticipantWithCredential"] = "onboardParticipantWithCredential";
MethodNames["onboardParticipantWithCredentialIds"] = "onboardParticipantWithCredentialIds";
MethodNames["verifyUnsignedSelfDescribedCredential"] = "verifyUnsignedSelfDescribedCredential";
})(MethodNames = exports.MethodNames || (exports.MethodNames = {}));
var IGaiaxCredentialType;
(function (IGaiaxCredentialType) {
IGaiaxCredentialType["ServiceOffering"] = "ServiceOffering";
IGaiaxCredentialType["LegalPerson"] = "LegalPerson";
IGaiaxCredentialType["NaturalPerson"] = "NaturalPerson";
})(IGaiaxCredentialType = exports.IGaiaxCredentialType || (exports.IGaiaxCredentialType = {}));
exports.ProofPurpose = jsonld_signatures_1.purposes.ProofPurpose;
exports.ControllerProofPurpose = jsonld_signatures_1.purposes.ControllerProofPurpose;
exports.AssertionProofPurpose = jsonld_signatures_1.purposes.AssertionProofPurpose;
exports.AuthenticationProofPurpose = jsonld_signatures_1.purposes.AuthenticationProofPurpose;