listbee-mcp 0.14.0 → 0.15.0
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 +44 -54
- package/dist/generated/meta.d.ts.map +1 -1
- package/dist/generated/meta.js +33 -138
- package/dist/generated/meta.js.map +1 -1
- package/dist/generated/schemas.d.ts +42 -98
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +13 -23
- package/dist/generated/schemas.js.map +1 -1
- package/dist/handlers/bootstrap.d.ts +1 -1
- package/dist/handlers/bootstrap.d.ts.map +1 -1
- package/dist/handlers/bootstrap.js +27 -12
- package/dist/handlers/bootstrap.js.map +1 -1
- package/dist/handlers.d.ts.map +1 -1
- package/dist/handlers.js +3 -13
- package/dist/handlers.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +35 -27
- package/dist/server.js.map +1 -1
- package/mcp-tools.yaml +94 -227
- package/package.json +2 -2
- package/dist/handlers/upload-file.d.ts +0 -7
- package/dist/handlers/upload-file.d.ts.map +0 -1
- package/dist/handlers/upload-file.js +0 -44
- package/dist/handlers/upload-file.js.map +0 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://insiders.vscode.dev/redirect/mcp/install?name=listbee&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22listbee-mcp%22%5D%2C%22env%22%3A%7B%22LISTBEE_API_KEY%22%3A%22%24%7Binput%3AapiKey%7D%22%7D%7D)
|
|
4
4
|
|
|
5
|
-
MCP server for ListBee — commerce API for AI agents.
|
|
5
|
+
MCP server for ListBee — commerce API for AI agents. 20 tools.
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -16,43 +16,44 @@ MCP server for ListBee — commerce API for AI agents.
|
|
|
16
16
|
|
|
17
17
|
## Golden Path
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Three calls to go from zero to a live, selling product page:
|
|
20
20
|
|
|
21
21
|
```
|
|
22
|
-
create_listing →
|
|
23
|
-
name, price
|
|
22
|
+
create_listing → get_listing → publish_listing
|
|
23
|
+
name, price check status go live
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
**1. Create**
|
|
26
|
+
**1. Create** — set `deliverable` for managed auto-delivery, or `agent_callback_url` for async agent fulfillment
|
|
27
27
|
```json
|
|
28
|
-
{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
{ "deliverables": [{ "type": "url", "value": "https://...", "label": "Download" }] }
|
|
28
|
+
{
|
|
29
|
+
"name": "50 Cold Outreach Templates",
|
|
30
|
+
"price": 1900,
|
|
31
|
+
"deliverable": { "type": "url", "value": "https://cdn.example.com/templates.zip" }
|
|
32
|
+
}
|
|
34
33
|
```
|
|
35
34
|
|
|
36
|
-
**
|
|
35
|
+
**2. Inspect readiness** — `get_listing` tells you what's missing and how to fix it
|
|
37
36
|
|
|
38
|
-
**
|
|
37
|
+
**3. Publish** — `publish_listing` makes the product page live
|
|
39
38
|
|
|
40
39
|
---
|
|
41
40
|
|
|
42
41
|
## Bootstrap (no API key)
|
|
43
42
|
|
|
44
|
-
Don't have a ListBee account yet? Start the MCP server without a key — it exposes
|
|
43
|
+
Don't have a ListBee account yet? Start the MCP server without a key — it exposes bootstrap tools for account creation:
|
|
45
44
|
|
|
46
45
|
```
|
|
47
|
-
bootstrap_start
|
|
48
|
-
send OTP email
|
|
46
|
+
bootstrap_start → bootstrap_verify
|
|
47
|
+
send OTP email verify 6-digit → get API key + Stripe onboarding URL
|
|
49
48
|
```
|
|
50
49
|
|
|
51
50
|
```bash
|
|
52
51
|
npx -y listbee-mcp # no --api-key needed
|
|
53
52
|
```
|
|
54
53
|
|
|
55
|
-
`
|
|
54
|
+
`bootstrap_verify` returns `{ account_id, api_key, stripe_onboarding_url }`. Store the key immediately, then restart the MCP session with `--api-key lb_...` to unlock all tools.
|
|
55
|
+
|
|
56
|
+
After restarting with the key, call `bootstrap_poll` to check whether Stripe Connect onboarding is complete before creating listings.
|
|
56
57
|
|
|
57
58
|
For the HTTP transport, sessions initialized without a `Bearer` header are automatically bootstrap-only. After bootstrap, open a new session with the key to access the full tool set.
|
|
58
59
|
|
|
@@ -167,33 +168,31 @@ npx -y listbee-mcp --api-key lb_... --tools create_listing,get_listing,publish_l
|
|
|
167
168
|
|
|
168
169
|
## Tools
|
|
169
170
|
|
|
170
|
-
### Bootstrap (no API key required)
|
|
171
|
+
### Bootstrap (no API key required for start + verify)
|
|
171
172
|
|
|
172
173
|
| Tool | Description |
|
|
173
174
|
|------|-------------|
|
|
174
|
-
| `bootstrap_start` | Send a one-time passcode to an email address. Step 1 of
|
|
175
|
-
| `bootstrap_verify` | Verify the OTP from email. Step 2 of
|
|
176
|
-
| `
|
|
175
|
+
| `bootstrap_start` | Send a one-time passcode to an email address. Step 1 of 2 for account creation. |
|
|
176
|
+
| `bootstrap_verify` | Verify the OTP from email. Issues the API key and Stripe onboarding URL. Step 2 of 2. Store the key immediately. |
|
|
177
|
+
| `bootstrap_poll` | Poll Stripe Connect onboarding readiness. Returns `ready=true` once charges are enabled. Requires API key. |
|
|
177
178
|
|
|
178
179
|
### Account
|
|
179
180
|
|
|
180
181
|
| Tool | Description |
|
|
181
182
|
|------|-------------|
|
|
182
183
|
| `get_account` | Get the account's full state including readiness and billing status. |
|
|
183
|
-
| `update_account` | Update account-level settings (GA tracking,
|
|
184
|
+
| `update_account` | Update account-level settings (display name, bio, avatar, GA tracking, events callback URL). |
|
|
184
185
|
| `delete_account` | Permanently delete the account and all data. Irreversible. |
|
|
185
186
|
|
|
186
187
|
### Listings
|
|
187
188
|
|
|
188
189
|
| Tool | Description |
|
|
189
190
|
|------|-------------|
|
|
190
|
-
| `create_listing` | Create a new listing for sale. Returns checkout URL and readiness. |
|
|
191
|
+
| `create_listing` | Create a new listing for sale. Set `deliverable` for managed delivery or `agent_callback_url` for async agent fulfillment. Returns checkout URL and readiness. |
|
|
191
192
|
| `get_listing` | Get full listing state including readiness. Call after every change. |
|
|
192
|
-
| `update_listing` | Update title, price, or other listing details. |
|
|
193
|
+
| `update_listing` | Update title, price, deliverable, or other listing details. |
|
|
193
194
|
| `list_listings` | List all listings for the current account. |
|
|
194
195
|
| `publish_listing` | Publish a listing so buyers can access the product page. |
|
|
195
|
-
| `set_deliverables` | Attach digital content (file, URL, or text) for automatic delivery. |
|
|
196
|
-
| `remove_deliverables` | Remove deliverables to switch to external fulfillment. Draft only. |
|
|
197
196
|
| `delete_listing` | Permanently delete a listing. |
|
|
198
197
|
|
|
199
198
|
### Orders
|
|
@@ -201,41 +200,23 @@ npx -y listbee-mcp --api-key lb_... --tools create_listing,get_listing,publish_l
|
|
|
201
200
|
| Tool | Description |
|
|
202
201
|
|------|-------------|
|
|
203
202
|
| `list_orders` | See all sales and order status. |
|
|
204
|
-
| `get_order` | Get full order details including buyer info and
|
|
205
|
-
| `fulfill_order` | Push
|
|
203
|
+
| `get_order` | Get full order details including buyer info, payment, and unlock URL. |
|
|
204
|
+
| `fulfill_order` | Push a deliverable to a buyer or mark as fulfilled (external fulfillment). Accepts optional `metadata`. |
|
|
206
205
|
| `refund_order` | Issue a full refund for an order through Stripe. |
|
|
206
|
+
| `order_redeliver` | Re-queue `order.paid` / `order.fulfilled` to the listing's `agent_callback_url`. Rate-limited: 10/hour/order. |
|
|
207
207
|
|
|
208
|
-
###
|
|
209
|
-
|
|
210
|
-
| Tool | Description |
|
|
211
|
-
|------|-------------|
|
|
212
|
-
| `list_customers` | List all buyers who have purchased. Auto-populated from orders. |
|
|
213
|
-
| `get_customer` | Get a customer by ID — total orders, total spent, purchase history. |
|
|
214
|
-
|
|
215
|
-
### Webhooks
|
|
216
|
-
|
|
217
|
-
| Tool | Description |
|
|
218
|
-
|------|-------------|
|
|
219
|
-
| `create_webhook` | Create a webhook endpoint. Returns a `whsec_` secret for signature verification. |
|
|
220
|
-
| `list_webhooks` | List all webhook endpoints for the account. |
|
|
221
|
-
| `update_webhook` | Update a webhook URL or event filter. |
|
|
222
|
-
| `delete_webhook` | Delete a webhook endpoint. Irreversible. |
|
|
223
|
-
| `test_webhook` | Send a test event to verify webhook configuration before going live. |
|
|
224
|
-
| `list_webhook_events` | List recent events for a webhook — delivery status, attempts, errors. |
|
|
225
|
-
| `retry_webhook_event` | Retry delivery of a failed webhook event. |
|
|
226
|
-
|
|
227
|
-
### Files
|
|
208
|
+
### Stripe
|
|
228
209
|
|
|
229
210
|
| Tool | Description |
|
|
230
211
|
|------|-------------|
|
|
231
|
-
| `
|
|
212
|
+
| `start_stripe_connect` | Start Stripe Connect onboarding. Returns a URL — the human must open it in a browser. |
|
|
213
|
+
| `disconnect_stripe` | Disconnect the Stripe account from ListBee. |
|
|
232
214
|
|
|
233
|
-
###
|
|
215
|
+
### API Keys
|
|
234
216
|
|
|
235
217
|
| Tool | Description |
|
|
236
218
|
|------|-------------|
|
|
237
|
-
| `
|
|
238
|
-
| `disconnect_stripe` | Disconnect the Stripe account from ListBee. |
|
|
219
|
+
| `api_key_self_revoke` | Self-revoke the API key used to authenticate this call. Idempotent. Use when credential is compromised. |
|
|
239
220
|
|
|
240
221
|
---
|
|
241
222
|
|
|
@@ -273,12 +254,21 @@ Every listing response includes a `readiness` object that tells you exactly what
|
|
|
273
254
|
- `human` actions: requires human input (show the `message` and `url`)
|
|
274
255
|
- `readiness.next` — the highest-priority action code to resolve first
|
|
275
256
|
|
|
276
|
-
**Canonical action codes:** `connect_stripe`, `enable_charges`, `update_billing`, `configure_webhook`, `publish_listing`, `webhook_disabled`
|
|
277
|
-
|
|
278
257
|
**The pattern:** `create_listing` → `get_listing` → resolve each `api` action → surface `human` actions to the user → `publish_listing` when `publishable` is `true`.
|
|
279
258
|
|
|
280
259
|
---
|
|
281
260
|
|
|
261
|
+
## Fulfillment Modes
|
|
262
|
+
|
|
263
|
+
ListBee supports two fulfillment modes, set at listing creation:
|
|
264
|
+
|
|
265
|
+
- **Managed (`STATIC`)** — set `deliverable` on the listing. ListBee auto-delivers the content to buyers on payment via an unlock page and email.
|
|
266
|
+
- **Async agent (`ASYNC`)** — set `agent_callback_url` on the listing. ListBee fires a webhook to your agent on payment; your agent calls `fulfill_order` with the generated content.
|
|
267
|
+
|
|
268
|
+
For `ASYNC` mode, use `order_redeliver` if your callback handler missed an event.
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
282
272
|
## Debugging
|
|
283
273
|
|
|
284
274
|
Use [MCP Inspector](https://github.com/modelcontextprotocol/inspector) for interactive testing:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/generated/meta.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,eAAe;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,QAAQ;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,eAAe,CAAC;CAC9B;AAED,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/generated/meta.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,eAAe;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,QAAQ;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,eAAe,CAAC;CAC9B;AAED,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CA2NzC,CAAC"}
|
package/dist/generated/meta.js
CHANGED
|
@@ -2,26 +2,38 @@
|
|
|
2
2
|
// source: openapi.json + mcp-tools.yaml
|
|
3
3
|
// Regenerate with: npm run generate
|
|
4
4
|
// openapi_version: 1.0.0
|
|
5
|
-
// generated_at: 2026-04-
|
|
6
|
-
// sha256:
|
|
5
|
+
// generated_at: 2026-04-18T10:53:29.109Z
|
|
6
|
+
// sha256: e2bc15e333a33e57794095fab1d4c50a4ee45c303d9e25b9157118831742f755
|
|
7
7
|
export const meta = {
|
|
8
|
-
|
|
9
|
-
operationId: "
|
|
8
|
+
api_key_self_revoke: {
|
|
9
|
+
operationId: "api_key_self_revoke",
|
|
10
10
|
method: "POST",
|
|
11
|
-
path: "/v1/
|
|
12
|
-
description: "
|
|
11
|
+
path: "/v1/api-keys/self-revoke",
|
|
12
|
+
description: "Self-revokes the API key in the Authorization header. Does not list or affect other keys on the account. Idempotent — already-revoked keys return 200. No rate limit.",
|
|
13
13
|
annotations: {
|
|
14
|
-
destructiveHint:
|
|
14
|
+
destructiveHint: true,
|
|
15
15
|
idempotentHint: true,
|
|
16
16
|
openWorldHint: false,
|
|
17
17
|
readOnlyHint: false,
|
|
18
18
|
},
|
|
19
19
|
},
|
|
20
|
+
bootstrap_poll: {
|
|
21
|
+
operationId: "bootstrap_poll",
|
|
22
|
+
method: "GET",
|
|
23
|
+
path: "/v1/bootstrap/{account_id}",
|
|
24
|
+
description: "Polling endpoint. Returns ready=true once charges_enabled; actions[] surfaces what's still blocking. Poll every 30 seconds after handing the Stripe onboarding URL to the human. Give up after 15 minutes.",
|
|
25
|
+
annotations: {
|
|
26
|
+
destructiveHint: false,
|
|
27
|
+
idempotentHint: true,
|
|
28
|
+
openWorldHint: false,
|
|
29
|
+
readOnlyHint: true,
|
|
30
|
+
},
|
|
31
|
+
},
|
|
20
32
|
bootstrap_start: {
|
|
21
33
|
operationId: "bootstrap_start",
|
|
22
34
|
method: "POST",
|
|
23
|
-
path: "/v1/bootstrap",
|
|
24
|
-
description: "
|
|
35
|
+
path: "/v1/bootstrap/start",
|
|
36
|
+
description: "Step 1 of 2. Emails an OTP and returns a single-use bootstrap_token plus the account_id. Token TTL 10 min. Flow: bootstrap_start → bootstrap_verify. No API key required.",
|
|
25
37
|
annotations: {
|
|
26
38
|
destructiveHint: false,
|
|
27
39
|
idempotentHint: false,
|
|
@@ -33,7 +45,7 @@ export const meta = {
|
|
|
33
45
|
operationId: "bootstrap_verify",
|
|
34
46
|
method: "POST",
|
|
35
47
|
path: "/v1/bootstrap/verify",
|
|
36
|
-
description: "Verifies the OTP
|
|
48
|
+
description: "Step 2 of 2. Verifies the OTP, issues the first API key (shown once — store immediately), and returns Stripe onboarding URL. Hand the Stripe URL to the human; poll bootstrap_poll until ready.",
|
|
37
49
|
annotations: {
|
|
38
50
|
destructiveHint: false,
|
|
39
51
|
idempotentHint: false,
|
|
@@ -45,17 +57,7 @@ export const meta = {
|
|
|
45
57
|
operationId: "create_listing",
|
|
46
58
|
method: "POST",
|
|
47
59
|
path: "/v1/listings",
|
|
48
|
-
description: "Create a new listing for sale. Returns a checkout URL and readiness status. Only name and price are required — but listings with rich content convert significantly better. Fill in as many fields as you can: description, tagline, highlights, badges, reviews, faqs, cta, cover_url. Write salesy, compelling copy. The product page buyers see is built entirely from these fields. Fulfillment is
|
|
49
|
-
annotations: {
|
|
50
|
-
destructiveHint: false,
|
|
51
|
-
readOnlyHint: false,
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
create_webhook: {
|
|
55
|
-
operationId: "create_webhook",
|
|
56
|
-
method: "POST",
|
|
57
|
-
path: "/v1/webhooks",
|
|
58
|
-
description: "Create a webhook endpoint. Specify the URL and which events to receive. The webhook secret (whsec_ prefixed) is returned for signature verification.",
|
|
60
|
+
description: "Create a new listing for sale. Returns a checkout URL and readiness status. Only name and price are required — but listings with rich content convert significantly better. Fill in as many fields as you can: description, tagline, highlights, badges, reviews, faqs, cta, cover_url. Write salesy, compelling copy. The product page buyers see is built entirely from these fields. Fulfillment mode is determined automatically: set deliverable for managed auto-delivery (STATIC), or set agent_callback_url for async agent-driven fulfillment (ASYNC). No content_type field needed. signing_secret is optional — auto-generated if omitted (use it to verify callback payloads from this listing). metadata accepts a free-form dict (max 50 keys; key ≤ 40 chars, value ≤ 500 chars — Stripe-aligned limits).",
|
|
59
61
|
annotations: {
|
|
60
62
|
destructiveHint: false,
|
|
61
63
|
readOnlyHint: false,
|
|
@@ -81,16 +83,6 @@ export const meta = {
|
|
|
81
83
|
readOnlyHint: false,
|
|
82
84
|
},
|
|
83
85
|
},
|
|
84
|
-
delete_webhook: {
|
|
85
|
-
operationId: "delete_webhook",
|
|
86
|
-
method: "DELETE",
|
|
87
|
-
path: "/v1/webhooks/{webhook_id}",
|
|
88
|
-
description: "Permanently delete a webhook endpoint. This is irreversible — the webhook and its delivery history cannot be recovered.",
|
|
89
|
-
annotations: {
|
|
90
|
-
destructiveHint: true,
|
|
91
|
-
readOnlyHint: false,
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
86
|
disconnect_stripe: {
|
|
95
87
|
operationId: "disconnect_stripe",
|
|
96
88
|
method: "DELETE",
|
|
@@ -105,7 +97,7 @@ export const meta = {
|
|
|
105
97
|
operationId: "fulfill_order",
|
|
106
98
|
method: "POST",
|
|
107
99
|
path: "/v1/orders/{order_id}/fulfill",
|
|
108
|
-
description: "
|
|
100
|
+
description: "Mark a paid order as fulfilled by providing the deliverable content (single URL or Markdown text). The deliverable is delivered to the buyer via the unlock page and, if configured, the agent_callback_url webhook payload. Omit deliverable to mark the order as complete without delivering content (for externally fulfilled orders). metadata accepts a free-form dict (max 50 keys; key ≤ 40 chars, value ≤ 500 chars) — useful for correlating agent work (e.g. job_id, generation_run, delivery_ref).",
|
|
109
101
|
annotations: {
|
|
110
102
|
destructiveHint: false,
|
|
111
103
|
readOnlyHint: false,
|
|
@@ -122,17 +114,6 @@ export const meta = {
|
|
|
122
114
|
readOnlyHint: true,
|
|
123
115
|
},
|
|
124
116
|
},
|
|
125
|
-
get_customer: {
|
|
126
|
-
operationId: "get_customer",
|
|
127
|
-
method: "GET",
|
|
128
|
-
path: "/v1/customers/{customer_id}",
|
|
129
|
-
description: "Get a customer by ID. Shows total orders, total spent, currency, and purchase dates. Customers represent unique buyer emails that have purchased from the seller.",
|
|
130
|
-
annotations: {
|
|
131
|
-
destructiveHint: false,
|
|
132
|
-
idempotentHint: true,
|
|
133
|
-
readOnlyHint: true,
|
|
134
|
-
},
|
|
135
|
-
},
|
|
136
117
|
get_listing: {
|
|
137
118
|
operationId: "get_listing",
|
|
138
119
|
method: "GET",
|
|
@@ -155,17 +136,6 @@ export const meta = {
|
|
|
155
136
|
readOnlyHint: true,
|
|
156
137
|
},
|
|
157
138
|
},
|
|
158
|
-
list_customers: {
|
|
159
|
-
operationId: "list_customers",
|
|
160
|
-
method: "GET",
|
|
161
|
-
path: "/v1/customers",
|
|
162
|
-
description: "List all customers (buyers) who have purchased from the seller. Auto-populated from orders — no manual creation needed. Sorted by most recent purchase first. Filter by email for exact match lookup.",
|
|
163
|
-
annotations: {
|
|
164
|
-
destructiveHint: false,
|
|
165
|
-
idempotentHint: true,
|
|
166
|
-
readOnlyHint: true,
|
|
167
|
-
},
|
|
168
|
-
},
|
|
169
139
|
list_listings: {
|
|
170
140
|
operationId: "list_listings",
|
|
171
141
|
method: "GET",
|
|
@@ -188,26 +158,16 @@ export const meta = {
|
|
|
188
158
|
readOnlyHint: true,
|
|
189
159
|
},
|
|
190
160
|
},
|
|
191
|
-
|
|
192
|
-
operationId: "
|
|
193
|
-
method: "
|
|
194
|
-
path: "/v1/
|
|
195
|
-
description: "
|
|
196
|
-
annotations: {
|
|
197
|
-
destructiveHint: false,
|
|
198
|
-
idempotentHint: true,
|
|
199
|
-
readOnlyHint: true,
|
|
200
|
-
},
|
|
201
|
-
},
|
|
202
|
-
list_webhooks: {
|
|
203
|
-
operationId: "list_webhooks",
|
|
204
|
-
method: "GET",
|
|
205
|
-
path: "/v1/webhooks",
|
|
206
|
-
description: "List all webhooks for the account. Shows URL, events filter, and enabled status.",
|
|
161
|
+
order_redeliver: {
|
|
162
|
+
operationId: "redeliver_order",
|
|
163
|
+
method: "POST",
|
|
164
|
+
path: "/v1/orders/{order_id}/redeliver",
|
|
165
|
+
description: "Requeue order.paid (and order.fulfilled if applicable) to the listing's agent_callback_url with attempt=1, no initial delay. Rate limited: 10/hour/order, 100/hour/api-key. Pass an Idempotency-Key header to dedupe within 24h. Responds 202 with scheduled_attempts count. Zero means the listing has no agent_callback_url — agent should poll /v1/orders or /v1/events instead.",
|
|
207
166
|
annotations: {
|
|
208
167
|
destructiveHint: false,
|
|
209
|
-
idempotentHint:
|
|
210
|
-
|
|
168
|
+
idempotentHint: false,
|
|
169
|
+
openWorldHint: true,
|
|
170
|
+
readOnlyHint: false,
|
|
211
171
|
},
|
|
212
172
|
},
|
|
213
173
|
publish_listing: {
|
|
@@ -231,38 +191,6 @@ export const meta = {
|
|
|
231
191
|
readOnlyHint: false,
|
|
232
192
|
},
|
|
233
193
|
},
|
|
234
|
-
remove_deliverables: {
|
|
235
|
-
operationId: "remove_deliverables",
|
|
236
|
-
method: "DELETE",
|
|
237
|
-
path: "/v1/listings/{listing_id}/deliverables",
|
|
238
|
-
description: "Remove all deliverables from a listing. This is irreversible — the files and delivery configuration cannot be recovered. The listing switches to external fulfillment (webhook or agent callback).",
|
|
239
|
-
annotations: {
|
|
240
|
-
destructiveHint: true,
|
|
241
|
-
readOnlyHint: false,
|
|
242
|
-
},
|
|
243
|
-
},
|
|
244
|
-
retry_webhook_event: {
|
|
245
|
-
operationId: "retry_webhook_event",
|
|
246
|
-
method: "POST",
|
|
247
|
-
path: "/v1/webhooks/{webhook_id}/events/{event_id}/retry",
|
|
248
|
-
description: "Retry delivery of a failed webhook event. Resets attempt counter.",
|
|
249
|
-
annotations: {
|
|
250
|
-
destructiveHint: false,
|
|
251
|
-
openWorldHint: true,
|
|
252
|
-
readOnlyHint: false,
|
|
253
|
-
},
|
|
254
|
-
},
|
|
255
|
-
set_deliverables: {
|
|
256
|
-
operationId: "set_deliverables",
|
|
257
|
-
method: "PUT",
|
|
258
|
-
path: "/v1/listings/{listing_id}/deliverables",
|
|
259
|
-
description: "Set digital deliverables (files, URLs, or text) on a listing. Listings with deliverables auto-deliver to buyers on purchase.",
|
|
260
|
-
annotations: {
|
|
261
|
-
destructiveHint: false,
|
|
262
|
-
idempotentHint: true,
|
|
263
|
-
readOnlyHint: false,
|
|
264
|
-
},
|
|
265
|
-
},
|
|
266
194
|
start_stripe_connect: {
|
|
267
195
|
operationId: "start_stripe_connect",
|
|
268
196
|
method: "POST",
|
|
@@ -273,17 +201,6 @@ export const meta = {
|
|
|
273
201
|
readOnlyHint: false,
|
|
274
202
|
},
|
|
275
203
|
},
|
|
276
|
-
test_webhook: {
|
|
277
|
-
operationId: "test_webhook",
|
|
278
|
-
method: "POST",
|
|
279
|
-
path: "/v1/webhooks/{webhook_id}/test",
|
|
280
|
-
description: "Send a test event to the webhook URL. Returns the delivery result. Use this to verify webhook configuration before going live.",
|
|
281
|
-
annotations: {
|
|
282
|
-
destructiveHint: false,
|
|
283
|
-
openWorldHint: true,
|
|
284
|
-
readOnlyHint: false,
|
|
285
|
-
},
|
|
286
|
-
},
|
|
287
204
|
update_account: {
|
|
288
205
|
operationId: "update_account",
|
|
289
206
|
method: "PUT",
|
|
@@ -299,34 +216,12 @@ export const meta = {
|
|
|
299
216
|
operationId: "update_listing",
|
|
300
217
|
method: "PUT",
|
|
301
218
|
path: "/v1/listings/{listing_id}",
|
|
302
|
-
description: "Update listing fields. Returns updated listing with readiness.",
|
|
303
|
-
annotations: {
|
|
304
|
-
destructiveHint: false,
|
|
305
|
-
idempotentHint: true,
|
|
306
|
-
readOnlyHint: false,
|
|
307
|
-
},
|
|
308
|
-
},
|
|
309
|
-
update_webhook: {
|
|
310
|
-
operationId: "update_webhook",
|
|
311
|
-
method: "PUT",
|
|
312
|
-
path: "/v1/webhooks/{webhook_id}",
|
|
313
|
-
description: "Update a webhook endpoint URL, name, or subscribed events. Only provided fields are changed. Use POST /v1/webhooks/{webhook_id}/test to verify the updated endpoint receives events correctly.",
|
|
219
|
+
description: "Update listing fields. Returns updated listing with readiness. To rotate the signing secret, include `signing_secret` in the request body: set to `null` to auto-generate a new secret, or provide a custom string. When rotation occurs, the response object is `listing_with_secret` and includes the full new `signing_secret` once.",
|
|
314
220
|
annotations: {
|
|
315
221
|
destructiveHint: false,
|
|
316
222
|
idempotentHint: true,
|
|
317
223
|
readOnlyHint: false,
|
|
318
224
|
},
|
|
319
225
|
},
|
|
320
|
-
upload_file: {
|
|
321
|
-
operationId: "upload_file",
|
|
322
|
-
method: "POST",
|
|
323
|
-
path: "/v1/files",
|
|
324
|
-
description: "Upload a file and receive a token for use in deliverables.",
|
|
325
|
-
annotations: {
|
|
326
|
-
destructiveHint: false,
|
|
327
|
-
openWorldHint: true,
|
|
328
|
-
readOnlyHint: false,
|
|
329
|
-
},
|
|
330
|
-
},
|
|
331
226
|
};
|
|
332
227
|
//# sourceMappingURL=meta.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../src/generated/meta.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,wCAAwC;AACxC,oCAAoC;AACpC,yBAAyB;AACzB,yCAAyC;AACzC,2EAA2E;AAiB3E,MAAM,CAAC,MAAM,IAAI,GAA6B;IAC5C,
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../src/generated/meta.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,wCAAwC;AACxC,oCAAoC;AACpC,yBAAyB;AACzB,yCAAyC;AACzC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