Skip to content

Commit

Permalink
Merge pull request #16 from hotgluexyz/feature/hgi-903
Browse files Browse the repository at this point in the history
added new streams
  • Loading branch information
hsyyid authored Nov 17, 2022
2 parents b725899 + a1e6de3 commit fe131ec
Show file tree
Hide file tree
Showing 2 changed files with 142 additions and 107 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_version():
readme = f.read()

setup(name='tap-quickbooks',
version='1.4.48',
version='1.4.49',
description='Singer.io tap for extracting data from the Quickbooks API',
author='hotglue',
url='http://hotglue.xyz/',
Expand Down
247 changes: 141 additions & 106 deletions tap_quickbooks/quickbooks/schemas/object_definition.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,19 @@
{
"Invoice": [
{"name":"AllowIPNPayment", "type": "boolean"},
{"name":"AllowOnlinePayment", "type": "boolean"},
{"name":"AllowOnlineCreditCardPayment", "type": "boolean"},
{"name":"AllowOnlineACHPayment", "type": "boolean"},
{"name":"Id", "type": "string"},
{"name":"MetaData", "type": "string"},
{"name":"CustomField","type": "array", "child_type": "custom_field"},
{"name":"DocNumber", "type": "string"},
{"name":"TxnDate", "type": "datetime"},
{"name":"CurrencyRef", "type": "string"},
{"name":"CustomerRef", "type": "string"},
{"name":"ClassRef", "type": "string"},
{"name":"Line", "type": "array", "child_type": "invoice_line"},
{"name":"FreeFormAddress", "type": "boolean"},
{"name":"ShipFromAddr", "type": "string"},
{"name":"DueDate", "type": "datetime"},
{"name":"TotalAmt", "type": "number"},
{"name":"DueDate", "type": "datetime"},
{"name":"ApplyTaxAfterDiscount", "type": "boolean"},
{"name":"PrintStatus", "type": "string"},
{"name":"Balance", "type": "number"}
"Account": [
{"name": "Name", "type": "string"},
{"name": "SubAccount", "type": "boolean"},
{"name": "Description", "type": "string"},
{"name": "FullyQualifiedName", "type": "string"},
{"name": "Active", "type": "boolean"},
{"name": "Classification", "type": "string"},
{"name": "AccountType", "type": "string"},
{"name": "AccountSubType", "type": "string"},
{"name": "AcctNum", "type": "string"},
{"name": "CurrentBalance", "type": "number"},
{"name": "CurrentBalanceWithSubAccounts", "type": "number"},
{"name": "CurrencyRef", "type": "string"},
{"name": "Id", "type": "string"},
{"name": "MetaData", "type": "string"}
],
"Bill": [
{"name":"Id", "type": "string"},
Expand All @@ -42,37 +35,31 @@
{"name": "RecurDataRef", "type": "datetime"},
{"name": "Balance", "type": "number"}
],
"SalesReceipt": [
{"name":"Id", "type": "string"},
{"name":"MetaData", "type": "string"},
{"name":"CustomField","type": "array", "child_type": "custom_field"},
{"name":"DocNumber", "type": "string"},
{"name":"TxnDate", "type": "datetime"},
{"name":"CurrencyRef", "type": "string"},
{"name":"CustomerRef", "type": "string"},
{"name":"Line", "type": "array", "child_type": "invoice_line"},
{"name":"FreeFormAddress", "type": "boolean"},
{"name":"ShipFromAddr", "type": "string"},
{"name":"TotalAmt", "type": "number"},
{"name":"ApplyTaxAfterDiscount", "type": "boolean"},
{"name":"PrintStatus", "type": "string"},
{"name":"Balance", "type": "number"}
"Class": [
{"name": "FullyQualifiedName", "type": "string"},
{"name": "domain", "type": "string"},
{"name": "Name", "type": "string"},
{"name": "SyncToken", "type": "string"},
{"name": "SubClass", "type": "boolean"},
{"name": "sparse", "type": "boolean"},
{"name": "Active", "type": "boolean"},
{"name": "Id", "type": "string"},
{"name": "MetaData", "type": "string"}
],
"Account": [
{"name": "Name", "type": "string"},
{"name": "SubAccount", "type": "boolean"},
{"name": "Description", "type": "string"},
{"name": "FullyQualifiedName", "type": "string"},
{"name": "Active", "type": "boolean"},
{"name": "Classification", "type": "string"},
{"name": "AccountType", "type": "string"},
{"name": "AccountSubType", "type": "string"},
{"name": "AcctNum", "type": "string"},
{"name": "CurrentBalance", "type": "number"},
{"name": "CurrentBalanceWithSubAccounts", "type": "number"},
{"name": "CurrencyRef", "type": "string"},
{"name": "Id", "type": "string"},
{"name": "MetaData", "type": "string"}
"CreditMemo": [
{"name": "RemainingCredit", "type": "number"},
{"name": "Id", "type": "string"},
{"name": "MetaData", "type": "string"},
{"name": "CustomField","type": "array", "child_type": "custom_field"},
{"name": "DocNumber", "type": "string"},
{"name": "TxnDate", "type": "datetime"},
{"name": "CurrencyRef", "type": "string"},
{"name": "CustomerRef", "type": "string"},
{"name": "ClassRef", "type": "string"},
{"name": "Line", "type": "array", "child_type": "invoice_line"},
{"name": "CustomerMemo", "type": "string"},
{"name": "TotalAmt", "type": "number"},
{"name": "Balance", "type": "number"}
],
"Customer": [
{"name": "Taxable", "type": "boolean"},
Expand All @@ -94,6 +81,57 @@
{"name": "Active", "type": "boolean"},
{"name": "PrimaryEmailAddr", "type": "string"}
],
"Department": [
{"name": "FullyQualifiedName", "type": "string"},
{"name": "domain", "type": "string"},
{"name": "Name", "type": "string"},
{"name": "SyncToken", "type": "string"},
{"name": "SubDepartment", "type": "boolean"},
{"name": "sparse", "type": "boolean"},
{"name": "Active", "type": "boolean"},
{"name": "Id", "type": "string"},
{"name": "MetaData", "type": "string"}
],
"Employee": [
{"name": "Id", "type": "string"},
{"name": "DisplayName", "type": "string"},
{"name": "PrintOnCheckName", "type": "string"},
{"name": "MetaData", "type": "string"},
{"name": "BillableTime", "type": "boolean"},
{"name": "HiredDate", "type": "string"},
{"name": "domain", "type": "string"},
{"name": "sparse", "type": "boolean"},
{"name": "PrimaryAddr", "type": "string"},
{"name": "GivenName", "type": "string"},
{"name": "FamilyName", "type": "string"},
{"name": "Active", "type": "boolean"},
{"name": "V4IDPseudonym", "type": "string"},
{"name": "PrimaryPhone", "type": "string"},
{"name": "SyncToken", "type": "string"}
],
"Invoice": [
{"name":"AllowIPNPayment", "type": "boolean"},
{"name":"AllowOnlinePayment", "type": "boolean"},
{"name":"AllowOnlineCreditCardPayment", "type": "boolean"},
{"name":"AllowOnlineACHPayment", "type": "boolean"},
{"name":"Id", "type": "string"},
{"name":"MetaData", "type": "string"},
{"name":"CustomField","type": "array", "child_type": "custom_field"},
{"name":"DocNumber", "type": "string"},
{"name":"TxnDate", "type": "datetime"},
{"name":"CurrencyRef", "type": "string"},
{"name":"CustomerRef", "type": "string"},
{"name":"ClassRef", "type": "string"},
{"name":"Line", "type": "array", "child_type": "invoice_line"},
{"name":"FreeFormAddress", "type": "boolean"},
{"name":"ShipFromAddr", "type": "string"},
{"name":"DueDate", "type": "datetime"},
{"name":"TotalAmt", "type": "number"},
{"name":"DueDate", "type": "datetime"},
{"name":"ApplyTaxAfterDiscount", "type": "boolean"},
{"name":"PrintStatus", "type": "string"},
{"name":"Balance", "type": "number"}
],
"Item": [
{"name": "Name", "type": "string"},
{"name": "Active", "type": "boolean"},
Expand All @@ -108,21 +146,6 @@
{"name": "MetaData", "type": "string"},
{"name": "PrefVendorRef", "type": "string"}
],
"CreditMemo": [
{"name": "RemainingCredit", "type": "number"},
{"name": "Id", "type": "string"},
{"name": "MetaData", "type": "string"},
{"name": "CustomField","type": "array", "child_type": "custom_field"},
{"name": "DocNumber", "type": "string"},
{"name": "TxnDate", "type": "datetime"},
{"name": "CurrencyRef", "type": "string"},
{"name": "CustomerRef", "type": "string"},
{"name": "ClassRef", "type": "string"},
{"name": "Line", "type": "array", "child_type": "invoice_line"},
{"name": "CustomerMemo", "type": "string"},
{"name": "TotalAmt", "type": "number"},
{"name": "Balance", "type": "number"}
],
"JournalEntry": [
{"name": "Adjustment", "type": "boolean"},
{"name": "TotalAmt", "type": "number"},
Expand All @@ -135,6 +158,19 @@
{"name": "ExchangeRate", "type": "number"},
{"name": "Line", "type": "array", "child_type": "journal_entry_line"}
],
"Preferences": [
{"name": "EmailMessagesPrefs", "type": "string"},
{"name": "ProductAndServicesPrefs", "type": "string"},
{"name": "AccountingInfoPrefs", "type": "string"},
{"name": "SalesFormsPrefs", "type": "string"},
{"name": "VendorAndPurchasesPrefs", "type": "string"},
{"name": "TaxPrefs", "type": "string"},
{"name": "OtherPrefs", "type": "string"},
{"name": "sparse", "type": "boolean"},
{"name": "CurrencyPrefs", "type": "string"},
{"name": "Id", "type": "string"},
{"name": "MetaData", "type": "string"}
],
"Purchase": [
{"name": "PrivateNote", "type": "string"},
{"name": "PaymentType", "type": "string"},
Expand All @@ -154,6 +190,22 @@
{"name": "Line", "type": "string"},
{"name": "PurchaseEx", "type": "string"}
],
"SalesReceipt": [
{"name":"Id", "type": "string"},
{"name":"MetaData", "type": "string"},
{"name":"CustomField","type": "array", "child_type": "custom_field"},
{"name":"DocNumber", "type": "string"},
{"name":"TxnDate", "type": "datetime"},
{"name":"CurrencyRef", "type": "string"},
{"name":"CustomerRef", "type": "string"},
{"name":"Line", "type": "array", "child_type": "invoice_line"},
{"name":"FreeFormAddress", "type": "boolean"},
{"name":"ShipFromAddr", "type": "string"},
{"name":"TotalAmt", "type": "number"},
{"name":"ApplyTaxAfterDiscount", "type": "boolean"},
{"name":"PrintStatus", "type": "string"},
{"name":"Balance", "type": "number"}
],
"TimeActivity": [
{"name": "HourlyRate", "type": "number"},
{"name":"CustomerRef", "type": "string"},
Expand All @@ -171,27 +223,46 @@
{"name":"ClassRef", "type": "string"},
{"name":"Hours", "type": "number"}
],
"ProfitAndLossDetailReport": [
"Vendor": [
{"name": "Id", "type": "string"},
{"name": "DisplayName", "type": "string"},
{"name": "PrintOnCheckName", "type": "string"},
{"name": "MetaData", "type": "string"},
{"name": "sparse", "type": "boolean"},
{"name": "Active", "type": "boolean"},
{"name": "Balance", "type": "number"}
],
"BalanceSheetReport": [
{"name": "Total", "type": "number"},
{"name": "Account", "type": "string"},
{"name": "Categories", "type": "array", "child_type": "string"}
],
"CashFlowReport": [
{"name": "Total", "type": "number"},
{"name": "Account", "type": "string"},
{"name": "Categories", "type": "array", "child_type": "string"}
],
"GeneralLedgerReport": [
{"name": "Date", "type": "string"},
{"name": "TransactionType", "type": "string"},
{"name": "Num", "type": "string"},
{"name": "Name", "type": "string"},
{"name": "Memo", "type": "string"},
{"name": "Split", "type": "string"},
{"name": "Class", "type": "string"},
{"name": "Location", "type": "string"},
{"name": "Amount", "type": "number"},
{"name": "Balance", "type": "number"},
{"name": "Categories", "type": "array", "child_type": "string"}
],
"GeneralLedgerReport": [
"ProfitAndLossDetailReport": [
{"name": "Date", "type": "string"},
{"name": "TransactionType", "type": "string"},
{"name": "Num", "type": "string"},
{"name": "Name", "type": "string"},
{"name": "Memo", "type": "string"},
{"name": "Split", "type": "string"},
{"name": "Class", "type": "string"},
{"name": "Location", "type": "string"},
{"name": "Amount", "type": "number"},
{"name": "Balance", "type": "number"},
{"name": "Categories", "type": "array", "child_type": "string"}
Expand All @@ -212,41 +283,5 @@
{"name": "Class", "type": "string"},
{"name": "Amount", "type": "number"},
{"name": "Categories", "type": "array", "child_type": "string"}
],
"CashFlowReport": [
{"name": "Total", "type": "number"},
{"name": "Account", "type": "string"},
{"name": "Categories", "type": "array", "child_type": "string"}
],
"BalanceSheetReport": [
{"name": "Total", "type": "number"},
{"name": "Account", "type": "string"},
{"name": "Categories", "type": "array", "child_type": "string"}
],
"Vendor": [
{"name": "Id", "type": "string"},
{"name": "DisplayName", "type": "string"},
{"name": "PrintOnCheckName", "type": "string"},
{"name": "MetaData", "type": "string"},
{"name": "sparse", "type": "boolean"},
{"name": "Active", "type": "boolean"},
{"name": "Balance", "type": "number"}
],
"Employee": [
{"name": "Id", "type": "string"},
{"name": "DisplayName", "type": "string"},
{"name": "PrintOnCheckName", "type": "string"},
{"name": "MetaData", "type": "string"},
{"name": "BillableTime", "type": "boolean"},
{"name": "HiredDate", "type": "string"},
{"name": "domain", "type": "string"},
{"name": "sparse", "type": "boolean"},
{"name": "PrimaryAddr", "type": "string"},
{"name": "GivenName", "type": "string"},
{"name": "FamilyName", "type": "string"},
{"name": "Active", "type": "boolean"},
{"name": "V4IDPseudonym", "type": "string"},
{"name": "PrimaryPhone", "type": "string"},
{"name": "SyncToken", "type": "string"}
]
}

0 comments on commit fe131ec

Please sign in to comment.