ebay-api 8.4.1 → 8.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/api/apiFactory.d.ts +27 -27
- package/dist/api/apiFactory.js +94 -94
- package/dist/api/base.d.ts +10 -10
- package/dist/api/base.js +10 -10
- package/dist/api/digitalSignature.d.ts +43 -43
- package/dist/api/digitalSignature.js +105 -105
- package/dist/api/index.d.ts +13 -13
- package/dist/api/index.js +29 -29
- package/dist/api/restful/buy/browse/index.d.ts +84 -84
- package/dist/api/restful/buy/browse/index.js +132 -135
- package/dist/api/restful/buy/deal/index.d.ts +56 -55
- package/dist/api/restful/buy/deal/index.js +74 -73
- package/dist/api/restful/buy/feed/index.d.ts +44 -43
- package/dist/api/restful/buy/feed/index.js +79 -78
- package/dist/api/restful/buy/index.d.ts +17 -17
- package/dist/api/restful/buy/index.js +8 -8
- package/dist/api/restful/buy/marketing/index.d.ts +28 -27
- package/dist/api/restful/buy/marketing/index.js +45 -44
- package/dist/api/restful/buy/marketplaceInsights/index.d.ts +29 -28
- package/dist/api/restful/buy/marketplaceInsights/index.js +45 -44
- package/dist/api/restful/buy/offer/index.d.ts +24 -23
- package/dist/api/restful/buy/offer/index.js +31 -30
- package/dist/api/restful/buy/order/index.d.ts +265 -264
- package/dist/api/restful/buy/order/index.js +363 -362
- package/dist/api/restful/commerce/catalog/index.d.ts +74 -73
- package/dist/api/restful/commerce/catalog/index.js +100 -101
- package/dist/api/restful/commerce/charity/index.d.ts +35 -34
- package/dist/api/restful/commerce/charity/index.js +50 -49
- package/dist/api/restful/commerce/identity/index.d.ts +15 -14
- package/dist/api/restful/commerce/identity/index.js +21 -20
- package/dist/api/restful/commerce/index.d.ts +15 -15
- package/dist/api/restful/commerce/index.js +7 -7
- package/dist/api/restful/commerce/notification/index.d.ts +118 -117
- package/dist/api/restful/commerce/notification/index.js +181 -180
- package/dist/api/restful/commerce/taxonomy/index.d.ts +79 -78
- package/dist/api/restful/commerce/taxonomy/index.js +129 -128
- package/dist/api/restful/commerce/translation/index.d.ts +16 -15
- package/dist/api/restful/commerce/translation/index.js +19 -18
- package/dist/api/restful/developer/analytics/index.d.ts +23 -22
- package/dist/api/restful/developer/analytics/index.js +39 -38
- package/dist/api/restful/developer/index.d.ts +7 -7
- package/dist/api/restful/developer/index.js +3 -3
- package/dist/api/restful/developer/keyManagement/index.d.ts +25 -24
- package/dist/api/restful/developer/keyManagement/index.js +37 -36
- package/dist/api/restful/index.d.ts +70 -67
- package/dist/api/restful/index.js +180 -180
- package/dist/api/restful/postOrder/cancellation/index.d.ts +57 -57
- package/dist/api/restful/postOrder/cancellation/index.js +89 -88
- package/dist/api/restful/postOrder/case/index.d.ts +63 -63
- package/dist/api/restful/postOrder/case/index.js +89 -88
- package/dist/api/restful/postOrder/index.d.ts +11 -11
- package/dist/api/restful/postOrder/index.js +5 -5
- package/dist/api/restful/postOrder/inquiry/index.d.ts +82 -82
- package/dist/api/restful/postOrder/inquiry/index.js +125 -124
- package/dist/api/restful/postOrder/return/index.d.ts +231 -231
- package/dist/api/restful/postOrder/return/index.js +355 -354
- package/dist/api/restful/sell/account/index.d.ts +299 -298
- package/dist/api/restful/sell/account/index.js +461 -460
- package/dist/api/restful/sell/analytics/index.d.ts +42 -41
- package/dist/api/restful/sell/analytics/index.js +55 -54
- package/dist/api/restful/sell/compliance/index.d.ts +38 -37
- package/dist/api/restful/sell/compliance/index.js +51 -50
- package/dist/api/restful/sell/feed/index.d.ts +172 -171
- package/dist/api/restful/sell/feed/index.js +278 -277
- package/dist/api/restful/sell/finances/index.d.ts +79 -78
- package/dist/api/restful/sell/finances/index.js +103 -102
- package/dist/api/restful/sell/fulfillment/index.d.ts +138 -137
- package/dist/api/restful/sell/fulfillment/index.js +193 -192
- package/dist/api/restful/sell/index.d.ts +29 -29
- package/dist/api/restful/sell/index.js +14 -14
- package/dist/api/restful/sell/inventory/index.d.ts +249 -248
- package/dist/api/restful/sell/inventory/index.js +340 -339
- package/dist/api/restful/sell/listing/index.d.ts +15 -14
- package/dist/api/restful/sell/listing/index.js +19 -18
- package/dist/api/restful/sell/logistics/index.d.ts +45 -44
- package/dist/api/restful/sell/logistics/index.js +60 -59
- package/dist/api/restful/sell/marketing/index.d.ts +627 -626
- package/dist/api/restful/sell/marketing/index.js +863 -862
- package/dist/api/restful/sell/metadata/index.d.ts +78 -77
- package/dist/api/restful/sell/metadata/index.js +125 -124
- package/dist/api/restful/sell/negotiation/index.d.ts +25 -24
- package/dist/api/restful/sell/negotiation/index.js +33 -32
- package/dist/api/restful/sell/recommendation/index.d.ts +27 -26
- package/dist/api/restful/sell/recommendation/index.js +33 -32
- package/dist/api/traditional/XMLRequest.d.ts +109 -109
- package/dist/api/traditional/XMLRequest.js +176 -175
- package/dist/api/traditional/clientAlerts/index.d.ts +9 -9
- package/dist/api/traditional/clientAlerts/index.js +11 -11
- package/dist/api/traditional/clientAlerts/types.d.ts +31 -31
- package/dist/api/traditional/clientAlerts/types.js +32 -32
- package/dist/api/traditional/fields.d.ts +1948 -1948
- package/dist/api/traditional/fields.js +1946 -1946
- package/dist/api/traditional/finding/index.d.ts +12 -12
- package/dist/api/traditional/finding/index.js +13 -13
- package/dist/api/traditional/index.d.ts +17 -17
- package/dist/api/traditional/index.js +191 -191
- package/dist/api/traditional/merchandising/index.d.ts +7 -7
- package/dist/api/traditional/merchandising/index.js +8 -8
- package/dist/api/traditional/shopping/index.d.ts +11 -11
- package/dist/api/traditional/shopping/index.js +13 -13
- package/dist/api/traditional/trading/index.d.ts +142 -142
- package/dist/api/traditional/trading/index.js +143 -143
- package/dist/auth/authNAuth.d.ts +49 -49
- package/dist/auth/authNAuth.js +117 -116
- package/dist/auth/index.d.ts +17 -17
- package/dist/auth/index.js +25 -25
- package/dist/auth/oAuth2.d.ts +95 -95
- package/dist/auth/oAuth2.js +260 -259
- package/dist/eBayApi.d.ts +59 -59
- package/dist/eBayApi.js +105 -104
- package/dist/ebay-api.min.mjs +1 -1
- package/dist/enums/apiEnums.d.ts +49 -49
- package/dist/enums/apiEnums.js +51 -51
- package/dist/enums/index.d.ts +2 -2
- package/dist/enums/index.js +2 -2
- package/dist/enums/restfulEnums.d.ts +976 -970
- package/dist/enums/restfulEnums.js +1019 -1013
- package/dist/errors/index.d.ts +66 -66
- package/dist/errors/index.js +190 -189
- package/dist/nanoevents.d.ts +6 -6
- package/dist/nanoevents.js +20 -20
- package/dist/request.d.ts +26 -26
- package/dist/request.js +43 -43
- package/dist/types/apiTypes.d.ts +40 -40
- package/dist/types/apiTypes.js +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +3 -3
- package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +1531 -0
- package/dist/types/restful/specs/buy_browse_v1_oas3.js +5 -0
- package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +434 -0
- package/dist/types/restful/specs/buy_deal_v1_oas3.js +5 -0
- package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +561 -0
- package/dist/types/restful/specs/buy_feed_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +288 -0
- package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +304 -0
- package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +173 -0
- package/dist/types/restful/specs/buy_offer_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +1701 -0
- package/dist/types/restful/specs/buy_order_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/cancellation_oas3.d.ts +112 -0
- package/dist/types/restful/specs/cancellation_oas3.js +5 -0
- package/dist/types/restful/specs/case_oas3.d.ts +124 -0
- package/dist/types/restful/specs/case_oas3.js +5 -0
- package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +758 -0
- package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +224 -0
- package/dist/types/restful/specs/commerce_charity_v1_oas3.js +5 -0
- package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +152 -0
- package/dist/types/restful/specs/commerce_identity_v1_oas3.js +5 -0
- package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +677 -0
- package/dist/types/restful/specs/commerce_notification_v1_oas3.js +5 -0
- package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +530 -0
- package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.js +5 -0
- package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +100 -0
- package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +158 -0
- package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +162 -0
- package/dist/types/restful/specs/developer_key_management_v1_oas3.js +5 -0
- package/dist/types/restful/specs/inquiry_oas3.d.ts +180 -0
- package/dist/types/restful/specs/inquiry_oas3.js +5 -0
- package/dist/types/restful/specs/return_oas3.d.ts +528 -0
- package/dist/types/restful/specs/return_oas3.js +5 -0
- package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +2061 -0
- package/dist/types/restful/specs/sell_account_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +340 -0
- package/dist/types/restful/specs/sell_analytics_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +253 -0
- package/dist/types/restful/specs/sell_compliance_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +1191 -0
- package/dist/types/restful/specs/sell_feed_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +572 -0
- package/dist/types/restful/specs/sell_finances_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +1386 -0
- package/dist/types/restful/specs/sell_fulfillment_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +2175 -0
- package/dist/types/restful/specs/sell_inventory_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +150 -0
- package/dist/types/restful/specs/sell_listing_v1_beta_oas3.js +5 -0
- package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +451 -0
- package/dist/types/restful/specs/sell_logistics_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +3728 -0
- package/dist/types/restful/specs/sell_marketing_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +429 -0
- package/dist/types/restful/specs/sell_metadata_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +225 -0
- package/dist/types/restful/specs/sell_negotiation_v1_oas3.js +5 -0
- package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +148 -0
- package/dist/types/restful/specs/sell_recommendation_v1_oas3.js +5 -0
- package/dist/types/restfulTypes.d.ts +439 -1179
- package/dist/types/restfulTypes.js +1 -1
- package/dist/types/traditonalTypes.d.ts +35 -35
- package/dist/types/traditonalTypes.js +1 -1
- package/lib/api/apiFactory.d.ts +27 -27
- package/lib/api/apiFactory.js +100 -100
- package/lib/api/base.d.ts +10 -10
- package/lib/api/base.js +13 -13
- package/lib/api/digitalSignature.d.ts +43 -43
- package/lib/api/digitalSignature.js +112 -112
- package/lib/api/index.d.ts +13 -13
- package/lib/api/index.js +35 -35
- package/lib/api/restful/buy/browse/index.d.ts +84 -84
- package/lib/api/restful/buy/browse/index.js +137 -141
- package/lib/api/restful/buy/deal/index.d.ts +56 -55
- package/lib/api/restful/buy/deal/index.js +79 -79
- package/lib/api/restful/buy/feed/index.d.ts +44 -43
- package/lib/api/restful/buy/feed/index.js +84 -84
- package/lib/api/restful/buy/index.d.ts +17 -17
- package/lib/api/restful/buy/index.js +20 -20
- package/lib/api/restful/buy/marketing/index.d.ts +28 -27
- package/lib/api/restful/buy/marketing/index.js +50 -50
- package/lib/api/restful/buy/marketplaceInsights/index.d.ts +29 -28
- package/lib/api/restful/buy/marketplaceInsights/index.js +50 -50
- package/lib/api/restful/buy/offer/index.d.ts +24 -23
- package/lib/api/restful/buy/offer/index.js +36 -36
- package/lib/api/restful/buy/order/index.d.ts +265 -264
- package/lib/api/restful/buy/order/index.js +368 -368
- package/lib/api/restful/commerce/catalog/index.d.ts +74 -73
- package/lib/api/restful/commerce/catalog/index.js +105 -107
- package/lib/api/restful/commerce/charity/index.d.ts +35 -34
- package/lib/api/restful/commerce/charity/index.js +55 -55
- package/lib/api/restful/commerce/identity/index.d.ts +15 -14
- package/lib/api/restful/commerce/identity/index.js +26 -26
- package/lib/api/restful/commerce/index.d.ts +15 -15
- package/lib/api/restful/commerce/index.js +18 -18
- package/lib/api/restful/commerce/notification/index.d.ts +118 -117
- package/lib/api/restful/commerce/notification/index.js +186 -186
- package/lib/api/restful/commerce/taxonomy/index.d.ts +79 -78
- package/lib/api/restful/commerce/taxonomy/index.js +134 -134
- package/lib/api/restful/commerce/translation/index.d.ts +16 -15
- package/lib/api/restful/commerce/translation/index.js +24 -24
- package/lib/api/restful/developer/analytics/index.d.ts +23 -22
- package/lib/api/restful/developer/analytics/index.js +44 -44
- package/lib/api/restful/developer/index.d.ts +7 -7
- package/lib/api/restful/developer/index.js +10 -10
- package/lib/api/restful/developer/keyManagement/index.d.ts +25 -24
- package/lib/api/restful/developer/keyManagement/index.js +42 -42
- package/lib/api/restful/index.d.ts +70 -67
- package/lib/api/restful/index.js +187 -187
- package/lib/api/restful/postOrder/cancellation/index.d.ts +57 -57
- package/lib/api/restful/postOrder/cancellation/index.js +94 -94
- package/lib/api/restful/postOrder/case/index.d.ts +63 -63
- package/lib/api/restful/postOrder/case/index.js +94 -94
- package/lib/api/restful/postOrder/index.d.ts +11 -11
- package/lib/api/restful/postOrder/index.js +14 -14
- package/lib/api/restful/postOrder/inquiry/index.d.ts +82 -82
- package/lib/api/restful/postOrder/inquiry/index.js +130 -130
- package/lib/api/restful/postOrder/return/index.d.ts +231 -231
- package/lib/api/restful/postOrder/return/index.js +360 -360
- package/lib/api/restful/sell/account/index.d.ts +299 -298
- package/lib/api/restful/sell/account/index.js +466 -466
- package/lib/api/restful/sell/analytics/index.d.ts +42 -41
- package/lib/api/restful/sell/analytics/index.js +60 -60
- package/lib/api/restful/sell/compliance/index.d.ts +38 -37
- package/lib/api/restful/sell/compliance/index.js +56 -56
- package/lib/api/restful/sell/feed/index.d.ts +172 -171
- package/lib/api/restful/sell/feed/index.js +283 -283
- package/lib/api/restful/sell/finances/index.d.ts +79 -78
- package/lib/api/restful/sell/finances/index.js +108 -108
- package/lib/api/restful/sell/fulfillment/index.d.ts +138 -137
- package/lib/api/restful/sell/fulfillment/index.js +198 -198
- package/lib/api/restful/sell/index.d.ts +29 -29
- package/lib/api/restful/sell/index.js +32 -32
- package/lib/api/restful/sell/inventory/index.d.ts +249 -248
- package/lib/api/restful/sell/inventory/index.js +345 -345
- package/lib/api/restful/sell/listing/index.d.ts +15 -14
- package/lib/api/restful/sell/listing/index.js +24 -24
- package/lib/api/restful/sell/logistics/index.d.ts +45 -44
- package/lib/api/restful/sell/logistics/index.js +65 -65
- package/lib/api/restful/sell/marketing/index.d.ts +627 -626
- package/lib/api/restful/sell/marketing/index.js +868 -868
- package/lib/api/restful/sell/metadata/index.d.ts +78 -77
- package/lib/api/restful/sell/metadata/index.js +130 -130
- package/lib/api/restful/sell/negotiation/index.d.ts +25 -24
- package/lib/api/restful/sell/negotiation/index.js +38 -38
- package/lib/api/restful/sell/recommendation/index.d.ts +27 -26
- package/lib/api/restful/sell/recommendation/index.js +38 -38
- package/lib/api/traditional/XMLRequest.d.ts +109 -109
- package/lib/api/traditional/XMLRequest.js +182 -182
- package/lib/api/traditional/clientAlerts/index.d.ts +9 -9
- package/lib/api/traditional/clientAlerts/index.js +14 -14
- package/lib/api/traditional/clientAlerts/types.d.ts +31 -31
- package/lib/api/traditional/clientAlerts/types.js +34 -35
- package/lib/api/traditional/fields.d.ts +1948 -1948
- package/lib/api/traditional/fields.js +1948 -1948
- package/lib/api/traditional/finding/index.d.ts +12 -12
- package/lib/api/traditional/finding/index.js +15 -15
- package/lib/api/traditional/index.d.ts +17 -17
- package/lib/api/traditional/index.js +220 -220
- package/lib/api/traditional/merchandising/index.d.ts +7 -7
- package/lib/api/traditional/merchandising/index.js +10 -10
- package/lib/api/traditional/shopping/index.d.ts +11 -11
- package/lib/api/traditional/shopping/index.js +15 -15
- package/lib/api/traditional/trading/index.d.ts +142 -142
- package/lib/api/traditional/trading/index.js +145 -145
- package/lib/auth/authNAuth.d.ts +49 -49
- package/lib/auth/authNAuth.js +122 -122
- package/lib/auth/index.d.ts +17 -17
- package/lib/auth/index.js +31 -31
- package/lib/auth/oAuth2.d.ts +95 -95
- package/lib/auth/oAuth2.js +265 -265
- package/lib/eBayApi.d.ts +59 -59
- package/lib/eBayApi.js +141 -141
- package/lib/ebay-api.min.js +1 -1
- package/lib/enums/apiEnums.d.ts +49 -49
- package/lib/enums/apiEnums.js +54 -54
- package/lib/enums/index.d.ts +2 -2
- package/lib/enums/index.js +18 -18
- package/lib/enums/restfulEnums.d.ts +976 -970
- package/lib/enums/restfulEnums.js +1021 -1016
- package/lib/errors/index.d.ts +66 -66
- package/lib/errors/index.js +213 -212
- package/lib/index.d.ts +2 -2
- package/lib/index.js +6 -6
- package/lib/nanoevents.d.ts +6 -6
- package/lib/nanoevents.js +24 -24
- package/lib/request.d.ts +26 -26
- package/lib/request.js +50 -50
- package/lib/types/apiTypes.d.ts +40 -40
- package/lib/types/apiTypes.js +2 -2
- package/lib/types/index.d.ts +3 -3
- package/lib/types/index.js +19 -19
- package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +1531 -0
- package/lib/types/restful/specs/buy_browse_v1_oas3.js +6 -0
- package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +434 -0
- package/lib/types/restful/specs/buy_deal_v1_oas3.js +6 -0
- package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +561 -0
- package/lib/types/restful/specs/buy_feed_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +288 -0
- package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +304 -0
- package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +173 -0
- package/lib/types/restful/specs/buy_offer_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +1701 -0
- package/lib/types/restful/specs/buy_order_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/cancellation_oas3.d.ts +112 -0
- package/lib/types/restful/specs/cancellation_oas3.js +6 -0
- package/lib/types/restful/specs/case_oas3.d.ts +124 -0
- package/lib/types/restful/specs/case_oas3.js +6 -0
- package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +758 -0
- package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +224 -0
- package/lib/types/restful/specs/commerce_charity_v1_oas3.js +6 -0
- package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +152 -0
- package/lib/types/restful/specs/commerce_identity_v1_oas3.js +6 -0
- package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +677 -0
- package/lib/types/restful/specs/commerce_notification_v1_oas3.js +6 -0
- package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +530 -0
- package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.js +6 -0
- package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +100 -0
- package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +158 -0
- package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +162 -0
- package/lib/types/restful/specs/developer_key_management_v1_oas3.js +6 -0
- package/lib/types/restful/specs/inquiry_oas3.d.ts +180 -0
- package/lib/types/restful/specs/inquiry_oas3.js +6 -0
- package/lib/types/restful/specs/return_oas3.d.ts +528 -0
- package/lib/types/restful/specs/return_oas3.js +6 -0
- package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +2061 -0
- package/lib/types/restful/specs/sell_account_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +340 -0
- package/lib/types/restful/specs/sell_analytics_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +253 -0
- package/lib/types/restful/specs/sell_compliance_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +1191 -0
- package/lib/types/restful/specs/sell_feed_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +572 -0
- package/lib/types/restful/specs/sell_finances_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +1386 -0
- package/lib/types/restful/specs/sell_fulfillment_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +2175 -0
- package/lib/types/restful/specs/sell_inventory_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +150 -0
- package/lib/types/restful/specs/sell_listing_v1_beta_oas3.js +6 -0
- package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +451 -0
- package/lib/types/restful/specs/sell_logistics_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +3728 -0
- package/lib/types/restful/specs/sell_marketing_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +429 -0
- package/lib/types/restful/specs/sell_metadata_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +225 -0
- package/lib/types/restful/specs/sell_negotiation_v1_oas3.js +6 -0
- package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +148 -0
- package/lib/types/restful/specs/sell_recommendation_v1_oas3.js +6 -0
- package/lib/types/restfulTypes.d.ts +439 -1179
- package/lib/types/restfulTypes.js +2 -2
- package/lib/types/traditonalTypes.d.ts +35 -35
- package/lib/types/traditonalTypes.js +2 -2
- package/package.json +6 -4
|
@@ -0,0 +1,677 @@
|
|
|
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
|
+
"/public_key/{public_key_id}": {
|
|
7
|
+
/** @description This method allows users to retrieve a public key using a specified key ID. The public key that is returned in the response payload is used to process and validate eBay notifications.<br /><br />The public key ID, which is a required request parameter for this method, is retrieved from the Base64-encoded <b>X-EBAY-SIGNATURE</b> header that is included in the eBay notification.<br /><br /><span class="tablenote"><b>Note:</b> For more details about how to process eBay push notifications and validate notification message payloads, see the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a>.</span> */
|
|
8
|
+
get: operations["getPublicKey"];
|
|
9
|
+
};
|
|
10
|
+
"/topic/{topic_id}": {
|
|
11
|
+
/** @description This method allows applications to retrieve details for the specified topic. This information includes supported schema versions, formats, and other metadata for the topic.<br /><br />Applications can subscribe to any of the topics for a supported schema version and format, limited by the authorization scopes required to subscribe to the topic.<br /><br />A topic specifies the type of information to be received and the data types associated with an event. An event occurs in the eBay system, such as when a user requests deletion or revokes access for an application. An event is an instance of an event type (topic).<br /><br />Specify the topic to retrieve using the <b>topic_id</b> URI parameter.<br /><br /><span class="tablenote"><b>Note:</b> Use the <a href="/api-docs/commerce/notification/resources/topic/methods/getTopics">getTopics</a> method to find a topic if you do not know the topic ID.</span> */
|
|
12
|
+
get: operations["getTopic"];
|
|
13
|
+
};
|
|
14
|
+
"/topic": {
|
|
15
|
+
/** @description This method returns a paginated collection of all supported topics, along with the details for the topics. This information includes supported schema versions, formats, and other metadata for the topics.<br /><br />Applications can subscribe to any of the topics for a supported schema version and format, limited by the authorization scopes required to subscribe to the topic.<br /><br />A topic specifies the type of information to be received and the data types associated with an event. An event occurs in the eBay system, such as when a user requests deletion or revokes access for an application. An event is an instance of an event type (topic). */
|
|
16
|
+
get: operations["getTopics"];
|
|
17
|
+
};
|
|
18
|
+
"/subscription": {
|
|
19
|
+
/** @description This method allows applications to retrieve a list of all subscriptions. The list returned is a paginated collection of subscription resources.<br /><br />Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business. */
|
|
20
|
+
get: operations["getSubscriptions"];
|
|
21
|
+
/** @description This method allows applications to create a subscription for a topic and supported schema version. Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business.<br/><br/>Each application and topic-schema pairing to a subscription should have a 1:1 cardinality.<br/><br/>You can create the subscription in disabled mode, test it (see the <b>test</b> method), and when everything is ready, you can enable the subscription (see the <b>enableSubscription</b> method).<br /><br /><span class="tablenote"><b>Note:</b> If an application is not authorized to subscribe to a topic, for example, if your authorization does not include the list of scopes required for the topic, an error code of 195011 is returned.</span> */
|
|
22
|
+
post: operations["createSubscription"];
|
|
23
|
+
};
|
|
24
|
+
"/subscription/{subscription_id}": {
|
|
25
|
+
/** @description This method allows applications to retrieve subscription details for the specified subscription.<br /><br />Specify the subscription to retrieve using the <strong>subscription_id</strong>. Use the <strong>getSubscriptions</strong> method to browse all subscriptions if you do not know the <strong>subscription_id</strong>.<br /><br />Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business. */
|
|
26
|
+
get: operations["getSubscription"];
|
|
27
|
+
/** @description This method allows applications to update a subscription. Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business.<br /><br /><span class="tablenote"><b>Note:</b> This call returns an error if an application is not authorized to subscribe to a topic.</span><br/><br/>You can pause and restart a subscription. See the <b>disableSubscription</b> and <b>enableSubscription</b> methods. */
|
|
28
|
+
put: operations["updateSubscription"];
|
|
29
|
+
/** @description This method allows applications to delete a subscription. Subscriptions can be deleted regardless of status. */
|
|
30
|
+
delete: operations["deleteSubscription"];
|
|
31
|
+
};
|
|
32
|
+
"/subscription/{subscription_id}/enable": {
|
|
33
|
+
/** @description This method allows applications to enable a disabled subscription. To pause (or disable) an enabled subscription, call <strong>disableSubscription</strong>. */
|
|
34
|
+
post: operations["enableSubscription"];
|
|
35
|
+
};
|
|
36
|
+
"/subscription/{subscription_id}/disable": {
|
|
37
|
+
/** @description This method disables a subscription, which prevents the subscription from providing notifications. To restart a subscription, call <strong>enableSubscription</strong>. */
|
|
38
|
+
post: operations["disableSubscription"];
|
|
39
|
+
};
|
|
40
|
+
"/subscription/{subscription_id}/test": {
|
|
41
|
+
/** @description This method triggers a mocked test payload that includes a notification ID, publish date, and so on. Use this method to test your subscription end-to-end.<br /><br />You can create the subscription in disabled mode, test it using this method, and when everything is ready, you can enable the subscription (see the <strong>enableSubscription</strong> method).<br /><br /><span class="tablenote"><b>Note:</b> Use the <strong>notificationId</strong> to tell the difference between a test payload and a real payload.</span> */
|
|
42
|
+
post: operations["test"];
|
|
43
|
+
};
|
|
44
|
+
"/destination": {
|
|
45
|
+
/** @description This method allows applications to retrieve a paginated collection of destination resources and related details. The details include the destination names, statuses, and configurations, including the endpoints and verification tokens. */
|
|
46
|
+
get: operations["getDestinations"];
|
|
47
|
+
/** @description This method allows applications to create a destination. A destination is an endpoint that receives HTTP push notifications.<br /><br />A single destination for all topics is valid, as is individual destinations for each topic.<br /><br />To update a destination, use the <strong>updateDestination</strong> call.<br /><br />The destination created will need to be referenced while creating or updating a subscription to a topic.<br/><br/><span class="tablenote"><b>Note:</b> The destination should be created and ready to respond with the expected <b>challengeResponse</b> for the endpoint to be registered successfully. Refer to the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a> for more information.</span> */
|
|
48
|
+
post: operations["createDestination"];
|
|
49
|
+
};
|
|
50
|
+
"/destination/{destination_id}": {
|
|
51
|
+
/** @description This method allows applications to fetch the details for a destination. The details include the destination name, status, and configuration, including the endpoint and verification token. */
|
|
52
|
+
get: operations["getDestination"];
|
|
53
|
+
/** @description This method allows applications to update a destination.<br/><br/><span class="tablenote"><b>Note:</b> The destination should be created and ready to respond with the expected <b>challengeResponse</b> for the endpoint to be registered successfully. Refer to the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a> for more information.</span> */
|
|
54
|
+
put: operations["updateDestination"];
|
|
55
|
+
/** @description This method provides applications a way to delete a destination.<br /><br />The same destination ID can be used by many destinations.<br /><br />Trying to delete an active destination results in an error. You can disable a subscription, and when the destination is no longer in use, you can delete it. */
|
|
56
|
+
delete: operations["deleteDestination"];
|
|
57
|
+
};
|
|
58
|
+
"/config": {
|
|
59
|
+
/** @description This method allows applications to retrieve a previously created configuration. */
|
|
60
|
+
get: operations["getConfig"];
|
|
61
|
+
/** @description This method allows applications to create a new configuration or update an existing configuration. This app-level configuration allows developers to set up alerts. */
|
|
62
|
+
put: operations["updateConfig"];
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export type webhooks = Record<string, never>;
|
|
66
|
+
export interface components {
|
|
67
|
+
schemas: {
|
|
68
|
+
/** @description The type that defines the fields for the <b>alertEmail</b> field. */
|
|
69
|
+
Config: {
|
|
70
|
+
/** @description The alert email address for this application. */
|
|
71
|
+
alertEmail?: string;
|
|
72
|
+
};
|
|
73
|
+
/** @description This type contains information about a subscription request. */
|
|
74
|
+
CreateSubscriptionRequest: {
|
|
75
|
+
/** @description The unique identifier for the topic associated with this subscription. */
|
|
76
|
+
topicId?: string;
|
|
77
|
+
/** @description The status of this subscription. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:SubscriptionStatusEnum'>eBay API documentation</a> */
|
|
78
|
+
status?: string;
|
|
79
|
+
/** @description The payload associated with this subscription. */
|
|
80
|
+
payload?: components["schemas"]["SubscriptionPayloadDetail"];
|
|
81
|
+
/** @description The unique identifier for the destination associated with this subscription. */
|
|
82
|
+
destinationId?: string;
|
|
83
|
+
};
|
|
84
|
+
/** @description A type that contains information about the delivery configuration. */
|
|
85
|
+
DeliveryConfig: {
|
|
86
|
+
/** @description The endpoint for this destination. */
|
|
87
|
+
endpoint?: string;
|
|
88
|
+
/** @description The verification token associated with this endpoint. */
|
|
89
|
+
verificationToken?: string;
|
|
90
|
+
};
|
|
91
|
+
/** @description A type that contains information about the destination. */
|
|
92
|
+
Destination: {
|
|
93
|
+
/** @description The unique identifier for the destination. */
|
|
94
|
+
destinationId?: string;
|
|
95
|
+
/** @description The name associated with this destination. */
|
|
96
|
+
name?: string;
|
|
97
|
+
/** @description The status for this destination.<br /><br /><span class="tablenote"><b>Note:</b> The <b>MARKED_DOWN</b> value is set by eBay systems and cannot be used in a create or update call by applications.</span><br /><br /><b>Valid values:</b><ul><li><code>ENABLED</code></li><li><code>DISABLED</code></li><li><code>MARKED_DOWN</code></li></ul> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:DestinationStatusEnum'>eBay API documentation</a> */
|
|
98
|
+
status?: string;
|
|
99
|
+
/** @description The configuration associated with this destination. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/desination'>eBay API documentation</a> */
|
|
100
|
+
deliveryConfig?: string;
|
|
101
|
+
};
|
|
102
|
+
/** @description A type that contains information about the destination request. */
|
|
103
|
+
DestinationRequest: {
|
|
104
|
+
/** @description The name associated with this destination. */
|
|
105
|
+
name?: string;
|
|
106
|
+
/** @description The status for this destination.<br /><br /><span class="tablenote"><b>Note:</b> The <b>MARKED_DOWN</b> value is set by eBay systems and cannot be used in a create or update call by applications.</span><br /><br /><b>Valid values:</b><ul><li><code>ENABLED</code></li><li><code>DISABLED</code></li><li><code>MARKED_DOWN</code></li></ul> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:DestinationStatusEnum'>eBay API documentation</a> */
|
|
107
|
+
status?: string;
|
|
108
|
+
/** @description The configuration associated with this destination. */
|
|
109
|
+
deliveryConfig?: components["schemas"]["DeliveryConfig"];
|
|
110
|
+
};
|
|
111
|
+
/** @description A type that contains information about the destination search response. */
|
|
112
|
+
DestinationSearchResponse: {
|
|
113
|
+
/**
|
|
114
|
+
* Format: int32
|
|
115
|
+
* @description The total number of matches for the search criteria.
|
|
116
|
+
*/
|
|
117
|
+
total?: number;
|
|
118
|
+
/** @description The path to the call URI that produced the current page of results. */
|
|
119
|
+
href?: string;
|
|
120
|
+
/** @description The URL to access the next set of results. This field includes a <strong>continuation_token</strong>. No <b>prev</b> field is returned, but this value is persistent during the session so that you can use it to return to the next page.<br><br>This field is not returned if fewer records than specified by the <strong>limit</strong> field are returned. */
|
|
121
|
+
next?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Format: int32
|
|
124
|
+
* @description The number of records to show in the current response.<br /><br /><b>Default:</b> 20
|
|
125
|
+
*/
|
|
126
|
+
limit?: number;
|
|
127
|
+
/** @description An array that contains the destination details. */
|
|
128
|
+
destinations?: (components["schemas"]["Destination"])[];
|
|
129
|
+
};
|
|
130
|
+
/** @description This type defines the fields that can be returned in an error. */
|
|
131
|
+
Error: {
|
|
132
|
+
/** @description Identifies the type of erro. */
|
|
133
|
+
category?: string;
|
|
134
|
+
/** @description Name for the primary system where the error occurred. This is relevant for application errors. */
|
|
135
|
+
domain?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Format: int32
|
|
138
|
+
* @description A unique number to identify the error.
|
|
139
|
+
*/
|
|
140
|
+
errorId?: number;
|
|
141
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
142
|
+
inputRefIds?: (string)[];
|
|
143
|
+
/** @description A more detailed explanation of the error. */
|
|
144
|
+
longMessage?: string;
|
|
145
|
+
/** @description Information on how to correct the problem, in the end user's terms and language where applicable. */
|
|
146
|
+
message?: string;
|
|
147
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
148
|
+
outputRefIds?: (string)[];
|
|
149
|
+
/** @description An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned. */
|
|
150
|
+
parameters?: (components["schemas"]["ErrorParameter"])[];
|
|
151
|
+
/** @description Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc. */
|
|
152
|
+
subdomain?: string;
|
|
153
|
+
};
|
|
154
|
+
ErrorParameter: {
|
|
155
|
+
/** @description The object of the error. */
|
|
156
|
+
name?: string;
|
|
157
|
+
/** @description The value of the object. */
|
|
158
|
+
value?: string;
|
|
159
|
+
};
|
|
160
|
+
/** @description A type that describes the details about a topic's payload. */
|
|
161
|
+
PayloadDetail: {
|
|
162
|
+
/** @description The supported schema version. */
|
|
163
|
+
schemaVersion?: string;
|
|
164
|
+
/** @description The supported format. Presently, <code>JSON</code> is the only supported format. */
|
|
165
|
+
format?: (string)[];
|
|
166
|
+
/** @description The supported delivery protocols. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:ProtocolEnum'>eBay API documentation</a> */
|
|
167
|
+
deliveryProtocol?: string;
|
|
168
|
+
/** @description A deprecation indicator. */
|
|
169
|
+
deprecated?: boolean;
|
|
170
|
+
};
|
|
171
|
+
/** @description A type that defines the public key for a unique key ID. */
|
|
172
|
+
PublicKey: {
|
|
173
|
+
/** @description The algorithm associated with the public key that is returned, such as Elliptic Curve Digital Signature Algorithm (ECDSA). */
|
|
174
|
+
algorithm?: string;
|
|
175
|
+
/** @description The digest associated with the public key that is returned, such as Secure Hash Algorithm 1 (SHA1). */
|
|
176
|
+
digest?: string;
|
|
177
|
+
/** @description The public key that is returned for the specified key ID.<br /><br />This value is used to validate the eBay push notification message payload. */
|
|
178
|
+
key?: string;
|
|
179
|
+
};
|
|
180
|
+
/** @description A type that describes the subscription. */
|
|
181
|
+
Subscription: {
|
|
182
|
+
/** @description The unique identifier for the subscription. */
|
|
183
|
+
subscriptionId?: string;
|
|
184
|
+
/** @description The unique identifier for the topic associated with this subscription. */
|
|
185
|
+
topicId?: string;
|
|
186
|
+
/** @description The status of this subscription. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:SubscriptionStatusEnum'>eBay API documentation</a> */
|
|
187
|
+
status?: string;
|
|
188
|
+
/** @description The creation date for this subscription. */
|
|
189
|
+
creationDate?: string;
|
|
190
|
+
/** @description The payload associated with this subscription. */
|
|
191
|
+
payload?: components["schemas"]["SubscriptionPayloadDetail"];
|
|
192
|
+
/** @description The unique identifier for the destination associated with this subscription. */
|
|
193
|
+
destinationId?: string;
|
|
194
|
+
};
|
|
195
|
+
/** @description A type that describes the details of the subscription payload. */
|
|
196
|
+
SubscriptionPayloadDetail: {
|
|
197
|
+
/** @description The supported format. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:FormatTypeEnum'>eBay API documentation</a> */
|
|
198
|
+
format?: string;
|
|
199
|
+
/** @description The supported schema version. */
|
|
200
|
+
schemaVersion?: string;
|
|
201
|
+
/** @description The supported protocol. For exmaple: <code>HTTPS</code> For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:ProtocolEnum'>eBay API documentation</a> */
|
|
202
|
+
deliveryProtocol?: string;
|
|
203
|
+
};
|
|
204
|
+
/** @description A type that describes the details of the subscription search response. */
|
|
205
|
+
SubscriptionSearchResponse: {
|
|
206
|
+
/**
|
|
207
|
+
* Format: int32
|
|
208
|
+
* @description The total number of matches for the search criteria.
|
|
209
|
+
*/
|
|
210
|
+
total?: number;
|
|
211
|
+
/** @description The path to the call URI that produced the current page of results. */
|
|
212
|
+
href?: string;
|
|
213
|
+
/** @description The URL to access the next set of results. This field includes a <strong>continuation_token</strong>. No <b>prev</b> field is returned, but this value is persistent during the session so that you can use it to return to the next page.<br><br>This field is not returned if fewer records than specified by the <strong>limit</strong> field are returned. */
|
|
214
|
+
next?: string;
|
|
215
|
+
/**
|
|
216
|
+
* Format: int32
|
|
217
|
+
* @description The value of the limit parameter submitted in the request, which is the maximum number of items to return per page, from the result set. A result set is the complete set of results returned by the method.<br /><br /><span class="tablenote"><b>Note:</b> Though this parameter is not required to be submitted in the request, the parameter defaults to <code>20</code> if omitted.</span><br /><br /><b>Default:</b> 20
|
|
218
|
+
*/
|
|
219
|
+
limit?: number;
|
|
220
|
+
/** @description The subscriptions that match the search criteria. */
|
|
221
|
+
subscriptions?: (components["schemas"]["Subscription"])[];
|
|
222
|
+
};
|
|
223
|
+
/** @description A type that describes the details of the topic. */
|
|
224
|
+
Topic: {
|
|
225
|
+
/** @description The unique identifier for the topic. */
|
|
226
|
+
topicId?: string;
|
|
227
|
+
/** @description The description of the topic. */
|
|
228
|
+
description?: string;
|
|
229
|
+
/** @description The authorization scopes required to subscribe to this topic. */
|
|
230
|
+
authorizationScopes?: (string)[];
|
|
231
|
+
/** @description The status of this topic. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:StatusEnum'>eBay API documentation</a> */
|
|
232
|
+
status?: string;
|
|
233
|
+
/** @description The business context associated with this topic. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:ContextEnum'>eBay API documentation</a> */
|
|
234
|
+
context?: string;
|
|
235
|
+
/** @description The scope of this topic. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:ScopeEnum'>eBay API documentation</a> */
|
|
236
|
+
scope?: string;
|
|
237
|
+
/** @description The supported payloads for this topic. */
|
|
238
|
+
supportedPayloads?: (components["schemas"]["PayloadDetail"])[];
|
|
239
|
+
};
|
|
240
|
+
/** @description A type that describes the details of the topic search response. */
|
|
241
|
+
TopicSearchResponse: {
|
|
242
|
+
/**
|
|
243
|
+
* Format: int32
|
|
244
|
+
* @description The total number of matches for the search criteria.
|
|
245
|
+
*/
|
|
246
|
+
total?: number;
|
|
247
|
+
/** @description The path to the call URI that produced the current page of results. */
|
|
248
|
+
href?: string;
|
|
249
|
+
/** @description The URL to access the next set of results. This field includes a <strong>continuation_token</strong>. No <b>prev</b> field is returned, but this value is persistent during the session so that you can use it to return to the next page.<br><br>This field is not returned if fewer records than specified by the <strong>limit</strong> field are returned. */
|
|
250
|
+
next?: string;
|
|
251
|
+
/**
|
|
252
|
+
* Format: int32
|
|
253
|
+
* @description The value of the limit parameter submitted in the request, which is the maximum number of items to return per page, from the result set. A result set is the complete set of results returned by the method.<br /><br /><span class="tablenote"><b>Note:</b> Though this parameter is not required to be submitted in the request, the parameter defaults to <code>20</code> if omitted.</span>
|
|
254
|
+
*/
|
|
255
|
+
limit?: number;
|
|
256
|
+
/** @description An array of topics that match the specified criteria. */
|
|
257
|
+
topics?: (components["schemas"]["Topic"])[];
|
|
258
|
+
};
|
|
259
|
+
/** @description A type that describes the details of the update subscription request. */
|
|
260
|
+
UpdateSubscriptionRequest: {
|
|
261
|
+
/** @description The status of this subscription. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/notification/types/api:SubscriptionStatusEnum'>eBay API documentation</a> */
|
|
262
|
+
status?: string;
|
|
263
|
+
/** @description The payload associated with this subscription. */
|
|
264
|
+
payload?: components["schemas"]["SubscriptionPayloadDetail"];
|
|
265
|
+
/** @description The unique identifier for the destination associated with this subscription. */
|
|
266
|
+
destinationId?: string;
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
responses: never;
|
|
270
|
+
parameters: never;
|
|
271
|
+
requestBodies: never;
|
|
272
|
+
headers: never;
|
|
273
|
+
pathItems: never;
|
|
274
|
+
}
|
|
275
|
+
export type external = Record<string, never>;
|
|
276
|
+
export interface operations {
|
|
277
|
+
/** @description This method allows users to retrieve a public key using a specified key ID. The public key that is returned in the response payload is used to process and validate eBay notifications.<br /><br />The public key ID, which is a required request parameter for this method, is retrieved from the Base64-encoded <b>X-EBAY-SIGNATURE</b> header that is included in the eBay notification.<br /><br /><span class="tablenote"><b>Note:</b> For more details about how to process eBay push notifications and validate notification message payloads, see the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a>.</span> */
|
|
278
|
+
getPublicKey: {
|
|
279
|
+
parameters: {
|
|
280
|
+
path: {
|
|
281
|
+
/** @description The unique key ID that is used to retrieve the public key.<br /><br /><span class="tablenote"><b>Note: </b>This is retrieved from the <b>X-EBAY-SIGNATURE</b> header that is included with the push notification.</span> */
|
|
282
|
+
public_key_id: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
responses: {
|
|
286
|
+
/** @description OK */
|
|
287
|
+
200: {
|
|
288
|
+
content: {
|
|
289
|
+
"application/json": components["schemas"]["PublicKey"];
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
/** @description Bad Request */
|
|
293
|
+
400: never;
|
|
294
|
+
/** @description Not Found */
|
|
295
|
+
404: never;
|
|
296
|
+
/** @description Internal Server Error */
|
|
297
|
+
500: never;
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
/** @description This method allows applications to retrieve details for the specified topic. This information includes supported schema versions, formats, and other metadata for the topic.<br /><br />Applications can subscribe to any of the topics for a supported schema version and format, limited by the authorization scopes required to subscribe to the topic.<br /><br />A topic specifies the type of information to be received and the data types associated with an event. An event occurs in the eBay system, such as when a user requests deletion or revokes access for an application. An event is an instance of an event type (topic).<br /><br />Specify the topic to retrieve using the <b>topic_id</b> URI parameter.<br /><br /><span class="tablenote"><b>Note:</b> Use the <a href="/api-docs/commerce/notification/resources/topic/methods/getTopics">getTopics</a> method to find a topic if you do not know the topic ID.</span> */
|
|
301
|
+
getTopic: {
|
|
302
|
+
parameters: {
|
|
303
|
+
path: {
|
|
304
|
+
/** @description The ID of the topic for which to retrieve the details. */
|
|
305
|
+
topic_id: string;
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
responses: {
|
|
309
|
+
/** @description OK */
|
|
310
|
+
200: {
|
|
311
|
+
content: {
|
|
312
|
+
"application/json": components["schemas"]["Topic"];
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
/** @description Bad Request */
|
|
316
|
+
400: never;
|
|
317
|
+
/** @description Not Found */
|
|
318
|
+
404: never;
|
|
319
|
+
/** @description Internal Server Error */
|
|
320
|
+
500: never;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
/** @description This method returns a paginated collection of all supported topics, along with the details for the topics. This information includes supported schema versions, formats, and other metadata for the topics.<br /><br />Applications can subscribe to any of the topics for a supported schema version and format, limited by the authorization scopes required to subscribe to the topic.<br /><br />A topic specifies the type of information to be received and the data types associated with an event. An event occurs in the eBay system, such as when a user requests deletion or revokes access for an application. An event is an instance of an event type (topic). */
|
|
324
|
+
getTopics: {
|
|
325
|
+
parameters: {
|
|
326
|
+
query?: {
|
|
327
|
+
/** @description The maximum number of items to return per page from the result set. A result set is the complete set of results returned by the method. Range is from 10-100. <br /><br />If this parameter is omitted, the default value is used.<br/><br/><b> Default:</b> 20<br /><br /><b>Maximum:</b> 100 items per page */
|
|
328
|
+
limit?: string;
|
|
329
|
+
/** @description The token used to access the next set of results. */
|
|
330
|
+
continuation_token?: string;
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
responses: {
|
|
334
|
+
/** @description OK */
|
|
335
|
+
200: {
|
|
336
|
+
content: {
|
|
337
|
+
"application/json": components["schemas"]["TopicSearchResponse"];
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
/** @description Bad Request */
|
|
341
|
+
400: never;
|
|
342
|
+
/** @description Internal Server Error */
|
|
343
|
+
500: never;
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
/** @description This method allows applications to retrieve a list of all subscriptions. The list returned is a paginated collection of subscription resources.<br /><br />Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business. */
|
|
347
|
+
getSubscriptions: {
|
|
348
|
+
parameters: {
|
|
349
|
+
query?: {
|
|
350
|
+
/** @description The number of items, from the result set, returned in a single page. Range is from 10-100. If this parameter is omitted, the default value is used.<br/><br/><b>Default:</b> 20<br/><br/><b>Maximum:</b> 100 items per page */
|
|
351
|
+
limit?: string;
|
|
352
|
+
/** @description The continuation token for the next set of results. */
|
|
353
|
+
continuation_token?: string;
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
responses: {
|
|
357
|
+
/** @description OK */
|
|
358
|
+
200: {
|
|
359
|
+
content: {
|
|
360
|
+
"application/json": components["schemas"]["SubscriptionSearchResponse"];
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
/** @description Bad Request */
|
|
364
|
+
400: never;
|
|
365
|
+
/** @description Internal Server Error */
|
|
366
|
+
500: never;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
/** @description This method allows applications to create a subscription for a topic and supported schema version. Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business.<br/><br/>Each application and topic-schema pairing to a subscription should have a 1:1 cardinality.<br/><br/>You can create the subscription in disabled mode, test it (see the <b>test</b> method), and when everything is ready, you can enable the subscription (see the <b>enableSubscription</b> method).<br /><br /><span class="tablenote"><b>Note:</b> If an application is not authorized to subscribe to a topic, for example, if your authorization does not include the list of scopes required for the topic, an error code of 195011 is returned.</span> */
|
|
370
|
+
createSubscription: {
|
|
371
|
+
/** @description The create subscription request. */
|
|
372
|
+
requestBody?: {
|
|
373
|
+
content: {
|
|
374
|
+
"application/json": components["schemas"]["CreateSubscriptionRequest"];
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
responses: {
|
|
378
|
+
/** @description Created */
|
|
379
|
+
201: {
|
|
380
|
+
headers: {
|
|
381
|
+
Location?: string;
|
|
382
|
+
};
|
|
383
|
+
content: {
|
|
384
|
+
"application/json": Record<string, never>;
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
/** @description Bad Request */
|
|
388
|
+
400: never;
|
|
389
|
+
/** @description Forbidden */
|
|
390
|
+
403: never;
|
|
391
|
+
/** @description Conflict */
|
|
392
|
+
409: never;
|
|
393
|
+
/** @description Internal Server Error */
|
|
394
|
+
500: never;
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
/** @description This method allows applications to retrieve subscription details for the specified subscription.<br /><br />Specify the subscription to retrieve using the <strong>subscription_id</strong>. Use the <strong>getSubscriptions</strong> method to browse all subscriptions if you do not know the <strong>subscription_id</strong>.<br /><br />Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business. */
|
|
398
|
+
getSubscription: {
|
|
399
|
+
parameters: {
|
|
400
|
+
path: {
|
|
401
|
+
/** @description The unique identifier for the subscription. */
|
|
402
|
+
subscription_id: string;
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
responses: {
|
|
406
|
+
/** @description OK */
|
|
407
|
+
200: {
|
|
408
|
+
content: {
|
|
409
|
+
"application/json": components["schemas"]["Subscription"];
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
/** @description Bad Request */
|
|
413
|
+
400: never;
|
|
414
|
+
/** @description Not Found */
|
|
415
|
+
404: never;
|
|
416
|
+
/** @description Internal Server Error */
|
|
417
|
+
500: never;
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
/** @description This method allows applications to update a subscription. Subscriptions allow applications to express interest in notifications and keep receiving the information relevant to their business.<br /><br /><span class="tablenote"><b>Note:</b> This call returns an error if an application is not authorized to subscribe to a topic.</span><br/><br/>You can pause and restart a subscription. See the <b>disableSubscription</b> and <b>enableSubscription</b> methods. */
|
|
421
|
+
updateSubscription: {
|
|
422
|
+
parameters: {
|
|
423
|
+
path: {
|
|
424
|
+
/** @description The unique identifier for the subscription. */
|
|
425
|
+
subscription_id: string;
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
/** @description The create subscription request. */
|
|
429
|
+
requestBody?: {
|
|
430
|
+
content: {
|
|
431
|
+
"application/json": components["schemas"]["UpdateSubscriptionRequest"];
|
|
432
|
+
};
|
|
433
|
+
};
|
|
434
|
+
responses: {
|
|
435
|
+
/** @description No Content */
|
|
436
|
+
204: never;
|
|
437
|
+
/** @description Bad Request */
|
|
438
|
+
400: never;
|
|
439
|
+
/** @description Not Found */
|
|
440
|
+
404: never;
|
|
441
|
+
/** @description Conflict */
|
|
442
|
+
409: never;
|
|
443
|
+
/** @description Internal Server Error */
|
|
444
|
+
500: never;
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
/** @description This method allows applications to delete a subscription. Subscriptions can be deleted regardless of status. */
|
|
448
|
+
deleteSubscription: {
|
|
449
|
+
parameters: {
|
|
450
|
+
path: {
|
|
451
|
+
/** @description The unique identifier for the subscription. */
|
|
452
|
+
subscription_id: string;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
responses: {
|
|
456
|
+
/** @description No Content */
|
|
457
|
+
204: never;
|
|
458
|
+
/** @description Bad Request */
|
|
459
|
+
400: never;
|
|
460
|
+
/** @description Not Found */
|
|
461
|
+
404: never;
|
|
462
|
+
/** @description Internal Server Error */
|
|
463
|
+
500: never;
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
/** @description This method allows applications to enable a disabled subscription. To pause (or disable) an enabled subscription, call <strong>disableSubscription</strong>. */
|
|
467
|
+
enableSubscription: {
|
|
468
|
+
parameters: {
|
|
469
|
+
path: {
|
|
470
|
+
/** @description The unique identifier for the subscription. */
|
|
471
|
+
subscription_id: string;
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
responses: {
|
|
475
|
+
/** @description No Content */
|
|
476
|
+
204: never;
|
|
477
|
+
/** @description Bad Request */
|
|
478
|
+
400: never;
|
|
479
|
+
/** @description Not Found */
|
|
480
|
+
404: never;
|
|
481
|
+
/** @description Conflict */
|
|
482
|
+
409: never;
|
|
483
|
+
/** @description Internal Server Error */
|
|
484
|
+
500: never;
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
/** @description This method disables a subscription, which prevents the subscription from providing notifications. To restart a subscription, call <strong>enableSubscription</strong>. */
|
|
488
|
+
disableSubscription: {
|
|
489
|
+
parameters: {
|
|
490
|
+
path: {
|
|
491
|
+
/** @description The unique identifier for the subscription. */
|
|
492
|
+
subscription_id: string;
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
responses: {
|
|
496
|
+
/** @description No Content */
|
|
497
|
+
204: never;
|
|
498
|
+
/** @description Bad Request */
|
|
499
|
+
400: never;
|
|
500
|
+
/** @description Not Found */
|
|
501
|
+
404: never;
|
|
502
|
+
/** @description Internal Server Error */
|
|
503
|
+
500: never;
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
/** @description This method triggers a mocked test payload that includes a notification ID, publish date, and so on. Use this method to test your subscription end-to-end.<br /><br />You can create the subscription in disabled mode, test it using this method, and when everything is ready, you can enable the subscription (see the <strong>enableSubscription</strong> method).<br /><br /><span class="tablenote"><b>Note:</b> Use the <strong>notificationId</strong> to tell the difference between a test payload and a real payload.</span> */
|
|
507
|
+
test: {
|
|
508
|
+
parameters: {
|
|
509
|
+
path: {
|
|
510
|
+
/** @description The unique identifier for the subscription. */
|
|
511
|
+
subscription_id: string;
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
responses: {
|
|
515
|
+
/** @description Accepted */
|
|
516
|
+
202: never;
|
|
517
|
+
/** @description Bad Request */
|
|
518
|
+
400: never;
|
|
519
|
+
/** @description Not Found */
|
|
520
|
+
404: never;
|
|
521
|
+
/** @description Internal Server Error */
|
|
522
|
+
500: never;
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
/** @description This method allows applications to retrieve a paginated collection of destination resources and related details. The details include the destination names, statuses, and configurations, including the endpoints and verification tokens. */
|
|
526
|
+
getDestinations: {
|
|
527
|
+
parameters: {
|
|
528
|
+
query?: {
|
|
529
|
+
/** @description The number of items, from the result set, returned in a single page. Range is from 10-100. If this parameter is omitted, the default value is used.<br/><br/><b>Default:</b> 20<br/><br/><b>Maximum:</b> 100 items per page */
|
|
530
|
+
limit?: string;
|
|
531
|
+
/** @description The continuation token for the next set of results. */
|
|
532
|
+
continuation_token?: string;
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
responses: {
|
|
536
|
+
/** @description OK */
|
|
537
|
+
200: {
|
|
538
|
+
content: {
|
|
539
|
+
"application/json": components["schemas"]["DestinationSearchResponse"];
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
/** @description Bad Request */
|
|
543
|
+
400: never;
|
|
544
|
+
/** @description Internal Server Error */
|
|
545
|
+
500: never;
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
/** @description This method allows applications to create a destination. A destination is an endpoint that receives HTTP push notifications.<br /><br />A single destination for all topics is valid, as is individual destinations for each topic.<br /><br />To update a destination, use the <strong>updateDestination</strong> call.<br /><br />The destination created will need to be referenced while creating or updating a subscription to a topic.<br/><br/><span class="tablenote"><b>Note:</b> The destination should be created and ready to respond with the expected <b>challengeResponse</b> for the endpoint to be registered successfully. Refer to the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a> for more information.</span> */
|
|
549
|
+
createDestination: {
|
|
550
|
+
/** @description The create destination request. */
|
|
551
|
+
requestBody?: {
|
|
552
|
+
content: {
|
|
553
|
+
"application/json": components["schemas"]["DestinationRequest"];
|
|
554
|
+
};
|
|
555
|
+
};
|
|
556
|
+
responses: {
|
|
557
|
+
/** @description Created */
|
|
558
|
+
201: {
|
|
559
|
+
headers: {
|
|
560
|
+
Location?: string;
|
|
561
|
+
};
|
|
562
|
+
content: {
|
|
563
|
+
"application/json": Record<string, never>;
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
/** @description Bad Request */
|
|
567
|
+
400: never;
|
|
568
|
+
/** @description Conflict */
|
|
569
|
+
409: never;
|
|
570
|
+
/** @description Internal Server Error */
|
|
571
|
+
500: never;
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
/** @description This method allows applications to fetch the details for a destination. The details include the destination name, status, and configuration, including the endpoint and verification token. */
|
|
575
|
+
getDestination: {
|
|
576
|
+
parameters: {
|
|
577
|
+
path: {
|
|
578
|
+
/** @description The unique identifier for the destination. */
|
|
579
|
+
destination_id: string;
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
responses: {
|
|
583
|
+
/** @description OK */
|
|
584
|
+
200: {
|
|
585
|
+
content: {
|
|
586
|
+
"application/json": components["schemas"]["Destination"];
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
/** @description Bad Request */
|
|
590
|
+
400: never;
|
|
591
|
+
/** @description Not Found */
|
|
592
|
+
404: never;
|
|
593
|
+
/** @description Internal Server Error */
|
|
594
|
+
500: never;
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
/** @description This method allows applications to update a destination.<br/><br/><span class="tablenote"><b>Note:</b> The destination should be created and ready to respond with the expected <b>challengeResponse</b> for the endpoint to be registered successfully. Refer to the <a href="/api-docs/commerce/notification/overview.html">Notification API overview</a> for more information.</span> */
|
|
598
|
+
updateDestination: {
|
|
599
|
+
parameters: {
|
|
600
|
+
path: {
|
|
601
|
+
/** @description The unique identifier for the destination. */
|
|
602
|
+
destination_id: string;
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
/** @description The create subscription request. */
|
|
606
|
+
requestBody?: {
|
|
607
|
+
content: {
|
|
608
|
+
"application/json": components["schemas"]["DestinationRequest"];
|
|
609
|
+
};
|
|
610
|
+
};
|
|
611
|
+
responses: {
|
|
612
|
+
/** @description No Content */
|
|
613
|
+
204: never;
|
|
614
|
+
/** @description Bad Request */
|
|
615
|
+
400: never;
|
|
616
|
+
/** @description Not Found */
|
|
617
|
+
404: never;
|
|
618
|
+
/** @description Conflict */
|
|
619
|
+
409: never;
|
|
620
|
+
/** @description Internal Server Error */
|
|
621
|
+
500: never;
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
/** @description This method provides applications a way to delete a destination.<br /><br />The same destination ID can be used by many destinations.<br /><br />Trying to delete an active destination results in an error. You can disable a subscription, and when the destination is no longer in use, you can delete it. */
|
|
625
|
+
deleteDestination: {
|
|
626
|
+
parameters: {
|
|
627
|
+
path: {
|
|
628
|
+
/** @description The unique identifier for the destination. */
|
|
629
|
+
destination_id: string;
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
responses: {
|
|
633
|
+
/** @description No Content */
|
|
634
|
+
204: never;
|
|
635
|
+
/** @description Bad Request */
|
|
636
|
+
400: never;
|
|
637
|
+
/** @description Not Found */
|
|
638
|
+
404: never;
|
|
639
|
+
/** @description Conflict */
|
|
640
|
+
409: never;
|
|
641
|
+
/** @description Internal Server Error */
|
|
642
|
+
500: never;
|
|
643
|
+
};
|
|
644
|
+
};
|
|
645
|
+
/** @description This method allows applications to retrieve a previously created configuration. */
|
|
646
|
+
getConfig: {
|
|
647
|
+
responses: {
|
|
648
|
+
/** @description OK */
|
|
649
|
+
200: {
|
|
650
|
+
content: {
|
|
651
|
+
"application/json": components["schemas"]["Config"];
|
|
652
|
+
};
|
|
653
|
+
};
|
|
654
|
+
/** @description Not Found */
|
|
655
|
+
404: never;
|
|
656
|
+
/** @description Internal Server Error */
|
|
657
|
+
500: never;
|
|
658
|
+
};
|
|
659
|
+
};
|
|
660
|
+
/** @description This method allows applications to create a new configuration or update an existing configuration. This app-level configuration allows developers to set up alerts. */
|
|
661
|
+
updateConfig: {
|
|
662
|
+
/** @description The configurations for this application. */
|
|
663
|
+
requestBody?: {
|
|
664
|
+
content: {
|
|
665
|
+
"application/json": components["schemas"]["Config"];
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
responses: {
|
|
669
|
+
/** @description No Content */
|
|
670
|
+
204: never;
|
|
671
|
+
/** @description Bad Request */
|
|
672
|
+
400: never;
|
|
673
|
+
/** @description Internal Server Error */
|
|
674
|
+
500: never;
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
}
|