@apteva/integrations 0.3.45 → 0.3.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/http-executor.js +55 -16
- package/dist/http-executor.js.map +1 -1
- package/package.json +1 -1
- package/src/apps/activecampaign.json +2 -2
- package/src/apps/activecollab.json +2 -2
- package/src/apps/alchemy.json +4 -4
- package/src/apps/alpaca-trading.json +4 -4
- package/src/apps/anthropic-api.json +2 -2
- package/src/apps/apiflash.json +66 -0
- package/src/apps/apify.json +2 -2
- package/src/apps/archive-api.json +2 -2
- package/src/apps/archive.json +2 -2
- package/src/apps/arduino-cloud.json +2 -2
- package/src/apps/arest.json +2 -2
- package/src/apps/asana.json +2 -2
- package/src/apps/aws-ec2.json +2 -2
- package/src/apps/aws-route53.json +2 -2
- package/src/apps/bannerbear.json +139 -0
- package/src/apps/blynk.json +2 -2
- package/src/apps/browserless.json +168 -0
- package/src/apps/bybit.json +4 -4
- package/src/apps/calflow-calendar.json +2 -2
- package/src/apps/callrail.json +2 -2
- package/src/apps/castbase.json +2 -2
- package/src/apps/chargebee.json +2 -2
- package/src/apps/clipkit.json +2 -2
- package/src/apps/cloudflare.json +2 -2
- package/src/apps/coda.json +2 -2
- package/src/apps/confluence.json +2 -2
- package/src/apps/contabo.json +2 -2
- package/src/apps/core-image.json +2 -2
- package/src/apps/docx.json +2 -2
- package/src/apps/dropbox.json +3 -3
- package/src/apps/dune.json +3 -3
- package/src/apps/dux-soup.json +3 -3
- package/src/apps/dynadot.json +2 -2
- package/src/apps/elevenlabs.json +2 -2
- package/src/apps/facebook-ads.json +9 -9
- package/src/apps/facebook-api.json +2 -2
- package/src/apps/fathom.json +2 -2
- package/src/apps/figma.json +2 -2
- package/src/apps/forecast-app.json +2 -2
- package/src/apps/freshdesk.json +2 -2
- package/src/apps/gemini.json +2 -2
- package/src/apps/google-maps.json +2 -2
- package/src/apps/google-sheets.json +326 -93
- package/src/apps/gooten.json +2 -2
- package/src/apps/gravity-forms.json +2 -2
- package/src/apps/harmonic.json +2 -2
- package/src/apps/htmlcsstoimage.json +92 -0
- package/src/apps/ig-trading.json +2 -2
- package/src/apps/instagram-api.json +3 -3
- package/src/apps/klaviyo.json +2 -2
- package/src/apps/kling-ai.json +2 -2
- package/src/apps/linear.json +2 -2
- package/src/apps/media-downloader.json +2 -2
- package/src/apps/messari.json +4 -4
- package/src/apps/microlink.json +69 -0
- package/src/apps/microsoft-teams.json +6 -3
- package/src/apps/moralis.json +4 -4
- package/src/apps/namecheap.json +2 -2
- package/src/apps/nexar.json +2 -2
- package/src/apps/notion.json +4 -4
- package/src/apps/okx.json +3 -3
- package/src/apps/oneinch.json +3 -3
- package/src/apps/openai-api.json +2 -2
- package/src/apps/openmeteo-weather.json +2 -2
- package/src/apps/paraswap.json +3 -3
- package/src/apps/pdf.json +2 -2
- package/src/apps/plaid.json +2 -2
- package/src/apps/portfolio.json +2 -2
- package/src/apps/rss.json +2 -2
- package/src/apps/salesflow.json +2 -2
- package/src/apps/salesforce-crm.json +2 -2
- package/src/apps/sap.json +2 -2
- package/src/apps/scaleway.json +2 -2
- package/src/apps/screenshotone.json +97 -0
- package/src/apps/slides.json +2 -2
- package/src/apps/storylane.json +4 -4
- package/src/apps/supabase.json +2 -2
- package/src/apps/teamwork.json +2 -2
- package/src/apps/thegraph.json +3 -3
- package/src/apps/thinger.json +2 -2
- package/src/apps/torrent.json +2 -2
- package/src/apps/trading.json +2 -2
- package/src/apps/trading212.json +4 -4
- package/src/apps/trello.json +2 -2
- package/src/apps/twitter-ads.json +3 -3
- package/src/apps/twitter-api.json +2 -2
- package/src/apps/twitterapiio.json +2 -2
- package/src/apps/urlbox.json +87 -0
- package/src/apps/vidforge.json +2 -2
- package/src/apps/vonage.json +2 -2
- package/src/apps/woocommerce.json +2 -2
- package/src/apps/wordpress.json +2 -2
- package/src/apps/xero.json +2 -2
- package/src/apps/zendesk.json +2 -2
- package/src/apps/zite.json +2 -2
package/dist/http-executor.js
CHANGED
|
@@ -163,24 +163,63 @@ function buildHeaders(app, credentials) {
|
|
|
163
163
|
}
|
|
164
164
|
return headers;
|
|
165
165
|
}
|
|
166
|
+
// Credential alias groups — see server/integrations.go for the canonical
|
|
167
|
+
// description. Within each group, the first non-empty value found is
|
|
168
|
+
// mirrored under every other name so a template using {{token}} resolves
|
|
169
|
+
// correctly when the credential blob uses {{accessToken}}, {{apiToken}},
|
|
170
|
+
// {{authToken}}, etc. This fixes ~48 templates that mix conventions.
|
|
171
|
+
const credAliasGroups = [
|
|
172
|
+
["access_token", "accessToken", "token", "bearer_token", "auth_token", "authToken"],
|
|
173
|
+
["api_key", "apiKey", "apikey", "api_token", "apiToken", "x_api_key"],
|
|
174
|
+
["refresh_token", "refreshToken"],
|
|
175
|
+
["token_type", "tokenType"],
|
|
176
|
+
["expires_in", "expiresIn"],
|
|
177
|
+
["client_id", "clientId"],
|
|
178
|
+
["client_secret", "clientSecret"],
|
|
179
|
+
];
|
|
180
|
+
function normalizeCredentials(credentials) {
|
|
181
|
+
// Flatten the structured credentials into a plain map. The legacy
|
|
182
|
+
// structured fields (access_token, api_key, username, password) live at
|
|
183
|
+
// the top level; everything else is in `fields`.
|
|
184
|
+
const out = {};
|
|
185
|
+
if (credentials.access_token)
|
|
186
|
+
out.access_token = credentials.access_token;
|
|
187
|
+
if (credentials.bearer_token)
|
|
188
|
+
out.bearer_token = credentials.bearer_token;
|
|
189
|
+
if (credentials.api_key)
|
|
190
|
+
out.api_key = credentials.api_key;
|
|
191
|
+
if (credentials.username)
|
|
192
|
+
out.username = credentials.username;
|
|
193
|
+
if (credentials.password)
|
|
194
|
+
out.password = credentials.password;
|
|
195
|
+
if (credentials.fields) {
|
|
196
|
+
for (const [k, v] of Object.entries(credentials.fields)) {
|
|
197
|
+
if (v)
|
|
198
|
+
out[k] = String(v);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
// Apply alias mirroring.
|
|
202
|
+
for (const group of credAliasGroups) {
|
|
203
|
+
let val = "";
|
|
204
|
+
for (const name of group) {
|
|
205
|
+
if (out[name]) {
|
|
206
|
+
val = out[name];
|
|
207
|
+
break;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
if (!val)
|
|
211
|
+
continue;
|
|
212
|
+
for (const name of group) {
|
|
213
|
+
if (!out[name])
|
|
214
|
+
out[name] = val;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
return out;
|
|
218
|
+
}
|
|
166
219
|
function resolveTemplate(template, credentials) {
|
|
220
|
+
const norm = normalizeCredentials(credentials);
|
|
167
221
|
return template.replace(/\{\{(\w+)\}\}/g, (_match, key) => {
|
|
168
|
-
|
|
169
|
-
switch (key) {
|
|
170
|
-
case "token":
|
|
171
|
-
return (credentials.access_token ||
|
|
172
|
-
credentials.bearer_token ||
|
|
173
|
-
credentials.api_key ||
|
|
174
|
-
"");
|
|
175
|
-
case "api_key":
|
|
176
|
-
return credentials.api_key || "";
|
|
177
|
-
case "username":
|
|
178
|
-
return credentials.username || "";
|
|
179
|
-
case "password":
|
|
180
|
-
return credentials.password || "";
|
|
181
|
-
default:
|
|
182
|
-
return credentials.fields?.[key] || "";
|
|
183
|
-
}
|
|
222
|
+
return norm[key] || "";
|
|
184
223
|
});
|
|
185
224
|
}
|
|
186
225
|
function buildQueryString(params) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-executor.js","sourceRoot":"","sources":["../src/http-executor.ts"],"names":[],"mappings":"AAsBA;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,WAAW,CAC/B,IAAwB;IAExB,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC;IAEhE,kEAAkE;IAClE,MAAM,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC;IAElE,sDAAsD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1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apteva/integrations",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.47",
|
|
4
4
|
"description": "Local integrations, connections, and webhooks for Apteva. Self-contained app templates, OAuth engine, and trigger provider.",
|
|
5
5
|
"author": "Apteva <hello@apteva.com>",
|
|
6
6
|
"license": "Elastic-2.0",
|
package/src/apps/alchemy.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"slug": "alchemy",
|
|
3
3
|
"name": "Alchemy",
|
|
4
|
-
"description": "Blockchain node API + enhanced APIs
|
|
4
|
+
"description": "Blockchain node API + enhanced APIs \u2014 token balances, transfers, NFTs, and transaction data across Ethereum, Polygon, Arbitrum, Base, Solana.",
|
|
5
5
|
"logo": "https://www.google.com/s2/favicons?domain=alchemy.com&sz=128",
|
|
6
6
|
"categories": [
|
|
7
7
|
"blockchain",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"ethereum",
|
|
13
13
|
"solana"
|
|
14
14
|
],
|
|
15
|
-
"base_url": "",
|
|
15
|
+
"base_url": "https://eth-mainnet.g.alchemy.com/v2",
|
|
16
16
|
"auth": {
|
|
17
17
|
"types": [
|
|
18
18
|
"bearer"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"name": "get_asset_transfers",
|
|
57
|
-
"description": "Get historical token transfers for an address
|
|
57
|
+
"description": "Get historical token transfers for an address \u2014 inbound, outbound, ERC20, ERC721, internal transactions.",
|
|
58
58
|
"method": "POST",
|
|
59
59
|
"path": "/get-asset-transfers",
|
|
60
60
|
"input_schema": {
|
|
@@ -117,4 +117,4 @@
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
]
|
|
120
|
-
}
|
|
120
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"slug": "alpaca-trading",
|
|
3
3
|
"name": "Alpaca",
|
|
4
|
-
"description": "MCP server for Alpaca
|
|
4
|
+
"description": "MCP server for Alpaca \u2014 stock, options & crypto trading, real-time and historical market data, portfolio management, screener, news, and forex rates via the Alpaca REST API v2. Uses paper trading by default.",
|
|
5
5
|
"logo": "https://www.google.com/s2/favicons?domain=alpaca.markets&sz=128",
|
|
6
6
|
"categories": [
|
|
7
7
|
"trading",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"forex",
|
|
17
17
|
"alpaca"
|
|
18
18
|
],
|
|
19
|
-
"base_url": "",
|
|
19
|
+
"base_url": "https://api.alpaca.markets/v2",
|
|
20
20
|
"auth": {
|
|
21
21
|
"types": [
|
|
22
22
|
"api_key"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
{
|
|
39
39
|
"name": "base_url",
|
|
40
40
|
"label": "Base_url",
|
|
41
|
-
"description": "Default: https://paper-api.alpaca.markets
|
|
41
|
+
"description": "Default: https://paper-api.alpaca.markets \u2014 set to https://api.alpaca.markets for live trading"
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
44
|
},
|
|
@@ -1562,4 +1562,4 @@
|
|
|
1562
1562
|
}
|
|
1563
1563
|
}
|
|
1564
1564
|
]
|
|
1565
|
-
}
|
|
1565
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "apiflash",
|
|
3
|
+
"name": "ApiFlash",
|
|
4
|
+
"description": "Simple URL-to-image screenshot API. GET request with the access key as a query param returns the rendered image binary. Free tier 100 screenshots/month. Supports full-page, custom viewports, mobile emulation, ad blocking, cookie banner dismissal, scrolls.",
|
|
5
|
+
"logo": "https://www.google.com/s2/favicons?domain=apiflash.com&sz=128",
|
|
6
|
+
"categories": ["screenshots", "rendering", "automation"],
|
|
7
|
+
"base_url": "https://api.apiflash.com",
|
|
8
|
+
"auth": {
|
|
9
|
+
"types": ["api_key"],
|
|
10
|
+
"headers": {},
|
|
11
|
+
"query_params": {
|
|
12
|
+
"access_key": "{{api_key}}"
|
|
13
|
+
},
|
|
14
|
+
"credential_fields": [
|
|
15
|
+
{ "name": "api_key", "label": "ApiFlash access key" }
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"tools": [
|
|
19
|
+
{
|
|
20
|
+
"name": "url_to_image",
|
|
21
|
+
"description": "Capture a screenshot of a URL. Returns the rendered image as binary (image/png|jpeg|webp). The access_key query param is appended automatically from the connection credentials.",
|
|
22
|
+
"method": "GET",
|
|
23
|
+
"path": "/v1/urltoimage",
|
|
24
|
+
"input_schema": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"properties": {
|
|
27
|
+
"url": { "type": "string", "description": "The URL to screenshot" },
|
|
28
|
+
"format": { "type": "string", "enum": ["jpeg", "png", "webp"], "default": "jpeg" },
|
|
29
|
+
"width": { "type": "integer", "default": 1920, "description": "Viewport width in CSS pixels" },
|
|
30
|
+
"height": { "type": "integer", "default": 1080, "description": "Viewport height in CSS pixels" },
|
|
31
|
+
"quality": { "type": "integer", "minimum": 0, "maximum": 100, "default": 80, "description": "JPEG/WebP quality" },
|
|
32
|
+
"full_page": { "type": "boolean", "default": false, "description": "Capture the entire scrollable page" },
|
|
33
|
+
"scroll_page": { "type": "boolean", "default": false, "description": "Scroll through the page before capturing (triggers lazy-loaded images)" },
|
|
34
|
+
"fresh": { "type": "boolean", "default": false, "description": "Bypass the cache and re-render" },
|
|
35
|
+
"ttl": { "type": "integer", "default": 86400, "description": "Cache TTL in seconds (max 2592000 = 30 days)" },
|
|
36
|
+
"delay": { "type": "integer", "minimum": 0, "maximum": 10, "description": "Extra wait time in seconds after page load" },
|
|
37
|
+
"wait_for": { "type": "string", "description": "CSS selector to wait for before capturing" },
|
|
38
|
+
"wait_until": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"enum": ["page_loaded", "network_idle"],
|
|
41
|
+
"default": "page_loaded"
|
|
42
|
+
},
|
|
43
|
+
"user_agent": { "type": "string", "description": "Override the user agent string" },
|
|
44
|
+
"no_ads": { "type": "boolean", "default": false, "description": "Block ad networks" },
|
|
45
|
+
"no_cookie_banners": { "type": "boolean", "default": false, "description": "Auto-dismiss cookie banners" },
|
|
46
|
+
"no_tracking": { "type": "boolean", "default": false, "description": "Block tracking scripts" },
|
|
47
|
+
"thumbnail_width": { "type": "integer", "description": "Resize the output to this width" },
|
|
48
|
+
"thumbnail_height": { "type": "integer", "description": "Resize the output to this height" },
|
|
49
|
+
"css": { "type": "string", "description": "Custom CSS to inject" },
|
|
50
|
+
"js": { "type": "string", "description": "Custom JS to execute" },
|
|
51
|
+
"extract_html": { "type": "boolean", "default": false, "description": "Return the rendered HTML instead of an image" },
|
|
52
|
+
"extract_text": { "type": "boolean", "default": false, "description": "Return the page text instead of an image" }
|
|
53
|
+
},
|
|
54
|
+
"required": ["url"]
|
|
55
|
+
},
|
|
56
|
+
"query_params": [
|
|
57
|
+
"url", "format", "width", "height", "quality",
|
|
58
|
+
"full_page", "scroll_page", "fresh", "ttl",
|
|
59
|
+
"delay", "wait_for", "wait_until", "user_agent",
|
|
60
|
+
"no_ads", "no_cookie_banners", "no_tracking",
|
|
61
|
+
"thumbnail_width", "thumbnail_height",
|
|
62
|
+
"css", "js", "extract_html", "extract_text"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
package/src/apps/apify.json
CHANGED
package/src/apps/archive.json
CHANGED
package/src/apps/arest.json
CHANGED
package/src/apps/asana.json
CHANGED
package/src/apps/aws-ec2.json
CHANGED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "bannerbear",
|
|
3
|
+
"name": "Bannerbear",
|
|
4
|
+
"description": "Templated image and video generation API. NOT a screenshot service — you build a template once in their visual editor, then call the API with `modifications` (text replacements, image swaps) to produce on-brand variants. Great for social media cards, OG images, certificates, ad creative at scale.",
|
|
5
|
+
"logo": "https://www.google.com/s2/favicons?domain=bannerbear.com&sz=128",
|
|
6
|
+
"categories": ["images", "templates", "social-media", "automation"],
|
|
7
|
+
"base_url": "https://api.bannerbear.com/v2",
|
|
8
|
+
"auth": {
|
|
9
|
+
"types": ["bearer"],
|
|
10
|
+
"headers": {
|
|
11
|
+
"Authorization": "Bearer {{token}}"
|
|
12
|
+
},
|
|
13
|
+
"credential_fields": [
|
|
14
|
+
{ "name": "token", "label": "Bannerbear project API key" }
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"tools": [
|
|
18
|
+
{
|
|
19
|
+
"name": "create_image",
|
|
20
|
+
"description": "Render a single image from a template with the given modifications. Returns a job — the response contains an `image_url` field once status is 'completed'. Use `synchronous=true` to wait inline (slower but simpler) or poll get_image with the returned uid.",
|
|
21
|
+
"method": "POST",
|
|
22
|
+
"path": "/images",
|
|
23
|
+
"input_schema": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"template": { "type": "string", "description": "Template uid (from your Bannerbear dashboard)" },
|
|
27
|
+
"modifications": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": { "type": "object" },
|
|
30
|
+
"description": "Array of layer modifications. Each is { name: 'layer_name', text: '...' } for text layers, { name: 'layer_name', image_url: '...' } for image layers, or { name: 'layer_name', color: '#FF0000' } for color layers."
|
|
31
|
+
},
|
|
32
|
+
"webhook_url": { "type": "string", "description": "URL to POST to when the image is ready" },
|
|
33
|
+
"transparent": { "type": "boolean", "default": false, "description": "Render with transparent background (PNG only)" },
|
|
34
|
+
"render_pdf": { "type": "boolean", "default": false, "description": "Also render a PDF version" },
|
|
35
|
+
"metadata": { "type": "string", "description": "Free-text field returned in the response — useful for correlating async jobs" },
|
|
36
|
+
"synchronous": { "type": "boolean", "default": false, "description": "Wait for the image to render before responding (slower but no polling needed)" }
|
|
37
|
+
},
|
|
38
|
+
"required": ["template", "modifications"]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "get_image",
|
|
43
|
+
"description": "Get an image by uid. Use this to poll a previously created image until status='completed'.",
|
|
44
|
+
"method": "GET",
|
|
45
|
+
"path": "/images/{uid}",
|
|
46
|
+
"input_schema": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"uid": { "type": "string" }
|
|
50
|
+
},
|
|
51
|
+
"required": ["uid"]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "list_images",
|
|
56
|
+
"description": "List recent images created in the project.",
|
|
57
|
+
"method": "GET",
|
|
58
|
+
"path": "/images",
|
|
59
|
+
"input_schema": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"properties": {
|
|
62
|
+
"page": { "type": "integer", "default": 1 },
|
|
63
|
+
"limit": { "type": "integer", "default": 25 }
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "create_collection",
|
|
69
|
+
"description": "Render a collection of images from one template — same template, multiple variants. Useful for batch generation (e.g. one social card per blog post).",
|
|
70
|
+
"method": "POST",
|
|
71
|
+
"path": "/collections",
|
|
72
|
+
"input_schema": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"properties": {
|
|
75
|
+
"template_set": { "type": "string", "description": "Template set uid" },
|
|
76
|
+
"modifications": {
|
|
77
|
+
"type": "array",
|
|
78
|
+
"items": { "type": "object" }
|
|
79
|
+
},
|
|
80
|
+
"webhook_url": { "type": "string" },
|
|
81
|
+
"metadata": { "type": "string" }
|
|
82
|
+
},
|
|
83
|
+
"required": ["template_set", "modifications"]
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "create_video",
|
|
88
|
+
"description": "Render a video from a Bannerbear video template. Same modifications shape as images. Async — poll get_video.",
|
|
89
|
+
"method": "POST",
|
|
90
|
+
"path": "/videos",
|
|
91
|
+
"input_schema": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"properties": {
|
|
94
|
+
"video_template": { "type": "string" },
|
|
95
|
+
"modifications": { "type": "array", "items": { "type": "object" } },
|
|
96
|
+
"input_media_url": { "type": "string", "description": "Source video URL if the template includes a video layer" },
|
|
97
|
+
"webhook_url": { "type": "string" },
|
|
98
|
+
"metadata": { "type": "string" }
|
|
99
|
+
},
|
|
100
|
+
"required": ["video_template"]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "get_video",
|
|
105
|
+
"method": "GET",
|
|
106
|
+
"path": "/videos/{uid}",
|
|
107
|
+
"description": "Poll a video job by uid.",
|
|
108
|
+
"input_schema": {
|
|
109
|
+
"type": "object",
|
|
110
|
+
"properties": { "uid": { "type": "string" } },
|
|
111
|
+
"required": ["uid"]
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "list_templates",
|
|
116
|
+
"description": "List the templates available in the project.",
|
|
117
|
+
"method": "GET",
|
|
118
|
+
"path": "/templates",
|
|
119
|
+
"input_schema": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"properties": {
|
|
122
|
+
"page": { "type": "integer", "default": 1 },
|
|
123
|
+
"limit": { "type": "integer", "default": 25 }
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "get_template",
|
|
129
|
+
"description": "Get a template by uid, including its layer structure (so the agent knows which `name` values to pass in `modifications`).",
|
|
130
|
+
"method": "GET",
|
|
131
|
+
"path": "/templates/{uid}",
|
|
132
|
+
"input_schema": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"properties": { "uid": { "type": "string" } },
|
|
135
|
+
"required": ["uid"]
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|