Skip to content

Commit

Permalink
🐛Source Amazon Seller Partner: delete deprecated streams (airbytehq#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Karpets authored and jatinyadav-cc committed Feb 26, 2024
1 parent f950c49 commit 8e298e1
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 208 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ acceptance_tests:
bypass_reason: "no records"
- name: GET_FBA_SNS_FORECAST_DATA
bypass_reason: "no records"
- name: GET_BRAND_ANALYTICS_ITEM_COMPARISON_REPORT
bypass_reason: "no records"
- name: GET_AFN_INVENTORY_DATA
bypass_reason: "no records"
- name: GET_MERCHANT_CANCELLED_LISTINGS_DATA
Expand All @@ -101,8 +99,6 @@ acceptance_tests:
bypass_reason: "no records"
- name: GET_LEDGER_SUMMARY_VIEW_DATA
bypass_reason: "no records"
- name: GET_BRAND_ANALYTICS_ALTERNATE_PURCHASE_REPORT
bypass_reason: "no records"
- name: GET_BRAND_ANALYTICS_SEARCH_TERMS_REPORT
bypass_reason: "no records"
- name: GET_BRAND_ANALYTICS_REPEAT_PURCHASE_REPORT
Expand Down

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,6 @@
}
}
},
{
"type": "STREAM",
"stream": {
"stream_state": {
"dataEndTime": "2121-07-01"
},
"stream_descriptor": {
"name": "GET_BRAND_ANALYTICS_ALTERNATE_PURCHASE_REPORT"
}
}
},
{
"type": "STREAM",
"stream": {
"stream_state": {
"dataEndTime": "2121-07-01"
},
"stream_descriptor": {
"name": "GET_BRAND_ANALYTICS_ITEM_COMPARISON_REPORT"
}
}
},
{
"type": "STREAM",
"stream": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: e55879a8-0ef8-4557-abcf-ab34c53ec460
dockerImageTag: 3.0.1
dockerImageTag: 3.1.0
dockerRepository: airbyte/source-amazon-seller-partner
documentationUrl: https://docs.airbyte.com/integrations/sources/amazon-seller-partner
githubIssueLabel: source-amazon-seller-partner
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
from source_amazon_seller_partner.auth import AWSAuthenticator
from source_amazon_seller_partner.constants import get_marketplaces
from source_amazon_seller_partner.streams import (
BrandAnalyticsAlternatePurchaseReports,
BrandAnalyticsItemComparisonReports,
BrandAnalyticsMarketBasketReports,
BrandAnalyticsRepeatPurchaseReports,
BrandAnalyticsSearchTermsReports,
Expand Down Expand Up @@ -187,8 +185,6 @@ def streams(self, config: Mapping[str, Any]) -> List[Stream]:
BrandAnalyticsMarketBasketReports,
BrandAnalyticsSearchTermsReports,
BrandAnalyticsRepeatPurchaseReports,
BrandAnalyticsAlternatePurchaseReports,
BrandAnalyticsItemComparisonReports,
SellerAnalyticsSalesAndTrafficReports,
VendorSalesReports,
VendorInventoryReports,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@
"GET_AFN_INVENTORY_DATA",
"GET_AFN_INVENTORY_DATA_BY_COUNTRY",
"GET_AMAZON_FULFILLED_SHIPMENTS_DATA_GENERAL",
"GET_BRAND_ANALYTICS_ALTERNATE_PURCHASE_REPORT",
"GET_BRAND_ANALYTICS_ITEM_COMPARISON_REPORT",
"GET_BRAND_ANALYTICS_MARKET_BASKET_REPORT",
"GET_BRAND_ANALYTICS_REPEAT_PURCHASE_REPORT",
"GET_BRAND_ANALYTICS_SEARCH_TERMS_REPORT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -785,16 +785,6 @@ class BrandAnalyticsRepeatPurchaseReports(IncrementalAnalyticsStream):
result_key = "dataByAsin"


class BrandAnalyticsAlternatePurchaseReports(IncrementalAnalyticsStream):
name = "GET_BRAND_ANALYTICS_ALTERNATE_PURCHASE_REPORT"
result_key = "dataByAsin"


class BrandAnalyticsItemComparisonReports(IncrementalAnalyticsStream):
name = "GET_BRAND_ANALYTICS_ITEM_COMPARISON_REPORT"
result_key = "dataByAsin"


class VendorInventoryReports(IncrementalAnalyticsStream):
"""
Field definitions: https://developer-docs.amazon.com/sp-api/docs/report-type-values#vendor-retail-analytics-reports
Expand Down
3 changes: 1 addition & 2 deletions docs/integrations/sources/amazon-seller-partner.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ The Amazon Seller Partner source connector supports the following [sync modes](h
- [Active Listings Report](https://developer-docs.amazon.com/sp-api/docs/report-type-values-inventory) \(incremental\)
- [All Listings Report](https://developer-docs.amazon.com/sp-api/docs/report-type-values-inventory) \(incremental\)
- [Amazon Search Terms Report](https://developer-docs.amazon.com/sp-api/docs/report-type-values-analytics#brand-analytics-reports) \(only available in OSS, incremental\)
- [Brand Analytics Alternate Purchase Report](https://developer-docs.amazon.com/sp-api/docs/report-type-values-analytics#brand-analytics-reports) \(only available in OSS, incremental\)
- [Brand Analytics Item Comparison Report](https://developer-docs.amazon.com/sp-api/docs/report-type-values-analytics#brand-analytics-reports) \(only available in OSS, incremental\)
- [Browse Tree Report](https://developer-docs.amazon.com/sp-api/docs/report-type-values-browse-tree) \(incremental\)
- [Canceled Listings Report](https://developer-docs.amazon.com/sp-api/docs/report-type-values-inventory) \(incremental\)
- [FBA Amazon Fulfilled Inventory Report](https://developer-docs.amazon.com/sp-api/docs/report-type-values-fba#fba-inventory-reports) \(incremental\)
Expand Down Expand Up @@ -155,6 +153,7 @@ Information about rate limits you may find [here](https://developer-docs.amazon.

| Version | Date | Pull Request | Subject |
|:---------|:-----------|:------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `3.1.0` | 2024-01-17 | [\#34283](https://github.com/airbytehq/airbyte/pull/34283) | Delete deprecated streams |
| `3.0.1` | 2023-12-22 | [\#33741](https://github.com/airbytehq/airbyte/pull/33741) | Improve report streams performance |
| `3.0.0` | 2023-12-12 | [\#32977](https://github.com/airbytehq/airbyte/pull/32977) | Make all streams incremental |
| `2.5.0` | 2023-11-27 | [\#32505](https://github.com/airbytehq/airbyte/pull/32505) | Make report options configurable via UI |
Expand Down

0 comments on commit 8e298e1

Please sign in to comment.