@purveyors/sdk 0.47.0 → 0.48.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +26 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -15033,6 +15033,28 @@ interface components {
15033
15033
  origin_market_value_ratio_mean: number | null;
15034
15034
  origin_market_value_ratio_stddev: number | null;
15035
15035
  value_z_score: number | null;
15036
+ /**
15037
+ * @description Signal method. Null for signals computed before comparable sets and tier-ladder checks.
15038
+ * @enum {string|null}
15039
+ */
15040
+ method: "comparable-signals-v2" | null;
15041
+ /** @description below_market only: the comparable lots benchmarked (origin, process, market and lot class; decaf, blends and non-bean products excluded). */
15042
+ comparable_set: {
15043
+ /** @enum {string} */
15044
+ lot_class: "standard" | "premium" | "robusta";
15045
+ lots: number;
15046
+ suppliers: number;
15047
+ p75: number | null;
15048
+ iqr_ratio: number | null;
15049
+ } | null;
15050
+ /** @description below_market only: 0-1 evidence confidence from comparable-set size, supplier count and listing completeness. */
15051
+ confidence: number | null;
15052
+ /** @description below_market only: when the lot was first stocked. */
15053
+ first_stocked: string | null;
15054
+ purveyor_score: number | null;
15055
+ /** @description price_drop only: smallest tier compared; every trailing point shares the same tier ladder. */
15056
+ tier_min_lbs: number | null;
15057
+ trailing_points: number | null;
15036
15058
  as_of: string;
15037
15059
  };
15038
15060
  MarketSignalItem: {
@@ -15104,6 +15126,10 @@ interface components {
15104
15126
  computedAt: string | null;
15105
15127
  thresholds: {
15106
15128
  dropThresholdPct: number;
15129
+ minDiscountPct: number;
15130
+ maxComparableIqrRatio: number;
15131
+ newArrivalDays: number;
15132
+ maxSignalsPerSupplier: number;
15107
15133
  valueZThreshold: number;
15108
15134
  benchmarkMinLots: number;
15109
15135
  benchmarkMinSuppliers: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purveyors/sdk",
3
- "version": "0.47.0",
3
+ "version": "0.48.0",
4
4
  "description": "Typed client for the Purveyors Parchment API, generated from its OpenAPI spec.",
5
5
  "license": "MIT",
6
6
  "type": "module",