@purveyors/sdk 0.26.0 → 0.27.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 +38 -7
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -7295,7 +7295,9 @@ interface components {
7295
7295
  id: number;
7296
7296
  rank: number | null;
7297
7297
  notes: string | null;
7298
- cupping_notes: string | null;
7298
+ cupping_notes: string | number | boolean | unknown[] | {
7299
+ [key: string]: unknown;
7300
+ } | null;
7299
7301
  purchase_date: string | null;
7300
7302
  purchased_qty_lbs: number | null;
7301
7303
  bean_cost: number | null;
@@ -7471,6 +7473,14 @@ interface components {
7471
7473
  /** @description Tax and shipping cost. */
7472
7474
  taxShip?: number;
7473
7475
  notes?: string;
7476
+ /** @description Owner-assigned integer ranking for this inventory lot (PostgreSQL integer range). */
7477
+ rank?: number | null;
7478
+ /** @description Explicit stock-state override. When omitted, stock is derived from purchased quantity. */
7479
+ stocked?: boolean;
7480
+ /** @description Owner cupping data stored as JSON. */
7481
+ cuppingNotes?: string | number | boolean | unknown[] | {
7482
+ [key: string]: unknown;
7483
+ } | null;
7474
7484
  /** @description Existing coffee_catalog.id this inventory lot is bought from. */
7475
7485
  catalogId: number;
7476
7486
  /** @enum {string} */
@@ -7493,10 +7503,16 @@ interface components {
7493
7503
  InventoryCreateRequest: components["schemas"]["CatalogInventoryCreateRequest"] | components["schemas"]["ManualInventoryCreateRequest"];
7494
7504
  InventoryUpdateRequest: {
7495
7505
  qty?: number;
7496
- cost?: number;
7497
- taxShip?: number;
7498
- notes?: string;
7506
+ purchaseDate?: string;
7507
+ cost?: number | null;
7508
+ taxShip?: number | null;
7509
+ notes?: string | null;
7499
7510
  stocked?: boolean;
7511
+ /** @description Owner-assigned integer ranking for this inventory lot (PostgreSQL integer range). */
7512
+ rank?: number | null;
7513
+ cuppingNotes?: string | number | boolean | unknown[] | {
7514
+ [key: string]: unknown;
7515
+ } | null;
7500
7516
  };
7501
7517
  InventoryDeleteResponse: {
7502
7518
  data: {
@@ -11376,6 +11392,11 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
11376
11392
  cost?: number;
11377
11393
  taxShip?: number;
11378
11394
  notes?: string;
11395
+ rank?: number | null;
11396
+ stocked?: boolean;
11397
+ cuppingNotes?: string | number | boolean | unknown[] | {
11398
+ [key: string]: unknown;
11399
+ } | null;
11379
11400
  catalogId: number;
11380
11401
  manualCoffee?: never;
11381
11402
  } | {
@@ -11476,6 +11497,11 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
11476
11497
  cost?: number;
11477
11498
  taxShip?: number;
11478
11499
  notes?: string;
11500
+ rank?: number | null;
11501
+ stocked?: boolean;
11502
+ cuppingNotes?: string | number | boolean | unknown[] | {
11503
+ [key: string]: unknown;
11504
+ } | null;
11479
11505
  catalogId: number;
11480
11506
  manualCoffee?: never;
11481
11507
  } | {
@@ -11936,10 +11962,15 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
11936
11962
  };
11937
11963
  body: {
11938
11964
  qty?: number;
11939
- cost?: number;
11940
- taxShip?: number;
11941
- notes?: string;
11965
+ purchaseDate?: string;
11966
+ cost?: number | null;
11967
+ taxShip?: number | null;
11968
+ notes?: string | null;
11942
11969
  stocked?: boolean;
11970
+ rank?: number | null;
11971
+ cuppingNotes?: string | number | boolean | unknown[] | {
11972
+ [key: string]: unknown;
11973
+ } | null;
11943
11974
  };
11944
11975
  }, `${string}/${string}`>>;
11945
11976
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purveyors/sdk",
3
- "version": "0.26.0",
3
+ "version": "0.27.0",
4
4
  "description": "Typed client for the Purveyors Parchment API, generated from its OpenAPI spec.",
5
5
  "license": "MIT",
6
6
  "type": "module",