@vigilbase/cli
Version:
Vigilbase CLI — security scanners, agent tools, and Vigilbase One from the terminal.
3,089 lines • 150 kB
TypeScript
export * from './shared.js';
export * from './customers.js';
export * from './customer-records.js';
export * from './monitoring.js';
export * from './reports-billing.js';
export * from './support-services.js';
export declare const ONE_V1_OPERATIONS: readonly [{
readonly id: "one.customers.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers";
readonly summary: "List customers";
readonly description: "Customers the caller can see: every customer for Vigilbase staff, a partner’s own customers, otherwise the caller’s organisation. Newest first.";
readonly tags: readonly ["customers"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:customers"];
readonly pagination: "cursor";
readonly request: {
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
name: import("zod").ZodString;
domain: import("zod").ZodNullable<import("zod").ZodString>;
industry: import("zod").ZodNullable<import("zod").ZodString>;
lifecycleStatus: import("zod").ZodString;
onboardingStatus: import("zod").ZodString;
accountOwnerName: import("zod").ZodNullable<import("zod").ZodString>;
partner: import("zod").ZodNullable<import("zod").ZodObject<{
id: import("zod").ZodGUID;
name: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
services: import("zod").ZodArray<import("zod").ZodObject<{
tool: import("zod").ZodString;
status: import("zod").ZodEnum<{
error: "error";
pending: "pending";
active: "active";
inactive: "inactive";
}>;
}, import("zod/v4/core").$strip>>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
updatedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "customers list";
readonly llms: true;
};
}, {
readonly id: "one.customers.get";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}";
readonly summary: "Get a customer";
readonly description: "One customer with its partner, account owner and service counts.";
readonly tags: readonly ["customers"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:customers"];
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
id: import("zod").ZodGUID;
name: import("zod").ZodString;
domain: import("zod").ZodNullable<import("zod").ZodString>;
industry: import("zod").ZodNullable<import("zod").ZodString>;
lifecycleStatus: import("zod").ZodString;
onboardingStatus: import("zod").ZodString;
accountOwnerName: import("zod").ZodNullable<import("zod").ZodString>;
partner: import("zod").ZodNullable<import("zod").ZodObject<{
id: import("zod").ZodGUID;
name: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
isPartner: import("zod").ZodBoolean;
serviceCounts: import("zod").ZodObject<{
active: import("zod").ZodNumber;
total: import("zod").ZodNumber;
error: import("zod").ZodNumber;
}, import("zod/v4/core").$strip>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
updatedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/summary";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "customers show";
readonly llms: true;
};
}, {
readonly id: "one.customerContacts.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/contacts";
readonly summary: "List a customer’s contacts";
readonly description: "The people on the customer’s contact list, with their technical and billing roles, in list order.";
readonly tags: readonly ["customers"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:customers"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
name: import("zod").ZodNullable<import("zod").ZodString>;
email: import("zod").ZodNullable<import("zod").ZodString>;
phone: import("zod").ZodNullable<import("zod").ZodString>;
role: import("zod").ZodNullable<import("zod").ZodString>;
isTechnicalContact: import("zod").ZodBoolean;
isBillingContact: import("zod").ZodBoolean;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/contacts";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "customers contacts";
readonly llms: true;
};
}, {
readonly id: "one.customerOrganization.get";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/organization";
readonly summary: "Get a customer’s login organisation";
readonly description: "Whether the customer has its Vigilbase Identity organisation, and its id.";
readonly tags: readonly ["customers"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:customers"];
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
hasOrganization: import("zod").ZodBoolean;
organizationId: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/organization";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "customers organization";
readonly llms: true;
};
}, {
readonly id: "one.customerServices.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/services";
readonly summary: "List a customer’s services";
readonly description: "The services Vigilbase runs for the customer, newest first. Billing amounts need read:billing.";
readonly tags: readonly ["customers"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:services"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
tool: import("zod").ZodString;
status: import("zod").ZodEnum<{
error: "error";
pending: "pending";
active: "active";
inactive: "inactive";
}>;
serviceType: import("zod").ZodNullable<import("zod").ZodString>;
billingTier: import("zod").ZodString;
linkedAccountId: import("zod").ZodString;
domain: import("zod").ZodNullable<import("zod").ZodString>;
bandwidthLimitTb: import("zod").ZodNullable<import("zod").ZodNumber>;
monthlyAmount: import("zod").ZodNullable<import("zod").ZodNumber>;
currentPeriodStart: import("zod").ZodNullable<import("zod").ZodString>;
currentPeriodEnd: import("zod").ZodNullable<import("zod").ZodString>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
updatedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/service-records";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "customers services";
readonly llms: true;
};
}, {
readonly id: "one.customerEndpoints.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/endpoints";
readonly summary: "List a customer’s endpoints";
readonly description: "The customer’s devices as its endpoint management reports them, by display name.";
readonly tags: readonly ["customers"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:services"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
displayName: import("zod").ZodString;
systemName: import("zod").ZodString;
dnsName: import("zod").ZodNullable<import("zod").ZodString>;
deviceType: import("zod").ZodNullable<import("zod").ZodString>;
nodeClass: import("zod").ZodNullable<import("zod").ZodString>;
integration: import("zod").ZodNullable<import("zod").ZodString>;
offline: import("zod").ZodBoolean;
approvalStatus: import("zod").ZodNullable<import("zod").ZodString>;
maintenanceStatus: import("zod").ZodNullable<import("zod").ZodString>;
ipAddresses: import("zod").ZodArray<import("zod").ZodString>;
publicIp: import("zod").ZodNullable<import("zod").ZodString>;
locationName: import("zod").ZodNullable<import("zod").ZodString>;
lastLoggedOnUser: import("zod").ZodNullable<import("zod").ZodString>;
lastContact: import("zod").ZodNullable<import("zod").ZodString>;
lastUpdate: import("zod").ZodNullable<import("zod").ZodString>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
updatedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/endpoints";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "customers endpoints";
readonly llms: true;
};
}, {
readonly id: "one.customerIncidents.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/incidents";
readonly summary: "List a customer’s monitoring incidents";
readonly description: "Monitoring incidents over the last `windowDays` (default 30), newest first, with their acknowledgements. Built from at most the 500 newest alert events in the window.";
readonly tags: readonly ["customers", "monitoring"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:customers"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
windowDays: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
key: import("zod").ZodString;
monitorName: import("zod").ZodNullable<import("zod").ZodString>;
category: import("zod").ZodNullable<import("zod").ZodString>;
severity: import("zod").ZodEnum<{
warning: "warning";
critical: "critical";
}>;
status: import("zod").ZodEnum<{
open: "open";
resolved: "resolved";
}>;
region: import("zod").ZodNullable<import("zod").ZodString>;
targetId: import("zod").ZodNullable<import("zod").ZodString>;
startedAt: import("zod").ZodString;
resolvedAt: import("zod").ZodNullable<import("zod").ZodString>;
startedOutsideWindow: import("zod").ZodBoolean;
lastTransition: import("zod").ZodString;
eventCount: import("zod").ZodNumber;
hadNoData: import("zod").ZodBoolean;
events: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
transition: import("zod").ZodString;
title: import("zod").ZodNullable<import("zod").ZodString>;
region: import("zod").ZodNullable<import("zod").ZodString>;
occurredAt: import("zod").ZodString;
}, import("zod/v4/core").$strip>>;
acknowledgement: import("zod").ZodNullable<import("zod").ZodObject<{
byName: import("zod").ZodNullable<import("zod").ZodString>;
byEmail: import("zod").ZodNullable<import("zod").ZodString>;
at: import("zod").ZodString;
note: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/incidents";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly llms: true;
};
}, {
readonly id: "one.customerIncidents.acknowledge";
readonly product: "one";
readonly version: "v1";
readonly method: "POST";
readonly path: "/customers/{customerId}/incidents/{incidentId}/acknowledge";
readonly summary: "Acknowledge a monitoring incident";
readonly description: "\"I've got this\" on an incident, recorded for everyone. `incidentId` is the incident key, or any of its event ids. The first acknowledgement wins; a repeat returns it with `created: false`.";
readonly tags: readonly ["customers", "monitoring"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "write";
}, {
readonly kind: "mcpToken";
readonly scope: "one:write";
}];
readonly permissions: readonly ["read:customers"];
readonly idempotency: "optional";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
incidentId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly body: import("zod").ZodOptional<import("zod").ZodObject<{
note: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strict>>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
incidentKey: import("zod").ZodGUID;
acknowledgement: import("zod").ZodObject<{
byName: import("zod").ZodNullable<import("zod").ZodString>;
byEmail: import("zod").ZodNullable<import("zod").ZodString>;
at: import("zod").ZodString;
note: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
created: import("zod").ZodBoolean;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable", "read_only_key", "conflict", "unprocessable_entity"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/incidents/{incidentId}/acknowledge";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly llms: true;
};
}, {
readonly id: "one.watchdogTargets.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/watchdog-targets";
readonly summary: "List Watchdog targets";
readonly description: "The websites Watchdog checks for a customer, newest first, with their last observed status.";
readonly tags: string[];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:monitoring", "read:partner_monitoring"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
domain: import("zod").ZodString;
displayName: import("zod").ZodNullable<import("zod").ZodString>;
targetUrl: import("zod").ZodNullable<import("zod").ZodString>;
checkType: import("zod").ZodString;
checkIntervalSeconds: import("zod").ZodNumber;
timeoutSeconds: import("zod").ZodNumber;
regions: import("zod").ZodArray<import("zod").ZodString>;
uptimeEnabled: import("zod").ZodBoolean;
securityEnabled: import("zod").ZodBoolean;
alertingEnabled: import("zod").ZodNullable<import("zod").ZodBoolean>;
scanFrequency: import("zod").ZodNullable<import("zod").ZodString>;
latencyWarningMs: import("zod").ZodNullable<import("zod").ZodNumber>;
latencyCriticalMs: import("zod").ZodNullable<import("zod").ZodNumber>;
source: import("zod").ZodNullable<import("zod").ZodString>;
latestGrade: import("zod").ZodNullable<import("zod").ZodString>;
latestScore: import("zod").ZodNullable<import("zod").ZodNumber>;
lastScanAt: import("zod").ZodNullable<import("zod").ZodString>;
nextScanAt: import("zod").ZodNullable<import("zod").ZodString>;
status: import("zod").ZodObject<{
isUp: import("zod").ZodNullable<import("zod").ZodBoolean>;
lastCheckAt: import("zod").ZodNullable<import("zod").ZodString>;
uptime24h: import("zod").ZodNullable<import("zod").ZodNumber>;
uptime7d: import("zod").ZodNullable<import("zod").ZodNumber>;
uptime30d: import("zod").ZodNullable<import("zod").ZodNumber>;
avgLatencyMs: import("zod").ZodNullable<import("zod").ZodNumber>;
sslDaysUntilExpiry: import("zod").ZodNullable<import("zod").ZodNumber>;
sslExpiryDate: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
updatedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/watchdog/targets";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "customers watchdog-targets";
readonly llms: true;
};
}, {
readonly id: "one.watchdogTargets.create";
readonly product: "one";
readonly version: "v1";
readonly method: "POST";
readonly path: "/customers/{customerId}/watchdog-targets";
readonly summary: "Add a Watchdog target";
readonly description: "Starts uptime checks and security scans of a website for a customer. A customer can have each domain once.";
readonly tags: string[];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "write";
}, {
readonly kind: "mcpToken";
readonly scope: "one:write";
}];
readonly permissions: readonly ["write:monitoring", "write:partner_services"];
readonly idempotency: "optional";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly body: import("zod").ZodObject<{
domain: import("zod").ZodString;
displayName: import("zod").ZodOptional<import("zod").ZodString>;
targetUrl: import("zod").ZodOptional<import("zod").ZodString>;
uptimeEnabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
securityEnabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
checkType: import("zod").ZodDefault<import("zod").ZodEnum<{
http: "http";
https: "https";
tcp: "tcp";
dns: "dns";
icmp: "icmp";
}>>;
checkIntervalSeconds: import("zod").ZodDefault<import("zod").ZodNumber>;
timeoutSeconds: import("zod").ZodDefault<import("zod").ZodNumber>;
regions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
latencyWarningMs: import("zod").ZodDefault<import("zod").ZodNumber>;
latencyCriticalMs: import("zod").ZodDefault<import("zod").ZodNumber>;
scanFrequency: import("zod").ZodDefault<import("zod").ZodEnum<{
hourly: "hourly";
daily: "daily";
weekly: "weekly";
}>>;
}, import("zod/v4/core").$strict>;
};
readonly responses: {
readonly 201: import("zod").ZodObject<{
id: import("zod").ZodGUID;
domain: import("zod").ZodString;
displayName: import("zod").ZodNullable<import("zod").ZodString>;
targetUrl: import("zod").ZodNullable<import("zod").ZodString>;
checkType: import("zod").ZodString;
checkIntervalSeconds: import("zod").ZodNumber;
timeoutSeconds: import("zod").ZodNumber;
regions: import("zod").ZodArray<import("zod").ZodString>;
uptimeEnabled: import("zod").ZodBoolean;
securityEnabled: import("zod").ZodBoolean;
alertingEnabled: import("zod").ZodNullable<import("zod").ZodBoolean>;
scanFrequency: import("zod").ZodNullable<import("zod").ZodString>;
latencyWarningMs: import("zod").ZodNullable<import("zod").ZodNumber>;
latencyCriticalMs: import("zod").ZodNullable<import("zod").ZodNumber>;
source: import("zod").ZodNullable<import("zod").ZodString>;
latestGrade: import("zod").ZodNullable<import("zod").ZodString>;
latestScore: import("zod").ZodNullable<import("zod").ZodNumber>;
lastScanAt: import("zod").ZodNullable<import("zod").ZodString>;
nextScanAt: import("zod").ZodNullable<import("zod").ZodString>;
status: import("zod").ZodObject<{
isUp: import("zod").ZodNullable<import("zod").ZodBoolean>;
lastCheckAt: import("zod").ZodNullable<import("zod").ZodString>;
uptime24h: import("zod").ZodNullable<import("zod").ZodNumber>;
uptime7d: import("zod").ZodNullable<import("zod").ZodNumber>;
uptime30d: import("zod").ZodNullable<import("zod").ZodNumber>;
avgLatencyMs: import("zod").ZodNullable<import("zod").ZodNumber>;
sslDaysUntilExpiry: import("zod").ZodNullable<import("zod").ZodNumber>;
sslExpiryDate: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
updatedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable", "read_only_key", "conflict", "unprocessable_entity"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/watchdog/targets";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly llms: true;
};
}, {
readonly id: "one.watchdogScans.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/watchdog-scans";
readonly summary: "List Watchdog scans";
readonly description: "Security scans of a customer’s Watchdog targets, newest first. Filter by one target with `targetId`.";
readonly tags: string[];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:monitoring", "read:partner_monitoring"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
targetId: import("zod").ZodOptional<import("zod").ZodGUID>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
targetId: import("zod").ZodNullable<import("zod").ZodGUID>;
target: import("zod").ZodNullable<import("zod").ZodObject<{
id: import("zod").ZodGUID;
domain: import("zod").ZodString;
displayName: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
status: import("zod").ZodNullable<import("zod").ZodString>;
scanType: import("zod").ZodNullable<import("zod").ZodString>;
triggeredBy: import("zod").ZodNullable<import("zod").ZodString>;
grade: import("zod").ZodNullable<import("zod").ZodString>;
totalScore: import("zod").ZodNullable<import("zod").ZodNumber>;
scoreChange: import("zod").ZodNullable<import("zod").ZodNumber>;
findings: import("zod").ZodObject<{
critical: import("zod").ZodNullable<import("zod").ZodNumber>;
high: import("zod").ZodNullable<import("zod").ZodNumber>;
medium: import("zod").ZodNullable<import("zod").ZodNumber>;
low: import("zod").ZodNullable<import("zod").ZodNumber>;
info: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>;
newFindingsCount: import("zod").ZodNullable<import("zod").ZodNumber>;
resolvedFindingsCount: import("zod").ZodNullable<import("zod").ZodNumber>;
startedAt: import("zod").ZodNullable<import("zod").ZodString>;
completedAt: import("zod").ZodNullable<import("zod").ZodString>;
durationMs: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/watchdog/scans";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "customers watchdog-scans";
readonly llms: true;
};
}, {
readonly id: "one.watchdogScans.create";
readonly product: "one";
readonly version: "v1";
readonly method: "POST";
readonly path: "/customers/{customerId}/watchdog-scans";
readonly summary: "Start a Watchdog scan";
readonly description: "Queues a security scan of one target. Only one scan per target runs at a time (409 otherwise). The target must have security scanning on.";
readonly tags: string[];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "write";
}, {
readonly kind: "mcpToken";
readonly scope: "one:write";
}];
readonly permissions: readonly ["write:monitoring", "write:partner_services"];
readonly idempotency: "optional";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly body: import("zod").ZodObject<{
operationId: import("zod").ZodGUID;
targetId: import("zod").ZodGUID;
scanType: import("zod").ZodDefault<import("zod").ZodEnum<{
full: "full";
quick: "quick";
}>>;
}, import("zod/v4/core").$strict>;
};
readonly responses: {
readonly 202: import("zod").ZodObject<{
operationId: import("zod").ZodGUID;
scanId: import("zod").ZodGUID;
status: import("zod").ZodString;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable", "read_only_key", "conflict", "unprocessable_entity"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/watchdog/scans";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly llms: true;
};
}, {
readonly id: "one.monitoringTargets.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/monitoring/targets";
readonly summary: "List monitoring targets";
readonly description: "A customer’s uptime monitoring targets and their check settings, newest first.";
readonly tags: string[];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:monitoring"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
domain: import("zod").ZodString;
displayName: import("zod").ZodNullable<import("zod").ZodString>;
targetUrl: import("zod").ZodNullable<import("zod").ZodString>;
checkType: import("zod").ZodString;
checkIntervalSeconds: import("zod").ZodNumber;
timeoutSeconds: import("zod").ZodNumber;
regions: import("zod").ZodArray<import("zod").ZodString>;
uptimeEnabled: import("zod").ZodBoolean;
alertingEnabled: import("zod").ZodNullable<import("zod").ZodBoolean>;
latencyWarningMs: import("zod").ZodNullable<import("zod").ZodNumber>;
latencyCriticalMs: import("zod").ZodNullable<import("zod").ZodNumber>;
slaTier: import("zod").ZodNullable<import("zod").ZodString>;
source: import("zod").ZodNullable<import("zod").ZodString>;
lastSyncAt: import("zod").ZodNullable<import("zod").ZodString>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
updatedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/monitoring/targets";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "monitoring targets";
readonly llms: true;
};
}, {
readonly id: "one.monitoringStatus.get";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/monitoring/status";
readonly summary: "Get monitoring status";
readonly description: "Current up/down state of every uptime-enabled target with an aggregate. `light=true` skips latency and certificate reads. Answers may be up to 30 seconds old.";
readonly tags: string[];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:monitoring"];
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
light: import("zod").ZodDefault<import("zod").ZodEnum<{
false: "false";
true: "true";
}>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
aggregate: import("zod").ZodObject<{
totalTargets: import("zod").ZodNumber;
upTargets: import("zod").ZodNumber;
downTargets: import("zod").ZodNumber;
unknownTargets: import("zod").ZodNumber;
overallStatus: import("zod").ZodString;
avgUptime24h: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>;
targets: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
name: import("zod").ZodNullable<import("zod").ZodString>;
targetUrl: import("zod").ZodNullable<import("zod").ZodString>;
checkType: import("zod").ZodString;
checkIntervalSeconds: import("zod").ZodNumber;
regions: import("zod").ZodArray<import("zod").ZodString>;
enabled: import("zod").ZodBoolean;
status: import("zod").ZodObject<{
isUp: import("zod").ZodNullable<import("zod").ZodBoolean>;
freshness: import("zod").ZodEnum<{
unknown: "unknown";
live: "live";
cached: "cached";
}>;
lastCheckAt: import("zod").ZodNullable<import("zod").ZodString>;
uptime24h: import("zod").ZodNullable<import("zod").ZodNumber>;
uptime7d: import("zod").ZodNullable<import("zod").ZodNumber>;
uptime30d: import("zod").ZodNullable<import("zod").ZodNumber>;
avgLatencyMs: import("zod").ZodNullable<import("zod").ZodNumber>;
sslDaysUntilExpiry: import("zod").ZodNullable<import("zod").ZodNumber>;
sslExpiryDate: import("zod").ZodNullable<import("zod").ZodString>;
currentAlertSeverity: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
}, import("zod/v4/core").$strip>>;
dataSource: import("zod").ZodString;
metricsError: import("zod").ZodNullable<import("zod").ZodEnum<{
not_configured: "not_configured";
unavailable: "unavailable";
}>>;
light: import("zod").ZodBoolean;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/monitoring/status";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "monitoring status";
readonly llms: true;
};
}, {
readonly id: "one.monitoringHistory.get";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/monitoring/history";
readonly summary: "Get monitoring history";
readonly description: "Uptime and latency series for a customer’s targets over 24h, 7d or 30d, optionally for one region or target.";
readonly tags: string[];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:monitoring"];
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
range: import("zod").ZodDefault<import("zod").ZodEnum<{
"24h": "24h";
"7d": "7d";
"30d": "30d";
}>>;
region: import("zod").ZodOptional<import("zod").ZodString>;
targetId: import("zod").ZodOptional<import("zod").ZodGUID>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
range: import("zod").ZodEnum<{
"24h": "24h";
"7d": "7d";
"30d": "30d";
}>;
targetId: import("zod").ZodNullable<import("zod").ZodGUID>;
region: import("zod").ZodNullable<import("zod").ZodString>;
aggregatedUptime: import("zod").ZodArray<import("zod").ZodObject<{
timestamp: import("zod").ZodNumber;
value: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>>;
aggregatedLatency: import("zod").ZodArray<import("zod").ZodObject<{
timestamp: import("zod").ZodNumber;
value: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>>;
regionLatency: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodObject<{
timestamp: import("zod").ZodNumber;
value: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>>>;
regions: import("zod").ZodArray<import("zod").ZodString>;
targets: import("zod").ZodArray<import("zod").ZodObject<{
targetId: import("zod").ZodGUID;
uptime: import("zod").ZodArray<import("zod").ZodObject<{
timestamp: import("zod").ZodNumber;
value: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>>;
latency: import("zod").ZodArray<import("zod").ZodObject<{
timestamp: import("zod").ZodNumber;
value: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>>;
regionLatency: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodObject<{
timestamp: import("zod").ZodNumber;
value: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>>>;
}, import("zod/v4/core").$strip>>;
targetsMeta: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
domain: import("zod").ZodString;
displayName: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
dataSource: import("zod").ZodString;
hasData: import("zod").ZodBoolean;
partial: import("zod").ZodBoolean;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/monitoring/history";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "monitoring history";
readonly llms: true;
};
}, {
readonly id: "one.monitoringMetrics.get";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/monitoring/metrics";
readonly summary: "Get target metrics";
readonly description: "Live uptime, latency and certificate metrics for 1–50 targets (repeat `targetIds`). Every target must belong to a customer the caller can read, or the whole request is refused.";
readonly tags: string[];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:monitoring"];
readonly request: {
readonly query: import("zod").ZodObject<{
targetIds: import("zod").ZodArray<import("zod").ZodGUID>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
metrics: import("zod").ZodArray<import("zod").ZodObject<{
targetId: import("zod").ZodGUID;
uptime: import("zod").ZodNullable<import("zod").ZodObject<{
isUp: import("zod").ZodNullable<import("zod").ZodBoolean>;
uptime24h: import("zod").ZodNullable<import("zod").ZodNumber>;
uptime7d: import("zod").ZodNullable<import("zod").ZodNumber>;
uptime30d: import("zod").ZodNullable<import("zod").ZodNumber>;
lastCheckAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
latency: import("zod").ZodNullable<import("zod").ZodObject<{
avgMs: import("zod").ZodNumber;
p50Ms: import("zod").ZodNullable<import("zod").ZodNumber>;
p95Ms: import("zod").ZodNullable<import("zod").ZodNumber>;
p99Ms: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>>;
ssl: import("zod").ZodNullable<import("zod").ZodObject<{
expiryDate: import("zod").ZodNullable<import("zod").ZodString>;
daysUntilExpiry: import("zod").ZodNullable<import("zod").ZodNumber>;
issuer: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/monitoring/metrics";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "monitoring metrics";
readonly llms: true;
};
}, {
readonly id: "one.accountWatchdogScans.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/watchdog-scans";
readonly summary: "List your Watchdog scans";
readonly description: "Security scans of the caller’s own organisation’s targets, newest first. Empty when the organisation has no customer record.";
readonly tags: string[];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:monitoring", "read:partner_monitoring"];
readonly pagination: "cursor";
readonly request: {
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
targetId: import("zod").ZodOptional<import("zod").ZodGUID>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
targetId: import("zod").ZodNullable<import("zod").ZodGUID>;
status: import("zod").ZodNullable<import("zod").ZodString>;
scanType: import("zod").ZodNullable<import("zod").ZodString>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
completedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/account/watchdog/scans";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "watchdog scans";
readonly llms: true;
};
}, {
readonly id: "one.reconReports.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/recon-reports";
readonly summary: "List monthly security reports";
readonly description: "The customer’s monthly security (Recon) reports, newest period first.";
readonly tags: readonly ["reports"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:customers"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
period: import("zod").ZodObject<{
start: import("zod").ZodString;
end: import("zod").ZodString;
label: import("zod").ZodString;
}, import("zod/v4/core").$strip>;
status: import("zod").ZodEnum<{
pending: "pending";
completed: "completed";
failed: "failed";
generating: "generating";
}>;
generatedAt: import("zod").ZodNullable<import("zod").ZodString>;
hasPublicLink: import("zod").ZodBoolean;
availableSections: import("zod").ZodArray<import("zod").ZodEnum<{
threat_landscape: "threat_landscape";
executive_summary: "executive_summary";
ai_analysis: "ai_analysis";
endpoint: "endpoint";
backup: "backup";
cloudflare: "cloudflare";
support: "support";
billing: "billing";
}>>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/recon/reports";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "customers reports";
readonly llms: true;
};
}, {
readonly id: "one.reconReports.get";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/recon-reports/{reportId}";
readonly summary: "Get a monthly security report";
readonly description: "One monthly security report with its sections. Billing appears only for readers with billing access, and never for a customer billed through a partner.";
readonly tags: readonly ["reports"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:customers"];
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
reportId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
id: import("zod").ZodGUID;
customerId: import("zod").ZodGUID;
customerName: import("zod").ZodNullable<import("zod").ZodString>;
period: import("zod").ZodObject<{
start: import("zod").ZodString;
end: import("zod").ZodString;
label: import("zod").ZodString;
type: import("zod").ZodString;
}, import("zod/v4/core").$strip>;
status: import("zod").ZodEnum<{
pending: "pending";
completed: "completed";
failed: "failed";
generating: "generating";
}>;
generatedAt: import("zod").ZodNullable<import("zod").ZodString>;
availableSections: import("zod").ZodArray<import("zod").ZodEnum<{
threat_landscape: "threat_landscape";
executive_summary: "executive_summary";
ai_analysis: "ai_analysis";
endpoint: "endpoint";
backup: "backup";
cloudflare: "cloudflare";
support: "support";
billing: "billing";
}>>;
branding: import("zod").ZodObject<{
type: import("zod").ZodEnum<{
vigilbase: "vigilbase";
partner: "partner";
}>;
partnerName: import("zod").ZodNullable<import("zod").ZodString>;
partnerLogoUrl: import("zod").ZodNullable<import("zod").ZodString>;
customerLogoUrl: import("zod").ZodNullable<import("zod").ZodString>;
accentColor: import("zod").ZodString;
}, import("zod/v4/core").$strip>;
publicLink: import("zod").ZodNullable<import("zod").ZodObject<{
enabled: import("zod").ZodBoolean;
expiresAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
executiveSummary: import("zod").ZodObject<{
overallScore: import("zod").ZodNumber;
scoreLabel: import("zod").ZodString;
scored: import("zod").ZodBoolean;
scoreVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
highlights: import("zod").ZodArray<import("zod").ZodString>;
serviceSummary: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
status: import("zod").ZodEnum<{
warning: "warning";
critical: "critical";
inactive: "inactive";
healthy: "healthy";
}>;
keyMetric: import("zod").ZodString;
keyMetricValue: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>;
change: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>;
threatLandscape: import("zod").ZodObject<{
title: import("zod").ZodString;
summary: import("zod").ZodString;
keyThreats: import("zod").ZodArray<import("zod").ZodObject<{
name: import("zod").ZodString;
description: import("zod").ZodString;
severity: import("zod").ZodEnum<{
medium: "medium";
high: "high";
low: "low";
critical: "critical";
}>;
affectedSystems: import("zod").ZodArray<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
industryAlerts: import("zod").ZodArray<import("zod").ZodObject<{
industry: import("zod").ZodString;
title: import("zod").ZodString;
description: import("zod").ZodString;
severity: import("zod").ZodEnum<{
medium: "medium";
high: "high";
low: "low";
critical: "critical";
}>;
}, import("zod/v4/core").$strip>>;
recommendations: import("zod").ZodArray<import("zod").ZodObject<{
title: import("zod").ZodString;
description: import("zod").ZodString;
priority: import("zod").ZodEnum<{
medium: "medium";
high: "high";
low: "low";
}>;
category: import("zod").ZodString;
}, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>;
insights: import("zod").ZodArray<import("zod").ZodObject<{
type: import("zod").ZodEnum<{
recommendation: "recommendation";
anomaly: "anomaly";
trend: "trend";
highlight: "highlight";
}>;
severity: import("zod").ZodEnum<{
success: "success";
info: "info";
warning: "warning";
critical: "critical";
}>;
title: import("zod").ZodString;
description: import("zod").ZodString;
service: import("zod").ZodNullable<import("zod").ZodString>;
metric: import("zod").ZodNullable<import("zod").ZodString>;
value: import("zod").ZodNullable<import("zod").ZodNumber>;
previousValue: import("zod").ZodNullable<import("zod").ZodNumber>;
isIncreaseBetter: import("zod").ZodBoolean;
}, import("zod/v4/core").$strip>>;
aiAnalysis: import("zod").ZodNullable<import("zod").ZodObject<{
executiveSummary: import("zod").ZodString;
securityAnalysis: import("zod").ZodString;
performanceAnalysis: import("zod").ZodString;
recommendedActions: import("zod").ZodArray<import("zod").ZodString>;
keyHighlights: import("zod").ZodArray<import("zod").ZodString>;
riskAssessment: import("zod").ZodObject<{
level: import("zod").ZodEnum<{
medium: "medium";
high: "high";
low: "low";
critical: "critical";
}>;
factors: import("zod").ZodArray<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
generatedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
comparison: import("zod").ZodObject<{
endpointChangePct: import("zod").ZodNullable<import("zod").ZodNumber>;
threatsChangePct: import("zod").ZodNullable<import("zod").ZodNumber>;
requestsChangePct: import("zod").ZodNullable<import("zod").ZodNumber>;
bandwidthChangePct: import("zod").ZodNullable<import("zod").ZodNumber>;
cacheHitChangePct: import("zod").ZodNullable<import("zod").ZodNumber>;
supportTicketsChangePct: import("zod").ZodNullable<import("zod").ZodNumber>;
securityThreatsChangePct: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>;
endpoint: import("zod").ZodObject<{
ninjaOne: import("zod").ZodNullable<import("zod").ZodObject<{
deviceCount: import("zod").ZodNumber;
online: import("zod").ZodNumber;
offline: import("zod").ZodNumber;
}, import("zod/v4/core").$strip>>;
huntress: import("zod").ZodNullable<import("zod").ZodObject<{
agentCount: import("zod").ZodNumber;
threatsBySeverity: import("zod").ZodObject<{
critical: import("zod").ZodNumber;
high: import("zod").ZodNumber;
medium: import("zod").ZodNumber;
low: import("zod").ZodNumber;
}, import("zod/v4/core").$strip>;
remediatedThreats: import("zod").ZodNumber;
}, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>;
backup: import("zod").ZodObject<{
afi: import("zod").ZodNullable<import("zod").ZodObject<{
totalLicenses: import("zod").ZodNumber;
usedLicenses: import("zod").ZodNumber;
utilizationPercent: import("zod").ZodNumber;
backupSizeGB: import("zod").ZodNumber;
protectedUsers: import("zod").ZodNumber;
}, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>;
cloudflare: import("zod").ZodObject<{
metrics: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
zones: import("zod").ZodArray<import("zod").ZodObject<{
zoneId: import("zod").ZodString;
zoneName: import("zod").ZodString;
status: import("zod").ZodString;
requests: import("zod").ZodNumber;
bandwidth: import("zod").ZodNumber;
cacheHitRatio: import("zod").ZodNumber;
threats: import("zod").ZodNumber;
}, import("zod/v4/core").$strip>>;
configuration: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, import("zod/v4/core").$strip>;
support: import("zod").ZodObject<{
issuesCreated: import("zod").ZodNumber;
issuesClosed: import("zod").ZodNumber;
openIssues: import("zod").ZodNumber;
averageResolutionTimeHours: import("zod").ZodNullable<import("zod").ZodNumber>;
issuesByPriority: import("zod").ZodObject<{
urgent: import("zod").ZodNumber;
high: import("zod").ZodNumber;
medium: import("zod").ZodNumber;
low: import("zod").ZodNumber;
}, import("zod/v4/core").$strip>;
slaCompliancePercent: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>;
billing: import("zod").ZodNullable<import("zod").ZodObject<{
activeContracts: import("zod").ZodNumber;
totalContractValue: import("zod").ZodNullable<import("zod").ZodNumber>;
contractCurrency: import("zod").ZodNullable<import("zod").ZodString>;
invoicesInPeriod: import("zod").ZodObject<{
count: import("zod").ZodNumber;
totalAmount: import("zod").ZodNullable<import("zod").ZodNumber>;
currency: import("zod").ZodNullable<import("zod").ZodString>;
paidOnTime: import("zod").ZodNumber;
paidLate: import("zod").ZodNumber;
}, import("zod/v4/core").$strip>;
upcomingRenewals: import("zod").ZodArray<import("zod").ZodObject<{
contractId: import("zod").ZodString;
name: import("zod").ZodString;
renewalDate: import("zod").ZodString;
value: import("zod").ZodNullable<import("zod").ZodNumber>;
currency: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/recon/reports/{reportId}";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "customers report";
readonly llms: true;
};
}, {
readonly id: "one.customerReports.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/reports";
readonly summary: "List reports";
readonly description: "Monthly security reports and quarterly business reviews together, latest period first. Customers and partners see published quarterly reviews only.";
readonly tags: readonly ["reports"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:customers"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
kind: import("zod").ZodEnum<{
monthly: "monthly";
quarterly: "quarterly";
}>;
period: import("zod").ZodObject<{
start: import("zod").ZodString;
end: import("zod").ZodString;
label: import("zod").ZodString;
}, import("zod/v4/core").$strip>;
status: import("zod").ZodString;
updatedAt: import("zod").ZodNullable<import("zod").ZodString>;
isShared: import("zod").ZodBoolean;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/reports";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly llms: true;
};
}, {
readonly id: "one.contracts.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/contracts";
readonly summary: "List contracts";
readonly description: "Contracts the customer owns or that its partner linked to it, newest first. Amounts are null without billing access.";
readonly tags: readonly ["contracts"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:contracts"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
status: import("zod").ZodOptional<import("zod").ZodEnum<{
pending: "pending";
expired: "expired";
active: "active";
draft: "draft";
terminated: "terminated";
}>>;
expiringWithinDays: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
reference: import("zod").ZodNullable<import("zod").ZodString>;
name: import("zod").ZodString;
description: import("zod").ZodNullable<import("zod").ZodString>;
status: import("zod").ZodNullable<import("zod").ZodString>;
isLinked: import("zod").ZodBoolean;
effectiveDate: import("zod").ZodNullable<import("zod").ZodString>;
expirationDate: import("zod").ZodNullable<import("zod").ZodString>;
signedDate: import("zod").ZodNullable<import("zod").ZodString>;
autoRenewal: import("zod").ZodNullable<import("zod").ZodBoolean>;
renewalNoticeDays: import("zod").ZodNullable<import("zod").ZodNumber>;
billingFrequency: import("zod").ZodNullable<import("zod").ZodString>;
totalValue: import("zod").ZodNullable<import("zod").ZodNumber>;
currency: import("zod").ZodNullable<import("zod").ZodString>;
notes: import("zod").ZodNullable<import("zod").ZodString>;
agreementUrl: import("zod").ZodNullable<import("zod").ZodString>;
lineItems: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
name: import("zod").ZodNullable<import("zod").ZodString>;
description: import("zod").ZodNullable<import("zod").ZodString>;
serviceId: import("zod").ZodNullable<import("zod").ZodGUID>;
quantity: import("zod").ZodNullable<import("zod").ZodNumber>;
unitPrice: import("zod").ZodNullable<import("zod").ZodNumber>;
totalPrice: import("zod").ZodNullable<import("zod").ZodNumber>;
includedQuantity: import("zod").ZodNullable<import("zod").ZodNumber>;
overageRate: import("zod").ZodNullable<import("zod").ZodNumber>;
quantityLimit: import("zod").ZodNullable<import("zod").ZodNumber>;
quantityUnit: import("zod").ZodNullable<import("zod").ZodString>;
bandwidthLimitTb: import("zod").ZodNullable<import("zod").ZodNumber>;
requestsLimitMillions: import("zod").ZodNullable<import("zod").ZodNumber>;
isActive: import("zod").ZodBoolean;
}, import("zod/v4/core").$strip>>;
invoices: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
stripeInvoiceId: import("zod").ZodNullable<import("zod").ZodString>;
invoiceNumber: import("zod").ZodNullable<import("zod").ZodString>;
amountDue: import("zod").ZodNullable<import("zod").ZodNumber>;
amountPaid: import("zod").ZodNullable<import("zod").ZodNumber>;
currency: import("zod").ZodNullable<import("zod").ZodString>;
status: import("zod").ZodNullable<import("zod").ZodString>;
invoiceDate: import("zod").ZodNullable<import("zod").ZodString>;
dueDate: import("zod").ZodNullable<import("zod").ZodString>;
paidAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
updatedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/contracts";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "customers contracts";
readonly llms: true;
};
}, {
readonly id: "one.contracts.get";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/contracts/{contractId}";
readonly summary: "Get a contract";
readonly description: "One contract with its line items, invoices and attachments. Amounts are null without billing access.";
readonly tags: readonly ["contracts"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:contracts"];
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
contractId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
id: import("zod").ZodGUID;
reference: import("zod").ZodNullable<import("zod").ZodString>;
name: import("zod").ZodString;
description: import("zod").ZodNullable<import("zod").ZodString>;
status: import("zod").ZodNullable<import("zod").ZodString>;
isLinked: import("zod").ZodBoolean;
effectiveDate: import("zod").ZodNullable<import("zod").ZodString>;
expirationDate: import("zod").ZodNullable<import("zod").ZodString>;
signedDate: import("zod").ZodNullable<import("zod").ZodString>;
autoRenewal: import("zod").ZodNullable<import("zod").ZodBoolean>;
renewalNoticeDays: import("zod").ZodNullable<import("zod").ZodNumber>;
billingFrequency: import("zod").ZodNullable<import("zod").ZodString>;
totalValue: import("zod").ZodNullable<import("zod").ZodNumber>;
currency: import("zod").ZodNullable<import("zod").ZodString>;
notes: import("zod").ZodNullable<import("zod").ZodString>;
agreementUrl: import("zod").ZodNullable<import("zod").ZodString>;
lineItems: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
name: import("zod").ZodNullable<import("zod").ZodString>;
description: import("zod").ZodNullable<import("zod").ZodString>;
serviceId: import("zod").ZodNullable<import("zod").ZodGUID>;
quantity: import("zod").ZodNullable<import("zod").ZodNumber>;
unitPrice: import("zod").ZodNullable<import("zod").ZodNumber>;
totalPrice: import("zod").ZodNullable<import("zod").ZodNumber>;
includedQuantity: import("zod").ZodNullable<import("zod").ZodNumber>;
overageRate: import("zod").ZodNullable<import("zod").ZodNumber>;
quantityLimit: import("zod").ZodNullable<import("zod").ZodNumber>;
quantityUnit: import("zod").ZodNullable<import("zod").ZodString>;
bandwidthLimitTb: import("zod").ZodNullable<import("zod").ZodNumber>;
requestsLimitMillions: import("zod").ZodNullable<import("zod").ZodNumber>;
isActive: import("zod").ZodBoolean;
}, import("zod/v4/core").$strip>>;
invoices: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
stripeInvoiceId: import("zod").ZodNullable<import("zod").ZodString>;
invoiceNumber: import("zod").ZodNullable<import("zod").ZodString>;
amountDue: import("zod").ZodNullable<import("zod").ZodNumber>;
amountPaid: import("zod").ZodNullable<import("zod").ZodNumber>;
currency: import("zod").ZodNullable<import("zod").ZodString>;
status: import("zod").ZodNullable<import("zod").ZodString>;
invoiceDate: import("zod").ZodNullable<import("zod").ZodString>;
dueDate: import("zod").ZodNullable<import("zod").ZodString>;
paidAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
updatedAt: import("zod").ZodNullable<import("zod").ZodString>;
attachments: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
fileName: import("zod").ZodString;
fileSize: import("zod").ZodNullable<import("zod").ZodNumber>;
mimeType: import("zod").ZodNullable<import("zod").ZodString>;
attachmentType: import("zod").ZodNullable<import("zod").ZodString>;
description: import("zod").ZodNullable<import("zod").ZodString>;
version: import("zod").ZodNullable<import("zod").ZodNumber>;
isLatest: import("zod").ZodBoolean;
uploadedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/contracts/{contractId}";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly llms: true;
};
}, {
readonly id: "one.usageAlerts.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/usage-alerts";
readonly summary: "List contract usage alerts";
readonly description: "Active contract line items whose usage is near or over the contracted limit, over-limit first.";
readonly tags: readonly ["contracts"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:contracts"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
contractId: import("zod").ZodGUID;
contractName: import("zod").ZodString;
serviceName: import("zod").ZodString;
serviceType: import("zod").ZodString;
usagePercentage: import("zod").ZodNumber;
status: import("zod").ZodEnum<{
warning: "warning";
critical: "critical";
over_limit: "over_limit";
}>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/usage-alerts";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly llms: true;
};
}, {
readonly id: "one.customerBilling.get";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/billing";
readonly summary: "Get billing";
readonly description: "The customer’s Stripe subscriptions, recent invoices, cards on file and monthly recurring revenue.";
readonly tags: readonly ["billing"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:billing"];
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
isPartnerBilled: import("zod").ZodBoolean;
partner: import("zod").ZodNullable<import("zod").ZodObject<{
id: import("zod").ZodGUID;
name: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
billingContact: import("zod").ZodNullable<import("zod").ZodObject<{
name: import("zod").ZodNullable<import("zod").ZodString>;
email: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
monthlyRecurringRevenue: import("zod").ZodNullable<import("zod").ZodNumber>;
currency: import("zod").ZodNullable<import("zod").ZodString>;
subscriptions: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodString;
status: import("zod").ZodString;
description: import("zod").ZodString;
currentPeriodStart: import("zod").ZodNullable<import("zod").ZodString>;
currentPeriodEnd: import("zod").ZodNullable<import("zod").ZodString>;
cancelAtPeriodEnd: import("zod").ZodBoolean;
canceledAt: import("zod").ZodNullable<import("zod").ZodString>;
createdAt: import("zod").ZodString;
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodString;
quantity: import("zod").ZodNullable<import("zod").ZodNumber>;
price: import("zod").ZodObject<{
id: import("zod").ZodString;
nickname: import("zod").ZodNullable<import("zod").ZodString>;
unitAmount: import("zod").ZodNullable<import("zod").ZodNumber>;
currency: import("zod").ZodNullable<import("zod").ZodString>;
billingScheme: import("zod").ZodNullable<import("zod").ZodEnum<{
per_unit: "per_unit";
tiered: "tiered";
}>>;
interval: import("zod").ZodNullable<import("zod").ZodEnum<{
day: "day";
week: "week";
month: "month";
year: "year";
}>>;
intervalCount: import("zod").ZodNullable<import("zod").ZodNumber>;
usageType: import("zod").ZodNullable<import("zod").ZodEnum<{
licensed: "licensed";
metered: "metered";
}>>;
transformQuantity: import("zod").ZodNullable<import("zod").ZodObject<{
divideBy: import("zod").ZodNumber;
round: import("zod").ZodEnum<{
up: "up";
down: "down";
}>;
}, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>;
product: import("zod").ZodObject<{
id: import("zod").ZodNullable<import("zod").ZodString>;
name: import("zod").ZodString;
description: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
}, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>>;
invoices: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodString;
number: import("zod").ZodNullable<import("zod").ZodString>;
status: import("zod").ZodNullable<import("zod").ZodEnum<{
void: "void";
open: "open";
draft: "draft";
paid: "paid";
uncollectible: "uncollectible";
}>>;
amountDue: import("zod").ZodNumber;
amountPaid: import("zod").ZodNumber;
amountRemaining: import("zod").ZodNumber;
currency: import("zod").ZodString;
description: import("zod").ZodNullable<import("zod").ZodString>;
subscriptionId: import("zod").ZodNullable<import("zod").ZodString>;
lineCount: import("zod").ZodNumber;
createdAt: import("zod").ZodString;
dueDate: import("zod").ZodNullable<import("zod").ZodString>;
paidAt: import("zod").ZodNullable<import("zod").ZodString>;
hostedInvoiceUrl: import("zod").ZodNullable<import("zod").ZodString>;
invoicePdfUrl: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
paymentMethods: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodString;
brand: import("zod").ZodNullable<import("zod").ZodString>;
last4: import("zod").ZodNullable<import("zod").ZodString>;
expMonth: import("zod").ZodNullable<import("zod").ZodNumber>;
expYear: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>>;
contractCount: import("zod").ZodNullable<import("zod").ZodNumber>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable", "upstream_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/billing";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "customers billing";
readonly llms: true;
};
}, {
readonly id: "one.invoices.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/invoices";
readonly summary: "List invoices";
readonly description: "The customer’s most recent Stripe invoices (up to 100), newest first. A customer billed through a partner sees only the invoices of its own contracts.";
readonly tags: readonly ["billing"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:billing"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
status: import("zod").ZodOptional<import("zod").ZodEnum<{
void: "void";
open: "open";
draft: "draft";
paid: "paid";
uncollectible: "uncollectible";
}>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodString;
number: import("zod").ZodNullable<import("zod").ZodString>;
status: import("zod").ZodNullable<import("zod").ZodEnum<{
void: "void";
open: "open";
draft: "draft";
paid: "paid";
uncollectible: "uncollectible";
}>>;
amountDue: import("zod").ZodNumber;
amountPaid: import("zod").ZodNumber;
amountRemaining: import("zod").ZodNumber;
currency: import("zod").ZodString;
description: import("zod").ZodNullable<import("zod").ZodString>;
subscriptionId: import("zod").ZodNullable<import("zod").ZodString>;
lineCount: import("zod").ZodNumber;
createdAt: import("zod").ZodString;
dueDate: import("zod").ZodNullable<import("zod").ZodString>;
paidAt: import("zod").ZodNullable<import("zod").ZodString>;
hostedInvoiceUrl: import("zod").ZodNullable<import("zod").ZodString>;
invoicePdfUrl: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/stripe/invoices";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "customers invoices";
readonly llms: true;
};
}, {
readonly id: "one.subscriptions.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/subscriptions";
readonly summary: "List subscriptions";
readonly description: "The customer’s Stripe subscriptions with priced items. A customer billed through a partner sees only the subscriptions of its own contracts.";
readonly tags: readonly ["billing"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:billing"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodString;
status: import("zod").ZodString;
description: import("zod").ZodString;
currentPeriodStart: import("zod").ZodNullable<import("zod").ZodString>;
currentPeriodEnd: import("zod").ZodNullable<import("zod").ZodString>;
cancelAtPeriodEnd: import("zod").ZodBoolean;
canceledAt: import("zod").ZodNullable<import("zod").ZodString>;
createdAt: import("zod").ZodString;
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodString;
quantity: import("zod").ZodNullable<import("zod").ZodNumber>;
price: import("zod").ZodObject<{
id: import("zod").ZodString;
nickname: import("zod").ZodNullable<import("zod").ZodString>;
unitAmount: import("zod").ZodNullable<import("zod").ZodNumber>;
currency: import("zod").ZodNullable<import("zod").ZodString>;
billingScheme: import("zod").ZodNullable<import("zod").ZodEnum<{
per_unit: "per_unit";
tiered: "tiered";
}>>;
interval: import("zod").ZodNullable<import("zod").ZodEnum<{
day: "day";
week: "week";
month: "month";
year: "year";
}>>;
intervalCount: import("zod").ZodNullable<import("zod").ZodNumber>;
usageType: import("zod").ZodNullable<import("zod").ZodEnum<{
licensed: "licensed";
metered: "metered";
}>>;
transformQuantity: import("zod").ZodNullable<import("zod").ZodObject<{
divideBy: import("zod").ZodNumber;
round: import("zod").ZodEnum<{
up: "up";
down: "down";
}>;
}, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>;
product: import("zod").ZodObject<{
id: import("zod").ZodNullable<import("zod").ZodString>;
name: import("zod").ZodString;
description: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
}, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/stripe/subscriptions";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "customers subscriptions";
readonly llms: true;
};
}, {
readonly id: "one.supportTickets.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/support-tickets";
readonly summary: "List support tickets";
readonly description: "The customer’s support requests, open ones only unless includeClosed is true (at most the newest 100). Staff must name the customer with customerId; everyone else gets their own organisation’s customer.";
readonly tags: readonly ["support"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["support:access"];
readonly pagination: "cursor";
readonly request: {
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
customerId: import("zod").ZodOptional<import("zod").ZodGUID>;
includeClosed: import("zod").ZodPipe<import("zod").ZodDefault<import("zod").ZodEnum<{
false: "false";
true: "true";
}>>, import("zod").ZodTransform<boolean, "false" | "true">>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodString;
number: import("zod").ZodNullable<import("zod").ZodNumber>;
title: import("zod").ZodString;
state: import("zod").ZodString;
priority: import("zod").ZodNullable<import("zod").ZodString>;
tags: import("zod").ZodArray<import("zod").ZodString>;
requester: import("zod").ZodNullable<import("zod").ZodObject<{
name: import("zod").ZodNullable<import("zod").ZodString>;
email: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
assignee: import("zod").ZodNullable<import("zod").ZodObject<{
name: import("zod").ZodNullable<import("zod").ZodString>;
email: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
bodyText: import("zod").ZodNullable<import("zod").ZodString>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
updatedAt: import("zod").ZodNullable<import("zod").ZodString>;
closedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/support/tickets";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "support tickets";
readonly llms: true;
};
}, {
readonly id: "one.supportTickets.create";
readonly product: "one";
readonly version: "v1";
readonly method: "POST";
readonly path: "/support-tickets";
readonly summary: "Open a support ticket";
readonly description: "Opens a support request with Vigilbase. Send an Idempotency-Key so a retry never opens a second request. Staff must name the customer with customerId; everyone else gets their own organisation’s customer.";
readonly tags: readonly ["support"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "mcpToken";
readonly scope: "one:write";
}];
readonly permissions: readonly ["support:access"];
readonly idempotency: "optional";
readonly request: {
readonly body: import("zod").ZodObject<{
subject: import("zod").ZodString;
description: import("zod").ZodString;
priority: import("zod").ZodDefault<import("zod").ZodEnum<{
medium: "medium";
high: "high";
low: "low";
urgent: "urgent";
}>>;
serviceCategory: import("zod").ZodOptional<import("zod").ZodString>;
ccEmails: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodEmail>>>;
attachmentUrls: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
customerId: import("zod").ZodOptional<import("zod").ZodGUID>;
}, import("zod/v4/core").$strict>;
};
readonly responses: {
readonly 201: import("zod").ZodObject<{
ticketId: import("zod").ZodString;
ticketNumber: import("zod").ZodString;
replayed: import("zod").ZodBoolean;
}, import("zod/v4/core").$strip>;
readonly 200: import("zod").ZodObject<{
ticketId: import("zod").ZodString;
ticketNumber: import("zod").ZodString;
replayed: import("zod").ZodBoolean;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable", "read_only_key", "conflict", "unprocessable_entity"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/support/tickets";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly llms: true;
};
}, {
readonly id: "one.supportTicketMessages.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/support-tickets/{ticketId}/messages";
readonly summary: "List a support ticket’s messages";
readonly description: "The conversation on one support request, oldest first (the newest 200 messages). Staff must name the customer with customerId; everyone else gets their own organisation’s customer.";
readonly tags: readonly ["support"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["support:access"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
ticketId: import("zod").ZodString;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
customerId: import("zod").ZodOptional<import("zod").ZodGUID>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodString;
authorName: import("zod").ZodString;
fromVigilbase: import("zod").ZodBoolean;
isInternalNote: import("zod").ZodBoolean;
source: import("zod").ZodNullable<import("zod").ZodString>;
text: import("zod").ZodString;
attachments: import("zod").ZodArray<import("zod").ZodObject<{
index: import("zod").ZodNumber;
name: import("zod").ZodString;
kind: import("zod").ZodEnum<{
file: "file";
image: "image";
pdf: "pdf";
}>;
}, import("zod/v4/core").$strip>>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/support/tickets/{issueId}/messages";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly llms: true;
};
}, {
readonly id: "one.supportTicketReplies.create";
readonly product: "one";
readonly version: "v1";
readonly method: "POST";
readonly path: "/support-tickets/{ticketId}/replies";
readonly summary: "Reply to a support ticket";
readonly description: "Posts a reply on the request as the caller’s support contact, or for Vigilbase staff an internal note customers never see. Send an Idempotency-Key so a retry never posts twice. Staff must name the customer with customerId; everyone else gets their own organisation’s customer.";
readonly tags: readonly ["support"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "mcpToken";
readonly scope: "one:write";
}];
readonly permissions: readonly ["support:access"];
readonly idempotency: "optional";
readonly request: {
readonly params: import("zod").ZodObject<{
ticketId: import("zod").ZodString;
}, import("zod/v4/core").$strip>;
readonly body: import("zod").ZodObject<{
body: import("zod").ZodString;
attachmentUrls: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
internalNote: import("zod").ZodDefault<import("zod").ZodBoolean>;
customerId: import("zod").ZodOptional<import("zod").ZodGUID>;
}, import("zod/v4/core").$strict>;
};
readonly responses: {
readonly 201: import("zod").ZodObject<{
messageId: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable", "read_only_key", "conflict", "unprocessable_entity"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/support/tickets/{issueId}/reply";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly llms: true;
};
}, {
readonly id: "one.cloudflareZones.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/customers/{customerId}/cloudflare-zones";
readonly summary: "List a customer’s Cloudflare zones";
readonly description: "Zones of every Cloudflare account linked to the customer, limited to the zones its services cover. Read live from Cloudflare when One can, otherwise from One’s last sync.";
readonly tags: readonly ["cloudflare"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:services"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodString;
name: import("zod").ZodString;
status: import("zod").ZodString;
paused: import("zod").ZodBoolean;
type: import("zod").ZodNullable<import("zod").ZodString>;
developmentMode: import("zod").ZodBoolean;
planName: import("zod").ZodNullable<import("zod").ZodString>;
nameServers: import("zod").ZodArray<import("zod").ZodString>;
accountId: import("zod").ZodNullable<import("zod").ZodString>;
accountName: import("zod").ZodNullable<import("zod").ZodString>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
activatedAt: import("zod").ZodNullable<import("zod").ZodString>;
modifiedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/customers/{id}/cloudflare/zones";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly llms: true;
};
}, {
readonly id: "one.cloudflareDnsRecords.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/cloudflare/zones/{zoneId}/dns-records";
readonly summary: "List a zone’s DNS records";
readonly description: "The zone’s DNS records, read live from Cloudflare. customerId names the customer that holds the zone.";
readonly tags: readonly ["cloudflare"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:services"];
readonly pagination: "cursor";
readonly request: {
readonly params: import("zod").ZodObject<{
zoneId: import("zod").ZodString;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodString;
name: import("zod").ZodString;
type: import("zod").ZodString;
content: import("zod").ZodString;
ttl: import("zod").ZodNumber;
priority: import("zod").ZodNullable<import("zod").ZodNumber>;
proxied: import("zod").ZodBoolean;
proxiable: import("zod").ZodNullable<import("zod").ZodBoolean>;
locked: import("zod").ZodBoolean;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
modifiedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/services/cloudflare/zones/{zoneId}/dns";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "cf dns";
readonly llms: true;
};
}, {
readonly id: "one.cloudflareZoneSecurity.get";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/cloudflare/zones/{zoneId}/security";
readonly summary: "Get a zone’s security settings";
readonly description: "The zone’s security defaults, read live from Cloudflare and graded by the Cloudflare Checkup’s checks; a setting Cloudflare could not answer comes from the latest checkup.";
readonly tags: readonly ["cloudflare"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:services"];
readonly request: {
readonly params: import("zod").ZodObject<{
zoneId: import("zod").ZodString;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
zoneId: import("zod").ZodString;
source: import("zod").ZodNullable<import("zod").ZodEnum<{
live: "live";
checkup: "checkup";
}>>;
readAt: import("zod").ZodNullable<import("zod").ZodString>;
liveError: import("zod").ZodNullable<import("zod").ZodString>;
checkup: import("zod").ZodNullable<import("zod").ZodObject<{
toolRunId: import("zod").ZodGUID;
checkedAt: import("zod").ZodString;
}, import("zod/v4/core").$strip>>;
settings: import("zod").ZodObject<{
ssl: import("zod").ZodObject<{
enabled: import("zod").ZodNullable<import("zod").ZodBoolean>;
status: import("zod").ZodNullable<import("zod").ZodEnum<{
error: "error";
info: "info";
fail: "fail";
warning: "warning";
skipped: "skipped";
locked: "locked";
pass: "pass";
}>>;
details: import("zod").ZodString;
source: import("zod").ZodNullable<import("zod").ZodEnum<{
live: "live";
checkup: "checkup";
}>>;
value: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
checkedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
waf: import("zod").ZodObject<{
enabled: import("zod").ZodNullable<import("zod").ZodBoolean>;
status: import("zod").ZodNullable<import("zod").ZodEnum<{
error: "error";
info: "info";
fail: "fail";
warning: "warning";
skipped: "skipped";
locked: "locked";
pass: "pass";
}>>;
details: import("zod").ZodString;
source: import("zod").ZodNullable<import("zod").ZodEnum<{
live: "live";
checkup: "checkup";
}>>;
value: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
checkedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
browserCheck: import("zod").ZodObject<{
enabled: import("zod").ZodNullable<import("zod").ZodBoolean>;
status: import("zod").ZodNullable<import("zod").ZodEnum<{
error: "error";
info: "info";
fail: "fail";
warning: "warning";
skipped: "skipped";
locked: "locked";
pass: "pass";
}>>;
details: import("zod").ZodString;
source: import("zod").ZodNullable<import("zod").ZodEnum<{
live: "live";
checkup: "checkup";
}>>;
value: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
checkedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
challengeTtl: import("zod").ZodObject<{
enabled: import("zod").ZodNullable<import("zod").ZodBoolean>;
status: import("zod").ZodNullable<import("zod").ZodEnum<{
error: "error";
info: "info";
fail: "fail";
warning: "warning";
skipped: "skipped";
locked: "locked";
pass: "pass";
}>>;
details: import("zod").ZodString;
source: import("zod").ZodNullable<import("zod").ZodEnum<{
live: "live";
checkup: "checkup";
}>>;
value: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
checkedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
securityLevel: import("zod").ZodObject<{
enabled: import("zod").ZodNullable<import("zod").ZodBoolean>;
status: import("zod").ZodNullable<import("zod").ZodEnum<{
error: "error";
info: "info";
fail: "fail";
warning: "warning";
skipped: "skipped";
locked: "locked";
pass: "pass";
}>>;
details: import("zod").ZodString;
source: import("zod").ZodNullable<import("zod").ZodEnum<{
live: "live";
checkup: "checkup";
}>>;
value: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
checkedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
opportunisticEncryption: import("zod").ZodObject<{
enabled: import("zod").ZodNullable<import("zod").ZodBoolean>;
status: import("zod").ZodNullable<import("zod").ZodEnum<{
error: "error";
info: "info";
fail: "fail";
warning: "warning";
skipped: "skipped";
locked: "locked";
pass: "pass";
}>>;
details: import("zod").ZodString;
source: import("zod").ZodNullable<import("zod").ZodEnum<{
live: "live";
checkup: "checkup";
}>>;
value: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
checkedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
automaticHttpsRewrites: import("zod").ZodObject<{
enabled: import("zod").ZodNullable<import("zod").ZodBoolean>;
status: import("zod").ZodNullable<import("zod").ZodEnum<{
error: "error";
info: "info";
fail: "fail";
warning: "warning";
skipped: "skipped";
locked: "locked";
pass: "pass";
}>>;
details: import("zod").ZodString;
source: import("zod").ZodNullable<import("zod").ZodEnum<{
live: "live";
checkup: "checkup";
}>>;
value: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
checkedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
alwaysUseHttps: import("zod").ZodObject<{
enabled: import("zod").ZodNullable<import("zod").ZodBoolean>;
status: import("zod").ZodNullable<import("zod").ZodEnum<{
error: "error";
info: "info";
fail: "fail";
warning: "warning";
skipped: "skipped";
locked: "locked";
pass: "pass";
}>>;
details: import("zod").ZodString;
source: import("zod").ZodNullable<import("zod").ZodEnum<{
live: "live";
checkup: "checkup";
}>>;
value: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
checkedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
}, import("zod/v4/core").$strip>;
defaults: import("zod").ZodObject<{
applied: import("zod").ZodNullable<import("zod").ZodBoolean>;
pending: import("zod").ZodArray<import("zod").ZodEnum<{
ssl: "ssl";
waf: "waf";
browserCheck: "browserCheck";
challengeTtl: "challengeTtl";
securityLevel: "securityLevel";
opportunisticEncryption: "opportunisticEncryption";
automaticHttpsRewrites: "automaticHttpsRewrites";
alwaysUseHttps: "alwaysUseHttps";
}>>;
}, import("zod/v4/core").$strip>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/services/cloudflare/zones/{zoneId}/security";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly llms: true;
};
}, {
readonly id: "one.cloudflareCheckups.get";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/cloudflare/checkups";
readonly summary: "Get Cloudflare Checkup status";
readonly description: "The Cloudflare account the checkup covers, its latest completed run and any run in progress. accountId picks one of several linked accounts. Staff must name the customer with customerId; everyone else gets their own organisation’s customer.";
readonly tags: readonly ["cloudflare"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:services"];
readonly request: {
readonly query: import("zod").ZodObject<{
customerId: import("zod").ZodOptional<import("zod").ZodGUID>;
accountId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
requiresSetup: import("zod").ZodBoolean;
account: import("zod").ZodNullable<import("zod").ZodObject<{
id: import("zod").ZodString;
name: import("zod").ZodNullable<import("zod").ZodString>;
status: import("zod").ZodString;
scope: import("zod").ZodObject<{
type: import("zod").ZodEnum<{
account: "account";
zones: "zones";
}>;
zoneIds: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>;
}, import("zod/v4/core").$strip>;
}, import("zod/v4/core").$strip>>;
credentialSource: import("zod").ZodNullable<import("zod").ZodString>;
latestRun: import("zod").ZodNullable<import("zod").ZodObject<{
id: import("zod").ZodGUID;
status: import("zod").ZodString;
grade: import("zod").ZodNullable<import("zod").ZodString>;
gradeScore: import("zod").ZodNullable<import("zod").ZodNumber>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
completedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
activeRun: import("zod").ZodNullable<import("zod").ZodObject<{
id: import("zod").ZodGUID;
status: import("zod").ZodString;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
startedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
lastValidatedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/services/cloudflare/checkups";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "cf checkup status";
readonly llms: true;
};
}, {
readonly id: "one.changeRequests.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/change-requests";
readonly summary: "List change requests";
readonly description: "The customer’s change requests, newest first, optionally of one status. Customers get their own; staff name the customer with customerId.";
readonly tags: readonly ["change-requests"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:services"];
readonly pagination: "cursor";
readonly request: {
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
customerId: import("zod").ZodOptional<import("zod").ZodGUID>;
status: import("zod").ZodOptional<import("zod").ZodEnum<{
expired: "expired";
failed: "failed";
applied: "applied";
requested: "requested";
awaiting_customer_approval: "awaiting_customer_approval";
ready: "ready";
executing: "executing";
awaiting_propagation: "awaiting_propagation";
verification_failed: "verification_failed";
uncertain: "uncertain";
rejected: "rejected";
rolling_back: "rolling_back";
rolled_back: "rolled_back";
rollback_awaiting_propagation: "rollback_awaiting_propagation";
rollback_uncertain: "rollback_uncertain";
completed_manually: "completed_manually";
}>>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
customerId: import("zod").ZodGUID;
title: import("zod").ZodString;
description: import("zod").ZodString;
reference: import("zod").ZodNullable<import("zod").ZodString>;
status: import("zod").ZodEnum<{
expired: "expired";
failed: "failed";
applied: "applied";
requested: "requested";
awaiting_customer_approval: "awaiting_customer_approval";
ready: "ready";
executing: "executing";
awaiting_propagation: "awaiting_propagation";
verification_failed: "verification_failed";
uncertain: "uncertain";
rejected: "rejected";
rolling_back: "rolling_back";
rolled_back: "rolled_back";
rollback_awaiting_propagation: "rollback_awaiting_propagation";
rollback_uncertain: "rollback_uncertain";
completed_manually: "completed_manually";
}>;
revision: import("zod").ZodNumber;
hasPlan: import("zod").ZodBoolean;
approvalExpiresAt: import("zod").ZodNullable<import("zod").ZodString>;
error: import("zod").ZodNullable<import("zod").ZodString>;
createdAt: import("zod").ZodString;
updatedAt: import("zod").ZodString;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/change-requests";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly llms: true;
};
}, {
readonly id: "one.changeRequests.create";
readonly product: "one";
readonly version: "v1";
readonly method: "POST";
readonly path: "/change-requests";
readonly summary: "Request a change";
readonly description: "Asks Vigilbase to make a change for the customer. Needs a verified email for customer callers.";
readonly tags: readonly ["change-requests"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "write";
}, {
readonly kind: "mcpToken";
readonly scope: "one:write";
}];
readonly permissions: readonly ["read:services"];
readonly idempotency: "optional";
readonly request: {
readonly body: import("zod").ZodObject<{
customerId: import("zod").ZodGUID;
title: import("zod").ZodString;
description: import("zod").ZodString;
reference: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strict>;
};
readonly responses: {
readonly 201: import("zod").ZodObject<{
id: import("zod").ZodGUID;
customerId: import("zod").ZodGUID;
title: import("zod").ZodString;
description: import("zod").ZodString;
reference: import("zod").ZodNullable<import("zod").ZodString>;
status: import("zod").ZodEnum<{
expired: "expired";
failed: "failed";
applied: "applied";
requested: "requested";
awaiting_customer_approval: "awaiting_customer_approval";
ready: "ready";
executing: "executing";
awaiting_propagation: "awaiting_propagation";
verification_failed: "verification_failed";
uncertain: "uncertain";
rejected: "rejected";
rolling_back: "rolling_back";
rolled_back: "rolled_back";
rollback_awaiting_propagation: "rollback_awaiting_propagation";
rollback_uncertain: "rollback_uncertain";
completed_manually: "completed_manually";
}>;
revision: import("zod").ZodNumber;
hasPlan: import("zod").ZodBoolean;
approvalExpiresAt: import("zod").ZodNullable<import("zod").ZodString>;
error: import("zod").ZodNullable<import("zod").ZodString>;
createdAt: import("zod").ZodString;
updatedAt: import("zod").ZodString;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable", "read_only_key", "conflict", "unprocessable_entity"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/change-requests";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly llms: true;
};
}, {
readonly id: "one.toolRuns.list";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/tool-runs";
readonly summary: "List tool runs";
readonly description: "Tool runs the caller’s organisation can see, newest first. accountId matches a Cloudflare account ID or the stored target. Staff name the customer with customerId.";
readonly tags: readonly ["tool-runs"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:services"];
readonly pagination: "cursor";
readonly request: {
readonly query: import("zod").ZodObject<{
cursor: import("zod").ZodOptional<import("zod").ZodString>;
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
customerId: import("zod").ZodOptional<import("zod").ZodGUID>;
toolName: import("zod").ZodOptional<import("zod").ZodString>;
accountId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
items: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodGUID;
toolName: import("zod").ZodString;
target: import("zod").ZodString;
targetType: import("zod").ZodString;
status: import("zod").ZodString;
grade: import("zod").ZodNullable<import("zod").ZodString>;
gradeScore: import("zod").ZodNullable<import("zod").ZodNumber>;
sourceApp: import("zod").ZodNullable<import("zod").ZodString>;
email: import("zod").ZodNullable<import("zod").ZodString>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
startedAt: import("zod").ZodNullable<import("zod").ZodString>;
completedAt: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/tool-runs";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "runs list";
readonly llms: true;
};
}, {
readonly id: "one.toolRuns.get";
readonly product: "one";
readonly version: "v1";
readonly method: "GET";
readonly path: "/tool-runs/{runId}";
readonly summary: "Get a tool run";
readonly description: "One tool run with its stored result.";
readonly tags: readonly ["tool-runs"];
readonly stability: "beta";
readonly audience: "customer";
readonly auth: readonly [{
readonly kind: "identityBearer";
readonly resource: "one";
readonly scopes: readonly ["one:api"];
}, {
readonly kind: "orgApiKey";
readonly access: "read";
}, {
readonly kind: "mcpToken";
readonly scope: "one:read";
}];
readonly permissions: readonly ["read:services"];
readonly request: {
readonly params: import("zod").ZodObject<{
runId: import("zod").ZodGUID;
}, import("zod/v4/core").$strip>;
readonly query: import("zod").ZodObject<{
customerId: import("zod").ZodOptional<import("zod").ZodGUID>;
}, import("zod/v4/core").$strip>;
};
readonly responses: {
readonly 200: import("zod").ZodObject<{
id: import("zod").ZodGUID;
toolName: import("zod").ZodString;
target: import("zod").ZodString;
targetType: import("zod").ZodString;
status: import("zod").ZodString;
grade: import("zod").ZodNullable<import("zod").ZodString>;
gradeScore: import("zod").ZodNullable<import("zod").ZodNumber>;
sourceApp: import("zod").ZodNullable<import("zod").ZodString>;
email: import("zod").ZodNullable<import("zod").ZodString>;
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
startedAt: import("zod").ZodNullable<import("zod").ZodString>;
completedAt: import("zod").ZodNullable<import("zod").ZodString>;
customerId: import("zod").ZodNullable<import("zod").ZodGUID>;
unlocked: import("zod").ZodBoolean;
errorMessage: import("zod").ZodNullable<import("zod").ZodString>;
results: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, import("zod/v4/core").$strip>;
};
readonly errors: readonly ["unauthorized", "forbidden", "not_found", "validation_failed", "rate_limit_exceeded", "service_unavailable"];
readonly legacy: readonly [{
readonly host: "one";
readonly path: "/api/tool-runs/{id}";
}];
readonly expose: {
readonly mcp: "code-mode";
readonly cli: "runs show";
readonly llms: true;
};
}];
export type OneV1Operations = typeof ONE_V1_OPERATIONS;