@deliverd/sdk 0.37.0 → 0.38.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.
package/src/governance.ts CHANGED
@@ -18,6 +18,7 @@ import type {
18
18
  GovernanceSummaryInput,
19
19
  IctRegister,
20
20
  ListIncidentsInput,
21
+ UsePolicy,
21
22
  ModelChangeInput,
22
23
  ModelChangeResult,
23
24
  RegisterAiSystemInput,
@@ -192,6 +193,15 @@ export class AiGovernance {
192
193
  return this.http.request<IctRegister>({ method: "GET", path: "/governance/ict-register", signal });
193
194
  }
194
195
 
196
+ /**
197
+ * The AI use policy: which data may go into which kind of AI tool. Read
198
+ * only; a person changes it in the app (Governance → AI use policy).
199
+ */
200
+ async aiUsePolicy(signal?: AbortSignal): Promise<UsePolicy> {
201
+ const { policy } = await this.http.request<{ policy: UsePolicy }>({ method: "GET", path: "/governance/ai-use-policy", signal });
202
+ return policy;
203
+ }
204
+
195
205
  /** The organisation's AI governance in counts, optionally narrowed. Never a compliance percentage. */
196
206
  summary(input: GovernanceSummaryInput = {}, signal?: AbortSignal): Promise<GovernanceSummary> {
197
207
  return this.http.request<GovernanceSummary>({