Skip to content

Variable: AppCallback ​

ts
const AppCallback: z.ZodObject<{
  action: z.ZodString;
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
  createdAt: z.ZodCoercedDate<unknown>;
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
  externalId: z.ZodString;
  id: z.ZodGUID;
  installId: z.ZodGUID;
  installName: z.ZodString;
  output: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
  status: z.ZodEnum<{
     completed: "completed";
     failed: "failed";
     pending: "pending";
     timed_out: "timed_out";
  }>;
  stepId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
  tenantId: z.ZodGUID;
  versionId: z.ZodGUID;
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodGUID>>;
}, z.core.$strip>;

A vendor session started by an asynchronous action, waiting for the vendor's webhook. Maps the vendor's external id, unique per install, back to the run, the step and the version it ran on.

Released under the Apache-2.0 License.