Commit graph

429 commits

Author SHA1 Message Date
Pablo Martín
d18b47f597 Merged PR 2001: Add phone number to unified user
Includes the phone number field in unified user.

Also added basic tests on the PK.

Also improved upstream models traceability in the model.

Related work items: #17240
2024-06-10 14:30:56 +00:00
Pablo Martin
2ea2817627 add tests 2024-06-10 16:23:45 +02:00
Pablo Martin
723bbf1ebe add phone number 2024-06-10 16:14:07 +02:00
Pablo Martin
8b99d9babd add table aliases to track col origin 2024-06-10 15:51:40 +02:00
Joaquin Ossa
06e5112cfc Merged PR 1986: Created verification_requests model in report
Created verification_requests model in report for check-in hero report including the description to check

Related work items: #17067
2024-06-10 09:38:48 +00:00
Joaquin Ossa
1bb4229dce updated docs for core__verification_requests from Pablo's comments 2024-06-10 11:32:04 +02:00
Joaquin Ossa
5e7504499f Added description document for core__verification_requests 2024-06-06 12:00:07 +02:00
Joaquin Ossa
a5074a1545 Created verification_requests model in report 2024-06-06 10:11:34 +02:00
Pablo Martín
8ba2ece28b Merged PR 1985: Accommodation and AccommodationToUser to staging
Ingesting from Core into Staging.

Related work items: #16919
2024-06-05 15:54:48 +00:00
Pablo Martin
7aa100d115 add tests 2024-06-05 17:39:53 +02:00
Pablo Martin
85a299da96 staging accommodation to user 2024-06-05 17:38:02 +02:00
Pablo Martin
cd8fc9893d add accommodationtouser in sources 2024-06-05 17:31:19 +02:00
Pablo Martin
21f9a63db2 add test 2024-06-05 17:30:19 +02:00
Pablo Martin
26ce452a0c accommodation staging model 2024-06-05 17:24:59 +02:00
Pablo Martin
f216e7708a add accommodation to sources 2024-06-05 17:24:39 +02:00
Pablo Martin
60063b5455 propagate fix 2024-06-05 17:15:35 +02:00
Pablo Martin
c87efc7d1d low-hanging fruit refactor. Fix name 2024-06-05 16:50:14 +02:00
Pablo Martín
42a3190f50 Merged PR 1969: Integration models
This PR brings two tables from Core's `integration` schema into `staging`.
- `integration`
- `integration_type`

Related work items: #16919
2024-06-04 16:24:32 +00:00
Pablo Martin
bfd05a6410 add missing _utc suffix 2024-06-04 18:21:56 +02:00
Pablo Martin
f5ae39e443 add integration type model 2024-06-04 15:05:26 +02:00
Pablo Martin
8ec14a14c1 add integration type to sources 2024-06-04 14:58:16 +02:00
Pablo Martin
a312b1730b staging model for integration table 2024-06-04 14:51:03 +02:00
Pablo Martin
929628bc7c add integration to sources 2024-06-04 14:42:50 +02:00
Pablo Martín
76b5b7a1ea Merged PR 1954: add a few more conventions to readme
add a few more conventions to readme
2024-05-31 08:36:18 +00:00
Pablo Martin
d81c0b5e74 add a few more conventions to readme 2024-05-31 10:35:57 +02:00
Pablo Martín
ae10d30cd1 Merged PR 1952: Automated Slack Alerts
This PR:
- Improves the `run_dbt.sh` script to monitor for failures and send success/failure messages.
- Also updates the `README.md` to explain how to configure the Slack Webhook URLs.

Besides that, I've already created the right slack channels.

Related work items: #16948
2024-05-30 15:10:55 +00:00
Pablo Martin
2f661c098b updated deploy instructions in readme 2024-05-30 16:52:41 +02:00
Pablo Martin
77b4a8264c now we have both failure and success messages 2024-05-30 16:38:39 +02:00
Pablo Martin
b1aa29b228 add failure states, .env file and message sending 2024-05-30 16:12:51 +02:00
Oriol Roqué Paniagua
3610c447f5 Merged PR 1949: Fix documentation in DWH and include exposure
Related work items: #16857
2024-05-30 10:37:41 +00:00
Oriol Roqué Paniagua
dfb1fba46f Merged PR 1943: Created xero__net_fees_by_deal with guesty
Created xero__net_fees_by_deal with guesty
2024-05-30 09:49:07 +00:00
uri
f021f3cb29 Changed schema.yaml with the correct field 2024-05-30 10:03:05 +02:00
uri
e360c1c785 Setting xero__net_fees_by_deal as per deal id, not dedicated to guesty 2024-05-30 10:00:39 +02:00
uri
bf0010ceeb Adding model xero__net_fees_by_deal documentation in schema.yaml. Added Waiver Fees in xero__net_fees documentation. 2024-05-30 09:15:53 +02:00
uri
de4ab5b6e5 Created xero__net_fees_by_deal with guesty 2024-05-29 18:03:58 +02:00
Pablo Martín
822f698ce3 Merged PR 1942: add dump files to gitignore
add dump files to gitignore to help avoid fatfinger pushes of dump files.
2024-05-29 15:26:04 +00:00
Pablo Martin
fab98092c5 add dump files to gitignore 2024-05-29 17:22:48 +02:00
Pablo Martín
186d5804f8 Merged PR 1938: Add Damage Waiver to Net Fees models
Expands `xero__net_fees` with a new category dedicated to Damage Waivers.

Also fixes a small issue with the join. Should have been a full outer join from the start to properly catch months where we've only invoiced/credited some category.

Related work items: #16825
2024-05-29 11:25:14 +00:00
Pablo Martin
053024e507 add proper value to waiver_items array 2024-05-29 13:23:05 +02:00
Pablo Martin
7148220061 add net fees 2024-05-29 11:29:56 +02:00
Pablo Martin
307887126c add venv to gitignore 2024-05-29 11:27:33 +02:00
Pablo Martin
4e5424b3b6 couple of small readme details 2024-05-29 11:27:21 +02:00
Pablo Martín
e9af710ae8 Merged PR 1930: 16879 Remove duplicate field
remove duplicate field

Related work items: #16879
2024-05-28 12:41:13 +00:00
Pablo Martin
3d11622ae1 remove duplicate field 2024-05-28 14:37:48 +02:00
Pablo Martin
40a12df950 a few tiny changes in readme and profiles template 2024-05-28 14:29:31 +02:00
Pablo Martín
b59c0a96fb Merged PR 1923: User Currency
- Ingest the currency table from the backend into DWH.
- Add the newly created `AccountCurrencyId` into the `User` table.
- Push the data to the intermediate user model while replacing the internal superhog currency ID by the ISO4217 code so it's easily joinable with other stuff.

Now, every money amount related to some user in the SQL server backend can be currency-informed instead of currency-less.
2024-05-24 10:03:00 +00:00
Pablo Martin
90f67d6321 include currency in unified user 2024-05-24 11:54:40 +02:00
Pablo Martin
9c293e8bf4 add currency source and stg 2024-05-24 11:32:54 +02:00
Pablo Martin
322fcb8eb0 add id account type to int model 2024-05-23 17:51:04 +02:00
Pablo Martin
69f11c5d4a propagate id account currency 2024-05-23 17:50:08 +02:00