@nordsym/apiclaw 2.2.0 → 2.2.1
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/README.md +15 -2
- package/dist/bin-http.js +0 -0
- package/dist/bin.bundled.js +79288 -0
- package/dist/gateway-client.d.ts.map +1 -1
- package/dist/gateway-client.js +24 -2
- package/dist/gateway-client.js.map +1 -1
- package/dist/index.bundled.js +61263 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +7 -2
- package/.claude/settings.local.json +0 -13
- package/.env.prod +0 -1
- package/apiclaw-README.md +0 -494
- package/convex/_generated/api.d.ts +0 -145
- package/convex/_generated/api.js +0 -23
- package/convex/_generated/dataModel.d.ts +0 -60
- package/convex/_generated/server.d.ts +0 -143
- package/convex/_generated/server.js +0 -93
- package/convex/_listWorkspaces.ts +0 -13
- package/convex/adminActivate.ts +0 -53
- package/convex/adminStats.ts +0 -306
- package/convex/agents.ts +0 -939
- package/convex/analytics.ts +0 -187
- package/convex/apiKeys.ts +0 -220
- package/convex/backfillAnalytics.ts +0 -272
- package/convex/backfillSearchLogs.ts +0 -35
- package/convex/billing.ts +0 -834
- package/convex/capabilities.ts +0 -157
- package/convex/chains.ts +0 -1318
- package/convex/credits.ts +0 -211
- package/convex/crons.ts +0 -65
- package/convex/debugFilestackLogs.ts +0 -16
- package/convex/debugGetToken.ts +0 -18
- package/convex/directCall.ts +0 -713
- package/convex/earnProgress.ts +0 -753
- package/convex/email.ts +0 -329
- package/convex/feedback.ts +0 -265
- package/convex/funnel.ts +0 -431
- package/convex/guards.ts +0 -174
- package/convex/http.ts +0 -3756
- package/convex/inbound.ts +0 -32
- package/convex/logs.ts +0 -701
- package/convex/migrateFilestack.ts +0 -81
- package/convex/migratePartnersProd.ts +0 -174
- package/convex/migratePratham.ts +0 -126
- package/convex/migrateProviderWorkspaces.ts +0 -175
- package/convex/mou.ts +0 -91
- package/convex/nurture.ts +0 -355
- package/convex/providerKeys.ts +0 -289
- package/convex/providers.ts +0 -1135
- package/convex/purchases.ts +0 -183
- package/convex/ratelimit.ts +0 -104
- package/convex/schema.ts +0 -926
- package/convex/searchLogs.ts +0 -265
- package/convex/seedAPILayerAPIs.ts +0 -191
- package/convex/seedDirectCallConfigs.ts +0 -336
- package/convex/seedPratham.ts +0 -149
- package/convex/spendAlerts.ts +0 -442
- package/convex/stripeActions.ts +0 -607
- package/convex/teams.ts +0 -243
- package/convex/telemetry.ts +0 -81
- package/convex/tsconfig.json +0 -25
- package/convex/updateAPIStatus.ts +0 -44
- package/convex/usage.ts +0 -260
- package/convex/usageReports.ts +0 -357
- package/convex/waitlist.ts +0 -55
- package/convex/webhooks.ts +0 -494
- package/convex/workspaceSettings.ts +0 -143
- package/convex/workspaces.ts +0 -1331
- package/convex.json +0 -3
- package/direct-test.mjs +0 -51
- package/email-templates/filestack-provider-outreach.html +0 -162
- package/email-templates/partnership-template.html +0 -116
- package/email-templates/pratham-draft-preview.txt +0 -57
- package/email-templates/pratham-partnership-draft.html +0 -141
- package/reports/APIClaw-Session-Report-2026-04-05.pdf +0 -0
- package/reports/pipeline/PIPELINE-REPORT.json +0 -153
- package/reports/pipeline/acquire_apisguru.json +0 -17
- package/reports/pipeline/capabilities.json +0 -38
- package/reports/pipeline/discover_azure_recursive.json +0 -1551
- package/reports/pipeline/discover_github.json +0 -25
- package/reports/pipeline/discover_github_repos.json +0 -49
- package/reports/pipeline/discover_swaggerhub.json +0 -24
- package/reports/pipeline/discover_well_known.json +0 -23
- package/reports/pipeline/fetch_specs.json +0 -19
- package/reports/pipeline/generate_providers.json +0 -14
- package/reports/pipeline/match_registry.json +0 -11
- package/reports/pipeline/parse_specs.json +0 -17
- package/reports/pipeline/promote_candidates.json +0 -34
- package/reports/pipeline/validate.json +0 -30
- package/reports/pipeline/validate_smoke_details.json +0 -3835
- package/reports/session-report-2026-04-05.html +0 -433
- package/seed-apis-direct.mjs +0 -106
- package/src/access-control.ts +0 -174
- package/src/adapters/base.ts +0 -364
- package/src/adapters/claude-desktop.ts +0 -41
- package/src/adapters/cline.ts +0 -88
- package/src/adapters/continue.ts +0 -91
- package/src/adapters/cursor.ts +0 -43
- package/src/adapters/custom.ts +0 -188
- package/src/adapters/detect.ts +0 -202
- package/src/adapters/index.ts +0 -47
- package/src/adapters/windsurf.ts +0 -44
- package/src/bin-http.ts +0 -45
- package/src/bin.ts +0 -34
- package/src/capability-router.ts +0 -331
- package/src/chainExecutor.ts +0 -730
- package/src/chainResolver.test.ts +0 -246
- package/src/chainResolver.ts +0 -658
- package/src/cli/commands/demo.ts +0 -109
- package/src/cli/commands/doctor.ts +0 -435
- package/src/cli/commands/index.ts +0 -9
- package/src/cli/commands/login.ts +0 -203
- package/src/cli/commands/mcp-install.ts +0 -373
- package/src/cli/commands/restore.ts +0 -333
- package/src/cli/commands/setup.ts +0 -297
- package/src/cli/commands/uninstall.ts +0 -240
- package/src/cli/index.ts +0 -148
- package/src/cli.ts +0 -370
- package/src/confirmation.ts +0 -296
- package/src/credentials.ts +0 -455
- package/src/credits.ts +0 -329
- package/src/crypto.ts +0 -75
- package/src/discovery.ts +0 -568
- package/src/enterprise/env.ts +0 -156
- package/src/enterprise/index.ts +0 -7
- package/src/enterprise/script-generator.ts +0 -481
- package/src/execute-dynamic.ts +0 -617
- package/src/execute.ts +0 -2386
- package/src/funnel-client.ts +0 -168
- package/src/funnel.test.ts +0 -187
- package/src/gateway-client.ts +0 -192
- package/src/hivr-whitelist.ts +0 -110
- package/src/http-api.ts +0 -286
- package/src/http-server-minimal.ts +0 -154
- package/src/index.ts +0 -2702
- package/src/intelligent-gateway.ts +0 -339
- package/src/mcp-analytics.ts +0 -156
- package/src/metered.ts +0 -149
- package/src/open-apis-generated.ts +0 -157
- package/src/open-apis.ts +0 -558
- package/src/postinstall.ts +0 -40
- package/src/product-whitelist.ts +0 -246
- package/src/proxy.ts +0 -36
- package/src/registration-guard.ts +0 -117
- package/src/session.ts +0 -129
- package/src/stripe.ts +0 -497
- package/src/telemetry.ts +0 -71
- package/src/test.ts +0 -135
- package/src/types/convex-api.d.ts +0 -20
- package/src/types/convex-api.ts +0 -21
- package/src/types.ts +0 -109
- package/src/ui/colors.ts +0 -219
- package/src/ui/errors.ts +0 -394
- package/src/ui/index.ts +0 -17
- package/src/ui/prompts.ts +0 -390
- package/src/ui/spinner.ts +0 -325
- package/src/utils/backup.ts +0 -224
- package/src/utils/config.ts +0 -318
- package/src/utils/os.ts +0 -124
- package/src/utils/paths.ts +0 -203
- package/src/webhook.ts +0 -107
- package/test-10-working.cjs +0 -97
- package/test-14-final.cjs +0 -96
- package/test-actual-handlers.ts +0 -92
- package/test-apilayer-all-14.ts +0 -249
- package/test-apilayer-fixed.ts +0 -248
- package/test-direct-endpoints.ts +0 -174
- package/test-exact-endpoints.ts +0 -144
- package/test-final.ts +0 -83
- package/test-full-routing.ts +0 -100
- package/test-handlers-correct.ts +0 -217
- package/test-numverify-key.ts +0 -41
- package/test-via-handlers.ts +0 -92
- package/test-worldnews.mjs +0 -26
- package/tsconfig.json +0 -20
package/convex.json
DELETED
package/direct-test.mjs
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { executeAPICall } from './dist/execute.js';
|
|
2
|
-
|
|
3
|
-
const tests = [
|
|
4
|
-
'exchange_rates', 'market_data', 'aviation', 'pdf_generate',
|
|
5
|
-
'screenshot', 'verify_email', 'verify_number', 'vat_check',
|
|
6
|
-
'world_news', 'finance_news', 'scrape', 'image_crop',
|
|
7
|
-
'skills', 'form_submit'
|
|
8
|
-
];
|
|
9
|
-
|
|
10
|
-
const params = {
|
|
11
|
-
exchange_rates: { base: 'USD', symbols: 'EUR' },
|
|
12
|
-
market_data: { symbols: 'AAPL' },
|
|
13
|
-
aviation: { flight_iata: 'AA100' },
|
|
14
|
-
pdf_generate: { document_url: 'https://example.com' },
|
|
15
|
-
screenshot: { url: 'https://example.com' },
|
|
16
|
-
verify_email: { email: 'test@example.com' },
|
|
17
|
-
verify_number: { number: '+14158586273' },
|
|
18
|
-
vat_check: { vat_number: 'LU26375245' },
|
|
19
|
-
world_news: { url: 'https://example.com/news' },
|
|
20
|
-
finance_news: { tickers: 'AAPL' },
|
|
21
|
-
scrape: { url: 'https://example.com' },
|
|
22
|
-
image_crop: { url: 'https://example.com/img.jpg', width: '200' },
|
|
23
|
-
skills: { q: 'javascript' },
|
|
24
|
-
form_submit: { endpoint: 'test', data: {} }
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
let working = 0, blocked = 0;
|
|
28
|
-
|
|
29
|
-
console.log('🔬 Testing all 14 APILayer services...\n');
|
|
30
|
-
|
|
31
|
-
for (const action of tests) {
|
|
32
|
-
try {
|
|
33
|
-
const result = await executeAPICall('apilayer', action, params[action]);
|
|
34
|
-
|
|
35
|
-
if (result.success) {
|
|
36
|
-
console.log(`✅ ${action}`);
|
|
37
|
-
working++;
|
|
38
|
-
} else {
|
|
39
|
-
const errMsg = result.error || result.message || 'Failed';
|
|
40
|
-
console.log(`❌ ${action}: ${errMsg.substring(0, 60)}`);
|
|
41
|
-
blocked++;
|
|
42
|
-
}
|
|
43
|
-
} catch (e) {
|
|
44
|
-
console.log(`❌ ${action}: ${e.message.substring(0, 60)}`);
|
|
45
|
-
blocked++;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
console.log(`\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━`);
|
|
50
|
-
console.log(`📊 FAKTISKA SIFFROR: ${working}/14 working, ${blocked}/14 blocked`);
|
|
51
|
-
console.log(`━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n`);
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Your Filestack API is being discovered</title>
|
|
7
|
-
<style>
|
|
8
|
-
@media (prefers-color-scheme: dark) {
|
|
9
|
-
.email-bg { background-color: #0f0f0f !important; }
|
|
10
|
-
.email-card { background-color: #1a1a1a !important; border-color: #2a2a2a !important; }
|
|
11
|
-
.email-header { background-color: #1a1a1a !important; border-color: #2a2a2a !important; }
|
|
12
|
-
.email-footer { background-color: #111111 !important; border-color: #2a2a2a !important; }
|
|
13
|
-
.text-primary { color: #f0f0f0 !important; }
|
|
14
|
-
.text-secondary { color: #a0a0a0 !important; }
|
|
15
|
-
.text-muted { color: #6b6b6b !important; }
|
|
16
|
-
.stat-box { background-color: #222222 !important; border-color: #333333 !important; }
|
|
17
|
-
.highlight-box { background-color: #1f1010 !important; }
|
|
18
|
-
.code-block { background-color: #111111 !important; color: #d0d0d0 !important; }
|
|
19
|
-
.footer-link { color: #ff6b6b !important; }
|
|
20
|
-
}
|
|
21
|
-
</style>
|
|
22
|
-
</head>
|
|
23
|
-
<body style="margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;">
|
|
24
|
-
|
|
25
|
-
<table class="email-bg" width="100%" cellpadding="0" cellspacing="0" style="background-color: #fafafa; padding: 40px 20px;">
|
|
26
|
-
<tr>
|
|
27
|
-
<td align="center">
|
|
28
|
-
|
|
29
|
-
<table class="email-card" width="600" cellpadding="0" cellspacing="0" style="background-color: #ffffff; border-radius: 16px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); overflow: hidden; border: 1px solid #e5e7eb; max-width: 600px;">
|
|
30
|
-
|
|
31
|
-
<!-- Header -->
|
|
32
|
-
<tr>
|
|
33
|
-
<td class="email-header" style="background-color: #ffffff; border-bottom: 1px solid #e5e7eb; padding: 32px; text-align: center;">
|
|
34
|
-
<div style="font-size: 28px; font-weight: bold; color: #ef4444; margin-bottom: 12px;">🦞 APIClaw</div>
|
|
35
|
-
<p class="text-secondary" style="margin: 0 0 12px 0; color: #6b7280; font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase;">The API Layer For AI Agents</p>
|
|
36
|
-
<h1 class="text-primary" style="margin: 0; font-size: 22px; font-weight: 700; color: #1a1a1a; line-height: 1.3;">Your API is being discovered by AI agents</h1>
|
|
37
|
-
<p class="text-secondary" style="margin: 8px 0 0 0; color: #6b7280; font-size: 14px;">Provider Workspace Update · April 2026</p>
|
|
38
|
-
<div style="height: 3px; width: 60px; background-color: #ef4444; margin: 16px auto 0; border-radius: 2px;"></div>
|
|
39
|
-
</td>
|
|
40
|
-
</tr>
|
|
41
|
-
|
|
42
|
-
<!-- Body -->
|
|
43
|
-
<tr>
|
|
44
|
-
<td style="padding: 32px;">
|
|
45
|
-
|
|
46
|
-
<p class="text-primary" style="margin: 0 0 20px 0; font-size: 16px; line-height: 1.6; color: #1a1a1a;">
|
|
47
|
-
Hey Filestack team,
|
|
48
|
-
</p>
|
|
49
|
-
|
|
50
|
-
<p class="text-secondary" style="margin: 0 0 20px 0; font-size: 16px; line-height: 1.6; color: #4b5563;">
|
|
51
|
-
Your API was registered on APIClaw, the MCP layer that AI agents use to discover and call APIs without needing to hardcode integrations. We're sending this because there's now a provider workspace where you can see exactly what's happening.
|
|
52
|
-
</p>
|
|
53
|
-
|
|
54
|
-
<!-- Stats row — 2 stats only -->
|
|
55
|
-
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 24px 0;">
|
|
56
|
-
<tr>
|
|
57
|
-
<td width="50%" style="padding: 4px;">
|
|
58
|
-
<div class="stat-box" style="background-color: #fafafa; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px 16px; text-align: center;">
|
|
59
|
-
<div style="font-size: 32px; font-weight: 700; color: #ef4444;">61</div>
|
|
60
|
-
<div class="text-muted" style="font-size: 12px; color: #6b7280; margin-top: 4px;">API discoveries<br>last 14 days</div>
|
|
61
|
-
</div>
|
|
62
|
-
</td>
|
|
63
|
-
<td width="50%" style="padding: 4px;">
|
|
64
|
-
<div class="stat-box" style="background-color: #fafafa; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px 16px; text-align: center;">
|
|
65
|
-
<div style="font-size: 32px; font-weight: 700; color: #ef4444;">22k+</div>
|
|
66
|
-
<div class="text-muted" style="font-size: 12px; color: #6b7280; margin-top: 4px;">APIs indexed<br>in catalog</div>
|
|
67
|
-
</div>
|
|
68
|
-
</td>
|
|
69
|
-
</tr>
|
|
70
|
-
</table>
|
|
71
|
-
|
|
72
|
-
<!-- Queries -->
|
|
73
|
-
<div style="margin: 24px 0;">
|
|
74
|
-
<h2 style="margin: 0 0 12px 0; font-size: 16px; font-weight: 600; color: #ef4444; border-bottom: 2px solid #f3f4f6; padding-bottom: 8px;">
|
|
75
|
-
What AI agents searched for before finding Filestack
|
|
76
|
-
</h2>
|
|
77
|
-
<div class="code-block" style="background-color: #f9fafb; border-radius: 8px; padding: 16px; font-family: 'Courier New', monospace; font-size: 13px; color: #374151; line-height: 1.8;">
|
|
78
|
-
"file upload transform cdn"<br>
|
|
79
|
-
"secure file upload with image processing"<br>
|
|
80
|
-
"upload images users"<br>
|
|
81
|
-
"resize image on upload"<br>
|
|
82
|
-
"OCR document scan"<br>
|
|
83
|
-
"virus scan uploaded files"<br>
|
|
84
|
-
"convert pdf to image"<br>
|
|
85
|
-
<span style="color: #9ca3af;">+ 54 more queries</span>
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
88
|
-
|
|
89
|
-
<!-- Highlight box -->
|
|
90
|
-
<div class="highlight-box" style="margin: 24px 0; background-color: #fef2f2; border-left: 4px solid #ef4444; padding: 16px 20px; border-radius: 8px;">
|
|
91
|
-
<h3 style="margin: 0 0 8px 0; font-size: 15px; font-weight: 600; color: #ef4444;">
|
|
92
|
-
Your provider dashboard is live
|
|
93
|
-
</h3>
|
|
94
|
-
<p class="text-secondary" style="margin: 0; color: #4b5563; font-size: 14px; line-height: 1.6;">
|
|
95
|
-
Log in with <strong>marketing@filestack.com</strong> to see real-time discovery analytics, which agents are calling your API, and what queries are driving traffic. This is the same workspace that partners like APILayer use.
|
|
96
|
-
</p>
|
|
97
|
-
</div>
|
|
98
|
-
|
|
99
|
-
<!-- What APIClaw is -->
|
|
100
|
-
<div style="margin: 24px 0;">
|
|
101
|
-
<h2 style="margin: 0 0 12px 0; font-size: 16px; font-weight: 600; color: #ef4444; border-bottom: 2px solid #f3f4f6; padding-bottom: 8px;">
|
|
102
|
-
What is APIClaw?
|
|
103
|
-
</h2>
|
|
104
|
-
<p class="text-secondary" style="margin: 0 0 12px 0; font-size: 15px; line-height: 1.6; color: #4b5563;">
|
|
105
|
-
APIClaw is the MCP server that AI agents use to discover APIs without hardcoding. Instead of an agent needing to know about Filestack specifically, it just asks <em>"find me a file upload API"</em> and APIClaw returns your API with full documentation.
|
|
106
|
-
</p>
|
|
107
|
-
<p class="text-secondary" style="margin: 0; font-size: 15px; line-height: 1.6; color: #4b5563;">
|
|
108
|
-
Think of it as the API discovery layer sitting between Claude, GPT-4, and other agents and the actual API providers like Filestack.
|
|
109
|
-
</p>
|
|
110
|
-
</div>
|
|
111
|
-
|
|
112
|
-
<!-- CTA -->
|
|
113
|
-
<div style="text-align: center; margin: 32px 0;">
|
|
114
|
-
<a href="https://apiclaw.cloud/providers/dashboard" style="display: inline-block; background-color: #ef4444; color: #ffffff; text-decoration: none; padding: 14px 36px; border-radius: 8px; font-weight: 600; font-size: 16px; box-shadow: 0 2px 4px rgba(239,68,68,0.3);">
|
|
115
|
-
View Your Provider Dashboard
|
|
116
|
-
</a>
|
|
117
|
-
<p class="text-muted" style="margin: 12px 0 0 0; font-size: 13px; color: #9ca3af;">
|
|
118
|
-
Log in with marketing@filestack.com · No password needed
|
|
119
|
-
</p>
|
|
120
|
-
</div>
|
|
121
|
-
|
|
122
|
-
<!-- Closing -->
|
|
123
|
-
<p class="text-secondary" style="margin: 24px 0 0 0; font-size: 15px; line-height: 1.6; color: #4b5563;">
|
|
124
|
-
Going forward, every time an AI agent searches for file upload, image transformation, or document processing, Filestack shows up and that discovery is logged in your workspace. The data is yours.
|
|
125
|
-
</p>
|
|
126
|
-
|
|
127
|
-
<p class="text-secondary" style="margin: 16px 0 0 0; font-size: 15px; line-height: 1.6; color: #4b5563;">
|
|
128
|
-
Happy to jump on a quick call if there's interest in a deeper integration or a Direct Call setup (where agents can call Filestack APIs without users needing their own API key). Just reply to this.
|
|
129
|
-
</p>
|
|
130
|
-
|
|
131
|
-
<!-- Signature -->
|
|
132
|
-
<p class="text-secondary" style="margin: 24px 0 0 0; font-size: 15px; line-height: 1.6; color: #4b5563;">
|
|
133
|
-
Best,<br>
|
|
134
|
-
<strong class="text-primary" style="color: #1a1a1a;">Gustav Hemmingsson</strong><br>
|
|
135
|
-
<span class="text-muted" style="color: #6b7280; font-size: 14px;">CEO, NordSym AB · APIClaw</span><br>
|
|
136
|
-
<a href="mailto:gustav@nordsym.com" style="color: #ef4444; text-decoration: none; font-size: 14px;">gustav@nordsym.com</a>
|
|
137
|
-
</p>
|
|
138
|
-
|
|
139
|
-
</td>
|
|
140
|
-
</tr>
|
|
141
|
-
|
|
142
|
-
<!-- Footer -->
|
|
143
|
-
<tr>
|
|
144
|
-
<td class="email-footer" style="background-color: #f9fafb; border-top: 1px solid #e5e7eb; padding: 20px 32px; text-align: center;">
|
|
145
|
-
<p class="text-muted" style="margin: 0 0 6px 0; color: #6b7280; font-size: 13px;">
|
|
146
|
-
APIClaw · NordSym AB · April 2026
|
|
147
|
-
</p>
|
|
148
|
-
<p style="margin: 0; font-size: 12px; color: #9ca3af;">
|
|
149
|
-
You're receiving this because Filestack is registered as a provider on APIClaw.<br>
|
|
150
|
-
Questions? <a class="footer-link" href="mailto:gustav@nordsym.com" style="color: #ef4444; text-decoration: none;">gustav@nordsym.com</a>
|
|
151
|
-
</p>
|
|
152
|
-
</td>
|
|
153
|
-
</tr>
|
|
154
|
-
|
|
155
|
-
</table>
|
|
156
|
-
|
|
157
|
-
</td>
|
|
158
|
-
</tr>
|
|
159
|
-
</table>
|
|
160
|
-
|
|
161
|
-
</body>
|
|
162
|
-
</html>
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>APIClaw Email Template</title>
|
|
7
|
-
</head>
|
|
8
|
-
<body style="margin: 0; padding: 0; background-color: #fafafa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;">
|
|
9
|
-
<table width="100%" cellpadding="0" cellspacing="0" style="background-color: #fafafa; padding: 40px 20px;">
|
|
10
|
-
<tr>
|
|
11
|
-
<td align="center">
|
|
12
|
-
<!-- Main container -->
|
|
13
|
-
<table width="600" cellpadding="0" cellspacing="0" style="background-color: #ffffff; border-radius: 16px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); overflow: hidden; border: 1px solid #e5e7eb;">
|
|
14
|
-
|
|
15
|
-
<!-- Header -->
|
|
16
|
-
<tr>
|
|
17
|
-
<td style="background-color: #ffffff; border-bottom: 1px solid #e5e7eb; padding: 32px; text-align: center;">
|
|
18
|
-
<div style="font-size: 28px; font-weight: bold; color: #ef4444; margin-bottom: 16px;">🦞 APIClaw</div>
|
|
19
|
-
<h1 style="margin: 0; font-size: 24px; font-weight: bold; color: #1a1a1a;">{{EMAIL_TITLE}}</h1>
|
|
20
|
-
<p style="margin: 4px 0 0 0; color: #6b7280; font-size: 14px;">{{EMAIL_SUBTITLE}}</p>
|
|
21
|
-
<div style="height: 4px; width: 80px; background-color: #ef4444; margin: 16px auto 0; border-radius: 2px;"></div>
|
|
22
|
-
</td>
|
|
23
|
-
</tr>
|
|
24
|
-
|
|
25
|
-
<!-- Content -->
|
|
26
|
-
<tr>
|
|
27
|
-
<td style="padding: 32px;">
|
|
28
|
-
<!-- Greeting -->
|
|
29
|
-
<p style="margin: 0 0 20px 0; color: #1a1a1a; font-size: 16px; line-height: 1.6;">
|
|
30
|
-
{{GREETING}}
|
|
31
|
-
</p>
|
|
32
|
-
|
|
33
|
-
<!-- Intro paragraph -->
|
|
34
|
-
<p style="margin: 0 0 20px 0; color: #4b5563; font-size: 16px; line-height: 1.6;">
|
|
35
|
-
{{INTRO_TEXT}}
|
|
36
|
-
</p>
|
|
37
|
-
|
|
38
|
-
<!-- Section 1 -->
|
|
39
|
-
<div style="margin: 24px 0;">
|
|
40
|
-
<h2 style="margin: 0 0 12px 0; font-size: 18px; font-weight: 600; color: #ef4444; border-bottom: 2px solid #f3f4f6; padding-bottom: 8px;">
|
|
41
|
-
{{SECTION_1_TITLE}}
|
|
42
|
-
</h2>
|
|
43
|
-
{{SECTION_1_CONTENT}}
|
|
44
|
-
</div>
|
|
45
|
-
|
|
46
|
-
<!-- Highlight Box (optional) -->
|
|
47
|
-
<div style="margin: 24px 0; background-color: #fef2f2; border-left: 4px solid #ef4444; padding: 16px; border-radius: 8px;">
|
|
48
|
-
<h3 style="margin: 0 0 8px 0; font-size: 16px; font-weight: 600; color: #ef4444;">
|
|
49
|
-
{{HIGHLIGHT_TITLE}}
|
|
50
|
-
</h3>
|
|
51
|
-
<p style="margin: 0; color: #4b5563; font-size: 14px; line-height: 1.6;">
|
|
52
|
-
{{HIGHLIGHT_TEXT}}
|
|
53
|
-
</p>
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
<!-- Section 2 -->
|
|
57
|
-
<div style="margin: 24px 0;">
|
|
58
|
-
<h2 style="margin: 0 0 12px 0; font-size: 18px; font-weight: 600; color: #ef4444; border-bottom: 2px solid #f3f4f6; padding-bottom: 8px;">
|
|
59
|
-
{{SECTION_2_TITLE}}
|
|
60
|
-
</h2>
|
|
61
|
-
{{SECTION_2_CONTENT}}
|
|
62
|
-
</div>
|
|
63
|
-
|
|
64
|
-
<!-- Code/Technical Block (optional) -->
|
|
65
|
-
<div style="background-color: #f9fafb; padding: 16px; border-radius: 8px; font-family: 'Courier New', monospace; font-size: 13px; color: #374151; line-height: 1.6;">
|
|
66
|
-
{{CODE_BLOCK}}
|
|
67
|
-
</div>
|
|
68
|
-
|
|
69
|
-
<!-- CTA Button -->
|
|
70
|
-
<div style="text-align: center; margin: 32px 0;">
|
|
71
|
-
<a href="{{CTA_LINK}}" style="display: inline-block; background-color: #ef4444; color: #ffffff; text-decoration: none; padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 16px; box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);">
|
|
72
|
-
{{CTA_TEXT}}
|
|
73
|
-
</a>
|
|
74
|
-
</div>
|
|
75
|
-
|
|
76
|
-
<!-- Closing -->
|
|
77
|
-
<p style="margin: 24px 0 0 0; color: #4b5563; font-size: 16px; line-height: 1.6;">
|
|
78
|
-
{{CLOSING_TEXT}}
|
|
79
|
-
</p>
|
|
80
|
-
|
|
81
|
-
<!-- Signature -->
|
|
82
|
-
<p style="margin: 20px 0 0 0; color: #4b5563; font-size: 16px; line-height: 1.6;">
|
|
83
|
-
Best,<br>
|
|
84
|
-
<strong style="color: #1a1a1a;">Gustav Hemmingsson</strong><br>
|
|
85
|
-
<span style="color: #6b7280; font-size: 14px;">CEO, NordSym AB</span>
|
|
86
|
-
</p>
|
|
87
|
-
</td>
|
|
88
|
-
</tr>
|
|
89
|
-
|
|
90
|
-
<!-- Footer -->
|
|
91
|
-
<tr>
|
|
92
|
-
<td style="background-color: #f9fafb; border-top: 1px solid #e5e7eb; padding: 24px; text-align: center;">
|
|
93
|
-
<p style="margin: 0 0 8px 0; color: #6b7280; font-size: 13px;">
|
|
94
|
-
{{FOOTER_TEXT}}
|
|
95
|
-
</p>
|
|
96
|
-
<p style="margin: 0; color: #9ca3af; font-size: 12px;">
|
|
97
|
-
Questions? Contact <a href="mailto:gustav@nordsym.com" style="color: #ef4444; text-decoration: none;">gustav@nordsym.com</a>
|
|
98
|
-
</p>
|
|
99
|
-
</td>
|
|
100
|
-
</tr>
|
|
101
|
-
|
|
102
|
-
</table>
|
|
103
|
-
|
|
104
|
-
<!-- Signature -->
|
|
105
|
-
<div style="margin-top: 32px; text-align: center; color: #9ca3af; font-size: 12px;">
|
|
106
|
-
<p style="margin: 0;">NordSym AB (559535-5768) • Sweden</p>
|
|
107
|
-
<p style="margin: 4px 0 0 0;">
|
|
108
|
-
<a href="https://apiclaw.cloud" style="color: #ef4444; text-decoration: none;">apiclaw.cloud</a> •
|
|
109
|
-
<a href="https://github.com/nordsym/apiclaw" style="color: #ef4444; text-decoration: none;">GitHub</a>
|
|
110
|
-
</p>
|
|
111
|
-
</div>
|
|
112
|
-
</td>
|
|
113
|
-
</tr>
|
|
114
|
-
</table>
|
|
115
|
-
</body>
|
|
116
|
-
</html>
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
═══════════════════════════════════════════════════════════════
|
|
2
|
-
📧 DRAFT EMAIL TO PRATHAM (APILayer Partnership)
|
|
3
|
-
═══════════════════════════════════════════════════════════════
|
|
4
|
-
|
|
5
|
-
To: pratham@apilayer.com
|
|
6
|
-
Subject: APIClaw × APILayer Partnership - Direct Call Integration Ready
|
|
7
|
-
|
|
8
|
-
───────────────────────────────────────────────────────────────
|
|
9
|
-
|
|
10
|
-
Hi Pratham,
|
|
11
|
-
|
|
12
|
-
I've been building APIClaw as an API gateway for AI agents, and APILayer's suite is a perfect fit for Direct Call integration. I'd love to partner up and make APILayer's 14 services seamlessly accessible to thousands of AI agents.
|
|
13
|
-
|
|
14
|
-
What is Direct Call?
|
|
15
|
-
Direct Call means agents call APIClaw, and APIClaw handles all authentication with your services. No API keys needed on the agent side. APIClaw manages:
|
|
16
|
-
|
|
17
|
-
• Authentication & rate limiting
|
|
18
|
-
• Request routing & error handling
|
|
19
|
-
• Usage tracking & analytics
|
|
20
|
-
• Billing & revenue share
|
|
21
|
-
|
|
22
|
-
🎯 Current Status
|
|
23
|
-
10 out of 14 APILayer services are live and working in Direct Call:
|
|
24
|
-
Exchange Rates, Aviation, VAT Check, Market Data, Screenshot, Scraper, PDF Generate, Finance News, Skills, Email Verification
|
|
25
|
-
|
|
26
|
-
The Partnership
|
|
27
|
-
I'm proposing we formalize this as an official partnership:
|
|
28
|
-
|
|
29
|
-
• Revenue share: Fair split on Direct Call usage
|
|
30
|
-
• Co-marketing: Featured placement in APIClaw catalog
|
|
31
|
-
• Analytics access: Real-time usage dashboards for both parties
|
|
32
|
-
• Legacy API migration: Help modernize your older endpoints
|
|
33
|
-
|
|
34
|
-
This gives your APIs massive distribution while keeping full control and visibility.
|
|
35
|
-
|
|
36
|
-
Next Steps
|
|
37
|
-
The analytics dashboard is ready - just fine-tuning the API listing and usage logging before I send you the invite. Should be good to go this week.
|
|
38
|
-
|
|
39
|
-
Looking forward to your legacy APIs list. It'll help us prioritize which services to spotlight in Direct Call.
|
|
40
|
-
|
|
41
|
-
Let's keep the momentum going!
|
|
42
|
-
|
|
43
|
-
Best,
|
|
44
|
-
Gustav Hemmingsson
|
|
45
|
-
CEO, NordSym AB
|
|
46
|
-
|
|
47
|
-
───────────────────────────────────────────────────────────────
|
|
48
|
-
|
|
49
|
-
📎 Files:
|
|
50
|
-
✅ HTML version: ~/Projects/apiclaw/email-templates/pratham-partnership-draft.html
|
|
51
|
-
✅ Preview: ~/Projects/apiclaw/email-templates/pratham-draft-preview.txt
|
|
52
|
-
|
|
53
|
-
🔍 Em dash scan: CLEAN (0 found)
|
|
54
|
-
🎨 Design: Professional light mode, APIClaw branding
|
|
55
|
-
📊 Status: 10/14 APIs verified working
|
|
56
|
-
|
|
57
|
-
═══════════════════════════════════════════════════════════════
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>APIClaw × APILayer Partnership</title>
|
|
7
|
-
</head>
|
|
8
|
-
<body style="margin: 0; padding: 0; background-color: #fafaba; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;">
|
|
9
|
-
<table width="100%" cellpadding="0" cellspacing="0" style="background-color: #fafafa; padding: 40px 20px;">
|
|
10
|
-
<tr>
|
|
11
|
-
<td align="center">
|
|
12
|
-
<table width="600" cellpadding="0" cellspacing="0" style="background-color: #ffffff; border-radius: 16px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); overflow: hidden; border: 1px solid #e5e7eb;">
|
|
13
|
-
|
|
14
|
-
<!-- Header -->
|
|
15
|
-
<tr>
|
|
16
|
-
<td style="background-color: #ffffff; border-bottom: 1px solid #e5e7eb; padding: 32px; text-align: center;">
|
|
17
|
-
<div style="font-size: 28px; font-weight: bold; color: #ef4444; margin-bottom: 16px;">🦞 APIClaw</div>
|
|
18
|
-
<h1 style="margin: 0; font-size: 24px; font-weight: bold; color: #1a1a1a;">APIClaw × APILayer Partnership</h1>
|
|
19
|
-
<p style="margin: 4px 0 0 0; color: #6b7280; font-size: 14px;">Direct Call Integration Ready</p>
|
|
20
|
-
<div style="height: 4px; width: 80px; background-color: #ef4444; margin: 16px auto 0; border-radius: 2px;"></div>
|
|
21
|
-
</td>
|
|
22
|
-
</tr>
|
|
23
|
-
|
|
24
|
-
<!-- Content -->
|
|
25
|
-
<tr>
|
|
26
|
-
<td style="padding: 32px;">
|
|
27
|
-
<!-- Greeting -->
|
|
28
|
-
<p style="margin: 0 0 20px 0; color: #1a1a1a; font-size: 16px; line-height: 1.6;">
|
|
29
|
-
Hi Pratham,
|
|
30
|
-
</p>
|
|
31
|
-
|
|
32
|
-
<!-- Intro -->
|
|
33
|
-
<p style="margin: 0 0 20px 0; color: #4b5563; font-size: 16px; line-height: 1.6;">
|
|
34
|
-
I've been building APIClaw as an API gateway for AI agents, and APILayer's suite is a perfect fit for Direct Call integration. I'd love to partner up and make APILayer's 14 services seamlessly accessible to thousands of AI agents.
|
|
35
|
-
</p>
|
|
36
|
-
|
|
37
|
-
<!-- What is Direct Call -->
|
|
38
|
-
<div style="margin: 24px 0;">
|
|
39
|
-
<h2 style="margin: 0 0 12px 0; font-size: 18px; font-weight: 600; color: #ef4444; border-bottom: 2px solid #f3f4f6; padding-bottom: 8px;">
|
|
40
|
-
What is Direct Call?
|
|
41
|
-
</h2>
|
|
42
|
-
<p style="margin: 0 0 12px 0; color: #4b5563; font-size: 16px; line-height: 1.6;">
|
|
43
|
-
Direct Call means agents call APIClaw, and APIClaw handles all authentication with your services. No API keys needed on the agent side. APIClaw manages:
|
|
44
|
-
</p>
|
|
45
|
-
<ul style="margin: 0 0 0 20px; padding: 0; color: #4b5563; font-size: 16px; line-height: 1.8;">
|
|
46
|
-
<li>Authentication & rate limiting</li>
|
|
47
|
-
<li>Request routing & error handling</li>
|
|
48
|
-
<li>Usage tracking & analytics</li>
|
|
49
|
-
<li>Billing & revenue share</li>
|
|
50
|
-
</ul>
|
|
51
|
-
</div>
|
|
52
|
-
|
|
53
|
-
<!-- Current Status -->
|
|
54
|
-
<div style="margin: 24px 0; background-color: #fef2f2; border-left: 4px solid #ef4444; padding: 16px; border-radius: 8px;">
|
|
55
|
-
<h3 style="margin: 0 0 8px 0; font-size: 16px; font-weight: 600; color: #ef4444;">
|
|
56
|
-
🎯 Current Status
|
|
57
|
-
</h3>
|
|
58
|
-
<p style="margin: 0; color: #4b5563; font-size: 14px; line-height: 1.6;">
|
|
59
|
-
<strong>10 out of 14 APILayer services are live and working in Direct Call:</strong><br>
|
|
60
|
-
Exchange Rates, Aviation, VAT Check, Market Data, Screenshot, Scraper, PDF Generate, Finance News, Skills, Email Verification
|
|
61
|
-
</p>
|
|
62
|
-
</div>
|
|
63
|
-
|
|
64
|
-
<!-- The Partnership -->
|
|
65
|
-
<div style="margin: 24px 0;">
|
|
66
|
-
<h2 style="margin: 0 0 12px 0; font-size: 18px; font-weight: 600; color: #ef4444; border-bottom: 2px solid #f3f4f6; padding-bottom: 8px;">
|
|
67
|
-
The Partnership
|
|
68
|
-
</h2>
|
|
69
|
-
<p style="margin: 0 0 12px 0; color: #4b5563; font-size: 16px; line-height: 1.6;">
|
|
70
|
-
I'm proposing we formalize this as an official partnership:
|
|
71
|
-
</p>
|
|
72
|
-
<ul style="margin: 0 0 12px 20px; padding: 0; color: #4b5563; font-size: 16px; line-height: 1.8;">
|
|
73
|
-
<li><strong>Revenue share:</strong> Fair split on Direct Call usage</li>
|
|
74
|
-
<li><strong>Co-marketing:</strong> Featured placement in APIClaw catalog</li>
|
|
75
|
-
<li><strong>Analytics access:</strong> Real-time usage dashboards for both parties</li>
|
|
76
|
-
<li><strong>Legacy API migration:</strong> Help modernize your older endpoints</li>
|
|
77
|
-
</ul>
|
|
78
|
-
<p style="margin: 0; color: #4b5563; font-size: 16px; line-height: 1.6;">
|
|
79
|
-
This gives your APIs massive distribution while keeping full control and visibility.
|
|
80
|
-
</p>
|
|
81
|
-
</div>
|
|
82
|
-
|
|
83
|
-
<!-- Next Steps -->
|
|
84
|
-
<div style="margin: 24px 0;">
|
|
85
|
-
<h2 style="margin: 0 0 12px 0; font-size: 18px; font-weight: 600; color: #ef4444; border-bottom: 2px solid #f3f4f6; padding-bottom: 8px;">
|
|
86
|
-
Next Steps
|
|
87
|
-
</h2>
|
|
88
|
-
<p style="margin: 0 0 12px 0; color: #4b5563; font-size: 16px; line-height: 1.6;">
|
|
89
|
-
The analytics dashboard is ready - just fine-tuning the API listing and usage logging before I send you the invite. Should be good to go this week.
|
|
90
|
-
</p>
|
|
91
|
-
<p style="margin: 0 0 12px 0; color: #4b5563; font-size: 16px; line-height: 1.6;">
|
|
92
|
-
Looking forward to your legacy APIs list. It'll help us prioritize which services to spotlight in Direct Call.
|
|
93
|
-
</p>
|
|
94
|
-
<p style="margin: 0; color: #4b5563; font-size: 16px; line-height: 1.6;">
|
|
95
|
-
Let's keep the momentum going!
|
|
96
|
-
</p>
|
|
97
|
-
</div>
|
|
98
|
-
|
|
99
|
-
<!-- CTA -->
|
|
100
|
-
<div style="text-align: center; margin: 32px 0;">
|
|
101
|
-
<a href="https://apiclaw.cloud" style="display: inline-block; background-color: #ef4444; color: #ffffff; text-decoration: none; padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 16px; box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);">
|
|
102
|
-
View APIClaw Documentation
|
|
103
|
-
</a>
|
|
104
|
-
</div>
|
|
105
|
-
|
|
106
|
-
<!-- Signature -->
|
|
107
|
-
<p style="margin: 20px 0 0 0; color: #4b5563; font-size: 16px; line-height: 1.6;">
|
|
108
|
-
Best,<br>
|
|
109
|
-
<strong style="color: #1a1a1a;">Gustav Hemmingsson</strong><br>
|
|
110
|
-
<span style="color: #6b7280; font-size: 14px;">CEO, NordSym AB</span>
|
|
111
|
-
</p>
|
|
112
|
-
</td>
|
|
113
|
-
</tr>
|
|
114
|
-
|
|
115
|
-
<!-- Footer -->
|
|
116
|
-
<tr>
|
|
117
|
-
<td style="background-color: #f9fafb; border-top: 1px solid #e5e7eb; padding: 24px; text-align: center;">
|
|
118
|
-
<p style="margin: 0 0 8px 0; color: #6b7280; font-size: 13px;">
|
|
119
|
-
APIClaw - HTTP API Gateway for AI Agents
|
|
120
|
-
</p>
|
|
121
|
-
<p style="margin: 0; color: #9ca3af; font-size: 12px;">
|
|
122
|
-
Questions? Contact <a href="mailto:gustav@nordsym.com" style="color: #ef4444; text-decoration: none;">gustav@nordsym.com</a>
|
|
123
|
-
</p>
|
|
124
|
-
</td>
|
|
125
|
-
</tr>
|
|
126
|
-
|
|
127
|
-
</table>
|
|
128
|
-
|
|
129
|
-
<!-- Company info -->
|
|
130
|
-
<div style="margin-top: 32px; text-align: center; color: #9ca3af; font-size: 12px;">
|
|
131
|
-
<p style="margin: 0;">NordSym AB (559535-5768) • Sweden</p>
|
|
132
|
-
<p style="margin: 4px 0 0 0;">
|
|
133
|
-
<a href="https://apiclaw.cloud" style="color: #ef4444; text-decoration: none;">apiclaw.cloud</a> •
|
|
134
|
-
<a href="https://github.com/nordsym/apiclaw" style="color: #ef4444; text-decoration: none;">GitHub</a>
|
|
135
|
-
</p>
|
|
136
|
-
</div>
|
|
137
|
-
</td>
|
|
138
|
-
</tr>
|
|
139
|
-
</table>
|
|
140
|
-
</body>
|
|
141
|
-
</html>
|
|
Binary file
|