ebay-mcp 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +586 -0
  3. package/build/api/account-management/account.d.ts +216 -0
  4. package/build/api/account-management/account.js +305 -0
  5. package/build/api/analytics-and-report/analytics.d.ts +33 -0
  6. package/build/api/analytics-and-report/analytics.js +102 -0
  7. package/build/api/client.d.ts +89 -0
  8. package/build/api/client.js +343 -0
  9. package/build/api/communication/feedback.d.ts +45 -0
  10. package/build/api/communication/feedback.js +119 -0
  11. package/build/api/communication/message.d.ts +55 -0
  12. package/build/api/communication/message.js +131 -0
  13. package/build/api/communication/negotiation.d.ts +39 -0
  14. package/build/api/communication/negotiation.js +97 -0
  15. package/build/api/communication/notification.d.ts +128 -0
  16. package/build/api/communication/notification.js +373 -0
  17. package/build/api/index.d.ts +96 -0
  18. package/build/api/index.js +121 -0
  19. package/build/api/listing-management/inventory.d.ts +216 -0
  20. package/build/api/listing-management/inventory.js +633 -0
  21. package/build/api/listing-metadata/metadata.d.ts +154 -0
  22. package/build/api/listing-metadata/metadata.js +485 -0
  23. package/build/api/listing-metadata/taxonomy.d.ts +38 -0
  24. package/build/api/listing-metadata/taxonomy.js +58 -0
  25. package/build/api/marketing-and-promotions/marketing.d.ts +395 -0
  26. package/build/api/marketing-and-promotions/marketing.js +565 -0
  27. package/build/api/marketing-and-promotions/recommendation.d.ts +20 -0
  28. package/build/api/marketing-and-promotions/recommendation.js +32 -0
  29. package/build/api/order-management/dispute.d.ts +65 -0
  30. package/build/api/order-management/dispute.js +69 -0
  31. package/build/api/order-management/fulfillment.d.ts +80 -0
  32. package/build/api/order-management/fulfillment.js +89 -0
  33. package/build/api/other/compliance.d.ts +26 -0
  34. package/build/api/other/compliance.js +47 -0
  35. package/build/api/other/edelivery.d.ts +153 -0
  36. package/build/api/other/edelivery.js +219 -0
  37. package/build/api/other/identity.d.ts +17 -0
  38. package/build/api/other/identity.js +24 -0
  39. package/build/api/other/translation.d.ts +14 -0
  40. package/build/api/other/translation.js +22 -0
  41. package/build/api/other/vero.d.ts +30 -0
  42. package/build/api/other/vero.js +48 -0
  43. package/build/auth/oauth-metadata.d.ts +46 -0
  44. package/build/auth/oauth-metadata.js +59 -0
  45. package/build/auth/oauth-middleware.d.ts +35 -0
  46. package/build/auth/oauth-middleware.js +99 -0
  47. package/build/auth/oauth-types.d.ts +66 -0
  48. package/build/auth/oauth-types.js +4 -0
  49. package/build/auth/oauth.d.ts +93 -0
  50. package/build/auth/oauth.js +383 -0
  51. package/build/auth/scope-utils.d.ts +70 -0
  52. package/build/auth/scope-utils.js +304 -0
  53. package/build/auth/token-verifier.d.ts +57 -0
  54. package/build/auth/token-verifier.js +172 -0
  55. package/build/config/environment.d.ts +61 -0
  56. package/build/config/environment.js +260 -0
  57. package/build/index.d.ts +1 -0
  58. package/build/index.js +98 -0
  59. package/build/schemas/account-management/account.d.ts +5324 -0
  60. package/build/schemas/account-management/account.js +366 -0
  61. package/build/schemas/analytics/analytics.d.ts +167 -0
  62. package/build/schemas/analytics/analytics.js +191 -0
  63. package/build/schemas/communication/messages.d.ts +1872 -0
  64. package/build/schemas/communication/messages.js +348 -0
  65. package/build/schemas/fulfillment/orders.d.ts +4655 -0
  66. package/build/schemas/fulfillment/orders.js +317 -0
  67. package/build/schemas/index.d.ts +2100 -0
  68. package/build/schemas/index.js +68 -0
  69. package/build/schemas/inventory-management/inventory.d.ts +6419 -0
  70. package/build/schemas/inventory-management/inventory.js +450 -0
  71. package/build/schemas/marketing/marketing.d.ts +14181 -0
  72. package/build/schemas/marketing/marketing.js +1088 -0
  73. package/build/schemas/metadata/metadata.d.ts +5259 -0
  74. package/build/schemas/metadata/metadata.js +614 -0
  75. package/build/schemas/other/other-apis.d.ts +257 -0
  76. package/build/schemas/other/other-apis.js +372 -0
  77. package/build/schemas/taxonomy/taxonomy.d.ts +215 -0
  78. package/build/schemas/taxonomy/taxonomy.js +571 -0
  79. package/build/scripts/auto-setup.d.ts +12 -0
  80. package/build/scripts/auto-setup.js +277 -0
  81. package/build/scripts/diagnostics.d.ts +8 -0
  82. package/build/scripts/diagnostics.js +299 -0
  83. package/build/scripts/download-specs.d.ts +1 -0
  84. package/build/scripts/download-specs.js +116 -0
  85. package/build/scripts/interactive-setup.d.ts +21 -0
  86. package/build/scripts/interactive-setup.js +723 -0
  87. package/build/server-http.d.ts +11 -0
  88. package/build/server-http.js +361 -0
  89. package/build/tools/definitions/account-with-schemas.d.ts +39 -0
  90. package/build/tools/definitions/account-with-schemas.js +170 -0
  91. package/build/tools/definitions/account.d.ts +12 -0
  92. package/build/tools/definitions/account.js +428 -0
  93. package/build/tools/definitions/analytics.d.ts +25 -0
  94. package/build/tools/definitions/analytics.js +66 -0
  95. package/build/tools/definitions/communication.d.ts +12 -0
  96. package/build/tools/definitions/communication.js +151 -0
  97. package/build/tools/definitions/fulfillment.d.ts +12 -0
  98. package/build/tools/definitions/fulfillment.js +326 -0
  99. package/build/tools/definitions/index.d.ts +25 -0
  100. package/build/tools/definitions/index.js +37 -0
  101. package/build/tools/definitions/inventory.d.ts +12 -0
  102. package/build/tools/definitions/inventory.js +429 -0
  103. package/build/tools/definitions/marketing.d.ts +12 -0
  104. package/build/tools/definitions/marketing.js +1095 -0
  105. package/build/tools/definitions/metadata.d.ts +12 -0
  106. package/build/tools/definitions/metadata.js +188 -0
  107. package/build/tools/definitions/other.d.ts +13 -0
  108. package/build/tools/definitions/other.js +309 -0
  109. package/build/tools/definitions/taxonomy.d.ts +25 -0
  110. package/build/tools/definitions/taxonomy.js +64 -0
  111. package/build/tools/definitions/token-management.d.ts +35 -0
  112. package/build/tools/definitions/token-management.js +103 -0
  113. package/build/tools/index.d.ts +11 -0
  114. package/build/tools/index.js +1003 -0
  115. package/build/tools/schemas.d.ts +14764 -0
  116. package/build/tools/schemas.js +667 -0
  117. package/build/tools/tool-definitions.d.ts +35 -0
  118. package/build/tools/tool-definitions.js +3534 -0
  119. package/build/types/application-settings/developerAnalyticsV1BetaOas3.d.ts +197 -0
  120. package/build/types/application-settings/developerAnalyticsV1BetaOas3.js +5 -0
  121. package/build/types/application-settings/developerClientRegistrationV1Oas3.d.ts +155 -0
  122. package/build/types/application-settings/developerClientRegistrationV1Oas3.js +5 -0
  123. package/build/types/application-settings/developerKeyManagementV1Oas3.d.ts +246 -0
  124. package/build/types/application-settings/developerKeyManagementV1Oas3.js +5 -0
  125. package/build/types/ebay-enums.d.ts +1204 -0
  126. package/build/types/ebay-enums.js +1330 -0
  127. package/build/types/ebay.d.ts +143 -0
  128. package/build/types/ebay.js +123 -0
  129. package/build/types/index.d.ts +6 -0
  130. package/build/types/index.js +10 -0
  131. package/build/types/sell-apps/account-management/sellAccountV1Oas3.d.ts +2579 -0
  132. package/build/types/sell-apps/account-management/sellAccountV1Oas3.js +5 -0
  133. package/build/types/sell-apps/analytics-and-report/sellAnalyticsV1Oas3.d.ts +446 -0
  134. package/build/types/sell-apps/analytics-and-report/sellAnalyticsV1Oas3.js +5 -0
  135. package/build/types/sell-apps/communication/commerceFeedbackV1BetaOas3.d.ts +705 -0
  136. package/build/types/sell-apps/communication/commerceFeedbackV1BetaOas3.js +5 -0
  137. package/build/types/sell-apps/communication/commerceMessageV1Oas3.d.ts +590 -0
  138. package/build/types/sell-apps/communication/commerceMessageV1Oas3.js +5 -0
  139. package/build/types/sell-apps/communication/commerceNotificationV1Oas3.d.ts +1276 -0
  140. package/build/types/sell-apps/communication/commerceNotificationV1Oas3.js +5 -0
  141. package/build/types/sell-apps/communication/sellNegotiationV1Oas3.d.ts +277 -0
  142. package/build/types/sell-apps/communication/sellNegotiationV1Oas3.js +5 -0
  143. package/build/types/sell-apps/listing-management/sellInventoryV1Oas3.d.ts +3133 -0
  144. package/build/types/sell-apps/listing-management/sellInventoryV1Oas3.js +5 -0
  145. package/build/types/sell-apps/listing-metadata/sellMetadataV1Oas3.d.ts +2289 -0
  146. package/build/types/sell-apps/listing-metadata/sellMetadataV1Oas3.js +5 -0
  147. package/build/types/sell-apps/markeitng-and-promotions/sellMarketingV1Oas3.d.ts +6650 -0
  148. package/build/types/sell-apps/markeitng-and-promotions/sellMarketingV1Oas3.js +5 -0
  149. package/build/types/sell-apps/markeitng-and-promotions/sellRecommendationV1Oas3.d.ts +172 -0
  150. package/build/types/sell-apps/markeitng-and-promotions/sellRecommendationV1Oas3.js +5 -0
  151. package/build/types/sell-apps/order-management/sellFulfillmentV1Oas3.d.ts +1869 -0
  152. package/build/types/sell-apps/order-management/sellFulfillmentV1Oas3.js +5 -0
  153. package/build/types/sell-apps/other-apis/commerceIdentityV1Oas3.d.ts +178 -0
  154. package/build/types/sell-apps/other-apis/commerceIdentityV1Oas3.js +5 -0
  155. package/build/types/sell-apps/other-apis/commerceTranslationV1BetaOas3.d.ts +128 -0
  156. package/build/types/sell-apps/other-apis/commerceTranslationV1BetaOas3.js +5 -0
  157. package/build/types/sell-apps/other-apis/commerceVeroV1Oas3.d.ts +417 -0
  158. package/build/types/sell-apps/other-apis/commerceVeroV1Oas3.js +5 -0
  159. package/build/types/sell-apps/other-apis/sellComplianceV1Oas3.d.ts +273 -0
  160. package/build/types/sell-apps/other-apis/sellComplianceV1Oas3.js +5 -0
  161. package/build/types/sell-apps/other-apis/sellEdeliveryInternationalShippingOas3.d.ts +2537 -0
  162. package/build/types/sell-apps/other-apis/sellEdeliveryInternationalShippingOas3.js +5 -0
  163. package/build/types/sell-apps/other-apis/sellMarketingV1Oas3.d.ts +6650 -0
  164. package/build/types/sell-apps/other-apis/sellMarketingV1Oas3.js +5 -0
  165. package/build/types/sell-apps/other-apis/sellRecommendationV1Oas3.d.ts +172 -0
  166. package/build/types/sell-apps/other-apis/sellRecommendationV1Oas3.js +5 -0
  167. package/build/utils/account-management/account.d.ts +1094 -0
  168. package/build/utils/account-management/account.js +831 -0
  169. package/build/utils/communication/feedback.d.ts +152 -0
  170. package/build/utils/communication/feedback.js +216 -0
  171. package/build/utils/communication/message.d.ts +174 -0
  172. package/build/utils/communication/message.js +242 -0
  173. package/build/utils/communication/negotiation.d.ts +123 -0
  174. package/build/utils/communication/negotiation.js +150 -0
  175. package/build/utils/communication/notification.d.ts +370 -0
  176. package/build/utils/communication/notification.js +369 -0
  177. package/build/utils/date-converter.d.ts +59 -0
  178. package/build/utils/date-converter.js +160 -0
  179. package/build/utils/llm-client-detector.d.ts +54 -0
  180. package/build/utils/llm-client-detector.js +318 -0
  181. package/build/utils/oauth-helper.d.ts +37 -0
  182. package/build/utils/oauth-helper.js +315 -0
  183. package/build/utils/order-management/dispute.d.ts +346 -0
  184. package/build/utils/order-management/dispute.js +369 -0
  185. package/build/utils/order-management/fulfillment.d.ts +200 -0
  186. package/build/utils/order-management/fulfillment.js +205 -0
  187. package/build/utils/other/compliance.d.ts +49 -0
  188. package/build/utils/other/compliance.js +76 -0
  189. package/build/utils/other/edelivery.d.ts +310 -0
  190. package/build/utils/other/edelivery.js +241 -0
  191. package/build/utils/other/identity.d.ts +13 -0
  192. package/build/utils/other/identity.js +13 -0
  193. package/build/utils/other/translation.d.ts +28 -0
  194. package/build/utils/other/translation.js +41 -0
  195. package/build/utils/other/vero.d.ts +61 -0
  196. package/build/utils/other/vero.js +90 -0
  197. package/build/utils/scope-helper.d.ts +49 -0
  198. package/build/utils/scope-helper.js +207 -0
  199. package/build/utils/security-checker.d.ts +46 -0
  200. package/build/utils/security-checker.js +248 -0
  201. package/build/utils/setup-validator.d.ts +25 -0
  202. package/build/utils/setup-validator.js +305 -0
  203. package/build/utils/token-utils.d.ts +40 -0
  204. package/build/utils/token-utils.js +40 -0
  205. package/package.json +115 -0
@@ -0,0 +1,1276 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export interface paths {
6
+ '/config': {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ /** @description This method allows applications to retrieve a previously created configuration. */
14
+ get: operations['getConfig'];
15
+ /** @description This method allows applications to create a new configuration or update an existing configuration. This app-level configuration allows developers to set up alerts. */
16
+ put: operations['updateConfig'];
17
+ post?: never;
18
+ delete?: never;
19
+ options?: never;
20
+ head?: never;
21
+ patch?: never;
22
+ trace?: never;
23
+ };
24
+ '/destination': {
25
+ parameters: {
26
+ query?: never;
27
+ header?: never;
28
+ path?: never;
29
+ cookie?: never;
30
+ };
31
+ /** @description This method allows applications to retrieve a paginated collection of destination resources and related details. The details include the destination names, statuses, and configurations, including the endpoints and verification tokens. */
32
+ get: operations['getDestinations'];
33
+ put?: never;
34
+ /** @description This method allows applications to create a destination. A destination is an endpoint that receives HTTP push notifications.<br><br>A single destination for all topics is valid, as is individual destinations for each topic.<br><br>To update a destination, use the <strong>updateDestination</strong> call.<br><br>The destination created will need to be referenced while creating or updating a subscription to a topic.<br><br><span class="tablenote"><b>Note:</b> The destination should be created and ready to respond with the expected <b>challengeResponse</b> for the endpoint to be registered successfully. Refer to the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a> for more information.</span> */
35
+ post: operations['createDestination'];
36
+ delete?: never;
37
+ options?: never;
38
+ head?: never;
39
+ patch?: never;
40
+ trace?: never;
41
+ };
42
+ '/destination/{destination_id}': {
43
+ parameters: {
44
+ query?: never;
45
+ header?: never;
46
+ path?: never;
47
+ cookie?: never;
48
+ };
49
+ /** @description This method allows applications to fetch the details for a destination. The details include the destination name, status, and configuration, including the endpoint and verification token. */
50
+ get: operations['getDestination'];
51
+ /** @description This method allows applications to update a destination.<br><br><span class="tablenote"><b>Note:</b> The destination should be created and ready to respond with the expected <b>challengeResponse</b> for the endpoint to be registered successfully. Refer to the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a> for more information.</span> */
52
+ put: operations['updateDestination'];
53
+ post?: never;
54
+ /** @description This method provides applications a way to delete a destination.<br><br>The same destination ID can be used by many destinations.<br><br>Trying to delete an active destination results in an error. You can disable a subscription, and when the destination is no longer in use, you can delete it. */
55
+ delete: operations['deleteDestination'];
56
+ options?: never;
57
+ head?: never;
58
+ patch?: never;
59
+ trace?: never;
60
+ };
61
+ '/public_key/{public_key_id}': {
62
+ parameters: {
63
+ query?: never;
64
+ header?: never;
65
+ path?: never;
66
+ cookie?: never;
67
+ };
68
+ /** @description This method allows users to retrieve a public key using a specified key ID. The public key that is returned in the response payload is used to process and validate eBay notifications.<br><br>The public key ID, which is a required request parameter for this method, is retrieved from the Base64-encoded <b>X-EBAY-SIGNATURE</b> header that is included in the eBay notification.<br><br><div class="msgbox_important"><p class="msgbox_importantInDiv" data-mc-autonum="&lt;b&gt;&lt;span style=&quot;color: #dd1e31;&quot; class=&quot;mcFormatColor&quot;&gt;Important! &lt;/span&gt;&lt;/b&gt;"><span class="autonumber"><span><b><span style="color: #dd1e31;" class="mcFormatColor">Important!</span></b></span></span> The retrieved public key value should be cached for a temporary — but reasonable — amount of time (e.g., one-hour is recommended.) This key should not be requested for every notification since doing so can result in exceeding <a href="/develop/apis/api-call-limits" target="_blank">API call limits</a> if a large number of notification requests is received.</p></div><br><span class="tablenote"><b>Note:</b> For more details about how to process eBay push notifications and validate notification message payloads, see the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a>.</span> */
69
+ get: operations['getPublicKey'];
70
+ put?: never;
71
+ post?: never;
72
+ delete?: never;
73
+ options?: never;
74
+ head?: never;
75
+ patch?: never;
76
+ trace?: never;
77
+ };
78
+ '/subscription': {
79
+ parameters: {
80
+ query?: never;
81
+ header?: never;
82
+ path?: never;
83
+ cookie?: never;
84
+ };
85
+ /** @description This method allows applications to retrieve a list of all subscriptions. The list returned is a paginated collection of subscription resources.<br><br>Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business. */
86
+ get: operations['getSubscriptions'];
87
+ put?: never;
88
+ /** @description This method allows applications to create a subscription for a topic and supported schema version. Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business.<br><br>Each application and topic-schema pairing to a subscription should have a 1:1 cardinality.<br><br>You can create the subscription in disabled mode, test it (see the <b>test</b> method), and when everything is ready, you can enable the subscription (see the <b>enableSubscription</b> method).<br><br><span class="tablenote"><b>Note:</b> If an application is not authorized to subscribe to a topic, for example, if your authorization does not include the list of scopes required for the topic, an error code of 195011 is returned.</span> */
89
+ post: operations['createSubscription'];
90
+ delete?: never;
91
+ options?: never;
92
+ head?: never;
93
+ patch?: never;
94
+ trace?: never;
95
+ };
96
+ '/subscription/{subscription_id}/filter': {
97
+ parameters: {
98
+ query?: never;
99
+ header?: never;
100
+ path?: never;
101
+ cookie?: never;
102
+ };
103
+ get?: never;
104
+ put?: never;
105
+ /** @description This method allows applications to create a filter for a subscription. Filters allow applications to only be sent notifications that match a provided criteria. Notifications that do not match this criteria will not be sent to the destination.<br><br>The <strong>filterSchema</strong> value must be a valid <a href="https://json-schema.org " target="_blank">JSON Schema Core document</a> (version 2020-12 or later). The <strong>filterSchema</strong> provided must describe the subscription's notification payload such that it supplies valid criteria to filter the subscription's notifications. The user does not need to provide <code>$schema</code> and <code>$id</code> definitions.<br><br>When a filter is first created, it is not immediately active on the subscription. If the request has a valid JSON body, the successful call returns the HTTP status code <b>201&nbsp;Created</b>. Newly created filters are in <code>PENDING</code> status until they are reviewed. If a filter is valid, it will move from <code>PENDING</code> status to <code>ENABLED</code> status. You can find the status of a filter using the <a href="/api-docs/commerce/notification/resources/subscription/methods/getSubscriptionFilter">getSubscriptionFilter</a> method. See <a href="/api-docs/commerce/notification/overview.html#create-filter" target="_blank">Creating a subscription filter for a topic</a> for additional information.<br><br><span class="tablenote"><b>Note:</b> Only one filter can be in <strong>ENABLED</strong> (which means active) status on a subscription at a time. If an <strong>ENABLED</strong> filter is overwritten by a new call to <strong>CREATE</strong> a filter for the subscription, it stays in <strong>ENABLED</strong> status until the new <strong>PENDING</strong> filter becomes the <strong>ENABLED</strong> filter, and the existing filter then becomes <strong>DISABLED</strong>.</span> */
106
+ post: operations['createSubscriptionFilter'];
107
+ delete?: never;
108
+ options?: never;
109
+ head?: never;
110
+ patch?: never;
111
+ trace?: never;
112
+ };
113
+ '/subscription/{subscription_id}': {
114
+ parameters: {
115
+ query?: never;
116
+ header?: never;
117
+ path?: never;
118
+ cookie?: never;
119
+ };
120
+ /** @description This method allows applications to retrieve subscription details for the specified subscription.<br><br>Specify the subscription to retrieve using the <strong>subscription_id</strong>. Use the <strong>getSubscriptions</strong> method to browse all subscriptions if you do not know the <strong>subscription_id</strong>.<br><br>Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business. */
121
+ get: operations['getSubscription'];
122
+ /** @description This method allows applications to update a subscription. Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business.<br><br><span class="tablenote"><b>Note:</b> This call returns an error if an application is not authorized to subscribe to a topic.</span><br><br>You can pause and restart a subscription. See the <b>disableSubscription</b> and <b>enableSubscription</b> methods. */
123
+ put: operations['updateSubscription'];
124
+ post?: never;
125
+ /** @description This method allows applications to delete a subscription. Subscriptions can be deleted regardless of status. */
126
+ delete: operations['deleteSubscription'];
127
+ options?: never;
128
+ head?: never;
129
+ patch?: never;
130
+ trace?: never;
131
+ };
132
+ '/subscription/{subscription_id}/filter/{filter_id}': {
133
+ parameters: {
134
+ query?: never;
135
+ header?: never;
136
+ path?: never;
137
+ cookie?: never;
138
+ };
139
+ /** @description This method allows applications to retrieve the filter details for the specified subscription filter.<br><br>Specify the subscription filter to retrieve by using the <strong>subscription_id</strong> and the <strong>filter_id</strong> associated with the subscription filter. The <strong>filter_id</strong> can be found in the response body for the <strong>getSubscription</strong> method, if there is a filter applied on the subscription.<br><br>Filters allow applications to only be sent notifications that match a provided criteria. Notifications that do not match this criteria will not be sent to the destination. */
140
+ get: operations['getSubscriptionFilter'];
141
+ put?: never;
142
+ post?: never;
143
+ /** @description This method allows applications to disable the active filter on a subscription, so that a new subscription filter may be added.<br><br><span class="tablenote"><b>Note:</b> Subscription filters in <strong>PENDING</strong> status can not be disabled. However, a new filter can be created instead with the <strong>createSubscriptionFilter</strong> method and this new filter will override the <strong>PENDING</strong> filter.</span> */
144
+ delete: operations['deleteSubscriptionFilter'];
145
+ options?: never;
146
+ head?: never;
147
+ patch?: never;
148
+ trace?: never;
149
+ };
150
+ '/subscription/{subscription_id}/disable': {
151
+ parameters: {
152
+ query?: never;
153
+ header?: never;
154
+ path?: never;
155
+ cookie?: never;
156
+ };
157
+ get?: never;
158
+ put?: never;
159
+ /** @description This method disables a subscription, which prevents the subscription from providing notifications. To restart a subscription, call <strong>enableSubscription</strong>. */
160
+ post: operations['disableSubscription'];
161
+ delete?: never;
162
+ options?: never;
163
+ head?: never;
164
+ patch?: never;
165
+ trace?: never;
166
+ };
167
+ '/subscription/{subscription_id}/enable': {
168
+ parameters: {
169
+ query?: never;
170
+ header?: never;
171
+ path?: never;
172
+ cookie?: never;
173
+ };
174
+ get?: never;
175
+ put?: never;
176
+ /** @description This method allows applications to enable a disabled subscription. To pause (or disable) an enabled subscription, call <strong>disableSubscription</strong>. */
177
+ post: operations['enableSubscription'];
178
+ delete?: never;
179
+ options?: never;
180
+ head?: never;
181
+ patch?: never;
182
+ trace?: never;
183
+ };
184
+ '/subscription/{subscription_id}/test': {
185
+ parameters: {
186
+ query?: never;
187
+ header?: never;
188
+ path?: never;
189
+ cookie?: never;
190
+ };
191
+ get?: never;
192
+ put?: never;
193
+ /** @description This method triggers a mocked test payload that includes a notification ID, publish date, and so on. Use this method to test your subscription end-to-end.<br><br>You can create the subscription in disabled mode, test it using this method, and when everything is ready, you can enable the subscription (see the <strong>enableSubscription</strong> method).<br><br><span class="tablenote"><b>Note:</b> Use the <strong>notificationId</strong> to tell the difference between a test payload and a real payload.</span> */
194
+ post: operations['testSubscription'];
195
+ delete?: never;
196
+ options?: never;
197
+ head?: never;
198
+ patch?: never;
199
+ trace?: never;
200
+ };
201
+ '/topic/{topic_id}': {
202
+ parameters: {
203
+ query?: never;
204
+ header?: never;
205
+ path?: never;
206
+ cookie?: never;
207
+ };
208
+ /** @description This method allows applications to retrieve details for the specified topic. This information includes supported schema versions, formats, and other metadata for the topic.<br><br>Applications can subscribe to any of the topics for a supported schema version and format, limited by the authorization scopes required to subscribe to the topic.<br><br>A topic specifies the type of information to be received and the data types associated with an event. An event occurs in the eBay system, such as when a user requests deletion or revokes access for an application. An event is an instance of an event type (topic).<br><br>Specify the topic to retrieve using the <b>topic_id</b> URI parameter.<br><br><span class="tablenote"><b>Note:</b> Use the <a href="/api-docs/commerce/notification/resources/topic/methods/getTopics">getTopics</a> method to find a topic if you do not know the topic ID.</span> */
209
+ get: operations['getTopic'];
210
+ put?: never;
211
+ post?: never;
212
+ delete?: never;
213
+ options?: never;
214
+ head?: never;
215
+ patch?: never;
216
+ trace?: never;
217
+ };
218
+ '/topic': {
219
+ parameters: {
220
+ query?: never;
221
+ header?: never;
222
+ path?: never;
223
+ cookie?: never;
224
+ };
225
+ /** @description This method returns a paginated collection of all supported topics, along with the details for the topics. This information includes supported schema versions, formats, and other metadata for the topics.<br><br>Applications can subscribe to any of the topics for a supported schema version and format, limited by the authorization scopes required to subscribe to the topic.<br><br>A topic specifies the type of information to be received and the data types associated with an event. An event occurs in the eBay system, such as when a user requests deletion or revokes access for an application. An event is an instance of an event type (topic). */
226
+ get: operations['getTopics'];
227
+ put?: never;
228
+ post?: never;
229
+ delete?: never;
230
+ options?: never;
231
+ head?: never;
232
+ patch?: never;
233
+ trace?: never;
234
+ };
235
+ }
236
+ export type webhooks = Record<string, never>;
237
+ export interface components {
238
+ schemas: {
239
+ /** @description The type that defines the fields for the <b>alertEmail</b> field. */
240
+ Config: {
241
+ /** @description This field is used to add or modify an email address that will be used for Notification API alerts associated with the application. <b>getConfig</b> can be used to get the email address currently being used for alerts. */
242
+ alertEmail?: string;
243
+ };
244
+ CreateSubscriptionFilterRequest: {
245
+ /** @description The content of a subscription filter as a valid <a href="https://json-schema.org " target="_blank">JSON Schema Core document</a> (version 2020-12 or later). The <strong>filterSchema</strong> provided must describe the subscription's notification payload such that it supplies valid criteria to filter the subscription's notifications.<br><br><span class="tablenote"><b>Note:</b> Not all topics can have filters applied to them. Use <a href="/api-docs/commerce/notification/resources/topic/methods/getTopic">getTopic</a> and <a href="/api-docs/commerce/notification/resources/topic/methods/getTopics">getTopics</a> requests to determine if a specific topic is filterable. Filterable topics have the boolean <b>filterable</b> returned as <code>true</code> in the response.</span><br><span class="tablenote"><b>Note:</b> If the JSON supplied as a subscription filter specifies a field that does not exist in the notifications for a topic, or if the topic is not filterable, the filter will be rejected and become <strong>DISABLED</strong>. If it is valid, however, the filter will move from <strong>PENDING</strong> status to <strong>ENABLED</strong> status.</span><br>Initially, when the <b>createSubscriptionFilter</b> request has been made, if the request has a valid JSON body a <b>201&nbsp;Created</b> is returned. After that, the validation of the <b>filterSchema</b> happens. See <a href="/api-docs/commerce/notification/overview.html#create-filter" target="_blank">Creating a subscription filter for a topic</a> for additional information. */
246
+ filterSchema?: Record<string, Record<string, never>>;
247
+ };
248
+ /** @description This type contains information about a subscription request. */
249
+ CreateSubscriptionRequest: {
250
+ /** @description The unique identifier of the destination endpoint that will receive notifications associated with this subscription. Use the <b>getDestinations</b> method to retrieve destination IDs. */
251
+ destinationId?: string;
252
+ /** @description The payload associated with the notification topic. Use <b>getTopics</b> or <b>getTopic</b> to get the supported payload for the topic. */
253
+ payload?: components['schemas']['SubscriptionPayloadDetail'];
254
+ /** @description Set the status of the subscription to <code>ENABLED</code> or <code>DISABLED</code>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:SubscriptionStatusEnum'>eBay API documentation</a> */
255
+ status?: string;
256
+ /** @description The unique identifier of the notification topic to subscribe to. Use <b>getTopics</b> to get topic IDs. */
257
+ topicId?: string;
258
+ };
259
+ /** @description A type that contains information about the delivery configuration. */
260
+ DeliveryConfig: {
261
+ /** @description The endpoint for this destination.<br><br><span class="tablenote"><b>Note:</b> The provided endpoint URL should use the HTTPS protocol, and it should not contain an internal IP address or <code>localhost</code> in its path.</span> */
262
+ endpoint?: string;
263
+ /** @description The verification token associated with this endpoint.<br><br><span class="tablenote"><b>Note:</b> The provided verification token must be between 32 and 80 characters. Allowed characters include alphanumeric characters, underscores (<code>_</code>), and hyphens (<code>-</code>); no other characters are allowed.</span> */
264
+ verificationToken?: string;
265
+ };
266
+ /** @description A type that contains information about the destination. */
267
+ Destination: {
268
+ /** @description The configuration associated with this destination. */
269
+ deliveryConfig?: components['schemas']['DeliveryConfig'];
270
+ /** @description The unique identifier for the destination. */
271
+ destinationId?: string;
272
+ /** @description The name associated with this destination. */
273
+ name?: string;
274
+ /** @description The status for this destination.<br><br><span class="tablenote"><b>Note:</b> The <b>MARKED_DOWN</b> value is set by eBay systems and cannot be used in a create or update call by applications.</span><br><br><b>Valid values:</b><ul><li><code>ENABLED</code></li><li><code>DISABLED</code></li><li><code>MARKED_DOWN</code></li></ul> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:DestinationStatusEnum'>eBay API documentation</a> */
275
+ status?: string;
276
+ };
277
+ /** @description A type that contains information about the destination request. */
278
+ DestinationRequest: {
279
+ /** @description This container is used to specify the destination endpoint and verification token associated with this endpoint. */
280
+ deliveryConfig?: components['schemas']['DeliveryConfig'];
281
+ /** @description The seller-specified name for the destination endpoint. */
282
+ name?: string;
283
+ /** @description This field sets the status for the destination endpoint as <code>ENABLED</code> or <code>DISABLED</code>.<br><br><span class="tablenote"><b>Note:</b> The <b>MARKED_DOWN</b> value is set by eBay systems and cannot be used in a create or update call by applications.</span> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:DestinationStatusEnum'>eBay API documentation</a> */
284
+ status?: string;
285
+ };
286
+ /** @description A type that contains information about the destination search response. */
287
+ DestinationSearchResponse: {
288
+ /** @description An array that contains the destination details. */
289
+ destinations?: components['schemas']['Destination'][];
290
+ /** @description The path to the call URI that produced the current page of results. */
291
+ href?: string;
292
+ /**
293
+ * Format: int32
294
+ * @description The number of records to show in the current response.<br><br><b>Default:</b> 20
295
+ */
296
+ limit?: number;
297
+ /** @description The URL to access the next set of results. This field includes a <strong>continuation_token</strong>. No <b>prev</b> field is returned, but this value is persistent during the session so that you can use it to return to the next page.<br><br>This field is not returned if fewer records than specified by the <strong>limit</strong> field are returned. */
298
+ next?: string;
299
+ /**
300
+ * Format: int32
301
+ * @description The total number of matches for the search criteria.
302
+ */
303
+ total?: number;
304
+ };
305
+ /** @description This type defines the fields that can be returned in an error. */
306
+ Error: {
307
+ /** @description Identifies the type of erro. */
308
+ category?: string;
309
+ /** @description Name for the primary system where the error occurred. This is relevant for application errors. */
310
+ domain?: string;
311
+ /**
312
+ * Format: int32
313
+ * @description A unique number to identify the error.
314
+ */
315
+ errorId?: number;
316
+ /** @description An array of request elements most closely associated to the error. */
317
+ inputRefIds?: string[];
318
+ /** @description A more detailed explanation of the error. */
319
+ longMessage?: string;
320
+ /** @description Information on how to correct the problem, in the end user's terms and language where applicable. */
321
+ message?: string;
322
+ /** @description An array of request elements most closely associated to the error. */
323
+ outputRefIds?: string[];
324
+ /** @description An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned. */
325
+ parameters?: components['schemas']['ErrorParameter'][];
326
+ /** @description Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc. */
327
+ subdomain?: string;
328
+ };
329
+ ErrorParameter: {
330
+ /** @description The object of the error. */
331
+ name?: string;
332
+ /** @description The value of the object. */
333
+ value?: string;
334
+ };
335
+ /** @description A type that describes the details about a topic's payload. */
336
+ PayloadDetail: {
337
+ /** @description The supported delivery protocols. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:ProtocolEnum'>eBay API documentation</a> */
338
+ deliveryProtocol?: string;
339
+ /** @description A deprecation indicator. */
340
+ deprecated?: boolean;
341
+ /** @description The supported format. Presently, <code>JSON</code> is the only supported format. */
342
+ format?: string[];
343
+ /** @description The supported schema version. */
344
+ schemaVersion?: string;
345
+ };
346
+ /** @description A type that defines the public key for a unique key ID. */
347
+ PublicKey: {
348
+ /** @description The algorithm associated with the public key that is returned, such as Elliptic Curve Digital Signature Algorithm (ECDSA). */
349
+ algorithm?: string;
350
+ /** @description The digest associated with the public key that is returned, such as Secure Hash Algorithm 1 (SHA1). */
351
+ digest?: string;
352
+ /** @description The public key that is returned for the specified key ID.<br><br>This value is used to validate the eBay push notification message payload. */
353
+ key?: string;
354
+ };
355
+ /** @description A type that describes the subscription. */
356
+ Subscription: {
357
+ /** @description The creation date for this subscription. */
358
+ creationDate?: string;
359
+ /** @description The unique identifier for the destination associated with this subscription. */
360
+ destinationId?: string;
361
+ /** @description The unique identifier for the filter associated with this subscription. */
362
+ filterId?: string;
363
+ /** @description The payload associated with this subscription. */
364
+ payload?: components['schemas']['SubscriptionPayloadDetail'];
365
+ /** @description The status of this subscription. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:SubscriptionStatusEnum'>eBay API documentation</a> */
366
+ status?: string;
367
+ /** @description The unique identifier for the subscription. */
368
+ subscriptionId?: string;
369
+ /** @description The unique identifier for the topic associated with this subscription. */
370
+ topicId?: string;
371
+ };
372
+ SubscriptionFilter: {
373
+ /** @description The creation date for this subscription filter. */
374
+ creationDate?: string;
375
+ /** @description The unique identifier for this subscription filter. */
376
+ filterId?: string;
377
+ /** @description The content of this subscription filter as a valid <a href="https://json-schema.org " target="_blank">JSON Schema Core document</a> (version 2020-12 or later). The <strong>filterSchema</strong> provided must describe the subscription's notification payload such that it supplies valid criteria to filter the subscription's notifications. */
378
+ filterSchema?: Record<string, Record<string, never>>;
379
+ /** @description The status of this subscription filter. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:SubscriptionFilterStatus'>eBay API documentation</a> */
380
+ filterStatus?: string;
381
+ /** @description The unique identifier for the subscription. */
382
+ subscriptionId?: string;
383
+ };
384
+ /** @description A type that describes the details of the subscription payload. */
385
+ SubscriptionPayloadDetail: {
386
+ /** @description The supported delivery protocol of the notification topic.<br><br><span class="tablenote"><b>Note:</b> <code>HTTPS</code> is currently the only supported delivery protocol of all notification topics. </span> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:ProtocolEnum'>eBay API documentation</a> */
387
+ deliveryProtocol?: string;
388
+ /** @description The supported data format of the payload.<br><br><span class="tablenote"><b>Note:</b> JSON is currently the only supported format for all notification topics.</span> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:FormatTypeEnum'>eBay API documentation</a> */
389
+ format?: string;
390
+ /** @description The supported schema version for the notification topic. See the <b>supportedPayloads.schemaVersion</b> field for the topic in <b>getTopics</b> or <b>getTopic</b> response. */
391
+ schemaVersion?: string;
392
+ };
393
+ /** @description A type that describes the details of the subscription search response. */
394
+ SubscriptionSearchResponse: {
395
+ /** @description The path to the call URI that produced the current page of results. */
396
+ href?: string;
397
+ /**
398
+ * Format: int32
399
+ * @description The value of the limit parameter submitted in the request, which is the maximum number of items to return per page, from the result set. A result set is the complete set of results returned by the method.<br><br><span class="tablenote"><b>Note:</b> Though this parameter is not required to be submitted in the request, the parameter defaults to <code>20</code> if omitted.</span><br><br><b>Default:</b> 20
400
+ */
401
+ limit?: number;
402
+ /** @description The URL to access the next set of results. This field includes a <strong>continuation_token</strong>. No <b>prev</b> field is returned, but this value is persistent during the session so that you can use it to return to the next page.<br><br>This field is not returned if fewer records than specified by the <strong>limit</strong> field are returned. */
403
+ next?: string;
404
+ /** @description The subscriptions that match the search criteria. */
405
+ subscriptions?: components['schemas']['Subscription'][];
406
+ /**
407
+ * Format: int32
408
+ * @description The total number of matches for the search criteria.
409
+ */
410
+ total?: number;
411
+ };
412
+ /** @description A type that describes the details of the topic. */
413
+ Topic: {
414
+ /** @description The authorization scopes required to subscribe to this topic. */
415
+ authorizationScopes?: string[];
416
+ /** @description The business context associated with this topic. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:ContextEnum'>eBay API documentation</a> */
417
+ context?: string;
418
+ /** @description The description of the topic. */
419
+ description?: string;
420
+ /** @description The indicator of whether this topic is filterable or not. */
421
+ filterable?: boolean;
422
+ /** @description The scope of this topic. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:ScopeEnum'>eBay API documentation</a> */
423
+ scope?: string;
424
+ /** @description The status of this topic. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:StatusEnum'>eBay API documentation</a> */
425
+ status?: string;
426
+ /** @description The supported payloads for this topic. */
427
+ supportedPayloads?: components['schemas']['PayloadDetail'][];
428
+ /** @description The unique identifier for the topic. */
429
+ topicId?: string;
430
+ };
431
+ /** @description A type that describes the details of the topic search response. */
432
+ TopicSearchResponse: {
433
+ /** @description The path to the call URI that produced the current page of results. */
434
+ href?: string;
435
+ /**
436
+ * Format: int32
437
+ * @description The value of the limit parameter submitted in the request, which is the maximum number of items to return per page, from the result set. A result set is the complete set of results returned by the method.<br><br><span class="tablenote"><b>Note:</b> Though this parameter is not required to be submitted in the request, the parameter defaults to <code>20</code> if omitted.</span>
438
+ */
439
+ limit?: number;
440
+ /** @description The URL to access the next set of results. This field includes a <strong>continuation_token</strong>. No <b>prev</b> field is returned, but this value is persistent during the session so that you can use it to return to the next page.<br><br>This field is not returned if fewer records than specified by the <strong>limit</strong> field are returned. */
441
+ next?: string;
442
+ /** @description An array of topics that match the specified criteria. */
443
+ topics?: components['schemas']['Topic'][];
444
+ /**
445
+ * Format: int32
446
+ * @description The total number of matches for the search criteria.
447
+ */
448
+ total?: number;
449
+ };
450
+ /** @description A type that describes the details of the update subscription request. */
451
+ UpdateSubscriptionRequest: {
452
+ /** @description The unique identifier of the destination endpoint that will receive notifications associated with this subscription. Use <b>getDestinations</b> to retrieve destination IDs. */
453
+ destinationId?: string;
454
+ /** @description The payload associated with this subscription. */
455
+ payload?: components['schemas']['SubscriptionPayloadDetail'];
456
+ /** @description Set the status of the subscription being updated to ENABLED or DISABLED. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:SubscriptionStatusEnum'>eBay API documentation</a> */
457
+ status?: string;
458
+ };
459
+ };
460
+ responses: never;
461
+ parameters: never;
462
+ requestBodies: never;
463
+ headers: never;
464
+ pathItems: never;
465
+ }
466
+ export type $defs = Record<string, never>;
467
+ export interface operations {
468
+ getConfig: {
469
+ parameters: {
470
+ query?: never;
471
+ header?: never;
472
+ path?: never;
473
+ cookie?: never;
474
+ };
475
+ requestBody?: never;
476
+ responses: {
477
+ /** @description OK */
478
+ 200: {
479
+ headers: Record<string, unknown>;
480
+ content: {
481
+ 'application/json': components['schemas']['Config'];
482
+ };
483
+ };
484
+ /** @description Not Found */
485
+ 404: {
486
+ headers: Record<string, unknown>;
487
+ content?: never;
488
+ };
489
+ /** @description Internal Server Error */
490
+ 500: {
491
+ headers: Record<string, unknown>;
492
+ content?: never;
493
+ };
494
+ };
495
+ };
496
+ updateConfig: {
497
+ parameters: {
498
+ query?: never;
499
+ header: {
500
+ /** @description This header indicates the format of the request body provided by the client. Its value should be set to <b>application/json</b>. <br><br> For more information, refer to <a href="/api-docs/static/rest-request-components.html#HTTP" target="_blank ">HTTP request headers</a>. */
501
+ 'Content-Type': string;
502
+ };
503
+ path?: never;
504
+ cookie?: never;
505
+ };
506
+ /** @description The configurations for this application. */
507
+ requestBody?: {
508
+ content: {
509
+ 'application/json': components['schemas']['Config'];
510
+ };
511
+ };
512
+ responses: {
513
+ /** @description No Content */
514
+ 204: {
515
+ headers: Record<string, unknown>;
516
+ content?: never;
517
+ };
518
+ /** @description Bad Request */
519
+ 400: {
520
+ headers: Record<string, unknown>;
521
+ content?: never;
522
+ };
523
+ /** @description Internal Server Error */
524
+ 500: {
525
+ headers: Record<string, unknown>;
526
+ content?: never;
527
+ };
528
+ };
529
+ };
530
+ getDestinations: {
531
+ parameters: {
532
+ query?: {
533
+ /** @description This string value can be used to return the next page in the result set. The string to use here is returned in the <b>next</b> field of the current page of results. */
534
+ continuation_token?: string;
535
+ /** @description The maximum number of destinations to return per page from the result set.<br><br><b>Min:</b> 10<br><br><b>Max:</b> 100<br><br><b>Default:</b> 20 */
536
+ limit?: string;
537
+ };
538
+ header?: never;
539
+ path?: never;
540
+ cookie?: never;
541
+ };
542
+ requestBody?: never;
543
+ responses: {
544
+ /** @description OK */
545
+ 200: {
546
+ headers: Record<string, unknown>;
547
+ content: {
548
+ 'application/json': components['schemas']['DestinationSearchResponse'];
549
+ };
550
+ };
551
+ /** @description Bad Request */
552
+ 400: {
553
+ headers: Record<string, unknown>;
554
+ content?: never;
555
+ };
556
+ /** @description Internal Server Error */
557
+ 500: {
558
+ headers: Record<string, unknown>;
559
+ content?: never;
560
+ };
561
+ };
562
+ };
563
+ createDestination: {
564
+ parameters: {
565
+ query?: never;
566
+ header: {
567
+ /** @description This header indicates the format of the request body provided by the client. Its value should be set to <b>application/json</b>. <br><br> For more information, refer to <a href="/api-docs/static/rest-request-components.html#HTTP" target="_blank ">HTTP request headers</a>. */
568
+ 'Content-Type': string;
569
+ };
570
+ path?: never;
571
+ cookie?: never;
572
+ };
573
+ /** @description The create destination request. */
574
+ requestBody?: {
575
+ content: {
576
+ 'application/json': components['schemas']['DestinationRequest'];
577
+ };
578
+ };
579
+ responses: {
580
+ /** @description Created */
581
+ 201: {
582
+ headers: {
583
+ Location?: string;
584
+ [name: string]: unknown;
585
+ };
586
+ content: {
587
+ 'application/json': Record<string, never>;
588
+ };
589
+ };
590
+ /** @description Bad Request */
591
+ 400: {
592
+ headers: Record<string, unknown>;
593
+ content?: never;
594
+ };
595
+ /** @description Conflict */
596
+ 409: {
597
+ headers: Record<string, unknown>;
598
+ content?: never;
599
+ };
600
+ /** @description Internal Server Error */
601
+ 500: {
602
+ headers: Record<string, unknown>;
603
+ content?: never;
604
+ };
605
+ };
606
+ };
607
+ getDestination: {
608
+ parameters: {
609
+ query?: never;
610
+ header?: never;
611
+ path: {
612
+ /** @description The unique identifier of the destination to retrieve. Use <b>getDestinations</b> to retrieve destination IDs. */
613
+ destination_id: string;
614
+ };
615
+ cookie?: never;
616
+ };
617
+ requestBody?: never;
618
+ responses: {
619
+ /** @description OK */
620
+ 200: {
621
+ headers: Record<string, unknown>;
622
+ content: {
623
+ 'application/json': components['schemas']['Destination'];
624
+ };
625
+ };
626
+ /** @description Bad Request */
627
+ 400: {
628
+ headers: Record<string, unknown>;
629
+ content?: never;
630
+ };
631
+ /** @description Not Found */
632
+ 404: {
633
+ headers: Record<string, unknown>;
634
+ content?: never;
635
+ };
636
+ /** @description Internal Server Error */
637
+ 500: {
638
+ headers: Record<string, unknown>;
639
+ content?: never;
640
+ };
641
+ };
642
+ };
643
+ updateDestination: {
644
+ parameters: {
645
+ query?: never;
646
+ header: {
647
+ /** @description This header indicates the format of the request body provided by the client. Its value should be set to <b>application/json</b>. <br><br> For more information, refer to <a href="/api-docs/static/rest-request-components.html#HTTP" target="_blank ">HTTP request headers</a>. */
648
+ 'Content-Type': string;
649
+ };
650
+ path: {
651
+ /** @description The unique identifier for the destination. */
652
+ destination_id: string;
653
+ };
654
+ cookie?: never;
655
+ };
656
+ /** @description The create subscription request. */
657
+ requestBody?: {
658
+ content: {
659
+ 'application/json': components['schemas']['DestinationRequest'];
660
+ };
661
+ };
662
+ responses: {
663
+ /** @description No Content */
664
+ 204: {
665
+ headers: Record<string, unknown>;
666
+ content?: never;
667
+ };
668
+ /** @description Bad Request */
669
+ 400: {
670
+ headers: Record<string, unknown>;
671
+ content?: never;
672
+ };
673
+ /** @description Not Found */
674
+ 404: {
675
+ headers: Record<string, unknown>;
676
+ content?: never;
677
+ };
678
+ /** @description Conflict */
679
+ 409: {
680
+ headers: Record<string, unknown>;
681
+ content?: never;
682
+ };
683
+ /** @description Internal Server Error */
684
+ 500: {
685
+ headers: Record<string, unknown>;
686
+ content?: never;
687
+ };
688
+ };
689
+ };
690
+ deleteDestination: {
691
+ parameters: {
692
+ query?: never;
693
+ header?: never;
694
+ path: {
695
+ /** @description The unique identifier of the destination to delete. Only disabled or marked down destinations can be deleted, and enabled destinations cannot be deleted. Use <b>getDestination</b> or <b>getDestinations</b> to see the current status of a destination. */
696
+ destination_id: string;
697
+ };
698
+ cookie?: never;
699
+ };
700
+ requestBody?: never;
701
+ responses: {
702
+ /** @description No Content */
703
+ 204: {
704
+ headers: Record<string, unknown>;
705
+ content?: never;
706
+ };
707
+ /** @description Bad Request */
708
+ 400: {
709
+ headers: Record<string, unknown>;
710
+ content?: never;
711
+ };
712
+ /** @description Not Found */
713
+ 404: {
714
+ headers: Record<string, unknown>;
715
+ content?: never;
716
+ };
717
+ /** @description Conflict */
718
+ 409: {
719
+ headers: Record<string, unknown>;
720
+ content?: never;
721
+ };
722
+ /** @description Internal Server Error */
723
+ 500: {
724
+ headers: Record<string, unknown>;
725
+ content?: never;
726
+ };
727
+ };
728
+ };
729
+ getPublicKey: {
730
+ parameters: {
731
+ query?: never;
732
+ header?: never;
733
+ path: {
734
+ /** @description The unique key ID that is used to retrieve the public key.<br><br><span class="tablenote"><b>Note: </b>This is retrieved from the <b>X-EBAY-SIGNATURE</b> header that is included with the push notification.</span> */
735
+ public_key_id: string;
736
+ };
737
+ cookie?: never;
738
+ };
739
+ requestBody?: never;
740
+ responses: {
741
+ /** @description OK */
742
+ 200: {
743
+ headers: Record<string, unknown>;
744
+ content: {
745
+ 'application/json': components['schemas']['PublicKey'];
746
+ };
747
+ };
748
+ /** @description Bad Request */
749
+ 400: {
750
+ headers: Record<string, unknown>;
751
+ content?: never;
752
+ };
753
+ /** @description Not Found */
754
+ 404: {
755
+ headers: Record<string, unknown>;
756
+ content?: never;
757
+ };
758
+ /** @description Internal Server Error */
759
+ 500: {
760
+ headers: Record<string, unknown>;
761
+ content?: never;
762
+ };
763
+ };
764
+ };
765
+ getSubscriptions: {
766
+ parameters: {
767
+ query?: {
768
+ /** @description This string value can be used to return the next page in the result set. The string to use here is returned in the next field of the current page of results. */
769
+ continuation_token?: string;
770
+ /** @description The maximum number of subscriptions to return per page from the result set.<br><br><b>Min:</b> 10<br><br><b>Max:</b> 100<br><br><b>Default:</b> 20 */
771
+ limit?: string;
772
+ };
773
+ header?: never;
774
+ path?: never;
775
+ cookie?: never;
776
+ };
777
+ requestBody?: never;
778
+ responses: {
779
+ /** @description OK */
780
+ 200: {
781
+ headers: Record<string, unknown>;
782
+ content: {
783
+ 'application/json': components['schemas']['SubscriptionSearchResponse'];
784
+ };
785
+ };
786
+ /** @description Bad Request */
787
+ 400: {
788
+ headers: Record<string, unknown>;
789
+ content?: never;
790
+ };
791
+ /** @description Internal Server Error */
792
+ 500: {
793
+ headers: Record<string, unknown>;
794
+ content?: never;
795
+ };
796
+ };
797
+ };
798
+ createSubscription: {
799
+ parameters: {
800
+ query?: never;
801
+ header: {
802
+ /** @description This header indicates the format of the request body provided by the client. Its value should be set to <b>application/json</b>. <br><br> For more information, refer to <a href="/api-docs/static/rest-request-components.html#HTTP" target="_blank ">HTTP request headers</a>. */
803
+ 'Content-Type': string;
804
+ };
805
+ path?: never;
806
+ cookie?: never;
807
+ };
808
+ /** @description The create subscription request. */
809
+ requestBody?: {
810
+ content: {
811
+ 'application/json': components['schemas']['CreateSubscriptionRequest'];
812
+ };
813
+ };
814
+ responses: {
815
+ /** @description Created */
816
+ 201: {
817
+ headers: {
818
+ Location?: string;
819
+ [name: string]: unknown;
820
+ };
821
+ content: {
822
+ 'application/json': Record<string, never>;
823
+ };
824
+ };
825
+ /** @description Bad Request */
826
+ 400: {
827
+ headers: Record<string, unknown>;
828
+ content?: never;
829
+ };
830
+ /** @description Forbidden */
831
+ 403: {
832
+ headers: Record<string, unknown>;
833
+ content?: never;
834
+ };
835
+ /** @description Conflict */
836
+ 409: {
837
+ headers: Record<string, unknown>;
838
+ content?: never;
839
+ };
840
+ /** @description Internal Server Error */
841
+ 500: {
842
+ headers: Record<string, unknown>;
843
+ content?: never;
844
+ };
845
+ };
846
+ };
847
+ createSubscriptionFilter: {
848
+ parameters: {
849
+ query?: never;
850
+ header: {
851
+ /** @description This header indicates the format of the request body provided by the client. Its value should be set to <b>application/json</b>. <br><br> For more information, refer to <a href="/api-docs/static/rest-request-components.html#HTTP" target="_blank ">HTTP request headers</a>. */
852
+ 'Content-Type': string;
853
+ };
854
+ path: {
855
+ /** @description The unique identifier of the subscription for which a filter will be created. */
856
+ subscription_id: string;
857
+ };
858
+ cookie?: never;
859
+ };
860
+ /** @description The create subscription filter request. */
861
+ requestBody?: {
862
+ content: {
863
+ 'application/json': components['schemas']['CreateSubscriptionFilterRequest'];
864
+ };
865
+ };
866
+ responses: {
867
+ /** @description Created */
868
+ 201: {
869
+ headers: {
870
+ Location?: string;
871
+ [name: string]: unknown;
872
+ };
873
+ content: {
874
+ 'application/json': Record<string, never>;
875
+ };
876
+ };
877
+ /** @description Bad Request */
878
+ 400: {
879
+ headers: Record<string, unknown>;
880
+ content?: never;
881
+ };
882
+ /** @description Forbidden */
883
+ 403: {
884
+ headers: Record<string, unknown>;
885
+ content?: never;
886
+ };
887
+ /** @description Not Found */
888
+ 404: {
889
+ headers: Record<string, unknown>;
890
+ content?: never;
891
+ };
892
+ /** @description Internal Server Error */
893
+ 500: {
894
+ headers: Record<string, unknown>;
895
+ content?: never;
896
+ };
897
+ };
898
+ };
899
+ getSubscription: {
900
+ parameters: {
901
+ query?: never;
902
+ header?: never;
903
+ path: {
904
+ /** @description The unique identifier of the subscription to retrieve. Use <b>getSubscriptions</b> to retrieve subscription IDs. */
905
+ subscription_id: string;
906
+ };
907
+ cookie?: never;
908
+ };
909
+ requestBody?: never;
910
+ responses: {
911
+ /** @description OK */
912
+ 200: {
913
+ headers: Record<string, unknown>;
914
+ content: {
915
+ 'application/json': components['schemas']['Subscription'];
916
+ };
917
+ };
918
+ /** @description Bad Request */
919
+ 400: {
920
+ headers: Record<string, unknown>;
921
+ content?: never;
922
+ };
923
+ /** @description Not Found */
924
+ 404: {
925
+ headers: Record<string, unknown>;
926
+ content?: never;
927
+ };
928
+ /** @description Internal Server Error */
929
+ 500: {
930
+ headers: Record<string, unknown>;
931
+ content?: never;
932
+ };
933
+ };
934
+ };
935
+ updateSubscription: {
936
+ parameters: {
937
+ query?: never;
938
+ header: {
939
+ /** @description This header indicates the format of the request body provided by the client. Its value should be set to <b>application/json</b>. <br><br> For more information, refer to <a href="/api-docs/static/rest-request-components.html#HTTP" target="_blank ">HTTP request headers</a>. */
940
+ 'Content-Type': string;
941
+ };
942
+ path: {
943
+ /** @description The unique identifier for the subscription to update. Use <b>getSubscriptions</b> to retrieve subscription IDs. */
944
+ subscription_id: string;
945
+ };
946
+ cookie?: never;
947
+ };
948
+ /** @description The create subscription request. */
949
+ requestBody?: {
950
+ content: {
951
+ 'application/json': components['schemas']['UpdateSubscriptionRequest'];
952
+ };
953
+ };
954
+ responses: {
955
+ /** @description No Content */
956
+ 204: {
957
+ headers: Record<string, unknown>;
958
+ content?: never;
959
+ };
960
+ /** @description Bad Request */
961
+ 400: {
962
+ headers: Record<string, unknown>;
963
+ content?: never;
964
+ };
965
+ /** @description Not Found */
966
+ 404: {
967
+ headers: Record<string, unknown>;
968
+ content?: never;
969
+ };
970
+ /** @description Conflict */
971
+ 409: {
972
+ headers: Record<string, unknown>;
973
+ content?: never;
974
+ };
975
+ /** @description Internal Server Error */
976
+ 500: {
977
+ headers: Record<string, unknown>;
978
+ content?: never;
979
+ };
980
+ };
981
+ };
982
+ deleteSubscription: {
983
+ parameters: {
984
+ query?: never;
985
+ header?: never;
986
+ path: {
987
+ /** @description The unique identifier of the subscription to delete. Use <b>getSubscriptions</b> to retrieve subscription IDs. */
988
+ subscription_id: string;
989
+ };
990
+ cookie?: never;
991
+ };
992
+ requestBody?: never;
993
+ responses: {
994
+ /** @description No Content */
995
+ 204: {
996
+ headers: Record<string, unknown>;
997
+ content?: never;
998
+ };
999
+ /** @description Bad Request */
1000
+ 400: {
1001
+ headers: Record<string, unknown>;
1002
+ content?: never;
1003
+ };
1004
+ /** @description Not Found */
1005
+ 404: {
1006
+ headers: Record<string, unknown>;
1007
+ content?: never;
1008
+ };
1009
+ /** @description Internal Server Error */
1010
+ 500: {
1011
+ headers: Record<string, unknown>;
1012
+ content?: never;
1013
+ };
1014
+ };
1015
+ };
1016
+ getSubscriptionFilter: {
1017
+ parameters: {
1018
+ query?: never;
1019
+ header?: never;
1020
+ path: {
1021
+ /** @description The unique identifier of the subscription filter. Filter ID values, if configured for a subscription, will be shown in the <b>subscriptions.filterId</b> field in <b>getSubscription</b> and <b>getSubscription</b> responses. The filter ID value is also returned in the Location response header when a filter is created with <b>createSubscriptionFilter</b>. */
1022
+ filter_id: string;
1023
+ /** @description The unique identifier of the subscription associated with the filter. Use <b>getSubscriptions</b> to retrieve subscription IDs. */
1024
+ subscription_id: string;
1025
+ };
1026
+ cookie?: never;
1027
+ };
1028
+ requestBody?: never;
1029
+ responses: {
1030
+ /** @description OK */
1031
+ 200: {
1032
+ headers: Record<string, unknown>;
1033
+ content: {
1034
+ 'application/json': components['schemas']['SubscriptionFilter'];
1035
+ };
1036
+ };
1037
+ /** @description Bad Request */
1038
+ 400: {
1039
+ headers: Record<string, unknown>;
1040
+ content?: never;
1041
+ };
1042
+ /** @description Forbidden */
1043
+ 403: {
1044
+ headers: Record<string, unknown>;
1045
+ content?: never;
1046
+ };
1047
+ /** @description Not Found */
1048
+ 404: {
1049
+ headers: Record<string, unknown>;
1050
+ content?: never;
1051
+ };
1052
+ /** @description Internal Server Error */
1053
+ 500: {
1054
+ headers: Record<string, unknown>;
1055
+ content?: never;
1056
+ };
1057
+ };
1058
+ };
1059
+ deleteSubscriptionFilter: {
1060
+ parameters: {
1061
+ query?: never;
1062
+ header?: never;
1063
+ path: {
1064
+ /** @description The unique identifier of the subscription filter to delete. Filter ID values, if configured for a subscription, will be shown in the <b>subscriptions.filterId</b> field in <b>getSubscription</b> and <b>getSubscription</b> responses. The filter ID value is also returned in the Location response header when a filter is created with <b>createSubscriptionFilter</b>. */
1065
+ filter_id: string;
1066
+ /** @description The unique identifier of the subscription associated with the filter to delete. Use <b>getSubscriptions</b> to retrieve subscription IDs. */
1067
+ subscription_id: string;
1068
+ };
1069
+ cookie?: never;
1070
+ };
1071
+ requestBody?: never;
1072
+ responses: {
1073
+ /** @description No Content */
1074
+ 204: {
1075
+ headers: Record<string, unknown>;
1076
+ content?: never;
1077
+ };
1078
+ /** @description Bad Request */
1079
+ 400: {
1080
+ headers: Record<string, unknown>;
1081
+ content?: never;
1082
+ };
1083
+ /** @description Forbidden */
1084
+ 403: {
1085
+ headers: Record<string, unknown>;
1086
+ content?: never;
1087
+ };
1088
+ /** @description Not Found */
1089
+ 404: {
1090
+ headers: Record<string, unknown>;
1091
+ content?: never;
1092
+ };
1093
+ /** @description Internal Server Error */
1094
+ 500: {
1095
+ headers: Record<string, unknown>;
1096
+ content?: never;
1097
+ };
1098
+ };
1099
+ };
1100
+ disableSubscription: {
1101
+ parameters: {
1102
+ query?: never;
1103
+ header?: never;
1104
+ path: {
1105
+ /** @description The unique identifier of an enabled subscription that will be disabled. Use <b>getSubscriptions</b> to retrieve subscription IDs. */
1106
+ subscription_id: string;
1107
+ };
1108
+ cookie?: never;
1109
+ };
1110
+ requestBody?: never;
1111
+ responses: {
1112
+ /** @description No Content */
1113
+ 204: {
1114
+ headers: Record<string, unknown>;
1115
+ content?: never;
1116
+ };
1117
+ /** @description Bad Request */
1118
+ 400: {
1119
+ headers: Record<string, unknown>;
1120
+ content?: never;
1121
+ };
1122
+ /** @description Not Found */
1123
+ 404: {
1124
+ headers: Record<string, unknown>;
1125
+ content?: never;
1126
+ };
1127
+ /** @description Internal Server Error */
1128
+ 500: {
1129
+ headers: Record<string, unknown>;
1130
+ content?: never;
1131
+ };
1132
+ };
1133
+ };
1134
+ enableSubscription: {
1135
+ parameters: {
1136
+ query?: never;
1137
+ header?: never;
1138
+ path: {
1139
+ /** @description The unique identifier of a disabled subscription that will be enabled. Use <b>getSubscriptions</b> to retrieve subscription IDs. */
1140
+ subscription_id: string;
1141
+ };
1142
+ cookie?: never;
1143
+ };
1144
+ requestBody?: never;
1145
+ responses: {
1146
+ /** @description No Content */
1147
+ 204: {
1148
+ headers: Record<string, unknown>;
1149
+ content?: never;
1150
+ };
1151
+ /** @description Bad Request */
1152
+ 400: {
1153
+ headers: Record<string, unknown>;
1154
+ content?: never;
1155
+ };
1156
+ /** @description Not Found */
1157
+ 404: {
1158
+ headers: Record<string, unknown>;
1159
+ content?: never;
1160
+ };
1161
+ /** @description Conflict */
1162
+ 409: {
1163
+ headers: Record<string, unknown>;
1164
+ content?: never;
1165
+ };
1166
+ /** @description Internal Server Error */
1167
+ 500: {
1168
+ headers: Record<string, unknown>;
1169
+ content?: never;
1170
+ };
1171
+ };
1172
+ };
1173
+ testSubscription: {
1174
+ parameters: {
1175
+ query?: never;
1176
+ header?: never;
1177
+ path: {
1178
+ /** @description The unique identifier of the subscription to test. Use <b>getSubscriptions</b> to retrieve subscription IDs. */
1179
+ subscription_id: string;
1180
+ };
1181
+ cookie?: never;
1182
+ };
1183
+ requestBody?: never;
1184
+ responses: {
1185
+ /** @description Accepted */
1186
+ 202: {
1187
+ headers: Record<string, unknown>;
1188
+ content?: never;
1189
+ };
1190
+ /** @description Bad Request */
1191
+ 400: {
1192
+ headers: Record<string, unknown>;
1193
+ content?: never;
1194
+ };
1195
+ /** @description Not Found */
1196
+ 404: {
1197
+ headers: Record<string, unknown>;
1198
+ content?: never;
1199
+ };
1200
+ /** @description Internal Server Error */
1201
+ 500: {
1202
+ headers: Record<string, unknown>;
1203
+ content?: never;
1204
+ };
1205
+ };
1206
+ };
1207
+ getTopic: {
1208
+ parameters: {
1209
+ query?: never;
1210
+ header?: never;
1211
+ path: {
1212
+ /** @description The unique identifier of the notification topic for which the details are retrieved. Use <b>getTopics</b> to retrieve the topic ID. */
1213
+ topic_id: string;
1214
+ };
1215
+ cookie?: never;
1216
+ };
1217
+ requestBody?: never;
1218
+ responses: {
1219
+ /** @description OK */
1220
+ 200: {
1221
+ headers: Record<string, unknown>;
1222
+ content: {
1223
+ 'application/json': components['schemas']['Topic'];
1224
+ };
1225
+ };
1226
+ /** @description Bad Request */
1227
+ 400: {
1228
+ headers: Record<string, unknown>;
1229
+ content?: never;
1230
+ };
1231
+ /** @description Not Found */
1232
+ 404: {
1233
+ headers: Record<string, unknown>;
1234
+ content?: never;
1235
+ };
1236
+ /** @description Internal Server Error */
1237
+ 500: {
1238
+ headers: Record<string, unknown>;
1239
+ content?: never;
1240
+ };
1241
+ };
1242
+ };
1243
+ getTopics: {
1244
+ parameters: {
1245
+ query?: {
1246
+ /** @description This string value can be used to return the next page in the result set. The string to use here is returned in the <b>next</b> field of the current page of results. */
1247
+ continuation_token?: string;
1248
+ /** @description The maximum number of notification topics to return per page from the result set.<br><br><b>Min:</b> 10<br><br><b>Max:</b> 100<br><br><b>Default:</b> 20 */
1249
+ limit?: string;
1250
+ };
1251
+ header?: never;
1252
+ path?: never;
1253
+ cookie?: never;
1254
+ };
1255
+ requestBody?: never;
1256
+ responses: {
1257
+ /** @description OK */
1258
+ 200: {
1259
+ headers: Record<string, unknown>;
1260
+ content: {
1261
+ 'application/json': components['schemas']['TopicSearchResponse'];
1262
+ };
1263
+ };
1264
+ /** @description Bad Request */
1265
+ 400: {
1266
+ headers: Record<string, unknown>;
1267
+ content?: never;
1268
+ };
1269
+ /** @description Internal Server Error */
1270
+ 500: {
1271
+ headers: Record<string, unknown>;
1272
+ content?: never;
1273
+ };
1274
+ };
1275
+ };
1276
+ }