ebay-api 8.4.1 → 8.5.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 +3 -3
- package/dist/api/apiFactory.d.ts +27 -27
- package/dist/api/apiFactory.js +94 -94
- package/dist/api/base.d.ts +10 -10
- package/dist/api/base.js +10 -10
- package/dist/api/digitalSignature.d.ts +43 -43
- package/dist/api/digitalSignature.js +105 -105
- package/dist/api/index.d.ts +13 -13
- package/dist/api/index.js +29 -29
- package/dist/api/restful/buy/browse/index.d.ts +84 -84
- package/dist/api/restful/buy/browse/index.js +132 -135
- package/dist/api/restful/buy/deal/index.d.ts +56 -55
- package/dist/api/restful/buy/deal/index.js +74 -73
- package/dist/api/restful/buy/feed/index.d.ts +44 -43
- package/dist/api/restful/buy/feed/index.js +79 -78
- package/dist/api/restful/buy/index.d.ts +17 -17
- package/dist/api/restful/buy/index.js +8 -8
- package/dist/api/restful/buy/marketing/index.d.ts +28 -27
- package/dist/api/restful/buy/marketing/index.js +45 -44
- package/dist/api/restful/buy/marketplaceInsights/index.d.ts +29 -28
- package/dist/api/restful/buy/marketplaceInsights/index.js +45 -44
- package/dist/api/restful/buy/offer/index.d.ts +24 -23
- package/dist/api/restful/buy/offer/index.js +31 -30
- package/dist/api/restful/buy/order/index.d.ts +265 -264
- package/dist/api/restful/buy/order/index.js +363 -362
- package/dist/api/restful/commerce/catalog/index.d.ts +74 -73
- package/dist/api/restful/commerce/catalog/index.js +100 -101
- package/dist/api/restful/commerce/charity/index.d.ts +35 -34
- package/dist/api/restful/commerce/charity/index.js +50 -49
- package/dist/api/restful/commerce/identity/index.d.ts +15 -14
- package/dist/api/restful/commerce/identity/index.js +21 -20
- package/dist/api/restful/commerce/index.d.ts +15 -15
- package/dist/api/restful/commerce/index.js +7 -7
- package/dist/api/restful/commerce/notification/index.d.ts +118 -117
- package/dist/api/restful/commerce/notification/index.js +181 -180
- package/dist/api/restful/commerce/taxonomy/index.d.ts +79 -78
- package/dist/api/restful/commerce/taxonomy/index.js +129 -128
- package/dist/api/restful/commerce/translation/index.d.ts +16 -15
- package/dist/api/restful/commerce/translation/index.js +19 -18
- package/dist/api/restful/developer/analytics/index.d.ts +23 -22
- package/dist/api/restful/developer/analytics/index.js +39 -38
- package/dist/api/restful/developer/index.d.ts +7 -7
- package/dist/api/restful/developer/index.js +3 -3
- package/dist/api/restful/developer/keyManagement/index.d.ts +25 -24
- package/dist/api/restful/developer/keyManagement/index.js +37 -36
- package/dist/api/restful/index.d.ts +70 -67
- package/dist/api/restful/index.js +180 -180
- package/dist/api/restful/postOrder/cancellation/index.d.ts +57 -57
- package/dist/api/restful/postOrder/cancellation/index.js +89 -88
- package/dist/api/restful/postOrder/case/index.d.ts +63 -63
- package/dist/api/restful/postOrder/case/index.js +89 -88
- package/dist/api/restful/postOrder/index.d.ts +11 -11
- package/dist/api/restful/postOrder/index.js +5 -5
- package/dist/api/restful/postOrder/inquiry/index.d.ts +82 -82
- package/dist/api/restful/postOrder/inquiry/index.js +125 -124
- package/dist/api/restful/postOrder/return/index.d.ts +231 -231
- package/dist/api/restful/postOrder/return/index.js +355 -354
- package/dist/api/restful/sell/account/index.d.ts +299 -298
- package/dist/api/restful/sell/account/index.js +461 -460
- package/dist/api/restful/sell/analytics/index.d.ts +42 -41
- package/dist/api/restful/sell/analytics/index.js +55 -54
- package/dist/api/restful/sell/compliance/index.d.ts +38 -37
- package/dist/api/restful/sell/compliance/index.js +51 -50
- package/dist/api/restful/sell/feed/index.d.ts +172 -171
- package/dist/api/restful/sell/feed/index.js +278 -277
- package/dist/api/restful/sell/finances/index.d.ts +79 -78
- package/dist/api/restful/sell/finances/index.js +103 -102
- package/dist/api/restful/sell/fulfillment/index.d.ts +138 -137
- package/dist/api/restful/sell/fulfillment/index.js +193 -192
- package/dist/api/restful/sell/index.d.ts +29 -29
- package/dist/api/restful/sell/index.js +14 -14
- package/dist/api/restful/sell/inventory/index.d.ts +249 -248
- package/dist/api/restful/sell/inventory/index.js +340 -339
- package/dist/api/restful/sell/listing/index.d.ts +15 -14
- package/dist/api/restful/sell/listing/index.js +19 -18
- package/dist/api/restful/sell/logistics/index.d.ts +45 -44
- package/dist/api/restful/sell/logistics/index.js +60 -59
- package/dist/api/restful/sell/marketing/index.d.ts +627 -626
- package/dist/api/restful/sell/marketing/index.js +863 -862
- package/dist/api/restful/sell/metadata/index.d.ts +78 -77
- package/dist/api/restful/sell/metadata/index.js +125 -124
- package/dist/api/restful/sell/negotiation/index.d.ts +25 -24
- package/dist/api/restful/sell/negotiation/index.js +33 -32
- package/dist/api/restful/sell/recommendation/index.d.ts +27 -26
- package/dist/api/restful/sell/recommendation/index.js +33 -32
- package/dist/api/traditional/XMLRequest.d.ts +109 -109
- package/dist/api/traditional/XMLRequest.js +176 -175
- package/dist/api/traditional/clientAlerts/index.d.ts +9 -9
- package/dist/api/traditional/clientAlerts/index.js +11 -11
- package/dist/api/traditional/clientAlerts/types.d.ts +31 -31
- package/dist/api/traditional/clientAlerts/types.js +32 -32
- package/dist/api/traditional/fields.d.ts +1948 -1948
- package/dist/api/traditional/fields.js +1946 -1946
- package/dist/api/traditional/finding/index.d.ts +12 -12
- package/dist/api/traditional/finding/index.js +13 -13
- package/dist/api/traditional/index.d.ts +17 -17
- package/dist/api/traditional/index.js +191 -191
- package/dist/api/traditional/merchandising/index.d.ts +7 -7
- package/dist/api/traditional/merchandising/index.js +8 -8
- package/dist/api/traditional/shopping/index.d.ts +11 -11
- package/dist/api/traditional/shopping/index.js +13 -13
- package/dist/api/traditional/trading/index.d.ts +142 -142
- package/dist/api/traditional/trading/index.js +143 -143
- package/dist/auth/authNAuth.d.ts +49 -49
- package/dist/auth/authNAuth.js +117 -116
- package/dist/auth/index.d.ts +17 -17
- package/dist/auth/index.js +25 -25
- package/dist/auth/oAuth2.d.ts +95 -95
- package/dist/auth/oAuth2.js +260 -259
- package/dist/eBayApi.d.ts +59 -59
- package/dist/eBayApi.js +105 -104
- package/dist/ebay-api.min.mjs +1 -1
- package/dist/enums/apiEnums.d.ts +49 -49
- package/dist/enums/apiEnums.js +51 -51
- package/dist/enums/index.d.ts +2 -2
- package/dist/enums/index.js +2 -2
- package/dist/enums/restfulEnums.d.ts +976 -970
- package/dist/enums/restfulEnums.js +1019 -1013
- package/dist/errors/index.d.ts +66 -66
- package/dist/errors/index.js +190 -189
- package/dist/nanoevents.d.ts +6 -6
- package/dist/nanoevents.js +20 -20
- package/dist/request.d.ts +26 -26
- package/dist/request.js +43 -43
- package/dist/types/apiTypes.d.ts +40 -40
- package/dist/types/apiTypes.js +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +3 -3
- package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +1531 -0
- package/dist/types/restful/specs/buy_browse_v1_oas3.js +5 -0
- package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +434 -0
- package/dist/types/restful/specs/buy_deal_v1_oas3.js +5 -0
- package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +561 -0
- package/dist/types/restful/specs/buy_feed_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +288 -0
- package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +304 -0
- package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +173 -0
- package/dist/types/restful/specs/buy_offer_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +1701 -0
- package/dist/types/restful/specs/buy_order_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/cancellation_oas3.d.ts +112 -0
- package/dist/types/restful/specs/cancellation_oas3.js +5 -0
- package/dist/types/restful/specs/case_oas3.d.ts +124 -0
- package/dist/types/restful/specs/case_oas3.js +5 -0
- package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +758 -0
- package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +224 -0
- package/dist/types/restful/specs/commerce_charity_v1_oas3.js +5 -0
- package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +152 -0
- package/dist/types/restful/specs/commerce_identity_v1_oas3.js +5 -0
- package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +677 -0
- package/dist/types/restful/specs/commerce_notification_v1_oas3.js +5 -0
- package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +530 -0
- package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.js +5 -0
- package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +100 -0
- package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +158 -0
- package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +162 -0
- package/dist/types/restful/specs/developer_key_management_v1_oas3.js +5 -0
- package/dist/types/restful/specs/inquiry_oas3.d.ts +180 -0
- package/dist/types/restful/specs/inquiry_oas3.js +5 -0
- package/dist/types/restful/specs/return_oas3.d.ts +528 -0
- package/dist/types/restful/specs/return_oas3.js +5 -0
- package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +2061 -0
- package/dist/types/restful/specs/sell_account_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +340 -0
- package/dist/types/restful/specs/sell_analytics_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +253 -0
- package/dist/types/restful/specs/sell_compliance_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +1191 -0
- package/dist/types/restful/specs/sell_feed_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +572 -0
- package/dist/types/restful/specs/sell_finances_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +1386 -0
- package/dist/types/restful/specs/sell_fulfillment_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +2175 -0
- package/dist/types/restful/specs/sell_inventory_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +150 -0
- package/dist/types/restful/specs/sell_listing_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +451 -0
- package/dist/types/restful/specs/sell_logistics_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +3728 -0
- package/dist/types/restful/specs/sell_marketing_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +429 -0
- package/dist/types/restful/specs/sell_metadata_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +225 -0
- package/dist/types/restful/specs/sell_negotiation_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +148 -0
- package/dist/types/restful/specs/sell_recommendation_v1_oas3.js +5 -0
- package/dist/types/restfulTypes.d.ts +439 -1179
- package/dist/types/restfulTypes.js +1 -1
- package/dist/types/traditonalTypes.d.ts +35 -35
- package/dist/types/traditonalTypes.js +1 -1
- package/lib/api/apiFactory.d.ts +27 -27
- package/lib/api/apiFactory.js +100 -100
- package/lib/api/base.d.ts +10 -10
- package/lib/api/base.js +13 -13
- package/lib/api/digitalSignature.d.ts +43 -43
- package/lib/api/digitalSignature.js +112 -112
- package/lib/api/index.d.ts +13 -13
- package/lib/api/index.js +35 -35
- package/lib/api/restful/buy/browse/index.d.ts +84 -84
- package/lib/api/restful/buy/browse/index.js +137 -141
- package/lib/api/restful/buy/deal/index.d.ts +56 -55
- package/lib/api/restful/buy/deal/index.js +79 -79
- package/lib/api/restful/buy/feed/index.d.ts +44 -43
- package/lib/api/restful/buy/feed/index.js +84 -84
- package/lib/api/restful/buy/index.d.ts +17 -17
- package/lib/api/restful/buy/index.js +20 -20
- package/lib/api/restful/buy/marketing/index.d.ts +28 -27
- package/lib/api/restful/buy/marketing/index.js +50 -50
- package/lib/api/restful/buy/marketplaceInsights/index.d.ts +29 -28
- package/lib/api/restful/buy/marketplaceInsights/index.js +50 -50
- package/lib/api/restful/buy/offer/index.d.ts +24 -23
- package/lib/api/restful/buy/offer/index.js +36 -36
- package/lib/api/restful/buy/order/index.d.ts +265 -264
- package/lib/api/restful/buy/order/index.js +368 -368
- package/lib/api/restful/commerce/catalog/index.d.ts +74 -73
- package/lib/api/restful/commerce/catalog/index.js +105 -107
- package/lib/api/restful/commerce/charity/index.d.ts +35 -34
- package/lib/api/restful/commerce/charity/index.js +55 -55
- package/lib/api/restful/commerce/identity/index.d.ts +15 -14
- package/lib/api/restful/commerce/identity/index.js +26 -26
- package/lib/api/restful/commerce/index.d.ts +15 -15
- package/lib/api/restful/commerce/index.js +18 -18
- package/lib/api/restful/commerce/notification/index.d.ts +118 -117
- package/lib/api/restful/commerce/notification/index.js +186 -186
- package/lib/api/restful/commerce/taxonomy/index.d.ts +79 -78
- package/lib/api/restful/commerce/taxonomy/index.js +134 -134
- package/lib/api/restful/commerce/translation/index.d.ts +16 -15
- package/lib/api/restful/commerce/translation/index.js +24 -24
- package/lib/api/restful/developer/analytics/index.d.ts +23 -22
- package/lib/api/restful/developer/analytics/index.js +44 -44
- package/lib/api/restful/developer/index.d.ts +7 -7
- package/lib/api/restful/developer/index.js +10 -10
- package/lib/api/restful/developer/keyManagement/index.d.ts +25 -24
- package/lib/api/restful/developer/keyManagement/index.js +42 -42
- package/lib/api/restful/index.d.ts +70 -67
- package/lib/api/restful/index.js +187 -187
- package/lib/api/restful/postOrder/cancellation/index.d.ts +57 -57
- package/lib/api/restful/postOrder/cancellation/index.js +94 -94
- package/lib/api/restful/postOrder/case/index.d.ts +63 -63
- package/lib/api/restful/postOrder/case/index.js +94 -94
- package/lib/api/restful/postOrder/index.d.ts +11 -11
- package/lib/api/restful/postOrder/index.js +14 -14
- package/lib/api/restful/postOrder/inquiry/index.d.ts +82 -82
- package/lib/api/restful/postOrder/inquiry/index.js +130 -130
- package/lib/api/restful/postOrder/return/index.d.ts +231 -231
- package/lib/api/restful/postOrder/return/index.js +360 -360
- package/lib/api/restful/sell/account/index.d.ts +299 -298
- package/lib/api/restful/sell/account/index.js +466 -466
- package/lib/api/restful/sell/analytics/index.d.ts +42 -41
- package/lib/api/restful/sell/analytics/index.js +60 -60
- package/lib/api/restful/sell/compliance/index.d.ts +38 -37
- package/lib/api/restful/sell/compliance/index.js +56 -56
- package/lib/api/restful/sell/feed/index.d.ts +172 -171
- package/lib/api/restful/sell/feed/index.js +283 -283
- package/lib/api/restful/sell/finances/index.d.ts +79 -78
- package/lib/api/restful/sell/finances/index.js +108 -108
- package/lib/api/restful/sell/fulfillment/index.d.ts +138 -137
- package/lib/api/restful/sell/fulfillment/index.js +198 -198
- package/lib/api/restful/sell/index.d.ts +29 -29
- package/lib/api/restful/sell/index.js +32 -32
- package/lib/api/restful/sell/inventory/index.d.ts +249 -248
- package/lib/api/restful/sell/inventory/index.js +345 -345
- package/lib/api/restful/sell/listing/index.d.ts +15 -14
- package/lib/api/restful/sell/listing/index.js +24 -24
- package/lib/api/restful/sell/logistics/index.d.ts +45 -44
- package/lib/api/restful/sell/logistics/index.js +65 -65
- package/lib/api/restful/sell/marketing/index.d.ts +627 -626
- package/lib/api/restful/sell/marketing/index.js +868 -868
- package/lib/api/restful/sell/metadata/index.d.ts +78 -77
- package/lib/api/restful/sell/metadata/index.js +130 -130
- package/lib/api/restful/sell/negotiation/index.d.ts +25 -24
- package/lib/api/restful/sell/negotiation/index.js +38 -38
- package/lib/api/restful/sell/recommendation/index.d.ts +27 -26
- package/lib/api/restful/sell/recommendation/index.js +38 -38
- package/lib/api/traditional/XMLRequest.d.ts +109 -109
- package/lib/api/traditional/XMLRequest.js +182 -182
- package/lib/api/traditional/clientAlerts/index.d.ts +9 -9
- package/lib/api/traditional/clientAlerts/index.js +14 -14
- package/lib/api/traditional/clientAlerts/types.d.ts +31 -31
- package/lib/api/traditional/clientAlerts/types.js +34 -35
- package/lib/api/traditional/fields.d.ts +1948 -1948
- package/lib/api/traditional/fields.js +1948 -1948
- package/lib/api/traditional/finding/index.d.ts +12 -12
- package/lib/api/traditional/finding/index.js +15 -15
- package/lib/api/traditional/index.d.ts +17 -17
- package/lib/api/traditional/index.js +220 -220
- package/lib/api/traditional/merchandising/index.d.ts +7 -7
- package/lib/api/traditional/merchandising/index.js +10 -10
- package/lib/api/traditional/shopping/index.d.ts +11 -11
- package/lib/api/traditional/shopping/index.js +15 -15
- package/lib/api/traditional/trading/index.d.ts +142 -142
- package/lib/api/traditional/trading/index.js +145 -145
- package/lib/auth/authNAuth.d.ts +49 -49
- package/lib/auth/authNAuth.js +122 -122
- package/lib/auth/index.d.ts +17 -17
- package/lib/auth/index.js +31 -31
- package/lib/auth/oAuth2.d.ts +95 -95
- package/lib/auth/oAuth2.js +265 -265
- package/lib/eBayApi.d.ts +59 -59
- package/lib/eBayApi.js +141 -141
- package/lib/ebay-api.min.js +1 -1
- package/lib/enums/apiEnums.d.ts +49 -49
- package/lib/enums/apiEnums.js +54 -54
- package/lib/enums/index.d.ts +2 -2
- package/lib/enums/index.js +18 -18
- package/lib/enums/restfulEnums.d.ts +976 -970
- package/lib/enums/restfulEnums.js +1021 -1016
- package/lib/errors/index.d.ts +66 -66
- package/lib/errors/index.js +213 -212
- package/lib/index.d.ts +2 -2
- package/lib/index.js +6 -6
- package/lib/nanoevents.d.ts +6 -6
- package/lib/nanoevents.js +24 -24
- package/lib/request.d.ts +26 -26
- package/lib/request.js +50 -50
- package/lib/types/apiTypes.d.ts +40 -40
- package/lib/types/apiTypes.js +2 -2
- package/lib/types/index.d.ts +3 -3
- package/lib/types/index.js +19 -19
- package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +1531 -0
- package/lib/types/restful/specs/buy_browse_v1_oas3.js +6 -0
- package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +434 -0
- package/lib/types/restful/specs/buy_deal_v1_oas3.js +6 -0
- package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +561 -0
- package/lib/types/restful/specs/buy_feed_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +288 -0
- package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +304 -0
- package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +173 -0
- package/lib/types/restful/specs/buy_offer_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +1701 -0
- package/lib/types/restful/specs/buy_order_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/cancellation_oas3.d.ts +112 -0
- package/lib/types/restful/specs/cancellation_oas3.js +6 -0
- package/lib/types/restful/specs/case_oas3.d.ts +124 -0
- package/lib/types/restful/specs/case_oas3.js +6 -0
- package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +758 -0
- package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +224 -0
- package/lib/types/restful/specs/commerce_charity_v1_oas3.js +6 -0
- package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +152 -0
- package/lib/types/restful/specs/commerce_identity_v1_oas3.js +6 -0
- package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +677 -0
- package/lib/types/restful/specs/commerce_notification_v1_oas3.js +6 -0
- package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +530 -0
- package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.js +6 -0
- package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +100 -0
- package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +158 -0
- package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +162 -0
- package/lib/types/restful/specs/developer_key_management_v1_oas3.js +6 -0
- package/lib/types/restful/specs/inquiry_oas3.d.ts +180 -0
- package/lib/types/restful/specs/inquiry_oas3.js +6 -0
- package/lib/types/restful/specs/return_oas3.d.ts +528 -0
- package/lib/types/restful/specs/return_oas3.js +6 -0
- package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +2061 -0
- package/lib/types/restful/specs/sell_account_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +340 -0
- package/lib/types/restful/specs/sell_analytics_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +253 -0
- package/lib/types/restful/specs/sell_compliance_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +1191 -0
- package/lib/types/restful/specs/sell_feed_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +572 -0
- package/lib/types/restful/specs/sell_finances_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +1386 -0
- package/lib/types/restful/specs/sell_fulfillment_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +2175 -0
- package/lib/types/restful/specs/sell_inventory_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +150 -0
- package/lib/types/restful/specs/sell_listing_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +451 -0
- package/lib/types/restful/specs/sell_logistics_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +3728 -0
- package/lib/types/restful/specs/sell_marketing_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +429 -0
- package/lib/types/restful/specs/sell_metadata_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +225 -0
- package/lib/types/restful/specs/sell_negotiation_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +148 -0
- package/lib/types/restful/specs/sell_recommendation_v1_oas3.js +6 -0
- package/lib/types/restfulTypes.d.ts +439 -1179
- package/lib/types/restfulTypes.js +2 -2
- package/lib/types/traditonalTypes.d.ts +35 -35
- package/lib/types/traditonalTypes.js +2 -2
- package/package.json +6 -4
|
@@ -0,0 +1,225 @@
|
|
|
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
|
+
"/find_eligible_items": {
|
|
7
|
+
/** @description This method evaluates a seller's current listings and returns the set of IDs that are eligible for a seller-initiated discount offer to a buyer. A listing ID is returned only when one or more buyers have shown an "interest" in the listing. If any buyers have shown interest in a listing, the seller can initiate a "negotiation" with them by calling sendOfferToInterestedBuyers, which sends all interested buyers a message that offers the listing at a discount. For details about how to create seller offers to buyers, see Sending offers to buyers. */
|
|
8
|
+
get: operations["findEligibleItems"];
|
|
9
|
+
};
|
|
10
|
+
"/send_offer_to_interested_buyers": {
|
|
11
|
+
/** @description This method sends eligible buyers offers to purchase items in a listing at a discount. When a buyer has shown interest in a listing, they become "eligible" to receive a seller-initiated offer to purchase the item(s). Sellers use findEligibleItems to get the set of listings that have interested buyers. If a listing has interested buyers, sellers can use this method (sendOfferToInterestedBuyers) to send an offer to the buyers who are interested in the listing. The offer gives buyers the ability to purchase the associated listings at a discounted price. For details about how to create seller offers to buyers, see Sending offers to buyers. */
|
|
12
|
+
post: operations["sendOfferToInterestedBuyers"];
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export type webhooks = Record<string, never>;
|
|
16
|
+
export interface components {
|
|
17
|
+
schemas: {
|
|
18
|
+
/** @description A complex type that describes the value of a monetary amount as represented by a global currency. */
|
|
19
|
+
Amount: {
|
|
20
|
+
/** @description The base currency applied to the value field to establish a monetary amount. The currency is represented as a 3-letter ISO4217 currency code. For example, the code for the Canadian Dollar is CAD. Default: 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/negotiation/types/bas:CurrencyCodeEnum'>eBay API documentation</a> */
|
|
21
|
+
currency?: string;
|
|
22
|
+
/** @description The monetary amount in the specified currency. */
|
|
23
|
+
value?: string;
|
|
24
|
+
};
|
|
25
|
+
/** @description This complex type contains the fields needed to create an offer to a buyer that is initiated by the seller. */
|
|
26
|
+
CreateOffersRequest: {
|
|
27
|
+
/** @description If set to true, the buyer is allowed to make a counter-offer to the seller's offer. Note: Currently, you must set this field to false; counter-offers are not supported in this release. Default: false */
|
|
28
|
+
allowCounterOffer?: boolean;
|
|
29
|
+
/** @description A seller-defined message related to the offer being made. This message is sent to the list of "interested" buyers. To increase the conversion rate of the offers a seller makes to buyers, eBay recommends you always add a customized message to your offers. Maximum length: 2,000 characters */
|
|
30
|
+
message?: string;
|
|
31
|
+
/** @description The length of time the offer is valid from when it is created. The duration of the offer begins at the date and time denoted by creationDate. When the span of time specified by offerDuration passes beyond the creationDate, the offer expires. Note: offerDuration currently defaults to 2 days and you cannot set it to any other value (if specified, the unit and value fields in TimeDuration must be set to DAY and 2, respectively). Default: 2 Days */
|
|
32
|
+
offerDuration?: components["schemas"]["TimeDuration"];
|
|
33
|
+
/** @description An array of objects where each object contains the details of an offer and the ID of the listing on which the offer is being made. Note that the service does not currently support the creation of multiple offers with a single call to sendOfferToInterestedBuyer. With this, each request can target only one listing at a time and you must populate this array with a single element that contains the details of one offer. */
|
|
34
|
+
offeredItems?: (components["schemas"]["OfferedItem"])[];
|
|
35
|
+
};
|
|
36
|
+
/** @description A listing that is eligible for a seller-initiated offer to a buyer. Listings are identified by a listingId value that is generated and assigned by eBay when a seller lists an item using the Trading API. Note: The Negotiation API does not currently support listings that are managed with the Inventory API. */
|
|
37
|
+
EligibleItem: {
|
|
38
|
+
/** @description The unique eBay-assigned ID for an eBay listing. A listingId is assigned by eBay when a seller creates a listing with the Trading API. */
|
|
39
|
+
listingId?: string;
|
|
40
|
+
};
|
|
41
|
+
/** @description This type defines the fields that can be returned in an error. */
|
|
42
|
+
Error: {
|
|
43
|
+
/** @description Identifies the type of erro. */
|
|
44
|
+
category?: string;
|
|
45
|
+
/** @description Name for the primary system where the error occurred. This is relevant for application errors. */
|
|
46
|
+
domain?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Format: int32
|
|
49
|
+
* @description A unique number to identify the error.
|
|
50
|
+
*/
|
|
51
|
+
errorId?: number;
|
|
52
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
53
|
+
inputRefIds?: (string)[];
|
|
54
|
+
/** @description A more detailed explanation of the error. */
|
|
55
|
+
longMessage?: string;
|
|
56
|
+
/** @description Information on how to correct the problem, in the end user's terms and language where applicable. */
|
|
57
|
+
message?: string;
|
|
58
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
59
|
+
outputRefIds?: (string)[];
|
|
60
|
+
/** @description An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned. */
|
|
61
|
+
parameters?: (components["schemas"]["ErrorParameter"])[];
|
|
62
|
+
/** @description Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc. */
|
|
63
|
+
subdomain?: string;
|
|
64
|
+
};
|
|
65
|
+
ErrorParameter: {
|
|
66
|
+
/** @description The object of the error. */
|
|
67
|
+
name?: string;
|
|
68
|
+
/** @description The value of the object. */
|
|
69
|
+
value?: string;
|
|
70
|
+
};
|
|
71
|
+
/** @description A complex type that defines an offer that a seller makes to eligible buyers. */
|
|
72
|
+
Offer: {
|
|
73
|
+
/** @description If set to true, the buyer is allowed to make a counter-offer to the seller's offer. */
|
|
74
|
+
allowCounterOffer?: boolean;
|
|
75
|
+
/** @description The buyer who has been sent the offer. */
|
|
76
|
+
buyer?: components["schemas"]["User"];
|
|
77
|
+
/** @description The date and time when the seller's offer was created. The returned timestamp is formatted as an ISO 8601 string, which is based on the 24-hour Coordinated Universal Time (UTC) clock. Format: [YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z Example: 2018-08-20T07:09:00.000Z */
|
|
78
|
+
creationDate?: string;
|
|
79
|
+
/** @description The eBay UserName of the user (seller) who initiated the offer. */
|
|
80
|
+
initiatedBy?: string;
|
|
81
|
+
/** @description The date and time when the offer was last modified. The returned timestamp is formatted as an ISO 8601 string. */
|
|
82
|
+
lastModifiedDate?: string;
|
|
83
|
+
/** @description A seller-defined message related to the offer being made. This message is sent to the list of "interested" buyers along with the offer message from eBay. */
|
|
84
|
+
message?: string;
|
|
85
|
+
/** @description The length of time that the offer is valid. The duration of the offer begins at the date and time denoted by creationDate. When the span of time specified by offerDuration passes beyond the creationDate, the offer expires. */
|
|
86
|
+
offerDuration?: components["schemas"]["TimeDuration"];
|
|
87
|
+
/** @description The list of items associated with the offer. Currently, the offer list is restricted to a single offer. */
|
|
88
|
+
offeredItems?: (components["schemas"]["OfferedItem"])[];
|
|
89
|
+
/** @description A unique eBay-assigned identifier for the offer. */
|
|
90
|
+
offerId?: string;
|
|
91
|
+
/** @description The current state, or status, of an offer. Status states include PENDING, COUNTERED, ACCEPTED, and DECLINED. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/negotiation/types/api:OfferStatusEnum'>eBay API documentation</a> */
|
|
92
|
+
offerStatus?: string;
|
|
93
|
+
/** @description The type of offer being made. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/negotiation/types/api:OfferTypeEnum'>eBay API documentation</a> */
|
|
94
|
+
offerType?: string;
|
|
95
|
+
/** @description A unique, eBay-assigned ID for the revision of the offer. */
|
|
96
|
+
revision?: string;
|
|
97
|
+
};
|
|
98
|
+
/** @description A complex type that defines the offer being made to an "interested" buyer. */
|
|
99
|
+
OfferedItem: {
|
|
100
|
+
/** @description This value denotes the percentage that the listing in the offer will be discounted from its original listed price. The seller can specify either the exact price of the discounted items with the price field or they can use this field to specify the percentage that the listing will be discounted, but not both. Minimum: 5 Required if you do not specify a price value. */
|
|
101
|
+
discountPercentage?: string;
|
|
102
|
+
/** @description This value is a unique eBay-assigned ID that identifies the listing to which the offer pertains. A listingId value is generated by eBay when you list an item with the Trading API. */
|
|
103
|
+
listingId?: string;
|
|
104
|
+
/** @description This value denotes the final discounted price of the listing in the offer being made to the buyer. This value must be lower than the original price of the item as stated in the original listing. The seller can use either this field to specify the exact discounted price of the listing or they can use the discountPercentage field to specify the percentage that the listing will be discounted, but not both. Required if you do not specify a discountPercentage value. */
|
|
105
|
+
price?: components["schemas"]["Amount"];
|
|
106
|
+
/**
|
|
107
|
+
* Format: int32
|
|
108
|
+
* @description This integer value indicates the number of items in the eBay listing for which the offer is being made. The offer being made by the seller is an "all or nothing" offer, meaning the buyer must purchase the indicated quantity of items in order to receive the discount on the transaction. Default: 1
|
|
109
|
+
*/
|
|
110
|
+
quantity?: number;
|
|
111
|
+
};
|
|
112
|
+
/** @description This complex type defines a collection of listings that are eligible for an offer to a buyer. */
|
|
113
|
+
PagedEligibleItemCollection: {
|
|
114
|
+
/** @description A list of items that are eligible for a seller-initiated offer to a buyer. Each element in the list contains the listing ID of a listed item. These IDs represent the listings for which buyers have shown an interest. */
|
|
115
|
+
eligibleItems?: (components["schemas"]["EligibleItem"])[];
|
|
116
|
+
/** @description The URI of the current page of results from the result set. */
|
|
117
|
+
href?: string;
|
|
118
|
+
/**
|
|
119
|
+
* Format: int32
|
|
120
|
+
* @description The number of items returned on a single page from the result set. This value can be set in the request with the limit query parameter.
|
|
121
|
+
*/
|
|
122
|
+
limit?: number;
|
|
123
|
+
/** @description The URI for the following page of results. This value is returned only if there is an additional page of results to display from the result set. Max length: 2048 */
|
|
124
|
+
next?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Format: int32
|
|
127
|
+
* @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 offset query parameter. Note: The items in a paginated result set use a zero-based list where the first item in the list has an offset of 0.
|
|
128
|
+
*/
|
|
129
|
+
offset?: number;
|
|
130
|
+
/** @description The URI for the preceding page of results. This value is returned only if there is a previous page of results to display from the result set. Max length: 2048 */
|
|
131
|
+
prev?: string;
|
|
132
|
+
/**
|
|
133
|
+
* Format: int32
|
|
134
|
+
* @description The total number of items retrieved in the result set. If no items match the search criteria, the server returns the HTTP status code 204 No Content.
|
|
135
|
+
*/
|
|
136
|
+
total?: number;
|
|
137
|
+
};
|
|
138
|
+
/** @description The response object returned from a SendOfferToInterestedBuyers request. */
|
|
139
|
+
SendOfferToInterestedBuyersCollectionResponse: {
|
|
140
|
+
/** @description The offers container returns a list of the offers sent to buyers who have shown an interest in listings included in the offer. */
|
|
141
|
+
offers?: (components["schemas"]["Offer"])[];
|
|
142
|
+
};
|
|
143
|
+
/** @description A complex type that specifies a period of time using a specified time-measurement unit. */
|
|
144
|
+
TimeDuration: {
|
|
145
|
+
/** @description A time-measurement unit that specifies a singular period of time. A span of time is defined when you apply the value specified in the value field to the value specified for unit. Time-measurement units can be YEAR, MONTH, DAY, and so on. See TimeDurationUnitEnum for a complete list of possible time-measurement units. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/negotiation/types/bas:TimeDurationUnitEnum'>eBay API documentation</a> */
|
|
146
|
+
unit?: string;
|
|
147
|
+
/**
|
|
148
|
+
* Format: int32
|
|
149
|
+
* @description An integer that represents an amount of time, as measured by the time-measurement unit specified in the unit field.
|
|
150
|
+
*/
|
|
151
|
+
value?: number;
|
|
152
|
+
};
|
|
153
|
+
/** @description This complex type identifies an eBay user. */
|
|
154
|
+
User: {
|
|
155
|
+
/** @description The masked user name is a user name that has certain characters hidden for privacy of the user. */
|
|
156
|
+
maskedUsername?: string;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
responses: never;
|
|
160
|
+
parameters: never;
|
|
161
|
+
requestBodies: never;
|
|
162
|
+
headers: never;
|
|
163
|
+
pathItems: never;
|
|
164
|
+
}
|
|
165
|
+
export type external = Record<string, never>;
|
|
166
|
+
export interface operations {
|
|
167
|
+
/** @description This method evaluates a seller's current listings and returns the set of IDs that are eligible for a seller-initiated discount offer to a buyer. A listing ID is returned only when one or more buyers have shown an "interest" in the listing. If any buyers have shown interest in a listing, the seller can initiate a "negotiation" with them by calling sendOfferToInterestedBuyers, which sends all interested buyers a message that offers the listing at a discount. For details about how to create seller offers to buyers, see Sending offers to buyers. */
|
|
168
|
+
findEligibleItems: {
|
|
169
|
+
parameters: {
|
|
170
|
+
query?: {
|
|
171
|
+
/** @description This query parameter specifies the maximum number of items to return from the result set on a page in the paginated response. Minimum: 1 Maximum: 200 Default: 10 */
|
|
172
|
+
limit?: string;
|
|
173
|
+
/** @description This query parameter specifies the number of results to skip in the result set before returning the first result in the paginated response. Combine offset with the limit query parameter to control the items returned in the response. For example, if you supply an offset of 0 and a limit of 10, the first page of the response contains the first 10 results from the complete list of items retrieved by the call. If offset is 10 and limit is 20, the first page of the response contains items 11-30 from the complete result set. Default: 0 */
|
|
174
|
+
offset?: string;
|
|
175
|
+
};
|
|
176
|
+
header: {
|
|
177
|
+
/** @description The eBay marketplace on which you want to search for eligible listings. For a complete list of supported marketplaces, see Negotiation API requirements and restrictions. */
|
|
178
|
+
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
responses: {
|
|
182
|
+
/** @description Success */
|
|
183
|
+
200: {
|
|
184
|
+
content: {
|
|
185
|
+
"application/json": components["schemas"]["PagedEligibleItemCollection"];
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
/** @description No Content */
|
|
189
|
+
204: never;
|
|
190
|
+
/** @description Bad Request */
|
|
191
|
+
400: never;
|
|
192
|
+
/** @description Internal Server Error */
|
|
193
|
+
500: never;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
/** @description This method sends eligible buyers offers to purchase items in a listing at a discount. When a buyer has shown interest in a listing, they become "eligible" to receive a seller-initiated offer to purchase the item(s). Sellers use findEligibleItems to get the set of listings that have interested buyers. If a listing has interested buyers, sellers can use this method (sendOfferToInterestedBuyers) to send an offer to the buyers who are interested in the listing. The offer gives buyers the ability to purchase the associated listings at a discounted price. For details about how to create seller offers to buyers, see Sending offers to buyers. */
|
|
197
|
+
sendOfferToInterestedBuyers: {
|
|
198
|
+
parameters: {
|
|
199
|
+
header: {
|
|
200
|
+
/** @description The eBay marketplace on which your listings with "eligible" buyers appear. For a complete list of supported marketplaces, see Negotiation API requirements and restrictions. */
|
|
201
|
+
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
/** @description Send offer to eligible items request. */
|
|
205
|
+
requestBody?: {
|
|
206
|
+
content: {
|
|
207
|
+
"application/json": components["schemas"]["CreateOffersRequest"];
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
responses: {
|
|
211
|
+
/** @description Success */
|
|
212
|
+
200: {
|
|
213
|
+
content: {
|
|
214
|
+
"application/json": components["schemas"]["SendOfferToInterestedBuyersCollectionResponse"];
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
/** @description Bad Request */
|
|
218
|
+
400: never;
|
|
219
|
+
/** @description Conflict */
|
|
220
|
+
409: never;
|
|
221
|
+
/** @description Internal Server Error */
|
|
222
|
+
500: never;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
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
|
+
"/find": {
|
|
7
|
+
/** @description The find method currently returns information for a single recommendation type (AD) which contains information that sellers can use to configure Promoted Listings ad campaigns. The response from this method includes an array of the seller's listing IDs, where each element in the array contains recommendations related to the associated listing ID. For details on how to use this method, see Using the Recommendation API to help configure campaigns. The AD recommendation type The AD type contains two sets of information: The promoteWithAd indicator The promoteWithAd response field indicates whether or not eBay recommends you place the associated listing in a Promoted Listings ad campaign. The returned value is set to either RECOMMENDED or UNDETERMINED, where RECOMMENDED identifies the listings that will benefit the most from having them included in an ad campaign. The bid percentage Also known as the "ad rate," the bidPercentage field provides the current trending bid percentage of similarly promoted items in the marketplace. The ad rate is a user-specified value that indicates the level of promotion that eBay applies to the campaign across the marketplace. The value is also used to calculate the Promotion Listings fee, which is assessed to the seller if a Promoted Listings action results in the sale of an item. Configuring the request You can configure a request to review all of a seller's currently active listings, or just a subset of them. All active listings – If you leave the request body empty, the request targets all the items currently listed by the seller. Here, the response is filtered to contain only the items where promoteWithAd equals RECOMMENDED. In this case, eBay recommends that all the returned listings should be included in a Promoted Listings ad campaign. Selected listing IDs – If you populate the request body with a set of listingIds, the response contains data for all the specified listing IDs. In this scenario, the response provides you with information on listings where the promoteWithAd can be either RECOMMENDED or UNDETERMINED. The paginated response Because the response can contain many listing IDs, the findListingRecommendations method paginates the response set. You can control size of the returned pages, as well as an offset that dictates where to start the pagination, using query parameters in the request. */
|
|
8
|
+
post: operations["findListingRecommendations"];
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export type webhooks = Record<string, never>;
|
|
12
|
+
export interface components {
|
|
13
|
+
schemas: {
|
|
14
|
+
/** @description A complex type that contains recommendations and information on how to configure Promoted Listings ad campaigns. */
|
|
15
|
+
Ad: {
|
|
16
|
+
/** @description This field returns information that you can use to configure the bidPercentage field in a Promoted Listings campaign. Note: Currently, ITEM and TRENDING are the only supported bid percentage types. The ITEM suggested bid percentages are tailored to each of your items and are designed to help you stay competitive while finding an optimal balance between performance and cost. The recommendations are calculated based on a variety of factors that may include item attributes, seasonality, past performance, and current competition for each of your listings. The TRENDING suggested bid percentages are calculated by reviewing the category level average ad rates in the marketplace. Setting the bidPercentage of your ad campaign based on these rate recommendations will help the items in the campaign be competitive with other items in the marketplace by improving their chances of being displayed more often in the marketplace. */
|
|
17
|
+
bidPercentages?: (components["schemas"]["BidPercentages"])[];
|
|
18
|
+
/** @description An enum whose values describe whether or not eBay recommends you place the associated listing in a Promoted Listings ad campaign. IDs deemed RECOMMENDED by eBay are the listings with the highest potential of benefiting from being promoted. The recommendation calculation is based on marketplace trends, like buyer demand and the competition in the item’s category. Note: A promoteWithAd value cannot be calculated for listings that are part of Promoted Listings campaigns. Because of this, if you call findListingRecommendations with a specific set of listing IDs, the promoteWithAd field is not returned for any of the listings that are involved in a promotion. However, as long as they are eligible, the trending bidPercentage is returned for all specified listings, even if they are part of an ad campaign. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/recommendation/types/api:PromoteWithAd'>eBay API documentation</a> */
|
|
19
|
+
promoteWithAd?: string;
|
|
20
|
+
};
|
|
21
|
+
/** @description A complex type that returns data related to Promoted Listings bid percentages. */
|
|
22
|
+
BidPercentages: {
|
|
23
|
+
/** @description The basis by which the ad rate is calculated. Valid Values: ITEM and TRENDING For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/recommendation/types/api:Basis'>eBay API documentation</a> */
|
|
24
|
+
basis?: string;
|
|
25
|
+
/** @description The bid percentage data is a single precision value, as calculated by the associated basis. In Promoted listings ad campaigns, the bid percentage (also known as the ad rate) is a user-defined value that sets the level that eBay raises the visibility of the listing in the marketplace. It is also the rate that is used to calculate the Promoted Listings fee. Minimum value: 1.0 Maximum value: 100.0 */
|
|
26
|
+
value?: string;
|
|
27
|
+
};
|
|
28
|
+
/** @description This type defines the fields that can be returned in an error. */
|
|
29
|
+
Error: {
|
|
30
|
+
/** @description Identifies the type of erro. */
|
|
31
|
+
category?: string;
|
|
32
|
+
/** @description Name for the primary system where the error occurred. This is relevant for application errors. */
|
|
33
|
+
domain?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Format: int32
|
|
36
|
+
* @description A unique number to identify the error.
|
|
37
|
+
*/
|
|
38
|
+
errorId?: number;
|
|
39
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
40
|
+
inputRefIds?: (string)[];
|
|
41
|
+
/** @description A more detailed explanation of the error. */
|
|
42
|
+
longMessage?: string;
|
|
43
|
+
/** @description Information on how to correct the problem, in the end user's terms and language where applicable. */
|
|
44
|
+
message?: string;
|
|
45
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
46
|
+
outputRefIds?: (string)[];
|
|
47
|
+
/** @description An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned. */
|
|
48
|
+
parameters?: (components["schemas"]["ErrorParameter"])[];
|
|
49
|
+
/** @description Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc. */
|
|
50
|
+
subdomain?: string;
|
|
51
|
+
};
|
|
52
|
+
ErrorParameter: {
|
|
53
|
+
/** @description The object of the error. */
|
|
54
|
+
name?: string;
|
|
55
|
+
/** @description The value of the object. */
|
|
56
|
+
value?: string;
|
|
57
|
+
};
|
|
58
|
+
/** @description An list of listing ID values for which you want Promoted Listings ad configuration information. */
|
|
59
|
+
FindListingRecommendationRequest: {
|
|
60
|
+
/** @description A comma-separated list of listing IDs for which you want Promoted Listings ad configuration information. Currently, this method accepts only listingId values from the Trading API. Max: 500 listing IDs */
|
|
61
|
+
listingIds?: (string)[];
|
|
62
|
+
};
|
|
63
|
+
/** @description A complex type that contains the ID of an actively listed item and a set of related listing recommendations. The recommendations contain information the seller can use to optimize their listing configurations. */
|
|
64
|
+
ListingRecommendation: {
|
|
65
|
+
/** @description An ID that identifies the active listing associated with the eBay recommendations. */
|
|
66
|
+
listingId?: string;
|
|
67
|
+
/** @description This return object provides the eBay recommendations and information related to the associated listing ID. The container currently returns the AD recommendation type, which contains information that sellers can use to configure Promoted Listings ad campaigns. This container is returned with each ListingRecommendation object, except when: The listing ID is not eligible for Promoted Listings The listing ID is currently in a Promoted Listings campaign The listing ID is invalid */
|
|
68
|
+
marketing?: components["schemas"]["MarketingRecommendation"];
|
|
69
|
+
};
|
|
70
|
+
/** @description A complex type that contains information about how a seller can improve their listing configurations. The AD object contains Promoted Listings recommendations and information, which the seller can use to improve buyer conversions. The response can also contain an optional message about the returned data. */
|
|
71
|
+
MarketingRecommendation: {
|
|
72
|
+
/** @description An object that contains Promoted Listings recommendations and information related to the associated listing ID. */
|
|
73
|
+
ad?: components["schemas"]["Ad"];
|
|
74
|
+
/** @description A message that can conditionally accompany the listing information. */
|
|
75
|
+
message?: string;
|
|
76
|
+
};
|
|
77
|
+
/** @description The high-level object used to return a set of Promoted Listings ad recommendations. */
|
|
78
|
+
PagedListingRecommendationCollection: {
|
|
79
|
+
/** @description The URI of the current page of results from the result set. */
|
|
80
|
+
href?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Format: int32
|
|
83
|
+
* @description The number of items returned on a single page from the result set. This value can be set in the request with the limit query parameter.
|
|
84
|
+
*/
|
|
85
|
+
limit?: number;
|
|
86
|
+
/** @description Returns a list of listingRecommendations, where each element in the list offers recommendations for the associated listingId. Which elements are returned depend on how you structure the request. For example, if you request recommendations for all of a sellers listings (by leaving the request payload empty), ad recommendations are returned only for those listings where promoteWithAd is set to RECOMMENDED. */
|
|
87
|
+
listingRecommendations?: (components["schemas"]["ListingRecommendation"])[];
|
|
88
|
+
/** @description The URI for the following page of results. This value is returned only if there is an additional page of results to display from the result set. Max length: 2048 */
|
|
89
|
+
next?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Format: int32
|
|
92
|
+
* @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 offset query parameter. Note: The items in a paginated result set use a zero-based list where the first item in the list has an offset of 0.
|
|
93
|
+
*/
|
|
94
|
+
offset?: number;
|
|
95
|
+
/** @description The URI for the preceding page of results. This value is returned only if there is a previous page of results to display from the result set. Max length: 2048 */
|
|
96
|
+
prev?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Format: int32
|
|
99
|
+
* @description The total number of items retrieved in the result set. If no items are found, this field is returned with a value of 0.
|
|
100
|
+
*/
|
|
101
|
+
total?: number;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
responses: never;
|
|
105
|
+
parameters: never;
|
|
106
|
+
requestBodies: never;
|
|
107
|
+
headers: never;
|
|
108
|
+
pathItems: never;
|
|
109
|
+
}
|
|
110
|
+
export type external = Record<string, never>;
|
|
111
|
+
export interface operations {
|
|
112
|
+
/** @description The find method currently returns information for a single recommendation type (AD) which contains information that sellers can use to configure Promoted Listings ad campaigns. The response from this method includes an array of the seller's listing IDs, where each element in the array contains recommendations related to the associated listing ID. For details on how to use this method, see Using the Recommendation API to help configure campaigns. The AD recommendation type The AD type contains two sets of information: The promoteWithAd indicator The promoteWithAd response field indicates whether or not eBay recommends you place the associated listing in a Promoted Listings ad campaign. The returned value is set to either RECOMMENDED or UNDETERMINED, where RECOMMENDED identifies the listings that will benefit the most from having them included in an ad campaign. The bid percentage Also known as the "ad rate," the bidPercentage field provides the current trending bid percentage of similarly promoted items in the marketplace. The ad rate is a user-specified value that indicates the level of promotion that eBay applies to the campaign across the marketplace. The value is also used to calculate the Promotion Listings fee, which is assessed to the seller if a Promoted Listings action results in the sale of an item. Configuring the request You can configure a request to review all of a seller's currently active listings, or just a subset of them. All active listings – If you leave the request body empty, the request targets all the items currently listed by the seller. Here, the response is filtered to contain only the items where promoteWithAd equals RECOMMENDED. In this case, eBay recommends that all the returned listings should be included in a Promoted Listings ad campaign. Selected listing IDs – If you populate the request body with a set of listingIds, the response contains data for all the specified listing IDs. In this scenario, the response provides you with information on listings where the promoteWithAd can be either RECOMMENDED or UNDETERMINED. The paginated response Because the response can contain many listing IDs, the findListingRecommendations method paginates the response set. You can control size of the returned pages, as well as an offset that dictates where to start the pagination, using query parameters in the request. */
|
|
113
|
+
findListingRecommendations: {
|
|
114
|
+
parameters: {
|
|
115
|
+
query?: {
|
|
116
|
+
/** @description Provide a list of key-value pairs to specify the criteria you want to use to filter the response. In the list, separate each filter key from its associated value with a colon (":"). Currently, the only supported filter value is recommendationTypes and it supports only the ("AD") type. Follow the recommendationTypes specifier with the filter type(s) enclosed in curly braces ("{ }"), and separate multiple types with commas. Example: filter=recommendationTypes:{AD} Default: recommendationTypes:{AD} */
|
|
117
|
+
filter?: string;
|
|
118
|
+
/** @description Use this query parameter to set the maximum number of ads to return on a page from the paginated response. Default: 10 Maximum: 500 */
|
|
119
|
+
limit?: string;
|
|
120
|
+
/** @description Specifies the number of ads to skip in the result set before returning the first ad in the paginated response. Combine offset with the limit query parameter to control the items returned in the response. For example, if you supply an offset of 0 and a limit of 10, the first page of the response contains the first 10 items from the complete list of items retrieved by the call. If offset is 10 and limit is 20, the first page of the response contains items 11-30 from the complete result set. Default: 0 */
|
|
121
|
+
offset?: string;
|
|
122
|
+
};
|
|
123
|
+
header: {
|
|
124
|
+
/** @description Use this header to specify the eBay marketplace where you list the items for which you want to get recommendations. */
|
|
125
|
+
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
requestBody?: {
|
|
129
|
+
content: {
|
|
130
|
+
"application/json": components["schemas"]["FindListingRecommendationRequest"];
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
responses: {
|
|
134
|
+
/** @description Success */
|
|
135
|
+
200: {
|
|
136
|
+
content: {
|
|
137
|
+
"application/json;charset=UTF-8": components["schemas"]["PagedListingRecommendationCollection"];
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
/** @description No Content */
|
|
141
|
+
204: never;
|
|
142
|
+
/** @description Bad Request */
|
|
143
|
+
400: never;
|
|
144
|
+
/** @description Internal Server Error */
|
|
145
|
+
500: never;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
}
|