onvaca_connect 0.2.1 copy "onvaca_connect: ^0.2.1" to clipboard
onvaca_connect: ^0.2.1 copied to clipboard

Dart SDK for the OnVaca Connect Platform — a unified interface for multiple property management system providers.

Changelog #

0.2.1 #

  • Complete main example with full SDK workflow: setup, connections, properties, booking, payment, messaging, rates, pagination, disconnect, and error handling

0.2.0 #

Breaking Changes #

  • providerMessage removed from all exceptions — replaced by message which now carries the backend's actual error message instead of hardcoded strings
  • entityId removed from EntityNotFoundException — was always empty
  • slug removed from OperationNotSupportedException — was always empty

Added #

  • code field on all exceptions — backend error code (e.g. 'NOT_FOUND', 'UNAUTHORIZED', 'BAD_GATEWAY')
  • details field on all exceptions — additional context map from the backend (e.g. retryAfter, operation, providerType)
  • RateLimitException.retryAfter now also parsed from response body details.retryAfter (not just the Retry-After header)
  • Handles array-format message fields from backend validation errors
  • Comprehensive README with full API documentation
  • 6 example files: setup, booking flow, pagination, async operations, error handling
  • Fixed resources table: messages send(), rates get()/update(), setups delete()
  • Documented connections, operations, direct entity access, execute, async jobs, generic request
  • Added .gitignore

0.1.1 #

  • Fix homepage and repository URLs in pubspec.yaml

0.1.0 #

  • Initial release
  • Resource-based client for properties, bookings, payments, messages, rates, setups
  • Sealed error hierarchy with Dart 3 pattern matching
  • Automatic retry with exponential backoff on 5xx and 429
  • Bearer token authentication
2
likes
160
points
197
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dart SDK for the OnVaca Connect Platform — a unified interface for multiple property management system providers.

Homepage
Repository

License

MIT (license)

Dependencies

dio, equatable, json_annotation

More

Packages that depend on onvaca_connect