Skip to content

Variable: RestWebhookSchema ​

ts
const RestWebhookSchema: ZodObject<{
  active: ZodOptional<ZodBoolean>;
  configuration: ZodOptional<ZodRecord<ZodString, ZodString>>;
  credentials: ZodOptional<ZodObject<{
     empty: ZodOptional<ZodBoolean>;
     password: ZodOptional<ZodString>;
     username: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>;
  empty: ZodOptional<ZodBoolean>;
  events: ZodOptional<ZodArray<ZodString>>;
  name: ZodOptional<ZodString>;
  scopeType: ZodOptional<ZodString>;
  sslVerificationRequired: ZodOptional<ZodBoolean>;
  statistics: ZodOptional<ZodObject<{
     empty: ZodOptional<ZodBoolean>;
  }, ApiObjectConfig<undefined>>>;
  url: ZodOptional<ZodString>;
}, ApiObjectConfig<undefined>>;

Defined in: src/server/models/restWebhook.ts:5