@deliverd/sdk 0.36.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/types.ts CHANGED
@@ -1989,6 +1989,42 @@ export interface RegisterAiSystemInput {
1989
1989
  customerFacing?: boolean;
1990
1990
  /** The contract in the ICT third-party register it runs under. */
1991
1991
  ictArrangementId?: string | null;
1992
+ /**
1993
+ * consumer (a personal account, no contract), enterprise (the vendor's
1994
+ * service under your contract) or private (your own cloud and region). The
1995
+ * AI use policy says which data may go into each.
1996
+ */
1997
+ deploymentClass?: UsePolicyDeploymentClass | null;
1998
+ /** How the use came to the register. `discovered`: found in use. */
1999
+ entryType?: "internal_build" | "supplier_ai" | "feature_in_service" | "proof_of_concept" | "discovered" | null;
2000
+ buildOrBuy?: "build" | "buy" | "hybrid" | null;
2001
+ /** The supplier, when bought. */
2002
+ supplier?: string | null;
2003
+ }
2004
+
2005
+ /** Deployment classes, from the least control over the data to the most. */
2006
+ export type UsePolicyDeploymentClass = "consumer" | "enterprise" | "private";
2007
+ /** Data classes, least sensitive first. */
2008
+ export type UsePolicyData = "public" | "internal" | "confidential" | "restricted" | "personal" | "special";
2009
+
2010
+ /** One cell of the AI use policy: may this data go into this kind of tool? */
2011
+ export interface UsePolicyCell {
2012
+ rule: "yes" | "no" | "conditional";
2013
+ /** For a conditional cell: the condition, as a person reads it when asked. */
2014
+ condition: string;
2015
+ /** `ask`: a person approves each time. `dpia`: a current, signed-off DPIA on the record. */
2016
+ satisfiedBy: "ask" | "dpia";
2017
+ }
2018
+
2019
+ /** The AI use policy: which data may go into which kind of AI tool. */
2020
+ export interface UsePolicy {
2021
+ /** Whether data screening applies the grid. Off, it is a written policy only. */
2022
+ enforce: boolean;
2023
+ grid: Record<UsePolicyData, Record<UsePolicyDeploymentClass, UsePolicyCell>>;
2024
+ /** Where the organisation draws the GDPR Article 22 line, in its own words. */
2025
+ automatedDecisionLine: string;
2026
+ /** Uses that are out, in plain words. */
2027
+ outOfBounds: string;
1992
2028
  }
1993
2029
 
1994
2030
  /** An agent may raise a system's risk but not lower it, and may not retire it. */