@portone/server-sdk
Version:
PortOne JavaScript SDK for server-side usage
9 lines (8 loc) • 873 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isUnrecognizedWebhook = isUnrecognizedWebhook;
function isUnrecognizedWebhook(entity) {
return entity.type !== "Transaction.Ready" && entity.type !== "Transaction.Paid" && entity.type !== "Transaction.VirtualAccountIssued" && entity.type !== "Transaction.PartialCancelled" && entity.type !== "Transaction.Cancelled" && entity.type !== "Transaction.Failed" && entity.type !== "Transaction.PayPending" && entity.type !== "Transaction.DisputeCreated" && entity.type !== "Transaction.DisputeResolved" && entity.type !== "Transaction.CancelPending" && entity.type !== "Transaction.Confirm" && entity.type !== "BillingKey.Ready" && entity.type !== "BillingKey.Issued" && entity.type !== "BillingKey.Failed" && entity.type !== "BillingKey.Deleted" && entity.type !== "BillingKey.Updated";
}