@spoketech/hub-client 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -593,7 +593,9 @@ physical item (`itemName`, `quantity`), points (`pointTypeId`, `amount`), or Sen
593
593
  voucher (`rewardId`, `quantity`, nullable `faceValue` in cents/currency). Create and
594
594
  update require a full valid benefit. Existing unconfigured management records have
595
595
  `benefit: null` and are excluded from the app catalogue. Catalogue voucher benefits
596
- omit the internal provider and reward/template reference. All kinds remain display-only.
596
+ omit the internal provider and reward/template reference. Catalogue reads describe
597
+ definitions; physical member claims use the separate `client.rewards` flow below.
598
+ Points and POS voucher claims remain disabled.
597
599
 
598
600
  Management uses `client.offers.list/get/create/update` and `offers:manage`.
599
601
  Create produces a draft; update supplies the full editable definition, desired
@@ -603,3 +605,13 @@ cannot be edited. All Promise methods return `[data, error]` tuples.
603
605
  The generated equivalents are under `hubClient.offers`. See the repository's
604
606
  [`docs/offers-catalogue.md`](../../docs/offers-catalogue.md) for exact contracts,
605
607
  a create → activate → fetch example and Venue App gateway/CMS integration.
608
+
609
+ ## Physical offer rewards
610
+
611
+ The additive `client.rewards` API (0.3.0) supports verified-member physical offer
612
+ claims, member reward list/detail, presentation codes and staff collection. Points
613
+ and POS voucher definitions cannot be claimed. See [routes, scopes, schemas and gateway
614
+ examples](../../docs/physical-offer-rewards.md). Member calls require a registered
615
+ organization/venue gateway and a short-lived member capability; collection requires
616
+ a direct Hub staff session and explicit location grant. Never use reward UUIDs as
617
+ collection authority.