Skip to content

Variable: PolicyPackImportResult ​

ts
const PolicyPackImportResult: z.ZodObject<{
  approvalRequired: z.ZodBoolean;
  definitions: z.ZodArray<z.ZodObject<{
     approvalId: z.ZodNullable<z.ZodGUID>;
     id: z.ZodGUID;
     key: z.ZodString;
     kind: z.ZodEnum<{
        collection_flow: "collection_flow";
        rule: "rule";
        rule_set: "rule_set";
        workflow: "workflow";
     }>;
     status: z.ZodEnum<{
        archived: "archived";
        draft: "draft";
        pending_approval: "pending_approval";
        published: "published";
     }>;
     version: z.ZodNumber;
  }, z.core.$strip>>;
  installs: z.ZodArray<z.ZodObject<{
     actions: z.ZodArray<z.ZodString>;
     app: z.ZodString;
     appAvailable: z.ZodBoolean;
     issues: z.ZodArray<z.ZodObject<{
        action: z.ZodString;
        code: z.ZodEnum<{
           async_action: "async_action";
           unknown_action: "unknown_action";
        }>;
        message: z.ZodString;
     }, z.core.$strip>>;
     name: z.ZodString;
     status: z.ZodEnum<{
        missing: "missing";
        present: "present";
     }>;
  }, z.core.$strip>>;
  lists: z.ZodArray<z.ZodObject<{
     added: z.ZodNumber;
     created: z.ZodBoolean;
     id: z.ZodGUID;
     invalid: z.ZodNumber;
     key: z.ZodString;
     skipped: z.ZodNumber;
  }, z.core.$strip>>;
  name: z.ZodString;
  publish: z.ZodBoolean;
  version: z.ZodString;
}, z.core.$strip>;

Released under the Apache-2.0 License.