@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
25 lines (24 loc) • 784 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ApiKeyExposureNotification = void 0;
class ApiKeyExposureNotification {
id;
apiKeyId;
riskLevel;
actionTaken;
source;
reference;
description;
createdAt;
constructor(apiKeyExposure) {
this.id = apiKeyExposure.id;
this.apiKeyId = apiKeyExposure.api_key_id;
this.riskLevel = apiKeyExposure.risk_level;
this.actionTaken = apiKeyExposure.action_taken;
this.source = apiKeyExposure.source;
this.reference = apiKeyExposure.reference;
this.description = apiKeyExposure.description ?? null;
this.createdAt = apiKeyExposure.created_at;
}
}
exports.ApiKeyExposureNotification = ApiKeyExposureNotification;