Variable getNotificationsResponseSchemaConst
getNotificationsResponseSchema: ZodObject<
{
data: ZodArray<
ZodObject<
{
body: ZodUnion<readonly [ZodString, ZodNull]>;
entity: ZodUnion<
readonly [
ZodObject<
{
id: ZodUnion<readonly [(...), (...)]>;
label: ZodUnion<readonly [(...), (...)]>;
type: ZodEnum<
{
account: ...;
entity_transfer: ...;
linode: ...;
loadbalancers: ...;
nodebalancer: ...;
promotion: ...;
region: ...;
ticket: ...;
volume: ...;
},
>;
url: ZodUnion<readonly [(...), (...)]>;
},
$strip,
>,
ZodNull,
],
>;
label: ZodString;
message: ZodString;
severity: ZodEnum<
{ critical: "critical"; major: "major"; minor: "minor" },
>;
type: ZodEnum<
{
maintenance: "maintenance";
maintenance_scheduled: "maintenance_scheduled";
migration_imminent: "migration_imminent";
migration_pending: "migration_pending";
migration_scheduled: "migration_scheduled";
notice: "notice";
outage: "outage";
payment_due: "payment_due";
promotion: "promotion";
reboot_scheduled: "reboot_scheduled";
security_reboot_maintenance_scheduled: "security_reboot_maintenance_scheduled";
tax_id_verifying: "tax_id_verifying";
ticket_abuse: "ticket_abuse";
ticket_important: "ticket_important";
},
>;
until: ZodUnion<readonly [ZodISODateTime, ZodNull]>;
when: ZodUnion<readonly [ZodISODateTime, ZodNull]>;
},
$strip,
>,
>;
page: ZodReadonly<ZodInt>;
pages: ZodReadonly<ZodInt>;
results: ZodReadonly<ZodInt>;
},
$strip,
> = ...
Returns a paginated list of notification objects.