"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SecloreProtectApi = void 0; class SecloreProtectApi { constructor() { this.name = 'secloreProtectApi'; this.displayName = 'Seclore API'; this.documentationUrl = 'https://docs.seclore.com/'; this.icon = 'file:../icons/seclore.svg'; this.properties = [ { displayName: 'Base URL', name: 'baseUrl', type: 'string', default: '', placeholder: 'https://api.seclore.com', description: 'The base URL of your Seclore DRM Server', required: true, }, { displayName: 'Tenant ID', name: 'tenantId', type: 'string', default: '', placeholder: 'your-tenant-id', description: 'Your Seclore tenant ID', required: true, }, { displayName: 'Tenant Secret', name: 'tenantSecret', type: 'string', typeOptions: { password: true, }, default: '', description: 'Your Seclore tenant secret', required: true, }, ]; this.test = { request: { baseURL: '={{$credentials.baseUrl}}', url: '/seclore/drm/1.0/auth/login', method: 'POST', body: { tenantId: '={{$credentials.tenantId}}', tenantSecret: '={{$credentials.tenantSecret}}', }, headers: { 'Content-Type': 'application/json', }, }, }; } } exports.SecloreProtectApi = SecloreProtectApi; //# sourceMappingURL=SecloreProtectApi.credentials.js.map