UNPKG

@paddle/paddle-node-sdk

Version:

A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.

21 lines (20 loc) 604 B
export 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; } }