Skip to content

Variable: AppCallback ​

ts
const AppCallback: z.ZodObject<{
  action: z.ZodString;
  appName: 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;
  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 back to the tenant, the run, the step and the version it ran on.

Released under the Apache-2.0 License.