SDK for Sensitive Data Protection Service
A TypeScript SDK client for the app.quba.ae API.
First, install the SDK from npm.
``bash`
npm install @quba/sensitive-data-protection --save
Next, try it out.
`ts
import {
Configuration,
SensitiveDataProtectionApi,
} from '@quba/sensitive-data-protection';
import type { HealthCheckRequest } from '@quba/sensitive-data-protection';
async function example() {
console.log("🚀 Testing @quba/sensitive-data-protection SDK...");
const api = new SensitiveDataProtectionApi();
try {
const data = await api.healthCheck();
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);
``
All URIs are relative to https://app.quba.ae/api/sdp
| Class | Method | HTTP request | Description
| ----- | ------ | ------------ | -------------
SensitiveDataProtectionApi | healthCheck | GET /health | Health
SensitiveDataProtectionApi | scanText | POST /scan | Scan Text
- HTTPValidationError
- ScanRequestBody
- ScanResponseBody
- ScanResult
- ValidationError
- ValidationErrorLocInner