UNPKG

@sourceloop/ctrl-plane-tenant-management-service

Version:

Tenant Management microservice for SaaS control plane

32 lines 1.18 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WebhookSecret = void 0; const tslib_1 = require("tslib"); const repository_1 = require("@loopback/repository"); let WebhookSecret = class WebhookSecret extends repository_1.Entity { constructor(data) { super(data); } }; exports.WebhookSecret = WebhookSecret; tslib_1.__decorate([ (0, repository_1.property)({ type: 'string', required: true, description: 'the secret key value used to generate and validate an hmac signature', }), tslib_1.__metadata("design:type", String) ], WebhookSecret.prototype, "secret", void 0); tslib_1.__decorate([ (0, repository_1.property)({ type: 'string', required: true, description: 'any other information that is used combined with the payload to generate the hmac', }), tslib_1.__metadata("design:type", String) ], WebhookSecret.prototype, "context", void 0); exports.WebhookSecret = WebhookSecret = tslib_1.__decorate([ (0, repository_1.model)(), tslib_1.__metadata("design:paramtypes", [Object]) ], WebhookSecret); //# sourceMappingURL=webhook-secret.model.js.map