Skip to content

Variable: AppQuotaBreach ​

ts
const AppQuotaBreach: z.ZodObject<{
  currency: z.ZodNullable<z.ZodString>;
  max: z.ZodNumber;
  metric: z.ZodEnum<{
     calls: "calls";
     http_requests: "http_requests";
     spend: "spend";
  }>;
  period: z.ZodEnum<{
     day: "day";
     month: "month";
  }>;
  periodStart: z.ZodCoercedDate<unknown>;
  resetsAt: z.ZodCoercedDate<unknown>;
  scope: z.ZodEnum<{
     install: "install";
     tenant: "tenant";
  }>;
  used: z.ZodNumber;
}, z.core.$strip>;

A limit a call would pass: who set it, what it counts, and the period it is used up for.

Released under the Apache-2.0 License.