@simonecoelhosfo/optimizely-mcp-server
Version:
Optimizely MCP Server for AI assistants with integrated CLI tools
404 lines • 12.5 kB
TypeScript
/**
* E-commerce Optimization Workflow Example
* Complete multi-step workflow for e-commerce optimization
*/
export declare const ecommerceOptimizationComplete: {
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;
};
checkout_url: {
type: string;
required: boolean;
description: string;
default: string;
};
cart_threshold: {
type: string;
required: boolean;
default: number;
description: string;
};
};
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;
type: string;
list_type?: undefined;
values?: undefined;
event_type?: undefined;
category?: undefined;
conditions?: undefined;
status?: undefined;
campaign_id?: undefined;
page_ids?: undefined;
audience?: undefined;
traffic_allocation?: undefined;
metrics?: undefined;
variations?: undefined;
extension_point?: undefined;
enabled?: undefined;
html?: undefined;
css?: undefined;
javascript?: 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;
list_type: string;
values: string[];
event_type?: undefined;
category?: undefined;
conditions?: undefined;
status?: undefined;
campaign_id?: undefined;
page_ids?: undefined;
audience?: undefined;
traffic_allocation?: undefined;
metrics?: undefined;
variations?: undefined;
extension_point?: undefined;
enabled?: undefined;
html?: undefined;
css?: undefined;
javascript?: 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;
event_type: string;
category: string;
description?: undefined;
type?: undefined;
list_type?: undefined;
values?: undefined;
conditions?: undefined;
status?: undefined;
campaign_id?: undefined;
page_ids?: undefined;
audience?: undefined;
traffic_allocation?: undefined;
metrics?: undefined;
variations?: undefined;
extension_point?: undefined;
enabled?: undefined;
html?: undefined;
css?: undefined;
javascript?: 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;
type?: undefined;
list_type?: undefined;
values?: undefined;
event_type?: undefined;
category?: undefined;
status?: undefined;
campaign_id?: undefined;
page_ids?: undefined;
audience?: undefined;
traffic_allocation?: undefined;
metrics?: undefined;
variations?: undefined;
extension_point?: undefined;
enabled?: undefined;
html?: undefined;
css?: undefined;
javascript?: 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;
conditions: {
match_type: string;
value: string;
}[];
description?: undefined;
type?: undefined;
list_type?: undefined;
values?: undefined;
event_type?: undefined;
category?: undefined;
status?: undefined;
campaign_id?: undefined;
page_ids?: undefined;
audience?: undefined;
traffic_allocation?: undefined;
metrics?: undefined;
variations?: undefined;
extension_point?: undefined;
enabled?: undefined;
html?: undefined;
css?: undefined;
javascript?: 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;
description?: undefined;
type?: undefined;
list_type?: undefined;
values?: undefined;
event_type?: undefined;
category?: undefined;
conditions?: undefined;
campaign_id?: undefined;
page_ids?: undefined;
audience?: undefined;
traffic_allocation?: undefined;
metrics?: undefined;
variations?: undefined;
extension_point?: undefined;
enabled?: undefined;
html?: undefined;
css?: undefined;
javascript?: 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;
campaign_id: string;
page_ids: string[];
audience: {
ref: {
id: null;
};
};
traffic_allocation: number;
metrics: {
event_id: string;
scope: string;
winning_direction: string;
}[];
variations: {
name: string;
weight: number;
actions: {
page_id: string;
changes: {
type: string;
value: string;
}[];
}[];
}[];
key?: undefined;
description?: undefined;
type?: undefined;
list_type?: undefined;
values?: undefined;
event_type?: undefined;
category?: undefined;
conditions?: undefined;
status?: undefined;
extension_point?: undefined;
enabled?: undefined;
html?: undefined;
css?: undefined;
javascript?: 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;
campaign_id: string;
page_ids: string[];
audience: {
ref: {
id: string;
};
};
metrics: {
event_id: string;
scope: string;
winning_direction: string;
}[];
variations: {
name: string;
weight: number;
actions: {
page_id: string;
changes: {
type: string;
value: string;
}[];
}[];
}[];
key?: undefined;
description?: undefined;
type?: undefined;
list_type?: undefined;
values?: undefined;
event_type?: undefined;
category?: undefined;
conditions?: undefined;
status?: undefined;
traffic_allocation?: undefined;
extension_point?: undefined;
enabled?: undefined;
html?: undefined;
css?: undefined;
javascript?: 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;
description: string;
extension_point: string;
enabled: boolean;
html: string;
css: string;
javascript: string;
type?: undefined;
list_type?: undefined;
values?: undefined;
event_type?: undefined;
category?: undefined;
conditions?: undefined;
status?: undefined;
campaign_id?: undefined;
page_ids?: undefined;
audience?: undefined;
traffic_allocation?: undefined;
metrics?: undefined;
variations?: undefined;
};
};
depends_on?: undefined;
})[];
outputs: {
campaign_id: {
value: string;
description: string;
};
ab_test_id: {
value: string;
description: string;
};
vip_experience_id: {
value: string;
description: string;
};
};
best_practices: string[];
common_mistakes: {
mistake: string;
example: string;
solution: string;
}[];
};
//# sourceMappingURL=EcommerceOptimizationExample.d.ts.map