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,1869 @@
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
+ '/order/{orderId}': {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ /** @description Use this call to retrieve the contents of an order based on its unique identifier, <i>orderId</i>. This value was returned in the <b> getOrders</b> call's <b>orders.orderId</b> field when you searched for orders by creation date, modification date, or fulfillment status. Include the optional <b>fieldGroups</b> query parameter set to <code>TAX_BREAKDOWN</code> to return a breakdown of the taxes and fees. <br><br> The returned <b>Order</b> object contains information you can use to create and process fulfillments, including: <ul> <li>Information about the buyer and seller</li> <li>Information about the order's line items</li> <li> The plans for packaging, addressing and shipping the order</li> <li>The status of payment, packaging, addressing, and shipping the order</li> <li>A summary of monetary amounts specific to the order such as pricing, payments, and shipping costs</li> <li>A summary of applied taxes and fees, and optionally a breakdown of each </li></ul> */
14
+ get: operations['getOrder'];
15
+ put?: never;
16
+ post?: never;
17
+ delete?: never;
18
+ options?: never;
19
+ head?: never;
20
+ patch?: never;
21
+ trace?: never;
22
+ };
23
+ '/order': {
24
+ parameters: {
25
+ query?: never;
26
+ header?: never;
27
+ path?: never;
28
+ cookie?: never;
29
+ };
30
+ /** @description Use this method to search for and retrieve one or more orders based on their creation date, last modification date, or fulfillment status using the <b>filter</b> parameter. You can alternatively specify a list of orders using the <b>orderIds</b> parameter. Include the optional <b>fieldGroups</b> query parameter set to <code>TAX_BREAKDOWN</code> to return a breakdown of the taxes and fees. By default, when no filters are used this call returns all orders created within the last 90 days. <br><br> The returned <b>Order</b> objects contain information you can use to create and process fulfillments, including: <ul> <li>Information about the buyer and seller</li> <li>Information about the order's line items</li> <li>The plans for packaging, addressing and shipping the order</li> <li>The status of payment, packaging, addressing, and shipping the order</li> <li>A summary of monetary amounts specific to the order such as pricing, payments, and shipping costs</li> <li>A summary of applied taxes and fees, and optionally a breakdown of each </li></ul> <br><br> <span class="tablenote"><strong>Important:</strong> In this call, the <b>cancelStatus.cancelRequests</b> array is returned but is always empty. Use the <b>getOrder</b> call instead, which returns this array fully populated with information about any cancellation requests.</span> */
31
+ get: operations['getOrders'];
32
+ put?: never;
33
+ post?: never;
34
+ delete?: never;
35
+ options?: never;
36
+ head?: never;
37
+ patch?: never;
38
+ trace?: never;
39
+ };
40
+ '/order/{order_id}/issue_refund': {
41
+ parameters: {
42
+ query?: never;
43
+ header?: never;
44
+ path?: never;
45
+ cookie?: never;
46
+ };
47
+ get?: never;
48
+ put?: never;
49
+ /**
50
+ * Issue Refund
51
+ * @description <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> Due to EU &amp; UK Payments regulatory requirements, an additional security verification via Digital Signatures is required for certain API calls that are made on behalf of EU/UK sellers, including <b>issueRefund</b>. Please refer to <a href="/develop/guides/digital-signatures-for-apis " target="_blank">Digital Signatures for APIs</a> to learn more on the impacted APIs and the process to create signatures to be included in the HTTP payload.</p></div><br> This method allows a seller to issue a full or partial refund to a buyer for an order. Full or partial refunds can be issued at the order level or line item level.<br><br>The refunds issued through this method are processed asynchronously, so the refund will not show as 'Refunded' right away. A seller will have to make a subsequent <a href="/api-docs/sell/fulfillment/resources/order/methods/getOrder" target="_blank">getOrder</a> call to check the status of the refund. The status of an order refund can be found in the <a href="/api-docs/sell/fulfillment/resources/order/methods/getOrder#response.paymentSummary.refunds.refundStatus" target="_blank">paymentSummary.refunds.refundStatus</a> field of the <a href="/api-docs/sell/fulfillment/resources/order/methods/getOrder" target="_blank">getOrder</a> response.
52
+ */
53
+ post: operations['issueRefund'];
54
+ delete?: never;
55
+ options?: never;
56
+ head?: never;
57
+ patch?: never;
58
+ trace?: never;
59
+ };
60
+ '/order/{orderId}/shipping_fulfillment': {
61
+ parameters: {
62
+ query?: never;
63
+ header?: never;
64
+ path?: never;
65
+ cookie?: never;
66
+ };
67
+ /** @description Use this call to retrieve the contents of all fulfillments currently defined for a specified order based on the order's unique identifier, <b>orderId</b>. This value is returned in the <b>getOrders</b> call's <b>members.orderId</b> field when you search for orders by creation date or shipment status. */
68
+ get: operations['getShippingFulfillments'];
69
+ put?: never;
70
+ /** @description When you group an order's line items into one or more packages, each package requires a corresponding plan for handling, addressing, and shipping; this is a <i>shipping fulfillment</i>. For each package, execute this call once to generate a shipping fulfillment associated with that package. <br><br> <span class="tablenote"><strong>Note:</strong> A single line item in an order can consist of multiple units of a purchased item, and one unit can consist of multiple parts or components. Although these components might be provided by the manufacturer in separate packaging, the seller must include all components of a given line item in the same package.</span> <br><br>Before using this call for a given package, you must determine which line items are in the package. If the package has been shipped, you should provide the date of shipment in the request. If not provided, it will default to the current date and time. */
71
+ post: operations['createShippingFulfillment'];
72
+ delete?: never;
73
+ options?: never;
74
+ head?: never;
75
+ patch?: never;
76
+ trace?: never;
77
+ };
78
+ '/order/{orderId}/shipping_fulfillment/{fulfillmentId}': {
79
+ parameters: {
80
+ query?: never;
81
+ header?: never;
82
+ path?: never;
83
+ cookie?: never;
84
+ };
85
+ /** @description Use this call to retrieve the contents of a fulfillment based on its unique identifier, <b>fulfillmentId</b> (combined with the associated order's <b>orderId</b>). The <b>fulfillmentId</b> value was originally generated by the <b>createShippingFulfillment</b> call, and is returned by the <b>getShippingFulfillments</b> call in the <b>members.fulfillmentId</b> field. */
86
+ get: operations['getShippingFulfillment'];
87
+ put?: never;
88
+ post?: never;
89
+ delete?: never;
90
+ options?: never;
91
+ head?: never;
92
+ patch?: never;
93
+ trace?: never;
94
+ };
95
+ '/payment_dispute/{payment_dispute_id}': {
96
+ parameters: {
97
+ query?: never;
98
+ header?: never;
99
+ path?: never;
100
+ cookie?: never;
101
+ };
102
+ /**
103
+ * Get Payment Dispute Details
104
+ * @description This method retrieves detailed information on a specific payment dispute. The payment dispute identifier is passed in as path parameter at the end of the call URI.<br><br>Below is a summary of the information that is retrieved:<ul><li>Current status of payment dispute</li><li>Amount of the payment dispute</li><li>Reason the payment dispute was opened</li><li>Order and line items associated with the payment dispute</li><li>Seller response options if an action is currently required on the payment dispute</li><li>Details on the results of the payment dispute if it has been closed</li><li>Details on any evidence that was provided by the seller to fight the payment dispute</li></ul>
105
+ */
106
+ get: operations['getPaymentDispute'];
107
+ put?: never;
108
+ post?: never;
109
+ delete?: never;
110
+ options?: never;
111
+ head?: never;
112
+ patch?: never;
113
+ trace?: never;
114
+ };
115
+ '/payment_dispute/{payment_dispute_id}/fetch_evidence_content': {
116
+ parameters: {
117
+ query?: never;
118
+ header?: never;
119
+ path?: never;
120
+ cookie?: never;
121
+ };
122
+ /**
123
+ * Get Payment Dispute Evidence File
124
+ * @description This call retrieves a specific evidence file for a payment dispute. The following three identifying parameters are needed in the call URI:<ul><li><strong>payment_dispute_id</strong>: the identifier of the payment dispute. The identifier of each payment dispute is returned in the <strong>getPaymentDisputeSummaries</strong> response.</li><li><strong>evidence_id</strong>: the identifier of the evidential file set. The identifier of an evidential file set for a payment dispute is returned under the <strong>evidence</strong> array in the <strong>getPaymentDispute</strong> response.</li><li><strong>file_id</strong>: the identifier of an evidential file. This file must belong to the evidential file set identified through the <strong>evidence_id</strong> query parameter. The identifier of each evidential file is returned under the <strong>evidence.files</strong> array in the <strong>getPaymentDispute</strong> response.</li></ul><p>An actual binary file is returned if the call is successful. An error will occur if any of three identifiers are invalid.</p>
125
+ */
126
+ get: operations['fetchEvidenceContent'];
127
+ put?: never;
128
+ post?: never;
129
+ delete?: never;
130
+ options?: never;
131
+ head?: never;
132
+ patch?: never;
133
+ trace?: never;
134
+ };
135
+ '/payment_dispute/{payment_dispute_id}/activity': {
136
+ parameters: {
137
+ query?: never;
138
+ header?: never;
139
+ path?: never;
140
+ cookie?: never;
141
+ };
142
+ /**
143
+ * Get Payment Dispute Activity
144
+ * @description This method retrieve a log of activity for a payment dispute. The identifier of the payment dispute is passed in as a path parameter. The output includes a timestamp for each action of the payment dispute, from creation to resolution, and all steps in between.
145
+ */
146
+ get: operations['getActivities'];
147
+ put?: never;
148
+ post?: never;
149
+ delete?: never;
150
+ options?: never;
151
+ head?: never;
152
+ patch?: never;
153
+ trace?: never;
154
+ };
155
+ '/payment_dispute_summary': {
156
+ parameters: {
157
+ query?: never;
158
+ header?: never;
159
+ path?: never;
160
+ cookie?: never;
161
+ };
162
+ /**
163
+ * Search Payment Dispute by Filters
164
+ * @description This method is used retrieve one or more payment disputes filed against the seller. These payment disputes can be open or recently closed. The following filter types are available in the request payload to control the payment disputes that are returned:<ul><li>Dispute filed against a specific order (<b>order_id</b> parameter is used)</li><li>Dispute(s) filed by a specific buyer (<b>buyer_username</b> parameter is used)</li><li>Dispute(s) filed within a specific date range (<b>open_date_from</b> and/or <b>open_date_to</b> parameters are used)</li><li>Disputes in a specific state (<b>payment_dispute_status</b> parameter is used)</li></ul>More than one of these filter types can be used together. See the request payload request fields for more information about how each filter is used.<br><br>If none of the filters are used, all open and recently closed payment disputes are returned.<br><br>Pagination is also available. See the <b>limit</b> and <b>offset</b> fields for more information on how pagination is used for this method.
165
+ */
166
+ get: operations['getPaymentDisputeSummaries'];
167
+ put?: never;
168
+ post?: never;
169
+ delete?: never;
170
+ options?: never;
171
+ head?: never;
172
+ patch?: never;
173
+ trace?: never;
174
+ };
175
+ '/payment_dispute/{payment_dispute_id}/contest': {
176
+ parameters: {
177
+ query?: never;
178
+ header?: never;
179
+ path?: never;
180
+ cookie?: never;
181
+ };
182
+ get?: never;
183
+ put?: never;
184
+ /**
185
+ * Contest Payment Dispute
186
+ * @description This method is used if the seller wishes to contest a payment dispute initiated by the buyer. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br><br><span class="tablenote"><strong>Note:</strong> Before contesting a payment dispute, the seller must upload all supporting files using the <strong>addEvidence</strong> and <strong>updateEvidence</strong> methods. Once the seller has officially contested the dispute (using <strong>contestPaymentDispute</strong>), the <strong>addEvidence</strong> and <strong>updateEvidence</strong> methods can no longer be used. In the <strong>evidenceRequests</strong> array of the <strong>getPaymentDispute</strong> response, eBay prompts the seller with the type of supporting file(s) that will be needed to contest the payment dispute.</span><br><br>If a seller decides to contest a payment dispute, that seller should be prepared to provide supporting documents such as proof of delivery, proof of authentication, or other documents. The type of supporting documents that the seller will provide will depend on why the buyer filed the payment dispute.<br><br>The <strong>revision</strong> field in the request payload is required, and the <strong>returnAddress</strong> field should be supplied if the seller is expecting the buyer to return the item. See the Request Payload section for more information on these fields.
187
+ */
188
+ post: operations['contestPaymentDispute'];
189
+ delete?: never;
190
+ options?: never;
191
+ head?: never;
192
+ patch?: never;
193
+ trace?: never;
194
+ };
195
+ '/payment_dispute/{payment_dispute_id}/accept': {
196
+ parameters: {
197
+ query?: never;
198
+ header?: never;
199
+ path?: never;
200
+ cookie?: never;
201
+ };
202
+ get?: never;
203
+ put?: never;
204
+ /**
205
+ * Accept Payment Dispute
206
+ * @description This method is used if the seller wishes to accept a payment dispute. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br><br>The <strong>revision</strong> field in the request payload is required, and the <strong>returnAddress</strong> field should be supplied if the seller is expecting the buyer to return the item. See the Request Payload section for more information on theste fields.
207
+ */
208
+ post: operations['acceptPaymentDispute'];
209
+ delete?: never;
210
+ options?: never;
211
+ head?: never;
212
+ patch?: never;
213
+ trace?: never;
214
+ };
215
+ '/payment_dispute/{payment_dispute_id}/upload_evidence_file': {
216
+ parameters: {
217
+ query?: never;
218
+ header?: never;
219
+ path?: never;
220
+ cookie?: never;
221
+ };
222
+ get?: never;
223
+ put?: never;
224
+ /**
225
+ * Upload an Evidence File
226
+ * @description This method is used to upload an evidence file for a contested payment dispute. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br><br><span class="tablenote"><strong>Note:</strong> The <strong>uploadEvidenceFile</strong> only uploads an encrypted, binary image file (using <strong>multipart/form-data</strong> HTTP request header), and does not have a JSON-based request payload.<br><br>Use 'file' as the name of the key that you use to upload the image file. The upload will not be successful if a different key name is used.<br><br>The three image formats supported at this time are <strong>.JPEG</strong>, <strong>.JPG</strong>, and <strong>.PNG</strong>.</span><br><br>After the file is successfully uploaded, the seller will need to grab the <strong>fileId</strong> value in the response payload to add this file to a new evidence set using the <strong>addEvidence</strong> method, or to add this file to an existing evidence set using the <strong>updateEvidence</strong> method.
227
+ */
228
+ post: operations['uploadEvidenceFile'];
229
+ delete?: never;
230
+ options?: never;
231
+ head?: never;
232
+ patch?: never;
233
+ trace?: never;
234
+ };
235
+ '/payment_dispute/{payment_dispute_id}/add_evidence': {
236
+ parameters: {
237
+ query?: never;
238
+ header?: never;
239
+ path?: never;
240
+ cookie?: never;
241
+ };
242
+ get?: never;
243
+ put?: never;
244
+ /**
245
+ * Add an Evidence File
246
+ * @description This method is used by the seller to add one or more evidence files to address a payment dispute initiated by the buyer. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br><br><span class="tablenote"><strong>Note:</strong> All evidence files should be uploaded using <strong>addEvidence</strong> and <strong>updateEvidence</strong> before the seller decides to contest the payment dispute. Once the seller has officially contested the dispute (using <strong>contestPaymentDispute</strong> or through My eBay), the <strong>addEvidence</strong> and <strong>updateEvidence</strong> methods can no longer be used. In the <strong>evidenceRequests</strong> array of the <strong>getPaymentDispute</strong> response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute.</span><br><br>The file(s) to add are identified through the <strong>files</strong> array in the request payload. Adding one or more new evidence files for a payment dispute triggers the creation of an evidence file, and the unique identifier for the new evidence file is automatically generated and returned in the <strong>evidenceId</strong> field of the <strong>addEvidence</strong> response payload upon a successful call.<br><br>The type of evidence being added should be specified in the <strong>evidenceType</strong> field. All files being added (if more than one) should correspond to this evidence type.<br><br>Upon a successful call, an <strong>evidenceId</strong> value is returned in the response. This indicates that a new evidence set has been created for the payment dispute, and this evidence set includes the evidence file(s) that were passed in to the <strong>fileId</strong> array. The <strong>evidenceId</strong> value will be needed if the seller wishes to add to the evidence set by using the <strong>updateEvidence</strong> method, or if they want to retrieve a specific evidence file within the evidence set by using the <strong>fetchEvidenceContent</strong> method.
247
+ */
248
+ post: operations['addEvidence'];
249
+ delete?: never;
250
+ options?: never;
251
+ head?: never;
252
+ patch?: never;
253
+ trace?: never;
254
+ };
255
+ '/payment_dispute/{payment_dispute_id}/update_evidence': {
256
+ parameters: {
257
+ query?: never;
258
+ header?: never;
259
+ path?: never;
260
+ cookie?: never;
261
+ };
262
+ get?: never;
263
+ put?: never;
264
+ /**
265
+ * Update evidence
266
+ * @description This method is used by the seller to update an existing evidence set for a payment dispute with one or more evidence files. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the <strong>getPaymentDisputeSummaries</strong> method.<br><br><span class="tablenote"><strong>Note:</strong> All evidence files should be uploaded using <strong>addEvidence</strong> and <strong>updateEvidence</strong> before the seller decides to contest the payment dispute. Once the seller has officially contested the dispute (using <strong>contestPaymentDispute</strong> or through My eBay), the <strong>addEvidence</strong> and <strong>updateEvidence</strong> methods can no longer be used. In the <strong>evidenceRequests</strong> array of the <strong>getPaymentDispute</strong> response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute.</span><br><br>The unique identifier of the evidence set to update is specified through the <strong>evidenceId</strong> field, and the file(s) to add are identified through the <strong>files</strong> array in the request payload. The unique identifier for an evidence file is automatically generated and returned in the <strong>fileId</strong> field of the <strong>uploadEvidence</strong> response payload upon a successful call. Sellers must make sure to capture the <strong>fileId</strong> value for each evidence file that is uploaded with the <strong>uploadEvidence</strong> method.<br><br>The type of evidence being added should be specified in the <strong>evidenceType</strong> field. All files being added (if more than one) should correspond to this evidence type.<br><br>Upon a successful call, an http status code of <code>204 Success</code> is returned. There is no response payload unless an error occurs. To verify that a new file is a part of the evidence set, the seller can use the <strong>fetchEvidenceContent</strong> method, passing in the proper <strong>evidenceId</strong> and <strong>fileId</strong> values.
267
+ */
268
+ post: operations['updateEvidence'];
269
+ delete?: never;
270
+ options?: never;
271
+ head?: never;
272
+ patch?: never;
273
+ trace?: never;
274
+ };
275
+ }
276
+ export type webhooks = Record<string, never>;
277
+ export interface components {
278
+ schemas: {
279
+ /** @description This type is used by base request of the <strong>acceptPaymentDispute</strong> method. */
280
+ AcceptPaymentDisputeRequest: {
281
+ /** @description This container is used if the seller wishes to provide a return address to the buyer. This container should be used if the seller is requesting that the buyer return the item. */
282
+ returnAddress?: components['schemas']['ReturnAddress'];
283
+ /**
284
+ * Format: int32
285
+ * @description This integer value indicates the revision number of the payment dispute. This field is required. The current <strong>revision</strong> number for a payment dispute can be retrieved with the <strong>getPaymentDispute</strong> method. Each time an action is taken against a payment dispute, this integer value increases by 1.
286
+ */
287
+ revision?: number;
288
+ };
289
+ /** @description This type is used by the request payload of the <strong>addEvidence</strong> method. The <strong>addEvidence</strong> method is used to create a new evidence set against a payment dispute with one or more evidence files. */
290
+ AddEvidencePaymentDisputeRequest: {
291
+ /** @description This field is used to indicate the type of evidence being provided through one or more evidence files. All evidence files (if more than one) should be associated with the evidence type passed in this field.<br><br>See the <a href="/api-docs/sell/fulfillment/types/api:EvidenceTypeEnum" target="_blank ">EvidenceTypeEnum</a> type for the supported evidence types. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:EvidenceTypeEnum'>eBay API documentation</a> */
292
+ evidenceType?: string;
293
+ /** @description This array is used to specify one or more evidence files that will become part of a new evidence set associated with a payment dispute. At least one evidence file must be specified in the <strong>files</strong> array. */
294
+ files?: components['schemas']['FileEvidence'][];
295
+ /** @description This array identifies the order line item(s) for which the evidence file(s) will be applicable.<br><Br>These values are returned under the <strong>evidenceRequests.lineItems</strong> array in the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDispute" target="_blank ">getPaymentDispute</a> response. */
296
+ lineItems?: components['schemas']['OrderLineItems'][];
297
+ };
298
+ /** @description This type is used by the response payload of the <strong>addEvidence</strong> method. Its only field is an unique identifier of an evidence set. */
299
+ AddEvidencePaymentDisputeResponse: {
300
+ /** @description The value returned in this field is the unique identifier of the newly-created evidence set. Upon a successful call, this value is automatically genererated. This new evidence set for the payment dispute includes the evidence file(s) that were passed in to the <strong>fileId</strong> array in the request payload. The <strong>evidenceId</strong> value will be needed if the seller wishes to add to the evidence set by using the <strong>updateEvidence</strong> method, or if they want to retrieve a specific evidence file within the evidence set by using the <strong>fetchEvidenceContent</strong> method. */
301
+ evidenceId?: string;
302
+ };
303
+ /** @description This type contains the details of a geographical address. */
304
+ Address: {
305
+ /** @description The first line of the street address.<br><br><span class="tablenote"><strong>Note:</strong> <b>addressLine1</b> will not be returned for any order that is more than 90 days old.</span> */
306
+ addressLine1?: string;
307
+ /** @description The second line of the street address. This field can be used for additional address information, such as a suite or apartment number. This field will be returned if defined for the shipping address.<br><br><span class="tablenote"><strong>Note:</strong> <b>addressLine2</b> will not be returned for any order that is more than 90 days old.</span> */
308
+ addressLine2?: string;
309
+ /** @description The city of the shipping destination. */
310
+ city?: string;
311
+ /** @description The country of the shipping destination, represented as a two-letter ISO 3166-1 alpha-2 country code. For example, <code>US</code> represents the United States, and <code>DE</code> represents Germany. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CountryCodeEnum'>eBay API documentation</a> */
312
+ countryCode?: string;
313
+ /** @description The county of the shipping destination. Counties typically, but not always, contain multiple cities or towns. This field is returned if known/available. */
314
+ county?: string;
315
+ /** @description The postal code of the shipping destination. Usually referred to as Zip codes in the US. Most countries have postal codes, but not all. The postal code will be returned if applicable. */
316
+ postalCode?: string;
317
+ /** @description The state or province of the shipping destination. Most countries have states or provinces, but not all. The state or province will be returned if applicable. */
318
+ stateOrProvince?: string;
319
+ };
320
+ /** @description This type defines the monetary value of an amount. It can provide the amount in both the currency used on the eBay site where an item is being offered and the conversion of that value into another currency, if applicable. */
321
+ Amount: {
322
+ /** @description A three-letter ISO 4217 code that indicates the currency of the amount in the <b>convertedFromValue</b> field. This value is required or returned only if currency conversion/localization is required, and represents the pre-conversion currency. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CurrencyCodeEnum'>eBay API documentation</a> */
323
+ convertedFromCurrency?: string;
324
+ /** @description The monetary amount before any conversion is performed, in the currency specified by the <b>convertedFromCurrency</b> field. This value is required or returned only if currency conversion/localization is required. The <b>value</b> field contains the converted amount of this value, in the currency specified by the <b>currency</b> field. */
325
+ convertedFromValue?: string;
326
+ /** @description A three-letter ISO 4217 code that indicates the currency of the amount in the <b>value</b> field. If currency conversion/localization is required, this is the post-conversion currency of the amount in the <b>value</b> field.<br><br><b>Default:</b> The default currency of the eBay marketplace that hosts the listing. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CurrencyCodeEnum'>eBay API documentation</a> */
327
+ currency?: string;
328
+ /** @description The monetary amount, in the currency specified by the <b>currency</b> field. If currency conversion/localization is required, this value is the converted amount, and the <b>convertedFromValue</b> field contains the amount in the original currency. <br><br><i>Required in</i> the <b>amount</b> type. */
329
+ value?: string;
330
+ };
331
+ /** @description This type contains information about a sales promotion that is applied to a line item. */
332
+ AppliedPromotion: {
333
+ /** @description A description of the applied sales promotion. */
334
+ description?: string;
335
+ /** @description The monetary amount of the sales promotion. */
336
+ discountAmount?: components['schemas']['Amount'];
337
+ /** @description An eBay-generated unique identifier of the sales promotion.<br><br> Multiple types of sales promotions are available to eBay Store owners, including order size/volume discounts, shipping discounts, special coupons, and price markdowns. Sales promotions can be managed through the Marketing tab of Seller Hub in My eBay, or by using the Trading API's <b>SetPromotionalSale</b> call or the Marketing API's <b>createItemPromotion</b> method. */
338
+ promotionId?: string;
339
+ };
340
+ /** @description This type contains information used by the installation provider concerning appointment details selected by the buyer */
341
+ AppointmentDetails: {
342
+ /** @description The date and time the appointment ends, formatted as an <a href="https://www.iso.org/iso-8601-date-and-time-format.html " title="https://www.iso.org " target="_blank">ISO 8601</a> string, which is based on the 24-hour Coordinated Universal Time (UTC) clock. Required for tire installation. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2022-10-28T00:00:00.000Z</code> */
343
+ appointmentEndTime?: string;
344
+ /** @description The date and time the appointment begins, formatted as an <a href="https://www.iso.org/iso-8601-date-and-time-format.html " title="https://www.iso.org " target="_blank">ISO 8601</a> string, which is based on the 24-hour Coordinated Universal Time (UTC) clock. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2022-10-28T00:10:00.000Z</code> */
345
+ appointmentStartTime?: string;
346
+ /** @description The status of the appointment. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:AppointmentStatusEnum'>eBay API documentation</a> */
347
+ appointmentStatus?: string;
348
+ /** @description The type of appointment. MACRO appointments only have a start time (not bounded with end time). TIME_SLOT appointments have a period (both start time and end time). Required for tire installation. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:AppointmentTypeEnum'>eBay API documentation</a> */
349
+ appointmentType?: string;
350
+ /** @description Appointment window for MACRO appointments. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:AppointmentWindowEnum'>eBay API documentation</a> */
351
+ appointmentWindow?: string;
352
+ /** @description Service provider date of the appointment (no time stamp). Returned only for MACRO appointment types. */
353
+ serviceProviderAppointmentDate?: string;
354
+ };
355
+ /** @description This type contains information about the order's buyer. */
356
+ Buyer: {
357
+ /** @description Buyer's contact information that includes the buyer's name, email, phone number, and address. */
358
+ buyerRegistrationAddress?: components['schemas']['ExtendedContact'];
359
+ /** @description This container consists of address information that can be used by sellers for tax purpose.<br><br><span class="tablenote"><strong>Note:</strong> When using the eBay vault program, if an item is shipped to a vault, the tax address will be the vault address.</span> */
360
+ taxAddress?: components['schemas']['TaxAddress'];
361
+ /** @description This container consists of taxpayer identification information for buyers from Italy, Spain, or Guatemala. It is currently only returned for orders occurring on the eBay Italy or eBay Spain marketplaces.<br><br><span class="tablenote"><strong>Note:</strong> Currently, the <strong>taxIdentifier</strong> container is only returned in <strong>getOrder</strong> and not in <strong>getOrders</strong>. So, if a seller wanted to view a buyer's tax information for a particular order returned in <strong>getOrders</strong>, that seller would need to use the <strong>orderId</strong> value for that particular order, and then run a <strong>getOrder</strong> call against that order ID. </span> */
362
+ taxIdentifier?: components['schemas']['TaxIdentifier'];
363
+ /** @description The buyer's eBay user ID. */
364
+ username?: string;
365
+ };
366
+ /** @description This type contains information about a buyer request to cancel an order. */
367
+ CancelRequest: {
368
+ /** @description The date and time that the order cancellation was completed, if applicable. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field is not returned until the cancellation request has actually been approved by the seller.<br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
369
+ cancelCompletedDate?: string;
370
+ /** @description This string value indicates the party who made the initial cancellation request. Typically, either the 'Buyer' or 'Seller'. If a cancellation request has been made, this field should be returned. */
371
+ cancelInitiator?: string;
372
+ /** @description The reason why the <b>cancelInitiator</b> initiated the cancellation request. Cancellation reasons for a buyer might include 'order placed by mistake' or 'order won't arrive in time'. For a seller, a typical cancellation reason is 'out of stock'. If a cancellation request has been made, this field should be returned. */
373
+ cancelReason?: string;
374
+ /** @description The date and time that the order cancellation was requested. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field is returned for each cancellation request.<br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
375
+ cancelRequestedDate?: string;
376
+ /** @description The unique identifier of the order cancellation request. This field is returned for each cancellation request. */
377
+ cancelRequestId?: string;
378
+ /** @description The current stage or condition of the cancellation request. This field is returned for each cancellation request. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:CancelRequestStateEnum'>eBay API documentation</a> */
379
+ cancelRequestState?: string;
380
+ };
381
+ /** @description This type contains information about any requests that have been made to cancel an order. */
382
+ CancelStatus: {
383
+ /** @description The date and time the order was cancelled, if applicable. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
384
+ cancelledDate?: string;
385
+ /** @description This array contains details of one or more buyer requests to cancel the order. <br><br><b>For the getOrders call:</b> This array is returned but is always empty.<br><b>For the getOrder call:</b> This array is returned fully populated with information about any cancellation requests. */
386
+ cancelRequests?: components['schemas']['CancelRequest'][];
387
+ /** @description The state of the order with regard to cancellation. This field is always returned, and if there are no cancellation requests, a value of <code>NONE_REQUESTED</code> is returned. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:CancelStateEnum'>eBay API documentation</a> */
388
+ cancelState?: string;
389
+ };
390
+ /** @description This type is used to display the charge type and the amount of the charge against the buyer. */
391
+ Charge: {
392
+ /** @description This container shows the amount and currency of the charge. */
393
+ amount?: components['schemas']['Amount'];
394
+ /** @description This field shows the type of buyer charge <br> <br> <span class="tablenote"> <strong> Note: </strong> Currently, the only supported charge type is BUYER_PROTECTION. </span> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sol:ChargeTypeEnum'>eBay API documentation</a> */
395
+ chargeType?: string;
396
+ };
397
+ /** @description This type is used by the request payload of the <strong>contestPaymentDispute</strong> method. */
398
+ ContestPaymentDisputeRequest: {
399
+ /** @description This field shows information that the seller provides about the dispute, such as the basis for the dispute, any relevant evidence, tracking numbers, and so forth.<br><br><b>Max Length:</b> 1000 characters. */
400
+ note?: string;
401
+ /** @description This container is needed if the seller is requesting that the buyer return the item. If this container is used, all relevant fields must be included, including <strong>fullName</strong> and <strong>primaryPhone</strong>.<br><br><span class="tablenote"><b>Note:</b> If the <a href ="/api-docs/sell/fulfillment/types/api:DisputeReasonEnum" >Dispute Reason</a> is <code>SIGNIFICANTLY_NOT_AS_DESCRIBED</code>, <b>returnAddress</b> is required.</span> */
402
+ returnAddress?: components['schemas']['ReturnAddress'];
403
+ /**
404
+ * Format: int32
405
+ * @description This integer value indicates the revision number of the payment dispute. This field is required. The current <strong>revision</strong> number for a payment dispute can be retrieved with the <strong>getPaymentDispute</strong> method. Each time an action is taken against a payment dispute, this integer value increases by 1.
406
+ */
407
+ revision?: number;
408
+ };
409
+ /** @description This type contains a breakdown of all costs associated with the fulfillment of a line item. */
410
+ DeliveryCost: {
411
+ /** @description The amount of any shipping discount that has been applied to the line item. This container is returned only if a shipping discount applies to the line item. */
412
+ discountAmount?: components['schemas']['Amount'];
413
+ /** @description The amount of any handing cost that has been applied to the line item. This container is returned only if a handling cost applies to the line item. */
414
+ handlingCost?: components['schemas']['Amount'];
415
+ /** @description The amount of any import charges applied to international shipping of the line item. This container is only returned if import charges apply to the line item. */
416
+ importCharges?: components['schemas']['Amount'];
417
+ /** @description The total cost of shipping all units of the line item. This container is always returned even when the shipping cost is free, in which case the <b>value</b> field will show <code>0.0</code> (dollars). */
418
+ shippingCost?: components['schemas']['Amount'];
419
+ /** @description This field shows the fee due to eBay's international shipping provider for a line item that is being shipped through the Global Shipping Program.<br><br>This container is only returned for line items being shipped internationally through the Global Shipping Program, which is currently only supported in the US and UK marketplaces.<br><br><span class="tablenote"><strong>Note:</strong> The value returned for this field will always be <code>0.0</code> for line items sold in the UK marketplace.</span> */
420
+ shippingIntermediationFee?: components['schemas']['Amount'];
421
+ };
422
+ /** @description This type defines the monetary value of an amount. It can provide the amount in both the currency used on the eBay site where an item is being offered and the conversion of that value into another currency, if applicable. */
423
+ DisputeAmount: {
424
+ /** @description The three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html " target="_blank">ISO 4217</a> code representing the currency of the amount in the <b> convertedFromValue</b> field. This value is the pre-conversion currency.<br><br>This field is only returned if/when currency conversion was applied by eBay. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CurrencyCodeEnum'>eBay API documentation</a> */
425
+ convertedFromCurrency?: string;
426
+ /** @description The monetary amount before any conversion is performed, in the currency specified by the <b> convertedFromCurrency</b> field. This value is the pre-conversion amount. The <b> value</b> field contains the converted amount of this value, in the currency specified by the <b> currency</b> field.<br><br>This field is only returned if/when currency conversion was applied by eBay. */
427
+ convertedFromValue?: string;
428
+ /** @description A three-letter ISO 4217 code that indicates the currency of the amount in the <b>value</b> field. This field is always returned with any container using <b>Amount</b> type. <br><br><b>Default</b>: The currency of the authenticated user's country. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CurrencyCodeEnum'>eBay API documentation</a> */
429
+ currency?: string;
430
+ /** @description The exchange rate used for the monetary conversion. This field shows the exchange rate used to convert the dollar value in the <b>value</b> field from the dollar value in the <b>convertedFromValue</b> field.<br><br>This field is only returned if/when currency conversion was applied by eBay. */
431
+ exchangeRate?: string;
432
+ /** @description The monetary amount, in the currency specified by the <b>currency</b> field. This field is always returned with any container using <b>Amount</b> type. */
433
+ value?: string;
434
+ };
435
+ /** @description This type is used by the <strong>evidence</strong> array that is returned in the <strong>getPaymentDispute</strong> response if one or more evidential documents are associated with the payment dispute. */
436
+ DisputeEvidence: {
437
+ /** @description Unique identifier of the evidential file set. Potentially, each evidential file set can have more than one file, that is why there is this file set identifier, and then an identifier for each file within this file set. */
438
+ evidenceId?: string;
439
+ /** @description This enumeration value shows the type of evidential file provided. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:EvidenceTypeEnum'>eBay API documentation</a> */
440
+ evidenceType?: string;
441
+ /** @description This array shows the name, ID, file type, and upload date for each provided file. */
442
+ files?: components['schemas']['FileInfo'][];
443
+ /** @description This array shows one or more order line items associated with the evidential document that has been provided. */
444
+ lineItems?: components['schemas']['OrderLineItems'][];
445
+ /** @description The timestamp in this field shows the date/time when the seller provided a requested evidential document to eBay. <br><br>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
446
+ providedDate?: string;
447
+ /** @description The timestamp in this field shows the date/time when eBay requested the evidential document from the seller in response to a payment dispute. <br><br>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
448
+ requestDate?: string;
449
+ /** @description The timestamp in this field shows the date/time when the seller was expected to provide a requested evidential document to eBay. <br><br>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
450
+ respondByDate?: string;
451
+ /** @description This array shows the shipping carrier and shipment tracking number associated with each shipment package of the order. This array is returned under the <strong>evidence</strong> container if the seller has provided shipment tracking information as evidence to support <code>PROOF_OF_DELIVERY</code> for an INR-related payment dispute. */
452
+ shipmentTracking?: components['schemas']['TrackingInfo'][];
453
+ };
454
+ /** @description This type defines the base response payload of the <strong>getPaymentDisputeSummaries</strong> method. Each payment dispute that matches the input criteria is returned under the <strong>paymentDisputeSummaries</strong> array. */
455
+ DisputeSummaryResponse: {
456
+ /** @description The URI of the <strong>getPaymentDisputeSummaries</strong> call request that produced the current page of the result set. */
457
+ href?: string;
458
+ /**
459
+ * Format: int32
460
+ * @description This value shows the maximum number of payment disputes that will appear on one page of the result set. The <strong>limit</strong> value can be passed in as a query parameter in the request, or if it is not used, it defaults to <code>200</code>. If the value in the <strong>total</strong> field exceeds this <strong>limit</strong> value, there are multiple pages in the current result set.<br><br><b>Min</b>: 1; <b>Max</b>: 200; <b>Default</b>: 200
461
+ */
462
+ limit?: number;
463
+ /** @description The <strong>getPaymentDisputeSummaries</strong> call URI to use if you wish to view the next page of the result set. For example, the following URI returns records 11 thru 20 from the collection of payment disputes:<br><br><code>path/payment_dispute_summary?limit=10&offset=10</code><br><br>This field is only returned if there is a next page of results to view based on the current input criteria. */
464
+ next?: string;
465
+ /**
466
+ * Format: int32
467
+ * @description This integer value indicates the number of payment disputes skipped before listing the first payment dispute from the result set. The <strong>offset</strong> value can be passed in as a query parameter in the request, or if it is not used, it defaults to <code>0</code> and the first payment dispute of the result set is shown at the top of the response.
468
+ */
469
+ offset?: number;
470
+ /** @description Each payment dispute that matches the input criteria is returned under this array. If no payment disputes are found, an empty array is returned. */
471
+ paymentDisputeSummaries?: components['schemas']['PaymentDisputeSummary'][];
472
+ /** @description The <strong>getPaymentDisputeSummaries</strong> call URI to use if you wish to view the previous page of the result set. For example, the following URI returns records 1 thru 10 from the collection of payment disputes:<br><br><code>path/payment_dispute_summary?limit=10&offset=0</code><br><br>This field is only returned if there is a previous page of results to view based on the current input criteria. */
473
+ prev?: string;
474
+ /**
475
+ * Format: int32
476
+ * @description This integer value is the total number of payment disputes that matched the input criteria. If the total number of entries exceeds the value that was set for <strong>limit</strong> in the request payload, you will have to make multiple API calls to see all pages of the results set. This field is returned even if it is <code>0</code>.
477
+ */
478
+ total?: number;
479
+ };
480
+ /** @description This type contains information about the type and amount of tax that eBay will collect and remit to the state, province, country, or other taxing authority in the buyer's location, as required by that taxing authority.<br><br>'Collect and Remit' tax includes:<ul><li>US state-mandated sales tax</li><li>Federal and Provincial Sales Tax in Canada</li><li>'Goods and Services' tax in Canada, Australia, and New Zealand</li><li>VAT collected for the UK and EU countries</li></ul> */
481
+ EbayCollectAndRemitTax: {
482
+ /** @description The monetary amount of the 'Collect and Remit' tax. This currently includes:<br><ul><li>US state-mandated sales tax</li><li>Federal and Provincial Sales Tax in Canada</li><li>'Goods and Services' tax in Canada, Australia, New Zealand, and Jersey</li><li>VAT collected for the UK, EU countries, Kazakhstan, and Belarus</li><li>Sales & Service Tax (SST) in Malaysia</li></ul><br><br><span class="tablenote"><strong>Note:</strong> If the corresponding <strong>taxType</strong> is <code>STATE_SALES_TAX</code>, <code>PROVINCE_SALES_TAX</code>, <code>GST</code>, <code>VAT</code>, or <code>SST</code> and the <strong>lineItems.taxes</strong> container also appears for this line item with the same tax amount, the order is subject to 'eBay Collect and Remit' tax. For orders that are subject to 'eBay Collect and Remit' tax, the tax amount in this field will be included in the <strong>lineItems.total</strong>, <strong>paymentSummary.payments.amount</strong>, <strong>paymentSummary.totalDueSeller</strong>, and <strong>pricingSummary.total</strong> fields.</span> */
483
+ amount?: components['schemas']['Amount'];
484
+ /** @description This container field describes the line-item level VAT tax details.<br> */
485
+ ebayReference?: components['schemas']['EbayTaxReference'];
486
+ /** @description The type of tax and fees that eBay will collect and remit to the taxing or fee authority. See the <strong>TaxTypeEnum</strong> type definition for more information about each tax or fee type. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:TaxTypeEnum'>eBay API documentation</a> */
487
+ taxType?: string;
488
+ /** @description This field indicates the collection method used to collect the 'Collect and Remit' tax for the order. This field is always returned for orders subject to 'Collect and Remit' tax, and its value is always <code>NET</code>.<br><br><span class="tablenote"><strong>Note:</strong> Although the <strong>collectionMethod</strong> field is returned for all orders subject to 'Collect and Remit' tax, the <strong>collectionMethod</strong> field and the <strong>CollectionMethodEnum</strong> type are not currently of any practical use, although this field may have use in the future. If and when the logic of this field is changed, this note will be updated and a note will also be added to the Release Notes.</span> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:CollectionMethodEnum'>eBay API documentation</a> */
489
+ collectionMethod?: string;
490
+ };
491
+ /** @description This type contains the breakdown of costs that are collected by eBay from the buyer. */
492
+ EbayCollectedCharges: {
493
+ /** @description This container consists of costs related to eBay Shipping collected by eBay from the buyer of this order. */
494
+ ebayShipping?: components['schemas']['Amount'];
495
+ /** @description This array shows any charges that eBay collects from the buyer.<br><br><span class="tablenote"><strong> Note: </strong> Currently, the only supported charge type is BUYER_PROTECTION.</span> */
496
+ charges?: components['schemas']['Charge'][];
497
+ };
498
+ /** @description This type is used to provide details about an order line item being fulfilled by eBay or an eBay fulfillment partner. */
499
+ EbayFulfillmentProgram: {
500
+ /** @description The value returned in this field indicates the party that is handling fulfillment of the order line item. <br><br>Valid value: <code>EBAY</code> */
501
+ fulfilledBy?: string;
502
+ };
503
+ /** @description This type is used to provide details about an order line item being managed through eBay International Shipping. */
504
+ EbayInternationalShipping: {
505
+ /** @description The value returned in this field indicates the party that is responsible for managing returns of the order line item.<br><br>Valid value: <code>EBAY</code> */
506
+ returnsManagedBy?: string;
507
+ };
508
+ /** @description This type contains information about the management of the shipping for the order. */
509
+ EbayShipping: {
510
+ /** @description This field contains the shipping label provider. If <code>EBAY</code>, this order is managed by eBay shipping and a free shipping label by eBay is downloadable by the seller via the eBay website. */
511
+ shippingLabelProvidedBy?: string;
512
+ };
513
+ /** @description This type describes the VAT tax details. The eBay VAT tax type and the eBay VAT identifier number will be returned if a VAT tax is applicable for the order.<br> */
514
+ EbayTaxReference: {
515
+ /** @description This field value is returned to indicate the VAT tax type, which will vary by country/region. This string value will be one of the following:<ul><li><code>ABN</code>: if this string is returned, the ID in the <strong>value</strong> field is an Australia tax ID</li><li><code>DDG</code>: if this string is returned, it indicates that tax has been collected and remitted for Digitally Delivered Goods (DDG)</li><li><code>IOSS</code>: if this string is returned, the ID in the <strong>value</strong> field is an eBay EU or UK IOSS number</li><li><code>IRD</code>: if this string is returned, the ID in the <strong>value</strong> field is an eBay New Zealand tax ID</li><li><code>SST</code>: if this string is returned, the ID in the <b>value</b> field is an eBay Malaysia taxNumber</li><li><code>OSS</code>: if this string is returned, the ID in the <strong>value</strong> field is an eBay Germany VAT ID</li><li><code>VOEC</code>: if this string is returned, the ID in the <strong>value</strong> field is an eBay Norway tax ID</li></ul> */
516
+ name?: string;
517
+ /** @description The value returned in this field is the VAT identifier number (VATIN), which will vary by country/region. This field will be returned if VAT tax is applicable for the order. The <strong>name</strong> field indicates the VAT tax type, which will vary by country/region: <ul><li><strong>ABN</strong>: <em>eBay AU tax ID</em></li><li><strong>IOSS</strong>: <em>eBay EU IOSS number</em> / <em>eBay UK IOSS number</em></li><li><strong>IRD</strong>: <em>eBay NZ tax ID</em></li><li><strong>OSS</strong>: <em>eBay DE VAT ID</em></li><li><b>SST</b>: <i>eBay MY taxNumber</i></li><li><strong>VOEC</strong>: <em>eBay NO number</em></li></ul> */
518
+ value?: string;
519
+ };
520
+ EbayVaultProgram: {
521
+ /** @description This field specifies how an eBay vault order will be fulfilled. Supported options are:<ul><li><b>Seller to Vault</b>: the order will be shipped by the seller to an authenticator.</li><li><b>Vault to Vault</b>: the order will be shipped from an eBay vault to the buyer's vault.</li><li><b>Vault to Buyer</b>: the order will be shipped from an eBay vault to the buyer's shipping address.</li></ul> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:EbayVaultFulfillmentTypeEnum'>eBay API documentation</a> */
522
+ fulfillmentType?: string;
523
+ };
524
+ /** @description This type contains a error or warning related to a call request. */
525
+ Error: {
526
+ /** @description The context or source of this error or warning. */
527
+ category?: string;
528
+ /** @description The name of the domain containing the service or application. For example, <code>sell</code> is a domain. */
529
+ domain?: string;
530
+ /**
531
+ * Format: int32
532
+ * @description A positive integer that uniquely identifies the specific error condition that occurred. Your application can use these values as error code identifiers in your customized error-handling algorithms.
533
+ */
534
+ errorId?: number;
535
+ /** @description A list of one or more specific request elements (if any) associated with the error or warning. The format of these strings depends on the request payload format. For JSON, use JSONPath notation. */
536
+ inputRefIds?: string[];
537
+ /** @description An expanded version of the <b>message</b> field. <br><br><b>Maximum length:</b> 200 characters */
538
+ longMessage?: string;
539
+ /** @description A message about the error or warning which is device agnostic and readable by end users and application developers. It explains what the error or warning is, and how to fix it (in a general sense). If applicable, the value is localized to the end user's requested locale. <br><br><b>Maximum length:</b> 50 characters */
540
+ message?: string;
541
+ /** @description A list of one or more specific response elements (if any) associated with the error or warning. The format of these strings depends on the request payload format. For JSON, use JSONPath notation. */
542
+ outputRefIds?: string[];
543
+ /** @description Contains a list of name-value pairs that provide additional information concerning this error or warning. Each item in the list is an input parameter that contributed to the error or warning condition. */
544
+ parameters?: components['schemas']['ErrorParameter'][];
545
+ /** @description The name of the domain's subsystem or subdivision. For example, <code>fulfillment</code> is a subdomain in the <code>sell</code> domain. */
546
+ subdomain?: string;
547
+ };
548
+ /** @description This type contains the name and value of an input parameter that contributed to a specific error or warning condition. */
549
+ ErrorParameter: {
550
+ /** @description This is the name of input field that caused an issue with the call request. */
551
+ name?: string;
552
+ /** @description This is the actual value that was passed in for the element specified in the <strong>name</strong> field. */
553
+ value?: string;
554
+ };
555
+ /** @description This type is used by the <strong>evidenceRequests</strong> array that is returned in the <strong>getPaymentDispute</strong> response if one or more evidential documents are being requested to help resolve the payment dispute. */
556
+ EvidenceRequest: {
557
+ /** @description Unique identifier of the evidential file set. Potentially, each evidential file set can have more than one file, that is why there is this file set identifier, and then an identifier for each file within this file set. */
558
+ evidenceId?: string;
559
+ /** @description This enumeration value shows the type of evidential document provided. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:EvidenceTypeEnum'>eBay API documentation</a> */
560
+ evidenceType?: string;
561
+ /** @description This array shows one or more order line items associated with the evidential document that has been provided. */
562
+ lineItems?: components['schemas']['OrderLineItems'][];
563
+ /** @description The timestamp in this field shows the date/time when eBay requested the evidential document from the seller in response to a payment dispute. <br><br>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
564
+ requestDate?: string;
565
+ /** @description The timestamp in this field shows the date/time when the seller is expected to provide a requested evidential document to eBay. <br><br>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
566
+ respondByDate?: string;
567
+ };
568
+ /** @description This type contains shipping and contact information for a buyer or an eBay shipping partner. */
569
+ ExtendedContact: {
570
+ /** @description The company name associated with the buyer or eBay shipping partner. This field is only returned if defined/applicable to the buyer or eBay shipping partner. */
571
+ companyName?: string;
572
+ /** @description This container shows the shipping address of the buyer or eBay shipping partner. */
573
+ contactAddress?: components['schemas']['Address'];
574
+ /** @description This field contains the email address of the buyer. This address will be returned for up to 14 days from order creation. If an order is more than 14 days old, no address is returned.<br><br><span class="tablenote"> <strong>Note:</strong> If returned, this field contains the email address of the buyer, even for Global Shipping Program shipments.<br><br>The <b>email</b> will not be returned for any order that is more than 90 days old.</span> */
575
+ email?: string;
576
+ /** @description The full name of the buyer or eBay shipping partner.<br><br><span class="tablenote"><strong>Note:</strong> The <b>fullName</b> will not be returned for any order that is more than 90 days old.</span> */
577
+ fullName?: string;
578
+ /** @description The primary telephone number of the buyer or eBay shipping partner.<br><br><span class="tablenote"><strong>Note:</strong> The <b>primaryPhone</b> will not be returned for any order that is more than 90 days old.</span> */
579
+ primaryPhone?: components['schemas']['PhoneNumber'];
580
+ };
581
+ /** @description This type is used to store the unique identifier of an evidence file. Evidence files are used by seller to contest a payment dispute. */
582
+ FileEvidence: {
583
+ /** @description This field is used to identify the evidence file to be uploaded to the evidence set.<br><br> This file is created with the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/uploadEvidenceFile" target="_blank ">uploadEvidenceFile</a> method and can be retrieved using the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDisputes" target="_blank ">getPaymentDisputes</a> method. */
584
+ fileId?: string;
585
+ };
586
+ /** @description This type is used by the <strong>files</strong> array, which shows the name, ID, file type, and upload date for each provided evidential file. */
587
+ FileInfo: {
588
+ /** @description The unique identifier of the evidence file. */
589
+ fileId?: string;
590
+ /** @description The type of file uploaded. Supported file extensions are .JPEG, .JPG, and .PNG., and maximum file size allowed is 1.5 MB. */
591
+ fileType?: string;
592
+ /** @description The seller-provided name of the evidence file. */
593
+ name?: string;
594
+ /** @description The timestamp in this field shows the date/time when the seller uploaded the evidential document to eBay. <br><br>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
595
+ uploadedDate?: string;
596
+ };
597
+ /** @description This type contains a set of specifications for processing a fulfillment of an order, including the type of fulfillment, shipping carrier and service, addressing details, and estimated delivery window. These instructions are derived from the buyer's and seller's eBay account preferences, the listing parameters, and the buyer's checkout selections. The seller can use them as a starting point for packaging, addressing, and shipping the order. */
598
+ FulfillmentStartInstruction: {
599
+ /** @description This container provides information used by the installation provider concerning appointment details selected by the buyer. */
600
+ appointment?: components['schemas']['AppointmentDetails'];
601
+ /** @description This field is only returned if its value is <code>true</code> and indicates that the fulfillment will be shipped via eBay's Global Shipping Program, eBay International Shipping, or the Authenticity Guarantee service program. <br><br>For more information, see the <a href="https://www.ebay.com/help/selling/shipping-items/setting-shipping-options/global-shipping-program?id=4646 " target="_blank">Global Shipping Program</a> help topic. */
602
+ ebaySupportedFulfillment?: boolean;
603
+ /** @description This container is only returned if the value of <b>ebaySupportedFulfillment</b> field is <code>true</code>. <br><br>This is the final destination address for a Global Shipping Program shipment or an eBay International Shipping shipment, which is usually the recipient's home. Sellers should not ship directly to this address; instead they should ship this package to their international shipping provider's domestic warehouse. The international shipping provider is responsible for delivery to the final destination address.<br><br>For more information, see <a href="/api-docs/user-guides/static/trading-user-guide/global-shipping-addressing.html" target="_blank">Addressing Shipments</a>.<p> <span class="tablenote"><strong>Note:</strong> For Authenticity Guarantee program shipment, this is the address of the authenticator's warehouse. The authenticator is responsible for delivery to the buyer shipping address.</span></p> */
604
+ finalDestinationAddress?: components['schemas']['Address'];
605
+ /** @description The enumeration value returned in this field indicates the method of fulfillment that will be used to deliver this set of line items (this package) to the buyer. This field will have a value of <code>SHIP_TO</code> if the <b>ebaySupportedFulfillment</b> field is returned with a value of <code>true</code>. See the <strong>FulfillmentInstructionsType</strong> definition for more information about different fulfillment types. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:FulfillmentInstructionsType'>eBay API documentation</a> */
606
+ fulfillmentInstructionsType?: string;
607
+ /** @description This is the estimated latest date that the fulfillment will be completed. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field is not returned ifthe value of the <b>fulfillmentInstructionsType</b> field is <code>DIGITAL</code> or <code>PREPARE_FOR_PICKUP</code>. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
608
+ maxEstimatedDeliveryDate?: string;
609
+ /** @description This is the estimated earliest date that the fulfillment will be completed. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field is not returned if the value of the <b>fulfillmentInstructionsType</b> field is <code>DIGITAL</code> or <code>PREPARE_FOR_PICKUP</code>. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
610
+ minEstimatedDeliveryDate?: string;
611
+ /** @description This container is only returned for In-Store Pickup orders, and it indicates the specific merchant's store where the buyer will pick up the order. The In-Store Pickup feature is supported in the US, Canada, UK, Germany, and Australia marketplaces. */
612
+ pickupStep?: components['schemas']['PickupStep'];
613
+ /** @description This container consists of shipping information for this fulfillment, including the shipping carrier, the shipping service option, and the shipment destination. This container is not returned if the value of the <b>fulfillmentInstructionsType</b> field is <code>DIGITAL</code>, or for In-Store Pickup orders. <br><br> For Click and Collect orders, the shipping destination will be a brick-and-mortar store where the buyer will pick up the order. */
614
+ shippingStep?: components['schemas']['ShippingStep'];
615
+ };
616
+ /** @description This type contains information about a digital gift card line item that was purchased as a gift and sent to the recipient by email.<br><br><span class="tablenote"><strong>Note:</strong> <b>GiftDetails</b> will not be returned for any order that is more than 90 days old.</span> */
617
+ GiftDetails: {
618
+ /** @description This field contains the gift message from the buyer to the gift recipient. This field is only returned if the buyer of the gift included a message for the gift.<br><br><span class="tablenote"><strong>Note:</strong> The <b>message</b> will not be returned for any order that is more than 90 days old.</span> */
619
+ message?: string;
620
+ /** @description The email address of the gift recipient. The seller will send the digital gift card to this email address.<br><br><span class="tablenote"><strong>Note:</strong> The <b>recipientEmail</b> will not be returned for any order that is more than 90 days old.</span> */
621
+ recipientEmail?: string;
622
+ /** @description The name of the buyer, which will appear on the email that is sent to the gift recipient.<br><br><span class="tablenote"><strong>Note:</strong> The <b>senderName</b> will not be returned for any order that is more than 90 days old.</span> */
623
+ senderName?: string;
624
+ };
625
+ /** @description This container is returned if the buyer is returning one or more line items in an order that is associated with the payment dispute, and that buyer has provided return shipping tracking information and/or a note about the return. */
626
+ InfoFromBuyer: {
627
+ /** @description When the value of this field is <code>true</code> it indicates that the buyer's note regarding the payment dispute (i.e., the <b>buyerProvided.note</b> field,) is on hold. When this is the case, the <b>buyerProvided.note</b> field will not be returned.<br><br>When the value of this field is <code>false</code>, it is not returned. */
628
+ contentOnHold?: boolean;
629
+ /** @description This field shows any note that was left by the buyer in regard to the dispute. */
630
+ note?: string;
631
+ /** @description This array shows shipment tracking information for one or more shipping packages being returned to the buyer after a payment dispute. */
632
+ returnShipmentTracking?: components['schemas']['TrackingInfo'][];
633
+ };
634
+ /** @description The base type used by the request payload of the <b>issueRefund</b> method. */
635
+ IssueRefundRequest: {
636
+ /** @description The enumeration value passed into this field indicates the reason for the refund. One of the defined enumeration values in the <b>ReasonForRefundEnum</b> type must be used.<br><br>This field is required, and it is highly recommended that sellers use the correct refund reason, especially in the case of a buyer-requested cancellation or 'buyer remorse' return to indicate that there was nothing wrong with the item(s) or with the shipment of the order.<br><br><span class="tablenote"><strong>Note:</strong> If issuing refunds for more than one order line item, keep in mind that the refund reason must be the same for each of the order line items. If the refund reason is different for one or more order line items in an order, the seller would need to make separate <b>issueRefund</b> calls, one for each refund reason. </span> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:ReasonForRefundEnum'>eBay API documentation</a> */
637
+ reasonForRefund?: string;
638
+ /** @description This free-text field allows the seller to clarify why the refund is being issued to the buyer.<br><br><b>Max Length</b>: 100 */
639
+ comment?: string;
640
+ /** @description The <b>refundItems</b> array is only required if the seller is issuing a refund for one or more individual order line items in a multiple line item order. Otherwise, the seller just uses the <b>orderLevelRefundAmount</b> container to specify the amount of the refund for the entire order. */
641
+ refundItems?: components['schemas']['RefundItem'][];
642
+ /** @description This container is used to specify the amount of the refund for the entire order. If a seller wants to issue a refund for an individual line item within a multiple line item order, the seller would use the <b>refundItems</b> array instead. */
643
+ orderLevelRefundAmount?: components['schemas']['SimpleAmount'];
644
+ };
645
+ /** @description This type describes the physical location of an order. */
646
+ ItemLocation: {
647
+ /** @description The two-letter <a href="https://www.iso.org/iso-3166-country-codes.html " title="https://www.iso.org " target="_blank">ISO 3166</a> code representing the country of the address. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CountryCodeEnum'>eBay API documentation</a> */
648
+ countryCode?: string;
649
+ /** @description Indicates the geographical location of the item (along with the values in the <strong>countryCode</strong> and <b>postalCode</b> fields).<br><br><span class="tablenote"><b>Note:</b> If the item is shipped from a fulfillment center location through the Multi-Warehouse Program, this field will return the geographical location of the fulfillment center closest to the buyer.</span><br>This field provides city, province, state, or similar information. */
650
+ location?: string;
651
+ /** @description The postal code of the address. */
652
+ postalCode?: string;
653
+ };
654
+ /** @description Type defining the <b>legacyReference</b> container. This container is needed if the seller is issuing a refund for an individual order line item, and wishes to use an item ID and transaction ID to identify the order line item. */
655
+ LegacyReference: {
656
+ /** @description The unique identifier of a listing.<br><br> This value can be found in the <a href="/devzone/xml/docs/reference/ebay/getorders.html#Response.OrderArray.Order.TransactionArray.Transaction" target="_blank">Transaction</a> container in the response of the <a href="/devzone/xml/docs/reference/ebay/getorders.html" target="_blank">getOrder</a> call of the <b>Trading API</b>.<br><br><span class="tablenote"><strong>Note:</strong> Both <b>legacyItemId</b> and <b>legacyTransactionId</b> are needed to identify an order line item. </span> */
657
+ legacyItemId?: string;
658
+ /** @description The unique identifier of a sale/transaction in legacy/Trading API format. A 'transaction ID' is created once a buyer purchases a 'Buy It Now' item or if an auction listing ends with a winning bidder.<br><br> This value can be found in the <a href="/devzone/xml/docs/reference/ebay/getorders.html#Response.OrderArray.Order.TransactionArray.Transaction" target="_blank">Transaction</a> container in the response of the <a href="/devzone/xml/docs/reference/ebay/getorders.html" target="_blank">getOrder</a> call of the <b>Trading API</b>. <br><br><span class="tablenote"><strong>Note:</strong> Both <b>legacyItemId</b> and <b>legacyTransactionId</b> are needed to identify an order line item. </span> */
659
+ legacyTransactionId?: string;
660
+ };
661
+ /** @description This type contains the details of each line item in an order. */
662
+ LineItem: {
663
+ /** @description This array contains information about one or more sales promotions or discounts applied to the line item. It is always returned, but will be returned as an empty array if no special sales promotions or discounts apply to the order line item. */
664
+ appliedPromotions?: components['schemas']['AppliedPromotion'][];
665
+ /** @description This array is only returned for a Parts & Accessory item, and identifies the buyer's motor vehicle that is compatible with the part or accessory. */
666
+ compatibilityProperties?: components['schemas']['Property'][];
667
+ /** @description This container consists of a breakdown of all costs associated with the fulfillment of the line item. */
668
+ deliveryCost?: components['schemas']['DeliveryCost'];
669
+ /** @description The cost of the line item after applying any discounts. This container is only returned if the order line item was discounted through a promotion. */
670
+ discountedLineItemCost?: components['schemas']['Amount'];
671
+ /** @description This container will be returned if the order line item is subject to a 'Collect and Remit' tax that eBay will collect and remit to the proper taxing authority on the buyer's behalf.<br><br>'Collect and Remit' tax includes:<ul><li>US state-mandated sales tax</li><li>Federal and Provincial Sales Tax in Canada</li><li>'Goods and Services' tax in Canada, Australia, New Zealand, and Jersey</li><li>VAT collected for the UK, EU countries, Kazakhstan, and Belarus</li><li>Sales & Service Tax (SST) in Malaysia</li></ul>The amount of this tax is shown in the <strong>amount</strong> field, and the type of tax is shown in the <strong>taxType</strong> field.<br><br>eBay will display the tax type and amount during checkout in accordance with the buyer's address, and handle collection and remittance of the tax without requiring the seller to take any action. */
672
+ ebayCollectAndRemitTaxes?: components['schemas']['EbayCollectAndRemitTax'][];
673
+ /** @description This container consists of a breakdown of costs that are collected by eBay from the buyer for this order. <br><br><span class="tablenote"><strong>Note:</strong> Currently, this container is returned only if eBay is directly charging the buyer for eBay shipping.</span> */
674
+ ebayCollectedCharges?: components['schemas']['EbayCollectedCharges'];
675
+ /** @description This container consists of information that is needed by the seller to send a digital gift card to the buyer, or recipient of the digital gift card. This container is only returned and applicable for digital gift card line items. */
676
+ giftDetails?: components['schemas']['GiftDetails'];
677
+ /** @description This container field describes the physical location of the order line item.<br><br><span class="tablenote"><b>Note:</b> If the item is shipped from a fulfillment center location through the Multi-Warehouse Program, this container will return the location details of the fulfillment center closest to the buyer.</span> */
678
+ itemLocation?: components['schemas']['ItemLocation'];
679
+ /** @description The eBay-generated legacy listing item ID of the listing. Note that the unique identifier of a listing in REST-based APIs is called the <strong>listingId</strong> instead. */
680
+ legacyItemId?: string;
681
+ /** @description The unique identifier of a single variation within a multiple-variation listing. This field is only returned if the line item purchased was from a multiple-variation listing. */
682
+ legacyVariationId?: string;
683
+ /** @description The selling price of the line item before applying any discounts. The value of this field is calculated by multiplying the single unit price by the number of units purchased (value of the <b>quantity</b> field). */
684
+ lineItemCost?: components['schemas']['Amount'];
685
+ /** @description This container consists of information related to shipping dates and expectations, including the 'ship-by date' and expected delivery windows that are based on the seller's stated handling time and the shipping service option that will be used. These fields provide guidance on making sure expected delivery dates are made, whether the order is a <i>eBay Guaranteed Delivery</i> order or a non-guaranteed delivery order. */
686
+ lineItemFulfillmentInstructions?: components['schemas']['LineItemFulfillmentInstructions'];
687
+ /** @description This enumeration value indicates the current fulfillment status of the line item. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:LineItemFulfillmentStatusEnum'>eBay API documentation</a> */
688
+ lineItemFulfillmentStatus?: string;
689
+ /** @description This is the unique identifier of an eBay order line item. This field is created as soon as there is a commitment to buy from the seller. */
690
+ lineItemId?: string;
691
+ /** @description An array of one or more line items related to the corresponding order, but not a part of that order. Details include the order ID, line item ID, and title of the linked line item, the seller of that item, item specifics, estimated delivery times, and shipment tracking (if available). */
692
+ linkedOrderLineItems?: components['schemas']['LinkedOrderLineItem'][];
693
+ /** @description The unique identifier of the eBay marketplace where the line item was listed. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:MarketplaceIdEnum'>eBay API documentation</a> */
694
+ listingMarketplaceId?: string;
695
+ /** @description Contains information about the eBay programs, if any, under which the line item was listed. */
696
+ properties?: components['schemas']['LineItemProperties'];
697
+ /** @description The unique identifier of the eBay marketplace where the line item was listed. Often, the <strong>listingMarketplaceId</strong> and the <strong>purchaseMarketplaceId</strong> identifier are the same, but there are occasions when an item will surface on multiple eBay marketplaces. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:MarketplaceIdEnum'>eBay API documentation</a> */
698
+ purchaseMarketplaceId?: string;
699
+ /**
700
+ * Format: int32
701
+ * @description The number of units of the line item in the order. These are represented as a group by a single <b>lineItemId</b>.
702
+ */
703
+ quantity?: number;
704
+ /** @description This array is always returned, but is returned as an empty array unless the seller has submitted a partial or full refund to the buyer for the order. If a refund has occurred, the refund amount and refund date will be shown for each refund. */
705
+ refunds?: components['schemas']['LineItemRefund'][];
706
+ /** @description Seller-defined Stock-Keeping Unit (SKU). This inventory identifier must be unique within the seller's eBay inventory. SKUs are optional when listing in the legacy/Trading API system, but SKUs are required when listing items through the Inventory API model. */
707
+ sku?: string;
708
+ /** @description The eBay listing type of the line item. The most common listing types are <code>AUCTION</code> and <code>FIXED_PRICE</code>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:SoldFormatEnum'>eBay API documentation</a> */
709
+ soldFormat?: string;
710
+ /** @description Contains a list of taxes applied to the line item, if any. This array is always returned, but will be returned as empty if no taxes are applicable to the line item. */
711
+ taxes?: components['schemas']['Tax'][];
712
+ /** @description The title of the listing.<br><br><span class="tablenote"><b>Note:</b> The Item ID value for the listing will be returned in this field instead of the actual title if this particular listing is on-hold due to an eBay policy violation.</span> */
713
+ title?: string;
714
+ /** @description This is the total price that the buyer must pay for the line item after all costs (item cost, delivery cost, taxes,) are added, minus any discounts and/or promotions.<br><br><span class="tablenote"><strong>Note:</strong> For orders that are subject to 'eBay Collect and Remit' tax, the 'Collect and Remit' tax amount for the order will be included in this <strong>total</strong> value only when the <strong>fieldGroups</strong> query parameter is set to <code>TAX_BREAKDOWN</code>. If the <strong>fieldGroups</strong> query parameter is not set to <code>TAX_BREAKDOWN</code>, 'Collect and Remit' will not be added into this <strong>total</strong> value.<br><br>To determine if 'Collect and Remit' taxes were added into this <strong>total</strong> value, the user can check for the corresponding <strong>lineItems.ebayCollectAndRemitTaxes</strong> and the <strong>lineItems.taxes</strong> containers in the response. If both of these containers appear for one or more line items in the response with the following <strong>taxType</strong> values, the 'Collect and Remit' tax amount that the buyer paid is in this amount:<ul><li><code>STATE_SALES_TAX</code>: US state-mandated sales tax</li><li><code>PROVINCE_SALES_TAX</code>: Provincial Sales Tax in Canada</li><li><code>GST</code>: 'Goods and Services' tax in Canada, Australia, and New Zealand</li><li><code>VAT</code>: VAT collected for UK and EU countries</li></ul></span> */
715
+ total?: components['schemas']['Amount'];
716
+ /** @description An array of aspect name-value pairs that identifies the specific variation of a multi-variation listing. This array can contain multiple name-value pairs, such as <code>color:blue</code> and <code>size:large</code>, and will only be returned for orders created from a multiple-variation listing. */
717
+ variationAspects?: components['schemas']['NameValuePair'][];
718
+ };
719
+ /** @description This type contains the specifications for processing the fulfillment of a line item, including the handling window and the delivery window. These fields provide guidance for <i>eBay Guaranteed Delivery</i> as well as for non-guaranteed delivery. */
720
+ LineItemFulfillmentInstructions: {
721
+ /** @description Although this field is still returned, it can be ignored since eBay Guaranteed Delivery is no longer a supported feature on any marketplace. This field may get removed from the schema in the future. */
722
+ guaranteedDelivery?: boolean;
723
+ /** @description The estimated latest date and time that the buyer can expect to receive the line item based on the seller's stated handling time and the transit times of the available shipping service options. The seller must pay extra attention to this date, as a failure to deliver by this date/time can result in a 'Late shipment' seller defect, and can affect seller level and Top-Rated Seller status. In addition to the seller defect, buyers will be eligible for a shipping cost refund, and will also be eligible to return the item for a full refund (with no return shipping charge) if they choose. <br><br><span class="tablenote"><strong>Note:</strong> This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code></span> */
724
+ maxEstimatedDeliveryDate?: string;
725
+ /** @description The estimated earliest date and time that the buyer can expect to receive the line item based on the seller's stated handling time and the transit times of the available shipping service options.<br><br><span class="tablenote"><strong>Note:</strong> This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code></span> */
726
+ minEstimatedDeliveryDate?: string;
727
+ /** @description The latest date and time by which the seller should ship line item in order to meet the expected delivery window. This timestamp will be set by eBay based on time of purchase and the seller's stated handling time. The seller must pay extra attention to this date, as a failure to physically ship the line item by this date/time can result in a 'Late shipment' seller defect, and can affect seller level and Top-Rated Seller status. In addition to the seller defect, buyers will be eligible for a shipping cost refund, and will also be eligible to return the item for a full refund (with no return shipping charge) if they choose. <br><br><span class="tablenote"><strong>Note:</strong> This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code></span> */
728
+ shipByDate?: string;
729
+ };
730
+ /** @description This type contains information about the eBay programs under which a line item was listed and sold. */
731
+ LineItemProperties: {
732
+ /** @description A value of <code>true</code> indicates that the line item is covered by eBay's Buyer Protection program. */
733
+ buyerProtection?: boolean;
734
+ /** @description This field is only returned if <code>true</code> and indicates that the purchase occurred by the buyer and seller mutually agreeing on a Best Offer amount. The Best Offer feature can be set up for any listing type, but if this feature is set up for an auction listing, it will no longer be available once a bid has been placed on the listing. */
735
+ fromBestOffer?: boolean;
736
+ /** @description This field is only returned if <code>true</code> and indicates that the line item was sold as a result of a seller's ad campaign. */
737
+ soldViaAdCampaign?: boolean;
738
+ };
739
+ /** @description This type identifies the line item and quantity of that line item that comprises one fulfillment, such as a shipping package. */
740
+ LineItemReference: {
741
+ /** @description This is the unique identifier of the eBay order line item that is part of the shipping fulfillment.<br><br>Line item Ids can be found in the lineItems.<b>lineItemId</b> field of the <a href="/api-docs/sell/fulfillment/resources/order/methods/getOrders" target="_blank">getOrders</a> response. */
742
+ lineItemId?: string;
743
+ /**
744
+ * Format: int32
745
+ * @description This is the number of lineItems associated with the <a href="#request.trackingNumber">trackingNumber</a> specified by the seller. This must be a whole number greater than zero (0).<br><br><b>Default:</b> 1
746
+ */
747
+ quantity?: number;
748
+ };
749
+ /** @description This type contains refund information for a line item. */
750
+ LineItemRefund: {
751
+ /** @description This field shows the refund amount for a line item. This field is only returned if the buyer is due a refund for the line item.<br><br><span class="tablenote"><b>Note:</b> The refund amount shown is the seller's <i><b>net amount</b></i> received from the sale/transaction. eBay-collected tax will not be included in this amount, so the actual amount of the buyer's refund may be higher than this value.</span> */
752
+ amount?: components['schemas']['Amount'];
753
+ /** @description The date and time that the refund was issued for the line item. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field is not returned until the refund has been issued. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
754
+ refundDate?: string;
755
+ /** @description Unique identifier of a refund that was initiated for an order's line item through the <b>issueRefund</b> method. If the <b>issueRefund</b> method was used to issue a refund at the order level, this identifier is returned at the order level instead (<b>paymentSummary.refunds.refundId</b> field).<br><br> A <b>refundId</b> value is returned in the response of the <b>issueRefund</b> method, and this same value will be returned in the <b>getOrder</b> and <b>getOrders</b> responses for pending and completed refunds. */
756
+ refundId?: string;
757
+ /** @description This field is reserved for internal or future use. */
758
+ refundReferenceId?: string;
759
+ };
760
+ /** @description This type contains data on a line item that is related to, but not a part of the order. */
761
+ LinkedOrderLineItem: {
762
+ /** @description This array contains the complete set of items aspects for the linked line item. For example:<br><pre>"lineItemAspects": [<br> {<br> "name": "Tire Type",<br> "value": "All Season"<br> },<br><br> ...<br> <br> {<br> "name": "Car Type",<br> "value": "Performance"<br> }<br>]</pre><span class="tablenote"><strong>Note:</strong> All item specifics for the listing are returned. The name/value pairs returned are in the language of the linked line item's listing site, which may vary from the seller's language.</span> */
763
+ lineItemAspects?: components['schemas']['NameValuePair'][];
764
+ /** @description The unique identifier of the linked order line item. */
765
+ lineItemId?: string;
766
+ /** @description The end of the date range in which the linked line item is expected to be delivered to the shipping address. */
767
+ maxEstimatedDeliveryDate?: string;
768
+ /** @description The beginning of the date range in which the linked line item is expected to be delivered to the shipping address. */
769
+ minEstimatedDeliveryDate?: string;
770
+ /** @description The unique identifier of the order to which the linked line item belongs. */
771
+ orderId?: string;
772
+ /** @description The eBay user ID of the seller who sold the linked line item. For example, the user ID of the tire seller. */
773
+ sellerId?: string;
774
+ /** @description An array containing any shipment tracking information available for the linked line item. */
775
+ shipments?: components['schemas']['TrackingInfo'][];
776
+ /** @description The listing title of the linked line item.<br><br><span class="tablenote"><b>Note:</b> The Item ID value for the listing will be returned in this field instead of the actual title if this particular listing is on-hold due to an eBay policy violation.</span> */
777
+ title?: string;
778
+ };
779
+ /** @description This type is used to provide details about one or more monetary transactions that occur as part of a payment dispute. */
780
+ MonetaryTransaction: {
781
+ /** @description This timestamp indicates when the monetary transaction occurred. A date is returned for all monetary transactions.<br><br> The following format is used: <code>YYYY-MM-DDTHH:MM:SS.SSSZ</code>. For example, <code>2015-08-04T19:09:02.768Z</code>. */
782
+ date?: string;
783
+ /** @description This enumeration value indicates whether the monetary transaction is a charge or a credit to the seller. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:MonetaryTransactionTypeEnum'>eBay API documentation</a> */
784
+ type?: string;
785
+ /** @description This enumeration value indicates the reason for the monetary transaction. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:MonetaryTransactionReasonEnum'>eBay API documentation</a> */
786
+ reason?: string;
787
+ /** @description The amount involved in the monetary transaction. For active cross-border trade orders, the currency conversion and <b>exchangeRate</b> fields will be displayed as well. */
788
+ amount?: components['schemas']['DisputeAmount'];
789
+ };
790
+ /** @description This type contains the name-value specifics of a multi-variation listing (<b>variationAspects</b>) or the name-value specifics for all item aspects of a linked line item (<b>linkedOrderLineItems</b>). */
791
+ NameValuePair: {
792
+ /** @description The text representing the name of the aspect for the name-value pair. For example, <code>color</code>, or <code>Tire Type</code>. */
793
+ name?: string;
794
+ /** @description The value of the aspect for the name-value pair. For example, <code>red</code>, or <code>All Season</code>. */
795
+ value?: string;
796
+ };
797
+ /** @description This type contains the details of an order, including information about the buyer, order history, shipping fulfillments, line items, costs, payments, and order fulfillment status. */
798
+ Order: {
799
+ /** @description This container consists of information about the order's buyer. At this time, only the buyer's eBay user ID is returned, but it's possible that more buyer information can be added to this container in the future. */
800
+ buyer?: components['schemas']['Buyer'];
801
+ /** @description This field contains any comments that the buyer left for the seller about the order during checkout process. This field is only returned if a buyer left comments at checkout time. */
802
+ buyerCheckoutNotes?: string;
803
+ /** @description This container consists of order cancellation information if a cancel request has been made. This container is always returned, and if no cancel request has been made, the <strong>cancelState</strong> field is returned with a value of <code>NONE_REQUESTED</code>, and an empty <strong>cancelRequests</strong> array is also returned. */
804
+ cancelStatus?: components['schemas']['CancelStatus'];
805
+ /** @description The date and time that the order was created. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
806
+ creationDate?: string;
807
+ /** @description This field is only returned if <code>true</code>, and indicates that eBay will collect tax (US state-mandated sales tax, Federal and Provincial Sales Tax in Canada, 'Goods and Services' tax in Canada, Australia, and New Zealand, and VAT collected for UK and EU countries,) for at least one line item in the order, and remit the tax to the taxing authority of the buyer's residence. If this field is returned, the seller should search for one or more <strong>ebayCollectAndRemitTaxes</strong> containers at the line item level to get more information about the type of tax and the amount. */
808
+ ebayCollectAndRemitTax?: boolean;
809
+ /** @description This array contains a list of one or more <strong>getShippingFulfillment</strong> call URIs that can be used to retrieve shipping fulfillments that have been set up for the order. */
810
+ fulfillmentHrefs?: string[];
811
+ /** @description This container consists of a set of specifications for fulfilling the order, including the type of fulfillment, shipping carrier and service, shipping address, and estimated delivery window. These instructions are derived from the buyer's and seller's eBay account preferences, the listing parameters, and the buyer's checkout selections. The seller can use them as a starting point for packaging, addressing, and shipping the order.<br><br><span class="tablenote"><strong>Note:</strong> Although this container is presented as an array, it currently returns only one set of fulfillment specifications. Additional array members will be supported in future functionality.</span> */
812
+ fulfillmentStartInstructions?: components['schemas']['FulfillmentStartInstruction'][];
813
+ /** @description The date and time that the order was last modified. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
814
+ lastModifiedDate?: string;
815
+ /** @description This array contains the details for all line items that comprise the order. */
816
+ lineItems?: components['schemas']['LineItem'][];
817
+ /** @description The degree to which fulfillment of the order is complete. See the <strong>OrderFulfillmentStatus</strong> type definition for more information about each possible fulfillment state. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:OrderFulfillmentStatus'>eBay API documentation</a> */
818
+ orderFulfillmentStatus?: string;
819
+ /** @description The unique identifier of the order. This field is always returned. */
820
+ orderId?: string;
821
+ /** @description The enumeration value returned in this field indicates the current payment status of an order, or in case of a refund request, the current status of the refund. See the <strong>OrderPaymentStatusEnum</strong> type definition for more information about each possible payment/refund state. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:OrderPaymentStatusEnum'>eBay API documentation</a> */
822
+ orderPaymentStatus?: string;
823
+ /** @description This container consists of detailed payment information for the order, including buyer payment for the order, refund information (if applicable), and seller payment holds (if applicable). */
824
+ paymentSummary?: components['schemas']['PaymentSummary'];
825
+ /** @description This container consists of a summary of cumulative costs and charges for all line items of an order, including item price, price adjustments, sales taxes, delivery costs, and order discounts. */
826
+ pricingSummary?: components['schemas']['PricingSummary'];
827
+ /** @description This container is returned for orders that are eligible for eBay's Authenticity Guarantee service. The seller ships Authenticity Guarantee service items to the authentication partner instead of the buyer. The authenticator address is found in the <code>fulfillmentStartInstructions.shippingStep.shipTo</code> container. If the item is successfully authenticated, the authenticator will ship the item to the buyer. */
828
+ program?: components['schemas']['Program'];
829
+ /** @description An eBay-generated identifier that is used to identify and manage orders through the Selling Manager and Selling Manager Pro tools. This order identifier can also be found on the Orders grid page and in the Sales Record pages in Seller Hub. A <strong>salesRecordReference</strong> number is only generated and returned at the order level, and not at the order line item level.<br><br> In cases where the seller does not have a Selling Manager or Selling Manager Pro subscription nor access to Seller Hub, this field may not be returned. */
830
+ salesRecordReference?: string;
831
+ /** @description The unique eBay user ID of the seller who sold the order. */
832
+ sellerId?: string;
833
+ /** @description This is the cumulative base amount used to calculate the final value fees for each order. The final value fees are deducted from the seller payout associated with the order. Final value fees are calculated as a percentage of order cost (item cost + shipping cost) and the percentage rate can vary by eBay category. */
834
+ totalFeeBasisAmount?: components['schemas']['Amount'];
835
+ /** @description This is the cumulative fees accrued for the order and deducted from the seller payout. */
836
+ totalMarketplaceFee?: components['schemas']['Amount'];
837
+ };
838
+ /** @description This type is used by the <strong>lineItems</strong> array that is used to identify one or more line items in the order with the payment dispute. */
839
+ OrderLineItems: {
840
+ /** @description The unique identifier of the eBay listing associated with the order. */
841
+ itemId?: string;
842
+ /** @description The unique identifier of the line item within the order. */
843
+ lineItemId?: string;
844
+ };
845
+ /** @description This type contains information about a refund issued for an order. This does not include line item level refunds. */
846
+ OrderRefund: {
847
+ /** @description This field shows the refund amount for an order. This container is always returned for each refund.<br><br><span class="tablenote"><b>Note:</b> The refund amount shown is the seller's <i><b>net amount</b></i> received from the sale/transaction. eBay-collected tax will not be included in this amount, so the actual amount of the buyer's refund may be higher than this value.</span> */
848
+ amount?: components['schemas']['Amount'];
849
+ /** @description The date and time that the refund was issued. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field is not returned until the refund has been issued. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
850
+ refundDate?: string;
851
+ /** @description Unique identifier of a refund that was initiated for an order through the <b>issueRefund</b> method. If the <b>issueRefund</b> method was used to issue one or more refunds at the line item level, these refund identifiers are returned at the line item level instead (<b>lineItems.refunds.refundId</b> field).<br><br> A <b>refundId</b> value is returned in the response of the <b>issueRefund</b> method, and this same value will be returned in the <b>getOrders</b> and <b>getOrders</b> responses for pending and completed refunds. For other refunds, see the <b>refundReferenceId</b> field. */
852
+ refundId?: string;
853
+ /** @description The eBay-generated unique identifier for the refund. This field is not returned until the refund has been issued. */
854
+ refundReferenceId?: string;
855
+ /** @description This enumeration value indicates the current status of the refund to the buyer. This container is always returned for each refund. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:RefundStatusEnum'>eBay API documentation</a> */
856
+ refundStatus?: string;
857
+ };
858
+ /** @description This type contains the specifications for the collection of orders that match the search or filter criteria of a <b>getOrders</b> call. The collection is grouped into a result set, and based on the query parameters that are set (including the <strong>limit</strong> and <strong>offset</strong> parameters), the result set may included multiple pages, but only one page of the result set can be viewed at a time. */
859
+ OrderSearchPagedCollection: {
860
+ /** @description The URI of the <b>getOrders</b> call request that produced the current page of the result set. */
861
+ href?: string;
862
+ /**
863
+ * Format: int32
864
+ * @description The maximum number of orders returned per page of the result set. The <strong>limit</strong> value can be passed in as a query parameter, or if omitted, its value defaults to <code>50</code>. <br><br><span class="tablenote"><strong>Note:</strong> If this is the last or only page of the result set, the page may contain fewer orders than the <strong>limit</strong> value. To determine the number of pages in a result set, divide the <b>total</b> value (total number of orders matching input criteria) by this <strong>limit</strong> value, and then round up to the next integer. For example, if the <b>total</b> value was <code>120</code> (120 total orders) and the <strong>limit</strong> value was <code>50</code> (show 50 orders per page), the total number of pages in the result set is three, so the seller would have to make three separate <strong>getOrders</strong> calls to view all orders matching the input criteria. </span><b>Default:</b> <code>50</code>
865
+ */
866
+ limit?: number;
867
+ /** @description The <b>getOrders</b> call URI to use if you wish to view the next page of the result set. For example, the following URI returns records 41 thru 50 from the collection of orders: <br><br><code><i>path</i>/order?limit=10&offset=40 </code><br><br>This field is only returned if there is a next page of results to view based on the current input criteria.<br> */
868
+ next?: string;
869
+ /**
870
+ * Format: int32
871
+ * @description The number of results skipped in the result set before listing the first returned result. This value can be set in the request with the <b>offset</b> query parameter. <p class="tablenote"><strong>Note: </strong>The items in a paginated result set use a zero-based list where the first item in the list has an offset of <code>0</code>.</p>
872
+ */
873
+ offset?: number;
874
+ /** @description This array contains one or more orders that are part of the current result set, that is controlled by the input criteria. The details of each order include information about the buyer, order history, shipping fulfillments, line items, costs, payments, and order fulfillment status. <br><br>By default, orders are returned according to creation date (oldest to newest), but the order will vary according to any filter that is set in request. */
875
+ orders?: components['schemas']['Order'][];
876
+ /** @description The <b>getOrders</b> call URI for the previous result set. For example, the following URI returns orders 21 thru 30 from the collection of orders: <br><br><code><i>path</i>/order?limit=10&offset=20</code><br><br>This field is only returned if there is a previous page of results to view based on the current input criteria. */
877
+ prev?: string;
878
+ /**
879
+ * Format: int32
880
+ * @description The total number of orders in the results set based on the current input criteria.<br><br><span class="tablenote"><strong>Note:</strong> If no orders are found, this field is returned with a value of <code>0</code>.</span>
881
+ */
882
+ total?: number;
883
+ /** @description This array is returned if one or more errors or warnings occur with the call request. */
884
+ warnings?: components['schemas']['Error'][];
885
+ };
886
+ /** @description This type is used to provide details about the seller payments for an order. */
887
+ Payment: {
888
+ /** @description The amount that seller receives for the order via the payment method mentioned in <strong>Payment.paymentMethod</strong>.<br><br><span class="tablenote"><strong>Note:</strong> For orders that are subject to 'eBay Collect and Remit' tax, which includes US state-mandated sales tax, Federal and Provincial Sales Tax in Canada, 'Good and Services' tax in Canada, Australia, and New Zealand, and VAT collected for UK or EU, the 'Collect and Remit' tax amount for the order will be included in this <strong>amount.value</strong> field (and in the <strong>amount.convertedFromValue</strong> field if currency conversion is applicable).<br><br> To determine if 'Collect and Remit' taxes were added into this <strong>totalDueSeller</strong> value, the user can check for the corresponding <strong>lineItems.ebayCollectAndRemitTaxes</strong> and the <strong>lineItems.taxes</strong> containers in the response. If both of these containers appear for one or more line items in the response with the following <strong>taxType</strong> values, the 'Collect and Remit' tax amount that the buyer paid is included in this amount:<ul><li><code>STATE_SALES_TAX</code>: US</li><li><code>PROVINCE_SALES_TAX</code>: Provincial Sales Tax in Canada</li><li><code>GST</code>: Canada, Australia, and New Zealand</li><li><code>VAT</code>: UK and EU countries</li></ul></span> */
889
+ amount?: components['schemas']['Amount'];
890
+ /** @description The date and time that the payment was received by the seller. This field will not be returned if buyer has yet to pay for the order. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
891
+ paymentDate?: string;
892
+ /** @description This container is only returned if eBay is temporarily holding the seller's funds for the order. If a payment hold has been placed on the order, this container includes the reason for the payment hold, the expected release date of the funds into the seller's account, the current state of the hold, and as soon as the payment hold has been released, the actual release date. */
893
+ paymentHolds?: components['schemas']['PaymentHold'][];
894
+ /** @description The payment method used to pay for the order. See the <strong>PaymentMethodTypeEnum</strong> type for more information on the payment methods. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:PaymentMethodTypeEnum'>eBay API documentation</a> */
895
+ paymentMethod?: string;
896
+ /** @description This field is only returned if payment has been made by the buyer, and the <strong>paymentMethod</strong> is <code>ESCROW</code>. This field contains a special ID for ESCROW. */
897
+ paymentReferenceId?: string;
898
+ /** @description The enumeration value returned in this field indicates the status of the payment for the order. See the <strong>PaymentStatusEnum</strong> type definition for more information on the possible payment states. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:PaymentStatusEnum'>eBay API documentation</a> */
899
+ paymentStatus?: string;
900
+ };
901
+ /** @description This type is used by the base response of the <strong>getPaymentDispute</strong> method. The <strong>getPaymentDispute</strong> method retrieves detailed information on a specific payment dispute. */
902
+ PaymentDispute: {
903
+ /** @description This container shows the dollar value associated with the payment dispute in the currency used by the seller's marketplace. */
904
+ amount?: components['schemas']['SimpleAmount'];
905
+ /** @description The value(s) returned in this array indicate the choices that the seller has when responding to the payment dispute. Once the seller has responded to the payment dispute, this field will no longer be shown, and instead, the <strong>sellerResponse</strong> field will show the decision that the seller made. */
906
+ availableChoices?: string[];
907
+ /** @description This container is returned if the buyer is returning one or more line items in an order that is associated with the payment dispute, and that buyer has provided return shipping tracking information and/or a note about the return. */
908
+ buyerProvided?: components['schemas']['InfoFromBuyer'];
909
+ /** @description This is the eBay user ID of the buyer that initiated the payment dispute. */
910
+ buyerUsername?: string;
911
+ /** @description The timestamp in this field shows the date/time when the payment dispute was closed, so this field is only returned for payment disputes in the <code>CLOSED</code> state.<br><br>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
912
+ closedDate?: string;
913
+ /** @description This container shows any evidence that has been provided by the seller to contest the payment dispute. Evidence may include shipment tracking information, proof of authentication documentation, image(s) to proof that an item is as described, or financial documentation/invoice.<br><br>This container is only returned if the seller has provided at least one document used as evidence against the payment dispute. */
914
+ evidence?: components['schemas']['DisputeEvidence'][];
915
+ /** @description This container is returned if one or more evidence documents are being requested from the seller. */
916
+ evidenceRequests?: components['schemas']['EvidenceRequest'][];
917
+ /** @description This array is used to identify one or more order line items associated with the payment dispute. There will always be at least one <b>itemId</b>/<b>lineItemId</b> pair returned in this array. */
918
+ lineItems?: components['schemas']['OrderLineItems'][];
919
+ /** @description This array provide details about one or more monetary transactions that occur as part of a payment dispute. This array is only returned once one or more monetary transacations occur with a payment dispute. */
920
+ monetaryTransactions?: components['schemas']['MonetaryTransaction'][];
921
+ /** @description This field shows information that the seller provides about the dispute, such as the basis for the dispute, any relevant evidence, tracking numbers, and so forth.<br><br>This field is limited to 1000 characters. */
922
+ note?: string;
923
+ /** @description The timestamp in this field shows the date/time when the payment dispute was opened. This field is returned for payment disputes in all states.<br><br>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
924
+ openDate?: string;
925
+ /** @description This is the unique identifier of the order involved in the payment dispute. */
926
+ orderId?: string;
927
+ /** @description This is the unique identifier of the payment dispute. This is the same identifier that is passed in to the call URI. This identifier is automatically created by eBay once the payment dispute comes into the eBay system. */
928
+ paymentDisputeId?: string;
929
+ /** @description The enumeration value in this field gives the current status of the payment dispute. The status of a payment dispute partially determines other fields that are returned in the response. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:DisputeStateEnum'>eBay API documentation</a> */
930
+ paymentDisputeStatus?: string;
931
+ /** @description The enumeration value in this field gives the reason why the buyer initiated the payment dispute. See <strong>DisputeReasonEnum</strong> type for a description of the supported reasons that buyers can give for initiating a payment dispute. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:DisputeReasonEnum'>eBay API documentation</a> */
932
+ reason?: string;
933
+ /** @description This container gives details about a payment dispute that has been resolved. This container is only returned for resolved/closed payment disputes. */
934
+ resolution?: components['schemas']['PaymentDisputeOutcomeDetail'];
935
+ /** @description The timestamp in this field shows the date/time when the seller must response to a payment dispute, so this field is only returned for payment disputes in the <code>ACTION_NEEDED</code> state. For payment disputes that currently require action by the seller, that same seller should look at the <strong>availableChoices</strong> array to see the available actions.<br><br>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
936
+ respondByDate?: string;
937
+ /** @description This container gives the address where the order will be returned to. This container is returned if the seller is accepting the payment dispute and will issue a refund to the buyer once the item is returned to this address. */
938
+ returnAddress?: components['schemas']['ReturnAddress'];
939
+ /**
940
+ * Format: int32
941
+ * @description This integer value indicates the revision number of the payment dispute. Each time an action is taken against a payment dispute, this integer value increases by 1.
942
+ */
943
+ revision?: number;
944
+ /** @description The enumeration value returned in this field indicates how the seller has responded to the payment dispute. The seller has the option of accepting the payment dispute and agreeing to issue a refund, accepting the payment dispute and agreeing to issue a refund as long as the buyer returns the item, or contesting the payment dispute. This field is returned as soon as the seller makes an initial decision on the payment dispute. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:SellerResponseEnum'>eBay API documentation</a> */
945
+ sellerResponse?: string;
946
+ };
947
+ /** @description This type is used by each recorded activity on a payment dispute, from creation to resolution. */
948
+ PaymentDisputeActivity: {
949
+ /** @description The timestamp in this field shows the date/time of the payment dispute activity.<br><br>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
950
+ activityDate?: string;
951
+ /** @description This enumeration value indicates the type of activity that occured on the payment dispute. For example, a value of <code>DISPUTE_OPENED</code> is returned when a payment disute is first created, a value indicating the seller's decision on the dispute, such as <code>SELLER_CONTEST</code>, is returned when seller makes a decision to accept or contest dispute, and a value of <code>DISPUTE_CLOSED</code> is returned when a payment disute is resolved. See <strong>ActivityEnum</strong> for an explanation of each of the values that may be returned here. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:ActivityEnum'>eBay API documentation</a> */
952
+ activityType?: string;
953
+ /** @description This enumeration value indicates the actor that performed the action. Possible values include the <code>BUYER</code>, <code>SELLER</code>, <code>CS_AGENT</code> (eBay customer service), or <code>SYSTEM</code>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:ActorEnum'>eBay API documentation</a> */
954
+ actor?: string;
955
+ };
956
+ /** @description This type is used by the base response of the <strong>getActivities</strong> method, and includes a log of all activities of a payment dispute, from creation to resolution. */
957
+ PaymentDisputeActivityHistory: {
958
+ /** @description This array holds all activities of a payment dispute, from creation to resolution. For each activity, the activity type, the actor, and a timestamp is shown. The <strong>getActivities</strong> response is dynamic, and grows with each recorded activity. */
959
+ activity?: components['schemas']['PaymentDisputeActivity'][];
960
+ };
961
+ /** @description This type is used by the <strong>resolution</strong> container that is returned for payment disputes that have been resolved. */
962
+ PaymentDisputeOutcomeDetail: {
963
+ /** @description This container will show the dollar value of any fees associated with the payment dispute. This container is only returned if there are fees associated with the payment dispute. */
964
+ fees?: components['schemas']['SimpleAmount'];
965
+ /** @description This container shows the amount of money that the seller is protected against in a payment dispute under eBay's seller protection policy. */
966
+ protectedAmount?: components['schemas']['SimpleAmount'];
967
+ /** @description This enumeration value indicates if the seller is fully protected, partially protected, or not protected by eBay for the payment dispute. This field is always returned once the payment dispute is resolved. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:ProtectionStatusEnum'>eBay API documentation</a> */
968
+ protectionStatus?: string;
969
+ /** @description The enumeration value returned in this field indicates the outcome of the payment dispute for the seller. This field is always returned once the payment dispute is resolved. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:OutcomeEnum'>eBay API documentation</a> */
970
+ reasonForClosure?: string;
971
+ /** @description This container shows the dollar amount being recouped from the seller. This container is empty if the seller wins the payment dispute or if the seller is fully protected by eBay's seller protection policy. */
972
+ recoupAmount?: components['schemas']['SimpleAmount'];
973
+ /** @description This container shows the amount of money in selling fee credits due back to the seller after a payment dispute is settled. */
974
+ totalFeeCredit?: components['schemas']['SimpleAmount'];
975
+ };
976
+ /** @description This type is used by each payment dispute that is returned with the <strong>getPaymentDisputeSummaries</strong> method. */
977
+ PaymentDisputeSummary: {
978
+ /** @description This container shows the dollar value associated with the payment dispute in the currency used by the seller's marketplace. This container is returned for all payment disputes returned in the response. */
979
+ amount?: components['schemas']['SimpleAmount'];
980
+ /** @description This is the buyer's eBay user ID. This field is returned for all payment disputes returned in the response. */
981
+ buyerUsername?: string;
982
+ /** @description The timestamp in this field shows the date/time when the payment dispute was closed, so this field is only returned for payment disputes in the <code>CLOSED</code> state.<br><br>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
983
+ closedDate?: string;
984
+ /** @description The timestamp in this field shows the date/time when the payment dispute was opened. This field is returned for payment disputes in all states.<br><br>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
985
+ openDate?: string;
986
+ /** @description This is the unique identifier of the order involved in the payment dispute. */
987
+ orderId?: string;
988
+ /** @description This is the unique identifier of the payment dispute. This identifier is automatically created by eBay once the payment dispute comes into the eBay system. This identifier is passed in at the end of the <strong>getPaymentDispute</strong> call URI to retrieve a specific payment dispute. The <strong>getPaymentDispute</strong> method returns more details about a payment dispute than the <strong>getPaymentDisputeSummaries</strong> method. */
989
+ paymentDisputeId?: string;
990
+ /** @description The enumeration value in this field gives the current status of the payment dispute. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:DisputeStateEnum'>eBay API documentation</a> */
991
+ paymentDisputeStatus?: string;
992
+ /** @description The enumeration value in this field gives the reason why the buyer initiated the payment dispute. See <strong>DisputeReasonEnum</strong> type for a description of the supported reasons that buyers can give for initiating a payment dispute. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:DisputeReasonEnum'>eBay API documentation</a> */
993
+ reason?: string;
994
+ /** @description The timestamp in this field shows the date/time when the seller must response to a payment dispute, so this field is only returned for payment disputes in the <code>ACTION_NEEDED</code> state. For payment disputes that require action by the seller, that same seller must call <strong>getPaymentDispute</strong> to see the next action(s) that they can take against the payment dispute.<br><br>The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
995
+ respondByDate?: string;
996
+ };
997
+ /** @description This type contains information about a hold placed on a payment to a seller for an order, including the reason why the buyer's payment for the order is being held, the expected release date of the funds into the seller's account, the current state of the hold, and the actual release date if the payment has been released, and possible actions the seller can take to expedite the payout of funds into their account. */
998
+ PaymentHold: {
999
+ /** @description The date and time that the payment being held is expected to be released to the seller. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field will be returned if known by eBay. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
1000
+ expectedReleaseDate?: string;
1001
+ /** @description The monetary amount of the payment being held. This field is always returned with the <strong>paymentHolds</strong> array. */
1002
+ holdAmount?: components['schemas']['Amount'];
1003
+ /** @description The reason that the payment is being held. A seller's payment may be held for a number of reasons, including when the seller is new, the seller's level is below standard, or if a return case or 'Significantly not as described' case is pending against the seller. This field is always returned with the <strong>paymentHolds</strong> array. */
1004
+ holdReason?: string;
1005
+ /** @description The current stage or condition of the hold. This field is always returned with the <strong>paymentHolds</strong> array.<br><br><b>Applicable values:</b><ul><li><code>HELD</code></li><li><code>HELD_PENDING</code></li><li><code>NOT_HELD</code></li><li><code>RELEASE_CONFIRMED</code></li><li><code>RELEASE_FAILED</code></li><li><code>RELEASE_PENDING</code></li><li><code>RELEASED</code></li></ul> */
1006
+ holdState?: string;
1007
+ /** @description The date and time that the payment being held was actually released to the seller. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field is not returned until the seller's payment is actually released into the seller's account.<br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
1008
+ releaseDate?: string;
1009
+ /** @description A list of one or more possible actions that the seller can take to expedite the release of the payment hold. */
1010
+ sellerActionsToRelease?: components['schemas']['SellerActionsToRelease'][];
1011
+ };
1012
+ /** @description This type contains information about the various monetary exchanges that apply to the net balance due for the order. */
1013
+ PaymentSummary: {
1014
+ /** @description This array consists of payment information for the order, including payment status, payment method, payment amount, and payment date. This array is always returned, although some of the fields under this container will not be returned until payment has been made. */
1015
+ payments?: components['schemas']['Payment'][];
1016
+ /** @description This array is always returned, but is returned as an empty array unless the seller has submitted a partial or full refund to the buyer for the order. If a refund has occurred, the refund amount and refund date will be shown for each refund. */
1017
+ refunds?: components['schemas']['OrderRefund'][];
1018
+ /** @description This is the total price that the seller receives for the entire order after all costs (item cost, delivery cost, taxes) are added for all line items, minus any discounts and/or promotions for any of the line items. Note that this value is subject to change before payment is actually made by the buyer (if the <strong>paymentStatus</strong> value was <code>PENDING</code> or <code>FAILED</code>), or if a partial or full refund occurs with the order.<br><br><span class="tablenote"><strong>Note:</strong> For orders that are subject to 'eBay Collect and Remit' tax, the 'Collect and Remit' tax amount for the order will be included in this <strong>totalDueSeller</strong> value.<br><br>To determine if 'Collect and Remit' taxes were added into this <strong>totalDueSeller</strong> value, the user can check for the corresponding <strong>lineItems.ebayCollectAndRemitTaxes</strong> and the <strong>lineItems.taxes</strong> containers in the response. If both of these containers appear for one or more line items in the response with the following <strong>taxType</strong> values, the 'Collect and Remit' tax amount that the buyer paid is included in this amount:<ul><li><code>STATE_SALES_TAX</code>: US</li><li><code>PROVINCE_SALES_TAX</code>: Provincial Sales Tax in Canada</li><li><code>GST</code>: Canada, Australia, and New Zealand</li><li><code>VAT</code>: VAT collected for UK and EU countries</li></ul></span> */
1019
+ totalDueSeller?: components['schemas']['Amount'];
1020
+ };
1021
+ /** @description This type is used by the <strong>returnAddress</strong field that is used by the payment dispute methods. If a buyer is returning the item (under payment dispute) to the seller, a primary phone number for the seller must be provided. */
1022
+ Phone: {
1023
+ /** @description The two-letter, <a href="https://www.iso.org/iso-3166-country-codes.html " target="_blank">ISO 3166</a> code associated with the seller's phone number. This field is needed if the buyer is located in a different country than the seller. It is also OK to provide if the buyer and seller are both located in the same country<br><br>See <a href="/api-docs/sell/fulfillment/types/ba:CountryCodeEnum " target="_blank">CountryCodeEnum</a> for a list of supported values. */
1024
+ countryCode?: string;
1025
+ /** @description The seller's primary phone number associated with the return address. When this number is provided in a <strong>contestPaymentDispute</strong> or <strong>contestPaymentDispute</strong> method, it is provided as one continuous numeric string, including the area code. So, if the phone number's area code was '408', a number in this field may look something like this: <br><br><code>"number" : "4088084356"</code><br><br>If the buyer is located in a different country than the seller, the seller's country code will need to be specified in the <strong>countryCode</strong> field. */
1026
+ number?: string;
1027
+ };
1028
+ /** @description This type contains a string field representing a telephone number. */
1029
+ PhoneNumber: {
1030
+ /** @description The primary telephone number for the shipping recipient. */
1031
+ phoneNumber?: string;
1032
+ };
1033
+ /** @description This type is used to indicate the merchant's store where the buyer will pickup their In-Store Pickup order. The <b>pickupStep</b> container is only returned for In-Store Pickup orders. The In-Store Pickup feature is supported in the US, Canada, UK, Germany, and Australia marketplaces. */
1034
+ PickupStep: {
1035
+ /** @description A merchant-defined unique identifier of the merchant's store where the buyer will pick up their In-Store Pickup order.<br><br> This field is always returned with the <b>pickupStep</b> container. */
1036
+ merchantLocationKey?: string;
1037
+ };
1038
+ /** @description This type is used to provide the status and outcome of an order line item going through the Authenticity Guarantee verification process. */
1039
+ PostSaleAuthenticationProgram: {
1040
+ /** @description This field indicates the result of the authenticity verification inspection on an order line item. This field is not returned when the status value of the order line item is <code>PENDING</code> or <code>PASSED</code>. The possible values returned here are <code>NOT_AUTHENTIC</code>, <code>NOT_AS_DESCRIBED</code>, <code>CUSTOMIZED</code>, <code>MISCATEGORIZED</code>, or <code>NOT_AUTHENTIC_NO_RETURN</code>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:AuthenticityVerificationReasonEnum'>eBay API documentation</a> */
1041
+ outcomeReason?: string;
1042
+ /** @description The value in this field indicates whether the order line item has passed or failed the authenticity verification inspection, or if the inspection and/or results are still pending. The possible values returned here are <code>PENDING</code>, <code>PASSED</code>, <code>FAILED</code>, or <code>PASSED_WITH_EXCEPTION</code>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:AuthenticityVerificationStatusEnum'>eBay API documentation</a> */
1043
+ status?: string;
1044
+ };
1045
+ /** @description This type contains a summary of cumulative costs and charges for all line items of an order, including item price, price adjustments, sales taxes, delivery costs, and order discounts. */
1046
+ PricingSummary: {
1047
+ /** @description This container shows the total amount of any adjustments that were applied to the cost of the item(s) in the order. This amount does not include shipping, discounts, fixed fees, or taxes.<br><br>This container is only returned if price adjustments were made to the order after the initial transaction/commitment to buy occurred. */
1048
+ adjustment?: components['schemas']['Amount'];
1049
+ /** @description This container shows the total cost of delivering the order to the buyer, before any shipping/delivery discount is applied. */
1050
+ deliveryCost?: components['schemas']['Amount'];
1051
+ /** @description This container shows the total amount of delivery discounts (including shipping discounts) that apply to the order. This should be a negative real number.<br><br>This container is only returned if delivery discounts are being applied to the order. */
1052
+ deliveryDiscount?: components['schemas']['Amount'];
1053
+ /** @description This container shows the total amount of any special fees applied to the order, such as a tire recycling fee or an electronic waste fee. <br><br>This container is returned if special fees are being applied to the order and if the <b>fieldGroups</b> is set to <code>TAX_BREAKDOWN</code>. */
1054
+ fee?: components['schemas']['Amount'];
1055
+ /** @description This container shows the total amount of all item price discounts (including promotions) that apply to the order and reduce its cost to the buyer. This should be a negative real number. <br><br>This container is only returned if special discounts are being applied to the order. */
1056
+ priceDiscount?: components['schemas']['Amount'];
1057
+ /** @description This container shows the cumulative costs of of all units of all line items in the order, before any discount is applied. */
1058
+ priceSubtotal?: components['schemas']['Amount'];
1059
+ /** @description This container shows the total amount of tax for the order. To calculate the tax percentage rate, divide this value by the value of the <b>total</b> field. <br><br>This container is only returned if any type of tax (sales tax, tax on shipping, tax on handling, import tax, etc.) is applied to the order. */
1060
+ tax?: components['schemas']['Amount'];
1061
+ /** @description The total cost of the order after adding all line item costs, delivery costs, sales tax, and special fees, and then subtracting all special discounts and price adjustments.<br><br><span class="tablenote"><strong>Note:</strong> For orders that are subject to 'eBay Collect and Remit' tax, the 'Collect and Remit' tax amount for the order will be included in this <strong>total</strong> value only when the <strong>fieldGroups</strong> query parameter is set to <code>TAX_BREAKDOWN</code>. If the <strong>fieldGroups</strong> query parameter is not set to <code>TAX_BREAKDOWN</code>, 'Collect and Remit' will not be added into this <strong>total</strong> value.<br><br>To determine if 'Collect and Remit' taxes were added into this <strong>total</strong> value, the user can check for the corresponding <strong>lineItems.ebayCollectAndRemitTaxes</strong> and the <strong>lineItems.taxes</strong> containers in the response. If both of these containers appear for one or more line items in the response with the following <strong>taxType</strong> values, the 'Collect and Remit' tax amount that the buyer paid is included in this amount:<ul><li><code>STATE_SALES_TAX</code>: US state-mandated sales tax</li><li><code>PROVINCE_SALES_TAX</code>: Provincial Sales Tax in Canada</li><li><code>GST</code>: 'Good and Services' tax in Canada, Australia, and New Zealand</li><li><code>VAT</code>: VAT collected for UK and EU countries</li></ul></span> */
1062
+ total?: components['schemas']['Amount'];
1063
+ };
1064
+ /** @description This type is returned for order line items eligible for the Authenticity Guarantee service and/or for order line items fulfilled by the eBay Fulfillment program or eBay shipping. */
1065
+ Program: {
1066
+ /** @description This field is returned when the third-party authenticator performs the authentication verification inspection on the order line item. Different values will be returned based on whether the item passed or failed the authentication verification inspection. */
1067
+ authenticityVerification?: components['schemas']['PostSaleAuthenticationProgram'];
1068
+ /** @description This container is returned only if the order is an eBay shipping order. It consists of a field that indicates the provider of a shipping label for this order. */
1069
+ ebayShipping?: components['schemas']['EbayShipping'];
1070
+ /** @description This field provides information about the eBay vault program that has been selected for an order. This is returned only for those items that are eligible for the eBay Vault Program. */
1071
+ ebayVault?: components['schemas']['EbayVaultProgram'];
1072
+ /** @description This container is returned if the order is being fulfilled through eBay International Shipping. */
1073
+ ebayInternationalShipping?: components['schemas']['EbayInternationalShipping'];
1074
+ /** @description This field provides details about an order line item being handled by eBay fulfillment. It is only returned for paid orders being fulfilled by eBay or an eBay fulfillment partner. */
1075
+ fulfillmentProgram?: components['schemas']['EbayFulfillmentProgram'];
1076
+ };
1077
+ /** @description This type defines the property name and value for an order. */
1078
+ Property: {
1079
+ /** @description The display name of the motor vehicle aspect. This is the localized name of the compatibility property. */
1080
+ propertyDisplayName?: string;
1081
+ /** @description The name of the motor vehicle aspect.<br><br>For example, typical vehicle property names are 'Make', 'Model', 'Year', 'Engine', and 'Trim', but will vary based on the eBay marketplace and the eBay category. */
1082
+ propertyName?: string;
1083
+ /** @description The value of the property specified in the <b>propertyName</b> field.<br><br>For example, if the <b>propertyName</b> is <code>Make</code>, then the <b>propertyValue</b> will be the specific make of the vehicle, such as <code>Toyota</code>. */
1084
+ propertyValue?: string;
1085
+ };
1086
+ /** @description This is the base type of the <b>issueRefund</b> response payload. As long as the <b>issueRefund</b> method does not trigger an error, a response payload will be returned. */
1087
+ Refund: {
1088
+ /** @description The unique identifier of the order refund. This value is returned unless the refund operation fails (<b>refundStatus</b> value shows <code>FAILED</code>). This identifier can be used to track the status of the refund through a <b>getOrder</b> or <b>getOrders</b> call. For order-level refunds, check the <b>paymentSummary.refunds.refundId</b> field in the <b>getOrder</b>/<b>getOrders</b> response, and for line item level refunds, check the <b>lineItems.refunds.refundId</b> field(s) in the <b>getOrder</b>/<b>getOrders</b> response. */
1089
+ refundId?: string;
1090
+ /** @description The value returned in this field indicates the success or failure of the refund operation. A successful <b>issueRefund</b> operation should result in a value of <code>PENDING</code>. A failed <b>issueRefund</b> operation should result in a value of <code>FAILED</code>, and an HTTP status code and/or and API error code may also get returned to possibly indicate the issue.<br><br>The refunds issued through this method are processed asynchronously, so the refund will not show as 'Refunded' right away. A seller will have to make a subsequent <a href="https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrder" target="_blank">getOrder</a> call to check the status of the refund. The status of an order refund can be found in the <a href="https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrder#response.paymentSummary.refunds.refundStatus" target="_blank">paymentSummary.refunds.refundStatus</a> field of the <a href="https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrder" target="_blank">getOrder</a> response. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:RefundStatusEnum'>eBay API documentation</a> */
1091
+ refundStatus?: string;
1092
+ };
1093
+ /** @description This type is used if the seller is issuing a refund for one or more individual order line items in a multiple line item order. Otherwise, the seller just uses the <b>orderLevelRefundAmount</b> container to specify the amount of the refund for the entire order. */
1094
+ RefundItem: {
1095
+ /** @description This container is used to specify the amount of the refund for the corresponding order line item. If a seller wants to issue a refund for an entire order, the seller would use the <b>orderLevelRefundAmount</b> container instead. */
1096
+ refundAmount?: components['schemas']['SimpleAmount'];
1097
+ /** @description The unique identifier of an order line item. This identifier is created once a buyer purchases a 'Buy It Now' item or if an auction listing ends with a winning bidder.<br><br>Either this field or the <b>legacyReference</b> container is needed to identify an individual order line item that will receive a refund.<br><br> This value is returned using the <a href="/api-docs/sell/fulfillment/resources/order/methods/getOrders" target="_blank ">getOrders</a> method. */
1098
+ lineItemId?: string;
1099
+ /** @description This container is needed if the seller is issuing a refund for an individual order line item, and wishes to use an item ID/transaction ID pair to identify the order line item.<br><br>Either this container or the <b>lineItemId</b> field is needed to identify an individual order line item that will receive a refund. <br><br><span class="tablenote"><strong>Note:</strong> This container should <b>only</b> be used if a seller is using the <a href="/devzone/xml/docs/reference/ebay/getorders.html" target="_blank ">GetOrders</a> method of the <b>Trading API</b>.</span> */
1100
+ legacyReference?: components['schemas']['LegacyReference'];
1101
+ };
1102
+ /** @description This type is used by the payment dispute methods, and is relevant if the buyer will be returning the item to the seller. */
1103
+ ReturnAddress: {
1104
+ /** @description The first line of the street address. */
1105
+ addressLine1?: string;
1106
+ /** @description The second line of the street address. This line is not always necessarily, but is often used for apartment number or suite number, or other relevant information that can not fit on the first line. */
1107
+ addressLine2?: string;
1108
+ /** @description The city of the return address. */
1109
+ city?: string;
1110
+ /** @description The country's two-letter, ISO 3166-1 country code. See the enumeration type for a country's value. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CountryCodeEnum'>eBay API documentation</a> */
1111
+ country?: string;
1112
+ /** @description The county of the return address. Counties are not applicable to all countries. */
1113
+ county?: string;
1114
+ /** @description The full name of return address owner. */
1115
+ fullName?: string;
1116
+ /** @description The postal code of the return address. */
1117
+ postalCode?: string;
1118
+ /** @description This container shows the seller's primary phone number associated with the return address. */
1119
+ primaryPhone?: components['schemas']['Phone'];
1120
+ /** @description The state or province of the return address. */
1121
+ stateOrProvince?: string;
1122
+ };
1123
+ /** @description This type is used to state possible action(s) that a seller can take to release a payment hold placed against an order. */
1124
+ SellerActionsToRelease: {
1125
+ /** @description A possible action that the seller can take to expedite the release of a payment hold. A <strong>sellerActionToRelease</strong> field is returned for each possible action that a seller may take. Possible actions may include providing shipping/tracking information, issuing a refund, providing refund information, contacting customer support, etc. */
1126
+ sellerActionToRelease?: string;
1127
+ };
1128
+ /** @description This type contains the complete details of an existing fulfillment for an order. */
1129
+ ShippingFulfillment: {
1130
+ /** @description The unique identifier of the fulfillment; for example, <code>9405509699937003457459</code>. This eBay-generated value is created with a successful <b>createShippingFulfillment</b> call. */
1131
+ fulfillmentId?: string;
1132
+ /** @description This array contains a list of one or more line items (and purchased quantity) to which the fulfillment applies. */
1133
+ lineItems?: components['schemas']['LineItemReference'][];
1134
+ /** @description The tracking number provided by the shipping carrier for the package shipped in this fulfillment. This field is returned if available. */
1135
+ shipmentTrackingNumber?: string;
1136
+ /** @description The date and time that the fulfillment package was shipped. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. This field should only be returned if the package has been shipped.<br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code> */
1137
+ shippedDate?: string;
1138
+ /** @description The eBay code identifying the shipping carrier for this fulfillment. This field is returned if available. <br><br><span class="tablenote"><strong>Note:</strong> The Trading API's <b>ShippingCarrierCodeType</b> enumeration type contains the most current list of eBay shipping carrier codes and the countries served by each carrier. See <a href="https://developer.ebay.com/Devzone/XML/docs/Reference/eBay/types/ShippingCarrierCodeType.html " target="_blank">ShippingCarrierCodeType</a>.</span> */
1139
+ shippingCarrierCode?: string;
1140
+ };
1141
+ /** @description This type contains the details for creating a fulfillment for an order. */
1142
+ ShippingFulfillmentDetails: {
1143
+ /** @description This array contains a list of or more line items and the quantity that will be shipped in the same package. */
1144
+ lineItems?: components['schemas']['LineItemReference'][];
1145
+ /** @description This is the actual date and time that the fulfillment package was shipped. This timestamp is in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock. The seller should use the actual date/time that the package was shipped, but if this field is omitted, it will default to the current date/time.<br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2015-08-04T19:09:02.768Z</code><br><br><b>Default:</b> The current date and time. */
1146
+ shippedDate?: string;
1147
+ /** @description The unique identifier of the shipping carrier being used to ship the line item(s). Technically, the <strong>shippingCarrierCode</strong> and <strong>trackingNumber</strong> fields are optional, but generally these fields will be provided if the shipping carrier and tracking number are known. <br><br><span class="tablenote"><strong>Note:</strong> Use the Trading API's <a href="https://developer.ebay.com/devzone/XML/docs/Reference/eBay/GeteBayDetails.html " target="_blank">GeteBayDetails</a> call to retrieve the latest shipping carrier enumeration values. When making the <a href="https://developer.ebay.com/devzone/XML/docs/Reference/eBay/GeteBayDetails.html " target="_blank">GeteBayDetails</a> call, include the <strong>DetailName</strong> field in the request payload and set its value to <code>ShippingCarrierDetails</code>. Each valid shipping carrier enumeration value is returned in a <strong>ShippingCarrierDetails.ShippingCarrier</strong> field in the response payload.</span> */
1148
+ shippingCarrierCode?: string;
1149
+ /** @description The tracking number provided by the shipping carrier for this fulfillment. The seller should be careful that this tracking number is accurate since the buyer will use this tracking number to track shipment, and eBay has no way to verify the accuracy of this number.<br><br>This field and the <b>shippingCarrierCode</b> field are mutually dependent. If you include one, you must also include the other.<br><br><span class="tablenote"><strong>Note:</strong> If you include <b>trackingNumber</b> (and <b>shippingCarrierCode</b>) in the request, the resulting fulfillment's ID (returned in the HTTP location response header) is the tracking number. If you do not include shipment tracking information, the resulting fulfillment ID will default to an arbitrary number such as <code>999</code>.</span><br><span class="tablenote"><strong>Note:</strong> Only alphanumeric characters are supported for shipment tracking numbers. Spaces, hyphens, and all other special characters are not supported. Do not include a space in the tracking number even if a space appears in the tracking number on the shipping label.</span> */
1150
+ trackingNumber?: string;
1151
+ };
1152
+ /** @description This type contains the specifications for the entire collection of shipping fulfillments that are associated with the order specified by a <b>getShippingFulfillments</b> call. The <b>fulfillments</b> container returns an array of all the fulfillments in the collection. */
1153
+ ShippingFulfillmentPagedCollection: {
1154
+ /** @description This array contains one or more fulfillments required for the order that was specified in method endpoint. */
1155
+ fulfillments?: components['schemas']['ShippingFulfillment'][];
1156
+ /**
1157
+ * Format: int32
1158
+ * @description The total number of fulfillments in the specified order.<br><br><span class="tablenote"><strong>Note:</strong> If no fulfillments are found for the order, this field is returned with a value of <code>0</code>.</span>
1159
+ */
1160
+ total?: number;
1161
+ /** @description This array is only returned if one or more errors or warnings occur with the call request. */
1162
+ warnings?: components['schemas']['Error'][];
1163
+ };
1164
+ /** @description This type contains shipping information for a fulfillment, including the shipping carrier, the shipping service option, the shipment destination, and the Global Shipping Program reference ID. */
1165
+ ShippingStep: {
1166
+ /** @description The unique identifier of the shipping carrier being used to ship the line item. <br><br><span class="tablenote"><strong>Note:</strong> The Trading API's <a href="https://developer.ebay.com/devzone/XML/docs/Reference/eBay/GeteBayDetails.html " target="_blank">GeteBayDetails</a> call can be used to retrieve the latest shipping carrier and shipping service option enumeration values.</span> */
1167
+ shippingCarrierCode?: string;
1168
+ /** @description The unique identifier of the shipping service option being used to ship the line item.<br><br><span class="tablenote"><strong>Note:</strong> Use the Trading API's <a href="/devzone/XML/docs/Reference/eBay/GeteBayDetails.html " target="_blank">GeteBayDetails</a> call to retrieve the latest shipping carrier and shipping service option enumeration values. When making the <a href="/devzone/XML/docs/Reference/eBay/GeteBayDetails.html " target="_blank">GeteBayDetails</a> call, include the <strong>DetailName</strong> field in the request payload and set its value to <code>ShippingServiceDetails</code>. Each valid shipping service option (returned in <strong>ShippingServiceDetails.ShippingService</strong> field) and corresponding shipping carrier (returned in <strong>ShippingServiceDetails.ShippingCarrier</strong> field) is returned in response payload.</span> */
1169
+ shippingServiceCode?: string;
1170
+ /** @description This container consists of shipping and contact information about the individual or organization to whom the fulfillment package will be shipped.<br><span class="tablenote"><strong>Note:</strong> When <b>FulfillmentInstructionsType</b> is <code>FULFILLED_BY_EBAY</code>, there will be no <b>shipTo</b> address displayed.</span><br><span class="tablenote"><strong>Note:</strong> For Digitally Delivered Goods (DDG), this address is the same as the Buyer's Registration Address.</span><br><span class="tablenote"><strong>Note:</strong> For a Global Shipping Program shipment, this is the address of the international shipping provider's domestic warehouse. The international shipping provider is responsible for delivery to the final destination address. For more information, see <a href="/api-docs/user-guides/static/trading-user-guide/global-shipping-addressing.html" target="_blank">Addressing Shipments</a>.</span> */
1171
+ shipTo?: components['schemas']['ExtendedContact'];
1172
+ /** @description This is the unique identifer of the Global Shipping Program (GSP) shipment. This field is only returned if the line item is being shipped via GSP (the value of the <b>fulfillmentStartInstructions.ebaySupportedFulfillment</b> field will be <code>true</code>. The international shipping provider uses the <b>shipToReferenceId</b> value as the primary reference number to retrieve the relevant details about the buyer, the order, and the fulfillment, so the shipment can be completed. <br><br>Sellers must include this value on the shipping label immediately above the street address of the international shipping provider. <br><br>Example: "Reference #1234567890123456" <br><br><span class="tablenote"><strong>Note:</strong> This value is the same as the <b>ShipToAddress.ReferenceID</b> value returned by the Trading API's GetOrders call.</span> */
1173
+ shipToReferenceId?: string;
1174
+ };
1175
+ /** @description This type defines the monetary value of the payment dispute, and the currency used. */
1176
+ SimpleAmount: {
1177
+ /** @description A three-letter ISO 4217 code (such as <code>USD</code> for US site) that indicates the currency of the amount in the <strong>value</strong> field. Both the <strong>value</strong> and <strong>currency</strong> fields are always returned with the <strong>amount</strong> container. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CurrencyCodeEnum'>eBay API documentation</a> */
1178
+ currency?: string;
1179
+ /** @description The monetary amount of the payment dispute. Both the <strong>value</strong> and <strong>currency</strong> fields are always returned with the <strong>amount</strong> container. */
1180
+ value?: string;
1181
+ };
1182
+ /** @description This type contains information about any sales tax applied to a line item. */
1183
+ Tax: {
1184
+ /** @description The monetary amount of the tax. The <strong>taxes</strong> array is always returned for each line item in the order, but this <strong>amount</strong> will only be returned when the line item is subject to any type of sales tax. */
1185
+ amount?: components['schemas']['Amount'];
1186
+ /** @description Tax type. This field is only available when <strong>fieldGroups</strong> is set to <code>TAX_BREAKDOWN</code>. If the order has fees, a breakdown of the fees is also provided. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:TaxTypeEnum'>eBay API documentation</a> */
1187
+ taxType?: string;
1188
+ };
1189
+ /** @description This container consists of address information that can be used by sellers for tax purpose. */
1190
+ TaxAddress: {
1191
+ /** @description The city name that can be used by sellers for tax purpose. */
1192
+ city?: string;
1193
+ /** @description The country code that can be used by sellers for tax purpose, represented as a two-letter ISO 3166-1 alpha-2 country code. For example, <strong>US</strong> represents the United States, and <strong>DE</strong> represents Germany. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CountryCodeEnum'>eBay API documentation</a> */
1194
+ countryCode?: string;
1195
+ /** @description The postal code that can be used by sellers for tax purpose. Usually referred to as Zip codes in the US. */
1196
+ postalCode?: string;
1197
+ /** @description The state name that can be used by sellers for tax purpose. */
1198
+ stateOrProvince?: string;
1199
+ };
1200
+ /** @description This type is used by the <strong>taxIdentifier</strong> container that is returned in <strong>getOrder</strong>. The <strong>taxIdentifier</strong> container consists of taxpayer identification information for buyers from Italy, Spain, or Guatemala. It is currently only returned for orders occurring on the eBay Italy or eBay Spain marketplaces.<br><br><span class="tablenote"><strong>Note:</strong> Currently, the <strong>taxIdentifier</strong> container is only returned in <strong>getOrder</strong> and not in <strong>getOrders</strong>. So, if a seller wanted to view a buyer's tax information for a particular order returned in <strong>getOrders</strong>, that seller would need to use the <strong>orderId</strong> value for that particular order, and then run a <strong>getOrder</strong> call against that order ID. </span> */
1201
+ TaxIdentifier: {
1202
+ /** @description This value is the unique tax ID associated with the buyer. The type of tax identification is shown in the <strong>taxIdentifierType</strong> field. */
1203
+ taxpayerId?: string;
1204
+ /** @description This enumeration value indicates the type of tax identification being used for the buyer. The different tax types are defined in the <strong>TaxIdentifierTypeEnum</strong> type. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:TaxIdentifierTypeEnum'>eBay API documentation</a> */
1205
+ taxIdentifierType?: string;
1206
+ /** @description This two-letter code indicates the country that issued the buyer's tax ID. The country that the two-letter code represents can be found in the <strong>CountryCodeEnum</strong> type, or in the <a href="https://www.iso.org/iso-3166-country-codes.html ">ISO 3166</a> standard. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/ba:CountryCodeEnum'>eBay API documentation</a> */
1207
+ issuingCountry?: string;
1208
+ };
1209
+ /** @description This type is used for seller provided shipment tracking information. */
1210
+ TrackingInfo: {
1211
+ /** @description This string value represents the shipment tracking number of the package. */
1212
+ shipmentTrackingNumber?: string;
1213
+ /** @description This string value represents the shipping carrier used to ship the package. */
1214
+ shippingCarrierCode?: string;
1215
+ };
1216
+ /** @description This type is used by the request payload of the <strong>updateEvidence</strong> method. The <strong>updateEvidence</strong> method is used to update an existing evidence set against a payment dispute with one or more evidence files. */
1217
+ UpdateEvidencePaymentDisputeRequest: {
1218
+ /** @description The unique identifier of the evidence set that is being updated with new evidence files.<br><br> This ID is returned under the <strong>evidence</strong> array in the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDispute" target="_blank ">getPaymentDispute</a> response. */
1219
+ evidenceId?: string;
1220
+ /** @description This field is used to indicate the type of evidence being provided through one or more evidence files. All evidence files (if more than one) should be associated with the evidence type passed in this field.<br><br>See the <a href="/api-docs/sell/fulfillment/types/api:EvidenceTypeEnum" target="_blank ">EvidenceTypeEnum</a> type for the supported evidence types. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/fulfillment/types/api:EvidenceTypeEnum'>eBay API documentation</a> */
1221
+ evidenceType?: string;
1222
+ /** @description This array is used to specify one or more evidence files that will be added to the evidence set associated with a payment dispute. At least one evidence file must be specified in the <strong>files</strong> array.<br><br> The unique identifier of an evidence file is returned in the response payload of the <strong>uploadEvidence</strong> method. */
1223
+ files?: components['schemas']['FileEvidence'][];
1224
+ /** @description This required array identifies the order line item(s) for which the evidence file(s) will be applicable. <br><Br>These values are returned under the <strong>evidenceRequests.lineItems</strong> array in the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDispute" target="_blank ">getPaymentDispute</a> response. <br><br><span class="tablenote"><b>Note:</b> Both the <strong>itemId</strong> and <strong>lineItemID</strong> fields are needed to identify each order line item.</span> */
1225
+ lineItems?: components['schemas']['OrderLineItems'][];
1226
+ };
1227
+ };
1228
+ responses: never;
1229
+ parameters: never;
1230
+ requestBodies: never;
1231
+ headers: never;
1232
+ pathItems: never;
1233
+ }
1234
+ export type $defs = Record<string, never>;
1235
+ export interface operations {
1236
+ getOrder: {
1237
+ parameters: {
1238
+ query?: {
1239
+ /** @description This parameter lets you control what is returned in the response.<br><br><span class="tablenote"><b>Note:</b> The only presently supported value is <code>TAX_BREAKDOWN</code>. This field group adds addition fields to the response that return a breakdown of taxes and fees.</span> */
1240
+ fieldGroups?: string;
1241
+ };
1242
+ header?: never;
1243
+ path: {
1244
+ /** @description This path parameter is used to specify the unique identifier of the order being retrieved.<br><br> Use the <a href="/api-docs/sell/fulfillment/resources/order/methods/getOrders" target="_blank ">getOrders</a> method to retrieve order IDs. Order ID values are also shown in My eBay/Seller Hub.<br><br><span class="tablenote"><strong>Note:</strong> <b>getOrders</b> can return orders up to two years old. Do not provide the <b>orderId</b> for an order created more than two years in the past.</span> */
1245
+ orderId: string;
1246
+ };
1247
+ cookie?: never;
1248
+ };
1249
+ requestBody?: never;
1250
+ responses: {
1251
+ /** @description Success */
1252
+ 200: {
1253
+ headers: Record<string, unknown>;
1254
+ content: {
1255
+ 'application/json': components['schemas']['Order'];
1256
+ };
1257
+ };
1258
+ /** @description Bad Request */
1259
+ 400: {
1260
+ headers: Record<string, unknown>;
1261
+ content?: never;
1262
+ };
1263
+ /** @description Not Found */
1264
+ 404: {
1265
+ headers: Record<string, unknown>;
1266
+ content?: never;
1267
+ };
1268
+ /** @description Internal Server Error */
1269
+ 500: {
1270
+ headers: Record<string, unknown>;
1271
+ content?: never;
1272
+ };
1273
+ };
1274
+ };
1275
+ getOrders: {
1276
+ parameters: {
1277
+ query?: {
1278
+ /** @description This parameter lets you control what is returned in the response.<br><br><span class="tablenote"><b>Note:</b> The only presently supported value is <code>TAX_BREAKDOWN</code>. This field group adds addition fields to the response that return a breakdown of taxes and fees.</span> */
1279
+ fieldGroups?: string;
1280
+ /** @description One or more comma-separated criteria for narrowing down the collection of orders returned by this call. These criteria correspond to specific fields in the response payload. Multiple filter criteria combine to further restrict the results. <br><br><span class="tablenote"><strong>Note:</strong> <b>getOrders</b> can return orders up to two years old. Do not set the <code>creationdate</code> filter to a date beyond two years in the past.</span><br><span class="tablenote"><strong>Note:</strong> If the <b>orderIds</b> parameter is included in the request, the <b>filter</b> parameter will be ignored.</span><br>The available criteria are as follows: <dl> <dt><code><b>creationdate</b></code></dt> <dd>The time period during which qualifying orders were created (the <b>orders.creationDate</b> field). In the URI, this is expressed as a starting timestamp, with or without an ending timestamp (in brackets). The timestamps are in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock.For example: <ul> <li><code>creationdate:[2016-02-21T08:25:43.511Z..]</code> identifies orders created on or after the given timestamp.</li> <li><code>creationdate:[2016-02-21T08:25:43.511Z..2016-04-21T08:25:43.511Z]</code> identifies orders created between the given timestamps, inclusive.</li> </ul> </dd> <dt><code><b>lastmodifieddate</b></code></dt> <dd>The time period during which qualifying orders were last modified (the <b>orders.modifiedDate</b> field). In the URI, this is expressed as a starting timestamp, with or without an ending timestamp (in brackets). The timestamps are in ISO 8601 format, which uses the 24-hour Universal Coordinated Time (UTC) clock.For example: <ul> <li><code>lastmodifieddate:[2016-05-15T08:25:43.511Z..]</code> identifies orders modified on or after the given timestamp.</li> <li><code>lastmodifieddate:[2016-05-15T08:25:43.511Z..2016-05-31T08:25:43.511Z]</code> identifies orders modified between the given timestamps, inclusive.</li> </ul> <span class="tablenote"><strong>Note:</strong> If <b>creationdate</b> and <b>lastmodifieddate</b> are both included, only <b>creationdate</b> is used.</span> <br><br></dd> <dt><code><b>orderfulfillmentstatus</b></code></dt> <dd>The degree to which qualifying orders have been shipped (the <b>orders.orderFulfillmentStatus</b> field). In the URI, this is expressed as one of the following value combinations: <ul> <li><code>orderfulfillmentstatus:{NOT_STARTED|IN_PROGRESS}</code> specifies orders for which no shipping fulfillments have been started, plus orders for which at least one shipping fulfillment has been started but not completed.</li> <li><code>orderfulfillmentstatus:{FULFILLED|IN_PROGRESS}</code> specifies orders for which all shipping fulfillments have been completed, plus orders for which at least one shipping fulfillment has been started but not completed.</li> </ul> <span class="tablenote"><strong>Note:</strong> The values <code>NOT_STARTED</code>, <code>IN_PROGRESS</code>, and <code>FULFILLED</code> can be used in various combinations, but only the combinations shown here are currently supported.</span> </dd> </dl> Here is an example of a <b>getOrders</b> call using all of these filters: <br><br> <code>GET https://api.ebay.com/sell/v1/order?<br>filter=<b>creationdate</b>:%5B2016-03-21T08:25:43.511Z..2016-04-21T08:25:43.511Z%5D,<br><b>lastmodifieddate</b>:%5B2016-05-15T08:25:43.511Z..%5D,<br><b>orderfulfillmentstatus</b>:%7BNOT_STARTED%7CIN_PROGRESS%7D</code> <br><br> <span class="tablenote"><strong>Note:</strong> This call requires that certain special characters in the URI query string be percent-encoded: <br> &nbsp;&nbsp;&nbsp;&nbsp;<code>[</code> = <code>%5B</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>]</code> = <code>%5D</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>{</code> = <code>%7B</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>|</code> = <code>%7C</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>}</code> = <code>%7D</code> <br> This query filter example uses these codes.</span> For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/fulfillment/types/api:FilterField */
1281
+ filter?: string;
1282
+ /** @description The number of orders to return per page of the result set. Use this parameter in conjunction with the <b>offset</b> parameter to control the pagination of the output. <br><br>For example, if <b>offset</b> is set to <code>10</code> and <b>limit</b> is set to <code>10</code>, the call retrieves orders 11 thru 20 from the result set. <br><br> If a limit is not set, the <b>limit</b> defaults to 50 and returns up to 50 orders. If a requested limit is more than 200, the call fails and returns an error.<br ><br> <span class="tablenote"><strong>Note:</strong> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>. If the <b>orderIds</b> parameter is included in the request, this parameter will be ignored.</span> <br><br> <b>Maximum:</b> <code>200</code> <br> <b>Default:</b> <code>50</code> */
1283
+ limit?: string;
1284
+ /** @description Specifies the number of orders to skip in the result set before returning the first order in the paginated response. <p>Combine <b>offset</b> with the <b>limit</b> query parameter to control the items returned in the response. For example, if you supply an <b>offset</b> of <code>0</code> and a <b>limit</b> of <code>10</code>, the first page of the response contains the first 10 items from the complete list of items retrieved by the call. If <b>offset</b> is <code>10</code> and <b>limit</b> is <code>20</code>, the first page of the response contains items 11-30 from the complete result set.</p> <p><b>Default:</b> 0</p> */
1285
+ offset?: string;
1286
+ /** @description A comma-separated list of the unique identifiers of the orders to retrieve (maximum 50). If one or more order ID values are specified through the <b>orderIds</b> query parameter, all other query parameters will be ignored.<br><br><span class="tablenote"><strong>Note:</strong> <b>getOrders</b> can return orders up to two years old. Do not provide the <b>orderId</b> for an order created more than two years in the past.</span> */
1287
+ orderIds?: string;
1288
+ };
1289
+ header?: never;
1290
+ path?: never;
1291
+ cookie?: never;
1292
+ };
1293
+ requestBody?: never;
1294
+ responses: {
1295
+ /** @description Success */
1296
+ 200: {
1297
+ headers: Record<string, unknown>;
1298
+ content: {
1299
+ 'application/json': components['schemas']['OrderSearchPagedCollection'];
1300
+ };
1301
+ };
1302
+ /** @description Bad Request */
1303
+ 400: {
1304
+ headers: Record<string, unknown>;
1305
+ content?: never;
1306
+ };
1307
+ /** @description Internal Server Error */
1308
+ 500: {
1309
+ headers: Record<string, unknown>;
1310
+ content?: never;
1311
+ };
1312
+ };
1313
+ };
1314
+ issueRefund: {
1315
+ parameters: {
1316
+ query?: never;
1317
+ header: {
1318
+ /** @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>. */
1319
+ 'Content-Type': string;
1320
+ };
1321
+ path: {
1322
+ /** @description This path parameter is used to specify the unique identifier of the order associated with a refund.<br><br>Use the <a href="/api-docs/sell/fulfillment/resources/order/methods/getOrders" target="_blank ">getOrders</a> method to retrieve order IDs. */
1323
+ order_id: string;
1324
+ };
1325
+ cookie?: never;
1326
+ };
1327
+ requestBody?: {
1328
+ content: {
1329
+ 'application/json': components['schemas']['IssueRefundRequest'];
1330
+ };
1331
+ };
1332
+ responses: {
1333
+ /** @description OK */
1334
+ 200: {
1335
+ headers: Record<string, unknown>;
1336
+ content: {
1337
+ 'application/json': components['schemas']['Refund'];
1338
+ };
1339
+ };
1340
+ /** @description Bad Request */
1341
+ 400: {
1342
+ headers: Record<string, unknown>;
1343
+ content?: never;
1344
+ };
1345
+ /** @description Access Forbidden */
1346
+ 403: {
1347
+ headers: Record<string, unknown>;
1348
+ content?: never;
1349
+ };
1350
+ /** @description Resource Not found */
1351
+ 404: {
1352
+ headers: Record<string, unknown>;
1353
+ content?: never;
1354
+ };
1355
+ /** @description Conflict */
1356
+ 409: {
1357
+ headers: Record<string, unknown>;
1358
+ content?: never;
1359
+ };
1360
+ /** @description Internal Server Error */
1361
+ 500: {
1362
+ headers: Record<string, unknown>;
1363
+ content?: never;
1364
+ };
1365
+ };
1366
+ };
1367
+ getShippingFulfillments: {
1368
+ parameters: {
1369
+ query?: never;
1370
+ header?: never;
1371
+ path: {
1372
+ /** @description This path parameter is used to specify the unique identifier of the order associated with the shipping fulfillments being retrieved.<br><br>Use the <a href="/api-docs/sell/fulfillment/resources/order/methods/getOrders" target="_blank ">getOrders</a> method to retrieve order IDs. Order ID values are also shown in My eBay/Seller Hub. */
1373
+ orderId: string;
1374
+ };
1375
+ cookie?: never;
1376
+ };
1377
+ requestBody?: never;
1378
+ responses: {
1379
+ /** @description Success */
1380
+ 200: {
1381
+ headers: Record<string, unknown>;
1382
+ content: {
1383
+ 'application/json': components['schemas']['ShippingFulfillmentPagedCollection'];
1384
+ };
1385
+ };
1386
+ /** @description Bad Request */
1387
+ 400: {
1388
+ headers: Record<string, unknown>;
1389
+ content?: never;
1390
+ };
1391
+ /** @description Internal Server Error */
1392
+ 500: {
1393
+ headers: Record<string, unknown>;
1394
+ content?: never;
1395
+ };
1396
+ };
1397
+ };
1398
+ createShippingFulfillment: {
1399
+ parameters: {
1400
+ query?: never;
1401
+ header: {
1402
+ /** @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>. */
1403
+ 'Content-Type': string;
1404
+ };
1405
+ path: {
1406
+ /** @description This path parameter is used to specify the unique identifier of the order associated with the shipping fulfillment being created.<br><br> Use the <a href="/api-docs/sell/fulfillment/resources/order/methods/getOrders" target="_blank ">getOrders</a> method to retrieve order IDs. */
1407
+ orderId: string;
1408
+ };
1409
+ cookie?: never;
1410
+ };
1411
+ /** @description fulfillment payload */
1412
+ requestBody: {
1413
+ content: {
1414
+ 'application/json': components['schemas']['ShippingFulfillmentDetails'];
1415
+ };
1416
+ };
1417
+ responses: {
1418
+ /** @description Created. The call also returns the following location response header: <br><br><code>{ENV}/sell/fulfillment/v1/order/{ORDERID}/shipping_fulfillment/{FULFILLMENTID}</code> <br><br>The <code>ENV</code> string is the HTTPS path to the same eBay supported environment in which this call was issued. The <code>ORDERID</code> parameter is the unique identifier of the order addressed by this call; for example, <code>01-03955-36441</code>. The <code>FULFILLMENTID</code> parameter identifies the newly created fulfillment; for example, <code>9405509699937003457459</code>. Use this Get Fulfillment URI to retrieve the contents of the new fulfillment. */
1419
+ 201: {
1420
+ headers: {
1421
+ Location?: string;
1422
+ [name: string]: unknown;
1423
+ };
1424
+ content: {
1425
+ 'application/json': Record<string, never>;
1426
+ };
1427
+ };
1428
+ /** @description Bad Request */
1429
+ 400: {
1430
+ headers: Record<string, unknown>;
1431
+ content?: never;
1432
+ };
1433
+ /** @description Conflict */
1434
+ 409: {
1435
+ headers: Record<string, unknown>;
1436
+ content?: never;
1437
+ };
1438
+ /** @description Internal Server Error */
1439
+ 500: {
1440
+ headers: Record<string, unknown>;
1441
+ content?: never;
1442
+ };
1443
+ };
1444
+ };
1445
+ getShippingFulfillment: {
1446
+ parameters: {
1447
+ query?: never;
1448
+ header?: never;
1449
+ path: {
1450
+ /** @description This path parameter is used to specify the unique identifier of the shipping fulfillment being retrieved.<br><br>Use the <a href="/api-docs/sell/fulfillment/resources/order/shipping_fulfillment/methods/getShippingFulfillments" target="_blank ">getShippingFulfillments</a> method to retrieved fulfillment IDs. */
1451
+ fulfillmentId: string;
1452
+ /** @description This path parameter is used to specify the unique identifier of the order associated with the shipping fulfillment being retrieved.<br><br> Use the <a href="/api-docs/sell/fulfillment/resources/order/methods/getOrders" target="_blank ">getOrders</a> method to retrieve order IDs. Order ID values are also shown in My eBay/Seller Hub. */
1453
+ orderId: string;
1454
+ };
1455
+ cookie?: never;
1456
+ };
1457
+ requestBody?: never;
1458
+ responses: {
1459
+ /** @description Success */
1460
+ 200: {
1461
+ headers: Record<string, unknown>;
1462
+ content: {
1463
+ 'application/json': components['schemas']['ShippingFulfillment'];
1464
+ };
1465
+ };
1466
+ /** @description Bad Request */
1467
+ 400: {
1468
+ headers: Record<string, unknown>;
1469
+ content?: never;
1470
+ };
1471
+ /** @description Not Found */
1472
+ 404: {
1473
+ headers: Record<string, unknown>;
1474
+ content?: never;
1475
+ };
1476
+ /** @description Internal Server Error */
1477
+ 500: {
1478
+ headers: Record<string, unknown>;
1479
+ content?: never;
1480
+ };
1481
+ };
1482
+ };
1483
+ getPaymentDispute: {
1484
+ parameters: {
1485
+ query?: never;
1486
+ header?: never;
1487
+ path: {
1488
+ /** @description This parameter is used to specify the unique identifier of the payment dispute being retrieved.<br><br> Use the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDisputeSummaries" target="_blank ">getPaymentDisputeSummaries</a> method to retrieve payment dispute IDs. */
1489
+ payment_dispute_id: string;
1490
+ };
1491
+ cookie?: never;
1492
+ };
1493
+ requestBody?: never;
1494
+ responses: {
1495
+ /** @description Success */
1496
+ 200: {
1497
+ headers: Record<string, unknown>;
1498
+ content: {
1499
+ 'application/json': components['schemas']['PaymentDispute'];
1500
+ };
1501
+ };
1502
+ /** @description Bad Request */
1503
+ 400: {
1504
+ headers: Record<string, unknown>;
1505
+ content?: never;
1506
+ };
1507
+ /** @description Invalid Payment Dispute Id */
1508
+ 404: {
1509
+ headers: Record<string, unknown>;
1510
+ content?: never;
1511
+ };
1512
+ /** @description Internal Server Error */
1513
+ 500: {
1514
+ headers: Record<string, unknown>;
1515
+ content?: never;
1516
+ };
1517
+ };
1518
+ };
1519
+ fetchEvidenceContent: {
1520
+ parameters: {
1521
+ query: {
1522
+ /** @description This query parameter is used to specify the unique identifier of the evidential file set.<br><br>The identifier of an evidential file set for a payment dispute is returned under the <strong>evidence</strong> array in the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDispute" target="_blank ">getPaymentDispute</a> response. */
1523
+ evidence_id: string;
1524
+ /** @description This query parameter is used to specify the unique identifier of an evidential file. This file must belong to the evidential file set identified through the <strong>evidence_id</strong> query parameter.<br><br>The identifier of each evidential file is returned under the <strong>evidence.files</strong> array in the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDispute" target="_blank ">getPaymentDispute</a> response. */
1525
+ file_id: string;
1526
+ };
1527
+ header?: never;
1528
+ path: {
1529
+ /** @description This path parameter is used to specify the unique identifier of the payment dispute associated with the evidence file being retrieved.<br><br> Use the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDisputeSummaries" target="_blank ">getPaymentDisputeSummaries</a> method to retrieve payment dispute IDs. */
1530
+ payment_dispute_id: string;
1531
+ };
1532
+ cookie?: never;
1533
+ };
1534
+ requestBody?: never;
1535
+ responses: {
1536
+ /** @description Success */
1537
+ 200: {
1538
+ headers: Record<string, unknown>;
1539
+ content: {
1540
+ 'application/octet-stream': string[];
1541
+ };
1542
+ };
1543
+ /** @description Bad Request */
1544
+ 400: {
1545
+ headers: Record<string, unknown>;
1546
+ content?: never;
1547
+ };
1548
+ /** @description Invalid Payment Dispute Id */
1549
+ 404: {
1550
+ headers: Record<string, unknown>;
1551
+ content?: never;
1552
+ };
1553
+ /** @description Internal Server Error */
1554
+ 500: {
1555
+ headers: Record<string, unknown>;
1556
+ content?: never;
1557
+ };
1558
+ };
1559
+ };
1560
+ getActivities: {
1561
+ parameters: {
1562
+ query?: never;
1563
+ header?: never;
1564
+ path: {
1565
+ /** @description This parameter is used to specify the unique identifier of the payment dispute associated with the activity log being retrieved.<br><br> Use the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDisputeSummaries" target="_blank ">getPaymentDisputeSummaries</a> method to retrieve payment dispute IDs. */
1566
+ payment_dispute_id: string;
1567
+ };
1568
+ cookie?: never;
1569
+ };
1570
+ requestBody?: never;
1571
+ responses: {
1572
+ /** @description Success */
1573
+ 200: {
1574
+ headers: Record<string, unknown>;
1575
+ content: {
1576
+ 'application/json': components['schemas']['PaymentDisputeActivityHistory'];
1577
+ };
1578
+ };
1579
+ /** @description Bad Request */
1580
+ 400: {
1581
+ headers: Record<string, unknown>;
1582
+ content?: never;
1583
+ };
1584
+ /** @description Invalid Payment Dispute Id */
1585
+ 404: {
1586
+ headers: Record<string, unknown>;
1587
+ content?: never;
1588
+ };
1589
+ /** @description Internal Server Error */
1590
+ 500: {
1591
+ headers: Record<string, unknown>;
1592
+ content?: never;
1593
+ };
1594
+ };
1595
+ };
1596
+ getPaymentDisputeSummaries: {
1597
+ parameters: {
1598
+ query?: {
1599
+ /** @description This filter is used if the seller wishes to retrieve one or more payment disputes filed against a specific order. It is possible that there can be more than one dispute filed against an order if the order has multiple line items. If this filter is used, any other filters are ignored.<br><br>Use the <a href="/api-docs/sell/fulfillment/resources/order/methods/getOrders" target="_blank ">getOrders</a> method to retrieve order IDs. Order ID values are also shown in My eBay/Seller Hub. */
1600
+ order_id?: string;
1601
+ /** @description This filter is used if the seller wishes to retrieve one or more payment disputes opened by a specific buyer. The string that is passed in to this query parameter is the eBay user ID of the buyer. */
1602
+ buyer_username?: string;
1603
+ /** @description The <b>open_date_from</b> and/or <b>open_date_to</b> date filters are used if the seller wishes to retrieve payment disputes opened within a specific date range. A maximum date range that may be set with the <b>open_date_from</b> and/or <b>open_date_to</b> filters is 90 days. These date filters use the ISO-8601 24-hour date and time format, and time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu.<br><br>The <b>open_date_from</b> field sets the beginning date of the date range, and can be set as far back as 18 months from the present time. If a <b>open_date_from</b> field is used, but a <b>open_date_to</b> field is not used, the <b>open_date_to</b> value will default to 90 days after the date specified in the <b>open_date_from</b> field, or to the present time if less than 90 days in the past.<br><br>The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
1604
+ open_date_from?: string;
1605
+ /** @description The <b>open_date_from</b> and/or <b>open_date_to</b> date filters are used if the seller wishes to retrieve payment disputes opened within a specific date range. A maximum date range that may be set with the <b>open_date_from</b> and/or <b>open_date_to</b> filters is 90 days. These date filters use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu.<br><br>The <b>open_date_to</b> field sets the ending date of the date range, and can be set up to 90 days from the date set in the <b>open_date_from</b> field. <br><br>The ISO-8601 format looks like this: <em>yyyy-MM-ddThh:mm.ss.sssZ</em>. An example would be <code>2019-08-04T19:09:02.768Z</code>. */
1606
+ open_date_to?: string;
1607
+ /** @description This filter is used if the seller wishes to only retrieve payment disputes in one or more specific states. To filter by more than one status value, a separate <b>payment_dispute_status</b> filter must be used for each value, as shown below:<br><br><i>https://apiz.ebay.com/sell/fulfillment/v1/payment_dispute_summary?payment_dispute_status=OPEN&payment_dispute_status=ACTION_NEEDED</i> <br><br>If no <b>payment_dispute_status</b> filter is used, payment disputes in all states are returned in the response.<br><br>See <a href="/api-docs/sell/fulfillment/types/api:DisputeStateEnum" target="_blank ">DisputeStatusEnum</a> type for supported values. */
1608
+ payment_dispute_status?: string;
1609
+ /** @description The value passed in this query parameter sets the maximum number of payment disputes to return per page of data. The value passed in this field should be an integer from 1 to 200. If this query parameter is not set, up to 200 records will be returned on each page of results.<br><br><b>Min</b>: 1<br><br> <b>Max</b>: 200<br><br><b>Default</b>: 200 */
1610
+ limit?: string;
1611
+ /** @description This field is used to specify the number of records to skip in the result set before returning the first payment dispute in the paginated response. A zero-based index is used, so if you set the <b>offset</b> value to <code>0</code> (default value), the first payment dispute in the result set appears at the top of the response. <br><br>Combine <b>offset</b> with the <b>limit</b> parameter to control the payment disputes returned in the response. For example, if you supply an <b>offset</b> value of <code>0</code> and a <b>limit</b> value of <code>10</code>, the response will contain the first 10 payment disputes from the result set that matches the input criteria. If you supply an <b>offset</b> value of <code>10</code> and a <b>limit</b> value of <code>20</code>, the response will contain payment disputes 11-30 from the result set that matches the input criteria.<br><br><b>Min</b>: 0 <br><br><b>Default</b>: 0 */
1612
+ offset?: string;
1613
+ };
1614
+ header?: never;
1615
+ path?: never;
1616
+ cookie?: never;
1617
+ };
1618
+ requestBody?: never;
1619
+ responses: {
1620
+ /** @description Success */
1621
+ 200: {
1622
+ headers: Record<string, unknown>;
1623
+ content: {
1624
+ 'application/json': components['schemas']['DisputeSummaryResponse'];
1625
+ };
1626
+ };
1627
+ /** @description Bad Request */
1628
+ 400: {
1629
+ headers: Record<string, unknown>;
1630
+ content?: never;
1631
+ };
1632
+ /** @description Internal Server Error */
1633
+ 500: {
1634
+ headers: Record<string, unknown>;
1635
+ content?: never;
1636
+ };
1637
+ };
1638
+ };
1639
+ contestPaymentDispute: {
1640
+ parameters: {
1641
+ query?: never;
1642
+ header: {
1643
+ /** @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>. */
1644
+ 'Content-Type': string;
1645
+ };
1646
+ path: {
1647
+ /** @description This parameter is used to specify the unique identifier of the payment dispute being contested. <br><br> Use the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDisputeSummaries" target="_blank ">getPaymentDisputeSummaries</a> method to retrieve payment dispute IDs. */
1648
+ payment_dispute_id: string;
1649
+ };
1650
+ cookie?: never;
1651
+ };
1652
+ requestBody?: {
1653
+ content: {
1654
+ 'application/json': components['schemas']['ContestPaymentDisputeRequest'];
1655
+ };
1656
+ };
1657
+ responses: {
1658
+ /** @description Success */
1659
+ 204: {
1660
+ headers: Record<string, unknown>;
1661
+ content?: never;
1662
+ };
1663
+ /** @description Bad Request */
1664
+ 400: {
1665
+ headers: Record<string, unknown>;
1666
+ content?: never;
1667
+ };
1668
+ /** @description Not Found */
1669
+ 404: {
1670
+ headers: Record<string, unknown>;
1671
+ content?: never;
1672
+ };
1673
+ /** @description Conflict */
1674
+ 409: {
1675
+ headers: Record<string, unknown>;
1676
+ content?: never;
1677
+ };
1678
+ /** @description Internal Server Error */
1679
+ 500: {
1680
+ headers: Record<string, unknown>;
1681
+ content?: never;
1682
+ };
1683
+ };
1684
+ };
1685
+ acceptPaymentDispute: {
1686
+ parameters: {
1687
+ query?: never;
1688
+ header: {
1689
+ /** @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>. */
1690
+ 'Content-Type': string;
1691
+ };
1692
+ path: {
1693
+ /** @description This parameter is used to specify the unique identifier of the payment dispute being accepted. <br><br> Use the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDisputeSummaries" target="_blank ">getPaymentDisputeSummaries</a> method to retrieve payment dispute IDs. */
1694
+ payment_dispute_id: string;
1695
+ };
1696
+ cookie?: never;
1697
+ };
1698
+ requestBody?: {
1699
+ content: {
1700
+ 'application/json': components['schemas']['AcceptPaymentDisputeRequest'];
1701
+ };
1702
+ };
1703
+ responses: {
1704
+ /** @description Success */
1705
+ 204: {
1706
+ headers: Record<string, unknown>;
1707
+ content?: never;
1708
+ };
1709
+ /** @description Bad Request */
1710
+ 400: {
1711
+ headers: Record<string, unknown>;
1712
+ content?: never;
1713
+ };
1714
+ /** @description Not Found */
1715
+ 404: {
1716
+ headers: Record<string, unknown>;
1717
+ content?: never;
1718
+ };
1719
+ /** @description Conflict */
1720
+ 409: {
1721
+ headers: Record<string, unknown>;
1722
+ content?: never;
1723
+ };
1724
+ /** @description Internal Server Error */
1725
+ 500: {
1726
+ headers: Record<string, unknown>;
1727
+ content?: never;
1728
+ };
1729
+ };
1730
+ };
1731
+ uploadEvidenceFile: {
1732
+ parameters: {
1733
+ query?: never;
1734
+ header: {
1735
+ /** @description This header indicates the format of the request body provided by the client. Its value should be set to <b>multipart/form-data</b>. <br><br> For more information, refer to <a href="/api-docs/static/rest-request-components.html#HTTP" target="_blank ">HTTP request headers</a>. */
1736
+ 'Content-Type': string;
1737
+ };
1738
+ path: {
1739
+ /** @description This parameter is used to specify the unique identifier of the contested payment dispute for which the user intends to upload an evidence file.<br><br> Use the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDisputeSummaries" target="_blank ">getPaymentDisputeSummaries</a> method to retrieve payment dispute IDs. */
1740
+ payment_dispute_id: string;
1741
+ };
1742
+ cookie?: never;
1743
+ };
1744
+ requestBody?: never;
1745
+ responses: {
1746
+ /** @description Success */
1747
+ 200: {
1748
+ headers: Record<string, unknown>;
1749
+ content: {
1750
+ 'application/json': components['schemas']['FileEvidence'];
1751
+ };
1752
+ };
1753
+ /** @description Bad Request */
1754
+ 400: {
1755
+ headers: Record<string, unknown>;
1756
+ content?: never;
1757
+ };
1758
+ /** @description Not Found */
1759
+ 404: {
1760
+ headers: Record<string, unknown>;
1761
+ content?: never;
1762
+ };
1763
+ /** @description Conflict */
1764
+ 409: {
1765
+ headers: Record<string, unknown>;
1766
+ content?: never;
1767
+ };
1768
+ /** @description Internal Server Error */
1769
+ 500: {
1770
+ headers: Record<string, unknown>;
1771
+ content?: never;
1772
+ };
1773
+ };
1774
+ };
1775
+ addEvidence: {
1776
+ parameters: {
1777
+ query?: never;
1778
+ header: {
1779
+ /** @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>. */
1780
+ 'Content-Type': string;
1781
+ };
1782
+ path: {
1783
+ /** @description This parameter is used to specify the unique identifier of the contested payment dispute for which the seller wishes to add evidence files. <br><br> Use the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDisputeSummaries" target="_blank ">getPaymentDisputeSummaries</a> method to retrieve payment dispute IDs. */
1784
+ payment_dispute_id: string;
1785
+ };
1786
+ cookie?: never;
1787
+ };
1788
+ requestBody?: {
1789
+ content: {
1790
+ 'application/json': components['schemas']['AddEvidencePaymentDisputeRequest'];
1791
+ };
1792
+ };
1793
+ responses: {
1794
+ /** @description Success */
1795
+ 200: {
1796
+ headers: Record<string, unknown>;
1797
+ content: {
1798
+ 'application/json': components['schemas']['AddEvidencePaymentDisputeResponse'];
1799
+ };
1800
+ };
1801
+ /** @description Bad Request */
1802
+ 400: {
1803
+ headers: Record<string, unknown>;
1804
+ content?: never;
1805
+ };
1806
+ /** @description Not Found */
1807
+ 404: {
1808
+ headers: Record<string, unknown>;
1809
+ content?: never;
1810
+ };
1811
+ /** @description Conflict */
1812
+ 409: {
1813
+ headers: Record<string, unknown>;
1814
+ content?: never;
1815
+ };
1816
+ /** @description Internal Server Error */
1817
+ 500: {
1818
+ headers: Record<string, unknown>;
1819
+ content?: never;
1820
+ };
1821
+ };
1822
+ };
1823
+ updateEvidence: {
1824
+ parameters: {
1825
+ query?: never;
1826
+ header: {
1827
+ /** @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>. */
1828
+ 'Content-Type': string;
1829
+ };
1830
+ path: {
1831
+ /** @description This parameter is used to specify the unique identifier of the contested payment dispute for which the user plans to update the evidence set.<br><br> Use the <a href="/api-docs/sell/fulfillment/resources/payment_dispute/methods/getPaymentDisputeSummaries" target="_blank ">getPaymentDisputeSummaries</a> method to retrieve payment dispute IDs. */
1832
+ payment_dispute_id: string;
1833
+ };
1834
+ cookie?: never;
1835
+ };
1836
+ requestBody?: {
1837
+ content: {
1838
+ 'application/json': components['schemas']['UpdateEvidencePaymentDisputeRequest'];
1839
+ };
1840
+ };
1841
+ responses: {
1842
+ /** @description Success */
1843
+ 204: {
1844
+ headers: Record<string, unknown>;
1845
+ content?: never;
1846
+ };
1847
+ /** @description Bad Request */
1848
+ 400: {
1849
+ headers: Record<string, unknown>;
1850
+ content?: never;
1851
+ };
1852
+ /** @description Not Found */
1853
+ 404: {
1854
+ headers: Record<string, unknown>;
1855
+ content?: never;
1856
+ };
1857
+ /** @description Conflict */
1858
+ 409: {
1859
+ headers: Record<string, unknown>;
1860
+ content?: never;
1861
+ };
1862
+ /** @description Internal Server Error */
1863
+ 500: {
1864
+ headers: Record<string, unknown>;
1865
+ content?: never;
1866
+ };
1867
+ };
1868
+ };
1869
+ }