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.
- package/README.md +1 -1
- package/dist/api/apiFactory.js +5 -5
- package/dist/api/restful/buy/browse/index.js +9 -9
- package/dist/api/restful/buy/deal/index.js +3 -3
- package/dist/api/restful/buy/feed/index.js +4 -4
- package/dist/api/restful/buy/marketing/index.js +3 -3
- package/dist/api/restful/buy/marketplaceInsights/index.d.ts +1 -1
- package/dist/api/restful/buy/marketplaceInsights/index.js +3 -3
- package/dist/api/restful/buy/order/index.js +3 -3
- package/dist/api/restful/commerce/catalog/index.js +4 -4
- package/dist/api/restful/commerce/charity/index.js +2 -2
- package/dist/api/restful/commerce/identity/index.js +1 -1
- package/dist/api/restful/commerce/message/index.js +6 -6
- package/dist/api/restful/commerce/notification/index.js +7 -7
- package/dist/api/restful/commerce/taxonomy/index.d.ts +1 -1
- package/dist/api/restful/commerce/taxonomy/index.js +4 -3
- package/dist/api/restful/commerce/translation/index.js +1 -1
- package/dist/api/restful/developer/analytics/index.js +2 -2
- package/dist/api/restful/developer/keyManagement/index.js +2 -2
- package/dist/api/restful/index.js +1 -1
- package/dist/api/restful/postOrder/cancellation/index.js +3 -3
- package/dist/api/restful/postOrder/case/index.js +1 -1
- package/dist/api/restful/postOrder/inquiry/index.js +3 -3
- package/dist/api/restful/postOrder/return/index.js +7 -7
- package/dist/api/restful/sell/account/v1.js +21 -21
- package/dist/api/restful/sell/account/v2.js +1 -1
- package/dist/api/restful/sell/analytics/index.js +2 -2
- package/dist/api/restful/sell/compliance/index.js +3 -3
- package/dist/api/restful/sell/feed/index.d.ts +3 -3
- package/dist/api/restful/sell/feed/index.js +16 -16
- package/dist/api/restful/sell/finances/index.d.ts +3 -3
- package/dist/api/restful/sell/finances/index.js +14 -14
- package/dist/api/restful/sell/fulfillment/index.d.ts +1 -1
- package/dist/api/restful/sell/fulfillment/index.js +4 -4
- package/dist/api/restful/sell/inventory/index.d.ts +3 -3
- package/dist/api/restful/sell/inventory/index.js +22 -22
- package/dist/api/restful/sell/listing/index.js +1 -1
- package/dist/api/restful/sell/logistics/index.js +2 -2
- package/dist/api/restful/sell/marketing/index.js +21 -21
- package/dist/api/restful/sell/negotiation/index.js +2 -2
- package/dist/api/restful/sell/recommendation/index.js +1 -1
- package/dist/api/traditional/XMLRequest.d.ts +1 -3
- package/dist/api/traditional/XMLRequest.js +2 -4
- package/dist/auth/oAuth2.js +1 -1
- package/dist/ebay-api.min.mjs +1 -1
- package/dist/errors/index.js +2 -2
- package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +561 -111
- package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +171 -30
- package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +200 -28
- package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +114 -20
- package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +52 -17
- package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +84 -12
- package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +1478 -179
- package/dist/types/restful/specs/cancellation_oas3.d.ts +179 -9
- package/dist/types/restful/specs/case_oas3.d.ts +173 -9
- package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +323 -75
- package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +110 -13
- package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +39 -6
- package/dist/types/restful/specs/commerce_media_v1_beta_oas3.d.ts +150 -23
- package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +623 -72
- package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +339 -45
- package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +40 -8
- package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +67 -11
- package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +134 -18
- package/dist/types/restful/specs/inquiry_oas3.d.ts +271 -13
- package/dist/types/restful/specs/return_oas3.d.ts +761 -35
- package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +1503 -187
- package/dist/types/restful/specs/sell_account_v2_oas3.d.ts +155 -21
- package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +174 -32
- package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +128 -21
- package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +880 -103
- package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +261 -28
- package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +618 -98
- package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +1257 -210
- package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +38 -9
- package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +255 -36
- package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +3201 -435
- package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +361 -63
- package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +82 -14
- package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +43 -10
- package/lib/api/apiFactory.js +4 -4
- package/lib/api/restful/buy/browse/index.js +9 -9
- package/lib/api/restful/buy/deal/index.js +3 -3
- package/lib/api/restful/buy/feed/index.js +4 -4
- package/lib/api/restful/buy/marketing/index.js +3 -3
- package/lib/api/restful/buy/marketplaceInsights/index.d.ts +1 -1
- package/lib/api/restful/buy/marketplaceInsights/index.js +3 -3
- package/lib/api/restful/buy/order/index.js +3 -3
- package/lib/api/restful/commerce/catalog/index.js +4 -4
- package/lib/api/restful/commerce/charity/index.js +2 -2
- package/lib/api/restful/commerce/identity/index.js +1 -1
- package/lib/api/restful/commerce/message/index.js +6 -6
- package/lib/api/restful/commerce/notification/index.js +7 -7
- package/lib/api/restful/commerce/taxonomy/index.d.ts +1 -1
- package/lib/api/restful/commerce/taxonomy/index.js +4 -3
- package/lib/api/restful/commerce/translation/index.js +1 -1
- package/lib/api/restful/developer/analytics/index.js +2 -2
- package/lib/api/restful/developer/keyManagement/index.js +2 -2
- package/lib/api/restful/index.js +1 -1
- package/lib/api/restful/postOrder/cancellation/index.js +3 -3
- package/lib/api/restful/postOrder/case/index.js +1 -1
- package/lib/api/restful/postOrder/inquiry/index.js +3 -3
- package/lib/api/restful/postOrder/return/index.js +7 -7
- package/lib/api/restful/sell/account/v1.js +21 -21
- package/lib/api/restful/sell/account/v2.js +1 -1
- package/lib/api/restful/sell/analytics/index.js +2 -2
- package/lib/api/restful/sell/compliance/index.js +3 -3
- package/lib/api/restful/sell/feed/index.d.ts +3 -3
- package/lib/api/restful/sell/feed/index.js +16 -16
- package/lib/api/restful/sell/finances/index.d.ts +3 -3
- package/lib/api/restful/sell/finances/index.js +14 -14
- package/lib/api/restful/sell/fulfillment/index.d.ts +1 -1
- package/lib/api/restful/sell/fulfillment/index.js +4 -4
- package/lib/api/restful/sell/inventory/index.d.ts +3 -3
- package/lib/api/restful/sell/inventory/index.js +22 -22
- package/lib/api/restful/sell/listing/index.js +1 -1
- package/lib/api/restful/sell/logistics/index.js +2 -2
- package/lib/api/restful/sell/marketing/index.js +21 -21
- package/lib/api/restful/sell/negotiation/index.js +2 -2
- package/lib/api/restful/sell/recommendation/index.js +1 -1
- package/lib/api/traditional/XMLRequest.d.ts +1 -3
- package/lib/api/traditional/XMLRequest.js +2 -4
- package/lib/auth/oAuth2.js +1 -1
- package/lib/ebay-api.min.js +2 -2
- package/lib/errors/index.js +2 -2
- package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +561 -111
- package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +171 -30
- package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +200 -28
- package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +114 -20
- package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +52 -17
- package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +84 -12
- package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +1478 -179
- package/lib/types/restful/specs/cancellation_oas3.d.ts +179 -9
- package/lib/types/restful/specs/case_oas3.d.ts +173 -9
- package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +323 -75
- package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +110 -13
- package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +39 -6
- package/lib/types/restful/specs/commerce_media_v1_beta_oas3.d.ts +150 -23
- package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +623 -72
- package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +339 -45
- package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +40 -8
- package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +67 -11
- package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +134 -18
- package/lib/types/restful/specs/inquiry_oas3.d.ts +271 -13
- package/lib/types/restful/specs/return_oas3.d.ts +761 -35
- package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +1503 -187
- package/lib/types/restful/specs/sell_account_v2_oas3.d.ts +155 -21
- package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +174 -32
- package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +128 -21
- package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +880 -103
- package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +261 -28
- package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +618 -98
- package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +1257 -210
- package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +38 -9
- package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +255 -36
- package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +3201 -435
- package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +361 -63
- package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +82 -14
- package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +43 -10
- package/package.json +10 -9
package/dist/errors/index.js
CHANGED
|
@@ -58,7 +58,7 @@ export class EBayInvalidScope extends EBayApiError {
|
|
|
58
58
|
function getEBayError(data) {
|
|
59
59
|
if (!data) {
|
|
60
60
|
return {
|
|
61
|
-
message:
|
|
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:
|
|
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
|
}
|