@nestjs-mod/webhook
Version:
Webhook module with an error filter, guard, controller, database migrations and rest-sdk for work with module from other nodejs appliaction
40 lines • 1.44 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebhookTestRequestResponse = void 0;
const tslib_1 = require("tslib");
const swagger_1 = require("@nestjs/swagger");
const prisma_client_1 = require("../generated/prisma-client");
class WebhookTestRequestResponse {
}
exports.WebhookTestRequestResponse = WebhookTestRequestResponse;
tslib_1.__decorate([
(0, swagger_1.ApiProperty)({
type: () => Object,
})
// eslint-disable-next-line @typescript-eslint/no-explicit-any
,
tslib_1.__metadata("design:type", Object)
], WebhookTestRequestResponse.prototype, "request", void 0);
tslib_1.__decorate([
(0, swagger_1.ApiProperty)({
type: 'string',
}),
tslib_1.__metadata("design:type", String)
], WebhookTestRequestResponse.prototype, "responseStatus", void 0);
tslib_1.__decorate([
(0, swagger_1.ApiProperty)({
type: () => Object,
nullable: true,
})
// eslint-disable-next-line @typescript-eslint/no-explicit-any
,
tslib_1.__metadata("design:type", Object)
], WebhookTestRequestResponse.prototype, "response", void 0);
tslib_1.__decorate([
(0, swagger_1.ApiProperty)({
enum: prisma_client_1.WebhookStatus,
enumName: 'WebhookStatus',
}),
tslib_1.__metadata("design:type", String)
], WebhookTestRequestResponse.prototype, "webhookStatus", void 0);
//# sourceMappingURL=webhook-test-request-response.js.map