Skip to content

Commit

Permalink
fix schema
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosmarxm committed Feb 21, 2024
1 parent 8b03d38 commit a95c33c
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 42 deletions.
38 changes: 0 additions & 38 deletions airbyte-integrations/connectors/source-quickbooks/Dockerfile

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ data:
- quickbooks.api.intuit.com
- oauth.platform.intuit.com
connectorSubtype: api
connectorBuildOptions:
baseImage: docker.io/airbyte/python-connector-base:1.1.0@sha256:bd98f6505c6764b1b5f99d3aedc23dfc9e9af631a62533f60eb32b1d3dbab20c
connectorType: source
definitionId: cf9c4355-b171-4477-8f2d-6c5cc5fc8b7e
dockerImageTag: 3.0.2
Expand Down
31 changes: 31 additions & 0 deletions airbyte-integrations/connectors/source-quickbooks/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[build-system]
requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
version = "3.0.2"
name = "source-quickbooks"
description = "Source implementation for quickbooks."
authors = [ "Airbyte <[email protected]>",]
license = "MIT"
readme = "README.md"
documentation = "https://docs.airbyte.com/integrations/sources/quickbooks"
homepage = "https://airbyte.com"
repository = "https://github.com/airbytehq/airbyte"
[[tool.poetry.packages]]
include = "source_quickbooks"

[tool.poetry.dependencies]
python = "^3.9,<3.12"
airbyte-cdk = "==0.63.2"
vcrpy = "==4.1.1"
urllib3 = "==1.26.18"

[tool.poetry.scripts]
source-quickbooks = "source_quickbooks.run:run"

[tool.poetry.group.dev.dependencies]
requests-mock = "^1.9.3"
pytest-mock = "^3.6.1"
pytest = "^6.1"

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": ["null", "object"],
"additionalProperties": true,
"properties": {
"ClassRef": {
"properties": {
Expand Down Expand Up @@ -102,6 +103,11 @@
},
"DetailType": {
"type": ["null", "string"]
},
"SubTotalLineDetail": {
"type": ["null", "object"],
"additionalProperties": true,
"properties": {}
}
},
"type": ["null", "object"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": ["null", "object"],
"additionalProperties": true,
"properties": {
"BillEmail": {
"properties": {
Expand Down Expand Up @@ -190,6 +191,11 @@
"DetailType": {
"type": ["null", "string"]
},
"SubTotalLineDetail": {
"type": ["null", "object"],
"additionalProperties": true,
"properties": {}
},
"Description": {
"type": ["null", "string"]
},
Expand Down Expand Up @@ -227,7 +233,8 @@
"type": ["null", "object"]
}
},
"type": ["null", "object"]
"type": ["null", "object"],
"additionalProperties": true
},
"type": ["null", "array"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,13 @@
"properties": {
"value": {
"type": ["null", "string"]
},
"name": {
"type": ["null", "string"]
}
},
"type": ["null", "object"]
"type": ["null", "object"],
"additionalProperties": true
},
"AllowIPNPayment": {
"type": ["null", "boolean"]
Expand Down Expand Up @@ -157,6 +161,11 @@
"Line": {
"items": {
"properties": {
"SubTotalLineDetail": {
"type": ["null", "object"],
"additionalProperties": true,
"properties": {}
},
"LinkedTxn": {
"items": {
"properties": {
Expand Down Expand Up @@ -254,7 +263,8 @@
"type": ["null", "string"]
}
},
"type": ["null", "object"]
"type": ["null", "object"],
"additionalProperties": true
},
"type": ["null", "array"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
"Line": {
"items": {
"properties": {
"SubTotalLineDetail": {
"type": ["null", "object"],
"additionalProperties": true,
"properties": {}
},
"Id": {
"type": ["null", "string"]
},
Expand Down Expand Up @@ -84,7 +89,8 @@
"type": ["null", "object"]
}
},
"type": ["null", "object"]
"type": ["null", "object"],
"additionalProperties": true
},
"type": ["null", "array"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,13 @@
"type": ["null", "array"],
"items": {
"type": ["null", "object"],
"additionalProperties": true,
"properties": {
"SubTotalLineDetail": {
"type": ["null", "object"],
"additionalProperties": true,
"properties": {}
},
"DiscountLineDetail": {
"type": ["null", "object"],
"properties": {
Expand Down

0 comments on commit a95c33c

Please sign in to comment.