@every-app/sdk 0.3.0-rc.1 → 0.3.0-rc.3
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/LICENSE +21 -0
- package/dist/cloudflare/index.d.ts +2 -2
- package/dist/cloudflare/index.d.ts.map +1 -1
- package/dist/cloudflare/index.js +1 -1
- package/dist/cloudflare/sentinel.d.ts +39 -1
- package/dist/cloudflare/sentinel.d.ts.map +1 -1
- package/dist/cloudflare/sentinel.js +22 -1
- package/dist/cloudflare/worker.d.ts +205 -7
- package/dist/cloudflare/worker.d.ts.map +1 -1
- package/dist/cloudflare/worker.js +174 -11
- package/dist/internal/aiDefault.d.ts +141 -0
- package/dist/internal/aiDefault.d.ts.map +1 -0
- package/dist/internal/aiDefault.js +204 -0
- package/dist/internal/aiProviders.d.ts +4 -1
- package/dist/internal/aiProviders.d.ts.map +1 -1
- package/dist/internal/aiProviders.js +5 -1
- package/dist/internal/appSettings.d.ts +20 -2
- package/dist/internal/appSettings.d.ts.map +1 -1
- package/dist/internal/appSettings.js +53 -7
- package/dist/internal/audit.d.ts +108 -0
- package/dist/internal/audit.d.ts.map +1 -0
- package/dist/internal/audit.js +235 -0
- package/dist/internal/capabilities.d.ts +2315 -141
- package/dist/internal/capabilities.d.ts.map +1 -1
- package/dist/internal/capabilities.js +122 -0
- package/dist/internal/catalog/commerce.d.ts +394 -0
- package/dist/internal/catalog/commerce.d.ts.map +1 -0
- package/dist/internal/catalog/commerce.js +477 -0
- package/dist/internal/catalog/comms.d.ts +338 -0
- package/dist/internal/catalog/comms.d.ts.map +1 -0
- package/dist/internal/catalog/comms.js +477 -0
- package/dist/internal/catalog/index.d.ts +1936 -0
- package/dist/internal/catalog/index.d.ts.map +1 -0
- package/dist/internal/catalog/index.js +19 -0
- package/dist/internal/catalog/inference.d.ts +393 -0
- package/dist/internal/catalog/inference.d.ts.map +1 -0
- package/dist/internal/catalog/inference.js +457 -0
- package/dist/internal/catalog/infra.d.ts +423 -0
- package/dist/internal/catalog/infra.d.ts.map +1 -0
- package/dist/internal/catalog/infra.js +543 -0
- package/dist/internal/catalog/search.d.ts +400 -0
- package/dist/internal/catalog/search.d.ts.map +1 -0
- package/dist/internal/catalog/search.js +463 -0
- package/dist/internal/devProviders.d.ts +2 -2
- package/dist/internal/devProviders.d.ts.map +1 -1
- package/dist/internal/devProviders.js +19 -1
- package/dist/internal/events.d.ts +13 -2
- package/dist/internal/events.d.ts.map +1 -1
- package/dist/internal/events.js +21 -3
- package/dist/internal/gatewaySettings.d.ts +2 -1
- package/dist/internal/gatewaySettings.d.ts.map +1 -1
- package/dist/internal/gatewaySettings.js +10 -2
- package/dist/internal/index.d.ts +5 -0
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/index.js +5 -0
- package/dist/internal/oauthPresets.d.ts +29 -0
- package/dist/internal/oauthPresets.d.ts.map +1 -0
- package/dist/internal/oauthPresets.js +534 -0
- package/dist/internal/oauthScopes.d.ts +56 -1
- package/dist/internal/oauthScopes.d.ts.map +1 -1
- package/dist/internal/oauthScopes.js +98 -4
- package/dist/internal/oauthSpec.d.ts +59 -0
- package/dist/internal/oauthSpec.d.ts.map +1 -0
- package/dist/internal/oauthSpec.js +676 -0
- package/dist/internal/protocol.d.ts +11 -0
- package/dist/internal/protocol.d.ts.map +1 -1
- package/dist/internal/protocol.js +9 -0
- package/dist/internal/providerRegistry.d.ts +17 -6
- package/dist/internal/providerRegistry.d.ts.map +1 -1
- package/dist/internal/providerRegistry.js +51 -2
- package/dist/internal/providerSpec.d.ts +11 -7
- package/dist/internal/providerSpec.d.ts.map +1 -1
- package/dist/internal/providerSpec.js +142 -33
- package/dist/internal/signInProviders.d.ts +104 -0
- package/dist/internal/signInProviders.d.ts.map +1 -0
- package/dist/internal/signInProviders.js +245 -0
- package/dist/server/ai.d.ts +45 -0
- package/dist/server/ai.d.ts.map +1 -0
- package/dist/server/ai.js +40 -0
- package/dist/server/connectUrl.d.ts +21 -0
- package/dist/server/connectUrl.d.ts.map +1 -0
- package/dist/server/connectUrl.js +37 -0
- package/dist/server/gatewayFetch.d.ts.map +1 -1
- package/dist/server/gatewayFetch.js +72 -8
- package/dist/server/index.d.ts +4 -2
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +3 -1
- package/dist/server/integrationFetch.d.ts +39 -2
- package/dist/server/integrationFetch.d.ts.map +1 -1
- package/dist/server/integrationFetch.js +177 -13
- package/package.json +12 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../src/internal/capabilities.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH,mDAAmD;AACnD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,OAAO,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,MAAM,UAAU;AACpB,kGAAkG;AAChG;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE;AACrD,8FAA8F;GAC5F;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE;AACrE,4CAA4C;GAC1C;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE;AAClD;;;;;;;;GAQG;GACD;IACE,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,UAAU,CAAC;IACf,IAAI,EAAE,MAAM,GAAG;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CACnC,GACD;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,UAAU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gB,yBAAyB,CACvC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,kBAAkB,EAC7B,MAAM,GAAE,gBAA0B,GACjC,qBAAqB,GAAG,IAAI,CAmC9B;AAWD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,qBAAqB,EACjC,QAAQ,EAAE,kBAAkB,GAAG,SAAS,GACvC,MAAM,GAAG,IAAI,CAwBf;AA2BD;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,qBAAqB,EACjC,QAAQ,EAAE,GAAG,EACb,QAAQ,EAAE,kBAAkB,GAAG,SAAS,GACvC,kBAAkB,GAAG,IAAI,CAY3B;AAED,yFAAyF;AACzF,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,qBAAqB,GAChC,MAAM,CAOR;AAED,sGAAsG;AACtG,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAM3D;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,qBAAqB,GAChC,MAAM,CAER;AAaD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,gBAAgB,EAC5B,QAAQ,EAAE,MAAM,GACf,OAAO,CAqBT;AA6BD,sEAAsE;AACtE,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAM/C"}
|
|
@@ -43,6 +43,7 @@ export const DEFAULT_WRITE_METHODS = [
|
|
|
43
43
|
"PATCH",
|
|
44
44
|
"DELETE",
|
|
45
45
|
];
|
|
46
|
+
import { CATALOG_ENTRIES } from "./catalog/index.js";
|
|
46
47
|
export const CAPABILITIES = {
|
|
47
48
|
// The AI providers, in the order the AI proxy's table had them.
|
|
48
49
|
openai: {
|
|
@@ -69,6 +70,12 @@ export const CAPABILITIES = {
|
|
|
69
70
|
// More than inference needs both the operator (AI_PROXY_EXTRA_ROUTES)
|
|
70
71
|
// and the app's manifest (`ai.routes`): OpenAI paths only.
|
|
71
72
|
extraRoutes: true,
|
|
73
|
+
// Tool calling on chat completions needs `reasoning_effort: "none"`
|
|
74
|
+
// on the GPT-6 family (the responses route takes tools as it is).
|
|
75
|
+
chat: { path: "/v1/chat/completions", model: "gpt-6-luna" },
|
|
76
|
+
embeddings: { path: "/v1/embeddings", model: "text-embedding-3-small" },
|
|
77
|
+
// AI Gateway's OpenAI endpoint takes the path without `/v1`.
|
|
78
|
+
aig: { slug: "openai", trim: "/v1" },
|
|
72
79
|
hint: "A secret key from the API keys page; the Gateway puts it on every call as a bearer token.",
|
|
73
80
|
verified: { on: "2026-10-25", how: "live" },
|
|
74
81
|
},
|
|
@@ -89,7 +96,24 @@ export const CAPABILITIES = {
|
|
|
89
96
|
"/api/v1/responses",
|
|
90
97
|
"/api/v1/embeddings",
|
|
91
98
|
],
|
|
99
|
+
chat: {
|
|
100
|
+
path: "/api/v1/chat/completions",
|
|
101
|
+
model: "anthropic/claude-haiku-5.5",
|
|
102
|
+
},
|
|
103
|
+
embeddings: {
|
|
104
|
+
path: "/api/v1/embeddings",
|
|
105
|
+
model: "openai/text-embedding-3-small",
|
|
106
|
+
},
|
|
107
|
+
// AI Gateway's OpenRouter endpoint takes the path without `/api`.
|
|
108
|
+
aig: { slug: "openrouter", trim: "/api" },
|
|
92
109
|
hint: "An API key from OpenRouter's keys page; the Gateway puts it on every call as a bearer token.",
|
|
110
|
+
// Every answer's `usage.cost` is the call's price in USD, what
|
|
111
|
+
// OpenRouter charges the key: read off the tail with the tokens.
|
|
112
|
+
cost: {
|
|
113
|
+
unit: "token",
|
|
114
|
+
responseField: "usage.cost",
|
|
115
|
+
note: "The answer's usage.cost is the call's price in USD, per model.",
|
|
116
|
+
},
|
|
93
117
|
verified: { on: "2026-10-25", how: "live" },
|
|
94
118
|
},
|
|
95
119
|
// Workers AI's OpenAI-compatible REST API, in the gateway's own account
|
|
@@ -114,9 +138,55 @@ export const CAPABILITIES = {
|
|
|
114
138
|
"/v1/responses",
|
|
115
139
|
],
|
|
116
140
|
normalize: "workers-ai",
|
|
141
|
+
chat: {
|
|
142
|
+
path: "/v1/chat/completions",
|
|
143
|
+
model: "@cf/meta/llama-4-scout-17b-16e-instruct",
|
|
144
|
+
},
|
|
145
|
+
embeddings: { path: "/v1/embeddings", model: "@cf/baai/bge-m3" },
|
|
146
|
+
// Workers AI's REST API is AI Gateway's own host: the URL stays and
|
|
147
|
+
// `cf-aig-gateway-id` names the gateway.
|
|
148
|
+
aig: { slug: "workers-ai", header: true },
|
|
117
149
|
hint: "A Cloudflare API token with Workers AI Read (the Workers AI page's prefilled token); the account is the Gateway's own.",
|
|
118
150
|
verified: { on: "2026-10-25", how: "live" },
|
|
119
151
|
},
|
|
152
|
+
// Cloudflare AI Gateway: a proxy in front of the other AI providers
|
|
153
|
+
// (logs, caching, rate limits, spend), with no models of its own. With
|
|
154
|
+
// AI_GATEWAY_ID set, every call to an `ai` entry that has an `aig` slug
|
|
155
|
+
// goes through it, the provider's own key still on the call; the
|
|
156
|
+
// gateway's own token is optional (an authenticated gateway requires
|
|
157
|
+
// it). Never listed under `providers`: it fronts the entries apps list.
|
|
158
|
+
"ai-gateway": {
|
|
159
|
+
mode: "ai",
|
|
160
|
+
kind: "proxy",
|
|
161
|
+
label: "Cloudflare AI Gateway",
|
|
162
|
+
description: "Cloudflare's proxy in front of the other AI providers: logs, caching, rate limits and spend, with each provider's own key.",
|
|
163
|
+
auth: {
|
|
164
|
+
kind: "header",
|
|
165
|
+
header: "cf-aig-authorization",
|
|
166
|
+
prefix: "Bearer ",
|
|
167
|
+
secret: "AI_GATEWAY_API_KEY",
|
|
168
|
+
},
|
|
169
|
+
authOptional: true,
|
|
170
|
+
docs: "https://dash.cloudflare.com/?to=/:account/ai/ai-gateway",
|
|
171
|
+
api: "https://developers.cloudflare.com/ai-gateway/",
|
|
172
|
+
setup: "setup/ai-gateway.md",
|
|
173
|
+
origin: "https://gateway.ai.cloudflare.com",
|
|
174
|
+
alsoNeeds: ["CLOUDFLARE_ACCOUNT_ID", "AI_GATEWAY_ID"],
|
|
175
|
+
basePath: "/v1/{CLOUDFLARE_ACCOUNT_ID}/{AI_GATEWAY_ID}",
|
|
176
|
+
inferenceRoutes: [],
|
|
177
|
+
hint: "The gateway's id from the AI Gateway page (everyapp ai gateway on makes one named everyapp); AI_GATEWAY_API_KEY only for an authenticated gateway, sent as cf-aig-authorization.",
|
|
178
|
+
secrets: [
|
|
179
|
+
{
|
|
180
|
+
name: "AI_GATEWAY_ID",
|
|
181
|
+
hint: "The AI Gateway's id (its name in the dashboard), in the Gateway's own Cloudflare account.",
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
name: "AI_GATEWAY_API_KEY",
|
|
185
|
+
hint: "An AI Gateway token with Run permission, only when the gateway is authenticated; leave unset for an open gateway.",
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
verified: { on: "2026-10-25", how: "docs" },
|
|
189
|
+
},
|
|
120
190
|
dataforseo: {
|
|
121
191
|
mode: "api_key",
|
|
122
192
|
label: "DataForSEO",
|
|
@@ -564,6 +634,17 @@ export const CAPABILITIES = {
|
|
|
564
634
|
},
|
|
565
635
|
api: ["discord.com"],
|
|
566
636
|
redirectPaths: ["/integrations/social/discord"],
|
|
637
|
+
flow: {
|
|
638
|
+
tokenUrl: "https://discord.com/api/oauth2/token",
|
|
639
|
+
revokeUrl: "https://discord.com/api/oauth2/token/revoke",
|
|
640
|
+
pkce: true,
|
|
641
|
+
scopeDialect: "space",
|
|
642
|
+
identity: {
|
|
643
|
+
url: "https://discord.com/api/users/@me",
|
|
644
|
+
label: "username",
|
|
645
|
+
id: "id",
|
|
646
|
+
},
|
|
647
|
+
},
|
|
567
648
|
},
|
|
568
649
|
slack: {
|
|
569
650
|
mode: "oauth_client",
|
|
@@ -778,6 +859,19 @@ export const CAPABILITIES = {
|
|
|
778
859
|
"/integrations/social/slack",
|
|
779
860
|
"/integrations/slack/callback",
|
|
780
861
|
],
|
|
862
|
+
// Slack refuses `code_challenge`; `auth.test` names the workspace and
|
|
863
|
+
// the installing person.
|
|
864
|
+
flow: {
|
|
865
|
+
tokenUrl: "https://slack.com/api/oauth.v2.access",
|
|
866
|
+
revokeUrl: "https://slack.com/api/auth.revoke",
|
|
867
|
+
pkce: false,
|
|
868
|
+
scopeDialect: "slack",
|
|
869
|
+
identity: {
|
|
870
|
+
url: "https://slack.com/api/auth.test",
|
|
871
|
+
label: "team",
|
|
872
|
+
id: "user_id",
|
|
873
|
+
},
|
|
874
|
+
},
|
|
781
875
|
},
|
|
782
876
|
mastodon: {
|
|
783
877
|
mode: "oauth_client",
|
|
@@ -1068,6 +1162,21 @@ export const CAPABILITIES = {
|
|
|
1068
1162
|
"openidconnect.googleapis.com",
|
|
1069
1163
|
],
|
|
1070
1164
|
redirectPaths: ["/integrations/google/callback"],
|
|
1165
|
+
// The Gateway-owned flow: a refresh token needs `access_type=offline`,
|
|
1166
|
+
// and `prompt=consent` makes Google issue one on every connect. No
|
|
1167
|
+
// revoke: Google's `/revoke` is per person per client and would also
|
|
1168
|
+
// kill the tokens an app-driven OpenSEO holds under the same client.
|
|
1169
|
+
flow: {
|
|
1170
|
+
tokenUrl: "https://oauth2.googleapis.com/token",
|
|
1171
|
+
pkce: true,
|
|
1172
|
+
scopeDialect: "google",
|
|
1173
|
+
authorizeParams: { access_type: "offline", prompt: "consent" },
|
|
1174
|
+
identity: {
|
|
1175
|
+
url: "https://openidconnect.googleapis.com/v1/userinfo",
|
|
1176
|
+
label: "email",
|
|
1177
|
+
id: "sub",
|
|
1178
|
+
},
|
|
1179
|
+
},
|
|
1071
1180
|
},
|
|
1072
1181
|
"microsoft-365": {
|
|
1073
1182
|
mode: "oauth_client",
|
|
@@ -1163,7 +1272,20 @@ export const CAPABILITIES = {
|
|
|
1163
1272
|
},
|
|
1164
1273
|
api: ["graph.microsoft.com"],
|
|
1165
1274
|
redirectPaths: ["/integrations/microsoft/callback"],
|
|
1275
|
+
flow: {
|
|
1276
|
+
tokenUrl: "https://login.microsoftonline.com/common/oauth2/v2.0/token",
|
|
1277
|
+
pkce: true,
|
|
1278
|
+
scopeDialect: "microsoft",
|
|
1279
|
+
identity: {
|
|
1280
|
+
url: "https://graph.microsoft.com/v1.0/me",
|
|
1281
|
+
label: "userPrincipalName",
|
|
1282
|
+
id: "id",
|
|
1283
|
+
},
|
|
1284
|
+
},
|
|
1166
1285
|
},
|
|
1286
|
+
// The first fifty beyond the entries above (catalog/*.ts, PR 3 of the
|
|
1287
|
+
// provider registry), after them so the derived lists keep their order.
|
|
1288
|
+
...CATALOG_ENTRIES,
|
|
1167
1289
|
};
|
|
1168
1290
|
/** The Gateway settings an API-key or AI provider's `auth` names: the key first, then a Basic username held as a setting. */
|
|
1169
1291
|
export function authSettingNames(auth) {
|
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
export declare const COMMERCE: {
|
|
2
|
+
readonly stripe: {
|
|
3
|
+
readonly mode: "api_key";
|
|
4
|
+
readonly label: "Stripe";
|
|
5
|
+
readonly description: "Payments: customers, subscriptions, invoices, charges and payouts.";
|
|
6
|
+
readonly auth: {
|
|
7
|
+
readonly kind: "bearer";
|
|
8
|
+
readonly secret: "STRIPE_API_KEY";
|
|
9
|
+
};
|
|
10
|
+
readonly docs: "https://dashboard.stripe.com/apikeys";
|
|
11
|
+
readonly api: "https://docs.stripe.com/api";
|
|
12
|
+
readonly hosts: readonly ["api.stripe.com", "files.stripe.com"];
|
|
13
|
+
readonly data: "account";
|
|
14
|
+
readonly access: readonly ["read", "write"];
|
|
15
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
16
|
+
readonly writeMethods: readonly ["POST", "DELETE"];
|
|
17
|
+
readonly accountWidePaths: readonly [readonly ["v1", "account"], readonly ["v1", "accounts"], readonly ["v2", "core", "accounts"], readonly ["v1", "webhook_endpoints"], readonly ["v2", "core", "event_destinations"], readonly ["v1", "apps", "secrets"]];
|
|
18
|
+
readonly hint: "A restricted API key from the API keys page of the Stripe dashboard, with only the permissions the app needs. The Gateway sends it as a bearer token.";
|
|
19
|
+
readonly secrets: readonly [{
|
|
20
|
+
readonly name: "STRIPE_API_KEY";
|
|
21
|
+
readonly hint: "A restricted key (rk_live_...) with only the permissions the app needs; a sandbox key (rk_test_... or sk_test_...) to try it.";
|
|
22
|
+
}];
|
|
23
|
+
readonly smoke: {
|
|
24
|
+
readonly method: "GET";
|
|
25
|
+
readonly path: "/v1/balance";
|
|
26
|
+
readonly expect: readonly [200];
|
|
27
|
+
readonly free: true;
|
|
28
|
+
readonly note: "A restricted key needs Balance read for this one.";
|
|
29
|
+
};
|
|
30
|
+
readonly cost: {
|
|
31
|
+
readonly unit: "call";
|
|
32
|
+
readonly note: "No per-call price; reads should average under 500 per transaction over 30 days, with at least 10,000 a month allowed.";
|
|
33
|
+
};
|
|
34
|
+
readonly rate: {
|
|
35
|
+
readonly perSecond: 100;
|
|
36
|
+
readonly note: "Live mode, per account; sandbox 25/s; most single endpoints 25/s; Search 20/s.";
|
|
37
|
+
};
|
|
38
|
+
readonly example: "list my latest customers and their subscriptions";
|
|
39
|
+
readonly verified: {
|
|
40
|
+
readonly on: "2026-10-25";
|
|
41
|
+
readonly how: "docs";
|
|
42
|
+
};
|
|
43
|
+
readonly tags: readonly ["payments", "billing"];
|
|
44
|
+
};
|
|
45
|
+
readonly lemonsqueezy: {
|
|
46
|
+
readonly mode: "api_key";
|
|
47
|
+
readonly label: "Lemon Squeezy";
|
|
48
|
+
readonly description: "Merchant of record for software: stores, products, orders, subscriptions, license keys.";
|
|
49
|
+
readonly auth: {
|
|
50
|
+
readonly kind: "bearer";
|
|
51
|
+
readonly secret: "LEMONSQUEEZY_API_KEY";
|
|
52
|
+
};
|
|
53
|
+
readonly docs: "https://app.lemonsqueezy.com/settings/api";
|
|
54
|
+
readonly api: "https://docs.lemonsqueezy.com/api";
|
|
55
|
+
readonly hosts: readonly ["api.lemonsqueezy.com"];
|
|
56
|
+
readonly data: "account";
|
|
57
|
+
readonly access: readonly ["read", "write"];
|
|
58
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
59
|
+
readonly writeMethods: readonly ["POST", "PATCH", "DELETE"];
|
|
60
|
+
readonly accountWidePaths: readonly [readonly ["v1", "users"], readonly ["v1", "webhooks"]];
|
|
61
|
+
readonly hint: "An API key from Settings > API in Lemon Squeezy; the Gateway sends it as a bearer token. The API is JSON:API, so the app sends Accept and Content-Type application/vnd.api+json.";
|
|
62
|
+
readonly secrets: readonly [{
|
|
63
|
+
readonly name: "LEMONSQUEEZY_API_KEY";
|
|
64
|
+
readonly hint: "An API key from Settings > API; a test mode key reaches test mode store data only.";
|
|
65
|
+
}];
|
|
66
|
+
readonly smoke: {
|
|
67
|
+
readonly method: "GET";
|
|
68
|
+
readonly path: "/v1/users/me";
|
|
69
|
+
readonly expect: readonly [200];
|
|
70
|
+
readonly free: true;
|
|
71
|
+
readonly note: "Account-wide, so the Gateway refuses it for apps; run it from the person's terminal.";
|
|
72
|
+
};
|
|
73
|
+
readonly rate: {
|
|
74
|
+
readonly perMinute: 300;
|
|
75
|
+
readonly note: "300 API calls per minute.";
|
|
76
|
+
};
|
|
77
|
+
readonly example: "list this month's orders and active subscriptions";
|
|
78
|
+
readonly verified: {
|
|
79
|
+
readonly on: "2026-10-25";
|
|
80
|
+
readonly how: "docs";
|
|
81
|
+
};
|
|
82
|
+
readonly tags: readonly ["payments", "billing"];
|
|
83
|
+
};
|
|
84
|
+
readonly paddle: {
|
|
85
|
+
readonly mode: "api_key";
|
|
86
|
+
readonly label: "Paddle";
|
|
87
|
+
readonly description: "Paddle Billing: products, prices, customers, subscriptions and transactions.";
|
|
88
|
+
readonly auth: {
|
|
89
|
+
readonly kind: "bearer";
|
|
90
|
+
readonly secret: "PADDLE_API_KEY";
|
|
91
|
+
};
|
|
92
|
+
readonly docs: "https://developer.paddle.com/api-reference/about/authentication/";
|
|
93
|
+
readonly api: "https://developer.paddle.com/api-reference/";
|
|
94
|
+
readonly hosts: readonly ["api.paddle.com", "sandbox-api.paddle.com"];
|
|
95
|
+
readonly data: "account";
|
|
96
|
+
readonly access: readonly ["read", "write"];
|
|
97
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
98
|
+
readonly writeMethods: readonly ["POST", "PATCH", "DELETE"];
|
|
99
|
+
readonly accountWidePaths: readonly [readonly ["account"], readonly ["settings"], readonly ["notification-settings"], readonly ["notifications"], readonly ["simulations"], readonly ["simulation-runs"], readonly ["client-tokens"], readonly ["checkout-domains"], readonly ["verifications"]];
|
|
100
|
+
readonly hint: "An API key from Paddle > My account > Settings > Authentication (API keys tab), with only the permissions the app needs; the Gateway sends it as a bearer token. Live and sandbox are separate hosts with separate keys.";
|
|
101
|
+
readonly secrets: readonly [{
|
|
102
|
+
readonly name: "PADDLE_API_KEY";
|
|
103
|
+
readonly hint: "An API key (pdl_live_apikey_... or pdl_sdbx_apikey_...) with only the permissions the app needs; a sandbox key works on the sandbox host only.";
|
|
104
|
+
}];
|
|
105
|
+
readonly smoke: {
|
|
106
|
+
readonly method: "GET";
|
|
107
|
+
readonly path: "/event-types";
|
|
108
|
+
readonly expect: readonly [200];
|
|
109
|
+
readonly free: true;
|
|
110
|
+
readonly note: "Paddle's own first request: needs no permissions. Send it to sandbox-api.paddle.com with a sandbox key.";
|
|
111
|
+
};
|
|
112
|
+
readonly rate: {
|
|
113
|
+
readonly perMinute: 240;
|
|
114
|
+
readonly note: "Per IP address; pricing previews 1,000 a minute; 20 immediate-charge updates per subscription an hour.";
|
|
115
|
+
};
|
|
116
|
+
readonly example: "list the active subscriptions that renew this week";
|
|
117
|
+
readonly verified: {
|
|
118
|
+
readonly on: "2026-10-25";
|
|
119
|
+
readonly how: "docs";
|
|
120
|
+
};
|
|
121
|
+
readonly tags: readonly ["payments", "billing"];
|
|
122
|
+
};
|
|
123
|
+
readonly shopify: {
|
|
124
|
+
readonly mode: "api_key";
|
|
125
|
+
readonly label: "Shopify";
|
|
126
|
+
readonly description: "One store's Admin API (GraphQL): products, orders, customers and inventory.";
|
|
127
|
+
readonly auth: {
|
|
128
|
+
readonly kind: "header";
|
|
129
|
+
readonly secret: "SHOPIFY_API_TOKEN";
|
|
130
|
+
readonly header: "X-Shopify-Access-Token";
|
|
131
|
+
};
|
|
132
|
+
readonly docs: "https://shopify.dev/docs/apps/build/authentication-authorization/legacy/admin-custom-apps";
|
|
133
|
+
readonly api: "https://shopify.dev/docs/api/admin-graphql";
|
|
134
|
+
readonly hosts: readonly [];
|
|
135
|
+
readonly hostSetting: "SHOPIFY_HOST";
|
|
136
|
+
readonly data: "account";
|
|
137
|
+
readonly access: readonly ["write"];
|
|
138
|
+
readonly readMethods: readonly [];
|
|
139
|
+
readonly writeMethods: readonly ["POST"];
|
|
140
|
+
readonly accountWidePaths: readonly [readonly ["webhooks"], readonly ["storefront_access_tokens"]];
|
|
141
|
+
readonly hint: "An Admin API access token from a custom app created in the store's admin, sent in the X-Shopify-Access-Token header to the store's myshopify.com host. Shopify no longer lets stores create new admin custom apps, and Dev Dashboard tokens expire after 24 hours, which the Gateway can't refresh yet.";
|
|
142
|
+
readonly secrets: readonly [{
|
|
143
|
+
readonly name: "SHOPIFY_API_TOKEN";
|
|
144
|
+
readonly hint: "The Admin API access token of a custom app made in the store's admin (Apps > Develop apps > the app > API credentials); it is shown once.";
|
|
145
|
+
}, {
|
|
146
|
+
readonly name: "SHOPIFY_HOST";
|
|
147
|
+
readonly hint: "The store's own host, like your-store.myshopify.com.";
|
|
148
|
+
}];
|
|
149
|
+
readonly smoke: {
|
|
150
|
+
readonly method: "GET";
|
|
151
|
+
readonly path: "/admin/api/2026-10/shop.json";
|
|
152
|
+
readonly expect: readonly [200];
|
|
153
|
+
readonly free: true;
|
|
154
|
+
readonly note: "The legacy REST read of the store; the Gateway forwards no GET for this entry, so run it from the person's terminal.";
|
|
155
|
+
};
|
|
156
|
+
readonly rate: {
|
|
157
|
+
readonly note: "GraphQL cost points per second by plan: Standard 100, Advanced 200, Plus 1,000, enterprise 2,000.";
|
|
158
|
+
};
|
|
159
|
+
readonly example: "list the ten newest orders and what was in them";
|
|
160
|
+
readonly verified: {
|
|
161
|
+
readonly on: "2026-10-25";
|
|
162
|
+
readonly how: "docs";
|
|
163
|
+
};
|
|
164
|
+
readonly tags: readonly ["ecommerce"];
|
|
165
|
+
};
|
|
166
|
+
readonly plaid: {
|
|
167
|
+
readonly mode: "api_key";
|
|
168
|
+
readonly label: "Plaid";
|
|
169
|
+
readonly description: "Bank data: accounts, balances, transactions and identity, for the Items an app links.";
|
|
170
|
+
readonly auth: {
|
|
171
|
+
readonly kind: "header";
|
|
172
|
+
readonly secret: "PLAID_SECRET";
|
|
173
|
+
readonly header: "PLAID-SECRET";
|
|
174
|
+
};
|
|
175
|
+
readonly docs: "https://dashboard.plaid.com/developers/keys";
|
|
176
|
+
readonly api: "https://plaid.com/docs/api/";
|
|
177
|
+
readonly hosts: readonly ["sandbox.plaid.com", "production.plaid.com"];
|
|
178
|
+
readonly data: "account";
|
|
179
|
+
readonly access: readonly ["read"];
|
|
180
|
+
readonly readMethods: readonly ["POST"];
|
|
181
|
+
readonly accountWidePaths: readonly [readonly ["item", "webhook", "update"], readonly ["item", "access_token", "invalidate"], readonly ["item", "remove"], readonly ["webhook_verification_key"], readonly ["dashboard_user"], readonly ["transfer"], readonly ["payment_initiation"]];
|
|
182
|
+
readonly hint: "Plaid needs a client_id and a secret on every call, in the JSON body or in the PLAID-CLIENT-ID and PLAID-SECRET headers. The Gateway puts on one header, so the app would have to send PLAID-CLIENT-ID itself. Every endpoint is a POST.";
|
|
183
|
+
readonly secrets: readonly [{
|
|
184
|
+
readonly name: "PLAID_SECRET";
|
|
185
|
+
readonly hint: "The secret for one environment (Sandbox or Production) from the Keys page of the Plaid Dashboard.";
|
|
186
|
+
}];
|
|
187
|
+
readonly rate: {
|
|
188
|
+
readonly note: "Set per endpoint and per Item: /accounts/get allows 15 a minute per Item and 15,000 a minute per client.";
|
|
189
|
+
};
|
|
190
|
+
readonly example: "list the last 30 days of transactions on a linked account";
|
|
191
|
+
readonly verified: false;
|
|
192
|
+
readonly tags: readonly ["finance", "banking"];
|
|
193
|
+
};
|
|
194
|
+
readonly attio: {
|
|
195
|
+
readonly mode: "api_key";
|
|
196
|
+
readonly label: "Attio";
|
|
197
|
+
readonly description: "CRM: people, companies, deals, lists, notes and tasks in one Attio workspace.";
|
|
198
|
+
readonly auth: {
|
|
199
|
+
readonly kind: "bearer";
|
|
200
|
+
readonly secret: "ATTIO_API_KEY";
|
|
201
|
+
};
|
|
202
|
+
readonly docs: "https://attio.com/help/reference/apps/generating-an-api-key";
|
|
203
|
+
readonly api: "https://docs.attio.com/rest-api/overview";
|
|
204
|
+
readonly hosts: readonly ["api.attio.com"];
|
|
205
|
+
readonly data: "account";
|
|
206
|
+
readonly access: readonly ["read", "write"];
|
|
207
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
208
|
+
readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
|
|
209
|
+
readonly accountWidePaths: readonly [readonly ["v2", "self"], readonly ["v2", "webhooks"], readonly ["v2", "workspace_members"]];
|
|
210
|
+
readonly hint: "An access token a workspace admin makes under Workspace settings > Developers, scoped to what the app needs; the Gateway sends it as a bearer token. Listing and searching records are POSTs, so an app that lists records needs write access.";
|
|
211
|
+
readonly secrets: readonly [{
|
|
212
|
+
readonly name: "ATTIO_API_KEY";
|
|
213
|
+
readonly hint: "An access token from Workspace settings > Developers, with only the scopes the app needs.";
|
|
214
|
+
}];
|
|
215
|
+
readonly smoke: {
|
|
216
|
+
readonly method: "GET";
|
|
217
|
+
readonly path: "/v2/objects";
|
|
218
|
+
readonly expect: readonly [200];
|
|
219
|
+
readonly free: true;
|
|
220
|
+
readonly note: "Lists the workspace's objects; needs the object_configuration:read scope. /v2/self answers 200 even for a revoked token.";
|
|
221
|
+
};
|
|
222
|
+
readonly rate: {
|
|
223
|
+
readonly perSecond: 100;
|
|
224
|
+
readonly note: "100 reads and 25 writes per second; listing records and entries also has score-based limits.";
|
|
225
|
+
};
|
|
226
|
+
readonly example: "find the companies we added this week and their open deals";
|
|
227
|
+
readonly verified: {
|
|
228
|
+
readonly on: "2026-10-25";
|
|
229
|
+
readonly how: "docs";
|
|
230
|
+
};
|
|
231
|
+
readonly tags: readonly ["crm"];
|
|
232
|
+
};
|
|
233
|
+
readonly hubspot: {
|
|
234
|
+
readonly mode: "api_key";
|
|
235
|
+
readonly label: "HubSpot";
|
|
236
|
+
readonly description: "CRM and marketing: contacts, companies, deals, tickets and more in one HubSpot account.";
|
|
237
|
+
readonly auth: {
|
|
238
|
+
readonly kind: "bearer";
|
|
239
|
+
readonly secret: "HUBSPOT_API_TOKEN";
|
|
240
|
+
};
|
|
241
|
+
readonly docs: "https://developers.hubspot.com/docs/apps/legacy-apps/private-apps/overview";
|
|
242
|
+
readonly api: "https://developers.hubspot.com/docs/api-reference/latest/overview";
|
|
243
|
+
readonly hosts: readonly ["api.hubapi.com"];
|
|
244
|
+
readonly data: "account";
|
|
245
|
+
readonly access: readonly ["read", "write"];
|
|
246
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
247
|
+
readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
|
|
248
|
+
readonly accountWidePaths: readonly [readonly ["account-info"], readonly ["settings", "users"], readonly ["settings", "v3", "users"], readonly ["settings", "teams"], readonly ["app-webhooks"], readonly ["webhooks"], readonly ["webhooks-journal"], readonly ["oauth"]];
|
|
249
|
+
readonly hint: "An access token from a HubSpot legacy private app (Development > Legacy apps > Create legacy app > Private), scoped to what the app needs; the Gateway sends it as a bearer token. CRM search is a POST, so an app that searches needs write access.";
|
|
250
|
+
readonly secrets: readonly [{
|
|
251
|
+
readonly name: "HUBSPOT_API_TOKEN";
|
|
252
|
+
readonly hint: "The access token of a legacy private app (Development > Legacy apps > the app > Auth), with only the scopes the app needs.";
|
|
253
|
+
}];
|
|
254
|
+
readonly smoke: {
|
|
255
|
+
readonly method: "GET";
|
|
256
|
+
readonly path: "/account-info/2026-09/details";
|
|
257
|
+
readonly expect: readonly [200];
|
|
258
|
+
readonly free: true;
|
|
259
|
+
readonly note: "Account-wide, so the Gateway refuses it for apps; run it from the person's terminal.";
|
|
260
|
+
};
|
|
261
|
+
readonly rate: {
|
|
262
|
+
readonly perDay: 250000;
|
|
263
|
+
readonly note: "Private apps on Free and Starter: 100 per 10 seconds per app and 250,000 a day per account; Pro 190 and 625,000; Enterprise 190 and 1,000,000.";
|
|
264
|
+
};
|
|
265
|
+
readonly example: "list the deals that moved to closed won this month";
|
|
266
|
+
readonly verified: {
|
|
267
|
+
readonly on: "2026-10-25";
|
|
268
|
+
readonly how: "docs";
|
|
269
|
+
};
|
|
270
|
+
readonly tags: readonly ["crm", "marketing"];
|
|
271
|
+
};
|
|
272
|
+
readonly pipedrive: {
|
|
273
|
+
readonly mode: "api_key";
|
|
274
|
+
readonly label: "Pipedrive";
|
|
275
|
+
readonly description: "Sales CRM: deals, persons, organizations, activities and pipelines.";
|
|
276
|
+
readonly auth: {
|
|
277
|
+
readonly kind: "header";
|
|
278
|
+
readonly secret: "PIPEDRIVE_API_TOKEN";
|
|
279
|
+
readonly header: "x-api-token";
|
|
280
|
+
};
|
|
281
|
+
readonly docs: "https://app.pipedrive.com/settings/api";
|
|
282
|
+
readonly api: "https://developers.pipedrive.com/docs/api/v1";
|
|
283
|
+
readonly hosts: readonly ["api.pipedrive.com"];
|
|
284
|
+
readonly data: "account";
|
|
285
|
+
readonly access: readonly ["read", "write"];
|
|
286
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
287
|
+
readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
|
|
288
|
+
readonly accountWidePaths: readonly [readonly ["v1", "users"], readonly ["v1", "webhooks"], readonly ["v1", "billing"], readonly ["v1", "permissionsets"], readonly ["v1", "roles"], readonly ["v1", "usersettings"], readonly ["v1", "userconnections"], readonly ["v1", "legacyteams"]];
|
|
289
|
+
readonly hint: "A personal API token from Settings > Personal preferences > API in Pipedrive; the Gateway sends it in the x-api-token header. If API is missing there, an admin enables it for the person's permission set.";
|
|
290
|
+
readonly secrets: readonly [{
|
|
291
|
+
readonly name: "PIPEDRIVE_API_TOKEN";
|
|
292
|
+
readonly hint: "Your personal API token from Settings > Personal preferences > API; it acts as you, and each company you belong to has its own.";
|
|
293
|
+
}];
|
|
294
|
+
readonly smoke: {
|
|
295
|
+
readonly method: "GET";
|
|
296
|
+
readonly path: "/v1/users/me";
|
|
297
|
+
readonly expect: readonly [200];
|
|
298
|
+
readonly free: true;
|
|
299
|
+
readonly note: "Account-wide, so the Gateway refuses it for apps; run it from the person's terminal.";
|
|
300
|
+
};
|
|
301
|
+
readonly cost: {
|
|
302
|
+
readonly unit: "call";
|
|
303
|
+
readonly note: "Each endpoint spends API tokens from a daily company budget of 30,000 x plan multiplier (1 to 7) x seats.";
|
|
304
|
+
};
|
|
305
|
+
readonly rate: {
|
|
306
|
+
readonly note: "Per API token: 20 (Lite) to 120 (Ultimate) requests per 2 seconds; Search 10 per 2 seconds.";
|
|
307
|
+
};
|
|
308
|
+
readonly example: "list the open deals in my main pipeline";
|
|
309
|
+
readonly verified: {
|
|
310
|
+
readonly on: "2026-10-25";
|
|
311
|
+
readonly how: "docs";
|
|
312
|
+
};
|
|
313
|
+
readonly tags: readonly ["crm", "sales"];
|
|
314
|
+
};
|
|
315
|
+
readonly airtable: {
|
|
316
|
+
readonly mode: "api_key";
|
|
317
|
+
readonly label: "Airtable";
|
|
318
|
+
readonly description: "Bases, tables and records in the Airtable workspaces a token can reach.";
|
|
319
|
+
readonly auth: {
|
|
320
|
+
readonly kind: "bearer";
|
|
321
|
+
readonly secret: "AIRTABLE_API_TOKEN";
|
|
322
|
+
};
|
|
323
|
+
readonly docs: "https://airtable.com/create/tokens";
|
|
324
|
+
readonly api: "https://airtable.com/developers/web/api/introduction";
|
|
325
|
+
readonly hosts: readonly ["api.airtable.com"];
|
|
326
|
+
readonly data: "account";
|
|
327
|
+
readonly access: readonly ["read", "write"];
|
|
328
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
329
|
+
readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
|
|
330
|
+
readonly accountWidePaths: readonly [readonly ["v0", "meta", "whoami"], readonly ["v0", "meta", "enterpriseaccounts"], readonly ["v0", "meta", "workspaces"], readonly ["v0", "meta", "groups"], readonly ["v0", "bases"], readonly ["scim"], readonly ["collaborators"], readonly ["invites"], readonly ["shares"], readonly ["blockinstallations"]];
|
|
331
|
+
readonly hint: "A personal access token from airtable.com/create/tokens, limited to the scopes and bases the app needs; the Gateway sends it as a bearer token. Listing records by POST (listRecords) needs write access; the GET form doesn't.";
|
|
332
|
+
readonly secrets: readonly [{
|
|
333
|
+
readonly name: "AIRTABLE_API_TOKEN";
|
|
334
|
+
readonly hint: "A personal access token limited to the scopes and bases the app needs.";
|
|
335
|
+
}];
|
|
336
|
+
readonly smoke: {
|
|
337
|
+
readonly method: "GET";
|
|
338
|
+
readonly path: "/v0/meta/whoami";
|
|
339
|
+
readonly expect: readonly [200];
|
|
340
|
+
readonly free: true;
|
|
341
|
+
readonly note: "Account-wide, so the Gateway refuses it for apps; run it from the person's terminal.";
|
|
342
|
+
};
|
|
343
|
+
readonly rate: {
|
|
344
|
+
readonly perSecond: 5;
|
|
345
|
+
readonly note: "5 requests per second per base; 50 per second across all of one user's personal access tokens.";
|
|
346
|
+
};
|
|
347
|
+
readonly example: "list this week's new rows in my Leads table";
|
|
348
|
+
readonly verified: {
|
|
349
|
+
readonly on: "2026-10-25";
|
|
350
|
+
readonly how: "docs";
|
|
351
|
+
};
|
|
352
|
+
readonly tags: readonly ["database", "spreadsheet"];
|
|
353
|
+
};
|
|
354
|
+
readonly notion: {
|
|
355
|
+
readonly mode: "api_key";
|
|
356
|
+
readonly label: "Notion";
|
|
357
|
+
readonly description: "Pages, databases and blocks that a Notion connection has been given.";
|
|
358
|
+
readonly auth: {
|
|
359
|
+
readonly kind: "bearer";
|
|
360
|
+
readonly secret: "NOTION_API_TOKEN";
|
|
361
|
+
};
|
|
362
|
+
readonly docs: "https://app.notion.com/developers/connections";
|
|
363
|
+
readonly api: "https://developers.notion.com/reference/intro";
|
|
364
|
+
readonly hosts: readonly ["api.notion.com"];
|
|
365
|
+
readonly data: "account";
|
|
366
|
+
readonly access: readonly ["read", "write"];
|
|
367
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
368
|
+
readonly writeMethods: readonly ["POST", "PATCH", "DELETE"];
|
|
369
|
+
readonly accountWidePaths: readonly [readonly ["v1", "users"], readonly ["v1", "oauth"], readonly ["admin"]];
|
|
370
|
+
readonly hint: "An internal connection's API token (a workspace owner creates the connection in Notion's developer portal), sent as a bearer token; it reaches only pages shared with it. The app sends the Notion-Version header itself. Search and data source queries are POSTs, so an app that queries needs write access.";
|
|
371
|
+
readonly secrets: readonly [{
|
|
372
|
+
readonly name: "NOTION_API_TOKEN";
|
|
373
|
+
readonly hint: "The API token on an internal connection's Configuration tab; share the pages it should reach with the connection.";
|
|
374
|
+
}];
|
|
375
|
+
readonly smoke: {
|
|
376
|
+
readonly method: "GET";
|
|
377
|
+
readonly path: "/v1/users/me";
|
|
378
|
+
readonly expect: readonly [200];
|
|
379
|
+
readonly free: true;
|
|
380
|
+
readonly note: "Send Notion-Version: 2026-03-11 with it; account-wide, so run it from the person's terminal.";
|
|
381
|
+
};
|
|
382
|
+
readonly rate: {
|
|
383
|
+
readonly perMinute: 180;
|
|
384
|
+
readonly note: "Per connection: 180 a minute, 600 on Business and Enterprise; data source queries about 3 per second.";
|
|
385
|
+
};
|
|
386
|
+
readonly example: "find the pages in my Projects database that are due this week";
|
|
387
|
+
readonly verified: {
|
|
388
|
+
readonly on: "2026-10-25";
|
|
389
|
+
readonly how: "docs";
|
|
390
|
+
};
|
|
391
|
+
readonly tags: readonly ["docs", "notes", "database"];
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
//# sourceMappingURL=commerce.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commerce.d.ts","sourceRoot":"","sources":["../../../src/internal/catalog/commerce.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsegC,CAAC"}
|