Skip to content

Variable: IngestEventsInput ​

ts
const IngestEventsInput: z.ZodObject<{
  events: z.ZodArray<z.ZodObject<{
     amount: z.ZodOptional<z.ZodNumber>;
     attributes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
     cardFingerprint: z.ZodOptional<z.ZodString>;
     currency: z.ZodOptional<z.ZodString>;
     deviceId: z.ZodOptional<z.ZodString>;
     email: z.ZodOptional<z.ZodString>;
     idempotencyKey: z.ZodString;
     ip: z.ZodOptional<z.ZodString>;
     occurredAt: z.ZodCoercedDate<unknown>;
     subjectId: z.ZodGUID;
     type: z.ZodString;
  }, z.core.$strip>>;
}, z.core.$strip>;

Released under the Apache-2.0 License.