@purveyors/sdk 0.23.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 +29 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -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 */
@@ -7125,6 +7125,33 @@ interface components {
7125
7125
  processing?: string;
7126
7126
  }[];
7127
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
+ };
7128
7155
  SaleResource: {
7129
7156
  id: number;
7130
7157
  green_coffee_inv_id: number;
@@ -11054,7 +11081,7 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
11054
11081
  [name: string]: unknown;
11055
11082
  };
11056
11083
  content: {
11057
- "application/json": components["schemas"]["RoastDetailResponse"];
11084
+ "application/json": components["schemas"]["RoastGetResponse"];
11058
11085
  };
11059
11086
  };
11060
11087
  400: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purveyors/sdk",
3
- "version": "0.23.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",