listbee-mcp 0.2.0 → 0.4.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/dist/generated/meta.d.ts.map +1 -1
- package/dist/generated/meta.js +119 -5
- package/dist/generated/meta.js.map +1 -1
- package/dist/generated/schemas.d.ts +209 -13
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +24 -5
- package/dist/generated/schemas.js.map +1 -1
- package/dist/handlers/stripe-connect.d.ts +9 -0
- package/dist/handlers/stripe-connect.d.ts.map +1 -0
- package/dist/{tools/stripe.js → handlers/stripe-connect.js} +8 -4
- package/dist/handlers/stripe-connect.js.map +1 -0
- package/dist/handlers/upload-file.d.ts +7 -0
- package/dist/handlers/upload-file.d.ts.map +1 -0
- package/dist/handlers/upload-file.js +38 -0
- package/dist/handlers/upload-file.js.map +1 -0
- package/dist/handlers.d.ts +4 -0
- package/dist/handlers.d.ts.map +1 -0
- package/dist/handlers.js +41 -0
- package/dist/handlers.js.map +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +31 -33
- package/dist/server.js.map +1 -1
- package/dist/transports/http.d.ts.map +1 -1
- package/dist/transports/http.js +25 -1
- package/dist/transports/http.js.map +1 -1
- package/dist/types.d.ts +1 -8
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +18 -18
- package/dist/types.js.map +1 -1
- package/dist/{tools/shared.d.ts → utils.d.ts} +2 -2
- package/dist/utils.d.ts.map +1 -0
- package/dist/{tools/shared.js → utils.js} +1 -1
- package/dist/utils.js.map +1 -0
- package/mcp-tools.yaml +255 -1
- package/package.json +2 -1
- package/dist/client.d.ts +0 -18
- package/dist/client.d.ts.map +0 -1
- package/dist/client.js +0 -61
- package/dist/client.js.map +0 -1
- package/dist/tools/files.d.ts +0 -7
- package/dist/tools/files.d.ts.map +0 -1
- package/dist/tools/files.js +0 -34
- package/dist/tools/files.js.map +0 -1
- package/dist/tools/listings.d.ts +0 -44
- package/dist/tools/listings.d.ts.map +0 -1
- package/dist/tools/listings.js +0 -83
- package/dist/tools/listings.js.map +0 -1
- package/dist/tools/orders.d.ts +0 -16
- package/dist/tools/orders.d.ts.map +0 -1
- package/dist/tools/orders.js +0 -41
- package/dist/tools/orders.js.map +0 -1
- package/dist/tools/shared.d.ts.map +0 -1
- package/dist/tools/shared.js.map +0 -1
- package/dist/tools/stripe.d.ts +0 -4
- package/dist/tools/stripe.d.ts.map +0 -1
- package/dist/tools/stripe.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/generated/meta.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,QAAQ;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB;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,QAAQ;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAuMzC,CAAC"}
|
package/dist/generated/meta.js
CHANGED
|
@@ -2,14 +2,44 @@
|
|
|
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-05T13:40:19.654Z
|
|
6
|
+
// sha256: c8b0d9640ed32ea12e64304dc6799ff00452ce0d57e332cd3eb4bd37042a3254
|
|
7
7
|
export const meta = {
|
|
8
|
+
create_account: {
|
|
9
|
+
operationId: "create_account",
|
|
10
|
+
method: "POST",
|
|
11
|
+
path: "/v1/account",
|
|
12
|
+
description: "Create a new ListBee account with an email address. Sends an OTP code to the email for verification. Follow up with verify_otp to complete signup and get an API key.",
|
|
13
|
+
},
|
|
14
|
+
create_api_key: {
|
|
15
|
+
operationId: "create_api_key",
|
|
16
|
+
method: "POST",
|
|
17
|
+
path: "/v1/api-keys",
|
|
18
|
+
description: "Create a new API key. The full key value (lb_ prefixed) is returned only once — store it securely. Each key can have a name for identification.",
|
|
19
|
+
},
|
|
8
20
|
create_listing: {
|
|
9
21
|
operationId: "create_listing",
|
|
10
22
|
method: "POST",
|
|
11
23
|
path: "/v1/listings",
|
|
12
|
-
description: "Create a new listing for sale. Returns a checkout URL and readiness status.",
|
|
24
|
+
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.",
|
|
25
|
+
},
|
|
26
|
+
create_webhook: {
|
|
27
|
+
operationId: "create_webhook",
|
|
28
|
+
method: "POST",
|
|
29
|
+
path: "/v1/webhooks",
|
|
30
|
+
description: "Create a webhook endpoint. Specify the URL and which events to receive. The webhook secret (whsec_ prefixed) is returned for signature verification.",
|
|
31
|
+
},
|
|
32
|
+
delete_account: {
|
|
33
|
+
operationId: "delete_account",
|
|
34
|
+
method: "DELETE",
|
|
35
|
+
path: "/v1/account",
|
|
36
|
+
description: "Permanently delete the account and all associated data. This is irreversible.",
|
|
37
|
+
},
|
|
38
|
+
delete_api_key: {
|
|
39
|
+
operationId: "delete_api_key",
|
|
40
|
+
method: "DELETE",
|
|
41
|
+
path: "/v1/api-keys/{key_id}",
|
|
42
|
+
description: "Delete an API key. The key is immediately revoked and cannot be used again.",
|
|
13
43
|
},
|
|
14
44
|
delete_listing: {
|
|
15
45
|
operationId: "delete_listing",
|
|
@@ -17,12 +47,36 @@ export const meta = {
|
|
|
17
47
|
path: "/v1/listings/{listing_id}",
|
|
18
48
|
description: "Delete a listing by ID and its stored content. Irreversible.",
|
|
19
49
|
},
|
|
50
|
+
delete_webhook: {
|
|
51
|
+
operationId: "delete_webhook",
|
|
52
|
+
method: "DELETE",
|
|
53
|
+
path: "/v1/webhooks/{webhook_id}",
|
|
54
|
+
description: "Delete a webhook endpoint. Irreversible.",
|
|
55
|
+
},
|
|
20
56
|
deliver_order: {
|
|
21
57
|
operationId: "deliver_order",
|
|
22
58
|
method: "POST",
|
|
23
59
|
path: "/v1/orders/{order_id}/deliver",
|
|
24
60
|
description: "Push digital content to a buyer for an external fulfillment order. Not needed for managed delivery — ListBee handles that automatically.",
|
|
25
61
|
},
|
|
62
|
+
disconnect_stripe: {
|
|
63
|
+
operationId: "disconnect_stripe",
|
|
64
|
+
method: "DELETE",
|
|
65
|
+
path: "/v1/account/stripe",
|
|
66
|
+
description: "Disconnect the Stripe account from ListBee. Existing listings retain their payment snapshot but new checkouts will fail.",
|
|
67
|
+
},
|
|
68
|
+
get_account: {
|
|
69
|
+
operationId: "get_account",
|
|
70
|
+
method: "GET",
|
|
71
|
+
path: "/v1/account",
|
|
72
|
+
description: "Get the authenticated account's full state including readiness and billing status. This is the first call an agent should make to understand what's set up.",
|
|
73
|
+
},
|
|
74
|
+
get_customer: {
|
|
75
|
+
operationId: "get_customer",
|
|
76
|
+
method: "GET",
|
|
77
|
+
path: "/v1/customers/{customer_id}",
|
|
78
|
+
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.",
|
|
79
|
+
},
|
|
26
80
|
get_listing: {
|
|
27
81
|
operationId: "get_listing",
|
|
28
82
|
method: "GET",
|
|
@@ -35,6 +89,18 @@ export const meta = {
|
|
|
35
89
|
path: "/v1/orders/{order_id}",
|
|
36
90
|
description: "Get a single order by ID. Order lifecycle: PENDING → PAID → FULFILLED. Managed listings auto-fulfill. External listings require fulfill() or ship() after payment.",
|
|
37
91
|
},
|
|
92
|
+
list_api_keys: {
|
|
93
|
+
operationId: "list_api_keys",
|
|
94
|
+
method: "GET",
|
|
95
|
+
path: "/v1/api-keys",
|
|
96
|
+
description: "List all API keys. Shows key prefixes and names but not full key values (those are only shown at creation time).",
|
|
97
|
+
},
|
|
98
|
+
list_customers: {
|
|
99
|
+
operationId: "list_customers",
|
|
100
|
+
method: "GET",
|
|
101
|
+
path: "/v1/customers",
|
|
102
|
+
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.",
|
|
103
|
+
},
|
|
38
104
|
list_listings: {
|
|
39
105
|
operationId: "list_listings",
|
|
40
106
|
method: "GET",
|
|
@@ -47,17 +113,41 @@ export const meta = {
|
|
|
47
113
|
path: "/v1/orders",
|
|
48
114
|
description: "List orders for the authenticated account. Filter by status, listing, and date range. Paginated. Order lifecycle: PENDING (checkout started, buyer data captured) → PAID (payment confirmed, order.paid webhook fires) → FULFILLED (content delivered or goods shipped). Terminal states: CANCELED (payment failed or abandoned), FAILED (system error). Managed listings auto-fulfill on payment. External listings stay in PAID until the seller calls fulfill() or ship().",
|
|
49
115
|
},
|
|
116
|
+
list_webhook_events: {
|
|
117
|
+
operationId: "list_webhook_events",
|
|
118
|
+
method: "GET",
|
|
119
|
+
path: "/v1/webhooks/{webhook_id}/events",
|
|
120
|
+
description: "List recent events for a webhook. Shows delivery status, attempts, and errors. Useful for debugging failed deliveries.",
|
|
121
|
+
},
|
|
122
|
+
list_webhooks: {
|
|
123
|
+
operationId: "list_webhooks",
|
|
124
|
+
method: "GET",
|
|
125
|
+
path: "/v1/webhooks",
|
|
126
|
+
description: "List all webhooks for the account. Shows URL, events filter, and enabled status.",
|
|
127
|
+
},
|
|
50
128
|
publish_listing: {
|
|
51
129
|
operationId: "publish_listing",
|
|
52
130
|
method: "POST",
|
|
53
131
|
path: "/v1/listings/{listing_id}/publish",
|
|
54
132
|
description: "Publish a listing so buyers can access the product page. Only works when readiness.publishable is true.",
|
|
55
133
|
},
|
|
134
|
+
refund_order: {
|
|
135
|
+
operationId: "refund_order",
|
|
136
|
+
method: "POST",
|
|
137
|
+
path: "/v1/orders/{order_id}/refund",
|
|
138
|
+
description: "Issue a full refund for an order. Refund is processed through Stripe on the seller's connected account. Idempotent — already-refunded orders return as-is. Order state (refund_amount, refunded_at) updates asynchronously via Stripe webhook.",
|
|
139
|
+
},
|
|
56
140
|
remove_deliverables: {
|
|
57
141
|
operationId: "remove_deliverables",
|
|
58
142
|
method: "DELETE",
|
|
59
143
|
path: "/v1/listings/{listing_id}/deliverables",
|
|
60
|
-
description: "Remove all deliverables from a draft listing. Demotes the listing to external fulfillment. Draft only — returns 409 if the listing is published
|
|
144
|
+
description: "Remove all deliverables from a draft listing. Demotes the listing to external fulfillment. Draft only — returns 409 if the listing is published.",
|
|
145
|
+
},
|
|
146
|
+
retry_webhook_event: {
|
|
147
|
+
operationId: "retry_webhook_event",
|
|
148
|
+
method: "POST",
|
|
149
|
+
path: "/v1/webhooks/{webhook_id}/events/{event_id}/retry",
|
|
150
|
+
description: "Retry delivery of a failed webhook event. Resets attempt counter.",
|
|
61
151
|
},
|
|
62
152
|
set_deliverables: {
|
|
63
153
|
operationId: "set_deliverables",
|
|
@@ -77,17 +167,41 @@ export const meta = {
|
|
|
77
167
|
path: "/v1/account/stripe/connect",
|
|
78
168
|
description: "Start Stripe Connect onboarding. Returns a URL for the human to complete in a browser. Required before selling through Stripe.",
|
|
79
169
|
},
|
|
170
|
+
test_webhook: {
|
|
171
|
+
operationId: "test_webhook",
|
|
172
|
+
method: "POST",
|
|
173
|
+
path: "/v1/webhooks/{webhook_id}/test",
|
|
174
|
+
description: "Send a test event to the webhook URL. Returns the delivery result. Use this to verify webhook configuration before going live.",
|
|
175
|
+
},
|
|
176
|
+
update_account: {
|
|
177
|
+
operationId: "update_account",
|
|
178
|
+
method: "PUT",
|
|
179
|
+
path: "/v1/account",
|
|
180
|
+
description: "Update the account's display name, bio, or avatar. These appear on product pages as the seller identity.",
|
|
181
|
+
},
|
|
80
182
|
update_listing: {
|
|
81
183
|
operationId: "update_listing",
|
|
82
184
|
method: "PUT",
|
|
83
185
|
path: "/v1/listings/{listing_id}",
|
|
84
186
|
description: "Update listing fields. Slug can be changed while in draft status — input is slugified, conflicts get a random suffix. Returns updated listing with readiness.",
|
|
85
187
|
},
|
|
188
|
+
update_webhook: {
|
|
189
|
+
operationId: "update_webhook",
|
|
190
|
+
method: "PUT",
|
|
191
|
+
path: "/v1/webhooks/{webhook_id}",
|
|
192
|
+
description: "Update a webhook endpoint. Only provided fields are changed.",
|
|
193
|
+
},
|
|
86
194
|
upload_file: {
|
|
87
195
|
operationId: "upload_file",
|
|
88
196
|
method: "POST",
|
|
89
197
|
path: "/v1/files",
|
|
90
|
-
description: "
|
|
198
|
+
description: "Upload a file and receive a token for use in deliverables.",
|
|
199
|
+
},
|
|
200
|
+
verify_otp: {
|
|
201
|
+
operationId: "verify_otp",
|
|
202
|
+
method: "POST",
|
|
203
|
+
path: "/v1/account/verify/otp",
|
|
204
|
+
description: "Verify the OTP code sent to the user's email during account creation. Returns an API key on success — store it securely for all future API calls.",
|
|
91
205
|
},
|
|
92
206
|
};
|
|
93
207
|
//# 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;AAS3E,MAAM,CAAC,MAAM,IAAI,GAA6B;IAC5C,cAAc,EAAE;QACd,WAAW,EAAE,gBAAgB;QAC7B,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,cAAc;QACpB,WAAW,EAAE,6EAA6E;KAC3F;IACD,cAAc,EAAE;QACd,WAAW,EAAE,gBA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AAW,EAAE,gBAAgB;QAC7B,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,2BAA2B;QACjC,WAAW,EAAE,8DAA8D;KAC5E;IACD,WAAW,EAAE;QACX,WAAW,EAAE,aAAa;QAC1B,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,4DAA4D;KAC1E;IACD,UAAU,EAAE;QACV,WAAW,EAAE,YAAY;QACzB,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EAAE,mJAAmJ;KACjK;CACF,CAAC"}
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const schemas: {
|
|
3
|
+
readonly create_account: z.ZodObject<{
|
|
4
|
+
email: z.ZodString;
|
|
5
|
+
}, "strict", z.ZodTypeAny, {
|
|
6
|
+
email: string;
|
|
7
|
+
}, {
|
|
8
|
+
email: string;
|
|
9
|
+
}>;
|
|
10
|
+
readonly create_api_key: z.ZodObject<{
|
|
11
|
+
name: z.ZodString;
|
|
12
|
+
}, "strict", z.ZodTypeAny, {
|
|
13
|
+
name: string;
|
|
14
|
+
}, {
|
|
15
|
+
name: string;
|
|
16
|
+
}>;
|
|
3
17
|
readonly create_listing: z.ZodObject<{
|
|
4
18
|
checkout_schema: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
5
19
|
key: z.ZodString;
|
|
@@ -22,11 +36,12 @@ export declare const schemas: {
|
|
|
22
36
|
}>, "many">, z.ZodNull]>>;
|
|
23
37
|
name: z.ZodString;
|
|
24
38
|
price: z.ZodNumber;
|
|
39
|
+
stock: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
25
40
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
26
41
|
tagline: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
27
42
|
highlights: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
28
43
|
cta: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
29
|
-
|
|
44
|
+
cover: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
30
45
|
metadata: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
|
|
31
46
|
utm_source: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
32
47
|
utm_medium: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -70,10 +85,11 @@ export declare const schemas: {
|
|
|
70
85
|
required: boolean;
|
|
71
86
|
options?: string[] | null | undefined;
|
|
72
87
|
}[] | null | undefined;
|
|
88
|
+
stock?: number | null | undefined;
|
|
73
89
|
tagline?: string | null | undefined;
|
|
74
90
|
highlights?: string[] | null | undefined;
|
|
75
91
|
cta?: string | null | undefined;
|
|
76
|
-
|
|
92
|
+
cover?: string | null | undefined;
|
|
77
93
|
metadata?: Record<string, any> | null | undefined;
|
|
78
94
|
utm_source?: string | null | undefined;
|
|
79
95
|
utm_medium?: string | null | undefined;
|
|
@@ -103,10 +119,11 @@ export declare const schemas: {
|
|
|
103
119
|
options?: string[] | null | undefined;
|
|
104
120
|
required?: boolean | undefined;
|
|
105
121
|
}[] | null | undefined;
|
|
122
|
+
stock?: number | null | undefined;
|
|
106
123
|
tagline?: string | null | undefined;
|
|
107
124
|
highlights?: string[] | null | undefined;
|
|
108
125
|
cta?: string | null | undefined;
|
|
109
|
-
|
|
126
|
+
cover?: string | null | undefined;
|
|
110
127
|
metadata?: Record<string, any> | null | undefined;
|
|
111
128
|
utm_source?: string | null | undefined;
|
|
112
129
|
utm_medium?: string | null | undefined;
|
|
@@ -126,6 +143,27 @@ export declare const schemas: {
|
|
|
126
143
|
a: string;
|
|
127
144
|
}[] | null | undefined;
|
|
128
145
|
}>;
|
|
146
|
+
readonly create_webhook: z.ZodObject<{
|
|
147
|
+
name: z.ZodString;
|
|
148
|
+
url: z.ZodString;
|
|
149
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<["order.paid", "order.fulfilled", "order.shipped", "order.refunded", "order.disputed", "order.dispute_closed", "order.canceled", "listing.created", "listing.updated", "listing.out_of_stock", "listing.deleted", "customer.created"]>, "many">>;
|
|
150
|
+
}, "strict", z.ZodTypeAny, {
|
|
151
|
+
url: string;
|
|
152
|
+
name: string;
|
|
153
|
+
events?: ("order.paid" | "order.fulfilled" | "order.shipped" | "order.refunded" | "order.disputed" | "order.dispute_closed" | "order.canceled" | "listing.created" | "listing.updated" | "listing.out_of_stock" | "listing.deleted" | "customer.created")[] | undefined;
|
|
154
|
+
}, {
|
|
155
|
+
url: string;
|
|
156
|
+
name: string;
|
|
157
|
+
events?: ("order.paid" | "order.fulfilled" | "order.shipped" | "order.refunded" | "order.disputed" | "order.dispute_closed" | "order.canceled" | "listing.created" | "listing.updated" | "listing.out_of_stock" | "listing.deleted" | "customer.created")[] | undefined;
|
|
158
|
+
}>;
|
|
159
|
+
readonly delete_account: null;
|
|
160
|
+
readonly delete_api_key: z.ZodObject<{
|
|
161
|
+
key_id: z.ZodString;
|
|
162
|
+
}, "strict", z.ZodTypeAny, {
|
|
163
|
+
key_id: string;
|
|
164
|
+
}, {
|
|
165
|
+
key_id: string;
|
|
166
|
+
}>;
|
|
129
167
|
readonly delete_listing: z.ZodObject<{
|
|
130
168
|
listing_id: z.ZodString;
|
|
131
169
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -133,6 +171,13 @@ export declare const schemas: {
|
|
|
133
171
|
}, {
|
|
134
172
|
listing_id: string;
|
|
135
173
|
}>;
|
|
174
|
+
readonly delete_webhook: z.ZodObject<{
|
|
175
|
+
webhook_id: z.ZodString;
|
|
176
|
+
}, "strict", z.ZodTypeAny, {
|
|
177
|
+
webhook_id: string;
|
|
178
|
+
}, {
|
|
179
|
+
webhook_id: string;
|
|
180
|
+
}>;
|
|
136
181
|
readonly deliver_order: z.ZodObject<{
|
|
137
182
|
order_id: z.ZodString;
|
|
138
183
|
deliverables: z.ZodArray<z.ZodObject<{
|
|
@@ -163,6 +208,15 @@ export declare const schemas: {
|
|
|
163
208
|
token?: string | null | undefined;
|
|
164
209
|
}[];
|
|
165
210
|
}>;
|
|
211
|
+
readonly disconnect_stripe: null;
|
|
212
|
+
readonly get_account: null;
|
|
213
|
+
readonly get_customer: z.ZodObject<{
|
|
214
|
+
customer_id: z.ZodString;
|
|
215
|
+
}, "strict", z.ZodTypeAny, {
|
|
216
|
+
customer_id: string;
|
|
217
|
+
}, {
|
|
218
|
+
customer_id: string;
|
|
219
|
+
}>;
|
|
166
220
|
readonly get_listing: z.ZodObject<{
|
|
167
221
|
listing_id: z.ZodString;
|
|
168
222
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -177,16 +231,36 @@ export declare const schemas: {
|
|
|
177
231
|
}, {
|
|
178
232
|
order_id: string;
|
|
179
233
|
}>;
|
|
234
|
+
readonly list_api_keys: null;
|
|
235
|
+
readonly list_customers: z.ZodObject<{
|
|
236
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
237
|
+
created_after: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
238
|
+
created_before: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
239
|
+
cursor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
240
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
241
|
+
}, "strict", z.ZodTypeAny, {
|
|
242
|
+
limit: number;
|
|
243
|
+
email?: string | null | undefined;
|
|
244
|
+
created_after?: string | null | undefined;
|
|
245
|
+
created_before?: string | null | undefined;
|
|
246
|
+
cursor?: string | null | undefined;
|
|
247
|
+
}, {
|
|
248
|
+
email?: string | null | undefined;
|
|
249
|
+
created_after?: string | null | undefined;
|
|
250
|
+
created_before?: string | null | undefined;
|
|
251
|
+
cursor?: string | null | undefined;
|
|
252
|
+
limit?: number | undefined;
|
|
253
|
+
}>;
|
|
180
254
|
readonly list_listings: z.ZodObject<{
|
|
181
|
-
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["draft", "published"
|
|
255
|
+
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["draft", "published"]>, z.ZodNull]>>;
|
|
182
256
|
cursor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
183
257
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
184
258
|
}, "strict", z.ZodTypeAny, {
|
|
185
259
|
limit: number;
|
|
186
|
-
status?: "draft" | "published" |
|
|
260
|
+
status?: "draft" | "published" | null | undefined;
|
|
187
261
|
cursor?: string | null | undefined;
|
|
188
262
|
}, {
|
|
189
|
-
status?: "draft" | "published" |
|
|
263
|
+
status?: "draft" | "published" | null | undefined;
|
|
190
264
|
cursor?: string | null | undefined;
|
|
191
265
|
limit?: number | undefined;
|
|
192
266
|
}>;
|
|
@@ -201,20 +275,37 @@ export declare const schemas: {
|
|
|
201
275
|
}, "strict", z.ZodTypeAny, {
|
|
202
276
|
limit: number;
|
|
203
277
|
status?: "pending" | "paid" | "fulfilled" | "canceled" | "failed" | null | undefined;
|
|
278
|
+
created_after?: string | null | undefined;
|
|
279
|
+
created_before?: string | null | undefined;
|
|
204
280
|
cursor?: string | null | undefined;
|
|
205
281
|
listing?: string | null | undefined;
|
|
206
282
|
buyer_email?: string | null | undefined;
|
|
207
|
-
created_after?: string | null | undefined;
|
|
208
|
-
created_before?: string | null | undefined;
|
|
209
283
|
}, {
|
|
210
284
|
status?: "pending" | "paid" | "fulfilled" | "canceled" | "failed" | null | undefined;
|
|
285
|
+
created_after?: string | null | undefined;
|
|
286
|
+
created_before?: string | null | undefined;
|
|
211
287
|
cursor?: string | null | undefined;
|
|
212
288
|
limit?: number | undefined;
|
|
213
289
|
listing?: string | null | undefined;
|
|
214
290
|
buyer_email?: string | null | undefined;
|
|
215
|
-
created_after?: string | null | undefined;
|
|
216
|
-
created_before?: string | null | undefined;
|
|
217
291
|
}>;
|
|
292
|
+
readonly list_webhook_events: z.ZodObject<{
|
|
293
|
+
webhook_id: z.ZodString;
|
|
294
|
+
delivered: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
295
|
+
cursor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
296
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
297
|
+
}, "strict", z.ZodTypeAny, {
|
|
298
|
+
webhook_id: string;
|
|
299
|
+
limit: number;
|
|
300
|
+
cursor?: string | null | undefined;
|
|
301
|
+
delivered?: boolean | null | undefined;
|
|
302
|
+
}, {
|
|
303
|
+
webhook_id: string;
|
|
304
|
+
cursor?: string | null | undefined;
|
|
305
|
+
limit?: number | undefined;
|
|
306
|
+
delivered?: boolean | null | undefined;
|
|
307
|
+
}>;
|
|
308
|
+
readonly list_webhooks: null;
|
|
218
309
|
readonly publish_listing: z.ZodObject<{
|
|
219
310
|
listing_id: z.ZodString;
|
|
220
311
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -222,6 +313,13 @@ export declare const schemas: {
|
|
|
222
313
|
}, {
|
|
223
314
|
listing_id: string;
|
|
224
315
|
}>;
|
|
316
|
+
readonly refund_order: z.ZodObject<{
|
|
317
|
+
order_id: z.ZodString;
|
|
318
|
+
}, "strict", z.ZodTypeAny, {
|
|
319
|
+
order_id: string;
|
|
320
|
+
}, {
|
|
321
|
+
order_id: string;
|
|
322
|
+
}>;
|
|
225
323
|
readonly remove_deliverables: z.ZodObject<{
|
|
226
324
|
listing_id: z.ZodString;
|
|
227
325
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -229,6 +327,16 @@ export declare const schemas: {
|
|
|
229
327
|
}, {
|
|
230
328
|
listing_id: string;
|
|
231
329
|
}>;
|
|
330
|
+
readonly retry_webhook_event: z.ZodObject<{
|
|
331
|
+
webhook_id: z.ZodString;
|
|
332
|
+
event_id: z.ZodString;
|
|
333
|
+
}, "strict", z.ZodTypeAny, {
|
|
334
|
+
webhook_id: string;
|
|
335
|
+
event_id: string;
|
|
336
|
+
}, {
|
|
337
|
+
webhook_id: string;
|
|
338
|
+
event_id: string;
|
|
339
|
+
}>;
|
|
232
340
|
readonly set_deliverables: z.ZodObject<{
|
|
233
341
|
listing_id: z.ZodString;
|
|
234
342
|
deliverables: z.ZodArray<z.ZodObject<{
|
|
@@ -276,16 +384,59 @@ export declare const schemas: {
|
|
|
276
384
|
seller_note?: string | null | undefined;
|
|
277
385
|
}>;
|
|
278
386
|
readonly start_stripe_connect: null;
|
|
387
|
+
readonly test_webhook: z.ZodObject<{
|
|
388
|
+
webhook_id: z.ZodString;
|
|
389
|
+
}, "strict", z.ZodTypeAny, {
|
|
390
|
+
webhook_id: string;
|
|
391
|
+
}, {
|
|
392
|
+
webhook_id: string;
|
|
393
|
+
}>;
|
|
394
|
+
readonly update_account: z.ZodObject<{
|
|
395
|
+
display_name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
396
|
+
bio: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
397
|
+
avatar: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
398
|
+
ga_measurement_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
399
|
+
}, "strict", z.ZodTypeAny, {
|
|
400
|
+
display_name?: string | null | undefined;
|
|
401
|
+
bio?: string | null | undefined;
|
|
402
|
+
avatar?: string | null | undefined;
|
|
403
|
+
ga_measurement_id?: string | null | undefined;
|
|
404
|
+
}, {
|
|
405
|
+
display_name?: string | null | undefined;
|
|
406
|
+
bio?: string | null | undefined;
|
|
407
|
+
avatar?: string | null | undefined;
|
|
408
|
+
ga_measurement_id?: string | null | undefined;
|
|
409
|
+
}>;
|
|
279
410
|
readonly update_listing: z.ZodObject<{
|
|
280
411
|
listing_id: z.ZodString;
|
|
281
412
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
282
413
|
slug: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
283
414
|
price: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
415
|
+
stock: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
416
|
+
checkout_schema: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
417
|
+
key: z.ZodString;
|
|
418
|
+
type: z.ZodEnum<["address", "text", "select", "date"]>;
|
|
419
|
+
label: z.ZodString;
|
|
420
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
421
|
+
options: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
422
|
+
}, "strip", z.ZodTypeAny, {
|
|
423
|
+
type: "text" | "date" | "address" | "select";
|
|
424
|
+
key: string;
|
|
425
|
+
label: string;
|
|
426
|
+
required: boolean;
|
|
427
|
+
options?: string[] | null | undefined;
|
|
428
|
+
}, {
|
|
429
|
+
type: "text" | "date" | "address" | "select";
|
|
430
|
+
key: string;
|
|
431
|
+
label: string;
|
|
432
|
+
options?: string[] | null | undefined;
|
|
433
|
+
required?: boolean | undefined;
|
|
434
|
+
}>, "many">, z.ZodNull]>>;
|
|
284
435
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
285
436
|
tagline: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
286
437
|
highlights: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
|
|
287
438
|
cta: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
288
|
-
|
|
439
|
+
cover: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
289
440
|
metadata: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodNull]>>;
|
|
290
441
|
utm_source: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
291
442
|
utm_medium: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -322,11 +473,19 @@ export declare const schemas: {
|
|
|
322
473
|
listing_id: string;
|
|
323
474
|
description?: string | null | undefined;
|
|
324
475
|
name?: string | null | undefined;
|
|
476
|
+
checkout_schema?: {
|
|
477
|
+
type: "text" | "date" | "address" | "select";
|
|
478
|
+
key: string;
|
|
479
|
+
label: string;
|
|
480
|
+
required: boolean;
|
|
481
|
+
options?: string[] | null | undefined;
|
|
482
|
+
}[] | null | undefined;
|
|
325
483
|
price?: number | null | undefined;
|
|
484
|
+
stock?: number | null | undefined;
|
|
326
485
|
tagline?: string | null | undefined;
|
|
327
486
|
highlights?: string[] | null | undefined;
|
|
328
487
|
cta?: string | null | undefined;
|
|
329
|
-
|
|
488
|
+
cover?: string | null | undefined;
|
|
330
489
|
metadata?: Record<string, any> | null | undefined;
|
|
331
490
|
utm_source?: string | null | undefined;
|
|
332
491
|
utm_medium?: string | null | undefined;
|
|
@@ -350,11 +509,19 @@ export declare const schemas: {
|
|
|
350
509
|
listing_id: string;
|
|
351
510
|
description?: string | null | undefined;
|
|
352
511
|
name?: string | null | undefined;
|
|
512
|
+
checkout_schema?: {
|
|
513
|
+
type: "text" | "date" | "address" | "select";
|
|
514
|
+
key: string;
|
|
515
|
+
label: string;
|
|
516
|
+
options?: string[] | null | undefined;
|
|
517
|
+
required?: boolean | undefined;
|
|
518
|
+
}[] | null | undefined;
|
|
353
519
|
price?: number | null | undefined;
|
|
520
|
+
stock?: number | null | undefined;
|
|
354
521
|
tagline?: string | null | undefined;
|
|
355
522
|
highlights?: string[] | null | undefined;
|
|
356
523
|
cta?: string | null | undefined;
|
|
357
|
-
|
|
524
|
+
cover?: string | null | undefined;
|
|
358
525
|
metadata?: Record<string, any> | null | undefined;
|
|
359
526
|
utm_source?: string | null | undefined;
|
|
360
527
|
utm_medium?: string | null | undefined;
|
|
@@ -375,7 +542,36 @@ export declare const schemas: {
|
|
|
375
542
|
}[] | null | undefined;
|
|
376
543
|
slug?: string | null | undefined;
|
|
377
544
|
}>;
|
|
545
|
+
readonly update_webhook: z.ZodObject<{
|
|
546
|
+
webhook_id: z.ZodString;
|
|
547
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
548
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
549
|
+
events: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodEnum<["order.paid", "order.fulfilled", "order.shipped", "order.refunded", "order.disputed", "order.dispute_closed", "order.canceled", "listing.created", "listing.updated", "listing.out_of_stock", "listing.deleted", "customer.created"]>, "many">, z.ZodNull]>>;
|
|
550
|
+
enabled: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
|
|
551
|
+
}, "strict", z.ZodTypeAny, {
|
|
552
|
+
webhook_id: string;
|
|
553
|
+
url?: string | null | undefined;
|
|
554
|
+
name?: string | null | undefined;
|
|
555
|
+
events?: ("order.paid" | "order.fulfilled" | "order.shipped" | "order.refunded" | "order.disputed" | "order.dispute_closed" | "order.canceled" | "listing.created" | "listing.updated" | "listing.out_of_stock" | "listing.deleted" | "customer.created")[] | null | undefined;
|
|
556
|
+
enabled?: boolean | null | undefined;
|
|
557
|
+
}, {
|
|
558
|
+
webhook_id: string;
|
|
559
|
+
url?: string | null | undefined;
|
|
560
|
+
name?: string | null | undefined;
|
|
561
|
+
events?: ("order.paid" | "order.fulfilled" | "order.shipped" | "order.refunded" | "order.disputed" | "order.dispute_closed" | "order.canceled" | "listing.created" | "listing.updated" | "listing.out_of_stock" | "listing.deleted" | "customer.created")[] | null | undefined;
|
|
562
|
+
enabled?: boolean | null | undefined;
|
|
563
|
+
}>;
|
|
378
564
|
readonly upload_file: null;
|
|
565
|
+
readonly verify_otp: z.ZodObject<{
|
|
566
|
+
email: z.ZodString;
|
|
567
|
+
code: z.ZodString;
|
|
568
|
+
}, "strict", z.ZodTypeAny, {
|
|
569
|
+
email: string;
|
|
570
|
+
code: string;
|
|
571
|
+
}, {
|
|
572
|
+
email: string;
|
|
573
|
+
code: string;
|
|
574
|
+
}>;
|
|
379
575
|
};
|
|
380
576
|
export type SchemaMap = typeof schemas;
|
|
381
577
|
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/generated/schemas.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/generated/schemas.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCV,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,OAAO,OAAO,CAAC"}
|