@purveyors/sdk 0.43.0 → 0.44.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 +46 -4
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -12389,7 +12389,7 @@ interface paths {
12389
12389
  };
12390
12390
  };
12391
12391
  429: components["responses"]["ApiRateLimitExceeded"];
12392
- /** @description AI provider is temporarily unavailable */
12392
+ /** @description AI provider or completed-action storage is temporarily unavailable */
12393
12393
  503: {
12394
12394
  headers: {
12395
12395
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -15213,7 +15213,7 @@ interface components {
15213
15213
  success: true;
15214
15214
  id: number;
15215
15215
  /** @enum {string} */
15216
- message: "Bean added to inventory" | "Bean updated" | "Roast session created" | "Roast notes updated" | "Sale recorded";
15216
+ message: "Bean added to inventory" | "Bean updated" | "Roast session created" | "Roast created from Artisan reference" | "Roast notes updated" | "Sale recorded";
15217
15217
  replayed: boolean;
15218
15218
  };
15219
15219
  meta: {
@@ -15276,10 +15276,31 @@ interface components {
15276
15276
  coffee_name?: string;
15277
15277
  batch_name: string;
15278
15278
  roast_date?: "" | string;
15279
- oz_in?: number | string;
15279
+ oz_in?: "" | number | string;
15280
+ oz_out?: "" | number | string;
15280
15281
  roast_notes?: string;
15282
+ roast_targets?: string;
15281
15283
  roaster_type?: string;
15282
15284
  };
15285
+ } | {
15286
+ /** @description Stable operation id. Repeating it with the same action payload replays the stored result; changing the payload returns 409. */
15287
+ executionId: string;
15288
+ /** @enum {string} */
15289
+ actionType: "create_roast_from_reference";
15290
+ fields: {
15291
+ /** Format: uuid */
15292
+ reference_profile_id: string;
15293
+ /** Format: uuid */
15294
+ reference_revision_id: string;
15295
+ coffee_id: number | string;
15296
+ coffee_name?: string;
15297
+ batch_name: string;
15298
+ roast_date?: "" | string;
15299
+ oz_in?: "" | number | string;
15300
+ oz_out?: "" | number | string;
15301
+ roast_notes?: string;
15302
+ roast_targets?: string;
15303
+ };
15283
15304
  } | {
15284
15305
  /** @description Stable operation id. Repeating it with the same action payload replays the stored result; changing the payload returns 409. */
15285
15306
  executionId: string;
@@ -16790,6 +16811,10 @@ interface components {
16790
16811
  }[];
16791
16812
  };
16792
16813
  includeUserMemory?: boolean;
16814
+ /** @description Owner-scoped confirmed-action execution to continue from after successful user approval. The server resolves the trusted result from its ledger; clients cannot supply result data. */
16815
+ completedAction?: {
16816
+ executionId: string;
16817
+ };
16793
16818
  };
16794
16819
  ConversationMemory: {
16795
16820
  content: string;
@@ -22433,10 +22458,27 @@ declare function createParchmentClient(options: ParchmentClientOptions): {
22433
22458
  coffee_name?: string;
22434
22459
  batch_name: string;
22435
22460
  roast_date?: "" | string;
22436
- oz_in?: number | string;
22461
+ oz_in?: "" | number | string;
22462
+ oz_out?: "" | number | string;
22437
22463
  roast_notes?: string;
22464
+ roast_targets?: string;
22438
22465
  roaster_type?: string;
22439
22466
  };
22467
+ } | {
22468
+ executionId: string;
22469
+ actionType: "create_roast_from_reference";
22470
+ fields: {
22471
+ reference_profile_id: string;
22472
+ reference_revision_id: string;
22473
+ coffee_id: number | string;
22474
+ coffee_name?: string;
22475
+ batch_name: string;
22476
+ roast_date?: "" | string;
22477
+ oz_in?: "" | number | string;
22478
+ oz_out?: "" | number | string;
22479
+ roast_notes?: string;
22480
+ roast_targets?: string;
22481
+ };
22440
22482
  } | {
22441
22483
  executionId: string;
22442
22484
  actionType: "update_roast_notes";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purveyors/sdk",
3
- "version": "0.43.0",
3
+ "version": "0.44.0",
4
4
  "description": "Typed client for the Purveyors Parchment API, generated from its OpenAPI spec.",
5
5
  "license": "MIT",
6
6
  "type": "module",