@simonecoelhosfo/optimizely-mcp-server
Version:
Optimizely MCP Server for AI assistants with integrated CLI tools
273 lines • 8.03 kB
TypeScript
/**
* Feature Flag A/B Test Example
* Complete example for Feature Experimentation platform
*/
export declare const featureFlagABTestComplete: {
id: string;
name: string;
description: string;
version: string;
type: string;
platform: string;
author: string;
template_format_version: number;
parameters: {
project_id: {
type: string;
required: boolean;
description: string;
};
flag_name: {
type: string;
required: boolean;
description: string;
validation: {
pattern: string;
};
};
feature_description: {
type: string;
required: boolean;
description: string;
};
environment_key: {
type: string;
required: boolean;
default: string;
description: string;
};
test_percentage: {
type: string;
required: boolean;
default: number;
description: string;
validation: {
min: number;
max: number;
};
};
};
steps: ({
id: string;
type: string;
name: string;
template: {
entity_type: string;
mode: string;
operation: string;
template_data: {
project_id: string;
key: string;
name: string;
description: string;
variables: ({
key: string;
type: string;
default_value: boolean;
} | {
key: string;
type: string;
default_value: string;
})[];
type?: undefined;
conditions?: undefined;
event_type?: undefined;
category?: undefined;
flag_key?: undefined;
environment_key?: undefined;
audience_conditions?: undefined;
metrics?: undefined;
variations?: undefined;
percentage_included?: undefined;
enabled?: undefined;
};
};
depends_on?: undefined;
} | {
id: string;
type: string;
name: string;
template: {
entity_type: string;
mode: string;
operation: string;
template_data: {
project_id: string;
key: string;
name: string;
description: string;
type: string;
variables?: undefined;
conditions?: undefined;
event_type?: undefined;
category?: undefined;
flag_key?: undefined;
environment_key?: undefined;
audience_conditions?: undefined;
metrics?: undefined;
variations?: undefined;
percentage_included?: undefined;
enabled?: undefined;
};
};
depends_on?: undefined;
} | {
id: string;
type: string;
name: string;
template: {
entity_type: string;
mode: string;
operation: string;
template_data: {
project_id: string;
name: string;
key: string;
conditions: {
field: string;
match: string;
value: string;
}[];
description?: undefined;
variables?: undefined;
type?: undefined;
event_type?: undefined;
category?: undefined;
flag_key?: undefined;
environment_key?: undefined;
audience_conditions?: undefined;
metrics?: undefined;
variations?: undefined;
percentage_included?: undefined;
enabled?: undefined;
};
};
depends_on: string[];
} | {
id: string;
type: string;
name: string;
template: {
entity_type: string;
mode: string;
operation: string;
template_data: {
project_id: string;
name: string;
key: string;
event_type: string;
category: string;
description?: undefined;
variables?: undefined;
type?: undefined;
conditions?: undefined;
flag_key?: undefined;
environment_key?: undefined;
audience_conditions?: undefined;
metrics?: undefined;
variations?: undefined;
percentage_included?: undefined;
enabled?: undefined;
};
};
depends_on?: undefined;
} | {
id: string;
type: string;
name: string;
template: {
entity_type: string;
mode: string;
operation: string;
template_data: {
project_id: string;
flag_key: string;
environment_key: string;
name: string;
type: string;
audience_conditions: {
ref: {
id: string;
};
}[];
metrics: {
event_id: string;
scope: string;
winning_direction: string;
}[];
variations: {
key: string;
name: string;
variables: {
enabled: boolean;
variant: string;
config: string;
};
traffic_allocation: string;
}[];
key?: undefined;
description?: undefined;
variables?: undefined;
conditions?: undefined;
event_type?: undefined;
category?: undefined;
percentage_included?: undefined;
enabled?: undefined;
};
};
depends_on: string[];
} | {
id: string;
type: string;
name: string;
template: {
entity_type: string;
mode: string;
operation: string;
template_data: {
project_id: string;
flag_key: string;
environment_key: string;
name: string;
type: string;
audience_conditions: never[];
percentage_included: number;
enabled: boolean;
key?: undefined;
description?: undefined;
variables?: undefined;
conditions?: undefined;
event_type?: undefined;
category?: undefined;
metrics?: undefined;
variations?: undefined;
};
};
depends_on: string[];
})[];
outputs: {
flag_key: {
value: string;
description: string;
};
ruleset_id: {
value: string;
description: string;
};
audience_id: {
value: string;
description: string;
};
event_id: {
value: string;
description: string;
};
};
best_practices: string[];
common_mistakes: {
mistake: string;
example: string;
solution: string;
}[];
};
//# sourceMappingURL=FeatureFlagABTestExample.d.ts.map