@brightoutcome/guidistry-client 0.10.0 → 0.10.1

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/schema.d.ts +91 -0
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -1747,6 +1747,27 @@ export interface paths {
1747
1747
  patch?: never;
1748
1748
  trace?: never;
1749
1749
  };
1750
+ "/v1/settings/{key}/history": {
1751
+ parameters: {
1752
+ query?: never;
1753
+ header?: never;
1754
+ path?: never;
1755
+ cookie?: never;
1756
+ };
1757
+ /**
1758
+ * A setting's changes at one scope (who, when, what, why)
1759
+ * @description Readable by anyone who can see settings at that scope (no ``audit.view`` needed).
1760
+ * Changes recorded before Nov 2026's module 5a carry no value or reason.
1761
+ */
1762
+ get: operations["setting_history_v1_settings__key__history_get"];
1763
+ put?: never;
1764
+ post?: never;
1765
+ delete?: never;
1766
+ options?: never;
1767
+ head?: never;
1768
+ patch?: never;
1769
+ trace?: never;
1770
+ };
1750
1771
  "/v1/speech/synthesize": {
1751
1772
  parameters: {
1752
1773
  query?: never;
@@ -5435,6 +5456,38 @@ export interface components {
5435
5456
  /** Title */
5436
5457
  title: string;
5437
5458
  };
5459
+ /** SettingHistoryEntry */
5460
+ SettingHistoryEntry: {
5461
+ /**
5462
+ * Action
5463
+ * @enum {string}
5464
+ */
5465
+ action: "change" | "reset";
5466
+ /** Actor Person Id */
5467
+ actor_person_id: string | null;
5468
+ /**
5469
+ * At
5470
+ * Format: date-time
5471
+ */
5472
+ at: string;
5473
+ /**
5474
+ * Detailed
5475
+ * @description False for changes recorded before value/reason were kept
5476
+ */
5477
+ detailed: boolean;
5478
+ /**
5479
+ * Previous
5480
+ * @description The value at this scope before (null: inherited)
5481
+ */
5482
+ previous?: unknown;
5483
+ /** Reason */
5484
+ reason: string | null;
5485
+ /**
5486
+ * Value
5487
+ * @description The new value (change); null for a reset
5488
+ */
5489
+ value?: unknown;
5490
+ };
5438
5491
  /** SettingOut */
5439
5492
  SettingOut: {
5440
5493
  /** Allowed Levels */
@@ -10111,6 +10164,44 @@ export interface operations {
10111
10164
  };
10112
10165
  };
10113
10166
  };
10167
+ setting_history_v1_settings__key__history_get: {
10168
+ parameters: {
10169
+ query: {
10170
+ level: string;
10171
+ scope_id: string;
10172
+ limit?: number;
10173
+ };
10174
+ header?: {
10175
+ /** @description Membership the caller is acting through (from GET /v1/me) */
10176
+ "X-Guidistry-Context"?: string | null;
10177
+ };
10178
+ path: {
10179
+ key: string;
10180
+ };
10181
+ cookie?: never;
10182
+ };
10183
+ requestBody?: never;
10184
+ responses: {
10185
+ /** @description Successful Response */
10186
+ 200: {
10187
+ headers: {
10188
+ [name: string]: unknown;
10189
+ };
10190
+ content: {
10191
+ "application/json": components["schemas"]["SettingHistoryEntry"][];
10192
+ };
10193
+ };
10194
+ /** @description Validation Error */
10195
+ 422: {
10196
+ headers: {
10197
+ [name: string]: unknown;
10198
+ };
10199
+ content: {
10200
+ "application/json": components["schemas"]["HTTPValidationError"];
10201
+ };
10202
+ };
10203
+ };
10204
+ };
10114
10205
  synthesize_v1_speech_synthesize_post: {
10115
10206
  parameters: {
10116
10207
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightoutcome/guidistry-client",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Typed client and sign-in helpers for the Guidistry API",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",