@launchdarkly/mcp-server
Version:
The local [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server for [LaunchDarkly](https://launchdarkly.com/) federal and European Union (EU) environments.
102 lines • 4.15 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { AuthorizedAppDataRep, AuthorizedAppDataRep$Outbound } from "./authorizedappdatarep.js";
import { Link, Link$Outbound } from "./link.js";
import { MemberDataRep, MemberDataRep$Outbound } from "./memberdatarep.js";
import { ParentResourceRep, ParentResourceRep$Outbound } from "./parentresourcerep.js";
import { RelatedAIConfig, RelatedAIConfig$Outbound } from "./relatedaiconfig.js";
import { RelatedExperiment, RelatedExperiment$Outbound } from "./relatedexperiment.js";
import { RelatedFlag, RelatedFlag$Outbound } from "./relatedflag.js";
import { ResourceAccess, ResourceAccess$Outbound } from "./resourceaccess.js";
import { SubjectDataRep, SubjectDataRep$Outbound } from "./subjectdatarep.js";
import { TargetResourceRep, TargetResourceRep$Outbound } from "./targetresourcerep.js";
import { TokenSummary, TokenSummary$Outbound } from "./tokensummary.js";
export type AuditLogEntryListingRep = {
/**
* The location and content type of related resources
*/
links: {
[k: string]: Link;
};
/**
* The ID of the audit log entry
*/
id: string;
/**
* The ID of the account to which this audit log entry belongs
*/
accountId: string;
date: number;
/**
* Details on the actions performed and resources acted on in this audit log entry
*/
accesses: Array<ResourceAccess>;
kind: string;
/**
* The name of the resource this audit log entry refers to
*/
name: string;
/**
* Description of the change recorded in the audit log entry
*/
description: string;
/**
* Shorter version of the change recorded in the audit log entry
*/
shortDescription: string;
/**
* Optional comment for the audit log entry
*/
comment?: string | undefined;
relatedFlag?: RelatedFlag | undefined;
relatedExperiment?: RelatedExperiment | undefined;
relatedAIConfig?: RelatedAIConfig | undefined;
subject?: SubjectDataRep | undefined;
member?: MemberDataRep | undefined;
token?: TokenSummary | undefined;
app?: AuthorizedAppDataRep | undefined;
/**
* The action and resource recorded in this audit log entry
*/
titleVerb?: string | undefined;
/**
* A description of what occurred, in the format <code>member</code> <code>titleVerb</code> <code>target</code>
*/
title?: string | undefined;
target?: TargetResourceRep | undefined;
parent?: ParentResourceRep | undefined;
};
/** @internal */
export declare const AuditLogEntryListingRep$inboundSchema: z.ZodType<AuditLogEntryListingRep, z.ZodTypeDef, unknown>;
/** @internal */
export type AuditLogEntryListingRep$Outbound = {
_links: {
[k: string]: Link$Outbound;
};
_id: string;
_accountId: string;
date: number;
accesses: Array<ResourceAccess$Outbound>;
kind: string;
name: string;
description: string;
shortDescription: string;
comment?: string | undefined;
relatedFlag?: RelatedFlag$Outbound | undefined;
relatedExperiment?: RelatedExperiment$Outbound | undefined;
relatedAIConfig?: RelatedAIConfig$Outbound | undefined;
subject?: SubjectDataRep$Outbound | undefined;
member?: MemberDataRep$Outbound | undefined;
token?: TokenSummary$Outbound | undefined;
app?: AuthorizedAppDataRep$Outbound | undefined;
titleVerb?: string | undefined;
title?: string | undefined;
target?: TargetResourceRep$Outbound | undefined;
parent?: ParentResourceRep$Outbound | undefined;
};
/** @internal */
export declare const AuditLogEntryListingRep$outboundSchema: z.ZodType<AuditLogEntryListingRep$Outbound, z.ZodTypeDef, AuditLogEntryListingRep>;
export declare function auditLogEntryListingRepToJSON(auditLogEntryListingRep: AuditLogEntryListingRep): string;
export declare function auditLogEntryListingRepFromJSON(jsonString: string): SafeParseResult<AuditLogEntryListingRep, SDKValidationError>;
//# sourceMappingURL=auditlogentrylistingrep.d.ts.map