@purveyors/sdk 0.22.0 → 0.24.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 +36 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -2156,7 +2156,7 @@ interface paths {
2156
2156
  };
2157
2157
  /**
2158
2158
  * Find catalog coffees similar to a target coffee
2159
- * @description Vector-similarity matches for a target catalog coffee, with deterministic identity gating, supplier-diversity re-ranking, and a canonical/similar split. Requires the bean-matching capability (a member session or a paid API plan).
2159
+ * @description Vector-similarity matches between supplier catalog coffees, with deterministic identity gating, supplier-diversity re-ranking, and a canonical/similar split. User-owned coffees are excluded. Requires the bean-matching capability (a member session or a paid API plan).
2160
2160
  */
2161
2161
  get: {
2162
2162
  parameters: {
@@ -2219,7 +2219,7 @@ interface paths {
2219
2219
  "application/json": components["schemas"]["ErrorResponse"];
2220
2220
  };
2221
2221
  };
2222
- /** @description Owner-safe similarity matching is temporarily unavailable during rollout */
2222
+ /** @description Supplier-only similarity matching is temporarily unavailable during rollout */
2223
2223
  503: {
2224
2224
  headers: {
2225
2225
  [name: string]: unknown;
@@ -3703,7 +3703,7 @@ interface paths {
3703
3703
  [name: string]: unknown;
3704
3704
  };
3705
3705
  content: {
3706
- "application/json": components["schemas"]["RoastDetailResponse"];
3706
+ "application/json": components["schemas"]["RoastGetResponse"];
3707
3707
  };
3708
3708
  };
3709
3709
  /** @description Invalid query parameter */
@@ -6285,7 +6285,7 @@ interface components {
6285
6285
  /** @enum {string} */
6286
6286
  classification_version: "canonical-match-v1";
6287
6287
  /** @enum {string} */
6288
- query_strategy: "bounded-vector-candidates-v1" | "canonical-vector-aggregated-v2" | "legacy-vector-aggregated-v1";
6288
+ query_strategy: "bounded-vector-candidates-v1";
6289
6289
  };
6290
6290
  };
6291
6291
  SourcingBriefCriteria: {
@@ -6793,6 +6793,8 @@ interface components {
6793
6793
  drop_temp: number | null;
6794
6794
  charge_temp: number | null;
6795
6795
  charge_time: number | null;
6796
+ /** @description Drying-phase end time in seconds from the roast profile. */
6797
+ dry_end_time: number | null;
6796
6798
  tp_time: number | null;
6797
6799
  tp_temp: number | null;
6798
6800
  total_ror: number | null;
@@ -7060,6 +7062,8 @@ interface components {
7060
7062
  drop_temp: number | null;
7061
7063
  charge_temp: number | null;
7062
7064
  charge_time: number | null;
7065
+ /** @description Drying-phase end time in seconds from the roast profile. */
7066
+ dry_end_time: number | null;
7063
7067
  tp_time: number | null;
7064
7068
  tp_temp: number | null;
7065
7069
  total_ror: number | null;
@@ -7121,6 +7125,33 @@ interface components {
7121
7125
  processing?: string;
7122
7126
  }[];
7123
7127
  };
7128
+ RoastGetResource: components["schemas"]["RoastDetailResource"] & {
7129
+ chart_x_min: number | null;
7130
+ chart_x_max: number | null;
7131
+ chart_y_min: number | null;
7132
+ chart_y_max: number | null;
7133
+ chart_z_min: number | null;
7134
+ chart_z_max: number | null;
7135
+ };
7136
+ RoastGetResponse: {
7137
+ data: components["schemas"]["RoastGetResource"];
7138
+ meta: {
7139
+ /** @enum {string} */
7140
+ resource: "roasts";
7141
+ /** @enum {string} */
7142
+ namespace: "/v1/roasts";
7143
+ /** @enum {string} */
7144
+ version: "v1";
7145
+ auth: {
7146
+ /** @enum {string} */
7147
+ kind: "session" | "api-key";
7148
+ /** @enum {string|null} */
7149
+ role: "admin" | "member" | "viewer" | null;
7150
+ /** @enum {string|null} */
7151
+ apiPlan: "viewer" | "member" | "enterprise" | null;
7152
+ };
7153
+ };
7154
+ };
7124
7155
  SaleResource: {
7125
7156
  id: number;
7126
7157
  green_coffee_inv_id: number;
@@ -11050,7 +11081,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
11050
11081
  [name: string]: unknown;
11051
11082
  };
11052
11083
  content: {
11053
- "application/json": components["schemas"]["RoastDetailResponse"];
11084
+ "application/json": components["schemas"]["RoastGetResponse"];
11054
11085
  };
11055
11086
  };
11056
11087
  400: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purveyors/sdk",
3
- "version": "0.22.0",
3
+ "version": "0.24.0",
4
4
  "description": "Typed client for the Purveyors Parchment API, generated from its OpenAPI spec.",
5
5
  "license": "MIT",
6
6
  "type": "module",