Skip to content

Variable: GetIncidentByIdSchema

ts
const GetIncidentByIdSchema: ZodObject<{
  affectedComponents: ZodArray<ZodString>;
  associations: ZodOptional<ZodArray<ZodObject<{
     associationType: ZodOptional<ZodCustom<
        | string & object
        | "issueIdOrKeys"
        | "serviceIdOrKeys"
        | "ati:cloud:compass:event-source", 
        | string & object
        | "issueIdOrKeys"
        | "serviceIdOrKeys"
       | "ati:cloud:compass:event-source">>;
     values: ZodOptional<ZodArray<ZodString>>;
  }, $loose>>>;
  createdDate: ZodCoercedDate<unknown>;
  description: ZodString;
  id: ZodString;
  lastUpdated: ZodCoercedDate<unknown>;
  schemaVersion: ZodCustom<string & object | "1.0", string & object | "1.0">;
  severity: ZodOptional<ZodObject<{
     level: ZodCustom<"unknown" | string & object | "P1" | "P2" | "P3" | "P4" | "P5", "unknown" | string & object | "P1" | "P2" | "P3" | "P4" | "P5">;
  }, $loose>>;
  status: ZodCustom<"unknown" | "open" | string & object | "resolved", "unknown" | "open" | string & object | "resolved">;
  summary: ZodString;
  updateSequenceNumber: ZodNumber;
  url: ZodURL;
}, $loose>;

Defined in: src/agile/models/getIncidentById.ts:8

Data related to a specific incident in a specific container that the incident is present in. Must specify at least one association to a component.*