@distyra/sdk 0.7.0 → 0.8.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.
@@ -1451,11 +1451,17 @@ export interface operations {
1451
1451
  /** @description Which stage resolved this transaction. 0 = not resolved (echo), 1 = cache hit, 2 = catalog match, 3 = reserved, 4 = LLM fallback. */
1452
1452
  cache_tier: number;
1453
1453
  processing_time_ms: number;
1454
+ /** @description Per-request summary: did THIS response yield each thing. Every entry is derivable from the payload, so it is a convenience layer, not new information. Changed in 0.8.0: merchant_identity/transaction_type/logos used to be build-time constants meaning "the feature has shipped", hardcoded true on every response, which contradicted the payload (merchant_identity:true beside merchant.name:null). They now report what you actually got. */
1454
1455
  availability: {
1456
+ /** @description True when merchant.name is populated (a catalog hit or a Tier-4 proposal). */
1455
1457
  merchant_identity: boolean;
1458
+ /** @description True when metadata.transaction_type is populated. Distinct from merchant_identity: a bank fee can be typed with no merchant identified. */
1456
1459
  transaction_type: boolean;
1460
+ /** @description True when merchant.logo_url is populated on THIS response. */
1457
1461
  logos: boolean;
1462
+ /** @description True when this descriptor yielded a city or country. */
1458
1463
  location: boolean;
1464
+ /** @description True when a catalog row resolved, so its subscription flag was available to consult. Equivalently, metadata.is_subscription is not null. */
1459
1465
  subscription_detection: boolean;
1460
1466
  };
1461
1467
  /** @description true when served to a live key; false when served to a test-mode (sk_test_) key. Test-mode responses run the full cascade but carry no billing or quota impact. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distyra/sdk",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "TypeScript SDK for the Distyra Transaction Enrichment & SME Underwriting API. Generated from the committed OpenAPI spec; thin, typed wrapper around openapi-fetch.",
5
5
  "license": "MIT",
6
6
  "author": "Brightfield Software",