Skip to content

TESTERS WANTED v0.2.1-dev1

Pre-release
Pre-release

Choose a tag to compare

@Agash Agash released this 22 Feb 07:33

TESTERS WANTED! I need some folks with real access to real data to test this for me, I'd appreciate any help and am happy to answer any questions or write simple test scripts

Breaking Changes

  • GetOrdersAsync, GetAffiliatesAsync, GetRewardsAsync, GetPayoutsAsync now accept from and toDate (DateTimeOffset?) parameters for time-based filtering instead of just limit/offset
  • vent detector GoAffProEventDetector now uses time-based filtering instead of tracking Ids with a HashSet

Features

  • Time-based filtering for feeds: All feed methods now support from and toDate parameters to filter by timestamp
    IMPORTANT: I don't know whether any of the formats used are correct or not, the live API doesn't return any errors for me personally, but since I don't have any proper affiliate sites to test with and no data to verify I can't know whether it silently fails or not
  • New GetPayoutsAsync method: Fetches payout feed items from /user/feed/payouts
  • New GetProductsAsync method: Fetches product feed items from /user/feed/products
  • Event detector improvements: Now uses time-based filtering - stores last poll timestamp and fetches only new items since last poll. Added OrderStartTime and AffiliateStartTime properties for backfilling historical data

Model Updates

IMPORTANT: I don't know whether any of the formats used are correct or not, the live API doesn't return any errors for me personally, but since I don't have any proper affiliate sites to test with and no data to verify I can't know whether it silently fails or not. The same applies to any data models, since their API Descriptions don't clearly define them for our relevant endpoints specifically, returning dynamic objects.

  • GoAffProOrder: Added Subtotal, AffiliateId, Status fields
  • GoAffProAffiliate: Added FirstName, LastName, Phone, Country, GroupId fields
  • GoAffProReward: Added AffiliateId, Type, Metadata, Level, Status fields
  • New GoAffProPayout model: id, affiliateId, amount, status, paymentMethod, transactionId, currency, createdAt
  • New GoAffProProduct model: id, name, description, price, salePrice, imageUrl, productUrl, category, sku, currency

Full Changelog: v0.2.0...v0.2.1-dev1