Skip to content

🐛 Source Quickbooks: Update missing stream props and add token refresh udpater #36389

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@ acceptance_tests:
- config_path: "secrets/config.json"
backward_compatibility_tests_config:
disable_for_version: "2.0.0" #change type of a field in payments schema
basic_read:
tests:
- config_path: "secrets/config.json"
empty_streams:
- name: vendor_credits
bypass_reason: "unable to populate"
- name: vendors
bypass_reason: "unable to populate"
- name: classes
bypass_reason: "unable to populate"
- name: budgets
bypass_reason: "unable to populate"
- name: transfers
bypass_reason: "unable to populate"
- name: departments
bypass_reason: "unable to populate"
# expect_records:
# path: "integration_tests/expected_records.jsonl"
# exact_order: no
# basic_read:
# tests:
# - config_path: "secrets/config.json"
# empty_streams:
# - name: vendor_credits
# bypass_reason: "unable to populate"
# - name: vendors
# bypass_reason: "unable to populate"
# - name: classes
# bypass_reason: "unable to populate"
# - name: budgets
# bypass_reason: "unable to populate"
# - name: transfers
# bypass_reason: "unable to populate"
# - name: departments
# bypass_reason: "unable to populate"
# expect_records:
# path: "integration_tests/expected_records.jsonl"
# exact_order: no
incremental:
tests:
- config_path: "secrets/config.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data:
baseImage: docker.io/airbyte/python-connector-base:1.1.0@sha256:bd98f6505c6764b1b5f99d3aedc23dfc9e9af631a62533f60eb32b1d3dbab20c
connectorType: source
definitionId: cf9c4355-b171-4477-8f2d-6c5cc5fc8b7e
dockerImageTag: 3.0.2
dockerImageTag: 3.0.3
dockerRepository: airbyte/source-quickbooks
githubIssueLabel: source-quickbooks
icon: quickbooks.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
version = "3.0.2"
version = "3.0.3"
name = "source-quickbooks"
description = "Source implementation for quickbooks."
authors = [ "Airbyte <[email protected]>",]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ definitions:
client_id: "{{ config['credentials']['client_id'] }}"
client_secret: "{{ config['credentials']['client_secret'] }}"
refresh_token: "{{ config['credentials']['refresh_token'] }}"
refresh_token_updater: {}
retriever:
type: SimpleRetriever
record_selector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,18 @@
"BillableStatus": {
"type": ["null", "string"]
},
"ClassRef": {
"additionalProperties": true,
"properties": {
"name": {
"type": ["null", "string"]
},
"value": {
"type": ["null", "string"]
}
},
"type": ["null", "object"]
},
"AccountRef": {
"properties": {
"name": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,22 @@
"type": ["null", "number"]
},
"DepositLineDetail": {
"additionalProperties": true,
"properties": {
"Entity": {
"properties": {
"name": {
"type": ["null", "string"]
},
"value": {
"type": ["null", "string"]
},
"type": {
"type": ["null", "string"]
}
},
"type": ["null", "object"]
},
"PaymentMethodRef": {
"properties": {
"value": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,40 @@
},
"type": ["null", "object"]
},
"ClassRef": {
"additionalProperties": true,
"properties": {
"name": {
"type": ["null", "string"]
},
"value": {
"type": ["null", "string"]
}
},
"type": ["null", "object"]
},
"PostingType": {
"type": ["null", "string"]
},
"Entity": {
"additionalProperties": true,
"properties": {
"Type": {
"type": ["null", "string"]
},
"EntityRef": {
"properties": {
"name": {
"type": ["null", "string"]
},
"value": {
"type": ["null", "string"]
}
},
"type": ["null", "object"]
}
},
"type": ["null", "object"]
}
},
"type": ["null", "object"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,18 @@
}
}
},
"ClassRef": {
"additionalProperties": true,
"properties": {
"name": {
"type": ["null", "string"]
},
"value": {
"type": ["null", "string"]
}
},
"type": ["null", "object"]
},
"CustomerRef": {
"type": ["null", "object"],
"properties": {
Expand Down
3 changes: 2 additions & 1 deletion docs/integrations/sources/quickbooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ This Source is capable of syncing the following [Streams](https://developer.intu

| Version | Date | Pull Request | Subject |
| :------ | :--------- | :------------------------------------------------------- | :------------------------------------------------------------------- |
| `3.0.2` | 2024-02-20 | [32236](https://github.com/airbytehq/airbyte/pull/32236) | Small typo in spec correction |
| `3.0.3` | 2024-03-22 | [36389](https://github.com/airbytehq/airbyte/pull/36389) | Add refresh token updater and add missing properties to streams |
| `3.0.2` | 2024-02-20 | [32236](https://github.com/airbytehq/airbyte/pull/32236) | Small typo in spec correction |
| `3.0.1` | 2023-11-06 | [32236](https://github.com/airbytehq/airbyte/pull/32236) | Upgrade to `airbyte-cdk>=0.52.10` to resolve refresh token issues |
| `3.0.0` | 2023-09-26 | [30770](https://github.com/airbytehq/airbyte/pull/30770) | Update schema to use `number` instead of `integer` |
| `2.0.5` | 2023-09-26 | [30766](https://github.com/airbytehq/airbyte/pull/30766) | Fix improperly named keyword argument |
Expand Down
Loading