ebay-mcp-remote-edition 1.0.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/LICENSE +21 -0
- package/README.md +755 -0
- package/build/api/account-management/account.js +301 -0
- package/build/api/analytics-and-report/analytics.js +102 -0
- package/build/api/client-trading.js +96 -0
- package/build/api/client.js +173 -0
- package/build/api/communication/feedback.js +119 -0
- package/build/api/communication/message.js +131 -0
- package/build/api/communication/negotiation.js +97 -0
- package/build/api/communication/notification.js +373 -0
- package/build/api/developer/developer.js +81 -0
- package/build/api/index.js +109 -0
- package/build/api/listing-management/inventory.js +640 -0
- package/build/api/listing-metadata/metadata.js +485 -0
- package/build/api/listing-metadata/taxonomy.js +58 -0
- package/build/api/marketing-and-promotions/marketing.js +768 -0
- package/build/api/marketing-and-promotions/recommendation.js +32 -0
- package/build/api/order-management/dispute.js +69 -0
- package/build/api/order-management/fulfillment.js +89 -0
- package/build/api/other/compliance.js +47 -0
- package/build/api/other/edelivery.js +219 -0
- package/build/api/other/identity.js +24 -0
- package/build/api/other/translation.js +22 -0
- package/build/api/other/vero.js +48 -0
- package/build/api/trading/trading.js +78 -0
- package/build/auth/kv-store.js +40 -0
- package/build/auth/multi-user-store.js +120 -0
- package/build/auth/oauth-metadata.js +59 -0
- package/build/auth/oauth-middleware.js +99 -0
- package/build/auth/oauth-types.js +4 -0
- package/build/auth/oauth.js +235 -0
- package/build/auth/scope-utils.js +304 -0
- package/build/auth/token-store.js +46 -0
- package/build/auth/token-verifier.js +172 -0
- package/build/config/environment.js +297 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +129 -0
- package/build/schemas/account-management/account.js +375 -0
- package/build/schemas/analytics/analytics.js +191 -0
- package/build/schemas/communication/messages.js +345 -0
- package/build/schemas/fulfillment/orders.js +338 -0
- package/build/schemas/index.js +68 -0
- package/build/schemas/inventory-management/inventory.js +471 -0
- package/build/schemas/marketing/marketing.js +1103 -0
- package/build/schemas/metadata/metadata.js +618 -0
- package/build/schemas/other/other-apis.js +390 -0
- package/build/schemas/taxonomy/taxonomy.js +575 -0
- package/build/scripts/auto-setup.js +364 -0
- package/build/scripts/dev-sync.js +512 -0
- package/build/scripts/diagnostics.js +301 -0
- package/build/scripts/download-specs.js +116 -0
- package/build/scripts/interactive-setup.js +757 -0
- package/build/scripts/setup.js +1515 -0
- package/build/scripts/update-api-status-doc.js +44 -0
- package/build/server-http.d.ts +1 -0
- package/build/server-http.js +581 -0
- package/build/tools/definitions/account-with-schemas.js +170 -0
- package/build/tools/definitions/account.js +428 -0
- package/build/tools/definitions/analytics.js +66 -0
- package/build/tools/definitions/communication.js +394 -0
- package/build/tools/definitions/developer.js +195 -0
- package/build/tools/definitions/fulfillment.js +326 -0
- package/build/tools/definitions/index.js +41 -0
- package/build/tools/definitions/inventory.js +464 -0
- package/build/tools/definitions/marketing.js +1486 -0
- package/build/tools/definitions/metadata.js +188 -0
- package/build/tools/definitions/other.js +309 -0
- package/build/tools/definitions/taxonomy.js +64 -0
- package/build/tools/definitions/token-management.js +148 -0
- package/build/tools/definitions/trading.js +71 -0
- package/build/tools/index.js +1200 -0
- package/build/tools/schemas.js +667 -0
- package/build/tools/tool-definitions.js +3534 -0
- package/build/types/application-settings/developerAnalyticsV1BetaOas3.js +5 -0
- package/build/types/application-settings/developerClientRegistrationV1Oas3.js +5 -0
- package/build/types/application-settings/developerKeyManagementV1Oas3.js +5 -0
- package/build/types/ebay-enums.js +1330 -0
- package/build/types/ebay.js +123 -0
- package/build/types/index.js +10 -0
- package/build/types/sell-apps/account-management/sellAccountV1Oas3.js +5 -0
- package/build/types/sell-apps/analytics-and-report/sellAnalyticsV1Oas3.js +5 -0
- package/build/types/sell-apps/communication/commerceFeedbackV1BetaOas3.js +5 -0
- package/build/types/sell-apps/communication/commerceMessageV1Oas3.js +5 -0
- package/build/types/sell-apps/communication/commerceNotificationV1Oas3.js +5 -0
- package/build/types/sell-apps/communication/sellNegotiationV1Oas3.js +5 -0
- package/build/types/sell-apps/listing-management/sellInventoryV1Oas3.js +5 -0
- package/build/types/sell-apps/listing-metadata/sellMetadataV1Oas3.js +5 -0
- package/build/types/sell-apps/markeitng-and-promotions/sellMarketingV1Oas3.js +5 -0
- package/build/types/sell-apps/markeitng-and-promotions/sellRecommendationV1Oas3.js +5 -0
- package/build/types/sell-apps/order-management/sellFulfillmentV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/commerceIdentityV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/commerceTranslationV1BetaOas3.js +5 -0
- package/build/types/sell-apps/other-apis/commerceVeroV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellComplianceV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellEdeliveryInternationalShippingOas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellMarketingV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellRecommendationV1Oas3.js +5 -0
- package/build/utils/account-management/account.js +831 -0
- package/build/utils/api-status-feed.js +83 -0
- package/build/utils/communication/feedback.js +216 -0
- package/build/utils/communication/message.js +242 -0
- package/build/utils/communication/negotiation.js +150 -0
- package/build/utils/communication/notification.js +369 -0
- package/build/utils/date-converter.js +160 -0
- package/build/utils/llm-client-detector.js +758 -0
- package/build/utils/logger.js +198 -0
- package/build/utils/oauth-helper.js +315 -0
- package/build/utils/order-management/dispute.js +369 -0
- package/build/utils/order-management/fulfillment.js +205 -0
- package/build/utils/other/compliance.js +76 -0
- package/build/utils/other/edelivery.js +241 -0
- package/build/utils/other/identity.js +13 -0
- package/build/utils/other/translation.js +41 -0
- package/build/utils/other/vero.js +90 -0
- package/build/utils/scope-helper.js +207 -0
- package/build/utils/security-checker.js +248 -0
- package/build/utils/setup-validator.js +305 -0
- package/build/utils/token-utils.js +40 -0
- package/build/utils/version.js +56 -0
- package/docs/auth/production_scopes.json +111 -0
- package/docs/auth/sandbox_scopes.json +142 -0
- package/package.json +122 -0
- package/public/icons/1024x1024.png +0 -0
- package/public/icons/128x128.png +0 -0
- package/public/icons/16x16.png +0 -0
- package/public/icons/256x256.png +0 -0
- package/public/icons/32x32.png +0 -0
- package/public/icons/48x48.png +0 -0
- package/public/icons/512x512.png +0 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core eBay API types
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* API category identifiers matching docs structure
|
|
6
|
+
*/
|
|
7
|
+
export var EbayApiCategory;
|
|
8
|
+
(function (EbayApiCategory) {
|
|
9
|
+
EbayApiCategory["ACCOUNT_MANAGEMENT"] = "account-management";
|
|
10
|
+
EbayApiCategory["ANALYTICS_AND_REPORT"] = "analytics-and-report";
|
|
11
|
+
EbayApiCategory["COMMUNICATION"] = "communication";
|
|
12
|
+
EbayApiCategory["LISTING_MANAGEMENT"] = "listing-management";
|
|
13
|
+
EbayApiCategory["LISTING_METADATA"] = "listing-metadata";
|
|
14
|
+
EbayApiCategory["MARKETING_AND_PROMOTIONS"] = "marketing-and-promotions";
|
|
15
|
+
EbayApiCategory["ORDER_MANAGEMENT"] = "order-management";
|
|
16
|
+
EbayApiCategory["OTHER"] = "other";
|
|
17
|
+
})(EbayApiCategory || (EbayApiCategory = {}));
|
|
18
|
+
/**
|
|
19
|
+
* Specific API identifiers
|
|
20
|
+
*/
|
|
21
|
+
export var EbayApi;
|
|
22
|
+
(function (EbayApi) {
|
|
23
|
+
// Account Management
|
|
24
|
+
EbayApi["ACCOUNT"] = "sell/account/v1";
|
|
25
|
+
// Analytics and Report
|
|
26
|
+
EbayApi["ANALYTICS"] = "sell/analytics/v1";
|
|
27
|
+
// Communication
|
|
28
|
+
EbayApi["NEGOTIATION"] = "sell/negotiation/v1";
|
|
29
|
+
EbayApi["MESSAGE"] = "commerce/message/v1";
|
|
30
|
+
EbayApi["NOTIFICATION"] = "commerce/notification/v1";
|
|
31
|
+
EbayApi["FEEDBACK"] = "commerce/feedback/v1";
|
|
32
|
+
// Listing Management
|
|
33
|
+
EbayApi["INVENTORY"] = "sell/inventory/v1";
|
|
34
|
+
// Listing Metadata
|
|
35
|
+
EbayApi["METADATA"] = "sell/metadata/v1";
|
|
36
|
+
// Marketing and Promotions
|
|
37
|
+
EbayApi["MARKETING"] = "sell/marketing/v1";
|
|
38
|
+
EbayApi["RECOMMENDATION"] = "sell/recommendation/v1";
|
|
39
|
+
// Order Management
|
|
40
|
+
EbayApi["FULFILLMENT"] = "sell/fulfillment/v1";
|
|
41
|
+
// Other APIs
|
|
42
|
+
EbayApi["IDENTITY"] = "commerce/identity/v1";
|
|
43
|
+
EbayApi["VERO"] = "commerce/vero/v1";
|
|
44
|
+
EbayApi["COMPLIANCE"] = "sell/compliance/v1";
|
|
45
|
+
EbayApi["TRANSLATION"] = "commerce/translation/v1";
|
|
46
|
+
EbayApi["EDELIVERY"] = "sell/logistics/v1";
|
|
47
|
+
})(EbayApi || (EbayApi = {}));
|
|
48
|
+
export const productionScopes = [
|
|
49
|
+
'https://api.ebay.com/oauth/api_scope',
|
|
50
|
+
'https://api.ebay.com/oauth/api_scope/sell.marketing.readonly',
|
|
51
|
+
'https://api.ebay.com/oauth/api_scope/sell.inventory.readonly',
|
|
52
|
+
'https://api.ebay.com/oauth/api_scope/sell.inventory',
|
|
53
|
+
'https://api.ebay.com/oauth/api_scope/sell.account',
|
|
54
|
+
'https://api.ebay.com/oauth/api_scope/sell.fulfillment',
|
|
55
|
+
'https://api.ebay.com/oauth/api_scope/sell.analytics.readonly',
|
|
56
|
+
'https://api.ebay.com/oauth/api_scope/sell.marketing',
|
|
57
|
+
'https://api.ebay.com/oauth/api_scope/sell.account.readonly',
|
|
58
|
+
'https://api.ebay.com/oauth/api_scope/sell.fulfillment.readonly',
|
|
59
|
+
'https://api.ebay.com/oauth/api_scope/sell.finances',
|
|
60
|
+
'https://api.ebay.com/oauth/api_scope/sell.payment.dispute',
|
|
61
|
+
'https://api.ebay.com/oauth/api_scope/commerce.identity.readonly',
|
|
62
|
+
'https://api.ebay.com/oauth/api_scope/sell.reputation',
|
|
63
|
+
'https://api.ebay.com/oauth/api_scope/sell.reputation.readonly',
|
|
64
|
+
'https://api.ebay.com/oauth/api_scope/commerce.notification.subscription',
|
|
65
|
+
'https://api.ebay.com/oauth/api_scope/commerce.notification.subscription.readonly',
|
|
66
|
+
'https://api.ebay.com/oauth/api_scope/sell.stores',
|
|
67
|
+
'https://api.ebay.com/oauth/api_scope/sell.stores.readonly',
|
|
68
|
+
'https://api.ebay.com/oauth/scope/sell.edelivery',
|
|
69
|
+
'https://api.ebay.com/oauth/api_scope/commerce.vero',
|
|
70
|
+
'https://api.ebay.com/oauth/api_scope/sell.inventory.mapping',
|
|
71
|
+
'https://api.ebay.com/oauth/api_scope/commerce.message',
|
|
72
|
+
'https://api.ebay.com/oauth/api_scope/commerce.feedback',
|
|
73
|
+
'https://api.ebay.com/oauth/api_scope/commerce.shipping',
|
|
74
|
+
'https://api.ebay.com/oauth/api_scope/commerce.feedback.readonly',
|
|
75
|
+
];
|
|
76
|
+
export const sandboxScopes = [
|
|
77
|
+
'https://api.ebay.com/oauth/api_scope',
|
|
78
|
+
'https://api.ebay.com/oauth/api_scope/sell.marketing.readonly',
|
|
79
|
+
'https://api.ebay.com/oauth/api_scope/sell.marketing',
|
|
80
|
+
'https://api.ebay.com/oauth/api_scope/sell.inventory.readonly',
|
|
81
|
+
'https://api.ebay.com/oauth/api_scope/sell.inventory',
|
|
82
|
+
'https://api.ebay.com/oauth/api_scope/sell.account.readonly',
|
|
83
|
+
'https://api.ebay.com/oauth/api_scope/sell.account',
|
|
84
|
+
'https://api.ebay.com/oauth/api_scope/sell.fulfillment.readonly',
|
|
85
|
+
'https://api.ebay.com/oauth/api_scope/sell.fulfillment',
|
|
86
|
+
'https://api.ebay.com/oauth/api_scope/sell.analytics.readonly',
|
|
87
|
+
'https://api.ebay.com/oauth/api_scope/sell.finances',
|
|
88
|
+
'https://api.ebay.com/oauth/api_scope/sell.payment.dispute',
|
|
89
|
+
'https://api.ebay.com/oauth/api_scope/commerce.identity.readonly',
|
|
90
|
+
'https://api.ebay.com/oauth/api_scope/sell.reputation',
|
|
91
|
+
'https://api.ebay.com/oauth/api_scope/sell.reputation.readonly',
|
|
92
|
+
'https://api.ebay.com/oauth/api_scope/commerce.notification.subscription',
|
|
93
|
+
'https://api.ebay.com/oauth/api_scope/commerce.notification.subscription.readonly',
|
|
94
|
+
'https://api.ebay.com/oauth/api_scope/sell.stores',
|
|
95
|
+
'https://api.ebay.com/oauth/api_scope/sell.stores.readonly',
|
|
96
|
+
'https://api.ebay.com/oauth/api_scope/sell.edelivery',
|
|
97
|
+
'https://api.ebay.com/oauth/api_scope/commerce.vero',
|
|
98
|
+
'https://api.ebay.com/oauth/api_scope/sell.inventory.mapping',
|
|
99
|
+
'https://api.ebay.com/oauth/api_scope/commerce.message',
|
|
100
|
+
'https://api.ebay.com/oauth/api_scope/commerce.feedback',
|
|
101
|
+
'https://api.ebay.com/oauth/api_scope/commerce.shipping',
|
|
102
|
+
'https://api.ebay.com/oauth/api_scope/commerce.feedback.readonly',
|
|
103
|
+
'https://api.ebay.com/oauth/api_scope/sell.item.draft',
|
|
104
|
+
'https://api.ebay.com/oauth/api_scope/sell.item',
|
|
105
|
+
'https://api.ebay.com/oauth/api_scope/sell.marketplace.insights.readonly',
|
|
106
|
+
'https://api.ebay.com/oauth/api_scope/commerce.catalog.readonly',
|
|
107
|
+
'https://api.ebay.com/oauth/api_scope/commerce.identity.email.readonly',
|
|
108
|
+
'https://api.ebay.com/oauth/api_scope/commerce.identity.phone.readonly',
|
|
109
|
+
'https://api.ebay.com/oauth/api_scope/commerce.identity.address.readonly',
|
|
110
|
+
'https://api.ebay.com/oauth/api_scope/commerce.identity.name.readonly',
|
|
111
|
+
'https://api.ebay.com/oauth/api_scope/commerce.identity.status.readonly',
|
|
112
|
+
];
|
|
113
|
+
/**
|
|
114
|
+
* OAuth API endpoints
|
|
115
|
+
*/
|
|
116
|
+
export var EbayOAuthApi;
|
|
117
|
+
(function (EbayOAuthApi) {
|
|
118
|
+
EbayOAuthApi["TOKEN"] = "/identity/v1/oauth2/token";
|
|
119
|
+
EbayOAuthApi["AUTHORIZE_SANDBOX"] = "https://auth.sandbox.ebay.com/oauth2/authorize";
|
|
120
|
+
EbayOAuthApi["AUTHORIZE_PRODUCTION"] = "https://auth.ebay.com/oauth2/authorize";
|
|
121
|
+
EbayOAuthApi["SIGNIN_SANDBOX"] = "https://signin.sandbox.ebay.com/signin";
|
|
122
|
+
EbayOAuthApi["SIGNIN_PRODUCTION"] = "https://signin.ebay.com/signin";
|
|
123
|
+
})(EbayOAuthApi || (EbayOAuthApi = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Main types index
|
|
3
|
+
* Exports all eBay types for easy importing
|
|
4
|
+
*/
|
|
5
|
+
// Core eBay types
|
|
6
|
+
export * from './ebay.js';
|
|
7
|
+
// eBay API enums
|
|
8
|
+
export * from './ebay-enums.js';
|
|
9
|
+
// OpenAPI generated types are imported directly as needed
|
|
10
|
+
// due to their size and specific usage patterns
|