@thankyou-money-netcore/api-types
v0.0.8
Published
TypeScript type definitions for Thankyou Money API
Maintainers
Readme
@thankyou-money-test/api-types
TypeScript type definitions for the Thankyou Money API, automatically generated from C# DTOs.
Installation
npm install @thankyou-money-test/api-typesUsage
import {
GetLoanFeeResponseDto,
AuthResponse,
AppRole
} from '@thankyou-money-test/api-types';
// Use the types in your application
const loanFee: GetLoanFeeResponseDto = {
id: '123e4567-e89b-12d3-a456-426614174000',
type: 'application',
name: 'Application Fee',
description: 'One-time application processing fee',
value: 299.00,
createdAt: '2024-01-01T00:00:00Z',
updatedAt: '2024-01-01T00:00:00Z',
deletedAt: null
};Generated Types
This package contains TypeScript definitions for:
- Authentication: Login, registration, and token management
- Bank Connect: Open banking and CDR integration
- Credit Reports: Credit analysis and reporting
- Loan Management: Fees, offers, and providers
- User Management: Profiles and preferences
- Webhooks: Event notifications
Auto-Generation
These types are automatically generated from the C# ExternalInterface project and published via CI/CD pipeline.
Support
For issues or questions, please contact the OpenLoans team at [email protected]
