Skip to content

Commit f9b576e

Browse files
bleonardlazebnyi
andauthored
source-amazon-seller-partner: ensure inline schemas, updated cdk, poetry (where possible) (#36630)
Co-authored-by: Serhii Lazebnyi <[email protected]> Co-authored-by: Serhii Lazebnyi <[email protected]>
1 parent f9b3906 commit f9b576e

File tree

55 files changed

+3644
-726
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+3644
-726
lines changed

airbyte-integrations/connectors/source-amazon-seller-partner/metadata.yaml

+15-8
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ data:
1515
connectorSubtype: api
1616
connectorType: source
1717
definitionId: e55879a8-0ef8-4557-abcf-ab34c53ec460
18-
dockerImageTag: 4.2.1
18+
dockerImageTag: 4.2.2
1919
dockerRepository: airbyte/source-amazon-seller-partner
2020
documentationUrl: https://docs.airbyte.com/integrations/sources/amazon-seller-partner
2121
githubIssueLabel: source-amazon-seller-partner
@@ -42,19 +42,26 @@ data:
4242
releases:
4343
breakingChanges:
4444
2.0.0:
45-
message: "Deprecated FBA reports will be removed permanently from Cloud and Brand Analytics Reports will be removed temporarily. Updates on Brand Analytics Reports can be tracked here: [#32353](https://github.com/airbytehq/airbyte/issues/32353)"
45+
message:
46+
"Deprecated FBA reports will be removed permanently from Cloud and
47+
Brand Analytics Reports will be removed temporarily. Updates on Brand Analytics
48+
Reports can be tracked here: [#32353](https://github.com/airbytehq/airbyte/issues/32353)"
4649
upgradeDeadline: "2023-12-11"
4750
3.0.0:
4851
message:
49-
Streams `GET_FLAT_FILE_ALL_ORDERS_DATA_BY_ORDER_DATE_GENERAL` and `GET_FLAT_FILE_ALL_ORDERS_DATA_BY_LAST_UPDATE_GENERAL` now have updated schemas.
50-
Streams `GET_AMAZON_FULFILLED_SHIPMENTS_DATA_GENERAL`, `GET_LEDGER_DETAIL_VIEW_DATA`, `GET_MERCHANTS_LISTINGS_FYP_REPORT`,
51-
`GET_STRANDED_INVENTORY_UI_DATA`, and `GET_V2_SETTLEMENT_REPORT_DATA_FLAT_FILE` now have date-time formatted fields.
52-
Users will need to refresh the source schemas and reset these streams after upgrading.
52+
Streams `GET_FLAT_FILE_ALL_ORDERS_DATA_BY_ORDER_DATE_GENERAL` and
53+
`GET_FLAT_FILE_ALL_ORDERS_DATA_BY_LAST_UPDATE_GENERAL` now have updated
54+
schemas. Streams `GET_AMAZON_FULFILLED_SHIPMENTS_DATA_GENERAL`, `GET_LEDGER_DETAIL_VIEW_DATA`,
55+
`GET_MERCHANTS_LISTINGS_FYP_REPORT`, `GET_STRANDED_INVENTORY_UI_DATA`, and
56+
`GET_V2_SETTLEMENT_REPORT_DATA_FLAT_FILE` now have date-time formatted fields.
57+
Users will need to refresh the source schemas and reset these streams after
58+
upgrading.
5359
upgradeDeadline: "2024-01-12"
5460
4.0.0:
5561
message:
56-
Stream `GET_FBA_STORAGE_FEE_CHARGES_DATA` schema has been updated to match Amazon Seller Partner.
57-
Users will need to refresh the source schema and reset this stream after upgrading.
62+
Stream `GET_FBA_STORAGE_FEE_CHARGES_DATA` schema has been updated
63+
to match Amazon Seller Partner. Users will need to refresh the source schema
64+
and reset this stream after upgrading.
5865
upgradeDeadline: "2024-03-11"
5966
supportLevel: certified
6067
tags:

airbyte-integrations/connectors/source-amazon-seller-partner/poetry.lock

+18-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

airbyte-integrations/connectors/source-amazon-seller-partner/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["poetry-core>=1.0.0"]
33
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
6-
version = "4.2.1"
6+
version = "4.2.2"
77
name = "source-amazon-seller-partner"
88
description = "Source implementation for Amazon Seller Partner."
99
authors = ["Airbyte <[email protected]>"]
@@ -17,7 +17,7 @@ include = "source_amazon_seller_partner"
1717

1818
[tool.poetry.dependencies]
1919
python = "^3.9,<3.12"
20-
airbyte-cdk = "^0"
20+
airbyte-cdk = "0.80.0"
2121
xmltodict = "~=0.12"
2222
dateparser = "==1.2.0"
2323

airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/schemas/GET_AFN_INVENTORY_DATA.json

+29-7
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,34 @@
44
"type": "object",
55
"$schema": "http://json-schema.org/draft-07/schema#",
66
"properties": {
7-
"seller-sku": { "type": ["null", "string"] },
8-
"fulfillment-channel-sku": { "type": ["null", "string"] },
9-
"asin": { "type": ["null", "string"] },
10-
"condition-type": { "type": ["null", "string"] },
11-
"Warehouse-Condition-code": { "type": ["null", "string"] },
12-
"Quantity Available": { "type": ["null", "string"] },
13-
"dataEndTime": { "type": ["null", "string"], "format": "date" }
7+
"seller-sku": {
8+
"description": "The Seller SKU for the item, which is unique within the seller's inventory.",
9+
"type": ["null", "string"]
10+
},
11+
"fulfillment-channel-sku": {
12+
"description": "The SKU assigned to the item by the fulfillment network.",
13+
"type": ["null", "string"]
14+
},
15+
"asin": {
16+
"description": "The unique identifier for the product in the Amazon catalog.",
17+
"type": ["null", "string"]
18+
},
19+
"condition-type": {
20+
"description": "The condition type of the item, such as 'New', 'Used', or 'Refurbished'.",
21+
"type": ["null", "string"]
22+
},
23+
"Warehouse-Condition-code": {
24+
"description": "The warehouse code indicating the storage location and condition of the item.",
25+
"type": ["null", "string"]
26+
},
27+
"Quantity Available": {
28+
"description": "The total quantity of this item available in the fulfillment center.",
29+
"type": ["null", "string"]
30+
},
31+
"dataEndTime": {
32+
"description": "The end time for the data provided, formatted as a date.",
33+
"type": ["null", "string"],
34+
"format": "date"
35+
}
1436
}
1537
}

airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/schemas/GET_AFN_INVENTORY_DATA_BY_COUNTRY.json

+29-7
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,34 @@
44
"type": "object",
55
"$schema": "http://json-schema.org/draft-07/schema#",
66
"properties": {
7-
"seller-sku": { "type": ["null", "string"] },
8-
"fulfillment-channel-sku": { "type": ["null", "string"] },
9-
"asin": { "type": ["null", "string"] },
10-
"condition-type": { "type": ["null", "string"] },
11-
"country": { "type": ["null", "string"] },
12-
"quantity-for-local-fulfillment": { "type": ["null", "string"] },
13-
"dataEndTime": { "type": ["null", "string"], "format": "date" }
7+
"seller-sku": {
8+
"description": "Unique SKU assigned by the seller for the product",
9+
"type": ["null", "string"]
10+
},
11+
"fulfillment-channel-sku": {
12+
"description": "Unique SKU assigned by the seller for fulfillment",
13+
"type": ["null", "string"]
14+
},
15+
"asin": {
16+
"description": "Unique Amazon Standard Identification Number assigned to the product",
17+
"type": ["null", "string"]
18+
},
19+
"condition-type": {
20+
"description": "Type of condition (new, used, refurbished, etc.) of the product",
21+
"type": ["null", "string"]
22+
},
23+
"country": {
24+
"description": "Country code identifying the country the inventory data pertains to",
25+
"type": ["null", "string"]
26+
},
27+
"quantity-for-local-fulfillment": {
28+
"description": "Quantity of the product available for local fulfillment",
29+
"type": ["null", "string"]
30+
},
31+
"dataEndTime": {
32+
"description": "Timestamp indicating when the data was last updated",
33+
"type": ["null", "string"],
34+
"format": "date"
35+
}
1436
}
1537
}

0 commit comments

Comments
 (0)