ebay-api 8.5.0 → 8.6.0
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 +4 -4
- package/dist/api/apiFactory.d.ts +0 -3
- package/dist/api/apiFactory.js +0 -4
- package/dist/api/base.d.ts +0 -3
- package/dist/api/base.js +0 -3
- package/dist/api/digitalSignature.d.ts +0 -33
- package/dist/api/digitalSignature.js +1 -41
- package/dist/api/index.d.ts +0 -3
- package/dist/api/index.js +0 -3
- package/dist/api/restful/buy/browse/index.d.ts +0 -66
- package/dist/api/restful/buy/browse/index.js +0 -73
- package/dist/api/restful/buy/deal/index.d.ts +0 -32
- package/dist/api/restful/buy/deal/index.js +0 -32
- package/dist/api/restful/buy/feed/index.d.ts +0 -33
- package/dist/api/restful/buy/feed/index.js +0 -33
- package/dist/api/restful/buy/marketing/index.d.ts +0 -18
- package/dist/api/restful/buy/marketing/index.js +0 -22
- package/dist/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
- package/dist/api/restful/buy/marketplaceInsights/index.js +0 -21
- package/dist/api/restful/buy/offer/index.d.ts +0 -15
- package/dist/api/restful/buy/offer/index.js +0 -15
- package/dist/api/restful/buy/order/index.d.ts +0 -227
- package/dist/api/restful/buy/order/index.js +0 -227
- package/dist/api/restful/commerce/catalog/index.d.ts +0 -54
- package/dist/api/restful/commerce/catalog/index.js +0 -54
- package/dist/api/restful/commerce/charity/index.d.ts +0 -21
- package/dist/api/restful/commerce/charity/index.js +0 -21
- package/dist/api/restful/commerce/identity/index.d.ts +0 -7
- package/dist/api/restful/commerce/identity/index.js +0 -7
- package/dist/api/restful/commerce/notification/index.d.ts +0 -93
- package/dist/api/restful/commerce/notification/index.js +0 -93
- package/dist/api/restful/commerce/taxonomy/index.d.ts +0 -64
- package/dist/api/restful/commerce/taxonomy/index.js +0 -64
- package/dist/api/restful/commerce/translation/index.d.ts +0 -8
- package/dist/api/restful/commerce/translation/index.js +0 -8
- package/dist/api/restful/developer/analytics/index.d.ts +0 -15
- package/dist/api/restful/developer/analytics/index.js +0 -15
- package/dist/api/restful/developer/keyManagement/index.d.ts +0 -15
- package/dist/api/restful/developer/keyManagement/index.js +0 -15
- package/dist/api/restful/index.d.ts +0 -16
- package/dist/api/restful/index.js +1 -23
- package/dist/api/restful/postOrder/cancellation/index.d.ts +0 -43
- package/dist/api/restful/postOrder/cancellation/index.js +0 -43
- package/dist/api/restful/postOrder/case/index.d.ts +0 -46
- package/dist/api/restful/postOrder/case/index.js +0 -46
- package/dist/api/restful/postOrder/inquiry/index.d.ts +0 -64
- package/dist/api/restful/postOrder/inquiry/index.js +0 -64
- package/dist/api/restful/postOrder/return/index.d.ts +0 -190
- package/dist/api/restful/postOrder/return/index.js +0 -190
- package/dist/api/restful/sell/account/index.d.ts +0 -241
- package/dist/api/restful/sell/account/index.js +0 -241
- package/dist/api/restful/sell/analytics/index.d.ts +0 -26
- package/dist/api/restful/sell/analytics/index.js +0 -26
- package/dist/api/restful/sell/compliance/index.d.ts +0 -23
- package/dist/api/restful/sell/compliance/index.js +0 -23
- package/dist/api/restful/sell/feed/index.d.ts +0 -135
- package/dist/api/restful/sell/feed/index.js +0 -135
- package/dist/api/restful/sell/finances/index.d.ts +0 -51
- package/dist/api/restful/sell/finances/index.js +0 -51
- package/dist/api/restful/sell/fulfillment/index.d.ts +0 -108
- package/dist/api/restful/sell/fulfillment/index.js +0 -108
- package/dist/api/restful/sell/inventory/index.d.ts +0 -197
- package/dist/api/restful/sell/inventory/index.js +0 -197
- package/dist/api/restful/sell/listing/index.d.ts +0 -8
- package/dist/api/restful/sell/listing/index.js +0 -8
- package/dist/api/restful/sell/logistics/index.d.ts +0 -33
- package/dist/api/restful/sell/logistics/index.js +0 -33
- package/dist/api/restful/sell/marketing/index.d.ts +16 -495
- package/dist/api/restful/sell/marketing/index.js +48 -494
- package/dist/api/restful/sell/metadata/index.d.ts +0 -65
- package/dist/api/restful/sell/metadata/index.js +0 -65
- package/dist/api/restful/sell/negotiation/index.d.ts +0 -14
- package/dist/api/restful/sell/negotiation/index.js +0 -14
- package/dist/api/restful/sell/recommendation/index.d.ts +0 -15
- package/dist/api/restful/sell/recommendation/index.js +0 -15
- package/dist/api/traditional/XMLRequest.d.ts +0 -44
- package/dist/api/traditional/XMLRequest.js +0 -46
- package/dist/api/traditional/clientAlerts/index.js +0 -1
- package/dist/api/traditional/index.d.ts +0 -3
- package/dist/api/traditional/index.js +0 -5
- package/dist/api/traditional/shopping/index.js +0 -1
- package/dist/auth/authNAuth.d.ts +0 -5
- package/dist/auth/authNAuth.js +0 -5
- package/dist/auth/index.d.ts +0 -3
- package/dist/auth/index.js +0 -3
- package/dist/auth/oAuth2.d.ts +0 -52
- package/dist/auth/oAuth2.js +0 -53
- package/dist/eBayApi.d.ts +1 -12
- package/dist/eBayApi.js +0 -14
- package/dist/ebay-api.min.mjs +1 -1
- package/dist/enums/restfulEnums.d.ts +24 -23
- package/dist/enums/restfulEnums.js +52 -51
- package/dist/errors/index.d.ts +0 -19
- package/dist/errors/index.js +1 -20
- package/dist/types/apiTypes.d.ts +2 -2
- package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
- package/dist/types/restful/specs/buy_browse_v1_oas3.js +0 -4
- package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
- package/dist/types/restful/specs/buy_deal_v1_oas3.js +0 -4
- package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
- package/dist/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
- package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
- package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
- package/dist/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
- package/dist/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/cancellation_oas3.d.ts +0 -29
- package/dist/types/restful/specs/cancellation_oas3.js +0 -4
- package/dist/types/restful/specs/case_oas3.d.ts +0 -31
- package/dist/types/restful/specs/case_oas3.js +0 -4
- package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
- package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
- package/dist/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
- package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
- package/dist/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
- package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
- package/dist/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
- package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
- package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
- package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
- package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
- package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
- package/dist/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
- package/dist/types/restful/specs/inquiry_oas3.d.ts +0 -45
- package/dist/types/restful/specs/inquiry_oas3.js +0 -4
- package/dist/types/restful/specs/return_oas3.d.ts +0 -130
- package/dist/types/restful/specs/return_oas3.js +0 -4
- package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
- package/dist/types/restful/specs/sell_account_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
- package/dist/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
- package/dist/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
- package/dist/types/restful/specs/sell_feed_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
- package/dist/types/restful/specs/sell_finances_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
- package/dist/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
- package/dist/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
- package/dist/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
- package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
- package/dist/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
- package/dist/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
- package/dist/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
- package/dist/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
- package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
- package/dist/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
- package/dist/types/restfulTypes.d.ts +3 -0
- package/lib/api/apiFactory.d.ts +0 -3
- package/lib/api/apiFactory.js +0 -4
- package/lib/api/base.d.ts +0 -3
- package/lib/api/base.js +0 -3
- package/lib/api/digitalSignature.d.ts +0 -33
- package/lib/api/digitalSignature.js +1 -41
- package/lib/api/index.d.ts +0 -3
- package/lib/api/index.js +0 -3
- package/lib/api/restful/buy/browse/index.d.ts +0 -66
- package/lib/api/restful/buy/browse/index.js +0 -73
- package/lib/api/restful/buy/deal/index.d.ts +0 -32
- package/lib/api/restful/buy/deal/index.js +0 -32
- package/lib/api/restful/buy/feed/index.d.ts +0 -33
- package/lib/api/restful/buy/feed/index.js +0 -33
- package/lib/api/restful/buy/marketing/index.d.ts +0 -18
- package/lib/api/restful/buy/marketing/index.js +0 -22
- package/lib/api/restful/buy/marketplaceInsights/index.d.ts +0 -21
- package/lib/api/restful/buy/marketplaceInsights/index.js +0 -21
- package/lib/api/restful/buy/offer/index.d.ts +0 -15
- package/lib/api/restful/buy/offer/index.js +0 -15
- package/lib/api/restful/buy/order/index.d.ts +0 -227
- package/lib/api/restful/buy/order/index.js +0 -227
- package/lib/api/restful/commerce/catalog/index.d.ts +0 -54
- package/lib/api/restful/commerce/catalog/index.js +0 -54
- package/lib/api/restful/commerce/charity/index.d.ts +0 -21
- package/lib/api/restful/commerce/charity/index.js +0 -21
- package/lib/api/restful/commerce/identity/index.d.ts +0 -7
- package/lib/api/restful/commerce/identity/index.js +0 -7
- package/lib/api/restful/commerce/notification/index.d.ts +0 -93
- package/lib/api/restful/commerce/notification/index.js +0 -93
- package/lib/api/restful/commerce/taxonomy/index.d.ts +0 -64
- package/lib/api/restful/commerce/taxonomy/index.js +0 -64
- package/lib/api/restful/commerce/translation/index.d.ts +0 -8
- package/lib/api/restful/commerce/translation/index.js +0 -8
- package/lib/api/restful/developer/analytics/index.d.ts +0 -15
- package/lib/api/restful/developer/analytics/index.js +0 -15
- package/lib/api/restful/developer/keyManagement/index.d.ts +0 -15
- package/lib/api/restful/developer/keyManagement/index.js +0 -15
- package/lib/api/restful/index.d.ts +0 -16
- package/lib/api/restful/index.js +1 -23
- package/lib/api/restful/postOrder/cancellation/index.d.ts +0 -43
- package/lib/api/restful/postOrder/cancellation/index.js +0 -43
- package/lib/api/restful/postOrder/case/index.d.ts +0 -46
- package/lib/api/restful/postOrder/case/index.js +0 -46
- package/lib/api/restful/postOrder/inquiry/index.d.ts +0 -64
- package/lib/api/restful/postOrder/inquiry/index.js +0 -64
- package/lib/api/restful/postOrder/return/index.d.ts +0 -190
- package/lib/api/restful/postOrder/return/index.js +0 -190
- package/lib/api/restful/sell/account/index.d.ts +0 -241
- package/lib/api/restful/sell/account/index.js +0 -241
- package/lib/api/restful/sell/analytics/index.d.ts +0 -26
- package/lib/api/restful/sell/analytics/index.js +0 -26
- package/lib/api/restful/sell/compliance/index.d.ts +0 -23
- package/lib/api/restful/sell/compliance/index.js +0 -23
- package/lib/api/restful/sell/feed/index.d.ts +0 -135
- package/lib/api/restful/sell/feed/index.js +0 -135
- package/lib/api/restful/sell/finances/index.d.ts +0 -51
- package/lib/api/restful/sell/finances/index.js +0 -51
- package/lib/api/restful/sell/fulfillment/index.d.ts +0 -108
- package/lib/api/restful/sell/fulfillment/index.js +0 -108
- package/lib/api/restful/sell/inventory/index.d.ts +0 -197
- package/lib/api/restful/sell/inventory/index.js +0 -197
- package/lib/api/restful/sell/listing/index.d.ts +0 -8
- package/lib/api/restful/sell/listing/index.js +0 -8
- package/lib/api/restful/sell/logistics/index.d.ts +0 -33
- package/lib/api/restful/sell/logistics/index.js +0 -33
- package/lib/api/restful/sell/marketing/index.d.ts +16 -495
- package/lib/api/restful/sell/marketing/index.js +48 -494
- package/lib/api/restful/sell/metadata/index.d.ts +0 -65
- package/lib/api/restful/sell/metadata/index.js +0 -65
- package/lib/api/restful/sell/negotiation/index.d.ts +0 -14
- package/lib/api/restful/sell/negotiation/index.js +0 -14
- package/lib/api/restful/sell/recommendation/index.d.ts +0 -15
- package/lib/api/restful/sell/recommendation/index.js +0 -15
- package/lib/api/traditional/XMLRequest.d.ts +0 -44
- package/lib/api/traditional/XMLRequest.js +0 -46
- package/lib/api/traditional/clientAlerts/index.js +0 -1
- package/lib/api/traditional/index.d.ts +0 -3
- package/lib/api/traditional/index.js +0 -5
- package/lib/api/traditional/shopping/index.js +0 -1
- package/lib/auth/authNAuth.d.ts +0 -5
- package/lib/auth/authNAuth.js +0 -5
- package/lib/auth/index.d.ts +0 -3
- package/lib/auth/index.js +0 -3
- package/lib/auth/oAuth2.d.ts +0 -52
- package/lib/auth/oAuth2.js +0 -53
- package/lib/eBayApi.d.ts +1 -12
- package/lib/eBayApi.js +0 -14
- package/lib/ebay-api.min.js +1 -1
- package/lib/enums/restfulEnums.d.ts +24 -23
- package/lib/enums/restfulEnums.js +52 -52
- package/lib/errors/index.d.ts +0 -19
- package/lib/errors/index.js +1 -20
- package/lib/types/apiTypes.d.ts +2 -2
- package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +0 -697
- package/lib/types/restful/specs/buy_browse_v1_oas3.js +0 -4
- package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +0 -189
- package/lib/types/restful/specs/buy_deal_v1_oas3.js +0 -4
- package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +0 -229
- package/lib/types/restful/specs/buy_feed_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +0 -101
- package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +0 -150
- package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +0 -62
- package/lib/types/restful/specs/buy_offer_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -600
- package/lib/types/restful/specs/buy_order_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/cancellation_oas3.d.ts +0 -29
- package/lib/types/restful/specs/cancellation_oas3.js +0 -4
- package/lib/types/restful/specs/case_oas3.d.ts +0 -31
- package/lib/types/restful/specs/case_oas3.js +0 -4
- package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +0 -331
- package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +0 -85
- package/lib/types/restful/specs/commerce_charity_v1_oas3.js +0 -4
- package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +0 -63
- package/lib/types/restful/specs/commerce_identity_v1_oas3.js +0 -4
- package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +0 -236
- package/lib/types/restful/specs/commerce_notification_v1_oas3.js +0 -4
- package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +0 -219
- package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.js +0 -4
- package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +0 -36
- package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +0 -57
- package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +0 -60
- package/lib/types/restful/specs/developer_key_management_v1_oas3.js +0 -4
- package/lib/types/restful/specs/inquiry_oas3.d.ts +0 -45
- package/lib/types/restful/specs/inquiry_oas3.js +0 -4
- package/lib/types/restful/specs/return_oas3.d.ts +0 -130
- package/lib/types/restful/specs/return_oas3.js +0 -4
- package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +0 -751
- package/lib/types/restful/specs/sell_account_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +0 -130
- package/lib/types/restful/specs/sell_analytics_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +0 -102
- package/lib/types/restful/specs/sell_compliance_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +0 -461
- package/lib/types/restful/specs/sell_feed_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +0 -255
- package/lib/types/restful/specs/sell_finances_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +0 -595
- package/lib/types/restful/specs/sell_fulfillment_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +0 -844
- package/lib/types/restful/specs/sell_inventory_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +0 -57
- package/lib/types/restful/specs/sell_listing_v1_beta_oas3.js +0 -4
- package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +0 -173
- package/lib/types/restful/specs/sell_logistics_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +454 -1411
- package/lib/types/restful/specs/sell_marketing_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +0 -147
- package/lib/types/restful/specs/sell_metadata_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +0 -94
- package/lib/types/restful/specs/sell_negotiation_v1_oas3.js +0 -4
- package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +0 -60
- package/lib/types/restful/specs/sell_recommendation_v1_oas3.js +0 -4
- package/lib/types/restfulTypes.d.ts +3 -0
- package/package.json +2 -2
|
@@ -1,84 +1,18 @@
|
|
|
1
1
|
import { AddCartItemInput, BuyBrowseGetItemsParams, BuyBrowseItemByLegacyIdParams, BuyBrowseSearchByImageParams, BuyBrowseSearchParams, CompatibilityPayload, RemoveCartItemInput, SearchByImageRequest, UpdateCartItemInput } from '../../../../types/index.js';
|
|
2
2
|
import { operations } from '../../../../types/restful/specs/buy_browse_v1_oas3.js';
|
|
3
3
|
import Restful, { OpenApi } from '../../index.js';
|
|
4
|
-
/**
|
|
5
|
-
* The Browse API has the following resources: item_summary: Lets shoppers search for specific items by keyword, GTIN,
|
|
6
|
-
* category, charity, product, or item aspects and refine the results by using filters, such as aspects, compatibility,
|
|
7
|
-
* and fields values.
|
|
8
|
-
*/
|
|
9
4
|
export default class Browse extends Restful implements OpenApi<operations> {
|
|
10
5
|
static id: string;
|
|
11
6
|
get basePath(): string;
|
|
12
|
-
/**
|
|
13
|
-
* This method searches for eBay items by various query parameters and retrieves summaries of the items.
|
|
14
|
-
*
|
|
15
|
-
* @param {BrowseSearchParams} params
|
|
16
|
-
*/
|
|
17
7
|
search(params: BuyBrowseSearchParams): Promise<any>;
|
|
18
|
-
/**
|
|
19
|
-
* This is an Experimental method. This method searches for eBay items based on a image and retrieves summaries of
|
|
20
|
-
* the items.
|
|
21
|
-
*
|
|
22
|
-
* @param {params} params
|
|
23
|
-
* @param {Object} body The container for the image information fields.
|
|
24
|
-
*/
|
|
25
8
|
searchByImage(params: BuyBrowseSearchByImageParams, body?: SearchByImageRequest): Promise<any>;
|
|
26
|
-
/**
|
|
27
|
-
* This method retrieves the details of specific items that the buyer needs to make a purchasing decision.
|
|
28
|
-
*
|
|
29
|
-
* @param {params} params
|
|
30
|
-
*/
|
|
31
9
|
getItems(params: BuyBrowseGetItemsParams): Promise<any>;
|
|
32
|
-
/**
|
|
33
|
-
* This method retrieves the details of a specific item, such as description, price, category, all item aspects,
|
|
34
|
-
* condition, return policies, seller feedback and score, shipping options, shipping costs, estimated delivery,
|
|
35
|
-
* and other information the buyer needs to make a purchasing decision.
|
|
36
|
-
*
|
|
37
|
-
* @param {String} itemId The eBay RESTful identifier of an item.
|
|
38
|
-
* @param {String} fieldgroups
|
|
39
|
-
*/
|
|
40
10
|
getItem(itemId: string, fieldgroups?: string): Promise<any>;
|
|
41
|
-
/**
|
|
42
|
-
* This method is a bridge between the eBay legacy APIs, such as Shopping, and Finding and the eBay Api APIs.
|
|
43
|
-
*
|
|
44
|
-
* @param {LegacyItemParams} params
|
|
45
|
-
*/
|
|
46
11
|
getItemByLegacyId(params: BuyBrowseItemByLegacyIdParams): Promise<any>;
|
|
47
|
-
/**
|
|
48
|
-
* This method retrieves the details of the individual items in an item group.
|
|
49
|
-
*
|
|
50
|
-
* @param itemGroupId
|
|
51
|
-
*/
|
|
52
12
|
getItemsByItemGroup(itemGroupId: string): Promise<any>;
|
|
53
|
-
/**
|
|
54
|
-
* This method checks if a product is compatible with the specified item.
|
|
55
|
-
* @param {String} itemId The eBay RESTful identifier of an item (such as a part you want to check).
|
|
56
|
-
* @param {Object} body CompatibilityPayload
|
|
57
|
-
*/
|
|
58
13
|
checkCompatibility(itemId: string, body?: CompatibilityPayload): Promise<any>;
|
|
59
|
-
/**
|
|
60
|
-
* This is an Experimental method. This method creates an eBay cart for the eBay member, if one does not exist, and
|
|
61
|
-
* adds items to that cart.
|
|
62
|
-
*
|
|
63
|
-
* @param {Object} item AddCartItemInput
|
|
64
|
-
*/
|
|
65
14
|
addItem(item: AddCartItemInput): Promise<any>;
|
|
66
|
-
/**
|
|
67
|
-
* This is an experimental method. This method retrieves all the items in the eBay member's cart;
|
|
68
|
-
* items added to the cart while on ebay.com as well as items added to the cart using the Browse API.
|
|
69
|
-
*/
|
|
70
15
|
getShoppingCart(): Promise<any>;
|
|
71
|
-
/**
|
|
72
|
-
* This is an experimental method. This method removes a specific item from the eBay member's cart.
|
|
73
|
-
*
|
|
74
|
-
* @param {Object} item RemoveCartItemInput
|
|
75
|
-
*/
|
|
76
16
|
removeItem(item: RemoveCartItemInput): Promise<any>;
|
|
77
|
-
/**
|
|
78
|
-
* This is an experimental method. This method updates the quantity value of a specific item in the eBay member's
|
|
79
|
-
* cart.
|
|
80
|
-
*
|
|
81
|
-
* @param {UpdateCartItemInput} item UpdateCartItemInput
|
|
82
|
-
*/
|
|
83
17
|
updateQuantity(item: UpdateCartItemInput): Promise<any>;
|
|
84
18
|
}
|
|
@@ -4,59 +4,25 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("../../index.js"));
|
|
7
|
-
/**
|
|
8
|
-
* The Browse API has the following resources: item_summary: Lets shoppers search for specific items by keyword, GTIN,
|
|
9
|
-
* category, charity, product, or item aspects and refine the results by using filters, such as aspects, compatibility,
|
|
10
|
-
* and fields values.
|
|
11
|
-
*/
|
|
12
7
|
class Browse extends index_js_1.default {
|
|
13
8
|
get basePath() {
|
|
14
9
|
return '/buy/browse/v1';
|
|
15
10
|
}
|
|
16
|
-
//
|
|
17
|
-
// Item
|
|
18
|
-
// Client Credentials: https://api.ebay.com/oauth/api_scope
|
|
19
|
-
//
|
|
20
|
-
/**
|
|
21
|
-
* This method searches for eBay items by various query parameters and retrieves summaries of the items.
|
|
22
|
-
*
|
|
23
|
-
* @param {BrowseSearchParams} params
|
|
24
|
-
*/
|
|
25
11
|
search(params) {
|
|
26
12
|
return this.get(`/item_summary/search`, {
|
|
27
13
|
params
|
|
28
14
|
});
|
|
29
15
|
}
|
|
30
|
-
/**
|
|
31
|
-
* This is an Experimental method. This method searches for eBay items based on a image and retrieves summaries of
|
|
32
|
-
* the items.
|
|
33
|
-
*
|
|
34
|
-
* @param {params} params
|
|
35
|
-
* @param {Object} body The container for the image information fields.
|
|
36
|
-
*/
|
|
37
16
|
searchByImage(params, body) {
|
|
38
17
|
return this.post(`/item_summary/search_by_image`, body, {
|
|
39
18
|
params
|
|
40
19
|
});
|
|
41
20
|
}
|
|
42
|
-
/**
|
|
43
|
-
* This method retrieves the details of specific items that the buyer needs to make a purchasing decision.
|
|
44
|
-
*
|
|
45
|
-
* @param {params} params
|
|
46
|
-
*/
|
|
47
21
|
getItems(params) {
|
|
48
22
|
return this.get(`/item/`, {
|
|
49
23
|
params
|
|
50
24
|
});
|
|
51
25
|
}
|
|
52
|
-
/**
|
|
53
|
-
* This method retrieves the details of a specific item, such as description, price, category, all item aspects,
|
|
54
|
-
* condition, return policies, seller feedback and score, shipping options, shipping costs, estimated delivery,
|
|
55
|
-
* and other information the buyer needs to make a purchasing decision.
|
|
56
|
-
*
|
|
57
|
-
* @param {String} itemId The eBay RESTful identifier of an item.
|
|
58
|
-
* @param {String} fieldgroups
|
|
59
|
-
*/
|
|
60
26
|
getItem(itemId, fieldgroups) {
|
|
61
27
|
const id = encodeURIComponent(itemId);
|
|
62
28
|
return this.get(`/item/${id}`, {
|
|
@@ -65,21 +31,11 @@ class Browse extends index_js_1.default {
|
|
|
65
31
|
}
|
|
66
32
|
});
|
|
67
33
|
}
|
|
68
|
-
/**
|
|
69
|
-
* This method is a bridge between the eBay legacy APIs, such as Shopping, and Finding and the eBay Api APIs.
|
|
70
|
-
*
|
|
71
|
-
* @param {LegacyItemParams} params
|
|
72
|
-
*/
|
|
73
34
|
getItemByLegacyId(params) {
|
|
74
35
|
return this.get(`/item/get_item_by_legacy_id`, {
|
|
75
36
|
params
|
|
76
37
|
});
|
|
77
38
|
}
|
|
78
|
-
/**
|
|
79
|
-
* This method retrieves the details of the individual items in an item group.
|
|
80
|
-
*
|
|
81
|
-
* @param itemGroupId
|
|
82
|
-
*/
|
|
83
39
|
getItemsByItemGroup(itemGroupId) {
|
|
84
40
|
return this.get(`/item/get_items_by_item_group`, {
|
|
85
41
|
params: {
|
|
@@ -87,48 +43,19 @@ class Browse extends index_js_1.default {
|
|
|
87
43
|
}
|
|
88
44
|
});
|
|
89
45
|
}
|
|
90
|
-
/**
|
|
91
|
-
* This method checks if a product is compatible with the specified item.
|
|
92
|
-
* @param {String} itemId The eBay RESTful identifier of an item (such as a part you want to check).
|
|
93
|
-
* @param {Object} body CompatibilityPayload
|
|
94
|
-
*/
|
|
95
46
|
checkCompatibility(itemId, body) {
|
|
96
47
|
const id = encodeURIComponent(itemId);
|
|
97
48
|
return this.post(`/item/${id}/check_compatibility`, body);
|
|
98
49
|
}
|
|
99
|
-
//
|
|
100
|
-
// Shopping Cart
|
|
101
|
-
//
|
|
102
|
-
/**
|
|
103
|
-
* This is an Experimental method. This method creates an eBay cart for the eBay member, if one does not exist, and
|
|
104
|
-
* adds items to that cart.
|
|
105
|
-
*
|
|
106
|
-
* @param {Object} item AddCartItemInput
|
|
107
|
-
*/
|
|
108
50
|
addItem(item) {
|
|
109
51
|
return this.post(`/shopping_cart/add_item`, item);
|
|
110
52
|
}
|
|
111
|
-
/**
|
|
112
|
-
* This is an experimental method. This method retrieves all the items in the eBay member's cart;
|
|
113
|
-
* items added to the cart while on ebay.com as well as items added to the cart using the Browse API.
|
|
114
|
-
*/
|
|
115
53
|
getShoppingCart() {
|
|
116
54
|
return this.get(`/shopping_cart/`);
|
|
117
55
|
}
|
|
118
|
-
/**
|
|
119
|
-
* This is an experimental method. This method removes a specific item from the eBay member's cart.
|
|
120
|
-
*
|
|
121
|
-
* @param {Object} item RemoveCartItemInput
|
|
122
|
-
*/
|
|
123
56
|
removeItem(item) {
|
|
124
57
|
return this.post(`/shopping_cart/remove_item`, item);
|
|
125
58
|
}
|
|
126
|
-
/**
|
|
127
|
-
* This is an experimental method. This method updates the quantity value of a specific item in the eBay member's
|
|
128
|
-
* cart.
|
|
129
|
-
*
|
|
130
|
-
* @param {UpdateCartItemInput} item UpdateCartItemInput
|
|
131
|
-
*/
|
|
132
59
|
updateQuantity(item) {
|
|
133
60
|
return this.post(`/shopping_cart/update_quantity`, item);
|
|
134
61
|
}
|
|
@@ -1,20 +1,8 @@
|
|
|
1
1
|
import { operations } from '../../../../types/restful/specs/buy_deal_v1_oas3.js';
|
|
2
2
|
import Restful, { OpenApi } from '../../index.js';
|
|
3
|
-
/**
|
|
4
|
-
* This API allows third-party developers to search for and retrieve details about eBay deals and events, as well as the items associated with those deals and events.
|
|
5
|
-
*/
|
|
6
3
|
export default class Deal extends Restful implements OpenApi<operations> {
|
|
7
4
|
static id: string;
|
|
8
5
|
get basePath(): string;
|
|
9
|
-
/**
|
|
10
|
-
* This method retrieves a paginated set of deal items.
|
|
11
|
-
*
|
|
12
|
-
* @param categoryIds The unique identifier of the eBay category for the search.
|
|
13
|
-
* @param commissionable A filter for commissionable deals. Restriction: This filter is currently only supported for the US marketplace.
|
|
14
|
-
* @param deliveryCountry A filter for items that can be shipped to the specified country.
|
|
15
|
-
* @param limit The maximum number of items, from the current result set, returned on a single page.
|
|
16
|
-
* @param offset The number of items that will be skipped in the result set.
|
|
17
|
-
*/
|
|
18
6
|
getDealItems({ categoryIds, commissionable, deliveryCountry, limit, offset }: {
|
|
19
7
|
categoryIds?: string;
|
|
20
8
|
commissionable?: string;
|
|
@@ -22,31 +10,11 @@ export default class Deal extends Restful implements OpenApi<operations> {
|
|
|
22
10
|
limit?: string;
|
|
23
11
|
offset?: string;
|
|
24
12
|
}): Promise<any>;
|
|
25
|
-
/**
|
|
26
|
-
* This method retrieves the details for an eBay event.
|
|
27
|
-
*
|
|
28
|
-
* @param eventId The unique identifier for the eBay event.
|
|
29
|
-
*/
|
|
30
13
|
getEvent(eventId: string): Promise<any>;
|
|
31
|
-
/**
|
|
32
|
-
* This method returns paginated results containing all eBay events for the specified marketplace.
|
|
33
|
-
*
|
|
34
|
-
* @param limit The maximum number of items, from the current result set, returned on a single page. Default: 20 Maximum Value: 100
|
|
35
|
-
* @param offset The number of items that will be skipped in the result set.
|
|
36
|
-
*/
|
|
37
14
|
getEvents({ limit, offset }: {
|
|
38
15
|
limit?: string;
|
|
39
16
|
offset?: string;
|
|
40
17
|
}): Promise<any>;
|
|
41
|
-
/**
|
|
42
|
-
* This method returns paginated results containing all eBay events for the specified marketplace.
|
|
43
|
-
*
|
|
44
|
-
* @param eventIds The unique identifiers for the eBay events. Maximum Value: 1
|
|
45
|
-
* @param categoryIds The unique identifier of the eBay category for the search. Maximum Value: 1
|
|
46
|
-
* @param deliveryCountry A filter for items that can be shipped to the specified country.
|
|
47
|
-
* @param limit The maximum number of items, from the current result set, returned on a single page. Default: 20 Maximum Value: 100
|
|
48
|
-
* @param offset The number of items that will be skipped in the result set.
|
|
49
|
-
*/
|
|
50
18
|
getEventItems(eventIds: string, { categoryIds, deliveryCountry, limit, offset }?: {
|
|
51
19
|
categoryIds?: string;
|
|
52
20
|
deliveryCountry?: string;
|
|
@@ -4,22 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("../../index.js"));
|
|
7
|
-
/**
|
|
8
|
-
* This API allows third-party developers to search for and retrieve details about eBay deals and events, as well as the items associated with those deals and events.
|
|
9
|
-
*/
|
|
10
7
|
class Deal extends index_js_1.default {
|
|
11
8
|
get basePath() {
|
|
12
9
|
return '/buy/deal/v1';
|
|
13
10
|
}
|
|
14
|
-
/**
|
|
15
|
-
* This method retrieves a paginated set of deal items.
|
|
16
|
-
*
|
|
17
|
-
* @param categoryIds The unique identifier of the eBay category for the search.
|
|
18
|
-
* @param commissionable A filter for commissionable deals. Restriction: This filter is currently only supported for the US marketplace.
|
|
19
|
-
* @param deliveryCountry A filter for items that can be shipped to the specified country.
|
|
20
|
-
* @param limit The maximum number of items, from the current result set, returned on a single page.
|
|
21
|
-
* @param offset The number of items that will be skipped in the result set.
|
|
22
|
-
*/
|
|
23
11
|
getDealItems({ categoryIds, commissionable, deliveryCountry, limit, offset }) {
|
|
24
12
|
return this.get(`/deal_item`, {
|
|
25
13
|
params: {
|
|
@@ -31,21 +19,10 @@ class Deal extends index_js_1.default {
|
|
|
31
19
|
}
|
|
32
20
|
});
|
|
33
21
|
}
|
|
34
|
-
/**
|
|
35
|
-
* This method retrieves the details for an eBay event.
|
|
36
|
-
*
|
|
37
|
-
* @param eventId The unique identifier for the eBay event.
|
|
38
|
-
*/
|
|
39
22
|
getEvent(eventId) {
|
|
40
23
|
eventId = encodeURIComponent(eventId);
|
|
41
24
|
return this.get(`/event/${eventId}`);
|
|
42
25
|
}
|
|
43
|
-
/**
|
|
44
|
-
* This method returns paginated results containing all eBay events for the specified marketplace.
|
|
45
|
-
*
|
|
46
|
-
* @param limit The maximum number of items, from the current result set, returned on a single page. Default: 20 Maximum Value: 100
|
|
47
|
-
* @param offset The number of items that will be skipped in the result set.
|
|
48
|
-
*/
|
|
49
26
|
getEvents({ limit, offset }) {
|
|
50
27
|
return this.get(`/event`, {
|
|
51
28
|
params: {
|
|
@@ -54,15 +31,6 @@ class Deal extends index_js_1.default {
|
|
|
54
31
|
}
|
|
55
32
|
});
|
|
56
33
|
}
|
|
57
|
-
/**
|
|
58
|
-
* This method returns paginated results containing all eBay events for the specified marketplace.
|
|
59
|
-
*
|
|
60
|
-
* @param eventIds The unique identifiers for the eBay events. Maximum Value: 1
|
|
61
|
-
* @param categoryIds The unique identifier of the eBay category for the search. Maximum Value: 1
|
|
62
|
-
* @param deliveryCountry A filter for items that can be shipped to the specified country.
|
|
63
|
-
* @param limit The maximum number of items, from the current result set, returned on a single page. Default: 20 Maximum Value: 100
|
|
64
|
-
* @param offset The number of items that will be skipped in the result set.
|
|
65
|
-
*/
|
|
66
34
|
getEventItems(eventIds, { categoryIds, deliveryCountry, limit, offset } = {}) {
|
|
67
35
|
return this.get(`/event_item`, {
|
|
68
36
|
params: {
|
|
@@ -1,44 +1,11 @@
|
|
|
1
1
|
import { BuyFeedParams } from '../../../../types/index.js';
|
|
2
2
|
import { operations } from '../../../../types/restful/specs/buy_feed_v1_beta_oas3.js';
|
|
3
3
|
import Restful, { OpenApi } from '../../index.js';
|
|
4
|
-
/**
|
|
5
|
-
* The Feed API provides the ability to download TSV_GZIP feed files containing eBay items and an hourly snapshot file
|
|
6
|
-
* of the items that have changed within an hour for a specific category, date and marketplace.
|
|
7
|
-
*/
|
|
8
4
|
export default class Feed extends Restful implements OpenApi<operations> {
|
|
9
5
|
static id: string;
|
|
10
6
|
get basePath(): string;
|
|
11
|
-
/**
|
|
12
|
-
* This method lets you download a TSV_GZIP (tab separated value gzip) Item feed file.
|
|
13
|
-
*
|
|
14
|
-
* @param {BuyFeedParams} params
|
|
15
|
-
* @param range his header specifies the range in bytes of the chunks of the gzip file being returned.
|
|
16
|
-
* Format: bytes=startpos-endpos For example, the following retrieves the first 10 MBs of the feed file.
|
|
17
|
-
*/
|
|
18
7
|
getItemFeed(params: BuyFeedParams, range: string): Promise<any>;
|
|
19
|
-
/**
|
|
20
|
-
* This method lets you download a TSV_GZIP (tab separated value gzip) Item Group feed file.
|
|
21
|
-
* @param {BuyFeedParams} params
|
|
22
|
-
* @param range his header specifies the range in bytes of the chunks of the gzip file being returned.
|
|
23
|
-
* Format: bytes=startpos-endpos For example, the following retrieves the first 10 MBs of the feed file.
|
|
24
|
-
*/
|
|
25
8
|
getItemGroupFeed(params: BuyFeedParams, range: string): Promise<any>;
|
|
26
|
-
/**
|
|
27
|
-
* The Hourly Snapshot feed file is generated each hour every day for all categories.
|
|
28
|
-
*
|
|
29
|
-
* @param {BuyFeedParams} params
|
|
30
|
-
* @param {String} snapshotDate
|
|
31
|
-
* @param range his header specifies the range in bytes of the chunks of the gzip file being returned.
|
|
32
|
-
* Format: bytes=startpos-endpos For example, the following retrieves the first 10 MBs of the feed file.
|
|
33
|
-
*/
|
|
34
9
|
getItemSnapshotFeed(params: BuyFeedParams, snapshotDate: string, range: string): Promise<any>;
|
|
35
|
-
/**
|
|
36
|
-
* The Hourly Snapshot feed file is generated each hour every day for all categories.
|
|
37
|
-
*
|
|
38
|
-
* @param {BuyFeedParams} params
|
|
39
|
-
* @param {String} snapshotDate
|
|
40
|
-
* @param range his header specifies the range in bytes of the chunks of the gzip file being returned.
|
|
41
|
-
* Format: bytes=startpos-endpos For example, the following retrieves the first 10 MBs of the feed file.
|
|
42
|
-
*/
|
|
43
10
|
getProductFeed(params: BuyFeedParams, snapshotDate: string, range: string): Promise<any>;
|
|
44
11
|
}
|
|
@@ -4,21 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("../../index.js"));
|
|
7
|
-
/**
|
|
8
|
-
* The Feed API provides the ability to download TSV_GZIP feed files containing eBay items and an hourly snapshot file
|
|
9
|
-
* of the items that have changed within an hour for a specific category, date and marketplace.
|
|
10
|
-
*/
|
|
11
7
|
class Feed extends index_js_1.default {
|
|
12
8
|
get basePath() {
|
|
13
9
|
return '/buy/feed/v1_beta';
|
|
14
10
|
}
|
|
15
|
-
/**
|
|
16
|
-
* This method lets you download a TSV_GZIP (tab separated value gzip) Item feed file.
|
|
17
|
-
*
|
|
18
|
-
* @param {BuyFeedParams} params
|
|
19
|
-
* @param range his header specifies the range in bytes of the chunks of the gzip file being returned.
|
|
20
|
-
* Format: bytes=startpos-endpos For example, the following retrieves the first 10 MBs of the feed file.
|
|
21
|
-
*/
|
|
22
11
|
getItemFeed(params, range) {
|
|
23
12
|
return this.get(`/item`, {
|
|
24
13
|
params,
|
|
@@ -27,12 +16,6 @@ class Feed extends index_js_1.default {
|
|
|
27
16
|
}
|
|
28
17
|
});
|
|
29
18
|
}
|
|
30
|
-
/**
|
|
31
|
-
* This method lets you download a TSV_GZIP (tab separated value gzip) Item Group feed file.
|
|
32
|
-
* @param {BuyFeedParams} params
|
|
33
|
-
* @param range his header specifies the range in bytes of the chunks of the gzip file being returned.
|
|
34
|
-
* Format: bytes=startpos-endpos For example, the following retrieves the first 10 MBs of the feed file.
|
|
35
|
-
*/
|
|
36
19
|
getItemGroupFeed(params, range) {
|
|
37
20
|
return this.get(`/item_group`, {
|
|
38
21
|
params,
|
|
@@ -41,14 +24,6 @@ class Feed extends index_js_1.default {
|
|
|
41
24
|
}
|
|
42
25
|
});
|
|
43
26
|
}
|
|
44
|
-
/**
|
|
45
|
-
* The Hourly Snapshot feed file is generated each hour every day for all categories.
|
|
46
|
-
*
|
|
47
|
-
* @param {BuyFeedParams} params
|
|
48
|
-
* @param {String} snapshotDate
|
|
49
|
-
* @param range his header specifies the range in bytes of the chunks of the gzip file being returned.
|
|
50
|
-
* Format: bytes=startpos-endpos For example, the following retrieves the first 10 MBs of the feed file.
|
|
51
|
-
*/
|
|
52
27
|
getItemSnapshotFeed(params, snapshotDate, range) {
|
|
53
28
|
return this.get(`/item_snapshot`, {
|
|
54
29
|
params: {
|
|
@@ -60,14 +35,6 @@ class Feed extends index_js_1.default {
|
|
|
60
35
|
}
|
|
61
36
|
});
|
|
62
37
|
}
|
|
63
|
-
/**
|
|
64
|
-
* The Hourly Snapshot feed file is generated each hour every day for all categories.
|
|
65
|
-
*
|
|
66
|
-
* @param {BuyFeedParams} params
|
|
67
|
-
* @param {String} snapshotDate
|
|
68
|
-
* @param range his header specifies the range in bytes of the chunks of the gzip file being returned.
|
|
69
|
-
* Format: bytes=startpos-endpos For example, the following retrieves the first 10 MBs of the feed file.
|
|
70
|
-
*/
|
|
71
38
|
getProductFeed(params, snapshotDate, range) {
|
|
72
39
|
return this.get(`/product`, {
|
|
73
40
|
params: {
|
|
@@ -1,28 +1,10 @@
|
|
|
1
1
|
import { BuyMarketingGetAlsoBoughtByProductParams, BuyMarketingGetAlsoViewedByProductParams, BuyMarketingGetMerchandisedProductsParams } from '../../../../types/index.js';
|
|
2
2
|
import { operations } from '../../../../types/restful/specs/buy_marketing_v1_beta_oas3.js';
|
|
3
3
|
import Restful, { OpenApi } from '../../index.js';
|
|
4
|
-
/**
|
|
5
|
-
* The Marketing API retrieves eBay products based on a metric, such as Best Selling, as well as products that were
|
|
6
|
-
* also bought and also viewed.
|
|
7
|
-
*/
|
|
8
4
|
export default class Marketing extends Restful implements OpenApi<operations> {
|
|
9
5
|
static id: string;
|
|
10
6
|
get basePath(): string;
|
|
11
|
-
/**
|
|
12
|
-
* This call returns products that were also bought when shoppers bought the product specified in the request.
|
|
13
|
-
* @param params
|
|
14
|
-
*/
|
|
15
7
|
getAlsoBoughtByProduct(params: BuyMarketingGetAlsoBoughtByProductParams): Promise<any>;
|
|
16
|
-
/**
|
|
17
|
-
* This call returns products that were also viewed when shoppers viewed the product specified in the request.
|
|
18
|
-
*
|
|
19
|
-
* @param params
|
|
20
|
-
*/
|
|
21
8
|
getAlsoViewedByProduct(params: BuyMarketingGetAlsoViewedByProductParams): Promise<any>;
|
|
22
|
-
/**
|
|
23
|
-
* This call returns an array of products based on the category and metric specified.
|
|
24
|
-
*
|
|
25
|
-
* @param params
|
|
26
|
-
*/
|
|
27
9
|
getMerchandisedProducts(params: BuyMarketingGetMerchandisedProductsParams): Promise<any>;
|
|
28
10
|
}
|
|
@@ -4,42 +4,20 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("../../index.js"));
|
|
7
|
-
/**
|
|
8
|
-
* The Marketing API retrieves eBay products based on a metric, such as Best Selling, as well as products that were
|
|
9
|
-
* also bought and also viewed.
|
|
10
|
-
*/
|
|
11
7
|
class Marketing extends index_js_1.default {
|
|
12
8
|
get basePath() {
|
|
13
9
|
return '/buy/marketing/v1_beta';
|
|
14
10
|
}
|
|
15
|
-
//
|
|
16
|
-
// Marketing
|
|
17
|
-
// Client Credentials: https://api.ebay.com/oauth/api_scope/buy.marketing
|
|
18
|
-
//
|
|
19
|
-
/**
|
|
20
|
-
* This call returns products that were also bought when shoppers bought the product specified in the request.
|
|
21
|
-
* @param params
|
|
22
|
-
*/
|
|
23
11
|
getAlsoBoughtByProduct(params) {
|
|
24
12
|
return this.get(`/merchandised_product/get_also_bought_products`, {
|
|
25
13
|
params
|
|
26
14
|
});
|
|
27
15
|
}
|
|
28
|
-
/**
|
|
29
|
-
* This call returns products that were also viewed when shoppers viewed the product specified in the request.
|
|
30
|
-
*
|
|
31
|
-
* @param params
|
|
32
|
-
*/
|
|
33
16
|
getAlsoViewedByProduct(params) {
|
|
34
17
|
return this.get(`/merchandised_product/get_also_viewed_products`, {
|
|
35
18
|
params
|
|
36
19
|
});
|
|
37
20
|
}
|
|
38
|
-
/**
|
|
39
|
-
* This call returns an array of products based on the category and metric specified.
|
|
40
|
-
*
|
|
41
|
-
* @param params
|
|
42
|
-
*/
|
|
43
21
|
getMerchandisedProducts(params) {
|
|
44
22
|
return this.get(`/merchandised_product`, {
|
|
45
23
|
params
|
|
@@ -1,29 +1,8 @@
|
|
|
1
1
|
import { MarketingInsightsSearchParams } from '../../../../types/index.js';
|
|
2
2
|
import { operations } from '../../../../types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js';
|
|
3
3
|
import Restful, { OpenApi } from '../../index.js';
|
|
4
|
-
/**
|
|
5
|
-
* (Limited Release) The Marketplace Insights API provides the ability to search for sold items on eBay by keyword,
|
|
6
|
-
* GTIN, category, and product and returns the of sales history of those items.
|
|
7
|
-
*/
|
|
8
4
|
export default class MarketplaceInsights extends Restful implements OpenApi<operations> {
|
|
9
5
|
static id: string;
|
|
10
6
|
get basePath(): string;
|
|
11
|
-
/**
|
|
12
|
-
* (Limited Release) This method searches for sold eBay items by various URI query parameters and retrieves the sales
|
|
13
|
-
* history of the items for the last 90 days. You can search by keyword, category, eBay product ID (ePID), or GTIN,
|
|
14
|
-
* or a combination of these.
|
|
15
|
-
*
|
|
16
|
-
* @param itemId
|
|
17
|
-
* @param aspectFilter This field lets you filter by item aspects.
|
|
18
|
-
* @param categoryIds The category ID is required and is used to limit the results.
|
|
19
|
-
* @param epid The ePID is the eBay product identifier of a product from the eBay product catalog.
|
|
20
|
-
* @param fieldgroups This field lets you control what is to be returned in the response and accepts a comma separated list of values.
|
|
21
|
-
* @param filter This field supports multiple field filters that can be used to limit/customize the result set.
|
|
22
|
-
* @param gtin This field lets you search by the Global Trade Item Number of the item as defined by https://www.gtin.info.
|
|
23
|
-
* @param limit The number of items, from the result set, returned in a single page.
|
|
24
|
-
* @param offset Specifies the number of items to skip in the result set.
|
|
25
|
-
* @param q A string consisting of one or more keywords that are used to search for items on eBay.
|
|
26
|
-
* @param sort This field specifies the order and the field name to use to sort the items.
|
|
27
|
-
*/
|
|
28
7
|
search({ aspectFilter, categoryIds, epid, fieldgroups, filter, gtin, limit, offset, q, sort, }: MarketingInsightsSearchParams): Promise<any>;
|
|
29
8
|
}
|
|
@@ -4,31 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("../../index.js"));
|
|
7
|
-
/**
|
|
8
|
-
* (Limited Release) The Marketplace Insights API provides the ability to search for sold items on eBay by keyword,
|
|
9
|
-
* GTIN, category, and product and returns the of sales history of those items.
|
|
10
|
-
*/
|
|
11
7
|
class MarketplaceInsights extends index_js_1.default {
|
|
12
8
|
get basePath() {
|
|
13
9
|
return '/buy/marketplace_insights/v1_beta';
|
|
14
10
|
}
|
|
15
|
-
/**
|
|
16
|
-
* (Limited Release) This method searches for sold eBay items by various URI query parameters and retrieves the sales
|
|
17
|
-
* history of the items for the last 90 days. You can search by keyword, category, eBay product ID (ePID), or GTIN,
|
|
18
|
-
* or a combination of these.
|
|
19
|
-
*
|
|
20
|
-
* @param itemId
|
|
21
|
-
* @param aspectFilter This field lets you filter by item aspects.
|
|
22
|
-
* @param categoryIds The category ID is required and is used to limit the results.
|
|
23
|
-
* @param epid The ePID is the eBay product identifier of a product from the eBay product catalog.
|
|
24
|
-
* @param fieldgroups This field lets you control what is to be returned in the response and accepts a comma separated list of values.
|
|
25
|
-
* @param filter This field supports multiple field filters that can be used to limit/customize the result set.
|
|
26
|
-
* @param gtin This field lets you search by the Global Trade Item Number of the item as defined by https://www.gtin.info.
|
|
27
|
-
* @param limit The number of items, from the result set, returned in a single page.
|
|
28
|
-
* @param offset Specifies the number of items to skip in the result set.
|
|
29
|
-
* @param q A string consisting of one or more keywords that are used to search for items on eBay.
|
|
30
|
-
* @param sort This field specifies the order and the field name to use to sort the items.
|
|
31
|
-
*/
|
|
32
11
|
search({ aspectFilter, categoryIds, epid, fieldgroups, filter, gtin, limit, offset, q, sort, }) {
|
|
33
12
|
return this.get(`/item_sales/search`, {
|
|
34
13
|
params: {
|
|
@@ -1,24 +1,9 @@
|
|
|
1
1
|
import { PlaceProxyBidRequest } from '../../../../types/index.js';
|
|
2
2
|
import { operations } from '../../../../types/restful/specs/buy_offer_v1_beta_oas3.js';
|
|
3
3
|
import Restful, { OpenApi } from '../../index.js';
|
|
4
|
-
/**
|
|
5
|
-
* The Api Offer API enables Partners to place proxy bids for a buyer and retrieve the auctions where the buyer is
|
|
6
|
-
* bidding. Client Credentials: https://api.ebay.com/oauth/api_scope/buy.offer.auction
|
|
7
|
-
*/
|
|
8
4
|
export default class Offer extends Restful implements OpenApi<operations> {
|
|
9
5
|
static id: string;
|
|
10
6
|
get basePath(): string;
|
|
11
|
-
/**
|
|
12
|
-
* This method retrieves the bidding details that are specific to the buyer of the specified auction.
|
|
13
|
-
*
|
|
14
|
-
* @param itemId
|
|
15
|
-
*/
|
|
16
7
|
getBidding(itemId: string): Promise<any>;
|
|
17
|
-
/**
|
|
18
|
-
* This method uses a user access token to place a proxy bid for the buyer on a specific auction item.
|
|
19
|
-
*
|
|
20
|
-
* @param itemId
|
|
21
|
-
* @param {PlaceProxyBidRequest} body
|
|
22
|
-
*/
|
|
23
8
|
placeProxyBid(itemId: string, body?: PlaceProxyBidRequest): Promise<any>;
|
|
24
9
|
}
|
|
@@ -4,29 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const index_js_1 = __importDefault(require("../../index.js"));
|
|
7
|
-
/**
|
|
8
|
-
* The Api Offer API enables Partners to place proxy bids for a buyer and retrieve the auctions where the buyer is
|
|
9
|
-
* bidding. Client Credentials: https://api.ebay.com/oauth/api_scope/buy.offer.auction
|
|
10
|
-
*/
|
|
11
7
|
class Offer extends index_js_1.default {
|
|
12
8
|
get basePath() {
|
|
13
9
|
return '/buy/offer/v1_beta';
|
|
14
10
|
}
|
|
15
|
-
/**
|
|
16
|
-
* This method retrieves the bidding details that are specific to the buyer of the specified auction.
|
|
17
|
-
*
|
|
18
|
-
* @param itemId
|
|
19
|
-
*/
|
|
20
11
|
getBidding(itemId) {
|
|
21
12
|
const id = encodeURIComponent(itemId);
|
|
22
13
|
return this.get(`/bidding/${id}`);
|
|
23
14
|
}
|
|
24
|
-
/**
|
|
25
|
-
* This method uses a user access token to place a proxy bid for the buyer on a specific auction item.
|
|
26
|
-
*
|
|
27
|
-
* @param itemId
|
|
28
|
-
* @param {PlaceProxyBidRequest} body
|
|
29
|
-
*/
|
|
30
15
|
placeProxyBid(itemId, body) {
|
|
31
16
|
const id = encodeURIComponent(itemId);
|
|
32
17
|
return this.post(`/bidding/${id}/place_proxy_bid`, body);
|