@takashito/linode-mcp-server
Version:
MCP server for Linode API
1,432 lines (1,431 loc) • 40.5 kB
TypeScript
import { z } from "zod";
export declare const AccountSchema: z.ZodObject<{
active_since: z.ZodString;
address_1: z.ZodString;
address_2: z.ZodOptional<z.ZodString>;
balance: z.ZodNumber;
balances: z.ZodObject<{
uninvoiced: z.ZodNumber;
past_due: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
}, "strip", z.ZodTypeAny, {
uninvoiced: number;
past_due: boolean;
}, {
uninvoiced: number;
past_due?: unknown;
}>;
billing_source: z.ZodString;
capabilities: z.ZodArray<z.ZodString, "many">;
city: z.ZodString;
company: z.ZodString;
country: z.ZodString;
credit_card: z.ZodObject<{
expiry: z.ZodString;
last_four: z.ZodString;
}, "strip", z.ZodTypeAny, {
expiry: string;
last_four: string;
}, {
expiry: string;
last_four: string;
}>;
email: z.ZodString;
euuid: z.ZodString;
first_name: z.ZodString;
last_name: z.ZodString;
phone: z.ZodString;
state: z.ZodString;
tax_id: z.ZodString;
zip: z.ZodString;
}, "strip", z.ZodTypeAny, {
email: string;
active_since: string;
address_1: string;
balance: number;
balances: {
uninvoiced: number;
past_due: boolean;
};
billing_source: string;
capabilities: string[];
city: string;
company: string;
country: string;
credit_card: {
expiry: string;
last_four: string;
};
euuid: string;
first_name: string;
last_name: string;
phone: string;
state: string;
tax_id: string;
zip: string;
address_2?: string | undefined;
}, {
email: string;
active_since: string;
address_1: string;
balance: number;
balances: {
uninvoiced: number;
past_due?: unknown;
};
billing_source: string;
capabilities: string[];
city: string;
company: string;
country: string;
credit_card: {
expiry: string;
last_four: string;
};
euuid: string;
first_name: string;
last_name: string;
phone: string;
state: string;
tax_id: string;
zip: string;
address_2?: string | undefined;
}>;
export declare const getAccountSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const updateAccountSchema: z.ZodObject<{
address_1: z.ZodOptional<z.ZodString>;
address_2: z.ZodOptional<z.ZodString>;
city: z.ZodOptional<z.ZodString>;
company: z.ZodOptional<z.ZodString>;
country: z.ZodOptional<z.ZodString>;
email: z.ZodOptional<z.ZodString>;
first_name: z.ZodOptional<z.ZodString>;
last_name: z.ZodOptional<z.ZodString>;
phone: z.ZodOptional<z.ZodString>;
state: z.ZodOptional<z.ZodString>;
tax_id: z.ZodOptional<z.ZodString>;
zip: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email?: string | undefined;
address_1?: string | undefined;
address_2?: string | undefined;
city?: string | undefined;
company?: string | undefined;
country?: string | undefined;
first_name?: string | undefined;
last_name?: string | undefined;
phone?: string | undefined;
state?: string | undefined;
tax_id?: string | undefined;
zip?: string | undefined;
}, {
email?: string | undefined;
address_1?: string | undefined;
address_2?: string | undefined;
city?: string | undefined;
company?: string | undefined;
country?: string | undefined;
first_name?: string | undefined;
last_name?: string | undefined;
phone?: string | undefined;
state?: string | undefined;
tax_id?: string | undefined;
zip?: string | undefined;
}>;
export declare const AgreementSchema: z.ZodObject<{
id: z.ZodString;
description: z.ZodString;
body: z.ZodString;
title: z.ZodString;
created: z.ZodString;
modified: z.ZodString;
expiry: z.ZodOptional<z.ZodString>;
url: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
id: string;
created: string;
body: string;
description: string;
title: string;
modified: string;
url?: string | undefined;
expiry?: string | undefined;
}, {
id: string;
created: string;
body: string;
description: string;
title: string;
modified: string;
url?: string | undefined;
expiry?: string | undefined;
}>;
export declare const listAgreementsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const acknowledgeAgreementsSchema: z.ZodObject<{
agreement_ids: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
agreement_ids: string[];
}, {
agreement_ids: string[];
}>;
export declare const ServiceAvailabilitySchema: z.ZodObject<{
region: z.ZodString;
services: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
}, "strip", z.ZodTypeAny, {
region: string;
services: Record<string, boolean>;
}, {
region: string;
services: Record<string, unknown>;
}>;
export declare const listServiceAvailabilitySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const getRegionServiceAvailabilitySchema: z.ZodObject<{
regionId: z.ZodString;
}, "strip", z.ZodTypeAny, {
regionId: string;
}, {
regionId: string;
}>;
export declare const cancelAccountSchema: z.ZodObject<{
comments: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
comments?: string | undefined;
}, {
comments?: string | undefined;
}>;
export declare const ChildAccountSchema: z.ZodObject<{
euuid: z.ZodString;
company: z.ZodString;
email: z.ZodString;
is_active: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
billing_cycle: z.ZodString;
state: z.ZodString;
has_credit_card: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
enterprise_data: z.ZodOptional<z.ZodObject<{
credit_limit: z.ZodNumber;
acl: z.ZodRecord<z.ZodString, z.ZodString>;
}, "strip", z.ZodTypeAny, {
acl: Record<string, string>;
credit_limit: number;
}, {
acl: Record<string, string>;
credit_limit: number;
}>>;
}, "strip", z.ZodTypeAny, {
email: string;
company: string;
euuid: string;
state: string;
is_active: boolean;
billing_cycle: string;
has_credit_card: boolean;
enterprise_data?: {
acl: Record<string, string>;
credit_limit: number;
} | undefined;
}, {
email: string;
company: string;
euuid: string;
state: string;
billing_cycle: string;
is_active?: unknown;
has_credit_card?: unknown;
enterprise_data?: {
acl: Record<string, string>;
credit_limit: number;
} | undefined;
}>;
export declare const AccountEventSchema: z.ZodObject<{
id: z.ZodNumber;
action: z.ZodString;
created: z.ZodString;
entity: z.ZodObject<{
id: z.ZodNumber;
label: z.ZodString;
type: z.ZodString;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
label: string;
type: string;
id: number;
url: string;
}, {
label: string;
type: string;
id: number;
url: string;
}>;
percent_complete: z.ZodOptional<z.ZodNumber>;
rate: z.ZodOptional<z.ZodString>;
read: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
seen: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
status: z.ZodString;
time_remaining: z.ZodOptional<z.ZodNumber>;
username: z.ZodString;
message: z.ZodOptional<z.ZodString>;
secondary_entity: z.ZodOptional<z.ZodObject<{
id: z.ZodNumber;
label: z.ZodString;
type: z.ZodString;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
label: string;
type: string;
id: number;
url: string;
}, {
label: string;
type: string;
id: number;
url: string;
}>>;
}, "strip", z.ZodTypeAny, {
status: string;
id: number;
created: string;
action: string;
entity: {
label: string;
type: string;
id: number;
url: string;
};
username: string;
read: boolean;
seen: boolean;
message?: string | undefined;
percent_complete?: number | undefined;
rate?: string | undefined;
time_remaining?: number | undefined;
secondary_entity?: {
label: string;
type: string;
id: number;
url: string;
} | undefined;
}, {
status: string;
id: number;
created: string;
action: string;
entity: {
label: string;
type: string;
id: number;
url: string;
};
username: string;
message?: string | undefined;
percent_complete?: number | undefined;
rate?: string | undefined;
read?: unknown;
seen?: unknown;
time_remaining?: number | undefined;
secondary_entity?: {
label: string;
type: string;
id: number;
url: string;
} | undefined;
}>;
export declare const listEventsSchema: z.ZodObject<{
page: z.ZodOptional<z.ZodNumber>;
page_size: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page?: number | undefined;
page_size?: number | undefined;
}, {
page?: number | undefined;
page_size?: number | undefined;
}>;
export declare const getEventSchema: z.ZodObject<{
eventId: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
eventId: number;
}, {
eventId: number;
}>;
export declare const markEventAsSeenSchema: z.ZodObject<{
eventId: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
eventId: number;
}, {
eventId: number;
}>;
export declare const InvoiceSchema: z.ZodObject<{
id: z.ZodNumber;
date: z.ZodString;
label: z.ZodString;
subtotal: z.ZodNumber;
tax: z.ZodNumber;
total: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
label: string;
date: string;
id: number;
total: number;
subtotal: number;
tax: number;
}, {
label: string;
date: string;
id: number;
total: number;
subtotal: number;
tax: number;
}>;
export declare const listInvoicesSchema: z.ZodObject<{
page: z.ZodOptional<z.ZodNumber>;
page_size: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page?: number | undefined;
page_size?: number | undefined;
}, {
page?: number | undefined;
page_size?: number | undefined;
}>;
export declare const getInvoiceSchema: z.ZodObject<{
invoiceId: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
invoiceId: number;
}, {
invoiceId: number;
}>;
export declare const InvoiceItemSchema: z.ZodObject<{
amount: z.ZodNumber;
from: z.ZodString;
to: z.ZodString;
label: z.ZodString;
quantity: z.ZodNumber;
type: z.ZodString;
unit_price: z.ZodString;
tax: z.ZodNumber;
total: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
label: string;
type: string;
total: number;
tax: number;
amount: number;
from: string;
to: string;
quantity: number;
unit_price: string;
}, {
label: string;
type: string;
total: number;
tax: number;
amount: number;
from: string;
to: string;
quantity: number;
unit_price: string;
}>;
export declare const listInvoiceItemsSchema: z.ZodObject<{
invoiceId: z.ZodNumber;
page: z.ZodOptional<z.ZodNumber>;
page_size: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
invoiceId: number;
page?: number | undefined;
page_size?: number | undefined;
}, {
invoiceId: number;
page?: number | undefined;
page_size?: number | undefined;
}>;
export declare const AccountLoginSchema: z.ZodObject<{
id: z.ZodNumber;
datetime: z.ZodString;
ip: z.ZodString;
restricted: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
status: z.ZodString;
username: z.ZodString;
}, "strip", z.ZodTypeAny, {
status: string;
id: number;
username: string;
restricted: boolean;
ip: string;
datetime: string;
}, {
status: string;
id: number;
username: string;
ip: string;
datetime: string;
restricted?: unknown;
}>;
export declare const listAccountLoginsSchema: z.ZodObject<{
page: z.ZodOptional<z.ZodNumber>;
page_size: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page?: number | undefined;
page_size?: number | undefined;
}, {
page?: number | undefined;
page_size?: number | undefined;
}>;
export declare const getAccountLoginSchema: z.ZodObject<{
loginId: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
loginId: number;
}, {
loginId: number;
}>;
export declare const MaintenanceSchema: z.ZodObject<{
when: z.ZodString;
entity: z.ZodObject<{
id: z.ZodString;
label: z.ZodString;
type: z.ZodString;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
label: string;
type: string;
id: string;
url: string;
}, {
label: string;
type: string;
id: string;
url: string;
}>;
duration: z.ZodNumber;
status: z.ZodString;
type: z.ZodString;
reason: z.ZodString;
key: z.ZodString;
created: z.ZodString;
updated: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: string;
status: string;
created: string;
updated: string;
duration: number;
entity: {
label: string;
type: string;
id: string;
url: string;
};
when: string;
reason: string;
key: string;
}, {
type: string;
status: string;
created: string;
updated: string;
duration: number;
entity: {
label: string;
type: string;
id: string;
url: string;
};
when: string;
reason: string;
key: string;
}>;
export declare const listMaintenancesSchema: z.ZodObject<{
page: z.ZodOptional<z.ZodNumber>;
page_size: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page?: number | undefined;
page_size?: number | undefined;
}, {
page?: number | undefined;
page_size?: number | undefined;
}>;
export declare const NotificationSchema: z.ZodObject<{
body: z.ZodString;
entity: z.ZodObject<{
id: z.ZodNumber;
label: z.ZodString;
type: z.ZodString;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
label: string;
type: string;
id: number;
url: string;
}, {
label: string;
type: string;
id: number;
url: string;
}>;
label: z.ZodString;
message: z.ZodString;
severity: z.ZodString;
type: z.ZodString;
until: z.ZodString;
when: z.ZodString;
}, "strip", z.ZodTypeAny, {
label: string;
message: string;
type: string;
body: string;
severity: string;
entity: {
label: string;
type: string;
id: number;
url: string;
};
when: string;
until: string;
}, {
label: string;
message: string;
type: string;
body: string;
severity: string;
entity: {
label: string;
type: string;
id: number;
url: string;
};
when: string;
until: string;
}>;
export declare const listNotificationsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const OAuthClientSchema: z.ZodObject<{
id: z.ZodString;
label: z.ZodString;
redirect_uri: z.ZodString;
secret: z.ZodString;
public: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
status: z.ZodString;
thumbnail_url: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
public: boolean;
label: string;
status: string;
id: string;
secret: string;
redirect_uri: string;
thumbnail_url?: string | undefined;
}, {
label: string;
status: string;
id: string;
secret: string;
redirect_uri: string;
public?: unknown;
thumbnail_url?: string | undefined;
}>;
export declare const listOAuthClientsSchema: z.ZodObject<{
page: z.ZodOptional<z.ZodNumber>;
page_size: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page?: number | undefined;
page_size?: number | undefined;
}, {
page?: number | undefined;
page_size?: number | undefined;
}>;
export declare const createOAuthClientSchema: z.ZodObject<{
label: z.ZodString;
redirect_uri: z.ZodString;
public: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
}, "strip", z.ZodTypeAny, {
label: string;
redirect_uri: string;
public?: boolean | undefined;
}, {
label: string;
redirect_uri: string;
public?: unknown;
}>;
export declare const getOAuthClientSchema: z.ZodObject<{
clientId: z.ZodString;
}, "strip", z.ZodTypeAny, {
clientId: string;
}, {
clientId: string;
}>;
export declare const updateOAuthClientSchema: z.ZodObject<{
clientId: z.ZodString;
label: z.ZodOptional<z.ZodString>;
redirect_uri: z.ZodOptional<z.ZodString>;
public: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
}, "strip", z.ZodTypeAny, {
clientId: string;
public?: boolean | undefined;
label?: string | undefined;
redirect_uri?: string | undefined;
}, {
clientId: string;
public?: unknown;
label?: string | undefined;
redirect_uri?: string | undefined;
}>;
export declare const deleteOAuthClientSchema: z.ZodObject<{
clientId: z.ZodString;
}, "strip", z.ZodTypeAny, {
clientId: string;
}, {
clientId: string;
}>;
export declare const resetOAuthClientSecretSchema: z.ZodObject<{
clientId: z.ZodString;
}, "strip", z.ZodTypeAny, {
clientId: string;
}, {
clientId: string;
}>;
export declare const getOAuthClientThumbnailSchema: z.ZodObject<{
clientId: z.ZodString;
}, "strip", z.ZodTypeAny, {
clientId: string;
}, {
clientId: string;
}>;
export declare const updateOAuthClientThumbnailSchema: z.ZodObject<{
clientId: z.ZodString;
thumbnailData: z.ZodAny;
}, "strip", z.ZodTypeAny, {
clientId: string;
thumbnailData?: any;
}, {
clientId: string;
thumbnailData?: any;
}>;
export declare const AccountSettingsSchema: z.ZodObject<{
managed: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
longview_subscription: z.ZodNullable<z.ZodString>;
network_helper: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
backups_enabled: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
object_storage: z.ZodEnum<["active", "disabled", "suspended"]>;
}, "strip", z.ZodTypeAny, {
backups_enabled: boolean;
longview_subscription: string | null;
managed: boolean;
network_helper: boolean;
object_storage: "disabled" | "active" | "suspended";
}, {
longview_subscription: string | null;
object_storage: "disabled" | "active" | "suspended";
backups_enabled?: unknown;
managed?: unknown;
network_helper?: unknown;
}>;
export declare const getAccountSettingsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const updateAccountSettingsSchema: z.ZodObject<{
network_helper: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
backups_enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
}, "strip", z.ZodTypeAny, {
backups_enabled?: boolean | undefined;
network_helper?: boolean | undefined;
}, {
backups_enabled?: unknown;
network_helper?: unknown;
}>;
export declare const enableManagedServiceSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const AccountNetworkTransferSchema: z.ZodObject<{
billable: z.ZodNumber;
used: z.ZodNumber;
quota: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
used: number;
billable: number;
quota: number;
}, {
used: number;
billable: number;
quota: number;
}>;
export declare const getAccountNetworkTransferSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const UserSchema: z.ZodObject<{
username: z.ZodString;
email: z.ZodString;
restricted: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
ssh_keys: z.ZodArray<z.ZodString, "many">;
two_factor_auth: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
}, "strip", z.ZodTypeAny, {
email: string;
username: string;
restricted: boolean;
two_factor_auth: boolean;
ssh_keys: string[];
}, {
email: string;
username: string;
ssh_keys: string[];
restricted?: unknown;
two_factor_auth?: unknown;
}>;
export declare const listUsersSchema: z.ZodObject<{
page: z.ZodOptional<z.ZodNumber>;
page_size: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page?: number | undefined;
page_size?: number | undefined;
}, {
page?: number | undefined;
page_size?: number | undefined;
}>;
export declare const createUserSchema: z.ZodObject<{
username: z.ZodString;
email: z.ZodString;
restricted: z.ZodEffects<z.ZodBoolean, boolean, unknown>;
}, "strip", z.ZodTypeAny, {
email: string;
username: string;
restricted: boolean;
}, {
email: string;
username: string;
restricted?: unknown;
}>;
export declare const getUserSchema: z.ZodObject<{
username: z.ZodString;
}, "strip", z.ZodTypeAny, {
username: string;
}, {
username: string;
}>;
export declare const updateUserSchema: z.ZodObject<{
username: z.ZodString;
email: z.ZodOptional<z.ZodString>;
restricted: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
}, "strip", z.ZodTypeAny, {
username: string;
email?: string | undefined;
restricted?: boolean | undefined;
}, {
username: string;
email?: string | undefined;
restricted?: unknown;
}>;
export declare const deleteUserSchema: z.ZodObject<{
username: z.ZodString;
}, "strip", z.ZodTypeAny, {
username: string;
}, {
username: string;
}>;
export declare const UserGrantsSchema: z.ZodObject<{
global: z.ZodObject<{
account_access: z.ZodString;
add_domains: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_databases: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_firewalls: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_images: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_linodes: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_longview: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_nodebalancers: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_stackscripts: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_volumes: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
cancel_account: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
longview_subscription: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
}, "strip", z.ZodTypeAny, {
account_access: string;
longview_subscription?: boolean | undefined;
add_domains?: boolean | undefined;
add_databases?: boolean | undefined;
add_firewalls?: boolean | undefined;
add_images?: boolean | undefined;
add_linodes?: boolean | undefined;
add_longview?: boolean | undefined;
add_nodebalancers?: boolean | undefined;
add_stackscripts?: boolean | undefined;
add_volumes?: boolean | undefined;
cancel_account?: boolean | undefined;
}, {
account_access: string;
longview_subscription?: unknown;
add_domains?: unknown;
add_databases?: unknown;
add_firewalls?: unknown;
add_images?: unknown;
add_linodes?: unknown;
add_longview?: unknown;
add_nodebalancers?: unknown;
add_stackscripts?: unknown;
add_volumes?: unknown;
cancel_account?: unknown;
}>;
database: z.ZodRecord<z.ZodString, z.ZodObject<{
id: z.ZodNumber;
permissions: z.ZodString;
label: z.ZodString;
}, "strip", z.ZodTypeAny, {
label: string;
id: number;
permissions: string;
}, {
label: string;
id: number;
permissions: string;
}>>;
domain: z.ZodRecord<z.ZodString, z.ZodObject<{
id: z.ZodNumber;
permissions: z.ZodString;
label: z.ZodString;
}, "strip", z.ZodTypeAny, {
label: string;
id: number;
permissions: string;
}, {
label: string;
id: number;
permissions: string;
}>>;
firewall: z.ZodRecord<z.ZodString, z.ZodObject<{
id: z.ZodNumber;
permissions: z.ZodString;
label: z.ZodString;
}, "strip", z.ZodTypeAny, {
label: string;
id: number;
permissions: string;
}, {
label: string;
id: number;
permissions: string;
}>>;
image: z.ZodRecord<z.ZodString, z.ZodObject<{
id: z.ZodNumber;
permissions: z.ZodString;
label: z.ZodString;
}, "strip", z.ZodTypeAny, {
label: string;
id: number;
permissions: string;
}, {
label: string;
id: number;
permissions: string;
}>>;
linode: z.ZodRecord<z.ZodString, z.ZodObject<{
id: z.ZodNumber;
permissions: z.ZodString;
label: z.ZodString;
}, "strip", z.ZodTypeAny, {
label: string;
id: number;
permissions: string;
}, {
label: string;
id: number;
permissions: string;
}>>;
longview: z.ZodRecord<z.ZodString, z.ZodObject<{
id: z.ZodNumber;
permissions: z.ZodString;
label: z.ZodString;
}, "strip", z.ZodTypeAny, {
label: string;
id: number;
permissions: string;
}, {
label: string;
id: number;
permissions: string;
}>>;
nodebalancer: z.ZodRecord<z.ZodString, z.ZodObject<{
id: z.ZodNumber;
permissions: z.ZodString;
label: z.ZodString;
}, "strip", z.ZodTypeAny, {
label: string;
id: number;
permissions: string;
}, {
label: string;
id: number;
permissions: string;
}>>;
stackscript: z.ZodRecord<z.ZodString, z.ZodObject<{
id: z.ZodNumber;
permissions: z.ZodString;
label: z.ZodString;
}, "strip", z.ZodTypeAny, {
label: string;
id: number;
permissions: string;
}, {
label: string;
id: number;
permissions: string;
}>>;
volume: z.ZodRecord<z.ZodString, z.ZodObject<{
id: z.ZodNumber;
permissions: z.ZodString;
label: z.ZodString;
}, "strip", z.ZodTypeAny, {
label: string;
id: number;
permissions: string;
}, {
label: string;
id: number;
permissions: string;
}>>;
}, "strip", z.ZodTypeAny, {
image: Record<string, {
label: string;
id: number;
permissions: string;
}>;
linode: Record<string, {
label: string;
id: number;
permissions: string;
}>;
nodebalancer: Record<string, {
label: string;
id: number;
permissions: string;
}>;
domain: Record<string, {
label: string;
id: number;
permissions: string;
}>;
database: Record<string, {
label: string;
id: number;
permissions: string;
}>;
global: {
account_access: string;
longview_subscription?: boolean | undefined;
add_domains?: boolean | undefined;
add_databases?: boolean | undefined;
add_firewalls?: boolean | undefined;
add_images?: boolean | undefined;
add_linodes?: boolean | undefined;
add_longview?: boolean | undefined;
add_nodebalancers?: boolean | undefined;
add_stackscripts?: boolean | undefined;
add_volumes?: boolean | undefined;
cancel_account?: boolean | undefined;
};
firewall: Record<string, {
label: string;
id: number;
permissions: string;
}>;
longview: Record<string, {
label: string;
id: number;
permissions: string;
}>;
stackscript: Record<string, {
label: string;
id: number;
permissions: string;
}>;
volume: Record<string, {
label: string;
id: number;
permissions: string;
}>;
}, {
image: Record<string, {
label: string;
id: number;
permissions: string;
}>;
linode: Record<string, {
label: string;
id: number;
permissions: string;
}>;
nodebalancer: Record<string, {
label: string;
id: number;
permissions: string;
}>;
domain: Record<string, {
label: string;
id: number;
permissions: string;
}>;
database: Record<string, {
label: string;
id: number;
permissions: string;
}>;
global: {
account_access: string;
longview_subscription?: unknown;
add_domains?: unknown;
add_databases?: unknown;
add_firewalls?: unknown;
add_images?: unknown;
add_linodes?: unknown;
add_longview?: unknown;
add_nodebalancers?: unknown;
add_stackscripts?: unknown;
add_volumes?: unknown;
cancel_account?: unknown;
};
firewall: Record<string, {
label: string;
id: number;
permissions: string;
}>;
longview: Record<string, {
label: string;
id: number;
permissions: string;
}>;
stackscript: Record<string, {
label: string;
id: number;
permissions: string;
}>;
volume: Record<string, {
label: string;
id: number;
permissions: string;
}>;
}>;
export declare const getUserGrantsSchema: z.ZodObject<{
username: z.ZodString;
}, "strip", z.ZodTypeAny, {
username: string;
}, {
username: string;
}>;
export declare const listEntitiesSchema: z.ZodObject<{
page: z.ZodOptional<z.ZodNumber>;
page_size: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page?: number | undefined;
page_size?: number | undefined;
}, {
page?: number | undefined;
page_size?: number | undefined;
}>;
export declare const listIamRolesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const getUserRolePermissionsSchema: z.ZodObject<{
username: z.ZodString;
}, "strip", z.ZodTypeAny, {
username: string;
}, {
username: string;
}>;
export declare const updateUserRolePermissionsSchema: z.ZodObject<{
username: z.ZodString;
roles: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
username: string;
roles: string[];
}, {
username: string;
roles: string[];
}>;
export declare const listDelegationChildAccountsSchema: z.ZodObject<{
page: z.ZodOptional<z.ZodNumber>;
page_size: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page?: number | undefined;
page_size?: number | undefined;
}, {
page?: number | undefined;
page_size?: number | undefined;
}>;
export declare const getDelegationChildAccountUsersSchema: z.ZodObject<{
euuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
euuid: string;
}, {
euuid: string;
}>;
export declare const updateDelegationChildAccountUsersSchema: z.ZodObject<{
euuid: z.ZodString;
users: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
euuid: string;
users: string[];
}, {
euuid: string;
users: string[];
}>;
export declare const getDelegationDefaultRolesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const updateDelegationDefaultRolesSchema: z.ZodObject<{
roles: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
roles: string[];
}, {
roles: string[];
}>;
export declare const listDelegationProfileAccountsSchema: z.ZodObject<{
page: z.ZodOptional<z.ZodNumber>;
page_size: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page?: number | undefined;
page_size?: number | undefined;
}, {
page?: number | undefined;
page_size?: number | undefined;
}>;
export declare const getDelegationProfileAccountSchema: z.ZodObject<{
euuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
euuid: string;
}, {
euuid: string;
}>;
export declare const createDelegationTokenSchema: z.ZodObject<{
euuid: z.ZodString;
}, "strip", z.ZodTypeAny, {
euuid: string;
}, {
euuid: string;
}>;
export declare const getUserDelegationsSchema: z.ZodObject<{
username: z.ZodString;
}, "strip", z.ZodTypeAny, {
username: string;
}, {
username: string;
}>;
export declare const listMaintenancePoliciesSchema: z.ZodObject<{
page: z.ZodOptional<z.ZodNumber>;
page_size: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page?: number | undefined;
page_size?: number | undefined;
}, {
page?: number | undefined;
page_size?: number | undefined;
}>;
export declare const listResourceLocksSchema: z.ZodObject<{
page: z.ZodOptional<z.ZodNumber>;
page_size: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page?: number | undefined;
page_size?: number | undefined;
}, {
page?: number | undefined;
page_size?: number | undefined;
}>;
export declare const getResourceLockSchema: z.ZodObject<{
resourceLockId: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
resourceLockId: number;
}, {
resourceLockId: number;
}>;
export declare const createResourceLockSchema: z.ZodObject<{
resource_id: z.ZodNumber;
resource_type: z.ZodString;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
resource_id: number;
resource_type: string;
reason?: string | undefined;
}, {
resource_id: number;
resource_type: string;
reason?: string | undefined;
}>;
export declare const deleteResourceLockSchema: z.ZodObject<{
resourceLockId: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
resourceLockId: number;
}, {
resourceLockId: number;
}>;
export declare const updateUserGrantsSchema: z.ZodObject<{
username: z.ZodString;
global: z.ZodOptional<z.ZodObject<{
account_access: z.ZodOptional<z.ZodString>;
add_domains: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_databases: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_firewalls: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_images: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_linodes: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_longview: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_nodebalancers: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_stackscripts: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
add_volumes: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
cancel_account: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
longview_subscription: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
}, "strip", z.ZodTypeAny, {
longview_subscription?: boolean | undefined;
account_access?: string | undefined;
add_domains?: boolean | undefined;
add_databases?: boolean | undefined;
add_firewalls?: boolean | undefined;
add_images?: boolean | undefined;
add_linodes?: boolean | undefined;
add_longview?: boolean | undefined;
add_nodebalancers?: boolean | undefined;
add_stackscripts?: boolean | undefined;
add_volumes?: boolean | undefined;
cancel_account?: boolean | undefined;
}, {
longview_subscription?: unknown;
account_access?: string | undefined;
add_domains?: unknown;
add_databases?: unknown;
add_firewalls?: unknown;
add_images?: unknown;
add_linodes?: unknown;
add_longview?: unknown;
add_nodebalancers?: unknown;
add_stackscripts?: unknown;
add_volumes?: unknown;
cancel_account?: unknown;
}>>;
database: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
permissions: z.ZodString;
}, "strip", z.ZodTypeAny, {
permissions: string;
}, {
permissions: string;
}>>>;
domain: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
permissions: z.ZodString;
}, "strip", z.ZodTypeAny, {
permissions: string;
}, {
permissions: string;
}>>>;
firewall: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
permissions: z.ZodString;
}, "strip", z.ZodTypeAny, {
permissions: string;
}, {
permissions: string;
}>>>;
image: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
permissions: z.ZodString;
}, "strip", z.ZodTypeAny, {
permissions: string;
}, {
permissions: string;
}>>>;
linode: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
permissions: z.ZodString;
}, "strip", z.ZodTypeAny, {
permissions: string;
}, {
permissions: string;
}>>>;
longview: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
permissions: z.ZodString;
}, "strip", z.ZodTypeAny, {
permissions: string;
}, {
permissions: string;
}>>>;
nodebalancer: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
permissions: z.ZodString;
}, "strip", z.ZodTypeAny, {
permissions: string;
}, {
permissions: string;
}>>>;
stackscript: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
permissions: z.ZodString;
}, "strip", z.ZodTypeAny, {
permissions: string;
}, {
permissions: string;
}>>>;
volume: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
permissions: z.ZodString;
}, "strip", z.ZodTypeAny, {
permissions: string;
}, {
permissions: string;
}>>>;
}, "strip", z.ZodTypeAny, {
username: string;
image?: Record<string, {
permissions: string;
}> | undefined;
linode?: Record<string, {
permissions: string;
}> | undefined;
nodebalancer?: Record<string, {
permissions: string;
}> | undefined;
domain?: Record<string, {
permissions: string;
}> | undefined;
database?: Record<string, {
permissions: string;
}> | undefined;
global?: {
longview_subscription?: boolean | undefined;
account_access?: string | undefined;
add_domains?: boolean | undefined;
add_databases?: boolean | undefined;
add_firewalls?: boolean | undefined;
add_images?: boolean | undefined;
add_linodes?: boolean | undefined;
add_longview?: boolean | undefined;
add_nodebalancers?: boolean | undefined;
add_stackscripts?: boolean | undefined;
add_volumes?: boolean | undefined;
cancel_account?: boolean | undefined;
} | undefined;
firewall?: Record<string, {
permissions: string;
}> | undefined;
longview?: Record<string, {
permissions: string;
}> | undefined;
stackscript?: Record<string, {
permissions: string;
}> | undefined;
volume?: Record<string, {
permissions: string;
}> | undefined;
}, {
username: string;
image?: Record<string, {
permissions: string;
}> | undefined;
linode?: Record<string, {
permissions: string;
}> | undefined;
nodebalancer?: Record<string, {
permissions: string;
}> | undefined;
domain?: Record<string, {
permissions: string;
}> | undefined;
database?: Record<string, {
permissions: string;
}> | undefined;
global?: {
longview_subscription?: unknown;
account_access?: string | undefined;
add_domains?: unknown;
add_databases?: unknown;
add_firewalls?: unknown;
add_images?: unknown;
add_linodes?: unknown;
add_longview?: unknown;
add_nodebalancers?: unknown;
add_stackscripts?: unknown;
add_volumes?: unknown;
cancel_account?: unknown;
} | undefined;
firewall?: Record<string, {
permissions: string;
}> | undefined;
longview?: Record<string, {
permissions: string;
}> | undefined;
stackscript?: Record<string, {
permissions: string;
}> | undefined;
volume?: Record<string, {
permissions: string;
}> | undefined;
}>;