@simonecoelhosfo/optimizely-mcp-server
Version:
Optimizely MCP Server for AI assistants with integrated CLI tools
317 lines • 8.82 kB
TypeScript
/**
* Plugin-Enhanced Workflow Example
* Demonstrates using custom functions in orchestration
*/
export declare const pluginEnhancedWorkflowComplete: {
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;
};
base_product_price: {
type: string;
required: boolean;
description: string;
default: number;
};
recommendation_api_key: {
type: string;
required: boolean;
description: string;
};
external_audience_data: {
type: string;
required: boolean;
description: string;
default: never[];
};
};
steps: ({
id: string;
type: string;
name: string;
plugin: {
code: string;
template_data: {
external_audience_data: string;
base_product_price?: undefined;
recommendation_api_key?: undefined;
};
outputs: string[];
permissions?: undefined;
timeout_ms?: undefined;
};
loop?: undefined;
skip_if?: undefined;
template?: undefined;
optional?: undefined;
depends_on?: undefined;
} | {
id: string;
type: string;
name: string;
loop: {
over: string;
as: string;
steps: {
id: string;
type: string;
name: string;
template: {
entity_type: string;
mode: string;
operation: string;
template_data: {
project_id: string;
name: string;
key: string;
description: string;
conditions: string;
};
};
}[];
};
skip_if: string;
plugin?: undefined;
template?: undefined;
optional?: 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: {
or: {
type: string;
name: string;
match_type: string;
value: string;
}[];
};
status?: undefined;
campaign_id?: undefined;
page_ids?: undefined;
audience?: undefined;
variations?: undefined;
};
};
plugin?: undefined;
loop?: undefined;
skip_if?: undefined;
optional?: undefined;
depends_on?: undefined;
} | {
id: string;
type: string;
name: string;
plugin: {
code: string;
permissions: {
read_entities: boolean;
external_requests?: undefined;
write_state?: undefined;
};
outputs: string[];
template_data?: undefined;
timeout_ms?: undefined;
};
loop?: undefined;
skip_if?: undefined;
template?: undefined;
optional?: undefined;
depends_on?: undefined;
} | {
id: string;
type: string;
name: string;
plugin: {
code: string;
template_data: {
base_product_price: string;
external_audience_data?: undefined;
recommendation_api_key?: undefined;
};
outputs: string[];
permissions?: undefined;
timeout_ms?: undefined;
};
loop?: undefined;
skip_if?: undefined;
template?: undefined;
optional?: undefined;
depends_on?: undefined;
} | {
id: string;
type: string;
name: string;
plugin: {
code: string;
template_data: {
recommendation_api_key: string;
external_audience_data?: undefined;
base_product_price?: undefined;
};
outputs: string[];
permissions: {
external_requests: boolean;
read_entities?: undefined;
write_state?: undefined;
};
timeout_ms: number;
};
optional: boolean;
loop?: undefined;
skip_if?: undefined;
template?: 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: {
match_type: string;
value: string;
}[];
status?: undefined;
campaign_id?: undefined;
page_ids?: undefined;
audience?: undefined;
variations?: undefined;
};
};
skip_if: string;
plugin?: undefined;
loop?: undefined;
optional?: 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;
status: string;
key?: undefined;
conditions?: undefined;
campaign_id?: undefined;
page_ids?: undefined;
audience?: undefined;
variations?: undefined;
};
};
depends_on: string[];
plugin?: undefined;
loop?: undefined;
skip_if?: undefined;
optional?: undefined;
} | {
id: string;
type: string;
name: string;
template: {
entity_type: string;
mode: string;
operation: string;
template_data: {
project_id: string;
name: string;
campaign_id: string;
page_ids: string[];
audience: {
ref: {
id: string;
};
};
variations: {
name: string;
weight: number;
actions: {
page_id: string;
changes: {
type: string;
value: string;
}[];
}[];
}[];
key?: undefined;
conditions?: undefined;
status?: undefined;
};
};
depends_on: string[];
plugin?: undefined;
loop?: undefined;
skip_if?: undefined;
optional?: undefined;
} | {
id: string;
type: string;
name: string;
plugin: {
code: string;
permissions: {
write_state: boolean;
read_entities?: undefined;
external_requests?: undefined;
};
outputs: string[];
template_data?: undefined;
timeout_ms?: undefined;
};
loop?: undefined;
skip_if?: undefined;
template?: undefined;
optional?: undefined;
depends_on?: undefined;
})[];
outputs: {
campaign_id: {
value: string;
description: string;
};
experiment_id: {
value: string;
description: string;
};
execution_report: {
value: string;
description: string;
};
};
config: {
parallel_execution: boolean;
rollback_on_failure: boolean;
max_execution_time: number;
};
};
//# sourceMappingURL=PluginEnhancedWorkflowExample.d.ts.map