ebay-mcp 2.0.5 → 2.0.7

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.
Files changed (198) hide show
  1. package/README.md +18 -18
  2. package/build/auth/credentialSession.js +2 -2
  3. package/build/auth/oauth.js +6 -6
  4. package/build/auth/oauthHelper.js +2 -2
  5. package/build/auth/oauthMiddleware.js +1 -1
  6. package/build/auth/scopeUtils.js +1 -1
  7. package/build/{tools/categories/tokenManagement.js → auth/tokenManagementTools.js} +5 -5
  8. package/build/auth/tokenVerifier.js +2 -2
  9. package/build/{scripts → cli}/autoSetup.js +2 -2
  10. package/build/{scripts → cli}/diagnostics.js +10 -10
  11. package/build/{scripts → cli}/interactiveSetup.js +6 -6
  12. package/build/{scripts → cli}/scopeHelper.js +2 -2
  13. package/build/{scripts → cli}/securityChecker.js +1 -1
  14. package/build/{scripts → cli}/setup.js +10 -10
  15. package/build/{scripts → cli}/setupValidator.js +4 -4
  16. package/build/{scripts → cli}/setupWizard.js +1 -1
  17. package/build/{skills → cli/skills}/content.js +3 -3
  18. package/build/{skills → cli/skills}/index.js +11 -11
  19. package/build/{skills → cli/skills}/install.js +1 -1
  20. package/build/{skills → cli/skills}/registrySnapshot.js +1 -1
  21. package/build/{skills → cli/skills}/render.js +1 -1
  22. package/build/{scripts → cli}/skills.js +4 -4
  23. package/build/{api/account-management/account.js → ebay-apis/account/accountApi.js} +1 -1
  24. package/build/{schemas/account-management/account.js → ebay-apis/account/accountSchemas.js} +1 -1
  25. package/build/{tools/categories/account.js → ebay-apis/account/accountTools.js} +2 -2
  26. package/build/{api/account-management/accountV2.js → ebay-apis/account/accountV2Api.js} +1 -1
  27. package/build/{schemas/account-management/accountV2.js → ebay-apis/account/accountV2Schemas.js} +1 -1
  28. package/build/{tools/categories/accountV2.js → ebay-apis/account/accountV2Tools.js} +2 -2
  29. package/build/{api/analytics-and-report/analytics.js → ebay-apis/analytics/analyticsApi.js} +1 -1
  30. package/build/{tools/categories/analytics.js → ebay-apis/analytics/analyticsTools.js} +3 -3
  31. package/build/{api/other/browse.js → ebay-apis/browse/browseApi.js} +5 -5
  32. package/build/{api/other → ebay-apis/browse}/browseFilter.js +1 -1
  33. package/build/{api/other → ebay-apis/browse}/browseMappers.js +2 -2
  34. package/build/{tools/categories/browse.js → ebay-apis/browse/browseTools.js} +2 -2
  35. package/build/{api/other → ebay-apis/browse}/browseValidators.js +2 -2
  36. package/build/{tools/categories/communication.js → ebay-apis/communication/communicationTools.js} +5 -5
  37. package/build/{api/communication/feedback.js → ebay-apis/communication/feedbackApi.js} +1 -1
  38. package/build/{api/communication/message.js → ebay-apis/communication/messageApi.js} +1 -1
  39. package/build/{schemas/communication/messages.js → ebay-apis/communication/messageSchemas.js} +1 -1
  40. package/build/{api/communication/negotiation.js → ebay-apis/communication/negotiationApi.js} +1 -1
  41. package/build/{api/communication/notification.js → ebay-apis/communication/notificationApi.js} +1 -1
  42. package/build/{utils/communication/notification.js → ebay-apis/communication/notificationHelpers.js} +1 -1
  43. package/build/{api/developer/developer.js → ebay-apis/developer/developerApi.js} +2 -2
  44. package/build/{tools/categories/developer.js → ebay-apis/developer/developerTools.js} +4 -4
  45. package/build/ebay-apis/ebaySellerApi.js +175 -0
  46. package/build/{api/listing-management/feed.js → ebay-apis/feed/feedApi.js} +3 -3
  47. package/build/{api/listing-management/feedReportTasks.js → ebay-apis/feed/feedReportTasksApi.js} +3 -3
  48. package/build/{api/listing-management/feedRequest.js → ebay-apis/feed/feedRequestApi.js} +3 -3
  49. package/build/{api/listing-management/feedSchedules.js → ebay-apis/feed/feedSchedulesApi.js} +3 -3
  50. package/build/{api/listing-management/feedTasks.js → ebay-apis/feed/feedTasksApi.js} +3 -3
  51. package/build/{tools/categories/feed.js → ebay-apis/feed/feedTools.js} +5 -5
  52. package/build/{api/account-management/finances.js → ebay-apis/finances/financesApi.js} +3 -3
  53. package/build/{tools/categories/finances.js → ebay-apis/finances/financesTools.js} +3 -3
  54. package/build/{api/order-management/dispute.js → ebay-apis/fulfillment/disputeApi.js} +3 -3
  55. package/build/{api/order-management/fulfillment.js → ebay-apis/fulfillment/fulfillmentApi.js} +1 -1
  56. package/build/{tools/categories/fulfillment.js → ebay-apis/fulfillment/fulfillmentTools.js} +4 -4
  57. package/build/{schemas/fulfillment/orders.js → ebay-apis/fulfillment/ordersSchemas.js} +1 -1
  58. package/build/{api/listing-management/inventory.js → ebay-apis/inventory/inventoryApi.js} +3 -3
  59. package/build/{schemas/inventory-management/inventory.js → ebay-apis/inventory/inventorySchemas.js} +1 -1
  60. package/build/{tools/categories/inventory.js → ebay-apis/inventory/inventoryTools.js} +4 -4
  61. package/build/{api/listing-management/items.js → ebay-apis/inventory/itemsApi.js} +2 -2
  62. package/build/{api/listing-management/locations.js → ebay-apis/inventory/locationsApi.js} +2 -2
  63. package/build/{api/listing-management/media.js → ebay-apis/inventory/mediaApi.js} +5 -5
  64. package/build/{api/listing-management/mediaAttach.js → ebay-apis/inventory/mediaAttachApi.js} +2 -2
  65. package/build/{api/listing-management/mediaResources.js → ebay-apis/inventory/mediaResourcesApi.js} +4 -4
  66. package/build/{tools/categories/media.js → ebay-apis/inventory/mediaTools.js} +5 -5
  67. package/build/{api/listing-management/offerFormat.js → ebay-apis/inventory/offerFormatApi.js} +3 -3
  68. package/build/{api/listing-management/offers.js → ebay-apis/inventory/offersApi.js} +3 -3
  69. package/build/{api/order-management/logistics.js → ebay-apis/logistics/logisticsApi.js} +2 -2
  70. package/build/{schemas/fulfillment/logistics.js → ebay-apis/logistics/logisticsSchemas.js} +2 -2
  71. package/build/{tools/categories/logistics.js → ebay-apis/logistics/logisticsTools.js} +4 -4
  72. package/build/{api/marketing-and-promotions/ads.js → ebay-apis/marketing/adsApi.js} +2 -2
  73. package/build/{schemas/marketing/ads.js → ebay-apis/marketing/adsSchemas.js} +2 -2
  74. package/build/{api/marketing-and-promotions/campaigns.js → ebay-apis/marketing/campaignsApi.js} +2 -2
  75. package/build/{schemas/marketing/campaigns.js → ebay-apis/marketing/campaignsSchemas.js} +1 -1
  76. package/build/{api/marketing-and-promotions/marketing.js → ebay-apis/marketing/marketingApi.js} +4 -4
  77. package/build/ebay-apis/marketing/marketingSchemas.js +13 -0
  78. package/build/{tools/categories/marketing.js → ebay-apis/marketing/marketingTools.js} +2 -2
  79. package/build/{api/marketing-and-promotions/promotions.js → ebay-apis/marketing/promotionsApi.js} +2 -2
  80. package/build/{schemas/marketing/promotions.js → ebay-apis/marketing/promotionsSchemas.js} +2 -2
  81. package/build/{api/marketing-and-promotions/recommendation.js → ebay-apis/marketing/recommendationApi.js} +1 -1
  82. package/build/{api/marketing-and-promotions/reports.js → ebay-apis/marketing/reportsApi.js} +2 -2
  83. package/build/{schemas/marketing/reports.js → ebay-apis/marketing/reportsSchemas.js} +1 -1
  84. package/build/{api/listing-metadata/metadata.js → ebay-apis/metadata/metadataApi.js} +2 -2
  85. package/build/{api/listing-metadata/metadataShipping.js → ebay-apis/metadata/metadataShippingApi.js} +2 -2
  86. package/build/{schemas/metadata/shipping.js → ebay-apis/metadata/metadataShippingSchemas.js} +1 -1
  87. package/build/{tools/categories/metadata.js → ebay-apis/metadata/metadataTools.js} +3 -3
  88. package/build/{api/other/edelivery.js → ebay-apis/other/edelivery/edeliveryApi.js} +1 -1
  89. package/build/{api/other/identity.js → ebay-apis/other/identity/identityApi.js} +2 -2
  90. package/build/{utils/other/identity.js → ebay-apis/other/identity/identityHelpers.js} +2 -2
  91. package/build/{tools/categories/other.js → ebay-apis/other/otherTools.js} +2 -2
  92. package/build/{api/other/translation.js → ebay-apis/other/translation/translationApi.js} +1 -1
  93. package/build/{utils/other/translation.js → ebay-apis/other/translation/translationHelpers.js} +2 -2
  94. package/build/{api/other/vero.js → ebay-apis/other/vero/veroApi.js} +1 -1
  95. package/build/{utils/other/vero.js → ebay-apis/other/vero/veroHelpers.js} +2 -2
  96. package/build/{api/listing-management/stores.js → ebay-apis/stores/storesApi.js} +2 -2
  97. package/build/{tools/categories/stores.js → ebay-apis/stores/storesTools.js} +2 -2
  98. package/build/{api/listing-metadata/charity.js → ebay-apis/taxonomy/charityApi.js} +2 -2
  99. package/build/{tools/categories/charity.js → ebay-apis/taxonomy/charityTools.js} +2 -2
  100. package/build/{api/listing-metadata/taxonomy.js → ebay-apis/taxonomy/taxonomyApi.js} +3 -3
  101. package/build/{tools/categories/taxonomy.js → ebay-apis/taxonomy/taxonomyTools.js} +3 -3
  102. package/build/{api/trading/listingFormat.js → ebay-apis/trading/listingFormatHelpers.js} +4 -4
  103. package/build/{api/trading/trading.js → ebay-apis/trading/tradingApi.js} +4 -4
  104. package/build/{utils/trading/trading.js → ebay-apis/trading/tradingHelpers.js} +1 -1
  105. package/build/{tools/categories/trading.js → ebay-apis/trading/tradingTools.js} +2 -2
  106. package/build/{api/shared → ebay-client}/download.js +1 -1
  107. package/build/{api/client → ebay-client}/ebayApiClient.js +9 -9
  108. package/build/{api/shared → ebay-client}/location.js +1 -1
  109. package/build/{api/shared → ebay-client}/request.js +1 -1
  110. package/build/{api/client → ebay-client}/tradingApiClient.js +7 -7
  111. package/build/index.js +8 -8
  112. package/build/{tools/categories/connector.js → server/connectorTools.js} +1 -1
  113. package/build/{mcp → server}/httpTransport.js +5 -5
  114. package/build/{mcp → server}/readOnlyFilter.js +6 -0
  115. package/build/{mcp → server}/runtime.js +9 -9
  116. package/build/{mcp → server}/toolGating.js +3 -3
  117. package/build/{mcp → server}/uiBridge.js +3 -3
  118. package/build/serverHttp.js +5 -5
  119. package/build/{utils → shared}/apiStatusFeed.js +1 -1
  120. package/build/{config → shared}/credentialFile.js +1 -1
  121. package/build/{config → shared}/environment.js +6 -6
  122. package/build/{utils → shared}/http.js +2 -2
  123. package/build/{utils → shared}/localMedia.js +1 -1
  124. package/build/{utils → shared}/logger.js +2 -2
  125. package/build/{config → shared}/toolFamilies.js +3 -3
  126. package/build/{tools → tool-registry}/contracts.js +1 -1
  127. package/build/{tools → tool-registry}/defineTool.js +3 -3
  128. package/build/{tools → tool-registry}/index.js +2 -2
  129. package/build/{tools → tool-registry}/registry.js +1 -1
  130. package/build/{tools → tool-registry}/schemas.js +16 -1
  131. package/build/{tools/categories/index.js → tool-registry/toolCategories.js} +21 -21
  132. package/build/{tools → tool-registry}/ui/maps.js +2 -2
  133. package/build/{tools → tool-registry}/ui/viewModels.js +1 -1
  134. package/package.json +14 -18
  135. package/build/api/ebaySellerApi.js +0 -175
  136. package/build/schemas/marketing/marketing.js +0 -13
  137. package/build/scripts/buildMcpApps.js +0 -49
  138. package/build/scripts/devSync.js +0 -432
  139. package/build/scripts/specCoverage.js +0 -78
  140. package/build/scripts/specDownload.js +0 -42
  141. package/build/scripts/specRefs.js +0 -54
  142. package/build/scripts/specSources.js +0 -142
  143. package/build/scripts/specTypeNames.js +0 -23
  144. /package/build/{scripts → cli}/setupShared.js +0 -0
  145. /package/build/{skills → cli/skills}/markers.js +0 -0
  146. /package/build/{skills → cli/skills}/targets.js +0 -0
  147. /package/build/{skills → cli/skills}/types.js +0 -0
  148. /package/build/{schemas/analytics/analytics.js → ebay-apis/analytics/analyticsSchemas.js} +0 -0
  149. /package/build/{schemas/other/browse.js → ebay-apis/browse/browseSchemas.js} +0 -0
  150. /package/build/{api/other → ebay-apis/browse}/browseTypes.js +0 -0
  151. /package/build/{utils/communication/feedback.js → ebay-apis/communication/feedbackHelpers.js} +0 -0
  152. /package/build/{utils/communication/message.js → ebay-apis/communication/messageHelpers.js} +0 -0
  153. /package/build/{utils/communication/negotiation.js → ebay-apis/communication/negotiationHelpers.js} +0 -0
  154. /package/build/{schemas/developer/developer.js → ebay-apis/developer/developerSchemas.js} +0 -0
  155. /package/build/{schemas/inventory-management/feed.js → ebay-apis/feed/feedSchemas.js} +0 -0
  156. /package/build/{schemas/account-management/finances.js → ebay-apis/finances/financesSchemas.js} +0 -0
  157. /package/build/{api/order-management → ebay-apis/fulfillment}/orderIssueHelpers.js +0 -0
  158. /package/build/{api/listing-management/shared.js → ebay-apis/inventory/inventorySharedApi.js} +0 -0
  159. /package/build/{schemas/inventory-management/mediaDocuments.js → ebay-apis/inventory/mediaDocumentsSchemas.js} +0 -0
  160. /package/build/{schemas/inventory-management/media.js → ebay-apis/inventory/mediaSchemas.js} +0 -0
  161. /package/build/{schemas/marketing/common.js → ebay-apis/marketing/marketingCommonSchemas.js} +0 -0
  162. /package/build/{api/marketing-and-promotions/shared.js → ebay-apis/marketing/marketingSharedApi.js} +0 -0
  163. /package/build/{schemas/metadata/metadata.js → ebay-apis/metadata/metadataSchemas.js} +0 -0
  164. /package/build/{schemas/other/otherApis.js → ebay-apis/other/otherApisSchemas.js} +0 -0
  165. /package/build/{schemas/inventory-management/stores.js → ebay-apis/stores/storesSchemas.js} +0 -0
  166. /package/build/{schemas/taxonomy/categoryTree.js → ebay-apis/taxonomy/categoryTreeSchemas.js} +0 -0
  167. /package/build/{schemas/taxonomy/charity.js → ebay-apis/taxonomy/charitySchemas.js} +0 -0
  168. /package/build/{schemas/taxonomy/taxonomy.js → ebay-apis/taxonomy/taxonomySchemas.js} +0 -0
  169. /package/build/{api/shared → ebay-client}/auctionPricing.js +0 -0
  170. /package/build/{api/client → ebay-client}/ebayClientRequestError.js +0 -0
  171. /package/build/{api/client → ebay-client}/rateLimitTracker.js +0 -0
  172. /package/build/{api/client → ebay-client}/signEbayRequest.js +0 -0
  173. /package/build/{api/client → ebay-client}/tradingApiFailure.js +0 -0
  174. /package/build/{utils → shared}/cliOutput.js +0 -0
  175. /package/build/{utils → shared}/cliUi.js +0 -0
  176. /package/build/{utils → shared}/dateConverter.js +0 -0
  177. /package/build/{types → shared}/ebay.js +0 -0
  178. /package/build/{types → shared}/ebayEnums.js +0 -0
  179. /package/build/{utils → shared}/entryModule.js +0 -0
  180. /package/build/{utils → shared}/envFile.js +0 -0
  181. /package/build/{utils → shared}/envParser.js +0 -0
  182. /package/build/{utils → shared}/errors.js +0 -0
  183. /package/build/{types → shared}/index.js +0 -0
  184. /package/build/{utils → shared}/llmClientDetector.js +0 -0
  185. /package/build/{utils → shared}/localFeedFiles.js +0 -0
  186. /package/build/{utils → shared}/logRedaction.js +0 -0
  187. /package/build/{config → shared}/mediaAccess.js +0 -0
  188. /package/build/{config → shared}/oauthScopes.js +0 -0
  189. /package/build/{utils → shared}/objects.js +0 -0
  190. /package/build/{utils → shared}/schemaHelpers.js +0 -0
  191. /package/build/{utils → shared}/tokenUtils.js +0 -0
  192. /package/build/{utils → shared}/typeGuards.js +0 -0
  193. /package/build/{utils → shared}/version.js +0 -0
  194. /package/build/{utils → shared}/zodIssues.js +0 -0
  195. /package/build/{tools → tool-registry}/fileResult.js +0 -0
  196. /package/build/{tools → tool-registry}/types.js +0 -0
  197. /package/build/{tools → tool-registry}/ui/archetypes.js +0 -0
  198. /package/build/{tools → tool-registry}/ui/mapHelpers.js +0 -0
@@ -1,142 +0,0 @@
1
- /**
2
- * Official eBay OpenAPI specs that `pnpm sync` downloads into the local spec cache.
3
- *
4
- * Each spec lands in `.cache/ebay-specs/<folder>/`, and its generated types land in
5
- * `src/types/<folder>/`, so `folder` must match the existing generated-type layout.
6
- */
7
- import { basename } from 'node:path';
8
- export const specFileName = ({ url, fileName }) => fileName || basename(url);
9
- /** Every spec `pnpm sync` downloads, grouped the same way as `src/types/`. */
10
- export const specSources = [
11
- {
12
- api: 'Developer Analytics API',
13
- folder: 'application-settings',
14
- url: 'https://developer.ebay.com/api-docs/master/developer/analytics/openapi/3/developer_analytics_v1_beta_oas3.json',
15
- },
16
- {
17
- api: 'Key Management API',
18
- folder: 'application-settings',
19
- url: 'https://developer.ebay.com/api-docs/master/developer/key-management/openapi/3/developer_key_management_v1_oas3.json',
20
- },
21
- {
22
- api: 'Client Registration API',
23
- folder: 'application-settings',
24
- url: 'https://developer.ebay.com/api-docs/master/developer/client-registration/openapi/3/developer_client_registration_v1_oas3.json',
25
- },
26
- {
27
- api: 'Inventory API',
28
- folder: 'sell-apps/listing-management',
29
- url: 'https://developer.ebay.com/api-docs/master/sell/inventory/openapi/3/sell_inventory_v1_oas3.json',
30
- },
31
- {
32
- api: 'Feed API',
33
- folder: 'sell-apps/listing-management',
34
- url: 'https://developer.ebay.com/api-docs/master/sell/feed/openapi/3/sell_feed_v1_oas3.json',
35
- },
36
- {
37
- api: 'Media API',
38
- folder: 'sell-apps/listing-management',
39
- url: 'https://developer.ebay.com/api-docs/master/commerce/media/openapi/3/commerce_media_v1_beta_oas3.json',
40
- },
41
- {
42
- api: 'Stores API',
43
- folder: 'sell-apps/listing-management',
44
- url: 'https://developer.ebay.com/api-docs/master/sell/stores/openapi/3/sell_stores_v1_oas3.json',
45
- },
46
- {
47
- api: 'Metadata API',
48
- folder: 'sell-apps/listing-metadata',
49
- url: 'https://developer.ebay.com/api-docs/master/sell/metadata/openapi/3/sell_metadata_v1_oas3.json',
50
- },
51
- {
52
- api: 'Taxonomy API',
53
- folder: 'sell-apps/listing-metadata',
54
- url: 'https://developer.ebay.com/api-docs/master/commerce/taxonomy/openapi/3/commerce_taxonomy_v1_oas3.json',
55
- },
56
- {
57
- api: 'Charity API',
58
- folder: 'sell-apps/listing-metadata',
59
- url: 'https://developer.ebay.com/api-docs/master/commerce/charity/openapi/3/commerce_charity_v1_oas3.json',
60
- },
61
- {
62
- api: 'Account API (v1)',
63
- folder: 'sell-apps/account-management',
64
- url: 'https://developer.ebay.com/api-docs/master/sell/account/openapi/3/sell_account_v1_oas3.json',
65
- },
66
- {
67
- api: 'Account API (v2)',
68
- folder: 'sell-apps/account-management',
69
- url: 'https://developer.ebay.com/develop/api/spec/account_api_v2.json',
70
- fileName: 'sell_account_v2_oas3.json',
71
- },
72
- {
73
- api: 'Finances API',
74
- folder: 'sell-apps/account-management',
75
- url: 'https://developer.ebay.com/api-docs/master/sell/finances/openapi/3/sell_finances_v1_oas3.json',
76
- },
77
- {
78
- api: 'Message API',
79
- folder: 'sell-apps/communication',
80
- url: 'https://developer.ebay.com/api-docs/master/commerce/message/openapi/3/commerce_message_v1_oas3.json',
81
- },
82
- {
83
- api: 'Notification API',
84
- folder: 'sell-apps/communication',
85
- url: 'https://developer.ebay.com/api-docs/master/commerce/notification/openapi/3/commerce_notification_v1_oas3.json',
86
- },
87
- {
88
- api: 'Negotiation API',
89
- folder: 'sell-apps/communication',
90
- url: 'https://developer.ebay.com/api-docs/master/sell/negotiation/openapi/3/sell_negotiation_v1_oas3.json',
91
- },
92
- {
93
- api: 'Feedback API',
94
- folder: 'sell-apps/communication',
95
- url: 'https://developer.ebay.com/api-docs/master/commerce/feedback/openapi/3/commerce_feedback_v1_beta_oas3.json',
96
- },
97
- {
98
- api: 'Fulfillment API',
99
- folder: 'sell-apps/order-management',
100
- url: 'https://developer.ebay.com/api-docs/master/sell/fulfillment/openapi/3/sell_fulfillment_v1_oas3.json',
101
- },
102
- {
103
- api: 'Logistics API',
104
- folder: 'sell-apps/order-management',
105
- url: 'https://developer.ebay.com/api-docs/master/sell/logistics/openapi/3/sell_logistics_v1_oas3.json',
106
- },
107
- {
108
- api: 'Marketing API',
109
- folder: 'sell-apps/marketing-and-promotions',
110
- url: 'https://developer.ebay.com/api-docs/master/sell/marketing/openapi/3/sell_marketing_v1_oas3.json',
111
- },
112
- {
113
- api: 'Recommendation API',
114
- folder: 'sell-apps/marketing-and-promotions',
115
- url: 'https://developer.ebay.com/api-docs/master/sell/recommendation/openapi/3/sell_recommendation_v1_oas3.json',
116
- },
117
- {
118
- api: 'Analytics API',
119
- folder: 'sell-apps/analytics-and-report',
120
- url: 'https://developer.ebay.com/api-docs/master/sell/analytics/openapi/3/sell_analytics_v1_oas3.json',
121
- },
122
- {
123
- api: 'Translation API',
124
- folder: 'sell-apps/other-apis',
125
- url: 'https://developer.ebay.com/api-docs/master/commerce/translation/openapi/3/commerce_translation_v1_beta_oas3.json',
126
- },
127
- {
128
- api: 'Identity API',
129
- folder: 'sell-apps/other-apis',
130
- url: 'https://developer.ebay.com/api-docs/master/commerce/identity/openapi/3/commerce_identity_v1_oas3.json',
131
- },
132
- {
133
- api: 'eDelivery International Shipping API',
134
- folder: 'sell-apps/other-apis',
135
- url: 'https://developer.ebay.com/api-docs/master/sell/edelivery_international_shipping/openapi/3/sell_edelivery_international_shipping_oas3.json',
136
- },
137
- {
138
- api: 'Vero API',
139
- folder: 'sell-apps/other-apis',
140
- url: 'https://developer.ebay.com/api-docs/master/commerce/vero/openapi/3/commerce_vero_v1_oas3.json',
141
- },
142
- ];
@@ -1,23 +0,0 @@
1
- const COMPONENTS_DECLARATION = /\binterface components\b/g;
2
- const COMPONENTS_REFERENCE = /\bcomponents\[/g;
3
- const OPERATIONS_DECLARATION = /\binterface operations\b/g;
4
- const OPERATIONS_REFERENCE = /\boperations\[/g;
5
- export const generatedNamespaceNames = {
6
- developerAnalyticsV1BetaOas3: {
7
- components: 'DeveloperAnalyticsComponents',
8
- operations: 'DeveloperAnalyticsOperations',
9
- },
10
- developerClientRegistrationV1Oas3: {
11
- components: 'DeveloperClientRegistrationComponents',
12
- operations: 'DeveloperClientRegistrationOperations',
13
- },
14
- developerKeyManagementV1Oas3: {
15
- components: 'DeveloperKeyManagementComponents',
16
- operations: 'DeveloperKeyManagementOperations',
17
- },
18
- };
19
- export const renameGeneratedNamespaces = (generatedTypes, names) => generatedTypes
20
- .replace(COMPONENTS_DECLARATION, `interface ${names.components}`)
21
- .replace(COMPONENTS_REFERENCE, `${names.components}[`)
22
- .replace(OPERATIONS_DECLARATION, `interface ${names.operations}`)
23
- .replace(OPERATIONS_REFERENCE, `${names.operations}[`);
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes