Skip to content

Commit

Permalink
🎉 Source Amazon Seller Partner: add FBA Reimbursement Report stream (#…
Browse files Browse the repository at this point in the history
…23605)

* add reimbursements stream

* bump up version to 0.2.33 and update changelog

* add reimbursements stream

* bump up version to 0.2.33 and update changelog

* bump up version and update changelog

* correcting version - incrementing minor version as it adds a new stream to the connector

* set additionalProperties to true in the schema

* updated expected_records.txt

* auto-bump connector version

---------

Co-authored-by: Sajarin <sajarindider@gmail.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
  • Loading branch information
3 people authored Apr 27, 2023
1 parent e7424b4 commit 3b3ca60
Show file tree
Hide file tree
Showing 12 changed files with 289 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8884,7 +8884,7 @@
"sourceDefinitionId": "e55879a8-0ef8-4557-abcf-ab34c53ec460",
"name": "Amazon Seller Partner",
"dockerRepository": "airbyte/source-amazon-seller-partner",
"dockerImageTag": "1.0.1",
"dockerImageTag": "1.1.0",
"documentationUrl": "https://docs.airbyte.com/integrations/sources/amazon-seller-partner",
"icon": "amazonsellerpartner.svg",
"sourceType": "api",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
- name: Amazon Seller Partner
sourceDefinitionId: e55879a8-0ef8-4557-abcf-ab34c53ec460
dockerRepository: airbyte/source-amazon-seller-partner
dockerImageTag: 1.0.1
dockerImageTag: 1.1.0
sourceType: api
documentationUrl: https://docs.airbyte.com/integrations/sources/amazon-seller-partner
icon: amazonsellerpartner.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@
type: "string"
path_in_connector_config:
- "client_secret"
- dockerImage: "airbyte/source-amazon-seller-partner:1.0.1"
- dockerImage: "airbyte/source-amazon-seller-partner:1.1.0"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/amazon-seller-partner"
changelogUrl: "https://docs.airbyte.com/integrations/sources/amazon-seller-partner"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]


LABEL io.airbyte.version=1.0.1
LABEL io.airbyte.version=1.1.0
LABEL io.airbyte.name=airbyte/source-amazon-seller-partner
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ acceptance_tests:
bypass_reason: "no records"
- name: ListFinancialEvents
bypass_reason: "no records"
- name: GET_FBA_REIMBURSEMENTS_DATA
bypass_reason: "no records"
incremental:
tests:
- config_path: "secrets/config_old_data.json"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"streams": [
{
"stream": {
"name": "GET_FBA_REIMBURSEMENTS_DATA",
"json_schema": {
"title": "FBA Reimbursements Data",
"description": "FBA Reimbursements Data Reports",
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"approval-date": {
"type": [
"null",
"string"
]
},
"reimbursement-id": {
"type": [
"null",
"string"
]
},
"case-id": {
"type": [
"null",
"string"
]
},
"amazon-order-id": {
"type": [
"null",
"string"
]
},
"reason": {
"type": [
"null",
"string"
]
},
"sku": {
"type": [
"null",
"string"
]
},
"fnsku": {
"type": [
"null",
"string"
]
},
"asin": {
"type": [
"null",
"string"
]
},
"product-name": {
"type": [
"null",
"string"
]
},
"condition": {
"type": [
"null",
"string"
]
},
"currency-unit": {
"type": [
"null",
"string"
]
},
"amount-per-unit": {
"type": [
"null",
"string"
]
},
"quantity-reimbursed-cash": {
"type": [
"null",
"string"
]
},
"amount-total": {
"type": [
"null",
"string"
]
},
"quantity-reimbursed-inventory": {
"type": [
"null",
"string"
]
},
"quantity-reimbursed-total": {
"type": [
"null",
"string"
]
},
"original-reimbursement-id": {
"type": [
"null",
"string"
]
},
"original-reimbursement-type": {
"type": [
"null",
"string"
]
}
}
},
"supported_sync_modes": [
"full_refresh"
]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
}
]
}
Loading

0 comments on commit 3b3ca60

Please sign in to comment.