Skip to content
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

Tap mambu sync - do not truncate bookmark date for filter #32

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
7eacd38
Tap mambu sync - do not truncate bookmark date for filter
gvillafanetapia Jan 15, 2021
7861604
Remove date trunc, add saving accounts and v2 for gl_journal_entries
ron-damon Feb 11, 2021
65ac521
RFC - add transaction_channels (v2) (#1)
ron-damon Mar 25, 2021
0c52e44
Merge branch 'master' into master
gvillafanetapia Apr 8, 2021
38b5e51
changes to deposit_accounts, added deposit_account_dt_str bookmark
HViotti May 28, 2021
cb63820
fixed filter on deposit_accounts search method
HViotti Jun 1, 2021
784207a
fixed field and operator parammeters on filterCriteria
HViotti Jun 1, 2021
5da141e
fixed sorting field for deposit_accounts
HViotti Jun 2, 2021
e96aeea
changed field for sorting and filter to the recommended one
HViotti Jun 2, 2021
a7bc901
updated deposit_accounts schema
HViotti Jun 3, 2021
7f750d0
changed back to default sorting order to deposit_accounts
HViotti Jun 3, 2021
194a6ee
removed unnecessary code for saving_accounts from sync, bookmark logi…
HViotti Jun 4, 2021
972bb3f
Merge branch 'master' into master
gvillafanetapia Aug 10, 2021
f071704
Merge pull request #3 from singer-io/master
gvillafanetapia Oct 7, 2021
dfa4a14
Filter gl_journal_entries by creationDate
gvillafanetapia Oct 7, 2021
c4a4206
Merge branch 'master' into gl_journal_entries_fix
gvillafanetapia Oct 7, 2021
690569d
format sync
gvillafanetapia Oct 7, 2021
0639200
Merge pull request #4 from MuttData/gl_journal_entries_fix
gvillafanetapia Oct 7, 2021
9f1ef1b
gl_journal_entries fix bookmark dates
gvillafanetapia Oct 28, 2021
56566a2
Merge pull request #5 from MuttData/gl_journal_entries_tz_fix
gvillafanetapia Oct 28, 2021
e7126a4
Gl journal entries tz fix
gvillafanetapia Oct 28, 2021
cbbfee9
Merge pull request #6 from MuttData/gl_journal_entries_fix_tz
gvillafanetapia Oct 28, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ This tap:
"password": "YOUR_PASSWORD",
"apikey": "YOUR_APIKEY",
"subdomain": "YOUR_SUBDOMAIN",
"timezone": "YOUR_TIMEZONE_ISO <-03:00>",
"start_date": "2019-01-01T00:00:00Z",
"lookback_window": 30,
"user_agent": "tap-mambu <api_user_email@your_company.com>",
Expand Down
1 change: 1 addition & 0 deletions config.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD",
"apikey": "YOUR_APIKEY",
"timezone": "YOUR_TIMEZONE_ISO <-03:00>",
"subdomain": "YOUR_SUBDOMAIN",
"start_date": "2019-01-01T00:00:00Z",
"user_agent": "tap-mambu <api_user_email@your_company.com>",
Expand Down
2 changes: 1 addition & 1 deletion tap_mambu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def main():

with MambuClient(parsed_args.config.get('username'),
parsed_args.config.get('password'),
parsed_args.config.get('apikey'),
parsed_args.config.get('apikey'),
parsed_args.config['subdomain'],
parsed_args.config.get('apikey_audit'),
int(parsed_args.config.get('page_size', DEFAULT_PAGE_SIZE)),
Expand Down
6 changes: 5 additions & 1 deletion tap_mambu/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@
'replication_method': 'INCREMENTAL',
'replication_keys': ['last_modified_date']
},
'transaction_channels': {
'key_properties': ['id'],
'replication_method': 'FULL_TABLE'
},
'users': {
'key_properties': ['id'],
'replication_method': 'INCREMENTAL',
Expand All @@ -95,7 +99,7 @@
'gl_journal_entries': {
'key_properties': ['entry_id'],
'replication_method': 'INCREMENTAL',
'replication_keys': ['booking_date']
'replication_keys': ['creation_date']
},
'activities': {
'key_properties': ['encoded_key'],
Expand Down
29 changes: 25 additions & 4 deletions tap_mambu/schemas/deposit_accounts.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,23 @@
"available_balance": {
"type": [
"null",
"string"
"number"
],
"format": "singer.decimal"
"multipleOf": 1e-10
},
"blocked_balance": {
"type": [
"null",
"number"
],
"multipleOf": 1e-10
},
"forward_available_balance": {
"type": [
"null",
"number"
],
"multipleOf": 1e-10
}
}
},
Expand Down Expand Up @@ -289,7 +303,7 @@
],
"additionalProperties": false,
"properties": {
"allowed_overdraft": {
"allow_overdraft": {
"type": [
"null",
"boolean"
Expand Down Expand Up @@ -533,6 +547,13 @@
"string"
],
"format": "singer.decimal"
},
"negative_interest_accrued": {
"type": [
"null",
"number"
],
"multipleOf": 1e-10
}
}
},
Expand Down Expand Up @@ -651,4 +672,4 @@
]
}
}
}
}
Loading