ebay-api 9.4.0 → 9.4.1

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 (160) hide show
  1. package/README.md +1 -1
  2. package/dist/api/apiFactory.js +5 -5
  3. package/dist/api/restful/buy/browse/index.js +9 -9
  4. package/dist/api/restful/buy/deal/index.js +3 -3
  5. package/dist/api/restful/buy/feed/index.js +4 -4
  6. package/dist/api/restful/buy/marketing/index.js +3 -3
  7. package/dist/api/restful/buy/marketplaceInsights/index.d.ts +1 -1
  8. package/dist/api/restful/buy/marketplaceInsights/index.js +3 -3
  9. package/dist/api/restful/buy/order/index.js +3 -3
  10. package/dist/api/restful/commerce/catalog/index.js +4 -4
  11. package/dist/api/restful/commerce/charity/index.js +2 -2
  12. package/dist/api/restful/commerce/identity/index.js +1 -1
  13. package/dist/api/restful/commerce/message/index.js +6 -6
  14. package/dist/api/restful/commerce/notification/index.js +7 -7
  15. package/dist/api/restful/commerce/taxonomy/index.d.ts +1 -1
  16. package/dist/api/restful/commerce/taxonomy/index.js +4 -3
  17. package/dist/api/restful/commerce/translation/index.js +1 -1
  18. package/dist/api/restful/developer/analytics/index.js +2 -2
  19. package/dist/api/restful/developer/keyManagement/index.js +2 -2
  20. package/dist/api/restful/index.js +1 -1
  21. package/dist/api/restful/postOrder/cancellation/index.js +3 -3
  22. package/dist/api/restful/postOrder/case/index.js +1 -1
  23. package/dist/api/restful/postOrder/inquiry/index.js +3 -3
  24. package/dist/api/restful/postOrder/return/index.js +7 -7
  25. package/dist/api/restful/sell/account/v1.js +21 -21
  26. package/dist/api/restful/sell/account/v2.js +1 -1
  27. package/dist/api/restful/sell/analytics/index.js +2 -2
  28. package/dist/api/restful/sell/compliance/index.js +3 -3
  29. package/dist/api/restful/sell/feed/index.d.ts +3 -3
  30. package/dist/api/restful/sell/feed/index.js +16 -16
  31. package/dist/api/restful/sell/finances/index.d.ts +3 -3
  32. package/dist/api/restful/sell/finances/index.js +14 -14
  33. package/dist/api/restful/sell/fulfillment/index.d.ts +1 -1
  34. package/dist/api/restful/sell/fulfillment/index.js +4 -4
  35. package/dist/api/restful/sell/inventory/index.d.ts +3 -3
  36. package/dist/api/restful/sell/inventory/index.js +22 -22
  37. package/dist/api/restful/sell/listing/index.js +1 -1
  38. package/dist/api/restful/sell/logistics/index.js +2 -2
  39. package/dist/api/restful/sell/marketing/index.js +21 -21
  40. package/dist/api/restful/sell/negotiation/index.js +2 -2
  41. package/dist/api/restful/sell/recommendation/index.js +1 -1
  42. package/dist/api/traditional/XMLRequest.d.ts +1 -3
  43. package/dist/api/traditional/XMLRequest.js +2 -4
  44. package/dist/auth/oAuth2.js +1 -1
  45. package/dist/ebay-api.min.mjs +1 -1
  46. package/dist/errors/index.js +2 -2
  47. package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +561 -111
  48. package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +171 -30
  49. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +200 -28
  50. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +114 -20
  51. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +52 -17
  52. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +84 -12
  53. package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +1478 -179
  54. package/dist/types/restful/specs/cancellation_oas3.d.ts +179 -9
  55. package/dist/types/restful/specs/case_oas3.d.ts +173 -9
  56. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +323 -75
  57. package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +110 -13
  58. package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +39 -6
  59. package/dist/types/restful/specs/commerce_media_v1_beta_oas3.d.ts +150 -23
  60. package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +623 -72
  61. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +339 -45
  62. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +40 -8
  63. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +67 -11
  64. package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +134 -18
  65. package/dist/types/restful/specs/inquiry_oas3.d.ts +271 -13
  66. package/dist/types/restful/specs/return_oas3.d.ts +761 -35
  67. package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +1503 -187
  68. package/dist/types/restful/specs/sell_account_v2_oas3.d.ts +155 -21
  69. package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +174 -32
  70. package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +128 -21
  71. package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +880 -103
  72. package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +261 -28
  73. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +618 -98
  74. package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +1257 -210
  75. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +38 -9
  76. package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +255 -36
  77. package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +3201 -435
  78. package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +361 -63
  79. package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +82 -14
  80. package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +43 -10
  81. package/lib/api/apiFactory.js +4 -4
  82. package/lib/api/restful/buy/browse/index.js +9 -9
  83. package/lib/api/restful/buy/deal/index.js +3 -3
  84. package/lib/api/restful/buy/feed/index.js +4 -4
  85. package/lib/api/restful/buy/marketing/index.js +3 -3
  86. package/lib/api/restful/buy/marketplaceInsights/index.d.ts +1 -1
  87. package/lib/api/restful/buy/marketplaceInsights/index.js +3 -3
  88. package/lib/api/restful/buy/order/index.js +3 -3
  89. package/lib/api/restful/commerce/catalog/index.js +4 -4
  90. package/lib/api/restful/commerce/charity/index.js +2 -2
  91. package/lib/api/restful/commerce/identity/index.js +1 -1
  92. package/lib/api/restful/commerce/message/index.js +6 -6
  93. package/lib/api/restful/commerce/notification/index.js +7 -7
  94. package/lib/api/restful/commerce/taxonomy/index.d.ts +1 -1
  95. package/lib/api/restful/commerce/taxonomy/index.js +4 -3
  96. package/lib/api/restful/commerce/translation/index.js +1 -1
  97. package/lib/api/restful/developer/analytics/index.js +2 -2
  98. package/lib/api/restful/developer/keyManagement/index.js +2 -2
  99. package/lib/api/restful/index.js +1 -1
  100. package/lib/api/restful/postOrder/cancellation/index.js +3 -3
  101. package/lib/api/restful/postOrder/case/index.js +1 -1
  102. package/lib/api/restful/postOrder/inquiry/index.js +3 -3
  103. package/lib/api/restful/postOrder/return/index.js +7 -7
  104. package/lib/api/restful/sell/account/v1.js +21 -21
  105. package/lib/api/restful/sell/account/v2.js +1 -1
  106. package/lib/api/restful/sell/analytics/index.js +2 -2
  107. package/lib/api/restful/sell/compliance/index.js +3 -3
  108. package/lib/api/restful/sell/feed/index.d.ts +3 -3
  109. package/lib/api/restful/sell/feed/index.js +16 -16
  110. package/lib/api/restful/sell/finances/index.d.ts +3 -3
  111. package/lib/api/restful/sell/finances/index.js +14 -14
  112. package/lib/api/restful/sell/fulfillment/index.d.ts +1 -1
  113. package/lib/api/restful/sell/fulfillment/index.js +4 -4
  114. package/lib/api/restful/sell/inventory/index.d.ts +3 -3
  115. package/lib/api/restful/sell/inventory/index.js +22 -22
  116. package/lib/api/restful/sell/listing/index.js +1 -1
  117. package/lib/api/restful/sell/logistics/index.js +2 -2
  118. package/lib/api/restful/sell/marketing/index.js +21 -21
  119. package/lib/api/restful/sell/negotiation/index.js +2 -2
  120. package/lib/api/restful/sell/recommendation/index.js +1 -1
  121. package/lib/api/traditional/XMLRequest.d.ts +1 -3
  122. package/lib/api/traditional/XMLRequest.js +2 -4
  123. package/lib/auth/oAuth2.js +1 -1
  124. package/lib/ebay-api.min.js +2 -2
  125. package/lib/errors/index.js +2 -2
  126. package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +561 -111
  127. package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +171 -30
  128. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +200 -28
  129. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +114 -20
  130. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +52 -17
  131. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +84 -12
  132. package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +1478 -179
  133. package/lib/types/restful/specs/cancellation_oas3.d.ts +179 -9
  134. package/lib/types/restful/specs/case_oas3.d.ts +173 -9
  135. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +323 -75
  136. package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +110 -13
  137. package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +39 -6
  138. package/lib/types/restful/specs/commerce_media_v1_beta_oas3.d.ts +150 -23
  139. package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +623 -72
  140. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +339 -45
  141. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +40 -8
  142. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +67 -11
  143. package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +134 -18
  144. package/lib/types/restful/specs/inquiry_oas3.d.ts +271 -13
  145. package/lib/types/restful/specs/return_oas3.d.ts +761 -35
  146. package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +1503 -187
  147. package/lib/types/restful/specs/sell_account_v2_oas3.d.ts +155 -21
  148. package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +174 -32
  149. package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +128 -21
  150. package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +880 -103
  151. package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +261 -28
  152. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +618 -98
  153. package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +1257 -210
  154. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +38 -9
  155. package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +255 -36
  156. package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +3201 -435
  157. package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +361 -63
  158. package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +82 -14
  159. package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +43 -10
  160. package/package.json +10 -9
@@ -58,7 +58,7 @@ export class EBayInvalidScope extends EBayApiError {
58
58
  function getEBayError(data) {
59
59
  if (!data) {
60
60
  return {
61
- message: `eBay API Error`,
61
+ message: 'eBay API Error',
62
62
  description: 'No data is set in response result.'
63
63
  };
64
64
  }
@@ -83,7 +83,7 @@ function getEBayError(data) {
83
83
  return Array.isArray(data.errorMessage?.error) ? data.errorMessage.error[0] : data.errorMessage.error;
84
84
  }
85
85
  return {
86
- message: `Unknown eBay API Error`,
86
+ message: 'Unknown eBay API Error',
87
87
  description: 'This error response is not known. You should investigate the "meta.res.data" for more information.'
88
88
  };
89
89
  }