ebay-api 8.4.1 → 8.5.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 +1 -1
- 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 +970 -970
- package/dist/enums/restfulEnums.js +1013 -1013
- package/dist/errors/index.d.ts +66 -66
- package/dist/errors/index.js +189 -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 +970 -970
- package/lib/enums/restfulEnums.js +1016 -1016
- package/lib/errors/index.d.ts +66 -66
- package/lib/errors/index.js +212 -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,1191 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
"/order_task": {
|
|
7
|
+
/** @description This method returns the details and status for an array of order tasks based on a specified <strong>feed_type</strong> or <strong>schedule_id</strong>. Specifying both <strong>feed_type</strong> and <strong>schedule_id</strong> results in an error. Since schedules are based on feed types, you can specify a schedule (<strong>schedule_id</strong>) that returns the needed <strong>feed_type</strong>.<br /><br />If specifying the <strong>feed_type</strong>, limit which order tasks are returned by specifying filters such as the creation date range or period of time using <strong>look_back_days</strong>. <br /><br />If specifying a <strong>schedule_id</strong>, the schedule template (that the <strong>schedule_id</strong> is based on) determines which order tasks are returned (see <strong>schedule_id</strong> for additional information). Each <strong>schedule_id</strong> applies to one <strong>feed_type</strong>. */
|
|
8
|
+
get: operations["getOrderTasks"];
|
|
9
|
+
/** @description This method creates an order download task with filter criteria for the order report. When using this method, specify the <b> feedType</b>, <b> schemaVersion</b>, and <b> filterCriteria</b> for the report. The method returns the <b> location</b> response header containing the getOrderTask call URI to retrieve the order task you just created. The URL includes the eBay-assigned task ID, which you can use to reference the order task. <br /><br />To retrieve the status of the task, use the <b> getOrderTask</b> method to retrieve a single task ID or the <b>getOrderTasks</b> method to retrieve multiple order task IDs.<p> <span class="tablenote"><strong>Note:</strong> The scope depends on the feed type. An error message results when an unsupported scope or feed type is specified.</span></p><p>The following list contains this method's authorization scope and its corresponding feed type:<ul><li>https://api.ebay.com/oauth/api_scope/sell.fulfillment: LMS_ORDER_REPORT</li></ul> </p><p>For details about how this method is used, see <a href="/api-docs/sell/static/feed/general-feed-tasks.html">General feed types</a> in the Selling Integration Guide. <p> <span class="tablenote"><strong>Note:</strong> At this time, the <strong>createOrderTask</strong> method only supports order creation date filters and not modified order date filters. Do not include the <strong>modifiedDateRange</strong> filter in your request payload.</span></p> */
|
|
10
|
+
post: operations["createOrderTask"];
|
|
11
|
+
};
|
|
12
|
+
"/order_task/{task_id}": {
|
|
13
|
+
/** @description This method retrieves the task details and status of the specified task. The input is <strong>task_id</strong>. <p>For details about how this method is used, see <a href="/api-docs/sell/static/orders/generating-and-retrieving-order-reports.html">Working with Order Feeds</a> in the Selling Integration Guide. </p> */
|
|
14
|
+
get: operations["getOrderTask"];
|
|
15
|
+
};
|
|
16
|
+
"/inventory_task": {
|
|
17
|
+
/** @description This method searches for multiple tasks of a specific feed type, and includes date filters and pagination. */
|
|
18
|
+
get: operations["getInventoryTasks"];
|
|
19
|
+
/** @description This method creates an inventory-related download task for a specified feed type with optional filter criteria. When using this method, specify the <strong>feedType</strong>. <br/><br/>This method returns the location response header containing the <strong>getInventoryTask</strong> call URI to retrieve the inventory task you just created. The URL includes the eBay-assigned task ID, which you can use to reference the inventory task.<br/><br/>To retrieve the status of the task, use the <strong>getInventoryTask</strong> method to retrieve a single task ID or the <strong>getInventoryTasks</strong> method to retrieve multiple task IDs.<p> <span class="tablenote"><strong>Note:</strong> The scope depends on the feed type. An error message results when an unsupported scope or feed type is specified.</span></p>Presently, this method supports Active Inventory Report. The <strong>ActiveInventoryReport</strong> returns a report that contains price and quantity information for all of the active listings for a specific seller. A seller can use this information to maintain their inventory on eBay. */
|
|
20
|
+
post: operations["createInventoryTask"];
|
|
21
|
+
};
|
|
22
|
+
"/inventory_task/{task_id}": {
|
|
23
|
+
/** @description This method retrieves the task details and status of the specified inventory-related task. The input is <strong>task_id</strong>. */
|
|
24
|
+
get: operations["getInventoryTask"];
|
|
25
|
+
};
|
|
26
|
+
"/schedule": {
|
|
27
|
+
/** @description This method retrieves an array containing the details and status of all schedules based on the specified <strong>feed_type</strong>. Use this method to find a schedule if you do not know the <strong>schedule_id</strong>. */
|
|
28
|
+
get: operations["getSchedules"];
|
|
29
|
+
/** @description This method creates a schedule, which is a subscription to the specified schedule template. A schedule periodically generates a report for the <strong>feedType</strong> specified by the template. Specify the same <strong>feedType</strong> as the <strong>feedType</strong> of the associated schedule template. When creating the schedule, if available from the template, you can specify a preferred trigger hour, day of the week, or day of the month. These and other fields are conditionally available as specified by the template.<p> <span class="tablenote"><strong>Note:</strong> Make sure to include all fields required by the schedule template (<strong>scheduleTemplateId</strong>). Call the <strong>getScheduleTemplate</strong> method (or the <strong>getScheduleTemplates</strong> method), to find out which fields are required or optional. If a field is optional and a default value is provided by the template, the default value will be used if omitted from the payload.</span></p>A successful call returns the location response header containing the <strong>getSchedule</strong> call URI to retrieve the schedule you just created. The URL includes the eBay-assigned schedule ID, which you can use to reference the schedule task. <br /><br />To retrieve the details of the create schedule task, use the <strong>getSchedule</strong> method for a single schedule ID or the <strong>getSchedules</strong> method to retrieve all schedule details for the specified <strong>feed_type</strong>. The number of schedules for each feedType is limited. Error code 160031 is returned when you have reached this maximum.<p> <span class="tablenote"><strong>Note:</strong> Except for schedules with a HALF-HOUR frequency, all schedules will ideally run at the start of each hour ('00' minutes). Actual start time may vary time may vary due to load and other factors.</span></p> */
|
|
30
|
+
post: operations["createSchedule"];
|
|
31
|
+
};
|
|
32
|
+
"/schedule/{schedule_id}": {
|
|
33
|
+
/** @description This method retrieves schedule details and status of the specified schedule. Specify the schedule to retrieve using the <strong>schedule_id</strong>. Use the <strong>getSchedules</strong> method to find a schedule if you do not know the <strong>schedule_id</strong>. */
|
|
34
|
+
get: operations["getSchedule"];
|
|
35
|
+
/** @description This method updates an existing schedule. Specify the schedule to update using the <strong>schedule_id</strong> path parameter. If the schedule template has changed after the schedule was created or updated, the input will be validated using the changed template.<p> <span class="tablenote"><strong>Note:</strong> Make sure to include all fields required by the schedule template (<strong>scheduleTemplateId</strong>). Call the <strong>getScheduleTemplate</strong> method (or the <strong>getScheduleTemplates</strong> method), to find out which fields are required or optional. If you do not know the <strong>scheduleTemplateId</strong>, call the <strong>getSchedule</strong> method to find out.</span></p> */
|
|
36
|
+
put: operations["updateSchedule"];
|
|
37
|
+
/** @description This method deletes an existing schedule. Specify the schedule to delete using the <strong>schedule_id</strong> path parameter. */
|
|
38
|
+
delete: operations["deleteSchedule"];
|
|
39
|
+
};
|
|
40
|
+
"/schedule/{schedule_id}/download_result_file": {
|
|
41
|
+
/** @description This method downloads the latest result file generated by the schedule. The response of this call is a compressed or uncompressed CSV, XML, or JSON file, with the applicable file extension (for example: csv.gz). Specify the <strong>schedule_id</strong> path parameter to download its last generated file. */
|
|
42
|
+
get: operations["getLatestResultFile"];
|
|
43
|
+
};
|
|
44
|
+
"/schedule_template/{schedule_template_id}": {
|
|
45
|
+
/** @description This method retrieves the details of the specified template. Specify the template to retrieve using the <strong>schedule_template_id</strong> path parameter. Use the <strong>getScheduleTemplates</strong> method to find a schedule template if you do not know the <strong>schedule_template_id</strong>. */
|
|
46
|
+
get: operations["getScheduleTemplate"];
|
|
47
|
+
};
|
|
48
|
+
"/schedule_template": {
|
|
49
|
+
/** @description This method retrieves an array containing the details and status of all schedule templates based on the specified <strong>feed_type</strong>. Use this method to find a schedule template if you do not know the <strong>schedule_template_id</strong>. */
|
|
50
|
+
get: operations["getScheduleTemplates"];
|
|
51
|
+
};
|
|
52
|
+
"/task": {
|
|
53
|
+
/** @description This method returns the details and status for an array of tasks based on a specified <strong>feed_type</strong> or <strong>scheduledId</strong>. Specifying both <strong>feed_type</strong> and <strong>scheduledId</strong> results in an error. Since schedules are based on feed types, you can specify a schedule (<strong>schedule_id</strong>) that returns the needed <strong>feed_type</strong>.<br /><br />If specifying the <strong>feed_type</strong>, limit which tasks are returned by specifying filters, such as the creation date range or period of time using <strong>look_back_days</strong>. Also, by specifying the <strong>feed_type</strong>, both on-demand and scheduled reports are returned.<br /><br />If specifying a <strong>scheduledId</strong>, the schedule template (that the schedule ID is based on) determines which tasks are returned (see <strong>schedule_id</strong> for additional information). Each <strong>scheduledId</strong> applies to one <strong>feed_type</strong>. */
|
|
54
|
+
get: operations["getTasks"];
|
|
55
|
+
/** @description This method creates an upload task or a download task without filter criteria. When using this method, specify the <b> feedType</b> and the feed file <b> schemaVersion</b>. The feed type specified sets the task as a download or an upload task. <p>For details about the upload and download flows, see <a href="/api-docs/sell/static/orders/generating-and-retrieving-order-reports.html">Working with Order Feeds</a> in the Selling Integration Guide.</p><p> <span class="tablenote"><strong>Note:</strong> The scope depends on the feed type. An error message results when an unsupported scope or feed type is specified.</span></p><p>The following list contains this method's authorization scopes and their corresponding feed types:</p><ul><li>https://api.ebay.com/oauth/api_scope/sell.inventory: See <a href="/api-docs/sell/static/lms-migration/lms-to-feed-feedtype.html" target="_blank">LMS FeedTypes</a></li><li>https://api.ebay.com/oauth/api_scope/sell.fulfillment: LMS_ORDER_ACK (specify for upload tasks). Also see <a href="/api-docs/sell/static/lms-migration/lms-to-feed-feedtype.html" target="_blank">LMS FeedTypes</a></li><li>https://api.ebay.com/oauth/api_scope/sell.marketing: None*</li><li>https://api.ebay.com/oauth/api_scope/commerce.catalog.readonly: None*</li></ul><p>* Reserved for future release</p> */
|
|
56
|
+
post: operations["createTask"];
|
|
57
|
+
};
|
|
58
|
+
"/task/{task_id}/download_input_file": {
|
|
59
|
+
/** @description This method downloads the file previously uploaded using <strong>uploadFile</strong>. Specify the task_id from the <strong>uploadFile</strong> call. <p><span class="tablenote"><strong>Note:</strong> With respect to LMS, this method applies to all feed types except <code>LMS_ORDER_REPORT</code> and <code>LMS_ACTIVE_INVENTORY_REPORT</code>. See <a href="/api-docs/sell/static/feed/lms-feeds.html">LMS API Feeds</a> in the Selling Integration Guide.</span></p> */
|
|
60
|
+
get: operations["getInputFile"];
|
|
61
|
+
};
|
|
62
|
+
"/task/{task_id}/download_result_file": {
|
|
63
|
+
/** @description This method retrieves the generated file that is associated with the specified task ID. The response of this call is a compressed or uncompressed CSV, XML, or JSON file, with the applicable file extension (for example: csv.gz). <p>For details about how this method is used, see <a href="/api-docs/sell/static/orders/generating-and-retrieving-order-reports.html">Working with Order Feeds</a> in the Selling Integration Guide. </p><p><span class="tablenote"><strong>Note:</strong> The status of the task to retrieve must be in the COMPLETED or COMPLETED_WITH_ERROR state before this method can retrieve the file. You can use the getTask or getTasks method to retrieve the status of the task.</span></p> */
|
|
64
|
+
get: operations["getResultFile"];
|
|
65
|
+
};
|
|
66
|
+
"/task/{task_id}": {
|
|
67
|
+
/** @description This method retrieves the details and status of the specified task. The input is <strong>task_id</strong>. <br /><br />For details of how this method is used, see <a href="/api-docs/sell/static/orders/generating-and-retrieving-order-reports.html">Working with Order Feeds</a> in the Selling Integration Guide. */
|
|
68
|
+
get: operations["getTask"];
|
|
69
|
+
};
|
|
70
|
+
"/task/{task_id}/upload_file": {
|
|
71
|
+
/** @description This method associates the specified file with the specified task ID and uploads the input file. After the file has been uploaded, the processing of the file begins. <br /><br />Reports often take time to generate and it's common for this method to return an HTTP status of 202, which indicates the report is being generated. Use the <b> getTask</b> with the task ID or <b> getTasks</b> to determine the status of a report. <br /><br />The status flow is <code>QUEUED</code> > <code>IN_PROCESS</code> > <code>COMPLETED</code> or <code>COMPLETED_WITH_ERROR</code>. When the status is <code>COMPLETED</code> or <code>COMPLETED_WITH_ERROR</code>, this indicates the file has been processed and the order report can be downloaded. If there are errors, they will be indicated in the report file. <br /><br />For details of how this method is used in the upload flow, see <a href="/api-docs/sell/static/orders/generating-and-retrieving-order-reports.html">Working with Order Feeds</a> in the Selling Integration Guide. <p><span class="tablenote"><strong>Note:</strong> This method applies to all Seller Hub feed types and LMS feed types except <code>LMS_ORDER_REPORT</code> and <code>LMS_ACTIVE_INVENTORY_REPORT</code>. See <a href="/api-docs/sell/static/feed/lms-feeds-quick-reference.html#Availabl" target="_blank">LMS feed types</a> and <a href="/api-docs/sell/static/feed/fx-feeds-quick-reference.html#availabl" target="_blank">Seller Hub feed types</a>.</span></p><p> <span class="tablenote"><b>Note:</b> You must use a <strong>Content-Type</strong> header with its value set to "<strong>multipart/form-data</strong>". See <a href="/api-docs/sell/feed/resources/task/methods/uploadFile#h2-samples">Samples</a> for information.</span></p> */
|
|
72
|
+
post: operations["uploadFile"];
|
|
73
|
+
};
|
|
74
|
+
"/customer_service_metric_task": {
|
|
75
|
+
/** @description Use this method to return an array of customer service metric tasks. You can limit the tasks returned by specifying a date range. </p> <p> <span class="tablenote"><strong>Note:</strong> You can pass in either the <code>look_back_days </code>or<code> date_range</code>, but not both.</span></p> */
|
|
76
|
+
get: operations["getCustomerServiceMetricTasks"];
|
|
77
|
+
/** @description <p>Use this method to create a customer service metrics download task with filter criteria for the customer service metrics report. When using this method, specify the <strong>feedType</strong> and <strong>filterCriteria</strong> including both <strong>evaluationMarketplaceId</strong> and <strong>customerServiceMetricType</strong> for the report. The method returns the location response header containing the call URI to use with <strong>getCustomerServiceMetricTask</strong> to retrieve status and details on the task.</p><p>Only CURRENT Customer Service Metrics reports can be generated with the Sell Feed API. PROJECTED reports are not supported at this time. See the <a href="/api-docs/sell/analytics/resources/customer_service_metric/methods/getCustomerServiceMetric">getCustomerServiceMetric</a> method document in the Analytics API for more information about these two types of reports.</p><p><span class="tablenote"><strong>Note:</strong> Before calling this API, retrieve the summary of the seller's performance and rating for the customer service metric by calling <strong>getCustomerServiceMetric</strong> (part of the <a href="/api-docs/sell/analytics/resources/methods">Analytics API</a>). You can then populate the create task request fields with the values from the response. This technique eliminates failed tasks that request a report for a <strong>customerServiceMetricType</strong> and <strong>evaluationMarketplaceId</strong> that are without evaluation.</span></p> */
|
|
78
|
+
post: operations["createCustomerServiceMetricTask"];
|
|
79
|
+
};
|
|
80
|
+
"/customer_service_metric_task/{task_id}": {
|
|
81
|
+
/** @description <p>Use this method to retrieve customer service metric task details for the specified task. The input is <strong>task_id</strong>.</p> */
|
|
82
|
+
get: operations["getCustomerServiceMetricTask"];
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
export type webhooks = Record<string, never>;
|
|
86
|
+
export interface components {
|
|
87
|
+
schemas: {
|
|
88
|
+
CreateInventoryTaskRequest: {
|
|
89
|
+
/** @description The schemaVersion/version number of the file format (use the schema version of the API to which you are programming):<ul><li><a href="/api-docs/sell/static/lms-migration/lms-to-feed-version-details-schema-version.html" target="_blank">LMS Version Details / Schema Version</a></li><li><a href="/api-docs/sell/static/feed/fx-feeds-quick-reference.html#schema" target="_blank">Seller Hub feed schema version</a></li></ul> */
|
|
90
|
+
schemaVersion?: string;
|
|
91
|
+
/** @description The feed type associated with the inventory task you are about to create. Use a <strong>feedType</strong> that is available for your API. Presently, only one feed type is available:<ul><li><code>LMS_ACTIVE_INVENTORY_REPORT</code></li></ul><br/>See <a href="/api-docs/sell/static/feed/lms-feeds-quick-reference.html#merchant-data-reports-download-feed-types" target="_blank">Report download feed types</a> for more information. */
|
|
92
|
+
feedType?: string;
|
|
93
|
+
/** @description The container for the filter fields. This container is used to set the filter criteria for the ActiveInventoryReport. A seller can retrieve listings for a specified format. */
|
|
94
|
+
filterCriteria?: components["schemas"]["InventoryFilterCriteria"];
|
|
95
|
+
};
|
|
96
|
+
/** @description The type that defines the fields for the <b> createOrderTask</b> request. */
|
|
97
|
+
CreateOrderTaskRequest: {
|
|
98
|
+
/** @description The feed type associated with the task. The only presently supported value is <code>LMS_ORDER_REPORT</code>. See <a href="/api-docs/sell/static/feed/lms-feeds-quick-reference.html#merchant-data-reports-download-feed-types" target="_blank">Report download feed types</a> for more information. */
|
|
99
|
+
feedType?: string;
|
|
100
|
+
/** @description The container for the filter fields. This container is used to set the filter criteria for the order report. A seller can set date range filters and/or can retrieve orders in a specific state. */
|
|
101
|
+
filterCriteria?: components["schemas"]["OrderFilterCriteria"];
|
|
102
|
+
/** @description The schema version of the LMS OrderReport. For the <code>LMS_ORDER_REPORT</code> feed type, see the <a href="/devzone/merchant-data/CallRef/OrderReport.html#OrderReport">OrderReport</a> reference page to see the present schema version. The <b> schemaVersion</b> value is the version number shown at the top of the <b> OrderReport</b> page. <br /><br /><b>Restriction: </b> This value must be 1113 or higher. The OrderReport schema version is updated about every two weeks. All version numbers are odd numbers (even numbers are skipped). For example, the next release version after '1113' is '1115'. */
|
|
103
|
+
schemaVersion?: string;
|
|
104
|
+
};
|
|
105
|
+
/** @description The type that defines the fields for the Customer Service Metric reports generated with the Feed API. */
|
|
106
|
+
CreateServiceMetricsTaskRequest: {
|
|
107
|
+
/** @description The <strong>feedType</strong> specified for the task. The report lists the transaction details that contribute to the service metrics evaluation. Supported types include:<p><code>CUSTOMER_SERVICE_METRICS_REPORT</code></p> */
|
|
108
|
+
feedType?: string;
|
|
109
|
+
/** @description This container is used to customize and set criteria for Customer Service Metric report that will be associated with the task. */
|
|
110
|
+
filterCriteria?: components["schemas"]["CustomerServiceMetricsFilterCriteria"];
|
|
111
|
+
/** @description The version number of the file format. <p><b>Valid value: </b><code>1.0</code><p> */
|
|
112
|
+
schemaVersion?: string;
|
|
113
|
+
};
|
|
114
|
+
/** @description The type that defines the fields for the <b> createTask</b> method. */
|
|
115
|
+
CreateTaskRequest: {
|
|
116
|
+
/** @description The feed type associated with the task. Only use a <strong>feedType</strong> that is available for your API. Available feed types:<ul><li><a href="/api-docs/sell/static/feed/lms-feeds-quick-reference.html#trading-upload-feed-types" target="_blank">Inventory upload feed types</a></li><li><a href="/api-docs/sell/static/feed/lms-feeds-quick-reference.html#merchant-data-upload-feed-types" target="_blank">Fulfillment upload feed types</a></li><li><a href="/api-docs/sell/static/feed/fx-feeds-quick-reference.html#availabl" target="_blank">Seller Hub feed types</a></li></ul> */
|
|
117
|
+
feedType?: string;
|
|
118
|
+
/** @description The schemaVersion/version number of the file format (use the schema version of the API to which you are programming):<ul><li><a href="/api-docs/sell/static/lms-migration/lms-to-feed-version-details-schema-version.html" target="_blank">LMS Version Details / Schema Version</a></li><li><a href="/api-docs/sell/static/feed/fx-feeds-quick-reference.html#schema" target="_blank">Seller Hub feed schema version</a></li></ul> */
|
|
119
|
+
schemaVersion?: string;
|
|
120
|
+
};
|
|
121
|
+
/** @description The type that defines the fields for the <strong>createSchedule</strong> method. */
|
|
122
|
+
CreateUserScheduleRequest: {
|
|
123
|
+
/** @description The name of the feed type for the created schedule. Match the <strong>feed_type</strong> from the schedule template associated with this schedule. */
|
|
124
|
+
feedType?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Format: int32
|
|
127
|
+
* @description The preferred day of the month to trigger the schedule. This field can be used with <strong>preferredTriggerHour</strong> for monthly schedules. The last day of the month is used for numbers larger than the actual number of days in the month. <br /><br />This field is available as specified by the template (<strong>scheduleTemplateId</strong>). The template can specify this field as optional or required, and optionally provides a default value.<br /><br /><b>Minimum: </b>1<br /><br /><b>Maximum: </b>31
|
|
128
|
+
*/
|
|
129
|
+
preferredTriggerDayOfMonth?: number;
|
|
130
|
+
/** @description The preferred day of the week to trigger the schedule. This field can be used with <strong>preferredTriggerHour</strong> for weekly schedules. <br /><br />This field is available as specified by the template (<strong>scheduleTemplateId</strong>). The template can specify this field as optional or required, and optionally provides a default value. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:DayOfWeekEnum'>eBay API documentation</a> */
|
|
131
|
+
preferredTriggerDayOfWeek?: string;
|
|
132
|
+
/** @description The preferred two-digit hour of the day to trigger the schedule. <br /><br />This field is available as specified by the template (<strong>scheduleTemplateId</strong>). The template can specify this field as optional or required, and optionally provides a default value.<br /><br /><b>Format:</b> UTC <code>hhZ</code><br /><br />For example, the following represents 11:00 am UTC:<code> 11Z</code> */
|
|
133
|
+
preferredTriggerHour?: string;
|
|
134
|
+
/** @description The timestamp on which the report generation (subscription) ends. After this date, the schedule status becomes <code>INACTIVE</code>. <br /><br />Use this field, if available, to end the schedule in the future. This value must be later than <strong>scheduleStartDate</strong> (if supplied). This field is available as specified by the template (<strong>scheduleTemplateId</strong>). The template can specify this field as optional or required, and optionally provides a default value.<br /><br /><b>Format:</b> UTC <code>yyyy-MM-dd<strong>T</strong>HH<strong>Z</strong></code><br /><br />For example, the following represents UTC October 10, 2021 at 10:00 AM:<br /><code>2021-10-10T10Z</code> */
|
|
135
|
+
scheduleEndDate?: string;
|
|
136
|
+
/** @description The schedule name assigned by the user for the created schedule. */
|
|
137
|
+
scheduleName?: string;
|
|
138
|
+
/** @description The timestamp to start generating the report. After this timestamp, the schedule status becomes active until either the <strong>scheduleEndDate</strong> occurs or the <strong>scheduleTemplateId</strong> becomes inactive. <br /><br />Use this field, if available, to start the schedule in the future but before the <strong>scheduleEndDate</strong> (if supplied). This field is available as specified by the template <strong>(scheduleTemplateId)</strong>. The template can specify this field as optional or required, and optionally provides a default value.<br /><br /><b>Format:</b> UTC <code>yyyy-MM-dd<strong>T</strong>HH<strong>Z</strong></code><br /><br />For example, the following represents a schedule start date of UTC October 01, 2020 at 12:00 PM:<br /><code> 2020-01-01T12Z</code> */
|
|
139
|
+
scheduleStartDate?: string;
|
|
140
|
+
/** @description The ID of the template associated with the schedule ID. You can get this ID from the documentation or by calling the <strong>getScheduleTemplates</strong> method. This method requires a schedule template ID that is <code>ACTIVE</code>. */
|
|
141
|
+
scheduleTemplateId?: string;
|
|
142
|
+
/** @description The schema version of the schedule feedType. This field is required if the <strong>feedType</strong> has a schema version.<br /><br />This field is available as specified by the template (<strong>scheduleTemplateId</strong>). The template can specify this field as optional or required, and optionally provides a default value. */
|
|
143
|
+
schemaVersion?: string;
|
|
144
|
+
};
|
|
145
|
+
CustomerServiceMetricTaskCollection: {
|
|
146
|
+
/** @description The URI of the current page of results. */
|
|
147
|
+
href?: string;
|
|
148
|
+
/**
|
|
149
|
+
* Format: int32
|
|
150
|
+
* @description The value of the <strong>limit</strong> parameter submitted in the request, which is the maximum number of tasks to return per page, from the result set. A result set is the complete set of tasks returned by the method. <p> <span class="tablenote"><strong>Note:</strong> Even though this parameter is not required to be submitted in the request, the parameter defaults to 10 if omitted.</span></p><p> <span class="tablenote"><strong>Note:</strong> If this is the last or only page of the result set, the page may contain fewer tasks than the limit value. To determine the number of pages in a result set, divide the total value (total number of tasks matching input criteria) by this limit value, and then round up to the next integer. For example, if the <strong>total</strong> value was <code>120</code> (120 total tasks) and the <strong>limit</strong> value was <code>50</code> (show 50 tasks per page), the total number of pages in the result set is three, so the seller would have to make three separate <strong>getCustomerServiceMetricTasks</strong> calls to view all tasks matching the input criteria.</span></p>
|
|
151
|
+
*/
|
|
152
|
+
limit?: number;
|
|
153
|
+
/** @description The relative path to the call URI for the next page of results. This value is returned if there is an additional page of results to return from the result set. */
|
|
154
|
+
next?: string;
|
|
155
|
+
/**
|
|
156
|
+
* Format: int32
|
|
157
|
+
* @description The number of results skipped in the result set before returning the first result. This value can be set in the request with the <b>offset</b> query parameter. <p class="tablenote"><strong>Note: </strong>The items in a paginated result set use a zero-based list where the first item in the list has an offset of <code>0</code>.</p>
|
|
158
|
+
*/
|
|
159
|
+
offset?: number;
|
|
160
|
+
/** @description The URI for the previous page of results. This parameter is returned if a previous page of results from the result set exists. */
|
|
161
|
+
prev?: string;
|
|
162
|
+
/** @description An array of the customer service tasks on this page. The tasks are sorted by creation date. An empty array is returned if the filter criteria excludes all tasks. */
|
|
163
|
+
tasks?: (components["schemas"]["ServiceMetricsTask"])[];
|
|
164
|
+
/**
|
|
165
|
+
* Format: int32
|
|
166
|
+
* @description The total number of tasks that match the criteria.
|
|
167
|
+
*/
|
|
168
|
+
total?: number;
|
|
169
|
+
};
|
|
170
|
+
/** @description A complex data type that filters data for report creation. See <strong>CustomerServiceMetricsFilterCriteria</strong> for fields and descriptions. */
|
|
171
|
+
CustomerServiceMetricsFilterCriteria: {
|
|
172
|
+
/** @description An enumeration value that specifies the customer service metric that eBay tracks to measure seller performance. See <strong>CustomerServiceMetricTypeEnum</strong> for values. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:CustomerServiceMetricTypeEnum'>eBay API documentation</a> */
|
|
173
|
+
customerServiceMetricType?: string;
|
|
174
|
+
/** @description An enumeration value that specifies the eBay marketplace where the evaluation occurs. See <strong>MarketplaceIdEnum</strong> for values. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/bas:MarketplaceIdEnum'>eBay API documentation</a> */
|
|
175
|
+
evaluationMarketplaceId?: string;
|
|
176
|
+
/** @description A list of listing category IDs on which the service metric is measured. A seller can use one or more L1 (top-level) eBay categories to get metrics specific to those L1 categories. The Category IDs for each L1 category are required. Category ID values for L1 categories can be retrieved using the Taxonomy API.<p> <span class="tablenote"><strong>Note: </strong>Pass this attribute to narrow down your filter results for the <code>ITEM_NOT_AS_DESCRIBED</code> customerServiceMetricType.</span></p> <p>Supported categories include:</p><p><code>primary(L1) category Id</code></p> */
|
|
177
|
+
listingCategories?: (string)[];
|
|
178
|
+
/** @description A list of shipping region enumeration values on which the service metric is measured. This comma delimited array allows the seller to customize the report to focus on domestic or international shipping. <p> <span class="tablenote"><strong>Note: </strong>Pass this attribute to narrow down your filter results for the <code>ITEM_NOT_RECEIVED</code> customerServiceMetricType.</span></p> <p>Supported categories include:</p><p><code>primary(L1) category Id</code></p>See <strong>ShippingRegionTypeEnum</strong> for values */
|
|
179
|
+
shippingRegions?: (string)[];
|
|
180
|
+
};
|
|
181
|
+
/** @description The type that defines the fields for a date range. */
|
|
182
|
+
DateRange: {
|
|
183
|
+
/** @description The beginning date in the range. If the parent type is included, both the <strong>from</strong> and/or the <strong>to</strong> fields become conditionally required.<br /><br /><b>Format: </b>UTC <code>yyyy-MM-ddThh:mm:ss.SSSZ </code> <br /><br /> <b> For example: </b> Tasks within a range <br /> <code>yyyy-MM-ddThh:mm:ss.SSSZ..yyyy-MM-ddThh:mm:ss.SSSZ </code> <br /><br /> Tasks created on March 31, 2021 <br /><code>2021-03-31T00:00:00.000Z..2021-03-31T00:00:00.000Z</code> */
|
|
184
|
+
from?: string;
|
|
185
|
+
/** @description The end date for the date range, which is inclusive. If the parent type is included, both the <strong>from</strong> and/or the <strong>to</strong> fields become conditionally required. <br /><br /> <b> For example: </b> <br /><br />Tasks within a range <br /> <code>yyyy-MM-ddThh:mm:ss.SSSZ..yyyy-MM-ddThh:mm:ss.SSSZ </code> <br /><br /> Tasks created on March 31, 2021 <br /> <code>2021-03-31T00:00:00.000Z..2021-03-31T00:00:00.000Z</code> */
|
|
186
|
+
to?: string;
|
|
187
|
+
};
|
|
188
|
+
/** @description This type defines the fields that can be returned in an error. */
|
|
189
|
+
Error: {
|
|
190
|
+
/** @description Identifies the type of erro. */
|
|
191
|
+
category?: string;
|
|
192
|
+
/** @description Name for the primary system where the error occurred. This is relevant for application errors. */
|
|
193
|
+
domain?: string;
|
|
194
|
+
/**
|
|
195
|
+
* Format: int32
|
|
196
|
+
* @description A unique number to identify the error.
|
|
197
|
+
*/
|
|
198
|
+
errorId?: number;
|
|
199
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
200
|
+
inputRefIds?: (string)[];
|
|
201
|
+
/** @description A more detailed explanation of the error. */
|
|
202
|
+
longMessage?: string;
|
|
203
|
+
/** @description Information on how to correct the problem, in the end user's terms and language where applicable. */
|
|
204
|
+
message?: string;
|
|
205
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
206
|
+
outputRefIds?: (string)[];
|
|
207
|
+
/** @description An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned. */
|
|
208
|
+
parameters?: (components["schemas"]["ErrorParameter"])[];
|
|
209
|
+
/** @description Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc. */
|
|
210
|
+
subdomain?: string;
|
|
211
|
+
};
|
|
212
|
+
ErrorParameter: {
|
|
213
|
+
/** @description The object of the error. */
|
|
214
|
+
name?: string;
|
|
215
|
+
/** @description The value of the object. */
|
|
216
|
+
value?: string;
|
|
217
|
+
};
|
|
218
|
+
/** @description The metadata for the file. */
|
|
219
|
+
FormDataContentDisposition: {
|
|
220
|
+
/** @description The file creation date. <br /><br /><b> Format: </b> UTC <code>yyyy-MM-ddThh:mm:ss.SSSZ</code><p><b>For example:</b><p>Created on September 8, 2019</p><p><code>2019-09-08T00:00:00.000Z</code></p> */
|
|
221
|
+
creationDate?: string;
|
|
222
|
+
/** @description The name of the file including its extension (for example, xml or csv) to be uploaded. */
|
|
223
|
+
fileName?: string;
|
|
224
|
+
/** @description The file modified date. <br /><br /><b> Format: </b> UTC <code>yyyy-MM-ddThh:mm:ss.SSSZ</code><p><b>For example:</b><p>Created on September 9, 2019</p><p><code>2019-09-09T00:00:00.000Z</code></p> */
|
|
225
|
+
modificationDate?: string;
|
|
226
|
+
/** @description A content identifier. The only presently supported name is <code>file</code>. */
|
|
227
|
+
name?: string;
|
|
228
|
+
/** @description The parameters you want associated with the file. */
|
|
229
|
+
parameters?: {
|
|
230
|
+
[key: string]: string | undefined;
|
|
231
|
+
};
|
|
232
|
+
/** @description The date you read the file. <br /><br /><b> Format: </b> UTC <code>yyyy-MM-ddThh:mm:ss.SSSZ</code><p><b>For example:</b><p>Created on September 10, 2019</p><p><code>2019-09-10T00:00:00.000Z</code></p> */
|
|
233
|
+
readDate?: string;
|
|
234
|
+
/**
|
|
235
|
+
* Format: int32
|
|
236
|
+
* @description The size of the file.
|
|
237
|
+
*/
|
|
238
|
+
size?: number;
|
|
239
|
+
/** @description The file type. The only presently supported type is <code>form-data</code>. */
|
|
240
|
+
type?: string;
|
|
241
|
+
};
|
|
242
|
+
/** @description The container for the filter fields. This container is used to set the filter criteria for the order report. A seller can retrieve listings for a specified format. */
|
|
243
|
+
InventoryFilterCriteria: {
|
|
244
|
+
/** @description The type of buying option for the order. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:ListingFormatEnum'>eBay API documentation</a> */
|
|
245
|
+
listingFormat?: string;
|
|
246
|
+
};
|
|
247
|
+
InventoryTask: {
|
|
248
|
+
/** @description The ID of the task. This ID is generated when the task was created by the <strong>createInventoryTask</strong> method. */
|
|
249
|
+
taskId?: string;
|
|
250
|
+
/** @description The status of the task. Users must wait until status is complete before moving on to the next step (such as uploading/downloading a file). For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:FeedStatusEnum'>eBay API documentation</a> */
|
|
251
|
+
status?: string;
|
|
252
|
+
/** @description The feed type associated with the inventory task. */
|
|
253
|
+
feedType?: string;
|
|
254
|
+
/** @description The date the task was created. */
|
|
255
|
+
creationDate?: string;
|
|
256
|
+
/** @description The timestamp when the task <strong>status</strong> went into the <code>COMPLETED</code>, <code>COMPLETED_WITH_ERROR</code>, or <code>PARTIALLY_PROCESSED</code> state. This field is only returned if the status is one of the three completed values. */
|
|
257
|
+
completionDate?: string;
|
|
258
|
+
/** @description The schema version number associated with the task. */
|
|
259
|
+
schemaVersion?: string;
|
|
260
|
+
/** @description The path to the call URI used to retrieve the task. This field points to the <strong>getInventoryTask</strong> URI. */
|
|
261
|
+
detailHref?: string;
|
|
262
|
+
/** @description This container provides summary information on an upload feed (not applicable for download feed types). */
|
|
263
|
+
uploadSummary?: components["schemas"]["UploadSummary"];
|
|
264
|
+
/** @description This container is used to set the filter criteria for the ActiveInventoryReport. A seller can retrieve listings for a specified format. */
|
|
265
|
+
filterCriteria?: components["schemas"]["InventoryFilterCriteria"];
|
|
266
|
+
};
|
|
267
|
+
InventoryTaskCollection: {
|
|
268
|
+
/** @description The path to the call URI that produced the current page of results. */
|
|
269
|
+
href?: string;
|
|
270
|
+
/**
|
|
271
|
+
* Format: int32
|
|
272
|
+
* @description The value of the <strong>limit</strong> parameter submitted in the request, which is the maximum number of inventory tasks to return per page, from the result set. A result set is the complete set of tasks returned by the method.<br /><br /><span class="tablenote"><strong>Note:</strong> Though this parameter is not required to be submitted in the request, the parameter defaults to <code>10</code> if omitted. Additionally, if this is the last or only page of the result set, the page may contain fewer tasks than the <strong>limit</strong> value submitted in the request.</span><br /><br />To determine the number of pages in a result set, divide the total value (total number of tasks matching the input criteria) by this limit value, and then round up to the next integer. For example, if the <strong>total</strong> value was <code>120</code> (120 total tasks) and the <strong>limit</strong> value was <code>50</code> (show 50 tasks per page), the total number of pages in the result set is three, so the seller would have to make three separate <strong>getInventoryTasks</strong> calls to view all tasks matching the input criteria.
|
|
273
|
+
*/
|
|
274
|
+
limit?: number;
|
|
275
|
+
/** @description The path to the call URI for the next page of results. This value is returned if there is an additional page of results to return from the result set. */
|
|
276
|
+
next?: string;
|
|
277
|
+
/**
|
|
278
|
+
* Format: int32
|
|
279
|
+
* @description The number of results skipped in the result set before listing the first returned result. This value can be specified in the request with the <strong>offset</strong> query parameter.<br /><br /><span class="tablenote"><strong>Note:</strong> The items in a paginated result set use a zero-based list, where the first item in the list has an offset of <code>0</code>.</span>
|
|
280
|
+
*/
|
|
281
|
+
offset?: number;
|
|
282
|
+
/** @description The path to the call URI for the previous page of results. This is returned if there is a previous page of results from the result set. */
|
|
283
|
+
prev?: string;
|
|
284
|
+
/** @description An array of the inventory tasks on this page. The tasks are sorted by creation date.<br /><br /><span class="tablenote"><strong>Note:</strong> An empty array is returned if the filter criteria excludes all tasks.</span> */
|
|
285
|
+
tasks?: (components["schemas"]["InventoryTask"])[];
|
|
286
|
+
/**
|
|
287
|
+
* Format: int32
|
|
288
|
+
* @description The total number of inventory tasks that match the input criteria.
|
|
289
|
+
*/
|
|
290
|
+
total?: number;
|
|
291
|
+
};
|
|
292
|
+
/** @description The type that defines the fields for the order filters. */
|
|
293
|
+
OrderFilterCriteria: {
|
|
294
|
+
/** @description The creation date range of the orders you want returned. Set the date range so it contains less than 10 days (maximum). If you do not specify a <strong>DateRange</strong>, results from the last 10 days will be returned by default. */
|
|
295
|
+
creationDateRange?: components["schemas"]["DateRange"];
|
|
296
|
+
/** @description The modified date range of the orders you want returned. <p> <span class="tablenote"><strong>Note:</strong> This container is for future use. At this time, the <strong>createOrderTask</strong> method only supports order creation date filters and not modified order date filters.</span></p> */
|
|
297
|
+
modifiedDateRange?: components["schemas"]["DateRange"];
|
|
298
|
+
/** @description The order status of the orders returned. If the filter is omitted from createOrderTask call, orders that are in both <code>ACTIVE </code>and<code> COMPLETED</code> states are returned. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:OrderStatusEnum'>eBay API documentation</a> */
|
|
299
|
+
orderStatus?: string;
|
|
300
|
+
};
|
|
301
|
+
/** @description The type that defines the fields for the <b> getOrderTask</b> response. */
|
|
302
|
+
OrderTask: {
|
|
303
|
+
/** @description The timestamp when the task went into the <code>COMPLETED</code> or <code>COMPLETED_WITH_ERROR</code> state. This state means that eBay has compiled the report for the seller based on the seller’s filter criteria, and the seller can run a <strong>getResultFile</strong> call to download the report. */
|
|
304
|
+
completionDate?: string;
|
|
305
|
+
/** @description The date the task was created. */
|
|
306
|
+
creationDate?: string;
|
|
307
|
+
/** @description The path to the call URI used to retrieve the task. */
|
|
308
|
+
detailHref?: string;
|
|
309
|
+
/** @description The feed type associated with the task. */
|
|
310
|
+
feedType?: string;
|
|
311
|
+
/** @description A container that returns the filter criteria used. */
|
|
312
|
+
filterCriteria?: components["schemas"]["OrderFilterCriteria"];
|
|
313
|
+
/** @description The schema version number associated with the create task. */
|
|
314
|
+
schemaVersion?: string;
|
|
315
|
+
/** @description The enumeration value that indicates the state of the task that was submitted in the request. See <strong>FeedStatusEnum</strong> for information. <p>The values <code>COMPLETED </code>and<code> COMPLETED_WITH_ERROR</code> indicate the Order Report file is ready to download.</p> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:FeedStatusEnum'>eBay API documentation</a> */
|
|
316
|
+
status?: string;
|
|
317
|
+
/** @description The ID of the task that was submitted in the request. */
|
|
318
|
+
taskId?: string;
|
|
319
|
+
/** @description This container provides summary information on an upload feed (not applicable for download feed types). */
|
|
320
|
+
uploadSummary?: components["schemas"]["UploadSummary"];
|
|
321
|
+
};
|
|
322
|
+
/** @description The type that defines the fields for a paginated result set of orders. The response consists of 0 or more sequenced <em> pages</em> where each page has 0 or more items. */
|
|
323
|
+
OrderTaskCollection: {
|
|
324
|
+
/** @description The path to the call URI that produced the current page of results. */
|
|
325
|
+
href?: string;
|
|
326
|
+
/**
|
|
327
|
+
* Format: int32
|
|
328
|
+
* @description The value of the <strong>limit</strong> parameter submitted in the request, which is the maximum number of order tasks to return per page, from the result set. A result set is the complete set of tasks returned by the method. <p> <span class="tablenote"><strong>Note:</strong> Though this parameter is not required to be submitted in the request, the parameter defaults to <code>10</code> if omitted.</span></p><p> <span class="tablenote"><strong>Note:</strong> If this is the last or only page of the result set, the page may contain fewer tasks than the <strong>limit</strong> value. To determine the number of pages in a result set, divide the total value (total number of tasks matching input criteria) by this limit value, and then round up to the next integer. For example, if the <strong>total</strong> value was <code>120</code> (120 total tasks) and the <strong>limit</strong> value was <code>50</code> (show 50 tasks per page), the total number of pages in the result set is three, so the seller would have to make three separate <strong>getOrderTasks</strong> calls to view all tasks matching the input criteria.</span></p>
|
|
329
|
+
*/
|
|
330
|
+
limit?: number;
|
|
331
|
+
/** @description The path to the call URI for the next page of results. This value is returned if there is an additional page of results to return from the result set. */
|
|
332
|
+
next?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Format: int32
|
|
335
|
+
* @description The number of results skipped in the result set before listing the first returned result. This value can be set in the request with the <b>offset</b> query parameter. <p class="tablenote"><strong>Note: </strong>The items in a paginated result set use a zero-based list where the first item in the list has an offset of <code>0</code>.</p>
|
|
336
|
+
*/
|
|
337
|
+
offset?: number;
|
|
338
|
+
/** @description The path to the call URI for the previous page of results. This is returned if there is a previous page of results from the result set. */
|
|
339
|
+
prev?: string;
|
|
340
|
+
/** @description An array of the order tasks on this page. The tasks are sorted by creation date. An empty array is returned if the filter criteria excludes all tasks. */
|
|
341
|
+
tasks?: (components["schemas"]["OrderTask"])[];
|
|
342
|
+
/**
|
|
343
|
+
* Format: int32
|
|
344
|
+
* @description The total number of order tasks that match the input criteria.
|
|
345
|
+
*/
|
|
346
|
+
total?: number;
|
|
347
|
+
};
|
|
348
|
+
/** @description The type that defines the fields for a paginated result set of schedule templates. The response consists of 0 or more sequenced <em> pages</em> where each page has 0 or more items. */
|
|
349
|
+
ScheduleTemplateCollection: {
|
|
350
|
+
/** @description The path to the call URI that produced the current page of results. */
|
|
351
|
+
href?: string;
|
|
352
|
+
/**
|
|
353
|
+
* Format: int32
|
|
354
|
+
* @description The value of the <strong>limit</strong> parameter submitted in the request, which is the maximum number of schedule templates to return per page, from the result set. A result set is the complete set of schedule templates returned by the method. <p> <span class="tablenote"><strong>Note:</strong> Though this parameter is not required to be submitted in the request, the parameter defaults to 10 if omitted.</span></p><p> <span class="tablenote"><strong>Note:</strong> If this is the last or only page of the result set, the page may contain fewer tasks than the <strong>limit</strong> value. To determine the number of pages in a result set, divide the total value (total number of tasks matching input criteria) by this limit value, and then round up to the next integer. For example, if the <strong>total</strong> value was <code>120</code> (120 total tasks) and the <strong>limit</strong> value was <code>50</code> (show 50 tasks per page), the total number of pages in the result set is three, so the seller would have to make three separate <strong>getScheduleTemplates</strong> calls to view all tasks matching the input criteria.</span></p>
|
|
355
|
+
*/
|
|
356
|
+
limit?: number;
|
|
357
|
+
/** @description The path to the call URI for the next page of results. This value is returned if there is an additional page of results to return from the result set. */
|
|
358
|
+
next?: string;
|
|
359
|
+
/**
|
|
360
|
+
* Format: int32
|
|
361
|
+
* @description The number of results skipped in the result set before listing the first returned result. This value can be set in the request with the <b>offset</b> query parameter. <p class="tablenote"><strong>Note: </strong>The items in a paginated result set use a zero-based list where the first item in the list has an offset of <code>0</code>.</p>
|
|
362
|
+
*/
|
|
363
|
+
offset?: number;
|
|
364
|
+
/** @description The path to the call URI for the previous page of results. This is returned if there is a previous page of results from the result set. */
|
|
365
|
+
prev?: string;
|
|
366
|
+
/** @description An array of the schedule templates on this page. An empty array is returned if the filter criteria excludes all tasks. */
|
|
367
|
+
scheduleTemplates?: (components["schemas"]["ScheduleTemplateResponse"])[];
|
|
368
|
+
/**
|
|
369
|
+
* Format: int32
|
|
370
|
+
* @description The total number of schedule templates that match the input criteria.
|
|
371
|
+
*/
|
|
372
|
+
total?: number;
|
|
373
|
+
};
|
|
374
|
+
/** @description The type that defines the fields for a paginated result set of available schedule templates. The response consists of 0 or more sequenced <em> pages</em> where each page has 0 or more items. */
|
|
375
|
+
ScheduleTemplateResponse: {
|
|
376
|
+
/** @description The feed type of the schedule template. <p> <span class="tablenote"><strong>Note:</strong> When calling <strong>createSchedule</strong> and <strong>updateSchedule</strong> methods you must match the feed type specified by the schedule template (this feedType).</span></p> */
|
|
377
|
+
feedType?: string;
|
|
378
|
+
/** @description This field specifies how often the schedule is generated. If set to <code>HALF_HOUR</code> or <code>ONE_HOUR</code>, you cannot set a <strong>preferredTriggerHour</strong> using <strong>createSchedule</strong> or <strong>updateSchedule</strong>. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:FrequencyEnum'>eBay API documentation</a> */
|
|
379
|
+
frequency?: string;
|
|
380
|
+
/** @description The template name provided by the template. */
|
|
381
|
+
name?: string;
|
|
382
|
+
/** @description The ID of the template. Use this ID to create a schedule based on the properties of this schedule template. */
|
|
383
|
+
scheduleTemplateId?: string;
|
|
384
|
+
/** @description The present status of the template. You cannot create or modify a schedule using a template with an <code>INACTIVE</code> status. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:StatusEnum'>eBay API documentation</a> */
|
|
385
|
+
status?: string;
|
|
386
|
+
/** @description An array of the configuration supported by this template. */
|
|
387
|
+
supportedConfigurations?: (components["schemas"]["SupportedConfiguration"])[];
|
|
388
|
+
};
|
|
389
|
+
ServiceMetricsTask: {
|
|
390
|
+
/** @description The timestamp when the customer service metrics task went into the <code>COMPLETED</code> or <code>COMPLETED_WITH_ERROR</code> state. This field is only returned if the status is one of the two completed values. This state means that eBay has compiled the report for the seller based on the seller’s filter criteria, and the seller can run a <strong>getResultFile</strong> call to download the report. */
|
|
391
|
+
completionDate?: string;
|
|
392
|
+
/** @description The date the customer service metrics task was created. */
|
|
393
|
+
creationDate?: string;
|
|
394
|
+
/** @description The relative <strong>getCustomerServiceMetricTask</strong> call URI path to retrieve the corresponding task. */
|
|
395
|
+
detailHref?: string;
|
|
396
|
+
/** @description The feed type associated with the task. */
|
|
397
|
+
feedType?: string;
|
|
398
|
+
/** @description This container shows the criteria set for the report. */
|
|
399
|
+
filterCriteria?: components["schemas"]["CustomerServiceMetricsFilterCriteria"];
|
|
400
|
+
/** @description The schema version number of the file format. If omitted, the default value is used. <p><b>Default value: </b><code>1.0</code><p> */
|
|
401
|
+
schemaVersion?: string;
|
|
402
|
+
/** @description An enumeration value that indicates the state of the task. See <strong>FeedStatusEnum</strong> for values. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:FeedStatusEnum'>eBay API documentation</a> */
|
|
403
|
+
status?: string;
|
|
404
|
+
/** @description The unique eBay-assigned ID of the task. */
|
|
405
|
+
taskId?: string;
|
|
406
|
+
};
|
|
407
|
+
/** @description File stream */
|
|
408
|
+
StreamingOutput: Record<string, never>;
|
|
409
|
+
/** @description An array that defines the configuration supported by this template. This includes specified properties and usage (whether the property is REQUIRED or OPTIONAL), and an optional default value. */
|
|
410
|
+
SupportedConfiguration: {
|
|
411
|
+
/** @description The default value for the property. If a value is omitted from the schedule and a default value is supplied, the default value is used. */
|
|
412
|
+
defaultValue?: string;
|
|
413
|
+
/** @description Properties supported by the template. Properties can include the following: <ul><li><b>scheduleStartDate:</b> The timestamp that the report generation (subscription) begins. After this timestamp, the schedule status becomes active until either the scheduleEndDate occurs or the scheduleTemplate becomes inactive. Format: UTC <code>yyyy-MM-dd<strong>T</strong>HH<strong>Z</strong></code></li><li><b>scheduleEndDate:</b> The timestamp that the report generation (subscription) ends. After this date, the schedule status becomes INACTIVE. Format: UTC <code>yyyy-MM-dd<strong>T</strong>HH<strong>Z</strong></code></li><li><b>schemaVersion:</b> The schema version of the schedule templates feedType. This field is required if the feedType has a schema version.</li><li><b>preferredTriggerDayOfMonth:</b> The preferred day of the month to trigger the schedule. </li><li><b>preferredTriggerDayOfWeek:</b> The preferred day of the week to trigger the schedule. </li><li><b>preferredTriggerHour:</b> The preferred two-digit hour of the day to trigger the schedule. Format: UTC <code>hhZ</code></li><ul> */
|
|
414
|
+
property?: string;
|
|
415
|
+
/** @description Whether the specified property is REQUIRED or OPTIONAL. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:ConfigurationsUsageEnum'>eBay API documentation</a> */
|
|
416
|
+
usage?: string;
|
|
417
|
+
};
|
|
418
|
+
/** @description The type that defines the fields for the task details. */
|
|
419
|
+
Task: {
|
|
420
|
+
/** @description The timestamp when the task went into the <code>COMPLETED</code> or <code>COMPLETED_WITH_ERROR</code> state. This state means that eBay has compiled the report for the seller based on the seller’s filter criteria, and the seller can run a <strong>getResultFile</strong> call to download the report. */
|
|
421
|
+
completionDate?: string;
|
|
422
|
+
/** @description The date the task was created. */
|
|
423
|
+
creationDate?: string;
|
|
424
|
+
/** @description The path to the call URI used to retrieve the task. This field points to the GetOrderTask URI if the task is for <code>LMS_ORDER_REPORT</code> or will be null if this task is for <code>LMS_ORDER_ACK</code>. */
|
|
425
|
+
detailHref?: string;
|
|
426
|
+
/** @description The feed type associated with the task. */
|
|
427
|
+
feedType?: string;
|
|
428
|
+
/** @description The schema version number associated with the task. */
|
|
429
|
+
schemaVersion?: string;
|
|
430
|
+
/** @description The enumeration value that indicates the state of the task that was submitted in the request. See <strong>FeedStatusEnum</strong> for information. <p>The values <code>COMPLETED </code>and<code> COMPLETED_WITH_ERROR</code> indicate the Order Report file is ready to download.</p> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:FeedStatusEnum'>eBay API documentation</a> */
|
|
431
|
+
status?: string;
|
|
432
|
+
/** @description The ID of the task that was submitted in the request. */
|
|
433
|
+
taskId?: string;
|
|
434
|
+
/** @description This container provides summary information on an upload feed (not applicable for download feed types). */
|
|
435
|
+
uploadSummary?: components["schemas"]["UploadSummary"];
|
|
436
|
+
};
|
|
437
|
+
/** @description The type that defines the fields for a paginated result set of tasks. The response consists of 0 or more sequenced <em> pages</em> where each page has 0 or more items. */
|
|
438
|
+
TaskCollection: {
|
|
439
|
+
/** @description The path to the call URI that produced the current page of results. */
|
|
440
|
+
href?: string;
|
|
441
|
+
/**
|
|
442
|
+
* Format: int32
|
|
443
|
+
* @description The value of the <strong>limit</strong> parameter submitted in the request, which is the maximum number of tasks to return per page, from the result set. A result set is the complete set of tasks returned by the method. <p> <span class="tablenote"><strong>Note:</strong> Though this parameter is not required to be submitted in the request, the parameter defaults to 10 if omitted.</span></p><p> <span class="tablenote"><strong>Note:</strong> If this is the last or only page of the result set, the page may contain fewer tasks than the <strong>limit</strong> value. To determine the number of pages in a result set, divide the total value (total number of tasks matching input criteria) by this limit value, and then round up to the next integer. For example, if the <strong>total</strong> value was <code>120</code> (120 total tasks) and the <strong>limit</strong> value was <code>50</code> (show 50 tasks per page), the total number of pages in the result set is three, so the seller would have to make three separate <strong>getTasks</strong> calls to view all tasks matching the input criteria.</span></p>
|
|
444
|
+
*/
|
|
445
|
+
limit?: number;
|
|
446
|
+
/** @description The path to the call URI for the next page of results. This value is returned if there is an additional page of results to return from the result set. */
|
|
447
|
+
next?: string;
|
|
448
|
+
/**
|
|
449
|
+
* Format: int32
|
|
450
|
+
* @description The number of results skipped in the result set before listing the first returned result. This value can be set in the request with the <b>offset</b> query parameter. <p class="tablenote"><strong>Note: </strong>The items in a paginated result set use a zero-based list where the first item in the list has an offset of <code>0</code>.</p>
|
|
451
|
+
*/
|
|
452
|
+
offset?: number;
|
|
453
|
+
/** @description The path to the call URI for the previous page of results. This is returned if there is a previous page of results from the result set. */
|
|
454
|
+
prev?: string;
|
|
455
|
+
/** @description An array of the tasks on this page. The tasks are sorted by creation date. An empty array is returned if the filter criteria excludes all tasks. */
|
|
456
|
+
tasks?: (components["schemas"]["Task"])[];
|
|
457
|
+
/**
|
|
458
|
+
* Format: int32
|
|
459
|
+
* @description The total number of tasks that match the input criteria.
|
|
460
|
+
*/
|
|
461
|
+
total?: number;
|
|
462
|
+
};
|
|
463
|
+
/** @description The type that defines the fields for a schedule update to a schedule generated with the Feed API. */
|
|
464
|
+
UpdateUserScheduleRequest: {
|
|
465
|
+
/**
|
|
466
|
+
* Format: int32
|
|
467
|
+
* @description The preferred day of the month to trigger the schedule. This field can be used with <strong>preferredTriggerHour</strong> for monthly schedules. The last day of the month is used for numbers larger than the actual number of days in the month. <br /><br />This field is available as specified by the template (<strong>scheduleTemplateId</strong>). The template can specify this field as optional or required, and optionally provides a default value. <br /><br /><b>Minimum: </b>1<b><br /><br /><b>Maximum: </b>31
|
|
468
|
+
*/
|
|
469
|
+
preferredTriggerDayOfMonth?: number;
|
|
470
|
+
/** @description The preferred day of the week to trigger the schedule. This field can be used with <strong>preferredTriggerHour</strong> for weekly schedules. <br /><br />This field is available as specified by the template (<strong>scheduleTemplateId</strong>). The template can specify this field as optional or required, and optionally provides a default value. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:DayOfWeekEnum'>eBay API documentation</a> */
|
|
471
|
+
preferredTriggerDayOfWeek?: string;
|
|
472
|
+
/** @description The preferred two-digit hour of the day to trigger the schedule. <br /><br />This field is available as specified by the template (<strong>scheduleTemplateId</strong>). The template can specify this field as optional or required, and optionally provides a default value. <br /><br /><b>Format:</b> UTC <code>hhZ</code><br /><br />For example, the following represents 11:00 am UTC:<code> 11Z</code><br /><br /><b>Minimum: </b><code>00Z</code><b><br /><br /><b>Maximum: </b><code>23Z</code> */
|
|
473
|
+
preferredTriggerHour?: string;
|
|
474
|
+
/** @description The timestamp on which the schedule (report generation) ends. After this date, the schedule status becomes <code>INACTIVE</code>. <br /><br />Use this field, if available, to end the schedule in the future. This value must be later than <strong>scheduleStartDate</strong> (if supplied). This field is available as specified by the template (<strong>scheduleTemplateId</strong>). The template can specify this field as optional or required, and optionally provides a default value.<br /><br /><b>Format:</b> UTC <code>yyyy-MM-dd<strong>T</strong>HH<strong>Z</strong></code><br /><br />For example, the following represents UTC October 10, 2021 at 10:00 AM:<br /><code> 2021-10-10T10Z</code> */
|
|
475
|
+
scheduleEndDate?: string;
|
|
476
|
+
/** @description The schedule name assigned by the user for the created schedule. */
|
|
477
|
+
scheduleName?: string;
|
|
478
|
+
/** @description The timestamp to start generating the report. After this timestamp, the schedule status becomes active until either the <strong>scheduleEndDate</strong> occurs or the <strong>scheduleTemplateId</strong> becomes inactive. <br /><br />Use this field, if available, to start the schedule in the future but before the <strong>scheduleEndDate</strong> (if supplied). This field is available as specified by the template <strong>(scheduleTemplateId)</strong>. The template can specify this field as optional or required, and optionally provides a default value.<br /><br /><b>Format:</b> UTC <code>yyyy-MM-dd<strong>T</strong>HH<strong>Z</strong></code><br /><br />For example, the following represents a schedule start date of UTC October 01, 2020 at 12:00 PM:<br /><code> 2020-01-01T12Z</code> */
|
|
479
|
+
scheduleStartDate?: string;
|
|
480
|
+
/** @description The schema version of the feedType for the schedule. This field is required if the <strong>feedType</strong> has a schema version. <br /><br />This field is available as specified by the template (<strong>scheduleTemplateId</strong>). The template can specify this field as optional or required, and optionally provides a default value. */
|
|
481
|
+
schemaVersion?: string;
|
|
482
|
+
};
|
|
483
|
+
/** @description This container provides summary information on an upload feed (not applicable for download feed types). */
|
|
484
|
+
UploadSummary: {
|
|
485
|
+
/**
|
|
486
|
+
* Format: int32
|
|
487
|
+
* @description The number of records, such as the number of listings created or the number of pictures uploaded to a listing, that failed to process during the upload feed. Check the response file and correct any issues mentioned. If the feed fails before processing, no response file is provided. In this case check the REST output response.
|
|
488
|
+
*/
|
|
489
|
+
failureCount?: number;
|
|
490
|
+
/**
|
|
491
|
+
* Format: int32
|
|
492
|
+
* @description The number of records that were successfully processed during the upload feed.
|
|
493
|
+
*/
|
|
494
|
+
successCount?: number;
|
|
495
|
+
};
|
|
496
|
+
/** @description The type that defines the fields for a paginated result set of user schedules. The response consists of 0 or more sequenced <em> pages</em> where each page has 0 or more items. */
|
|
497
|
+
UserScheduleCollection: {
|
|
498
|
+
/** @description The path to the call URI that produced the current page of results. */
|
|
499
|
+
href?: string;
|
|
500
|
+
/**
|
|
501
|
+
* Format: int32
|
|
502
|
+
* @description The value of the <strong>limit</strong> parameter submitted in the request, which is the maximum number of schedules to return per page, from the result set. A result set is the complete set of schedules returned by the method. <p> <span class="tablenote"><strong>Note:</strong> Though this parameter is not required to be submitted in the request, the parameter defaults to 10 if omitted.<p> <span class="tablenote"><strong>Note:</strong> If this is the last or only page of the result set, the page may contain fewer tasks than the <strong>limit</strong> value. To determine the number of pages in a result set, divide the total value (total number of tasks matching input criteria) by this limit value, and then round up to the next integer. For example, if the <strong>total</strong> value was <code>120</code> (120 total tasks) and the <strong>limit</strong> value was <code>50</code> (show 50 tasks per page), the total number of pages in the result set is three, so the seller would have to make three separate <strong>getSchedules</strong> calls to view all tasks matching the input criteria.</span></p></span></p>
|
|
503
|
+
*/
|
|
504
|
+
limit?: number;
|
|
505
|
+
/** @description The path to the call URI for the next page of results. This value is returned if there is an additional page of results to return from the result set. */
|
|
506
|
+
next?: string;
|
|
507
|
+
/**
|
|
508
|
+
* Format: int32
|
|
509
|
+
* @description The number of results skipped in the result set before listing the first returned result. This value can be set in the request with the <b>offset</b> query parameter. <p class="tablenote"><strong>Note: </strong>The items in a paginated result set use a zero-based list where the first item in the list has an offset of <code>0</code>.</p>
|
|
510
|
+
*/
|
|
511
|
+
offset?: number;
|
|
512
|
+
/** @description The path to the call URI for the previous page of results. This is returned if there is a previous page of results from the result set. */
|
|
513
|
+
prev?: string;
|
|
514
|
+
/** @description An array of the schedules on this page. An empty array is returned if the filter criteria excludes all tasks. */
|
|
515
|
+
schedules?: (components["schemas"]["UserScheduleResponse"])[];
|
|
516
|
+
/**
|
|
517
|
+
* Format: int32
|
|
518
|
+
* @description The total number of schedules that match the input criteria.
|
|
519
|
+
*/
|
|
520
|
+
total?: number;
|
|
521
|
+
};
|
|
522
|
+
/** @description The type that defines the fields for a paginated result set of available schedules. The response consists of 0 or more sequenced <em> pages</em> where each page has 0 or more items. */
|
|
523
|
+
UserScheduleResponse: {
|
|
524
|
+
/** @description The ID of the schedule. This ID is generated when the schedule was created by the <strong>createSchedule</strong> method. */
|
|
525
|
+
scheduleId?: string;
|
|
526
|
+
/** @description The creation date of the schedule in hours based on the 24-hour Coordinated Universal Time (UTC) clock. */
|
|
527
|
+
creationDate?: string;
|
|
528
|
+
/** @description The <strong>feedType</strong> associated with the schedule. */
|
|
529
|
+
feedType?: string;
|
|
530
|
+
/** @description The date the schedule was last modified. */
|
|
531
|
+
lastModifiedDate?: string;
|
|
532
|
+
/**
|
|
533
|
+
* Format: int32
|
|
534
|
+
* @description The preferred day of the month to trigger the schedule. This field can be used with <strong>preferredTriggerHour</strong> for monthly schedules. The last day of the month is used for numbers larger than the number of days in the month.
|
|
535
|
+
*/
|
|
536
|
+
preferredTriggerDayOfMonth?: number;
|
|
537
|
+
/** @description The preferred day of the week to trigger the schedule. This field can be used with <strong>preferredTriggerHour</strong> for weekly schedules. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:DayOfWeekEnum'>eBay API documentation</a> */
|
|
538
|
+
preferredTriggerDayOfWeek?: string;
|
|
539
|
+
/** @description The preferred two-digit hour of the day to trigger the schedule. <br /><br /><b>Format:</b> UTC <code>hhZ</code><br /><br />For example, the following represents 11:00 am UTC:<br /><br /><code>11Z</code><br /><br /> */
|
|
540
|
+
preferredTriggerHour?: string;
|
|
541
|
+
/** @description The timestamp on which the report generation (subscription) ends. After this date, the schedule status becomes <code>INACTIVE</code>. */
|
|
542
|
+
scheduleEndDate?: string;
|
|
543
|
+
/** @description The schedule name assigned by the user for the created schedule. Users assign this name for their reference. */
|
|
544
|
+
scheduleName?: string;
|
|
545
|
+
/** @description The timestamp that indicates the start of the report generation. */
|
|
546
|
+
scheduleStartDate?: string;
|
|
547
|
+
/** @description The ID of the template used to create this schedule. */
|
|
548
|
+
scheduleTemplateId?: string;
|
|
549
|
+
/** @description The schema version of the feedType for the schedule. */
|
|
550
|
+
schemaVersion?: string;
|
|
551
|
+
/** @description The enumeration value that indicates the state of the schedule. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:StatusEnum'>eBay API documentation</a> */
|
|
552
|
+
status?: string;
|
|
553
|
+
/** @description The reason the schedule is inactive. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/feed/types/api:StatusReasonEnum'>eBay API documentation</a> */
|
|
554
|
+
statusReason?: string;
|
|
555
|
+
};
|
|
556
|
+
};
|
|
557
|
+
responses: never;
|
|
558
|
+
parameters: never;
|
|
559
|
+
requestBodies: never;
|
|
560
|
+
headers: never;
|
|
561
|
+
pathItems: never;
|
|
562
|
+
}
|
|
563
|
+
export type external = Record<string, never>;
|
|
564
|
+
export interface operations {
|
|
565
|
+
/** @description This method returns the details and status for an array of order tasks based on a specified <strong>feed_type</strong> or <strong>schedule_id</strong>. Specifying both <strong>feed_type</strong> and <strong>schedule_id</strong> results in an error. Since schedules are based on feed types, you can specify a schedule (<strong>schedule_id</strong>) that returns the needed <strong>feed_type</strong>.<br /><br />If specifying the <strong>feed_type</strong>, limit which order tasks are returned by specifying filters such as the creation date range or period of time using <strong>look_back_days</strong>. <br /><br />If specifying a <strong>schedule_id</strong>, the schedule template (that the <strong>schedule_id</strong> is based on) determines which order tasks are returned (see <strong>schedule_id</strong> for additional information). Each <strong>schedule_id</strong> applies to one <strong>feed_type</strong>. */
|
|
566
|
+
getOrderTasks: {
|
|
567
|
+
parameters: {
|
|
568
|
+
query?: {
|
|
569
|
+
/** @description The order tasks creation date range. This range is used to filter the results. The filtered results are filtered to include only tasks with a creation date that is equal to this date or is within specified range. Only orders less than 90 days old can be retrieved. Do not use with the <strong>look_back_days</strong> parameter. <br /><br /><b>Format: </b>UTC <br /><br /> <b> For example: </b> <br /><br />Tasks within a range <br /> <code>yyyy-MM-ddThh:mm:ss.SSSZ..yyyy-MM-ddThh:mm:ss.SSSZ </code> <br /><br /> Tasks created on September 8, 2019<br /> <code>2019-09-08T00:00:00.000Z..2019-09-09T00:00:00.000Z</code><br /> */
|
|
570
|
+
date_range?: string;
|
|
571
|
+
/** @description The feed type associated with the task. The only presently supported value is <code>LMS_ORDER_REPORT</code>. Do not use with the <strong>schedule_id</strong> parameter. Since schedules are based on feed types, you can specify a schedule (<strong>schedule_id</strong>) that returns the needed <strong>feed_type</strong>. */
|
|
572
|
+
feed_type?: string;
|
|
573
|
+
/** @description The maximum number of order tasks that can be returned on each page of the paginated response. Use this parameter in conjunction with the <strong>offset</strong> parameter to control the pagination of the output. <p> <span class="tablenote"><strong>Note:</strong> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span></p><p>For example, if <strong>offset</strong> is set to 10 and <strong>limit</strong> is set to 10, the call retrieves order tasks 11 thru 20 from the result set.</p><p>If this parameter is omitted, the default value is used.</p><p><b>Default:</b> 10 <p><b>Maximum:</b> 500</p> */
|
|
574
|
+
limit?: string;
|
|
575
|
+
/** @description The number of previous days in which to search for tasks. Do not use with the <strong>date_range</strong> parameter. If both <strong>date_range</strong> and <strong>look_back_days</strong> are omitted, this parameter's default value is used. <br /><br /><b>Default: </b> 7 <br /><br /><b>Range: </b> 1-90 (inclusive) */
|
|
576
|
+
look_back_days?: string;
|
|
577
|
+
/** @description The number of order tasks to skip in the result set before returning the first order in the paginated response. <p>Combine <strong>offset</strong> with the <strong>limit</strong> query parameter to control the items returned in the response. For example, if you supply an <strong>offset</strong> of <code>0</code> and a <strong>limit</strong> of <code>10</code>, the first page of the response contains the first 10 items from the complete list of items retrieved by the call. If <strong>offset</strong> is <code>10</code> and <strong>limit</strong> is <code>20</code>, the first page of the response contains items 11-30 from the complete result set. If this query parameter is not set, the default value is used and the first page of records is returned.<br /><br /><b>Default: </b>0 */
|
|
578
|
+
offset?: string;
|
|
579
|
+
/** @description The schedule ID associated with the order task. A schedule periodically generates a report for the feed type specified by the schedule template (see <strong>scheduleTemplateId</strong> in <strong>createSchedule</strong>). Do not use with the <strong>feed_type</strong> parameter. Since schedules are based on feed types, you can specify a schedule (<strong>schedule_id</strong>) that returns the needed <strong>feed_type</strong>. */
|
|
580
|
+
schedule_id?: string;
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
responses: {
|
|
584
|
+
/** @description Success */
|
|
585
|
+
200: {
|
|
586
|
+
content: {
|
|
587
|
+
"application/json": components["schemas"]["OrderTaskCollection"];
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
/** @description Bad Request */
|
|
591
|
+
400: never;
|
|
592
|
+
/** @description Forbidden */
|
|
593
|
+
403: never;
|
|
594
|
+
/** @description Internal Server Error */
|
|
595
|
+
500: never;
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
/** @description This method creates an order download task with filter criteria for the order report. When using this method, specify the <b> feedType</b>, <b> schemaVersion</b>, and <b> filterCriteria</b> for the report. The method returns the <b> location</b> response header containing the getOrderTask call URI to retrieve the order task you just created. The URL includes the eBay-assigned task ID, which you can use to reference the order task. <br /><br />To retrieve the status of the task, use the <b> getOrderTask</b> method to retrieve a single task ID or the <b>getOrderTasks</b> method to retrieve multiple order task IDs.<p> <span class="tablenote"><strong>Note:</strong> The scope depends on the feed type. An error message results when an unsupported scope or feed type is specified.</span></p><p>The following list contains this method's authorization scope and its corresponding feed type:<ul><li>https://api.ebay.com/oauth/api_scope/sell.fulfillment: LMS_ORDER_REPORT</li></ul> </p><p>For details about how this method is used, see <a href="/api-docs/sell/static/feed/general-feed-tasks.html">General feed types</a> in the Selling Integration Guide. <p> <span class="tablenote"><strong>Note:</strong> At this time, the <strong>createOrderTask</strong> method only supports order creation date filters and not modified order date filters. Do not include the <strong>modifiedDateRange</strong> filter in your request payload.</span></p> */
|
|
599
|
+
createOrderTask: {
|
|
600
|
+
parameters: {
|
|
601
|
+
header?: {
|
|
602
|
+
/** @description The ID of the eBay marketplace where the item is hosted. <p> <span class="tablenote"><strong>Note:</strong> This value is case sensitive.</span></p><p>For example:</p><p><code>X-EBAY-C-MARKETPLACE-ID:EBAY_US</code></p><p>This identifies the eBay marketplace that applies to this task. See <a href="/api-docs/sell/feed/types/bas:MarketplaceIdEnum">MarketplaceIdEnum</a>.</p> */
|
|
603
|
+
"X-EBAY-C-MARKETPLACE-ID"?: string;
|
|
604
|
+
};
|
|
605
|
+
};
|
|
606
|
+
/** @description description not needed */
|
|
607
|
+
requestBody: {
|
|
608
|
+
content: {
|
|
609
|
+
"application/json": components["schemas"]["CreateOrderTaskRequest"];
|
|
610
|
+
};
|
|
611
|
+
};
|
|
612
|
+
responses: {
|
|
613
|
+
/** @description Accepted */
|
|
614
|
+
202: never;
|
|
615
|
+
/** @description Bad Request */
|
|
616
|
+
400: never;
|
|
617
|
+
/** @description Forbidden */
|
|
618
|
+
403: never;
|
|
619
|
+
/** @description Conflict */
|
|
620
|
+
409: never;
|
|
621
|
+
/** @description Internal Server Error */
|
|
622
|
+
500: never;
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
/** @description This method retrieves the task details and status of the specified task. The input is <strong>task_id</strong>. <p>For details about how this method is used, see <a href="/api-docs/sell/static/orders/generating-and-retrieving-order-reports.html">Working with Order Feeds</a> in the Selling Integration Guide. </p> */
|
|
626
|
+
getOrderTask: {
|
|
627
|
+
parameters: {
|
|
628
|
+
path: {
|
|
629
|
+
/** @description The ID of the task. This ID is generated when the task was created by the <b> createOrderTask</b> method. */
|
|
630
|
+
task_id: string;
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
responses: {
|
|
634
|
+
/** @description Success */
|
|
635
|
+
200: {
|
|
636
|
+
content: {
|
|
637
|
+
"application/json": components["schemas"]["OrderTask"];
|
|
638
|
+
};
|
|
639
|
+
};
|
|
640
|
+
/** @description Bad Request */
|
|
641
|
+
400: never;
|
|
642
|
+
/** @description Forbidden */
|
|
643
|
+
403: never;
|
|
644
|
+
/** @description Not Found */
|
|
645
|
+
404: never;
|
|
646
|
+
/** @description Internal Server Error */
|
|
647
|
+
500: never;
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
/** @description This method searches for multiple tasks of a specific feed type, and includes date filters and pagination. */
|
|
651
|
+
getInventoryTasks: {
|
|
652
|
+
parameters: {
|
|
653
|
+
query?: {
|
|
654
|
+
/** @description The feed type associated with the inventory task. Either <strong>feed_type</strong> or <strong>schedule_id</strong> is required. Do not use with the <strong>schedule_id</strong> parameter. Presently, only one feed type is available:<ul><li><code>LMS_ACTIVE_INVENTORY_REPORT</code></li></ul> */
|
|
655
|
+
feed_type?: string;
|
|
656
|
+
/** @description The ID of the schedule for which to retrieve the latest result file. This ID is generated when the schedule was created by the <strong>createSchedule</strong> method. Schedules apply to downloaded reports (<code>LMS_ACTIVE_INVENTORY_REPORT</code>). Either <strong>schedule_id</strong> or <strong>feed_type</strong> is required. Do not use with the <strong>feed_type</strong> parameter. */
|
|
657
|
+
schedule_id?: string;
|
|
658
|
+
/** @description The number of previous days in which to search for tasks. Do not use with the <code>date_range</code> parameter. If both <code>date_range</code> and <code>look_back_days</code> are omitted, this parameter's default value is used. <br /><br /><b>Default: </b> 7 <br /><br /><b>Range: </b> 1-90 (inclusive) */
|
|
659
|
+
look_back_days?: string;
|
|
660
|
+
/** @description Specifies the range of task creation dates used to filter the results. The results are filtered to include only tasks with a creation date that is equal to this date or is within specified range. <p> <span class="tablenote"><strong>Note:</strong> Maximum date range window size is 90 days.</span></p><br /><b>Valid Format (UTC): </b><code>yyyy-MM-ddThh:mm:ss.SSSZ..yyyy-MM-ddThh:mm:ss.SSSZ</code><br /><br />For example: Tasks created on March 31, 2021<br /> <code>2021-03-31T00:00:00.000Z..2021-03-31T00:00:00.000Z</code><br /><br /> */
|
|
661
|
+
date_range?: string;
|
|
662
|
+
/** @description The maximum number of tasks that can be returned on each page of the paginated response. Use this parameter in conjunction with the <strong>offset</strong> parameter to control the pagination of the output. <p> <span class="tablenote"><strong>Note:</strong> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span></p><p>For example, if <strong>offset</strong> is set to 10 and <strong>limit</strong> is set to 10, the call retrieves tasks 11 thru 20 from the result set.</p><p>If this parameter is omitted, the default value is used. <br /><br /><b>Default: </b> 10 <br /><br /><b>Maximum: </b>500 */
|
|
663
|
+
limit?: string;
|
|
664
|
+
/** @description The number of tasks to skip in the result set before returning the first task in the paginated response. <p>Combine <strong>offset</strong> with the <strong>limit</strong> query parameter to control the items returned in the response. For example, if you supply an <strong>offset</strong> of <code>0</code> and a <strong>limit</strong> of <code>10</code>, the first page of the response contains the first 10 items from the complete list of items retrieved by the call. If <strong>offset</strong> is <code>10</code> and <strong>limit</strong> is <code>20</code>, the first page of the response contains items 11-30 from the complete result set. If this query parameter is not set, the default value is used and the first page of records is returned. <br /><br /><b>Default: </b>0 */
|
|
665
|
+
offset?: string;
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
responses: {
|
|
669
|
+
/** @description Success */
|
|
670
|
+
200: {
|
|
671
|
+
content: {
|
|
672
|
+
"application/json": components["schemas"]["InventoryTaskCollection"];
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
/** @description Bad Request */
|
|
676
|
+
400: never;
|
|
677
|
+
/** @description Forbidden */
|
|
678
|
+
403: never;
|
|
679
|
+
/** @description Internal Server Error */
|
|
680
|
+
500: never;
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
/** @description This method creates an inventory-related download task for a specified feed type with optional filter criteria. When using this method, specify the <strong>feedType</strong>. <br/><br/>This method returns the location response header containing the <strong>getInventoryTask</strong> call URI to retrieve the inventory task you just created. The URL includes the eBay-assigned task ID, which you can use to reference the inventory task.<br/><br/>To retrieve the status of the task, use the <strong>getInventoryTask</strong> method to retrieve a single task ID or the <strong>getInventoryTasks</strong> method to retrieve multiple task IDs.<p> <span class="tablenote"><strong>Note:</strong> The scope depends on the feed type. An error message results when an unsupported scope or feed type is specified.</span></p>Presently, this method supports Active Inventory Report. The <strong>ActiveInventoryReport</strong> returns a report that contains price and quantity information for all of the active listings for a specific seller. A seller can use this information to maintain their inventory on eBay. */
|
|
684
|
+
createInventoryTask: {
|
|
685
|
+
parameters: {
|
|
686
|
+
header?: {
|
|
687
|
+
/** @description The ID of the eBay marketplace where the item is hosted. <p> <span class="tablenote"><strong>Note:</strong> This value is case sensitive.</span></p><p>For example:</p><p><code>X-EBAY-C-MARKETPLACE-ID:EBAY_US</code></p><p>This identifies the eBay marketplace that applies to this task. See <a href="/api-docs/sell/feed/types/bas:MarketplaceIdEnum">MarketplaceIdEnum</a>.</p> */
|
|
688
|
+
"X-EBAY-C-MARKETPLACE-ID"?: string;
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
/** @description The request payload containing the version, feedType, and optional filterCriteria. */
|
|
692
|
+
requestBody: {
|
|
693
|
+
content: {
|
|
694
|
+
"application/json": components["schemas"]["CreateInventoryTaskRequest"];
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
responses: {
|
|
698
|
+
/** @description Accepted */
|
|
699
|
+
202: never;
|
|
700
|
+
/** @description Bad Request */
|
|
701
|
+
400: never;
|
|
702
|
+
/** @description Forbidden */
|
|
703
|
+
403: never;
|
|
704
|
+
/** @description Conflict */
|
|
705
|
+
409: never;
|
|
706
|
+
/** @description Internal Server Error */
|
|
707
|
+
500: never;
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
/** @description This method retrieves the task details and status of the specified inventory-related task. The input is <strong>task_id</strong>. */
|
|
711
|
+
getInventoryTask: {
|
|
712
|
+
parameters: {
|
|
713
|
+
path: {
|
|
714
|
+
/** @description The ID of the task. This ID was generated when the task was created by the <strong>createInventoryTask</strong> method */
|
|
715
|
+
task_id: string;
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
responses: {
|
|
719
|
+
/** @description Success */
|
|
720
|
+
200: {
|
|
721
|
+
content: {
|
|
722
|
+
"application/json": components["schemas"]["InventoryTask"];
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
/** @description Bad Request */
|
|
726
|
+
400: never;
|
|
727
|
+
/** @description Forbidden */
|
|
728
|
+
403: never;
|
|
729
|
+
/** @description Not Found */
|
|
730
|
+
404: never;
|
|
731
|
+
/** @description Internal Server Error */
|
|
732
|
+
500: never;
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
/** @description This method retrieves an array containing the details and status of all schedules based on the specified <strong>feed_type</strong>. Use this method to find a schedule if you do not know the <strong>schedule_id</strong>. */
|
|
736
|
+
getSchedules: {
|
|
737
|
+
parameters: {
|
|
738
|
+
query: {
|
|
739
|
+
/** @description The <strong>feedType</strong> associated with the schedule. */
|
|
740
|
+
feed_type: string;
|
|
741
|
+
/** @description The maximum number of schedules that can be returned on each page of the paginated response. Use this parameter in conjunction with the <strong>offset</strong> parameter to control the pagination of the output. <p> <span class="tablenote"><strong>Note:</strong> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span></p><p>For example, if <strong>offset</strong> is set to 10 and <strong>limit</strong> is set to 10, the call retrieves schedules 11 thru 20 from the result set.</p><p>If this parameter is omitted, the default value is used. <br /><br /><b>Default: </b> 10 <br /><br /><b>Maximum: </b>500 */
|
|
742
|
+
limit?: string;
|
|
743
|
+
/** @description The number of schedules to skip in the result set before returning the first schedule in the paginated response. <p>Combine <strong>offset</strong> with the <strong>limit</strong> query parameter to control the items returned in the response. For example, if you supply an <strong>offset</strong> of <code>0</code> and a <strong>limit</strong> of <code>10</code>, the first page of the response contains the first 10 items from the complete list of items retrieved by the call. If <strong>offset</strong> is <code>10</code> and <strong>limit</strong> is <code>20</code>, the first page of the response contains items 11-30 from the complete result set. If this query parameter is not set, the default value is used and the first page of records is returned.<br /><br /><b>Default: </b>0 */
|
|
744
|
+
offset?: string;
|
|
745
|
+
};
|
|
746
|
+
};
|
|
747
|
+
responses: {
|
|
748
|
+
/** @description Success */
|
|
749
|
+
200: {
|
|
750
|
+
content: {
|
|
751
|
+
"application/json": components["schemas"]["UserScheduleCollection"];
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
/** @description Bad Request */
|
|
755
|
+
400: never;
|
|
756
|
+
/** @description Forbidden */
|
|
757
|
+
403: never;
|
|
758
|
+
/** @description Internal Server Error */
|
|
759
|
+
500: never;
|
|
760
|
+
};
|
|
761
|
+
};
|
|
762
|
+
/** @description This method creates a schedule, which is a subscription to the specified schedule template. A schedule periodically generates a report for the <strong>feedType</strong> specified by the template. Specify the same <strong>feedType</strong> as the <strong>feedType</strong> of the associated schedule template. When creating the schedule, if available from the template, you can specify a preferred trigger hour, day of the week, or day of the month. These and other fields are conditionally available as specified by the template.<p> <span class="tablenote"><strong>Note:</strong> Make sure to include all fields required by the schedule template (<strong>scheduleTemplateId</strong>). Call the <strong>getScheduleTemplate</strong> method (or the <strong>getScheduleTemplates</strong> method), to find out which fields are required or optional. If a field is optional and a default value is provided by the template, the default value will be used if omitted from the payload.</span></p>A successful call returns the location response header containing the <strong>getSchedule</strong> call URI to retrieve the schedule you just created. The URL includes the eBay-assigned schedule ID, which you can use to reference the schedule task. <br /><br />To retrieve the details of the create schedule task, use the <strong>getSchedule</strong> method for a single schedule ID or the <strong>getSchedules</strong> method to retrieve all schedule details for the specified <strong>feed_type</strong>. The number of schedules for each feedType is limited. Error code 160031 is returned when you have reached this maximum.<p> <span class="tablenote"><strong>Note:</strong> Except for schedules with a HALF-HOUR frequency, all schedules will ideally run at the start of each hour ('00' minutes). Actual start time may vary time may vary due to load and other factors.</span></p> */
|
|
763
|
+
createSchedule: {
|
|
764
|
+
/** @description In the request payload: <strong>feedType</strong> and <strong>scheduleTemplateId</strong> are required; <strong>scheduleName</strong> is optional; <strong>preferredTriggerHour</strong>, <strong>preferredTriggerDayOfWeek</strong>, <strong>preferredTriggerDayOfMonth</strong>, <strong>scheduleStartDate</strong>, <strong>scheduleEndDate</strong>, and <strong>schemaVersion</strong> are conditional. */
|
|
765
|
+
requestBody: {
|
|
766
|
+
content: {
|
|
767
|
+
"application/json": components["schemas"]["CreateUserScheduleRequest"];
|
|
768
|
+
};
|
|
769
|
+
};
|
|
770
|
+
responses: {
|
|
771
|
+
/** @description Created */
|
|
772
|
+
201: {
|
|
773
|
+
headers: {
|
|
774
|
+
Location?: string;
|
|
775
|
+
};
|
|
776
|
+
content: {
|
|
777
|
+
"application/json": Record<string, never>;
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
/** @description Bad Request */
|
|
781
|
+
400: never;
|
|
782
|
+
/** @description Forbidden */
|
|
783
|
+
403: never;
|
|
784
|
+
/** @description Conflict */
|
|
785
|
+
409: never;
|
|
786
|
+
/** @description Internal Server Error */
|
|
787
|
+
500: never;
|
|
788
|
+
};
|
|
789
|
+
};
|
|
790
|
+
/** @description This method retrieves schedule details and status of the specified schedule. Specify the schedule to retrieve using the <strong>schedule_id</strong>. Use the <strong>getSchedules</strong> method to find a schedule if you do not know the <strong>schedule_id</strong>. */
|
|
791
|
+
getSchedule: {
|
|
792
|
+
parameters: {
|
|
793
|
+
path: {
|
|
794
|
+
/** @description The ID of the schedule for which to retrieve the details. This ID is generated when the schedule was created by the <strong>createSchedule</strong> method. */
|
|
795
|
+
schedule_id: string;
|
|
796
|
+
};
|
|
797
|
+
};
|
|
798
|
+
responses: {
|
|
799
|
+
/** @description Success */
|
|
800
|
+
200: {
|
|
801
|
+
content: {
|
|
802
|
+
"application/json": components["schemas"]["UserScheduleResponse"];
|
|
803
|
+
};
|
|
804
|
+
};
|
|
805
|
+
/** @description Bad Request */
|
|
806
|
+
400: never;
|
|
807
|
+
/** @description Forbidden */
|
|
808
|
+
403: never;
|
|
809
|
+
/** @description Not Found */
|
|
810
|
+
404: never;
|
|
811
|
+
/** @description Internal Server Error */
|
|
812
|
+
500: never;
|
|
813
|
+
};
|
|
814
|
+
};
|
|
815
|
+
/** @description This method updates an existing schedule. Specify the schedule to update using the <strong>schedule_id</strong> path parameter. If the schedule template has changed after the schedule was created or updated, the input will be validated using the changed template.<p> <span class="tablenote"><strong>Note:</strong> Make sure to include all fields required by the schedule template (<strong>scheduleTemplateId</strong>). Call the <strong>getScheduleTemplate</strong> method (or the <strong>getScheduleTemplates</strong> method), to find out which fields are required or optional. If you do not know the <strong>scheduleTemplateId</strong>, call the <strong>getSchedule</strong> method to find out.</span></p> */
|
|
816
|
+
updateSchedule: {
|
|
817
|
+
parameters: {
|
|
818
|
+
path: {
|
|
819
|
+
/** @description The ID of the schedule to update. This ID is generated when the schedule was created by the <strong>createSchedule</strong> method. */
|
|
820
|
+
schedule_id: string;
|
|
821
|
+
};
|
|
822
|
+
};
|
|
823
|
+
/** @description In the request payload: <strong>scheduleName</strong> is optional; <strong>preferredTriggerHour</strong>, <strong>preferredTriggerDayOfWeek</strong>, <strong>preferredTriggerDayOfMonth</strong>, <strong>scheduleStartDate</strong>, <strong>scheduleEndDate</strong>, and <strong>schemaVersion</strong> are conditional. */
|
|
824
|
+
requestBody: {
|
|
825
|
+
content: {
|
|
826
|
+
"application/json": components["schemas"]["UpdateUserScheduleRequest"];
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
responses: {
|
|
830
|
+
/** @description No Content */
|
|
831
|
+
204: never;
|
|
832
|
+
/** @description Bad Request */
|
|
833
|
+
400: never;
|
|
834
|
+
/** @description Forbidden */
|
|
835
|
+
403: never;
|
|
836
|
+
/** @description Not Found */
|
|
837
|
+
404: never;
|
|
838
|
+
/** @description Conflict */
|
|
839
|
+
409: never;
|
|
840
|
+
/** @description Internal Server Error */
|
|
841
|
+
500: never;
|
|
842
|
+
};
|
|
843
|
+
};
|
|
844
|
+
/** @description This method deletes an existing schedule. Specify the schedule to delete using the <strong>schedule_id</strong> path parameter. */
|
|
845
|
+
deleteSchedule: {
|
|
846
|
+
parameters: {
|
|
847
|
+
path: {
|
|
848
|
+
/** @description The <strong>schedule_id</strong> of the schedule to delete. This ID was generated when the task was created. If you do not know the schedule_id, use the <strong>getSchedules</strong> method to return all schedules based on a specified feed_type and find the schedule_id of the schedule to delete. */
|
|
849
|
+
schedule_id: string;
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
responses: {
|
|
853
|
+
/** @description No Content */
|
|
854
|
+
204: never;
|
|
855
|
+
/** @description Bad Request */
|
|
856
|
+
400: never;
|
|
857
|
+
/** @description Not Found */
|
|
858
|
+
404: never;
|
|
859
|
+
/** @description Internal Server Error */
|
|
860
|
+
500: never;
|
|
861
|
+
};
|
|
862
|
+
};
|
|
863
|
+
/** @description This method downloads the latest result file generated by the schedule. The response of this call is a compressed or uncompressed CSV, XML, or JSON file, with the applicable file extension (for example: csv.gz). Specify the <strong>schedule_id</strong> path parameter to download its last generated file. */
|
|
864
|
+
getLatestResultFile: {
|
|
865
|
+
parameters: {
|
|
866
|
+
path: {
|
|
867
|
+
/** @description The ID of the schedule for which to retrieve the latest result file. This ID is generated when the schedule was created by the <strong>createSchedule</strong> method. */
|
|
868
|
+
schedule_id: string;
|
|
869
|
+
};
|
|
870
|
+
};
|
|
871
|
+
responses: {
|
|
872
|
+
/** @description Success */
|
|
873
|
+
200: {
|
|
874
|
+
headers: {
|
|
875
|
+
"content-disposition"?: string;
|
|
876
|
+
};
|
|
877
|
+
content: {
|
|
878
|
+
"application/octet-stream": components["schemas"]["StreamingOutput"];
|
|
879
|
+
};
|
|
880
|
+
};
|
|
881
|
+
/** @description Bad Request */
|
|
882
|
+
400: never;
|
|
883
|
+
/** @description Forbidden */
|
|
884
|
+
403: never;
|
|
885
|
+
/** @description Not Found */
|
|
886
|
+
404: never;
|
|
887
|
+
/** @description Internal Server Error */
|
|
888
|
+
500: never;
|
|
889
|
+
};
|
|
890
|
+
};
|
|
891
|
+
/** @description This method retrieves the details of the specified template. Specify the template to retrieve using the <strong>schedule_template_id</strong> path parameter. Use the <strong>getScheduleTemplates</strong> method to find a schedule template if you do not know the <strong>schedule_template_id</strong>. */
|
|
892
|
+
getScheduleTemplate: {
|
|
893
|
+
parameters: {
|
|
894
|
+
path: {
|
|
895
|
+
/** @description The ID of the template to retrieve. If you do not know the <strong>schedule_template_id</strong>, refer to the documentation or use the <strong>getScheduleTemplates</strong> method to find the available schedule templates. */
|
|
896
|
+
schedule_template_id: string;
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
responses: {
|
|
900
|
+
/** @description Success */
|
|
901
|
+
200: {
|
|
902
|
+
content: {
|
|
903
|
+
"application/json": components["schemas"]["ScheduleTemplateResponse"];
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
/** @description Bad Request */
|
|
907
|
+
400: never;
|
|
908
|
+
/** @description Not Found */
|
|
909
|
+
404: never;
|
|
910
|
+
/** @description Internal Server Error */
|
|
911
|
+
500: never;
|
|
912
|
+
};
|
|
913
|
+
};
|
|
914
|
+
/** @description This method retrieves an array containing the details and status of all schedule templates based on the specified <strong>feed_type</strong>. Use this method to find a schedule template if you do not know the <strong>schedule_template_id</strong>. */
|
|
915
|
+
getScheduleTemplates: {
|
|
916
|
+
parameters: {
|
|
917
|
+
query: {
|
|
918
|
+
/** @description The feed type of the schedule templates to retrieve. */
|
|
919
|
+
feed_type: string;
|
|
920
|
+
/** @description The maximum number of schedule templates that can be returned on each page of the paginated response. Use this parameter in conjunction with the <strong>offset</strong> parameter to control the pagination of the output. <p> <span class="tablenote"><strong>Note:</strong> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span></p><p>For example, if <strong>offset</strong> is set to 10 and <strong>limit</strong> is set to 10, the call retrieves schedule templates 11 thru 20 from the result set.</p><p>If this parameter is omitted, the default value is used. <br /><br /><b>Default: </b> 10 <br /><br /><b>Maximum: </b>500 */
|
|
921
|
+
limit?: string;
|
|
922
|
+
/** @description The number of schedule templates to skip in the result set before returning the first template in the paginated response. <p>Combine <strong>offset</strong> with the <strong>limit</strong> query parameter to control the items returned in the response. For example, if you supply an <strong>offset</strong> of <code>0</code> and a <strong>limit</strong> of <code>10</code>, the first page of the response contains the first 10 items from the complete list of items retrieved by the call. If <strong>offset</strong> is <code>10</code> and <strong>limit</strong> is <code>20</code>, the first page of the response contains items 11-30 from the complete result set. If this query parameter is not set, the default value is used and the first page of records is returned.<br /><br /><b>Default: </b>0 */
|
|
923
|
+
offset?: string;
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
responses: {
|
|
927
|
+
/** @description Success */
|
|
928
|
+
200: {
|
|
929
|
+
content: {
|
|
930
|
+
"application/json": components["schemas"]["ScheduleTemplateCollection"];
|
|
931
|
+
};
|
|
932
|
+
};
|
|
933
|
+
/** @description Bad Request */
|
|
934
|
+
400: never;
|
|
935
|
+
/** @description Internal Server Error */
|
|
936
|
+
500: never;
|
|
937
|
+
};
|
|
938
|
+
};
|
|
939
|
+
/** @description This method returns the details and status for an array of tasks based on a specified <strong>feed_type</strong> or <strong>scheduledId</strong>. Specifying both <strong>feed_type</strong> and <strong>scheduledId</strong> results in an error. Since schedules are based on feed types, you can specify a schedule (<strong>schedule_id</strong>) that returns the needed <strong>feed_type</strong>.<br /><br />If specifying the <strong>feed_type</strong>, limit which tasks are returned by specifying filters, such as the creation date range or period of time using <strong>look_back_days</strong>. Also, by specifying the <strong>feed_type</strong>, both on-demand and scheduled reports are returned.<br /><br />If specifying a <strong>scheduledId</strong>, the schedule template (that the schedule ID is based on) determines which tasks are returned (see <strong>schedule_id</strong> for additional information). Each <strong>scheduledId</strong> applies to one <strong>feed_type</strong>. */
|
|
940
|
+
getTasks: {
|
|
941
|
+
parameters: {
|
|
942
|
+
query?: {
|
|
943
|
+
/** @description Specifies the range of task creation dates used to filter the results. The results are filtered to include only tasks with a creation date that is equal to this date or is within specified range. Only tasks that are less than 90 days can be retrieved. <p> <span class="tablenote"><strong>Note:</strong> Maximum date range window size is 90 days.</span></p> <br /><b>Valid Format (UTC):</b><code>yyyy-MM-ddThh:mm:ss.SSSZ..yyyy-MM-ddThh:mm:ss.SSSZ </code><br /><br />For example: Tasks created on September 8, 2019<br /> <code>2019-09-08T00:00:00.000Z..2019-09-09T00:00:00.000Z</code> */
|
|
944
|
+
date_range?: string;
|
|
945
|
+
/** @description The feed type associated with the tasks to be returned. Only use a <strong>feedType</strong> that is available for your API: <ul><li>Order Feeds: <code>LMS_ORDER_ACK, LMS_ORDER_REPORT</code></li><li>Large Merchant Services (LMS) Feeds: See <a href="/api-docs/sell/static/lms-migration/lms-to-feed-feedtype.html" target="_blank">Available FeedTypes</a></li></ul><br/>Do not use with the <strong>schedule_id</strong> parameter. Since schedules are based on feed types, you can specify a schedule (<strong>schedule_id</strong>) that returns the needed <strong>feed_type</strong>. */
|
|
946
|
+
feed_type?: string;
|
|
947
|
+
/** @description The maximum number of tasks that can be returned on each page of the paginated response. Use this parameter in conjunction with the <strong>offset</strong> parameter to control the pagination of the output. <p> <span class="tablenote"><strong>Note:</strong> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span></p><p>For example, if <strong>offset</strong> is set to 10 and <strong>limit</strong> is set to 10, the call retrieves tasks 11 thru 20 from the result set.</p><p>If this parameter is omitted, the default value is used. <br /><br /><b>Default: </b> 10 <br /><br /><b>Maximum: </b>500 */
|
|
948
|
+
limit?: string;
|
|
949
|
+
/** @description The number of previous days in which to search for tasks. Do not use with the <code>date_range</code> parameter. If both <code>date_range</code> and <code>look_back_days</code> are omitted, this parameter's default value is used. <br /><br /><b>Default: </b> 7 <br /><br /><b>Range: </b> 1-90 (inclusive) */
|
|
950
|
+
look_back_days?: string;
|
|
951
|
+
/** @description The number of tasks to skip in the result set before returning the first task in the paginated response. <p>Combine <strong>offset</strong> with the <strong>limit</strong> query parameter to control the items returned in the response. For example, if you supply an <strong>offset</strong> of <code>0</code> and a <strong>limit</strong> of <code>10</code>, the first page of the response contains the first 10 items from the complete list of items retrieved by the call. If <strong>offset</strong> is <code>10</code> and <strong>limit</strong> is <code>20</code>, the first page of the response contains items 11-30 from the complete result set. If this query parameter is not set, the default value is used and the first page of records is returned. <br /><br /><b>Default: </b>0 */
|
|
952
|
+
offset?: string;
|
|
953
|
+
/** @description The schedule ID associated with the task. A schedule periodically generates a report for the feed type specified by the schedule template (see <strong>scheduleTemplateId</strong> in <strong>createSchedule</strong>). Do not use with the <strong>feed_type</strong> parameter. Since schedules are based on feed types, you can specify a schedule (<strong>schedule_id</strong>) that returns the needed <strong>feed_type</strong>. */
|
|
954
|
+
schedule_id?: string;
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
responses: {
|
|
958
|
+
/** @description Success */
|
|
959
|
+
200: {
|
|
960
|
+
content: {
|
|
961
|
+
"application/json": components["schemas"]["TaskCollection"];
|
|
962
|
+
};
|
|
963
|
+
};
|
|
964
|
+
/** @description Bad Request */
|
|
965
|
+
400: never;
|
|
966
|
+
/** @description Forbidden */
|
|
967
|
+
403: never;
|
|
968
|
+
/** @description Internal Server Error */
|
|
969
|
+
500: never;
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
/** @description This method creates an upload task or a download task without filter criteria. When using this method, specify the <b> feedType</b> and the feed file <b> schemaVersion</b>. The feed type specified sets the task as a download or an upload task. <p>For details about the upload and download flows, see <a href="/api-docs/sell/static/orders/generating-and-retrieving-order-reports.html">Working with Order Feeds</a> in the Selling Integration Guide.</p><p> <span class="tablenote"><strong>Note:</strong> The scope depends on the feed type. An error message results when an unsupported scope or feed type is specified.</span></p><p>The following list contains this method's authorization scopes and their corresponding feed types:</p><ul><li>https://api.ebay.com/oauth/api_scope/sell.inventory: See <a href="/api-docs/sell/static/lms-migration/lms-to-feed-feedtype.html" target="_blank">LMS FeedTypes</a></li><li>https://api.ebay.com/oauth/api_scope/sell.fulfillment: LMS_ORDER_ACK (specify for upload tasks). Also see <a href="/api-docs/sell/static/lms-migration/lms-to-feed-feedtype.html" target="_blank">LMS FeedTypes</a></li><li>https://api.ebay.com/oauth/api_scope/sell.marketing: None*</li><li>https://api.ebay.com/oauth/api_scope/commerce.catalog.readonly: None*</li></ul><p>* Reserved for future release</p> */
|
|
973
|
+
createTask: {
|
|
974
|
+
parameters: {
|
|
975
|
+
header?: {
|
|
976
|
+
/** @description The ID of the eBay marketplace where the item is hosted. <p> <span class="tablenote"><strong>Note:</strong> This value is case sensitive.</span></p><p>For example:</p><p><code>X-EBAY-C-MARKETPLACE-ID:EBAY_US</code></p><p>This identifies the eBay marketplace that applies to this task. See <a href="/api-docs/sell/feed/types/bas:MarketplaceIdEnum">MarketplaceIdEnum</a>.</p> */
|
|
977
|
+
"X-EBAY-C-MARKETPLACE-ID"?: string;
|
|
978
|
+
};
|
|
979
|
+
};
|
|
980
|
+
/** @description description not needed */
|
|
981
|
+
requestBody: {
|
|
982
|
+
content: {
|
|
983
|
+
"application/json": components["schemas"]["CreateTaskRequest"];
|
|
984
|
+
};
|
|
985
|
+
};
|
|
986
|
+
responses: {
|
|
987
|
+
/** @description Accepted */
|
|
988
|
+
202: never;
|
|
989
|
+
/** @description Bad Request */
|
|
990
|
+
400: never;
|
|
991
|
+
/** @description Forbidden */
|
|
992
|
+
403: never;
|
|
993
|
+
/** @description Conflict */
|
|
994
|
+
409: never;
|
|
995
|
+
/** @description Internal Server Error */
|
|
996
|
+
500: never;
|
|
997
|
+
};
|
|
998
|
+
};
|
|
999
|
+
/** @description This method downloads the file previously uploaded using <strong>uploadFile</strong>. Specify the task_id from the <strong>uploadFile</strong> call. <p><span class="tablenote"><strong>Note:</strong> With respect to LMS, this method applies to all feed types except <code>LMS_ORDER_REPORT</code> and <code>LMS_ACTIVE_INVENTORY_REPORT</code>. See <a href="/api-docs/sell/static/feed/lms-feeds.html">LMS API Feeds</a> in the Selling Integration Guide.</span></p> */
|
|
1000
|
+
getInputFile: {
|
|
1001
|
+
parameters: {
|
|
1002
|
+
path: {
|
|
1003
|
+
/** @description The task ID associated with the file to be downloaded. */
|
|
1004
|
+
task_id: string;
|
|
1005
|
+
};
|
|
1006
|
+
};
|
|
1007
|
+
responses: {
|
|
1008
|
+
/** @description Success */
|
|
1009
|
+
200: {
|
|
1010
|
+
headers: {
|
|
1011
|
+
"content-disposition"?: string;
|
|
1012
|
+
};
|
|
1013
|
+
content: {
|
|
1014
|
+
"application/octet-stream": components["schemas"]["StreamingOutput"];
|
|
1015
|
+
};
|
|
1016
|
+
};
|
|
1017
|
+
/** @description Bad Request */
|
|
1018
|
+
400: never;
|
|
1019
|
+
/** @description Forbidden */
|
|
1020
|
+
403: never;
|
|
1021
|
+
/** @description Not Found */
|
|
1022
|
+
404: never;
|
|
1023
|
+
/** @description Internal Server Error */
|
|
1024
|
+
500: never;
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
/** @description This method retrieves the generated file that is associated with the specified task ID. The response of this call is a compressed or uncompressed CSV, XML, or JSON file, with the applicable file extension (for example: csv.gz). <p>For details about how this method is used, see <a href="/api-docs/sell/static/orders/generating-and-retrieving-order-reports.html">Working with Order Feeds</a> in the Selling Integration Guide. </p><p><span class="tablenote"><strong>Note:</strong> The status of the task to retrieve must be in the COMPLETED or COMPLETED_WITH_ERROR state before this method can retrieve the file. You can use the getTask or getTasks method to retrieve the status of the task.</span></p> */
|
|
1028
|
+
getResultFile: {
|
|
1029
|
+
parameters: {
|
|
1030
|
+
path: {
|
|
1031
|
+
/** @description The ID of the task associated with the file you want to download. This ID was generated when the task was created. */
|
|
1032
|
+
task_id: string;
|
|
1033
|
+
};
|
|
1034
|
+
};
|
|
1035
|
+
responses: {
|
|
1036
|
+
/** @description Success */
|
|
1037
|
+
200: {
|
|
1038
|
+
headers: {
|
|
1039
|
+
"content-disposition"?: string;
|
|
1040
|
+
};
|
|
1041
|
+
content: {
|
|
1042
|
+
"application/octet-stream": components["schemas"]["StreamingOutput"];
|
|
1043
|
+
};
|
|
1044
|
+
};
|
|
1045
|
+
/** @description Bad Request */
|
|
1046
|
+
400: never;
|
|
1047
|
+
/** @description Forbidden */
|
|
1048
|
+
403: never;
|
|
1049
|
+
/** @description Not Found */
|
|
1050
|
+
404: never;
|
|
1051
|
+
/** @description Internal Server Error */
|
|
1052
|
+
500: never;
|
|
1053
|
+
};
|
|
1054
|
+
};
|
|
1055
|
+
/** @description This method retrieves the details and status of the specified task. The input is <strong>task_id</strong>. <br /><br />For details of how this method is used, see <a href="/api-docs/sell/static/orders/generating-and-retrieving-order-reports.html">Working with Order Feeds</a> in the Selling Integration Guide. */
|
|
1056
|
+
getTask: {
|
|
1057
|
+
parameters: {
|
|
1058
|
+
path: {
|
|
1059
|
+
/** @description The ID of the task. This ID was generated when the task was created. */
|
|
1060
|
+
task_id: string;
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
responses: {
|
|
1064
|
+
/** @description Success */
|
|
1065
|
+
200: {
|
|
1066
|
+
content: {
|
|
1067
|
+
"application/json": components["schemas"]["Task"];
|
|
1068
|
+
};
|
|
1069
|
+
};
|
|
1070
|
+
/** @description Bad Request */
|
|
1071
|
+
400: never;
|
|
1072
|
+
/** @description Forbidden */
|
|
1073
|
+
403: never;
|
|
1074
|
+
/** @description Not Found */
|
|
1075
|
+
404: never;
|
|
1076
|
+
/** @description Internal Server Error */
|
|
1077
|
+
500: never;
|
|
1078
|
+
};
|
|
1079
|
+
};
|
|
1080
|
+
/** @description This method associates the specified file with the specified task ID and uploads the input file. After the file has been uploaded, the processing of the file begins. <br /><br />Reports often take time to generate and it's common for this method to return an HTTP status of 202, which indicates the report is being generated. Use the <b> getTask</b> with the task ID or <b> getTasks</b> to determine the status of a report. <br /><br />The status flow is <code>QUEUED</code> > <code>IN_PROCESS</code> > <code>COMPLETED</code> or <code>COMPLETED_WITH_ERROR</code>. When the status is <code>COMPLETED</code> or <code>COMPLETED_WITH_ERROR</code>, this indicates the file has been processed and the order report can be downloaded. If there are errors, they will be indicated in the report file. <br /><br />For details of how this method is used in the upload flow, see <a href="/api-docs/sell/static/orders/generating-and-retrieving-order-reports.html">Working with Order Feeds</a> in the Selling Integration Guide. <p><span class="tablenote"><strong>Note:</strong> This method applies to all Seller Hub feed types and LMS feed types except <code>LMS_ORDER_REPORT</code> and <code>LMS_ACTIVE_INVENTORY_REPORT</code>. See <a href="/api-docs/sell/static/feed/lms-feeds-quick-reference.html#Availabl" target="_blank">LMS feed types</a> and <a href="/api-docs/sell/static/feed/fx-feeds-quick-reference.html#availabl" target="_blank">Seller Hub feed types</a>.</span></p><p> <span class="tablenote"><b>Note:</b> You must use a <strong>Content-Type</strong> header with its value set to "<strong>multipart/form-data</strong>". See <a href="/api-docs/sell/feed/resources/task/methods/uploadFile#h2-samples">Samples</a> for information.</span></p> */
|
|
1081
|
+
uploadFile: {
|
|
1082
|
+
parameters: {
|
|
1083
|
+
path: {
|
|
1084
|
+
/** @description The task_id associated with the file that will be uploaded. This ID was generated when the specified task was created. */
|
|
1085
|
+
task_id: string;
|
|
1086
|
+
};
|
|
1087
|
+
};
|
|
1088
|
+
requestBody?: {
|
|
1089
|
+
content: {
|
|
1090
|
+
"multipart/form-data": components["schemas"]["FormDataContentDisposition"];
|
|
1091
|
+
};
|
|
1092
|
+
};
|
|
1093
|
+
responses: {
|
|
1094
|
+
/** @description Success */
|
|
1095
|
+
200: {
|
|
1096
|
+
content: {
|
|
1097
|
+
"application/json": Record<string, never>;
|
|
1098
|
+
};
|
|
1099
|
+
};
|
|
1100
|
+
/** @description Bad Request */
|
|
1101
|
+
400: never;
|
|
1102
|
+
/** @description Forbidden */
|
|
1103
|
+
403: never;
|
|
1104
|
+
/** @description Not Found */
|
|
1105
|
+
404: never;
|
|
1106
|
+
/** @description Internal Server Error */
|
|
1107
|
+
500: never;
|
|
1108
|
+
};
|
|
1109
|
+
};
|
|
1110
|
+
/** @description Use this method to return an array of customer service metric tasks. You can limit the tasks returned by specifying a date range. </p> <p> <span class="tablenote"><strong>Note:</strong> You can pass in either the <code>look_back_days </code>or<code> date_range</code>, but not both.</span></p> */
|
|
1111
|
+
getCustomerServiceMetricTasks: {
|
|
1112
|
+
parameters: {
|
|
1113
|
+
query?: {
|
|
1114
|
+
/** @description The task creation date range. The results are filtered to include only tasks with a creation date that is equal to the dates specified or is within the specified range. Do not use with the <code>look_back_days</code> parameter.<p><strong>Format: </strong>UTC</p><p>For example, tasks within a range: </p><p><code>yyyy-MM-ddThh:mm:ss.SSSZ..yyyy-MM-ddThh:mm:ss.SSSZ </code></p><p>Tasks created on March 8, 2020</p><p><code>2020-03-08T00:00.00.000Z..2020-03-09T00:00:00.000Z</code></p><p><b>Maximum: </b>90 days</p> */
|
|
1115
|
+
date_range?: string;
|
|
1116
|
+
/** @description The feed type associated with the task. The only presently supported value is <code>CUSTOMER_SERVICE_METRICS_REPORT</code>. */
|
|
1117
|
+
feed_type?: string;
|
|
1118
|
+
/** @description The number of customer service metric tasks to return per page of the result set. Use this parameter in conjunction with the offset parameter to control the pagination of the output. <p>For example, if <strong>offset</strong> is set to 10 and <strong>limit</strong> is set to 10, the call retrieves tasks 11 thru 20 from the result set.</p><p>If this parameter is omitted, the default value is used.</p><p> <span class="tablenote"><strong>Note:</strong>This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span></p><p><b>Default:</b> 10 <p><b>Maximum:</b> 500</p> */
|
|
1119
|
+
limit?: string;
|
|
1120
|
+
/** @description The number of previous days in which to search for tasks. Do not use with the <code>date_range</code> parameter. If both <code>date_range</code> and <code>look_back_days</code> are omitted, this parameter's default value is used. <p><b>Default value:</b> 7</p><p><b>Range:</b> 1-90 (inclusive)</p> */
|
|
1121
|
+
look_back_days?: string;
|
|
1122
|
+
/** @description The number of customer service metric tasks to skip in the result set before returning the first task in the paginated response. <p>Combine <strong>offset</strong> with the <strong>limit</strong> query parameter to control the items returned in the response. For example, if you supply an <strong>offset</strong> of <code>0</code> and a <strong>limit</strong> of <code>10</code>, the first page of the response contains the first 10 items from the complete list of items retrieved by the call. If <strong>offset</strong> is <code>10</code> and <strong>limit</strong> is <code>20</code>, the first page of the response contains items 11-30 from the complete result set. <br /><br /><b>Default: </b>0 */
|
|
1123
|
+
offset?: string;
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
responses: {
|
|
1127
|
+
/** @description Success */
|
|
1128
|
+
200: {
|
|
1129
|
+
content: {
|
|
1130
|
+
"application/json": components["schemas"]["CustomerServiceMetricTaskCollection"];
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1133
|
+
/** @description Bad Request */
|
|
1134
|
+
400: never;
|
|
1135
|
+
/** @description Forbidden */
|
|
1136
|
+
403: never;
|
|
1137
|
+
/** @description Internal Server Error */
|
|
1138
|
+
500: never;
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
/** @description <p>Use this method to create a customer service metrics download task with filter criteria for the customer service metrics report. When using this method, specify the <strong>feedType</strong> and <strong>filterCriteria</strong> including both <strong>evaluationMarketplaceId</strong> and <strong>customerServiceMetricType</strong> for the report. The method returns the location response header containing the call URI to use with <strong>getCustomerServiceMetricTask</strong> to retrieve status and details on the task.</p><p>Only CURRENT Customer Service Metrics reports can be generated with the Sell Feed API. PROJECTED reports are not supported at this time. See the <a href="/api-docs/sell/analytics/resources/customer_service_metric/methods/getCustomerServiceMetric">getCustomerServiceMetric</a> method document in the Analytics API for more information about these two types of reports.</p><p><span class="tablenote"><strong>Note:</strong> Before calling this API, retrieve the summary of the seller's performance and rating for the customer service metric by calling <strong>getCustomerServiceMetric</strong> (part of the <a href="/api-docs/sell/analytics/resources/methods">Analytics API</a>). You can then populate the create task request fields with the values from the response. This technique eliminates failed tasks that request a report for a <strong>customerServiceMetricType</strong> and <strong>evaluationMarketplaceId</strong> that are without evaluation.</span></p> */
|
|
1142
|
+
createCustomerServiceMetricTask: {
|
|
1143
|
+
parameters: {
|
|
1144
|
+
header: {
|
|
1145
|
+
/** @description Use this header to specify the natural language in which the authenticated user desires the response. */
|
|
1146
|
+
"accept-language": string;
|
|
1147
|
+
};
|
|
1148
|
+
};
|
|
1149
|
+
/** @description Request payload containing version, feedType, and optional filterCriteria. */
|
|
1150
|
+
requestBody: {
|
|
1151
|
+
content: {
|
|
1152
|
+
"application/json": components["schemas"]["CreateServiceMetricsTaskRequest"];
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
responses: {
|
|
1156
|
+
/** @description Accepted */
|
|
1157
|
+
202: never;
|
|
1158
|
+
/** @description Bad Request */
|
|
1159
|
+
400: never;
|
|
1160
|
+
/** @description Forbidden */
|
|
1161
|
+
403: never;
|
|
1162
|
+
/** @description Internal Server Error */
|
|
1163
|
+
500: never;
|
|
1164
|
+
};
|
|
1165
|
+
};
|
|
1166
|
+
/** @description <p>Use this method to retrieve customer service metric task details for the specified task. The input is <strong>task_id</strong>.</p> */
|
|
1167
|
+
getCustomerServiceMetricTask: {
|
|
1168
|
+
parameters: {
|
|
1169
|
+
path: {
|
|
1170
|
+
/** @description Use this path parameter to specify the task ID value for the customer service metric task to retrieve. */
|
|
1171
|
+
task_id: string;
|
|
1172
|
+
};
|
|
1173
|
+
};
|
|
1174
|
+
responses: {
|
|
1175
|
+
/** @description Success */
|
|
1176
|
+
200: {
|
|
1177
|
+
content: {
|
|
1178
|
+
"application/json": components["schemas"]["ServiceMetricsTask"];
|
|
1179
|
+
};
|
|
1180
|
+
};
|
|
1181
|
+
/** @description Bad Request */
|
|
1182
|
+
400: never;
|
|
1183
|
+
/** @description Forbidden */
|
|
1184
|
+
403: never;
|
|
1185
|
+
/** @description Not Found */
|
|
1186
|
+
404: never;
|
|
1187
|
+
/** @description Internal Server Error */
|
|
1188
|
+
500: never;
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
|
+
}
|