Skip to content

Conversation

@akisma
Copy link
Owner

@akisma akisma commented Oct 14, 2025

implements github issue 21. square sales sync. also implements unified sales data.

Jess Jacobs added 4 commits October 12, 2025 18:03
- Tier 1: square_orders + square_order_items (raw Square format)
- Tier 2: sales_transactions (unified POS-agnostic format)
- API endpoint: POST /api/v1/pos/sync-sales/:connectionId
- Service: SquareSalesSyncService with sync+transform workflow
- Transformer: POSDataTransformer.squareOrderToSalesTransactions()
- Adapter: SquareAdapter.syncSales() with pagination/retry
- Tests: 635/635 passing (100% coverage)
- Bug fixes: cursor pagination, isActive() method call

Enables recipe variance analysis and multi-POS support.
@akisma akisma merged commit 3b7deba into main Oct 14, 2025
4 checks passed
@akisma akisma linked an issue Oct 14, 2025 that may be closed by this pull request
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task 7: Square Sales Data Synchronization

2 participants