tsoj_flutter_client 0.0.1 copy "tsoj_flutter_client: ^0.0.1" to clipboard
tsoj_flutter_client: ^0.0.1 copied to clipboard

A Flutter/Dart client library for TSOJ API. Provides authentication, billing, and other TSOJ services access using Dio with full cookie support.

0.0.1 - 2025-10-12 #

Added #

  • Initial release of TSOJ Flutter Client
  • Core ApiClient with Dio HTTP client
  • Support for API key and publishable key authentication
  • Request interceptors for authentication headers
  • AuthenticationClient with authentication methods:
    • signUp() - General sign up
    • signIn() - General sign in
    • passwordSignup() - Sign up with password
    • passwordSignin() - Sign in with password
    • magicSignin() - Magic link sign in
  • TsojClientFactory for client-side usage
  • Billing types and models:
    • Gateway enum (WALLET, BANK_TRANSFER, QPAY, EGOLOMT, MONPAY)
    • OrderStatus and InvoiceStatus enums
    • Order and Invoice models
    • Request/response payloads for all billing operations
  • Client methods:
    • getAvailableGateways() - Fetch available payment gateways
    • getBankTransferDetails() - Get bank transfer information
  • Factory function createTsojClient() for easy client creation
  • Comprehensive type safety with strongly typed models
  • Error handling with typed responses
  • Full documentation and examples
  • README with usage examples
  • Example application demonstrating all features

Features #

  • ✨ Type-safe API client
  • 🔐 Multiple authentication methods
  • 💳 Payment gateway integration
  • 🛡️ Built-in error handling
  • 📝 Comprehensive documentation
  • 🎯 Flutter and Dart support
0
likes
150
points
8
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter/Dart client library for TSOJ API. Provides authentication, billing, and other TSOJ services access using Dio with full cookie support.

Homepage
Repository (GitLab)
View/report issues

License

MIT (license)

Dependencies

cookie_jar, dio, dio_cookie_manager

More

Packages that depend on tsoj_flutter_client